Single tile for Property Control

Hello, I would like to change between values of property within single tile (expected is Light tile, not Switch tile) instead of having multiple tiles with one value. Maybe it is already possible but my programming skills are none.
I have mijia.vacuum.v2 and if I use Property Control for “vacuum:fan-level”property it shows as many tiles as possible Values for that property. In this case 4 values, therefore Homebridge creates 4 new tiles for each option, instead I would like to use 1 tile showed as Light, maybe somewhere I can manually specify range of values from 0-4. This way maybe I could control suction power from single tile. This way I can create separated tile for Water releasing when mopping.
Can we use something like Action Button and we would specify range of values? I have tried to use this property for Action Button, Property Control and Property monitor but none of them result in expected state. I can reach expected result with different plugin but I would like to use this one, because it is more stable. I have red this page and it was not useful for my case https://github.com/merdok/homebridge-miot/blob/main/docs/robotcleaner.md

The problem here is that, how do you display 4 values on a switch which only accepts 2 values(on/off)? Even if would let you to specify that you want to set mode 1 to the ON state and mode 2 to OFF state, then what would the switch display in case when mode 3 is set on the vacuum?
This is unfortunately not an easy to solve problem because HomeKit can only have switches with 2 states.
But there is a way to reduce the number of switches, simply disable modeControl and create yourself switches using the propertyControl. There you can create switches which when turned on will set a specified value, hence you could only add those switches which you really need. Will that work for you?

You are right, I assume it cannot be Switch tile but Light or Fan tile. This way there is slider on a tile which can output number and this number changes the property value for "vacuum:fan-level". But it needs to be somehow handled properly because this specific property does not support values from 0-100 but only from 0-4 included (0 means fan is off and 4 is fan is on maximum). In video is expected result how it behaves in the other plugin, we can see that the Fan slider is able to do steps of 25, the number is visible on HomeBridge tiles on right side of video.
https://user-images.githubusercontent.com/7964597/189893267-05ee6df8-ebc5-433f-9711-406d5c70bb07.mov

You can specify a value in propertyControl which will then generate you a single switch for the specified value. When you not specify a value then it will generate all switches. Please have a look at the example in the README.
As for the slider, it is fine for speed based controls and it is already like that, that the plugin will emulate fan levels with a slider.
But that does not make sense for modes since then you do not know what mode is behind the 50% value and what is behind 75%.

yep exactly how you said, for modes generally it does not make sense to be controlled with slider but it makes sense for modes which control speed/power in levels (as in my case).

Fan levels are already emulated as a slider if present.
For modes you simply need to use the the propertyControl property and configure it yourself as you wish.

Thats correct, not using all of the values per single vacuuming but definitely from time to time I need all of the values. Having 1 or 2 Switch tiles for most used values are OK solution but not satisfying enough because it is not ready for all of the values. Also having dedicated Switch tiles for all values for Fan on vacuum would mean 4 new tiles, and for Water it would mean 3 tiles. It means users Accessory list bloats bigger for 7 new tiles while there could be only 2 new tiles, thats why I started this issue.
But no worry, I will figure out smtn.
Thanks for clarification. You can close this issue.

The biggest issue is here that homekit does not support vacuum accessories or many configuration possibilities, hence we have to do tricks to make all the functionally to work...


CRLP: Filter Rules with Dates are Including Prior Opportunities

Critical Changes
Changes
Issues Closed
Fixes #3681
New Metadata
Deleted Metadata

**lurch: attach W-028940

Tracking W-028940

@force2b - It looks like you have a test failure.

Oh. That's new. It worked earlier today.

Thanks @jesslopez-sf and @jjbennett.


In Referral page, click Leaderboard 'View More' button, if list too long, will not display close button

Description
In Referral page, click Leaderboard 'View More' button, if list too long, will not display close button.
Steps To Reproduce

Enter Referral page
Click Leaderboard 'View More' button

Current Behavior

if list too long, will not display close button

Expected Behavior

View More drawer should fixed height

Environment

Platform: PC
Node: v18.18.0
Browser: Chrome 126.0.6478.56

Release in #735


3.x branch is broken

I forked 3.x to build 3.5.2-stable godot and it looks like it got broken with Scons: https://github.com/o01eg/godot-builds/actions/runs/4457048961
  scons: Reading SConscript files ...
  TypeError: sequence index must be integer, not 'slice':
    File "/home/runner/work/godot-builds/godot-builds/godot/SConstruct", line 449:
      detect.configure(env)
    File "/home/runner/work/godot-builds/godot-builds/godot/./platform/x11/detect.py", line 369:
      env.ParseConfig("pkg-config libpulse --cflags")  # Only cflags, we dlopen the library.
    File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/SCons/Environment.py", line 1773:
      return function(self, self.backtick(command), unique)
    File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/SCons/Environment.py", line 1767:
      return env.MergeFlags(cmd, unique)
    File "/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/SCons/Environment.py", line 1095:
      for v in orig[::-1]:

I suppose it could be fixed with https://github.com/godotengine/godot/commit/62b6529fed02d1076c6eb73e9c2c6d48e2349a49

I should be able to pin the version of scons down.

Okay, so the build worked, yes, but it didnt make a new release properly.

Okay, I think ive got it to work, but im going to build

3.5 (it got overwritten by 3.5.2)
3.5.1 (i havent built it yet)

Looks like it somehow worked for me, not yet tried resulting image: https://github.com/o01eg/godot-builds/actions/runs/4458882825

All the builds succeeded, and are tagged properly.


Bump to Spark 2.1.0

Everything else was left the same.

@dylanmei I don't seem to have merge abilities. I'm sorry to bother you, but perhaps you can merge and build the new image?

@transistorize I am no longer a part of the org! @daplho @justinclayton can help.

👍

merged


WebUI shows Weather "Receiving" even on 1090 only

Small nit.
Single Dongle Plain Vanilla Stratux running v0.5b5. The weather page shows me "Receiving" weather (Green tag) even when on only 1090. This persists after a reboot. Of course, Watching and Reports are zero.

The "Receiving" indicator is showing (correctly) that the web browser is receiving weather updates from the device - maybe the meaning of "Receiving" could be clearer or should be reevaluated.

Perhaps eliminated then? I thought it was an Activity Checker, indicating that weather products were coming thru. Since we already have a "Connected" marker in the status page, what new info does "Receiving" indicate?

Maybe "Weather Connected / Not Receiving", "Weather Connected / Receiving"?

Need: three state display. Connected, Disconnected, Receiving. Or clarify the current "Receiving". @bradanlane, let's go with what you think is best.

I'll normalize the messages to "connected"/"disconnected" and will verify it is logical an intuitive in all cases.

https://github.com/cyoung/stratux/commit/bbbcd3bbe16f67febb9955ff7d92908b82d2fa24


Avoid erroring if input tree is null/undefined.

Prior to this change, null/undefined was returned if the debug flag was not set, but if the debug flag matched we would error.
It is absolutely normal for build pipelines to speculatively deal with null / undefined input trees, and as such we should guarantee that we will not error with or without a match.

/cc @lynchbomb

AppVeyor is generally failing still (need to address it 😢 ).

looks good. TY.


Merge Florian modif implementing the link with Gepetto-viewer.

make check returns assert: reject the pull-request.


Installation guide needs to be updated.

For ex.
May 16, 2014 was end of life for Ubuntu 12.04

Yup, sounds like Ubuntu is switching from upstart to systemd, so the docs will have to be reworked some.  I'm debating whether to move the install guides to the wiki to encourage user contribution/updates.

I started on this, but will need to complete #47 first

Due to limitations with systemd, I will need to document:

[ ] setcap and
[ ] /var/log/inbucket.log creation to the guide.

Migrated inbucket.org to it's own repository: github.com/jhillyerd/inbucket.org and removed the gh-pages branch from inbucket.

I see in 61c6e7c you may have done work to make the project set up work better with ubuntu 16.04, is there any guidance on the new set up steps for ubuntu 16.04?

I'm planning to branch the inbucket site and work on an updated set of install instructions - last time I tried I ended up going down a rabbit hole with the Linux capabilities because my dev environment lives in a container...
I think these steps will work:

Follow the outdated guide through step 5.
Manually perform the pre-start steps (logfile creation, setcap- they only need to happen once): https://github.com/jhillyerd/inbucket/blob/master/etc/ubuntu-12/inbucket-upstart.conf#L20
Copy the systemd unit file from develop to  /lib/systemd/system/
Install & customize inbucket.conf file (step 7 of outdated guide)
systemctl enable inbucket.service
systemctl start inbucket.service
cat /var/log/inbucket.log

Let me know if it turns out I missed anything, and I will incorporate it into the updated guide.

@wmantly I realized GitHub might not have notified you of my previous comment since you didn't file the original bug.  Apologies if it emailed you the first time.

Fixed in https://github.com/jhillyerd/inbucket.org - closing


Example of matting image by using Modnet

This example shows how to use ort to matt images by using ModNet

Thank you!


Is it possible to add FloatingPanel above some view?

I have a use case where I need to show FloatingPanel above some view.
I have a container viewcontroller which contains view controller with FloatingPanel and when FloatingPanel is scroll up, I want it to be above the container viewcontroller's navigation bar. Is this possible.

You can manage a floating panel root view in your view hierarchy on v1.3.0.  Please see the release note. https://github.com/SCENEE/FloatingPanel/releases/tag/v1.3.0
Thanks,


Update schema to include strings for unions and other minor fixes

This makes it so that sdk.schema properly validates again and was generated by updated bf dialog:merge.

:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.Luis.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.AI.QnA.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.ApplicationInsights.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Azure.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Dialogs.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Integration.ApplicationInsights.Core.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Integration.AspNet.Core.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.TemplateManager.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Builder.Testing.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Configuration.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Connector.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Schema.dll compared against version 4.6.3
:heavy_check_mark: No Binary Compatibility issues for Microsoft.Bot.Streaming.dll compared against version 4.6.3

Pull Request Test Coverage Report for Build 103701

0 of 0   changed or added relevant lines in 0 files are covered.
1282 unchanged lines in 160 files lost coverage.
Overall coverage decreased (-1.5%) to 78.039%

Files with Coverage Reduction
New Missed Lines
%

/libraries/Adapters/Microsoft.Bot.Builder.Adapters.Facebook/FacebookAdapterOptions.cs
1
86.67%

/libraries/integration/Microsoft.Bot.Builder.Integration.ApplicationInsights.Core/ApplicationBuilderExtensions.cs
1
71.43%

/libraries/Microsoft.Bot.Builder.AI.LUIS/LuisApplication.cs
1
96.36%

/libraries/Microsoft.Bot.Builder.AI.LUIS/V3/LuisApplication.cs
1
96.43%

/libraries/Microsoft.Bot.Builder.AI.LUIS/V3/LuisUtil.cs
1
96.35%

/libraries/Microsoft.Bot.Builder/BotStateSet.cs
1
85.0%

/libraries/Microsoft.Bot.Builder.Dialogs/Debugging/DebugSupport.cs
1
75.0%

/libraries/Microsoft.Bot.Builder.Dialogs/Debugging/SourceRange.cs
1
46.15%

/libraries/Microsoft.Bot.Builder.Dialogs.Declarative/ComponentRegistration.cs
1
71.43%

/libraries/Microsoft.Bot.Builder.Dialogs.Declarative/Resources/ResourceExplorer.cs
1
96.3%

Totals

Change from base Build 103515:
-1.5%

Covered Lines:
21179

Relevant Lines:
27139

💛  - Coveralls


Update OpenJDK 17, 18 & 19 Exclude Lists for OpenJ9

exeCallerAccessTest/CallerAccessTest is disabled on OSX across JDK17, 18 and 19.
Recently, a JDK19 exclude list was created using the JDK18 exclude list. The below
JDK18 changes are being applied to JDK19:

SpliteratorTraversingAndSplittingTest is fixed by eclipse-openj9/openj9#14430.
Related: https://github.com/adoptium/aqa-tests/pull/3331

IllegalArgumentsTest is fixed by eclipse-openj9/openj9#14419.
Related: https://github.com/adoptium/aqa-tests/pull/3322

Signed-off-by: Babneet Singh<EMAIL_ADDRESS>

@llxia @renfeiw for review.


Error message "The API deployment for this resource does not exist" when using Azure OpenAI Service

The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.

Actually, I have deployed the OpenAI model and service already.

Perhaps this parameter was omitted.
reference -> https://github.com/sashabaranov/go-openai/blob/master/config.go#L60

I was facing the same error, I fixed it by setting the following environment var for azure
DEFAULT_MODEL | gpt-3.5-turbo | The default model to use on new conversations, for Azure use gpt-35-turbo

Azure should use gpt-35-turbo

pr https://github.com/mckaywrigley/chatbot-ui/pull/499

no, this is deployment id is from here: https://learn.microsoft.com/zh-cn/azure/cognitive-services/openai/reference#completions which input by yourself

I just test with "gpt35", and no more error message. lol

You're right, I have renamed the deployment name same as the model name lol...

the /api/models api returns this response
[{"id":"gpt35","name":"GPT-3.5"}]

but seems the response's id field isn't used by index.ts#L34 correctly.
/openai/deployments/gpt35/chat/completions?api-version= will works.

here's my demo, you can check it. https://azure.chat.jony4.vip

@jony4 I think you may want to shut that down, at the moment any one can make calls to Azure OpenAI using your keys (so you will get billed for it).

Removing the period from 3.5 fixed it on my end too. Thanks random github issue!


[RFE] Support for an explicit and reasonable way for custom whereabouts.kubeconfig path (e.g. k3s)

Is your feature request related to a problem? Please describe.
When whereabouts.kubeconfig is not located in the default CNI folder /etc/cni/net.d/whereabouts.d in host (k3s e.g. /var/lib/rancher/k3s/agent/etc/cni/net.d/whereabouts.d/whereabouts.kubeconfig). There is no explicit and reasonable way to configure kubeconfig value in whereabouts.conf due to mixing up the container internal path and the host file path as a variable.
Below is the snapshot of code in install-cni.sh.
With changing to customize path with env variable CNI_CONF_DIR, I can make kubeconfig value ={custom_path}/whereabouts.d/whereabouts.kubeconfig in whereabouts.kubeconfig (WHEREABOUTS_KUBECONFIG_LITERAL), but no whereabouts.kubeconfig and whereabouts.conf will be in host eventually since changing on CNI_CONF_DIR also affect internal container path
CNI_CONF_DIR=${CNI_CONF_DIR:-"/host/etc/cni/net.d"}
WHEREABOUTS_RECONCILER_CRON=${WHEREABOUTS_RECONCILER_CRON:-30 4 * * *}

# Make a whereabouts.d directory (for our kubeconfig)

mkdir -p $CNI_CONF_DIR/whereabouts.d
WHEREABOUTS_KUBECONFIG=$CNI_CONF_DIR/whereabouts.d/whereabouts.kubeconfig
WHEREABOUTS_FLATFILE=$CNI_CONF_DIR/whereabouts.d/whereabouts.conf # Yuki~ Nikhil's note: imo we should remove "flatfile" from whereabouts vocabulary and call this "WHEREABOUTS_CONF_FILE" instead. Flatfile may be the format but it's confusing naming.
WHEREABOUTS_KUBECONFIG_LITERAL=$(echo "$WHEREABOUTS_KUBECONFIG" | sed -e s'|/host||')

.....

  touch $WHEREABOUTS_FLATFILE
  chmod ${KUBECONFIG_MODE:-600} $WHEREABOUTS_FLATFILE
  cat > $WHEREABOUTS_FLATFILE <<EOF
{
  "datastore": "kubernetes",
  "kubernetes": {
    "kubeconfig": "${WHEREABOUTS_KUBECONFIG_LITERAL}"
  },
  "reconciler_cron_expression": "${WHEREABOUTS_RECONCILER_CRON}"
}

The workaround I used below is to make container internal CNI folder path same as host folder path by charging the volumeMount path cni-net-dir and adding env variable CNI_CONF_DIR with same path as below, but it is not a good practice for users to change volumeMount path. The good practice should have the fixed internal path /host/etc/cni/net.d, users map their volume to the cni-net-dir and define custom settings in env variable.
      env:
        - name: CNI_CONF_DIR
          value: "/var/lib/rancher/k3s/agent/etc/cni/net.d"

        volumeMounts:
        - name: cni-net-dir
          # mountPath: /host/etc/cni/net.d
          mountPath: /var/lib/rancher/k3s/agent/etc/cni/net.d
        - name: cron-scheduler-configmap
          mountPath: /cron-schedule

    volumes:
        - name: cnibin
          hostPath:
            #path: /opt/cni/bin
            path: /var/lib/rancher/k3s/data/current/bin
        - name: cni-net-dir
          hostPath:
            #path: /etc/cni/net.d
            path: /var/lib/rancher/k3s/agent/etc/cni/net.d

Another workaround is to create a link file from /etc/cni/net.d/whereabouts.d/whereabouts.kubeconfig to the custom path. But it seems not a good idea to apply additional changes in host.
Describe the solution you'd like
In install-cni.sh, change variable from WHEREABOUTS_KUBECONFIG_LITERAL to the existing env variable WHEREABOUTS_KUBECONFIG_FILE_HOST
  touch $WHEREABOUTS_FLATFILE
  chmod ${KUBECONFIG_MODE:-600} $WHEREABOUTS_FLATFILE
  cat > $WHEREABOUTS_FLATFILE <<EOF
{
  "datastore": "kubernetes",
  "kubernetes": {
    "kubeconfig": "${WHEREABOUTS_KUBECONFIG_FILE_HOST}"
  },
  "reconciler_cron_expression": "${WHEREABOUTS_RECONCILER_CRON}"
}
EOF

I submitted a request for that in case it is useful. https://github.com/k8snetworkplumbingwg/whereabouts/pull/466
In this way, if I need to use the custom path, the only changes in daemonset-install.yaml are in volumes and env. It aligns with the general practice of the deployment file. It will not affect people using the default path as well.
      env:
        - name: WHEREABOUTS_KUBECONFIG_FILE_HOST
          value: "/var/lib/rancher/k3s/agent/etc/cni/net.d/whereabouts.d/whereabouts.kubeconfig"

      volumes:
        - name: cnibin
          hostPath:
            #path: /opt/cni/bin
            path: /var/lib/rancher/k3s/data/current/bin
        - name: cni-net-dir
          hostPath:
            #path: /etc/cni/net.d
            path: /var/lib/rancher/k3s/agent/etc/cni/net.d

Describe alternatives you've considered
Maybe mark the workaround in doc / README.md if this PR doesn't accept.
Additional context

I recently updated the K3s docs and now there is a guide on how to deploy Multus + Whereabouts setting the correct path. Please have a look: https://docs.k3s.io/networking/multus-ipams. It'd be great if you could give it a try!

@manuelbuil

I recently updated the K3s docs and now there is a guide on how to deploy Multus + Whereabouts setting the correct path. Please have a look: https://docs.k3s.io/networking/multus-ipams. It'd be great if you could give it a try!

I've tested your guide on how to deploy Multus + Whereabouts. However this doesn't work for me out of the box.
Modifications I needed to make it work:

Create symlink for /etc/cni/net.d/whereabouts.d/ to /var/lib/rancher/k3s/agent/etc/cni/net.d/whereabouts.d/

I think this makes sense, given this line in config.go:
confdirs := []string{"/etc/kubernetes/cni/net.d/whereabouts.d/whereabouts.conf", "/etc/cni/net.d/whereabouts.d/whereabouts.conf", "/host/etc/cni/net.d/whereabouts.d/whereabouts.conf"}

And to my understanding, this is relative to the node/host, not from any pod.

@manuelbuil Sorry for missing your message and thanks for the effort to k3s community. I just run your helm in a separate k3s cluster, since I don't want to touch my existing environment that works well with workaround. Unfortunately, the result as @koendelaat mentioned.
Back to my initial intention, I am not asking for a workable solution on K3S, but I am raising a request to enhance the configurable CNI path.  Correct me if I am wrong, the path looks configurable with 'volumes' section in daemonset-install.yaml and the env variable CNI_CONF_DIR in install-cni.sh  but it seems not the case now. It looks misleading and ispent me some time on figuring out the issue. If I am just overthinking and the project actually has no plan to support variable CNI_CONF_DIR, it is fine to remain unchanged and volunteers like @manuelbuil will build a wrapper solution specific for certain software.

I'm looking for a solution for K3s, so created the issue there: https://github.com/k3s-io/k3s/issues/10545


is it OK to run "nixos-rebuild switch" during a dd disk dump?

I have a disk dump running and curious if I should wait for it to complete before running nixos-rebuild switch or if it will remain unaffected and is OK to do so.  The dd is from one drive to another, neither is mounted or being used by nixos.

A Nix rebuild shouldn't affect anything currently running, since the only stateful thing it does is flip around a few symlinks. That said, to stay on the safe side, you could run nixos-rebuild boot while it's building to download and build everything, and then run nixos-rebuild switch later to actually apply the changes.

Awesome, thank you for letting me know!  My dd is on a terabyte drive so I decided not to wait, and everything worked out.


fix setthermmode url

As per the documentation:
https://dev.netatmo.com/apidocumentation/energy#setthermmode
the url to set thermal mode of the thermostat is setthermmode.
Tested with a real device.

Thank you!

Release done https://github.com/Riges/Netatmo/releases/tag/1.4.1 and push on nuget.org


Add accid to neume components

Hi, we added both accid attribute and element to neume components. We have built the schema locally, and the validation succeeded. Please have a look at it. Thank you!

Hi, thanks for your contribution! However, I think more review is needed for this change. There are several technical problems that I noted above. More importantly, I think it would be useful to have this looked over by the neume notation SIG prior to being submitted.
If this is a bug in the schema, please open an issue first describing the problem.
I am going to propose closing this PR, but this does not mean the change is rejected — it just means the current form and method of submitting it does not adequately describe the change, why it is needed, and whether others in the community agree it should be changed.

Hi @ahankinson, thanks for your reply. We need accidentals in neume notation because the manuscript Salzinnes , which we are currently processing on Rodan, has flats. So we need to add accidental to neume component to make the MEI file valid.

OK. I still propose closing this and creating an issue for further discussion. There are significant changes that need to be made to this PR anyway, so when we finally land on a solution please feel free to open a new PR.
If you agree, please close it and we can continue the discussion in your issue. If not, I would like to wait to see what another reviewer thinks.


rspmm seems to behave differently from the spmm in TorchDrug

Hi, thank you for your codes! However, I find that the rspmm seems to behave differently from the spmm in TorchDrug.
How I found this:
I tried to load the checkpoint trained by the official repo to the model in this repo and found that the performance was extremely low. I compared the results in each layer and found that in the function message_and_aggregate of the GeneralizedRelationalConv, the result produced by generalized_rspmm is different from the output produced by functional.generalized_rspmm in the official repo, although I have checked that the input is the same.
How to reproduce
In the function message_and_aggregate of the GeneralizedRelationalConv, before the line if self.message_func in self.message2mul:, add:
torch_drug_edge_index = torch.cat([edge_index, edge_type.unsqueeze(0)], dim=0)
torch_drug_edge_weight = edge_weight
adjacency = sparse_coo_tensor(torch_drug_edge_index, torch_drug_edge_weight, size=[num_node, num_node, self.num_relation])
# the adjacency above is the graph.adjacency in the official NBFNet repo, which is produced by https://github.com/DeepGraphLearning/torchdrug/blob/6066fbd82360abb5f270cba1eca560af01b8cc90/torchdrug/data/graph.py#L801
adjacency = adjacency.transpose(0, 1)

and replace the generalized_rspmm below with functional.generalized_rspmm from Torchdrug， just as official repo did (official repo use relation_input, with is the relation in this repo).
also, add necessary import to layers.py.
from torchdrug.layers import functional
from torchdrug.utils import sparse_coo_tensor

Well, I seem to figure this out. If I omit the line adjacency = adjacency.transpose(0, 1) in the code snippet, I can get the same output as the codes in this repo.
Why did this repo not adopt this transpose to the rspmm version? Is this a bug?

Sorry for late response. Thanks for figuring this out! I think this is not a bug, but a compatibility problem. The expressiveness between the original and transposed adjacency matrix is equivalent for propagation, since we always add flipped triplets in the fact graph.


Release notes

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/TOC.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/CurrentInsider.md
:white_check_mark:Succeeded

windows-iotcore/release-notes/Insider/17672.md
:white_check_mark:Succeeded

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


Fixed missing bottom padding in footer

CR @matallo please

oop, it was on purpose, check public pages and fix

hey, that breaks public pages footer columns in mobile

LGTM

Thank you for your feedback @matallo :) Please the next time you modify the styles take into account other views that could be affected.

✨


There is an error in the Container Control example

Hello, there is an error in the Container Control example, the width of the Menu and Close controls cannot be Parent.Width.

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

ID: 73233c3d-8bfe-eadc-5b8a-264742ec7045
Version Independent ID: a34dc40d-9d6e-33b2-7e61-0c46a71d3608
Content: Create responsive layouts in canvas apps - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/create-responsive-layout.md
Service: powerapps
Sub-service: canvas-maker
GitHub Login: @emcoope-msft
Microsoft Alias: emcoope

Thanks for your comment, @sauslash. This issue has been assigned to the doc author for review.

Sorry for that, the values are correct!


Add color guessing game in js

Is your feature request related to a problem? Please describe.
No it's a new feature.
Describe the solution you'd like
I would like to add this game.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Please assign this to me under DCP

@kanishkaa24  I have added this game in another repository Can I add it here as well ?


Git Assignment

Had some difficulty pushing because I pushed multiple times. I think I finally got it though.

Ok


Investigate making pandora to compile on Mac

would make DrPrg accessible to more people

Looking at https://github.com/google/googletest/issues/2224 and the PR it links to, I think upgrading out google test version from v1.10 to something like from v1.13 onwards should fix this?
https://github.com/rmcolq/pandora/blob/32911655d1ccf8b8843f31fdad1f1da48a331de2/cmake/Hunter/config.cmake#L12


Add case insensitive order by for list views

Prior to this PR being merged, the orderBy for columns is case sensitive. That means my list places lowercased-artist mewithoutyou after the entire list of Title-cased artists.

After the change:

Heavy caveat: the hacked functions that I stole from Vue core are not quite as good as the core versions, but I couldn't figure out how to import core Vue functions. Maybe it's possible?

Will certainly give this a test later today. All in all I'm fine with this, just wanted to see if there's any performance impact.

Flawless :+1:

Woop! :)


Can SURVIVOR Merge PBSV results？

Hi Fritz,
I wonder whether SURVIVOR can merge pbsv (version 2) results? Or is it necessary to adjust the format of Pbsv 2 results to feed SURVIVOR.
Thanks

Hi,
If pbsv is producing a vcf file it should work or is there something special you have in mind?
Thanks
Fritz

Yes, below is the VCF format of of PBSV results. I am not sure whether SURVIVOR can work normally bescause there is a little difference form the results of SNIFFLES and others.

##fileformat=VCFv4.2
##fileDate=2019-04-14T14:25:55.665Z
##source=pbsv 2.2.0 (commit v2.2.0)
##PG="pbsv call -j 5 -m 30 --min-cnv-length 1K --max-ins-length 10K --max-dup-length 100K test.fa test.svsig.gz test.vcf"
##INFO=<ID=SVTYPE,Number=1,Type=String,Description="Type of structural variant">
##INFO=<ID=END,Number=1,Type=Integer,Description="End position of the structural variant described in this record">
##INFO=<ID=SVLEN,Number=.,Type=Integer,Description="Difference in length between REF and ALT alleles">
##INFO=<ID=SVANN,Number=.,Type=String,Description="Repeat annotation of structural variant">
##INFO=<ID=CIPOS,Number=2,Type=Integer,Description="Confidence interval around POS for imprecise variants">
##INFO=<ID=MATEID,Number=.,Type=String,Description="ID of mate breakends">
##INFO=<ID=MATEDIST,Number=1,Type=Integer,Description="Distance to the mate breakend for mates on the same contig">
##INFO=<ID=IMPRECISE,Number=0,Type=Flag,Description="Imprecise structural variation">
##INFO=<ID=SHADOWED,Number=0,Type=Flag,Description="CNV overlaps with or is encapsulated by deletion">
##ALT=<ID=INV,Description="Inversion">
##ALT=<ID=DUP,Description="Duplication">
##ALT=<ID=CNV,Description="Copy number variable region">
##FILTER=<ID=Decoy,Description="Variant involves a decoy sequence">
##FILTER=<ID=NearReferenceGap,Description="Variant is near (< 1000 bp) from a gap (run of >= 50 Ns) in the reference assembly">
##FILTER=<ID=NearContigEnd,Description="Variant is near (< 1000 bp) from the end of a contig">
##FILTER=<ID=InsufficientStrandEvidence,Description="Variant has insufficient number of reads per strand (< 1).">
##FILTER=<ID=NotFullySpanned,Description="Duplication variant does not have any fully spanning reads.">
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">
##FORMAT=<ID=AD,Number=R,Type=Integer,Description="Read depth per allele">
##FORMAT=<ID=DP,Number=1,Type=Integer,Description="Read depth at this position for this sample">
##FORMAT=<ID=SAC,Number=.,Type=Integer,Description="Number of reads on the forward and reverse strand supporting each allele including reference">
##FORMAT=<ID=CN,Number=1,Type=Integer,Description="Copy number genotype for imprecise events">
##reference=file://test.fa
##contig=<ID=chr1,length=xxxxxx>
#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT	test
chr1	18177	pbsv.DEL.0		T	.	PASS	SVTYPE=DEL;END=18520;SVLEN=-343	GT:AD:DP:SAC	0/1:6,10:16:2,4,5,5
chr1	22700	pbsv.BND.chr1:22700-chr1:146853212	G	G]chr1:146853212]	.	PASS	SVTYPE=BND;CIPOS=-6,5;MATEID=pbsv.BND.chr1:146853212-chr1:22700;MATEDIST=146830512	GT:AD:DP	1/1:0,5:5
chr1	27767	pbsv.INS.73	T		.	PASS	SVTYPE=INS;END=27767;SVLEN=43	GT:AD:DP:SAC	0/1:16,42:58:10,6,21,21
chr1	184242	pbsv.CNV.304053	C		.	PASS	SVTYPE=cnv;END=187337;SVLEN=3095	CN	8
chr1	215917	pbsv.SPLIT.DUP.98	T		.	PASS	SVTYPE=DUP;END=215935;SVLEN=18	GT:AD:DP:SAC	0/1:27,10:37:6,21,6,4

From a quick look this should be fine. Pacbio recently used survivor two for our ccs read manuscript.
Thanks
Fritz

SURVIVOR does not appear to be parsing the read depth for pbsv. VCFs are attached.
$ SURVIVOR --version
Program: SURVIVOR (Tools for Structural Variations in the VCF format)
Version: 1.0.7
$ SURVIVOR merge onerec_files.txt  0 1 0 0 0 0 one_rec_survivor.vcf
The original PBSV vcf:
pbsv.INS.4	GT:AD:DP:SAC	0/1:7,8:15:5,2,5,3
SURVIVOR:
GT:PSV:LN:DR:ST:QV:TY:ID:RAL:AAL:CO	0/1:NA:6824:0,0:+-:.:INS:pbsv.INS.4:C:CAAAAG...
one_rec_survivor.vcf.txt
onerec_files.txt
pbsv_onerec.vcf.txt
snif_onerec.vcf.txt

Thanks. Yes that can be. I did so far not extend the genotype field parser much.. I will put that in for the next release.
Thanks
Fritz

Thanks, do you have a release date pending?

Or can I modify the pbsv vcfs prior to SURVIVOR as a quick fix to get the read depth?

Sorry currently slammed with all the craziness.
I can open up the parser and push to the github.
However, pbsv is a bit strange:
GT:AD:DP:SAC    0/1:7,8:15:5,2,5,3
I dont know what to parse here. It does not say 7 is the reference, 8 is the alternative
It also does not say that for SAC. And it does not have that information in the INFO field.
Programs often report DR:DV in the genotype filed to indicate the # reads supporting the reference (DR) or the variant (DV). SURVIVOR is currently quite specialized for a few callers to parse that information but I can open that up.
Thanks
Fritz

Here is a github issue asking about AD. PBSV says:
"We follow VCF standard: https://gatkforums.broadinstitute.org/gatk/discussion/1268/what-is-a-vcf-and-how-should-i-interpret-it"
This doc says AD = [ref, alt]:
1   899282  rs28548431  C   T   [CLIPPED] GT:AD:DP:GQ:PL    0/1:1,3:4:26:103,0,26
At this site, ... there were only a total of 4 reads at this site (DP =4), 1 of which was REF (=had the reference base) and 3 of which were ALT (=had the alternate base) (indicated by AD=1,3).

oh great... there are so many standards for VCF.... between us you can define whatever you want...
I have just pushed code according to this. Please test it out and let me know if that works.
Cheers
Fritz

Unfortunately this did not work. Please let me know how I can help.

(base) MLI-JGM197:survivor smithch$ which ${SURVIVOR}
/Users/smithch/git/SURVIVOR/Debug/SURVIVOR
(base) MLI-JGM197:survivor smithch$ ${SURVIVOR} merge onerec_files.txt 0 1 0 0 0 0 one_rec_survivor.vcf
merging entries: 1
merging entries: 1
(base) MLI-JGM197:survivor smithch$ bcftools view one_rec_survivor.vcf -H |head -n1 |cut -f3,9,10,11
pbsv.INS.4	GT:PSV:LN:DR:ST:QV:TY:ID:RAL:AAL:CO	./.:NaN:0:0,0:--:NaN:NaN:NaN:NAN:NAN:NAN	0/1:NA:6824:0,0:+-:.:INS:pbsv.INS.4:C:CA...


Ledger and network integration for 8.8.0

FYI. Conway related golden test failures are expected, so it is fine to accept the changes

rebase instead of a merge

Does this need to be done manually? There's a "squash and merge" option.

We don't have that option in our repository. If you want, we can take this over and squash the commits in this PR.

I signed your commit to satisfy the merging rules on main.


Multiplayer Error

I get two technical errors when joining a MP server. In the client log is the following:
416.554 Error ClientMultiplayerManager.cpp:1106: mod-LtnManager was not registered for the following events when the map was saved but has registered them as a result of loading: Custom event (ID 205)
416.554 Error ClientMultiplayerManager.cpp:1108: mod-LtnManager was registered for the following events when the map was saved but has not re-registered them as a result of loading: Custom event (ID 203)
416.554 Error ClientMultiplayerManager.cpp:98: MultiplayerManager failed: "" + multiplayer.script-event-mismatch + "
" + "
mod-LtnManager"
On screen I get the following:
Cannot join. The following mod event handlers are not identical between you and the server. This indicates that the following mods are not multiplayer (save/load) safe. (see the log file for more detail):
mod-LtnManager
LTN Manager 0.1.4  Save file did not previously have LTN Manager enabled. Now does. Save file has never seen 0.17.  Only .18.17 and .18.18

If you happen to have Death Markers, Recipe Book, or Quick Item Search enabled, please disable them. There is some black magic going on with the interactions between those mods to cause this issue, and I am completely in the dark as to why. It's an ongoing process, but it might take me a long time to fix this problem.

This is also a duplicate of #19


[WIP] Feature: Add in hardware acceleration through VAAPI

Currently tested and working for Intel GPUs. Below is an example docker compose yaml file:
version: "3.7"
services:
  blueiris:
    container_name: blueiris
    privileged: true
    restart: always
    image: jshridha/blueiris:gpu
    init: true
    devices:
      - /dev/dri:/dev/dri
    environment:
      - LIBVA_DRIVER_NAME=iHD
    ports:
      - "8080:8080"
      - "5900:5900"
      - "8081:8081"
    volumes:
      - ./data:/home/wineuser/prefix:rw
      - /etc/localtime:/etc/localtime:ro

You'll need to 1.) have a clean environment, 2.) set proper permissions on data directory (chown 1000:100 data), and 3.) Run winecfg as wineuser and turn on VAAPI in the staging tab. To do this run the following command after the container is up and running: docker exec -it blueiris su wineuser -s /bin/bash winecfg
Todos:

Testing for AMD/Nvidia GPUs also. Will need to change LIBVA_DRIVER_NAME to match the right card. I'll need some help here as I don't have good access to modern AMD/NVIDIA gpus.
Documentation on how to get this up and running

As far as I know Blue Iris only supports Intel Quick Sync.
Apparently Nvidia CUDA is also supported now but not recommended (https://ipcamtalk.com/wiki/choosing-hardware-for-blue-iris/).
I tried using libva-intel-driver with LIBVA_DRIVER_NAME=i915 which also seems to work, but I think intel-media-driver is the better option: https://wiki.archlinux.org/index.php/Hardware_video_acceleration#VA-API_drivers

I have been using the following which seems to work great for hardware acceleration (just have to make sure to have intel-media-driver installed and check if VAAPI is available with vainfo):
version: "3.7"
services:
  blueiris:
    container_name: blueiris
    privileged: true
    restart: unless-stopped
    image: jshridha/blueiris:gpu
    init: true
    devices:
      - /dev/dri:/dev/dri
    environment:
      - LIBVA_DRIVER_NAME=iHD
    ports:
      - "7080:8080"
      - "5900:5900"
      - "7081:8081"
    volumes:
      - ./prefix:/home/wineuser/prefix:rw
      - /etc/localtime:/etc/localtime:ro
#    command: -c /etc/supervisor/conf.d/supervisord-service.conf
    logging:
      options:
        max-size: "5M"
        max-file: "10"

The only thing which I cannot get to work is the 'run as a service'. Using the command line and recreating the container does not seem to work, i.e. the web server is not accessible. I've tried the suggestions in the 'run as a service' PR which did not seem to work so maybe it's something specific to this branch?

I have been using the following which seems to work great for hardware acceleration (just have to make sure to have intel-media-driver installed and check if VAAPI is available with vainfo):
version: "3.7"
services:
  blueiris:
    container_name: blueiris
    privileged: true
    restart: unless-stopped
    image: jshridha/blueiris:gpu
    init: true
    devices:
      - /dev/dri:/dev/dri
    environment:
      - LIBVA_DRIVER_NAME=iHD
    ports:
      - "7080:8080"
      - "5900:5900"
      - "7081:8081"
    volumes:
      - ./prefix:/home/wineuser/prefix:rw
      - /etc/localtime:/etc/localtime:ro
#    command: -c /etc/supervisor/conf.d/supervisord-service.conf
    logging:
      options:
        max-size: "5M"
        max-file: "10"

The only thing which I cannot get to work is the 'run as a service'. Using the command line and recreating the container does not seem to work, i.e. the web server is not accessible. I've tried the suggestions in the 'run as a service' PR which did not seem to work so maybe it's something specific to this branch?

It's definitely specific to this branch. I got rid of the "run as service" feature because you can't use GPU acceleration + that feature at the same time. The only reason we switched to running as a service was to get the timezone to be properly displayed in BI, but that issue is now fixed in this branch.
Did you change the webserver port to 8081 in the web gui in BI? Is BI running if you VNC into the container?

It's definitely specific to this branch. I got rid of the "run as service" feature because you can't use GPU acceleration + that feature at the same time. The only reason we switched to running as a service was to get the timezone to be properly displayed in BI, but that issue is now fixed in this branch.
Did you change the webserver port to 8081 in the web gui in BI? Is BI running if you VNC into the container?

Yes, in normal mode it works fine but in service mode it doesn't work at all (which makes sense now).
The only problem with normal mode is that Blue Iris doesn't restart upon a crash. Changing autorestart to true in the supervisor file for the blueiris service seems to fix this, but I thought that the recommended approach would be to use the service mode.
On initial setup it would crash daily but I just remember a comment in the 'run as a service' PR that continuously recording with overlay enabled would cause crashes. In hindsight, after disabling the overlay it worked fine for a week but eventually it did crash.

Yes, in normal mode it works fine but in service mode it doesn't work at all (which makes sense now).
The only problem with normal mode is that Blue Iris doesn't restart upon a crash. Changing autorestart to true in the supervisor file for the blueiris service seems to fix this, but I thought that the recommended approach would be to use the service mode.
On initial setup it would crash daily but I just remember a comment in the 'run as a service' PR that continuously recording with overlay enabled would cause crashes. In hindsight, after disabling the overlay it worked fine for a week but eventually it did crash.

Just FYI even with the GPU branch, I am unable to get the timezone to display correctly.
I have tried all of the fixes listed on this repo... /etc/localtime and /etc/timezone are all correct. The only thing I can think of is that I migrated my wine folder from the stable branch.

Good day, thank you for producing and sharing this docker.
I run unraid and tried testing gpu with nvidia as such:
  blueiris: #https://github.com/jshridha/docker-blueiris/pull/40     container_name: blueiris     image: jshridha/blueiris:gpu     restart: unless-stopped     hostname: UNRAID       privileged: true      runtime: nvidia         init: true     volumes:     - /mnt/cache/appdata/blueiris/conf:/home/wineuser/prefix:rw     - /mnt/cache/appdata/blueiris/data:/srv:rw      - /etc/localtime:/etc/localtime:ro     devices:     - /dev/dri:/dev/dri     ports:     - 8280:8080     - 5909:5900 # VNC Port     - 8181:81 # WebUI Port     labels:     - "com.centurylinklabs.watchtower.enable=true"          logging:       options:         max-size: "5m"         max-file: "2"     environment:     - NVIDIA_VISIBLE_DEVICES=GPU-0d460ee2-906e-cd35-c793-056a35ffba80     - NVIDIA_DRIVER_CAPABILITIES=all     - LIBVA_DRIVER_NAME=vdpau     - VDPAU_DRIVER=nvidia
The container came up and followed your docker exec -it blueiris su wineuser -s /bin/bash winecfg instruction selecting the vaapi option in the stage-tab as there's no nvidia option. should i manually install the nvidia drivers in the docker ??
One issue I noticed is that the /ui3.htm server doesn't work.
I also tried the dev branch and the /ui3.htm server doesnt work either.

I don't know about the Nvidia gpu, but I think UI3 is the default web interface in Blue Iris (there is an option somewhere in the settings). You shouldn't have to add /ui3.htm


opening easyform tutorial #3038

this PR contains the following changes:

model's "update_id" is not being saved to .bkr anymore
if model doesn't have "update_id" all components on the form will be disabled
fixes for combobox and date disable/enable

:+1:


Refactor EPDiy integration and add new parallel epaper models

As per my last communication with the EPDiy developer Valentin

I've just merged the refactoring branch, where these issues should be resolved.

The issue that we described with the GFXGlyph structs that collided with Adafruit GFX own names should be solved. That means that we should not "copy the entirely" library here and use git submodules instead which habe the advantage to keep EPDiy up-to-date and also remove the Files from this one leaving the library lighter for those who use only SPI epapers.
Add new parallel models

[ ]  ED060SC4 | 6" | 800 x 600

I will try that first in a development branch when the new parallel T5S from Lilygo arrives. And if all works like expected then it will be the first real "submodule" on Cale-idf

Update after first try.
Attempt 1: To update EPDiy to the latest version
On branch feature/38-v5
Status: failed
Error: Now last blocker is that I'm getting: undefined reference to `epd_hl_init(EpdWaveform const*)'
Even if I'm including: #include "epd_highlevel.h"
And it's also on the REQUIRE the compiler does not find the functions defined in highlevel.c.
Reference https://github.com/espressif/esp-idf/issues/3741
Attempt 2: Keep EPDiy in the old version (Simpler API) and add V5 board
On branch feature/38-v5
Status: works as expected

EPD_DRIVER is working as expected and using the latest version.
I recommend to use directly epd_driver for parallel. But for those that like to work with Adafruit GFX this is an option.


Allow addition and multiplication for references to secret shared values

This change brings an extra trait bound for linear secret sharing trait, to allow addition and multiplication on references, rather than owned types. Currently it is only possible to do a + b or a + &b, but not &a + b or &a + &b. This change makes it possible.
As usual, it is not all rosy here, because of the compiler issue: https://github.com/rust-lang/rust/issues/20671. There is a need currently to specify the additional trait bound on every function, but I think it is worth it because not every .clone() call can be eliminated by the compiler, as it can be seen here. We're better off helping optimizer here. So it cost us additional trait bound, but gives a much nicer addition/multiplication w/o extra clones and makes us not worry about compiler not being able to optimize it.
Once (if?) that gnarly issue is fixed, we could probably just add for <'a, 'b> &'a Self: Add<'b Self>bound to ArithmeticOps trait and eliminate all extra helper traits along with extra bounds on functions.
Implementation notes

I could've probably used a macro to synthesize all extra Add/Sub/Mul implementations, but decided it is not worth it for just two types. Maybe if we had more secret sharing types ....

I tried hard to mimic num trait definition (https://github.com/rust-num/num/pull/283), but ran into an error complaining that Add operation is not general enough:

error: implementation of `Add` is not general enough
  --> src/secret_sharing/mod.rs:97:49
   |
97 |         assert_eq!(AdditiveShare::<Fp31>::ZERO, sum_ref_ref(&AdditiveShare::<Fp31>::ZERO, &AdditiveShare::ZERO));
   |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ implementation of `Add` is not general enough
   |
   = note: `Add<replicated::semi_honest::additive_share::AdditiveShare<fp31::Fp31>>` would have to be implemented for the type `&'0 replicated::semi_honest::additive_share::AdditiveShare<fp31::Fp31>`, for any lifetime `'0`...
   = note: ...but `Add<replicated::semi_honest::additive_share::AdditiveShare<fp31::Fp31>>` is actually implemented for the type `&'1 replicated::semi_honest::additive_share::AdditiveShare<fp31::Fp31>`, for some specific lifetime `'1`

it remains a mystery to me, why I was getting it. The same function worked just fine for u32 and primitive types had the same 4 Add overloads with reference ones defined exactly as ours for additive secret shares.

@martinthomson I think it is ready for review now


How to read Apache error.log when using Docker?

Reading of Apache error.log is crucial when you developing with PHP.
How you guys read Apache error.log when using Docker?

In a terminal type
docker logs regmon-os-web-1
if your container is named as regmon-os-web-1. You can also open Docker Desktop and click on the container web-1 under regmon-os. In either case the containers must be running.

This docker logs regmon_os-web-1 works but there are some problems.

it returns all logs including the access.log
it returns all the file and is not something you can easy work with.

I am thinking something like a file bind to a local file if this is possible.

If running on linux you can filter logs like
docker logs regmon-os-web-1 2>&1 | grep error
or
docker logs container_name_or_id 2>&1 | grep -E "GET|POST|PUT|DELETE"
On windows something similar might exist but dunno.
You could also filter the logs in a different way by using a log collection and aggregation solution like the ELK Stack (Elasticsearch, Logstash, Kibana) or Fluentd with Elasticsearch and Kibana to centralize and manage your logs. These tools can provide better log organization and searching capabilities.
You also could use bind mounts as you already said.
Edit the docker-compose
volumes:
- /path/to/local/access.log:/var/log/apache2/access.log   # binds the local access log file to the container's access log.
- /path/to/local/error.log:/var/log/apache2/error.log   # binds the local error log file to the container's error log
But then you could run into issues because access.log and error.log is linked to the container's stdout (console). So you must modify the apache server and tell that there should be the error log file on one hand and the link do stdout on the other hand. But I haven't done this so far.

I used to have the error.log empty when developing,
this way you can easy find out the new errors.
After I solve the error I empty again the error.log.
So I apply the "volumes" solution and it works like I need it to.


[router] Allow collateralization target to be set to 0 and fix reclaim thresholds

[x]  Allow for target to be set to 0 - this makes sense because we always want to inflight collateralize for now
[x]  Right now, collateralization logic errors if the target + transfer amount > reclaim threshold. This is incorrect. It should only error if target > reclaim threshold, because we should always allow a large inflight collateralization of transfer amount

Fixed

Fixed


⚠ File access has degraded performance

In 97790a6, File access (https://fyle.uk/file/fish) experienced degraded performance:

HTTP code: 200
Response time: 5135 ms

Resolved: File access performance has improved in 7315246 after 8 minutes.


WIP: MMCIF Parser

Reference Issue

Fixes #2054
Currently a work in progress, just checking I'm in the right direction.
TODO:

[ ] multiple models
[x] python hookup
[x] cmake things (see below)
[ ] more tests

What does this implement/fix? Explain your changes.
Adds a PDBx/mmcif parser exposed as Mol *m = MMCifFileToMol()
Any other comments?
I've copied across the PDB parser test from 1CRN.  The only part not working is the atom serials - AtomPDBResidueInfo assumes these are ints, in the PDBx standard they can be strings.
This is using the gemmi library for parsing the cif file, it seemed like the best available option.  I'm assuming that this will require working in this as an optional dependency into the CMake files? Easier to hack together a stream parser than play with CMake

Hi @richardjgowers : thanks for doing this!
If the format is complex enough that we need to add the external dependency, then it will need to be optional and it would be great if the cmake infrastructure could automatically download the required files. I'd suggest adding something like RDK_BUILD_MMCIF_SUPPORT to the main CMakeLists.txt file. There are a number of examples of how to automate downloads in the codebase already.

@richardjgowers : FWIW it looks like the CI test failures on mac and linux are real
Do you have access to either a mac or a windows machine that you can test on?

@richardjgowers If you don't have access to a Mac, I can do a build and try and find the issue.

The error I'm seeing is a sanitization error, but it doesn't make sense it isn't appearing all the time.
[11:09:05] testing reading mmcif files
[11:09:05] Explicit valence for atom # 106 O, 3, is greater than permitted

It would be useful if we could also parse monomers, or at least be able to do so in the future.
https://www.ccp4.ac.uk/html/mon_lib.html
I think this would be more useful in the small molecule RDKit space, the chemical component dictionaries are available here as a reference.
https://www.wwpdb.org/data/ccd

@richardjgowers Thanks for the contribution btw!

Thanks for the feedback, I've got a test failure (regression wrt PDB format) about bond order, so I guess that's tomorrow's work.

Hit a bit of a problem with the format here.  My PDBx/mmcif version of 4TNA is coming through the parser with 2 fewer bonds, both of these are related to Mg ions.  The PDB format of 4TNA has CONECT records for the Mg ions, mmcif doesn't seem to have an equivalent for CONECT records (https://mmcif.wwpdb.org/docs/pdb_to_pdbx_correspondences.html#CONECT), and the bond guesser is only getting 2 of 4 of the CONECT records.  I think this is then what is causing the regression difference in bond orders later on...

Hit a bit of a problem with the format here. My PDBx/mmcif version of 4TNA is coming through the parser with 2 fewer bonds, both of these are related to Mg ions. The PDB format of 4TNA has CONECT records for the Mg ions, mmcif doesn't seem to have an equivalent for CONECT records (https://mmcif.wwpdb.org/docs/pdb_to_pdbx_correspondences.html#CONECT), and the bond guesser is only getting 2 of 4 of the CONECT records. I think this is then what is causing the regression difference in bond orders later on...

mmCIF doesn't store this kind of information as it is stored in the Chemical Component Dictionary for all named PDB components. Would obtaining the bond information from there be an option?
It would be really nice if the mmCIF parser could land in PDB as PDB has many limitations and moreover, new structures with 5-letter residue codes will be distributed only in mmCIF format, see https://www.rcsb.org/news/feature/630fee4cebdf34532a949c34 and https://www.rcsb.org/news/feature/607760112786e73a79c76f9d.


MM-28295 Android fix opening sidebar after closing setting screen

Summary
When the channel screen disappears into the background it gets removed from the stack, probably something got updated in the underlying navigation dependency that caused this change in behavior from 1.34
This PR avoids removing the Channel screen from the stack.
Ticket Link
https://mattermost.atlassian.net/browse/MM-28295

Building app in separate branch.

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/10169
https://circleci.com/gh/mattermost/mattermost-mobile/10167

Artifact links:
https://10169-70265724-gh.circle-artifacts.com/0/~/mattermost-mobile/Mattermost_Beta.apk
https://10167-70265724-gh.circle-artifacts.com/0/~/mattermost-mobile/Mattermost_Beta.ipa


snapshot.bin missing

what's wrong? it is a brand new ubuntu vm
Jul 03 20:42:59 gosc docker[127464]: 2020-07-03T20:42:59Z        PANIC        ValueTransfers        valuetransfers/dapp.go:122        can not open snapshot file:open ./snapshot.bin: no such file or directory
Jul 03 20:42:59 gosc docker[127464]: github.com/iotaledger/goshimmer/dapps/valuetransfers.configure
Jul 03 20:42:59 gosc docker[127464]:         /goshimmer/dapps/valuetransfers/dapp.go:122

@cubed-it when exactly did you install? I've fixed this yesterday.

of course yesterday :) one more node is up now! thanks!


Update Python Client to latest API

The PR includes:

updated autogenerated code that incorporates our latest API version:
-- added cancel endpoint
-- added archive endpoint
-- modified list endpoint
-- modified status endpoint
-- modified fetch endpoint (handle different formats and metarig)
several fixes of the autogenerated code (e.g. duplicated or wrong definition of body arguments)
updated examples
removed retopology endpoints (as it is in the API)

Perhaps we should add a comment in the README that this plugin is being deprecated? Besides that the changes looks good to me

Right. Added


Add Bootstrapped Connections to Persistent Peers

Overview
At the moment, when a peer disconnects from lnd, it will be handled in one of two ways depending on whether the connection is persistent or non-persistent. A persistent connection is one that our daemon will try and reestablish if a disconnect occurs, while a non-persistent one will be allowed to disconnect without any further action. The goal of this issue is to modify the server to add successfully connected peers from the DNS bootstrapper to the set of persistent peers. This will allow lnd to maintain better network connectivity—even if it has no other persistent connections were opened via the process of channel creation—and its bootstrapped peers get disconnected intermittently.
Steps To Completion

[ ]  Re-establishment of a persistent connection occurs in the server's peerTerminationWatcher, predicated on whether or not the peer's pubkey string is present in the server's persistentPeers map. There are currently two instances inside the peerBootstrapper where a go routine is spawned to Dial a peer, and then execute OutboundPeerConnected upon success. In order to make these connections persistent, the peer's pubkey string should be added to the persistentPeers map before executing the callback. This will cause the connection to be reestablished by way of the connection manager in the event that the peerTerminationWatcher exits.

@bajohns has expressed interest in tackling this one, let me know if anything needs clarification!

@cfromknecht I will review this and start working through setting up persistent peers.
It seems as though the assumption is that peers will stay online or at least that 1/3 of the bootstrapped peers will. In testnet that doesn't seem to hold as peers not only drop but a set of nodes can become isolated from the entire network. This isolation occurs if both nodes lose all peers but each other. Before your explanation above, I considered rerunning the bootstrap process if peer count hit zero or if messages frequency dropped below a certain threshold.
By example, now I am running a node that is listening on a public IP. It successfully bootstraps three peers and they disconnect over time. Over the last twenty four hours I noticed the peer count didn't go to zero but the message volume did. Upon process restart I experienced a flood of over twelve hours worth of messages.
I will start with persistent peers above and let you know my results.


Allow passProps in Modal.showLightBox

Merged in https://github.com/wix/react-native-controllers/commit/5d91ac8fb85c8900c2ab677fad264822dcfdaa83
Added documentation and example https://github.com/wix/react-native-controllers/commit/12e7343eff8c9edc37d3ff532052f5f8c587c167


Run Security Scan on all PRs and pushes

Closes: coopnorge/engineering-issues#132

Codecov Report

Merging #21 (89106da) into main (0b1c980) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #21   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines            8         8
=========================================
  Hits             8         8

Continue to review full report at Codecov.

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


Create payment-buyer.yaml

Thanks for the PR. Could you expand on why this OAS document forms a good example to have in the spec. repository, above and beyond the examples for version 3.0.x which are already there?
Also, do you own/maintain this API? I'm just wondering about potentially sending traffic to an API which may not be expecting it.

Ping @hanbc7743 re: above.

Closing due to inactivity - but please feel free to reopen the issue if necessary.


Update launch-arguments.md

This is for a feature that releases with v1.5.0, right?

This is for a feature that releases with v1.5.0, right?

yup

In that case I'll wait with the merge until v.1.5.0 is out to avoid having information conflicting with current release. We'll probably add a branch for pre-release documentation some time in the future ^^

Added a next-release branch, from now on specific docs to newly added features will stay there until a new Northstar version is released, when that happens we'll rebase it onto master.


Fix clusterrole for clusterauthentication

Signed-off-by: mlushpenko<EMAIL_ADDRESS>Based on https://github.com/kedacore/charts/pull/126

Isn’t this a generated file?

Yeah, that's right.
We are missing clustertriggerauth_controller (which is the correct location for this) though. I am about to tackle this in a separate PR.


Document setting allow_origin to http://.

Partially addresses #739, and closes #816.

Thank you so much @ryanlovett, appreciate the help with the docs! Usually I am adding in the s! :)

We will update the docs on the live site on next release! Thanks again!

No problem! I should have mentioned that @jhsmit first mentioned this on discord.


Feature to up a specific directory

Awesome! Any shot you could put it as part of the request entity, instead of an additional param?
Other than that looks good and will merge after the above!

Awesome! Any shot you could put it as part of the request entity, instead of an additional param?
Other than that looks good and will merge after the above!

Hey, could you elaborate on what you mean exactly? I've integrated the param as it is in other commands.

Hey, @JakeCooper your recommendation is done, check out the changes!


[docs] Add user friendly Quick-Start guide

As we have discussed internally, we should create a quick-start guide that is user friendly. We should consider the possibility that the audience for this guide has little k8s experience.
The guide should be brief and to-the-point with simple steps on how to get rio up and running for testing / demonstration purposes.

Initial PR up here https://github.com/rancher/rio/pull/960


Implemented share diagnostic log functionality

Fixes #2017

Added settings button to session screen.
Added the Share Diagnostic Logs button on the settings screen.
Implemented zip and share functionality.

@pratikvelani Apologies for the hiccup -- could you rebase and reposition the Settings UI? I merged in a few fields to the Settings view that conflicts with this.

@pratikvelani Apologies for the hiccup -- could you rebase and reposition the Settings UI? I merged in a few fields to the Settings view that conflicts with this.

No worries, I have rebased the branch, please check.


Configure Sentry

Is your feature request related to a problem? Please describe.
Configure Sentry
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Todo's

[x] #390
[x] #391
[x] #392

Closing this issue since all tasks has been completed


WIP: Apps crypto free

This is based on #14193.  One corner case to apps/dgst to fix.

It's been a while.  How goes the battle?

Nice of you to check in with me :)  Was busy past two weeks on work and IETF virtual, picking things up now.
I have I think four bad-memory failure cases in test_dgst right now.  So, progress.

Please make sure to update this branch on top of #14193.  Call it a litmus test...

This is new code, so it's not quite a litmus test. But yes, I will keep it more-or-less current with the work in the other PR.

Thanks to @levitte contributions, in #14193 this now works. Still a DRAFT because that one needs to be merged first. If you look at this PR before, only look at the top commit.

If I change do_cipher to do fetch before lookup I get many failures:
Test Summary Report
-------------------
20-test_dgst.t                   (Wstat: 256 Tests: 7 Failed: 1)
  Failed test:  6
  Non-zero exit status: 1
25-test_crl.t                    (Wstat: 256 Tests: 7 Failed: 1)
  Failed test:  5
  Non-zero exit status: 1
25-test_verify_store.t           (Wstat: 512 Tests: 10 Failed: 2)
  Failed tests:  1, 7
  Non-zero exit status: 2
25-test_req.t                    (Wstat: 256 Tests: 43 Failed: 1)
  Failed test:  15
  Non-zero exit status: 1
80-test_ca.t                     (Wstat: 256 Tests: 7 Failed: 2)
  Failed tests:  1, 7
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 15 tests but ran 7.
80-test_tsa.t                    (Wstat: 256 Tests: 22 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
  Parse errors: Bad plan.  You planned 27 tests but ran 22.
90-test_store.t                  (Wstat: 512 Tests: 8 Failed: 0)
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 426 tests but ran 8.
80-test_ssl_old.t                (Wstat: 2048 Tests: 11 Failed: 8)
  Failed tests:  1-8
  Non-zero exit status: 8

Many of them are because output changed when the FIPS provider is used first.  WHY?
For example in the CRL test:
# Got      SHA2-256 Fingerprint=B3:A9:FD:A7:2E:8C:3D:DF:D0:F1:C3:1A:96:60:B5:FD:B0:99:7C:7F:0E:E4:34:F5:DB:87:62:36:BC:F1:BC:1B
# Expected SHA256 Fingerprint=B3:A9:FD:A7:2E:8C:3D:DF:D0:F1:C3:1A:96:60:B5:FD:B0:99:7C:7F:0E:E4:34:F5:DB:87:62:36:BC:F1:BC:1B
not ok 5

One seems like a real error, found while running test_verify_store:
Writing new private key to 'keyCA.ss'
-----
malloc_consolidate(): invalid chunk size
../../util/wrap.pl ../../apps/openssl req -new -section userreq -config ../../test/ca-and-certs.cnf -out reqCA.ss -keyout keyCA.ss => 134
not ok 1 - make cert request

I can debug that, but need to know about the output differences first.
I will push a commit with the broken change.

Re the output difference, the provider implementations don't currently have a "main name", i.e. all names for one implementation are treated as equals. @t8m is working on a change to have a "canonical" name per implementation, which should "disappear" the problem.
It is interesting, though, that the changed order between fetching and getting legacy implementation should create such havoc...

It is interesting, though, that the changed order between fetching and getting legacy implementation should create such havoc... For the sake of this PR, I would suggest putting back the legacy first order.

I will do that.  Ping @t8m to consider taking a look at this issue when his work is done.

Rebased onto master, removed WIP.

@openssl, second review needed

This pull request is ready to merge


Issue:"There are no images in the pipeline"

Following is the code I am using to create my pipeline for image augmentation. There is only 1 image in the directory I specify in 'new_source_directory'. I am using this in google colab. The 'new_output_directory' argument creates the directory in my google drive so I know that it's not a permissions issue in google colab. I am using Python 3 notebook in google colab. Any help you provide is appreciated. The complete error is found below my code.
point2files = Augmentor.Pipeline()
point2files.ground_truth('One_size/{}'.format(One_size_lbls[1]))
point2files.add_further_directory(new_source_directory='One_size/{}'.format(One_size_lbls[1]),new_output_directory='../../Augmented/{}'.format(One_size_lbls[1]))
point2files.rotate(probability=0.9,max_left_rotation=25,max_right_rotation=25)
point2files.zoom_random(probability=0.9,percentage_area=0.9)
point2files.flip_left_right(probability=0.9)
point2files.flip_top_bottom(probability=0.9)
point2files.shear(probability=0.9,max_shear_left=25, max_shear_right=25)
point2files.skew_tilt(probability=0.9)
point2files.sample(10)

`                                        0 ground truth image(s) found.
Initialised with 0 image(s) found.
Output directory set to One_size/['w_0003c59']/../../Augmented/['w_0003c59'].
IndexError                                Traceback (most recent call last)
 in ()
8 point2files.shear(probability=0.9,max_shear_left=25, max_shear_right=25)
9 point2files.skew_tilt(probability=0.9)
---> 10 point2files.sample(10)
/usr/local/lib/python3.6/dist-packages/Augmentor/Pipeline.py in sample(self, n, multi_threaded)
341         """
342         if len(self.augmentor_images) == 0:
--> 343             raise IndexError("There are no images in the pipeline. "
344                              "Add a directory using add_directory(), "
345                              "pointing it to a directory containing images.")
IndexError: There are no images in the pipeline. Add a directory using add_directory(), pointing it to a directory containing images.`

You might have run into the same bug as #91, where you have an empty folder (or folder with no images) in your source directory. Haven't looked into what's causing the bug, but for now I just sidestepped it by moving my source images into a new directory with no other folders and running there.


Help not working

Trying to open help from here:

Or from here:

Results in:

it seems it just can't find the file. i downloaded WINFILE.CHM from this github (winfile/help) and it works fine, tho idk how to let the program itself be able to open it

I believe potential solution (and the source of the problem) have been mentioned here: https://github.com/Microsoft/winfile/issues/60
.hlp files have been deprecated in Windows 10, but .chm still work properly

Note there's PR #211 to use HTML help, which is the easy part.  The harder part is we have a .hlp file from NT 4 that's a fair predecessor to the current code, and a .chm file from Windows 98 which didn't include any of the NT enhancements, and seems much less comprehensive in general.  Making help work "well" means decomposing the .hlp file into HTML parts and assembling a .chm file from it.

@malxau I managed to open the .hlp file and it does seem mostly still up to date imo, do u think its possible to convert it to a more modern format?

The Windows ME one will be similar to the .CHM in Windows 98.  I thought the .HLP one here was the one from NT 4.
I don't know of good tools for this conversion, although they probably exist.  .HLP files were created from .RTF files that contain a lot of footnotes which get compiled into .HLP.  .CHM is a compressed HTML archive.  Doing this without a tool seems very painful (you'd need to navigate each page, copy/paste, and recreate all the links.)  So automation seems essentially mandatory.

So I took the liberty of converting the old "WINFILE.HLP" file into plain html format. I used HELPDECO to convert the original HLP file into .rtf format and then I used Microsoft HTML Help Workshop to generate the .htm files. Following this I did some manual editing by adding the navigation buttons (Contents, Back, Forward), changing hyperlinks to teal color (for better look and similarity to the old HLP format) and some cleanup.
I made no attempt to add any new information or to check for possibly redundant old information in the text. But at the very least these .htm files could provided a basis for further help file updates...
Programs used:

HELPDECO - utility program to dissect Windows help files (v.2.1)
Microsoft HTML Help Workshop 4.74.8702.0 (1999)
Notepad & MS Paint ;-)
winfile_html_help_files.zip

Thanks for looking into it.  I took this to see what it would take to make a .CHM from it, but I think the winfile.hlp in this tree is really, really old.  This file is 78Kb, which compares to 153Kb in NT 3.1 and NT 3.5, 155Kb in NT 3.51, and 140Kb in NT 4.0.  These each include cute navigation graphics that are missing from the one in this tree.
I noticed this when trying to construct an .HHC file and noticing half the topics in the NT 4 help file aren't here.  The Windows 95/NT 4.0 WinHelp has a nice contents view that's functionally similar to HTML Help.
I think this file must have come from an early NT beta.  One thing that made me laugh is "Names of Open Windows NT" in "Window Menu Commands."  This doesn't appear in any of the released versions.

Oh, I see what you mean now! Attached are the Microsoft HTML Help Workshop project files for the "hopefully" more recent Windows NT 4.0 HLP file converted to .chm with the raw .htm files included.
winhelp-nt4-chm-project-files.zip

I updated the html help files a bit to remove the obsolete information and update some other parts. These help files should now be usable although they still lack text for the new features and could be made richer in content.
I believe using plain html (.htm) files would be the best choice for future compatibility as .chm files may also stop working at some point like .hlp and editing them may also require old and obsolete software.
My latest edits to the Winfile html help files can now be found here:
https://github.com/YELLO-belly/winfile/tree/master/help
P.S.
The old link to .hlp files could be replaced to open the .htm files in the web browser instead.
See: https://github.com/YELLO-belly/winfile/commit/31921ef3f13742ad37970f9514325a497777adf3
Also I think the 'Search for Help on...' and 'How to Use Help' menu entries can be removed leaving only the 'Contents' option to open the help in the web browser (of course F1 key will also work).
See: https://github.com/YELLO-belly/winfile/commit/8cc997afc7eee1dc82d842955ac6b86f4d39c918


Incorporate feedback

Proposed changes:

Incorporate feedback

Status (please check what you already did):

[ ] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog
[ ] reformat files using black (please check Readme for instructions)

@wochinge I see a lot of places in the tests have opened the directly opened these files for reading. Do you think it'd be better to create a new issue to address them all together?

I see a lot of places in the tests have opened the directly opened these files for reading. Do you think it'd be better to create a new issue to address them all together?

Yep, makes sense! Thanks for checking that


Move addNode to FSTCompiler

Description
Currently FSTCompiler and FST has a circular dependencies to each other. FSTCompiler creates an instance of FST, and on adding node (add(IntsRef input, T output)), it delegates to FST.addNode() and passing itself as a variable. This introduces a circular dependency and mixes up the FST constructing and traversing code.
To make matter worse, this implies one can call FST.addNode with an arbitrary FSTCompiler (as it's a parameter), but in reality it should be the compiler which creates the FST.
This PR move the addNode method to FSTCompiler instead.

Thanks for opening @dungba88! This FST building code is very hairy and this is a nice start at cleaning it up.
Given how expert this code is and that the relevant methods are all package-private I don't see a problem with backporting this to 9x - what do you think @mikemccand?

Given how expert this code is and that the relevant methods are all package-private I don't see a problem with backporting this to 9x - what do you think @mikemccand?

+1 to backport to 9x -- this is nice refactoring that does not change any API and is low risk.
In general, we should strive to backport all changes to 9.x by default unless there is a solid reason not to (e.g. unavoidable / complex API break).
Thanks @dungba88 and @romseygeek!

+1 to backport to 9x -- this is nice refactoring that does not change any API and is low risk.

I can do this. Wondering if creating a PR to lucene-9_x branch would suffice?

I'm happy to merge and backport @dungba88.  Can you also add an entry to CHANGES.txt in the 9.9 section?

Thanks @romseygeek I have added the entry (under API change section).

Thanks @dungba88!


Meta: power handling and reduction

Power handling will be crucial - the more we can drop power usage, the cheaper the overall system will be, and setting up a power source can easily cost more than a sensor.
On previous work on PIC 16's, we dropped power usage by a factor of 10 !

[ ] Setup clock so that we know when the next wakeup should be
[ ] Explore what is required to manage onboard battery etc on boards that support that (like Lolin Pico or S3 Pro)
[ ] Build a simple physical reference implementation that can be adapted.

Some potential issues to look at/ pay attention

[ ] In arduino-mqtt/README.md is a comment about "millis" not continuing during deep sleep, and since we'll need deep sleep for the MVP this will need revisiting.

Sources of info

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/sleep_modes.html
https://mischianti.org/wemos-lolin-esp32-c3-pico-high-resolution-pinout-and-specs/
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/power_management.html

Learnings from ESP sleep mode docssleep_modes.html
ESP32 specific

Light
Dark

RTC
on
on

On wake
resume
???

WiFi
off
off
See note

Still to figure out

[ ] Unclear what happens in Deep Sleep - does it come back to where it was, or reset ?
[ ] Apparantly can do light sleep with WiFi on via power mode
[ ] Looks like can power down for specific microseconds - then add those to counter somehow (as millis will have stopped)
[ ] Seems to be a difference see sleep_modes between RTC-GPIO and regular GPIO, need to understand this.
[ ] Looks like a way to run a small program (coming out of sleep?) that decides if should wake up (e.g. could run I2C check value?)

Before sleep
esp_wifi_stop - or maybe some call in library
If deep sleep - make sure to isolate or otherwise handle pull-up/pull-down on pins that may be driven see sleep_Modes

Learnings from ESP power maintenance doc

THere is some automated power management that can be configured at compile time. Then various things (especially wifi) hold a lock open when don't want frequency turned down and/or light-sleep entered.
This may be inextricably would up with using FreeRTOS which we aren't since its ESP32 dependent and ESP8266 is desirable for more cost-effective applications.

Some sample code from mischianti's page  - note turning ADC off - WiFi uses this.
void disableWiFi(){
        adc_power_off();
    WiFi.disconnect(true);  // Disconnect from the network
    WiFi.mode(WIFI_OFF);    // Switch WiFi off
}


NO-JIRA: add exponential backoff to static pod installer

This overrides the default rate limiting for the controller. We observed the installer controller to hot loop, especially when revisioned resources are still missing to be copied, which causes many CI failures and pathological events.

/hold
that didn't fix it

/hold cancel

payload run from https://github.com/openshift/cluster-etcd-operator/pull/1271 and https://pr-payload-tests.ci.openshift.org/runs/ci/37480d60-227d-11ef-895c-d46724932afb-0 shows no failure anymore.

replaced by https://github.com/openshift/library-go/pull/1742


CFRG support in JCE Provider etc?

Are there any plans regarding support for https://tools.ietf.org/html/rfc8037 including the JCE?

We will be adding support for RFC 7748 and RFC 8032 in the next few months, which should provide the crypto parts for RFC 8037, but I doubt we'll add anything specific to JSON.

That's great!  I hope that you create distinct classes for these objects.
It seems that signature and ecdh keys also should be distinct unlike it is for EC.
How about X.509, PKCS #8 and PKCS #12 support?
JSON does'n need direct support but it would be nice if the solution maps to RFC 8037 because this is probably the primary use case.

Hum, maybe having distinct classes for signature and ecdh keys would be stupid?  A flag isSignatureKey() could do the same job and simplify key generation and serialization as well.

Yes, once we have the basic implementations of the CFRG curves/algorithms are in place, we would gradually support their use in the context of certificates, key stores, etc. Since RFC 8037 refers directly to the CFRG RFCs, I don't expect we will need any specific code to support that usage. I don't envisage there being an "OKP" key-type, but presumably there will need to be e.g. an "EdDSA" signature algorithm. I don't see any reason why "ECDH" shouldn't cover RFC 7748, although the new point encoding will require some care.
Someone will probably want to make a small library to provide JOSE support to JSON apps, using BC, but it's not something we are likely to include ourselves.

AFAICT https://tools.ietf.org/html/draft-ietf-curdle-pkix-04 does (in similarity to RFC 8037), not overload existing EC specifications.  The named curve identifiers needed seem to be:
id-X25519    OBJECT IDENTIFIER ::= { 1 3 101 110 }
id-X448      OBJECT IDENTIFIER ::= { 1 3 101 111 }
id-Ed25519   OBJECT IDENTIFIER ::= { 1 3 101 112 }
id-Ed448     OBJECT IDENTIFIER ::= { 1 3 101 113 }

Note: I'm not asking for JOSE support, I just found the term "OKP" useful since it was already defined.
For signatures "EdDSA" would presumably by default select the first matching provider but that would not be the case for "ECDH" which is why I proposed a "deviation" here like "OKP" or "ExDH".
Anyway, if your plan is to overload, the above is of no interest.

I think easy access to key usage might be an orthogonal issue. It is also relevant for RSA and EC Keys in X509Certificate (especially with RSAPSS Keys).

Hi @ecki.  I guess you are referring to  isSignatureKey(), right?
Well, the rationale for this is because "X25519" and "X448" must according to the IETF specs only be used for Diffie-Hellman operations while "Ed25519 " and "Ed448" must only be used for signatures.  This is not related to key usage in X.509 terms (which is about "crypto hygiene" and applications rather than core algorithms characteristics).
I felt it would be nice to have this (for Signature, KeyAgreement, etc. mandatory) test in one place.

@peterdettman According to Oracle there is already a JEP in progress:
http://mail.openjdk.java.net/pipermail/security-dev/2017-June/016037.html

@peterdettman Oracle have now stated their preferences:
http://mail.openjdk.java.net/pipermail/security-dev/2017-August/016171.html
The PKCS 11 folks have also realized that it is time to decide overload or not:
https://lists.oasis-open.org/archives/pkcs11/201708/msg00007.html

Thanks for the update, I'll try and review those discussions shortly.

RFC 7748 and RFC 8032 are now broadly supported in the provider. Please open new issues for support in specific high-level APIs.

@peterdettman thanx for the update. Unfortunately curve25519 and curve448 support became a disaster from a developer's point of view since BouncyCastle and JDK have entirely different interfaces making a the provider concept fairly useless.  The JDK interfaces are also quit strange:
https://mail.openjdk.java.net/pipermail/security-dev/2020-August/022378.html
https://mail.openjdk.java.net/pipermail/security-dev/2020-August/022379.html
https://mail.openjdk.java.net/pipermail/security-dev/2020-September/022382.html

@cyberphone We have had to wait for JDK to finalize their design and release their API classes. We'll be adding support for those new APIs in due course. and will keep an eye out for the issues you describe in those posts.


Is there any restriction when the results returns? such as NEARBY eq.

Hi, tidwall,
When I test NEARBY command, I set more than 100000 ids with a FIELD update_time_utc, then I want to get the COUNT of records within five minutes of update_time_utc FIELD. But I found that it seems no more than 100000 results will be returned.

<IP_ADDRESS>:9851> NEARBY locations LIMIT 100009 COUNT POINT 21.162<PHONE_NUMBER>00000
{"ok":true,"count":100000,"cursor":0,"elapsed":"117.1875ms"}

Is there any restriction of this scene? Can you remove this restriction, especially commands with COUNT option?

Yes there is a hard upper limit on the number of results. This is to keep runaway queries from locking collections and halting the service.
But I agree that it should not exist for COUNT. I'll look into it further. It's possible that we can lift this restriction.

@tidwall The upper limit should be documented, it confused me a lot, and is there any formula about
the upper limit?

The upper limit is set here. I plan on making changes to allow for this limit to be lifted for the purpose of COUNT.

@tidwall Sorry, my problem seems like a new one. I have a dataset which has more than 50 points but less than 1000 points. With the following command:
tile38:9851> STATS SCAN stops
1) (nil)
2) 1) "in_memory_size"
   2) "1668"
   3) "num_objects"
   4) "93"
   5) "num_points"
   6) "93"
   7) "num_strings"
   8) "0"

tile38:9851> NEARBY stops LIMIT 1000 DISTANCE POINT 23.710007 117.175871

I expect all the points will be returned in ascending order, but i got 17 points returned.

@FX-HAO No worries, I would like to reproduce this issue. Are the 93 point relatively nearby each other?

@tidwall Yes, the most of points are quite close to each other(less than 100 meters). And i can provide you my dataset if you need it.  😊

@FX-HAO your ur dataset would be very helpful. Thank you.

appendonly.aof.zip
@tidwall The command:
tile38:9851> NEARBY stops LIMIT 1000 DISTANCE POINT 23.710007 117.175871

@FX-HAO thanks!

@FX-HAO Please try the latest master branch. I made some changes recently that should fix this issue.

@yorkxiao I just pushed an update that fixes the problem when LIMIT and COUNT are used together. Please reopen this issue if you see further problems.

@tidwall I tried the latest version of docker image, the problem is still not resolved.

Sorry but right now this update is only from the master branch. I hope to tag a new release of Tile38 soon. At which point the official docker image will be updated too.

@FX-HAO I just pushed and official release so an updated Docker image should be available now.

@tidwall Awesome, it works correctly, thanks.


Invalid preamble for SM300D2 response

Encountering an issue after about an hour of successful reads.
[22:03:56][W][sm300d2:024]: Invalid preamble for SM300D2 response!

Thoughts?

Is your sensor correctly wired to your ESP? Seems like a BUAD-rate / faulty connection error...

Yep, may be a faulty connection but I get data sometimes.  Maybe it's just a faulty unit

Are you able to post the full raw output? You can connect it to the ESP or a Raspi via UART and read the raw values. Would be interesting what it sends...

Sample of that debug output from the UART.
I was able to find the data pattern and aligned them here.
01:03:0E:01:93:00:00:00:02:00:00:00:00:08:BD:0C:EC:A4:EF
01:03:0E:01:93:00:00:00:02:00:00:00:00:08:BB:0C:E6:C4:E9
01:03:0E:01:90:00:00:00:00:00:00:00:00:08:C0:0C:E5:E8:52
01:03:0E:01:90:00:00:00:00:00:00:00:00:08:BE:0C:E8:49:8F
01:03:0E:01:91:00:00:00:01:00:00:00:00:08:BB:0C:E6:D7:5B
01:03:0E:01:94:00:00:00:03:00:00:00:00:08:BD:0C:E6:22:3F
01:03:0E:01:93:00:00:00:02:00:00:00:00:08:BE:0C:E9:94:EC
01:03:0E:01:94:00:00:00:03:00:00:00:00:08:BD:0C:E8:A3:FB
01:03:0E:01:93:00:00:00:02:00:00:00:00:08:BB:0C:E6:C4:E9
01:03:0E:01:90:00:00:00:00:00:00:00:00:08:BD:0C:E1:79:89
01:03:0E:01:91:00:00:00:01:00:00:00:00:08:BB:0C:E5:97:5A
01:03:0E:01:91:00:00:00:01:00:00:00:00:08:BD:0C:E2:36:99
01:03:0E:01:90:00:00:00:00:00:00:00:00:08:BD:0C:E4:B9:8A
01:03:0E:01:91:00:00:00:01:00:00:00:00:08:BD:0C:E5:77:5B
These are two brand new sensors , It looks like they have started using 19 vs the old 17 placements.
and thus throwing off the reading and processing of the feed.


Overlays from other parts of the Angular App are being ignored

Hey, I have a problem regarding the DOM handling. The project is written in Angular Material and uses the latest version of the Angular Leaflet Directives.
As you can see in the attached screenshot most of the leaflet map is affected by the grey overlay the Angular Material Navbar creates, however the two elements that I marked with blue arrows are not affected at all.

This is the partials code:

      <treasure-overlay-spinner active=spinnerState>

          <leaflet  markers="markers"  minZoom="minZoom" legend="legend" maxbounds="maxbounds" lf-center="center" layers="layers" width="100%" height="768px"></leaflet>

      </treasure-overlay-spinner>

And this is most the controllers code (I left out the function that invokes a service to generate the markers:
angular.extend($scope, {
    center: {
      lat: 44,
      lng: 20,
      zoom: 2

    },

    maxbounds: {
      northEast: {
        lat: 90,
        lng: 180
      },
      southWest: {
        lat: -70,
        lng: -180
      }
    },

    defaults: {
      minZoom: 2,
      zoomAnimation: false,
      markerZoomAnimation: false,
      fadeAnimation: false
    },

    layers: {
      baselayers: {
        xyz: {
          name: 'OpenStreetMap',
          url: 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
          type: 'xyz'
        }
      },
      overlays: {

        eu: {
          name: "Europe",
          type: "markercluster",
          visible: true
        },
        na: {
          name: "NA",
          type: "markercluster",
          visible: true
        },
        asia: {
          name: "Asia",
          type: "markercluster",
          visible: true
        },

        world: {
          name: "world",
          type: "markercluster",
          visible: true
        }
      }
    },
  });
  $scope.enableScroll = false;
  $scope.toggleZoom = function () {
    console.log($scope.enableScroll);
    LocationService.mapDefaults.scrollWheelZoom = true;
    console.log($scope.mapDefaults);
  }
  $scope.toggleZoom();

Is this an issue of leaflet or my code?

This will probably be due to the css styling in Leaflet and Angular Material.
Essentially the z-index of the two elements in the Leaflet are higher than the z-index of the Angular Material overlay, so they're drawn on top. If you modify the z-index of those two elements in your css to be lower than the overlay and/or modify the overlay z-index to be higher, then the Leaflet elements should display underneath the overlay.


Terminal has weird letter spacing after updating editor font style

Does this issue occur when all extensions are disabled?: Yes (it derives from settings.json).

VS Code Version: 1.63.2
OS Version: macOS 12.1

Steps to Reproduce:

Change editor font via the editor.fontFamily setting to a non-monospaced font.
Use the terminal.

I'm not sure whether this is a bug or the intended behavior, but I wanted to post something in case it can save anyone else the day I lost trying to diagnose the problem.
What seems to be happening is that the terminal is inheriting its font from the editor.fontFamily setting. The issue can easily be solved without resetting editor.fontFamily, simply by setting terminal.integrated.fontFamily explicitly to 'monospace' (or another desired font family).
There is actually a warning message about the terminal which comes up when changing editor.fontFamily, however if a user doesn't read the message carefully and has the terminal closed at the time they change the editor font, then when they use the terminal a while later they may have a hard time tracking down the cause of the strange spacing. That's what happened to me, anyway.
I find it unintuitive that editor.fontFamily should effect the terminal at all, but again, that may be the intended behavior. Also, there are several past issues reporting weird spacing in the terminal and I'm not sure whether those have the same cause; some were solved simply by resizing the terminal, which isn't the case here.

Hi and thanks for the issue. This is the expected behavior and is also indicated in the terminal.fontFamily setting description.


Add configurable Now time for signature generation

This behavior and test is prep for an AWS SDK update, to ensure that the generated token (signature) matches when we update the SDK.
What this PR does / why we need it:
Preparation for #736

/lgtm

/lgtm


[FEATURE REQ] Helper method to build a connection string for Event Hubs & Service Bus

Library or service name.
Azure Service Bus and Azure Event Hubs
Is your feature request related to a problem? Please describe.
Today, the clients in Azure.Messaging.EventHubs and Azure.Messaging.ServiceBus libraries allow client construction using connection string which can either have the SharedAccessSignature (SAS token) directly in it or have the SharedAccessKey & SharedAccessKeyName in it using which the client can then create the SharedAccessSignature
When having just the SharedAccessSignature in hand, one needs to build a connection string with it.
There can also be cases where one has access to the SharedAccessKey and its name, but not the entire connection string.
Once we have #15887, this is not much of a concern as one can create a SharedAccessKeyCredential class using the above information, and then pass it to the new client constructor overload after parsing the namespace & entitypath details from connectionString (#15892) or a configuration system of choice.
But, we still would have a gap where we support a version of the connection string that has to be built by hand.
Therefore, this feature request is to have a helper method in both Event Hubs & Service Bus that would take

fully qualified namespace
entity path (optional, could be named "EventHubName" in Event Hubs and "QueueOrTopicName in Service Bus)
SharedAccessKey & SharedAccessKeyName (optional)
SharedAccessSignature (optional)

cc @jsquire, @JoshLove-msft, @MiYanni

I'm going to close this as a dupe of #12564.  That design would extend to both messaging services.


ppp: 2.4.7 -> 2.4.8 & CVE-2020-8597 fix

Motivation for this change
This bumps to the latest upstream version, uses upstream versions of some patches and finally applies a new patch for CVE-2020-8597.
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

@GrahamcOfBorg test pppd

:+1: Seems to work fine on a german DSL line.

Cherry-picked as:
[release-20.03 f3fc8ac9258] ppp: 2.4.7 -> 2.4.8
 Author: Andreas Rammhold<EMAIL_ADDRESS> Date: Fri Mar 6 23:33:06 2020 +0100
 3 files changed, 21 insertions(+), 27 deletions(-)
[release-20.03 ed5fef01177] ppp: apply patch for CVE-2020-8597
 Author: Andreas Rammhold<EMAIL_ADDRESS> Date: Fri Mar 6 23:35:18 2020 +0100
 1 file changed, 5 insertions(+)


Meetup API cloud function (or regular GET)

Simple GET http://api.meetup.com/newhavenio/events.
If we run into CORS / auth issues, slap this in a cloud function. Else, just query directly.

Just kidding looks like this is done via GraphQL already.


Mobile browsers squish featured images

Description

The featured images on Firefox Android are squished horizontally

This also happens on Mobile Safari on iPad

Reproduction

Visit wp.org/openverse on Firefox Android
See the squished featured images

Expectation

The images should be round
Environment

Device: TCL A507DL
OS: Android 10
Browser: Firefox for Android (from F-Droid)
Version:
Other info:

Additional context

Resolution

[ ] 🙋 I would be interested in resolving this bug.

I can't reproduce this any more. @zackkrida you have an Android phone, right? Can you test this and close if it's not reproducible?

Looks good in Firefox but looks absolutely bonkers in "Samsung Internet Browser" (ignore their [awful] automatic dark mode), which i believe is Chromium based:

Okay that's the same thing I was seeing on my other android testing phone, so I guess it's still a problem.

Can't reproduce on Safari on iOS 15.3.

I'm remembering now that I fixed this by updating my FF browser on Android. Wondering if it's just an older version of chrome in that Samsung browser?

This works properly in real Chrome on Android too, so definitely something wrong with Samsung's browser specifically.

@zackkrida since you're the only person so far who can still reproduce this would you be willing to try to find a fix? I suspect it's probably something funky going on with the overflows and flex shrinking the items.

Yeah, definitely! I'm assuming it's an old browser version + flexbox bugs, this seems pretty consistent with old flexbox bugs back when the properties were vendor-prefixed.

I'm not sure anyone can reproduce this at the moment unless they're using an irresponsibly old browser version. Closing this. If it's an issue we can report it again and solve it then.


binder

Do you think we could make the notebooks run on https://mybinder.org?

Since binder does not offer GPU access, I am not sure it will be very useful. Maybe colab is a better option