two replicas on the same node

I have a three node k3s cluster. If I reboot any of the them the longhorn replicas are rebuild on the remaining nodes. Which means that one of the node has two replicas of the same volume while the other has only one replica. Once the third node is online again the replica of the third node is displayed in a stopped stayed. Which means I have 4 replicas.
I think this behavior could be optimized:

do not create two replicas of the same volume in the same node
keep the volume in a degraded state until the third node comes up again
automatically resume replication once the third node is online again

The current behavior could also lead to full disks if you just reboot machine often enough.

@runningman84 The first two behavior can be achieved by disabling soft anti-affinity setting. Though we're not reusing the replicas at this moment.

Ok I will try the soft anti affinity option.
Please add an option for auto recovery which could be disabled by default.

@runningman84 Which "auto recovery" you're talking about?

@runningman84 Which "auto recovery" you're talking about?

automatically resume replication once the third node is online again

@runningman84 If you disable the soft anti-affinity, then the replication will only perform on the different nodes. So it will resume replication when the third back online. It will not reuse the old replica on the node at the moment.

In this case we need auto cleanup feature. Otherwise the disk will fill up if you reboot too many times....

@runningman84 yeah Longhorn will cleanup faulted replica automatically after staleReplicaTimeout which is 48 hours (2880 minutes) .


Bad visibility in konsole

Hello!
I'm using Solarized dark in Konsole. My zsh autosuggestions are invisible because they are the same color as the background. They are perfectly visible in the light theme.

Hi, thank you for reporting this issue!
I just looked into both color schemes and the funny thing is that they use their respective background color in exactly the same way, i.e. the same variables are set to the background color (look for "253,246,227" in the light version and "0,43,54" in the dark version).
If you want to find out which variable affects the color of your autosuggestion, you could try to progressively set the different variables that currently have the value "0,43,54" to something such as "255,0,0" (red) until your autosuggestion color changes to red. Once found, let me know which variable is responsible and we can look into changing the color, if it doesn't affect too much of the rest of the UI.
That said, I'm not sure if my theme or your ZSH prompt is responsible for the visibility problems. Can you revert to the default Breeze colorscheme and check if your autosuggestions are visible there?

Oh my bad, upon closer inspection it appears that Konsole colors are not supplied by this theme. So my issue is related to the color scheme that comes preinstalled with Konsole. Thank you for your quick response.


Unable to download.

Error: Bad return status: 400

Tried a different country via VPN (other than UK) but unable to download. Any advice?

I can't reproduce this. Try a different region or a different VPN.


add semantic-release and automate dependency updates

https://github.com/semantic-release/apm-config
with this we could mirror what our other JS tools are doing, already where this seems to work fairly well.
DenverCoder9
the advantage being that a security update that passes the ci, would create an automatic release, without taking time out of our schedules.
@wolfgangmm didn't mean to assign the work to you, just need your green light and i can prepare a PR.

:tada: This issue has been resolved in version 0.13.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Atom type not found in the oplsaa.lt

Thank you very much for the great work! I am trying to build an lt file for the Sodium dodecyl sulfate (SDS) molecule. When I checked the lt file, there is no atom type that corresponds to the elements (C, O, S) in the charged head group of SDS system. After a deep online search, I found some useful papers (see link below) with relevant information about its LJ parameters (and others). Is it possible for you to help add them to the oplsaa.lt or guide me on how to go about it? Thanks.
https://pubs.acs.org/doi/10.1021/acs.jctc.7b00181
https://pubs.acs.org/doi/full/10.1021/acs.jctc.9b00947

Update: I read a paper (ref: https://pubs.acs.org/doi/full/10.1021/jp963460g) and got the inspiration to model the -CH2-O-SO3 as to -CH2-O-PO3 (available in oplsaa.lt). In the existing oplsaa.lt, I am able to find the needed atom types and my plan is to create a new atom type for the S (in -CH2-O-SO3). Will it make sense to create a separate lt file or just edit the main oplsaa.lt file?

Hi Enthusiastic!
There are several ways to do this:

Directly modify the original "oplsaa.lt" file, adding lines to the "In Settings", "Data Bonds By Type", "Data Angles By Type", "Data Dihedrals By Type", and "Data Impropers By Type" (if necessary) to define the S atom's mass and Lennard-Jones parameters, and include bonded interactions between the C, O, S atoms.  If you put the new "oplsaa.lt" file in the directory with your other LT files, then moltemplate.sh should preferentially read your local custom version of "oplsaa.lt" instead.  (Let me know if that does not happen.)
If you eventually want to share your modified file with others, it might be cleaner to try something similar to what I did with the LOPLS force field file loplsaa.lt, which extends the OPLSAA force field with additional atom types.  Whenever users want to include these extra atom types, they import "loplsaa.lt" (instead of "oplsaa.lt"), but the still use "inherits OPLSAA" (not "inherits LOPLS") at the top of their molecule (or molecular subunit) definition.  For an more detailed usage example, see here and here.
If you only want to do this for a specific molecule (and not modify the force field), you can simply add custom "Data Bonds", "Data Angles", "Data Dihedrals", and "Data Impropers sections (if applicable) to define the bonds, angles, dihedrals, and impropers involving the S, O, C. atoms.  (You will still need to add an entry to the "Data Masses" section, and "In Settings" section to define the properties of the S atom.)  The custom bond, angles, dihedrals, and impropers will override whatever interactions these atoms would otherwise participate in due to the force-field ("oplsaa.lt" file).  There's an example of a water molecule with explicitly defined bonds an angles here.  In that example, all of the bonds and angles were explicitly listed.  But you can just list some of them (the ones involving the S atom), and let the force-field ("oplsaa.lt") handle the rest.
Hope this helps.
-Andrew

Thanks for the detailed explanation. I will try out your suggestions.


Add support for scrollbars and/or Maya edit widget

Add support for scrollbars, to be able to tweak values
or better yet
Add support for "Maya edit widget", which lets users either enter a value, have +- buttons for current value, or can manipulate current value by mouse-drag

Duplicate of #16 :D


Add completion for Requires statements

PR Summary
This adds completion for the various parameters and their values for #requires statements.
For example: #requires -PSEdition Core -RunAsAdministrator
The following parameters are supported:

Version
Modules
PSEdition
RunAsAdministrator

The following parameters are not supported because they have been deprecated or don't work:

PSSnapin
ShellId
Assembly

Most of the help text has been taken from the official docs but I took some creative liberties for the PSEditions text.
I'm not sure how strict the completion should be.
Currently it will prevent some basic mistakes like adding parameters after RunAsAdministrator but there's no special checks for randomly inserted characters so if for example you type: #requires blabla -<Tab> it will still complete to the next parameter.

PR Context
The easier the requires statements are to use, the more likely it is that people will use them. The Modules parameter in particular is hard to use without looking up the documentation due to the hashtable keys you have to remember when specifying a version.

PR Checklist

[X] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[X] Summarized changes
[X] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[X] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[X] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[X] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[X] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[X] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

Please convert out of draft, change the title and ping me when this PR is ready for review

Please convert out of draft, change the title and ping me when this PR is ready for review

@rjmholt ping pong, this PR is now ready for review.

@rjmholt ping pong, this PR is now ready for review.

I was writing a review of this, but realised it would be easier (given editor assistance) to open a PR on your branch.
I've done the following things:

Moved the requires completions into their own method, subordinate to the if block
Changed some style bits, like where && and || are hung in an expression and how var is used
Tried to eliminate as many allocations as I can without going crazy on the readability
Moved some more declarative data into readonly statics
Changed one or two of the approaches to the actual completion itself, particularly with module spec keys

One thing this PR needs though is more tests; there should essentially be a test to cover each block in the logic

Thanks for the great feedback, this is a good learning experience.
I've added more tests and made some minor changes so I hope it's good now.

@MartinGC94 this is great work! Thanks so much for your contribution. Hopefully in the PR I submitted to your branch you were able to read it commit by commit to get a sense of the particular changes?

The static analysis is for existing code


Feature Request: Set ratings for invited users

Provide setting when configuring a share link for the maximum/minimum ratings available to a new user under that share link rather than to the entire library being shared.
Use case: sharing with relatives who have small children but are not aware of how to change content settings.

I would find this useful as well.


U — [HTTP] CSP, Fx 75 tasks

Trello

Acceptance criteria

[x] child-src is no longer deprecated, remove warning?

[ ] CSP: Hide nonce values from the DOM

child-src is no longer deprecated, remove warning?

This was dealt with in https://github.com/mdn/sprints/issues/998

For "CSP: Hide nonce values from the DOM", I've also mentioned this in the add-on section, see https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/75#Changes_for_add-on_developers per the discussion here: https://bugzilla.mozilla.org/show_bug.cgi?id=1374612#c24
Heads up to @rebloor: this thing affects add-on developers.

Thanks @Elchi3 aside from the release notes, any thoughts on documentation requirements. I've done a search and we don't mention nonce explicitly in the web extension content.

@rebloor I think this has an impact when people try to deal with content scripts and their CSP, see https://bugzilla.mozilla.org/show_bug.cgi?id=1374612#c21. I think the heads up in the release notes might be enough, though. If you publish release notes elsewhere for WebExtensions, you might want to mention this, too.

This is all done now. (The BCD update for the CSP nonce change will land later this week)


obi rsync wants to sync previously fetched items

Maybe this is a bug in the templates, but:
When I run obi fetch <room> some_file.txt, it creates a directory named fetched.TIMESTAMP in my working directory (or maybe in the project directory?), and puts copies of those files in those directories.
The next time I run obi build <room> or obi go <room>, those files get schlepped back up to every machine in those fetched dirs. I would venture to say this is never something a typical user would want to happen.

Adding fetched.* to the list of rsync excludes in project.yaml fixes this for me. My inclination is to add it to our templates and leave obi's code unchanged.

I added fetched.* to all our templates.


Block-specific arguments for db-analyser and db-validator

The ProtocolInfo for Byron, Shelley, and Cardano hard-code some parameters:
    protocolInfoShelley
      genesis
      NeutralNonce -- TODO -- <-
      2000
      (SL.ProtVer 0 0) -- <-
      Nothing

In particular: (Just $ PBftSignatureThreshold 0.22) for Byron, which is different from the value used on mainnet_candidate (0.9), making it impossible to use these tools for mainnet_candidate or any other nets that use different parameters than mainnet.
We already have two Byron-specific arguments:
  , requiresNetworkMagic :: w ::: Bool            <?> "Expecto patronum?"
  , genesisHash          :: w ::: Hash CB.Raw     <?> "Expected genesis hash"

We shouldn't keep adding all arguments in one place, we should start making such arguments specific to the block type. We can use optparse-applicative commands for this.
Additionally: there is quite a bit of code duplicated between the two, e.g., the protocolMagicId business, BlockType, the parser for block-specific configuration arguments, etc. Common parts should become library code shared between the two executables.

Maybe related to the hard-coded params, I sometimes get errors like
TraceInitChainSelEvent (InitChainSelValidation (InvalidBlock (ExtValidationErrorHeader (HeaderProtocolError
(HardForkValidationErrFromEra S (Z (WrapValidationErr {unwrapValidationErr = ChainTransitionError [OverlayFailure (VRFKeyBadNonce (Nonce "81e47a19e6b29b0a65b9591762ce5143ed30d0261e5d24a3201752506b20f15c") (SlotNo {unSlotNo
= 4492800}) (Nonce "81e47a19e6b29b0a65b9591762ce5143ed30d0261e5d24a3201752506b20f15c") (CertifiedVRF
{certifiedOutput = OutputVRF {getOutputVRFBytes =
"6\236Sx\209\245\EOT\SUBY\235\141\150\230\GS\233o\tP\251A\180\159\245\DC1\247\188\DEL\209\t\212\&8>\GS$\190p4\23
0t\156f\DC2p\r\213\206\176\198ew\184\138\EM\174(k\DC3!\209[\206\SUB\183\&6"}, certifiedProof = CertPraosVRF
"@Z\163p\255\NUL\149D\162\190J\165\188R\196Ec3\244\249\182W\GSf\197Y\r.V)\208\139:6\t\244\189\ENQ\STX\237]\v\225\1
71\219\DEL*\183j\174\174G\254\DC1\ESC\ETX5\164\228\222\246F\147\SYN'\148\184\211\193\202qP\SI\SYN\177\226DrL\ETX
"}))]}))))) (RealPoint (SlotNo {unSlotNo = 4492800})
aa83acbf5904c0edfe4d79b3689d3d00fcfc553cf360fd2229b98d464c28e9de)))

TraceInitChainSelEvent (InitChainSelValidation (ValidCandidate (AnchoredFragment {anchor = Anchor (SlotNo {unSlotNo =
4492799}) f8084c61b6a238acec985b59310b6ecec49c0ab8352249afd7268da5cff2a457 (BlockNo {unBlockNo = 4490510}),
unanchorFragment = ChainFragment (SFT (fromList []))})))

when I validate post hard-fork.

That error is exactly because that NeutralNonce should be replaced with a nonce based on the hash of the Shelley genesis file (i.e. https://github.com/input-output-hk/cardano-node/blob/46ec7473cc7ecf1f9fc6ee5e87f592371dd3dadd/cardano-node/src/Cardano/Node/Protocol/Cardano.hs#L169), which should be one of the Shelley/Cardano-specific arguments.


DNS because of musl/Alpine base?

I guess the image is infected by the musl/Alpine issue: https://gitlab.alpinelinux.org/alpine/tsc/-/issues/43
See: https://www.reddit.com/r/kubernetes/comments/11kb8wy/why_i_will_never_use_alpine_linux_ever_again/

it would be great if Alpine would fix this, but in the meantime you can use one of these images: https://github.com/lightrun-platform/koolkits

Doesn't seem to be, from reviewing it, servicing the same network debugging type toolkit?

@guettli looks like it's been fixed in musl 1.2.4 but waiting on alpine to pick that version of musl. I'll upgrade the base image when that happens.
https://gitlab.alpinelinux.org/alpine/tsc/-/issues/43#note_295619

Fixed with v 0.11 / latest netshoot that's based on alpine 3.18 (https://gitlab.alpinelinux.org/alpine/tsc/-/issues/43#note_306270)


Germany marriage abroad

https://trello.com/c/14Va6yhg/1230-getting-married-abroad-germany-same-sex
Updated the 9 same sex outcomes to reflect same sex marriage coming into law.

Closing PR - going to raise a new one


AuthP working with Azure App Configuration

We are using AuthP v6.2. We are going to deploy our service as Azure App service along with Azure App Configuration.
While using Azure App Configuration there is feature of prefixing settings so that same Azure App Configuration instance can be used by different components.
I have created the prefix "WebApi". With this my ConnectionStrings section is no more accessible by the same name. With prefix it has to be accessed by WebApi:ConnectionStrings.
SetupMultiTenantSharding method in AuthPermissions.AspNetCore.SetupExtensions is trying to get the section by ConnectionStrings name and failing.

setupData.Services.Configure(setupData.Options.Configuration.GetSection("ConnectionStrings"));

If I may suggest, I would suggest either of following two options:

Allow user of this library to get the section and configure as part of AuthP setup. Dev could directly bind to custom section or do it in IOption pattern way.
Allow user to specify the custom name if any as part of SetupMultiTenantSharding call. If none is provided then ConnectionStrings can be fallback option.

Hi @pradeepgururani,
Your option 2 is possible because you can create a custom method to replace the normal SetupMultiTenantSharding setup. This allows you add add / change the code to the multi-tenant setup code. This was added in version 5 to allow you use different database types - see this section from the 'Setup a custom database, which has a link to an example SetupMultiTenantShardingCustomDb custom method.


Ripout state

Replaces #61

@seibert , you may find this interesting. Single file and multi-file cats now actual data-source plugins with type "catalog".

So, states are gone, plugins are gone and containers are gone. This would require bumping versions on all existing plugins.

Relented... those methods should never be directly called, all containers should override them.
Also added a nested test :)

@seibert , remind me: if I merge this, it will build a  package, and only tagging will result in a  package, correct?

(the documentation will need updating before release, especially the "how to make a plugin", because we no longer need Plugin; also all existing plugins would need to be changed and released very shortly after intake, and depending on the new version)

This repo uploads every merge to master with a build number that increments for each commit since the most recent tag (basically git describe).  That is useful for testing, but we should be uploading them with a dev label.

What would it take to get the dev/main label behaviour? I am not ready to start a release process!

I think it would require changing the anaconda upload line to set the label (and probably copying the bash if statement from one of the plugins to branch for tagged and untagged commits).


chore(deps): update terraform github.com/terraform-ibm-modules/terraform-ibm-observability-instances to v2.12.0

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/terraform-ibm-observability-instances
module
minor
v2.11.1 -> v2.12.0

Release Notes

terraform-ibm-modules/terraform-ibm-observability-instances (github.com/terraform-ibm-modules/terraform-ibm-observability-instances)
v2.12.0
Compare Source
Features

removed support for graduated-tier-sysdig-secure-plus-monitor since this is now deprecated. For more info see https://cloud.ibm.com/docs/monitoring?topic=monitoring-faq#faq_5 (#467) (62fe183), closes monitoring-faq#faq_5

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

:tada: This PR is included in version 1.22.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


How to update readium to new released version 0.24

What should i do in order to get the latest released 0.24 version of readium-js-viewer?

https://github.com/readium/readium-js-viewer/releases/tag/0.24.0


[Type checker] Use proper lookup type in substitutions for #keyPath.

Resolves rdar://problem/28061409.
(cherry picked from commit d225a2177d7efd6ff4ceff7b30eb49d9de279ec6)

@swift-ci please test

@rudkx please review

@DougGregor LGTM, thanks for taking this!


How to disable download button according to the condition in grid

As the title say, i want to disable download button according to the condition
eg. if the "状态" value is "停止使用", then disable the download button of "程序"

Write a custom formatter


Bn browserify instructions

Added "drive" method to CarFactory
grammatical correction "it's" to "its"
changed "garageSupervisor" to "GarageManager" to reflect the code snippet
spelling correction "your" to "you"
spelling correction "parctice" to "practice"
additional instruction to place "bgshell:launchAPI" before the "watch" task
removal of rogue underscore before "these links..."

👍


New version release

Hi folks,
I see significant amount of changes in the master which are not released yet.
Is there any plan to release them?

Yes. We may cut a release this week.

Awesome, thanks.


Backwards compatibility functions don't work like they used to

This code breaks:
import { loadUserData } from 'blockstack';

loadUserData();

Because the code references this.UserSession(), and that only works if you do import * as blockstack. Why do we need to do this.UserSession(), can't we just do new UserSession()?

This issue also affects the ability to pass around backwards compatibility functions for the same reason.
/* This no longer works */
let loadData = blockstack.loadUserData;
loadData();

/* Instead you need to bind the function */
let loadData = blockstack.loadUserData.bind(blockstack);
loadData();

The above example is trivial but I ran into this issue when integrating blockstack.js with redux-sagas. Note the required bind call in the code below:
export function* handlePendingSignIn(blockstack) {
  try {
    const user = yield call(blockstack.handlePendingSignIn.bind(blockstack));
    yield put(actions.setUserProfile(user))
  } catch (e) {
    yield put(actions.userSignInFailed())
  }
}

Should this be marked as fixed now since the necessary code change is in develop?

@freethejazz should be. Wanna test it? Otherwise, I'll do a run of animal kingdom

Closing since the fixes have been merged and should be in next release.


hot swap

First of all thanks for the plugin!
Question: I'm working on a maven application, is it possible to hot swap code on my tomcat? I have standard setup, no special configs or customizations. I know some people suggest http://hotswapagent.org/ but I was wondering if I can get the same result using the plugin.
Thanks,
Marco

@mcelotti only support add/remove/update code in method.  not support add new class or change method name or add/remove method parameters.

It works! Thank you @zengkid.
Here's what I did: http://hotswapagent.org/mydoc_setup_intellij_idea.html
My VM options (I'm using macOS):
-XXaltjvm=dcevm -javaagent:/Users/xxx/Library/ApplicationSupport/JetBrains/IdeaIC2020.2/plugins/hotswap-agent-intellij-plugin/lib/agent/hotswap-agent-1.4.1.jar
Thanks,
Marco


Add optional Atom file type icons

More details #54

Atom file type icons won't be added as is, because the new default icons will be pretty similar to those ones (imo in some cases they will be better, in other cases they will be the same).


Include Project with MVP

Include the Project containing the basic features, without unit tests covered.
The deliverable will be released as v0.1.0.

-merged-


Finetuned models

Do you plan to release models after finetuning?
If yes, could you provide download link?
If you're unwilling to share, could you at least specify how long does it take to train on machine with 4 P40 GPUs?

Do you plan to release models after finetuning?
If yes, could you provide download link?
If you're unwilling to share, could you at least specify how long does it take to train on machine with 4 P40 GPUs?

Sorry, we don't plan to release fine-tuned models. The number is reported by following this repo. It takes about 12 hours for ruby and javascript and 24 hours for other languages.


update BYO kafka and postgres document

Overall it looks good to me!
Since you have pulled this PR, I think the PR should be closed now.
/cc @hchenxa @ldpliu I will keep this PR on tomorrow at 12:00 AM. If you haven't other comment, I will merge it.

/lgtm


worker: make run as a default method

Signed-off-by: Neil Shen<EMAIL_ADDRESS>What have you changed? (mandatory)
This PR makes Runable::run as a default method, so users does need to impl unnecessary run.
What are the type of the changes? (mandatory)

Improvement (non-breaking change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)
Unit tests.
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
No.
Does this PR affect tidb-ansible update? (mandatory)
No.
Refer to a related PR or issue link (optional)
https://github.com/tikv/tikv/pull/3551#discussion_r216543627

/run-all-tests

/run-unit-test

The endpoint worker :) @breeswish
https://github.com/tikv/tikv/pull/3593/files#diff-49763d722eeb4620a599e6bddecf8f56L608

PTAL, thanks

/run-all-tests


theme.required type should be string and not bool

Already fixed, I saw the other PR first :( Thanks anyway!!


Remove sysctl binary dependency

What this PR does / why we need it:
Since it is so easy to not  use sysctl and every dependency which we don't have is a good dependency, replacing our single sysctl binary call with a golang version.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

/cc @AlonaKaplan

/retest


PF2e Console Warning

Seeing the following warning message in console with the latest version of PF2e v5.12.6 when accessing the Prototype Token settings.

The warning appears due to some settings being unset (all the empty inputs). Rideable will use default values for all these settings. The warnings can be ignored (or at least i never encountered a problem with them).


[kucoin] Bugfix #2457 keep orderId for user trades

Sorry, this PR contained also my proposed pull request from yesterday, will open a new clean one.


Fixed broken dependencies

Dependencies sind aktualisiert, dass sich sipa builden und ausführen lässt, allerdings laufen die Tests nicht, da der Testrunner nicht mit der neuen Flask Version kompatibel ist.

Hey, thanks for the updates! Hope it's okay if I continue in English.
Thanks for your contribution! Dear god, that setup is old… flask-script received its last update in 2017, and we don't even need the
Most of the complexity in the setup which breaks now isn't really needed. I think I can safely tear it down.
To give some context:
Historically, sipa was a unified frontend for separate data backends (Wundtstraße, Hochschulstraße, Zeunerstraße, to name a few) – and thus we needed to set up a lot of fake backends, like a postgresql database, an LDAP, a mysql database, etc.pp.
Furthermore, we historically used unittest, but many of us switched to nosetests, and we supported both test runners ever since. That's completely unnecessary nowadays and we want to use pytest anyway due to its simplicity.
For the first reason, we created a flask_script wrapper CLI to essentially just wait for all the backends (database servers) to be ready before starting the test.
In the present, we just have one HTTP API, (which we haven't written any tests for, appearently).
But we won't need something as complicated like a separate docker container.
tl;dr: essentially, #431. I'll fix what's necessary for this PR to pass through.

Please use a compatible release clause here:

I used specific version matching because this is the latest release which doesn't break the code base.
Newer releases removed the safe_str_cmp method, which is used in sipa. I think an update of Werkzeug to the latest version available should be an issue of its own.

@redfave: To finish this PR off, could you git pull --rebase, and
* [ ]  take a look at the other outdated packages and

* [ ]  maybe even upgrade to python 3.10 ([Upgrade to Python3.10 #437](https://github.com/agdsn/sipa/issues/437))?

I would like to help, but I'm not an active member (yet) and saw the sipa code base yesterday at the code evening for the first time.
As I don't know the architecture of the application and have only rudimentary python skills, I think the risk of getting stuck at some point is too high also because I can't reach out to you guys directly as I'm not an active member.
I could offer to code together on Sunday evening either online or in person if you like.
Kind regards

I could offer to code together on Sunday evening either online or in person if you like.

Unfortunately I was busy upgrading the postgres cluster today. We'll find another date (C:

@redfave sorry for merging this so late, but the failing loginmanager tests were quite tricky :-)


[git] Update logo

Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/main/CONTRIBUTING.md.
[x] I am not the sole author or employee of a company who created either the topic I am modifying/adding or the collection entry I am modifying/adding.

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[x] Image (and my file is *.png, square, dimensions 288x288, size <= 75 kB)

This updates the logo to use the orange logomark alternative, removing the supporting text and the clashing white background.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Contributing
Hi there! We're excited you have ideas to improve topics and collections. You're helping the community discover valuable information.
This project adheres to the Contributor Covenant Code of Conduct. By participating, you are expected to uphold this code.
There are a few ways you can contribute:

Improving an existing topic or collection
Curating a new topic or collection

As you write content, check out the Style Guide to learn what each field means, and how it should be formatted. Following the style guide will increase the chances of your contribution being accepted.
Notes:

Updates won't immediately appear once we've merged your PR. We pull in these changes regularly to GitHub.
Please limit your pull request to the creation/updating of one topic or collection at a time.

Improving an existing topic or collection
If a topic or collection already exists, it will be listed in its respective directory:

topics/
collections/

The topic or collection name should match its URL, e.g. https://github.com/topics/rails corresponds to the topics/rails directory.
To make an improvement, please open a pull request with your proposed changes.
Update the image
To update the image, simply replace the image inside the directory for the topic or collection.
Update text and links
To update text and links, edit the index.md inside the topic or collection's directory. These files are formatted using a combination of Front Matter and simple body content.
For topics, you'll notice that, in examples like the topic "algorithm," data like its canonical URL, Wikipedia URL, or display name are called out in key-value pairs, while its detailed description is accounted for in the body of the document.
/topics/algorithm/index.md:
---
aliases: algorithms
display_name: Algorithm
short_description: Algorithms are self-contained sequences that carry out a variety of tasks.
topic: algorithm
wikipedia_url: https://en.wikipedia.org/wiki/Algorithm
---
Algorithms are detailed sets of guidelines created for a computer program to complete tasks efficiently and thoroughly.

Similarly, collections like "music" call out things like their author and display name in Front Matter variables -- with a detailed description in the body of the document. Most importantly, though, collections identify their individual collection items in a YAML list for the key "items."
/collections/music/index.md:
---
items:
 - beetbox/beets
 - scottschiller/SoundManager2
 - CreateJS/SoundJS
 - musescore/MuseScore
 - tomahawk-player/tomahawk
 - cashmusic/platform
 - mopidy/mopidy
 - AudioKit/AudioKit
 - Soundnode/soundnode-app
 - gillesdemey/Cumulus
 - metabrainz/picard
 - overtone/overtone
 - samaaron/sonic-pi
display_name: Music
created_by: jonrohan
---
Drop the code bass with these musically themed repositories.

The pull request template also provides guidance on the information you need to include.
Please fill out the pull request template completely, if you do not fill out the template, your PR will be closed.
Curating a new topic or collection
If a topic or collection is not yet curated, it will NOT be listed in its respective directory.
We are likely to consider suggestions to curate a topic or collection that is valuable to GitHub's community. Valuable topics, for example, include those that are already widely used by repositories and could benefit from the addition of important information. When suggesting content, please consider how to make your contribution broadly useful and relevant to others, rather than serving a specific use case.
Please note that all suggestions must adhere to GitHub's Community Guidelines and Terms of Service. Per our Terms of Service, you are responsible for the content you contribute, and you must have the rights to use it.
To propose a new topic or collection, please open a pull request with your proposed additions. The API docs and style guide provide guidance on the information you need to include and how it should be formatted.
This repository includes a list of the most-used GitHub topics that don't yet have extra context. If your pull request adds one of these topics, please update topics-todo.md so that the topic is checked (marked complete).
Please fill out the pull request template completely. If you do not fill out the template, your pull request will be closed.
Guidelines

Avoid conflicts of interest. These should be of general community interest, not a marketing vehicle for a product or a personal project. If you are a direct employee of a company creating the project, or the creator and sole maintainer, it's unlikely to be accepted.
We love experimenting with new technologies, and we are especially fond of GitHub Copilot. But as with all new technology, many of us are still getting accustomed to using generative AI tools effectively. Here are important guidelines to follow when using generative AI to contribute to this repository (adapted from the GitHub Community Discussions CoC):

Read and revise the content before you post it. Use your own authentic voice and edit.
Do not post AI-generated content verbatim to pad out the size and number of your contributions. Your changes should materially improve the site, not just say the same thing in different words.
AI tools will often provide completely inaccurate or invented answers to prompts. Verify with an independent source that the information is correct before including it.

Running tests
There are some lint tests in place to ensure each topic is formatted in the way we expect. GitHub
Actions will run the tests automatically. If you want to run the tests yourself locally, you will
need Ruby and Bundler installed.
You can run the tests using:
bundle install
bundle exec rubocop


Update astropy-helpers to v1.1.2

This is an automated update of the astropy-helpers submodule to v1.1.2. This includes both the update of the astropy-helpers sub-module, and the ah_bootstrap.py file, if needed.
This is intended to be helpful, but if you would prefer to manage these updates yourself, or if you notice any issues with this automated update, please let @astrofrog know!

The sphinx build issue (where the build is failing due to upstream warning and not because of sphinx warnings) will be solved I think with the new astropy-helpers release, that includes the fix of https://github.com/astropy/astropy-helpers/pull/223
The other failure looks real though but unrelated to the changes here.

This failure seems to be stemming from the plotting tutorials, which use a time in 2015. That recent date triggers an IERS update, which raises a warning. I'm going to see if changing all 2015 dates to 2000 will fix this error.

@bsipocz I'm very confused and I wonder if you could help? I thought I had a possible solution in #169, which passed, but when I re-ran the travis test that is failing, it did not succeed. What's going on?

@bmorris3 - This needs to be rebased to include those changes you made in #169.

(looking at it, I can rebase #148 that also includes the helpers update).


Adding details to organizations

Hi, here's my attempt at this by using a OneToOne model field. I'd love to hear your and the community's thoughts!
https://gist.github.com/aphelionz/6f43d3b804be0799a7f0e7af17d7698f

That's certainly one way of adding this, very much akin to using a UserProfile model on a User. You could get a similar effect through multi-table inheritance, although the relationship is then implicit. Thanks for sharing this.

@bennylope link to something multi-table you're referring to?


Update fun_with_car_plate_numbers!.py

maybe we can change some of the code/phrasing!

nice try. what would be the value add?


Upgrade docs to Material Theme for MKDocs & Deploy to GitHub Pages

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Purpose/Why?

Improved documentation navigation
Improved documentation formatting
New documentation search capabilities


Distinct Id in Mixpanel is displayed as auth0_logs

Currently, when I import the logs into Mixpanel the DistinctId is shown as auth0_logs. I think it would be more useful to have the distinct_id to be the user_id. It seems like in the line below the distinct_id is set but not propagated into Mixpanel.
https://github.com/auth0/auth0-logs-to-mixpanel/blob/1f2f00b1f3b4c6fc437c4bf79e631eadb3c717af/server/lib/processLogs.js#L67

@austince thanks for moving to https://github.com/auth0-extensions/auth0-logs-to-provider/issues/7
closing issue here in favor of that one.


C bindings

In order to provide bindings to many different languages (e.g., #2253), we'll need a complete C bindings layer.
Right now, the C bindings generated by cgo are incomplete because we rely on types that cgo can't handle.
I think that we need to add some simplified API to Noms (perhaps that our current Go API is built on top of) which cgo can handle completely. Then other bindings could be written on top of that.

@rafael-atticlabs
We talked about this in the past. It would also be interesting to see how this could work with wasm/asmjs.


[libwebp] Update to 1.3.2

Updates libwebp to 1.3.2

[x]  Changes comply with the maintainer guide
[x]  SHA512s are updated for each updated download
[x]  The "supports" clause reflects platforms that may be fixed by this new version
[x]  Any fixed CI baseline entries are removed from that file.
[x]  Any patches that are no longer applied are deleted from the port's directory.
[x]  The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x]  Only one version is added to each modified port's versions file.

All features are tested successfully in the following triplet:
x86-windows
x64-windows

The usage test passed on x64-windows (header files found)：
libwebp provides CMake targets:

    find_package(WebP CONFIG REQUIRED)
    # basic usage
    target_link_libraries(main PRIVATE WebP::webp WebP::webpdecoder WebP::webpdemux)
    # for manipulating the WebP graphics format container (port feature libwebpmux)
    target_link_libraries(main PRIVATE WebP::libwebpmux)
    # for sharp RGB to YUV conversion
    target_link_libraries(main PRIVATE WebP::sharpyuv)


gateway: add access to tagged external network

All the external logical switches that connect L3 gateway to external
network assumes that the underlay is untagged. This may not be the case.
The underlay network could be tagged and therefore we need a way to
specify a VLAN ID.
This commit adds a new argument to ovnkube called --gateway-vlanid. The
default value will be 0, and therefore untagged. If the external network
is tagged, then the packets leaving the POD must be tagged as well and
one should populate this option with the right VLAN tag.
This option is valid only for Shared Gateway Interface and Spare
Gateway Interface.
Fixes #583
Signed-off-by: Girish Moodalbail<EMAIL_ADDRESS>

Looks OK to me, but could you add a testcase for one of shared/spare that sets the tag?

@dcbw I added two more unit test cases -- shared gateway interface with tagged vlan and spare gateway interface with tagged vlan. PTAL.

/lgtm


chore(migrate,cli): replace ink by prompt handlePanic

Closes https://github.com/prisma/migrate/issues/521
a panic!

submit yes

submit no

CI true

Can we now remove ink completely from the code or is there some reference left?

Still used for DevComponent that we should remove by the way

Ok, from my side just feel free to remove it there as well :)


Hi may I ask how to add comment in the template when use helmfile?

@AlexZhenWang You can use the Go template's comment syntax in it and it's {{/* a comment */}}


Abstract Cookie Class rewrite for Name/Value Sanitization.

I rewrote it for simplicity and efficiency, and I broke it out into a separate file for orgainization, and I kept it a separate class in the hopes to make a full class for handleing cookies in the future.

@thebeline - Looks cool

Thanks.  I know it is still a sep class, and that was one of my gripes, but I realized that, in the future, I would be interested in making full, fledged classes for this CookieJar, Cookie.  Might actually do it in a few days...

@zachborboa - I updated this, the pull request is not exactly accurate now (no abstract class), but the failure confuses me.  Nothing is really failing, except nginx failed in hhvm for some reason...  ??


Improve access to VR controller models

Please add an alternative path for obtaining controller models that does not depend on network access or a centralized server.
This will help for various scenarios:

offline mode with bundled output
when another issue like #3401 hits https://controllers.babylonjs.com
to use custom controller models

I imagine that it involves the following steps:

[x] include the models in code base for (I could not find them)
[x] allow to override MODEL_BASE_URL
[x] add documentation

Assets are here - https://github.com/BabylonJS/Babylon.js/tree/master/assets/meshes/controllers/microsoft .  It is true that we should state which devices are supported an fall back to default if we don't have the models.

Documentation updated - https://github.com/BabylonJS/Documentation/pull/723/files , since it is merged I am closing the issue.


GPS and vision data for pose estimation

Hi everyone,
I am using a drone equipped with PixHawk and an onboard computer. I was using LPE and now I have  switched to EKF2 as @TSC21 told me. I'd like to fuse GPS and vision data coming from an onboard vision system. My purpose is to use GPS data and, during complex maneuvers, I want to add vision data to improve the state estimation.
May I change in flight the parameter EK2_AID_MASK to implement such behaviour?
I saw that it requires a reboot vehicle.
Any suggestions?
Regarding the addition of the vision data, I find out two mavros topics:
/mavros/vision_pose/pose
/mavros/odometry/odom
I guess the first one regards absolute measurement and the second one regards vehicle's perspective, is not true ?
Thank you for your help

Hi everyone,
As suggested by @TSC21, I switched to EFK2 and I set these parameters:
EFK2_AID_MASK = 9 (vision and GPS data)
EKF2_EVP_NOISE = 0.20 m
EKF2_EV_GATE = 5 SD
EKF2_GPS_P_GATE = 5 SD
EKF2_GPS_V_NOISE = 3 m
EKF2_HGT_MODE = vision
However with these parameters, the EFK2 follows x and y GPS data and z vision data. It should always follow vision data if they are available.
But if I use only vision data( EFK2_AID_MASK = 8 ), the EKF2 works well.
Any suggestion?
Thank you very much for your time

how is the vision feed handled inside of px4 stack? as local or global position? what will happen when i send the MAVs position relative from the marker as vision?

hi @TobiMiller. What I am doing is a visual inertial odometry and I inject it into the px4 via mavros package. The vision data, basically, are taken into account in the state estimation. With relative position from markers, you can do the same.

I have always the same problems, any advice ?
Thank you

@NicoNelli @TSC21
I don't have a problem. I just want to understand the EKF exactly. The PX4 firmware sets the first GPS coordinate as reference for the local position. if i only set the vision in the mask, then there is no reference to the world coordinate system.
my question is now. what happens if i merge GPS and vision and come from outside into a room without GPS and feed vision odometry? where is my reference then? if you set target values, then they are always in the local frame.
Example:

i only start with GPS information outside
i give setpoint positions from my local frame located at my start position
I'm flying into a building and starting visual odometry and the gps signal is breaking off
does the local frame jump to my odometry frame now? because it's important to know when specifying your setpoint position

regards

I have the same doubt as @TobiMiller.
@TSC21 Any views on this ?


Calendar Api Missing

https://developers.hubspot.com/docs/methods/calendar/create-task
I'm specifically looking to create a calendar task.

Thank you so much for bringing this up! We are currently in the process of improving our API coverage before the release of 1.0.0. We would be happy to entertain a PR from you if you have the time! Either way, I'm going to add this to our 1.0.0 project now.
Thanks again!


Modify sbt output parsing to allow .sbtopts with modified output

Issue #19

Great that you looked into this!
An alternative might be to search for the last line starting with a /, because afaik sbt will only return absolute paths here.

Great that you looked into this! An alternative might be to search for the last line starting with a /, because afaik sbt will only return absolute paths here.

But probably only for non-win-platforms 🤔


[Bug/Enhancement] Vaal double strike does not count as a totem

According to the poe wiki the Vaal Double Strike clone should be a totem and in theory would benefit from both character bonuses and penalties but also anything that effected a totem.

The clone is conceptually similar to a Totem, but as far as I'm aware it isn't considered a Totem for mechanical purposes, and so totem modifiers wouldn't apply. Unless I get direct confirmation to the contrary, the program's behaviour will remain as it is.


Recommended Extensions are not updated if already open

From @sbatten
Repro

Open a repository with workspace recommendations that do not include python
Click show recommendations in the notification that appears
Create a new python file in the workspace and open it
Click show recommendations in the notification that appears

:bug: => The extension viewlet is shown but the python extension is not added to the recommendations list.

From @sbatten
I am wondering if this can be passed to force a reload even when the same query is used


Handle absence of no-args constructor for @ConsiderForDowel

Currently DowelGenerator is not considering if the class annotated with @ConsiderForDowel has a no-args constructor or not. It just assumes such a constructor exists and generates code which tries to invoke a (non-existent) no-args constructor. See here.
DowelGenerator should handle such cases gracefully and log meaningful errors.

Also, Dowel only considers the primary constructor of the classes annotated with @ConsiderForDowel annotation. This limitation is not really necessary. All Dowel cares about is being able to create an instance by calling the invoke method (i.e., () ex Provider()) without passing any parameters. It does not really matter if the corresponding  constructor  is primary or not, or wether it has default values or not.
So in light of this issue, it would also make sense to lift of this unnecessary limitation


Context not being passed to parent slot consumer

Which package(s) are affected?
Lit Core (lit / lit-html / lit-element / reactive-element), Context (@lit/context)
Description
When a child element provides a context for a parent slot this doesn't properly pass through. (see demo for better explanation)
Reproduction
Lit Playground - no proper passthrough demo
Vue Playground - expected behavior
Workaround
I have not found a workaround (besides from not having child elements providing parent slotted children context, but this is extremely limiting)
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
3.1.2
Browser/OS/Node environment
Google Chrome: 123.0.6312.106 (Official Build) (64-bit) (cohort: Stable)
Node: v20.11.1

I believe this issue affects all browsers (not tested)

PS: because you can not pass parameters into slot definitions this limitation makes it to my understanding impossible for child components to provide things to a slot which is defined by the parent.

This is caused by a timing issue related to Lit's asynchronous rendering. Lit elements render themselves in a microtask, so they can gather all the state updated in a single batch and render just one.
This means that a parent element will render its children, the children will be connected, then the children will render its children, and so on.
So what's happening here is that the render of <slotted-context-demo> produces a tree like:
<slotted-context-demo>
  #shadow-root
    <my-child-parent-wrapper>
      <my-child-consumer></my-child-consumer>
    </my-child-parent-wrapper>

Then a later microtask renders <my-child-parent-wrapper>, which introduces it's shadow root and the tree becomes this:
<slotted-context-demo>
  #shadow-root
    <my-child-parent-wrapper>
      #shadow-root
        <my-child-provider name="Sample">
          <slot><!-- <my-child-consumer> is projected here --></slot>
        </my-child-provider>
      <my-child-consumer></my-child-consumer>
    </my-child-parent-wrapper>

More rendering of <my-child-consumer> and <my-child-provider> fill out the tree, but this is the step that puts <my-child-consumer> into the "flattened" tree of <my-child-provider> so that composed events fired from <my-child-consumer> bubble up through <my-child-provider> and the context works.
What's happening with your demo is that the context event is being fired before <my-child-parent-wrapper> is rendering, when the tree has that first shape. So there's no </my-child-provider> to receive the context event.
This normally isn't an issue for elements that provide to either their shadow DOM children, because they are always created after the provider. But it can be an issue when providing to light-DOM children. Either in this slotted case, or without slots if the child is upgraded before the parent so that the parent doesn't have a chance to set up it's context event listeners yet.
To address this issue we've added a helper called ContextRoot (https://lit.dev/docs/data/context/#contextroot) that can catch and re-fire context events if a new provider appears in the tree. You can add the ContextRoot to the root of the document or any element, like your demo element. Then your consumers need to subscribe to the context so that they can get new values.
export class SlottedContextDemo extends LitElement {
  constructor() {
    super();
    const contextRoot = new ContextRoot();
    contextRoot.attach(this);
  }

See the updated demo: https://lit.dev/playground/#gist=faeb76db567f94b8dfcf40d34e3e42bc

This is caused by a timing issue related to Lit's asynchron...

Thank you for the quick and detailed explanation, I now understand why this happens and how it can be resolved.
However I do feel like something like this should be more explained on the lit site docs (exactly like how you wrote it here) to prevent future confusions like this one.

Thanks for raising this. I agree this seemingly unexpected behavior is not clear in the docs, especially with how slotting timing works. We had some discussion sparked by this in yesterday's eng meeting and are considering making context roots be auto applied to the document/window rather than manual.

Hi all,
@Arthurdw I'm experimenting with a controller that includes both ContextProvider and ContextConsumer. Placing the consumer after the first update could prevent context errors by ensuring it receives the context immediately. This delay in placement might be useful in this scenario, although it may not work for all cases.
In the original Lit example, when moving a <my-section> node manually, with ChromeDevTools, it doesn't update correctly, but it seems to do so correctly this way.
TS Playground:

https://lit.dev/playground/#gist=2d62708527350755089d47fce8d10551

JS Playground:

https://github.com/oscarmarina/blockquote-web-components/tree/main/packages/controllers/blockquote-controller-context-meta

==

Hey @Arthurdw, what I meant is that another option could be to simply wait for the DOM to be rendered initially.
See (async connectedCallback):
https://lit.dev/playground/#gist=393bcd6cf1c9b3011ac86db5f6148516

Another approach to utilizing context within a component is to directly employ the ContextConsumer controller

See (async connectedCallback): https://lit.dev/playground/#gist=393bcd6cf1c9b3011ac86db5f6148516

All right, I understand now. This has helped to clarify things.


[BUG] Incorrect Dart requirement in README

Describe the bug
The README says a requirement is Dart 2.12 or higher, but when cloning project and running flutter pub get the error says usercentrics_sdk requires SDK version >=2.17.1 <3.0.0
To Reproduce
Steps to reproduce the behavior:

Close project
Run flutter pub get
See error

Expected behavior
Update README to accurately reflect the requirements.
Screenshots

Flutter doctor
[✓] Flutter (Channel unknown, 2.10.2, on macOS 12.6 21G115 darwin-arm, locale en-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[!] Android Studio
    ✗ Unable to find bundled Java version.
[✓] Android Studio (version 2021.3)
[✓] IntelliJ IDEA Community Edition (version 2019.3.4)
[✓] VS Code (version 1.72.0)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

! Doctor found issues in 1 category.

thanks @molundb!


Generate system architecture diagrams based on service data

There are various arch diagrams we could generate, but the first one would be pretty simple. Model the service-to-service dependencies and then generate a diagram (SVG probably) that shows the dependency graph.
A good starting point might be to pick a service to be the "center" or focus of the diagram, and then show both which services depend on it and which services it depends on.

Ivan originally requested this. Shina wants it too.
Aaron had a good suggestion on this one. He is thinking that the architectural views would be service-specific overlays on Seiso data. Any given service owner would be able to specify the dependency graph for their particular service and how these appear in the context of that service.
From a Seiso perspective I think it means that we need to be able to represent not only the dependency structure but also relevancy-to-a-service in some fashion. In fact relevancy may be more general as certain dependencies could become relevant in a given situation. For instance if service A and B both have a common dependency C, and B brought C down by hammering C, then C might be relevant to A in that situation even if it normally isn't.
Also just because teams can define relevancy, we don't want them to have to duplicate efforts. I am thinking that the actual graph-building might be a crowdsourced effort whereas the filtering is user-defined. In other words if the service owner for A defines a dependency upon C, then the service owner for C doesn't have to define the same dependency.

Mike had a good idea about supporting dependencies involving service instances that aren't Seiso-managed. The idea is to allow users to declare dependencies using free-form text in cases where they aren't in Seiso. Then in the Seiso UI, the dependencies would just be text instead of links. I like this idea.
I'm not sure though how we handle unmanaged dependents (as opposed to depenendencies), since the dependent owns the relationship. (There isn't currently anywhere to declare the unmanaged dependent.)


Upgrade Netlify deploy action

:arrow_up: Upgrade Netlify deploy action

Codecov Report

Merging #57 into master will decrease coverage by <.01%.
The diff coverage is n/a.

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


Clay over aoi

Updated pipeline and added notebook to docs to run clay over custom aois over custom date ranges.
I tested the script locally extensively and it works, having more people trying it won't hurt to see if there are any things that are missing / that I did not catch in my local runs.

I merged this PR into #118. Which would close this one when merged.


Fix auto create db dir

adding util existing check func
make bbolt.Open() auto create db dir if not exist
adding test for that
modify example for it

db.Open() said that :
// Open opens a new clover database on the supplied path. If such a folder doesn't exist, it is automatically created.

and seems badger would auto do that.

@Shane-XB-Qian, maybe we can do that in the main Open() function directly, so that we don't have to implement it for each possible storage engine.
What do you think?

that we don't have to implement it for each possible storage engine

yes and no, just because it really different on stores,
per a just rough code check seems badger would auto create it by itself,
// and if inMemory (it supports) it actually regardingless dir,
but bbolt had to do it in user side, so i thought just make sure it do have done/created it.

When will this change be merge in the upstream branch? I hit this problem yesterday and found no further information because the Open function says that it will create a new folder if it doesnt exist. Very confusing for people new to clover.


Try to fix network detection issue

This is an attempt to fix https://github.com/threeML/threeML/issues/315 (available network not being detected on a mac). I made it so that if one connection test fails, threeML will try other options (different port, or just trying to reach google.com).

I'm not sure if this is needed anymore (at least on my new laptop I haven't seen problems), but I think it may be preferable to be more flexible in testing the internet connection. I can try to re-start the build tests.

Ugh, I forgot about the numdifftools. Builds are still crashing.


SaveVTK with ref = 0 and field_data

Hello,
Could someone explain me please the meaning of "ref" parameter for PrintVTK/SaveVTK for GridFunctions and why ref = 0 is not allowed (if I also want to provide a field name, thus I don't want to use PrintVTK())?
// S is ParGridFunction* from L^2 finite element space
int ref = 0; // 1;
std::ofstream fp_S("u_test_it0.vtk");
pmesh->PrintVTK(fp_S, ref, true);
std::string field_name_S("u_h");
S->SaveVTK(fp_S, field_name_S, ref);

This produces nans in the output file, while with ref = 1 I have more POINTS and values which look correct. Serial code.
Or am I missing something in the way to use these functions?
Thanks,
Kirill

The ref parameter is short for "refinement factor" - e.g. if you have a quad, it will be subdivided into ref x ref small (linear) quads in the saved file. Thus, ref == 0 does not make sense.

Thanks, @v-dobrev!
Still, I am not sure I understand why there is no option to call with ref = 0 if I just want to print the grid function as it is.

The pair of methods
https://github.com/mfem/mfem/blob/58f8873b73c2aa272df311fe02896a19d6c07d44/mesh/mesh.hpp#L1045
and
https://github.com/mfem/mfem/blob/58f8873b73c2aa272df311fe02896a19d6c07d44/fem/gridfunc.hpp#L385
are meant to work together and support any type of solution (including Nedelec and Raviart-Thomas elements) of any order by subdividing the elements and sampling the solutions at the given refinement factor ref. They are intended for visualization purposes in tools that cannot read MFEM's format but can read simple linear VTK meshes with solutions. With these methods, the mesh connectivity is lost - each original element is represented as a connected set of refined elements which is disconnected from the other original elements.
There is a separate version of PrintVTK here
https://github.com/mfem/mfem/blob/58f8873b73c2aa272df311fe02896a19d6c07d44/mesh/mesh.hpp#L1038
which saves a mesh in VTK format, "as it is", without loosing the element connectivity, however, it supports only linear or quadratic meshes.
If you are looking for a method GridFunction::SaveVTK that saves the solution "as it is" - there is no such method at the moment.
If you clarify what you are trying to do with these VTK files, we can probably suggest an alternative.

@v-dobrev,
I am doing some adaptive mesh refinement, and I want to print my solution as a GridFunction to the VTK output file which will be later postprocessed for visualization in ParaView.
Did I get it right, that I cannot call GridFunction::SaveVTK without printing in the output file much more points than my GridFunction actually have? If yes, this looks strange to me since I'd like to see exactly the same mesh in ParaView which I was doing AMR at.

How about simply using ref == 1 - that will generate 1 linear element for each original element with a linear approximation for your solution.

@v-dobrev,
I've misunderstood your previous explanation then. I thought that ref == 1 means that each mesh element will be subdivided as by uniform refinement.
For me it's fine to have linear interpolation within each element.
Thanks!


Fix param example for integ-test jenkins workflow

Description
We usually use the example url to provide the parameters. With change in directory structure this param needs to change as well.
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
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.

Codecov Report

Merging #3239 (20fbffd) into main (214113e) will decrease coverage by 0.31%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #3239      +/-   ##
==========================================
- Coverage   93.20%   92.90%   -0.31%
==========================================
  Files         167      167
  Lines        4622     4622
==========================================
- Hits         4308     4294      -14
- Misses        314      328      +14

Impacted Files
Coverage Δ

src/system/temporary_directory.py
64.44% <0.00%> (-28.89%)
:arrow_down:

src/system/os.py
94.73% <0.00%> (-5.27%)
:arrow_down:

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


QIIME sample id naming constraints are not enforced

Sample identifiers can include underscores and the system will not raise an error.

Stop adding issues!!

Can we define these constraints?
Gail
On Wed, Jan 7, 2015 at 5:53 PM, Yoshiki Vázquez Baeza <
<EMAIL_ADDRESS>wrote:

Sample identifiers can include underscores and the system will not raise
an error.
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/792.

--
Gail Ackermann
Knight Lab
UCSD
<EMAIL_ADDRESS>

This website has more information: http://qiime.org/documentation/file_formats.html
Yoshiki Vázquez-Baeza

On Jan 7, 2015, at 7:30 PM, ackermag<EMAIL_ADDRESS>wrote:
Can we define these constraints?
Gail
On Wed, Jan 7, 2015 at 5:53 PM, Yoshiki Vázquez Baeza <
<EMAIL_ADDRESS>wrote:

Sample identifiers can include underscores and the system will not raise
an error.
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/792.

--
Gail Ackermann
Knight Lab
UCSD
<EMAIL_ADDRESS>—
Reply to this email directly or view it on GitHub.


Add support for fetching unadvertised SHA-1 (allow-tip-sha1-in-want capability)

I'd like to see the allow-tip-sha1-in-want capability added to Gitea's Git server so that objects that aren't advertised in upload-pack can be fetched by a client. The primary use case that I'm aware of is fetching commits that were on branches that have been force-pushed over. In the context of pull requests, these previous commits can be important to understand the review process, for example. GitHub and GitLab.com (haven't tested GitLab CE) support this.
For those who may not be that familiar with how a git clone works, here's a quick summary: the client connects to the server and executes git upload-pack. This returns the server's capabilities and a list of refs. The client then determines which of these refs they want and sends a series of want <SHA-1> lines to the server of the objects (and their history) it wants. The server then returns a packfile with those objects, and the client creates the desired local directory structure.
However, even if the client fetches everything advertised by the server (e.g. with --mirror), this only returns reachable commits. An example of unreachable commits are branches that were force-pushed over. Most notably, that is common in pull requests when major refactors of the PR code are necessary to keep the history clean after the merge. As long as garbage collection hasn't been run on the server, those commits still exist, and they can be fetched if the server supports the allow-tip-sha1-in-want: git fetch remote sha1 will attempt to fetch the commit with hash sha1 from the remote remote.
Example using GitHub and the recent PR #11032:

git clone --mirror https://github.com/go-gitea/gitea.git
cd gitea.git
git show e4c89ba252341b8222dd72389b7407c3a0e05c99 → fatal: bad object e4c89ba252341b8222dd72389b7407c3a0e05c99
git fetch origin e4c89ba252341b8222dd72389b7407c3a0e05c99
git show e4c89ba252341b8222dd72389b7407c3a0e05c99 → commit e4c89ba252341b8222dd72389b7407c3a0e05c99 etc.

As of version 1.11.6 and the version deployed on gitea.com (see below), Gitea does not support step 4 (error: Server does not allow request for unadvertised object <SHA-1>), which amounts to a want e4c89ba252341b8222dd72389b7407c3a0e05c99 request from the client where that commit is not reachable from any ref.
Example using https://gitea.com/gitea/homebrew-gitea/pulls/94:

git clone --mirror https://gitea.com/gitea/homebrew-gitea.git
cd homebrew-gitea.git
git show 238dfca61957cd2b8b7c690a1ccea6481104c5b3 → bad object (as expected)
git fetch origin 238dfca61957cd2b8b7c690a1ccea6481104c5b3 → error: Server does not allow request for unadvertised object 238dfca61957cd2b8b7c690a1ccea6481104c5b3

Since Gitea essentially just delegates the HTTP requests handling to Git (after auth checks etc.) in routers/repo/http.go, I believe the only change that would be needed to support this would be enabling uploadpack.allowTipSHA1InWant in the repositories.
On a related note, supporting allow-reachable-sha1-in-want aka uploadpack.allowReachableSHA1InWant may also be useful.

This needs git v2.5.0

This is simply an option in .gitconfig or git config files in the repositories. Git capabilities are passed through by Gitea unaltered.
If you set uploadpack.allowTipSHA1InWant, uploadpack.hideRefs, uploadarchive.allowUnreachable etc. appropriately in git you can do this.

You can set your own git config options by :  Support changing git config through app.ini, use diff.algorithm=histogram by default #24860

I'm seeing this error too in some gitea actions pipelines when the CI tries to run actions/checkout@v3 on a merge commit on the main branch after a pull request merge.
It's interesting because some pipelines work and others don't, it looks there is a race condition.
Any idea on how to solve this?

If I understand correctly, the checkout action  shouldn't depend on this "unadvertised SHA-1" feature.
What's the difference of these PRs? Maybe branch of the merged PR has been deleted so the CI are not able to checkout.
For this issue, I think it can be closed.

I'm not sure whether the CI situation is related. But the original issue, i.e. enabling allowTipSHA1InWant (and possibly the other two options mentioned above) by default to allow fetching unadvertised commits, just like GitHub and GitLab do, is not resolved. Please reopen.

Sorry for the delay @wxiaoguang . The workflow that sometimes seems to show this issue is:

Make a Pull request (everything works fine)
Merge the PR
The branch is deleted by default on merge as specified in the repository configuration
A new workflow run is triggered on the commit on main
The checkout of that run fails when pulling from main::group::Fetching the repository
[command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin   +2dee84d8629c61d22ee57a7536fc58bf635c40e5:refs/remotes/origin/main
error: Server does not allow request for unadvertised object 2dee84d8629c61d22ee57a7536fc58bf635c40e5
The process '/usr/bin/git' failed with exit code 128

I'm guessing that the jobs that don't fail are the ones that the checkout phase of the main job is run before the automatic deletion of the pull request branch

Fetching the whole history with fetch-depth: 0 worked for us:
      - name: Checkout the codebase
        uses: actions/checkout@v3
        with:
          fetch-depth: 0

We close issues that need feedback from the author if there were no new comments for a month. :tea:


Billing clarification for EA customers

It isn't clear how an EA customer would get billed. As we have to purchase this separately our reseller wasn't able to advise either.
When I go to the final step of the checkout it already has my EA number selected and an empty box for a purchase order number. Does this mean I will get a separate monthly/quarterly/annual invoice just for the spent credits (with the relevant PO number listed) or it will come through as part of the annual true-up/reservation invoice (in which case the PO would be ignored)

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

ID: 277cf140-5c6c-82c7-cc56-490ef2188754
Version Independent ID: 72e7de29-fd71-23bf-15a7-172634c2a5fd
Content: Set up Communications Credits for your organization
Content Source: Teams/set-up-communications-credits-for-your-organization.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

@officedocsbot assign @scanum

@thommck Thank you for submitting this feedback.
From our understanding the issue has been resolved. If you feel it hasn't been resolved please re-open this issue.
@officedocsbot close


"Cluster Aware Updating plug-in sample" link is broken

on https://docs.microsoft.com/en-us/windows-server/failover-clustering/cluster-aware-updating-plug-ins#additional-references is a link to Cluster-Aware Updating Plug-in Reference and on this old page is a broken link to Cluster Aware Updating plug-in sample this redirect to https://docs.microsoft.com/de-de/samples/browse/?redirectedfrom=MSDN-samples  ... please give the new link to the "Cluster Aware Updating plug-in sample"

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

ID: 25605c2e-831a-5a24-0b3e-3cf7a9279a85
Version Independent ID: f1af6d9d-1589-e104-2d14-0cb5d2cbade2
Content: How Cluster-Aware Updating plug-ins work
Content Source: WindowsServerDocs/failover-clustering/cluster-aware-updating-plug-ins.md
Product: windows-server
Technology: failover-clustering
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Close the recreate modal on proceed

It closes this modal when the user click proceed as right now the modal stays open


fix(firebase): fixing ci issues and yarn upgrade

Closes: ZKF-1235

:tada: This PR is included in version 2.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


os-frr 1.37 Redistributing Kernel Routes into OSPF not working

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[x] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
[x] The title contains the plugin to which this issue belongs

Describe the bug
Redistribution of kernel routes into OSPF is not working. This has not worked since I deployed OPNsense
See also this incomplete issue report describing the same issue: https://github.com/opnsense/plugins/issues/3543
To Reproduce
Steps to reproduce the behavior:

Add a static route under System -> Routes -> Configuration, make sure the route is enabled
In the OSPF Routing settings enable redistribution of Kernel routes
The previously created static route, which is present in the system routing table, will not be present in the OSPF routing table

Expected behavior
The static route created in OPNsense under System -> Routes -> Configuration is added to the OSPF routing table
Screenshots

Relevant log files
frr configuration:
Building configuration...
Current configuration:
!
frr version 8.5.4
frr defaults traditional
hostname (removed)
log syslog warnings
!
interface enc0
ip ospf passive
exit
!
interface igc0
ip ospf passive
exit
!
interface ipsec1
ip ospf area <IP_ADDRESS>
ip ospf dead-interval 3
ip ospf hello-interval 1
exit
!
interface ix0
ip ospf area <IP_ADDRESS>
ip ospf dead-interval 3
ip ospf hello-interval 1
exit
!
interface lo0
ip ospf passive
exit
!
interface openvpn
ip ospf area <IP_ADDRESS>
ip ospf passive
exit
!
interface ovpnc2
ip ospf passive
exit
!
interface ovpnc4
ip ospf area <IP_ADDRESS>
ip ospf cost 100
exit
!
interface ovpns3
ip ospf area <IP_ADDRESS>
ip ospf cost 110
ip ospf dead-interval 3
ip ospf hello-interval 1
exit
!
interface re0
ip ospf passive
exit
!
interface vlan01
ip ospf area <IP_ADDRESS>
ip ospf passive
exit
!
interface vlan02
ip ospf area <IP_ADDRESS>
ip ospf passive
exit
!
interface vlan03
ip ospf area <IP_ADDRESS>
ip ospf passive
exit
!
router ospf
ospf router-id <IP_ADDRESS>
redistribute kernel route-map redist1918
area <IP_ADDRESS> range <IP_ADDRESS>/16
default-information originate always
exit
!
ip prefix-list PL1 seq 10 permit <IP_ADDRESS>/8 le 32
ip prefix-list PL1 seq 20 permit <IP_ADDRESS>/12 le 32
ip prefix-list PL1 seq 30 permit <IP_ADDRESS>/16 le 32
!
route-map redist1918 permit 10
match ip address prefix-list PL1
exit
!
end
Additional context
The issue will occur with or without any route map/prefix list applied
Redistributing connected routes will work as expected
Environment
Software version used and hardware type if relevant.
e.g.:
OPNsense 23.7.10_1-amd64
Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz (4 cores, 4 threads)

To me it sounds you dont have any adjacency and therefore the Status is empty. Is this already working without any redist?

I have fully adjacent neighbors and routes are being exchanged, only the
redistribution is not working
On Mon, Jan 29, 2024 at 4:21 PM Michael @.***> wrote:

To me it sounds you dont have any adjacency and therefore the Status is
empty. Is this already working without any redist?
—
Reply to this email directly, view it on GitHub
https://github.com/opnsense/plugins/issues/3731#issuecomment-1914438399,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJEABJ5V7EKY5E3YQBY6HTYQ55MPAVCNFSM6AAAAABBGXSCRCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJUGQZTQMZZHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

I think with staticd this should work now


Add date to version number

Can you please add the commit date to the version number with the commit hash (e.g., something like this: 2019-08-14 c05acb4)? That way it will be human-readable, too, so that Yuri will know the last deployment date. I'm also opening a frontend issue to display the frontend and backend version numbers in the frontend so that we can include it in bug reports.

will be sth like a1c7f7b - 2019-08-14T12:40:02+0200 with next deploy


Add usage badge

Interesting: release 1.7.0 was downloaded 954 times, but analytics said just 242 use it...

Yeah, I saw it too, I think that this is because sometimes integration is downloaded again and what's more important participating in Home Assistant Analytics is not obligatory

Indeed.
For my second project (Yandex Weather integration) I can see the same: for 0.8.0 release 285 downloads and 54 usage.
I suppose that downloads is more correct: every download is counted by GitHub (and I never see double downloads for my HA), but not every HA installation is sending telemetry.


Switch with local button

Hi! Is it possible to have a button within the Switch Accessory to be able of wiring a physical switch? Is it expected a dimmer switch accessory also? Thank you!

Sorry, not sure what you're asking.  There's a button device is for an input button connected to the GPIO pin.  The switch device is for an on/off output device, like a LED, fan, or relay connected to the GPIO pin.  You could wire "anything" to the relay.  See https://github.com/ebaauw/homebridge-rpi/wiki/Supported-Devices.
I don't yet support "dimmable" output devices connected to GPIO pin in PWM mode, if that's what you mean by "dimmer switch".  I shouldn't be too hard to add support, I just haven't found the time yet.
What device do you want to connect?

Thanks for your repply! Yes, I know there is a button device, but to use it you need a home hub like a apple tv or iPad. So if there was a option to connect a pyshical switch "inside" the Switch Accessory, like the Sonoff Mini, or a Lutron Caseta for instance, would be better. You wouldn't need two devices inside the Home App, nor a Home Hub, and I think its faster to control as well.
Regarding the Dimmable Switch Device, I was just thinking on a cheap way to add dimmable lights to my setup, using the rasp and some 3rd part hardware. But I don't have a specific device in my mind yet.
Sorry for my long repply. Thank you again and congratulations for your work!

In HomeKit these are Switch and Stateless Programmable Switch respectively.  For the latter, you need a Home Hub.  The equivalent devices in Homebridge RPi are switch and button.
I suppose you could create the equivalent of a Sonoff Mini by using a relay (that's strong enough to switch 110V or 240V AC) connected as switch to a GPIO pin.  I wouldn't recommend messing with AC current from the a Raspberry Pi, unless you're a certified electrician (or have that level of knowledge).  It probably easier, safer, and only marginally more expensive to buy a Sonoff Mini and expose that through homebridge-sonoff-mini-api-rest.  I have no experience with Sonoff nor with that plugin, though.

Ok, I got it.
Thank you for your attention!


chore: bump this to node18

Looks like upgrading node here is a bag of worms 👝 🪱 , who would have thought !?
Now I'm wondering whether we need this module at all...


Generate a json to metabase from yaml

Description
Since we are trying to create a pipeline until the dashboard visualization, was decided to describe a json exported from metabase to integrate to the yaml and create a unique flow until the visualization!
Checklist

[ ] Define json structure
[ ] Describe what is required to build the json
[ ] Create yaml structure to create json
[ ] Define a export pipeline

Helper: @LeoSilvaGomes

subir o metáfase com os Dashboards padrão, visualizações genéricas a partir do yaml, salvar e fazer o load de forma automatizada

@francisco1code Can you add a description about why is not possible to use the metabase and what we are trying to do!

https://github.com/orgs/hygia-org/projects/1?pane=issue&itemId=19207742

The metabase has a limitation in the free version, eventually in the case of importing the dashboard, directly affecting this functionality.

Doing some research on tools I found a superset tool, which behaves very similarly to the metabase, but with free export and import.


Forwardings not tested properly in testsuites

While running testsuite locally ( newman run ApplicationPattern+testcases.json -d ExecutionAndTraceLog+data.json ) I observed that almost all forwardings tested through ExecutionAndTraceLog/v1/list-records-of-flow are failing due to the forwarding record not being present in Elasticsearch.
Observation:
Test: ServiceLayer / BasicPart / /v1/register-yourself / Acceptance / Update LTP notified? / registration-operation update - 6 Requests in the folder
Iteration: 1 - sampling /v1/register-yourself
REQUEST BODY
  "registry-office-application": "RegistryOffice",
  "registry-office-application-release-number": "2.0.1",
  "registration-operation": "lsYrxOpmWuSV",
  "registry-office-protocol": "HTTP",
  "registry-office-address": {
    "ip-address": {
      "ipv-4-address": "<IP_ADDRESS>"
    }
  },
  "registry-office-port": 3008
}

Iteration: 1 - Expected ExecutionAndTraceLog/v1/list-records-of-flow
REQUEST BODY
  "x-correlator": "9db2cf5a-ff9c-a4d4-675d-e21e2c432e4c",
  "latest-match": 0,
  "number-of-records": 100
}

RESPONSE BODY
[
  {
    "x-correlator": "9db2cf5a-ff9c-a4d4-675d-e21e2c432e4c",
    "trace-indicator": "1",
    "user": "iswaryaa.subashchandran",
    "originator": "Postman",
    "application-name": "ExecutionAndTraceLog",
    "release-number": "2.0.1",
    "operation-name": "/v1/register-yourself",
    "response-code": 204
  }
]

Assert failure: Update in LTP is successfully notified to ALT 	->   expected false to be true
Test failed correctly, because the forwarding is not in response body of list-records-of-flow.
However, after the testsuite was done, I did manually (through swagger API) call list-records-of-flow with the same request body and the result was different:
[
  {
    "x-correlator": "9db2cf5a-ff9c-a4d4-675d-e21e2c432e4c",
    "trace-indicator": "1",
    "user": "iswaryaa.subashchandran",
    "originator": "Postman",
    "application-name": "ExecutionAndTraceLog",
    "release-number": "2.0.1",
    "operation-name": "/v1/register-yourself",
    "response-code": 204
  },
  {
    "x-correlator": "9db2cf5a-ff9c-a4d4-675d-e21e2c432e4c",
    "trace-indicator": "1.1.3",
    "user": "iswaryaa.subashchandran",
    "originator": "ExecutionAndTraceLog",
    "application-name": "RegistryOffice",
    "release-number": "2.0.1",
    "operation-name": "lsYrxOpmWuSV",
    "response-code": 500
  },
  {
    "x-correlator": "9db2cf5a-ff9c-a4d4-675d-e21e2c432e4c",
    "trace-indicator": "<IP_ADDRESS>",
    "user": "iswaryaa.subashchandran",
    "originator": "ExecutionAndTraceLog",
    "application-name": "ApplicationLayerTopology",
    "release-number": "2.0.1",
    "operation-name": "/v1/update-ltp",
    "response-code": 204
  }
]

The response body clearly shows record of '/v1/register-yourself' being called through Postman and two callback, to RegistryOffice and to ApplicationLayerTopology. The call to ALT has even response code of 204.
The problem here is, that we do not await the results of callbacks in the code, which means, that the code (and therefore the test) continues and at the time EATL records are checked, the callbacks are not done yet.

Postman -> request -> tested app
tested app -> request (callback) -> RegistryOffice
tested app -> request (callback) -> ALT
ALT -> callback execution -> response sent to tested app
RegistryOffice -> callback execution -> response sent to tested app
tested app -> response -> Postman
Postman -> EATL list-records check
RegistryOffice -> request logged in EATL
ALT -> request logged in EATL

I did a simple test, for one method I put 'await' in the code where callbacks are being sent and for this method, all the callbacks could be found in EATL at the time the test was checking the records.
Proposal: await the results of callbacks in the code to avoid such race conditions.

await in callback of server side code would result in increased wait time of user. So , as a workaround, the following would be made.

In testcases, a retry mechanism would be added : 3 times : with delay of 3 seconds for checking if the records are logged into EATL/OL .
In server side, we can also analyse why the delay is happening for recording services.


Disable movement penalties when unloading unit from the sea

In the below picture the knight should be able to land left on London.

Also... when moving from a city, the movement penalties should not apply.


Cannot start VS Code on 64bit ARM, Mac M1

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.66.2

dfd34e8260c270da74b5c2d86d61aee4b6d56977
arm64

OS Version: Mac OS, 64bit arm, M1, Version 11.4

Steps to Reproduce:

start from mac os dock or terminal:  /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code -s --disable-extensions
See the terminal output:

/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code -s
[main 2022-04-24T13:04:38.345Z] Error: listen EINVAL: invalid argument /Volumes/DATA0/nise/Library/Application Support/Code/1.66.2-main.sock
    at Server.setupListenHandle [as _listen2] (node:net:1317:21)
    at listenInCluster (node:net:1382:12)
    at Server.listen (node:net:1480:5)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js:69:18661
    at new Promise (<anonymous>)
    at c (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js:69:18594)
    at X.claimInstance (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js:77:4648)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js:77:2294
    at P.invokeFunction (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js:29:319)
    at X.startup (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js:77:2161)

Unable to setup singleton instance socket on the user data path, can you provide the output of NODE_DEBUG="net" code --verbose

/duplicate https://github.com/microsoft/vscode/issues/137602

Sorry, but I do not see any reason why this issue should be duplicate. Please provide any hint.
Here is the requesters verbose output:
/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code -s --disable-extensions --user-data ~/.vscode
Warning: 'user-data' is not in the list of known options, but still passed to Electron/Chromium.
[main 2022-04-26T06:19:40.734Z] Error: listen EINVAL: invalid argument /Volumes/DATA0/nise/Library/Application Support/Code/1.66.2-main.sock
    at Server.setupListenHandle [as _listen2] (node:net:1317:21)
    at listenInCluster (node:net:1382:12)
    at Server.listen (node:net:1480:5)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js:69:18661
    at new Promise (<anonymous>)
    at c (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js:69:18594)
    at X.claimInstance (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js:77:4648)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js:77:2294
    at P.invokeFunction (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js:29:319)
    at X.startup (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js:77:2161)
(base) nise@ab Thunderbird % /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code -s --disable-extensions NODE_DEBUG="net" code --verbose
[main 2022-04-26T06:20:47.178Z] Error: listen EINVAL: invalid argument /Volumes/DATA0/nise/Library/Application Support/Code/1.66.2-main.sock
    at Server.setupListenHandle [as _listen2] (node:net:1317:21)
    at listenInCluster (node:net:1382:12)
    at Server.listen (node:net:1480:5)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js:69:18661
    at new Promise (<anonymous>)
    at c (/Applications/Visual Studio Code.app/Contents/Resources/app/out[main 2022-04-26T06:20:47.173Z] [File Watcher (node.js)] Request to start watching: /Volumes/DATA0/nise/Library/Application Support/Code/User (excludes: <none>),/Volumes/DATA0/nise/Library/Application Support/Code/User/settings.json (excludes: <none>)
[main 2022-04-26T06:20:47.178Z] Lifecycle#kill()
[main 2022-04-26T06:20:47.178Z] Lifecycle#onWillShutdown.fire()
[main 2022-04-26T06:20:47.179Z] [File Watcher (node.js)] Error: ENOENT: no such file or directory, stat '/Volum/vs/code/electron-main/main.js:69:18594)
    at X.claimInstance (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js:77:4648)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js:77:2294
    at P.invokeFunction (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/main.js:29:319)
    at X.startup (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/code/electron-main/maines/DATA0/nise/Library/Application Support/Code/User/settings.json'
.js:77:2161)

It seems to be an issue with a wrong path.

See https://github.com/microsoft/vscode/issues/137602#issuecomment-975501718


Tidy jbdiagnose FORTRAN

The FORTRAN code in jbdiagnose.F90 could do with some tidying:

split subroutines
reduce verbosity (add namelist entry like PRINTLEV)
Anything else suggested by compiler warnings

Somewhat resolved by #3
Closing for now.


[BUG]:chatgpt inference still ERROR after fix

🐛 Describe the bug
still error：
size mismatch for transformer.ln_f.weight: copying a param with shape torch.Size([768]) from checkpoint, the shape in current model is torch.Size([64]).
size mismatch for transformer.ln_f.bias: copying a param with shape torch.Size([768]) from checkpoint, the shape in current model is torch.Size([64]).
size mismatch for lm_head.weight: copying a param with shape torch.Size([50257, 768]) from checkpoint, the shape in current model is torch.Size([250880, 64]).
params：
parser.add_argument('--model', default='bloom', choices=['gpt2', 'bloom', 'opt'])
parser.add_argument('--pretrain', type=str, default='./actor_checkpoint_prompts.pt')
Environment
No response

File "inference.py", line 56, in
eval(args)
File "inference.py", line 21, in eval
actor.model.load_state_dict(state_dict)
File "/home/rst/ColossalAI/env/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1671, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(

Thanks for your feedback, can you show your command line code please？

python inference.py --pretrain ./actor_checkpoint_prompts.pt --model bloom

if i use gpt2 to train , i get right results, bloom is not right any way.