Mobile Breakpoints - Footer

Do I have the ability to push here?
09:41:04.881: [airlessco] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/issue-21_footer:issue-21_footer --set-upstream remote: Permission to hlxsites/airlessco.git denied to venturewise. fatal: unable to access 'https://github.com/hlxsites/airlessco.git/': The requested URL returned error: 403

You have the same permissions as everyone else. Perhaps your certs are not attached to your profile.

Fixed as per @venturewise


Update powershell unit test

🗣 Description
Updated the powershell unit test to match secure baseline
closes #495
💭 Motivation and context
Unit test needs to pass in general unless a defect is in software baseline.
🧪 Testing
Invoke-Pester -Path .\Testing\Unit\PowerShell -Output Detailed

📷 Screenshots (if appropriate)

✅ Pre-approval checklist

[X] This PR has an informative and human-readable title.
[ X] Changes are limited to a single goal - eschew scope creep!
[X] All future TODOs are captured in issues, which are referenced
in code comments.
[X] All relevant type-of-change labels have been added.
[X] These code changes follow cisagov code standards.
[X] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[X] Tests have been added and/or modified to cover the changes in this PR.
[X] All new and existing tests pass as expected.

✅ Pre-merge checklist

[ ] Revert dependencies to default branches.
[ ] Finalize version.

✅ Post-merge checklist

[ ] Create a release.

@adhilto  Yes, very disappointing the see 159 changes when only 4 changed.
Testing/Unit/PowerShell/CreateReport/New-Report.Tests.ps1
Testing/Unit/PowerShell/CreateReport/Import-SecureBaseline.Tests.ps1
And to stubs:
Testing/Unit/PowerShell/CreateReport/CreateReportStubs/ProviderSettingsExport.json
Testing/Unit/PowerShell/CreateReport/CreateReportStubs/TestResults.json

@nanda-katikaneni  Ready for merge into Emerald.


Add more env for RayService head or worker pods

Why are these changes needed?
Based on @iycheng Ray side requirement, we need 2 more env for RayService nodes.

Related issue number

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

@iycheng could you put more context why we need there 2 envs in this pr? Thanks


Expand NO local names

Is your feature request related to a problem? Please describe.
There are no first/last name collections for locale no.
Describe the solution you'd like
Create name section (for no locale) with following collections:
no:
  faker:
    name:
      female_first_name: []
      male_first_name: []
      last_name: []
      prefix: []
      name_with_middle:
        - "#{prefix} #{first_name} #{last_name} #{last_name}"
        - "#{first_name} #{last_name} #{last_name}"
        - "#{first_name} #{last_name} #{last_name}"
        - "#{first_name} #{last_name} #{last_name}"
        - "#{first_name} #{last_name} #{last_name}"
      first_name:
        - "#{female_first_name}"
        - "#{male_first_name}"

      title:
        descriptor: []
        level: []
        job: []
      name:
        - "#{first_name} #{last_name}"
        - "#{prefix} #{first_name} #{last_name}"

Describe alternatives you've considered
Created local file that I plan to move to this repo.

@bodiam here's the PR: https://github.com/datafaker-net/datafaker/pull/639


BUG: loading multiple images corrupts tags of existing ones

[Now that I have access to the nightly ppa's (cf. containers/libpod#2250), here's some more things I found]
Sometimes it's necessary to transfer images in bulk (say, to an environment that has restricted internet access). Docker supports saving/loading multiple images, and nominally, podman does too. Loading multiple images saved by docker fails (xref #2822), while loading multiple images saved by podman go through but are either loading incorrectly or even corrupting tags that might have been correct before.
This is a much subtler issue and thus harder to detect.
Steps to reproduce:
$ sudo podman pull ubuntu:bionic
$ sudo podman pull ubuntu:cosmic

Then, things look as follows.

Saving and reloading corrupts the tags.
$ sudo podman save docker.io/library/ubuntu:bionic docker.io/library/ubuntu:cosmic > podman_test.tar
$ sudo podman load -i podman_test.tar

In particular, docker.io/library/ubuntu:cosmic gets wrongly tagged to the commit of docker.io/library/ubuntu:bionic, while the actual commit of docker.io/library/ubuntu:cosmic gets untagged.

Side note: in contrast to docker, there is no auto-completion for file-names after sudo podman load -i

@haircommander
In view of your comment, and before containers/image#610 is fixed, this should IMO at least error loudly, rather than corrupt existing tags.

@haircommander is this in your domain or do we need to get someone to pick it up?

@baude it is generally out of my domain--it could be in my domain given some time (that I don't currently have) :)


fix: add @jest/types to box deps

Needed to run the test locally.  not sure why this works on CI though

Benchmark results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit a1f3af15 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
222,936
868,172
3,449,492

l1_rollup_execution_gas
842,023
3,595,280
22,204,861

l2_block_processing_time_in_ms
1,064 (+3%)
4,041 (+3%)
15,875 (+2%)

note_successful_decrypting_time_in_ms
350 (+4%)
1,078 (+4%)
4,153 (+4%)

note_trial_decrypting_time_in_ms
:warning: 53.0 (+47%)
108
138

l2_block_building_time_in_ms
9,140 (+2%)
37,153 (+3%)
163,850 (+4%)

l2_block_rollup_simulation_time_in_ms
6,736 (+1%)
27,318 (+3%)
108,275 (+2%)

l2_block_public_tx_process_time_in_ms
2,359 (+2%)
9,696 (+4%)
55,068 (+6%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
11,200 (-4%)
21,657 (-2%)

note_history_successful_decrypting_time_in_ms
2,352 (-2%)
4,791 (+2%)

note_history_trial_decrypting_time_in_ms
122
:warning: 146 (-30%)

node_database_size_in_bytes
1,662,369
1,202,427

pxe_database_size_in_bytes
27,188
54,187

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
47.6
61,697
18,841

private-kernel-ordering
23.7 (+2%)
24,233
8,089

base-rollup
855
639,797
811

root-rollup
37.9
4,072
1,097

private-kernel-inner
43.0 (+2%)
81,504
18,841

public-kernel-private-input
49.7 (+4%)
41,455
18,841

public-kernel-non-first-iteration
32.2 (+4%)
41,497
18,841

merge-rollup
0.877 (-5%)
2,592
873

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
8,723
27,508


Create guide for PubSub Operators

PR ongoing:
https://github.com/PolideaInternal/airflow/pull/401


Textarea does not render as a textarea

🐛 Bug report
Current Behavior
If I try to use a Field of type textarea it renders as a plain single line input object, ignoring rows and no drag handle.
Expected behavior
Textarea fields should be rendered as multiline textarea field with drag handle
Reproducible example
Use the formik sandbox (https://codesandbox.io/s/zKrK5YLDZ) and change the email field to type textarea.
Your environment

Software
Version(s)

Formik
1.2.0

React
16.5

TypeScript
None

Browser
Chrome

npm/Yarn
5.6

Operating System
Windows 10

Do you have an example of using textarea in a custom component, rather than the component string literal?

@tbarho <Field component={() => <textarea placeholder="Some placeholder">{values.someValue}</textarea>}>

@jtart @jaredpalmer There is still a bug with this, so it might want to be reopened, reproduced here:  https://codesandbox.io/s/vmq5pxj0ry (open the console before you try)
If you hit enter in the text area, 2 errors are thrown:
Assertion failed: Input argument is not an HTMLInputElement
getFormProfile @ onloadwff.js:71
setFieldValue @ onloadwff.js:71
formKeydownListener @ onloadwff.js:71

onloadwff.js:71 Uncaught TypeError: Cannot read property 'type' of undefined
    at e.setFieldValue (onloadwff.js:71)
    at HTMLFormElement.formKeydownListener (onloadwff.js:71)

I'm just getting started with Formik, so I might be a little noob to patch that.

onloadwff.js

are you using lastpass chrome extension?
if you are, please refer to https://github.com/KillerCodeMonkey/ngx-quill/issues/351
I had same errors but the link helps..

Yeah, definitely that.  Thanks!

This worked for me. set the component to "textarea" and you can define the number of rows using rows attribute

This worked for me. set the component to "textarea" and you can define the number of rows using rows attribute
<Field
                name="messageText"
                component="textarea"
                className="form-control"
                placeholder="Type a message"
                rows="2"
              />

This worked for me. set the component to "textarea" and you can define the number of rows using rows attribute
<Field
                name="messageText"
                component="textarea"
                rows="2"
              />

Thanks!!!

<Field component=“textarea” />

this works. 👍

I got same problem.
<Field component=“textarea” /> works !
Thanks a lot


Handling previous view (in modal view stack)

Description
Hello. I am a big fan of slack !
I am using the slack very usefully but it's sad there's no way to handle a previous view.
for example, let's say that we have first view of A and last view of B. In the A view, we can push the B view but we can't pop the B view in other words, we can't back to the A view. also we can't update the A view in the B view.
so I implemented a view storage that stores view's payload and i bring the previous view's payload. as a result i can handle the previous stack very easy and can implement a lot of functionally tools.
how about supporting handling a previous view !?
thank you.
What type of issue is this? (place an x in one of the [ ])

[ ] bug
[x] enhancement (feature request)
[ ] question
[ ] documentation related
[ ] example code related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Hi @lumyjuwon thanks for asking the question!
As you already noticed, there is no way to change the order of views in a stack. Pushing modals in a stack is particularly useful for the situation where your end-user always goes back to the first view after completing on the second view.
If your app manages the view IDs in a stack, technically it's possible to update the first view by a views.update API call under the hood (say, when an end-user chooses an item in a select menu on the second view) but as you mentioned, the change on the first view is not immediately visible to the user.
If you want to build a modal view with multiple steps or transition between them, I would recommend updating a single modal view with new modal page content. Specifically, you can use:

response_action: update in ack() in @app.view listener (data submission; an end-user clicks the "Submit" button)
views.update API calls in @app.action / @app.options listeners (button clicks, item selection in a select menu)

Let me share a few examples that I've created in the past.
This DeepL integration app updates a single modal view multiple times. Refer to these lines of code for the complete version.
// When an end-user clicks the "Submit" button in a modal
app.view("run-translation", async ({ ack, client, body }) => {
  const text = body.view.state.values.text.a.value!;
  const lang = body.view.state.values.lang.a.selected_option!.value;

  // Update the modal view with the next step -- loading view
  await ack({
    response_action: "update",
    view: runner.buildLoadingView(lang, text)
  });

  const translatedText: string | null = await deepL.translate(text, lang);

  // Once the translation is ready, update the modal again with the result view
  await client.views.update({
    view_id: body.view.id,
    view: runner.buildResultView(lang, text, translatedText || ":x: Failed to translate it for some reason")
  });
});

Another example demonstrating how to implement a bit complex helpdesk ticket app shows 3 steps in a modal. Refer to its README to learn how it works.
As far as I know, most use cases can be covered by the approach to update a single modal view. But if the context why you need a modal stack is different from my above suggestion, let us know a bit more details of your requirements. 👋
I hope this helps!

@seratch @srajiang
Sorry for late replay ! the way is helpful for me but to be more specific i want to maintain previous payload.

in this example that you gave me, i want to maintain select category option be "laptop" when i click the "Back" button
so i mentioned the storage that stores the previous payload. i want the bolt-js support function like the storage.
what do you think about it ?

@lumyjuwon Thanks for your reply.
For your use case, I would recommend utilizing the private_metatada in modal view objects. You can store the state of a user interaction in the hidden property. Refer to the document for more details.
If private_metadata is not a preferable solution for you, you can store the state with workspace ID (=team_id) and user ID (=user_id) in your database.
I hope this helps.

thanks ! i will use it for next developing slack server :)


Iio segv

It may fix issue #1371
@guchaojie can you check if this PR fix the issues, please?

Both make sense to me (and I hope they fix the issue :))

@edersondisouza This method can work, verIfied it. Thx!

Integrated, tks!


feat: add new event metadata to tesla telemetry

This PR aims to provide a way for relaying through the tesla.request.stop event the unresolved path when using both Telemetry and PathParams middlewares.
The issue with the current implementation is that in success cases, it's impossible to retrieve the unresolved path from the event metadata

I see. Assuming you use Telemetry middleware before PathParams I think the best way would be to use something similar to KeepRequest:
defmodule KeepRequestURL do
  def call(env, next, _opts) do
    env
    |> Tesla.put_opt(:req_url, env.url)
    |> Tesla.run(next)
  end
end

# then in client
plug Tesla.Middleware.Telemetry
plug Tesla.Middleware.KeepRequestURL
plug Tesla.Middleware.PathParams

Then in you telemetry handlers you should be able to access the original URL via env.opts[:req_url].
I'd be happy to accept a PR adding :req_url to the built-in KeepRequest middleware too.

I see. Assuming you use Telemetry middleware before PathParams I think the best way would be to use something similar to KeepRequest:
defmodule KeepRequestURL do
  def call(env, next, _opts) do
    env
    |> Tesla.put_opt(:req_url, env.url)
    |> Tesla.run(next)
  end
end

# then in client
plug Tesla.Middleware.Telemetry
plug Tesla.Middleware.KeepRequestURL
plug Tesla.Middleware.PathParams

Then in you telemetry handlers you should be able to access the original URL via env.opts[:req_url].
I'd be happy to accept a PR adding :req_url to the built-in KeepRequest middleware too.

Yeah, the Telemetry middleware is before PathParams, but without this fix the URL ends up being resolved for happy-path scenarios, and thus this PR.
I'll change this PR to adding :req_url to the KeepRequest middleware then, a I'll also take the time to add an example to the Telemetry docs.
Thanks for the review and the suggestion!

@teamon the PR has now been updated as per your suggestion. I took the liberty to add an "integration" test for KeepRequest + PathParams + Telemetry, as well as an example for other Tesla.Middleware.Telemetry users.
If there's a better place to add these, please let me know!

Nice! 😍


Add feature for module_extension's {os,arch}_dependent

Just curious, is this going to be available for module extension definition?

Just curious, is this going to be available for module extension definition?

Yes, I verified that it works in rules_go.


Keyword varargs doesn't work properly with named arguments

Keyword varargs don't seem to work properly with named arguments. Even after reading the documentation ( http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#variable-number-of-arguments) I'm not sure if this is a bug or a feature in current version, but improving this would allow making the code more readable.
Using Robot Framework 3.0.2 with Python 2.7.12 in Ubuntu 16.04 LTS
Example code to test this:
*** Settings ***
Documentation    Test varargs with named arguments

*** Test Cases ***
Test Varargs
    Keyword With Varargs    Keyword With Named Arguments   value1   value2   value3
    Keyword With Varargs    Keyword With Named Arguments   value1   arg2=value2   arg3=value3
    Keyword With Varargs    Keyword With Named Arguments   valueA   arg3=valueC   arg2=valueB

*** Keywords ***

Keyword With Varargs
    [Arguments]    ${keyword}   @{varargs}
    Run Keyword    ${keyword}   @{varargs}

Keyword With Named Arguments
    [Arguments]     ${arg1}=    ${arg2}=value2    ${arg3}=value3
    Log              ${arg1} ${arg2} ${arg3}
    Log To Console   ${arg1} ${arg2} ${arg3}

When executed, I get the following
==============================================================================
Varargs :: Test varargs with named arguments
==============================================================================
Test Varargs                                                          value1 - value2 - value3
.value1 - arg2=value2 - arg3=value3
.valueA - arg3=valueC - arg2=valueB
Test Varargs                                                          | PASS |
------------------------------------------------------------------------------
Varargs :: Test varargs with named arguments                          | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================

What I expect to be printed to the console from the log to console keywords is
value1 - value2 - value3
value1 - value2 - value3
valueA - valueB - valueC

So it looks like varargs doesn't set named arguments as one might assume. Of course workaround is to always give arguments positional, but that makes the code less readable and all arguments must always be given since default values can't be used.

Everything seems to be as currently designed. When you use keyword with arguments like arg2=value2   arg3=value3 and the keyword doesn't have argument matching them (i.e. arg2 and arg3) or doesn't support free keyword arguments, those arguments you use are passed as literal strings. In your case  @{varargs} will thus contain strings arg2=valu2 and arg3=value3. When you use this variable, the strings it contain are sent as normal positional arguments. If you want to accept and pass forward free keyword arguments, you should use &{kwargs} syntax instead of @{varargs}.
The example does actually show one bug or bad design in the framework. When you the name name=value syntax and you don't have arguments matching name, the framework should actually consider that a failure. The current approach to pass arguments as literal stings in that case causes annoying problems if there are typos in data, argument names change, and so on. We should consider name=value to always mean named argument syntax and require using name\=value when the whole value is a literal string. We've already decided that we'd like to change the syntax, but the change is so badly backwards incompatible that it cannot be done overnight.

Thank you for the extremely quick response. Your proposal works perfectly!


Add support for RouteSettings in the Router & how do we deal w/ screen constructors w/ Routers?

Currently there's two ways you would probably want to pass data to a route. Say you have a new todo item that belongs to a category. Maybe you want to create a separate page screen for adding that todo item to said category. Instead of redirecting to an empty constructor you might want to initialize that constructor by passing the category id, but a category isn't required so maybe sometimes you won't add a todo item to a parent id at all and no constructor initialization is needed. The other way would be just passing basic data to the build method using RouteSettings when traveling to another page for instance displaying the results from the previous page's calculations.
Router.goto(context, AddItemScreen) is the default way to do this with Momentum which is great, simple love it. Maybe there's optional named arguments though in that screen class that takes a value. Currently there's no way to pass data to that. Not sure what the cleanest way to do it would be, but I do know Function.apply is a thing, not sure how you would do it for constructors though.
void main() {
  var hmm = Function.apply(Test.init, ["hey"]);
  print(hmm.data);
}

class Test {
  String data;
  Test({this.data});
  static Test init(String data) {
    return Test(data: data);
  }
}

As for RouteSettings, that seems like that could just be passed to the MaterialPageRoute that gets created. I wouldn't mind submitting a PR for RouteSettings support later this week if you don't get to it, but the other constructor stuff is interesting and would be a lovely feature.

I created momentum in mind that I don't need constructor data params in my pages. In the old docs (which is gone already), I mentioned there that one of the focus in momentum is parameterless widgets. If you try to dig into Listify example app, you'll see that the Add List Screen (which is also used for editing lists), doesn't have any parameters in the constructor. So how does editing of the list works? Simple, take a look at this code taken from Listify example app:
The edit button code:
onPressed: () {
  listController.editList(listName);
  Router.goto(context, AddNewList);
  // Imagine this code as equivalent to:
  // Navigator.push(context, MaterialPageRoute(builder: (context) => AddNewList(listName: listName)));
},

As you can see, we are setting data before we actually go to a specific page.
But, your proposal is still possible, I'm thinking of adding an optional parameter in the Router.goto function for passing parameters and accessing them using a generic method.
The params model class:
class AddNewListParams {
  final String listName;
  AddNewListParams(this.listName);
}

The route parameter:
onPressed: () {
  // listController.editList(listName);
  // Router.goto(context, AddNewList);
  Router.goto(context, AddNewList, param: AddNewListParams(listName));
},

Accessing the route parameter using:
// static method
Router.getParams<AddNewListParams>(context);

Accessing from inside a controller:
var router = getService<Router>();
var listName = router.getParams<AddNewListParams>().listName;

In this concept, the pages will still be parameterless, the parameters are reusable from both widget and controller, and this is also a non-breaking change for existing projects.
Yeah, this is very possible. I will try to get into this later. Thanks for the suggestion.

Going to check out your todo example again and yeah I like the params, but maybe add a little sugar so you can just do something like Router.getParams<AddNewListParams>()

Oh, wait. I think this is better. Inside MomentumController we have built-in methods:

dependOn<T> - for accessing other controllers.
getService<T> - for accessing services.

I think I can do:
void someMethod() {
  var params = getParams<AddNewListParams>();
  // or "getRouterParams<T>()"...
  var listName = params.listName;
  var otherParam = params.otherParam;
}

Just a follow-up comment.
I started coding this one. And I realized that it is bigger than expected because:

Persistence needs to be considered. (Optionally enable or disable).

The getParams<T>() inside controllers need to be decoupled instead of adding directly inside MomentumController as a built-in function. (I created RouterMixin for MomentumController instead). It is bad design if from widgets you are able to call someController.getParams<T>() without context and it looks like the params are from the controller, not the router. This means that the getParams<T>() method doesn't really exist for all controllers by default. You need to do this:
// from:
class SomeController extends MomentumController { ... }

// to:
class SomeController extends MomentumController with RouterMixin { ... }

I decided to add the enablePersistence parameter on the Router constructor to optionally disable it. So you can still use momentum's built-in router system without persistence. (I realized I don't always need it).

I'll be adding new tests and docs too.

I don't know when will I be done with this because it's quite busy. This feature is really cool.

ql tnx

Ok so, the persistence support for route param is harder than I expected. The reason is that the route param can be of any type so the JSON serializer will not know exactly what type it will need to serialize. I will still implement the route parameter.
If the developer wants to persist the parameter, they only need to put the param on the model too and enable persistence on that model.

I published a new version on pub.dev: v1.2.8
Docs References:

Updated Router.goto and Router.pop docs.
New RouterMixin docs.

@exts if you found an issue relating to this update, file a separate issue. I'll be locking this one.


Add slack user information the project api

Coverage remained the same at 91.586% when pulling e1969f49faa9ed36b53e3d7e8a02818d90240215 on slack-user-id into b6f480c84a34ffbef75cafe729ffa21a019b8cdb on master.


Cannot get ReturnType of protected class member

Code
class A {
  a(): ReturnType<this['b']> { // it shows Private or protected member 'b' cannot be accessed on a type parameter.ts(4105)
    return this.b();
  }

  protected b(): any {
    return '';
  }
}

class B extends A {
  protected b(): number {
    return 1;
  }
}

how could I get ReturnType of protected class member

You forgot to fill out the issue template. Duplicate of #17362.


doc fix doc rendering and add version bar

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


hideOverlappingLabels not working, all other options are working in stacked chart. xaxis:{labels:{ hideOverlappingLabels:true}}

Codepen
Modify this codepen to demonstrate the problem clearly, just fork it and paste the resulting codepen in your issue. Please make sure this is a minimal example, containing only the minimum necessary code to help us troubleshoot your problem.
If you are using vue-apexcharts, and want to create a demo in Vue environment, use CodeSandbox Vue template
If you are using react-apexcharts, and want to create a demo in React environment, use CodeSandbox React template
Explanation

What is the behavior you expect?
What is happening instead?
What error message are you getting?

Your provided codepen link is invalid.
Please provide a working codepen example.


rule's detail is not written

About "911100  Method is not allowed by policy", according to CRS3.0 Offitial documentation,  GET/HEAD/POST/OPTIONS are allowed by default. But as I tried it in Application Gateway's WAF, DELETE was also allowed, and PROPFIND is DENIED.
It seems that the rule is customized so that REST API can normally work, it's OK.
But in Application Gateway's documentation page, it's not explained. So, we can see "there is a rule that limits http method", but we can't see "then which methods are allowed". Further it's customized from default, the rule's detail should be written, or write rule configuration file's URL is also fine.
「911100 メソッドがポリシーによって許可されていません」について、CRS3.0のドキュメントでは、デフォルトで「GET HEAD POST OPTIONS」のみが許可されるとあります。一方、私が動作確認した限りでは、ApplicationGatewayのWAFではDELETEは許可され、PROPFINDは拒否される、という結果が得られました。
当ページの記載では、「特定のHTTPメソッドのみを許可する」というルールがあることはわかりますが、具体的にどのメソッドが許可され、どのメソッドが拒否されるかわかりません。デフォルトの設定と異なるのであれば尚更、明記して頂けると助かります。あるいは、設定ファイルが公開されている場合、そのURLを併記して頂ければと思います。

ドキュメントの詳細
⚠ このセクションを編集しないでください。 docs.microsoft.com で必須です ➟ GitHub の問題のリンク。

ID: f9c5b784-df0f-30cc-1547-bb4de751b7de
Version Independent ID: 8434d925-968a-ceea-e1f6-56d7816f7b3d
Content
Content Source
Service: application-gateway

Thanks for reporting! I have assigned the issue to the author to investigate and update as appropriate.

@MohitGargMSFT: I'm having some difficulty understanding what needs to be corrected in the English version of the article. Can you please elaborate on what the issue is? I'm not finding 911100 in the article.

@Sara-Nicolini - Sara, the author has indicated that the context reported by the user is not present in the EN-US version, so it seems like the Japanese article may need to be updated to match the EN-US one?

@davidmu1
In article below: https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-crs-rulegroups-rules
There is the description "911100 Method is not allowed by policy".
Here, it's not described that which method is not allowed.
To configure Application Gateway's WAF, we need to understand it.
And more, not allowed methods seems to be changed by the default CRS's rule.
So, please describe which methods are not allowed.

#in-progress

Hi All,
The en-us  (04/16/2018) page version is much recent than the localized version (2017/03/28).
Shouldn't we check if this this issue repros after the new localized version is released?

@vhorne We believe this is a source text issue. Can you please confirm you are working on this request?
Thanks!

Helo @vhorne has this been resolved?

Hello @vhorne has this been resolved?

@vhorne any update ?

Heelo @vhorne
Is there an update on this issue?
Thanks!

Hi @vhorne Do you have any updates on this? Can you please remove me from the Assgnation field? As we believe this is a Source text issue.
CC @Adam-Smith-MSFT @Sara-Nicolini @SunnyDeng

cc @twooley
Hi Tessa, could you please help to point the right writer?
cc @DavidPrio

Hi team,
any updates on this?
@SunnyDeng @twooley @DavidPrio

@CeciAc this issue was assigned to the PM @winthrop28 to take care of already. Please kindly leave some time there.

Closing, issue was not reproduced in the EN source content.

Also fun, PATCH is denied.  This is RESTFUL and heavily used in APIs


Password setup - Password field is cleared when refocussing again to enter a numeral

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue was found when executing #6905
Action Performed:

Launch the app
Enter a new email address
Click the link from the email
Enter asdfasdF in password field
Remove focus from the field
Again focus on the field to add a number

Expected Result:
Already typed characters should appear and able to add a number
Actual Result:
The field is cleared
Workaround:
Unknown
Platform:

Where is this issue occurring?

iOS

Mobile Web Safari

Version Number:
1.1.25 -0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/148130471-26150f27-ad9b-46d6-aca0-80778aeb034d.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:
View all open jobs on GitHub

Triggered auto assignment to @MariaHCD (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

I wasn't able to reproduce the issue on mWeb with safari, but I was able to reproduce it with core react native TextInput. Simply adding secureTextEntry prop causes this behaviour to occur. I have also downloaded a few apps and from the store and noticed that a lot of apps - instagram, facebook, spotify, tiktok, snapchat, pokemon go - all have this issue. The list includes both react apps and native apps, so it doesn't seem like a react native only issue. The only apps that didn't have this issue are Upwork and Waze. Not sure how upwork solved this issue, but Waze has a workaround that makes it so the input field never looses focus, which is probably not applicable to our app since we have that password toggle button.
So my question is if you would be looking for some workaround in javascript or just scrap the issue?

Thanks for the input, @dklymenk! Looks like this is the default behaviour on iOS when the property secureTextEntry is set. https://github.com/facebook/react-native/issues/9148
I'm inclined toward scrapping this issue as it seems like it has a limited user impact and trying to find a workaround might be more effort than it's worth. Getting a second opinion here!

Got a second opinion from @Beamanator, we both agree that since this is standard behavior on iOS, it wouldn't be worth trying to fix this. Closing!


Parameters adaptation for clustering

I am working on SmartSeq C1 scRNA-seq data, ~200 cells. The clustering using PCA+kmeans on filtered and CPM normalized counts demonstrates confident gene markers expression in certain clusters. However, trying to perform BackSPIN on the same data with 2000 genes selection gives rather distributed clustering without marker gene confirmation. It's also possible to see from tSNE plot with cluster color markers. Why could this happen? Is there any specific parameters adaptation for BackSPIN to improve precision? For example based on number of cells?

Is your data from the standard C1 protocol, e.g. SMART-seq? If so, you will have reads (or normalized reads, e.g. RPKM), but BackSPIN was optimized to work on absolute count data as you would get from a method that uses UMIs. We have never tested on RPKM type data, and it's possible it won't work very well. Particularly the gene selection will probably not work.

Thanks for reply! Yep, the protocol is a standard SMART-seq without UMIs.  I tried changing the counts normalization (without/size factor/...), but did not get any major changes. I suppose the issue can be closed then.  Also, it would be nice if the optimization of BackSPIN for the data with UMIs will be mentioned in README or documentation.


pad the output in logConcurrentOutput mode

fixes #43
fixes #55

// @kevva @arthurvr @stevemao @shinnn

Gonna keep this open for a few days so people are able to try it out. Then I'm merging and doing a major release.

Does this look correct?

Is autoprefixer and connect under the concurrent task? @kevva
Can you share you gruntfile

@stevemao, I just did a quick test with generator-webapp (https://github.com/yeoman/generator-webapp/blob/master/app/templates/Gruntfile.js#L417-L420). Only had copy so it seems right to me.


[feature]: Kubernetes example in the documentation

Is your feature request related to a problem? Please describe.
No.
Describe the solution you'd like
Kubernetes example. Should contain the required run commands, service, volume definitions, dealing with lock files etc.
Describe alternatives you've considered
None.
Additional context
I'm having trouble getting it to start with Kubernetes, or correctly restart. Here's what I got so far:
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: lnd
  name: lnd
  namespace: cryptocurrency
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 2
  selector:
    matchLabels:
      app: lnd
  strategy:
    rollingUpdate:
      maxSurge: 1
      maxUnavailable: 1
    type: RollingUpdate
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: lnd
    spec:
      initContainers: # <--- Are initContainers needed?
      - name: setup-lnd
        image: busybox:1.35.0
        imagePullPolicy: IfNotPresent
        command: ["Do I need something here to fix lock files?"]
        volumeMounts:
        - mountPath: /root/.lnd
          name: lnd-data
      containers:
      - env:
        - name: ServerIP
          valueFrom:
            fieldRef:
              fieldPath: status.podIP
        image: lnzap/lnd:v0.12.0-beta # <---- Should not use :latest
        command:
          - "what to put here?" # <---- Help needed
        imagePullPolicy: IfNotPresent
        name: lnd
        resources:
          requests:
            cpu: "10m"
            memory: "512Mi"
        volumeMounts:
        - mountPath: /root/.lnd
          name: lnd-data
        ports:
        - containerPort: 8080
          name: lnd-http
          protocol: TCP
        - containerPort: 10009
          name: lnd-rpc
          protocol: TCP
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      volumes:
        - name: lnd-data
          persistentVolumeClaim:
            claimName: lnd-data-pvc
      terminationGracePeriodSeconds: 30
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  namespace: cryptocurrency
  labels:
    app: lnd
  name: lnd-data-pvc
spec:
  storageClassName: ""
  volumeName: lnd-data-pv
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 250Mi
---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: lnd
  name: lnd
  namespace: cryptocurrency
spec:
  externalTrafficPolicy: Local
  ports:
  - name: lnd-http
    protocol: TCP
    port: 8080
    targetPort: 8080
  - name: lnd-rpc
    protocol: TCP
    port: 10009
  selector:
    app: lnd
  # loadBalancerIP: <IP_ADDRESS> # If using MetalLB
  type: LoadBalancer

Take a look at this: https://github.com/lightninglabs/lndinit#example-use-case-2-kubernetes
The tool lndinit is intended to be used for secret management and wallet unlocking tasks.

Oh nice, thank you very much!

FYI, documentation is out of date. See: https://github.com/lightningnetwork/lnd/discussions/7393


Fail to press Run/Debug (F5) to run in debugger under http path

Describe the issue:
When press Run/Debug (F5) in the http path, there is no debugger configured, and the page is as follows:

Repro Steps:

Run azd init --template azure-functions-java-flex-consumption-azd.
Run azd auth login.
Run azd up.
Run cd ./http.
Run code ..
Press F5.

Expected behavior:
Press Run/Debug (F5) to run successfully.
@hemarina and @BigMorty for notification.

Could not repro this, F5 worked fine for me. I will say, getting your Java dev environment configured correctly is challenging.

@BigMorty When in the project root directory, we can Run/Debug (F5) to start the debugger.

However, following the steps in the README to set the http folder as the root directory, it fails to Run/Debug (F5) because there are no relevant configuration files in the .vscode folder.

Thanks @v-weiyding for the additional details. Yes, I see the issue here. I have updated the readme so it does not instruct the user to change to the http directory when opening/F5ing in VSCode. Fixed by https://github.com/Azure-Samples/azure-functions-java-flex-consumption-azd/pull/11

@BigMorty This issue has been fixed, and I will close it once the PR is merged.


Update our hub-health service to properly set roles

Context
Warning in the JupyterHub logs:
[W 2022-12-05 10:49:52.801 JupyterHub app:2312] Service hub-health sets `admin: True`, which is deprecated in JupyterHub 2.0. You can assign now assign roles via `JupyterHub.load_roles` configuration. If you specify services in the admin role configuration, the Service admin flag will be ignored.

We should update our helm chart accordingly.
Proposal
No response
Updates and actions
No response

Needs investigation to see if this is still the case or if it has resolved itself

The permissions for the health check should still should be narrowed to the relevant permissions only:
https://github.com/2i2c-org/infrastructure/blob/864d8f8a34383805ff4ab6241a50afc3fc83803e/helm-charts/basehub/values.yaml#L517-L527
Action points

Identify required JupyterHub RBAC permissions
Declare an entry for hub.loadRoles with the permissions (scopes) in basehub, applying it to the hub-health jupyterhub service.jupyterhub:
  hub:
    loadRoles:
      hub-health:
        # scopes should at least include permissions to start the
        # user server for the user "deployment-service-check"
        scopes: [???]
        services: [hub-health]

Btw a bug to be aware about is that changes to hub.loadRoles doesn't yet trigger a restart of the hub pod as it should, see https://github.com/jupyterhub/zero-to-jupyterhub-k8s/issues/3251.


Query.prototype.stream() is deprecated in mongoose >= 4.5.0

Query.prototype.stream() is deprecated in mongoose >= 4.5.0, use Query.prototype.cursor() instead

see https://github.com/weisjohn/mongoose-csv/commit/7a0de3d829c14782cab47cb4aba3ad73b266eab7


Non-responsiveness on homepage🐛

URL of the Page
https://researchequals.com
What happened?
When I try to use the search bar on the homepage, it doesn't show up. I only see a slight thing pop up on the left side of my screen. It works fine on other pages
Steps to reproduce
No response
What browser(s) did you use?
Firefox, Safari, Microsoft Edge
Anything else?
@nsunami can you try to replicate this issue? It seems new and I'm not sure why...
EDIT: Might be because of the translation package? Should test this out...

I see the search bar, when I focus on it. But I cannot type it. I'm guessing it is related to destructing behavior to on lazy component in react?

I can type in the detached mode, but results are not showing up.


revert release workflow

even though release didn't fail, the binary only works on ubuntu 22.04 due to shared C libraries and glibc versions. It doesn't run on my machine cuz I am way ahead of canonical's package update schedule.

:disappointed: one more time I am disappointed by the snake


Removing "go mod vendor" from test script

Test script was running go mod vendor with golang 1.13 from the default Travis environment, with the source dir mounted as a volume. This removes the "explicit" tags in modules.txt [1], causing the build to fail with "<EMAIL_ADDRESS>is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt" when it is later built for real with golang 1.14 [2]. This script should probably run tests using the same version of golang we will eventually build with.  I'm removing this line because we do the go mod vendor before committing now.
[1] https://github.com/infrawatch/sg-core/blob/master/vendor/modules.txt#L2
[2] https://travis-ci.org/github/infrawatch/sg-core/builds/743489014#L1237

Problem shifted to mismatches with the testing requirements, so pursuing the idea of actually using the correct golang version instead.

It will be fun keeping these versions in sync

There is probably something we could do where we just use a container to build the artifacts for us or something, then we could just re-leverage the same base image (and thus, keep our Golang deps in sync automatically).


This error is prompted when running python3 main.py

![Uploading 微信图片_202403180

04620.png…](
Traceback (most recent call last):
File "main.py", line 11, in
from gpt import *
File "/root/MoneyPrinter/Backend/gpt.py", line 9, in
import google.generativeai as genai
File "/usr/local/lib/python3.8/dist-packages/google/generativeai/init.py", line 55, in
from google.generativeai import types
File "/usr/local/lib/python3.8/dist-packages/google/generativeai/types/init.py", line 17, in
from google.generativeai.types.discuss_types import *
File "/usr/local/lib/python3.8/dist-packages/google/generativeai/types/discuss_types.py", line 21, in
import google.ai.generativelanguage as glm
File "/usr/local/lib/python3.8/dist-packages/google/ai/generativelanguage/init.py", line 21, in
from google.ai.generativelanguage_v1beta2.services.discuss_service.async_client import (
File "/usr/local/lib/python3.8/dist-packages/google/ai/generativelanguage_v1beta2/init.py", line 21, in
from .services.discuss_service import DiscussServiceAsyncClient, DiscussServiceClient
File "/usr/local/lib/python3.8/dist-packages/google/ai/generativelanguage_v1beta2/services/discuss_service/init.py", line 16, in
from .async_client import DiscussServiceAsyncClient
File "/usr/local/lib/python3.8/dist-packages/google/ai/generativelanguage_v1beta2/services/discuss_service/async_client.py", line 32, in
from google.api_core import gapic_v1
File "/usr/local/lib/python3.8/dist-packages/google/api_core/gapic_v1/init.py", line 16, in
from google.api_core.gapic_v1 import config
File "/usr/local/lib/python3.8/dist-packages/google/api_core/gapic_v1/config.py", line 23, in
import grpc
ModuleNotFoundError: No module named 'grpc'

pip install grpc


View booking list should show parking choice

Same should apply to the previous bookings

going to use the existing button logic for upcoming bookings:

and previous bookings just have a suffix of with parking at the end

here is what i have for upcoming bookings section:

I'm still not sold on the icon with the button, but I can't think of any better way to do it on the home page so it'll do for now.  Makes sense to use it here too for consistency.

here is how it looks now :


Op for prediction in CRF case

Does it make sense to create an Op for the prediction part of the CRF model using something like tf.py_func? Would be nice to monitor accuracy during training. Or would that make training insanely slow?

Considering the fact that an epoch is really fast (less than 2 minutes on GPU), I'm not sure that this is relevant as it would decrease the training speed! Plus the fact that you can monitor the accuracy at the end of each epoch. However, you can adapt the code and run the evaluation at the same time as you train, to get the accuracy. But it would make the code messier, and I think this is best to keep it as simple as possible so that people can adapt it easily to their needs.


Consider adding lint-staged to be used with husky for a Git pre-commit hook

It's great that the project is already using the husky package for Git hooks. Currently there is a Git pre-push hook. Consider a pre-commit hook using lint-staged. Having a pre-commit hook can lint (potentially fix issues), run prettier and also be able to run tests related to the files being changed.
For an example of this in the wild, see https://github.com/forem/forem/blob/master/package.json#L30-L75
Documents and Links

lint-staged
Stuff I always Set Up for Frontend Work

Yeah, that would be great!


Symmetric key generation based on public-key cryptography

Hello, I'm evaluating some encrypted Storage libraries for inclusion in a project, and I noticed a potential issue in the way secret-local-storage generates keys.
The keygen function in https://github.com/little-core-labs/secret-local-storage/blob/master/keygen.js is intended to generate a key for later use with with crypto_secretbox_easy, which wraps a symmetric encryption algorithm. According to the Sodium documentation (https://libsodium.gitbook.io/doc/secret-key_cryptography/secretbox#example), the proper way to do this is to call crypto_secretbox_keygen.
What keygen actually does is to call crypto_sign_seed_keypair, which generates a public-private keypair using Ed25519. keygen then discards the public key, and extracts 256 bits from the private key, for later use as a 256-bit key for symmetric cryptography.
I am not an expert in elliptic curve cryptography, and I do not know how Sodium stores Ed25519 private keys internally, but my concern is that by using part of an asymmetric private key as a symmetric key, the resulting key may not have the level of entropy necessary for secure operation.
Is there any particular reason that keygen works this way? Perhaps I am missing something here. Thanks for your time time and for this library.

Hi @brianmwaters,
Thanks for reaching out. I cannot recall exactly but I believe the decision to generate symmetric keys this way was because sodium-javascript lacked support for the crypto_secretbox_keygen implementation.


'R' is also in homebrew-science

Installing R is also in homebrew-science.
https://github.com/Homebrew/homebrew-science/blob/master/r.rb
Is this duplication intended? Maybe having only one is better for maintenance.

Thank you for letting us know.
Tracking in https://github.com/caskroom/homebrew-cask/issues/15603


Generated file src\core\Release\i386\gen\components\paint_preview\common\proto\paint_preview.pb.h won't compile

..it is dragging in the macros for major and minor from <sys/types.h>
For now just manually add:
#undef major
#undef minor
to the generated file - but this should be fixed properly at some point

this is likely a header fix to <sys/types.h> to better align with BSD

this is likely a header fix to <sys/types.h> to better align with BSD

Seems to come from:
#include

Workaround for this now in place.


Chore change some log fatal and dcheck to exception

Proposed changes
change some log fatal and dcheck to exception
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.33 seconds
stream load tsv:          511 seconds loaded<PHONE_NUMBER>9 Bytes, about 139 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.2 seconds inserted 10000000 Rows, about 342K ops/s
storage size:<PHONE_NUMBER>7 Bytes


How Can I Prevent sort-classes from Reordering Class Properties Incorrectly with perfectionist?

I have the following code:
function createState(cb) {
  function set() { ... }
  cb(set);
}

function querystring() {
    return { value: '...' }
}

class Foo {
   querystring = createQueryString();

   state = createState((set) => {
      set('query', this.queryString.value);
   });
}

When I run the sort-classes rule with recommended-alphabetical, it gets changed to:
class Foo {
   state = createState((set) => {
      set('query', this.queryString.value);
   });
   querystring = createQueryString();
}

The issue is that querystring must be initialized before state. otherwise there is a runtime error.  this.queryString. undefined.
Is there a way to fix this using perfectionist?
ESLint version
^9.8.0
ESLint Plugin Perfectionist version
latest
Additional comments
No response
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Hi @jon9090, this is something that needs to be fixed on the plugin side, it shouldn't take long. In the meantime, you can use customGroups to force querystring to be before anything else.


Added type="button" to s without any type again

Basically the same as #23866.

the lack of type="button" is only problematic when it's inside a <form> so that's often overlooked (unless you're an ASP developer that makes the entire page a form all the time). but yes, good call, we should probably err on the side of caution with these.

(as @mdo approved the previous one, i assume it's fine to merge right away)


elimiate error where the second double quote of "\" is ignored

I just saw pull request already deals with this issue plus a few others


The cartesian coordinate output show (0,0,0)

I am using geographiclib with ros2 to visualize gps data.
My code that use geographiclib is as follow:
        double lat_origin, lon_origin, alt_origin;
        bool first_frame = true;

        GeographicLib::LocalCartesian local_geo;
        GeographicLib::Geocentric earth(GeographicLib::Constants::WGS84_a(),
                                GeographicLib::Constants::WGS84_f());

        if (first_frame) {
            lat_origin = msg->latitude;
            lon_origin = msg->longitude;
            alt_origin = msg->altitude;
            local_geo = GeographicLib::LocalCartesian(lat_origin,
                                                    lon_origin,
                                                    alt_origin,
                                                    earth);
        first_frame = false;

        }

         double x, y, z;
  // Warning: if the measurement of altitude is wrong,
  // then the result of projection will be wrong.
        local_geo.Forward(msg->latitude, msg->longitude, msg->altitude, x, y, z);

        std::cout << "Status: " << static_cast<int>(msg->status.status) << std::endl;
        std::cout << "(latitude, longitude, altitude)(deg, m) => (x, y, z)(m) = ("
            << std::to_string(msg->latitude) << ", "
            << std::to_string(msg->longitude) << ", "
            << std::to_string(msg->altitude) << ") => ("
            << x << ", "
            << y << ", "
            << z << ")" << std::endl;

The output is:
Status: 0
(latitude, longitude, altitude)(deg, m) => (x, y, z)(m) = (22.122314, 95.154300, 1.000000) => (0, 0, 0)

The msg class pointer would give the gps data.
Thanks for your time.

I don't have the full context here.  Where is msg declared?  Also I'm not sure what you're asking?  Are you reporting a bug or is there something about the output that you don't understand?

the msg is struct of longitude,latitude data from gps sensor. There is no output when I using GeographicLib::LocalCartesian.Forward( latitude, longitude , altitude , x , y , z)
The cartesian coordinate just give ( 0 (x) , 0 (y)  , 0(z) )
This issue is like reporting bug.
Thanks.

There's no way GeographicLib::LocalCartesian.Forward can populate the various fields of msg, since the msg struct isn't anything GeographicLib knows about.  Try asking the ros2 people.

Thanks for your reply.


feat(html/codegen): print unquoted value when it is possible

Description:
In some cases we can print attributes without quotes, so let's use it for minified
BREAKING CHANGE:
No
Related issue (if exists):
No

Can you rebase?

@kdy1 Done :+1:


Where is the documentation for this?

Edit: Can you help me find updated documentation for the lastest version of the Azure Scheduler SDK? The code sample library is a start, but the little documentation available is outdated. Please see https://github.com/Azure-Samples/scheduler-dotnet-getting-started/issues/1

@1TheMuffinMan there are N number of services in Azure.
Could you help us and be specific as to what service .NET SDK are you referring about?

@1TheMuffinMan ignore what I said, found the service.

@shahabhijeet Looks like I forgot to update this question. The issue I'm experiencing here is for the older Azure Scheduler .NET SDK, so I've moved on to trying to get the new version working. Here's the updated question:
https://github.com/Azure-Samples/scheduler-dotnet-getting-started/issues/1

@shahabhijeet what is the Azure Scheduler NuGet package that we can use to generate the documentation?

@dend Here you go https://www.nuget.org/packages/Microsoft.Azure.Management.Scheduler

Specifically, the unknown area is configuring authentication when initializing the SchedulerManagementClient.  https://github.com/Azure-Samples/scheduler-dotnet-getting-started/blob/master/SchedulerArmSDKTemplate/Program.cs#L25
There are two ways to authenticate:

Using a token (this is documented, but the documentation is old and doesn't reflect the most current Azure Portal UI https://github.com/Azure-Samples/scheduler-dotnet-getting-started/blob/master/SchedulerArmSDKTemplate/App.config#L7)
Using a management certificate (not documented). This way seems easiest, so I'd like to know how I can get that working.

@1TheMuffinMan thanks for the feedback, it will be relatively straightforward to onboard the new package to the docs site.
@shahabhijeet can you confirm that the above makes sense? If it does, then we should proceed with the onboarding.


[no-internal rule] Add a summary table

The current output of the lint rule is very verbose and not easily consumable in a CI build or locally. We should introduce a better summary of the output that is de-duped.
Add a summary table that groups by the package.
Add to the summary the count of internal, alpha and beta usage

@calebmshafer is something like this what you had in mind?


How do we print out records?

Showcase how to print out records.

Starting on this one

It prints out beatiful


Running mysql command "optimize" fails on pulse_aggregates

Pulse Version
beta14
Laravel Version
10.47
PHP Version
8.2
Livewire Version
3.4.8
Database Driver & Version
We run on Planet Scale
Description
When running "optimize table pulse_aggregates" mysql command in the table, it fails because an index. In particular with the pulse_aggregates_bucket_period_type_aggregate_key_hash_unique index. The error which pops up is: Duplicate entry '1710328680-360-Threads_connected-count-NULL' for key 'pulse_aggregates.pulse_aggregates_bucket_period_type_aggregate_key_hash_unique'
Investigating with the Planet Scale support, looks like the issue may come from the fact that the key_hash column is virtual, instead of generated. This could potentially allow duplicated records of values without making the unique index rise the hand saying that this is not allowed. Thus, we may have duplicated records which makes the command to fail.
Steps To Reproduce
The full story is that we enabled pulse for the database. The database started to grow so fast. We realized about that and we discovered a bug that was preventing pulse to empty the DB. Such bug was reported here and solved by you guys. Before such bug was resolved, we needed to implement an urgent solution: delete DB records ourselves regularly. Finally, we decided to stop using pulse in the database and we switched to redis ingestor. Thus, most of the records in the pulse_aggregates table were deleted. But the database didn't shrink because the file size was already as big as when we had all records in the table. So now we want to run the optimize command to lower our consumed space.
So I guess that if you put some records in the pulse_aggregates table. You run a query to delete them, and you start using redis ingestor, you may be able to reproduce it, but I'm not sure.
I hope that helps.

Hey @didac-adria,
It sounds like switching to the Redis ingest was the right decision for the size of your application :+1:
We just tried to run optimize table pulse_aggregates on one of our high-traffic applications, and we experienced the same error. This is because the database needs to perform a "recreate and analyze" while new data is still coming into the table with potentially conflicting keys. The optimize process doesn't know how to resolve new conflicts like we do when upserting data. We were able to solve this by stopping the pulse:work command temporarily to prevent new data from entering the table during the optimize process. The Redis ingest will continue to collect a backlog of entries during this time so no new data will be lost. Once completed successfully, we restarted the pulse:work command to store the backlog of entries (which uses an upsert query to resolve conflicts) before it resumes normal operation.
With regards to the virtual/stored column, we actually followed PlanetScale's approach from https://planetscale.com/blog/generated-hash-columns-in-mysql. It's our understanding that while the column itself is virtual, the computed value is still stored in the index for that column. You are welcome to update your Pulse migration file to use stored on that column if you wish, and we'd be curious to know whether you experience any benefits if you decide to do that.
Hope that helps!


Generating list of repositories from github using github api

Currently https://framework.zend.com/status does not contain all repositories from zendframework org (the same on stats, documentation, issues). The current list is generated from https://github.com/zendframework/zf-mkdoc-theme/blob/gh-pages/scripts/zf-component-list.json which was created mainly to use in documentation.
I've created new script (bin/repos.php <github-token>) to generate config file with all repositories to get data from github api. It is using knplabs/github-api. I've added this as development dependency* in composer, so for now it should be generated locally and committed to the repository. We can change it and add it to the build process. Scripts requires provide github-token - because there is hourly limit on github api request (without token is 60, with token is 5000*).
Generated component list is associative array:
<?php
return [
    'zf-components' => [
        'component-name' => [
             'description' => '<github component description>',
             'docs' => <0|1>,
        ],
        ....
    ],
];

As you can see, description is fetched form github repository description, and probably it does not match description from zf-component-list.json. We can write another script to sychronize these descriptions.
docs has value 0 or 1 which means if there is documentation for the component. We check if mkdocs.yml file exists in the repository.
On documentation page we display repositories only with documentation.
When we generate statistics we use only components published on packagist, so packages like maintainers, zf3-web, ... are not gonna be on the statistics list.
* As I mentioned the script should be run locally, it's not a part of build process. This is because, not sure if you'd like to add these composer dependencies on production. Another concern is 5000 requests per hour (with github token). It seems to be a lot.
We have right now 149 repositories, so to generate the whole list of component we need to do around ~160 request to github api (1 request for each repo to check if mkdocs.yml exists, and listing all repositories). So even if we run build process multiple times on couple machines in the same hour it should be enough (shouldn't be?)
About dev dependencies... I just got an idea - if we slightly change build process:

install everything with dev dependencies
build website (repos list, stats, ... everything what we have in bin/build.php)
run composer install --no-dev to remove dev dependencies needed to build the website

Then we can have it on build process. What do you think?

Forgot to mention: because we don't include all zendframework packages in statistics the total download number is slightly different.
Currently on website we have: 173,712,680
and the real number for all packages is: 187,647,968
(so only 13,935,288 difference...) 😄

Here is PR to synchronize repos between zf-component-list.json file and github: https://github.com/zendframework/maintainers/pull/22

Ok, so... I've updated the PR. Now component list is generated on build process, and composer install runs twice: first to install all dependencies (including dev) and the second one (after build process) to remove these dev dependencies.
It is required to set GITHUB_TOKEN env variable on the server (see: creating a github token).


Default initialize a CmdPal mode

Summary of the Pull Request
TIL there's a high chance that enums are zero initialized in Debug builds but most likely not in Release builds
So, this PR adds a couple of default values to _currentMode and its associated XAML strings to make cmdpal/ats work deterministically on first use.
I also added a default value to _anchorKey just to be safe.

PR Checklist

[x] Closes #7254
[x] CLA signed.

Oh absolutely, I should've been using _switchToMode actually!

@msftbot merge this in 5 minutes


 (NODE_ENV=production)
The following error is a bug in Remix; please open an issue! https://github.com/remix-run/remix/issues/new
The following error is a bug in Remix; please open an issue! https://github.com/remix-run/remix/issues/new
X [ERROR] Build failed with 1 error:
node_modules/@remix-run/dev/dist/compiler/plugins/cssImports.js:174:30: ERROR: [plugin: css-file] entry file not found [plugin css-bundle-plugin]
app/root.tsx:1:30:
  1 │ import { cssBundleHref } from "@remix-run/css-bundle";
    ╵                               ~~~~~~~~~~~~~~~~~~~~~~~

This error came from the "onLoad" callback registered here:
node_modules/@remix-run/dev/dist/compiler/plugins/cssBundlePlugin.js:35:12:
  35 │       build.onLoad({
     ╵             ~~~~~~

at setup (C:\Users\CDP\GitHub\remix-blues-test\node_modules\@remix-run\dev\dist\compiler\plugins\cssBundlePlugin.js:35:13)
at handlePlugins (C:\Users\CDP\GitHub\remix-blues-test\node_modules\@remix-run\dev\node_modules\esbuild\lib\main.js:1279:21)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

X [ERROR] entry file not found [plugin css-file]
node_modules/@remix-run/dev/dist/compiler/plugins/cssImports.js:174:30:
  174 │           invariant["default"](entryFile, "entry file not found");
      ╵                               ^

at Object.invariant [as default] (C:\Users\CDP\GitHub\remix-blues-test\node_modules\@remix-run\dev\dist\invariant.js:18:11)
at C:\Users\CDP\GitHub\remix-blues-test\node_modules\@remix-run\dev\dist\compiler\plugins\cssImports.js:174:31
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

This error came from the "onLoad" callback registered here:
node_modules/@remix-run/dev/dist/compiler/plugins/cssImports.js:77:12:
  77 │       build.onLoad({
     ╵             ~~~~~~

at setup (C:\Users\CDP\GitHub\remix-blues-test\node_modules\@remix-run\dev\dist\compiler\plugins\cssImports.js:77:13)
at handlePlugins (C:\Users\CDP\GitHub\remix-blues-test\node_modules\@remix-run\dev\node_modules\esbuild\lib\main.js:1279:21)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

The plugin "css-file" was triggered by this import
app/root.tsx:14:23:
  14 │ import stylesheet from "~/tailwind.css";
     ╵                        ~~~~~~~~~~~~~~~~

ERROR: "build:remix" exited with 1.

Some more info:
I'm using remix v2.5.0, changing to 2.5.1 has same issue.
CUI I'm using is Nodejs command prompt (installed by node.js installer)
When I change CUI to gitbash, npm run build exited successfully.
Hope this helps,


How to import the length of nested array  to elasticsearch

Hello,
I am tying import  data from MongoDB to elasticsearch by mongo-connector, There is a nested array in each MongoDB document, the length of the nested array is useful, but the content of array is useless, I really do not want to import the content of array, how can I  import length of the nested array only, thank you very much.

It might be easiest to do this by implementing a custom DocmentFormatter.
See: https://github.com/mongodb-labs/mongo-connector/blob/f642aa70f7fa8f7cc0d07708e7013ebda3139c74/mongo_connector/doc_managers/formatters.py


ERROR: initialize: Condition ' modifiers == __null ' is true.

My OS:
4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04 LTS
Release:	16.04
Codename:	xenial

This is using Godot Stable 2.0.3-stable x11 64-bit version. When I attempt to run Godot nothing happens. When running from the command line I get the following output:
ERROR: initialize: Condition ' modifiers == __null ' is true.
   At: platform/x11/os_x11.cpp:117.
Segmentation fault (core dumped)

I know that my computer supports OpenGL and as far as I know I have the latest drivers.
david@david-X200CA:~$ glxinfo | grep -i opengl
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.2.0
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.2.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

This is frustrating because previously this version worked just fine. I updated my computer and now it do longer works. It seems to be something related to x11

I made a .desktop file in my home directory to launch the game and now the editor will open. I still can not run it by clicking the executable directly or attempting to run it from the command line.
I am using GNOME Shell 3.18.4 if that helps.

what language is your X11 configured at?
On Sat, Jun 11, 2016 at 7:34 PM, davidreif<EMAIL_ADDRESS>wrote:

I made a .desktop file in my home directory to launch the game and now the
editor will open. I still can not run it by clicking the executable
directly or attempting to run it from the command line.
I am using GNOME Shell 3.18.4 if that helps.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/5158#issuecomment-225398197,
or mute the thread
https://github.com/notifications/unsubscribe/AF-Z250rENUaNr0Fiv9mh8q8TxGOn3Kpks5qKzgPgaJpZM4IzmfM
.

If I understand correctly, en_US.UTF-8

Same error on Ubuntu 16.04 x64. English language. Same as David, got this error after last update.

The same error here, Ubuntu 16.04 64 bit, NVidia 364.19 drivers, Czech language. Everything worked OK in 15.04 64 bit. It happens for Godot 2.0.x.
When I run Godot through terminal as superuser, no error occurs.

So we build binaries on Ubuntu so that they work everywhere, and it's only on Ubuntu that they fail :-D
The binaries are built on Ubuntu 14.04 LTS (what Travis CI proposes). Could someone check if there is a difference with the 2.0, 2.0.1 or 2.0.2 binaries?
Also, could someone run Godot through gdb to get a backtrace of the crash?

Today I restarted my computer and  went to run Godot through gdb but it no longer crashes when run through the terminal.
However, when I click on the executable file it still silently crashes. The file permissions are set to run as an executable.

That's pretty weird. @reduz, I assume you're running Ubuntu 16.04 now, could you try the official 2.0.3 binaries to see if you can reproduce/debug? http://download.tuxfamily.org/godotengine/2.0.3/

lukas@terminator:~/Programy/godot$ gdb Godot_v2.0.3_stable_x11.64
GNU gdb (Ubuntu 7.11-0ubuntu1) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from Godot_v2.0.3_stable_x11.64...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/lukas/Programy/godot/Godot_v2.0.3_stable_x11.64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
ERROR: initialize: Condition ' modifiers == __null ' is true.
   At: platform/x11/os_x11.cpp:117.

Program received signal SIGSEGV, Segmentation fault.
0x000000000042589c in Main::setup2() ()

For Godot 2.0 it is the same except:
0x000000000042a10c in Main::setup2() ()
Running sudo gdb Godot_v2.0.3_stable_x11.64 starts Godot without an error.

When I run an exported game the same error occurs:
ERROR: initialize: Condition ' modifiers == __null ' is true.
   At: platform/x11/os_x11.cpp:117.
Boot splash path: res://splashscreen/splash.png
Neoprávněný přístup do paměti (SIGSEGV) (core dumped [obraz paměti uložen])

Sorry for Czech..
gdb output:
ERROR: initialize: Condition ' modifiers == __null ' is true.
   At: platform/x11/os_x11.cpp:117.
Boot splash path: res://splashscreen/splash.png

Program received signal SIGSEGV, Segmentation fault.
0x0000000000425576 in ?? ()

And, again, running the game as a root works without problems.

Can you type bt in the gdb console after the crash to get a backtrace?

(gdb) run
Starting program: /home/lukas/Programy/godot/Godot_v2.0.3_stable_x11.64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
ERROR: initialize: Condition ' modifiers == __null ' is true.
   At: platform/x11/os_x11.cpp:117.

Program received signal SIGSEGV, Segmentation fault.
0x000000000042589c in Main::setup2() ()
(gdb) bt
#0  0x000000000042589c in Main::setup2() ()
#1  0x0000000000427918 in Main::setup(char const*, int, char**, bool) ()
#2  0x000000000040ff8a in main ()

Does it crash the same way with the debug template? If so, could you try to get a backtrace with it to hopefully get more info about the call that crashes in Main::setup2()?

Also, does it crash if you build yourself from source? https://github.com/godotengine/godot/archive/2.0.3-stable.tar.gz
(I guess it won't, but it would be better to double check before digging too deep to find what library broke ABI compatibility without telling us about it :))

Do you mean exported game to linux with enable debugging? I will try that.
I will compile the engine but I am afraid I can't do that till tomorrow.

Yeah either an exported game with enabled debugging, or just trying to run the linux_x11_debug_64 binary directly.

Godot v2.0.3:
gdb --args ./linux_x11_64_debug -path ~/Programy/godot/demos_v2.0_stable/2d/lookat/
GNU gdb (Ubuntu 7.11-0ubuntu1) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./linux_x11_64_debug...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/lukas/tmp/godot exp temp 2.0.3/linux_x11_64_debug -path /home/lukas/Programy/godot/demos_v2.0_stable/2d/lookat/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
ERROR: initialize: Condition ' modifiers == __null ' is true.
   At: platform/x11/os_x11.cpp:117.

Program received signal SIGSEGV, Segmentation fault.
0x000000000042050c in Main::setup2() ()
(gdb) bt
#0  0x000000000042050c in Main::setup2() ()
#1  0x0000000000422583 in Main::setup(char const*, int, char**, bool) ()
#2  0x000000000040b27a in main ()

Godot v2.0.3 running lookat demo:
gdb --args ./linux_x11_64_debug -path ~/Programy/godot/demos_v2.0_stable/2d/lookat/
GNU gdb (Ubuntu 7.11-0ubuntu1) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./linux_x11_64_debug...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/lukas/tmp/godot exp temp 2.0.3/linux_x11_64_debug -path /home/lukas/Programy/godot/demos_v2.0_stable/2d/lookat/
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
ERROR: initialize: Condition ' modifiers == __null ' is true.
   At: platform/x11/os_x11.cpp:117.

Program received signal SIGSEGV, Segmentation fault.
0x000000000042050c in Main::setup2() ()
(gdb) bt
#0  0x000000000042050c in Main::setup2() ()
#1  0x0000000000422583 in Main::setup(char const*, int, char**, bool) ()
#2  0x000000000040b27a in main ()

Thanks. So I guess we have two issues:

XSetLocaleModifiers ("@im=none") seems to return NULL on Ubuntu 16.04, so it fails at https://github.com/godotengine/godot/blob/master/platform/x11/os_x11.cpp#L118-L119
The ERR_FAIL_COND at this stage of the setup likely makes the editor crash. It should probably be looked into too independently of the IM issue.

When I run all the previous command as a root, no error occurs.
I have to leave now. If you need to test something on my side I will be back in afternoon.

Could you try to rename your ~/.godot folder (e.g. to ~/.godot.save) and try again? If it works as root it might be a config issue (though the segfault hints at something more involved, but it's worth trying).

It might be a permission issue so that if XSetLocaleModifiers works on root and isn't null, thus no segfault.

The error still happens after renaming to ~/.godot.save.

After compiling (gcc 5.3.1), the error still happens. But there is additional info:
Hope it helps.
(gdb) run
Starting program: /home/lukas/Programy/godot/source/godot-2.0.3-stable/bin/godot.x11.tools.64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
ERROR: initialize: Condition ' modifiers == __null ' is true.
   At: platform/x11/os_x11.cpp:117.

Program received signal SIGSEGV, Segmentation fault.
0x000000000041c507 in Main::setup2 () at main/main.cpp:913
913				VisualServer::get_singleton()->set_default_clear_color(boot_splash_bg_color);
(gdb) bt
#0  0x000000000041c507 in Main::setup2 () at main/main.cpp:913
#1  0x000000000041b05c in Main::setup (
    execpath=0x7fffffffe0ce "/home/lukas/Programy/godot/source/godot-2.0.3-stable/bin/godot.x11.tools.64", argc=0,
    argv=0x7fffffffdd30, p_second_phase=true) at main/main.cpp:796
#2  0x000000000040b777 in main (argc=1, argv=0x7fffffffdd28) at platform/x11/godot_x11.cpp:36

Running 16.04 64-bit, using the official 64-bit binaries for 2.0.3 results in normal operation here. Running the open source AMD graphics drivers (Radeon HD 6670). Also tested with 32-bit binaries, again no issues.
4.4.0-24 kernel.

@lukaskotik It there any difference in the output of "locale" when running as root vs as normal user?

No, output is the same.

I found out that when I run Godot in terminal with "absolute" path to Godot ('/path_to_godot/Godot_v2.0.3_stable_x11.64'), it runs with no problem.
When it is run from the folder where the executable is placed it ends with the error.


litellm.py : disable telemetry

Uses the "LITELLM_LOCAL_MODEL_COST_MAP" variable to turn off an API call when liteLLM is imported.
Set 'litellm.telemetry = False' as well.
https://docs.litellm.ai/docs/completion/token_usage#9-register_model
https://github.com/BerriAI/litellm/blob/main/litellm/__init__.py

Thanks a lot @bluewin4 , could we fix this:

Ruff fix failed, failing the workflow.
Please run 'ruff check . --fix-only' locally and push the changes.

Hmm hey can you re-create the PR into main, not into the litellm branch which is super outdated? I tried to change it here but it's creating further problems. Also do run ruff if you get a chance. Thanks a lot @bluewin4 !


🐞 postTargets don't trigger target dependencies

postTargets should work just like targets which are run using nx run meaning that they should follow the targetDependencies described in nx.json.
IMHO, @nrwl/devkit's runExecutor() should trigger target dependencies but it doesn't. Cf. https://github.com/nrwl/nx/issues/7560
If this isn't fixed in @nrwl/devkit, we have to figure out a workaround like running nx run like we run any other command.

I'm currently having this problem at https://github.com/nidomiro/ts-tools. My first try of a 'workaround' is to add the dependency-target, in my case the build target, at the top of the postTargets.
Is there an easy way to call the build target with an extra parameter like '--production'?

My current workaround looks like this: https://github.com/nidomiro/ts-tools/commit/de6a73b2dde54f4a1913bbab589e41b3407fb7f4

I'm having the same problem. I want to execute a build in the postTargets. postTargets seem to ignore dependencies, it does not matter, if they are defined as dependsOn or in nx.json as targetDependencies.
also the "built-in" dependencies for the build-target is ignored.
    "version": {
      "executor": "@jscutlery/semver:version",
      "options": {
        "allowEmptyRelease": true,
        "preset": "conventional",
        "trackDeps": true,
        "commitMessageFormat": "chore(${projectName}): release version ${version}",
        "postTargets": [
          "my-lib:build",
          "my-lib:publish",
          "my-lib:release"
        ]
      }
    }

my-lib depends on my-other-lib, so I get an error:
Some of the project app-comm-lib's dependencies have not been built yet. Please build these libraries before:
- my-other-lib
Error: Some dependencies of 'my-lib' have not been built. This probably due to the build target being misconfigured.

My work around is to define this dependency in nx.json for the version-target, so the cli handles the dependency (builds depending-on libs before versioning):
  "targetDependencies": {
    "version": [
      {
        "target": "build",
        "projects": "dependencies"
      }
    ]
  },

Im having the same problem, seems like this can solve it for the moment.
"targetDefaults": {
"release": {
"dependsOn": ["^build"]
}
}


CX Unchecked_Input_for_Loop_Condition @ projects/Find_imdb_rating/find_IMDb_rating.py [master]

Unchecked_Input_for_Loop_Condition issue exists @ projects/Find_imdb_rating/find_IMDb_rating.py in branch master
Method input at line 19 of projects\Find_imdb_rating\find_IMDb_rating.py gets user input from element input . This element’s value flows through the code without being validated, and is eventually used in a loop condition in filmswe: at line 24 of projects\Find_imdb_rating\find_IMDb_rating.py. This constitutes an Unchecked Input for Loop Condition.Similarity ID: -1406300664
Severity: Medium
CWE:606
Vulnerability details and guidance
Internal Guidance
Checkmarx
Training
Recommended Fix
Lines: 19

Code (Line #19):
path = input("Enter the path where your films are: ")

Issue still exists.


Allow to exclude test files with cli

Clear and concise description of the problem
I have the following use case for an exclude flag in the vitest cli:
We have a codebase with some unit tests using vitest in ./src/
Alongside this code base there are some integration tests sharing the dto interfaces from ./src/. The integration tests are in ./tests/api/ and use their own vitest config in ./tests/api/vitest.config.ts.
We use lint-staged to execute relevant tests with vite related like the docs suggest.
However - those integration tests should not run in our commit hook due to their fragile nature. So I'd like to pass an exclude flag like so vitest related --exclude './tests/api/**'.
I couldn't find a solution with the already available CLI options. -t will only work on test names, but I want to exlude files.
Suggested solution
Introduce an --exclude that'll exclude all tests matching a regex pattern in this CLI run. It'll override any exclude/include pattern from the vitest config files.
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

@sheremet-va , may I tackle this issue?


install goaccess error

when I configure.it's show error: configure: error: Cannot find a library providing tputs
I already install  ncurses-devel
./configure --enable-utf8 --enable-geoip=mmdb

Are you building from tar.gz or upstream (github clone)?

I use the following steps
$ wget https://tar.goaccess.io/goaccess-1.7.1.tar.gz
$ tar -xzvf goaccess-1.7.1.tar.gz
$ cd goaccess-1.7.1/
$ ./configure --enable-utf8 --enable-geoip=mmdb
$ make
# make install

Can you try running:
# make distclean
# autoreconf -fiv
# ./configure --enable-utf8 --enable-geoip=mmdb
...

Let me know if that helps

Same wrong result

This may be a centos6 issue as I wasn't able to reproduce this on a vanilla centos7 machine. Have you tried testing this out on a newer machine?

I was able to build goaccess under Centos6 and no issues were found, so this is probably isolated to your environment. Here's the output from a vanilla vagrant centos6.
The only packages installed were:
$ sudo yum groupinstall "Development tools"
$ sudo yum install wget ncurses-devel


New local dev and deploy

Not sure what this means, but all of the other snyk tests are happy.

Merging because we are releasing 🚀 🚀 🚀


Proposal: Have WinUI Desktop support the UWP Jumplist API

Copied from the WinUI February Community Call thread to be used for tracking.
Currently, MSIX packaged desktop apps cannot effectively use the UWP Jumplist API because the app cannot be activated via jumplist tasks (see Windows Terminal issue https://github.com/microsoft/terminal/issues/576 for a brief overview of the problem). Full support of this API for WinUI Desktop apps would be quite nice as they are much easier to work with than the Win32/WPF APIs. For example, jumplist task icons can be easily set using the ms-appx:/// or ms-appdata:/// URI schemes instead of having to create an .exe or .dll containing the images, then set the path to that file and also an offset into the file for the specific icon.
The docs summarize the advantages of the UWP Jumplist API:

Alternatively, use the UWP Windows.UI.StartScreen.JumpList APIs instead, which allow you to reference string and image assets using the package-relative ms-resource URI scheme (which is also language, DPI, and high contrast aware).

@jesbis Can you please route this ? It looks like it might be part of the shell.

@jesbis This seems like a good fit for Project Reunion. Should we transfer this issue (and update it to include all Win32 apps)?

Taskbar APIs like badging and preview buttons - as well as Context Menus etc - should be wrapped so Fluent WinUI controls can replace Win32 controls one at a time.

Surely they should be separate from any UI stack? E.g. They’re a service of the shell, not the app platform.

I am having a look at getting Xamarin.Essentials / Microsoft MAUI running on WinUI and I notice that although the JumpList items are set, they do not have the args that I set when it launches the instance of the app. When the next instance of the app is launched, the JumpList still has the items with my args set. Just the OnLaunched event args do not have it.
When I added breakpoint in the generated static void Main(string[] args), I actually did get the args there. I also notice that it never does anything with it.

I added a hacky thing for my stuff:
            var args = e?.Arguments;
#if !WINDOWS_UWP
            if (string.IsNullOrEmpty(args))
            {
                var cliArgs = Environment.GetCommandLineArgs();
                if (cliArgs?.Length > 1)
                    args = cliArgs[1];
            }
#endif


fix: can't run command when the parent directory of PWD which exists tsconfig.json

Why
I can't run command when the parent directory of PWD which exists tsconfig.json

cc @fabien0102
Can you review this PR for me, thank you very much ❤

Can you please describe the issue you are facing in more detail, ideally with a minimal repro in a separate GH repo?

Can you please describe the issue you are facing in more detail, ideally with a minimal repro in a separate GH repo?

I think it has no problem for ordinary users. The problem I have is because I used submodule to integrate the project directly at the beginning (it is convenient to modify the source code for compilation and use).


Unable to Open Spread Sheet To Last Edited Cell

I am unable to successfully make a macro to open a spreadsheet to the last edited cell to continue working where I left off.
Here is the macro I have unsusscessfully tried so far to allow this function.
function onEdit(e) {
var ss = e.source
var sheet = ss.getActiveSheet();
var cell = ss.getActiveCell();
var row = cell.getRow();
var column = cell.getColumn();
var sheet_name = sheet.getSheetName();
var scriptProperties = PropertiesService.getScriptProperties();
scriptProperties.setProperty('row',row);
scriptProperties.setProperty('column',column);
scriptProperties.setProperty('sheet name',sheet_name);
}
function onOpen(e) {
var properties = PropertiesService.getScriptProperties();
var ss = e.source;
var sheet_name = properties.getProperty('sheet name');
var sheet = ss.getSheetByName(sheet_name);
var row = properties.getProperty('row');
var column = properties.getProperty('column');
var cell = sheet.getRange(row,column);
ss.setActiveSheet(sheet);
ss.setActiveRange(cell);
}

@askonev please take a look

Hi @meximan! Did I understand you correctly? Do you want to save the data in the scriptProperties variable to close the editor and then, starting work after closing, execute the macro and read the variable recorded in the last session?

Basically, I just want to add a macro that allows me to resume my work on the last edited cell

@meximan There is one technical limitation with scripts for macros. You cannot create a variable and refer to it after reloading the document. To solve your problem, I can only advise you to use a plugin with a database on your side, or save the data in a separate cell outside the range of the working document.


Add ability to create gpt disks with tar2ext4

The main changes in this PR are the following:

Construct gpt disk based on https://uefi.org/specifications gpt spec in tar2ext4
Allow multiple tar readers when creating gpt disks
Add new option to specify you want tar2ext4 vhd disks to be MB aligned
Add new command to tar2ext4 exe for reading gpt disks
Add new options to tar2ext4 exe for constructing gpt disks
Add tests for the new gpt functionality

Suggested edit:
diff --git a/ext4/tar2ext4/tar2ext4.go b/ext4/tar2ext4/tar2ext4.go
index 0e5569d5..4247be07 100644
--- a/ext4/tar2ext4/tar2ext4.go
+++ b/ext4/tar2ext4/tar2ext4.go
@@ -236,7 +236,7 @@ func findNextUnusedLogicalBlock(bytePosition uint64) uint64 {
 	return block + 1
 }

-func ConvertMultiple(multipleReaders []io.Reader, w io.ReadWriteSeeker, partitionGUIDs []string, diskGUIDString string, options ...Option) error {
+func ConvertMultiple(multipleReaders []io.Reader, w io.ReadWriteSeeker, partitionIDs []guid.GUID, diskID guid.GUID, options ...Option) error {
 	var p params
 	for _, opt := range options {
 		opt(&p)

@katiewasnothere - You are a rockstar for even attempting to read Starks code :). Love this!

Closing in favor of moving out changes


tar dependencies issue

Error while installing dependencies by npm i.

Please provide error message

When am doing 'npm i'
i got this error and after i did 'npm audit' and then i got the error details which i attached first screenshot

just warning.

one high vulnerabiliy is exist in project that am telling.


Handle Live Accounts

It's possible to handle live logins? When the username is set the page is redirected to the live login and the current login fails by timeout.

Hi there,
Yes it is possible. It would a few extra lines of code during the login process.
I wonder is it approriate to recognize Windows Live accounts based on containing '@' or that should be explicitly set in the configuration? Also can a regular skype name contain '@' ?

It's a great idea. Skype usernames cannot contain '@'.

@bkmeneguello please check if v0.9.10 works for you