Add platform_speed_groups to eos_designs

Change Summary
Add support for configuring speed_groups per hardware platform in eos_designs
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes)
[x] Documentation content changes
[ ] Other (please describe):

Related Issue(s)

Branch is based on eos_designs rename branch (#674), so should not be merged until that has merged.
Component(s) name
arista.avd.eos_designs
Proposed changes

Abstraction of hardware speed_groups. This is particular useful if placed in per-rack group_var file together with servers, so it is easier for the operator to maintain speed-groups together with the server connections.
Since the setting will depend on the platform, it is possible to control which devices will get speed-groups set. Ex only set on 7280R2 and not on 7010.
Data model:
# Set Hardware Speed Groups per Platform
platform_speed_groups:
  < platform >:
    < speed >: [ < speed_group >, < speed_group > ]

The template handles duplicates and reordering gracefully using a tmp dict.
Molecule has been updated with example below.
How to test

I added the following to molecule test:
# Set Hardware Speed Groups per platform
platform_speed_groups:
  7280R:             # Only setting speed-groups on 7280R platform, so only L3leaf should get this setting.
    25G: [ 3, 2 ]    # Unsorted order, but we should sort output correctly.
    10G: [ 1, 2, 4 ] # Duplicate speed-group 2. Since we sort on key first the result will be 25G for group 2

Output in molecule was as expected and configuration was correctly generated on the expected devices only.
Checklist:

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have updated molecule CI testing accordingly
[x] All new and existing tests passed (pre-commit, make linting and make sanity-lint).

I will create a new PR for this.


#7: Remove commons-lang3 dependency

Hello! It's me again!
As per Issue #7, removed all occurrences of commons-lang3 dependency coming from org.apache.commons.
I saw it was used only at GitLogReader for an isNotBlank() operation
According to its documentation, it checks for 3 things

String is not empty ("")
String is not null
String is not just whitespaces alone ("      ")

To get the same behavior, I replaced the isNotBlank() with

Objects.nonNull() to handle 2
!isEmpty() from String class to handle 1
trim() before the !isEmpty() check to handle 3

Feel free to let me know if you had something else in mind for #7!

This is great!  Thanks!  I was working towards the same goal, but this is much nicer 😄

This is great!  Thanks!  I was working towards the same goal, but this is much nicer 😄


⚠ ClamAV has degraded performance

In bc38f61, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 80 ms

Resolved: ClamAV performance has improved in 1ca171d after 543 days, 10 hours, 7 minutes.


Remove dependency on realpath

Hi. I find Macos does't support realpath. We can use simpler commands to achieve this function.


can not cross build for aarch64-apple-darwin and x86_64-apple-darwin

Rust version: rustc 1.62.1 (e092d0b6b 2022-07-16)
OS: macOS Monterey
Arch: aarch64
It fails on cross build (x86_64-apple-darwin and aarch64-apple-darwin)
$ cargo zigbuild --release --target x86_64-apple-darwin
...
error: linking with `/Users/dreamacro/Library/Caches/cargo-zigbuild/0.11.2/zigcc-x86_64-apple-darwin.sh` failed: exit status: 1
  |
  = note: "/Users/dreamacro/Library/Caches/cargo-zigbuild/0.11.2/zigcc-x86_64-apple-darwin.sh" "-m64" "-arch" "x86_64" "/var/folders/ht/jj81z6n17gv271vm6bllrz8w0000gn/T/rustcYEWEOm/symbols.o" "/Users/dreamacro/Dev/projects/glitch-rs/target/x86_64-apple-darwin/release/deps/glitchd-7ef0ef6677cc18c2.glitchd.66a11018-cgu.0.rcgu.o" "-L" "/Users/dreamacro/Dev/projects/glitch-rs/target/x86_64-apple-darwin/release/deps" "-L" "/Users/dreamacro/Dev/projects/glitch-rs/target/release/deps" "-L" "/Users/dreamacro/Dev/projects/glitch-rs/target/x86_64-apple-darwin/release/build/ring-a894445f88a9a04c/out" "-L" "/Users/dreamacro/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/var/folders/ht/jj81z6n17gv271vm6bllrz8w0000gn/T/rustcYEWEOm/libring-cc28e94b2a7ffb3d.rlib" "/Users/dreamacro/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-68d0fd74539b07e1.rlib" "-framework" "Security" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/dreamacro/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "-o" "/Users/dreamacro/Dev/projects/glitch-rs/target/x86_64-apple-darwin/release/deps/glitchd-7ef0ef6677cc18c2" "-Wl,-dead_strip" "-nodefaultlibs"
  = note: warning: unsupported linker arg: -dead_strip
          warning(link): framework not found for '-framework Security'
          warning(link): Framework search paths:
          warning(link): unable to resolve dependency /usr/lib/libcharset.1.dylib
          error(link): undefined reference to symbol '_kSecRandomDefault'
          error(link):   first referenced in '/Users/dreamacro/Dev/projects/glitch-rs/target/x86_64-apple-darwin/release/deps/glitchd-7ef0ef6677cc18c2.glitchd.66a11018-cgu.0.rcgu.o'
          error(link): undefined reference to symbol '_SecRandomCopyBytes'
          error(link):   first referenced in '/Users/dreamacro/Dev/projects/glitch-rs/target/x86_64-apple-darwin/release/deps/glitchd-7ef0ef6677cc18c2.glitchd.66a11018-cgu.0.rcgu.o'
          error: UndefinedSymbolReference

  = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `glitch` due to previous error
warning: build failed, waiting for other jobs to finish...
error: linking with `/Users/dreamacro/Library/Caches/cargo-zigbuild/0.11.2/zigcc-x86_64-apple-darwin.sh` failed: exit status: 1
  |
  = note: "/Users/dreamacro/Library/Caches/cargo-zigbuild/0.11.2/zigcc-x86_64-apple-darwin.sh" "-m64" "-arch" "x86_64" "/var/folders/ht/jj81z6n17gv271vm6bllrz8w0000gn/T/rustcztjxHF/symbols.o" "/Users/dreamacro/Dev/projects/glitch-rs/target/x86_64-apple-darwin/release/deps/glitch-4648c56b6280f928.glitch.de0635cd-cgu.0.rcgu.o" "-L" "/Users/dreamacro/Dev/projects/glitch-rs/target/x86_64-apple-darwin/release/deps" "-L" "/Users/dreamacro/Dev/projects/glitch-rs/target/release/deps" "-L" "/Users/dreamacro/Dev/projects/glitch-rs/target/x86_64-apple-darwin/release/build/ring-a894445f88a9a04c/out" "-L" "/Users/dreamacro/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "/var/folders/ht/jj81z6n17gv271vm6bllrz8w0000gn/T/rustcztjxHF/libring-cc28e94b2a7ffb3d.rlib" "/Users/dreamacro/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-68d0fd74539b07e1.rlib" "-framework" "Security" "-liconv" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/dreamacro/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib" "-o" "/Users/dreamacro/Dev/projects/glitch-rs/target/x86_64-apple-darwin/release/deps/glitch-4648c56b6280f928" "-Wl,-dead_strip" "-nodefaultlibs"
  = note: warning: unsupported linker arg: -dead_strip
          warning(link): framework not found for '-framework Security'
          warning(link): Framework search paths:
          warning(link): unable to resolve dependency /usr/lib/libcharset.1.dylib
          error(link): undefined reference to symbol '_kSecRandomDefault'
          error(link):   first referenced in '/Users/dreamacro/Dev/projects/glitch-rs/target/x86_64-apple-darwin/release/deps/glitch-4648c56b6280f928.glitch.de0635cd-cgu.0.rcgu.o'
          error(link): undefined reference to symbol '_SecRandomCopyBytes'
          error(link):   first referenced in '/Users/dreamacro/Dev/projects/glitch-rs/target/x86_64-apple-darwin/release/deps/glitch-4648c56b6280f928.glitch.de0635cd-cgu.0.rcgu.o'
          error: UndefinedSymbolReference

  = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

seems it's a zig linker args issue: https://github.com/ziglang/zig/issues/10999?

No, the error is from warning(link): framework not found for '-framework Security' because zig does not bundle all the macOS frameworks.

You can supply a SDKROOT env var to tell zig cc about the path to macOS SDK.

I think you can use
SDKPATH=`xcrun --show-sdk-path` cargo zigbuild ...

if you are building on macOS.

Thanks for the quick reply. It works 👍

Unfortunately, the result of zigbuild is not executable on macOS.
project on main [$!] is 📦 v0.1.0 via 🦀 v1.62.1
❯ cargo zigbuild --release --target aarch64-apple-darwin
    Finished release [optimized] target(s) in 0.06s

project on main [$!] is 📦 v0.1.0 via 🦀 v1.62.1
❯ ./target/aarch64-apple-darwin/release/binary
[1]    92924 killed     ./target/aarch64-apple-darwin/release/binary

But the result of cargo build --release is worked.
How can I help you debug this problem?

Can you run it through lldb and paste the backtrace?

I tried some parameters and finally found that the build profile was the problem. When I removed strip = true, everything was fine.
[profile.release]
strip = true
lto = true
codegen-units = 1
panic = "abort"

Could you please describe in more detail some of the operations of lldb if you need some additional information?

lldb ./target/aarch64-apple-darwin/release/binary
run

If it crashes lldb should stop and present you a stacktrace, run bt all to get full backtrace.

Something strange happened:
When I run cargo build --release --target aarch64-apple-darwin for the first time and execute it with lldb run, it executes fine.
But when I execute it the second time using lldb it exits directly.
❯ lldb ./target/aarch64-apple-darwin/release/binary
(lldb) target create "./target/aarch64-apple-darwin/release/binary"
[1]    4572 killed     lldb ./target/aarch64-apple-darwin/release/binary

After simple testing, the problem appears to exist only in aarch64-apple-darwin.
on Intel Macbook Pro:
aarch64-apple-darwin: killed
x86_64-apple-darwin: work
x86_64-unknown-linux-gnu: work
on M1 Pro:
aarch64-apple-darwin: killed
x86_64-apple-darwin: work
x86_64-unknown-linux-gnu: work

FYI, if you are already building on macOS, cargo build should just work, no need to use cargo-zigbuild.

Thanks, I mainly use cargo-zigbuild for Linux artifacts. Just tried macOS out of curiosity, but found this problem

I suspect it's a zig issue, consider report to zig if you can reproduce it with zig cc only.

FYI, if you are already building on macOS, cargo build should just work, no need to use cargo-zigbuild.

Might still be helpful because of this issue: https://github.com/rust-lang/rust/issues/55235.
Just stumbled over this today... currently not able to build a x86_64 Apple binary on M1 MacBook Pro :(


Feat: Sharing of app's playstore link on button click

Describe the feature
We can add a button on about us page to share the playstore link of the app
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'24 contributor
[X] I want to work on this issue

@Yashshukla11 please assign this to me i am GSSOC'24 contributor ans have 2+ years of experience in flutter

please assignt this issue to me i am dedicated to get experience about GSSOC


Configurator vpn

@njagadish @pkharat

Poll events/ periodic tasks are not handled

@SureshDH - This PR needs to be rebased as the parent branch (configurator) has been updated. Let us rebase this code with latest configurator branch and generate new PR.

New PR #111 replaces this.


Import Gists to Drift

not very important, but would be a nice addition for on-boarding.

What did you have in mind for this feature?
Gist does provide an API, but for any private gist, the API needs to be authorized. I can see us creating a GitHub OAuth app for the demo page; but I don't think we should make someone that want to self-host Drift to create a Github OAuth App... or maybe they would?
Maybe we can limit to just public Gists for now, and see how / if it evolves 🤷

I'm fine with starting with public gists (maybe not even per-github-account, just the ability to have the user provide a link and 'copy from github').
I'm not too experienced with the GH API, but can we have the user provide a personal access token?


Add advice around non-breaking spaces

What do you need?
Not sure if this is within the scope of this guide, feel free to close if not. Can I request some guidance around the use of non-breaking spaces and word joiners?

Not sure this IS within the scope of the guide. If it is, we could maybe rework the Style Manual description: "Non breaking spaces are used between parts of an expression that should not be split over a line break -- for example, telephone numbers and in expressions such as Mrs EB Bloch and 3.5 metres." Not sure we should include the more technical 'word joiner' though (used for 'zero-width no-break spaces'); maybe a UI-Kit entry?

Tracking this in Trello. Thanks @gordcorp We'll figure this out and let you know.


100xdevs landing page revamp for cohort 3

This may be very subjective, but I think our current landing page doesn't properly display what the cohort has to offer. So I propose a revamp of the 100xdevs landing page to ensure it aligns with what Cohort 3 has to offer. Below are the new sections and improvements we will implement:

New animated components: For an idea of the type of animated components I'm talking about, please refer to this $10landingpage or my Twitter page. I don't use any component library to create these animations; each animated component is crafted using Next.js and Framer.

Feedback section / student success stories section: Include an infinite carousel featuring feedback from students of the previous cohort.

Add new sections for:
DevOps
Fullstack
Web3
Each section will provide concise yet comprehensive information about what participants will learn in this cohort.

Additionally, consider adding a separate section about the teacher, Lord Harkirat (optional).

Layout improvement and restructuring of existing sections: For instance, have a look at this section it looks like a footer thrown in the between of page it position needs to be changed

If ypu guys thinks this is a valid proposal I will provide some layout mockups and also if you have specific ideas in mind, I'm eager to hear them. Please let me know!

hey, I would love to work on this!

hey looks interesting would love to work on this

Hey,
I redesigned the landing page page, please find a screen recording attached. I hope it meets the requirements.
Cheers
https://github.com/user-attachments/assets/704ebb0f-fd4c-4025-bfb9-f3ea056e4abd

I would like to contribute in this !


Compiling with tiny Go

Hey @codablock - i thought as we had solved the other ticket for all intent and purposes, and this isn't related, i'd ask in a new issue.... 😁
I want to compile with Tiny Go,
GOARCH=wasm tinygo build -tags wasm -x -o plugin.wasm -scheduler=none -target=wasi

However this results in
GOARCH=wasm tinygo build -tags wasm -x -o plugin.wasm -scheduler=none -target=wasi
package command-line-arguments
        imports github.com/user.name/python-embed/internal/python-libs/data: build constraints exclude all Go files in /Users/user.name/go/src/github.com/user.name/python-embed/internal/python-libs/data
make: *** [wasm] Error 1

I've looked through the files in the data directory and i can't see a constraint that would explicitly cause this - would you have any ideas?
If i put a file in the data folder like
package data

func HelloWorld() string {
	return "hello world"
}

and then compile I get
/usr/local/go/src/internal/cpu/cpu_wasm.go:7:7: CacheLinePadSize redeclared in this block
/usr/local/go/src/internal/cpu/cpu_arm.go:7:7:  other declaration of CacheLinePadSize
/usr/local/go/src/internal/cpu/cpu_wasm.go:9:6: doinit redeclared in this block
/usr/local/go/src/internal/cpu/cpu_arm.go:21:6:         other declaration of doinit

which seems odd as I'm on OSX but it allows a file to be compiled in the dir which exposes this issue...

I have no experience with Tiny Go...but it looks like you're trying to compile to wasm, which is not supported at the moment. go-embed-python relies on python binaries and python code being packaged that are compatible with the target platform that your binary gets compiled for. These binaries are then executed via os/exec, which is not supported in Tiny Go. Even if it would be supported, there is currently no wasm build of Python that could be used in go-embed-python (this might change in the future, but there is a lot missing for this to be practical).

gotcha. Makes sense. If you hear of any changes, please let me know!


Do not close the queued_tasks channel during exit

Thank you for sharing this package! We noticed that it can cause Julia to hang on exit, and it seems to hang during the attempt to close the queued_tasks channel. We probably don't need to close the channel explicitly since we're exiting, so removing the call to close seemed the simplest fix.
The hanging seems to occur when there is more work to do after closing the channel. Here is a minimum example to reproduce the issue.
using SentryIntegration

atexit(() -> @info "exiting")
SentryIntegration.init("fake")
exit()

Thanks! I want to merge this straight in, but I'm vaguely remembering a reason for this wait in the first place. I think if Julia shuts down too quickly then the final messages to Sentry don't get sent, which can be particularly relevant if Julia is shutting down immediately after trying to send a message. I think using atexit was a work around for this, but maybe its behaviour (or the tasks behaviour) changed in Julia 1.8.
I'll do some tests and get back to you about this next week.
Regardless of the outcome, it might be a good idea to manually call the clear_queue function in the outermost scope of the main function.

Right on! I think the while loop in clear_queue still allows the unsent messages to get picked up and sent on exit; and when the while loop finishes, the channel should be empty. It was just the call to close the channel after that that seemed to cause a hang, and that's all I removed. Thanks again!

It took me a while but I finally got back to this. I'm getting weird behaviour, so I'm just going to write down what I've discovered with the code you put above and a similar one that captures an exception too:
...
No I'm not I just had a silly typo, so I've deleted the essay I just wrote. I think there is some weird interplay with the additional atexit function, but I think I just don't understand what the Julia runtime is doing at the end there. But it is irrelevant since your fix works.
Now that I've made sense of it, you're quite right about how it finishes off the queue, so the PR looks good to me! I'll merge it in. Thanks very much!

Sure thing! Yeah, it was tricky to make sense of. And I should have been more clear that this fix was a workaround for what seems like a bug elsewhere (the weird interplay during exit). It seems like we should be able to call close reliably, but luckily to work around this bug, we didn't need to. Thanks again!


Is student net really learn what teacher output?

I print the first 32 labels of train dataloader for teacher net and got:
14, 8, 29, 67, 59, 49, 73, 25, 4, 76, 11, 25, 82, 6, 11, 47, 28, 43, 40, 49, 27, 92, 62, 37, 64, 22, 38, 90, 14, 16, 27, 92
while the first 32 labels of train dataloader of student net but they are:
86, 40, 14, 73, 50, 43, 40, 27, 1, 51, 11, 47, 32, 76, 28, 83, 32, 4, 52, 77, 3, 64, 24, 36, 80, 93, 96, 72, 26, 75, 47, 79
So it seems that the output index of teacher net and student net are not the same at each batch.

It makes sense that they're different. The idea of knowledge distillation goes beyond simply adding some supervision like final output labels. My understanding of knowledge distillation is that, the student is not mimicking the teacher's output labels, but learning on its own with training data, and being regularized with the "dark knowledge" from teacher. If you take a look at the KD loss function, it's a joint of hard labels (training samples) and soft labels (teacher outputs). Hinton's paper had an insightful discussion around this.

It might be interesting to have a hyperparameter explorations (using the search_hyperparams.py) for alpha and T (I had done that for my course project, but not intensively due to time/resource limitation). If we use a near-one alpha (forcing student to mimic teacher more) with an improper temperature, sometimes we would notice a sharp drop in accuracy. Sometimes though, even with a small alpha, much knowledge could be distilled from teacher into student (measured by accuracy improvement). My point was simply that, the loss contribution from distillation part could be more complicated than the intuitive sense of "mimicking" teacher's output labels.
No, I haven't touched ImageNet due to resource constraint...

thx for answering, i need to have a detailed look at your report and do some experiments

I split the loss into two parts, one is the cross entropy between outputs and teacher outputs with temperature T, the other is the cross entropy between outputs and labels. the first loss is called "soft" and the other is "hard"
In your code, due to the mis-align of teacher output and student output, the "soft" loss is always a const during training with value 0.045, and the "hard" loss is optimized from 0.198 to a relatively low value.
This means the network is always learning from the target while not the teacher, the "soft" loss is always a noisy for student, i guess this became some sort of regularization and cause the student network to have slightly better generalization than before.

Am I wrong that the teacher outputs are supposed to be aligned with the student outputs?

Am I wrong that the teacher outputs are supposed to be aligned with the student outputs?

I think so. It seems that @peterliht has recorded the teacher output in the beginning and reuse the output during training student by the index through enumerate(dataloader). But the dataloader shuffles everytime so the results are not the same for teacher and student.


Autodetect the distance based on the list of searched objects

Is there some way to detect the longest string of text in order to adjust the distance in Fuse js options?
example:
The largest string is in the second object in the description property.
[
{
title: "Old Man's War",
author: {
firstName: "John",
description: "Scalzi"
}
},
{
title: "The Lock Artist",
author: {
firstName: "Steve",
description: " is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. "
}
}
]
regards

Fix


Password confirmation validation doesn't work properly on the Register page.

Password matching validation only works when the password-confirm field is updated. It doesn't work when the password field is updated.
In this case, the form is submittable, and I will receive a password mismatch error from the backend.
https://github.com/user-attachments/assets/363e5ee8-79b3-4756-915e-e84e39f8b780

Hello @ayoam,
Good catch thanks for reporting.
Side question, I see you've implemented client side password policy validation.
Are you configuring the policies on the Keycloak server and using the passwordPolicies object:

Or did you hard code thoses rules in your theme?

Hi @garronej
I configured the password policies on the Keycloak server admin dashboard .
I have a side question: I noticed that the Password regex policy is not included in the Password policies object. Will it be exposed in the future?

It's fixed in 10.0.0-rc.17 that have just been released.
But I suggest you set doMakeUserConfirmPassword to false. It's a pain for the users to have to type a complex password twice. Making user confirm their password is a legacy practice.
https://github.com/keycloakify/keycloakify-starter/blob/1604dee71c91f4d711bc93bcf77f0f04dfd7d57d/src/login/KcPage.tsx#L11

I have a side question: I noticed that the Password regex policy is not included in the Password policies object. Will it be exposed in the future?

I have a side question: I noticed that the Password regex policy is not included in the Password policies object. Will it be exposed in the future?

Hum, intresting, this would be a feature request for https://github.com/jcputney/keycloak-theme-additional-info-extension, the library that Keycloakify uses uner the hood for this.

Thank you @garronej for your prompt and detailed response!


Can bigchaindb's cluster be deployed across idc?

I think mongodb is't proper across idc in a replica set,
so bigchaindb cluster need be deployed in a idc?
Am i wrong?

@richmonkey I didn't understand your question. Can you please explain what do you mean? What's an idc?

sorry for my english.
idc is "Internet Data Center".

MongoDB can be deployed spanning many different data centers scattered all over planet Earth.
https://docs.mongodb.com/manual/core/replica-set-architecture-geographically-distributed/


How can we disable sharing entirely (for internal and external user) on OneDrive for business?

we want to implement in my organization like disable internal/external sharing completely so that user can only use onedrive as data storage container without sharing feature at all.
microsoft's one drive team could work on this to make sharing disable option for INTERNAL and EXTERNAL.
For a bank and we need to manage any sharing. This is not a 'feature' that we can have for all our users
For healthcare industry we don't want to share confidential data shared using onderive in organization?
Is there a way to disable entire sharing in onedrive for business?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 428a5954-392c-f7ad-bac4-553adf74e08e
Version Independent ID: 44fdecf2-1977-3171-9d04-02c0fefb16c9
Content: Set-SPOTenant (sharepoint-online)
Content Source: sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md
Service: sharepoint-powershell
GitHub Login: @trent-green
Microsoft Alias: trgreen

Hello @anomepani how are you?
The sharing settings available are the ones that appear here https://admin.onedrive.com/?v=SharingSettings
I do not think you can disable internal sharing completely for example, as that is one of the uses of OneDrive, however you can suggest your idea here https://onedrive.uservoice.com/ where it will reach the product group.
Hope this information helps you,

Thanks for your reply. I will suggest the idea in the user voice.

@anomepani  Thank you very much for your kind feedback. Considering your valuable feedback, as advised please log this issue as a User Voice. Concerning team will evaluate and take the appropriate action, as per their schedule. We proceed here to close it. Thanks again for taking out some time and sharing your feedback.


[NTR] add "numerical aperture"

For new term requests (NTRs), please provide the following information:
Preferred term label
numerical aperture
Synonyms
Lens Numerical Aperture
Textual definition
A setting datum that, as a dimensionless number, represents the quality which characterizes the range of angles over which an optical system can accept or emit light. It gets calculated by the sine of one half of the vertex angle of the largest cone of meridional rays that can enter or leave an optical system or element, multiplied by the refractive index of the medium in which the cone is located.
dc:source: wikipedia:Numerical_aperture
possible equivalents in other terminologies

NCIT:Lens Numerical Aperture
REPR:Lens Numerical Aperture

Link to CHARISMA Wiki equivalent

https://wiki.charisma.ideaconsult.net/wiki/Item:Q385

Suggested parent term
setting datum
Examples
The light was focused onto the embedded sample using a 100× objective with a numerical aperture of 0.9, resulting in a diffraction-limited in-plane laser spot size of <1 μm.
Attribution
https://orcid.org/0000-0002-1595-3213

Change definition from “A setting datum that, as a dimensionless number, represents the quality ..." to “A setting datum that, as a dimensionless number, specifies the quality ..." to

Was closed by #123


Enable Negative Conditions for Environment Variables

Feature Description
Enable conditions for scripts where an environment variable is not a particular value.
Describe The Solution You'd Like
There are cases where you might want to run a task only when an environment variable does not equal a particular value. This does not seem possible with the current options.
Code Sample
[tasks.build-if-not-blue]
command = "cargo"
args = ["build"]
condition = { env_not = { name = "COLOR",  value = "blue" } }

there is actually env_not_set, env_false and files_not_exist  but i guess you are talking about having a env_not to be the opposite of env. so that i do not have but its easy to add.
would you like to PR that?

also there is a workaround currently with using run_task with criteria and a default

@sagiegurari I can make a PR for it. Is this what you mean by the workaround?
[tasks.build]
command = "cargo"
args = ["build"]

[tasks.build-if-not-blue]
run_task = [
    { name = "default", condition = { env = { name = "COLOR",  value = "blue" } } },
    { name = "build" }
]


Ambiguous ERROR: Unable to find 'docker'

Description
When running initial setup it will fail on "chown: invalid user: ‘user:user’"
OS
My OS is:

[ Ubuntu 22.04 ] Linux

Docker
The output of docker version:
Docker version 20.10.21, build 20.10.21-0ubuntu1~22.04.3

The output of docker-compose version:
docker-compose version 1.29.2, build unknown
docker-py version: 5.0.3
CPython version: 3.10.6
OpenSSL version: OpenSSL 3.0.2 15 Mar 2022

o3tanks.sh
if ! [ -S "${docker_socket}" ]; then
        docker_socket="/run/docker.sock"

        if ! [ -S "${docker_socket}" ]; then
                throw_error "${MESSAGES_MISSING_DOCKER}"
        fi
fi

There should be different message when there is issue with docker_socket and not ERROR: Unable to find 'docker'
This error will confuse user into thinking that their is problem with their docker installation instead of checking if they have docker running

Thanks for reporting these errors.
The first issue (chown: invalid user: ‘user:user’) is related to an invalid configuration while creating the technical user inside container images. It may happen when the tool is run as a privileged user instead of a standard user, since running as root is discouraged and not fully supported by inner dependencies. I will check if the constraint can be relax to support root anyway, or just provide a better error message to explain what is happening.
Just to exclude other possible causes, did you use sudo or root user to execute it? In that case, you could evaluate to configure your user group to avoid sudo (see [https://docs.docker.com/engine/install/linux-postinstall/](Linux post-installation steps) in the official documentation of Docker Engine), or configure your docker installation in rootless mode (see [https://docs.docker.com/engine/security/rootless/](Run the Docker daemon as a non-root user) in the official documentation of Docker Engine).
For the second part of the issue, I agree with you that the message is misleading. I'm going to push a fix to improve it. Thanks!

Docker Engine 19.03 (or greater), both root and rootless mode are supported. See [official documentation](https://docs.docker.com/get-docker/) for installation details.
Both root and rootless modes were supposed to be supported so I tested root mode first. (I used root user not sudo)

Those modes are related to the Docker Engine, which has to be configured with the two links above. Instead, the tool was designed to work in user-mode without requiring any additional privilege.
However, there are some cases where running as root is mandatory. I'm merging an enhancement that should fix the error that you have found, enabling the execution from a privileged user as long as internal dependencies support it.


Default task end date to the day-after-today

When I create a task using Wanna, I very often find myself setting the end date to the day-after-today. Would it be possible to make this a default, just as the start date defaults to today's date?

Thank you for your feature request. 🙏
I think this is a case special to you. For instance, it's rare for me to add a task whose start date is today and its end date is tomorrow.
However, some of the dates (such as today and tomorrow) are special, and we'll probably add a feature in the next versions so that the user can set start/end date to these special ones without the need to exactly specify the day number in the date picker.
So feel free to add another issue to request such a feature, but I think this issue should be closed.

It's also possible to give the user the ability to set default start/end dates in the settings as he/she favors.


Fix latest tag on image push

The latest tag doesn't work ..
Releasing rails-run:3.3.1
Pushing rails-run:3.3.1
The push refers to repository [docker.io/krsyoung/rails-run]
107a97425842: Pushed
bba9a09fce5b: Pushed
50cd288b6b2a: Mounted from library/ruby
410ad521a36a: Mounted from library/ruby
c5154d5f05c0: Mounted from library/ruby
6b3ca7c55a15: Mounted from library/ruby
52ec5a4316fa: Mounted from library/ruby
3.3.1: digest: sha256:63bd87be2dd2e817621653e995c77e042dff43c32912f7932836cf402a1b5628 size: 1787
Pushing rails-run:latest
The push refers to repository [docker.io/krsyoung/rails-run]
tag does not exist: krsyoung/rails-run:latest
Releasing rails-run:latest
Pushing rails-run:latest
The push refers to repository [docker.io/krsyoung/rails-run]
tag does not exist: krsyoung/rails-run:latest
Error response from daemon: No such image: krsyoung/rails-run:latest
Pushing rails-run:latest
The push refers to repository [docker.io/krsyoung/rails-run]
tag does not exist: krsyoung/rails-run:latest
chrisyoung@macbook-pro-3 rails-docker % update rails-build 3.3.1
Updating rails-build:3.3.1
Building rails-build:3.3.1
[+] Building 66.3s (8/8) FINISHED

From what I can see there's some issues retrieving the public keys. Looking into it now


Function calls use wrong context

Calls like this
Mustache.render("something {{var.toUpperCase}} something", { var: "value" })
produce false result - the function ends up called with a wrong context. To be more exact, Context.prototype.lookup just calls the function on the entire object passed as the second argument instead of just the "value" string.

Mustache is logic-less. You would be able to use such functionality in handlebars.js. I'm not sure if such functionality is desired.

if you can gain support from the team, here is a really simple way to add that: https://github.com/rndme/mostache/blob/master/mostache.js#L498, which would go in right around here: https://github.com/janl/mustache.js/blob/master/mustache.js#L417  it does "wrongly" methodize bound functions, but it still makes many string methods useful mid-template. to add arguments, it's more complicated and would demands a template syntax change-- likely a non-starter.


Not all out parameters available on stored procedure call

I am able to successfully call an iSeries stored procedure that has 1 in and 3 out parameters. However it seems that only parameter 3 has a value.  Looking at the code I found that it only puts results into the last parameter.  Commenting out the below lines returns all out parameter values:
            var result = {};
            for (i = 0; i < outputParams.length; i++) {
              // if(i == outputParams.length - 1 )
              // {
                result[outputParams[i].Index] = callStatement.getStringSync(outputParams[i].Index).trim();
              // }
            }
            self.emit('executeStoredProc', null, result);

Also, how do you call a stored procedure that has IN parameters but returns a data set result rather than OUT parameters?  It calls the SP successfully but no rows are returned.  Thanks!

Hello @random0000, I just saw this so I am sorry it took so long to reply.  I believe the answer to your first post was actually fixed in #13 in December but it doesn't look like the change has been updated in npm (your solution is also better).  @paulomcnally, do know if this has been updated?
Unfortunately, I don't have access to an AS400 anymore so I cannot immediately look into the other issues.


:recycle: Test: 100% test coverage for tevmCall

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1306  👈
#1304
#1303
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @roninjin10 and the rest of your teammates on  Graphite


Transactions with blacklisted eth receivers are included in a batch profitability comparison

When building a batch, transactions are first collected from the outgoing transaction pool in order to calculate the total bridge fee and check if a more profitable batch of the same token type already exists in the pool. When doing this, there is no check if the translation’s destination address is included in the blacklist or not. Later, when transactions are collected to be included in the batch, additional blacklist filtering is applied. This can cause potential creation of the less profitable batch than the one of the same token type with the biggest nonce already in the pool. Also, the double retrieval of the calculations seems unnecessary.

This is an excellent catch! Thank you for taking the time to investigate the issue.
I'll look into it myself today and follow up with more comments.

So I've dug into this and it seems very straightforward to add the same check from here to here
This seems like a 20 minute patch, maybe an hour or two if you want to make the blacklist check more generic and avoid code duplciation.
From your comments I assume you're digging into reducing the repeated fee computation that's currently a big part of batch creation? Batch creation is pretty complex, and optimizing it will quickly baloon into a lot of work, not that I don't think it's important just wondering on priorities.
Thanks for finding and reporting this bug!

Agree that refactoring should be avoided at this point and with the proposed solution.
We fixed this and adapted tests and 2 other minor issues are resolved which are related to the building batches.
One is related to the GetFees function(the sum will always be 0),
and the other one with the GetLastOutgoingBatchByTokenType (the lastBatch will always point to the last batch in the array)
Also, here should check be greater or equal?

GT or GTE either should work there. Good catch on get fees as well.
If you have the fixes locally could you get them up as PRs? I'd love to review/merge so that we can have them ready for the next upgrade.

resolved in #57


issue hosting, game lookups, joining operations as anonymous

 Bug on mobile, cannot rejoin game or redirect to home page after game has started


proxy not working

i've only http proxies am trying from 2 days but didn't work
this is my code pls help me how to fix
if name == "main":
opt = Options(proxy={"http": f"http://{proxy}"}, headless=True,
user_agent="Mozilla/5.0 (Linux; Android 13; SM-A515F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Mobile Safari/537.36")
dir = cfDirectory(cache_path="cache",
session_name=("cookie.json", f"ua.json"))
# Context Manager
with CFSession.cfSession(options=opt, directory=dir) as session:
res = session.get(target)
print(res.content)

What version is this?

We've recently released v1.5 which adds proxy functionality, you can read more here

why the checking runs three times?
check the code and tell me how to fix this :
import CFSession
from CFSession import cfDirectory, Options, cf, cfSession, cfCookieHandler, Proxy
import os
import datetime
cf.DEBUG = True
proxy = "191.101.77.xx:3128"
if name == "main":
starttime = datetime.datetime.now()
proxy = Proxy({"http": "http://{proxy}"})
opt = Options(proxy=proxy,headless=True, user_agent="Mozilla/5.0 (Linux; Android 13; SM-A515F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Mobile Safari/537.36")
dir = cfDirectory(cache_path="cache", session_name=("cookie.json","ua.json"))
#Context Manager
with CFSession.cfSession(options=opt, directory=dir) as session:
res = session.get("https://ddosguru.com/test.php")
print(res.content)
print(datetime.datetime.now() - starttime)

now i checked the script and i fixed the problem thanks

Just checked your code
It seems the issue came from your proxy configuration at

{"http": "http://{proxy}"}
^^^

Use https if your site is using https or use both if u think it will switch between http and https
Example:
proxy = Proxy({"http": "http://{proxy}", "https": 'http://{proxy}'})


sealer run local vm cluster failed :  Conflict container name

What happened:
sealer run kubernetes:v1.19.9 --masters <IP_ADDRESS> --nodes <IP_ADDRESS>,<IP_ADDRESS> --passwd ***

logs:

...
Loaded image: registry:2.7.1
+ docker run -d --restart=always --name sealer-registry -p 5000:5000 -v /var/lib/sealer/data/my-cluster/registry:/var/lib/registry registry:2.7.1
docker: Error response from daemon: Conflict. The container name "/sealer-registry" is already in use by container "f07b3e271f95683e554c1c1b88a41375ae26c85193e348100b3a6af200b741c9". You have to remove (or rename) that container to be able to reuse that name.
...

2021-05-21 10:11:14 [EROR] init master0 failed, error: [ssh][<IP_ADDRESS>]run command failed [kubeadm init --config=/var/lib/sealer/data/my-cluster/kubeadm-config.yaml --upload-certs -v 0 --ignore-preflight-errors=SystemVerification], Process exited with status 1. Please clean and reinstall

What you expected to happen:
setup a k8s cluster
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

sealer version:   {"gitVersion":"v0.1.4","gitCommit":"9090fa8","buildDate":"2021-05-19 08:00:19","goVersion":"go1.14.15","compiler":"gc","platform":"linux/amd64"}
Cloud provider or hardware configuration:  win10 + vmware
OS : CentOS Linux 7
Kernel :   3.10.0-1160.el7.x86_64
Install tools:
Others:

Actually, there is no container named  "/sealer-registry"
[root@mickey sealer]# docker image list
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
registry            2.7.1               1fd8e1b0bb7e        5 weeks ago         26.2MB
[root@mickey sealer]#
[root@mickey sealer]#
[root@mickey sealer]# docker container list
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
[root@mickey sealer]#
[root@mickey sealer]#

how about "docker container list -a"

Using docker ps -a

OK, I rm the container and retry, then succeed.
Maybe I left out the real problem, I  excute sealer run ... three times on a pure system.

Failed,  but I forgot to record the error log
Failed,  caused by The Container "sealer-registry"
Success, rm sealer-registry

But now  all calico-node pods is CrashLoopBackOff, because the eth0 doesn't exist.
Why sealer need a inteaface  named eth0 ,  I remember that sealos didn't need it.
[root@mickey sealer]# kubectl get pods -A
NAMESPACE     NAME                                       READY   STATUS
kube-system   calico-kube-controllers-5565b777b6-8b4xt   0/1     ContainerCreating
kube-system   calico-node-95v25                          0/1     CrashLoopBackOff
kube-system   calico-node-db9h8                          0/1     CrashLoopBackOff
kube-system   calico-node-f9gpz                          0/1     CrashLoopBackOff
kube-system   coredns-597c5579bc-8n2gh                   0/1     ContainerCreating
kube-system   coredns-597c5579bc-qppr5                   0/1     ContainerCreating
kube-system   etcd-mickey.katepang                       1/1     Running
kube-system   kube-apiserver-mickey.katepang             1/1     Running
kube-system   kube-controller-manager-mickey.katepang    1/1     Running
kube-system   kube-lvscare-miffy.katepang                1/1     Running
kube-system   kube-lvscare-stuart.katepang               1/1     Running
kube-system   kube-proxy-57g8w                           1/1     Running
kube-system   kube-proxy-ljv89                           1/1     Running
kube-system   kube-proxy-nzxnh                           1/1     Running
kube-system   kube-scheduler-mickey.katepang             1/1     Running
[root@mickey sealer]#
[root@mickey sealer]#
[root@mickey sealer]#
[root@mickey sealer]# kubectl logs calico-node-95v25 -n kube-system
2021-05-21 02:45:31.841 [INFO][9] startup.go 256: Early log level set to info
2021-05-21 02:45:31.841 [INFO][9] startup.go 272: Using NODENAME environment for no
2021-05-21 02:45:31.841 [INFO][9] startup.go 284: Determined node name: mickey.kate
2021-05-21 02:45:31.842 [INFO][9] k8s.go 228: Using Calico IPAM
2021-05-21 02:45:31.842 [INFO][9] startup.go 316: Checking datastore connection
2021-05-21 02:45:31.848 [INFO][9] startup.go 340: Datastore connection verified
2021-05-21 02:45:31.848 [INFO][9] startup.go 95: Datastore is ready
2021-05-21 02:45:31.851 [INFO][9] customresource.go 100: Error getting resource Keyorg calicoversion)
2021-05-21 02:45:31.855 [INFO][9] startup.go 382: Initialize BGP data
2021-05-21 02:45:31.857 [WARNING][9] startup.go 594: Unable to auto-detect an IPv4
2021-05-21 02:45:31.857 [WARNING][9] startup.go 404: Couldn't autodetect an IPv4 ad
2021-05-21 02:45:31.857 [INFO][9] startup.go 210: Clearing out-of-date IPv4 address
2021-05-21 02:45:31.863 [WARNING][9] startup.go 1057: Terminating
Calico node failed to start

[root@mickey sealer]# ifconfig
docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
        inet6 fe80::42:dfff:fe5d:66a7  prefixlen 64  scopeid 0x20<link>
        ether 02:42:df:5d:66:a7  txqueuelen 0  (Ethernet)
        RX packets 22355  bytes 683423457 (651.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12772  bytes 925369 (903.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
        inet6 fe80::a265:6ec1:9f58:95b4  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:7c:75:b4  txqueuelen 1000  (Ethernet)
        RX packets 1205377  bytes 665295642 (634.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5083588  bytes<PHONE_NUMBER>2 (9.7 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 1090114  bytes<PHONE_NUMBER> (2.9 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1090114  bytes<PHONE_NUMBER> (2.9 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vethac34c71: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::100d:aeff:fe66:491a  prefixlen 64  scopeid 0x20<link>
        ether 12:0d:ae:66:49:1a  txqueuelen 0  (Ethernet)
        RX packets 22355  bytes 683736427 (652.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12780  bytes 926025 (904.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

you need specify the network interface name in Clusterfile, then sealer apply -f Clusterfile, sealer run don't support this argument now.

apiVersion: sealer.aliyun.com/v1alpha1
kind: Cluster
metadata:
  name: my-cluster
spec:
  image: registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes:v1.19.9
  provider: BAREMETAL
  ssh:
    passwd:
    pk: xxx
    pkPasswd: xxx
    user: root
  network:
    interface: ens33
    cniName: calico
    podCIDR: <IP_ADDRESS>/10
    svcCIDR: <IP_ADDRESS>/22
    withoutCNI: false
  certSANS:
    - aliyun-inc.com
    - <IP_ADDRESS>

  masters:
    ipList:
     - <IP_ADDRESS>
     - <IP_ADDRESS>
     - <IP_ADDRESS>
  nodes:
    ipList:
     - <IP_ADDRESS>
     - <IP_ADDRESS>
     - <IP_ADDRESS>

like this

https://github.com/alibaba/sealer/issues/143

#136  this feature can apply cni not change nodes

But now all calico-node pods is CrashLoopBackOff, because the eth0 doesn't exist.
Why sealer need a inteaface named eth0 , I remember that sealos didn't need it.
[root@mickey sealer]# kubectl get pods -A
NAMESPACE     NAME                                       READY   STATUS
kube-system   calico-kube-controllers-5565b777b6-8b4xt   0/1     ContainerCreating
kube-system   calico-node-95v25                          0/1     CrashLoopBackOff
kube-system   calico-node-db9h8                          0/1     CrashLoopBackOff
kube-system   calico-node-f9gpz                          0/1     CrashLoopBackOff
kube-system   coredns-597c5579bc-8n2gh                   0/1     ContainerCreating
kube-system   coredns-597c5579bc-qppr5                   0/1     ContainerCreating
kube-system   etcd-mickey.katepang                       1/1     Running
kube-system   kube-apiserver-mickey.katepang             1/1     Running
kube-system   kube-controller-manager-mickey.katepang    1/1     Running
kube-system   kube-lvscare-miffy.katepang                1/1     Running
kube-system   kube-lvscare-stuart.katepang               1/1     Running
kube-system   kube-proxy-57g8w                           1/1     Running
kube-system   kube-proxy-ljv89                           1/1     Running
kube-system   kube-proxy-nzxnh                           1/1     Running
kube-system   kube-scheduler-mickey.katepang             1/1     Running
[root@mickey sealer]#
[root@mickey sealer]#
[root@mickey sealer]#
[root@mickey sealer]# kubectl logs calico-node-95v25 -n kube-system
2021-05-21 02:45:31.841 [INFO][9] startup.go 256: Early log level set to info
2021-05-21 02:45:31.841 [INFO][9] startup.go 272: Using NODENAME environment for no
2021-05-21 02:45:31.841 [INFO][9] startup.go 284: Determined node name: mickey.kate
2021-05-21 02:45:31.842 [INFO][9] k8s.go 228: Using Calico IPAM
2021-05-21 02:45:31.842 [INFO][9] startup.go 316: Checking datastore connection
2021-05-21 02:45:31.848 [INFO][9] startup.go 340: Datastore connection verified
2021-05-21 02:45:31.848 [INFO][9] startup.go 95: Datastore is ready
2021-05-21 02:45:31.851 [INFO][9] customresource.go 100: Error getting resource Keyorg calicoversion)
2021-05-21 02:45:31.855 [INFO][9] startup.go 382: Initialize BGP data
2021-05-21 02:45:31.857 [WARNING][9] startup.go 594: Unable to auto-detect an IPv4
2021-05-21 02:45:31.857 [WARNING][9] startup.go 404: Couldn't autodetect an IPv4 ad
2021-05-21 02:45:31.857 [INFO][9] startup.go 210: Clearing out-of-date IPv4 address
2021-05-21 02:45:31.863 [WARNING][9] startup.go 1057: Terminating
Calico node failed to start

[root@mickey sealer]# ifconfig
docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
        inet6 fe80::42:dfff:fe5d:66a7  prefixlen 64  scopeid 0x20<link>
        ether 02:42:df:5d:66:a7  txqueuelen 0  (Ethernet)
        RX packets 22355  bytes 683423457 (651.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12772  bytes 925369 (903.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
        inet6 fe80::a265:6ec1:9f58:95b4  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:7c:75:b4  txqueuelen 1000  (Ethernet)
        RX packets 1205377  bytes 665295642 (634.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5083588  bytes<PHONE_NUMBER>2 (9.7 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 1090114  bytes<PHONE_NUMBER> (2.9 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1090114  bytes<PHONE_NUMBER> (2.9 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vethac34c71: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::100d:aeff:fe66:491a  prefixlen 64  scopeid 0x20<link>
        ether 12:0d:ae:66:49:1a  txqueuelen 0  (Ethernet)
        RX packets 22355  bytes 683736427 (652.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12780  bytes 926025 (904.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I reset all the vms, and retry,  when I first time excute sealer run, it happened again:
docker: Error response from daemon: driver failed programming external connectivity on endpoint sealer-registry
# FirstTime: Failed
sealer apply -f katepangCluster.yaml

++ dirname init-registry.sh
+ cd .
+ REGISTRY_PORT=5000
+ VOLUME=/var/lib/sealer/data/katepang/registry
+ container=sealer-registry
+ mkdir -p /var/lib/sealer/data/katepang/registry
+ docker load -q -i ../images/registry.tar
Loaded image: registry:2.7.1
+ docker run -d --restart=always --name sealer-registry -p 5000:5000 -v /var/lib/sealer/data/katepang/registry:/var/lib/registry registry:2.7.1
13d18fdd4698fed8135268947df5a00add2c6c43cd4798cea9a5b9e4cc6c0f61
docker: Error response from daemon: driver failed programming external connectivity on endpoint sealer-registry (bedda87f1e505ea6b10aafe235744003a031bbdddb5d6bd57dfcb678090a77b0):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 5000 -j DNAT --to-destination <IP_ADDRESS>:5000 ! -i docker0: iptables: No chain/target/match by that name.
(exit status 1)).
+ true

# rm the container registry
docker ps -a
docker rm ...

# SecondTime: Succeed
sealer apply -f katepangCluster.yaml

OK, I rm the container and retry, then succeed.
Maybe I left out the real problem, I excute sealer run ... three times on a pure system.

Failed,  but I forgot to record the error log
Failed,  caused by The Container "sealer-registry"
Success, rm sealer-registry

I reset all the vms, and retry,  when I first time excute sealer run, it happened again:
docker: Error response from daemon: driver failed programming external connectivity on endpoint sealer-registry
# FirstTime: Failed
sealer apply -f katepangCluster.yaml

++ dirname init-registry.sh
+ cd .
+ REGISTRY_PORT=5000
+ VOLUME=/var/lib/sealer/data/katepang/registry
+ container=sealer-registry
+ mkdir -p /var/lib/sealer/data/katepang/registry
+ docker load -q -i ../images/registry.tar
Loaded image: registry:2.7.1
+ docker run -d --restart=always --name sealer-registry -p 5000:5000 -v /var/lib/sealer/data/katepang/registry:/var/lib/registry registry:2.7.1
13d18fdd4698fed8135268947df5a00add2c6c43cd4798cea9a5b9e4cc6c0f61
docker: Error response from daemon: driver failed programming external connectivity on endpoint sealer-registry (bedda87f1e505ea6b10aafe235744003a031bbdddb5d6bd57dfcb678090a77b0):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 5000 -j DNAT --to-destination <IP_ADDRESS>:5000 ! -i docker0: iptables: No chain/target/match by that name.
(exit status 1)).
+ true

# rm the container registry
docker ps -a
docker rm ...

# SecondTime: Succeed
sealer apply -f katepangCluster.yaml

try  sysctl -w net.ipv4.ip_forward=1

https://github.com/alibaba/sealer/issues/145

@katepangLiu could you add my dingtalk or wechat: fangnux

see  #67

use registry-vpc.cn-beijing.aliyuncs.com/sealer-io/cloudrootfs:v1.19.9-alpha.1 fix it.


pdc global-component update should take its name instead of ID

When update the global-component, using GLOBAL_COMPONENT_NAME
instead of GLOBAL_COMPONENT_ID.
JIRA: PDC-1157

@lubomir and @erichuanggit  ; Yes,  I will edit it.

Good news is that pdc-client repo is ready,
bad news is that this pull request is not included, sorry for the inconvenience.
Please create it again against the new repo.

I will close this branch because it have merged to pdc-client repo.


Improvement - possibility to add icon to the right when button is present

Picture from Figma for Button and icon used at the same time. Icon is on the right. I think this style is missing.

Can be added on next release
Please add a note / issue if added in next release

Adding issue on this

Originally posted by @mmexvr in https://github.com/scania-digital-design-system/sdds/issues/101#issuecomment-804016381
AB#686

Since it's a html/css component this is possible today.


Cleanup zap/repo/src-electron/generator/matter/app/zap-templates/common/simulated-clusters

The goal is to eventually cleanup the matter specific zap code to not have any state for eg in ClustersHelper.js
During this cleanup we want to do the following:

Go through the matter directory in this issue. See if these helpers can have code pushed to the backend sql queries.
See if the helpers can use any of the existing helper logic and can remove code redundancy
Add unit tests for each of the helpers listed
Make sure to have a CHIP/Zigbee repo branch that points to your changes and passes the CI on both places
Also if you can fix anything new apart from what is listed then fix those issues as well.

Closing all MatterZapCleanUp tagged issues since a majority of these have been resolved


iOS: Add support for GCKeyboard on iOS 14

This should improve key events. Also, look into GCMouse
https://developer.apple.com/documentation/gamecontroller?language=objc

Key input is now fully working on iOS 13.4 and newer. Tested on a Magic Keyboard.
(Using UIPress instead of GCKeyboard.)


As a user, I want to have preview of Carousel to see result of settings.

For administrator role.
Precondition:
User is on the Settings Important Section page.
Existing Material Section has at least two cards.
Module window opens after user clicks on the [Переглянути] button.
The window has  Carousel (#216) with cards from Existing Materials Section in order according to number of cards
and [Закрити] button, active, closes the module window.
Epic link
Epic #260

27/07/21
BA check
Accepted.


New version: MethodOfLines v0.8.3

Registering package: MethodOfLines
Repository: https://github.com/SciML/MethodOfLines.jl
Created by: @xtalax
Version: v0.8.3
Commit: 8c8d067e6f185409bdb40f4070d8bdb181fdccff
Reviewed by: @xtalax
Reference: https://github.com/SciML/MethodOfLines.jl/commit/8c8d067e6f185409bdb40f4070d8bdb181fdccff#commitcomment-100155161
Description: Automatic Finite Difference PDE solving with Julia SciML

@JuliaRegistrator cancel()


ansible_2_16: init at 2.16.2; ansible_2_13: remove

Description of changes
closes #274366
Diff: https://github.com/ansible/ansible/compare/v2.15.5...v2.16.2
Changelog: https://github.com/ansible/ansible/blob/v2.16.2/changelogs/CHANGELOG-v2.16.rst

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 277719 at 32cf1b2f run on x86_64-linux 1

2 packages failed to build:

python310Packages.pytest-ansible
python311Packages.pytest-ansible

18 packages built successfully:

ansible (python311Packages.ansible-core)
ansible-later
ansible-lint
ansible_2_15
kargo
molecule (python311Packages.molecule)
python310Packages.ansible-compat
python310Packages.ansible-core
python310Packages.ansible-kernel
python310Packages.ansible-runner
python310Packages.ansible-vault-rw
python310Packages.molecule
python310Packages.pytest-testinfra
python311Packages.ansible-compat
python311Packages.ansible-kernel
python311Packages.ansible-runner
python311Packages.ansible-vault-rw
python311Packages.pytest-testinfra

Result of nixpkgs-review pr 277719 run on x86_64-linux 1

4 packages failed to build:

python310Packages.pytest-ansible
python310Packages.pytest-ansible.dist
python311Packages.pytest-ansible
python311Packages.pytest-ansible.dist

34 packages built:

ansible (ansible_2_16 ,python311Packages.ansible-core)
ansible-later
ansible-later.dist
ansible-lint
ansible-lint.dist
ansible.dist (ansible_2_16.dist ,python311Packages.ansible-core.dist)
kargo
kargo.dist
molecule (python311Packages.molecule)
molecule.dist (python311Packages.molecule.dist)
python310Packages.ansible-compat
python310Packages.ansible-compat.dist
python310Packages.ansible-core
python310Packages.ansible-core.dist
python310Packages.ansible-kernel
python310Packages.ansible-kernel.dist
python310Packages.ansible-runner
python310Packages.ansible-runner.dist
python310Packages.ansible-vault-rw
python310Packages.ansible-vault-rw.dist
python310Packages.molecule
python310Packages.molecule.dist
python310Packages.pytest-testinfra
python310Packages.pytest-testinfra.dist
python311Packages.ansible-compat
python311Packages.ansible-compat.dist
python311Packages.ansible-kernel
python311Packages.ansible-kernel.dist
python311Packages.ansible-runner
python311Packages.ansible-runner.dist
python311Packages.ansible-vault-rw
python311Packages.ansible-vault-rw.dist
python311Packages.pytest-testinfra
python311Packages.pytest-testinfra.dist

@natsukium ansible is not maintained, so i think we can merge, and fix whatever fallout happens

@kirillrdy thanks for checking.
I'm not sure why pytest-ansible is failing, but looking at the tests that have already been disabled, I guess it's not working very well.
I disabled the failing tests to update and remove ansible.


#206 - Provider info

206 - Add provider information for UC Davis
Markdown and logo added
Description
New provider has been added to the resource and it needs the markdown and logo for provider page
Testing instructions
None
Screenshots (optional)

@Mandloi2309 Are there no models for UCD yet? http://localhost:3000/search?filters=data_source%3AUCD returns no results

Yes, this is a new provider, hence no models were found. We will have to run the ETL again.

Gotcha. Just making sure it wasn't an error. LGTM then


Fix WMS GetLegendGraphic example codesandbox error

src="" is not needed in the html and causes an error when the example is opened in codesandbox

Thanks @mike-000.


[9.x] Support int backed enums in QueryBuilder::whereIntegerInRaw

When using backed enum cases in \Illuminate\Database\Query\Builder::whereIntegerInRaw, we get the error:
ErrorException : Object of class App\Enums\EnumClass could not be converted to int

This PR fixes this by identifying when is an int backed enum and uses its raw value. When is a string backed enum, or even is not a backed enum, the behavior remains the same.
If this PR is accepted, I'll open one for the 10.x branch.

New behavior is no longer being accepted for the 9.x branch.


Add BasicAuth test

Where's the negative authentication test?

Where's the negative authentication test?

Cannot be done because it requires hitting the Cancel button on the authentication window.
The URL tests for HomeNav cover this case with the 401 HTTP response code.

Clean up the GeneralPage changes. You don't need to virtualize the GoToPage method.


MSSQL Server supports a maximum of 2100 parameters

In some cases there is a problem how Yii2 handles the [id] IN (1,2,3..) statement.
SQLSTATE[IMSSP]: Tried to bind parameter number 2101. SQL Server supports a maximum of 2100
parameters. The SQL being executed was:
SELECT COUNT(*)
FROM [tablexy]
WHERE [id] IN ('107518', '96017', '79543', '96016', '82370', '96638', ...

This problem related not the MSSQL only. See https://github.com/yiisoft/yii2/issues/10305

Usually it's not a huge issue. If there are more than 100 ids in a query per page, there's probably an issue in software logic.

Not a bug, just use joinWith() instead.

Not a bug, just use joinWith() instead.

this should make no difference since with() is called by joinWith() too...

If I have AR relation defined that in runtime resolves to more than 2100 records that needs to be looked up in the database, the application will fail.

It seems that this error message text is misleading and the error is thrown by Microsoft SQL Server PHP driver and not by MS SQL Server itself . MSSQL by itself has no problems with the size of parameter arrays passed to it.

Makes sense to use non-prepared statements in this case.

I have a work around that fixes this issue for active relations that use via(), may also be faster for relations with lots of records. At least in my case using MSSQL.
Basically this just uses the subquery in the where in condition instead of using filterByModels()
https://gist.github.com/kevm256/cb4557ec5f60d8723d45b4e845d60712
I haven't done extensive testing, so not sure if there are other unintended side effects.

@kevm256 that's a good workaround but not a permanent solution. That would likely break relationships between multiple database types that work perfectly fine now.

@samdark yeah, I don't think it will work across databases. I did try adding a buildValues() override in the mssql InConditionBuilder class to put int values directly into the condition instead of binding them:
protected function buildValues(ConditionInterface $condition, $values, &$params)
{
    if(count($values) > 2000){
        $intValues = [];
        foreach ($values as $i => $value)
        {
            if(is_int($value)){
                $intValues[] = strval($value);
                unset($values[$i]);
            }
        }

        $sqlValues = parent::buildValues($condition, $values,$params);

        return array_merge( $sqlValues, $intValues);
    }

    return parent::buildValues($condition, $values,$params);
}

However this still doesn't solve for the general case, and adding or binding 2000+ params to the where in condition uses a lot of memory and in my case was way too slow.
I think I will just use joinWith to replace the relation.

It's not Yii bug. It's bug of MS SQL driver.
Read this comment:
https://github.com/Microsoft/msphpsql/issues/410#issuecomment-304830188
And see in the code of driver
https://github.com/Microsoft/msphpsql/blob/v4.2.0-preview/source/shared/core_sqlsrv.h#L172

Usage another MS SQL driver
With DBLIB driver - all perfect work
With PDO_SQLSRV - failed (Tried to bind parameter number 2101.  SQL Server supports a maximum of 2100 parameters.)


HL-68 | Upgrade HDS to the latest version

Description :sparkles:

I made a fix in HDS for the DatePicker component to accept empty values, and the fix is released in version 1.13.1

Testing :alembic:

Go to the first step of the application
Under "Hakijan de minimis-tuet", choose "Kyllä"
Fill in the inputs of then click "Lisää"
The date picker in the new row should have an empty value

Codecov Report

Merging #183 (75dde90) into develop (aae90c7) will decrease coverage by 55.99%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop     #183       +/-   ##
============================================
- Coverage    67.81%   11.81%   -56.00%
============================================
  Files          273       55      -218
  Lines         5741      660     -5081
  Branches       433      114      -319
============================================
- Hits          3893       78     -3815
+ Misses        1811      568     -1243
+ Partials        37       14       -23

Impacted Files
Coverage Δ

...tend/benefit/applicant/src/hooks/useBackendAPI.tsx

...tend/kesaseteli/employer/src/hooks/useUserQuery.ts

backend/benefit/helsinkibenefit/settings.py

...r/browser-tests/index-page/userActions.testcafe.ts

backend/kesaseteli/applications/enums.py

...forms/application/step2/useApplicationFormStep2.ts

backend/shared/shared/common/tests/conftest.py

frontend/benefit/applicant/next-i18next.config.js

backend/kesaseteli/companies/services.py

backend/kesaseteli/applications/services.py

... and 208 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 aae90c7...75dde90. Read the comment docs.


Add explanatory text for pending import

Delay before redirect and add alert
https://github.com/stolostron/backlog/issues/23457

/cc @Randy424


[SPARK-15782][hotfix] Fix compilation with Scala 2.10.

Test build #60608 has started for PR 13693 at commit 90246cb.

@rxin

@vanzin thanks for fixing this.

Ah the "fix" is much larger than I thought (I thought it would've been an one liner)
@davies was suggesting reverting the commit and then do a proper review.

@nezihyigitbasi I reverted that commit both in master and 2.0.

It looks large but it's basically just moving the method to the class instead of the object.

But well, you already reverted the change, so @nezihyigitbasi please send the PR again with my changes on top.

Thanks @nezihyigitbasi.

yep will do.

Test build #60608 has finished for PR 13693 at commit 90246cb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60608/
Test PASSed.

Merged build finished. Test PASSed.


git sign in script doesn't run well on WSL

tea: cache: hit
Illegal option -s
Usage: /usr/bin/which [-a] args
re-run with tea: https://github.com/teaxyz/cli

Should use command in place of which. Or, better, rewrite in ruby or another fine language.


Remove settings file for cmake-format hook .cmake-format.py

It doesn't make a difference when running the cmake-format pre-commit
hook, so removing.

This is an approved change.  Running the following results in the diffs at the bottom being empty.
git show d6b5f2a:CMakeLists.txt > CMakeLists.d6b5f2a.with.txt git show d6b5f2a:CMakeLists.txt > CMakeLists.d6b5f2a.without.txt pre-commit run cmake-format --files CMakeLists.txt pre-commit run cmake-format --files CMakeLists.d6b5f2a.with.txt mv .cmake-format.py temporary.random pre-commit run cmake-format --files CMakeLists.d6b5f2a.without.txt diff CMakeLists.txt CMakeLists.d6b5f2a.with.txt > diff.d6b5f2a.with.txt diff CMakeLists.txt CMakeLists.d6b5f2a.without.txt > diff.d6b5f2a.without.txt diff diff.d6b5f2a.with.txt diff.d6b5f2a.without.txt diff CMakeLists.d6b5f2a.with.txt CMakeLists.d6b5f2a.without.txt mv temporary.random .cmake-format.py


Nuget dependencies not installed by default

I've created a new pecan project (0.0.22-beta - testing #37 and #38). When installing pecan-waffle nuget package, the pecan-waffle-vs, file-replacer and nuget-powershell dependencies is not installed by default. Nuget installation output does not show any errors.

Did  you need to install pecan-waffle-vs?

Well, the nuget package pecan-waffle-vs creates the Properties\pecan-waffle-settings.props so i guess yes?

@mm98 I'm not able to follow you're issue here.
I installed pecan-waffle-vs and the dependent NuGet packages were installed. See the log below.
PM> install-package pecan-waffle-vs -pre
Attempting to gather dependency information for package 'pecan-waffle-vs.0.0.22-beta' with respect to project 'VSIXProject1', targeting '.NETFramework,Version=v4.6'
Attempting to resolve dependencies for package 'pecan-waffle-vs.0.0.22-beta' with DependencyBehavior 'Lowest'
Resolving actions to install package 'pecan-waffle-vs.0.0.22-beta'
Resolved actions to install package 'pecan-waffle-vs.0.0.22-beta'
Adding package 'file-replacer.0.4.5-beta' to folder 'c:\users\sayedha\documents\visual studio 2015\Projects\TemplateExamples\VSIXProject1\packages'
Added package 'file-replacer.0.4.5-beta' to folder 'c:\users\sayedha\documents\visual studio 2015\Projects\TemplateExamples\VSIXProject1\packages'
Added package 'file-replacer.0.4.5-beta' to 'packages.config'
Successfully installed 'file-replacer 0.4.5-beta' to VSIXProject1
Adding package 'nuget-powershell.0.2.5-beta' to folder 'c:\users\sayedha\documents\visual studio 2015\Projects\TemplateExamples\VSIXProject1\packages'
Added package 'nuget-powershell.0.2.5-beta' to folder 'c:\users\sayedha\documents\visual studio 2015\Projects\TemplateExamples\VSIXProject1\packages'
Added package 'nuget-powershell.0.2.5-beta' to 'packages.config'
Successfully installed 'nuget-powershell 0.2.5-beta' to VSIXProject1
  GET https://www.nuget.org/api/v2/package/pecan-waffle/0.0.22-beta
Installing pecan-waffle 0.0.22-beta.
Adding package 'pecan-waffle.0.0.22-beta' to folder 'c:\users\sayedha\documents\visual studio 2015\Projects\TemplateExamples\VSIXProject1\packages'
Added package 'pecan-waffle.0.0.22-beta' to folder 'c:\users\sayedha\documents\visual studio 2015\Projects\TemplateExamples\VSIXProject1\packages'
Added package 'pecan-waffle.0.0.22-beta' to 'packages.config'
Successfully installed 'pecan-waffle 0.0.22-beta' to VSIXProject1
  GET https://www.nuget.org/api/v2/package/pecan-waffle-vs/0.0.22-beta
Installing pecan-waffle-vs 0.0.22-beta.
Adding package 'pecan-waffle-vs.0.0.22-beta' to folder 'c:\users\sayedha\documents\visual studio 2015\Projects\TemplateExamples\VSIXProject1\packages'
Added package 'pecan-waffle-vs.0.0.22-beta' to folder 'c:\users\sayedha\documents\visual studio 2015\Projects\TemplateExamples\VSIXProject1\packages'
Added package 'pecan-waffle-vs.0.0.22-beta' to 'packages.config'
Executing script file 'c:\users\sayedha\documents\visual studio 2015\Projects\TemplateExamples\VSIXProject1\packages\pecan-waffle-vs.0.0.22-beta\tools\install.ps1'
    pecan-waffle has been installed into project [c:\users\sayedha\documents\visual studio 2015\Projects\TemplateExamples\VSIXProject1\VSIXProject1\VSIXProject1.csproj]. Check Properties\pecan-waffle-settings.props to ensure values are correct.
Successfully installed 'pecan-waffle-vs 0.0.22-beta' to VSIXProject1

Ohhh. I'm so sorry! My mistake. I installed the nuget package by 'pecan-waffle' and not 'pecan-waffle-vs'.


Provide file path based parameters to set certificate values for route trait

Currently route trait parameters tls-certificate, tls-key, tls-ca-certificate, tls-destination-ca-certificate expects certificates to set as string parameters, but that is a difficult to set as command line parameters, example:
-t route.tls-key="-----BEGIN RSA PRIVATE KEY-----MIIEowIBAA..."

This is a proposal to add new four parameters with -path suffix to set these certificates as files from resources, so having
tls-ca-certificate-path the user is required to set --resource parameter with wither a file or configmap or secret, for example:
--trait route.tls-ca-certificate-path=/tmp/my.crt --resource<EMAIL_ADDRESS>
The new parameters for trait route would be:
tls-certificate-path, tls-key-path, tls-ca-certificate-path, tls-destination-ca-certificate-path
They require a --resource with the mounted files, otherwise the route trait fails to create the route object.

With this approach, the certificates may be provided with different means (ie, volumes mounted) as well.


Remove the time element in the dates on the management information re…

…port

Consider using I18n for the date presentation formatting, see http://stackoverflow.com/questions/4592235/rails-how-to-make-date-strftime-aware-of-the-default-locale


React Grid Selection Example

https://staging.infragistics.com/products/ignite-ui-react/react/components/grids/grid/selection
MultipleCascade is not doing anything

@radomirchev @dkamburov This is a generated sample, so it shows all possible options for the property:
https://www.infragistics.com/products/ignite-ui-angular/docs/typescript/latest/variables/GridSelectionMode-1.html
multipleCascade is a valid option for all grids, however it has no effect if the grid has no hierarchy (is not a tree grid or a hierrachical grid). That's why it does nothing.
There isn't an option to exclude some of enum values for a generated sample, so if you want this option to not show for the base grid we would need to make this a custom sample (not xplat generated, one for react/wc/blazor).

@ChronosSF Can you please confirm we will be making these samples?

No, we shouldn't. What we should do is add functionality to the editor to have overridable options for each grid type and export samples according to those.

Another option would be to remove this as an available option for the igxGrid as it does nothing in it.

@radomirchev @ChronosSF should we simply close that one with no action?


Compute Tc as a consistency check

Since reported RVs collected from disparate sources may have, e.g. different negative sign conventions, we should think about consistency checks. Dmitry Savransky recommends computing Tc.

Sort of related idea (not necessarily to check that the data are in the correct format, but to evaluate the orbit-fits themselves)-- we could try to systematically implement a cross-validation check

Are you referring to the different orbit conventions, e.g. opposite signs for omega, used in publications?

I think the thing we’re worried about more is that some publications will define positive RV as moving toward us and some will define negative RV as moving away from us (and that will down the line result in the omega difference you mention, although that shouldn’t affect us directly)
(Also I’m just putting this here to remind myself to think about it btw, no action required imminently)

Hmm.. good point. If we have multiple datasets having different RV conventions and therefore not giving the same parameter values, mcmc would have a hard time converging anyway, no?

Yes, absolutely agree that we’d get nonsensical/unconverged posteriors!


add implicitUtilities to schemaOptions

Fixes #34

Hey @simonsmith it looks like postcss-less does not support node 4. Node 4 is well past it's support date so it seems safe to drop support.

Hey @plinton, thanks for the PR. You are indeed correct. I'll merge this and update the build config

@lachieh I'll get this done asap

Released - https://www.npmjs.com/package/stylelint-selector-bem-pattern/v/2.1.0
Sorry for the delay!

Awesome! Thanks so much!


Some questions

Hello, I am adding new simulation environment experiments based on hil-serl. During the process of modifying the code, I noticed that there are some small issues in hil-serl. I have listed the problems I encountered regarding the source code below.
I am not sure if I missed something that caused these codes to throw errors during my execution. I do not have a robotic arm, so I cannot reproduce the experiments provided in the source code.

Aren't the observations of env accessed first through images, and then through specific pixels?
https://github.com/rail-berkeley/hil-serl/blob/433852ab0c237c21af90f3af3c0d29630f9756bd/serl_launcher/serl_launcher/data/memory_efficient_replay_buffer.py#L71C1-L73C87
I couldn't find the definition of monopi. Does it refer to serl_launcher here?
https://github.com/rail-berkeley/hil-serl/blob/433852ab0c237c21af90f3af3c0d29630f9756bd/serl_launcher/serl_launcher/networks/actor_critic_nets.py#L10C1-L12C54
Is reward_classifier.py missing the imports for os, requests, and tqdm?
https://github.com/rail-berkeley/hil-serl/blob/433852ab0c237c21af90f3af3c0d29630f9756bd/serl_launcher/serl_launcher/networks/reward_classifier.py#L89C1-L100C67

I have temporarily modified these areas to facilitate debugging my code. I noticed that the release date of the hil-serl code is not very long ago. I would greatly appreciate it if you could provide a stable version without errors.

Hi there,

The observation is flattened to state and camera_name by this observation wrapper in each experiments config file. https://github.com/rail-berkeley/hil-serl/blob/4685b85b39244d74f4048948cee31a6520d5eac9/serl_launcher/serl_launcher/wrappers/serl_obs_wrappers.py#L5
2, 3. I've fixed the imports.


Twitter tree errors

[x] ItBlowsMyMind-0 "someone who is both old enough": there should be a subject gap

[x] Here-sThePaper-0 "people who read it": there should be a subject gap

[x] WasDiscoveringThatICould-0 coindexation is weird, I'm not sure of the correct analysis. Note the y on "it", "what", and "R"

For an integrated relative clause (:Mod Clause_rel), setting aside free relatives, it is always the case that the sister-head should be coindexed with the gap (+ pronominal relativizer if present)?
I see exceptional EWT cases

"the [[wine flight_i] [we chose --_i]]". Should that be [wine flight]_i?
"the [benefit [fund [raiser [we are holding --_i]]]]". Should that be [[benefit [fund raiser]]_i [we are holding --_i]]?

In Twitter

"the [Navy Seal] [who killed...]" I think should be "the [Navy Seal]_i [who_i [--_i killed...]]"
"Japanese farmers who use..."
"who I'm writing a [book_y [about --_x] [that [--_y will be released]]]": I think should be [book [about --_x]]_y
"What a remarkable claim [to make]": not Clause_rel, is it? This is like tough movement
"[DP [D someone]_x] [NP [Nom who_x]] is both old enough..."
"somewhere to go", "something to do": on token rather than its unary phrase
"[kind of nonsense_x] that..."

"What a remarkable claim [to make]": not Clause_rel, is it? This is like tough movement

@BrettRey

agreed

How about Comp_ind:
(NP
    :Mod (AdjP
        :Head (Adj :t "what"))
    :Head (NP
        :Det (DP
            :Head (D :t "a"))
        :Head (Nom
            :Head (Nom
                :Mod (AdjP
                    :Head (Adj :t "remarkable"))
                :Head (x / Nom
                    :Head (N :t "claim")))
            :Comp_ind (Clause
                :Head (VP
                    :Marker (Sdr :t "to")
                    :Head (VP
                        :Head (V :t "make" :p "!")
                        :Obj (x / GAP)))))))

That occurred to me too, and I think you're right.


Add useFetch hook for api calls

Codecov Report

Merging #31 (d9cf347) into main (241a0a1) will decrease coverage by 3.22%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##             main      #31      +/-   ##
==========================================
- Coverage   97.22%   94.00%   -3.23%
==========================================
  Files          10       11       +1
  Lines          36       50      +14
  Branches        3        3
==========================================
+ Hits           35       47      +12
- Misses          1        3       +2

Impacted Files
Coverage Δ

src/hooks/useFetch.ts
85.71% <85.71%> (ø)

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


ECONNREFUSED to j7+ after upgrade to 1.4.0

homebridge-roomba2 pluging stopped working right after upgrade from 1.3.1 to 1.4.0. Getting the following error:
[12/12/2022, 3:57:55 PM] [xxxxxx] DEBUG: Will refresh Roomba's status again automatically in 15m
[12/12/2022, 4:12:55 PM] [xxxxxx] DEBUG: Automatically refreshing Roomba's status
[12/12/2022, 4:12:55 PM] [xxxxxx] DEBUG: Connecting to Roomba (0 others waiting)...
[12/12/2022, 4:12:55 PM] [xxxxxx] DEBUG: Connection close received
[12/12/2022, 4:12:56 PM] [xxxxxx] DEBUG: Old connection received error: connect ECONNREFUSED <IP_ADDRESS>:8883
[12/12/2022, 4:13:55 PM] [xxxxxx] DEBUG: Timed out after 60000ms trying to connect to Roomba
[12/12/2022, 4:13:55 PM] [xxxxxx] Failed to refresh Roomba's state: Connect timed out

IP/port are correct and pingable/accessible from homebridge instance:
% telnet <IP_ADDRESS> 8883
Trying <IP_ADDRESS>...
Connected to irobot-xxxxxx.localdomain.
Escape character is '^]'.

Tried to reboot both homebridge and robot itself to no success. I remember that I had to change ciphers used by dorita980 module in the past version but it looks like it's already accounted for in 1.4.0 with addition of TLS_AES_256_GCM_SHA384:
ciphers: process.env.ROBOT_CIPHERS || 'AES128-SHA256,TLS_AES_256_GCM_SHA384'

Any ideas on how to troubleshoot it further? Thanks!
Versions

Homebridge: 1.6.0
Node:       v16.13.1
Plugin:         homebridge-roomba2 v1.4.0

@dgilev this is curious. Perhaps try removing AES128-SHA256 from that ciphers string to see if that makes a difference?
Sometimes having another connection open to the Roomba, such as an app etc can cause further connections to be rejected, so make sure there isn't anything else connected?

+1. I'm getting the same error since 1.4.0 for a 980 which is pingable and reachable on port 8883, but I get connection timeouts:
[12/19/2022, 10:21:15 PM] [Robbie] Timed out after 60000ms trying to connect to Roomba
[12/19/2022, 10:21:15 PM] [Robbie] Failed to refresh Roomba's state: Connect timed out
[12/19/2022, 10:21:15 PM] [Robbie] Will refresh Roomba's status again automatically in 15m

@dgilev wow, OK, good news but that's a bit of a bummer. I thought it was neat that we could specify multiple ciphers. Could you please try putting the two ciphers in the opposite order and see if you can connect?

Can confirm this fixes connection issues with j7. Thanks @dgilev!

I'm getting the same error on my i1+ that I just purchased today and for some reason I am unable to edit the js file. It's asking for the password ad when I enter my hombridge password, it says that it's not accepted.
Thoughts?

Please try installing version 1.5.0-beta.0... I have overhauled the connection logic so we attempt multiple ciphers now. Hopefully I've correctly detected the connection failure in all cases...
To install the beta click on the wrench on the plugin on the Plugins screen, and choose Install Alternate Version.
If you have Debug logging enabled you should see a log entry like:
[4/24/2023, 6:57:21 AM] [Roomba] DEBUG: Connection received error: Client network socket disconnected before secure TLS connection was established
[4/24/2023, 6:57:21 AM] [Roomba] Retrying connection to Roomba with cipher TLS_AES_256_GCM_SHA384

If it doesn't work, I need to see the error messages, such as the "Failed to refresh Roomba's state..." message. Please turn on Debug logging so there are more detailed logs to examine, and also please include the version of Node you are using to run Homebridge.

@Firemanjoe it looks like the email reply list what you were trying to send.

Yes sorry, looks like gmail stripped it out. Here you go!

@Firemanjoe thank you, can you please tell me which version of Node Homebridge is running with? It shows it on the System Information panel on the homepage of the Config UI.

@Firemanjoe Also... as I understand it, you are having issues connecting to your i1+ and you also have a 691. Your 691 was working previously, but your i1+ has never worked... you did try changing the ciphers in doriat980’s local.js, however perhaps you didn't make the right change... it looks like you tried with just the AES128-SHA256 cipher but not with just the TLS_AES_256_GCM_SHA384 cipher.
So... I'll release a new beta that will attempt different ciphers based on the error message you saw and we'll see if that succeeds... otherwise there might be something else at play.
Please try v1.5.0-beta.2 now.

@Firemanjoe how did you obtain the blid and the password for your i1+?

I don't recall exactly where I found this command, but this was what I ended up using as any other method wasn't working.

As for the 691, yes - it still works great - it will go unresponsive once in a while and I'll have to simply take it off and put it back on for a second, but it'll usually stay responsive. For the 1+, it won't show any connection on Homebridge or in the Home App.
I wanted to try to change the ciphers, but I can't seem to get the file to allow me to write the changes. I'm not quite familiar to truly troubleshoot, but I can copy/paste quite well!

@Firemanjoe OK, thank you. Please try the latest beta version as above (I'm sorry, I posted three comments in a row!) and let's see what happens with the i1+

@karlvr - Thanks Karl - no issues with the multiple tags/posts. I'm more than happy to help out and see how it can get working. I'm installing the latest one now and I'll advise in a moment.
Installed and I'm still getting the same "Identifier rejected" error. Going to reboot the homebridge as well and see if that can somehow make a difference.

@karlvr - New error this time.

@Firemanjoe OK, give your Roomba a few minutes and make sure you don't have the mobile app running. Roomba only supports one connection at a time.
Also, you do need to reboot Homebridge after upgrading the plugin.

Ah! ok! I opened the app to "connect to it" and I killed the app (iRobot). I see that HB has a 15min recheck status right now, so I'll wait that out and advise later when the logs refreshes.

@Firemanjoe OK, you may need to reboot your Roomba... https://homesupport.irobot.com/s/article/9087
I think the ECONNREFUSED means that it's tired of talking... let's try a reboot of Roomba.

So apparently a reboot of the robot through the app is not the same thing as the reboot that you have linked. I'll give that a try tomorrow as I'm calling it a night for now.
It looks like I need to set it up as a new bot again - which is fine, but I'll do that in the morning! Thanks for the help & I'll update tomorrow.

@Firemanjoe thank you, I wouldn't think you'd need to add it again... I do suspect that the cloud password that you've obtained is not the one you need. So if it doesn't work after the reboot, I suggest trying to normal way of obtaining the password based on the instructions in this repository.
I'm expecting that you'll have some problems!
So if it doesn't work, let's try:
ROBOT_CIPHERS=TLS_AES_256_GCM_SHA384 npm run getpassword <IP ADDRESS>

I'd like to see the error messages from the original and this command.

Tried your approach and this is the original error an still an error that I'm getting now.

@Firemanjoe That's a host unreachable error... are you sure about the IP address of your Roomba? Perhaps check it on the router's DHCP client list?

@karlvr - Hey! I have given it a static IP to ensure that it holds the same numbers and such!
But what happens with this one is the following:
Press the two buttons and it seems that it disconnects from the wifi - that’s what I have found which is why I had tried to reach out via the other method and grab the username/password from the cloud.

@Firemanjoe oh very strange... does the robot flash its WiFi light as suggested in the get-roomba-password messages? Maybe you need to wait a few more moments before pressing "any key" to continue? That's the best I can think of at the moment. Maybe in another terminal window you could try a ping <IP_ADDRESS> to see when it is on the WiFi and when it drops off and (hopefully) when it reconnects.

Thanks! I tried it again and as soon as I press the two buttons to enable the Wifi connection, it disconnects. Here's a video from my desktop and if needed, I can share another 1min video of phone recording me pressing the buttons and then pressing the "any key".
https://youtu.be/Voww_dxw2yk
Hope that helps a little more @karlvr

@Firemanjoe thank you. Interesting. How do you get your Roomba back on the WiFi?

@karlvr I have to go through the wifi set up again… it’s not as easy as the 691 at all!

@karlvr - I have to go through the wifi set up again… it’s not as easy as the 691 at all!

@Firemanjoe OK, wow. That can't be the right thing to do then... maybe there's another combo or another button that you're going to need to press. It sounds like that combo is doing a full reset. Can you try other buttons?

@karlvr you were right. I pressed and held the home button for about 20 seconds and got the information that I was looking for. The downside is that it's the same BLID & password as what I had obtained the other way! hahah
So when I try, I still get the same error connection. I doubt that it would be worth anything, but I'm going to try to remove it from homebridge and install it again and see if maybe that would work!

@Firemanjoe lol ok that's good to know. That button-holding approach sounds different to what's usual? Could you suggest additional / updated wording for the README? Either as a PR or I'm happy to make the changes.
Ok, let's return to the original issue. I presume we're still unable to talk to the i1? Please enable Debug Logging in the plugin settings, restart Homebridge and post all of the log messages from the plugin for the first 5 minutes!

@karlvr
Sure I'd love to put something together for the PR - my first shot, so bear with me and I'll use it as a learning experience.
As for the code, let me enable for a bit and I'll come back with the output shortly.

So they have updated the iRobot app and I don't recall seeing this before. My other unit is communicating via 'server' and this one is communicating via MQTT Broker.

Could that be why it's not connecting properly in HomeKit?


Play game Computer vs Computer

[x] implement function to generate random computer move
[x] implement computers mode play game

Belongs to Rock-Paper-Scissors game user story

implement computers mode play game:
atm the function is general and should handle all modes, with randomised or passed moves


Add filename remapping support

Add support such that the TFTP server could accept paths using either the usual forward slash (/) or a backslash () as a path separator.
http://etherboot.org/dokuwiki-2017-02-19b/tftp_backslash/tftpd-hpa

http://etherboot.org/dokuwiki-2017-02-19b/tftp_backslash/tftpd-hpa

Title of that webpage: Supporting broken TFTP clients with tftpd-hpa
Text from that webpage: tftpd-hpa can easily be configured to support broken TFTP clients by using a remap file.
@mayurikini How important is supporting both the usual forward slash (/) and a backslash (\) as a path separator to you?

I won't be able to use this crate without that functionality. Could we just format file_path file_path.to_string().replace("\\", "/"); if remap option (-m) is used?

Hey @mayurikini, thank you for your interest in this project.
Can you give me some example on how you are trying to use this and which errors do you get? Do you use another client which sends with "\" instead of "/", or other way around? Do you have the error text? I'm looking for more information really.
Thanks!

I have updated the code a bit, can you try again and see if it works now? You shouldn't need a flag to use it, it should be automatic.

Sorry about late reply. I tested the code changes; it doesn't work for me. Here is my scenario: tftp client is on windows and the tftp server is on linux machine. I need a way to convert the \ to / so that they are able to transfer files. I dont see any errors on console, after "Sending", I expected either file not found or some error but I don't see any error.

What I have observed with latest change is that it doesn't join "send directory" to file_path.
let file_path = &self.send_directory.join(file_path);
Could you verify?
https://github.com/altugbakan/rs-tftpd/commit/de85ed59f059e3dff3c12a9c931314872f7e146c#diff-48d27698cc708c7efe770fd897e4885efaa0a15cae30d54936068603ba03bbd9R139

Yes, the send_directory is not joined, since the folder to upload might not be the same for the server when we upload a file within a directory.

Got it. I think issue is with client asking for sending "\test.txt", instead of "test.txt". That's why it works with my code to send file with full directory path (formatted). I'll look into it, thanks.
Also thank you for working on the above code changes so promptly.

We can close this issue; I need to ensure client asks for "test.txt" instead of "\test.txt". Thanks.


Fix coverage in tests workflow

Codecov Report

Merging #5 (937288d) into main (1344ce9) will decrease coverage by 96.78%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #5       +/-   ##
==========================================
- Coverage   96.77%   0.00%   -96.78%
==========================================
  Files           5       5
  Lines          62     245      +183
==========================================
- Hits           60       0       -60
- Misses          2     245      +243

Flag
Coverage Δ

unittests
0.00% <ø> (-96.78%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 10 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[fastlane] Updated dependencies

To be merged before https://github.com/fastlane/fastlane/pull/4791

💎 ✨