Representing functions in Expr

There is currently no way to represent functions in expressions. For example, representing temperature as a function of time by T(t).

Could you expand on this?  Do you mean representing function calls?  Depending on what this means, it could either be very easy to do, or very hard [and options in between].

No, I just mean being able to print something like "T(t)" as part of an expression (just for display purposes). Currently,  "T(t)" can't be printed because there is no defined operation between T and t.

P {margin-top:0;margin-bottom:0;}
Right, this means that "function call" should be part of the Expr grammar.  That's easy to do.
Dan?
From: bmaclach<EMAIL_ADDRESS>Sent: May 27, 2016 13:01
To: JacquesCarette/literate-scientific-software
Cc: Carette, Jacques; Comment
Subject: Re: [JacquesCarette/literate-scientific-software] Representing functions in Expr (#15)
No, I just mean being able to print something like "T(t)" as part of an expression (just for display purposes). Currently, "T(t)" can't be printed because there is no defined operation between T and t.
�
You are receiving this because you commented.
Reply to this email directly,
view it on GitHub, or
mute the thread.

Added function calls. They can accept multiple parameters in the form of a list of expressions. So T(t) would be something like:
FCall (C T) [C t]
whereas F(x,y) would be something like:
FCall (C F) [C x, C y]


fix : #117

installs latest stable google chrome along with it's dependencies and runs test on that.

Do we need fonts-liberation line?

It did say that in the dependency and failed. Should I check once without it?

If you've already tried, that's good enough.


Fix MSVC ARM builds

A regression introduced in #212.

I will drop 24ea8de once completed and green.

ARM64: https://github.com/Microsoft/calculator/runs/86615225
ARM: https://github.com/Microsoft/calculator/runs/86615222
x86-64: https://github.com/Microsoft/calculator/runs/86615205
x86: https://github.com/Microsoft/calculator/runs/86615214


Remove atoms from the sidebar

Look in the sidefoot streamfield on any page to make sure that these are not present.
Go to each page type to make sure that none of them are broken.
@richaagarwal
@kave

@kurtw could you upload a screenshot of what should not be present?

:+1:

:+1:


Eye disease classification (flaky corneal ulcers) using ANN

💥 Proposal
to make a ANN model that classifies flaky corneal ulcers
the dataset i am gonna use is:-https://www.kaggle.com/datasets/bongsang/eye-disease-deep-learning-dataset
@khusheekapoor
I am GSSOC'23 contributor
i am interested in doing this project
so kindly assign me this issue

@khusheekapoor
to make a ANN model that classifies flaky corneal ulcers
the dataset i am gonna use is:-https://www.kaggle.com/datasets/bongsang/eye-disease-deep-learning-dataset
@khusheekapoor
I am GSSOC'23 contributor
i am interested in doing this project
so kindly assign me this issue

@lcs2022026 you can go ahead! We are assigning you 21 days for this project, after which it will be assigned to someone else if not completed. All the best!  Name the file as: algorithm_datasetname.ipynb and link it in the readme of the labeled directory as algorithm - datasetname. Thank you :)


803 - WebView Zoom Toggle

@shoatman plz let us know if we can have it approved in time for the next release you were planning to wrap up today. Thanks!

@wmiranda This change would also requires a change in MSAL. We've pushed our code complete date to tomorrow for the MSAL PR.


"Unable to resolve class org.jetbrains.changelog.date" in gradle groovy build file

Hello, first off, this plugin is awesome! Thank you for creating it!
I am trying to use this in one of my IJ plugins (in prep for all of them!), and getting the below error:
FAILURE: Build failed with an exception.

* Where:
Build file '/Users/ccarini/GitHub/intellij-notification-sample/build.gradle' line: 1

* What went wrong:
Could not compile build file '/Users/ccarini/GitHub/intellij-notification-sample/build.gradle'.
> startup failed:
  build file '/Users/ccarini/GitHub/intellij-notification-sample/build.gradle': 1: unable to resolve class org.jetbrains.changelog.date
   @ line 1, column 1.
     import org.jetbrains.changelog.date
     ^

  1 error

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 208ms

This looks very similar / identical to #14 (but, that issue was closed with no details, so it is hard to tell).
I am using:

id 'org.jetbrains.changelog' version '0.6.2'
gradle wrapper version 6.2

I created a PR with the changes suggested by the README.md -> https://github.com/ChrisCarini/intellij-notification-sample/pull/1
NOTE: The above PR works fine as-is, because I am not using date() as the docs suggest, but rather new Date().format('yyyy-MM-dd') as a workaround. The changes needed to reproduce the above error are:

Uncomment line #1 of build.gradle
Uncomment line #58 of build.gradle
Comment out line #59 of build.gradle

Perhaps I am missing something silly here - please advise!

Chris, I'm happy that you like it!
In fact, the Groovy example from the README is invalid.
Changelog plugin is written in Kotlin, and such helper methods are the package-level functions:
package org.jetbrains.changelog

// ...

fun date(pattern: String = "yyyy-MM-dd") = SimpleDateFormat(pattern).format(Date())!!

To import such function properly in Groovy or Java, it's required to import the file first, as a class – then call the proper method:
import org.jetbrains.changelog.ExtensionsKt

// ...

changelog {
    header = { "[${project.version}] - ${ExtensionsKt.date('yyyy-MM-dd')}" }
}

I'll update docs with the correct import.
Thanks for pointing it out!
PS. I wonder why it didn't come out earlier.

Chris, I'm happy that you like it!
In fact, the Groovy example from the README is invalid.
Changelog plugin is written in Kotlin, and such helper methods are the package-level functions:
package org.jetbrains.changelog

// ...

fun date(pattern: String = "yyyy-MM-dd") = SimpleDateFormat(pattern).format(Date())!!

To import such function properly in Groovy or Java, it's required to import the file first, as a class – then call the proper method:
import org.jetbrains.changelog.ExtensionsKt

// ...

changelog {
    header = { "[${project.version}] - ${ExtensionsKt.date('yyyy-MM-dd')}" }
}

I'll update docs with the correct import.
Thanks for pointing it out!
PS. I wonder why it didn't come out earlier.


Settings Explanation

Hello,
I was hoping someone can help me understand something.
I don't really understand the two On/Off entries in the Settings for lights and groups.
What is "On/Off" and what is "Managed On/Off"?  How are they different?
Thank you!

Hi,
The setting "On/Off" enables ambientHUE for the light. If this setting is off, nothing happens. If it is on, ambientHUE takes control over the properties of the light that you configure below.
If you enable the setting "Manage On/Off", ambientHUE will turn on the light as soon as the current curve value exceeds the "On/Off Threshold" value.
If you enable the setting "Manage Brightness", ambientHUE will adjust the brightness value for the light according to the current curve value.
If you enable the setting "Manage Colour Temperature", ambientHUE will adjust the colour temperature value for the light according to the current curve value.
These three settings can be used independent from each other.
Of course, the availability of the settings depends on the capabilities of the physical light.
I hope that this was helpful.


Create FFaker image module

Create a FFaker::Image module that give an image url or a file object from https://placeholder.com/.
Useful to have generated images file in factories.
Usage example with ActiveStorage:
FactoryBot.define do
  factory :post do
    title { FFaker::Lorem.words(2).join(" ") }
    body  { FFaker::Lorem.paragraphs.join("\n\n") }

    after :build do |post|
      post.image.attach(
        io: FFaker::Image.file("1280x720"),
        filename: "#{FFaker::Lorem.word}.jpg",
        content_type: "image/jpg",
      )
    end
  end
end

Maybe FFaker::Avatar could be moved inside this module with FFaker::Image.avatar_url and FFaker::Image.avatar_file.

@nicolas-brousse Sorry for late response. 😅
You can fix it or just leave a comment. I will merge this after that.

@marocchino I did the change 😃

@marocchino when will this be available?
Could you bump the gem version, please?

@lucascaton I released 2.10.0 just now.

Thank you! 🙂


HDDS-4784. TestRootedOzoneFileSystem is not picking the configured 'Parameters'

What changes were proposed in this pull request?
This is a follow-up Jira to update TestRootedOzoneFileSystem test class and run against all the configured parameters combinations.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4784
How was this patch tested?
Through existing TestRootedOzoneFileSystem case.

Note: Following test cases are failing in my local environment. It is expected to fail in QA as well and need to analyse it for the cause.
Parameters:
0: new Object[]{true, true}
1: new Object[]{true, false}

testDeleteCreatesFakeParentDir[0]
testMkdirOnNonExistentVolumeBucketDir[0]
testListStatusOnLargeDirectory[0]
testListStatusInBucket[0]

testDeleteCreatesFakeParentDir[1]
testMkdirOnNonExistentVolumeBucketDir[1]
testListStatusOnLargeDirectory[1]
testListStatusInBucket[1]

Thanx @rakeshadr for taking this up.
I think only two testDeleteCreatesFakeParentDir and testMkdirOnNonExistentVolumeBucketDir are broken, the other two are failing because, these two failed test didn't clean up properly.
Doesn't look like a bug, should be a test only issue. Changing to fs.exists(key) from getting key and validating fixes all of them(for me). Give a check if that does for you too.
Something like this, Just for reference:
diff --git a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestRootedOzoneFileSystem.java b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestRootedOzoneFileSystem.java
index 98e535496..777760675 100644
--- a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestRootedOzoneFileSystem.java
+++ b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/fs/ozone/TestRootedOzoneFileSystem.java
@@ -247,12 +247,8 @@ public void testDeleteCreatesFakeParentDir() throws Exception {
     // Delete the child key
     Assert.assertTrue(fs.delete(child, false));

-    // Deleting the only child should create the parent dir key if it does
-    // not exist
-    OFSPath parentOFSPath = new OFSPath(parent);
-    String parentKey = parentOFSPath.getKeyName() + "/";
-    OzoneKeyDetails parentKeyInfo = getKey(parent, true);
-    Assert.assertEquals(parentKey, parentKeyInfo.getName());
+    // Deleting the only child should not delete the parent
+    Assert.assertNotNull(fs.exists(parent));

     // Recursive delete with DeleteIterator
     Assert.assertTrue(fs.delete(grandparent, true));
@@ -339,11 +335,7 @@ public void testMkdirOnNonExistentVolumeBucketDir() throws Exception {

     // Check volume and bucket existence, they should both be created.
     OzoneVolume ozoneVolume = objectStore.getVolume(volumeNameLocal);
-    OzoneBucket ozoneBucket = ozoneVolume.getBucket(bucketNameLocal);
-    OFSPath ofsPathDir1 = new OFSPath(dir12);
-    String key = ofsPathDir1.getKeyName() + "/";
-    OzoneKeyDetails ozoneKeyDetails = ozoneBucket.getKey(key);
-    Assert.assertEquals(key, ozoneKeyDetails.getName());
+    Assert.assertTrue(fs.exists(dir12));

     // Verify that directories are created.
     FileStatus[] fileStatuses = ofs.listStatus(root);

HDDS-4102, seems to have introduced this with enabledFileSystemPaths it normalizes the key path.

/pending pending on comments from @ayushtkn and failing tests


Variable "weights" does not exist with BasicLSTMcell or LSTMBlockCell

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 16.04
TensorFlow installed from (source or binary): via pip with GPU support
TensorFlow version (use command below): 1.1
GPU model and memory: GPU Titan X

Describtion of the problem
I am trying to use LSTM cell, but when I make the call to it, I receive an ValueError message saying that the variable weights is does not exist or not created with get_variable().
I looked into the tensorflow source code of the BasicLSTMCell or LSTMBlockCell and we can see that the weights matrix is getted by a call to tf.get_variable()... So it seems to be a bug, right ?
Does someone can tell me if I made a mistake of if it is a bug ?
NB: Note that i tried several other solution with variable_scope instead of name_scope, with reuse = True, of False , with no success ...
Source code / logs :
here is the source code of BasicLSTMCell and LSTMBlockCell
the call to get_variable into LSTMBlockCell _call funtion
w = vs.get_variable(self._names["W"], [input_size + self._num_units,
                                             self._num_units * 4])

and into the _linear function used by BasicLSTMCell
weights = vs.get_variable(
_WEIGHTS_VARIABLE_NAME, [total_arg_size, output_size], dtype=dtype)

here is my source code
lstm_cell = tf.contrib.rnn.LSTMBlockCell(num_units=self._state_size)
for t in range(self._rnn_step):
    with tf.name_scope('lstm'):
    _, (c, h) = lstm_cell(lstm_input, [c, h], scope=tf.get_variable_scope())

here is the error message
  File "/home/toto/workspace/model.py", line 441, in _rnn
    _, (c, h) = lstm_cell(lstm_input, [c, h], scope=tf.get_variable_scope())
  File "/home/toto/PythonEnv/tensorflow/local/lib/python2.7/site-packages/tensorflow/contrib/rnn/python/ops/lstm_ops.py", line 382, in __call__
    self._num_units * 4])
  File "/home/toto/PythonEnv/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 1049, in get_variable
    use_resource=use_resource, custom_getter=custom_getter)
  File "/home/toto/PythonEnv/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 948, in get_variable
    use_resource=use_resource, custom_getter=custom_getter)
  File "/home/toto/PythonEnv/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 356, in get_variable
    validate_shape=validate_shape, use_resource=use_resource)
  File "/home/toto/PythonEnv/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 341, in _true_getter
    use_resource=use_resource)
  File "/home/toto/PythonEnv/tensorflow/local/lib/python2.7/site-packages/tensorflow/python/ops/variable_scope.py", line 671, in _get_single_variable
    "VarScope?" % name)
ValueError: Variable weights does not exist, or was not created with tf.get_variable(). Did you mean to set reuse=None in VarScope?

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

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

This is fixed in newer versions of TF.


”Beclean” is listed in the drop-down menu

Description:
"Beclean" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Beclean" in the search bar.

Expected results
The location is listed in the drop-down menu as "Beclean, Bistrița-Năsăud".


Fix clippy lints on nightly.

I recently added the following as a pre-commit hook:
echo "Running rustfmt and clippy checks."
cargo fmt -- --check
cargo clippy -- --deny warnings
cargo +nightly clippy -- --deny warnings

The nightly clippy warnings produced a few suggestions, and although checking it in our CI might cause commits to break because of frequent updates to the lints, periodic checks might be good to ensure clippy passes on nightly.


Investigate use of route table propagation for Transit Gateway

User Story
As a Modernisation Platform engineer
I want to investigate ways to simplify our Transit Gateway terraform code
So that we reduce the complexity of our code
Value
At present we make use of a combination of local values and for expressions to put routes into our transit gateway route tables. This has the unfortunate side effect of requiring hard-coded attachment values and hard-coded routes.
Terraform offers a way to use AWS's features to achieve the same end-goal with less code, removing our reliance on hard-coded values and reducing the complexity of our code.
Questions / Assumptions
What would a successful test look like?
What would we define as an improvement to the quality of our codebase?
What documentation (if any) would need to be updated as a result?
Definition of done

[x] code change has been tested
[x] code change has been reviewed by another team member
[x] all attached VPCs make use of propagation
[x] any duplication from static routes is removed

Reference

How to write good user stories
(https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ec2_transit_gateway_route_table_propagation)
(https://aws.amazon.com/blogs/architecture/field-notes-working-with-route-tables-in-aws-transit-gateway/)

solved by https://github.com/ministryofjustice/modernisation-platform/pull/2045


Prevent issues when storing the top offset in AdjustableSidebarWidth

Bug/issue #128197719, if applicable:
Summary
Make sure the page is fully loaded before storing top offset in AdjustableSidebarWidth
Dependencies
NA
Testing
Steps:
1.
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[ ] Added tests
[x] Ran npm test, and it succeeded
[x] Updated documentation if necessary

@marinaaisa are there testing instructions you can add to this?

@marinaaisa are there testing instructions you can add to this?

Ops, sure, I just added them.

Thank you Marina for investigating this issue and explaining it. I think I may (or may not) have found a better way to fix this.
If I understood this correctly, the issue is that the offset we fetch of baseNavStickyAnchor is sometimes inaccurate, causing issues in our other logic. As I was reviewing your changes, I noticed that we use a initialLoadingPlaceHolder component here. I think the better solution is to move the placeholder component to be under the baseNavStickyAnchor here. Although delaying the timing of fetching this offset solves the issue, I think the actual issue is not necessarily the timing. What's probably happening is that the baseNavStickyAnchor is below the initialLoadingPlaceHolder, so the offset we are currently fetching is sometimes too big by the height of the placeholder component. If we move the placeholder to below the anchor, then the offset will always be correctly. In that case, we don't need to delay the logic for fetching the offset.
It's a bit hard to explain as well, but let me know if you think this makes sense?

Sounds right, but I think it's still a timing problem as you describe it. If I remember correctly, this placeholder is added to avoid an awkward situation before the routing and data fetching occurs so that the page doesn't look super compact and weird with the header/footer squashed together.
I would still consider it a timing issue though, because basically you need to wait for the time required for $router.onReady to fire (after which the placeholder is removed).
That also explains why this bug could happen, because I assume it's adding the height of the placeholder to the calculation if the calculation happens before it is removed (which is variable depending on the height of the window)—and by moving the placeholder below this anchor, its height wouldn't impact that calculation anymore.

Sounds right, but I think it's still a timing problem as you describe it. If I remember correctly, this placeholder is added to avoid an awkward situation before the routing and data fetching occurs so that the page doesn't look super compact and weird with the header/footer squashed together.
I would still consider it a timing issue though, because basically you need to wait for the time required for $router.onReady to fire (after which the placeholder is removed).
That also explains why this bug could happen, because I assume it's adding the height of the placeholder to the calculation if the calculation happens before it is removed (which is variable depending on the height of the window)—and by moving the placeholder below this anchor, its height wouldn't impact that calculation anymore.

It's a really good point. I'm going to leave it as it is, then.

I think the placeholder approach might be better—just wanted to highlight that it is still a problem caused by the timing of the placeholder getting removed. Sorry if I was unclear!

Ops I was working on fixing tests. In case we still want to go with the placeholder approach I have that here: hqhhuang@78edb51

Okay, @hqhhuang , could you cherry pick your commit into this branch then?


error when attempting to read EXIF orientation

@jcupitt perhaps something to do with the ffi rewrite?
img = Vips::Image.new_from_file('FOO.JPG')
img.get("exif-ifd0-Orientation")
Vips::Error: unimplemented gtype for get:<PHONE_NUMBER>01504
	from /.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/ruby-vips-2.0.0/lib/vips/gvalue.rb:211:in `get'
	from /.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/ruby-vips-2.0.0/lib/vips/image.rb:492:in `get'

PS the autorotate flag works correctly

Try this:
require 'vips'

img = Vips::Image.new_from_file('FOO.JPG')

# Check if it has a orientation tag
if img.get_typeof("orientation") != 0
    # Output the int from 1 - 8 using the standard exif/tiff meanings
    puts img.get("orientation")
else
    puts "No orientation tag"
end

Not long ago I had the same problem (with php), see: https://github.com/jcupitt/php-vips/issues/13#issuecomment-252412013.

Kleis is right, the orientation tag is the new official way to do this.
But using the ifd should have worked too, it sounds like a case might  be missing from the thing to read values. I'll have a look.

Yes, the vips reference counted string gtype was missing. I now see:
$ irb
irb(main):001:0> require 'vips'
=> true
irb(main):002:0> x = Vips::Image.new_from_file "/home/john/pics/k2.jpg"
=> #<Image 1450x2048 uchar, 3 bands, srgb>
irb(main):003:0> x.get("exif-ifd0-Orientation")
=> "1 (Top-left, Short, 1 components, 2 bytes)"

I'll add a test and push a new version. Thanks for reporting this dumbness!

v2.0.1 push to rubygems

Wonderful, thanks! I will give it a test right now.

Just to confirm, all works fine now. Thanks again.


Upgrade deps of stable components to latest minor releases

Signed-off-by: Bernd Verst<EMAIL_ADDRESS>Description
This upgrade the dependencies of all stable components with certification tests to the latest tagged minor (and patch) releases. Azure components were previously updated and are not part of this PR.

 I want to separate those things out :)


branch-2.0 Add user property parallel_fragment_exec_instance_num

Proposed changes
pick #28447
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Retry apt-get update after 10s in dockerfiles

This PR attempts to fix the flakiness of dockerfile builds in CI by retrying apt-get update up to 4 times, each after a 10s timeout. Hopefully this will eliminate the majority of exit code 100s (at the associated manual retries) seen on CI.
Checklist:

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

Refined it to only retry after packages.o1test.net have been added to the sources list.


chore(ci): Disable circleci builds for push & pull_request

We'll migrate nightly builds and automatic publishes shortly, but these builds are the primary use for Circle and can be replaced with the GitHub Actions integration introduced via #469.

Branch protection rules updated ahead of this landing:

Confirmation that those circleci builds no longer run:


Diagram of node not 100% clear

This diagram of node here https://kubernetesbootcamp.github.io/kubernetes-bootcamp/3-1.html leaves some doubt about whether there is one docker or multiple in the node. You have shows Docker next to kubelet thereby causing some confusion.

The text above the diagram mentions:
Every Kubernetes Node runs at least:
A container runtime (like Docker, rkt) that will take care of pulling all your containers from a registry.
Kubelet, that acts as a bridge between the Kubernetes Master and the Nodes; it manages the Pods and the containers running on a machine.


request help: Client.Timeout exceeded while awaiting headers

Issue description
When apisixUpstream is configured, what is the reason for the error reported by the ingress-controller
logs:
2021-02-07T11:03:46+08:00 error apisix/upstream.go:89 failed to list upstreams: Get http://apisix-admin:9180/apisix/admin/upstreams: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
ERROR: logging before flag.Parse: E0207 11:03:46.725956 1 upstream.go:38] list upstreams in etcd failed, group: , err: Get http://apisix-admin:9180/apisix/admin/upstreams: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
2021-02-07T11:03:46+08:00 error state/builder.go:207 solver upstream failed, find upstream from APISIX failed, upstream: &{ID: FullName:0xc00041ef40 Group:0xc00041eeb0 ResourceVersion:0xc00041eec0 Name:0xc00041eed0 Type:0xc00041ef50 HashOn:0xc00041ef60 Key:0xc00041ef70 Nodes:[0xc00000fae0 0xc00000fb00] FromKind:0xc00041ef30}, err: list upstreams failed, err: Get http://apisix-admin:9180/apisix/admin/upstreams: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
E0207 11:03:46.726001 1 apisix_upstream.go:113] error syncing 'default/web': list upstreams failed, err: Get http://apisix-admin:9180/apisix/admin/upstreams: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
Environment
This is my installation procedure:
helm install apisix ./chart/apisix  -n default\
--set etcd.enabled=false
--set etcd.host={http://<IP_ADDRESS>:22379}
--set allow.ipList=""
and this  my ectd configuration:
name: etcd0
data-dir: /root/etcd-v3.4.3-linux-amd64/data
listen-peer-urls: http://<IP_ADDRESS>:22380
listen-client-urls: http://<IP_ADDRESS>:22379,http://<IP_ADDRESS>:22379
initial-advertise-peer-urls: http://<IP_ADDRESS>:22380
advertise-client-urls: http://<IP_ADDRESS>:22379
initial-cluster: etcd0=http://<IP_ADDRESS>:22380
initial-cluster-state: new
initial-cluster-token: miosisp
enable-grpc-gateway: true

@zhangxiaohui123456 Could you try to log in to the apisix ingress controller container and connect to the apisix-admin service?

@zhangxiaohui123456 Could you try to log in to the apisix ingress controller container and connect to the apisix-admin service?

I use curl http://<IP_ADDRESS>:9180/apisix/admin/upstreams in pod of apisix-ingress-controller
This is error info :

401 Authorization Required

401 Authorization Required
openresty

Is there a problem with my secret key? But I haven't changed the configuration

@zhangxiaohui123456 Could you try to log in to the apisix ingress controller container and connect to the apisix-admin service?

I use curl http://<IP_ADDRESS>:9180/apisix/admin/upstreams in pod of apisix-ingress-controller
This is error info :
401 Authorization Required
# 401 Authorization Required
openresty Is there a problem with my secret key? But I haven't changed the configuration

this is add info ----------------------------------------------
I went into Apisix's POD and looked at the Admin Key , It is exactly the same as the ADMIN_KEY in config.yaml in apisix-ingress-controller pod

@zhangxiaohui123456 Could you try to log in to the apisix ingress controller container and connect to the apisix-admin service?

I use curl http://<IP_ADDRESS>:9180/apisix/admin/upstreams in pod of apisix-ingress-controller
This is error info :
401 Authorization Required
# 401 Authorization Required
openresty Is there a problem with my secret key? But I haven't changed the configuration

It's weird, the apisix isn't deployed with the apisix ingress controller in the same pod, so how did you access it from the <IP_ADDRESS> ...


Semi-Final results

Dear all competitors,
Semi-final results are available on the website, here is the link.
Congratulation to S34!

The best objective value for B05 is better for 15 min than for 90 min, are those values swapped?

Hi,
Yes, surprisingly the 15 minutes solution is not better than the 90 minutes solution.


The high latency when send the big protobuf message

Hi guys:
I have a problem worried with me.
I send the protobuf bytes with s2n-quic, but I can not parse the proto on receive side when the bytes size is too long.
Do we have any good encode and decode frame data solution?
Thanks all of you.

Application-level framing isn't really in scope of s2n-quic.
If you're sending multiple protobuf messages on a single stream, I would recommend looking at tokio_util::codec to implement a solution. All streams in s2n-quic implement the required traits to easily integrate with that crate.
You can also open a stream per message and buffer in the application until the stream is finished and decode the message at the end.

Thanks, @camshaft. I have encoded and decoded with tokio_util now.
Another problem:
I have opened a open_bidirectional_stream on client-side, and accept_bidirectional_stream on server side.
and then transfer the video streaming with the single-stream from client to server. but I got the high latency, and the latency grows over time. How to resolve it? Do I need to open_bidirectional_stream for every frame? but I want to keep the frames relatively ordered.
What do you have a good idea about this case?

How about setting the ack value? But I can not find any API about this.

Good questions:
I have tried to debug and release versions, and the experience is almost.
The transmission is ok when the network latency < 20ms. So I think it is not the send and receive problem. No CPU limit.
But I add the latency with sudo tc qdisc add wlp0s20f3 root netem delay 40ms, and I can see the latency will be up to the server-side.
I have set a timestamp in client data. and the server will return the timestamp to the client, and the client print the time difference.
the client log output
[WARN] 2022-06-24T11:32:32.491 to_server_rtt: 344ms,
[WARN] 2022-06-24T11:32:35.062 to_server_rtt: 903ms,
[WARN] 2022-06-24T11:32:37.647 to_server_rtt: 1486ms,
[WARN] 2022-06-24T11:32:40.174 to_server_rtt: 2014ms,
[WARN] 2022-06-24T11:32:42.790 to_server_rtt: 2610ms,
[WARN] 2022-06-24T11:32:45.322 to_server_rtt: 3148ms,
[WARN] 2022-06-24T11:32:48.090 to_server_rtt: 3894ms,
[WARN] 2022-06-24T11:32:50.841 to_server_rtt: 4649ms,
[WARN] 2022-06-24T11:32:53.431 to_server_rtt: 5245ms,
[WARN] 2022-06-24T11:32:56.034 to_server_rtt: 5829ms,
[WARN] 2022-06-24T11:32:58.809 to_server_rtt: 6595ms,
[WARN] 2022-06-24T11:33:01.468 to_server_rtt: 7247ms,

The ping output on the client-side:
64 bytes from <IP_ADDRESS>: icmp_seq=5 ttl=63 time=44.8 ms
64 bytes from <IP_ADDRESS>: icmp_seq=6 ttl=63 time=43.3 ms
64 bytes from <IP_ADDRESS>: icmp_seq=7 ttl=63 time=49.6 ms
64 bytes from <IP_ADDRESS>: icmp_seq=8 ttl=63 time=43.2 ms
64 bytes from <IP_ADDRESS>: icmp_seq=9 ttl=63 time=46.5 ms
64 bytes from <IP_ADDRESS>: icmp_seq=10 ttl=63 time=44.9 ms
64 bytes from <IP_ADDRESS>: icmp_seq=11 ttl=63 time=42.9 ms

I set some limits on both sides, but it still doesn't work.
const ACK_LATENCY: u64 = 0;
const MAX_HANDSHAKE_DURATION: u64 = 3;
const MAX_ACK_RANGES: u8 = 100;
const CONN_TIMEOUT: u64 = 5;
const KEEP_ALIVE_PERIOD: u64 = 2;

Client code:

pub async fn new_for_client_conn(
        server_addr: SocketAddr,
        local_addr: SocketAddr,
    ) -> ResultType<BidirectionalStream> {
        let io = IoBuilder::default()
            .with_receive_address(local_addr)?
            .build()?;

        let limits = Limits::new()
            .with_max_ack_delay(Duration::from_millis(ACK_LATENCY))
            .expect("set ack delay failed.");
        limits
            .with_max_ack_ranges(MAX_ACK_RANGES)
            .expect("set ack max rangees failed.");
        limits
            .with_max_handshake_duration(Duration::from_secs(MAX_HANDSHAKE_DURATION))
            .expect("set max handshake duration failed.");
        limits
            .with_max_idle_timeout(Duration::from_secs(CONN_TIMEOUT))
            .expect("set max idle timeout failed.");
        limits
            .with_max_keep_alive_period(Duration::from_secs(KEEP_ALIVE_PERIOD))
            .expect("set max keep alive period failed.");

        let client = Client::builder()
            .with_tls(Path::new(CERT.cert_pom))?
            .with_limits(limits)?
            .with_io(io)?
            .start()
            .unwrap();

        let connect = Connect::new(server_addr).with_server_name("localhost");
        let mut connection = client.connect(connect).await?;
        connection.keep_alive(true)?;

        let stream = connection.open_bidirectional_stream().await?;
        Ok(stream)
    }

Server code

 pub fn new_server(bind_addr: SocketAddr) -> ResultType<Server> {
        let io = IoBuilder::default()
            .with_receive_address(bind_addr)?
            .build()?;
        let limits = Limits::new()
            .with_max_ack_delay(Duration::from_millis(ACK_LATENCY))
            .expect("set ack delay failed.");
        limits
            .with_max_ack_ranges(MAX_ACK_RANGES)
            .expect("set ack max rangees failed.");
        limits
            .with_max_handshake_duration(Duration::from_secs(MAX_HANDSHAKE_DURATION))
            .expect("set mac handshake duration failed.");
        limits
            .with_max_idle_timeout(Duration::from_secs(CONN_TIMEOUT))
            .expect("set max idle timeout failed.");
        limits
            .with_max_keep_alive_period(Duration::from_secs(KEEP_ALIVE_PERIOD))
            .expect("set max keep alive period failed.");

        let server = Server::builder()
            .with_tls((Path::new(CERT.cert_pom), Path::new(CERT.key_pom)))?
            .with_limits(limits)?
            .with_io(io)?
            .start()
            .unwrap();
        Ok(server)

    // Some(mut new_conn) = server.accept() => {
    //     let client_addr = new_conn.remote_addr()?;
    //     tokio::spawn(async move {
    //         while let Ok(Some(stream)) = new_conn.accept_bidirectional_stream().await {
    //             tokio::spawn(async move {
    //               loop {
    //                      let Ok(Some(data)) = stream.receive().await {
    //                               .....
    //                              stream.send(data).await.expect("stream should be open");
    //                      }
    //                 }
    //             });
    //         }
    //     });
    // }
    //}

PS:
What do I miss in my code? and do I need to change my limits?
or what monitor tool can analyze the s2n-quic latency data?

Any idea about this case, guys? @camshaft @WesleyRosenblum @toidiu
Thanks.

The code you shared isn't reproducible so I'm not sure what issue you're seeing. If you make a repo for the minimal amount of code it takes to reproduce this, we can take a look when we get time.

@camshaft got it, I will create a test repo to reproducible. thanks.

@camshaft
Sorry for the late response because of busy work. I have coded the demo to reproduce the case.
https://github.com/fy2462/s2n_quic_latency_reproducer
You can get the details by following the README.
I don't know why there is high latency in the code. please tell me the root cause if you are free to test my code. thanks very much.
I am waiting for your response. thanks again.

Thanks for creating the repo. We will add it to our list of things to do and follow up after investigating it.
In the meantime, I believe you're running into buffer bloat issues. Basically if you're producing data faster than the network can carry, your stream buffers are going to grow and grow until you hit the buffer limits and then s2n-quic will start applying backpressure on the sender. If you want to avoid this behavior you can call flush on the stream after you send a message and this will make sure the peer receives the data before sending the next one. It's possible that this isn't what is happening. But looking at the initial results, that's my hunch.

Thanks a lot, @colmmacc, I think the bitrate is only < 5MBps in my demo, Why is low and stable latency when I use the TCP connection?
More questions:

Is it involves more latency after flushing the buffer for every frame of data?
Any limits related I can set to keep the communication latency stable and low? I can try it in my code.

Hi @camshaft, any test progress for my code. thanks.

Hi @fy2462,
Looking into this is still something we'd like to do, but we haven't gotten to it yet. After we investigate this further we'll let you know.
Thanks!

Got it, thanks @goatgoose .

@goatgoose @camshaft Hi guys,
s2n-quic is a great project, and have easy API to use, I am very hope to use it in my production project, But I think there is a little slow for issue response and trance in community. I think it maybe busy for your work. but It is not good for the project growing up.
Anyway, I hope s2n-quic will be the top 1 project for QUIC. Thanks for your work. looking forward your response.

As path latency increases, your buffering limits also need to increase. You can try to apply the same limits as the perf server:
https://github.com/aws/s2n-quic/blob/e5ae19ff115a09d29a8b041728393df85f0b69ea/quic/s2n-quic-qns/src/perf.rs#L115-L125

@camshaft Thanks very much, I will try it.

I set the limits with the example, but panic happened. thread 'tokio-runtime-worker' panicked at 'Receive window must not exceed 32bit range', when the client connect to server.
https://github.com/fy2462/s2n_quic_latency_reproducer/blob/a61bdb56a81c20aa983265a38898df2ddf47973d/hbb_common/src/quic.rs#L172

So don't make the value so high then. There's no way you're going to get 5000Gbps over a 400RTT network.

Got it, thanks.

@camshaft Thank you your time to response, But I try to change the limits as:
https://github.com/fy2462/s2n_quic_latency_reproducer/blob/2dac5a513afdadf65ab0ea9ed740019f1abbbc07/hbb_common/src/quic.rs#L170
But the demo still works bad after I mock the network latency, Could you help me to test the demo in your own PC, and find why it bad performance. miss it if you are not free, thanks again.
PS: I mock the latency with sudo tc qdisc add dev eth0 root netem delay 50ms on the demo client side.

@fy2462 - What is your bandwidth/latency as measured by iperf (https://github.com/esnet/iperf)  when you have that netem delay set?
netem delay 50ms  adds a delay to every packet that is going out of that interface.
I am going to assume that your PATH MTU of that interface is the default of 1500 bytes.
This means it's going to take about 118 packets to deliver a 177k buffer (the size of image.png)
I'm not sure where the netem filter actually applies its delays, but it could be sending every packet in serial, and delaying each one 50ms.   If this is the case, it should take 5.9 seconds to complete the delivery of that 177k image.png.   In this case, your transfer rate would be 19.8Kbps  assuming everything else was instantaneous.
In short,  I don't think you're actually hitting the latency of s2n-quic here.
If you want to test the overall bandwidth of your server.. I recommend spinning up a couple hundred clients in parallel, then you could get an idea of the overall throughput of the server, even with laggy network.

@fy2462 - Have you run into any other troubles with performance?


Format description

Frames for minimal content used by the ESP logger need to be defined. This issue summarizes the current suggestion.
Minimal GNSS Frame (uncompressed)

Name
Type
Units
Scaling
Description

id
u1
-
-
Type identifier  (xE0)

flags
u1
-
-
Flags  (default 0)

hdop
u2
-
2 x 10-2
HDOP

datetime
u8
ms
-
Unix time

speed
u4
m/s
2 x 10-3
Speed (over ground) in mm/s

serr
u4
m/s
2 x 10-3
Speed error (SDOP/sAcc)

lat
i4
deg
2 x 10-7
Latitude

long
i4
deg
2 x 10-7
Longitude

cog
i4
deg
2 x 10-5
Course over ground

sats
u1
-
-
Number of satellites

fix
u1
-
-
GPS fix (3 = 3D fix)

cksum
u2
-
-
Checksum (ubx Fletcher)

TOTAL = 36 bytes
Minimal GNSS Frame (compressed)

Name
Type
Units
Scaling
Description

id
u1
-
-
Type identifier  (xD0)

flags
u1
-
-
Flags (default 0)

hdop
u2
-
2 x 10-2
HDOP

timedelta
i2
ms
-
Delta time

speeddelta
i2
m/s
2 x 10-3
Speed (over ground) in mm/s

serrdelta
i2
m/s
2 x 10-3
Speed error (SDOP/sAcc)

latdelta
i2
deg
2 x 10-7
Latitude

longdelta
i2
deg
2 x 10-7
Longitude

cogdelta
i2
deg
2 x 10-2
Course over ground scaled delta

sats
u1
-
-
Number of satellites

fix
u1
-
-
GPS fix (3 = 3D fix)

cksum
u2
-
-
Checksum (ubx Fletcher)

TOTAL = 20 bytes
See  https://github.com/Logiqx/open-gnss/discussions/22 for description of basic compression ideas.
Based on discussions on Seabreeze, https://raw.githubusercontent.com/Logiqx/open-gnss/main/docs/thoughts.md, and discussions at https://github.com/Logiqx/open-gnss/discussions
Notes:
Type identifiers define the record type (also called frame type), with reserved ranges:

xF0 to xFF are for file headers and similar "meta" information
xE0 to xEF are for uncompressed, pre-defined data formats
xD0 to xDF are for compressed, pre-defined data formats

Flags  are intended for "post-logger" use. For example, software like GPS Speedreader may interpolate missing records that will be saved to files, and the flags can be used to identify such records. Other bits could be used to identify smoothed data, average data (e.g. when down-sampling), or whether records have been/should be used for speed results (i.e. filter flags). The meaning of these flags has to be defined. For straight logging of data received from a GPS chip, all flags are set to 0.
Checksums  are 16-bit Fletcher checksums (https://en.wikipedia.org/wiki/Fletcher's_checksum) with a modulus of 256.  This is different from the more commonly used modulus of 255, but it is identical to how the checksum in u-blox (.ubx) files is calculated. The advantage of using a 256 modulus is that simplifies the calculation by avoiding divisions, instead allow the use of unsigned 8-bit integers (in C) or bit operators and cast operations (in Java), this allowing for simpler and faster code.
Additional descriptions and explanations to come, either here or in the discussions.

Correction Dec 6, 2022 5:54 pm EST:
lat, long, and cog are signed ints (i4) in the u-blox documentation, not unsigned.

I assume the checksum is over all the bytes, except the two last checksum bytes (byte 0 to 33) ?
For The Fletcher function, if I use a uint8_t for sum1 and sum2, the %256 is  not needed anymore ?
uint16_t sum1,sum2;
for ( int i = 4; i<(count-2); ++i )
{
sum1 = (sum1 + data[i]) % 256;//divide by 256 in stead of 255 !!
sum2 = (sum2 + sum1) % 256;
}
Greetings, Jan.
Verzonden vanuit Mail voor Windows
Van: prichterich
Verzonden: dinsdag 6 december 2022 23:56
Aan: prichterich/compactgnss
CC: RP6conrad; Manual
Onderwerp: Re: [prichterich/compactgnss] Format description (Issue #2)
Correction Dec 6, 2022 5:54 pm EST:
lat, long, and cog are signed ints (i4) in the u-blox documentation, not unsigned.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

I assume the checksum is over all the bytes, except the two last checksum bytes (byte 0 to 33) ?

Correct. Check the u-blox receiver protocol description for an example. Here's what it looks like in my Java implementation, using 4-byte ints for the 2 checksum bytes:

I have a writer and reader for the new format in Java (as part of GPS Speedreader). In first limited tests, they seem to work. File size can be indeed reduced to 20% of ubx (for 5 Hz data, 1 Hz should be 20.3%).
I need to clean up some things (e.g. handling checksum violations). I will also add a detailed point-to-point comparison of two files, so that it is possible to compare a ubx file and a gpy file so verify that all data in the gpy file are saved and read correctly. Once I got that, I can send you a pre-release version, so you can use it to check files you generate.
The header in Mike's original description is to close to the FIT file format, which adds unwanted complexity. The real format does not matter much to me, but there are changes to the start of the file header that do matter:

First (type) byte is xF0
Second byte is 0 (flags, unused so far)
Next two bytes are uint2 and give the length of the header record, including everything from first byte to checksum bytes (included!).
Checksum bytes are at the end of the record (like in all other records).

The length of the header record may be subject to change in the future, so having the length in bytes 3 and 4 will allow reading it even if something changed. The header length (with checksum bytes) should be a multiple of 4.


Make discovery cache pulling timer-based

Closes #89.

Codecov Report
Patch coverage: 66.66% and project coverage change: +6.70 :tada:

Comparison is base (e896dcb) 66.76% compared to head (96510d4) 73.46%.

:exclamation: Current head 96510d4 differs from pull request most recent head 3e9ed13. Consider uploading reports for the commit 3e9ed13 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #150      +/-   ##
==========================================
+ Coverage   66.76%   73.46%   +6.70%
==========================================
  Files           2        1       -1
  Lines         701      603      -98
==========================================
- Hits          468      443      -25
+ Misses        233      160      -73

Impacted Files
Coverage Δ

kele.el
73.46% <66.66%> (-0.21%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


chore(JavaScript): add trie implementations algorithm

PR Checklist:

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is on refer on the language README.md file
[x] My addition does not have a spelling problem
[x] My submission has a proper and user-friendly description of the algorithm
[x] My submission has the time complexity of the algorithm
[x] My submission has sample input-output of the program (NOT FOR PYTHON)

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] New algorithm
[ ] Optimization in previous algorithms
[ ] Code style update
[ ] Refactor
[ ] Documentation
[ ] Other, please describe:

Briefly describe the changes in this PR
Added Javascript Trie implementation.
Other information:

Hi @pygaurav,
Please try to fix the linter issue

@ming-tsai  Thanks. I have added a commit for that. 🚀


Increment version for communication releases

Increment package version after release of Azure.Communication.Common

API change check
API changes are not detected in this pull request.


Money raised should allow decimal amounts

Summary
On the donation donation form (new/edit), the money raised form field is an integer. There is no way for the user to enter cents (ex. $20.50). The money raised database column should be a float to allow amounts of less than a whole dollar.
Criteria for Completion

[x] When a user enters a money_raised amount, they should be able to enter decimal amounts (cents)
[x] The user should not be able to enter more than 2 decimal places. (1.56 is valid. 1.567 is not)

Ref #1345


Remove 'rust' sub-directory from the repo

Looks to me like we don't need it. If I'm intepreting the directory structure correctly we're going to end up with;

hftbacktest
hftbacktest-derive
py-hftbacktest

I know there isn't anything except the MD file but the simpler the better I think.

I left that directory because there is still a lot of traffic to that URL. I don't want visitors to encounter a 404 error. But, it will be removed in the future.


Proposal: View all supported plugins with the list command

Description
View all supported plugins by list command, and support group display

Great idea! @summingyu
It's a good idea to get the names of all dtm supported plugins directly from the command line. Because it is really cumbersome to query which plugins are available through the documentation.
Since there are not many plugins at present, I recommend outputting all the plugins' names directly without grouping.
When there are more plugins are supported in the future, we could implement group output at that time, even output all plugins' names of a group by specifying the group name like --group=ci or --kind=ci.
Go back to the implementation, I briefly thought about it, maybe we can design the command like:

dtm list-plugins

Maybe we can use the dtm list-plugins --kind=ci at future to support group output.
Of course there are many other options, I also list them for consideration

dtm list plugins
dtm plugins list

/cc @devstream-io/pmc

Great idea @summingyu
list-plugins, list-plugins --kind=ci look quite natural to my eyes.
Let's go!

/assign @summingyu


Documentation improvements [1-39,44,46,50]

A number of improvements have been made, but keeping open to track and further documentation changes to include new functionality (and adding a new more relevant example).


fatal error when using @v.2

Describe the bug
I get the following:
Run<EMAIL_ADDRESS>Getting head sha...
fatal: ambiguous argument 'HEAD^1': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Getting diff...
fatal: ambiguous argument 'HEAD^1': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Error: Process completed with exit code 128.

To Reproduce
My template:
      - name: Get modified files using defaults
        id: changed-files
        uses<EMAIL_ADDRESS>
Expected behavior
That the system would get a list of changed files
Additional context
using ubuntu-latest

d'oh - this was because I hadn't included the fetch-depth: 0 in the checkout repo section. You might want to highlight this in the docs, for newbies like me!

Yeah definitely it's hidden in the example.

Updated the https://github.com/tj-actions/changed-files#usage let me know if this needs to be improved Thanks.


the trait std::io::Read is not implemented for Result<File, anyhow::Error>

Hello,
Sorry for my noob rust question.
I'm working on a project regarding avro file manipulation tool based on avrow. I see the popular compile error happen on header reading. I see avrow_cli works good but I don't understand why avrow_cli handles that well. Could someone please point out what's wrong? Thank you.
Below is a piece of code and error msg.
use std::env;
use avrow::Header;

fn main() {
    let args: Vec<String> = env::args().collect();

    println!("Hello, {}!", &args[1]);

    let mut file = std::fs::OpenOptions::new()
        .read(true)
        .open(&args[1]);

    let header = Header::from_reader(&mut file);
    println!("{}", header.schema());
}

Compiling avro-dump-schema-rs v0.1.0 (/home/shuduo/work/avro-rs)
error[E0277]: the trait bound `Result<File, std::io::Error>: std::io::Read` is not satisfied
  --> src/main.rs:13:38
   |
13  |     let header = Header::from_reader(&mut file);
   |                                      ^^^^^^^^^ the trait `std::io::Read` is not implemented for `Result<File, std::io::Error>`
   |
  ::: /home/shuduo/.cargo/registry/src/github.com-1ecc6299db9ec823/avrow-0.2.1/src/reader.rs:638:27
   |
638 |     pub fn from_reader<R: Read>(reader: &mut R) -> Result<Self, AvrowErr> {
   |                           ---- required by this bound in `Header::from_reader`
error[E0599]: no method named `schema` found for enum `Result<Header, AvrowErr>` in the current scope
 --> src/main.rs:14:27
  |
14 |     println!("{}", header.schema());
  |                           ^^^^^^ method not found in `Result<Header, AvrowErr>`
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0277, E0599.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `avro-dump-schema-rs`
To learn more, run the command again with --verbose.

Hey @sangshuduo
You're getting an error because Header::from_reader accepts a Read (File in this case) type. Whereas, you are passing a Result<File, ...>. You forgot to unwrap or ? in this line:
    let mut file = std::fs::OpenOptions::new()
        .read(true)
        .open(&args[1]);

change it to:
    let mut file = std::fs::OpenOptions::new()
        .read(true)
        .open(&args[1]).unwrap();

and it should work.
Hope that helps

@creativcoder  everything works smoothly now. thanks for your help.


Example on qiskit.org website fails

Informations

Qiskit Ignis version: master
Python version:
Operating system: osx

What is the current behavior?

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-3-f565b3ec1230> in <module>
     11 rb_opts['nseeds'] = 5
     12 rb_opts['rb_pattern'] = [[0,1]]
---> 13 rb_circs, xdata = randomized_benchmarking_seq(**rb_opts)
     14
     15 # Run on a noisy simulator

/miniconda3/envs/testing/lib/python3.7/site-packages/qiskit_ignis-0.1.0-py3.7.egg/qiskit/ignis/verification/randomized_benchmarking/circuits.py in randomized_benchmarking_seq(nseeds, length_vector, rb_pattern, length_multiplier, seed_offset)
    204                         clutils.get_quantum_circuit(new_cliff_gatelist,
    205                                                     rb_q_num),
--> 206                         rb_pattern[rb_pattern_index], qr)
    207                     # add a barrier
    208                     general_circ.barrier(

/miniconda3/envs/testing/lib/python3.7/site-packages/qiskit_ignis-0.1.0-py3.7.egg/qiskit/ignis/verification/randomized_benchmarking/circuits.py in replace_q_indices(circuit, q_nums, qr)
    253     new_circuit = qiskit.QuantumCircuit(qr)
    254     for op in circuit.data:
--> 255         original_qubits = op.qargs
    256         new_op = copy.deepcopy(op)
    257         new_op.qargs = [

AttributeError: 'tuple' object has no attribute 'qargs'

Steps to reproduce the problem
Run the example from the ignis page of qiskit.org
What is the expected behavior?
Suggested solutions

Sorry, this is for the old version because another package force downgraded my ignis


Update Narwhal Image on Landing Page and Create Page

Will get finalized images, in about a week. So let's save this for the end of the sprint.

@oznekenzo here's the image file for Mollie


Implemented metrics for counting trees 🌳

Description
Implemented the tree counting metric.
Addressed issues
#89

Very nice!


Fix code style issues.

This code base is not compliant with PEP-8 guidelines. We should fix that so that we get no warnings or errors from flake8.

This was fixed in #5


Can't start UI

Hello,
When i try to launch the UI i got this error
---------------------------------------------------------
             NeewerLite-Python ver. 0.12b
                 by Zach Glenwright
  > https://github.com/taburineagle/NeewerLite-Python <
---------------------------------------------------------
Traceback (most recent call last):
  File "/home/myuser/Documents/script/NeewerLite-Python/NeewerLite-Python.py", line 3414, in <module>
    mainWindow = MainWindow()
                 ^^^^^^^^^^^^
  File "/home/myuser/Documents/script/NeewerLite-Python/NeewerLite-Python.py", line 189, in __init__
    self.setupUi(self) # set up the main UI
    ^^^^^^^^^^^^^^^^^^
  File "/home/myuser/Documents/script/NeewerLite-Python/ui_NeewerLightUI.py", line 133, in setupUi
    self.CCT_Temp_Gradient_BG.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignTop)
TypeError: 'PySide2.QtCore.Qt.AlignmentFlag' object cannot be interpreted as an integer

Did i miss something ? have someone an idea ?
Thanks a lot

Did you get the PySide2 installed? And it is available in the python? What platform is it you are using it on?
I'm not using the GUI version, I've set it up with http and I'm using my streamdeck for it, so for me it's quite some time ago I had it set up on my windows box.

I'm on linux Fedora 37, yes i install PySide2 for my user and in root to.
I'm going to use it with the cli line ;) to use it with touch portal, but for purpose test i was trying by gui. But nice tips to use it with http !! i look at this thanks :)
I give a try for http thanks :)

@Desaydrone - which version of Python and PySide2 are you using?  I saw Fedora 37, so I'm assuming it's a flavor of Python 3, which shouldn't toss that error, but I'm not 100 sure...

The Pyside2 version is : PySide2-5.13.2
The python version is : 3.11.1

That's interesting - kind of a bizarre error, as that line self.CCT_Temp_Gradient_BG.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignTop) is written how PySide2 expects it to be written, so I'm not 100% sure where that's coming from...  I do have a Fedora 17 VM to test things out with, but not that specific Python or PySide2 variant, so that would take some time to test out.  I have had luck in getting Fedora to work with NeewerLite-Python though, so maybe it's some weird quirk with that combination.

Hey @Desaydrone - a bit of a long time since this issue was closed, but I'm fairly certain I've got the issue fixed.  Older versions of PySide2 < 5.15 apparently have issues when you splice multiple Alignment values together.  I changed the way I do that to just add them as integers and then convert them to the correct type after the addition.  I have one other person who also has that issue that needs to test the new method out, and when I get the all clear, I'll push the new version as a release.


gen: support application/problem+json Content-Type

Description
I request support for the application/problem+json  Content-Type.
Calling API server returns error responses as application/problem+json which is defined by RFC 7808.
ogen does not currently support application/problem+json, so  when I use a generated API client, I got the below error:
decode response: default (code 404): unexpected Content-Type: application/problem+json

References

https://datatracker.ietf.org/doc/html/rfc7807

OpenAPI Spec you're using should define response with a application/problem+json content type.
To avoid Content types ... are unsupported error, you may instruct ogen to decode application/problem+json like JSON by using --ct-alias "application/problem+json=application/json" option.
If response schema is properly defined, generated code whould be able to decode the problem object.

It doesn't seem like any special support needed.

I missed that parameter.
It worked fine!
Thanks for letting me know!


Open-Iconic doesn't work

Hmm interesting. Is this from the default project template, or is this with some other version of the fonts?

@Eilon, Yes, this is default project template. I think that problem in the WebView

Unrelevant


Update Copyright in all Files 2018-2022

Hi @karask Do we have change the Copyright of all files as mentioned in the TODO File. If so, I will make a PR for the Same.

Then, I am thinking on working on the Test Suite, any suggestions for the same will be very appreciated.

The Copyright is usually the original date of creation (2018) up to the current year (2024).
The copyright for the test suite would be the same.
For the test suite, we can increase testing coverage by adding new tests; testing existing methods that do not have a test already.
A more challenging task would be to improve the test suite similarly to the bitcoin-core project; effectively all the values would be in json files so we can add/remove tests easily. The tests would then use these json files. This requires a lot of thought to make properly.


[Windows] Incorrect Refresh Rate info is being displayed on multi-monitor setups

Describe the bug
I have noticed that it usually just takes the refresh rate of the primary monitor and copies that over to other monitors as well, however this only seems to happen on Windows, on Linux it's being displayed fine as my primary monitor is 144Hz, the secondary one is 60Hz.
To Reproduce
Steps to reproduce the behavior:

used si.graphics();
Current Output

Expected behavior
I'd expect to see the same thing as on Linux, so instead of seeing that both screens are 144Hz, i'd prefer to see the second one as 60Hz.
Environment (please complete the following information):

systeminformation package version: 5.21.x
OS: Win11
Hardware: GeForce GTX 1070 (Gigabyte) + AOC C24G1 144Hz monitor + HP LA2306x 60Hz monitor

Additional context
If there are any powershell commands for me to run and print their output, feel free toa sk me, I will provide the info.

@NoobishSVK ... unfortunately this is a value, we do not get back from windows metrics per monitor, just on a controller level.  I wish it would be different but windows is unfortunately different :-(


Several Milestone Next Issues

Issue #65 - Symbol Preview Gap
Issue #70 - Clear search if no map
Issue #78 - Selection Issues

@pHill5136 - can you review &/| merge when you get a chance - thanks


Recognise END statement in FORTRAN files.

This adds the END statement to the Fortran/Forth heuristic.
Also allows Fortran comments CCC as seen here: https://github.com/search?q=language%3Afortran+ccc&type=Code
Fixes bad detection of these files:
https://github.com/jeiros/FORTRAN_course/search?l=forth

:+1:


Transfer OpenSearch Project infrastructure to OpenSearch Software Foundation

What/Why
What are you proposing?
The Linux Foundation announced the launch of the OpenSearch Software Foundation here.
Transfer the various responsibilities/processes/content to the new OpenSearch Software Foundation.

[ ] #219
[ ] #218
[ ] #217
[ ] #216
[ ] #225
[ ] #226

Documenting community aspects is https://github.com/opensearch-project/community/issues/50.

I had a word with GitHub and they are unable to transfer a organization from one Enterprise to another. I suspect the transfer will involve moving OpenSearch out of the Amazon Enterprise (possibly turning off some features), then adding LF staff as Owners and they can then take care of moving it into the LF's management processes.

I had a word with GitHub and they are unable to transfer a organization from one Enterprise to another. I suspect the transfer will involve moving OpenSearch out of the Amazon Enterprise (possibly turning off some features), then adding LF staff as Owners and they can then take care of moving it into the LF's management processes.

Thanks Henri, this is relevant for https://github.com/opensearch-project/.github/issues/225.

Updating this as META, to keep track of all pending items we need.

Accounts described in https://github.com/opensearch-project/opensearch-clients/issues/50#issue-1578426743 should move.


TrackMe bug report - Cloud vetting failed 1.2.58

Failures:

"embed all your app's front end JS dependencies in the /appserver directory
"Your app includes HTML dashboard files in the data/ui/html directory which must be removed.

Hi @Tinman51
TrackMe V2 will address the deprecation of HTML dashboard and JQuery.
The first release is due to be published within October. (will be hosted in non public Git repo)
Keep an eye on it, working hard on making this happening as soon as possible.


Update loadCSS and treat it as a dependency

We use loadCSS to asynchronously load the stylesheet with JavaScript, in order to improve initial page loading speed. Currently, the loadCSS library has been inlined in utilities.js although that is far from ideal as it is not treated as a dependency and is hard to maintain up to date.
Same goes for woff2-feature-test and loadFont (the latter being slightly modified, which might not be a good idea).
To do

[ ] Put each script into its own partial (in assets/js)
[ ] Have a Make task that minify and concatenate all 3 utilities into _includes/utilities.js
[ ] [Bonus] Handle loadCSS and woff2-feature-test as proper dependencies (npm?)

Done.


Update Makefile

"ent init" command is deprecated use "ent new" instead

Thanks for the report.
Even before making this change, I'm getting the following errors when trying to run the command:
$ make ent-new abc
go run entgo.io/ent/cmd/ent init
../../Projects/go/pkg/mod/entgo.io/ent@v0.11.4/cmd/internal/printer/printer.go:16:2: missing go.sum entry for module providing package github.com/olekukonko/tablewriter (imported by entgo.io/ent/cmd/internal/printer); to add:
	go get<EMAIL_ADDRESS>../../Projects/go/pkg/mod/entgo.io/ent@v0.11.4/cmd/internal/base/base.go:24:2: missing go.sum entry for module providing package github.com/spf13/cobra (imported by entgo.io/ent/cmd/ent); to add:
	go get<EMAIL_ADDRESS>../../Projects/go/pkg/mod/entgo.io/ent@v0.11.4/entc/load/load.go:27:2: missing go.sum entry for module providing package golang.org/x/tools/go/packages (imported by entgo.io/ent/cmd/internal/base); to add:
	go get<EMAIL_ADDRESS>../../Projects/go/pkg/mod/entgo.io/ent@v0.11.4/entc/gen/graph.go:25:2: missing go.sum entry for module providing package golang.org/x/tools/imports (imported by entgo.io/ent/entc/gen); to add:
	go get<EMAIL_ADDRESS>make: *** [Makefile:38: ent-new] Error 1


Works Fine

[Enter feedback here]
Everything on this page works fine i.e. the intro Learning path works well with .NET editor
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 8053bb96-cc40-8369-c07f-f9fd14060c1e
Version Independent ID: 293260e2-f444-537b-0ba7-14d1fb6ebcf2
Content: Hello World - Introduction to C# interactive C# tutorial
Content Source: docs/csharp/tour-of-csharp/tutorials/hello-world.yml
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Just a regular feed back - no issues


Rendering context (#5)

Added locals and scope

@rosafaria please take care the last comment I left, then I'll merge this PR

Everything is now corrected except for the laziness. Do you want to merge now or have someone explain it to us somehow and explain how to do the tests before you merge?


plot_histogram() in Jupyter Notebook is not displaying results

I am imported the plot_histogram as follows:
from qiskit.visualization import plot_histogram
however when it comes time to call the plot_histogram() the results are not displayed
job = simulator.run(compiled_circuit, shots = 1000)
results = job.result()
counts = results.get_counts(compiled_circuit)
print("\nTotal count for 00 and 11 are:",counts)

plot_histogram(counts)

circuit.draw()

results  =
Total count for 00 and 11 are: {'0011': 57, '0000': 71, '1000': 64, '0100': 56, '1011': 80, '0010': 60, '1001': 66, '0110': 61, '1100': 65, '0111': 62, '1110': 57, '0001': 56, '1101': 61, '0101': 69, '1010': 52, '1111': 63}
C:\Users\Public\Documents\Wondershare\CreatorTemp\ipykernel_51124\1477988472.py:4: DeprecationWarning: The module 'qiskit.test.mock' is deprecated since Qiskit Terra 0.21.0, and will be removed 3 months or more later. Instead, you should import the desired object directly 'qiskit.providers.fake_provider'.
from qiskit.test.mock import FakeValencia
┌───┐┌─┐
q_0: ┤ H ├┤M├─────────
├───┤└╥┘┌─┐
q_1: ┤ H ├─╫─┤M├──────
├───┤ ║ └╥┘┌─┐
q_2: ┤ H ├─╫──╫─┤M├───
├───┤ ║  ║ └╥┘┌─┐
q_3: ┤ H ├─╫──╫──╫─┤M├
└───┘ ║  ║  ║ └╥┘
c: 4/══════╩══╩══╩══╩═
0  1  2  3
full code is attached. I have also tested this in IBM quantum lab with same results

@Allarprofesional, I believe that neither plot_histogram nor circuit.draw() actually draw the object, instead they return a handle to the object. However, Jypyter Notebook does display the last handle in the block, this is why you do see the drawn circuit. So, simply move the code for circuit.draw() in a different block (or just comment it out), and you should see the plot histogram results.

@alexanderivrii thanks this works


Error when switching to off grid mode

Hi all!
I have the following error when switching to off grid mode. I want to force my goodwe to go off grid to protect the house from power spikes.
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:230
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: November 24, 2023 at 4:25:57 PM (2 occurrences)
Last logged: 7:29:27 PM
[140089903690944] ('No valid response received even after 5 retries', 1)
[140089710700352] ('No valid response received even after 5 retries', 1)
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/goodwe/inverter.py", line 132, in _read_from_socket
result = await command.execute(self.host, self.timeout, self.retries)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/goodwe/protocol.py", line 109, in execute
await response_future
goodwe.exceptions.MaxRetriesException
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 230, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2035, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2072, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 876, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/select/init.py", line 106, in async_select_option
await entity.async_select_option(option)
File "/config/custom_components/goodwe/select.py", line 136, in async_select_option
await self._inverter.set_operation_mode(
File "/usr/local/lib/python3.11/site-packages/goodwe/es.py", line 305, in set_operation_mode
await self._set_offgrid_mode()
File "/usr/local/lib/python3.11/site-packages/goodwe/es.py", line 364, in _set_offgrid_mode
await self._set_relay_control(3)
File "/usr/local/lib/python3.11/site-packages/goodwe/es.py", line 414, in _set_relay_control
await self._read_from_socket(Aa55ProtocolCommand("03270200" + "{:02x}".format(param), "03B7"))
File "/usr/local/lib/python3.11/site-packages/goodwe/inverter.py", line 137, in _read_from_socket
raise RequestFailedException(f'No valid response received even after {self.retries} retries',
goodwe.exceptions.RequestFailedException: ('No valid response received even after 5 retries', 1)

I get the same error on the 5048ES.
The service is able to successfully set off-grid mode on the inverter, but because of this error, the integration still think the inverter is in the previous mode (eg. general or eco mode). So if you want to go back to the previous mode, you have to set another mode first. Eg. if you were in general and offgrid mode, you first have to set it to eco, then you can set it back to general to leave offgrid mode.

Is it just problems of reliability of the commands ? (In that case increasing retry-count might help).
Or is it problem that the call to _set_relay_control always fails with your firmware version ?

To the best of my fault finding I belive it is the parameter "set relay control" it always fails. And the HA gives the timeout were it outputs that after 10 tries the parameter has failed.Goodwe has updated my firmware last week to 2525J and the issue is still there 🙂Can you maby disable that relay control for the ES and then I can test for you?On 21 Dec 2023, at 16:56, mletenay @.***> wrote:
Is it just problems of reliability of the commands ? (In that case increasing retry-count might help).
Or is it problem that the call to _set_relay_control always fails with your firmware version ?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I get the same problem on 5048ES, as @tinuva mentioned change to eco first then normal works.


Enhancement optimize behavior of default_storage_medium

Proposed changes
Issue Number: close #20345

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 48.83 seconds
stream load tsv:          438 seconds loaded<PHONE_NUMBER>9 Bytes, about 162 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          57 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
insert into select:          65.1 seconds inserted 10000000 Rows, about 153K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230709152636_clickbench_pr_175294.html

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 53.92 seconds
stream load tsv:          503 seconds loaded<PHONE_NUMBER>9 Bytes, about 141 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          83.1 seconds inserted 10000000 Rows, about 120K ops/s
storage size:<PHONE_NUMBER>0 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230710125440_clickbench_pr_175622.html

run buildall

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 51.51 seconds
stream load tsv:          498 seconds loaded<PHONE_NUMBER>9 Bytes, about 143 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          28.5 seconds inserted 10000000 Rows, about 350K ops/s
storage size:<PHONE_NUMBER>7 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230711100810_clickbench_pr_176128.html

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 53.49 seconds
stream load tsv:          501 seconds loaded<PHONE_NUMBER>9 Bytes, about 142 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          28.6 seconds inserted 10000000 Rows, about 349K ops/s
storage size:<PHONE_NUMBER>4 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230711220922_clickbench_pr_176621.html

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 51.12 seconds
stream load tsv:          497 seconds loaded<PHONE_NUMBER>9 Bytes, about 143 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          28.7 seconds inserted 10000000 Rows, about 348K ops/s
storage size:<PHONE_NUMBER>8 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230711231525_clickbench_pr_176647.html

run fe

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.84 seconds
stream load tsv:          446 seconds loaded<PHONE_NUMBER>9 Bytes, about 159 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          58 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          29 seconds loaded 861443392 Bytes, about 28 MB/s
insert into select:          25.9 seconds inserted 10000000 Rows, about 386K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230712021633_clickbench_pr_176783.html

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 50.83 seconds
stream load tsv:          499 seconds loaded<PHONE_NUMBER>9 Bytes, about 142 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          28.5 seconds inserted 10000000 Rows, about 350K ops/s
storage size:<PHONE_NUMBER>7 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230712102715_clickbench_pr_176784.html

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 48.91 seconds
stream load tsv:          506 seconds loaded<PHONE_NUMBER>9 Bytes, about 140 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size:<PHONE_NUMBER>7 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230712133016_clickbench_pr_176913.html

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 53.97 seconds
stream load tsv:          507 seconds loaded<PHONE_NUMBER>9 Bytes, about 140 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.2 seconds inserted 10000000 Rows, about 342K ops/s
storage size:<PHONE_NUMBER>6 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230712150115_clickbench_pr_176967.html

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 50.4 seconds
stream load tsv:          457 seconds loaded<PHONE_NUMBER>9 Bytes, about 156 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          57 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
insert into select:          26.5 seconds inserted 10000000 Rows, about 377K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230712071243_clickbench_pr_176965.html

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 50.58 seconds
stream load tsv:          508 seconds loaded<PHONE_NUMBER>9 Bytes, about 140 MB/s
stream load json:         18 seconds loaded<PHONE_NUMBER> Bytes, about 124 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.0 seconds inserted 10000000 Rows, about 344K ops/s
storage size:<PHONE_NUMBER>3 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230713120443_clickbench_pr_177815.html

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 49.26 seconds
stream load tsv:          511 seconds loaded<PHONE_NUMBER>9 Bytes, about 139 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.2 seconds inserted 10000000 Rows, about 342K ops/s
storage size:<PHONE_NUMBER>4 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 48.85 seconds
stream load tsv:          543 seconds loaded<PHONE_NUMBER>9 Bytes, about 131 MB/s
stream load json:         18 seconds loaded<PHONE_NUMBER> Bytes, about 124 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size:<PHONE_NUMBER>6 Bytes

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 49.59 seconds
stream load tsv:          524 seconds loaded<PHONE_NUMBER>9 Bytes, about 136 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size:<PHONE_NUMBER>8 Bytes

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 45.73 seconds
stream load tsv:          509 seconds loaded<PHONE_NUMBER>9 Bytes, about 140 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.5 seconds inserted 10000000 Rows, about 338K ops/s
storage size:<PHONE_NUMBER>8 Bytes


Users reporting that pages are being laid out larger than the window

This issue is a:
Bug report
Related issue(s), pull request(s)
None
Expected behaviour
Pages should lay out on the screen such that no part of the page is cropped
Observed behaviour
On SOME users' machines the pages are laid out such that they are over-size and part of the page is cropped.  If the user selects "Fit to Screen" then it fits that page to the screen, but advancing the page to the next results in the same problem.
Steps to reproduce

Open the test document
Go to the first chapter
See the page is too large
Select "Fit to screen"
Go to the next page and see the problem again.

Test file(s)
(if relevant, please indicate public EPUB URL(s), or whether you can share ebook(s) privately)
Product
Readium Chrome Extension, 2.22.2?

latest official version available from the Chrome Web Store

Web browser
Chrome
Operating system
Unknown so far
Additional information
This problem was reported by Holbrook.com who created the book.  This problem has been reported by several users, but not all and Holbrook has not themselves been able to reproduce it.

I have managed to reproduce the issue on Windows 7.  Here are the steps:

Load the EPUB
Make sure the scaling of the  page is such that it is LESS than 100%
Go to the Compass page
Click on one of the "Enter" buttons - doesn't matter which
You will see that the page is scaled such that it is cropped
Click "Fit to Screen" and it rescales
If you click on any of the links to a new page you will see the new page is also cropped...

I am going to try backing out this fix and see if that "fixes" the problem.  Ironically, that fix was made to work around another wonky InDesign EPUB.

In fact, now that I know how to reproduce it on Windows 7 I can reproduce in on my MacBookPro running OSX 10.11.3 and Chrome 49.  Again if you have a large monitor and the scaling is >100% then the pages SHRINK while <100% they grow.  If you set the scaling to 100% no shrinking or growing occurs.

I have confirmed that backing out this fix by changing the flag to "false" fixes the problem.  Of course it will then re-create the other bug(s) that change was introduced to fix. :-(

Related issue: https://github.com/readium/readium-js-viewer/issues/508

Ah, I found the source of the problem! (both FXL scaling error, and broken internal navigation)
This is not a bug in Readium. The HTML scaling function is fine.
Culprit in idGeneratedScript.js:
function goToDestination(ref) {
window.location.href = ref;
}

Explanation: any dynamic / scripted redirect  (via window.location.href or any other means) of the iframe that hosts EPUB content documents, will always break Readium (in several critical ways). That's because Readium can only preprocess and handle hyperlinks that are statically encoded (represented in a declarative way in the HTML files). Using scripted navigation is bad practice in the general case anyway, although I must admit that maybe it works fine in iBooks (and other reading systems) that capture / intercept dynamic URI loading.
In Readium, it may have "looked" like everything is working fine with some combination of web browsers / OS, but in fact the HTML is forcibly loaded into the iframe with no reading system intervention / checks / injections (MathJax, navigator.epubReadingSystem, annotations CSS, viewport dimensions, audio Media Overlays, etc.). In other words: this leads to a complete disconnection of the displayed HTML and the hosting reading system. It's just like loading the HTML file directly inside any arbitrary iframe.
I am filing a new issue: https://github.com/readium/readium-shared-js/issues/275


Lucene query syntax

Hi,
i made a quick extension to support the lucene query syntax:
https://github.com/SebastianStehle/MongoSearchTest
Perhaps it is of interest.

Cool stuff!  Is your intent here to have it integrated into the driver extension, or just to make us aware of it?  If we were to integrate, it would probably make sense to do it in a separate assembly and NuGet package so that we don't induce a dependency on Lucene for people who don't need it.

In general I do not understand why the query_string behaves like it does. if it cannot be fixed It could be a useful integration, but the problem is that it would only work for C#. But i think it does not make sense to build the parsing without lucene.

Sebastien, I appreciate the work you have done and hear you loud and clear. One challenge for us is that our focus is on developer productivity. A big part of that is maintainability. Sometimes, the query string feature in Lucene grows to be very unwieldy and difficult to maintain, despite how powerful it is.
Are you open to maintaining a translator from Lucene query string to Atlas Search? If your feeling is common it could become very popular quickly and may attract collaboration from others. Atlas Search is a fast growing search solution. Let me know your thoughts.

Are you open to maintaining a translator from Lucene query string to Atlas Search? If your feeling is common it could become very popular quickly and may attract collaboration from others. Atlas Search is a fast growing search solution. Let me know your thoughts.

I am planing to use it in production and I can help maintaining it at the beginning. But I cannot promise anything and it is your (paid) product.


sudo: effective uid is not 0, is /var/jb/usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?

testing the jb on iphone se 2016 15.1 when entering password alpine
shows error  sudo: effective uid is not 0, is /var/jb/usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
command: sudo bash ./palera1n.sh --tweaks 15.1

delete sudo and use sudoworking

doesnt work


Add URL equivalent to $bal_library_dir

What
Add $bal_library_url that expands to a (percent encoded) file URL pointing to the library directory
Why
This allows the library dir to be used in locatableContent trait location properties that must be a valid, URL-encoded file URL instead of a path. Presently, if the path to the library contains spaces or other non-URL-legal characters, then BAL will return invalid data when $bal_library_dir is used in trait properties that are required to be a URL.

This thing might be pretty good for testing host integrations.

This came up recently as a blocker for automated testing of a real-world integration.


The create group chat list uses different default avatars than the actual users who you invite

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

open app
Click + > Create group
select few existing and new users to be added to the group

Expected Result:
The avatars should be consistent
Actual Result:
The create group chat list uses different default avatars than the actual users who you invite
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.1.82-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @shawnborton
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1657639279664059
View all open jobs on GitHub

This seems super low priority but I do agree it would be better.

Created Upwork job
Internal posting - https://www.upwork.com/ab/applicants/1547270524636602368/job-details
External posting - https://www.upwork.com/jobs/~01b994676f0c2a7858

Hm, I'm also not able to reproduce this on Desktop. Perhaps this was already fixed. @Christinadobrzyn are you able to reproduce it?

This issue is possible in one scenario where you never initiated a chat with the account you are adding to the group.

I believe that's expected behaviour

Interesting, I think I would have expected all of the avatar colors to appear random and not all in green. Thoughts on that?

Interesting, I think I would have expected all of the avatar colors to appear random and not all in green. Thoughts on that?

Yeah we could do that.

Proposal:
Nothing prevents us from showing avatar of the correct color even for users you never initiated a chat with. For the Details page we generate avatar colors on this line, but for the New group page, we use defaultAvatarForUserToInvite, intentionally not passing login to ReportUtils.getDefaultAvatar.
All we need to do is change this line
https://github.com/Expensify/App/blob/b31f0eb107e1068058b8925e81aa95b98959f54a/src/libs/OptionsListUtils.js#L594
+   userToInvite.icons = [ReportUtils.getDefaultAvatar(login)];

Before:
https://user-images.githubusercontent.com/9059945/179571424-2b785694-4ccb-4cc7-aa74-1183f1e763cf.mp4
After:
https://user-images.githubusercontent.com/9059945/179571532-4bb9a755-9f64-41f2-a4d8-d166d903414a.mp4

@puneetlath
Need to ensure this case alone,
Consider users A & B both have set a profile picture. Also, User A & User B never had a one-to-one chat.
Now when User A tries to create a group with User B we would show a random colored avatar only in suggestion.
If are expecting just to randomize the avatar color then we are good to go with @eVoloshchak's proposal else we need to look for a different proposal.

I think we can keep it simple and just randomize the color per the proposal above.

Ah sorry, @puneetlath I missed your ping about testing - https://github.com/Expensify/App/issues/9876#issuecomment-1184837886. It looks like we're moving forward with a fix!
The original job posting is closed so I can't hire @Santhosh-Sellavel as the C+.
I created a duplicate Upwork posting and hired you as the C+ @Santhosh-Sellavel
Internal posting: https://www.upwork.com/ab/applicants/1549878109834797056/job-details
External posting: https://www.upwork.com/jobs/~01fe88959409bc009c

QA is ongoing for the PR - https://github.com/Expensify/App/pull/9963#issuecomment-1195899754

Is https://github.com/Expensify/App/issues/10220 considered a regression, should I submit the fix for it?

@puneetlath
Looks mostly related to root of this issue.
I think this is not a treated as regression. Also issue not introduced by fix provided here.
I'll looking forward to hear your thoughts too on this thanks!

@puneetlath bump

Sorry! I was off last week. Thanks for the bumps.
I agree that it's not a regression. That's how we agreed to implement it. So I think it's fine to just go ahead and handle that on the separate issue.

Looks like we're good to pay this!
Paid @eVoloshchak through this job - https://www.upwork.com/jobs/~01b994676f0c2a7858
Paid @Santhosh-Sellavel as C+ through this job - https://www.upwork.com/jobs/~01fe88959409bc009c
Closed the jobs in Upwork and closing this GH


1.20.6?

As a modder i know that rendering is annoying, but is there any plan for 1.20.6 support? this mod is extremely useful for me and i would at least like to know if it's planned or if not, when it will next update.

Def planned, currently not playing a lot so the update slipped my radar.

https://modrinth.com/mod/blockmeter/version/1.13.0 Usually it's not too bad to do for Blockmeter


feat!: drop Python 3.6 support

Python 3.6 reached end of life in December 2021.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

86 of 89 (96.63%)  changed or added relevant lines in 10 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.02%) to 96.09%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/vallenae/_pyinstaller/init.py
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/vallenae/_pyinstaller/init.py
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>7:
0.02%

Covered Lines:
982

Relevant Lines:
1028

💛  - Coveralls


Raster Scan widget

Design and implement a widget that can take a raster scan (moving two motors to create a grid) and display it as a 3-D plot (x=mtr1, y=mtr2, z=det1), an image, etc...

It would be best if the widget could guess which motors are supposed to be x and y and perhaps ophyd can provide the two motors by writing attributes into the start_run_event plotx, ploty, plotz.
The z value should be selectable from any data key
The display type (3-D plot, imshow, etc..) should be selectable on the fly

See https://github.com/NSLS-II-SRX/controlsui/tree/mk1 for a relevant SRX prototype


Unable to use openapi on imported ZOD type

Hey,
Trying to use this with my package Appwrite Utils and I can't get it to work properly with my schema. I added the openapi definitions to my AuthUserSchema that I export. When importing and trying to use it in my ZOD types, I get an error that says
Property 'openapi' does not exist on type 'ZodObject<{ $id: ZodString; $createdAt: ZodOptional<ZodString>; $updatedAt: ZodOptional<ZodString>; name: ZodOptional<ZodNullable<ZodString>>; email: ZodOptional<...>; phone: ZodOptional<...>; prefs: ZodDefault<...>; labels: ZodDefault<...>; }, "strip", ZodTypeAny, { ...; }, { ...; }>'.ts(2339)

(it is active in this project like it's at an entrypoint)
Is there a better way to extend the types then registering it like that? Can we just import a { z } from "@asteasolutions/zod-to-openapi" or something? Or maybe the verbage could be better, cause you need to technically extend it if you have your schemas in separate files in every file

@ZachHandley if I understand correctly - you can just create a file of your own that imports zod, wraps it in extendZodWithOpenApi and exports that instance so that you can use it wherever you need it. That way you would always have a modified instance of zod.

ugh it's like I said the solution out loud and didn't pay attention lol, thank you!!!


Need a way to -map '0:a' -map '1:a' -map '[output]'

-map '0:a'
-map '1:a'
-map '[output]'

I need it to NOT wrap it with 0:a and 1:a with [ ].
It throws an error.
Is there a way to -map without using the argument of complexFilter?

Also, I should add your documentaiton says that ffmpeg will automatically save all unused inputs to the output.  But this isn't true for multiple input complex filtergraph.  Only the first audio stream is used so the other one is trashed unless I'm able to specify 0:a and 1:a without square brackets.
This will force them to output.
I don't want to run them through the filtergraph in any way.

Essentially, this is the command that is problematic to achieve with the abstraction fluent-ffmpeg as I'm seeing it currently... unless I just don't know about a particular output map function I can use at the end to map things manually.  I'm sure you've done something I just can't figure out where to put them.
avconv \
  -i "./test/archive-6/ab573a28-f2c2-4b0a-a54b-3b8367a484c5.mp4" \
  -i "./test/archive-6/4f8654d5-2851-4158-bbad-a0638f612d65.mp4" \
  -filter_complex "\
    [0:v] scale=iw/2:ih/2, pad=2*iw:ih [left];\
    [1:v] scale=iw/2:ih/2 [right];\
    [left][right] overlay=main_w/2:0 [out]\
  " \
  -map [out] \
  -map 0:a \
  -map 1:a \
  ./output.mp4

You can use .outputOptions(['-map 0:a', '-map 1:a', '-map [out]']).

Closing this because it has not had any activity for months. Feel free to reopen if you still have issues/questions :)

I ran into this issue as well.
.map("0:a") without conversion to -map [0:a] would be very helpful