Is there a version for RPi4?

Hi,
I happily use this on Windows: https://portapps.io/app/ungoogled-chromium-portable/
But I can't find a simple method for me to use ungoogled-chromium on my RPi4 (Raspberry Pi 4 Model B)
can someone advise me please?

I haven't tested it myself, but the Flatpak release seems to be available for aarch64.

can your write a command or a link, I'm a noob in this :-p

You need to install Flatpak first (see https://flatpak.org/setup), and then you will be able to install Ungoogled Chromium with it too (see https://flathub.org/apps/details/com.github.Eloston.UngoogledChromium).

I hope your question(-s) has(-ve) been answered, otherwise please let us know.
Closing this issue for now.


How Do i create a Token manually without getting error

I'm trying to create  a Token manually from the Django shell and i get this error
user_id = getattr(user, api_settings.USER_ID_FIELD)
AttributeError: 'str' object has no attribute 'email'
my code is as follows for settings.py:
SIMPLE_JWT={     'USER_ID_FIELD':'email' }
and I use this code on my  Django shell:
from rest_framework_simplejwt.tokens import RefreshToken refresh =<EMAIL_ADDRESS>

"user" is for a user object, not a string as the traceback says. You passed in a string of the email when really the code expect the user object which has the attribute of email.

You are right, the code was expecting a 'user' object. The code below worked perfectly fine for my custom model
from apps.models import customModel as u
from rest_framework_simplejwt.tokens import RefreshToken
<EMAIL_ADDRESS>token=RefreshToken.for_user(a)


Carthage support

Hi,
For iOS projets it's will be great to make your component Carthage compatible
Take a look at these articles:

Ruthlessly Simple Dependency Management with Carthage
Carthage Tutorial: Getting Started
Making Carthage-compatible Frameworks with Swift
Creating Cross-Platform Swift Frameworks for iOS, watchOS, and tvOS via Carthage and CocoaPods 👍

On your README.md add   on top and add section for the installation with Carthage.

@TofPlay you can always make a PR yourself.

@RuiAAPeres @TofPlay
No worries. I will do this tonight. Need some project restructuring.

@TofPlay it probably took you more time finding those resources than opening a PR with the feature itself. :) It's always a nice opportunity to contribute to open source. :)

@TofPlay you can always make a PR yourself.

@RuiAAPeres I would like 😀  But I already totally busy 😥  I would need some days with 72 hours by a day and yet I'm not sure that would be enough 😭

@RuiAAPeres @TofPlay
No worries. I will do this tonight. Need some project restructuring.

Thanks @lkzhao 👍 🙂


Minor: Quiet down the brew installs

The Issue
I was just doing some work on an add-on and saw all the unuseful brew install output, suggest quieting it down.

Hey @rfay,
thanks for the PR.
I asked my friend ChatGpt about this, and he suggests redirecting only stdout (i.e. >/dev/null) so that errors (and warnings) in stderr remain visible for debugging.
brew tap kaos/shell > /dev/null
brew install bats-core bats-file bats-assert bats-support jq mkcert yq > /dev/null

I didn't test the result, I'm not a stderr/stdout expert, and ChatGpt can be misleading, so what do yo think ?
Thanks

That's what this PR already implements, but it also redirects stderr.

Shouldn't it be better to keep errors visible ? (for debugging purpose)
Thanks

I removed the stderr redirection, although my own experience is that those don't fail except when there's a network problem or a fundamental problem (like tap or package not being available any more). But there shouldn't be much if anything going to stderr anyway, so should be OK. Thanks so much for caring for this!


Improving examples with turtle

https://www.educba.com/python-turtle/
https://discuss.cloudxlab.com/t/fun-with-python-turtle-graphics-module-share-your-turtle-art/4096
http://www.deborahrfowler.com/PythonResources/PythonTurtle.html
https://www.cs.utexas.edu/~byoung/cs303e/slides13-turtles-nup.pdf
https://www.101computing.net/moroccan-mosaic/

With current examples are enough


CLI doesn't display data of a database.

What version of Genji are you using?

$ genji version
Genji (devel)
Genji CLI (devel)

Does this issue reproduce with the latest release?
Yes
What did you do?
Create a db file and insert some data into it. sample code
After that open the db with genji CLI and there is no data displayed.
Opening my.db with boltbrowser we can see all tables and its content.
What did you expect to see?
The .tables. command should display the list of tables;
SELECT * FROM user; should return the data the user table.
What did you see instead?
.tables returns nothing
SELECT * FROM user; returns "user" not found.

If you are using the main branch, you need to recompile the Genji binary every time you pull.
git clone git@github.com:genjidb/genji.git
cd genji/
make

This is what I do. I did a new clone with a new compilation and it is the same behaviour.

I can't reproduce the error. Can you share your go.mod please?
What I suspect is one of these:

the go.mod is pointing to the latest release, but the CLI is pointing to the latest commit
the go.mod is pointing to the latest commit, but the CLI is pointing to the latest release
you are reopening an old database

Oh my bad,you're right the go.mod is pointing to the latest release, but the CLI is pointing to the latest commit.
I close the issue.


12867 fix mic boost

Fix audio recording on XO-1.75 and XO-4 by setting the Analog Mic Boost control, which may have been cleared by Measure or other activities.  See 1fc10e8 for more detail.

Merged


Pass second-order closure to all optimizers (not just LBFGS)

🚀 Feature
I could be wrong, but I noticed the following in the code of lightning module's optimizer_step
        if on_tpu:
            xm.optimizer_step(optimizer)
        elif using_native_amp:
            self.trainer.scaler.step(optimizer)
        elif using_lbfgs:
            optimizer.step(second_order_closure)
        else:
            optimizer.step()

If someone uses a custom optimizer that needs the closure returning the loss multiple times, it won't work.
Pitch
Since all classes that inherit from torch.optim.Optimizer have the step method accept a closure (even if they don't need it), we could just do
        if on_tpu:
            xm.optimizer_step(optimizer)
        elif using_native_amp:
            self.trainer.scaler.step(optimizer)
        # elif using_lbfgs:
        #     optimizer.step(second_order_closure)
        else:
            optimizer.step(second_order_closure)

and drop the "using_lbfgs" argument?
Alternatives
The user has to override the optimizer_step themself.

it sounds as a good way to go to me...
cc: @williamFalcon

we had that before but removed it for some reason. I can't remember it though. But i originally agreed.
Let's do this after 0.9.0 since we need to dig back to why it changed

@awaelchli want to take a look at this now? or better post v1?

@williamFalcon LBFGS not being compatible with native amp is the only exception I found in the code. maybe you mean that?
@edenlightning I don't think it's an essential for v1.0, but if you wish to have the final api without this argument "using_lbfgs" for optimizer step, then I could send a PR.


Allow Core Tags to be selectable

Summary
The documentation for the click functionality of a CdsTag describes a scenario where a user might click a tag to filter some data (choosing chocolate, vanilla, or strawberry). This implies that a user has the ability to select that option, making the tag more like a checkbox than a button, but Clarity doesn't support any sort of selected state. Devs can manage that state and change the color of the tags themselves on a selected state, but that alone isn't accessible, nor does it offer any consistency between pages and applications.
Use case
We have a data list with two tags used as filter, it would be nice to be able to make them accessible and treat them like a checkbox.
At the very least, if Clarity doesn't want to maintain a selected state, allowing devs to set the aria attributes on the tag and change the role on the tag from button to checkbox would allow me to not need a wrapper element to set all the accessibility properties (including aria-checked).
Examples
Ant Design supports Checkable Tags: https://ant.design/components/tag/#components-tag-demo-checkable
Workarounds
Yes, I have a workaround here with two options: https://stackblitz.com/edit/react-ts-9facy9?file=index.tsx
Option 1: Add a wrapper element for accessibility and change the color prop of the tag
Option 2: Create a wrapper component to encapsulate the accessibility attributes and color change (this is what we're providing to our devs for now)

I had threads on slack about this as well in clarity-support and accessibility-dev.

I had threads on slack about this as well in clarity-support and accessibility-dev.


[Bug]: sidebar component does not respect typescript: false in components.json

Reproduction
https://stackblitz.com/edit/vitejs-vite-e8iurs
Describe the bug
Same as #732 but for Sidebar
System Info
System:
    OS: Windows 11 10.0.22631
    CPU: (20) x64 13th Gen Intel(R) Core(TM) i9-13905H
    Memory: 36.36 GB / 63.73 GB
  Binaries:
    Node: 22.11.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.9.0 - C:\Program Files\nodejs\npm.CMD

Contributes

[X] I am willing to submit a PR to fix this issue
[ ] I am willing to submit a PR with failing tests

It's however unclear how to exactly fix this, I tried looking at the fix for the similar issue, and it was not obvious.

Can you try again? I realised some error with the registry and pushed a fix 😁

I've tested as well and it appears to be still importing .ts classes.


[Das_Schwarze_Auge_4-1] Bug Fixes

Changes / Comments

Fixes

Parry value of active weapon always 0 (8ef92ddf209566383d85f19e447348c4c8cedf4c)
Shield parry not available due to typo (a946cdac95e6e9c3645ca578fe3ec1e951edfbba)
Shield attack/parry not available when wound modifiers not existant (3d4e22f1a6968e17f88a84ec644eb54affbbe7d1)
Hardening of attribute checks/comparisons (61ac5c90d2d42ab7681d8b083536bf60bd422eee, e81174ba2c04e618f454ae4a36c82c0db9702ec8)

Miscellaneous

Bump version number (3d4e22f1a6968e17f88a84ec644eb54affbbe7d1)
Add description for latest changes (badf5509a978c4a3bf727a1bbca5eeca2ff7083d)

Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[X] Does the pull request title have the sheet name(s)? Include each sheet name.
[X] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


roslices, romaps: add iteration method

Add a method for iteration of elements, e.g.
func (s Slice[E]) Do(fn func(E)) {}

Alternative names:

Range
ForEach

Added new method romaps.Map.Do. Benchmarks show this is faster than iterating over the result of romaps.Keys.
Decided against adding roslices.Slice.Do after benchmarks showed it's slower than a for loop over roslices.Slice.Index, e.g.
for i := 0; i < s.Len(); i++ {
	v := s.Index(i)
}

Thanks for this, but sometimes readability of the code is more important than the performance. Plenty of projects could be very happy with a roslices.Slice.Do instead of a for loop.
Thanks anyway.


REL: v0.0.2

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin please add user @dmgav

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@conda-forge-admin, please update team

@mrakitin Could you try merging this PR?

In the future just make an issue like this: https://github.com/conda-forge/bluesky-queueserver-api-feedstock/issues/3
Any one can do that and our admin service will fix permissions.

you also need to accept invites to conda-forge if you have not

Thanks, @beckermr! Noted, will use this command if I experience a similar issue in the future.


Publish tagged HC releases on Dockerhub in MITRE namespace

Resolves #22.
Repo has been updated with secrets for DOCKER_USERNAME and DOCKER_TOKEN.
Being a github action, this is difficult to test without publishing a new release or manually triggering by modifying the on field of the action's .yml file.
In theory we should be able to manually trigger from GitHub once this is merged into main

If we're not planning on doing multi-platform Docker builds, then we can get rid of buildx (and qemu). Just something used in the example for build-and-push action that SAF likely copied, and I copied from them.


Optimize webp-hero.bundle.js by tinyify

[Before]
webp-hero.bundle.js 449KB
[After]
webp-hero.bundle.js 388KB
(449 - 388) / 449 = 13.6%

@superche — excellent, thank you for your contribution!

Thanks Chase,
Actually, I'm wondering if there is any way to further optimize the bundle size. As you know, WebP is used to reduce network traffic. But webp-hero still needs 388KB now.
Maybe in the emcc step, but I'm not very familiar with it. Wish there is a solution to make it less than 100KB. 😃


Build failing with: The type initializer for 'Platform' threw an exception.

Hi, I'm trying to compile on NixOS and I get:
./build.sh -v diagnostic
build.log
Any suggestion?
Thanks, Nicolò

What is the content of the /etc/os-release/ file on your machine?

Thanks! We're trying to construct a  System.Version` from "VERSION_ID", but it looks like NixOS does something very differently here. The build script will need to be updated here: https://github.com/OmniSharp/omnisharp-roslyn/blob/master/scripts/platform.cake#L115-L123


Rework the terms page

Terminology page is incomplete.

Hi @wkande, seeing this is in testing, can I take a look at the terms page and compare versions? Let me know please.

Let that one go. It is ChainAPI.
On Fri, 1 Jul 2022 at 00:16, Martin Kolenič @.***>
wrote:

Hi @wkande https://github.com/wkande, seeing this is in testing, can I
take a look at the terms page and compare versions? Let me know please.
—
Reply to this email directly, view it on GitHub
https://github.com/api3dao/api3-docs/issues/828#issuecomment-1171978425,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA23522AO5NDWNU2WS254PDVR2EKTANCNFSM5ZQJDYVQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


EC2 - Simplify parameter handling

The EC2 utils file contained logic to parse parameters, but all that logic was a duplicate of the existing _get_param()/_get_multi_param()/etc methods.
This PR removes the EC2-specific methods, and uses the generic methods instead.

Codecov Report

Merging #4965 (c652358) into master (647c612) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4965      +/-   ##
==========================================
- Coverage   95.63%   95.63%   -0.01%
==========================================
  Files         620      621       +1
  Lines       65442    65405      -37
==========================================
- Hits        62587    62550      -37
  Misses       2855     2855

Flag
Coverage Δ

servertests
36.13% <60.00%> (-0.01%)
:arrow_down:

unittests
95.57% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

moto/ec2/utils.py
93.66% <ø> (-0.64%)
:arrow_down:

moto/ec2/models.py
94.59% <100.00%> (ø)

moto/ec2/responses/_base_response.py
100.00% <100.00%> (ø)

moto/ec2/responses/amis.py
98.55% <100.00%> (-0.03%)
:arrow_down:

moto/ec2/responses/carrier_gateways.py
100.00% <100.00%> (ø)

moto/ec2/responses/customer_gateways.py
100.00% <100.00%> (ø)

moto/ec2/responses/dhcp_options.py
100.00% <100.00%> (ø)

moto/ec2/responses/elastic_block_store.py
96.77% <100.00%> (-0.03%)
:arrow_down:

moto/ec2/responses/elastic_ip_addresses.py
98.41% <100.00%> (ø)

moto/ec2/responses/elastic_network_interfaces.py
98.90% <100.00%> (ø)

... and 33 more

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 647c612...c652358. Read the comment docs.


Present full working azure-pipelines.yml examples

It's quite annoying that the documentation always splits up every section of a azure-pipelines.yml file and never shows an actual full example. Leaving the user to waste hours trying to get the file to work after piecing together every little section of code.
Present full working examples.

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

ID: 86b2fdca-9125-9720-3d03-3c6dd336f100
Version Independent ID: b2a24e28-9858-fe1c-4527-745f1f387e4e
Content: Build, test, and deploy JavaScript and Node.js apps - Azure Pipelines
Content Source: docs/pipelines/ecosystems/javascript.md
Product: devops
Technology: devops-cicd
GitHub Login: @chasewilson
Microsoft Alias: phwilson

I agree.
I'm not sure how to put these steps together, it would be nice to see a full example of something that builds, packages, and deploys something. Then maybe highlight the individual parts that can be modified based on your needs


Vtctl topo related fixes / additions.

Re-factoring topo wildcard tests
adding a topo.Conn wildcard resolution (based on the zk wildcard resolution).
adding 'vtctl TopoCat' command.
updating the topology service doc.

LGTM


dualStack e2e test fails

Environmental Info:
K3s Version:

Ay k3s
Node(s) CPU architecture, OS, and Version:

Cluster Configuration:

Any
Describe the bug:

Test fails when it tries to curl an IPv6 address because the ipv6 gateway does not exist
Steps To Reproduce:

Installed K3s:
go test -v -timeout=25m ./tests/e2e/dualstack/dualstack_test.go

Expected behavior:

Test pass
Actual behavior:

Test fails
Additional context / logs:

Validated using commit id d5881385 on master branch
Verify DualStack Configuration Starts up with no issues
agent-0    Ready   <none>                      31s     v1.25.3+k3s-d5881385   <IP_ADDRESS>   <IP_ADDRESS>   Ubuntu 20.04.5 LTS   5.4.0-126-generic   containerd://1.6.8-k3s1
server-0   Ready   control-plane,etcd,master   2m47s   v1.25.3+k3s-d5881385   <IP_ADDRESS>   <IP_ADDRESS>   Ubuntu 20.04.5 LTS   5.4.0-126-generic   containerd://1.6.8-k3s1
server-1   Ready   control-plane,etcd,master   60s     v1.25.3+k3s-d5881385   <IP_ADDRESS>   <IP_ADDRESS>   Ubuntu 20.04.5 LTS   5.4.0-126-generic   containerd://1.6.8-k3s1
server-2   Ready   control-plane,etcd,master   30s     v1.25.3+k3s-d5881385   <IP_ADDRESS>   <IP_ADDRESS>   Ubuntu 20.04.5 LTS   5.4.0-126-generic   containerd://1.6.8-k3s1

"state":"passed","name":"Checks Node Status",
kube-system   coredns-597584b69b-87lzc                  1/1   Running     0     2m33s   <IP_ADDRESS>   server-0   <none>   <none>
kube-system   helm-install-traefik-crd-9ff2h            0/1   Completed   0     2m33s   <IP_ADDRESS>   server-0   <none>   <none>
kube-system   helm-install-traefik-xrt4f                0/1   Completed   2     2m33s   <IP_ADDRESS>   server-0   <none>   <none>
kube-system   local-path-provisioner-79f67d76f8-nwzsm   1/1   Running     0     2m33s   <IP_ADDRESS>   server-0   <none>   <none>
kube-system   metrics-server-5c8978b444-klq4g           1/1   Running     0     2m33s   <IP_ADDRESS>   server-0   <none>   <none>
kube-system   svclb-traefik-dea9cd9e-5wph2              2/2   Running     0     58s     <IP_ADDRESS>   server-1   <none>   <none>
kube-system   svclb-traefik-dea9cd9e-6grzw              2/2   Running     0     29s     <IP_ADDRESS>   server-2   <none>   <none>
kube-system   svclb-traefik-dea9cd9e-8l8jh              2/2   Running     0     108s    <IP_ADDRESS>   server-0   <none>   <none>
kube-system   svclb-traefik-dea9cd9e-bv8p7              2/2   Running     0     21s     <IP_ADDRESS>   agent-0    <none>   <none>
kube-system   traefik-68cb5f8998-qrhjr                  1/1   Running     0     108s    <IP_ADDRESS>   server-0   <none>   <none>
"state":"passed","name":"Checks Pod Status"
"state":"passed","name":"Verifies that each node has IPv4 and IPv6",
"state":"passed","name":"Verifies that each pod has IPv4 and IPv6",
"state":"passed","name":"Verifies ClusterIP Service"
"state":"passed","name":"Verifies Ingress"
"state":"passed","name":"Verifies NodePort Service"
"state":"passed","name":"Verifies podSelector Network Policy"


ui: explore page filters refactoring

Describe your changes :

I worked on:

[x] Changing the behavior of quick dropdown filters to be the same as left panel filters

AND condition across different fields.
OR condition inside the same field filters.

https://user-images.githubusercontent.com/51777795/225558150-1f2a9580-8ce5-4087-a9c0-5913e374e048.mov

[x] Changed facet filters updation logic where the selected categories will not update to allow multiple selections.

https://user-images.githubusercontent.com/51777795/226355640-a238f97a-5852-4b33-85c1-79984b7b8a39.mov

[x] Separated the URL parameter variables to store Facet filter, Quick dropdown filter, and Advanced search filter to be able to determine respectively applied filters from the URL.

https://user-images.githubusercontent.com/51777795/225558689-72726cb1-2260-4588-b0a8-5475d0891b67.mov

[x] Added logic to retain the applied Owner and Tags quick dropdown filters after tabs change.

https://user-images.githubusercontent.com/51777795/225559187-6bbf5aaf-4735-4521-936c-893e3bdc9f9c.mov

Type of change :

[x] Bug fix
[x] Improvement

Frontend Preview (Screenshots) :

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

Frontend: @open-metadata/ui

lets merge this in @aniketkatkar97

@harshach Looking into a bug I found while testing on this PR. I will push the fix in some time.

@aniketkatkar97 check Maven-CI & 3 Code Smells


link in readme redirects to this domain is for sale site

the link at the start of the readme saying "in Poland" redirects to a this domain is for sale site.

Should it redirect to the same site as it does in "in Romania" ?

Closed by https://github.com/Leaflet/Leaflet/commit/98180b120ad8e2cbcd896e5137222428893552b8


chore: AssumeRoleDuration to set Default to 15 min

Fixes #N/A
Description

Set default for AssumeRoleDuration for karpenter
Previously used helm chart to set default

How was this change tested?

/karpenter snapshot

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@engedaam: how do we know that 15 minutes is a good choice?

@engedaam: how do we know that 15 minutes is a good choice?

@sftim By default assumeRoleDuration is set at 15min<EMAIL_ADDRESS>


Does not list sub-definitions.

For example, the page for the word "cat" reads as the following:

but WiktionaryParser gives this:
"text": [
  "cat (plural cats)",
  "An animal of the family Felidae:",
  "A person:",
  "(nautical) A strong tackle used to hoist an anchor to the cathead of a ship.",
  "..."
]

There's also the line "cat (plural cats)" at the beginning that shouldn't be there, but that's a separate issue and can be easily removed in code.

Interesting, thanks for pointing out! Feel free to submit a PR if you have a fix for this


No such file or directory (os error 2) when running with nix-shell --pure

When running cargo-msrv inside a Nix shell, I get the following error:
$ nix-shell --pure
$ cargo msrv
No such file or directory (os error 2)

It works if I just use nix-shell (without --pure). Here's what --pure does:
 --pure
   If this flag is specified, the environment is almost entirely cleared before the interactive shell is
   started, so you get an environment that more closely corresponds to the “real” Nix build. A few variables,
   in particular HOME, USER and DISPLAY, are retained. Note that ~/.bashrc and (depending on your Bash
   installation) /etc/bashrc are still sourced, so any variables set there will affect the interactive shell.

It seems cargo-msrv depends on something in the environment which Nix seems to be removing. It would be helpful if there was a way of getting a backtrace on the error so that it becomes easier to track the source of it.
CC @crazystylus

Thanks for the report! I agree that the error message (and other) must be improved, which is on my todo list. Usually, this error is thrown when there is no Cargo.toml manifest in the current directory.

It still returns the same error with --no-log. The Cargo.toml manifest is present in the directory, so that can't be the problem.

Which version are you on? cargo msrv --version
Does any other command work (e.g. cargo msrv list)?
Interestingly, you don't see the message Fetching index prior to the error.

Which version are you on? cargo msrv --version
Does any other command work (e.g. cargo msrv list)?

I'm on version 0.12.0. --version and --help work fine. cargo msrv list throws the same error.

Interestingly, you don't see the message Fetching index prior to the error.

Correct.

I'm not a nix user myself, which makes it slightly more difficult to debug. Is there an easy way to temporarily setup or access a nix environment?

I haven't really used Nix any other way, so I'm not sure if there's an easier way, but you could install it in a Docker Ubuntu image.

I'm not a nix user myself, which makes it slightly more difficult to debug. Is there an easy way to temporarily setup or access a nix environment?
I haven't really used Nix any other way, so I'm not sure if there's an easier way, but you could install it in a Docker Ubuntu image.

I'll give it a shot :)

Sounds good! You'll need to put a shell.nix file in your repository to use nix-shell. Here's the one I'm using for zoxide: https://github.com/ajeetdsouza/zoxide/blob/main/shell.nix
I was planning to add cargo-msrv to my CI when I found this bug. If you want to install cargo-msrv from Nix instead of using a local binary, you can just add pkgs-latest.cargo-msrv under buildInputs. Do let me know if you need any more help.

shell.nix:
let
  rust = import (builtins.fetchTarball
    "https://github.com/oxalica/rust-overlay/archive/ad311f5bb5c5ef475985f1e0f264e831470a8510.tar.gz");
  pkgs = import <nixpkgs> { overlays = [ rust ]; };
  pkgs-latest = import (builtins.fetchTarball
    "https://github.com/NixOS/nixpkgs/archive/3ef1d2a9602c18f8742e1fb63d5ae9867092e3d6.tar.gz")
    { };
in pkgs.mkShell {
  buildInputs = [
    # deps
    pkgs.openssl

    # Rust
    pkgs.rust-bin.stable.latest.default

    # cargo-msrv
    pkgs-latest.cargo-msrv
  ];

  RUST_BACKTRACE = 1;
}

nix-shell output:
 cargo run -- --log-level trace --log-target stdout --output-format void --bisect --minimum 1.37.0 --path ./feature
s/1.38.0
    Finished dev [unoptimized + debuginfo] target(s) in 0.04s
     Running `target/debug/cargo-msrv --log-level trace --log-target stdout --output-format void --bisect --minimum 1.37.0 --path ./features/1.38.0`
2021-11-14T01:31:42.500124Z  INFO cargo_msrv: initializing cargo_msrv_version="0.12.0"
2021-11-14T01:31:42.500193Z  INFO cargo_msrv: fetching index source="rust-changelog"
2021-11-14T01:31:42.502928Z  INFO cargo_msrv: running action action="determine-msrv"
2021-11-14T01:31:42.503032Z  INFO cargo_msrv::subcommands::determine_msrv: bisect_enabled=true
2021-11-14T01:31:42.503070Z  INFO cargo_msrv::check: ignore_lockfile_enabled=false
2021-11-14T01:31:42.503179Z  INFO download_if_required: cargo_msrv::check: installing toolchain toolchain="1.47.0-x86_64-unknown-linux-gnu" version="1.47.0"
2021-11-14T01:31:42.503245Z DEBUG download_if_required: cargo_msrv::command: cmd="install" args=["--profile", "minimal", "1.47.0-x86_64-unknown-linux-gnu"]
2021-11-14T01:31:43.554838Z DEBUG cargo_msrv::command: cmd="run" args=["1.47.0-x86_64-unknown-linux-gnu", "cargo", "check", "--all"]
2021-11-14T01:31:43.644580Z  INFO cargo_msrv::check: ignore_lockfile_enabled=false
2021-11-14T01:31:43.644713Z  INFO download_if_required: cargo_msrv::check: installing toolchain toolchain="1.42.0-x86_64-unknown-linux-gnu" version="1.42.0"
2021-11-14T01:31:43.644800Z DEBUG download_if_required: cargo_msrv::command: cmd="install" args=["--profile", "minimal", "1.42.0-x86_64-unknown-linux-gnu"]
2021-11-14T01:31:44.390796Z DEBUG cargo_msrv::command: cmd="run" args=["1.42.0-x86_64-unknown-linux-gnu", "cargo", "check", "--all"]
2021-11-14T01:31:44.504201Z  INFO cargo_msrv::check: ignore_lockfile_enabled=false
2021-11-14T01:31:44.504322Z  INFO download_if_required: cargo_msrv::check: installing toolchain toolchain="1.39.0-x86_64-unknown-linux-gnu" version="1.39.0"
2021-11-14T01:31:44.504399Z DEBUG download_if_required: cargo_msrv::command: cmd="install" args=["--profile", "minimal", "1.39.0-x86_64-unknown-linux-gnu"]
2021-11-14T01:31:45.226230Z DEBUG cargo_msrv::command: cmd="run" args=["1.39.0-x86_64-unknown-linux-gnu", "cargo", "check", "--all"]
2021-11-14T01:31:45.383112Z  INFO cargo_msrv::check: ignore_lockfile_enabled=false
2021-11-14T01:31:45.383236Z  INFO download_if_required: cargo_msrv::check: installing toolchain toolchain="1.38.0-x86_64-unknown-linux-gnu" version="1.38.0"
2021-11-14T01:31:45.383323Z DEBUG download_if_required: cargo_msrv::command: cmd="install" args=["--profile", "minimal", "1.38.0-x86_64-unknown-linux-gnu"]
2021-11-14T01:31:46.155251Z DEBUG cargo_msrv::command: cmd="run" args=["1.38.0-x86_64-unknown-linux-gnu", "cargo", "check", "--all"]
2021-11-14T01:31:46.287723Z  INFO cargo_msrv::check: ignore_lockfile_enabled=false
2021-11-14T01:31:46.287853Z  INFO download_if_required: cargo_msrv::check: installing toolchain toolchain="1.37.0-x86_64-unknown-linux-gnu" version="1.37.0"
2021-11-14T01:31:46.287929Z DEBUG download_if_required: cargo_msrv::command: cmd="install" args=["--profile", "minimal", "1.37.0-x86_64-unknown-linux-gnu"]
2021-11-14T01:31:47.079816Z DEBUG cargo_msrv::command: cmd="run" args=["1.37.0-x86_64-unknown-linux-gnu", "cargo", "check", "--all"]
2021-11-14T01:31:47.444488Z  INFO cargo_msrv::check: try_building run failed toolchain="1.37.0-x86_64-unknown-linux-gnu" stderr="    Checking v_1_38_0 v0.1.0 (/home/a/ws/cargo-msrv/features/1.38.0)\nerror[E0658]: use of unstable library feature 'duration_float'\n --> src/main.rs:2:44\n  |\n2 |     let _ = std::time::Duration::new(1, 1).as_secs_f32();\n  |                                            ^^^^^^^^^^^\n  |\n  = note: for more information, see https://github.com/rust-lang/rust/issues/54361\n\nerror: aborting due to previous error\n\nFor more information about this error, try `rustc --explain E0658`.\nerror: Could not compile `v_1_38_0`.\n\nTo learn more, run the command again with --verbose.\n" cmd="1.37.0-x86_64-unknown-linux-gnu cargo check --all"
2021-11-14T01:31:47.444620Z  INFO cargo_msrv::subcommands::determine_msrv: found minimal-compatible toolchain toolchain="1.38.0-x86_64-unknown-linux-gnu" version="1.38.0"
2021-11-14T01:31:47.444655Z  INFO cargo_msrv: finished

nix-shell --pure output:
 cargo run -- --log-level trace --log-target stdout --output-format void --bisect --minimum 1.37.0 --path ./features/1.38.0
    Finished dev [unoptimized + debuginfo] target(s) in 0.04s
     Running `target/debug/cargo-msrv --log-level trace --log-target stdout --output-format void --bisect --minimum 1.37.0 --path ./features/1.38.0`
No such file or directory (os error 2)

What I think that happens, is that rustup is not made available to the environment when using --pure; possibly you could try this by adding   pkgs.rustup to the install file.
Now I couldn't test it out further as my environment seems broken now, and I'm a bit lost on how to fix it:
[nix-shell:~/ws/cargo-msrv]$ cargo run -- --log-level trace --log-target stdout --output-format void --bisect --minimum 1.37.0 --path ./features/1.38.0
   Compiling time-macros-impl v0.1.2
   Compiling serde v1.0.130
   Compiling futures-util v0.3.17
   Compiling tokio v1.13.0
   Compiling tracing v0.1.29
   Compiling thiserror v1.0.30
   Compiling comfy-table v4.1.1
error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/a/ws/cargo-msrv/target/debug/deps/libthiserror_impl-c0dba69f984991bc.so)
   --> /home/a/.cargo/registry/src/github.com-1ecc6299db9ec823/thiserror-1.0.30/src/lib.rs:213:9
    |
213 | pub use thiserror_impl::*;
    |         ^^^^^^^^^^^^^^

error: could not compile `thiserror` due to previous error
warning: build failed, waiting for other jobs to finish...
error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]`
  --> /home/a/.cargo/registry/src/github.com-1ecc6299db9ec823/time-macros-impl-0.1.2/src/lib.rs:96:1
   |
96 | pub fn time(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/a/ws/cargo-msrv/target/debug/deps/libstrum_macros-8d2cce23a717d326.so)
 --> /home/a/.cargo/registry/src/github.com-1ecc6299db9ec823/comfy-table-4.1.1/src/style/table.rs:1:5
  |
1 | use strum_macros::EnumIter;
  |     ^^^^^^^^^^^^

error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]`
   --> /home/a/.cargo/registry/src/github.com-1ecc6299db9ec823/time-macros-impl-0.1.2/src/lib.rs:102:1
    |
102 | pub fn offset(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: `proc-macro` crate types currently cannot export any items other than functions tagged with `#[proc_macro]`, `#[proc_macro_derive]`, or `#[proc_macro_attribute]`
   --> /home/a/.cargo/registry/src/github.com-1ecc6299db9ec823/time-macros-impl-0.1.2/src/lib.rs:108:1
    |
108 | pub fn date(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/a/ws/cargo-msrv/target/debug/deps/libproc_macro_hack-80507b6e2c8a62a1.so)
  --> /home/a/.cargo/registry/src/github.com-1ecc6299db9ec823/time-macros-impl-0.1.2/src/lib.rs:89:5
   |
89 | use proc_macro_hack::proc_macro_hack;
   |     ^^^^^^^^^^^^^^^

error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/a/ws/cargo-msrv/target/debug/deps/libtracing_attributes-a778389f3cdaca39.so)
   --> /home/a/.cargo/registry/src/github.com-1ecc6299db9ec823/tracing-0.1.29/src/lib.rs:913:9
    |
913 | pub use tracing_attributes::instrument;
    |         ^^^^^^^^^^^^^^^^^^

error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/a/ws/cargo-msrv/target/debug/deps/libserde_derive-fe5d695df3fcf971.so)
   --> /home/a/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.130/src/lib.rs:293:1
    |
293 | extern crate serde_derive;
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^

error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/a/ws/cargo-msrv/target/debug/deps/libfutures_macro-1edac96710cb6307.so)
 --> /home/a/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-util-0.3.17/src/async_await/stream_select_mod.rs:7:9
  |
7 | pub use futures_macro::stream_select_internal;
  |         ^^^^^^^^^^^^^

error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/a/ws/cargo-msrv/target/debug/deps/libtokio_macros-3b9c6a3dbe00716c.so)
   --> /home/a/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.13.0/src/lib.rs:498:13
    |
498 |     pub use tokio_macros::select_priv_declare_output_enum;
    |             ^^^^^^^^^^^^

error: build failed

Now I couldn't test it out further as my environment seems broken now, and I'm a bit lost on how to fix it, or even clean up the nix environment

Fixed this by doing a regular cargo clean (but it feels awfully flaky :))
Showing that it works when adding rustup as a nix dependency:
cargo-msrv on  main [!?] is 📦 v0.12.0 via 🦀 v1.56.1 took 53s
❯ nix-shell --pure

[nix-shell:~/ws/cargo-msrv]$ cargo run -- --log-level trace --log-target stdout --output-format void --bisect --minimum 1.37.0 --path ./features/1.38.0
    Finished dev [unoptimized + debuginfo] target(s) in 0.04s
     Running `target/debug/cargo-msrv --log-level trace --log-target stdout --output-format void --bisect --minimum 1.37.0 --path ./features/1.38.0`
2021-11-14T02:20:02.394963Z  INFO cargo_msrv: initializing cargo_msrv_version="0.12.0"
2021-11-14T02:20:02.395022Z  INFO cargo_msrv: fetching index source="rust-changelog"
2021-11-14T02:20:02.397588Z  INFO cargo_msrv: running action action="determine-msrv"
2021-11-14T02:20:02.397690Z  INFO cargo_msrv::subcommands::determine_msrv: bisect_enabled=true
2021-11-14T02:20:02.397723Z  INFO cargo_msrv::check: ignore_lockfile_enabled=false
2021-11-14T02:20:02.397825Z  INFO download_if_required: cargo_msrv::check: installing toolchain toolchain="1.47.0-x86_64-unknown-linux-gnu" version="1.47.0"
2021-11-14T02:20:02.397891Z DEBUG download_if_required: cargo_msrv::command: cmd="install" args=["--profile", "minimal", "1.47.0-x86_64-unknown-linux-gnu"]
2021-11-14T02:20:02.600235Z DEBUG cargo_msrv::command: cmd="run" args=["1.47.0-x86_64-unknown-linux-gnu", "cargo", "check", "--all"]
2021-11-14T02:20:02.690357Z  INFO cargo_msrv::check: ignore_lockfile_enabled=false
2021-11-14T02:20:02.690474Z  INFO download_if_required: cargo_msrv::check: installing toolchain toolchain="1.42.0-x86_64-unknown-linux-gnu" version="1.42.0"
2021-11-14T02:20:02.690539Z DEBUG download_if_required: cargo_msrv::command: cmd="install" args=["--profile", "minimal", "1.42.0-x86_64-unknown-linux-gnu"]
2021-11-14T02:20:02.816592Z DEBUG cargo_msrv::command: cmd="run" args=["1.42.0-x86_64-unknown-linux-gnu", "cargo", "check", "--all"]
2021-11-14T02:20:02.929463Z  INFO cargo_msrv::check: ignore_lockfile_enabled=false
2021-11-14T02:20:02.929581Z  INFO download_if_required: cargo_msrv::check: installing toolchain toolchain="1.39.0-x86_64-unknown-linux-gnu" version="1.39.0"
2021-11-14T02:20:02.929651Z DEBUG download_if_required: cargo_msrv::command: cmd="install" args=["--profile", "minimal", "1.39.0-x86_64-unknown-linux-gnu"]
2021-11-14T02:20:03.035962Z DEBUG cargo_msrv::command: cmd="run" args=["1.39.0-x86_64-unknown-linux-gnu", "cargo", "check", "--all"]
2021-11-14T02:20:03.189509Z  INFO cargo_msrv::check: ignore_lockfile_enabled=false
2021-11-14T02:20:03.189636Z  INFO download_if_required: cargo_msrv::check: installing toolchain toolchain="1.38.0-x86_64-unknown-linux-gnu" version="1.38.0"
2021-11-14T02:20:03.189714Z DEBUG download_if_required: cargo_msrv::command: cmd="install" args=["--profile", "minimal", "1.38.0-x86_64-unknown-linux-gnu"]
2021-11-14T02:20:03.294537Z DEBUG cargo_msrv::command: cmd="run" args=["1.38.0-x86_64-unknown-linux-gnu", "cargo", "check", "--all"]
2021-11-14T02:20:03.428740Z  INFO cargo_msrv::check: ignore_lockfile_enabled=false
2021-11-14T02:20:03.428866Z  INFO download_if_required: cargo_msrv::check: installing toolchain toolchain="1.37.0-x86_64-unknown-linux-gnu" version="1.37.0"
2021-11-14T02:20:03.428944Z DEBUG download_if_required: cargo_msrv::command: cmd="install" args=["--profile", "minimal", "1.37.0-x86_64-unknown-linux-gnu"]
2021-11-14T02:20:03.538060Z DEBUG cargo_msrv::command: cmd="run" args=["1.37.0-x86_64-unknown-linux-gnu", "cargo", "check", "--all"]
2021-11-14T02:20:03.693042Z  INFO cargo_msrv::check: try_building run failed toolchain="1.37.0-x86_64-unknown-linux-gnu" stderr="    Checking v_1_38_0 v0.1.0 (/home/a/ws/cargo-msrv/features/1.38.0)\nerror[E0658]: use of unstable library feature 'duration_float'\n --> src/main.rs:2:44\n  |\n2 |     let _ = std::time::Duration::new(1, 1).as_secs_f32();\n  |                                            ^^^^^^^^^^^\n  |\n  = note: for more information, see https://github.com/rust-lang/rust/issues/54361\n\nerror: aborting due to previous error\n\nFor more information about this error, try `rustc --explain E0658`.\nerror: Could not compile `v_1_38_0`.\n\nTo learn more, run the command again with --verbose.\n" cmd="1.37.0-x86_64-unknown-linux-gnu cargo check --all"
2021-11-14T02:20:03.693187Z  INFO cargo_msrv::subcommands::determine_msrv: found minimal-compatible toolchain toolchain="1.38.0-x86_64-unknown-linux-gnu" version="1.38.0"
2021-11-14T02:20:03.693230Z  INFO cargo_msrv: finished

I should however improve the error message, as this one is awful :)

@ajeetdsouza If you have time, could you perhaps try and see if adding rustup as nix package works for you (with --pure)?

Installing rustup fixes it, thanks! I created an issue on nixpkgs for this.


Stacked Confirmation

Please help me with using jquery-confirm V3 for stacked confirmation.
Thanks in advance.

Hello @gangwarj
You call $.confirm one after the other to stack the modals, the one on the topmost will be the active one.

Thank You , work great now. :)

Glad to help 👍


Add patch info to list cmd

This PR adds the patch info to the metadata so it can be shown  by the list command. This was logged as #198.
I have added a dedicated feature test, because otherwise it would make an existing test more complex.

Thanks,
There is a pylint warning about which I'm not sure how to fix.

Thanks,
There is a pylint warning about which I'm not sure how to fix.

Maybe if we replace self._tag, self._branch and self._revision with a self._version of type Version, this gives enough room for the new self._patch?

Pylint warning has been fixed.


Adding new kernel for boson

The Lehmann representation of a bosonic correlation function:
∫ Kb(τ, ω) ρ(ω) dω
= ∫ exp(-ωτ)/(1-exp(-ωβ)) ρ(ω) dω,

where
ρ(ω) = (-1/π) Im G(ω+iδ).

Because Kb diverges at ω=0, we usually introduce a weight function.
For KBFlat, we use
∫ Kb(τ, ω) ρ(ω) dω
= ∫ ωexp(-ωτ)/(1-exp(-ωβ)) (ρ(ω)/ω) dω,
= ∫ KBFlat(τ, ω) (ρ(ω)/ω) dω.

In analytic continuation, this weight function ω becomes too large at high frequencies, leading to oscillations in reconstructed ρ(ω).
This can be solved by using another weight function:
∫ Kb(τ, ω) ρ(ω) dω
= ∫ ωexp(-ωτ)/(1-exp(-ωβ)) (ρ(ω)/ω) dω,
= ∫ KBFlatTanh(τ, ω) (ρ(ω)/tanh(βω)) dω,

where
KBFlatTanh(τ, ω) = KFFlat(τ, ω)

for 0 < τ < β.
This definition has been used in the Lattice QCD community (see H. B. Meyer (2007) and E. Itou et al. (2020)).
This weight function matches the old one up to a constant at low frequencies, but it does not diverge at high frequencies. More importantly, KBFlatTanh has the same dimension as KFFlat. Thus, the new definition is more natural, I think.
Following this, our C++ program SpMv2 and a new Python library spm_omega use the new one.
But, using KFFlat for constructing a bosonic basis looks confusing. How about introducing a new type KBFlatTanh? Better naming? I want to make KBFlatTanh a default choice but it may be too radical.

We could rename KernelFFlat to KernelFFlatBTanh? Or simply to LaplaceKernel (because it is essentially a Laplace transform), HilbertKernel (because of the connection to the Hilbert transform), LogisticKernel (because the logistic function appears in it)?

We could use:
KernelFFlat -> LaplaceKernel
KernelBFlat -> RegularizedBoseKernel
We could also simply make the laplace/logistic kernel the default ... and have it override using the kernel= argument?

To just make sure, logistic kernel = new one with tanh?

Yes, precisely ... since it is a different package, we do not have to go out of our way to keep the old defaults, particularly if the new ideas are nicer.  We do need to be careful with the sparse_ir.adapter module, this needs to be kept at the old kernel.

Agreed!

Will be fixed by #14


Publish 01/03/2022, 10:30 AM

Docs Build status updates of commit 20dd814:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-DlpComplianceRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-AuthServer.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-DlpComplianceRule.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


False warning for highways connected only to unloaded highways

See this scenario:

If you open location map=18/57.08568/-2.14301 and hover over the highway, it is flagged as disconnected. In reality, it is connected, but just so long that (I assume) iD hasn't loaded the data where it connects to the rest of the network.

@SilentSpike Yep, I've seen this plenty of times in testing. It'd be nice to resolve this accurately by downloading more nearby/connecting data (see #5180). In the meantime we could ignore disconnected highways that overlap non-downloaded tiles.

related #2248

@SilentSpike Yep, I've seen this plenty of times in testing. It'd be nice to resolve this accurately by downloading more nearby/connecting data (see #5180).

You'd have to issue map calls along the length of the way, which could get expensive. You'll also then up with a bunch of new ways which exit the downloaded area.

In the meantime we could ignore disconnected highways that overlap non-downloaded tiles.

I think this is the better choice. Errors of this type outside the downloaded area were obviously not created in the current editing session.

In the meantime we could ignore disconnected highways that overlap non-downloaded tiles.

I just added this to #6140  🎉
I also noticed that both the disconnected_ways and almost_junction validations are vulnerable to this, so I'm fixing it in both places.
In this example below, the left tile was loaded first, and an almost_junction warning was raised before the right tile loaded.

I'll think more about this too, because anyplace in the code that we test the parentWays of a vertex that might not be on the visible map is risky.
For example, we check parentWays of vertices in the turn restriction editor, but the vertex has to be visible and selected for iD to even do anything.  Might be worth adding defensive code anyway, in case the intersection extends off the screen and into unloaded map.

Done in #6140


oep(ndm): proposal for unique disk identification

Enhancement proposal for NDM. This proposal put forward a solution to uniquely identify a disk in a cluster.
Signed-off-by: Akhil Mohan<EMAIL_ADDRESS>

Had a chat with @akhilerm on some possible upgrade scenarios to be considered. The design will be updated.

@kmova . Updated the OEP with latest details regarding implementation and upgrade of blockdevices.


WRR-9101: Fixed Input keypad layout in largeText mode

Checklist

[x] I have read and understand the contribution guide
[x] A CHANGELOG entry is included
[x] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
With portrait fullscreen or overlay type, keypad of number type input should have 3 columns.
But in largeText mode, keypad has 2 columns now.
Resolution
This is because width is set to exactly fit normal mode.
I added keypad width values for largeText mode in portrait fullscreen & overlay type.
Additional Considerations
Links
WRR-9101
Comments
Enact-DCO-1.0-Signed-off-by: Jiye Kim<EMAIL_ADDRESS>

👍


How to solve this problem?     这个问题怎么解决

[Dotenv\Exception\InvalidFileException]
Dotenv values containing spaces must be surrounded by quotes.

The error itself is pretty self-explanatory, isn't it? In your .env file, look for values containing space(s), for instance:
KEY = this value contains spaces
and surround the value with quotes:
KEY = "this value contains spaces"


Latest branch commits breaks when no spider.cfg exists

When you don't have a spider.cfg then you get:
./TorSpider.py
CONFIG ERROR
This is because of the order of the imports now, so we need to ensure the spider.cfg check is done first.

This issue had to do with my changes to logging. I fixed it. I realized the mistake when I went to sleep last night, but didn't wake up to fix it. 😴


parmParm plit still having issues with result level flags

Suggest removing result level flags from hover function, spent too much time already on it.

Fixed, not pushed


The moonlander is not drawn when the moonlander is to far from the origin

Notably in early generated solutions, the moonlander seems to "dissapear". This is due to the fact that it gets out of reach of the drawing trio.
We should normalize the x coordinate when drawing.

Should already be fixed in HEAD. I noticed that too :)

Btw, we should probably meet up again. Any weekend that suits you?

The weekend of 24-25 September suits me. Does it suit you?
Or else 1-2 October.
I will reserve them, hoping that one of these is available for you as well

24-25 is perfect

I will finalize that in my agenda. Your place or mine?

Other question, should I bring our rocket?

Ours, and probably!


sensor.command line impr

Description:
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Hello @mar-schmidt,
When attempting to inspect the commits of your pull request for CLA signature status among all authors we encountered commit(s) which were not linked to a GitHub account, thus not allowing us to determine their status(es).
The commits that are missing a linked GitHub account are the following:

10b7f1762519818b8addba9a32fa1fc8d06628e4 - This commit has something that looks like an email address (”marcus.ronelius@gmail.com”). Maybe try linking that to GitHub?.
1c819e7dc26edb9bff4f1b4ff364bf9bf9e729ae - This commit has something that looks like an email address (”marcus.ronelius@gmail.com”). Maybe try linking that to GitHub?.
ff92785969544f89afdf5135bc0fcc536b5ece5d - This commit has something that looks like an email address (”marcus.ronelius@gmail.com”). Maybe try linking that to GitHub?.
5cb04948368ca923d6e7637420c48588a6e79923 - This commit has something that looks like an email address (”marcus.ronelius@gmail.com”). Maybe try linking that to GitHub?.

Unfortunately, we are unable to accept this pull request until this situation is corrected.
Here are your options:

If you had an email address set for the commit that simply wasn't linked to your GitHub account you can link that email now and it will retroactively apply to your commits. The simplest way to do this is to click the link to one of the above commits and look for a blue question mark in a blue circle in the top left. Hovering over that bubble will show you what email address you used. Clicking on that button will take you to your email address settings on GitHub. Just add the email address on that page and you're all set. GitHub has more information about this option in their help center.

If you didn't use an email address at all, it was an invalid email, or it's one you can't link to your GitHub, you will need to change the authorship information of the commit and your global Git settings so this doesn't happen again going forward. GitHub provides some great instructions on how to change your authorship information in their help center.

If you only made a single commit you should be able to rungit commit --amend --author="Author Name<EMAIL_ADDRESS>
(substituting Author Name and<EMAIL_ADDRESS>for your actual information) to set the authorship information.
If you made more than one commit and the commit with the missing authorship information is not the most recent one you have two options:

You can re-create all commits missing authorship information. This is going to be the easiest solution for developers that aren't extremely confident in their Git and command line skills.
You can use this script that GitHub provides to rewrite history. Please note: this should be used only if you are very confident in your abilities and understand its impacts.

Whichever method you choose, I will come by to re-check the pull request once you push the fixes to this branch.

We apologize for this inconvenience, especially since it usually bites new contributors to Home Assistant. We hope you understand the need for us to protect ourselves and the great community we all have built legally. The best thing to come out of this is that you only need to fix this once and it benefits the entire Home Assistant and GitHub community.
Thanks, I look forward to checking this PR again soon! :heart:


[WIP] Derot integration tests

Closing in favour of the getting more comprehensive #1101 up-and-running.


UE4 Wrapper Project

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ SR300 }

Firmware Version
(Open RealSense Viewer --> <IP_ADDRESS>)

Operating System & Version
{ Win 10 }

Kernel Version (Linux Only)
(N/A)

Platform
PC

SDK Version
{ Intel RealSense SDK 2.0 }

Language
{unrealengine4}

Segment
{wrapper project }

Issue Description
Hey there,
I have followed the setup instructions as per https://github.com/IntelRealSense/librealsense/tree/development/wrappers/unrealengine4, however, on opening the UE4 project, RealSenseUE, and hitting play, nothing happens visually.
The SR300 webcam activates, green light on, though the boxes remain in standard grid material.
These are the details of my webcam:

Please can you assist? Thank you.
Kind regards,
Dominic

I updated the SR300 camera to the D435 and all seems to be working ok, thank you.

Hi smudgy67,
Glad to hear that you have a solution and can move forward on this one.
Again sorry for taking a while to check on you.
Thanks!

There's another open issue, that is stills outstanding. Setting up a D435i camera that I purchased as an interim camera, prior to the D435.
I still have issues with that one.


Provide implementation of selectCoins API function.

Context
In order to support users that wish to use a hardware wallet, we would like to expose our coin selection functionality as a new API function selectCoins. This function will take a list of payments as its input, and produce a coin selection as its output.
Decision
Provide a complete server implementation of the skeleton endpoint created in #1135.
Ensure that the following error codes are handled correctly:
x-responsesSelectCoins: &responsesSelectCoins
  <<: *responsesErr400
  <<: *responsesErr403
  <<: *responsesErr404
  <<: *responsesErr405
  <<: *responsesErr406
  <<: *responsesErr415

Acceptance Criteria

[ ] The endpoint must produce a valid coin selection, when given a valid input.
[ ] The endpoint must correctly handle all of the error conditions indicated in the Swagger specification.

Development

QA

No QA nor Development section here, but deducing from other tickets, I've found:
https://github.com/input-output-hk/cardano-wallet/blob/master/lib/core-integration/src/Test/Integration/Scenario/API/Wallets.hs#L1483-L1518
We are missing:

Negative tests for the headers and path parameters
Swagger file description to "stable", putting back "In Progress"


[bug][poetry] not installing "en_core_sci_sm" file automatically

I used poetry to install the deep-patient-cohorts library but it didn't install the "en_core_sci_sm" file. I did it manually through scispacy and the link provided in the Github.
used the following links manually to install:

pip install scispacy
pip install https://s3-us-west-2.amazonaws.com/ai2-s2-scispacy/releases/v0.2.5/en_core_sci_sm-0.2.5.tar.gz

@JohnGiorgi could you take a look at it?

@karthikraja95 I was able to poetry install in a new virtual env and then run NoisyLabeler without issues, so it must have installed "en_core_sci_sm".
Do you mind trying this again and seeing if your issue persists? Low priority though!

@JohnGiorgi It works!


Values: Remove registry.domain, use image.registry instead.

Fixes https://github.com/giantswarm/giantswarm/issues/26076.

image.registry was already present in the values.yaml.

Thanks @Gacko ! We had just seen this issue last week, and had no time to investigate yet!
However:

At first sight, I'd rather update the values rather than the chart, to avoid diverging from upstream
We're preparing a new chart that will break all values anyway :sweat_smile:

I think updating the values is not fixing the issue. image.registry is provided by the management cluster and varies depending on your cluster's region. So is dynamic and there is no one value fitting all.


Incorrect default JDBC columns names

Starting with 8.11, it looks like there is a mistake when assigning default columns names in the io.github.bucket4j.distributed.jdbc.AbstractJdbcProxyManagerBuilder class:
    private String idColumnName = "state";
    private String stateColumnName = "id";

These two columns names are swapped.

Hello @barteksc
Thank you for reporting. I will deploy fix at weekend. Currently, just specify column names explicitly.

Fix released with version 8.12.1


Update CITATIONS.md

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!

[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/fetchfastq branch on the nf-core/test-datasets repository.

[ ] Make sure your code lints (nf-core lint .).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

Hi @sbooeshaghi ! Thank you for your PR. I suspect there is a misunderstanding here because we have had plans to have such a workflow on nf-core for quite a long time now. In fact, this is exactly why I added such a workflow to nf-core/rnaseq and nf-core/viralrecon for it to be used and hence developed before we implement a stand-alone workflow. The actual motivation for me to add this workflow was because it didn't make sense to fix and update both of these workflows independently anymore and this issue was the icing on the cake!
The scripts I wrote for this pipeline were laid down over a year ago as you can see here and have since been improved and in fact pre-date ffq too as a simpler mechanism to fetch metadata from public databases.
Having said that, I would very much like to include the citation for ffq in an official capacity if we are able to integrate it as an upstream processing step in the pipeline. This is why I asked whether you had plans to add it to Conda in my Tweet because it would mean we get Docker/Singularity Biocontainers for free that we could use within this pipeline.

I have also just realised that the expansion of ffq is the same name as this workflow 🤦🏽 I would like to clarify that the name we chose was quite innocently the same as yours and we definitely wouldn't have used it if it was likely to cause any issues. We had a long drawn out conversation on nf-core Slack in a completely open fashion between numerous members of the community where we voted for a name to use. Given that I was hoping to use ffq in this pipeline anyway hopefully this is acceptable for you.

Why does that matter? We will find another name for this pipeline to avoid any controversy. I will try and find time to do this next week.

Thanks for the reply but now I'm confused. According to you fetchfastq was built "from scratch to release in a single day", June 3, 2021.

To clarify @sbooeshaghi - the pipeline repository was created and released in a day. The code was almost entirely copied from other existing pipelines where it had existed as a subworkflow. This is how the code has been under development for a long time whilst the pipeline was built in a day.
The back story is that the subworkflow was part of the rnaseq pipeline for a few years now. But several other @nf-core pipelines needed the same subworkflow. Instead of duplicating the code we thought it was better to move it into its own pipeline.
The naming and timing conflict with your tool was an unfortunate coincidence. You can see the discussion and poll about names in our (public) Slack here. You can see the discussion about splitting it into its own pipeline back in April here.
We totally agree that the name clash could be confusing. We're currently discussing alternatives and will rename the pipeline as soon as we have reached consensus. I hope this is ok - we should have checked for whether the name was taken first, that's our fault. We'll try to remember to do this in the future.

To add a bit more explicit clarification: I'm pretty confident in saying that none of us had heard of your tool before @drpatelh saw your tweet and replied. There's no mention of fetchfastq or ffq in our Slack before the pipeline name discussion.
We definitely did take some inspiration from SRA-Explorer (which I wrote) and I knew of pysradb. Nextflow itself also has built in support for doing something similar (which itself was inspired from discussion about SRA Explorer).
As @drpatelh says, your tool looks super nice though. If you're happy with us using it then I think we could do well to use it and drop some of our custom pipeline code. We will of course do our best to give full credit if/when that happens.
I hope this helps to clear things up and get us all on the same page. We certainly meant no disrespect. If you have any thoughts on how we can use ffq or otherwise improve the pipeline we'd love to hear them.

Sorry, I should have clarified too. The reason I suggested that it didn't matter is that the pipeline being released in a day was a semantics issue and not the actual one which (I think) is being raised here i.e. the pipeline name.

The pipeline has been renamed and the release recreated: https://twitter.com/nf_core/status/1402328796515209221
Let us know if there's anything else you'd like us follow up on 👍🏻


Invalid API key

Hello,
I got a OWM account with a free subscription. And I got an API key.
But everytime IO use it, I get an error that the key is invalid. Can anybody help me with that?
openweathermap request 1: GET 2.5/weather?q=Umkirch, De
[12/10/2022, 09:34:16] [Wetter] warning: openweathermap request 1: openweathermap status: 401 Invalid API key. Please see https://openweathermap.org/faq#error401 for more info.
[12/10/2022, 09:34:16] [Wetter] warning: Umkirch, De: ignore unknown location
[12/10/2022, 09:34:16] [Wetter] openweathermap request 2: GET 2.5/weather?id=2820190
[12/10/2022, 09:34:16] [Wetter] warning: openweathermap request 2: openweathermap status: 401 Invalid API key. Please see https://openweathermap.org/faq#error401 for more info.
[12/10/2022, 09:34:16] [Wetter] warning: 2820190: ignore unknown city id
Thank you :)

Last time I checked, the weather endpoint still works with a new Free plan API key.  You’ll still need a One Call per Call plan API key for the. onecall endpoint, but best double-check that you entered the key correctly in config.json (or through the Homebridge UI).

My new Free plan API key initially did not work until I subscribed for the One Call per Call plan. I suspect we are talking about the same thing but in different ways (likely due to my layman perspective on such technical matters)
The plugin works wonderfully by the way, amazing work!


fix(onboarding): check for failure message in errors

fixes #542
//cc @lcouzens
@chambridge How does the response look when there is a failure on the server side? is it always similar to this?:
{
  "errors": [
   {
     "details": "....",
    },
   {
     "details": "....",
    }
  ]
}

Thanks.

Codecov Report

Merging #546 into master will decrease coverage by 0.06%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master     #546      +/-   ##
==========================================
- Coverage   83.48%   83.41%   -0.07%
==========================================
  Files         156      156
  Lines        2355     2358       +3
  Branches      381      382       +1
==========================================
+ Hits         1966     1967       +1
- Misses        345      347       +2
  Partials       44       44

Impacted Files
Coverage Δ

src/pages/onboardingModal/final/loader.tsx
77.41% <50%> (-4.73%)
:arrow_down:

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 26910f7...89ee184. Read the comment docs.


Angle Calculation

Hi,
It seems that the formula shown below to calculate actual angles is not correct.
https://github.com/abrilcf/mednerf/blob/1bc616f39ccc223c5cd62df1f547dea09d447e22/graf-main/configs/default.yaml#L15-L16
Could you check it? Thanks!

Sorry, my bad. That's correct.


Support embedded nix builds

This adds support for building bpftrace as an appimage. See the
documentation update in nix.md in the commit for usage.
This is intended to replace the current semi-static embedded build.
This approach has both pros and cons over the semi-static embedded build.
For one, the appimage is actually fully static (as it bundles the
necesssary libc). So it's more likely to work on more systems.
The downside is that the appimage is a ~10x larger binary than the
semi-static binary. The appimage also requires fuse to work (which most
systems should support). It's takes ~1s longer to start up which I don't
think is a huge deal.
Note that I had to apply some patches to nix-appimage (upstreamed
in https://github.com/ralismark/nix-appimage/pull/8). As mentioned in
that PR description, I'm not 100% sure yet why the changes work.
I'd like to spend some time deep diving on that before we merge this.
But in the meantime, please give this a try.
This closes https://github.com/iovisor/bpftrace/issues/2721.
Checklist

[ ] Language changes are updated in man/adoc/bpftrace.adoc and if needed in docs/reference_guide.md
[ ] User-visible and non-trivial changes updated in CHANGELOG.md
[ ] The new behaviour is covered by tests

Note that if we decide to go this direction, I will try to delete all the embedded build code as a followup. I expect the deletions to be quite substantial.

Looks good to me. I was able to build the appimage with nix build .#appimage and it executed on a freshly installed VM without any problem. Nice :-)
As I already wrote elsewhere, the footprint size increase is a reasonable price to pay for the simplicity and robustness this brings.

I understand why the nix-appimage PR works now. See the comment I left on it. I'll also have a longer form write up in a while. An interesting problem :)

Since this is relatively harmless, I shall merge after the weekend if nobody else objects.


Text selection doesn't show selected text

On Android, open the Flutter Gallery app and navigate to "Text fields". Enter text in the Phone Number field. Select the text. Change the selection with the blue bubbles. The selected text no longer appears as selected.

This is coming from the _UsNumberTextInputFormatter in Gallery, which applies the parentheses/dashes/etc. to the phone number on each text update.
_UsNumberTextInputFormatter always collapses the selection range to a single text position, causing the selection highlight to disappear.
Some options:

Change _UsNumberTextInputFormatter to adjust both ends of the selection range instead of collapsing
Update the position of the selection handles (or hide them) if a formatter alters the selection

This issue isn't reproducible on Samsung device

flutter doctor -v
[✓] Flutter (Channel dev, 1.21.0-1.0.pre, on Mac OS X 10.15.6 19G73, locale en-GB)
    • Flutter version 1.21.0-1.0.pre at /Users/taha/Code/flutter_dev
    • Framework revision f25bd9c55c (7 days ago), 2020-07-14 20:26:01 -0400
    • Engine revision 99c2b3a245
    • Dart version 2.9.0 (build 2.9.0-21.0.dev 20bf2fcf56)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

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

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (5 available)
    • SM M305F (mobile)      • 32003c30dc19668f          • android-arm64  • Android 10 (API 29)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios            • iOS 13.6
    • macOS (desktop)        • macos                     • darwin-x64     • Mac OS X 10.15.6 19G73
    • Web Server (web)       • web-server                • web-javascript • Flutter Tools
    • Chrome (web)           • chrome                    • web-javascript • Google Chrome 84.0.4147.89

• No issues found!

Closing, as the issue is old and there is no device specific info. If you disagree, please write in the comments and I will reopen it.
Thank you


MacVLAN. A network locks the gateway ip preventing to assign it

I am excited about the features you have made in 1.12, so please let me say: thank you guys 😗
Now the lettuce... ;)
First of all, this is the network I have created
docker network rm vlan150
docker network create -d macvlan \
    --subnet=<IP_ADDRESS>/24 \
    --gateway=<IP_ADDRESS> \
    -o macvlan_mode=bridge \
    -o parent=eth0.150 vlan150

Let me say here, the <IP_ADDRESS> does not exists in the network.
Now let's start a container on that network:
docker run --net=vlan150 --ip <IP_ADDRESS>\
  -it --name server --rm alpine /bin/sh
docker: Error response from daemon: Address already in use.

This is not true. That address is not in use.. So let's circumnavigate that, this way:
docker run --net=vlan150 --cap-add NET_ADMIN \
  -it --name server --rm alpine /bin/sh
/ # ifconfig eth0 <IP_ADDRESS> netmask <IP_ADDRESS>

Now that container has the right gateway and every container connected to the vlan150 simply uses that as default gateway and everything work.
Am I missing something basic here? I saw pipeworks but I think it is too much for this simple use case.
Best regards.

@brugnara
This is expected. You told the ipam driver to reserve the address <IP_ADDRESS>` as you are using it for your network's gateway. Then you attempt to reserve the same address for your container. IPAM driver rejects the request becsase the address is already assigned.

@aboch thank you for the quick reply. If I do not specify the gateway, the network driver will assign the <IP_ADDRESS> as default. How can I avoid the reservation as you mentioned?

@brugnara why would you not want docker to reserve the gateway IP ? Why are you reusing that IP in the container ? can you share the use-case ?

How can I avoid the reservation as you mentioned?

You can't avoid it. On network creation libnetwork will request the ipam driver for an address for the network's gateway, or will ask to reserve the one specified by the user during nw crewate.
IIUC, it looks like you are interested in having a container acting as the network gateway.
Can you provide more info about the use case ? There could be other ways to achieve what you are trying to do.

@mavenugo I need to set-up a squid as a transparent proxy for content injection. This must be setted as the default gw for many vpn clients. I will need to set some route for the returning back traffic because I need the original IP and I can not use NAT for this.
As I have told, everything is working if I manually change the ip for the squid machine as it becomes the gateway, because that IP is not assigned!!
Let me also say, in a MACVLAN it should be possible to assign the gateway IP because the gateway can be a container it self, like in this case.
If this is not a valid use case, please explain me what you think is wrong. Many thanks 👍

+1 for allowing the gateway to be a container itself

Any news?

@brugnara It has been detected that this issue has not received any activity in over 6 months. Can you please let us know if it is still relevant:

For a bug: do you still experience the issue with the latest version?
For a feature request: was your request appropriately answered in a later version?

Thank you!
This issue will be automatically closed in 1 week unless it is commented on.
For more information please refer to https://github.com/docker/libnetwork/issues/1926

Due this issue I didn't used docker in our server farm. It is not relevant
to me and not being relevant to you makes your choice easier.
On Mer 30 Ago 2017, 02:28 Gordon<EMAIL_ADDRESS>wrote:

@brugnara https://github.com/brugnara It has been detected that this
issue has not received any activity in over 6 months. Can you please let us
know if it is still relevant:

For a bug: do you still experience the issue with the latest version?
For a feature request: was your request appropriately answered in a
later version?

Thank you!
This issue will be automatically closed in 1 week unless it is
commented on.
For more information please refer to #1926
https://github.com/docker/libnetwork/issues/1926
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/docker/libnetwork/issues/1447#issuecomment-325842413,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACpwBzJNHze61eCFNanouPwh-w6Vtor1ks5sdKy3gaJpZM4J-ARN
.

Is there any progress on this bug? This is really annoying. You can't use the first IP of the subnet even if you didn't set up a gateway.

After going through the documentation and the code I noticed that this was done intentionally. If the user does not specify a gateway for a macvlan network, docker will enforce a gateway upon him. There is no escaping the wrath of the gateway.
As Docker is moving to bare metal, and IPv4 is reaching it's limits, people will continue to try to limit the number of public IPs and at the same time they will start using macvlan to get good performance and IP management. This means there will be cases where the default gateway for a macvlan network will be in another subnet than the subnet declare within the docker network. If you go even further and buy residential IPs instead of DC IPs, you will probably get a gateway that is not in the range, so that you can make full use of the residential subnet you pay for.
Programming docker to allow the gateway to be part of a different subnet might be harder (because it requires an extra route with the gateway/32 on eth0) than just allowing the user to actually get no gateway when he specifies no gateway. If you don't have a gateway that is managed by docker, you can just script it any way you want from bash. However, right now, one IP within the subnet is lost for the gateway.
To go around this issue, we are declaring a bigger subnet (so if the DC gives /27, we use /26 in docker), and just declare a dummy gateway that leads nowhere. After the container gets created, we delete the default route assigned by docker and just add a new one. This is clearly a hacky workaround that is lacking any sort of elegance.
Considering this case was opened 3 years ago with no progress, we might actually completely switch the world to IPv6 before we reach a resolution. That would also fix this mess with IPv4.

Hi I m getting the same error with the below configuration
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: cms-oam-eth1
namespace: cms
spec:
config: '{
"cniVersion": "0.3.0",
"type": "macvlan",
"master": "eth0",
"mode": "bridge",
"ipam": {
"type": "host-local",
"datastore": "kubernetes",
"kubernetes": { "kubeconfig": "/etc/cni/net.d/whereabouts.d/whereabouts.kubeconfig" },
"subnet": "<IP_ADDRESS>/24",
"rangeStart": "<IP_ADDRESS>",
"rangeEnd": "<IP_ADDRESS>",
"gateway": "<IP_ADDRESS>",
"log_file" : "/tmp/whereabouts.log",
"log_level" : "debug"
}
}
Normal Scheduled 19s default-scheduler Successfully assigned cms/cms1-0 to k8s-worker-1
Warning FailedCreatePodSandBox 13s kubelet, k8s-worker-1 Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "bdc93dc123701afa226cd844fde27d3c9d20882a0f8c0bd117c4f1381d094df3": Multus: error adding pod to network "cms-oam-eth1": delegateAdd: error invoking DelegateAdd - "macvlan": invalid CIDR : invalid CIDR address:
Warning FailedCreatePodSandBox 6s kubelet, k8s-worker-1 Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "4af83c0247d2fcda83cdf7a53990d84053a89f891839adc7f95a71c7490acec5": Multus: error adding pod to network "cms-oam-eth1": delegateAdd: error invoking DelegateAdd - "macvlan": invalid CIDR : invalid CIDR address:
Can anyone plz help how to resolve this issue

same issue here.
the gateway IP is not used, we don't know why it cannot be assigned to the container.
BR//lo

same here, I want my router  to be in a docker container .

Same issue here.
Use-case: VyOS container acting as router.


Custom Sound

Choose a custom alarm sound, configurable by user.
MVP version would be to allow developer to define a sound.
Basic version would be to allow user to select a sound from a predefined list.
Advanced version could be to allow user to specify a custom sound from their file system.

will likely require config plugin updates to copy sound resources to native builds (expo-notifications handles this)

expo-asset can copy a custom sound to the relevant file system. A simple implementation would be to allow passing in a resource uri / ID to the function that creates the alarm.


Auto generated Keys

Hi, I am investigating regarding auto generated keys (on server side). I tried the function "Random" to do the job but failed:
cr> create table tt6 (
id long,
id2 double generated always as (random()),
title string, primary key (id2) );
CREATE OK (0.307 sec)
cr> insert into tt6 (id) values(1);
SQLActionException[Primary key is required but is missing from the insert statement]
Than I added also id to the expression and failed, too:
cr> create table tt6 (
id double,
id2 double generated always as (  id  +  random()),
title string,
primary key (id2) );
CREATE OK (0.300 sec)
cr> insert into tt6 (id) values(1);
SQLActionException[NoSuchElementException in java.util.ArrayList$Itr.next(ArrayList.java:834)]
But following expression is working:
cr> create table tt4 (
id long,
id2 long generated always as (id+1),
title string,
primary key (id2) );
CREATE OK (0.564 sec)
cr> insert into tt4 (id) values(11);
INSERT OK, 1 row affected (0.011 sec)

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32273012-auto-generated-keys?utm_campaign=plugin&utm_content=tracker%2F505659&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F505659&utm_medium=issues&utm_source=github).

Hi, the second approach to accomplished my usecase (autokey for log messages) was to search a hash function (e.g. MD5) as scalar function and use it in following way:
cr> create table tt4 (
id long generated always as (HASH_FUNCTION(message)),
message string,
primary key (id) );
cr> insert into tt4 (message) values('bla bla');
But I couldn't find such a function and still have got the problem written in the former comment.
Do you know a way to solve my usecases with crate?

hi @loms0815, crate already does this for you. every record has his own id. you can query it via _id. It is not returned when doing a SELECT * FROM ..., but when you explicitly query SELECT _id, * FROM... it is there.

Hi @joemoe, thanks for the info!


Layout of Seedwords on Setup

The Setup already looks much cleaner .. on thing maybe on a fresh setup would be to layout a bit the seedwords when Setup is finished:

Not happy with mobile though. Depending on the length of words, there could be a line break after the number, but should be fine for now.


I399- clustering for the cea tool

@gabriel-happle Hi gabriel, could you please review this code? thanks!..

@daren-thomas i think this is ready to be merge, please let me know

This doesn't work on my computer. I updated the reference cases, copied the reference-case-SA to the C:\ folder and ran clustering_main.py. I get the following error:
C:\Users\darthoma\Anaconda2\envs\esri104\python.exe C:/Users/darthoma/Documents/GitHub/CEAforArcGIS/cea/demand/calibration/clustering/clustering_main.py
Traceback (most recent call last):
  File "C:/Users/darthoma/Documents/GitHub/CEAforArcGIS/cea/demand/calibration/clustering/clustering_main.py", line 105, in <module>
    run_as_script()
  File "C:/Users/darthoma/Documents/GitHub/CEAforArcGIS/cea/demand/calibration/clustering/clustering_main.py", line 102, in run_as_script
    optimize=True, plot_clusters = True)
  File "C:/Users/darthoma/Documents/GitHub/CEAforArcGIS/cea/demand/calibration/clustering/clustering_main.py", line 65, in clustering
    start_gen = None)
  File "C:\Users\darthoma\Documents\GitHub\CEAforArcGIS\cea\demand\calibration\clustering\sax_optimization.py", line 98, in SAX_opt
    pop, halloffame, paretofrontier, stats = main_opt(locator, toolbox, NGEN, MU, CXPB, start_gen)
  File "C:\Users\darthoma\Documents\GitHub\CEAforArcGIS\cea\demand\calibration\clustering\sax_optimization.py", line 148, in main_opt
    fitnesses = toolbox.map(toolbox.evaluate, invalid_ind)
  File "C:\Users\darthoma\Documents\GitHub\CEAforArcGIS\cea\demand\calibration\clustering\sax_optimization.py", line 88, in evaluation
    f2 = silhouette_score(data, sax) #metrics.calinski_harabaz_score(data, sax)
  File "C:\Users\darthoma\Anaconda2\envs\esri104\lib\site-packages\sklearn\metrics\cluster\unsupervised.py", line 80, in silhouette_score
    n_samples = X.shape[0]
AttributeError: 'list' object has no attribute 'shape'

@daren-thomas please let me know if it works now. thanks for all the comments. I believe it makes much more readable the whole script

@JIMENOFONSECA, after fixing an import error with the deap module (it seems we need to import the submodules separately), I get the following error when runnin cluster_main:

OK. It works now. I'm merging.


help_docs: Add 'About Zulip' to relative help links.

Adds the 'About Zulip' gear menu option to the available relative link patterns used in help center documentation.
This change is related to new help center documentation in #21764.
Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @laurynmm!


Tips for Succeeding at Hackathons

Have you read the contributing guidelines for proposing a wiki?

[X] I have read the contributing guidelines.

What's this proposal about? What should this wiki cover? Who's the audience?

The proposal is about adding an article about "Tips for Succeeding at Hackathons". I have won various Mumbai level hackathons, and National Level hackathons. I have some tips to share with the community.
This wiki covers, right from team formation, choosing topic and to presenting.
Any college student who want's to participate in a hackathon.

Choose the category for this wiki
Community Guide
If this is a FAQ on the sub, please include links of similar posts from the subreddit
No response
Are you interested in authoring this wiki guide?
Yes
Code of Conduct

[X] I agree to follow the community's Code of Conduct

@SujalChoudhari Looks like a good wiki addition, please go ahead with the first draft. Let us know if you need any help.

On it.
Do I directly submit a pull request of draft?

On it. Do I directly submit a pull request of draft?

Yes, you can also create a draft pr, if you need early feedback before the final review.

Sure. I will write the draft sometime today or tomorrow.


Add Alpine support to PHP definitions

PHP definitions now has an alpine parameter that can be used in
combination with version to let zbuild pick an alpine-based php base
image.
The OSRelease struct has been moved to the builddef package as it's now
part of the PHP locks. OSRelease is locked to allow the build process to
easily determine which package manager shall be used to install system
packages. In this way, the php defkind also supports alpine-based base
image specified through base_image parameter.
Moreover, the llbutils.InstallSystemPackages() function has
been updated to use apk when alpine is detected.

What is the gain of the alpine param when we can already specify the base_image param ?
Is it to ease the config parsing (i.e. not having to pull the image first to know the distro) ?

base_image is meant to be used for advanced cases where developers need to use a non-official base image. Otherwise, I think people should use version + alpine parameters. I'm not sure if that's a good UI choice or not though (it's hard to not biased toward how we currently do things using docker/Dockerfiles).


Gnosis Safe & Guard Atomic Deployment

Get the deployment of a Gnosis Safe configured with the Veto guard contract working atomically - all in one transaction. This will be implemented in the tests within the fractal-module-gnosis repository.

@tbwebb22 can we close this ticket?

Yes! Chris knocked this one out


added support for configuring token TTL, re-wrote applicationDetailsD…

…ialog component and some other fucnctions

Add token TTL #37


fix: BSGConnectivity hostName

Goal
Fixing https://notify.bugsnag.com is being unresolved, since it's include the protocol, the accepted one is only hostname.

https://developer.apple.com/documentation/systemconfiguration/1514904-scnetworkreachabilitycreatewithn

nodename
The node name of the desired host. This name is the same as that passed to the gethostbyname or getaddrinfo functions. The value of this parameter is copied into the new object.

Changeset
Changes
- NSString *hostName = [url absoluteString];
+ NSString *hostName = [url host];

Tests
It should be resolved

Discussion
Alternative Approaches

Outstanding Questions

Linked issues

Review

For the submitter, initial self-review:

[ ] Commented on code changes inline explain the reasoning behind the approach
[ ] Reviewed the test cases added for completeness and possible points for discussion
[ ] A changelog entry was added for the goal of this pull request
[x] Check the scope of the changeset - is everything in the diff required for the pull request?
This pull request is ready for:

[ ] Initial review of the intended approach, not yet feature complete
[x] Structural review of the classes, functions, and properties modified
[x] Final review

For the pull request reviewer(s), this changeset has been reviewed for:

[ ] Consistency across platforms for structures or concepts added or modified
[ ] Consistency between the changeset and the goal stated above
[ ] Internal consistency with the rest of the library - is there any overlap between existing interfaces and any which have been added?
[ ] Usage friction - is the proposed change in usage cumbersome or complicated?
[ ] Performance and complexity - are there any cases of unexpected O(n^3) when iterating, recursing, flat mapping, etc?
[ ] Concurrency concerns - if components are accessed asynchronously, what issues will arise
[ ] Thoroughness of added tests and any missing edge cases
[ ] Idiomatic use of the language

https://github.com/bugsnag/bugsnag-cocoa/pull/332

Thank you for fixing this. Over the past 7 days there have been 10 failed requests on my network due to this bug. Its quite annoying to see full URLs popping up in my DNS records


Validating auth signatures

Edited server:

Added a verification to the auth provided from "NewAccount"  matches the other credentials in the struct when decrypted. (src/api/new_account.rs)

Edited core:

Made changes to crypto in terms of "RsaCryptoService" and "CryptoService".
Added a code to create an auth, which is of type "EncryptedValue". (src/account_api.rs)

There are some garbage files still here, maybe you need to pull from master to fix


macOS: pump event queue when waiting on fences.

@pixelflinger  this is ready for your review, I did a test and it seems to actually fix the deadlock!

I replaced the sleep with a non-zero timeout and it still works.


Issues raised in the morning session

Raised on 22/7/2022

Kindly adjust the form area on your desktop version to take up more space compared to the text in the same container according to the Figma template
Please use separate placeholder text for both mobile and desktop so that the mobile popup doesn't look to be overcrowded
Kindly endeavor to change one of the button links on your popup card as they look the same which is also different from the Figma template

Hi @John-Kibirige ,
Thank you for your awesome feedback and I really like the way you point out the issues by checking my work details. Well I am planning for creating new portfolio. I will soon deploy the Portfolio-v2. Please feel free to share your thoughts.
Happy Coding 🥂


[Feature] Add support to alfa3 country code

Would be nice to add this feature
alfa3 codes: https://datahelpdesk.worldbank.org/knowledgebase/articles/898590-country-api-queries
In attach a json file with alfa2 / alfa3 from previous website
countries.json.zip

I mean, this should be pretty easy to add but I think the conversion should be done by the user outside the library.


Interoperability with libtomcrypt / OpenSSL

I am trying to migrate a libtomcrypt based C program, which performs the following operations:

Decrypt an AES-128 key with an RSA public key
Decrypt data with the decrypted AES-128 key
Verify the whole operation with RSA

It uses the following buffers:

der_pub_key[u8; ...]
enc_data[u8; ...]
enc_aes_key[u8; 128]
enc_rsa_sig[u8; 128]
label[u8; 4]
nonce[u8; 16]
tag[u8; 16]

It executes the following methods (+ their logical equivalents in RustCrypto):

pub_key = rsa_import_pkcs1(der_pub_key) → rsa::RsaPublicKey::from_pkcs1_der
aes_key = rsa_exptmod(enc_aes_key, pub_key) → rsa::RsaPublicKey::raw_encryption_primitive
aes_key = pkcs_1_oaep_decode(aes_key, label, SHA256) → rsa::oaep::decrypt_inner w/o priv_key.raw_decryption_primitive
data = eax_decrypt_verify_memory(aes_key, nonce, label, enc_data, tag, AES128) → eax::Eax::<aes::Aes128>::decrypt
rsa_sig = rsa_exptmod(enc_rsa_sig, pub_key) → rsa::RsaPublicKey::raw_encryption_primitive
verified = pkcs_1_pss_decode(tag, rsa_sig, SHA256) → rsa::pss::emsa_pss_verify

I replicated the decrypted data & signature verification by ripping out some of the RustCrypto/RSA crate code, because I could not figure out how to use it otherwise:
Issue 1: RustCrypto does not allow public RSA keys to decrypt data
Step 2 & 3 should be combinable into: rsa::RsaPublicKey::decrypt(enc_aes_key, label, OAEP<SHA256>) - step 2 is implemented in rsa::RsaPublicKey, but step 3 is only implemented in rsa::RsaPrivateKey. rsa::RsaPublicKey does not expose a decrypt method, which is possible with libtomcrypt, and OpenSSL seems to support that as well.
I copied and combined the code of rsa::RsaPublicKey::raw_encryption_primitive and rsa::oaep::decrypt_inner (without the priv_key.raw_decryption_primitive part), to mimic the C program behaviour.
Issue 2: RustCrypto verification steps differ from libtomcrypt
Step 5 & 6 can be combined into: rsa::RsaPublicKey::verify(tag, rsa_sig, PSS<SHA256>). But it fails at the first validation step in rsa::pss::emsa_pss_verify:
// 1. If the length of M is greater than the input limitation for the
//    hash function (2^61 - 1 octets for SHA-1), output "inconsistent"
//    and stop.
//
// 2. Let mHash = Hash(M), an octet string of length hLen
let h_len = hash.output_size();
if m_hash.len() != h_len {
    return Err(Error::Verification);
}

In my case it equates to 16 != 32, as m_hash is the tag[u8; 16] buffer of the C program, which is used for both AES-128 and RSA with SHA2-256 (hash is SHA2-256). Changing the condition to if m_hash.len() > h_len, which could be a valid interpretation of the "1. If the length of M is greater than [..]" RFC-8017 description, the check and all other subsequent checks pass and attest the validity of the data, like the C program does. Though that interpretation contradicts "2. [..] string of length hLen" as far as I understand.
I think OpenSSL does not provide a possibility to set an explicit length (like 16) either, so I guess it assumes 32 as well. The OpenSSL Python version explicitly mentions, that they have no way of checking the condition. libtomcrypt did not enforce this for the authors of the C program the way RustCrypto does for me, so I need to copy and modify the rsa::RsaPublicKey::verify code.
I can not judge whether this is an issue with libtomcrypt checking too little, or RustCrypto checking too much.
Both issues would also affect the Golang code RustCrypto was inspired by.

It sounds like you're using a number of nonstandard combinations of primitives.
From what I can tell, you're attempting to roll your own version of signcryption, which allows decryption by the public key and also authenticates the message ala a typical digital signature.
There's a semi-standard RSA construction for this: Probabilistic Signature Scheme with Recovery (PSS-R) as described in Section 5 of: https://web.cs.ucdavis.edu/~rogaway/papers/exact.pdf
This approach allows for "folding" part of the message into the signature in such a way that it is "recoverable" by the verifier.

That does seem to be what is going on, thanks for the hint! Do you think the 2 mentioned issues will be addressed in this crate, or should I switch to OpenSSL / continue using the copied code pieces?

We could potentially add PSS-R as a high-level construction.
The low-level primitives you're describing are easily misused and I personally don't think it would be good to add them.

The low-level primitives you're describing are easily misused and I personally don't think it would be good to add them.

While I agree that they are easily misused, I have been often enough in the situation where I needed to support specific legacy constructions, that I wouldn't mind exposing this with a big warning sign under the hazmat flag.

We could potentially add PSS-R as a high-level construction.

👍

Closing in favor of #231 which discusses adding PSS-R support


VS Code doesn't render correctly at 2560x1600

VSCode Version: 1.13.0
OS Version: Windows 10 16215 Insider Preview
Display adapter: NVidia Quardo K420
Monitor: Dell 3007WFP

Steps to Reproduce:

Open VS Code, open a source file
click "maximize" - VS Code will show code on the right side of the client window, and have a black square on the left side. right side (code) is scrollable. Left side is black/blank.

Still happening?


Updated ghost to 3.39.0

Closes #88

I just want to let you know I ❤ you for doing this. I run a multi-arch cluster and these charts have saved me countless hours of work thanks to Bitnami not supporting ARM64. Thank you.

@jaredallard: Thank you for the feedback! That motivates me to keep on maintaining the charts. I use all these on my private cluster (mixed ARM64v8 & AMD64). It's a pity that Commento is only running on x86. I will contact the developer. Maybe he is open to support multiple binaries.