Update ADRs for borrow utilization guard

Sytem is at risk when the collateral is heavily utilized by the borrowers. In case of the bank run liquidators will have a risk of not being able to cash out and lenders will loose the money.
Solution: will be discussed in ADR.

Won't a MaxBorrowUtilization parameter have a similar effect as if all the collateral has simply been borrowed? I understand that this guarantees that there is some collateral for liquidators to take hold of (because it has not all been lent out) but wouldn't liquidations then violate this parameter? Or is the idea that the parameter only blocks new borrows, not liquidations? Put otherwise: is BorrowUtilization <= MaxBorrowUtilization invariant or not?

Liquidation would bypass MaxBorrowUtilization, new borrows and withdrawals would be restricted. (Withdrawing from the lending pool while borrows remain constant has the effect of increasing utilization %)
So it wouldn't be an invariant.
Prioritizing liquidators allows the system to respond to price swings before it's too late - consider two scenarios:

Price of a single asset A is skyrocketing. Users who borrowed it are seeing their borrowed value rise in relation to collateral value. A healthy liquidation requires the liquidator repay asset A and receive any number of collateral assets A,B,C,D to resell.

In this case there is no serious rush for lenders to withdraw any of the token types.
For borrowers who have borrowed multiple tokens (e.g. A and C), the liquidator could technically choose to repay either one.

Price of a single asset B is crashing. Users who collateralized it are seeing their collateral value drop in relation to borrowed value. Additionally, lenders who simply supplied it are seeing the USD value of their holdings decrease. A healthy liquidation requires the liquidator repay assets A,C,D and receive collateral asset B to resell.

In this case, there will be a rush for lenders to withdraw B. Liquidators must also be able to receive and resell B quickly, or they see a loss in value as the price of their reward continues to drop.
If Collateral Weight for asset B is 70%, then the liquidator needs to be able to liquidate collateral B faster than borrowed:collateral can rise from 70% to 100%. Anything higher will stress reserves by causing bad debt repayments.
If Liquidation Incentive for asset B is 10%, then liquidator needs to be able to resell reward B faster than its price can drop from 110% of the repaid value to 100%.
If Max Borrow Utilization for asset B is 80%, then there is a buffer of 20% of supplied B which is guaranteed to be available to liquidators even if B borrowing was at its peak before the crisis. Exhausting this buffer would not completely solve the problem (80:20 is fairly high). Also, some users repaying B while the price is low would repair the buffer slightly.
For borrowers who have collateralized multiple tokens (e.g. B and C), the liquidator could technically choose to receive either one as a reward. They might even prefer C, whose price is not dropping. This means that if the Max Borrow Utilization of C is 70%, an additional 30% of the value of supplied C in the system contributes to the buffer, assuming enough of the same users who collateralized B also collateralized C.

Overall this is a fairly complicated picture, MaxBorrowUtilization will do a lot to ensure liquidators can operate swiftly, which protects reserves. Increased diversity of assets used as collateral will also help, and there is some involvement from Collateral Weight and Liquidation Incentive.
Lenders aren't as easy to protect from bank runs though - this mostly covers liquidation.

If combined with other countermeasures (e.g. locking collateral with unbonding periods in x/incentive module), the likelihood of a bank run reaching 100% utilization (where no more withdrawals can happen) will be nearly eliminated.

That's a hope.

Or is the idea that the parameter only blocks new borrows, not liquidations?

It won't block liquidations. Liquidations must never be blocked.


add working video concept

There seems to be an issue about where Rails Asset pipeline looks for videos (assets/image vs. public/videos), but this works for me, locally.

sorry for my late response on that PR
could you please provide specs and docs for this component? thanks! :)

Outdated, I'll start a new one with the updated component


cargo build fails with git dependency in rust 1.44

Problem
Since Rust 1.44, cloning git dependencies fails the first time with an error like the following:
$ cargo build
    Updating git repository<EMAIL_ADDRESS>error: failed to get `internal-lib-name` as a dependency of package `internal_project v0.1.0 (/Users/jbrown/work/easypost/internal-project)`

Caused by:
  failed to load source for dependency `internal-lib-name`

Caused by:
  Unable to update ssh://git@internal-server/path/to/git-repo.git?tag=v0.1.0#f582cac3

Caused by:
  failed to clone into: /Users/jbrown/.cargo/git/db/internal-lib-name-835eff812df18c1c

Caused by:
  failed to authenticate when downloading repository
attempted ssh-agent authentication, but none of the usernames `git` succeeded

Caused by:
  failed to map '1'; class=Config (7)

Rerunning cargo build a second time always succeeds.
This worked fine in 1.43.

Steps

Attempt to build a repo with a git dependency

Possible Solution(s)
Working on trying to make a minimal reproducer; figured I'd file this first.
Notes
Output of cargo version: cargo 1.44.0 (05d080faa 2020-05-06) (repros on macOS and Linux)

Here's a minimal reproducer using one of the open-source libraries I maintain:
$ cargo new --bin issue-8352-test
     Created binary (application) `issue-8352-test` package
$ cd issue-8352-test
$ cat >Cargo.toml <<EOF
[package]
name = "i8352test"
version = "0.1.0"
authors = ["James Brown<EMAIL_ADDRESS>
[dependencies]
mysql_binlog = { git =<EMAIL_ADDRESS>tag = "0.3.0", version = "0.3.0"}
EOF
$ cargo build
    Updating git repository<EMAIL_ADDRESS>error: failed to get `mysql_binlog` as a dependency of package `i8352test v0.1.0 (/Users/jbrown/tmp/2020-06-11/issue-8352-test)`

Caused by:
  failed to load source for dependency `mysql_binlog`

Caused by:
  Unable to update ssh://git@github.com/EasyPost/rust-mysql-binlog?tag=0.3.0

Caused by:
  failed to fetch into /Users/jbrown/.cargo/git/db/rust-mysql-binlog-e9f9b299f3d76a53

Caused by:
  failed to authenticate when downloading repository
attempted ssh-agent authentication, but none of the usernames `git` succeeded

Caused by:
  failed to map '1'; class=Config (7)

failed to map indicates the git library failed to parse your .gitconfig.  Can you narrow down which part of your .gitconfig is causing the error and post it here?
Also, FYI, your reproduction has a small mistake (the tag needs v as in tag = "v0.3.0").

It appears to be
[core]
    logAllRefUpdates = 1

which causes the issue
Perhaps your gitconfig parser does not handle 1 as an alias for true?

Yea, looks like an issue in the libgit2 library. I have filed a report at https://github.com/libgit2/libgit2/issues/5555.  A workaround is to use true.
I'm not yet sure why running twice works. For some reason, the second run thinks the repo is up-to-date.  Perhaps the error happens late enough that the repo is partially updated.  It will take some more investigation to figure that out.

git clean -f fixed this for me

If you ran into this and can clone using git cli adding --config net.git-fetch-with-cli=true to the end of your cargo command will fix it for you


I can't find adc name which is f429zi board

Hi
Thanks very much for getting a lot of information here.
I am going to run the adc test on the f429zi board, but I do not know what the adc name is.
also, what is channel number for ADC.

please guide to me

i was test that ADC name is ADC1 and channel 5

PA 5

it was not working, can't get device struct. which is NULL.

is there a future plan of adding ADC support? without that it's hard to use the STM32 boards for most use cases.

@deadpoolcode1, ADC is now support on most STM32 devices

So zephyr documentation is not updated? ADC is supported for the STM32L?
On Fri, Sep 6, 2019, 10:03 AM Erwan Gouriou<EMAIL_ADDRESS>wrote:

@deadpoolcode1 https://github.com/deadpoolcode1, ADC is now support on
most STM32 devices
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zephyrproject-rtos/zephyr/issues/6370?email_source=notifications&email_token=AHMKTTKXOG3JQTAFRRXEGTLQIH6FZA5CNFSM4ESKHPD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6B6NFQ#issuecomment-528737942,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHMKTTNVHWUVELMC6A54MC3QIH6FZANCNFSM4ESKHPDQ
.

@deadpoolcode1,

So zephyr documentation is not updated?

It should be, where are you looking at ?

ADC is supported for the STM32L?

Supported on L0/L4. Effort for L1 should not be high


Can't login with HASS username/password

Problem/Motivation
After installing, I can't login with my normal HASS username and password.
The account was not system generated, but added by me. Is that a problem.
Also I don't get any error message, but the login mask pops up again and again.
Steps to reproduce

Fresh install of jupyterlab add-on
Open WebUI
Enter username/password from HASS
Login mask pops up again and again...

i'm wondering what could be the username and password be. because on jupyterlab config it doesn't fill in any of that, so I guessed its github, but obviously its not github id and password.


SMTP mailing stopped working (TokenStorage being populated with an anonymous Token)

Q
A

Bug report?
no

Feature request?
no

Support request?
yes

Hey everyone!
I used to be able to send mails using my gmail account, but recently it stopped working. Please find below the error I'm getting:
[2017-11-22 19:09:08] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2017-11-22 19:09:09] app.ERROR: Exception occurred while flushing email queue: Connection could not be established with host smtp.gmail.com [ #0] [] []
As I thought it could be a gmail problem, I created an alternative account in sparkpostmail, but then I've got the same error...
[2017-11-22 19:55:02] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2017-11-22 19:55:04] app.ERROR: Exception occurred while flushing email queue: Connection could not be established with host smtp.sparkpostmail.com [ #0] [] []
I believe that the problem is this TokenStorage being populated with an anonymous Token, but i don't properly understand what it means and I couldn't find it in anywhere.
Does someone know how to solve it?
Thanks in advance!

I don't think there is a relation between your mail problem and the message about TokenStorage Info.
It seems to be related to a connection problem with the host of your email provider.
Some verifications you can do:

Ping host
Check if you allow less secure apps or use app password with 2 step verification on your gmail account.
Check if your antivirus or firewall block access
Check your mailer parameters (https://github.com/dancostinel/symfony-email)

I've tried to ping sucessfully, the gmail account configuration was correct, I turned-off the firewall and the mailer parameters were configured as recommended.
This post helped me.
And this was the solution I finaly used.


Fancy Zone undock still open next time in Zone

Microsoft PowerToys version
"0.59"
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
Dock a window (e.g. Explorer) to a Zone. Have enabled "open new window in last known zone".
Undock the window from the zone and close the window.
When opening a new Explorer Window it is snapped to the last known zone, although it has been undocked before.
✔ Expected Behavior
When the Window was undocked, a new Window should also be undocked an remain in the undocked size as it was before
❌ Actual Behavior
After undock and window close, a new window is opened in the last zone.
Other Software
No response

Can you please check one thing to help us investigate the issue?
When you dock the window to a zone, FancyZones writes info about it in the C:\Users\...\AppData\Local\Microsoft\PowerToys\FancyZones\app-zone-history.json and removes it when you undock the window. So, when you undock Explorer from the zone, do you still have info about it in the file?
It should look like this:
{
        "app-path": "C:\\Windows\\explorer.exe",
        "history": [...]
}

Do you have other Explorer windows docked at the same time?
/needinfo

Nope.

Any news on this?

Do you have the same behavior on 0.60.1? /needinfo

Yes, the behaviour is the same. Best.

Thank you for the reply. I'm trying to reproduce this behavior with no luck. Any additional info would be appreciated. Maybe a quick screen record can give me a hint what's going on. Can you please do it?
/needinfo


Host shell commands (custom commands) should not auto-start a project

Describe the bug
Custom shell commands currently start the project they're in if it's not already started. This makes sense for web commands, but not so much for host commands.
To Reproduce
With a project stopped, issue a command that is a host command. It will start the project.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Version and configuration information (please complete the following information):

Host computer OS and Version: [e.g. Windows 10, macOS Catalina]
Docker Desktop version if on macOS or Windows (from "About Docker Desktop")
ddev version information (use ddev version)
config.yaml contents for the misbehaving project
Do you have any custom configuration (nginx, php, mysql) in the .ddev folder? If so, have you tried without them?

Additional context
Add any other context about the problem here. Thanks!

You mentioned ddev launch is a host command, and it does make sense that it would start the project. So presumably the solution there is to have ddev start as part of the implementation thereof?  Basically any host command that should start the project, should have ddev start in it?

No, ddev list doesn't, ddev stop doesn't. ddev config doesn't. Any script-based command (custom command) will trigger start if it the project is not running. It does not do so if the project is already running.
It's just a feature of script-based commands that they do the ddev start - it's not that they trigger the pre-start hook. It's that they do a start and that triggers the pre-start hook.

No, ddev list doesn't, ddev stop doesn't. ddev config doesn't. Any script-based command (custom command) will trigger start if it the project is not running. It does not do so if the project is already running.
It's just a feature of script-based commands that they do the ddev start - it's not that they trigger the pre-start hook. It's that they do a start and that triggers the pre-start hook.

I mean each custom command triggering start/pre-start hook, even ddev is up and running!

any news on that topic? I am also very interested in a solution. i want to use to generate ddev config upfront before starting the project and do some validation.


update

hey , thank you  this is exactly what i need .. so is there any update available ?

Hi, Sorry. I no longer maintain this repo. And there won't be an update in the future. But you can look at the source code and get a basic idea on how it's being implemented.


A Doubt about Func Sort of Package Sort

Link to the code
At line 14 I have used type sort.StringSlice type as an argument for sorting a string of slice, it works.
sort.Sort(sort.StringSlice(studyGroup))
But in line 18 when I use  sort.StringSlice type as a reciever the function works in that case too.
sort.StringSlice(s).Sort()
What is the reason behind this kind of behavior

What version of Go are you using (go version)?

Using Go Playground for this code

Does this issue reproduce with the latest release?
Code
What operating system and processor architecture are you using (go env)?
go env Output
$ go env

What did you do?

What did you expect to see?
I expected to see error for sort.StringSlice(s).Sort() case because the function Sort is defined as
func Sort(data Interface) {         n := data.Len() 	quickSort(data, 0, n, maxDepth(n)) }
What did you see instead?
But the both the cases worked and sorted []string

sort.Sort and sort.StringSlice.Sort (which uses sort.Sort) are different things.
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions

@seankhliao I did not knew about that, apologies for the inconvenience.


Add 'module(GA)' DSL method without 'Module Name'

...and use the Automatic-Module name instead.
This is helpful so that you do not need to repeat the name already defined by the library authors. That then also helps to identify the Libraries that do not even have a Name yet – which can then motivate users to ask the library authors to define an Automatic Module Name as first step towards modularization.
    module("com.google.guava:guava") { // Module Name is 'com.google.common' as defined in Guava's MANIFEST.MF
        exportAllPackages()
        requires("com.google.guava.failureaccess")
        requires("java.logging")
    }

If the switch described in #79 is added – also use Jar name as Automatic Module Name if non was defined – turning on the switch would mean that also here the fallback is used. Which means if users do not care about names, they do not need to come up with names on their own.
This might be an issue for "dependencies between modules", as the information is also used to built-up a mapping from Module Name -> GA - have to check.

...alternatively just check if the name defined corresponds to the Automatic-Module-Name and warn if not.

Closing, as this is difficult to solve in a consistent way such that it is useful in practice. For some functionality (in particular when combined with java-module-dependencies), we need the Module Name early during build configuration. That is, before the transform runs and could extract the name from the Jar.
Instead, we now have validation that checks that the given name corresponds to the define Automatic-Module-Name.


[COM 27] user enable to login with username and password

can you rebase dev from this branch after merging the first PR? I see the same changes here as on the previous PR

can you rebase dev from this branch after merging the first PR? I see the same changes here as on the previous PR

@faruka-startsteps rebased and merged to the last PR https://github.com/valentyna-koshelnyk/ecommerce-spring-api-prototype/pull/16


fix: fixed shape#array types

Codecov Report

Merging #146 (3f5edf5) into main (f5375af) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #146   +/-   ##
=======================================
  Coverage   99.26%   99.26%
=======================================
  Files          53       53
  Lines        3137     3137
  Branches      777      777
=======================================
  Hits         3114     3114
  Misses         13       13
  Partials       10       10

Impacted Files
Coverage Δ

src/lib/Shapes.ts
100.00% <100.00%> (ø)

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 f5375af...3f5edf5. Read the comment docs.

@sapphiredev pack


strikethrough

could get get strikethrough support? owo_colors has it

added in https://github.com/console-rs/console/pull/159


Ensure extend string formats are validated

This should fix issue #961 , it allows for the custom format validator to be emitted even for types backed by a primitive type (ie. strfmt.IPv4)

Rebased on master and fixed a typo in the commit message.


Added push notifications with firebase

Summary

I integrated firebase's cloud messaging to create push notifications. First by connecting the project with a firebase account.
Test Plan

To test to see if the notifications works, first make sure you connect the project a firebase account by going to tools in the project, click on firebase then cloud messaging and then connect. Once this is done go to the firebase console and send a notification. See GIFs
Screenshots/GIFs

https://drive.google.com/drive/folders/19sB44Ud3Z-8EnhVrA5gWNJSbu1PsGleb?usp=sharing

@krabinowitz1

Hey @Smartman01, great job getting started!
Just wanted to jump in real quick for some clarifications.
The test plan section of your description should just be describing what kind of test you run your code through. For example:

[x] Poorly formatted requests did not trigger notifications
[x] Application asks permission to turn on notifications

The screenshot/gif section should just be a short gif or picture of a notification being received. You don't need to put information about the database usage there.
I hope this helped!

This is looking great! One thing to note though is that one part of notifications that we want to be able to send general notifications to all users of the application. If you look in the Notifications section of the Backend Wiki on the Notion, you can see that for sending a notification to all users, we want all users subscribed to a topic from the app. So if that can be added to this as well, that would be especially awesome!
Thanks again for this, @Smartman01! 😁

@lloydoad @nalshihabi Hope I fixed the issues, if there this anything let me know. :)


About training time

Hi there, I downloaded the code and installed the dependecy, I use the 360_v2/room dataset for training, and I found the training time is extremely long.
I train use the original train_360 shell script in the code, only changed the data_dir and result dir.
I recall the paper says the Mip-NeRF 360 should 2x slow compared to the original NeRF or Mip-NeRF. and I trained the mip-nerf_pl which is the pytorch lighting version, and it took almost 20-30 hrs on single 3090 GPU 24GB, but this code of Mip-NeRF 360, I trained on 4 3090 GPU 24GB, it takes 3mins-4mins per 100 steps, for 250k steps, it should be over 120hrs, and that's around a week time, I wonder why is the training speed got that? Jax version I beileve should be faster than pytorch version.

Sorry about that, I just ask server provider solve the problem，the speed have already up to 53552 r/s from recent 8400 r/s , which will takes 20hrs for the training process, thanks for the research you have made for us!

Hello. What are the ways to speed up the training? I have the latest version of the repo running the 'train_360.sh' script on a single GPU RTX3090 24GB, batch size 4096. It does 6300 r/s, in other words, 100 steps per minute. Thanks


Request in-cluster support for multiple cluster for server side dashboard.

Would like to have multi cluster option for headlamp that is hosted within cluster. Currently I am able to configure keycloak oidc to login into my eks cluster.
However there is no such options to have both multi-cluster and oidc auth in the dashboard without having to resort to using client based headlamp which is not what i wanted. Kindly enlighten me if I am wrong about it. Thank You!

@jgyy , I think you are right that we only have single cluster options for OIDC when we are running with the in-cluster option.
If you are able to use several OIDC config in the desktop (I am not sure this works), then maybe you can try creating that kubeconfig and running in-cluster but also providing the -kubeconfig option pointing to that file.

Thanks for your comment, from what I read in the given documentations, OIDC login is not supported in desktop client. Configuring oidc token in kubeconfig is not a viable option as the token from keycloak have an expiry date unlike service account token which is permanent unless changed.
I am building up this application for multiple group of users with different permissions, hence editing kubeconfig and hosting it on the server is not an viable option and difficult to set it up.

I also second the request to be able to handle multiple clusters from the in-cluster version of headlamp. It would be a convenient alternative to running the desktop version.


QoL changes for using examples

Always use the locally built turbo binary to support easier usage within the examples. Similar to how it is done in the run-examples script, but for local use as well.
differentiate logged output when cache is missed vs when execution is forced
Hide the big error object from printing to console when execution fails. See before and after

Not sure what the thinking is on what else to write out on failure, but i suspect whatever message should come from the main turborepo program and not the node wrapper.

Loving digging around the project! Feel free to accept or reject any number of pieces of this changeset.

I have actually identified an issue when running a fresh yarn install with TURBO_BINARY_PATH set. Seems to be  because of differences in directories when running the postinstall script vs an actual turbo command - which prevents using a relative path in yarnrc

Why do we need .yarnc?

Why do we need .yarnc?

the intent is that regardless of platform or mode of running the examples, it will always use the repo-built version of the app by having this univeral way of specifying process.env varialbes. Given there are some other differences with usage of that env variable (and now thinking i dont know if pnmp or other backends would even support this), I will remove that change to unblock the rest of the PR

In the future, these should likely be separate PRs, but other than that this looks fine. Thanks!

In the future, these should likely be separate PRs, but other than that this looks fine. Thanks!

Fair - thanks for the help


DRIMSEQ_DEXSEQ_DTU_SALMON:DRIMSEQ_FILTER not working with special characters in sample names

Description of the bug
The stage DRIMSEQ_DEXSEQ_DTU_SALMON:DRIMSEQ_FILTER is not running when special characters, such as '-' are in the sample names.
The reason is that counts are converted to a data.frame, which modifies header names. Therefore, sample names are not matching to the counts header/column names afterward.
Command used and terminal output
Error in DRIMSeq::dmDSdata(counts = counts, samples = samps) :
    all(samples$sample_id %in% colnames(counts)) is not TRUE
  Calls: <Anonymous> -> stopifnot
  Execution halted

Relevant files
No response
System information

Nextflow version: 24.04.2
Hardware: HPC
Executor: local
Container engine: Docker
OS: Linux
Version of nf-core/rnasplice: 1.0.4

Thank you for pointing this bug out, I ran into the same issue and it was not obvious that the "-" was the problem


Order dependant tests in CNI

Some CNI tests only work if you run them in a specific order.
All unit tests should be able to run alone, and should be able to run in arbitrary orders
go test -p 1 -exec $PWD/tools/go-ordered-test ./cni/... -v (or -suffle) can help reproduce
--- FAIL: TestCmdAddPodInExcludedNamespace. See /tmp/test-results/tmp/go-build1544144123/b1629/TestCmdAddPodInExcludedNamespace for full logs
--- FAIL: TestCmdAdd. See /tmp/test-results/tmp/go-build1544144123/b1629/TestCmdAdd for full logs
--- FAIL: TestCmdAddTwoContainersWithAnnotation. See /tmp/test-results/tmp/go-build1544144123/b1629/TestCmdAddTwoContainersWithAnnotation for full logs
--- FAIL: TestCmdAddTwoContainersWithLabel. See /tmp/test-results/tmp/go-build1544144123/b1629/TestCmdAddTwoContainersWithLabel for full logs
--- FAIL: TestCmdAddTwoContainers. See /tmp/test-results/tmp/go-build1544144123/b1629/TestCmdAddTwoContainers for full logs
--- FAIL: TestCmdAddTwoContainersWithStarInboundPort. See /tmp/test-results/tmp/go-build1544144123/b1629/TestCmdAddTwoContainersWithStarInboundPort for full logs
--- FAIL: TestCmdAddTwoContainersWithEmptyInboundPort. See /tmp/test-results/tmp/go-build1544144123/b1629/TestCmdAddTwoContainersWithEmptyInboundPort for full logs
--- FAIL: TestCmdAddTwoContainersWithEmptyExcludeInboundPort. See /tmp/test-results/tmp/go-build1544144123/b1629/TestCmdAddTwoContainersWithEmptyExcludeInboundPort for full logs
--- FAIL: TestCmdAddTwoContainersWithExplictExcludeInboundPort. See /tmp/test-results/tmp/go-build1544144123/b1629/TestCmdAddTwoContainersWithExplictExcludeInboundPort for full logs
--- FAIL: TestCmdAddTwoContainersWithoutSideCar. See /tmp/test-results/tmp/go-build1544144123/b1629/TestCmdAddTwoContainersWithoutSideCar for full logs
--- PASS: TestCmdAddExcludePod
--- FAIL: TestCmdAddExcludePodWithIstioInitContainer. See /tmp/test-results/tmp/go-build1544144123/b1629/TestCmdAddExcludePodWithIstioInitContainer for full logs
--- FAIL: TestCmdAddExcludePodWithEnvoyDisableEnv. See /tmp/test-results/tmp/go-build1544144123/b1629/TestCmdAddExcludePodWithEnvoyDisableEnv for full logs
--- FAIL: TestCmdAddWithKubevirtInterfaces. See /tmp/test-results/tmp/go-build1544144123/b1629/TestCmdAddWithKubevirtInterfaces for full logs
--- FAIL: TestCmdAddWithExcludeInterfaces. See /tmp/test-results/tmp/go-build1544144123/b1629/TestCmdAddWithExcludeInterfaces for full logs
--- PASS: TestCmdAddInvalidK8sArgsKeyword
--- FAIL: TestCmdAddInvalidVersion. See /tmp/test-results/tmp/go-build1544144123/b1629/TestCmdAddInvalidVersion for full logs
--- PASS: TestCmdAddNoPrevResult
--- FAIL: TestCmdAddEnableDualStack. See /tmp/test-results/tmp/go-build1544144123/b1629/TestCmdAddEnableDualStack for full logs

I think its related to ambient, so cc @bleggett

Yep, that's a smell, will take a look.

I forgot this is an existing sidecar unit test suite with craploads of global test state I added FIXMEs to during the inpod stuff because it bugged me. PR up.

Should be resolved with https://github.com/istio/istio/pull/49288, tests are properly idempotent.


Remove unused syn/derive feature

It was unused. This cuts down build times from 7.9 to 7.2 seconds.
Before: https://jyn514.github.io/assets/cargo-timing-with-derive.html
After: https://jyn514.github.io/assets/cargo-timing-no-derive.html (currently having trouble with my website, but hopefully will be up soon).

IIRC some older versions failed without this present, not that that's a reason not to upgrade.
With regard to the change itself, macros have been redone for v0.3, and will accept a string literal that is then parsed. The only major change to be made before an alpha release is formatting & parsing (the former of which I actually have done to an extent locally). Assuming I don't run into unforeseen issues with testing, I'd expect said alpha release to be within the next couple weeks (no promises, though).

With regard to the change itself, macros have been redone for v0.3, and will accept a string literal that is then parsed.

Wait, so 0.3 won't have syn at all? That's great news :heart:
Do you think this is still worth backporting to the 0.2 branch?

That's correct — time 0.3 will not require syn, quote, or proc-macro2. The only time they'll even be in the dependency tree is when an optional feature (like serde) needs it.
With regards to backporting, I'll consider it. There are a number of changes in 0.3 that I could slightly modify in 0.2, though most of those have already been done.

As I'm quickly going through older issues to tag them correctly, I'd just like to mention that I recently removed the dependency on serde_derive, so syn, quote, and proc-macro2 are nowhere to be found in the dependency tree, even with all features enabled! The manual implementation for serialization and deserialization is surprisingly easy once you know what you're doing.

As I'm quickly going through older issues to tag them correctly, I'd just like to mention that I recently removed the dependency on serde_derive, so syn, quote, and proc-macro2 are nowhere to be found in the dependency tree, even with all features enabled! The manual implementation for serialization and deserialization is surprisingly easy once you know what you're doing.


Typing bug - Instagram stories

[x] I have read the FAQ.
[x] I have searched in existing issues.

Environment

OS: [e.g. Windows]
scrcpy version: [e.g. 1.16.1]
installation method: [e.g. manual build]
device model: Huawei P20 - EML-L09
Android version: [e.g. 8]

Describe the bug
Using the Instagram app, when I want to type text into a story, the moment I press any letter, the keyboard / typing action disapears. The same thing is happening when using Dell Mobile Connect and Your Phone on Windows (mirroring)

Also with scrcpy --prefer-text?

Also with scrcpy --prefer-text?

it works when I paste a text then modify it. I can't type from scratch, only the inital letter remains.

I guess that's a bug either in the app or how your system handle text/key events.
You can simulate text injection with:
adb shell input text 'here is some text'
adb shell input keyevent A


python310Packages.sensorpro-ble: init at 0.5.0

Description of changes
Library for Sensorpro BLE devices
https://github.com/Bluetooth-Devices/sensorpro-ble

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
22.11 Release Notes (or backporting 22.05 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

2 packages built:

python310Packages.sensorpro-ble
python39Packages.sensorpro-ble


Fixed #30505 -- Doc'd how changes in the order of Field.choices affect migrations.

Can you allow me (maintainers) to push changes into your branch?

Yeah @felixxm

@caioariede Thanks!


JSON parser ignores Extensions of type valueReference when they are populated in the meta

Describe the bug
This is a constellation of circumstances which ultimately result in extensions being silently dropped from HAPI FHIR objects when they are parsed to JSON.
To Reproduce
Steps to reproduce the behavior:

Create any resource. An R4 Appointment is the example we are using.
Add a Meta.
Add an Extension to that meta.
Set the value of the Extension to be a Reference.  Have the Reference be constructed around the target object, not around a string reference, e.g. new Reference(new Organization().setId("123"));. If you do new Reference("Organization/123") then different fields are set on the Reference and the bug does not manifest.
Call encodeResourceToString() on a JSON parser off the appropriate FHIR context
Extension is missing from the resultant string.

From testing this appears to only be the case when:

The Reference is populated using the object constructor, not the string constructor
The Extension is stored in the meta

Expected behavior
Extensions populated on the object should be parsed to JSON successfully.
Environment (please complete the following information):

HAPI FHIR Version: 5.5.3
OS: linux
Browser: n/a

Additional context
An example appointment is below. In this example the extension example-source-team.com is silently dropped. All others are rendered correctly.
{
  "appointmentType": {
    "coding": [
      {
        "display": "Eye checkup"
      }
    ]
  },
  "comment": "Your opthamology appointment.  Please arrive ten minutes prior to appointment.",
  "created": "2022-04-14T10:00:00+00:00",
  "end": "2022-04-14T10:00:00.000+00:00",
  "id": "9979deca-443a-459f-9bc0-4f36762a53e9",
  "meta": {
    "extension": [
      {
        "url": "http://example-source-team.com",
        "valueReference": {
          "reference": "Organization/9979deca-443a-459f-9bc0-4f36762a53b9"
        }
      },
      {
        "url": "http://example-source-text.com",
        "valueString": "sourceText"
      },
      {
        "url": "http://example-access-route.com",
        "valueCoding": {
          "code": "WEBAPP",
          "display": "Main website",
          "system": "http://example-access-route-system.com"
        }
      }
    ],
    "lastUpdated": "2022-04-14T10:00:00.000+00:00"
  },
  "participant": [
    {
      "actor": {
        "display": "Opthamology",
        "type": "Location"
      },
      "status": "accepted"
    },
    {
      "actor": {
        "display": "John Doe (Patient)"
      },
      "status": "accepted"
    }
  ],
  "resourceType": "Appointment",
  "serviceType": [
    {
      "coding": [
        {
          "code": "typeCode",
          "system": "typeCodeSystem"
        }
      ]
    }
  ],
  "start": "2022-04-14T10:00:00.000+00:00",
  "status": "booked"
}

Yes, this is parsing from JSON to object rather than the other way around. Please try this test instead:
@Test
    public void testParseReferenceExtensionInMeta() {

        Appointment appointment = new Appointment();
        appointment.setId("123");

        Meta meta = new Meta();
        Extension extension = new Extension();
        extension.setUrl("http://example-source-team.com");
        extension.setValue(new Reference(new Organization().setId("546")));
        meta.addExtension(extension);
        appointment.setMeta(meta);

        var parser = FhirContext.forR4().newJsonParser();
        String output = parser.encodeResourceToString(appointment);
        Appointment input = parser.parseResource(Appointment.class, output);

        assertTrue(input.getMeta().getExtensionByUrl("http://example-source-team.com") == null);
    }

Ah, it looks like this isn't specific to the JSON parser.
It looks like the Reference#copy() method doesn't preserve the resource value in references. That's the root cause here.


Extract DI configuration from EF components

Microsoft Reviewers: Open in CodeFlow

@DamianEdwards @davidfowl, just making sure this is the what you had in mind. It adds some complexity to the user's Program.cs, but it gives them the flexibility to do whatever they want.

Is there some more context on why we are making this change? Seems pretty significant.

Is there some more context on why we are making this change? Seems pretty significant.

See #1403

@AndriySvyryd @ajcvickers @DamianEdwards @davidfowl @roji
We need you to review this as it's a very significant change for the EF components.

@DamianEdwards @davidfowl, just making sure this is the what you had in mind. It adds some complexity to the user's Program.cs, but it gives them the flexibility to do whatever they want.

After playing with this I think we should keep the simple "do everything method" (with no options) and also have these.


⚠ Thumbnails API Endpoint has degraded performance

In 943c9f1, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 1528 ms

Resolved: Thumbnails API Endpoint performance has improved in bbd7761 after 20 minutes.


How exactly do I build this?

I've tried the steps in the README.md, but I get errors, and nothing really works.
I was wondering how I can actually build this!
my os: Arch x64

So I figured out my exact issue, I don't have apt installed on my systemx


[bug] Project doesn't build on Windows

I get multiple errors like the following:
error: couldn't read C:\Projects\git\koto\core\cli/docs/core_lib/range.md

There is a docs file in the core/cli folder with content ../../docs so I think this is supposed to be a symlink which doesn't work as intended on Windows.

  --> core\cli\src\help.rs:23:17
   |
23 |                 include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/docs/", $doc))
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
57 |             include_doc!("core_lib/range.md"),
   |             --------------------------------- in this macro invocation
   |
   = note: this error originates in the macro `include_str` which comes from the expansion of the macro `include_doc` (in Nightly builds, run with -Z macro-backtrace for more info)

From the first look it looks like a forward and backslash mixture issue probably could be resolved with an approach of some sort:
        #[cfg(not(target_os = "windows"))]
        macro_rules! include_doc {
            ($doc:expr) => {
                // Including via a symlink to the top-level docs folder to ensure cargo-package
                // can find it during packaging.
                include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/docs/", $doc))
            };
        }

        #[cfg(target_os = "windows")]
        macro_rules! include_doc {
            ($doc:expr) => {
                include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "\\docs\\", $doc.replace("/", "\\")))
            };
        }

@jasal82 Building with Windows on CI is working correctly. Do you have git symlinks enabled? git config --get core.symlinks?
@alisomay Thanks, although forward slashes in include_str should work correctly with Windows too.

FWIW the symlink is being used to allow the CLI to bundle the docs in a way that cargo-package can understand. There might be a less brittle approach but I didn't investigate further, certainly it would be nice to avoid the symlink if possible.

@irh AFAIK the core.symlinks settings requires either developer mode or a specific policy setting to be enabled on Windows. I cannot do that on my company laptop.

I see, well that's a problem! I'll look into another approach as soon as I have a moment. As a temporary workaround if you like you can simply replace the symlink with a copy of the docs folder.


How do I smooth landmarks in face landmark detection (Python) ?

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
No
OS Platform and Distribution
Windows 10
MediaPipe Tasks SDK version
0.10.7
Task name (e.g. Image classification, Gesture recognition etc.)
face mesh
Programming Language and version (e.g. C++, Python, Java)
Python
Describe the actual behavior
The landmarker movement should be smooth
Describe the expected behaviour
the landmarker movement is slightly jittery
Standalone code/steps you may have used to try to get what you need
When I run the landmarker web demo:
https://mediapipe-studio.webapps.google.com/studio/demo/face_landmarker

the result is perfectly smooth whereas when I do the same in python I get a slightly jittery result (on the same machine).
I read somewhere else that it should be possible to stabilize the result with mediapipe itself but I don't see how. Right now I'm doing my own smoothing but it would be nice to get the same out of the box!

My project is based on this example code:

import cv2
import mediapipe as mp
mp_drawing = mp.solutions.drawing_utils
mp_drawing_styles = mp.solutions.drawing_styles
mp_face_mesh = mp.solutions.face_mesh

# For webcam input:
drawing_spec = mp_drawing.DrawingSpec(thickness=1, circle_radius=1)
cap = cv2.VideoCapture(0)
with mp_face_mesh.FaceMesh(
    max_num_faces=1,
    static_image_mode=False,
    refine_landmarks=True,
    min_detection_confidence=0.5,
    min_tracking_confidence=0.5) as face_mesh:

  while cap.isOpened():
    success, image = cap.read()
    if not success:
      print("Ignoring empty camera frame.")
      # If loading a video, use 'break' instead of 'continue'.
      continue

    # To improve performance, optionally mark the image as not writeable to
    # pass by reference.
    image.flags.writeable = False
    image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
    results = face_mesh.process(image)

    # Draw the face mesh annotations on the image.
    image.flags.writeable = True
    image = cv2.cvtColor(image, cv2.COLOR_RGB2BGR)
    if results.multi_face_landmarks:
      for face_landmarks in results.multi_face_landmarks:
        mp_drawing.draw_landmarks(
            image=image,
            landmark_list=face_landmarks,
            connections=mp_face_mesh.FACEMESH_TESSELATION,
            landmark_drawing_spec=None,
            connection_drawing_spec=mp_drawing_styles
            .get_default_face_mesh_tesselation_style())
        mp_drawing.draw_landmarks(
            image=image,
            landmark_list=face_landmarks,
            connections=mp_face_mesh.FACEMESH_CONTOURS,
            landmark_drawing_spec=None,
            connection_drawing_spec=mp_drawing_styles
            .get_default_face_mesh_contours_style())
        mp_drawing.draw_landmarks(
            image=image,
            landmark_list=face_landmarks,
            connections=mp_face_mesh.FACEMESH_IRISES,
            landmark_drawing_spec=None,
            connection_drawing_spec=mp_drawing_styles
            .get_default_face_mesh_iris_connections_style())
    # Flip the image horizontally for a selfie-view display.
    cv2.imshow('MediaPipe Face Mesh', cv2.flip(image, 1))
    if cv2.waitKey(5) & 0xFF == 27:
      break
cap.release()

Other info / Complete Logs
No response

Hi @sschoellhammer,
You are currently utilizing the outdated face mesh solution, for which support has been discontinued. This functionality is now integrated into the new Face Landmarker Task API, as detailed in the documentation, and new Face Landmarker Task API is an enhanced version of the legacy face mesh, designed to be more straightforward for implementation in your specific use case.
To implement Face Landmarker in the Python, refer to the example code provided here and guide can be found here. If you encounter similar behaviour, please notify us promptly.
Thank you!

Hi @kuaashish , thanks so much for getting back to me :)
Got it, I dug around and I got something to work with the new system.
It is now nice and smooth but the markers in my test are in turn also lagging behind the video stream.
I have not seen parameters that specify the time window for the smoothing, are there any? Or is it simply a problem with my code? (possibly me handling the async-ness of it wrong)
Here it is, in case something obvious jumps to your attention:

import cv2
import mediapipe as mp

from mediapipe.tasks.python import vision
from mediapipe.tasks import python
from mediapipe.tasks.python.vision import FaceLandmarkerResult

class MyFaceDetectorAsync:
    def __init__(self):
        base_options = python.BaseOptions(model_asset_path='face_landmarker_v2_with_blendshapes.task')
        options = vision.FaceLandmarkerOptions(base_options=base_options,
                                               output_face_blendshapes=True,
                                               output_facial_transformation_matrixes=True,
                                               running_mode=mp.tasks.vision.RunningMode.LIVE_STREAM,
                                               num_faces=1,
                                               result_callback=self.result_callback)

        self.face_mesh = vision.FaceLandmarker.create_from_options(options)
        self.timestamp = 0
        self.image = None
        self.result = None
        self.eye_center = [0.5, 0.5]

    def get_center_of_eyes(self):
        left_eye_indices = [27, 23, 130, 133]
        right_eye_indices = [257, 362, 374, 263]

        self.eye_center = self.get_landmark_center(left_eye_indices + right_eye_indices)
        self.draw_circle(self.eye_center)

    def get_landmark_center(self, landmark_indices):
        x = 0
        y = 0
        for index in landmark_indices:
            x += self.landmarks[index].x
            y += self.landmarks[index].y
        x /= len(landmark_indices)
        y /= len(landmark_indices)
        return x, y

    def draw_circle(self, xy, color=(255, 0, 255), radius=3, thickness=1):
        center = (int(xy[0] * self.image_width), int(xy[1] * self.image_height))

        self.image = cv2.circle(self.image, center, radius, color, thickness)

    def draw_landmarks(self):
        for landmark in self.landmarks:
            self.draw_circle((landmark.x, landmark.y), radius=1, color=(255, 0, 0))

    def set_default_tracking_result(self):
        self.eye_center = [0.5, 0.5]

    def result_callback(self, result: FaceLandmarkerResult, output_image: mp.Image, timestamp_ms: int):
        self.result = result
        self.image = output_image

    def add_image(self, camera_image):
        self.image = camera_image
        self.timestamp += 1
        camera_image.flags.writeable = False
        img_rgb = mp.Image(image_format=mp.ImageFormat.SRGB, data=camera_image)
        self.face_mesh.detect_async(img_rgb, self.timestamp)

    def process_result(self):
        if self.result is None:
            return

        self.image_height, self.image_width, _ = self.image.shape

        if self.result.face_landmarks is None or len(self.result.face_landmarks) == 0:
            self.set_default_tracking_result()
            return

        self.landmarks = self.result.face_landmarks[0]

        self.draw_landmarks()
        self.get_center_of_eyes()

def main():
    cap = cv2.VideoCapture(0)
    detector = MyFaceDetectorAsync()

    while True:

        success, img = cap.read()

        detector.add_image(img)
        detector.process_result()

        if detector.image is not None:
            cv2.imshow("Image", detector.image)

        # Wait for 1 millisecond, and keep the window open

        cv2.waitKey(1)

if __name__ == "__main__":
    main()

Hi @schmidt-sebastian,
Are there configurations in the face landmarker to minimise jitter, or are there any methods available to reduce jitter?
Thank you

About jittering of pose I've found this stack overflow post maybe it will help you: https://stackoverflow.com/questions/52450681/how-can-i-use-smoothing-techniques-to-remove-jitter-in-pose-estimation


Install plugins?

initContainers doesn't seem to be exposed. Is there a way to install plugins with this chart?

Hi!
The recommended way to install plugins into our docker images is to create a custom docker image.
The Dockerfile would look something like:
ARG elasticsearch_version
FROM docker.elastic.co/elasticsearch/elasticsearch:${elasticsearch_version}

RUN bin/elasticsearch-plugin install --batch repository-gcs

And then updating image: in values to point to your custom image.
There are a couple reasons we recommend this.

Tying the availability of Elasticsearch to the download service to install plugins is not a great idea or something that we recommend. Especially in Kubernetes where it is normal and expected for a container to be moved to another host at random times.
Mutating the state of a running docker image (by installing plugins) goes against best practices of containers and immutable infrastructure.

I see. Thank you!
My next question was going to be how to insert values into the elasticsearch keystore, but it sounds like the answer all-around is custom image. :+1:

The keystore contains sensitive secrets and isn't really suitable to being baked into the docker image. It would also mean you would need seperate docker images for each cluster you have. It's much better to store it as a kubernetes secret and mount it into the container.
$ kubectl create secret generic elasticsearch-keystore --from-file=./elasticsearch.keystore

Then mount it via the secretMounts value.
secretMounts:
  - name: elasticsearch-keystore
    secretName: elasticsearch-keystore
    path: /usr/share/elasticsearch/config/elasticsearch.keystore
    subPath: elasticsearch.keystore

I have made a note to get both of these examples added into the readme since I'm sure others will have the same question.

Added an FAQ section in https://github.com/elastic/helm-charts/pull/52

Sounds great and the FAQ is looking good. I was able to get the gcs-repository working just fine (funny that's the one you put in your example). :)
I had one more question, though. For the elasticsearch.keystore, is it somehow tied to a cluster? Can I generate that with any keystore tool (for example, from a desktop) and have it work with any deployment I do, or is there some seed based on the cluster config that will make that not work?
To get my deploy working I just used the elasticsearch-keystore tool in the custom image I created, but I wasn't sure if that was somehow seeded with a keystore encryption key.

Can I generate that with any keystore tool (for example, from a desktop) and have it work with any deployment I do, or is there some seed based on the cluster config that will make that not work?

Yup, it just works! I used the elasticsearch-keystore command from my laptop (macbook running OSX) which works just fine in any other cluster.

Thank you for the assistance. Everything is working great with the strategy that was added to the FAQ.


Feature/net http errors

Implements an errors hierarchy for non successful http responses

Net Http requests raise the appropriate error from the errors hierarchy if the response is one that is not classed as successful

related to #106

@apotonick sorry for the delay getting back to you.
Did this just need rebasing in the end?

Hey @paulccarey, I would like to make this an optional feature. Rebasing will help! What I did for 1.0 was simple pass on the raised exception in a Roar::Transport::Error, have a look here: https://github.com/apotonick/roar/blob/master/lib/roar/transport/net_http/request.rb#L70

ok cool, leave it with me, I'll rebase and put in some sort of config switch.
Is there already any conventions for configs in the gem?

Thanks @paulccarey - yeah, best is to introduce a new module, something like Transport::ExplicitError that then gets included in the representers.
In the last years I refrained from introducing a convoluted configuration mechnism in favour of explicit modules. Let me know if that works for you!


[GAM] Caught errors from the mixed code of sparse/dense

Found errors in the code of the Graph Agreement Model (./research/gam).

@googlebot I signed it!


GitHub-issue#253 : Implemented download maxmind test mmdb files to re…

Description
Implemented downlaod maxmind test mmdb files to resource folder
Issues Resolved
GitHub-issue #253
Check List

[ ] New functionality includes testing.
[ ] New functionality has a documentation issue. Please link to it in this PR.

[ ] New functionality has javadoc added

[ ] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Raised another PR - 3373 for downloading test mmdb's from maxmind to resources folder


Microsoft Teams Integration

It would be great if Franz was extended with the Microsoft TEams integration (similar to Slack). They have a web client: teams.microsoft.com
Thanks!

Microsoft Teams is already integrated in Franz 5.


Fix ArcGIS Feature request failures on specific server

This PR solves 2 issues:

Capabilities parsing issue of the supportedQueryFormats:
Typically, the capabilities response contains the following:
"supportedQueryFormats": "JSON, PBF",
Turns out some server, do no include a whitespace after the comma separator, like this:
"supportedQueryFormats": "JSON,PBF",

The f (i.e. format) query parameter, must have its value set in lower case, even though the supportedQueryFormats capability indicates the formats in upper case.
This is confirmed by the ArcGIS documentation:

@Mergifyio backport release/4.9.x

@aruniverse Looks like Im getting random test failures ?

@aruniverse Looks like Im getting random test failures ?

Yes integration tests are failing due to some auth issues, we are aware and looking into it


[python] [ci] Refactor tests to use pytest style

Summary
The tests on the Python package currently use two different styles.
The dask tests for example, use the pytest style, where each test case is a function and conditions are checked by assert-ing
def test_classifier(output, centers, client, listen_port):
    ....
    assert_eq(s1, s2)
    assert_eq(p1, p2)

While the 'engine' tests use the traditional unittest style, where each test case is a method on a class that inherits from unittest.TestCase and conditions are checked with unittest builtin methods.
class TestEngine(unittest.TestCase):
    def test_binary(self):
        ...
        self.assertLess(ret, 0.14)
        self.assertEqual(len(evals_result['valid_0']['binary_logloss']), 50)

To close this issue, change all of the tests to the pytest style. You'll know you've been successful if none of the test files need to import unittest.
Motivation
This consistency will make contributing on LightGBM easier. This is especially important in the Python project, which is often used to indirectly test changes at the C++ side (for example, #3299 ).
Description
This change should be applied for all test modules in tests/python_package_test. Please avoid changing any of the test logic and just focus on style.
If you get stuck, @ me here and I can help.

[ ] test_basic.py
[ ] test_consistency.py
[ ] test_dask.py
[ ] test_dual.py
[ ] test_engine.py
[ ] test_plotting.py
[ ] test_sklearn.py

[ ] test_basic.py
[ ] test_consistency.py
[ ] test_dask.py
[ ] test_dual.py
[ ] test_engine.py
[ ] test_plotting.py
[ ] test_sklearn.py


CI for Fastlane + Android

Here's a related comment from @sj26

Hi folks! Do we have an example pipeline for building an android app? Even better, do we have something for building a library for android? I want some example pipelines I can rig up that build and push packages from within pipelines.

I'm unsure if Fastlane is the right workflow tool for this. Leaving a note here to investigate later.

Fastlane is a nice value-add for Android builds, as part of the continuous delivery story. But there should probably be an example using Gradle directly as well. Getting a Gradle build environment configured well, with good caching, needs to be done before Fastlane becomes useful, imho.
Here's an example that I recently added into Packagecloud, to exercise gradle push and pull from a private repository:
https://github.com/computology/packagecloud.io/tree/main/spec/fixtures/gradle/test-app
and a system test:
https://github.com/computology/packagecloud.io/blob/main/spec/system/gradle_client_spec.rb
I'd like to wrap this up into a Buildkite pipeline and get it pushing the build artifacts to the private repo using Buildkite OIDC tokens, too.

Hi @sj26 I've created a separate issue https://github.com/buildkite/templates/issues/58 to focus on the use cases you mentioned
Thanks for the inspirations :)


CFD Rear Bodywork on SimScale (fp-023d)

[x] Remesh and Recalc ? fp-023d Control
[x] Rr Fender with the wheelhouse for the tire stroke and Side Pod Mod
[x] Diffuser End 20mm Higher

For YASA P400 Motors and Xtarc P1227 Gearbox

[x] Diffuser Vertical Fins

[x] Thickness 30-40mm
[x] Thickness 10mm

[x] Rr Bumper B
[x] Rr Bonnet Horizontal Vane
[x] Side Mirror

[x] Side Mirrorless
[x] Higher Side Mirros for Higher Rr Wing

Side Mirror 30mm Highter / 20mm Outer

[ ] Rr Wing

[x] Main Plane 1pc Z+50mm
[x] Two Pieces

[x] Main Plane 1.4 / Flap 1.3 32.7deg

[x] Control
[x] - 5deg
[x] - 10deg

[x] - RH 110-110mm
[ ] - RH 90-110mm

[x] Main Plane 1.4 / Flap 1.3 27.7deg
[x] ~Main Plane 1.4 x1.25 Mod -5deg / Flap 1.3 20deg~
[x] ~Main Plane 1.4 x1.25 Mod / Flap 1.3 32.7deg~

[x] ~Higher Windscreen~

fp-023d - Rear Bodywork @ SimScale
https://www.simscale.com/projects/yosukegb4/fp-023d_-_control_1/

Google Calc : Coefficients Comparison fp-023d for GitHub Issues
https://docs.google.com/spreadsheets/d/1j4ySBqmNtPsV2u_0bn1lc_qqCUI9dESTD_0UFHFbY3c/edit#gid=0

Remesh and Recalc fp-023d Control Comparison
All calculations below are CFD using the same car body shape and posture of 'Fr Fender Louver C + Louver Stay B'.

Control (Aug 2016) : fp-023c - Front Aero Devices / Simulation - fp-023c - Fr Fender Louver C Louver Stay B

https://www.simscale.com/workbench/?pid=3781955060523638359#tab_1-0

Recalc (Jul 2017) : Re-calculated result using the mesh of Control (aug 2016)
Remash (Jul 2017) : Remesh the STL data newly exported the same CAD model of 'Fr Fender Louver C + Louver Stay B' and recalc the mesh

Have any CFD simulation conditions changed???
Body and Wheels : Fr Fender Louver C + Louver Stay B

Coef.
Control (Aug 2016)
Difference
Recalc (Jul 2017)
Difference
Remesh  (Jul 2017)
Remarks

Cm
0.0496
0.0013
0.0509
-0.0006
0.0503

Cd
0.5622
0.0626
0.6248
0.0006
0.6253

Cl
-0.1990
0.0161
-0.1828
0.0003
-0.1825

Clf
-0.0499
0.0094
-0.0406
-0.0004
-0.0409

Clr
-0.1490
0.0068
-0.1423
0.0007
-0.1415

CoP
0.7491
0.0291
0.7782
-0.0025
0.7756

L/D
-0.3539
0.0613
-0.2926
0.0008
-0.2918

Body Only Fr Fender Louver C + Louver Stay B

Coef.
Control (Aug 2016)
Difference
Recalc (Jul 2017)
Difference
Remesh  (Jul 2017)
Remarks

Cm
0.0300
0.0010
0.0310
-0.0004
0.0306

Cd
0.4401
0.0240
0.4640
0.0000
0.4641

Cl
-0.2515
0.0585
-0.1931
0.0008
-0.1923

Clf
-0.0958
0.0303
-0.0655
0.0000
-0.0656

Clr
-0.1557
0.0282
-0.1275
0.0008
-0.1268

CoP
0.6192
0.0414
0.6606
-0.0014
0.6591

L/D
-0.5716
0.1555
-0.4161
0.0016
-0.4144

I checked the CFD simulation conditions 1 by 1, but I could not find any differences.

Solver Log
Control (Aug 2016)
ExecutionTime = 9447.2 s  ClockTime = 9489 s
forces forces00 output:
    sum of forces:
        pressure :<PHONE_NUMBER>88 -212.110703092 -75.7760171924)
        viscous  : (17.3917652795 -1.08442962181 1.11069449078)
        porous   : (0 0 0)
    sum of moments:
        pressure : (89.2308128353 39.431771951 87.3466997841)
        viscous  : (-0.291788799091 9.8484672478 11.4303927196)
        porous   : (0 0 0)
forceCoeffs forceCoeffs02 output:
    Cm    = 0.0299764568244
    Cd    = 0.440050754546
    Cl    = -0.251531019826
    Cl(f) = -0.0957890530888
    Cl(r) = -0.155741966738
forceCoeffs forceCoeffs01 output:
    Cm    = 0.0495514285929
    Cd    = 0.562189539161
    Cl    = -0.198951946782
    Cl(f) = -0.049924544798
    Cl(r) = -0.149027401984
End
Finalising parallel run

Recalc (Jul 2017)
ExecutionTime = 9234.12 s  ClockTime = 9330 s
forces forces00 output:
    sum of forces:
        pressure :<PHONE_NUMBER>52 -196.252364887 -72.8171329932)
        viscous  : (45.1944284719 -3.21975993178 4.20380348382)
        porous   : (0 0 0)
    sum of moments:
        pressure : (92.3956264237 24.053322206 89.8511498638)
        viscous  : (-1.06376364958 26.5247248955 29.0178772838)
        porous   : (0 0 0)
forceCoeffs forceCoeffs02 output:
    Cm    = 0.031001740487
    Cd    = 0.464048885949
    Cl    = -0.193073503032
    Cl(f) = -0.065535011029
    Cl(r) = -0.127538492003
forceCoeffs forceCoeffs01 output:
    Cm    = 0.0508563783388
    Cd    = 0.624779302117
    Cl    = -0.182825908831
    Cl(f) = -0.0405565760767
    Cl(r) = -0.142269332754
End
Finalising parallel run

Remesh (Jul 2017)
ExecutionTime = 8022.43 s  ClockTime = 8094 s
forces forces00 output:
    sum of forces:
        pressure :<PHONE_NUMBER>74 -196.431722066 -72.6679161092)
        viscous  : (45.1896596016 -3.22240724966 4.18000960119)
        porous   : (0 0 0)
    sum of moments:
        pressure : (92.5310074026 23.5012409058 89.6205071841)
        viscous  : (-1.05549639158 26.5240747388 29.015966035)
        porous   : (0 0 0)
forceCoeffs forceCoeffs02 output:
    Cm    = 0.0306025076852
    Cd    = 0.464068604351
    Cl    = -0.192320230353
    Cl(f) = -0.0655576074912
    Cl(r) = -0.126762622862
forceCoeffs forceCoeffs01 output:
    Cm    = 0.0503006051981
    Cd    = 0.625349287192
    Cl    = -0.182491708838
    Cl(f) = -0.0409452492211
    Cl(r) = -0.141546459617
End
Finalising parallel run

Convergence plot curve comparison
Control (Aug 2016)

Recalc (Jul 2017)

Remesh (Jul 2017)

Hmm..., the convergence curves have changed from Aug 2016 too.

Anyway comparing Recalc (Jul 2017) with Remesh (Jul 2071), it seems accurate enough.

Iteration number and convergence
N=800 is not enough. N=1000 is needed at least, or more iterations?
Rr fender for Tire Stroke
Body and Wheels

Coef.
N=800
N=1000
Difference
Difference %
Remarks

Cm
0.0464
0.0451
-0.0013
-2.9

Cd
0.6238
0.6242
0.0004
0.1

Cl
-0.1741
-0.1696
0.0046
-2.6

Clf
-0.0406
-0.0397
0.0009
-2.3

Clr
-0.1335
-0.1299
0.0036
-2.7

CoP
0.7667
0.7660
-0.0007
-0.1

L/D
-0.2792
-0.2716
0.0075
-2.7

Body Only

Coef.
N=800
N=1000
Difference
Difference %
Remarks

Cm
0.0306
0.0272
-0.0034
-11.1

Cd
0.4641
0.4687
0.0046
1.0

Cl
-0.1923
-0.1826
0.0097
-5.1

Clf
-0.0656
-0.0641
0.0015
-2.3

Clr
-0.1268
-0.1185
0.0083
-6.5

CoP
0.6591
0.6491
-0.0101
-1.0

L/D
-0.4144
-0.3896
0.0249
-6.0

Convergence Plot

Force Coefficients Plot
Body and Wheels Coefficients

Body Coefficients

Rr Fender with the wheelhouse for the tire stroke and Side Pod Mod
On rear wheel the downforce decreases or the lift force increases.
Rr fender for Tire Stroke (N=800) / Control : Remesh (Jul 2017)
Body and Wheels

Coef.
Control
Rr Fender for Tire Stroke
Difference
Difference %
Remarks

Cm
0.0503
0.0464
-0.0039
-7.7

Cd
0.6253
0.6238
-0.0015
-0.2

Cl
-0.1825
-0.1741
+0.0083
+4.6

Clf
-0.0409
-0.0406
+0.0003
+0.8

Clr
-0.1415
-0.1335
+0.0080
+5.7
Decleace in Rr Downforce

CoP
0.7756
0.7667
-0.0089
-0.9

L/D
-0.2918
-0.2792
+0.0127
+4.3

Body Only

Coef.

Control
Diffuser End Z+20mm
Difference
Difference %
Remarks

Cm
0.0446
0.0469
+0.0023
+5.2

Cd
0.6236
0.6230
-0.0006
-0.1

Cl
-0.1678
-0.1851
-0.0173
-10.3

Clf
-0.0393
-0.0456
-0.0063
-16.1

Clr
-0.1285
-0.1395
-0.0110
-8.5

CoP
0.7660
0.7536
-0.0123
-1.2

L/D
-0.2690
-0.2971
-0.0281
-10.4

Body Only

Coef.
Control
Diffuser End Z+20mm
Difference
Difference %
Remarks

Cm
0.0266
0.0290
+0.0023
+8.7

Cd
0.4683
0.4681
-0.0002
-0.1

Cl
-0.1812
-0.1987
-0.0174
-9.6

Clf
-0.0640
-0.0704
-0.0064
-10.0

Clr
-0.1173
-0.1283
-0.0110
-9.4

CoP
0.6469
0.6458
-0.0012
-0.1

L/D
-0.3870
-0.4244
-0.0374
-9.7

'Diffuser End 20mm Higher' increases the front and rear downforce without the drag increase.

Diffuser End 20mm Higher - ParaView
Pressure Underbody

Pressure Underbody - Zoom to Floor

Diffuser End 20mm Higher - ParaView / Flow Comparison
Rear View

Left View - GIF Animation

I also write these in SimScale Forum.
https://www.simscale.com/forum/t/fp-023d-rear-bodywork-simulation-project-by-yosukegb4/76182

Diffuser Vertical Fin
Diffuser Vertical Fin / Control : Diffuser End 20mm Higher (N=1200)
Body and Wheels

Coef.
Control
Difference
Diffuser Vertical Fin t10
Difference
Diffuser Vertical Fin t30-40
Remarks

Cm
0.0469
-0.0009
0.0461
-0.0005
0.0455

Cd
0.6230
0.0002
0.6232
0.0000
0.6232

Cl
-0.1851
0.0036
-0.1815
0.0055
-0.1760

Clf
-0.0456
0.0009
-0.0447
0.0022
-0.0425

Clr
-0.1395
0.0027
-0.1368
0.0033
-0.1336

CoP
0.7536
0.0002
0.7538
0.0049
0.7587

L/D
-0.2971
0.0058
-0.2913
0.0088
-0.2825

Body and Wheels

Coef.
Control
Difference
Diffuser Vertical Fin t10
Difference
Diffuser Vertical Fin t30-40
Remarks

Cm
0.0290
-0.0009
0.0281
-0.0007
0.0274

Cd
0.4681
0.0001
0.4681
0.0004
0.4685

Cl
-0.1987
0.0035
-0.1951
0.0052
-0.1899

Clf
-0.0704
0.0009
-0.0695
0.0019
-0.0676

Clr
-0.1283
0.0027
-0.1256
0.0033
-0.1223

CoP
0.6458
-0.0019
0.6439
0.0004
0.6442

L/D
-0.4244
0.0076
-0.4168
0.0115
-0.4053

Diffuser Vertical Fin
Diffuser Vertical Fin / Control : Diffuser End 20mm Higher (N=1200)
Body and Wheels

Coef.
Control
Difference
Diffuser Vertical Fin t10
Difference
Diffuser Vertical Fin t30-40
Remarks

Cm
0.0469
-0.0009
0.0461
-0.0005
0.0455

Cd
0.6230
0.0002
0.6232
0.0000
0.6232

Cl
-0.1851
0.0036
-0.1815
0.0055
-0.1760

Clf
-0.0456
0.0009
-0.0447
0.0022
-0.0425

Clr
-0.1395
0.0027
-0.1368
0.0033
-0.1336

CoP
0.7536
0.0002
0.7538
0.0049
0.7587

L/D
-0.2971
0.0058
-0.2913
0.0088
-0.2825

Body and Wheels

Coef.
Control
Difference
Diffuser Vertical Fin t10
Difference
Diffuser Vertical Fin t30-40
Remarks

Cm
0.0290
-0.0009
0.0281
-0.0007
0.0274

Cd
0.4681
0.0001
0.4681
0.0004
0.4685

Cl
-0.1987
0.0035
-0.1951
0.0052
-0.1899

Clf
-0.0704
0.0009
-0.0695
0.0019
-0.0676

Clr
-0.1283
0.0027
-0.1256
0.0033
-0.1223

CoP
0.6458
-0.0019
0.6439
0.0004
0.6442

L/D
-0.4244
0.0076
-0.4168
0.0115
-0.4053

Diffuser Vertical Fin - None / Flow Comparison
Bottom View

Rear View

Side View - GIF Animaiton

Rr Bumper B

Rr Bumper B / Control : Diffuser End 20mm Higher (N=1200)
Body and Wheels

Coef.
Control
Rr Bumper B
Difference
Difference %
Remarks

Cm
0.0469
0.0448
-0.0022
-4.6

Cd
0.6230
0.6229
-0.0001
0.0

Cl
-0.1851
-0.1855
-0.0004
0.2

Clf
-0.0456
-0.0480
-0.0024
5.2

Clr
-0.1395
-0.1375
0.0020
-1.4

CoP
0.7536
0.7413
-0.0123
-1.2

L/D
-0.2971
-0.2978
-0.0007
0.2

Body Only

Coef.
Control
Rr Bumper B
Difference
Difference %
Remarks

Cm
0.0290
0.0269
-0.0021
-7.2

Cd
0.4681
0.4681
0.0000
0.0

Cl
-0.1987
-0.1991
-0.0005
0.2

Clf
-0.0704
-0.0727
-0.0023
3.3

Clr
-0.1283
-0.1264
0.0018
-1.4

CoP
0.6458
0.6350
-0.0108
-1.1

L/D
-0.4244
-0.4254
-0.0010
0.2

'Rr Bumper B' slightly increases front downforce and decrease rear downforce.
These changes are small and not deterministic.
The drag are almost the same.

Rr Bumper B - U Magnitude Comparison
Section Y=-450 - GIF Animation

Rr Bonnet Horizontal Vane
Rr Bonnet Horizontal Vane / Control : Rr Bumper B
Body and Wheels

Coef.
Control
Rr Bonnet Horizontal Vane
Difference
Difference %
Remarks

Cm
0.0448
0.0435
-0.0013
-2.8

Cd
0.6229
0.6223
-0.0006
-0.1

Cl
-0.1855
-0.1842
0.0013
-0.7

Clf
-0.0480
-0.0486
-0.0006
1.3

Clr
-0.1375
-0.1356
0.0019
-1.4

CoP
0.7413
0.7362
-0.0052
-0.5

L/D
-0.2978
-0.2960
0.0019
-0.6

Body Only

Coef.

These changes of downforces are small and not deterministic.
The drag is almost the same.

Rr Bonnet Horizontal Vane - Flow Comparison

Side Mirror
Side Mirrorless
Side Mirrorless						Control : Rr Bonnet Horizontal Vane
Body and Wheels

Coef.
Control
Side Mirrorless
Difference
Difference %
Remarks

Cm
0.0435
0.0363
-0.0072
-16.5

Cd
0.6223
0.6205
-0.0018
-0.3

Cl
-0.1842
-0.2012
-0.0170
9.2

Clf
-0.0486
-0.0643
-0.0157
32.3

Clr
-0.1356
-0.1369
-0.0013
1.0

CoP
0.7362
0.6805
-0.0557
-5.6

L/D
-0.2960
-0.3242
-0.0283
9.6

Body Only

Coef.
Control
Side Mirrorless
Difference
Difference %
Remarks

Cm
0.0253
0.0184
-0.0069
-27.3

Cd
0.4676
0.4631
-0.0045
-1.0

Cl
-0.1981
-0.2136
-0.0156
7.9

Clf
-0.0737
-0.0884
-0.0147
19.9

Clr
-0.1243
-0.1252
-0.0009
0.7

CoP
0.6277
0.5861
-0.0417
-4.2

L/D
-0.4235
-0.4612
-0.0377
8.9

Side Mirrorless - Flow and Pressure Comparison

Side Mirror - 30mm Higher and 20mm Outer
Side Mirror - 30mm Higher and 20mm Outer / Control : Rr Bonnet Horizontal Vane
Body and Wheels

Coef.
Control
Side Mirror - 30mm Higher & 20mm Outer
Difference
Difference %
Remarks

Cm
0.0435
0.0436
0.0001
0.1

Cd
0.6223
0.6229
0.0006
0.1

Cl
-0.1842
-0.1819
0.0022
-1.2

Clf
-0.0486
-0.0474
0.0012
-2.4

Clr
-0.1356
-0.1345
0.0011
-0.8

CoP
0.7362
0.7394
0.0032
0.3

L/D
-0.2960
-0.2921
0.0039
-1.3

Body Only

Coef.
Control
Side Mirror - 30mm Higher & 20mm Outer
Difference
Difference %
Remarks

Cm
0.0253
0.0256
0.0002
1.0

Cd
0.4676
0.4685
0.0008
0.2

Cl
-0.1981
-0.1959
0.0022
-1.1

Clf
-0.0737
-0.0724
0.0013
-1.8

Clr
-0.1243
-0.1235
0.0008
-0.7

CoP
0.6277
0.6304
0.0027
0.3

L/D
-0.4235
-0.4182
0.0054
-1.3

Side Mirror 30mm Higher 20mm Outer - Flow and Pressure Comparison
Flow Comparison - Side View / GIF Animation

Pressure Comparison - Top View

Rr Wing
Rr Wing - 1 piece 50mm Higher
Rr Wing 1pc 50mm Higher / Control : Rr Bonnet Horizontal Vane
Body and Wheels

Coef.
Control
Rr Wing 1pc 50mm Higher
Difference
Difference %
Remarks

Cm
0.0435
0.0487
0.0052
11.9

Cd
0.6223
0.6255
0.0032
0.5

Cl
-0.1842
-0.1870
-0.0028
1.5

Clf
-0.0486
-0.0448
0.0038
-7.8

Clr
-0.1356
-0.1422
-0.0066
4.9

CoP
0.7362
0.7603
0.0241
2.4

L/D
-0.2960
-0.2990
-0.0030
1.0

Rr Wing - 1 Piece 50mm Higher - Flow and Pressure Comparison
Center Flow Comparison / GIF Animation
Line Pitch : 20mm

Line Pitch : 10mm

Rr Wing - 1 Piece and 2 Pieces

2 pcs Control : Rr Wing Main 1.4 Flap 1.3 32.7deg
2 pcs -5 deg : Rr Wing -5deg / Main 1.4 Flap 1.3
2 pcs -10 deg : Rr Wing -10deg / Main 1.4 Flap 1.3
1 pc Z+50mm : Rr Wing 1pc 50mm Higher

Body and Wheels

Coef.
2 pcs Control
2 pcs -5deg
2 pcs -10deg
1 pc Z+50mm
Remarks

Cm
0.1099
0.1144
0.1020
0.0487

Cd
0.6641
0.6575
0.6483
0.6255

Cl
-0.3098
-0.3142
-0.2883
-0.1870

Clf
-0.0450
-0.0427
-0.0421
-0.0448

Clr
-0.2648
-0.2715
-0.2462
-0.1422

CoP
0.8548
0.8641
0.8538
0.7603

L/D
-0.4666
-0.4779
-0.4447
-0.2990

Body Only

Coef.
2 pcs Control
2 pcs -5deg
2 pcs -10deg
1 pc Z+50mm
Remarks

Cm
0.0909
0.0954
0.0834
0.0307

Cd
0.5030
0.4971
0.4896
0.4711

Cl
-0.3234
-0.3280
-0.3021
-0.2008

Clf
-0.0708
-0.0686
-0.0677
-0.0697

Clr
-0.2526
-0.2594
-0.2344
-0.1311

CoP
0.7810
0.7909
0.7759
0.6528

L/D
-0.6430
-0.6597
-0.6170
-0.4263

Rr Wing - 1 Piece and 2 Pieces / Flow Comparizon - Wing and Diffuser
Flow Comparison - GIF Animation

Each Still Images

Rr Wing - 1 Piece and 2 Pieces / Flow Comparizon - Wing
Flow Comparison - GIF Animation

Each Still Images

Rr Wing - 1 Piece and 2 Pieces / U Magnitude Comparizon - Wing
Flow Comparison - GIF Animation

Each Still Images

Rr Wing Flap Angle
Rr Wing -5deg / Main 1.4 Flap 1.3 27.7deg (-5deg)
Control : Rr Wing -5deg / Main 1.4 Flap 1.3 (37.7deg)
Body and Wheels

Coef.
Control
Rr Wing Flap -5deg
Difference
Difference %
Remarks

Cm
0.1144
0.1087
-0.0057
-5.0

Cd
0.6575
0.6533
-0.0042
-0.6

Cl
-0.3142
-0.3014
0.0128
-4.1

Clf
-0.0427
-0.0420
0.0007
-1.5

Clr
-0.2715
-0.2594
0.0121
-4.5

CoP
0.8641
0.8605
-0.0036
-0.4

L/D
-0.4779
-0.4614
0.0165
-3.5

Body Only

Coef.
Control
Rr Wing Flap -5deg
Difference
Difference %
Remarks

Cm
0.0954
0.0899
-0.0055
-5.8

Cd
0.4971
0.4935
-0.0036
-0.7

Cl
-0.3280
-0.3152
0.0127
-3.9

Clf
-0.0686
-0.0677
0.0008
-1.2

Clr
-0.2594
-0.2475
0.0119
-4.6

CoP
0.7909
0.7851
-0.0058
-0.6

L/D
-0.6597
-0.6387
0.0210
-3.2

Rr Wing Flap Angle - Flow Comparison
Wing and Diffuser Flow Comparison - GIF Animation

Wing Flow Comparison - GIF Animation

Rr Wing Flap Angle - U Magnitude and Pressure Comparison
U Magnitude Comparison - GIF Animaiton

Pressure Comparison - GIF Animation

Rr Wing 2 Pieces and Low Front Ride Height
RH90-110 / Rr Wing -10deg / Main 1.4 Flap 1.3
Control : Rr Wing -10deg / Main 1.4 Flap 1.3 (RH110-110)
Body and Wheels

Coef.
RH110-110
RH90-110
Difference
Difference %
Remarks

Cm
0.1020
0.0763
-0.0257
-25.2

Cd
0.6483
0.6419
-0.0064
-1.0

Cl
-0.2883
-0.3267
-0.0384
13.3

Clf
-0.0421
-0.0871
-0.0450
106.7

Clr
-0.2462
-0.2396
0.0065
-2.6

CoP
0.8538
0.7334
-0.1204
-12.0

L/D
-0.4447
-0.5090
-0.0643
14.5

Body Only

Coef.
RH110-110
RH90-110
Difference
Difference %
Remarks

Cm
0.0834
0.0589
-0.0244
-29.3

Cd
0.4896
0.4857
-0.0039
-0.8

Cl
-0.3021
-0.3383
-0.0362
12.0

Clf
-0.0677
-0.1102
-0.0425
62.8

Clr
-0.2344
-0.2281
0.0063
-2.7

CoP
0.7759
0.6742
-0.1017
-10.2

L/D
-0.6170
-0.6965
-0.0795
12.9

Summary (Editing Now...)

Diffuser

Diffuser End 20mm Higher
Diffuser Vertical Fins

Rr Bumper B
Rr Bonnet Horizontal Vane
Side Mirror

Side Mirrorless
Side Mirror 30mm Highter / 20mm Outer

Rr Wing

Main Plane 1pc Z+50mm
Two Pieces

Main Plane 1.4 / Flap 1.3 32.7deg

Control

5deg

10deg

RH 110-110mm

RH 90-110mm

Main Plane 1.4 / Flap 1.3 27.7deg


ci: install 'git' in the containers before cloning the repo

This PR install git on the containers before using actions/checkout, instead of doing it afterwards.
On the one hand, we are already installing git later in each job, because the prerequisites in the docs include git. Therefore, this is just doing it before.
On the other hand, actions/checkout will fall back to the GitHub API if git is not found. Currently, this repo uses "Container jobs", which means that all the steps of the job are executed inside the container. Therefore, if git is not found, the Action uses the API, and that is undesirable because some features such as option submodules might not work. See:

https://github.com/actions/checkout/#whats-new
Fallback to REST API download

When Git 2.18 or higher is not in the PATH, the REST API will be used to download the files
When using a job container, the container's PATH is used

In fact, the warning/error is not produced when using the self-hosted runners in this repo. I found this when I used the default runners in my fork. I wonder if the Antmicro runner is doing something different in this regard, or whether it's inherited from GitHub's self-hosted runner codebase.

Without this PR: https://github.com/umarcor/symbiflow-examples/actions/runs/1606846683
With this PR: https://github.com/umarcor/symbiflow-examples/actions/runs/1606879598

Ref: #228

Hi @umarcor,
The warning is not produced in this repository because in our custom runners the Node actions (e.g. actions/checkout, actions/upload-artifact@v2) are executed in a separate, fixed container.
You can find the build recipes for that container in the github-actions-singularity-node repository. We use the Alpine variant from there, and you can see that git is explicitly getting installed in its build extension script.
This way, git is guaranteed to be there for the action calling it.

@AdamOlech, thanks for explaining!


Added audio web component + minor tweaks

Hi,
Thanks for the code. Some modifications if you want to include them.
I have added audio_instructions_web component and modified app.js and demo.html accordingly.
audio instructions web allows utterance of "In 100m turn left on to Church Lane", in the speech codes -> text use a "!" to include " on to Street Name" in the instruction.

Fixed a "bug" in base component to allow classes to be sent via options to add additional classes to the component.
Added "grid.w" to override, clumsily, the components grid width to allow styling to match your desired layout.
Changed layout of demo.html to include more buttons (route overview).
Thanks
Matt

Hi!
Thank you for your PR, I will have a detailled look at it over the weekend. :)

Hey,
first of all, this is a very cool feature! Thank you for taking the time to craft a PR.
There are a couple open questions / minor changes that I requested. After they have been fixed, I would be very happy to merge it.

I'll get to work on it. Thanks.
On Sun, 15 Oct 2017 at 17:43 Christian Bäuerlein<EMAIL_ADDRESS>wrote:

Hey,
first of all, this is a very cool feature! Thank you for taking the time
to craft a PR.
There are a couple open questions / minor changes that I requested. After
they have been fixed, I would be very happy to merge it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ffwdme/ffwdme.js/pull/35#issuecomment-336724225, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AH-jEt4BnzI4Sku1dPp2IRAD8Be6Ml5rks5ssjYogaJpZM4P21yp
.

Tweaked messy repository and removed ealing files as they shouldn't have been there.

All changes should now be done and pushed.

Thank you for your work and patience!

No problem at all, glad to help. Thanks for the package in the first place.
On Thu, 26 Oct 2017 at 07:38 Christian Bäuerlein<EMAIL_ADDRESS>wrote:

Thank you for your work and patience!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ffwdme/ffwdme.js/pull/35#issuecomment-339566508, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AH-jEuGt25vfvE36ZSzQsoMbX8Ls9JA8ks5swCjhgaJpZM4P21yp
.


Add Centrifuge

Revision checks

[x] Used smart contracts were audited.
[x] Your Safe App include a manifest.json file at the root with the required data.
[x] The app can be loaded as a custom Safe App in the Apps section of https://app.safe.global/.
[x] The app auto-connects to the Safe.
[x] You are able to trigger and execute one transaction with a Safe.
[x] RPC requests are optimized (not triggering many requests in a very short time period).

Name/Description

This is for the release of the official Centrifuge app which is a v2 to Centrifuge's original Tinlake app.
Type

New addition

Compatible Networks

Mainnet
Goerli

Audit document

Here is a link to the audits regarding Centrifuge's infrastructure: https://github.com/centrifuge/security/tree/main/audits
Code for review

A link to the apps monorepo containing the centrifuge-app subdirectory: https://github.com/centrifuge/apps/tree/main/centrifuge-app
IPFS hash/App URL

Link to the app: https://app.centrifuge.io
Team information

Project logo: https://centrifuge.io/brand
Project landing page: https://centrifuge.io
Team or discord contact<EMAIL_ADDRESS>Twitter link: https://twitter.com/centrifuge
Github link: https://github.com/centrifuge

We've recently launched the Centrifuge app and would love to get some support and announce as a follow up the support of the Safe app with the Centrifuge app.

App should be available now!

@dasanra is it possible to add Centrifuge to this list as well? https://safe.global/ecosystem?

@dasanra can you change the description from On-chain ecosystem for structured credit to On-chain ecosystem for real-world assets (RWAs) to grow treasury revenue?


Completed the durable function code

Without adding the binding the durable function instance will never be invoked. So I felt that this code should be put in place to make it absolutely clear for the developers on how to configure the orchestration client.

@dixitsuneel : Thanks for your contribution! The author, @cgillum, has been notified to review your proposed change.


TypeError: 'NoneType' object is not iterable - line 75, in parse_ip

Hello Abhinav,
I am getting below error when using the below cli
python tih.py -ip <IP_ADDRESS>
TypeError: 'NoneType' object is not iterable - line 75, in parse_ip
Also not able to connect to emerging threat rules though i have properly provided the proxy addres
How can i sort it out
Thanks

@npormambi  I just ran a search and it went fine for emergingthreats. Here is my output:

Abhinavs-MacBook-Pro:Threat-Intelligence-Hunter-master abhinavsingh$ python tih.py -ip <IP_ADDRESS>
Threat Intelligence Hunter framework Begins now
Intel test
Connecting with http://rules.emergingthreats.net/blockrules/compromised-ips.txt
Connecting with https://zeustracker.abuse.ch/blocklist.php?download=ipblocklist
Connecting with https://isc.sans.edu/ipsascii.html?limit=2000
Connecting with http://www.nothink.org/blacklist/blacklist_ssh_all.txt
Connecting with https://check.torproject.org/exit-addresses
Connecting with http://www.openbl.org/lists/base.txt
Connecting with http://www.malwaredomainlist.com/hostslist/ip.txt
Connecting with http://www.ciarmy.com/list/ci-badguys.txt
Connecting with http://doc.emergingthreats.net/pub/Main/RussianBusinessNetwork/emerging-rbn-malvertisers.txt
Connecting with http://www.okean.com/korea.txt
Connecting with http://talosintel.com/files/additional_resources/ips_blacklist/ip-filter.blf
Connecting with https://www.dragonresearchgroup.org/insight/sshpwauth.txt
Connecting with http://www.nothink.org/blacklist/blacklist_malware_dns.txt
Connecting with http://www.nothink.org/blacklist/blacklist_malware_irc.txt
Connecting with http://rules.emergingthreats.net/fwrules/emerging-Block-IPs.txt
Connecting with http://www.projecthoneypot.org/list_of_ips.php?rss=1
Connecting with http://www.nothink.org/blacklist/blacklist_malware_http.txt
Connecting with https://reputation.alienvault.com/reputation.generic
Connecting with http://doc.emergingthreats.net/pub/Main/RussianBusinessNetwork/RussianBusinessNetworkIPs.txt
Connecting with http://www.blocklist.de/lists/all.txt
Connecting with http://malc0de.com/bl/IP_Blacklist.txt
Connecting with http://www.badips.com/get/list/apache-wordpress/0?age=1000h
Connecting with https://www.dragonresearchgroup.org/insight/vncprobe.txt
Total scanned indicators 37093
Connecting to Virustotal
looking for IP <IP_ADDRESS>

Did you provide the Virustotal API key to vt.py file ?
This script also searches for your IP/domain on Virustotal which would require API key. Here is the snippet where you need to provide the key:

from lib.parse import *
#Add your public API key before starting.
api = ''
base = 'https://www.virustotal.com/vtapi/v2/'

closing the issue. Please reopen if there are still issues.


Question: Grandpa light validation reference

https://github.com/Phala-Network/phala-blockchain/blob/cb8329fe29ad4c1c9ed3a18a92ae00362f1b5a43/pruntime/enclave/src/light_validation/justification.rs#L44

https://eips.ethereum.org/EIPS/eip-665
EIP665 is still in draft and not accepted, so we might other ways to optimize the ed25519 verification.


Support for "fixup" commits

In magit I can say c f to do a fixup commit, and then choose a commit to fixup. Would love to see support for that in vscode magit as well.

Looks like it is commented out here, probably because its not set up to allow you to choose from a list of commits, right?
https://github.com/kahole/vscode-magit/blob/f6751982e8857cc05f6df48b60677846bed09485/src/commands/commitCommands.ts#L18

Thank you for your feedback :)
Magit just has so many big and small features, I've so far focused on the ones I myself use most frequently. So great to have some input.
The fixup selection view in Magit looks just like the log view, from which there already is visit-at-point functionality to explore commits.
The logging view and commands themselves needs improvements too, of course.
This might be a good place to start.


Error handling scanner

Using the partial data read by urllib to resolve IncompleteRead error.The error is generally caused by server sending the data which doesn't send the Terminating string.But this edit won't detect when the connection is really closed in between but that has a very low probability. As most of the times error would be due to server which is not following the protocol.
Reference - blog link

Made some test (since my travis tests don't mean anything) and it looks like everything is working fine.
I'll merge this, thanks for your help!

Thanks a lot man.This was my first PR.I'll always remember this.


When Index Level is 0 (green below) the first branch move are not coloured (red below)

Now, with Index Level is 0 none of the moves on the first branch are coloured (before the main was coloured and alternatives not)


What permissions are needed for the personal access token?

What permissions are needed for the personal access token?

This would be great to provide.

Actually if you run it on a taken without any permissions you get this error message
 - Your token has not been granted the required scopes to execute this query. The 'id' field requires one of the following scopes: ['public_repo'], but your token has only been granted the: [''] scopes. Please modify your token's scopes at: ```

@LyDawei @m-standfuss:
I've tested it with the following permissions:

If you require tighter control, you could try and uncheck one by one and see where it breaks? Thanks!


No vk account

No Vk account
Feature Description
On the previous version there was a Vk account
Motivation and Context

I used it
More users will use your new app
Some users including me won't delete this app

Mockups, Screenshots (if available):

This repository is only for the Franz client. Please use this form for service requests or check out the guide to create your own service integration.


Default relays not working

Today all default relays are not working in the app. Using a web client the relays work fine.
Tried latest version and the version from the play store

Which app version are you using?

tried on 0.11.5 and 0.12.0

Yep, all relays are super busy these days. :(

Yeah. It loaded my relays now.
Could you fix the relay list when there's a lot of relays when you have time?

We can't just keep adding relays. The more we add the more connections the app has to handle and the more we add as default, the more we break them. We will need to find a different solution. Users must choose which relay they prefer.

Did you have a look at the Gossip-client, it dynamically assigns Relays depending on the followed persons.

Yep, but this is even earlier. I might need to add a relay option on login to download the rest of your relay list.


About the FPS (RFB and SSD)

In the paper, SSD has larger FPS than RFB.
However, RFB has larger FPS than SSD in this repository.
Why are these different?

@hokuto-HIRANO The FPS of SSD in this repository is just referred from the original SSD paper. But in the paper, we re-implement the SSD with pytorch for fair comparison.

Thank you! I understood.


[sim] create subdir 'simple', avoid making a local copy of 'sw' and 'sim'

Currently, when executing riscv_arch_test, a local copy of 'rtl', 'sw' and 'sim' is done. However, only a few RTL sources need to be modified, so copying 'sw' and 'sim' is redundant. In this PR, run/build scripts are modfied for copying 'rtl' only, and using 'sw' and 'sim' from the root of the repo.

Great idea! :+1:

I just adapted the new "sim" target of the application makefile. Maybe we could add another target for running the vunit-based simulation :thinking: (-> another PR/issue).

I just adapted the new "sim" target of the application makefile.

Thanks! I was not aware of that!

Maybe we could add another target for running the vunit-based simulation 🤔 (-> another PR/issue).

Let's merge this as-is, and handle that in an upcoming PR. As a matter of fact, the VUnit run script is currently processing all the sources in subdir sim (https://github.com/stnolting/neorv32/blob/master/sim/run.py#L23). That means that the "simple" sources are analysed by VUnit (considered part of the project), despite them not being used/executed because the simple testbench is not a "valid" VUnit test.
Therefore, one of the purposes of this PR is to "fix" that. It's not problematic per se, but I believe it's cleaner if the simple sources are ignored by VUnit. A secondary purpose is to completely avoid copying sources for running the architecture tests. This PR is a first step, but I have another branch waiting, which is a subset of #101 indeed. So, let's merge this and discuss that after I rebase.


Use correct helm repo for secret-store-csi-driver

Issue #, if available:
Description of changes:
The repo URL used is not a valid chart repository, causing the following error:

Error: looks like "https://raw.githubusercontent.com/kubernetes-sigs/secrets-store-csi-driver/main/charts" is not a valid chart repository or cannot be reached: failed to fetch https://raw.githubusercontent.com/kubernetes-sigs/secrets-store-csi-driver/main/charts/index.yaml : 404 Not Found

I've updated the repo URL to the one given by the upstream projects documentation on installing via Helm:
https://secrets-store-csi-driver.sigs.k8s.io/getting-started/installation.html#deployment-using-helm
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/do-e2e-tests

/do-e2e-tests


Option to block on reload

Currently when reloading swamp it doesn't block , this can problematic for Continues deployment scenarios.
Options:

Provide a flag to block on reload until all process started
Provide an http endpoint to query for status

Currently only partly implemented, I'll close this issue and open a focused one


Update sbt-scalafix, scalafix-core, ... to 0.9.16

Updates

ch.epfl.scala:sbt-scalafix
ch.epfl.scala:scalafix-core
ch.epfl.scala:scalafix-testkit

from 0.9.15 to 0.9.16.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.epfl.scala" } ]

labels: library-update, semver-patch

The linting issue caused the CI build failure has been fixed. Merging it.


Can't run simple trace command

On a fresh pip install with imate, I'm unable to run any methods involving the SLQ method:
from imate import toeplitz, trace, schatten
A = toeplitz(2, 1, size=100, gram=True)
trace(A, gram=False, p=2.5, method='slq')
# Segmentation fault: 11

Putting that script in its own python file and running valgrind yields:
PYTHONMALLOC=malloc valgrind --tool=memcheck --leak-check=full python examples/valgrind_trace.py
# valgrind: mmap-FIXED(0x0, 602112) failed in UME (load_segment1) with error 12 (Cannot allocate memory).

I'll try a source build this afternoon

Python version: 3.9.12
Compiled with: Clang 12.0.0
System: Darwin
Node Name: MacBook-Pro-8.local
Release: 19.6.0
Version: Darwin Kernel Version 19.6.0: Tue Oct 12 18:34:05 PDT 2021; root:xnu-6153.141.43~1/RELEASE_X86_64
Machine: x86_64
Processor: i386

Thank you for bringing this issue to our attention. I've made attempts to reproduce it on various machines and Python versions, but so far, I haven't been able to encounter the problem.
Could you please update the package to the most recent version, 0.20.0, and retest to see if the issue still persists? If it does, it would be immensely helpful if you could provide a more detailed backtrace of the segfault.
Furthermore, it would be useful to determine whether the issue arises exclusively with the pip installation or if it also occurs when using conda to install the package.

I've managed to replicate the segfault issue you reported. It appears that this problem specifically affects macOS users when the package is installed via conda and if MKL is present through other packages in your Python environment.
To resolve the segfault problem, you can disable MKL:
conda install nomkl
conda remove mkl mkl-service

Ahh, I can confirm the SLQ method now works! Thanks again!


Create models and associations

In this pull request:

Created 4 user models as presented in the sample ERD provided.
Add customer methods to User models as given in the project specification.
Add current User data to all controllers.

It was a review from a previous week so hasn't been "approved" I guess.......

Hi @Beardless-sheik,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that has already been approved.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready pray
Cheers and Happy coding!clapclapclap
Feel free to leave any questions or comments in the PR thread if something is not 100% clear. Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.
Invalid Code Review Request does not count into the code reviews limit.

@dasileker thanks


APIC Implementation and Interrupts

So i was going through your code base and saw that you implemented the timer interrupt, In this case once interrupts are enabled and timer interrupt is registered it seems to work as expected.

Do you have any idea on how to approach the keyboard interrupt handler here? Also any reason you're not using the x2apic crate?

I'm sorry, but I didn't know how to use it at the time. So I just use so many unsafe impl like osdev - apic
In fact, I'm trying to change it completely.

Hi, bro!
I was busy with my studies before, and now I'm on vacation.
I change to use x2apic, and add keyboard support with io-apic successfully.
By the way, I change the font.
Hope it helps！


Make it clear that the password field does not refer to the proxy config

Fixes https://issues.redhat.com/browse/AAH-285
Before:

After:

@sbuenafe-rh WDYT? Is it enough to show password is not related to proxy url?

(Triggering GH actions to see if tests work..)

@rochacbruno WDYT? Is it ok or more visual separation of user/password and proxy url is needed?

@himdel A problem I was solving is that ExpandableSection overwrites Form CSS and inputs get too close together and confuse an user. Adding a div  with correct class seemed like elegant fix to have it consistent again.

OK, if the idea is just to fix spacing in the expanded section, LGTM :+1:


Stopped working for me recently

can you attach the workflow run in here? It works for me though.

Same issue on Windows runner: https://github.com/messense/py-dissimilar/actions/runs/3811161195/jobs/6483672970

Should be fixed now.


[Optimization] Model Quantization!

The project is so cool. Using TensorRT or OpenVINO to optimize the model to a lower precision could increase the performance of the edge inference. BTW is the project accepting any pull requests?

The project is so cool. Using TensorRT or OpenVINO to optimize the model to a lower precision could increase the performance of the edge inference. BTW is the project accepting any pull requests?

Thank you for the suggestion! I appreciate it. Just to let you know, this project is actually a final project for my AI course at college. I must admit that I don't have much knowledge about the specific technologies you mentioned, such as TensorRT and OpenVINO. However, I am open to accepting pull requests from contributors who are experienced in those areas. 😁


Make Package Compatible with Dart 3

Per Flutter / Dart Publications make this compatible with Dart 3. It claims there is an analysis issue.

Fixed analysis of solution. Closing out.


Disable ExtractTextPlugin for preprocessors when Hot Module Reloading

This allows webpack dev server to appropriately inject css updates. Currently css refreshing outside of your js bundle does not work properly with Hot Module Reloading.

I think this will break projects for people who expect that file to be created.
My instinct is to just push mix.browsersync() instead, since it can be used in more places.

Would it be acceptable if I made an MR that created a separate option to disable ExtractTextPlugin on demand? I tested HMR with browserSync and the two do not work together for reloading css and JS. Creating one more hoop to jump through in order to disable the plugin would keep people who don't understand the consequences from being confused.


Content Update

👷 Deploy Preview for rattandeep processing.

Name
Link

🔨 Latest commit
4b96c249d288b2eb1a79458335be420f042a3307

🔍 Latest deploy log
https://app.netlify.com/sites/rattandeep/deploys/64c6bdb5dbbf9d0008c8c0cc