Gatling runs two sessions in parallel in a simulation for the same user from feeder (queue).

Problem statement:
I'm trying to run multiple simulations in parallel by injecting them in a single simulation and triggering this simulation from command-line. It has been observed that Gatling tries to run a given simulation twice for the same user which is not intended. It is intended that Gatling should run different concurrent threads with different users and not the same users from a given queue feeder. I could point of this issue because the print Logging in with userId 1 was logged twice in console logs.
This issue is intermittent, not replicated in every test run.
Code (imports removed):
// AllSimulations.scala

class AllSimulations extends Simulation {

  setUp(
    new Simlation1().myScenario.inject(rampUsers(3) during (10))
    .protocols(new Simulation1().httpProtocol),

    new Simlation2().myScenario.inject(rampUsers(3) during (10))
    .protocols(new Simulation2().httpProtocol)
)

  .assertions(global.responseTime.max.lte(1000),
    forAll.failedRequests.count.lte(1))
}

// Simulation1.scala

class Simulation1 extends Simulation {

  val httpProtocol = http
    .warmUp("https://myapp.com")
    .baseUrl("https://myapp.com" + "/external")
    .acceptHeader("application/json, text/plain, */*")
    .acceptEncodingHeader("gzip, deflate, br")
    .userAgentHeader("Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36")

  object Simulation1 {

    var credentialsForToken = ""
    var cId = ""
    var cPass = ""

    val feeder = csv("users.csv").queue

    val random =
      exec(
        http("Step 1 : random")
          .get("/auth-service/v1/customer/random")
          .check(status.is(200))
          .check(jsonPath("$.random").saveAs("Random"))
      )
        .feed(feeder)
        .exec { session =>
          cId = session("customerId").as[String]
          println("Logging in with userId " + cId)
          cPass = session("customerPassword").as[String]
          credentialsForToken = CredentialManagment.GenerateCreds.generateCredentialsFeeder(s"""{"customerId":"""" + cId + """","password":"""" + cPass + """","timeStamp":""" + session("Random").as[String] + """}""")
          session.set("credentials", credentialsForToken)
        }
        .exec(
          http("Step 2 : login")
            .post("/auth-service/v1/customer/login")
            .header("Content-Type", "application/json")
            .body(StringBody("""{"credential":"${credentials}"}"""))
            .check(status.is(200))
            .check(jsonPath("$.customerId").saveAs("CustomerId"))
            .check(jsonPath("$.otpRequired").saveAs("OtpRequired"))
            .check(jsonPath("$.token").saveAs("Token")
            ))

val myScenario = scenario("myScenario").exec(Scenario1.random)

  setUp(
    myScenario.inject(
      rampUsers(3) during (10)
    )
  )
    .assertions(
global.responseTime.max.lte(1000),
forAll.failedRequests.count.lte(1)
    )
    .protocols(httpProtocol)
}

Am I missing something or doing something wrong?

I guess you’re creating 2 feeder instances from the same file so behavior is expected.
Use a shared instance.
Next time, please use the community mailing list for questions, not the bug tracker.

@slandelle >> I guess you’re creating 2 feeder instances from the same file.
How is this possible? Could you please point me to the line of code which makes this evident? Also, if that's the case, this issue should have occurred consistently and not intermittently, right?

Your sample is not even complete, so I could only guess.
In any case, this is a user error not a Gatling bug.
Please use the community mailing list and provide a full sample that compile and reproduce your issue.

I don't particularly understand what is missing in this code sample. I've tried providing as many details as possible from my end.
Anyway, let me get some help from the community.


Supported Windows Operating Systems

Please also include a Note mentioning that Core Windows version (2019 and later) are not supported, as it causes confusion  if/when using Win Core.

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

ID: c946fe0f-e18d-2529-2fbf-bce04759fbca
Version Independent ID: 885a61d1-6096-5aa0-fe8d-f1ec8d55e542
Content: Sign in to Windows virtual machine in Azure using Azure Active Directory - Microsoft Entra
Content Source: articles/active-directory/devices/howto-vm-sign-in-azure-ad-windows.md
Service: active-directory
Sub-service: devices
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@Eduard-Barsan Thank you for your feedback . We will investigate and update the thread.

@Eduard-Barsan Apologies for the delay, reviewed your ask and have shared the feedback with our team.


Unknown output type: JSON

Hey Guys,
I'm getting this error when I run npm run setup - the stack gets created but any subsequent updates won't deploy.
> aws cloudformation create-stack --stack-name $npm_package_config_cloudFormationStackName --template-body file://./cloudformation.json --capabilities CAPABILITY_IAM --parameters ParameterKey=AwsServerlessExpressS3Bucket,ParameterValue=$npm_package_config_s3BucketName --region $npm_package_config_region

Unknown output type: JSON

npm ERR! Darwin 16.0.0
npm ERR! argv "/Users/gb/.nvm/versions/node/v4.3.2/bin/node" "/Users/gb/.nvm/versions/node/v4.3.2/bin/npm" "run" "create-stack"
npm ERR! node v4.3.2
npm ERR! npm  v2.14.12
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>create-stack: `aws cloudformation create-stack --stack-name $npm_package_config_cloudFormationStackName --template-body file://./cloudformation.json --capabilities CAPABILITY_IAM --parameters ParameterKey=AwsServerlessExpressS3Bucket,ParameterValue=$npm_package_config_s3BucketName --region $npm_package_config_region`
npm ERR! Exit status 255

Hi @gilesbutler, what's your aws cli config look like?
What happens if you add --output json to the end of the command in package.json?

Hey @brettstack
I'm testing it with updating new functions so I had to add it to the end of update-function command. That fixed the problem though and now outputs JSON with no errors thanks.
Should that be added to every aws call then?

It would be better to find the root cause of the problem, likely in your aws cli config

Spot on! Thanks @brettstack - I ran aws configure and changed Default output format: JSON to text and now it's working perfectly!
Thanks for your help 👍

@gilesbutler I had faced a similar issue changing "JSON" to "json" (lower case) after running aws configure solved the problem

@optimus-kart your answer works better for me.  Both "text" and "json" solve the problem, but "json" gives nicely formatted, easily readable output.

@optimus-kart , it work, with me, perfect


Add Eval to Foundry CLI

This PR allows users to call composer llm-foundry eval {YAML_PATH} {ARGS} while maintaining correctness with existing evaluation script. The motivation is for DLE where we want to make the CLI much more intuitive in the docker images

Working tests:
test-eval-rdrmLF runs:
composer -c llmfoundry eval eval/yamls/hf_eval.yaml || (echo "Command failed - killing python" && pkill python && exit 1)
test-eval-qQI2O7 runs:
composer -n 8 -c llmfoundry eval eval/yamls/hf_eval.yaml || (echo "Command failed - killing python" && pkill python && exit 1)

Is there a better name for the llmfoundry/train folder?

llmfoundry.train.train also doesn't seem great

Test run too show working:
mcli logs test-eval-9mG0gB:
composer -n 8 -c llmfoundry eval eval/yamls/hf_eval.yaml || (echo "Command failed - killing python" && pkill python && exit 1)
mcli logs test-eval-VCcxoX:
composer eval/eval.py eval/yamls/hf_eval.yaml || (echo "Command failed - killing python" && pkill python && exit 1)


java 17 m1 support

After successful compile of java library I am getting this in debug and tests:
Caused by: java.lang.RuntimeException: Porcupine failed to get get CPU information.
at ai.picovoice.porcupine.Utils.getCpuPart(Utils.java:195)
at ai.picovoice.porcupine.Utils.getArchitecture(Utils.java:163)
at ai.picovoice.porcupine.Utils.<clinit>(Utils.java:41)
... 78 more
Steps to reproduce the behaviour
Compile library on macOS 12 on Mac with Apple Silicon CPU

We are currently working on it for java 17 and gradle 7.3, which at the time gradle didnt support java 17 build which is the java version with support for mac m1. For now, if you would like work with mac m1 and java, consider using java 11 which should work with m1.

@ArchieGoodwin The latest versions of our Java packages now have Java 17+ and native Mac M1 support. Feel free to open another ticket if more issues arise.


UI Bug: WatchedStatus Tooltip Misalignment on Discover Content Page

Description:
When hovering over items in the PosterList on the Discover Content page, the PosterStatus tooltips appear misaligned relative to the items they are supposed to represent.
Expected Behavior:
The tooltips should be correctly aligned within each PosterList section (Trending Today, Trending Movies, Trending Shows, Upcoming Movies, and Upcoming Shows).
Steps to Reproduce:
Navigate to Discover Content page on desktop
Scroll down a bit and then click and of the PosterStatus buttons
Observe the misalignment of the tooltip with respect to the item
Note that when scrolled all the way to the top, the tooltips align as they should. The misaligned surfaces only when scrolling down occurs.
Environment:

Operating System: Pop!_OS 22.04 LTS (Jammy)
Kernel: Linux pop-os 6.6.6-76060606-generic<PHONE_NUMBER>32~1702306143~22.04~d28ffec SMP PREEMPT_DYNAMIC Mon D x86_64 GNU/Linux)
Browser: Chrome version <IP_ADDRESS> (User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Safari/537.36)

Video:
https://github.com/sbondCo/Watcharr/assets/64165327/85b60b39-45a4-4d9e-ac73-d6ac8b5f7c04

Hi @iamericfletcher, thank you for taking the time to report this bug! I appreciate the detailed report.
I noticed the same yesterday evening when I went to add a movie to my watched list, it seemed to happen on any page, wherever tooltips are used, if the page is scrolled.
This should hopefully be fixed in the dev branch by #277 - if you are able to check on dev you may be able to verify if it is working for you?

Agh! Yes - all fixed with tooltips showing as expected! I hadn't updated my fork with the changes from your upstream repository so was behind. It's all a learning experience for me!


PR for Power Update for S0

Hi Ian,
Can you make sure S1 and S2 are also updated? The model may crash if we accept this PR as is. There is an option for a draft pull request if you'd like eyes on an update and you need to do the finishing touches still.
Femke

From: Ian Burton @.>
Sent: 10 April 2024 14:09
To: cpmodel/FTT_StandAlone @.>
Cc: Nijsse, Femke @.>; Review requested @.>
Subject: [cpmodel/FTT_StandAlone] PR for Power Update for S0 (PR #113)
CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe.

You can view, comment on, or merge this pull request online at:
https://github.com/cpmodel/FTT_StandAlone/pull/113
Commit Summary

68cdedehttps://github.com/cpmodel/FTT_StandAlone/pull/113/commits/68cdedef193c6b159cb1abf701597f66b0e63861 power update S0
7ab61a7https://github.com/cpmodel/FTT_StandAlone/pull/113/commits/7ab61a745c797fb6069398c519a5f45d31b1623c Add histend for BCET
b21bbd4https://github.com/cpmodel/FTT_StandAlone/pull/113/commits/b21bbd4dcd62e7ea1806cc4559994a42ee907573 input files temporary
85c5df1https://github.com/cpmodel/FTT_StandAlone/pull/113/commits/85c5df16923d85d198ddb09475f1407e945d87fd masterfile formulas cleaned and gamma extraction code added
b2d7f0ehttps://github.com/cpmodel/FTT_StandAlone/pull/113/commits/b2d7f0e07ad40304748d595ff7dc81ed54dcd2ac gamma extract code extended
4967a0chttps://github.com/cpmodel/FTT_StandAlone/pull/113/commits/4967a0cca1b47b7e1bbaaf1587827376cc554286 finished gamma extract file and changes made to master2023
4915d3chttps://github.com/cpmodel/FTT_StandAlone/pull/113/commits/4915d3cbf0a34c905d9462746c521a93cd5aaeea Final save of gammas
4179fe1https://github.com/cpmodel/FTT_StandAlone/pull/113/commits/4179fe1bafb17318799735cb39a649d475e129e5 Update .gitignore
94f9a4ahttps://github.com/cpmodel/FTT_StandAlone/pull/113/commits/94f9a4a0c4b8daa7a8d7ea58be0f10578006161e Unnecessary code removed
0726d46https://github.com/cpmodel/FTT_StandAlone/pull/113/commits/0726d468f4b1b172023c9b1922f6d28ed45c89aa Change gitignore location
bfd6688https://github.com/cpmodel/FTT_StandAlone/pull/113/commits/bfd6688351dd653202a7a261901e021f1d8bada6 removal of new csvs for update check
1d9a6a9https://github.com/cpmodel/FTT_StandAlone/pull/113/commits/1d9a6a950e3ec14e4f67ae0e7cbbad77c46f44cc Resave of gitignore

File Changes
(8 fileshttps://github.com/cpmodel/FTT_StandAlone/pull/113/files)

M Inputs/.gitignorehttps://github.com/cpmodel/FTT_StandAlone/pull/113/files#diff-1b0f7a1b6e56ff86a50ef975d635fc627f62928cd306b9804d6a091664747e2e (2)
A Inputs/_MasterFiles/FTT-P/FTT-P-24x71_2023_S0.xlsxhttps://github.com/cpmodel/FTT_StandAlone/pull/113/files#diff-957e5c63fea074e2851ec1f56ff3633d3471b50d4bb70a25b7c832d631ef208e (0)
M Output/Gamma.jsonhttps://github.com/cpmodel/FTT_StandAlone/pull/113/files#diff-a2144573dc21e7fb816adeb1393f122504f9e8c67c66bc5dec420b1126cdfddb (2)
M SourceCode/Power/ftt_p_main.pyhttps://github.com/cpmodel/FTT_StandAlone/pull/113/files#diff-f6f195020d130035feffb2a1b4959eaa2871c0b77d3414bddc7255208e168c16 (17)
M SourceCode/support/convert_masterfiles_to_csv.pyhttps://github.com/cpmodel/FTT_StandAlone/pull/113/files#diff-c1a8e7d62e38dc80ff7203dfacc78098321bc8926a73c1ba80bbe134c3341139 (2)
M Utilities/titles/VariableListing.csvhttps://github.com/cpmodel/FTT_StandAlone/pull/113/files#diff-2f401df94acc02c6ebf5376a7db8c67578efcad26aac71534b81511e3b9aef8c (4)
A gam_pkl_extract_master_save.pyhttps://github.com/cpmodel/FTT_StandAlone/pull/113/files#diff-3e4ad07738bd7f8e081cdccbaab50dfa2b114c1e6a65e7e5c725919f40b77111 (135)
M settings.inihttps://github.com/cpmodel/FTT_StandAlone/pull/113/files#diff-f247846b0ab6c196467cd7e8e41027c7f27eb2b74b2e9a33d54c59a6fe9f00b0 (6)

Patch Links:

https://github.com/cpmodel/FTT_StandAlone/pull/113.patch
https://github.com/cpmodel/FTT_StandAlone/pull/113.diff

—
Reply to this email directly, view it on GitHubhttps://github.com/cpmodel/FTT_StandAlone/pull/113, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGHDII5FC4JGBWYKO5RZUV3Y4U2XHAVCNFSM6AAAAABGANNETOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZTKNJWGEZDSMI.
You are receiving this because your review was requested.Message ID: @.***>

Can you show a comparison with some key variables between the old and new model? Is this in the direction we're expecting the change. The key differences I expect are:

More gas globally. Prices are significantly less than before
Maybe less solar/wind? In this version, the error of when learning starts has been corrected.

S0_2022:

S0_2024:

S2_2024_global_shares

S2_2024_global_cap

S2_2024_LCOE_US

S2_2024_LCOE_CN

@ldxib2: why are solar prices in the US going down this suddenly (S0)? And why is the costs of offshore wind going up in the US and in China in the S2 scenarios? Is something going wrong with the capacity factor calculations? There are some less pronounced oddities in the old version too.

Issues with the S2 raise in price have been corrected. MEFI was being added in the LCOE script instead of subtracted. Hotfix was created to sort this in the main branch and here too. S2 graphs above are now obsolete. Cause of S0 drop in solar price is still to be determined

After mcsc hotfix comparison outputs
S0_2022_CN_LCOE

S0_2024_CN_LCOE

S0_2022_US_LCOE

S0_2024_US_LCOE

S0_2022_MEWW

S0_2024_MEWW

S0_2022_global_shares

S0_2024_global_shares

I see nothing worrying in these changes. Surprisingly little has changed after the model update. To make life easier for ourselves, we can choose to first figure out the differences between main and FORTRAN before merging the updated data.

I'll investigate model differences this week. Suspects are:

Electricity demand
The aforementioned potentials
Learning-by-doing applied to just CAPEX in the Fortran version

I've been comparing to 2022_baseline_update, which does have LBD in both CAPEX and OPEX. I also checked the capacity factors from the cost-supply curves: they're the same between the two model versions.

Unless I am missing something, the current version committed does run correctly. I am getting a silent model crash due to issues in 2022 as storage cost becoming NaN implying most likely a div zero error has occurred. Can someone please test checking out a clean version of this and confirm the same issue.
Specifically I see the issue in regions 56, 62-71.

This is due to empty cells for onshore and offshore wind power in 2022 in the master files for all regions. Something went wrong there when bringing over the new data.

I have just checked out this branch and I was able to run it even with the missing data. We don't have data for 2022 in this update as we stop at 2021. I checked the histend dates and they are fine too. Have you tried just filling the empty cells with random data, maybe copying from another masterfile just so there is something in there? I'm working on the belief it shouldn't change anything based on the 2021 histend

I have just checked out this branch and I was able to run it even with the missing data. We don't have data for 2022 in this update as we stop at 2021. I checked the histend dates and they are fine too. Have you tried just filling the empty cells with random data, maybe copying from another masterfile just so there is something in there? I'm working on the belief it shouldn't change anything based on the 2021 histend

When you ran this through, were you able to view results through to 2050? When I download this branch as it stands, it runs through to completion, but the results are NaN after 2022

The input function will read in the whole timeline and that's where the NaNs get included despite occurring after histend. Presumably, the variable is used somewhere before it is overwritten and this introduces NaNs everywhere else.

From: Jamie Pirie @.>
Sent: Wednesday, September 4, 2024 16:21
To: cpmodel/FTT_StandAlone @.>
Cc: Pim Vercoulen @.>; Review requested @.>
Subject: Re: [cpmodel/FTT_StandAlone] PR for Power Update for S0 (PR #113)
I have just checked out this branch and I was able to run it even with the missing data. We don't have data for 2022 in this update as we stop at 2021. I checked the histend dates and they are fine too. Have you tried just filling the empty cells with random data, maybe copying from another masterfile just so there is something in there? I'm working on the belief it shouldn't change anything based on the 2021 histend
When you ran this through, were you able to view results through to 2050? When I download this branch as it stands, it runs through to completion, but the results are NaN after 2022
—
Reply to this email directly, view it on GitHubhttps://github.com/cpmodel/FTT_StandAlone/pull/113#issuecomment-2329203906, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A45J7ETOXF7FCQTTWDNNFTLZU4JN3AVCNFSM6AAAAABGANNETOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRZGIYDGOJQGY.
You are receiving this because your review was requested.Message ID: @.***>

To follow up. Pim shared with me the earlier discussion that the issue I am having can be resolved by doing a manual update of the csv file by running SourceCode / support / convert_masterfiles_to_csv.py. I will review the output as it stands and if that is fine I will accept this update and then we look at the refresh of csv files once we have dealt with the rest of the FTT power update.

I ran the convert_csv_files.py first too. I believe that this file was updated on one of the other branches, maybe explore_differences_fttp? That update was designed to check if the input files need updating automatically based on when the last changes to the masterfile were. If I am right then when we accept this update, then bring in the alignment changes with the generic sales PR then it should be brought in

Overall, the version looks fine to me. There are a few calibration questions around uptake but we can resolve these in the new data update.
Only issue is I cannot approve the merge request due to the branch conflicts flagged by GitHub. Looks like these need to be handle via command line. Does anyone have any experience dealing with these conflicts like this?

you can do it from the command line or in the Github desktop manager also, it will just open the 2 versions of the document that the conflicts are on and highlight for you the difference between the HEAD branch and the incoming update from the branch you are merging. Then you choose or edit for each one, it's quite straight forward in the desktop. However, I'm unsure why some of the things are registered as conflicts as they seem like any other update

Can you

you can do it from the command line or in the Github desktop manager also, it will just open the 2 versions of the document that the conflicts are on and highlight for you the difference between the HEAD branch and the incoming update from the branch you are merging. Then you choose or edit for each one, it's quite straight forward in the desktop. However, I'm unsure why some of the things are registered as conflicts as they seem like any other update

Can you please then resolve these conflicts Ian so we can carry out the merge then?

If you're happy for me to do that then sure! I will have a look tomorrow.

Hi both, apologies for the delay. I wasn't able to resolve the conflicts with the main branch without actually merging and I assumed you final say on it and I'm not even sure I can as I'm not a registered reviewer. So I copied the current main branch to a new one, pr_merge_main_base, then merged it see the conflicts and resolve them. Here is a summary:
Conflicts:
get_exog - kept main version
gitignore - kept main version (includes REXX)
inititalise_csv - kept main version, no real changes
ftt_lcoe_p - kept main version, changes in PR seem uneccessary and maybe older? and assuming these will be overwritten in alignment changes
convert_csvs - taken incoming PR changes, appears more recent with extra conditions related to last edits of inputs
VariableListing.csv - hard to see conflicts due to being csv, but appears to just be updated histend for MEWG
We can either make a new PR for this new branch that should go straight into main, or if you want to complete this PR you can assign me as a reviewer and I can redo the changes assuming you are ok with them?
Let me know your thoughts. Cheers!

This is superseded by the new update


Add missing env var

Makes the telem vars more robust

Pull Request Test Coverage Report for Build 2857ac8930b0a193cca03d0746342593380d579d-PR-1309

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 67.583%

Totals

Change from base Build ec321c5619fadb84f98075752ff0446ab3eb2ac5:
0.0%

Covered Lines:
1328

Relevant Lines:
1965

💛  - Coveralls


Network usage is prohibited for themes

It appears that your theme uses network connections to load assets (e.g. fonts, icons, or images). This is prohibited by the official Obsidian developer policies because themes should function completely locally.
You can bundle an asset for local use by using data URLs. See this guide.
Please let us know if you have any questions. Any themes that use network connections will be removed from the official directory in the first week of January 2024.

The Obsidian team.

Hi @faroukx
We have noticed that you have not fixed this issue yet.
We have extended the deadline up to the 30th of february.
After that point, we will remove the theme from the community themes, if this issue is not fixed by then.

Hello, it's because I stopped using Obsidian, I will fix this right now for
the people who are using it, that's new to me.
On Thu, Jan 25, 2024 at 06:48 Johannes Theiner @.***>
wrote:

Hi @faroukx https://github.com/faroukx
We have noticed that you have not fixed this issue yet.
We have extended the deadline up to the 30th of february.
After that point, we will remove the theme from the community themes, if
this issue is not fixed by then.
—
Reply to this email directly, view it on GitHub
https://github.com/faroukx/Obsidian-shiba-inu-theme/issues/11#issuecomment-1910018402,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2B7ZNDDYIVKLZNNHFDVX7DYQJBA3AVCNFSM6AAAAAA7TK3FNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGAYTQNBQGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

May I know the assets I should remove please
On Thu, Jan 25, 2024 at 10:36 Farouk Saad @.***> wrote:

Hello, it's because I stopped using Obsidian, I will fix this right now
for the people who are using it, that's new to me.
On Thu, Jan 25, 2024 at 06:48 Johannes Theiner @.***>
wrote:

Hi @faroukx https://github.com/faroukx
We have noticed that you have not fixed this issue yet.
We have extended the deadline up to the 30th of february.
After that point, we will remove the theme from the community themes, if
this issue is not fixed by then.
—
Reply to this email directly, view it on GitHub
https://github.com/faroukx/Obsidian-shiba-inu-theme/issues/11#issuecomment-1910018402,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2B7ZNDDYIVKLZNNHFDVX7DYQJBA3AVCNFSM6AAAAAA7TK3FNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGAYTQNBQGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

@import url(https://faroukx.github.io/Obsidian-shiba-inu-theme/src/css/headers-fonts.css);@import url(https://faroukx.github.io/Obsidian-shiba-inu-theme/src/css/satoshi-font.css);

These need to replaced.

Hi Johannes,
I removed it, thanks for keeping the theme and sorry about that.
Le jeu. 25 janv. 2024 à 12:32, Johannes Theiner @.***>
a écrit :

@import @.*** url(https://faroukx.github.io/Obsidian-shiba-inu-theme/src/css/satoshi-font.css);
These need to replaced.
—
Reply to this email directly, view it on GitHub
https://github.com/faroukx/Obsidian-shiba-inu-theme/issues/11#issuecomment-1910677438,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2B7ZNELMZUXSC3XND7KXODYQKJKDAVCNFSM6AAAAAA7TK3FNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGY3TONBTHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


[GAE]  Decomposed GraphXFragment into graphx_vertex_map, graphx_csr for VertexRDD and EdgeRDD

As titled

[done] VertexRDD(graphx_vertex_map,  graphx_vertex_data)
[done] EdgeRDD(graphx_vertex_map, graphx_csr)
[Onging] GrapeVertexRDD: mapvertices, iterator, reverse
[Onging] GrapeEdgeRDD: mapVertices, iterator, reverse
[TODO] GrapeGraph


FileNotFoundError at /engagement/46/threatmodel/upload

Bug description
I've created an engagement and I want add a Threat Modeling document. When I tried it a receive this error
FileNotFoundError at /engagement/46/threatmodel/upload
Steps to reproduce
Steps to reproduce the behavior:

Go to 'Product'-->'Engagement-->Upload Threat Modeling
Upload any doc

*Expected behavior
Deployment method (select with an X)

[ ] Kubernetes
[X] Docker
[ ] setup.bash / legacy-setup.bash

Environment information

Operating System: [e.g. Ubuntu 18.04]
uname -a
Linux ubuntu 5.3.0-28-generic #30~18.04.1-Ubuntu SMP Fri Jan 17 06:14:09 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

DefectDojo Commit Message: [use git show -s --format="%h: %s [%ci]"]
0d64c07d: Merge pull request #1698 from madchap/fix-1653 [2020-01-14 16:15:14 -0600]

Sample scan files (optional)
If applicable, add sample scan files to help reproduce your problem.
Screenshots (optional)
If applicable, add screenshots to help explain your problem.

Console logs (optional)
If applicable, add console logs to help explain your problem.

Additional context (optional)
Add any other context about the problem here.
I would like debug with vscode but I don't know how I need configure de projects to do  it. If you have any guide to config it I will try to debug imself

I  found what is the problem
I'm working with docker version and when I tried tu upload file the file is upload into docker image django-defectdojo_uwsgi_1 that it doesn't have permition to copy

This is the same issue as with the finding images not working in docker-compose (release) mode.

we need to at least update the docs for 1.7.0

Actually, I don't think it is.
If you exec into uwsgi and do a mkdir /app/media/threat, then you can upload your model.
To upload images in finding, it seems to be it's looking into the nginx and not uwsgi?

Or not even getting uploaded to the right place?
Just dumping stuff here for later.
$ ls -l media/
1f71805a-c000-4860-b138-453b7056e69b.JPG  finding_images/
42553918-725c-4711-83b8-f15c74b26b3a.JPG  threat/
CACHE/


Bash Plugin does not load execute commands on k8s configuration.

Please review configuration and bash plugin to check commands are working. Even with correct configuration ops-tool does not find commands for community server.

Closing this ticket cause we found the problem with the configuration.


edit-survey-multimode

What and why?
How to test?
Trello

/deploy robinm3

/deploy robinm3

/deploy robinm3

 Multimode MvP - Creating and editing existing survey to add multimode

/deploy robinm3

/deploy robinm3

/deploy robinm3

/deploy wilkia


Problems not identified in string-comparison errors on PHPUnit 5.7

For my sins, I'm using an older version of PHPUnit. I've noticed that problems aren't always picked up.
Repo - working case
This output marks a problem correctly:
PHPUnit 5.7.27 by Sebastian Bergmann and contributors.

...F..........                                                    14 / 14 (100%)

Time: 652 ms, Memory: 8.00MB

There was 1 failure:

1) SilverStripe\Config\Tests\Transformer\YamlTransformerTest::testNoNameStatement
Failed asserting that false is true.

/Users/samminnee/Projects/silverstripe-config/tests/Transformer/YamlTransformerTest.php:183

FAILURES!
Tests: 14, Assertions: 23, Failures: 1.

Generating code coverage report in Clover XML format ... done
The terminal process "/bin/bash '-c', ''/Users/samminnee/Projects/silverstripe-config/vendor/bin/phpunit' --colors=always '/Users/samminnee/Projects/silverstripe-config/tests/Transformer/YamlTransformerTest.php''" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Outcome
The failure is linked as a problem
Repo - broken case
But this output does not:
> Executing task: '/Users/samminnee/Projects/silverstripe-config/vendor/bin/phpunit' --colors=always '/Users/samminnee/Projects/silverstripe-config/tests/Transformer/YamlTransformerTest.php' <

PHPUnit 5.7.27 by Sebastian Bergmann and contributors.

...F..........                                                    14 / 14 (100%)

Time: 734 ms, Memory: 8.00MB

There was 1 failure:

1) SilverStripe\Config\Tests\Transformer\YamlTransformerTest::testNoNameStatement
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'blahy'
+'blah'

/Users/samminnee/Projects/silverstripe-config/tests/Transformer/YamlTransformerTest.php:184

FAILURES!
Tests: 14, Assertions: 23, Failures: 1.

Generating code coverage report in Clover XML format ... done
The terminal process "/bin/bash '-c', ''/Users/samminnee/Projects/silverstripe-config/vendor/bin/phpunit' --colors=always '/Users/samminnee/Projects/silverstripe-config/tests/Transformer/YamlTransformerTest.php''" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

Outcome
No problems are linked
Expected outcome
The failure is linked as a problem

Thanks for the bug report, unfortunately I'm not super actively maintaining this so I can't support older versions. At least if it requires different problem matchers for different versions it sounds quite tricky to fix.
Perhaps the current problem matcher could be patched though. I'd happily accept a PR that works for both cases :)

I'll close this as I'll aim to only support later versions of phpunit and v5 is end of life https://phpunit.de/supported-versions.html


Query builder editor's autocomplete context awareness

I think we need an implementation of PostgreSQL lexer to be able to do this.


EDUROAM 802.1X (eduroam) support

will it be supported EDUROAM for University Campus?

Don't know what is EDUROAM, but working now on WPA Enterprise 802.1X

More info: It uses Protected EAP and MSCHAPv2.
It's more than itlwm needs to support that (easy since OpenBSD supports it).

I’m doing support based on Apple’s support, so the code that does the handshake in itlwm will be disabled. There is already everything in macOS, just needs to be correctly called.
Sent with GitHawk

Try alpha 4

I can't try it until AX support...

@Suzamax @mehmetyukcell Try this:
AirportItlwm.zip
I ported my patches to it.

@Suzamax @mehmetyukcell @KristFlex Try this:
AirportItlwm.zip
I ported my patches to it. Didn't test AX, but should work

which using Clover or L/E?

@mehmetyukcell If on Catalina, try with manual kextloading first:
sudo chown -R root:wheel AirportItlwm.kext
sudo chmod -R 755 AirportItlwm.kext
sudo kextutil AirportItlwm.kext

It won't load from Clover because IO80211Family is not in the prelinkedkernel, so you can install it to /L/E if it works or use OpenCore with SecureBoot enabled.
For Big Sur, manual kextloading should also be possible using sudo kmutil load --bundle-path AirportItlwm.kext, but the extension should be approved in Security prefpane, and on beta 6 it crashed. Haven't tested this way on beta 8 yet.

@Suzamax @mehmetyukcell @KristFlex Does it work?

@Suzamax @mehmetyukcell @KristFlex Does it work?

My system opencore Big Sur pub beta 1 and I used only airportitlwm.kext on the EFI. No connection. I have AirPort Extreme with intel 9560ac

How enabled OpenCore with SecureBoot?

@mehmetyukcell

Please collect the following logs when trying to connect:

sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport debug +AllUserland +AllDriver +AllVendor
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport logger

log stream --predicate 'sender="IO80211Family" or sender="eapolclient"'

and the following after trying to connect:
sudo dmesg | grep itlwm

and post the logs here.
2. For future, if you are attaching screenshots, please make them in English. (It isn't necessary to remake the existing screenshots, I've already read them with Google Translate).

Which kexts should I use? itlwm and airportitlwm? where should they inject? (Where should they be injected?)

Setting SecureBootModel to any valid value but Disabled is equivalent to Medium Security of Apple Secure Boot. is true?

@mehmetyukcell Only AirportItlwm. Either /Library/Extensions (but I didn't test it on Big Sur) or OpenCore EFI/OC/kexts.
Yes.

Why? Not readable disk?

my csrutil disable

sudo dmesg | grep itlwm

```shell
sudo dmesg | grep itlwm

Kext is not loaded, what are you trying to log then?

Why? Not readable disk?

What tool are you using? If you want to mount the system volume read-write, run sudo mount -uw / in Terminal.


There is no license information in the mod file

minecraft version 1.16.5
https://github.com/user-attachments/assets/abde0a91-ed7c-4e92-ab4b-c3503ab8cdc2

Hi, I think this is for a different mod? My mod does not have a 1.3 version, and does not work with 1.16.5


[Minor Bug] missing word "skip" in config.ini | ln126

Please tick all applicable boxes.

[ x ] I am using Python 3.5 or higher (run python --version on the command line)
[ ] I have followed the official guides to install the bot for my system
[ x ] I have updated my dependencies to the latest version using the appropriate update script

Which version are you using?

[ x ] The latest master version (1.9.7)
[ ] The latest review version

What type of issue are you creating?

[ x ] Bug
[ ] Feature request
[ ] Question

Description of issue
a word is missing.
example_options.ini | ln126
# Allows the person who queued a song to their OWN songs instantly, similar to the
>
# Allows the person who queued a song to skip their OWN songs instantly, similar to the

Already fixed, please see #1618

Note, you can also close your own issues you open


Unable to build on Mavericks

I'm running Xcode 5.0.1 on the latest Mavericks.
When doing a pod install I got the following:
kengrigsbysimac:MC2CocoaPodsSample-master kgrigsby$ pod install
Analyzing dependencies
Downloading dependencies
Installing FXKeychain (1.4)
Installing GTMHTTPFetcher (0.0.1)
Installing MailCore2 (0.3.pre1)
Installing SBJson (3.2)
Installing ctemplate (2.2.1)
Installing gtm-oauth2 (0.0.2)
Installing icu4c (51.2)
Installing libetpan (1.3.pre2)
Installing libsasl2 (2.1.25)
Installing tidy-html5 (0.0.1)
configure: error: in `/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/ctemplate':
configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
make: *** No rule to make target `src/htmlparser/htmlparser_fsm.h'.  Stop.
make: *** No rule to make target `src/htmlparser/jsparser_fsm.h'.  Stop.
configure: error: in `/Users/kgrigsby/Desktop/MC2CocoaPodsSample-master/Pods/icu4c/source':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.  Stop.
make: *** No rule to make target `install-headers'.   From now on use `MC2CocoaPodsSample.xcworkspace`.

[!] [libsasl2 (2.1.25)] The pre install hook of the specification DSL has been deprecated, use the `resource_bundles` or the `prepare_command` attributes.

[!] [ctemplate (2.2.1)] The pre install hook of the specification DSL has been deprecated, use the `resource_bundles` or the `prepare_command` attributes.

[!] [icu4c (51.2)] The pre install hook of the specification DSL has been deprecated, use the `resource_bundles` or the `prepare_command` attributes.

I was able to compile and run the sample using Xcode 6.2 on latest Mavericks. However, when I open the storyboard, xcode hangs (have to force kill).


(feat) add inline snapshot

Having the assertion separate from the test makes it less likely to be reviewed and makes it harder to align assertion value and test.
Describe the solution you'd like
To implement toMatchInlineSnapshot like jest.
Jest implementation: https://github.com/facebook/jest/commit/d3a6a7400a89b857a63d939fc5664ae8a2dfbbb2#diff-5d8368ae467702f37535e03f31a2ed96
It seems doable from a cursory look. I would follow the jest approach, requiring prettier if it’s used. I’m interested in implementing this myself, just raising this in case you have objections or suggestions.

jest captures the stack on calling toMatchInlineSnapshot and then matches up the ast based on the callsite column and line.
There are some challenges doing this with cypress:

the call is async. We'd need to monket patch cypress so the stack trace comes from the sync part of the call rather than being called once async dependencies are fetched. This could be worked around I think, maybe a bit like this: https://github.com/cypress-io/cypress/issues/881#issuecomment-485235225
the source is transformed. Unfortunately theres no way to get the sourcemapping right now, so we are dependent on this issue being resolved first: https://github.com/cypress-io/cypress/pull/4041

so, I think a workable approach would be to use the test title and the order of the calls to determine the right call to make. This is more limiting, but in practice I can't think of any problems - for instance if you have a forEach around the test and dynamically create the test - this currently works in jest, but it opts out if the same call site is used more than twice - so in practice it only works if the dynamic test name is created only once. The same for abstracted functions - they work but only if called once. So I do not think the limitations are too bad - it would work for me.

Now that https://github.com/cypress-io/cypress/pull/4041 is merged, is it technically possible to implement this?

This would be a long awaited feature for us.


indicate route membership with shadow

P2 does this:

@samanpwbb what do you think? Useful?

I think there is an important feature missing here.
Potlatch2 is capable of highlighting ways which are members of routes on the map (without selecting anything). This is very helpful to see where route relations are "hidden". It is also possible to distinguish different types of route relations by different color highlighting.
It is probably necessary to switch the highlighting of different types of relations on and off in the sidebar, similar to the "Map Features" checkboxes. Most users will be focusing on one type of relations, e.g. when I am mapping hiking routes, I am not interested in seeing turn restrictions or public transportation.
The default should probably be "off" as new users are ususally not yet familiar with relations and would be confused by the additional highlighting.

In my fork I did a basic implementation of the behaviour possible in P2:

membership of ways in hiking relations (foot or hiking) is translated in an attribute route-hiking on lines
such lines are marked with a white semi-transparent highlight shadow unless selected or hovered upon, then the original selection shadow is used
horse routes are similarly highlighted with a bluish shadow
This makes it easy to note the presence of hiking relations and follow their turns.
You can try it out on www.wanderreitkarte.de. My implementation statically supports two route relations to match the focus of my fork, for the iD master it probably should be user-configurable which routes are of interest.

I'll probably do something stylistically similar to what I just added in #4768 in the Turn Restriction editor.
It's not hard, but we need to render another stroke and add some design elements so that users can easily identify them - either by hovering on relations in the sidebar or when one is selected.

(Going to tag this as a priority item)

I think there are two sides to this issue

showing the associated members of a particular relation when selected or hovering, as shown above
always marking all members of all instances of a type of route relation even if nothing is hovering/selected. E.g. all foot/hiking route relations. This is very helpful to understand routes.

Do you also plan a statical highlighting of the different route types?

Do you also plan a statical highlighting of the different route types?

Not sure what you mean by this, but probably yes.


does not work with angularjs

it is good idea to not use big fat jquery for small bootstrap event for performance issue...I thought to use  this small code to acheive this..but it does not work in angular..I guess ...will use ui-bootstrap for that.

I had a user saying same thing for my bootstrap.native project. I believe you forgot to link the bootstrap-without-jquery.js in the footer.

@thednp ..it work..but in some situation id does not work..e.g when dropdown is direclty in page, and page is loaded then it work..but if dropdown is being loaded from different partial using ng-include then it does not work...i guess it is because, code is trying to set event listener for dropdown but include-document has not yet loaded the dropdown..with some hack(using event listner $includeContentLoaded), it worked...Anyway its really nice little addition that i will use for some other project.

for any additional after domContentLoaded() you need to initiate the dropdown, and any other script. I mean these lines

ok. This way works.


RN upgrade along with new arch support for test app

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

As we discussed in the meeting, let move this to a new feature branch and create a brand new architecture sample app along with this updated sample app in the repo.


Extract TLVs from Proxy Protocol v2 and save it in dynamic metadata to be consumed by other filters

Issue Template
Title: Extract TLVs from Proxy Protocol v2 and save it in dynamic metadata to be consumed by other filters.
Description:
In Proxy Protocol v2 important information can be arranged in Type-Length-Value (TLV) format [1] and placed in the Proxy Protocol header. Information such as VPC endpoint [2] in TLVs could be useful by other filters.
Currently TLVs are read and discarded in the Proxy Protocol filter [3]. I would like to extend the Proxy Protocol Listener filter to extract TLVs of interest and save them as metadata which can be consumed by other filters.
My questions are:

Is there any on-going or planned work on the same issue?
It seems "setDynamicMetadata" is not available yet in Proxy Protocol filter, likely because the connection has not been created yet. Wondering is there any guideline and suggestions on how to bridge that gap?

Many thanks in advance!
Song
[optional Relevant Links:]
[1] https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt
[2] https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#proxy-protocol
[3] https://github.com/envoyproxy/envoy/blob/master/source/extensions/filters/listener/proxy_protocol/proxy_protocol.cc#L234-L256

Sounds reasonable. I'm not aware of any ongoing or planned work on the same issue. re 2. you might have to change the connection handling part to allow listener filters to emit metadata.

Hi lizan,
Thanks for the suggestion. I will look into the connection handling. I should come back with a pull request for review soon.
Have a great weekend.
Song


Multiple DNS names

It would be nice to define multiple DNS names, e.g. example.com & example.org.
jwilder/nginx-proxy uses commas to separate multiple values. Maybe this is an option: ingress.dnsname=example.com,example.org.

Good idea, I don't think that would be too hard to implement either.

Needs more work as this seemed to introduce some instability.

+1
mysite.com, www.mysite.com, https://mysite.com, https://www.mysite.com

+1 for above @pascalandy

OK, I'm still looking into a nice way to implement this. It would be easy to create using extra DNS names with a single certificate, which is fine if you can use alternate names with your certificates. If you want to use www.example.com, something.example.com and example.com where something.example.com has a different certificate however, then it becomes a lot more complicated.

One certificate with alternative common names is fine, but extra DNS names like www.example.com and example.com are a must-have. Big Thanks!

@tpbowden  does this work with subdomain like xxxx.subdomain.com ?
i have issue, its not able to resolve it

It currently works with any resolvable DNS name, it uses the hostname to decide which service to load but currently only allows 1 hostname per service.

@tpbowden  thanks for the reply :) I appreciate it
I don't know if i am doing this correct but this isn't working for subdomain
do i need to insert the subdomain info in /etc/hosts in all the nodes ? or is it required actually ?
I used below command
i have three manager nodes and 12 worker nodes total
in the Manager which is leader i am issuing the below command (after creating routers and things)
docker service create --name cis-test --constraint 'node.role != manager' --label ingress=true --label ingress.dnsname=cis-test.xxxxxx.com --label ingress.targetport=80 --network frontends nginx:stab
le-alpine
but the page isn't resolving when i open browser and give this address cis-test.xxxxxx.com
can you please help me
Thanks in advance

You should only need the hosts entry pointing to the IP of any of your nodes on the machine you are making the request from. What error are you seeing in the browser?

@tpbowden
Finally!!  i got it working :) well it seems i need to specify --publish :80 for nginx:stable-alpine << image
else it isn't working the browser doesn't even load.
Thanks @tpbowden  its finally working :D
Thanks for your hard work

That doesn't seem right - the router service should be on the same network as nginx so no ports need to be published by your services.

umm weird but without publishing this isn't working for me atleast

What's your docker version? will try to reproduce

OS: CentOS-7
[sdasyam@manager1 sdasyam]# docker version
Client:
Version:      1.12.2
API version:  1.24
Go version:   go1.6.3
Git commit:   bb80604
Built:
OS/Arch:      linux/amd64
Server:
Version:      1.12.2
API version:  1.24
Go version:   go1.6.3
Git commit:   bb80604
Built:
OS/Arch:      linux/amd64
[sdasyam@manager1 sdasyam]# docker node ls
ID                           HOSTNAME           STATUS  AVAILABILITY  MANAGER STATUS
0d49wiumo84drezsrdzbb4o1g    worker1_london     Ready   Active
2kt2uarhwbr3a7qef42wd6rgb    manager3_germany   Ready   Active        Reachable
4ymk50y5drjfsmrku4texashpqun worker3_texas      Ready   Active
5mrv2uspn3c77lzownmrefg8q    worker4_london     Ready   Active
7ejb9k01w40jt1310pea2rgb9    worker4_texas      Ready   Active
905a1vwsqfc0gkmqb7huqlo4x    worker2_germany    Ready   Active
a5fptyzpkbygmlxi48kv3xvu9    worker3_london     Ready   Active
aiyj11lvn1jzop9m4r2t83147 *  manager1_london    Ready   Active        Reachable
b70vrjg6lxcuvux9rt2exyjgs    manager2_texas     Ready   Active        Leader
bdgbiwt2pw0ckoe7yfdezvpes    worker3_germany    Ready   Active
c6nxnafdf4cmdupzk1f7vqgee    worker1_germany    Ready   Active
caibw8hnnlugav4ea4644ruws    worker1_texas      Ready   Active
cq5c6sls8btdqj6ijzlkz8unj    worker2_texas      Ready   Active
dorlqx5m7rdi9texas4jq378tvy4 worker2_london     Ready   Active
ezmjh8ga0r9y6dpktolkhtyfj    worker4_germany    Ready   Active


feature request - null-conditional operator '?'

Scenario
I have an Invoice Class with a property Customer like this:
export class Invoice {
    // [...]
    public Customer: Customer | null | undefined;
    // [...]
}
export class Customer {
    // [...]
    public MainContact: Contact | null | undefined;
    // [...]
}
export class Contact {
    // [...]
    public Name: string;
    // [...]
}

To get the Invoice.Customer.MainContact.Name I need to write something like this:
//
function GetCliDesc(invoice: Invoice | null | undefined): string | null {
   return (invoice ?
      invoice.Customer ?
         invoice.Customer.MainContact ?
            invoice.Customer.MainContact.Name
   : undefined : undefined : undefined);
}

Proposal:
c# like null-conditional operator ?:
function GetCliDesc(invoice: Invoice | null | undefined) {
   return invoice?.Customer?.Contact?.Name;
}
// inferred return type is T | undefined
// where T is the type of last property in the chain:
function GetCliDesc(invoice: Invoice | null | undefined): string | undefined {
   return invoice?.Customer?.Contact?.Name; // ok
}
function GetCliDesc(invoice: Invoice | null | undefined): string | null {
   return invoice?.Customer?.Contact?.Name; // error with --strictNullChecks true
}
function GetCliDesc(invoice: Invoice | null | undefined): string {
   return invoice?.Customer?.Contact?.Name; // error with --strictNullChecks true
}
function GetCliDesc(invoice: Invoice | null | undefined): string {
   return invoice?.Customer?.Contact?.Name || ""; // ok
}

console.log(GetCliDesc(null)) // undefined
console.log(GetCliDesc({})) // undefined
console.log(GetCliDesc({ Customer: null })) // undefined
console.log(GetCliDesc({ Customer: {} })) // undefined
console.log(GetCliDesc({ Customer: { MainContact: null } })) // undefined
console.log(GetCliDesc({ Customer: { MainContact: {} } })) // undefined
console.log(GetCliDesc({ Customer: { MainContact: { Name: "Jhon Wick" } } })) // "Jhon Wick"

let a: string = invoice?.Customer?.Contact?.Name; // error type 'string | null' is not assignable to type 'string'
let a: string = GetCliDesc(); // error type 'string | null' is not assignable to type 'string'

let firstName = "Jhon Wick";
console.log(firstName?.length) // 9
let firstName = "";
console.log(firstName?.length) // 0
let firstName = null;
console.log(firstName?.length) // undefined
let firstName = undefined;
console.log(firstName?.length) // undefined

the translated javascript can be something like this:
function GetCliDesc(invoice) {
   return (invoice !== undefined && invoice !== null) ?
        (invoice.Customer !== undefined && invoice.Customer !== null) ?
             (invoice.Customer.MainContact !== undefined && invoice.Customer.MainContact !== null) ?
                  invoice.Customer.MainContact.Name
                  : undefined
             : undefined
        : undefined;
}
var a = (invoice !== undefined && invoice !== null) ?
        (invoice.Customer !== undefined && invoice.Customer !== null) ?
             (invoice.Customer.MainContact !== undefined && invoice.Customer.MainContact !== null) ?
                  invoice.Customer.MainContact.Name
                  : undefined
             : undefined
        : undefined;

Suggest that you refer to the operator as the ?. operator. Or would you include like mightBeFunction?() in this proposal?

I think mightBeFunction?() can be and interesting case

another case can be this:
let dictionary: { [key:string]: Function } = {};
function myfunc(p: string): Function | undefined {
   return dictionary[p];
}
let a = myfunc(p1)?(p2);

Fair enough. Probably worth including in the proposal then, though. And I guess ?[ could also be a thing.
To me, if you have value: A | null | undefined, value?.prop should have the following mapping: (value: A) => A['prop'], (value: null) => null, (value: undefined) => undefined. Your description would have it always map to undefined, though, as far as I can tell. Checking for null vs. undefined does complicate the JavaScript output, but at least in my project, null values becoming undefined could potentially be seen as a code smell—I could see my team avoiding the use of this kind of operator for that reason. Thoughts?

A null propagation operator is a proposed Ecmascript feature. Typescript tries not to propose new syntax. Fortunately, it looks like it advanced to Stage 1 at the January meeting. Typescript implements Ecmascript standard features when they reach stage 3. In the meantime, discussion of how to type this operator happens at #16.


PlatformTarget AnyCPU causes SQLite invocation to fail with cryptic error

I have a .NET core console application which references a netstandard1.4 class library containing a dbContext. My console application creates a new ServiceCollection and adds the necessary references as detailed here:
var services = new ServiceCollection();
            services.AddOptions();
            services.AddSingleton(_configuration);
            services.AddLogging();
            services.AddEntityFramework();
            var connectionString =
                    new Microsoft.Data.Sqlite.SqliteConnectionStringBuilder { DataSource = "etoDataMgr.db" }.ToString();
                services.AddDbContext<LocalDataContext>(o => o.UseSqlite(connectionString));

As long as I specify x64 or x86 as the platform target, my application runs fine. If I set the target to AnyCPU, an exception is thrown during the call to 'Database.EnsureCreated()' of my DbContext.
If the SQLite provider requires an explicit target for x86 and x64, then the error message for 'AnyCPU' is pretty cryptic, and not terribly helpful in tracking down the problem.
The exception is:
Exception message:
Unable to load DLL 'sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Stack Trace:
   at Microsoft.Data.Sqlite.Interop.NativeMethods.Sqlite3_sqlite3.sqlite3_open_v2(IntPtr filename, Sqlite3Handle& ppDb, Int32 flags, IntPtr vfs)
   at Microsoft.Data.Sqlite.Interop.NativeMethods.sqlite3_open_v2(String filename, Sqlite3Handle& ppDb, Int32 flags, String vfs)
   at Microsoft.Data.Sqlite.SqliteConnection.Open()
   at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open()
   at Microsoft.EntityFrameworkCore.Storage.Internal.SqliteRelationalConnection.Open()
   at Microsoft.EntityFrameworkCore.Storage.Internal.SqliteDatabaseCreator.Exists()
   at Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreator.EnsureCreated()
   at Omni.EtoDataMgr.Data.LocalDataContext..ctor(DbContextOptions dbContextOptions)

Steps to reproduce
Specify 'AnyCPU' as the platform target.
Further technical details
EF Core version: 1.1.2
Database Provider: Microsoft.EntityFrameworkCore.Sqlite 1.1.2
Operating system: Windows 10 Pro x64
IDE: Visual Studio 2017

I've seen this too. At some point, I think the SQLite NuGet Package stopped working with AnyCPU projects. You could try downgrading that package to see if it works with an older one.

It's supposed to copy both versions of the dll to the output directory: x86\sqlite3.dll and x64\sqlite3.dll.

This issue was moved to aspnet/Microsoft.Data.Sqlite#393

The issue is in the third-party SQLite package. natemcmaster/libsqlite3-package contains the logic for building it.


Connection page does not handle UTF-8 charaters in account name

Issue Type: Bug
Create a Azure Account with a foreign charaters in it
Login with that account name in Windows
Connect to a database in Azure Using Active Directoy MFA.
As you can see in the screen shoot, the correct foreign character is not displayed. In this case it is a "ö"

Azure Data Studio version: azuredatastudio 1.25.1 (e7eacc32c0d20bd4da843320c3bfac231b308c98, 2020-12-11T01:59:24.271Z)
OS version: Windows_NT x64 10.0.19042

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 x 2592)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.75GB (16.56GB free)

Process Argv

Screen Reader
no

VM
0%

Please verify that the fix for this issue also fixes the account name being displayed elsewhere in the UI, such as is described in https://github.com/microsoft/azuredatastudio/issues/16829.  Thanks!

Hi @kburtram
UTF-8 characters in the subscription name works but the the logged in account name in the UI is still wrong:
I'm using a AAD name containing foreign characters.

This issue has been addressed in latest v1.40.1, with PR #21070
Closing as resolved.


[ALLUXIO-1785] Improve exception handling in AbstractFileSystem

PHAL

Can one of the admins verify this patch?

Thanks for the PR @YunLi1988! Do you mind adding a link to the JIRA ticket in the description field for the pull request? See http://alluxio.org/documentation/master/en/Contributing-to-Alluxio.html#submitting-code

ok to test

Have already tested it before its commit.
On Mon, Mar 21, 2016 at 7:13 PM, Andrew Audibert<EMAIL_ADDRESS>wrote:

ok to test
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Alluxio/alluxio/pull/2888#issuecomment-199551948

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8977/
Test PASSed.

@YunLi1988 sorry, I was saying "ok to test" to trigger AmplabJenkins to run the build. Can you add a link to the JIRA ticket?

got it. what do you mean by line to jira ticket?
https://alluxio.atlassian.net/browse/ALLUXIO-1785?filter=-1 is the link to
that issue.
Best,
Yun
On Mon, Mar 21, 2016 at 7:36 PM, Andrew Audibert<EMAIL_ADDRESS>wrote:

@YunLi1988 https://github.com/YunLi1988 sorry, I was saying "ok to
test" to trigger AmplabJenkins to run the build. Can you add a link to the
JIRA ticket?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Alluxio/alluxio/pull/2888#issuecomment-199560526

Yea, like the JIRA links at the top of https://github.com/Alluxio/alluxio/pull/2883 or https://github.com/Alluxio/alluxio/pull/2885. There is a bot which looks for these links and automatically updates the JIRA ticket based on the status of the pull request.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/8978/
Test PASSed.

Merged build finished. Test PASSed.

+1 LGTM

like the one added here https://github.com/Alluxio/alluxio/pull/2888?
Best,
Yun
On Mon, Mar 21, 2016 at 7:44 PM, Andrew Audibert<EMAIL_ADDRESS>wrote:

Yea, like the JIRA links at the top of #2883
https://github.com/Alluxio/alluxio/pull/2883 or #2885
https://github.com/Alluxio/alluxio/pull/2885. There is a bot which
looks for these links and automatically updates the JIRA ticket based on
the status of the pull request.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Alluxio/alluxio/pull/2888#issuecomment-199563422

cool. Thanks!
On Mon, Mar 21, 2016 at 7:52 PM, Andrew Audibert<EMAIL_ADDRESS>wrote:

Merged #2888 https://github.com/Alluxio/alluxio/pull/2888.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Alluxio/alluxio/pull/2888#event-598013723


bug: Your plugin loading dracula theme incorectly and don't load all colours

Did you check docs and existing issues?

[X] I have read all the lazy.nvim docs
[X] I have searched the existing issues of lazy.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.8.3 Build type: Release LuaJIT 2.1.0-beta3 Compiled by builduser
Operating system/version
arch linux
Describe the bug
It just didn't showing some colors and changing normal colours
Steps To Reproduce
1 install dracula theme and lspkind,lspsaga,cmp,lspconfig and any lsp server and check the colors.
2 compare colors using packer and lazy
Expected Behavior
PLEASE FIX IT!!! THESE IS NOT MY FIRST ISSUE
Repro
No response

perhaps this time you should provide a minimal repro


Stuck on Waiting for Proxy....

wont get pass waiting for proxy

This is problem with glitch.me service we are using for free, it is normal that it is not working from time to time ;)


visulization problem

Hi, author.
Now I am using your visualization script tp visualize occupancy result, but one problem is that the view of the result is wrong, it looks like this:

It's totally different from your post in this repo
Do you have any ideas about this problem?
By the way, my environment is
open3d                        0.17.0
PyYAML                        5.3.1
torch                         1.10.0+cu111
torchaudio                    0.10.0+rocm4.1
torchpack                     0.3.1
torchvision                   0.11.0+cu111
mmcv-full                     1.5.3
mmdeploy                      0.9.0
mmdet                         2.25.1
mmdet3d                       1.0.0rc4
mmsegmentation                0.25.0

seem like it is under bev view, but I don't know how to transfer this view into the view in what your repo shows

You can try lowering the open3d version, like 0.13.0.

Thanks for for your reply, I solved this problem by using open3d 0.16.0, the result looks like this

but one more problem is that
I feel that this image looks a bit rough. Do you know how to make it look more refined？
Thanks

Sorry, I have not explored this question either, you can try it and share it .


I am looking forward to your released code.

Hi, Thank you for your outstanding work.
Have you trying using your model to do stereo matching task at rainy days at public stereo dataset like SceneFlow and KITTI.
If you are insterested in it, I am glad to seek for a corporation.

Thank you very much for your comments. I welcome and you may further contact me with my email.

您好，邮件已收到。感谢来信 ，我会尽快回复您。  Hello, I have already received the letter. Thanks for your mailing, I will reply as soon as possible.  こんにちは！確かご電子メールをもらいました。私はできるだけ早くあなたに返事を出します。

您好，邮件已收到。感谢来信 ，我会尽快回复您。  Hello, I have already received the letter. Thanks for your mailing, I will reply as soon as possible.  こんにちは！確かご電子メールをもらいました。私はできるだけ早くあなたに返事を出します。


Let the terminal wrap the lines

I'm on this version(the details don't matter)
newsboat 2.21.0

Steps to reproduce the issue:

Open an article, then change the geometry of the terminal

The geometry of the article stays fixed. Stuff get cropped or stay wrapped at the old geometry.

Other info you think is relevant:
in the manual for "text-width", it sais:
           If set to a number greater than 0, all HTML will be rendered to
           this maximum line length or the terminal width (whichever is
           smaller).

It should NOT be rendered to the width of the terminal. The terminal should deal with it in that situation.
Strictly speaking, it works fine as it is, but in practice this interferes with features of the terminal. It doesn't recognize links properly that it may be able to open in a browser with the mouse or copy it to the clipboard or just display them differently. If you resize the terminal or toggle fullscreen what's displayed gets messed up. Probably more...

it's better to label something like this as "won't fix", for others searching the issues.
It's not possible to make a partial work around with redrawing the screen? You manually trigger the redraw. It doesn't seem to currently be doing a complete redraw, the geometry seams fixed (or i misunderstood ^L). Yea, this will not fix the url detection.

It's more like "can't fix", but yeah, let's add that :)
^L is for redrawing the screen. It doesn't involve any other updates. It exists merely to fix occasional drawing issues when ncurses misunderstands the screen state and produces garbage.
If you want article to be re-flown to the new width as you resize the terminal, you should upgrade to 2.22, because I believe that's when this was implemented.


mac-wallet owner rest API init_send_tx failed

Command used:
curl -u mwc:JjbqaBqczSe7I0xlLJuR --request POST --data-raw '{"jsonrpc":"2.0","method":"init_send_tx","params": { "args": {"src_acct_name":null,"amount":"600","minium_confirmations":2,"max_outputs":500,"num_change_outputs":1,"selection_strategy_is_use_all":true,"message":"my message","target_slate_vesion":null, "payment_proof_recipient_address":"xmgJ11o4rR7jEhUTz2GDrScYoGXtSGB462REcn1egiK7D5Wucgqn","ttl_blocks":null,"send_args":{"method":"mwcmqs","dest":"xmgJ11o4rR7jEhUTz2GDrScYoGXtSGB462REcn1egiK7D5Wucgqn","apisecret":null,"finalize":true,"post_tx":true,"fluff":false},"address":null,"estimate_only":false }}, "id":"curltext"}' http://<IP_ADDRESS>:3420/v2/owner -v
or:
curl -u mwc:JjbqaBqczSe7I0xlLJuR --request POST --data-raw '{"jsonrpc":"2.0","method":"init_send_tx","params": { "args": {"src_acct_name":null,"amount":"600","minium_confirmations":2,"max_outputs":500,"num_change_outputs":1,"selection_strategy_is_use_all":true,"message":"my message","target_slate_vesion":null, "payment_proof_recipient_address":null,"ttl_blocks":null,"send_args":{"method":"mwcmqs","dest":"xmgJ11o4rR7jEhUTz2GDrScYoGXtSGB462REcn1egiK7D5Wucgqn","apisecret":null,"finalize":true,"post_tx":true,"fluff":false},"address":null,"estimate_only":false }}, "id":"curltext"}' http://<IP_ADDRESS>:3420/v2/owner -v
Error: TxLogEntry with original proof info not found (is account correct?)
wallet_data.zip

Hi @yyangli
Currently it fails on signature verification step
mwc-wallet/libwallet/src/internal/tx.rs
fn verify_slate_payment_proof
crypto::verify_signature(&msg, &signature, &receiver_pubkey)
.map_err(|e| ErrorKind::TxProofVerifySignature(format!("{}", e)))?;
crypto::verify_signature return that signature doesn't match the message and public key.
I believe original problem is solved, so it is what you working on now.
Assigning back to you

This should have been fixed with the complete of proof feature.


Could you explain the output data meaning?

The point is that the model works fast but bpd_cuda.forward call takes a large amount of time so the question is:
what output data is and can I not to call bpd_cuda.forward to get data about segments?
Also is the network orientied for specific domain image content?
Cause for my test images it results bad.
Original image

Visualization grid

root

super_BPDs

super_BPDs_before_dilation

super_BPDs_after_dilation

my code to inference single image:
model = VGG16()
model.load_state_dict(torch.load('/home/algernone/git_projects/Super-BPD/saved/PascalContext_400000.pth'))

model.eval()
model.cuda()

image_path = '/home/algernone/test_imgs/716c971s-960.jpg'
image = cv2.imread(image_path, 1)
src_img = image.copy()
height, width = image.shape[:2]
image = image.astype(np.float32)
image -= IMAGE_MEAN
image = image.transpose(2, 0, 1)
image = image[np.newaxis]
image = torch.from_numpy(image)

tik = time()
pred_flux = model(image.cuda())
flux = pred_flux.data[0, ...]

vis_flux(src_img, flux)

angles = torch.atan2(flux[1,...], flux[0,...])
angles[angles < 0] += 2*math.pi

height, width = angles.shape

# unit: degree
# theta_a, theta_l, theta_s, S_o, 45, 116, 68, 5
results = bpd_cuda.forward(angles, height, width, 45, 116, 68, 5)
root_points, super_BPDs_before_dilation, super_BPDs_after_dilation, super_BPDs = results

root_points = root_points.cpu().numpy()
super_BPDs_before_dilation = super_BPDs_before_dilation.cpu().numpy()
super_BPDs_after_dilation = super_BPDs_after_dilation.cpu().numpy()
super_BPDs = super_BPDs.cpu().numpy()

cv2.imwrite('root.png', 255*(root_points > 0))
cv2.imwrite('super_BPDs.png', label2color(super_BPDs))
cv2.imwrite('super_BPDs_before_dilation.png', label2color(super_BPDs_before_dilation))
cv2.imwrite('super_BPDs_after_dilation.png', label2color(super_BPDs_after_dilation))

Can you tell me your detailed training strategy?  the first time bpd_cuda runs may be slower.

You may need to retrain BPD on your own dataset. There is  a gap between the pictures in the PascalContext dataset and the ones you provided above.


Config.changelog set to false, still writes CHANGELOG.MD files after exiting prerelease

Affected Packages
As far as I can tell the logic of this is in @changesets/apply-release-plan.
Problem
We have recently switched to changesets in our monorepo (very happy with it!) but we don't want to use the changelog feature (yet).
I've set "changelog": false in our .changeset/config.json.  This is the full config:
{
  "$schema": "https://unpkg.com/<EMAIL_ADDRESS>  "changelog": false,
  "commit": false,
  "fixed": [["@objectiv/*"]],
  "linked": [],
  "access": "public",
  "baseBranch": "main",
  "updateInternalDependencies": "patch",
  "ignore": []
}

When I exit a prerelease and run yarn changeset version to apply my changesets, I also end up with changelog files being created in all the packages of the monorepo. I am not sure if this happens also without pre, I haven't tested that, as we only do prerelease flows.
Some superficial investigation
From a quick check on the source code it seems the getNewChangelogEntry function correctly checks whether changelogs have been disabled to skip some initial logic, but then proceeds to return a list of packages with changelogs anyway.
Later in the code, the bit of code that processes the list of finalisedRelease entries doesn't check the config either. Instead it validates the presence of the changelog attribute. E.g. changelog && changelog.length > 0.
Unless I am completely off (I only spent a few minutes reading the code), since finalisedRelease is partially based on the output of getNewChangelogEntry, I'd guess that most probably the changelog attribute is always present and filled with something.
It's not a big deal for us, we can run a find and delete the changelogs before committing. That said, I think quite a bit of logic runs to process changelogs and it could be entirely skipped when that setting is set to false.
Proposed solution
Would be really cool if setting changelog to false in the config.json would result in no changelogs being generated at all, just package.json updates.
A quick fix could be to either skip getNewChangelogEntry when config.changelog is false, or double check whether changelogs have been disabled when processing the list of finalisedRelease and skip the changelog logic there.
I'd be very happy to try and fix this up, or test it if necessary.

I've checked the PR that introduced schema.json and it seems that false was always a valid value there:
https://github.com/changesets/changesets/pull/132/files#diff-d3013abc54530a5bedc30c2f340c829e5dc49923a70bdf4cc469180bf047cb38R18-R21
Types added as part of this PR also suggest so:
https://github.com/changesets/changesets/pull/132/files#diff-e71f2026e90f1ed0c00f8711eb855f0a8810f33dbf1491f5da9c97cdd513e5b4R64
and even more so the getNormalisedChangelogOption function from this PR:
https://github.com/changesets/changesets/pull/132/files#diff-2eafc75a9015704b121dff9585728616f562e1625da9a53e44a86cacb94ae619R16-R21
The validation error message doesn't specify it as allowed though:
https://github.com/changesets/changesets/pull/132/files#diff-2eafc75a9015704b121dff9585728616f562e1625da9a53e44a86cacb94ae619R48-R54
The same~ message is still in the codebase now and thus it should be adjusted to make it clear that false is also a valid option.
Since this PR only declares the new config shape etc but doesn't really implement any features I've also rechecked the code at its point in time and it seems that back then there was an updateChangelog option to control what you want:
https://github.com/changesets/changesets/blob/0e817909ce15df6d2a1586f4e6ab6f8ab4097d3b/packages/cli/src/commands/bump/index.js#L59-L68
This makes me believe that the original intention to allow false was to, in fact, turn off the changelog generation.
By digging a little bit deeper we can also see that at some point with the new config it was working as intended because the "default" getChangelogFunc was returning an empty string:
https://github.com/changesets/changesets/blob/93ca916fcc1f27a3c5bf9f857983021d5732616e/packages/apply-release-plan/src/index.ts#L130
and because it stayed used when config.changelog === false then the CHANGELOG files were never getting updated here:
https://github.com/changesets/changesets/blob/93ca916fcc1f27a3c5bf9f857983021d5732616e/packages/apply-release-plan/src/index.ts#L87-L90
So this has accidentally regressed in this PR when getChangelogFunc became getChangelogFuncs:
https://github.com/changesets/changesets/pull/147/files#diff-81efc39f0a283b4d7521917c7d32688cc909b4c27820807c7fc5e554b9ab37c7R134-R137
TLDR: I'm confident to classify this as a bug and I would gladly accept a PR fixing this 😉

Thanks for the quick reply and in-depth analysis @Andarist! It really helps to see the history of the code and where this regressed.
By the way, the documentation also describes this intention of using false as a way of disabling log generation:

https://github.com/changesets/changesets/blob/main/docs/config-file-options.md#changelog-false-or-a-path

Where it states:
If it is false, no changelogs will be generated.

If I can make some time I'll definitely give this a shot.


added precisions about snapshotting

Describe what this PR does
added precisions about snapshotting
#Provide any external context for the change, if any.
provides some precisions about best practices for snapshotting as given in ceph docs and kuebernetes docs
Related issues
related to #1532
Fixes: #issue_number

@Madhu-1

mdl --style scripts/mdl-style.rb ./docs/cephfs-snap-clone.md
./docs/cephfs-snap-clone.md:38: MD009 Trailing spaces
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

CI failure error. https://github.com/ceph/ceph-csi/blob/master/docs/development-guide.md#running-ceph-csi-tests-in-a-container  will help you to test it locally

Please note that there is a commitlint check (part of continuous-integration/travis-ci/pr) that requires proper formatted commit messages. Please create a single commit (use git rebase and squash all commits together), update the commit message to have a subject prefix of doc:  and add your Signed-off-by: line (use git commit --amend) and git push --force ... the changes to the branch for this PR.
You can also run ci/centos jobs (or a standalone commitlint) by leaving a comment like:
/retest ci/centos/containerized-tests

/retest commitlint

Thanks for the updated PR! Just one space needed between PVCclone as Madhu commented. Looks good otherwise.

Sorry it took so long to get it right guys

Sorry it took so long to get it right guys

Not at all a problem. the ceph-csi  team will always be happy to help users

/retest continuous-integration/travis-ci/pr

/retest continuous-integration/travis-ci/pr

I have restarted the Travis CI

Thanks @facchettos :+1:


Update affix.js

Test

Tests passed. Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: CONFIRMED
Commit: 61c8b2085f0be5d24c84b65963f4ce900c3eca11
Build details: https://travis-ci.org/twbs-savage/bootstrap/builds/80400747
(Please note that this is a fully automated comment.)

Please don't use public repositories for testing GitHub. Use your own personal repo instead.


all nodes are required to run lock

When a node is connected but does not have locks running, it is not possible to add elements to a queue:

start two nodes, bill and jill
leave jill be
on bil run:

[root@dq1 ~/dq]# ERL_LIBS=_build/lib/ erl -pa ebin -name<EMAIL_ADDRESS>-setcookie ted
Erlang R16B02 (erts-5.10.3) [source] [64-bit] [smp:16:16] [async-threads:10] [kernel-poll:false] [dtrace]

Eshell V5.10.3  (abort with ^G)
(bill@<IP_ADDRESS>)1> net_adm:ping('jill@<IP_ADDRESS>').
pong
(bill@<IP_ADDRESS>)2> application:ensure_all_started(locks).
{ok,[locks]}
(bill@<IP_ADDRESS>)3> {ok,Q} = dq:new(myq).
{ok,<0.52.0>}
(bill@<IP_ADDRESS>)4> [ dq:in(X,Q) || X <- lists:seq(1,10) ].
** exception error: {{timeout,
                         {gen_server,call,
                             [<0.52.0>,
                              {'$locks_leader_call',{write,#Fun<dq.3.64015509>}},
                              2000]}},
                     {locks_leader,leader_call,
                         [<0.52.0>,{write,#Fun<dq.3.64015509>}]}}
     in function  locks_leader:leader_call/3 (/root/dq/_build/lib/locks/src/locks_leader.erl, line 376)
(bill@<IP_ADDRESS>)5> [ dq:in(X,Q) || X <- lists:seq(1,10) ].
** exception error: {{noproc,
                         {gen_server,call,
                             [<0.52.0>,
                              {'$locks_leader_call',{write,#Fun<dq.3.64015509>}},
                              2000]}},
                     {locks_leader,leader_call,
                         [<0.52.0>,{write,#Fun<dq.3.64015509>}]}}
     in function  locks_leader:leader_call/3 (/root/dq/_build/lib/locks/src/locks_leader.erl, line 376)
(bill@<IP_ADDRESS>)6>

This is a feature in so far as it is consistent with default behaviour in locks_server:
ERL_LIBS=deps erl -pa ebin -sname jill@darach -setcookie ted
Erlang R16B02 (erts-5.10.3) [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Eshell V5.10.3  (abort with ^G)
(jill@darach)1> application:ensure_all_started(locks).
{ok,[locks]}
(jill@darach)2> {ok,Q} = dq:new(myq).
{ok,<0.46.0>}
(jill@darach)3> locks_leader:info(Q).
[{leader,<0.46.0>},
 {leader_node,jill@darach},
 {candidates,[]},
 {new_candidates,[]},
 {workers,[]},
 {module,dq_callback},
 {mod_state,{state,true,{[],[]}}}]
(jill@darach)4> nodes().
[]
(jill@darach)5> net_adm:ping(bill@darach).
pong
(jill@darach)6> locks_leader:info(Q).
** exception exit: {timeout,{gen_server,call,[<0.46.0>,'$locks_leader_info']}}
     in function  gen_server:call/2 (gen_server.erl, line 180)
     in call from locks_leader:info/1 (src/locks_leader.erl, line 397)
(jill@darach)7>

The first call to locks_leader:info/1 succeeds as we have a cluster of 1.
The second, with the bill node() started/connected results in a failure.
Starting locks and the call succeeds as expected, even if there is no Q agent on the other node(s).
Although locks needs to be started on all nodes. Not all nodes need to run the Q.


Change construct_runtime! macro to use pallet names instead of pallet paths for enum variant identifiers

Currently, during macro expansion of construct_runtime!, the enums that we generate uses the pallet path rather than the pallet name as a component for the enum variants:
construct_runtime!(
	pub enum Runtime where
		Block = Block,
		NodeBlock = Block,
		UncheckedExtrinsic = UncheckedExtrinsic
	{
		Foo: bar::{Pallet, Call, Storage, Event, Origin},
	}
);

// This would generate the following Event enum for example:

pub enum Event {
	bar(bar::Event)
}

Ideally, we would use the pallet name as specified in the construct_runtime! macro so that we generate the following instead:
pub enum Event {
	Foo(bar::Event)
}

In other words, audit calls to PalletPath::mod_name, and see if they can be replaced by the pallet name. mod_name should ideally not exist.
Files: frame/support/procedural/src/construct_runtime/mod.rs , frame/support/procedural/src/construct_runtime/expand/event.rs, frame/support/procedural/src/construct_runtime/expand/event.rs, frame/support/procedural/src/construct_runtime/expand/origin.rs

What does this solve?
What will this break?

What does this solve?

when user include a part but the part doesn't exist, the current error message is not very good, this will make the error message accurate

What will this break?

nothing should break
additional notes:

this could also make use of the technique used in https://github.com/paritytech/substrate/issues/8084 in order to get what are the available part in a pallet.
we should be able to use your technique to get if "std" is enabled or not for the pallet. And if "std" is not enabled while compiling in "std", then we should be a good error message. Because when the runtime needs to build the genesis config of a pallet, and the pallet is compiled without "std" then the error message is that GenesisConfig type doesn't exist and people get confused.

Currently, we use the module path as the enum variant names for a couple of the enums that we generate during macro expansion of construct_runtime, namely OriginCaller, Event and a few others.
This is undesirable fort the reasons Gui mentioned, and to further expand on why this naming scheme is not unique: suppose I have two pallets that are both named foo but located in different paths, one is a separate crate called foo and one is a module in the current crate (so crate::foo). We currently allow them both to be imported via their unique paths foo and crate::foo like so:
construct_runtime! {
    pub enum Runtime where
        // where clause goes here
    {
        Pallet1: foo::{Pallet, Event},
        Pallet2: crate::foo::{Pallet, Event},
    }
}

We then use their respective paths to construct enum variant names, but with a caveat: we drop the self, super and crate semi-keywords when creating the variant names, so as a result these two modules would in fact have the same variant name foo and would clash.
We could solve this easily by including crate, self and super as part of the variant name, but it doesn't quite make much sense: you'd see a variant name Event::crate_foo and Event::foo, and at first glance it's not quite clear what the difference is between the two. Moreover, we have a real use case where the same pallet is declared twice during runtime construction, and it's the Collective pallet. Using the current naming scheme, we'd end up with something like Event::pallet_collective_Instance1 and Event::pallet_collective_Instance2, which isn't really very descriptive about what they really are.
If the objective here is to use a relatively unique name to name the variants, it would make much more sense to just use an identifier that is already unique -- the pallet name. Not only is it unique, it's also pretty self-documenting: using pallet-collective as an example, I don't need to wonder what Instance1 or Instance2 is about, because it'll just use the pallet name as defined in construct_runtime!, so instead you'll see Event::Council and Event::TechnicalCommittee.
In terms of breakage, when FRAME devs upgrade their runtime, if their code makes references to the Event, OriginCaller and GenesisConfig as generated by construct_runtime!, then they'll have to ensure that any enum variant (field name in the case of GenesisConfig) they reference uses the new naming scheme instead of the old one. It should be trivial to fix, and I don't expect any major issues arising from changing the naming schemes for these enum variants/fields.


Move the contracts extensions to an external repository

Description:
There were two extension contracts in Semaphore v3: https://github.com/semaphore-protocol/semaphore/tree/v3.15.2/packages/contracts/contracts/extensions
The idea is to use the latest Semaphore v4 to update those contracts and add them to the Semaphore Extensions repo: https://github.com/semaphore-protocol/extensions

Is this issue still open?

@Dozie2001 it is!

Hello @cedoor just to be clear I am just updating the Extensions repo using v4 nothing else correct?

Hello @cedoor just to be clear I am just updating the Extensions repo using v4 nothing else correct?

Nothing else, the package should have the same structure as package/contracts in the main semaphore repo.


Fix our publish can't get version from tag

Motivation:
Currently we don't use bot to create release, so it's easier to just use release event with github.event.release.tag_name
Modifications:

Using release event now.

Result:

Fix the failed release action

The change looks good.
FYI, the tag name could be acquired from github.ref or github.ref_name.

https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
https://github.com/line/centraldogma/blob/c1e7967192f47ad384f774319c29d4a150851e6f/.github/workflows/publish-release.yml#L50-L51


Try to make service workers work

TODO

[ ] Will Pokedex images be preloaded?
[ ] How are Pokedex images handled when offline?
[ ] Add retry logic for data-pkmn.json
[ ] Cross-browser and device testing
[ ] Some kind of neato fallback if the image doesn't load?
[ ] How should I tell users it's ready to use offline?

Theme color in dark mode installed in Firefox produces an unreadable status bar...

https://css-tricks.com/meta-theme-color-and-trickery/
Meta tag with media query to fix it?

preload images for next and previous pages in pokedex

is webmanifest.json linked to?


Add support for DHKEM X25519/X448.

Codecov Report

Merging #4 (c0027d6) into main (bca15e0) will increase coverage by 5.68%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
+ Coverage   75.85%   81.53%   +5.68%
==========================================
  Files          23       27       +4
  Lines         584      715     +131
==========================================
+ Hits          443      583     +140
+ Misses        141      132       -9

Impacted Files
Coverage Δ

pyhpke/keys/ec_key.py
68.51% <ø> (+5.61%)
:arrow_up:

pyhpke/kem_key.py
61.90% <66.66%> (+5.04%)
:arrow_up:

pyhpke/keys/x25519_key.py
81.08% <81.08%> (ø)

pyhpke/keys/x448_key.py
81.08% <81.08%> (ø)

pyhpke/kem_primitives/x25519.py
95.45% <95.45%> (ø)

pyhpke/kem_primitives/x448.py
95.45% <95.45%> (ø)

pyhpke/kem.py
77.77% <100.00%> (+7.40%)
:arrow_up:

pyhpke/kdf.py
94.00% <0.00%> (+6.00%)
:arrow_up:

... and 3 more

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


VideoEncoder does not encode to v4l2 loopback device

Environment

OS version: Ubuntu 22.04
Source or binary build: binary
Gz-common: 5.4.2-1
Gz-sim: 7.6.0-1

Description

Expected behavior: v4l2 loopback device simulates video from world`s camera
Actual behavior: Simulation fails with error log message: "[Err] [VideoEncoder.cc:435] Unable to allocate format context. Video encoding not started"

Steps to reproduce

Build fork of regular CameraVideoRecorder plugin with possibility to use v4l2 format : https://github.com/vryabokon1705/camera-videro-recorder2.git
Copy libCameraVideoRecorder2.so to $HOME/.gz/sim/plugins/
Make copy of camera_video_record_dbl_pendulum.sdf as camera_video_record_dbl_pendulum_copy.sdf
Edit camera_video_record_dbl_pendulum_copy.sdf:
<sensor name="camera" type="camera">
<plugin filename="CameraVideoRecorder2" name="streamer::CameraVideoRecorder2">
<service>camera/record_video</service>
</plugin>
...
</sensor>
Check existing v4l2 devices
ls /dev/video*
Create v4l2 loopback device:
sudo modprobe v4l2loopback
find new created v4l2 loopback device path (let it be /dev/video1)
ls /dev/video*
Start gazebo simulator:
gz sim camera_video_record_dbl_pendulum_copy.sdf
Start gazebo service:
gz service -s /camera/record_video --reqtype gz.msgs.VideoRecord --reptype gz.msgs.Boolean --timeout 300 --req 'start: true, format:"v4l2", save_filename:"/dev/video1"'

Output

Looks like string 349
this->dataPtr->format = _format.compare("v4l") == 0 ? "v4l2" : _format;
must be replaced with
this->dataPtr->format = _format.compare("v4l") == 0 || _format.compare("v4l2") == 0 ? "video4linux2,v4l2" : _format;

@vryabokon1705 any chance you could open a PR with that?


tests: move KongPlugin validation integration tests to envtest suite

What this PR does / why we need it:
Attempt at moving https://github.com/Kong/kubernetes-ingress-controller/blob/459e10ba801bcded656cdfdfbdc1b2c4788de56f/test/integration/webhook_test.go#L599-L642 to envtest suite.
Which issue this PR fixes:

Special notes for your reviewer:
For some reason the webhook doesn't return an error because the referrers index is empty(https://github.com/Kong/kubernetes-ingress-controller/blob/070cad7555c5fd6bdb02ada6f82a135a260c42a6/internal/admission/handler.go#L302). Not sure why.
PR Readiness Checklist:
Complete these before marking the PR as ready to review:

[ ] the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

I tried with this but also seen the inconsistency. I tried with sleeping for some time before we start the validation, but 1s seems to be required.


ModelFrame and SubDataFrame

It seems like regressors are duplicated twice before fitting a linear model - once to return a ModelFrame, once to return a ModelMatrix.
Could ModelFrame return a SubDataFrame rather than a deep copy of the original DataFrame?
One way to do that would be to replace df[complete_cases(df)] by sub(df, complete_cases(df)) and move the dropUnusedLevel to ModelMatrix?

I noticed the same thing, and I don't see any reason why not.  Probably want to restrict to the columns that are actually required to generate the ModelMatrix (the etrms field of the Terms).

(and evaluate complete_cases with respect to only those columns, too)

+1

I'm also in favor of this.
Any chance some of you will be at JuliaCon? I'd love to just sit down with all of the stakeholders and decide on the definitive semantics for transforming DataFrames into matrices.

Sorry, I won't be there (but I haven't really thought about this issue so I'm not sure I would have been very helpful anyway...).

I won't either, unfortunately.  I'd love to skype into a meeting if you end up getting a quorum though.

Maybe we should set up a Skype meeting post JuliaCon instead?

Sure! Let me know when would work, my schedule is pretty open in the summer.

How about tentatively setting a meeting for sometime on July 15th? That gives us plenty of room to organize.

👍

So for now, ModelMatrix(ModelFrame()) does 3+ copies of the data:

once in ModelFrame via na_omit
twice in ModelMatrix:  1 in cols (to convert to Vector{Float64}), once in hcat (to create the matrix).
In case of interactions, even more copies are created (in expandcols).

It would be great to do only one copy. It's probably best to wait Julia 0.5 to tackle this. Not an emergency — the ModelMatrix(ModelFrame()) call is already much faster than R (no idea why R is so slow for such an important function).

Feel free to re-open at https://github.com/JuliaStats/StatsModels.jl is this is still an issue.

@kleinschmidt has experimented a non-copying approach in https://github.com/kleinschmidt/StreamModels.jl too.


Teleport integration in action buttons in single click // automatic bridging

What about giving users the choice to buy with one click even if they don't have the amount on the network where the nfts is, but they do have the amount on, say, kusama?
Example: buying nft from bsx - not having ksm on bsx, still option to buy nft from gallery detail without going through the bridging process.
There would be a modal and somewhat distinct buy button to let you know what would happen.

we chatted back in August to abstract this interaction for users for multicurrency case.
Can we maybe hijack wallet dialog for this? Where user will contextual swap coins needed to buy, like confirm dialog and then buy?

continue to:

#7643


Updates

I've been having so much trouble using electron-winstaller for my projects that I've decided to fix the code of this one and update it to be on par with electron-installer-debian.
The majority of the code is as identical as possible to electron-installer-debian. Some of the fixes include:

Use ES2015 syntax and raise the minimum dependency to nodejs >= v4
Update dependencies/devDependencies and fix any new API changes
Promisifying the whole module
Fix/simplify tests and use the new promisified module
The module is 100% compatible with linux/macos using mono
Update NuGet to the latest version (v<IP_ADDRESS>71)

PS: @unindented I wouldn't mind helping you maintain this repository either

Awesome, thank you! I've made you a contributor.

Feel free to drop Node v4 from tests if you do a major version bump.

Thanks! About Node v4, the whole code is compatible with it, so there's no reason to delete it.
If I decide to use ES2016 or some special features that we'll not make it compatible, I will drop v4 from tests


Update card.handlebars. Add the style parameter to the iframe in embed

This modification ensures that the style attribute is added to the iframe and div elements if the style parameter is provided. If style is not provided, the attribute is omitted.

Done here #365


$event is not being passed

When I try to bind a touchmove event, the defined method is being called. But when trying to access the "$event", it returns undefined. Any idea what could be wrong?

From my test it all works fine.
Check it out and let me know if there are any problems.

Now I have been looking more into this, and it seems that you are right.
Will be fixing this in a few moments.

I have made a test which actually gets it.
You just have to use $scope.event, since that is not passed to the function.


Batched actions VecEnv interface

As of https://github.com/entity-neural-network/incubator/pull/40, the VecEnv uses a batched version of Observation that simplifies the ppo code and allows for higher efficiency by pushing batching down into the environments:
https://github.com/entity-neural-network/incubator/blob/2b969072cb123e34ee65ef5bfb69fbab70bb66c1/entity_gym/entity_gym/environment.py#L88-L96
We should do something similar for the Actions parameter of the act method.

Done as part of https://github.com/entity-neural-network/incubator/pull/166.


Integrating PoS proposal: proposers staking

Feat #474, #488

registerProposer moved to stakeProposer(amount). This registers the proposer and if the proposer is already registered it increases the proposer stake amount.
deregisterProposer moved to unstakeProposer.
No REGISTRATION_BOND now but a MINIMUM_STAKE (10 wei for testing now).
COOLING_OFF_PERIOD moved to CHALLENGE_PERIOD (1 week).
Changed messages from require statements in contracts to best practices used by Openzeppelin. <contract name>: <message>. So you know the contract where the message has been thrown. Useful now when debugging.
withdrawBond moved to withdrawStake and used in the same way but with the stake of the proposer instead of the bond, so the proposer can do the withdraw of their stake. Previously to that, the proposer should call unstakeProposer to stop being proposer and wait this CHALLENGE_PERIOD to be allowed to do the withdraw.
Moved uint to uint256 in contracts to avoid errors and follow the same guide in all the contracts.
TimeLockedBond moved to TimeLockedStake and added challengeLocked to store the amount locked by blocks proposed still in CHALLENGE_PERIOD and not claimed yet.

    struct TimeLockedStake {
        uint256 amount; // The amount held
        uint256 challengeLocked; // The amount locked by block proposed still in CHALLENGE_PERIOD
        uint256 time; // The time the funds were locked from
    }

Need to request block payment for proposers. (#488).
Created test for testing PoS features. npm run test-pos

Questions:

Tx fee payments could go to proposer's stake instead of adding it to proposer pending withdrawal.

This PR is included in #499 .

Closing because a new PR to feature POS will replace it


add missing colon in example code

What does this PR do?
Fixes typo in example code (missing colon on function def)
Checklist

[X] This PR fixes a minor issue (e.g.: typo or small bug) or improves the docs (you can dismiss the other
checks if that's the case).

thanks!