Support for English fallback even when an unsupported language is selected

By @brickpop in https://github.com/flutter/flutter/issues/72284:
"
The point is that we have the strings, but the material widgets throw an error when the (unsupported) language is selected.
If some language is unsupported, would it be possible to at least bypass the error on the Material boundaries and use a fallback there? This would allow us to display our localized strings, even if the widget tooltips remain in English.
"
I'll try to come up with a reproducible sample in a small app, but if you get the chance before I do, could you share one @brickpop? It helps with confirming that the issue is fixed and provides a good template for a test to prevent regressions.

The closest I can get to a working example now, is a branch of the app itself:

Git clone https://gitlab.com/vocdoni/client-mobile.git
Switch to the gh/esperanto branch
Run make init and make run to launch the app on an Android device
Enter whatever name and a lock pattern to skip the initial screen
On the Identity tab, tap Settings > Select language > Esperanto

Any language will work, but selecting Esperanto will fail.

Locale declarations: https://gitlab.com/vocdoni/client-mobile/-/blob/gh/esperanto/lib/main.dart#L60-66
Locale switch handlers:

https://gitlab.com/vocdoni/client-mobile/-/blob/gh/esperanto/lib/data-models/app-state.dart#L56
https://gitlab.com/vocdoni/client-mobile/-/blob/gh/esperanto/lib/lib/i18n.dart#L68

In the next render,  the UI is broken

I/flutter (32211): ════════
I/flutter (32211): Warning: This application's locale, eo, is not supported by all of its
I/flutter (32211): localization delegates.
I/flutter (32211): > A MaterialLocalizations delegate that supports the eo locale was not found.
I/flutter (32211): See https://flutter.dev/tutorials/internationalization/ for more
I/flutter (32211): information about configuring an app's locale, supportedLocales,
I/flutter (32211): and localizationsDelegates parameters.
I/flutter (32211): ════════

...

I/flutter (32211): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (32211): The following assertion was thrown building AppBar(dirty, dependencies: [_ModalScopeStatus,
I/flutter (32211): _InheritedTheme, _LocalizationsScope-[GlobalKey#a2916], MediaQuery], state: _AppBarState#a1efc):
I/flutter (32211): No MaterialLocalizations found.
I/flutter (32211): AppBar widgets require MaterialLocalizations to be provided by a Localizations widget ancestor.
I/flutter (32211): The material library uses Localizations to generate messages, labels, and abbreviations.
I/flutter (32211): To introduce a MaterialLocalizations, either use a MaterialApp at the root of your application to
I/flutter (32211): include them automatically, or add a Localization widget with a MaterialLocalizations delegate.
I/flutter (32211): The specific widget that could not find a MaterialLocalizations ancestor was:
I/flutter (32211):   AppBar
I/flutter (32211): The ancestors of this widget were:
I/flutter (32211):   ...
I/flutter (32211):   TopNavigation
I/flutter (32211):   FlexibleSpaceBarSettings
I/flutter (32211):   ConstrainedBox
I/flutter (32211):   MediaQuery
I/flutter (32211):   LayoutId-[<_ScaffoldSlot.appBar>]
I/flutter (32211):   ...


Buy options

Buy will have only 2-3 options in 2.0 and will not have a complete tab in 2.0.
Need more details with each option though.
Name, short description, "Fee details" link, "Supported regions" link, "Supported methods" link

Ramp
Fee link: https://support.ramp.network/en/article/what-are-your-fees-1atf5lv/
Supported regions: https://support.ramp.network/en/article/what-countries-do-you-support-1ua7sn1/

Wyre
Fee: https://support.sendwyre.com/hc/en-us
Regions: https://support.sendwyre.com/hc/en-us/articles/360055233754-Geographic-Restrictions-

FastBitcoins
Fee: https://fastbitcoins.com/help
Regions: https://fastbitcoins.com/help

Verified this issue on dev app v1.9.5(337)


bake-escape feature request

Have you guys given any thought to escaping characters?
My use case:
I bake in code samples from various languages that have left angle brackets, and occasionally in java double curly braces. There's two problems that happen:

left/right angle brackets gets interpreted as html by the browser
bake leaves undefined wherever {{ }} is found

I'd like to see some feature like:

or at least
 <escaped> {{not_interpolated_var}}
but that's a bit more messy than I'd prefer.

Hey and sorry for the late response.
I have not thought about escaping yet, maybe @MathiasPaumgarten. Recently we introduced the option removeUndefined. When set to false placeholders which could not be resolved (e.g. no matching variable found in content) stay untouchend in the output code. As far as I know, with current bake version you should not get undefined in the output, depending on removeUndefined these are removed or stay. Can you please provide some tests that describe your usecase?

Included a test with what I'd like to see.
You'll notice when you run the test that

<Integer> isn't escaped (browser will think it's html)
The multi-line {{ \n ... \n }} is getting interpolated, and leaving behind undefined.

Hey guys,
I see your point @k-funk. Maybe a first quick solution to work around the double braces would be setting the options.parsePattern to something else like /\{\%\s?([\.\-\w]*)\s?\%\}/g which would change the parser to look for variables like this:

{% foo %}

Obviously you can change the pattern to what ever you think looks pretty in code.
I do find it a temporary solution. I think escaping and not escaping could be very powerful. Jade allows you to do that like so:
div= foo //- escaped
div!= foo  //- not espaced

So I'm very open for discussion here. I think an inline flag like _escaped="true" could be fitting for this. We'd have to iron out how the recursion is treated, as you can repeatedly overwrite the value as you go down the parsing tree. But that can be figured out.

This would probably have to deviate from the current implementation since the comment  would also be turned into html entities, and not function the same way, basically making any usage of bake-escape/_escaped="true"` be a leaf node.

htmlencode may be useful for the encoding.

Should we close this for now, as _process allows you to skip any encoding of any sort?

_assign and _process met my needs.

@david-zacharias Just tried implementing my solution which I thought would work. However, when I use _process="false", {{ code_here }} is still being processed into an empty string. You can reproduce this by changing /fixtures/includes/first.html to
{{code}}
 and see that the {{code}} is gone.
Is this expected behavior for _process?

It really shouldn't be, right? @david-zacharias do you have time to look into it, or do you want me to?

Oh sorry. @k-funk is right, I have missed that the processing of the placeholders takes place in the parse function in line 617 which is out of control of the replaceString function where inline attributes are evaluated. I have created a PR that fixes it and also added a test that contains placeholders on first level.
In general it is probably good to clean up and refactor some parts. e.g passing options from one method to another instead of using the global var. That would hopefully allow cleaner solutions than my current PR. But I guess none of us has the time for doing it…

Yeah ... I've been wanting to largely refactor grunt-bake for a while, since it's grown so much since it's original creation. It's outgrown it's state of one file and global vars for a while now. But it's quite the endeavour to rewrite it.  Thanks for fix though!! :+1:

@k-funk I just release his fix under 1.7.1. If you give it a shot it should finally take care of your issues.

Still doesn't work as expected. Only seems to work at a top level bake. Not for recursive bakes. You'll see that the result has no {{ code }} in it.
Try running the unit test for inline_no_process with this:
https://github.com/k-funk/grunt-bake/tree/inline-no-process-broken-recursive
(the below file/codes are the same as in my repo)
inline_no_process.html
<!DOCTYPE html>

first.html

second.html
{{ code }}

Bump! We're using many levels of bake to build our static documentation site, and the process directives tend to live in the second-to-deepest of 4-8 levels of nesting of files to bake together, so it needs to work for us recursively.

Sorry for the delay, I have a quite heavy workload at the moment...
With my last commit I have included a test that simulates the disabling of processing in an inlcuded file. The commit also includes a fix which let all tests run green.
@k-funk and @bosh can you please add the current bake master to your projects, give it a try, and report. My commit it is kind of hotfix as I had not the time to inspect everything down to the last detail.

@david-zacharias . _process is now working with with sub-includes, but _assign on the same line broke when https://github.com/MathiasPaumgarten/grunt-bake/commit/57e53fdda63d8e2d32573e5c58ec66c44f6c6c97 was made. _assign on the same line does work in 1.7.1.
The code i've been trying to get work this whole time is something like (this is a sub-include):

{{ code | escape }}

Well, I have taken a deeper look into the processing and found that placeholders have been evaluated to early so they were resolved when the correct replacement was not ready. So the assign worked internally, but the placeholder was aready removed at the point where the script wanted to replace it...

Looks good. Tested it out with my project and it's now working as expected.
@MathiasPaumgarten version bump to 1.7.2 ?

I've just release 1.7.2 on NPM. Thanks @david-zacharias and @k-funk for testing.

👍


Helping with an API model

I am trying to get an idea of how to model my data.
Context: I am trying to create an app that would take someone to create a TEAM, and then associate users to this team.
Within this Team, I can create Tournaments, which within each tournament and. would be able to add the position of each user had in it.
The restriction here is that I would like the users to ONLY be able to see all the teams they are associated with, as well as each of the events that are associated with each of the teams.
I started the following idea, but not sure how to restrict the users of the teams to only see the teams they are associated to. Any help is welcome.
type User @model
  @auth(
    rules: [
      { allow: private, operations: [read, update], provider: iam },
      { allow: groups, groups: ["Admin"] }
    ]
  )
{
  username: ID!
  name: String!
  photo: String
}
type Team @model
  @auth(
    rules: [
      { allow: owner },
      { allow: private, operations: [read, update], provider: iam },
      { allow: groups, groups: ["Admin"] }
    ]
  )
{
  id: ID!
  name: String!
  users: [User] @hasMany
  tournament: [Tournament] @hasMany(indexName: "byTournament", fields: ["id"])
}

type Tournament @model
  @auth(
    rules: [
      { allow: owner },
      { allow: private, operations: [read, update], provider: iam },
      { allow: groups, groups: ["Admin"] }
    ]
  )
{
  id: ID!
  name: String
  date: AWSDate!
  totalPrize: Float
  leaderboard: [TornamentLeaderboard]

  teamID: ID! @index(name: "byTournament")
  team: Team @belongsTo(fields: ["teamID"])
}

type TornamentLeaderboard {
  place: Int!
  userID: String!
  prize: Float
}

Hey @rafaelfaria :wave: thanks for raising this and apologies for the delay! Similar to how you've set up the tournament model with @belongsTo pointing to the team, is it feasible to also add this relationship on the user?
type User @model
  @auth(
    rules: [
      { allow: private, operations: [read, update], provider: iam },
      { allow: groups, groups: ["Admin"] }
    ]
  ) {
  username: ID!
  name: String!
  photo: String
  teamID: ID! @index(name: "byUser")
  team: Team @belongsTo(fields: ["teamID"])
}

This would also be a great question to ask in our community Discord server!


test: add /version API test

Signed-off-by: Allen Sun<EMAIL_ADDRESS>1.Describe what this PR did
I add API /version test which includes status code checking, response content checking.
We need to add more integration test no matter API test or cli test.
2.Does this pull request fix one issue?
NONE
3.Describe how you did it
NONE
4.Describe how to verify it
NONE
5.Special notes for reviews
NONE
/cc @Letty5411 @sunyuan3

LGTM


Check WebUI for Referrer-Policy: no-referrer

Make sure that the Dashboard is not leaking onion adresses to external websites - see:
https://github.com/getumbrel/umbrel/issues/639

Should be easy to spot since create-react-app ships with eslint rules which produce wanings on build / serve for that case:
Example:


Adds support for importing keys

Coverage remained the same at 100.0% when pulling ef586e8bb74c823f90792758e7b5ec190675b7de on yuce:import-enhancements into 74869ea7959800ff0a16c724f1be1fd707588684 on pilosa:master.


fix: making sure you can import styles in global css file

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.


Split tests out into unit vs integration, and run each type in parallel

What's the expected gain from running unit tests separately but in parallel to the integration tests? I can see the advantage of running the unit tests before the integration tests, to give a quick sanity check before running the slower tests, but I'm not sure what the benefit if everything is going to be done in parallel.
I also have concerns that people are going to forget to tag their tests correctly. I'm not sure if there is a good way to do this in Go - may require playing with Bash or something? IMO, the best way to organise it would be the Rust/Java way where you can say all of the tests in this directory are unit tests and all of the tests in that directory are integration tests.
I also had a message pop up at some point complaining about concurrency limit in CircleCI? I'm not sure if this was a genuine problem, historical problem, or something else.

Thanks for the review @wjam !

What's the expected gain from running unit tests separately but in parallel to the integration tests? I can see the advantage of running the unit tests before the integration tests, to give a quick sanity check before running the slower tests, but I'm not sure what the benefit if everything is going to be done in parallel.

a) it will be faster overall due to more parallelism
b) less to re-run on failure
c) you get feedback on your PR from CI faster

I also have concerns that people are going to forget to tag their tests correctly. I'm not sure if there is a good way to do this in Go - may require playing with Bash or something? IMO, the best way to organise it would be the Rust/Java way where you can say all of the tests in this directory are unit tests and all of the tests in that directory are integration tests.

The tags are integration or !integration - the latter isn't required, if developers forget to tag their test files, all that will happen is that the tests will run in both the unit and integration suites (I think). That's my read from https://mickey.dev/posts/go-build-tags-testing/ anyway, but please check my reasoning!
Hopefully the concurrency limit in CircleCI is something we can throw more money at them to fix 🤷

But if the unit tests are so fast, is it worth the extra time needed to spin up more boxes to download/compile the same packages? How much code coverage do we get out of just the unit tests? (I you want to copy/paste the work I was doing on getting the coverage - https://github.com/filecoin-project/bacalhau/compare/coverage - feel free)

ah please land the coverage separately! That's awesome to have
The unittests aren't that fast, it's 45 seconds to a minute, I think there's some benefit here.


Add com.snowplowanalytics.snowplow.badrows/es_loader_error/jsonschema/1-0-0

ES loader needs to emit self-describing bad rows from snowplow-badrows.
Related to https://github.com/snowplow-incubator/snowplow-badrows/issues/47 and https://github.com/snowplow/snowplow-elasticsearch-loader/issues/166.

What would be included in this row, @benjben? I thought we agreed that it will be a super generic type, reminding a legacy bad row, which then can be used in many more components.

I missed the info that it should be generic. We could but we have no idea what the next components emitting bad rows will be and what info they will need to put inside. I thought that there was now a will to have strongly typed bad rows.
The fields for ES loader would be:

processor
failure.timestamp
failure.errors (array of strings)
payload.line (string)

Should I use a generic name then ?

We could but we have no idea what the next components emitting bad rows will be and what info they will need to put inside.

I think ones you've listed are exact properties that any component can emit! Which is great

I thought that there was now a will to have strongly typed bad rows.

That's true, but this decision was made because:

When we discover a new case - it can't be pretty urgent and we don't always have time to go through design and implementation stages
Unlike something as common and as frequent as schema violation or CP failure, ES Loader (and many other components) emit very few bad rows and we usually don't need to query them - just human's sight is enough to identify the problem and its scale

Should I use a generic name then?

Yes, that list is super generic IMO.

Makes sense !


Run OCI image package building and publishing concurrently

What this PR does / why we need it

As part of the builder plugin we are generating an OCI image package for the plugins and using that package to publish OCI images to the destination container registry.
Before this change, the building and publishing of the OCI image were happening sequentially. This change uses go concurrency to run multiple things using go routines to speed up the building and publishing process.

Performance comparison:

The OCI image build to build 7 plugins for 3 os-arch took 40.27s compared to 164.53s earlier which is approx 4 times faster.
The OCI image publishing to publish 7 plugins for 3 os-arch took 21.64s compared to 195.62s earlier which is approx 9 times faster.
The OCI image build and publishing combined of 7 plugins for 3 os-arch took 107.22s compared to 360.87s earlier which is approx 3.5 times faster.

Which issue(s) this PR fixes

Fixes #378
Describe testing done for PR
Building Plugin Packages: (make plugin-build-packages)

   Without Parallel Execution: 164.53 secs
   With Parallel Execution: 40.27 secs

Publishing Plugin Packages: (make plugin-plugin-packages) (excluding the building packages)

   Without Parallel Execution: 195.62 secs
   With Parallel Execution: 21.64 secs

Building & Publishing Plugin Packages Combined: (make plugin-plugin-packages)

   Without Parallel Execution: 360.87 secs
   With Parallel Execution: 107.22 secs

Release note

Run OCI image package building and publishing concurrently when using `builder` plugin

Additional information
Special notes for your reviewer

I was hoping to try this out including the change from #370 but there is a merge conflict.
@anujc25 will you be able to rebase this PR once #370 is merged?


Fix PYPY_VERSION_HEX/PYPY_VERSION_NUM typo

Fix a typo: s/PYPY_VERSION_HEX/PYPY_VERSION_NUM
Along the way, drop support for PyPy < 7.0.0, which was released in April 2019. I doubt anyone can use c-extensions compiled with those versions, support was very weak.

Cherry-picked in 3a063cb43

I wonder if we shouldn't have merged this - there's a few segmentation faults in the test run https://github.com/cython/cython/actions/runs/3214740819/jobs/5255340663, which suggests CYTHON_UPDATE_DESCRIPTOR_DOC isn't yet working on PyPy.
I'll revert it for now. Obviously we do want to fix the typo though. But possibly just to keep this feature off

Weird. I see CI is hanging. How can I determine which tests are segfaulting?

I see CI is hanging.

That's fairly typical - if one of the threads segfaults the CI will wait forever for it to finish.

How can I determine which tests are segfaulting?

Not too easily unfortunately. We're using the faulthandler module which gives you a bit of feedback, but output from multiple threads is mixed together.
What I'd do is set the CI going again but with only one thread
https://github.com/cython/cython/blob/1741bac96ce49d7e31b2434dd798fa38dad660dd/Tools/ci-run.sh#L175
and it'll probably be a lot clearer.

@mattip I've started #5077 - hopefully single threaded. That should point you to the first failure. I suspect all the failures are the same so that'll probably be enough!

By running gdb --args pypy3 runtests.py --no-capture --no-fork -vv and letting tests run for a while, it crashes in the pypy garbage collector, each time in a different point in the tests, but somewhere around DocTests. Does that agree with what you see in #5077?

All I know from #5077 is that it crashed once in "altet2". So it doesn't disagree. But from what you say it sounds like a very general error rather than one linked to a particular test.

Yeah I think the unconditional define is probably the right thing to do for the moment


 The demo should just start with two default images so we can understand how the diff works without having to upload our own images.

How can I pass link to an image? I get Cross-Origin error when I try that


DatePicker with defaultValue persists time zone

Closes #6005
✅ Pull Request Checklist:

[x] Included link to corresponding React Spectrum GitHub Issue.
[X] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

Looks like you might need to sign the CLA? https://react-spectrum.adobe.com/contribute.html#contributor-license-agreement

Thanks for the review, I have just signed the CLA.

Thank, I'll close and reopen as it looks like it's stuck at the moment.

trying again to get it unstuck


Improve expiration documentation

This PR improves expiration documentation.

Codecov Report

Merging #33 (3ab367c) into master (e27ff9b) will not change coverage.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##           master      #33   +/-   ##
=======================================
  Coverage   94.94%   94.94%
=======================================
  Files           9        9
  Lines         514      514
=======================================
  Hits          488      488
  Misses         22       22
  Partials        4        4

Impacted Files
Coverage Δ

expiration.go
100.00% <ø> (ø)

cache.go
96.30% <100.00%> (ø)

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


Add new examples

This change is introducing swagger for ARM API regarding managing server trust certificates used by chimera project. Via this API, user will be able to upload, delete and read the uploaded certificates.
This feature should be entering public preview by the end of the year.
Adding the whole folder containing 2021-05-01 version since my api is introduced in that version.

Hi @srmarkov please help fix avocado issues https://github.com/Azure/azure-rest-api-specs/pull/15633#issuecomment-897546081

close due to we have another all-in-one PR to cover it: #16184


Add Firefox support for the onBlur function

event.explicitOriginalTarget is the targeted element in Firefox for the focus and blur event.
event.relatedTarget is only for chrome.

Awesome, thanks! I was aware of an incompatibility issue on Firefox, but hadn't had the chance to investigate.

:+1:

Seem like a known bug in firefox since their docu states otherwise:
https://bugzilla.mozilla.org/show_bug.cgi?id=962251

For some reason, the demo still doesn't work on Firefox: http://myplanet.github.io/angular-deep-blur/

Also in Internet Explorer 11. Will file an issue for this.

Filed here: #2

@atesgoral I can confirm that the demo is now working for firefox. (Mozilla Firefox 41.0.1)

@nmcalabroso It works for me with version 41.0.1 on Windows. But, not with version 40.0.3 on OS X 10.10.5! Weird!


HDM-33: added EVM  validation for address search

Issue tracking

HDM-33
Context behind the change

I created helper function to test if address starts with 0x and has 40 characters and implemented check logic for search input. Button is blocked until correct address is provided and there is tooltip added.
How has this been tested?

manually
Release plan

normal deply
Potential risks; What to monitor; Rollback plan

LGTM overall
One question before approve: can we get the tooltip visible also on mobile devices?

I implemented custom tooltip component so we can reuse it across the app


Wisdom tooth

If your PR is related to a contribution to the taxonomy, please, fill
out the following questionnaire. If not, replace this whole text and the
following questionnaire with whatever information is applicable to your PR.
Describe the contribution to the taxonomy

...
...
...

Input given at the prompt

   ...

Response from the original model

  ...

Response from the fine-tuned model

  ...

Contribution checklist

[ ] The contribution was tested with ilab generate
[ ] No errors or warnings were produced by ilab generate
[ ] All commits are signed off (DCO)
[ ] The qna.yaml file contains at least 5 seed_examples
[ ] The qna.yaml file was linted and prettified (yaml-validator can do both)
[ ] An attribution.txt file in the same folder as the qna.yaml file
[ ] Content does not include PII or otherwise sensitive or confidential information
[ ] Content does not include anything documented in the project's Avoid these Topics guidelines

https://github.com/instructlab/taxonomy/issues/807

Please fix the linting issues and the DCO.

I think I messed this up big time; going to resubmit


Validator: wrong publish error log

Describe the bug
Found this in the log
validator-2023-02-09.log:39664:Feb-09 09:04:14.522[]                error: Error proposing block slot=5759119, validator=0x810e…7963  - Internal Server Error: PublishError.Duplicate - Failed to publish block
validator-2023-02-10.log:8356:Feb-10 01:56:27.419[]                error: Error proposing block slot=5764180, validator=0xa8dc…7536  - Internal Server Error: PublishError.Duplicate - Failed to publish block

However as we can see those 2 blocks are all success
Expected behavior

No error

Screenshots

Desktop (please complete the following information):

Version: v1.4.2
Network: mainnet

more log:
Feb-10 01:56:25.663[]                ^[[34mdebug^[[39m: Request error, retrying  Internal Server Error: PublishError.Duplicate
Error: Internal Server Error: PublishError.Duplicate
    at HttpClient.requestWithBody (file:///usr/app/packages/api/src/utils/client/httpClient.ts:285:15)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
Feb-10 01:56:25.663[]                ^[[34mdebug^[[39m: Requesting fallback URL routeId=publishBlindedBlock, baseUrl=http://<IP_ADDRESS>:9596, score=2
Feb-10 01:56:25.663[]                ^[[34mdebug^[[39m: HttpClient request routeId=publishBlindedBlock
Feb-10 01:56:27.419[]                ^[[31merror^[[39m: Error proposing block slot=5764180, validator=0xa8dc…7536  - Internal Server Error: PublishError.Duplicate - Failed to publish block
Error:  - Internal Server Error: PublishError.Duplicate - Failed to publish block
    at Function.assert (file:///usr/app/packages/api/src/utils/client/httpClient.ts:44:13)
    at BlockProposingService.publishBlockWrapper (file:///usr/app/packages/validator/src/services/block.ts:107:14)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at BlockProposingService.createAndPublishBlock (file:///usr/app/packages/validator/src/services/block.ts:95:7)
    at async Promise.all (index 0)


Bug: Tapo Control stopped working.

Describe the bug
Tapo Control stopped working after update the core.
To Reproduce
Update the core to 2022.3 from 2022.2
Log
Logger: homeassistant.setup
Source: setup.py:155
First occurred: 09:21:40 (1 occurrences)
Last logged: 09:21:40
Setup failed for tapo_control: Requirements for tapo_control not found: ['onvif-zeep-async==1.0.0'].

This has been fixed for 7 days now. Please refrain from reporting issues if you are using outdated versions.
There are also 2 already:
https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/149
https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/148

Thank you for your response.


Question about Class CNBC

Description
Hi, Class CNBC is a italian channel in italian language, but the id epg is ClassCNBC.us. Now, this ".us" prevents of showing the epg with https://iptv-org.github.io/epg/guides/it.xml.gz. It's possible a solution? Thank you so much! :3
Uh, other stranger thing, currently Class CNBC not is present on any epg list...
https://iptv-org.github.io/?q=ClassCNBC.us
...But in reality is present inside guidatv.sky.it. Thank you again! :3

Fixed.


Trim trailing whitespace from snippets

It would be nice if the extension could (optionally) trim trailing whitespace of the snippet files.

Why not! PR welcome if you feel like adding this feature.


add cmath include

I need this to compile the examples on gcc 6.3.1.
Error message without cmath included:
/home/chris/build/Anvil/examples/DynamicBuffers/src/app.cpp: In member function 'void App::init_buffers()':
/home/chris/build/Anvil/examples/DynamicBuffers/src/app.cpp:458:78: error: 'cos' was not declared in this scope
         *color_buffer_data_traveller_ptr= (unsigned char)((cos(float(n_sine) ) * 0.5f + 0.5f) * 255.0f);
                                                                              ^
/home/chris/build/Anvil/examples/DynamicBuffers/src/app.cpp:461:79: error: 'sin' was not declared in this scope
         *color_buffer_data_traveller_ptr = (unsigned char)((sin(float(n_sine) ) * 0.5f + 0.5f) * 255.0f);
                                                                               ^

I have not tested it on any other compiler.

That indeed is required

Pushed to our internal repository. Will accept the pull request later today or on Monday. Many thanks for your contribution!


FEATURE/Paste Replaces Highlighted Selection

Summary
Pasting now replaces the highlighted selection unless you have highlighted a single word, i.e. Not selected anything.
It should be pretty easy to change the parameters for how pasting replaces the highlighted selection.

OS

[ ] Linux
[ ] MacOS
[X] Windows

The commits look like a tire fire, will remake branch


log_size to preprocessed columns

This change is

#958  👈 (View in Graphite)
dev

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

Codecov Report
Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Project coverage is 92.25%. Comparing base (c5c6eda) to head (f9f5b09).

Files with missing lines
Patch %
Lines

...r/src/constraint_framework/preprocessed_columns.rs
0.00%
7 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #958      +/-   ##
==========================================
- Coverage   92.29%   92.25%   -0.05%
==========================================
  Files         105      105
  Lines       14269    14276       +7
  Branches    14269    14276       +7
==========================================
  Hits        13170    13170
- Misses       1026     1033       +7
  Partials       73       73

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Support explicit type sorting

Closes https://github.com/IanVS/prettier-plugin-sort-imports/issues/35
Adapted from https://github.com/trivago/prettier-plugin-sort-imports/pull/153, by @Xenfo.
This adds a new special string, <TYPES> that can be added to the importOrder array.  When used, it will cause type imports to be sorted as specified by its location in the array.
Notes:

If it is used, it will disable importOrderCombineTypeAndValueImports, throwing a warning if both are used.  This is because:
We will split apart type and value import declarations if <TYPES> is used, so that types can be sorted appropriately.
Thinking towards the next breaking change when we remove options, I think the default will be to enable importOrderCombineTypeAndValueImports, and this change will give users a good way to opt-out of that behavior if they want, by specifying the location for <TYPES>.

@fbartho @blutorange I'd love to get your thoughts on this change before merging.


Is there a way to easily override styles?

All the style is in https://github.com/DanielYKPan/date-time-picker/blob/master/src/sass/picker.scss
You can also check them on your browser's dev-tool, and override them in your own style file.


Update license in package.json

Following the latest spec at https://docs.npmjs.com/files/package.json

Coverage remained the same at 96.56% when pulling 3263482b03b95559e1f3edc3fb55b58c1643d858 on travishorn:patch-1 into 2444a0463e1a99d46e4afa50ed934c317265529d on jshint:master.

Thanks for the patch! It looks like the license currently documented in this project's package.json file is incorrect. The unfortunate reality is that JSHint is licensed as MIT and JSON. We're still working to resolve this (see gh-1234), but in the mean time, we should ensure that the entry reflects reality.
Luckily, SPDX has an identifier for the JSON license and also supports a conjunction operator, so we can express this in a standards-compliant way:
"license": "(MIT AND JSON)",

Would you mind updating the patch?

Coverage remained the same at 96.56% when pulling 317d2e4be3c00538d082f8449b261e431d2a4c9f on travishorn:patch-1 into 2444a0463e1a99d46e4afa50ed934c317265529d on jshint:master.

Coverage remained the same at 96.56% when pulling 317d2e4be3c00538d082f8449b261e431d2a4c9f on travishorn:patch-1 into 2444a0463e1a99d46e4afa50ed934c317265529d on jshint:master.

Sorry to see that so much time and discussion has been spent on licensing. Hopefully you are close to being able to switch completely to MIT.

You and me both.
Squashed and merged to master at commit e47168f5aa9576819830554f1b37dc0d49b76d31 . Thanks!


Thread safety for Django < 1.11

I read about your workaround and thing that this can cause problems in multithreaded deployments and there can be a race condition.
The real possibility probably is very small but still it's there. I'm wondering if it will better to add some kind of lock to guard against these race conditions.

@vstoykov while I don't believe that there can be any negative side efects from current workaround, thread safety considered, you proposal got me thinking of alternative solutions and I think I found lest complicated solution. I'll do some testing tomorrow and if all goes well I'll release a new version.

@vstoykov this is fixed in 1.9.1 release. Instead of opting for some locking scheme, I decided to backport get_form from Django 1.11. It's not the most elegant solution, since it duplicates code, but it's in my opinon, the cleanest. Backported code is only run on on Django < 1.11.


Customise the header

Hi, I want to customise the header section of this site. Can you please assign me this issue? @ChristianECG

Yeah! Do it.


Fixed crash related to issue tries to mount to not existing parent

Motivation and context
Resolved #6950
How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[ ] I have created a changelog fragment
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (see GitHub docs)
[ ] I have increased versions of npm packages if it is necessary
(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

Need to add a line to changelog


Function reference for bindings is not rendering correctly on gh pages

Sometimes, the function reference is rendered incompletely, leaving some functions missing.
Sometimes, a redeploy fixes this. It is not clear what is causing it yet, but the content looks truncated, so it could be a github actions related issue.

Just an update. On the next release, this resolved itself. It appears to be an intermittent deployment issue.


Update scala-compiler, scala-library, ... to 2.13.5

Updates

org.scala-lang:scala-compiler
org.scala-lang:scala-library
org.scala-lang:scala-reflect
org.scala-lang:scalap

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

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

labels: library-update, semver-minor

Superseded by #88.


Visitors mobile data usage?

Browser name/version (if using WebTorrent in the browser): chrome for Android(latest regular release)

By simply opening webtorrents.io it appears that the site has used over 100 MB of my mobile data.
Imagine visiting a site like this while on roaming data.
Reloading the page restarts the download of another 100+ MB.
Once downloaded, there is no way to actually view what was downloaded, at least not in the mobile browser.

I'm not sure about on the mobile version, but on the desktop version of WebTorrent's site, a player appears and begins streaming Sintel (a short film). That might be the issue here because the Sintel movie it plays is 129.24Mb.

Yes it states that it's sintel.torrent
There are two issues.

The player doesn't work in mobile, but the download does.
The download starts automatically which is not usually appreciated on mobile

https://www.dropbox.com/s/ezl5qvhxv4u5cev/ScreenRecord_2016-07-18-23-05-18.mp4?dl=0
This is a screen recording of the website in chrome for Android.

Watching a YouTube video also takes 10s to 100s of MBs. And at least webtorrent.io shows you the exact amount of data that it's using so you can close the tab if you like.
The video plays back just fine for me using Chrome on Android. Can you share what device / Android version / Chrome version you're using in a new issue?


[feaLib] Allow classnames longer than 30 chars

makeotf does allow up to 63 chars since a few years ago, see @readroberts comment: https://github.com/fontforge/fontforge/pull/2500#issuecomment-143263393 and associated AFDKO issue adobe-type-tools/afdko#70.
cc @brawer

Pull request with spec change: https://github.com/adobe-type-tools/afdko/pull/99


Dependent crates version updates

lazy_static: 02.0->0.2.2
shared_library: 0.1.0->0.1.5

These updates aren't necessary in principle, but why not.


Resend notification on failure

I use gotify to send end recieve notifications and if ouroboros updates the gotify container, the following error appears:
WARNING : NotifyJSON : Failed to send JSON notification (error=502).
This means, the servie is not ready to recieve the webhook. Is it possibly to resend the notification on failure?
Something like:
send notification -> error
wait 1 Minute, second try
wait 1 minute, third try.

this is a slippery slope as some people have their containers updating as often as every minute. If this was added it could spawn repeated building threads of failures. This isnt a ouroboros issue but a notification service issue. I feel you should address your notification provider to address this.


Validate all generated typescript test output using tsc

It'd be really, really great if our tests actually checked that all the typescript cuetsy is generating is actually valid.

We might pick it some day if we have time, not important at the moment.


Enable custom file extensions according to different container package names

This will enable different apps to have different extensions for the ff files.

/azp where

/azp run repo-policy-check

Closing and reopening to trigger build


"Singular matrix" error when I use normal distribution or negative-binomial

When I run the following code snipper I get an error "numpy.linalg.LinAlgError: Singular matrix"
X_train, y_train, X_test, y_test = read_data(InEx) model = XGBDistribution(distribution="normal", n_estimators=500) model.fit(X_train, y_train, eval_set=[(X_test, y_test)], early_stopping_rounds=10)
The full error:
`D:\Python37\lib\site-packages\xgboost_distribution\distributions\normal.py:89: RuntimeWarning: overflow encountered in exp
D:\Python37\lib\site-packages\xgboost_distribution\distributions\normal.py:61: RuntimeWarning: overflow encountered in exp
Traceback (most recent call last):
File "D:\Python37\lib\contextlib.py", line 130, in exit
self.gen.throw(type, value, traceback)
File "D:\Python37\lib\site-packages\xgboost\config.py", line 140, in config_context
yield
File "D:\Python37\lib\site-packages\xgboost_distribution\model.py", line 181, in fit
callbacks=callbacks,
File "D:\Python37\lib\site-packages\xgboost\training.py", line 196, in train
early_stopping_rounds=early_stopping_rounds)
File "D:\Python37\lib\site-packages\xgboost\training.py", line 81, in _train_internal
bst.update(dtrain, i, obj)
File "D:\Python37\lib\site-packages\xgboost\core.py", line 1685, in update
grad, hess = fobj(pred, dtrain)
File "D:\Python37\lib\site-packages\xgboost_distribution\model.py", line 254, in obj
y=y, params=params, natural_gradient=self.natural_gradient
File "D:\Python37\lib\site-packages\xgboost_distribution\distributions\normal.py", line 72, in gradient_and_hessian
grad = np.linalg.solve(fisher_matrix, grad)
File "<array_function internals>", line 6, in solve
File "D:\Python37\lib\site-packages\numpy\linalg\linalg.py", line 394, in solve
r = gufunc(a, b, signature=signature, extobj=extobj)
File "D:\Python37\lib\site-packages\numpy\linalg\linalg.py", line 88, in _raise_linalgerror_singular
raise LinAlgError("Singular matrix")
numpy.linalg.LinAlgError: Singular matrix
Process finished with exit code 1
`
The training and test data contain 13 float features (X) and 1 integer target (y)

I get the same error as above when fitting a 430k rows dataset with 31 columns, but the same dataset scaled down to 43k rows works.

I got the same error. I tried to set the parameter natural_gradient as False to omit line grad = np.linalg.solve(fisher_matrix, grad) that is causing this, but then appears this warning:
C:\Users\scyperski\Anaconda3\envs\cost_prediction\lib\site-packages\xgboost_distribution\distributions\normal.py:65: RuntimeWarning: divide by zero encountered in divide   grad[:, 0] = (loc - y) / var C:\Users\scyperski\Anaconda3\envs\cost_prediction\lib\site-packages\xgboost_distribution\distributions\normal.py:66: RuntimeWarning: divide by zero encountered in divide   grad[:, 1] = 1 - ((y - loc) ** 2) / var C:\Users\scyperski\Anaconda3\envs\cost_prediction\lib\site-packages\xgboost_distribution\distributions\normal.py:78: RuntimeWarning: divide by zero encountered in divide   hess[:, 0] = 1 / var C:\Users\scyperski\Anaconda3\envs\cost_prediction\lib\site-packages\xgboost_distribution\distributions\normal.py:79: RuntimeWarning: divide by zero encountered in divide   hess[:, 1] = 2 * ((y - loc) ** 2) / var
As a result the predictions are full of NaNs. It seems like it's caused by log_scale array (in gradient_and_hessian method)  which elements are to small and rounded to 0 after:
var = np.exp(2 * log_scale)
As a workaround I added this line before calculating the exponential:
log_scale = np.clip(log_scale, -20, 20)
So far it works even with natural_gradient parameter as True.

Hi,
Thanks for raising / debugging. Does anyone have an example data set / method of fitting where this happens?

@CDonnerer I got the permission from my workplace to share a sample dataset after its anonymization. I also prepared a minimal code snippet to reproduce this problem. Please contact me to<EMAIL_ADDRESS>(dataset is quite heavy).

I got the permission from my workplace to share a sample dataset after its anonymization. I also prepared a minimal code snippet to reproduce this problem. Please contact me at<EMAIL_ADDRESS>(dataset is quite heavy).

Thanks, appreciate this. I've got a slight preference for finding a public dataset, just so it's easier to add to the test suite, so I'll have look at this first.

Okay, I was able to reproduce the error with some datasets and merged a fix (#86) which is available in the latest release (xgboost-distribution==0.2.7). However, depending on the data, there could still be issues here, so please let me know if this error still occurs.

I've similarly found that the size of the dataset makes a difference. Up to about 40k rows is fine, above that the error occurs. It doesn't seem related to the contents of the dataset (e.g. for a 1M row dataset, all the 40k chunks are independently fine, but passed in together cause the error)


⚠ Thumbnails API Endpoint has degraded performance

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

HTTP code: 200
Response time: 1236 ms

Resolved: Thumbnails API Endpoint performance has improved in 535825a after 47 minutes.


pull request for e2e test at 11/22/2016 19:26:08

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


LGTM.com - false positive Dead code due to goto or break statement

If you have e. g. a loop with a switch(foo) { case 0: continue; default: if (bar) {  baz(); } it is flagged as dead code.
https://lgtm.com/projects/g/sandsmark/freeaoe/snapshot/bb4ecd90c328b27a29eec3db7b06ae26c52e9490/files/src/actions/ActionMove.cpp?sort=name&dir=ASC&mode=heatmap#xfd2d1fb64aab4d2d:1

I believe this issue is likely to be part of the same thing as https://github.com/Semmle/ql/issues/3012.  As with the other instances, if this particular FP doesn't go away when #3012 is fixed, then please reopen.


V2 GraphQL tranforms doesn't allow @auth with @function for a Mutation field.

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
16.13.0
Amplify CLI Version
7.5.4
What operating system are you using?
Mac
Amplify Categories
api
Amplify Commands
add, push
Describe the bug
Amplify @auth directive doesn't add anything inside the pipeline resolver:
The entire Schema is below. This is for the Mutation CreateStreamKey
## [Start] Field Authorization Steps. **
#set( $isAuthorized = false )
#if( $util.authType() == "User Pool Authorization" )

#end
#if( !$isAuthorized )
$util.unauthorized()
#end
$util.toJson({"version":"2018-05-29","payload":{}})
## [End] Field Authorization Steps. **

Expected behavior
Schema would generate a resolver that would contain a proper Auth solution for Mutations. This worked on Legacy.
 Owner and dynamic groups are currently mapped to the model generated operations since those dynamic fields are handled directly in the resolvers.
A potential alternative here is to create a lambda function which handles the owner auth as well
Allow a private user to enter the mutation but delegate the auth logic to the function ex.
type Mutation {
  createStreamKey(id: ID): Channel
  @auth(rules: [{ allow: private }])
  @function(name: "myOwnerAuth-${env}")
  @function(name: "channelManager-${env}")
}

Hey @SwaySway
Thanks for the answer but that is not a really a solid answer. So you are saying that there is right now no correct way to do @auth for fields on anything that isn't in a @model. IMO worst case I would rather at least have a directive to query for the Channel and then check the owner rather then have another Lambda. Also if this is the case, why does GraphQL compile allow this pattern then? Shouldn't the compile fail, if this is not a valid solution?
Further more, why would you separate the functions for Auth and the other datasource? That would double my cost as a user due to invokes would be doubled in the worst case scenario.

Hi @wizage,
We have limited support for customers once they get into the space of custom resolvers, we don't want to deny the functionality as an invalid solution because there are still valid use cases for it. One option you could take is this:
type Channel @model @auth(rules: [{allow: owner}, {allow: private, operations: [read]}]) {
  id: ID! @primaryKey
  title: String!
  description: String!
  streamKey: String @auth(rules: [{allow: owner}]) @function(name: "channelManager-${env}")
  channelArn: String @auth(rules: [{allow: owner}]) @index(name: "channelsByArn", queryField: "channelByArn")
  streamURL: String
  streamKeyArn: String @auth(rules: [{allow: owner}])
  ingestEndpoint: String @auth(rules: [{allow: owner}])
}

If you put a lambda resolver on the streamKey field you can take advantage of the field level auth, and you can write the lambda resolver to only take action on a create request, allowing other requests to pass through untouched.

I will close this question as answered since it's been some time, feel free to reopen if necessary


Update scala3-library to 3.2.1

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

Files still referring to the old version number
The following files still refer to the old version number (3.1.3).
You might want to review and update them manually.
modules/shacl/src/test/resources/tests/core/complex/shacl-shacl-data-shapes.ttl

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala3-library" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scala-lang", artifactId = "scala3-library" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, old-version-remains, commit-count:1

Superseded by #221.


about the definition for the "user" request

the image shows the request for the appname p-resource, but this app is the background dubbo server, the font user can't directly access the server, so what the meaning for the user such huge request? thanks.

Hi @zvrr
Transactions from "user" node denotes requests from anywhere that does not have pinpoint agent installed. This includes browser requests, and rpcs from WASes that do not have pinpoint agent installed.
Since you've said p-resource is a backend api server that does not take calls directly from users, they should be from WASes that do not have pinpoint agent installed.

thanks. What are the WASes could be included ?because we install  pinpoint agent for the refer app that can access  p-resource app  in our environment, so i can't find out there is another app we haven't installed.
We didn't made  pressure test for the app.

They can be anything that makes rpc to p-resource (dubbo calls in your case?).
Oh, and calls from rpc client library not supported by pinpoint could also show up as originating from "user" node even if the application has pinpoint agent installed.
You can right-click on the arrow between USER node and p-resource node to filter transactions in a new window.
It'll take a long time to load everything since there's so many requests but you can hit pause button at the top-right and check out what these transactions are and go from there.

i right-click the arrow

but the new window shown data was so less than the arrow shown.

@zvrr Yes, that is correct, If you look at the timeline (top of the second screenshot), it didn't fetch the whole thing as that would take too much time.
You can click on the Resume button to continue fetching if you'd like, but those transactions should be enough to give you an idea on the requests that were marked as originating from USER.


Getting signed out after a few days each time you sign in using your Microsoft account on MacOS.

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

VS Code Version: 1.74.1
OS Version: MacOS Ventura 13.1 (22C65)

Steps to Reproduce:
When you sign-in on VSCode with a Microsoft account, you get signed out after a few days.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Need help on using this package

HI,
I was looking for a proper documentation on how to use this package in js. But unable to find any help. Can you please help @fivecar . Request your help at the earliest. The example which is provided is type script one and isnt of any help to me as I need in js.

The library's APIs work independently of Typescript vs. Javascript... if you want to use JS to consume the package, simply omit any Typescript type annotations from your code (basically, nearly all things with a colon and a type after them).
You'll find that nearly every Typescript library out there assumes it's clear how to use the same library in Javascript (i.e. by simply omitting type declarations). It unfortunately doesn't make sense for the documentation to repeat the exact same examples without types, because most people will find that information redundant...

I tried this unable to get the document downloaded...Can u please send a sample on how to download properly..
const dd = new DownloadQueue();
await dd.init();
console.log(dd);
await dd.addUrl('https://example.com/boo.mp3');
// This path will either be a local path if the file has been
// downloaded. If not, you'll get the remote url.
const localOrRemotePath = await dd.getAvailableUrl(
'https://example.com/boo.mp3',
);
console.log(localOrRemotePath);

@shwethaGitHub-spec : could you provide more of your code? The error you've reported is not possible to assess without the surrounding code that generated it. Could you show the lines above and below the DownloadQueue lines you've shown?
Also: extensions will download just fine. If you provide a full URL with extension, the file will be downloaded into a local file that retains that same extension.


[NEW ALGORITHM] Equilibrium Index in an Array

Issue will be closed if:

You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
You propose an algorithm that is already present or has been mentioned in a previous issue.
You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.

Name:
[NEW ALGORITHM] Equilibrium Index in an Array
About:
Proposing a new algorithm to find the equilibrium index of an array. The equilibrium index is the position in the array where the sum of elements on the left is equal to the sum of elements on the right.

Detailed Problem Description:
Given an array Arr consisting of N integers, the objective is to find the equilibrium index of the array, where the sum of elements to the left of an index is equal to the sum of elements to the right. If multiple indices satisfy the condition, the left-most index should be returned. If no such index exists, return -1.
Constraints:

1 <= T <= 50 (number of test cases)
1 <= N <= 10^5
-10^4 <= Arr[i] <= 10^4
Time Limit: 1 second

Sample Input:
2 6 1 7 3 6 5 6 4 1 2 3 4
Sample Output:
3 -1
Explanation:

For the first case, the equilibrium index is 3 because the sum of elements to its left is 11 (1 + 7 + 3), and the sum of elements to its right is also 11 (5 + 6).
For the second case, there is no such index, so the output is -1.

Labels:
new algorithm, gssoc-ext, hacktoberfest, level1

Assignees:

[ ] Contributor in GSSoC-ext
[x] Want to work on it

@pankaj-bind I would Like to work on this issue.


Bump release

This PR adds translations for:

Bengali Chapter 0/1
French Chapter 5
Korean Chapters 0 & 1
Turkish Chapters 1/2

TODO

[ ] Add Bengali to CI
[ ] Add new authors to README

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[Feature Request]Hello, may I ask if automated testing on the web side will be supported in the future

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hi there @cfy3133! We have experimental Web Support (docs here) that you can try out. Let us know what you think!


[Hub Generated] Review request for Microsoft.DesktopVirtualization to add version  preview/2023-07-07-preview

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.
ARM (Control Plane) API Specification Update Pull Request
Purpose of this PR
What's the purpose of this PR? Check all that apply. This is mandatory!

[x] New API version. (Such PR should have been generated with OpenAPI Hub, per this wiki doc.)
[ ] Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
[ ] Update existing version to fix swagger quality issues in S360.
[ ] Other, please clarify:

edit this with your clarification

Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

[x] I have reviewed the general guidance on the spec PR review process: https://aka.ms/specprreview.
[x] I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data-plane related specifications.
[x] I commit to follow the Breaking Change Policy.
[x] I have reviewed following Resource Provider guidelines, including
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can request review from an ARM API Review board.

ARM API changes review

If you want for the ARM team to review this PR, you must add the ARMReview label.
The automation may automatically add the ARMReview label, if appropriate.
If this happens, proceed according to guidance given in GitHub comments also added by the automation.

Breaking change review
If you have any breaking changes as defined in the Breaking Change Policy,
follow the process outlined in the High-level Breaking Change Process doc.
Getting help

For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
and https://aka.ms/ci-fix.
For additional help, see https://aka.ms/azsdk/support/spectools.

/azp run

@rkmanda , adding a pattern to this parameter that has already been used in multiple places causes breaking changes, can we get an exception for the pattern check?

/azp run

You need to follow one of these options in order to continue the PR review process: https://github.com/Azure/azure-rest-api-specs/pull/24747#issuecomment-1633293182

You need to follow one of these options in order to continue the PR review process: #24747 (comment)

But it doesn't have any breaking changes, or am I missing something?

      "$ref": "#/definitions/ScalingPlanPersonalScheduleProperties"

Can all the properties from this resource definition be patched? Please ensure to use only patch-able properties in the PATCH request payload.

Refers to: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-07-07-preview/desktopvirtualization.json:6690 in 3bb7888. [](commit_id = 3bb7888e9223b0b7a85ea7f053e6123fca7b3049, deletion_comment = False)

      "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource"

There is a mixed use of v1, v2 and v3 common types in newly introduced APIs and resource definitions. Please use only v3 common types here.

Refers to: specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2023-07-07-preview/desktopvirtualization.json:6721 in 3bb7888. [](commit_id = 3bb7888e9223b0b7a85ea7f053e6123fca7b3049, deletion_comment = False)

@visingla-ms
I reviewed the code from your comment regarding the patch properties, and for this resource, all of the property fields are patchable.
I changed the common-types to V3 for the new scaling api and it caused breaking changes. How would you like us to proceed here?

@visingla-ms, we are trying to meet a deadline to get this PR published, is there any way you can take a look at this soon and provide feedback? It unfortunately had that label issue which caused it to be stale for over 2 weeks. Thanks so much!

@visingla-ms, we are trying to meet a deadline to get this PR published, is there any way you can take a look at this soon and provide feedback? It unfortunately had that label issue which caused it to be stale for over 2 weeks. Thanks so much!

Please work with breaking change team to see if this can be approved as it is, and also fix the lintDiff error https://github.com/Azure/azure-rest-api-specs/pull/24747/checks?check_run_id=15491289872
Other part looks good to me

@visingla-ms, we are trying to meet a deadline to get this PR published, is there any way you can take a look at this soon and provide feedback? It unfortunately had that label issue which caused it to be stale for over 2 weeks. Thanks so much!

Please work with breaking change team to see if this can be approved as it is, and also fix the lintDiff error https://github.com/Azure/azure-rest-api-specs/pull/24747/checks?check_run_id=15491289872
Other part looks good to me

Adding v3 caused the breaking change as advised earlier in PR. Ideally we don't use v3 and cause any breaking changes. The only LintDiff error is also unable to be corrected because it would cause breaking changes as well. Please let us know if we can revert back to v1 types here as well as get a LintDiff exception. @zizw123

@visingla-ms, we are trying to meet a deadline to get this PR published, is there any way you can take a look at this soon and provide feedback? It unfortunately had that label issue which caused it to be stale for over 2 weeks. Thanks so much!

Please work with breaking change team to see if this can be approved as it is, and also fix the lintDiff error https://github.com/Azure/azure-rest-api-specs/pull/24747/checks?check_run_id=15491289872
Other part looks good to me

Adding v3 caused the breaking change as advised earlier in PR. Ideally we don't use v3 and cause any breaking changes. The only LintDiff error is also unable to be corrected because it would cause breaking changes as well. Please let us know if we can revert back to v1 types here as well as get a LintDiff exception. @zizw123

Why add a pattern will cause breaking change? Could you define a new parameter structure for the new API path?
https://github.com/Azure/azure-openapi-validator/blob/main/docs/resource-name-restriction.md


Unessecary log output

Do we need this println: https://github.com/revel/revel/blob/master/results.go#L474 ?
    module := ModuleFromPath(recvType.PkgPath(),true)
    println("Returned ", module)

I saw it a couple of times in my log. I think random output like this Returned  0x12e4c80 isn't very helpful, no?

Yes that can be removed, sorry  about that.
On Tue, Feb 20, 2018 at 9:47 AM, Lukas Matt<EMAIL_ADDRESS>wrote:

Do we need this println: https://github.com/revel/
revel/blob/master/results.go#L474 ?
module := ModuleFromPath(recvType.PkgPath(),true)
println("Returned ", module)

I saw it a couple of times in my log. I think random output like this Returned
0x12e4c80 isn't very helpful, no?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/revel/revel/issues/1314, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUsBhTix8rEvP9AbZlhQ-5QfdudCz2uks5tWwUUgaJpZM4SMXI7
.


Fix windows crash

will fix #2
Signed-off-by: Lunny Xiao<EMAIL_ADDRESS>

It crash on windows 7.


Licens for bcinside

Where to get a develop licens for bcinside/bcsandbox for development

For access to the Insider program http://aka.ms/BusinessCentralApps and http://aka.ms/ready2go


IBM Continues to support Netezza and release new Products with Netezza Technology

Hello - The first sentence is not accurate. Especially if it's written in 2020. IBM's support for Netezza is not ending. That may have been the case in 2019. But not any more. In June 2019 IBM announced it will continue supporting Netezza and is releasing new products based on Netezza Technology such as the Netezza Performance Server both On Premise and On Cloud!

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

ID: 12fe3278-b43a-96b7-494d-88ca84cc8f1f
Version Independent ID: d7935e7f-3e8d-06fb-f639-9d6e97f58966
Content: Azure Synapse Analytics migration for Netezza - Cloud Adoption Framework
Content Source: docs/migrate/azure-best-practices/analytics/analytics-solutions-netezza.md
Service: cloud-adoption-framework
Sub-service: migrate
GitHub Login: @v-hanki
Microsoft Alias: brblanch

Thanks for reporting - this issue is under review.  This is a Microsoft Internal DevOps Bug ID AB#319056

This issue has been resolved.  The fix should be published in the next day or two.  Thank you for reporting the issue.


Add consistency check support

The following pull request provides the following ablitities
Controller:

cc: current patrol read settings (also setter)
set_cc: configures consistency check mode and start time

Virtual Drive:
cc_start: starts a consistency check on a virtual drive
cc_pause: pauses consistency check on a virtual drive
cc_resume: resumes consistency check on a virtual drive
cc_stop: stops consistency check if running on a virtual drive
cc_running: check if the consistency check is running on a virtual drive
cc_progress: % progress of the consistency check operation

Coverage: 54.471% (-0.7%) from 55.141% when pulling b6543e07680f351aaac38555f67ebf849da2750a on liveaction:develop into ab40e53ee66fca15abaf12f02a680940b0f76500 on Naudit:develop.

Thanks for your contribution @dgilbert101 !


Track video games

Let user search for and track video games with the same experience flow as movies/shows.
This looks like a decent (only one i found) api we can use for searching games: https://api-docs.igdb.com
We would also have to consider how search should work, many people wouldn't want video games to show up in results. We could have a dropdown thing integrated into the searchbar to allow users to pick what content types to search for (tv and movies or games, or both [default to tv and movies]).
And of course new video game filters for watched list.
Haven't looked into it yet, hopefully we can get the data to look like how shows are. Not sure if we could store it in the same content table or if it'd be better to separate it out.

We could have a dropdown thing integrated into the searchbar to allow users to pick what content types to search for...

Perhaps reuse the list filter to only search for types of media displayed? For example if you are displaying only movies, only search for movies.

@mordquist that is a genius idea and much less complicated than the dropdown thing I thought up. Thank you, I'll definitely keep that in mind.


Feature request: POSIX sed compatibility

To give a concrete example, OpenWrt is normally distributed with BusyBox sed, not GNU sed. Because of this the otherwise perfect script fails due to the lack of GNU extensions. For instance "\L" and "\E" are not supported:
https://github.com/sormy/aws-curl/blob/f992d85735daa6008e0cb893ef079b2eae225e60/aws-curl#L184
I understand that this is a problem limited to a few niche situations, so please close the issue directly if the implementation is too laborious.
Thanks @sormy

The output looks good to me:
header-name: SoMeThInG : something

Try busybox-compat branch and let me know. Please also share examples how did you test that it works.

Just kindly confirm if it works well. It could be great if it is the only things that break it on busybox.

Thank you @sormy Forgive my slowness in responding, I'm usually offline for most of the day.
I did a quick test with AWS IoT DescribeThing
https://docs.aws.amazon.com/iot/latest/apireference/API_DescribeThing.html
I tried busybox-compat and noticed an extra ":" in $CANONICAL_HEADERS
* SIGV4 Canonical Request:
GET
/things/thingName

:
host:iot.eu-central-1.amazonaws.com
x-amz-date:20220927T073853Z
[...]
{"message":"The request signature we calculated does not match the signature you provided...

I added a check on st, like this:
    | awk -F: '{ st = index($0, ":"); if ( st > 0 ) print tolower($1) ":" substr($0, st + 1)}' \

It works well:
* SIGV4 Canonical Request:
GET
/things/thingName

host:iot.eu-central-1.amazonaws.com
x-amz-date:20220927T075037Z
[...]
{"attributes":{"device_id":"...

Important note:  I'm allowed to install additional packages on the device but cannot rebuild the system (an old OpenWrt 18). BusyBox has been built without od and paste support, I'm actually using the coreutils-od and coreutils-paste packages. On the other hand the sed package is not available for OpenWrt 18.

The change is merged to master, resolving


Added my branch to my main branch, would like to merge my main branch to the main repo

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

Yup. I'd actually forgotten to merge my branch with my main branch before submitting a pull request. Should I withdraw one of the requests?

Yup. I'd actually forgotten to merge my branch with my main branch before submitting a pull request. Should I withdraw one of the requests?

Closing since it is a duplicate PR.

Closing since it is a duplicate PR.


A320 Manny Pacquiao Air Asia Zest (My Very Last Livery for Github)

I'm going to announce that I'm going to stop contributing and making liveries forever due to limited liveries already taken from many people I felt like it is best to leave and not really a enjoyable experience to contribute here. Heres on of my last liveries to be added on to the selector. I faced also lots of opposition from that Luca b guy who mostly takes most of the liveries I want to do so it is not really good experience once again to be here mostly competitive feeling here instead contributing..

I'm going to announce that I'm going to stop contributing and making liveries forever due to limited liveries already taken from many people I felt like it is best to leave and not really a enjoyable experience to contribute here. Heres on of my last liveries to be added on to the selector. I faced also lots of opposition from that Luca b guy who mostly takes most of the liveries I want to do so it is not really good experience once again to be here mostly competitive feeling here instead contributing..

Ang Pambansang Kamao Manny Pacquiao!!!!!


Disable "public" toggle for files if not elevated user

Description
Disables the "public" toggle for files if the user isn't an elevated (i.e. IDIR) user.
SHOWCASE-3281

Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have checked that unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments

addresses issue #100


[Network] Enable write-operations for InterfaceEndpoints

cc/ @rupalivohra
The current CLI implementation of interface-endpoint only exposes the list and show command, as these are the only operations the service fully supports. Once the service lights up the remaining scenarios, the create, update and delete operations should be exposed.

Closing this as the service doesn't support these operations and labeling it service team attention is silly. When the service supports these operations, they can implement the commands or request implementation.


Appstudio update mvp-test-component

Pipelines as Code configuration proposal

Pipelines as Code CI/mvp-test-component-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
12 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
8 seconds
deprecated-base-image-check

✅ Succeeded
9 seconds
sanity-inspect-image

✅ Succeeded
15 seconds
clair-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
57 seconds
clamav-scan

✅ Succeeded
8 seconds
sanity-label-check

✅ Succeeded
8 seconds
sanity-optional-label-check

✅ Succeeded
4 seconds
show-summary

Pipelines as Code CI/mvp-test-component-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
12 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
9 seconds
sanity-inspect-image

✅ Succeeded
8 seconds
deprecated-base-image-check

✅ Succeeded
57 seconds
clamav-scan

✅ Succeeded
15 seconds
clair-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
8 seconds
sanity-optional-label-check

✅ Succeeded
8 seconds
sanity-label-check

✅ Succeeded
4 seconds
show-summary


Produce a binary release, for multiple architectures

To aid in bootstrapping and testing, the project should publish a binary release (for at least two architectures) to allow users to get their hands on this code without needing at the very outset to have a full development environment.

Blocked on #5.

https://goreleaser.com/ is handy for generating binaries for multiple architectures/platforms. Also supports nice GitHub integration.

I have a branch that can be used to build multi-arch builds, I don't know how this affects the normal drone build environment. I'd be happy to make a PR of this for further discussion:
https://github.com/tinkerbell/boots/compare/master...displague:multiarch?expand=1#diff-3254677a7917c6c01f55212f86c57fbf

Fixed by #94 and #107

Fixed by #94 and #107


Add more room management functionality

TODO:

[ ] pic (pictures)
[ ] Other things

In Progress:

[x] link (I think we all know what this does)
[x] smp (delivery)
[x] mov (Movies)

Closes #24

@spotlightishere How should we handle smp menus? It seems they send SPD data (thankfully encrypted, but smpkey with the first.bin IV(?) can decrypt them), my plan would be to just throw it away/decrypt the e-mail and then send something to it.

It seems I've lost the code for pic, anyway, this PR is ready for review now!

Note that Black fails because of the Python 3.9 | operator being used on dicts, if you check, you'll notice that's it's only fail.

Wait nevermind lol, gotta reformat in the not underground folder

Wait what the...? Black succeeds locally.

@spotlightishere How should we handle smp menus? It seems they send SPD data (thankfully encrypted, but smpkey with the first.bin IV(?) can decrypt them), my plan would be to just throw it away/decrypt the e-mail and then send something to it.

Hm.. that's a good question. We can definitely do that.
Do we know what format is sent by smp as well? I have not personally worked with it before 😄

I belive multipart-formencoded

yep. urlencoded

Just came back to this and the heck? It's not sending anything at all other then a body and headers???


STATUS_ACCESS_VIOLATION in examples

When I press enter/return on my keyboard in the context of a text box, the application crashes.
I can replicate this every time in both the "switch" and "textbox" demos on Windows 10.

This is https://github.com/linebender/piet/pull/126. All we need to do is make another piet release.

@TannerRogalsky piet was updated since than, Could you check if issue is still there for current master?

I've just tested a couple of the examples with textboxes ('switch' and 'styled_text'), and the issue seems resolved. Marking as closed for now. Please let us know/reopen if you still see the issue.


elisa: backporting Qt < 5.14 fix

Motivation for this change
https://hydra.nixos.org/build/130350392#tabs-summary
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Why not build with Qt 5.15?

My Pull Request doesn't aim at fixing elisa build against Qt5.15 (which it doesn't need anyway as the last build on staging-20.09 tells).
I just propose this pull request to fix elisa builds against Qt < 5.14 (in nixpkgs case, builds against Qt5.14)

The hydra build you linked passed. Maybe the bug was somewhere else and fixed in the meanwhile?

Could you link to the successful build? I can't find it.

I too don't understand exactly why apply that patch. Currently elisa fails to launch for me with:
QQmlApplicationEngine failed to load component
qrc:/qml/ElisaMainWindow.qml:175:13: Type HeaderBar unavailable
qrc:/qml/HeaderBar.qml:11:1: module "QtGraphicalEffects" is not installed

And applying this patch makes it work:
diff --git i/pkgs/applications/kde/elisa.nix w/pkgs/applications/kde/elisa.nix
index 9a51aa786fa..ee45202fe54 100644
--- i/pkgs/applications/kde/elisa.nix
+++ w/pkgs/applications/kde/elisa.nix
@@ -7,6 +7,7 @@
 , qtmultimedia
 , qtquickcontrols2
 , qtwebsockets
+, qtgraphicaleffects
 , kconfig
 , kcmutils
 , kcrash
@@ -36,6 +37,7 @@ mkDerivation rec {
     kirigami2
     qtmultimedia
     qtquickcontrols2
+    qtgraphicaleffects
     qtwebsockets
   ];

Though I don't understand why use propagatedBuildInputs and not normal buildInputs..

Elisa works fine here (on unstable). Can somebody please explain exactly what isn't working?

This is just to fix elisa build on Qt < 5.15. Qt 5.15 is the default verision for libsForQt5 on unstable, so it won't change anything for you. But people running older channels might be interested in using libsForQt5{12,14}.elisa which is the default when installing elisa on older channels.

This is a semi-automatic executed nixpkgs-review. If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 103802 run on x86_64-linux 1

2 packages marked as broken and skipped:

libsForQt512.elisa
libsForQt514.elisa

1 package built:

libsForQt5.elisa (kdeApplications.elisa ,libsForQt515.elisa)

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:
libsForQt5.elisa.log:

warning: unclear-gpl
gpl3 is a deprecated license, check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.
Near pkgs/applications/kde/elisa.nix:53:5:
   |
53 |     license = licenses.gpl3;
   |     ^

See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/unclear-gpl.md

This is a semi-automatic executed nixpkgs-review. If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 103802 run on x86_64-linux 1

2 packages marked as broken and skipped:

libsForQt512.elisa
libsForQt514.elisa

1 package built:

libsForQt5.elisa (kdeApplications.elisa ,libsForQt515.elisa)

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:
libsForQt5.elisa.log:

warning: unclear-gpl
gpl3 is a deprecated license, check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.
Near pkgs/applications/kde/elisa.nix:53:5:
   |
53 |     license = licenses.gpl3;
   |     ^

See: https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/unclear-gpl.md

This is just to fix elisa build on Qt < 5.15. Qt 5.15 is the default verision for libsForQt5 on unstable, so it won't change anything for you. But people running older channels might be interested in using libsForQt5{12,14}.elisa which is the default when installing elisa on older channels.

Then @SCOTT-HAMILTON please make the PR target the older branch that you'd like elisa to build with there.

This is just to fix elisa build on Qt < 5.15. Qt 5.15 is the default verision for libsForQt5 on unstable, so it won't change anything for you. But people running older channels might be interested in using libsForQt5{12,14}.elisa which is the default when installing elisa on older channels.

Then @SCOTT-HAMILTON please make the PR target the older branch that you'd like elisa to build with there.

QQmlApplicationEngine failed to load component
qrc:/qml/ElisaMainWindow.qml:175:13: Type HeaderBar unavailable
qrc:/qml/HeaderBar.qml:11:1: module "QtGraphicalEffects" is not installed

And applying this patch makes it work:
diff --git i/pkgs/applications/kde/elisa.nix w/pkgs/applications/kde/elisa.nix
index 9a51aa786fa..ee45202fe54 100644
--- i/pkgs/applications/kde/elisa.nix
+++ w/pkgs/applications/kde/elisa.nix
@@ -7,6 +7,7 @@
 , qtmultimedia
 , qtquickcontrols2
 , qtwebsockets
+, qtgraphicaleffects
 , kconfig
 , kcmutils
 , kcrash
@@ -36,6 +37,7 @@ mkDerivation rec {
     kirigami2
     qtmultimedia
     qtquickcontrols2
+    qtgraphicaleffects
     qtwebsockets
   ];

Problems with missing QtGraphicalEffects in application using Kirigami may have been fixed by #108331.

QQmlApplicationEngine failed to load component
qrc:/qml/ElisaMainWindow.qml:175:13: Type HeaderBar unavailable
qrc:/qml/HeaderBar.qml:11:1: module "QtGraphicalEffects" is not installed

And applying this patch makes it work:
diff --git i/pkgs/applications/kde/elisa.nix w/pkgs/applications/kde/elisa.nix
index 9a51aa786fa..ee45202fe54 100644
--- i/pkgs/applications/kde/elisa.nix
+++ w/pkgs/applications/kde/elisa.nix
@@ -7,6 +7,7 @@
 , qtmultimedia
 , qtquickcontrols2
 , qtwebsockets
+, qtgraphicaleffects
 , kconfig
 , kcmutils
 , kcrash
@@ -36,6 +37,7 @@ mkDerivation rec {
     kirigami2
     qtmultimedia
     qtquickcontrols2
+    qtgraphicaleffects
     qtwebsockets
   ];

Problems with missing QtGraphicalEffects in application using Kirigami may have been fixed by #108331.

I'm closing due to this being irrelevant now.


TLS listen does not work with child enumeration xpath

TLS listen does not work because the enumeration with the xpath "/ietf-netconf-server:netconf-server/listen/endpoint[tls]/*".

Codecov Report

Merging #169 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master     #169   +/-   ##
=======================================
  Coverage   45.43%   45.43%
=======================================
  Files          25       25
  Lines        5416     5416
  Branches      996      996
=======================================
  Hits         2461     2461
  Misses       2532     2532
  Partials      423      423

Impacted Files
Coverage Δ

server/ietf_netconf_server.c
0.82% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Hi,
it was a typo, thanks.
Regards,
Michal


Discord Chat Embed Colours

What is the issue, e.g. map voting, you would like to solve?
Add different colour embed to Discord Chat depending on which chat is used.

test

Added to beta branch ready for the next release.


Change y-axis labels to % for line chart

It doesn’t seem like graphite supports changing the y-axis labels to percentages on line charts, but they support it on pie charts, oddly enough: https://graphite.readthedocs.io/en/latest/render_api.html?highlight=y-axis#valuelabels
I looked at the meta data from an svg formatted image. Surely enough they have a y.labels array for y-axis, but you can’t modify it through their Render URL API as a parameter??
"y": {
        "labelValues": [0, 0.25, 0.5, 0.75, 1.0],
        "top": 1.0,
        "labels": ["0 ", "0.25 ", "0.50 ", "0.75 ", "1.00  "],
        "step": 0.25,
        "bottom": 0
      }

Here's what I currently have:
/render?target=asPercent(node.load_avg.one,1)&format=png&yMax=100&yStep=25
This takes the node load average and return percentages. For example, if a value was 0.75 it would convert it to 75. However, the y-axis does not display "%" character next to the ySteps. A small thing, but it would be nice if I could make it say 75% instead of 75...
Here's what I want:
"y": {
        "labelValues": [0, 25, 50, 75, 100],
        "labels": ["0%", "25%", "50%", "75%", "100%"],
        "step": 25
      }

It would be nice if we could change the y-axis labels through the Render URL API. The documentation doesn't specify a way to do so from what I'm reading. If there is a way, please reply :)!

I just commented on your SO question. Anyway I think it is easy doable by adding a 'unit' parameter. It is already implemented in https://github.com/graphite-project/graphite-web/blob/master/webapp/graphite/render/glyph.py#L1947 but that is never called with an actual value

According to code -  https://github.com/graphite-project/graphite-web/blob/master/webapp/graphite/render/glyph.py#L1759-L1761 - valuelabels parameter applying only to piecharts, indeed.
So, currently, it's not supported for any other chart.

Yep, what @piotr1212 said.

You could also just set a % in the vtitle..

You could also just set a % in the vtitle..

That will probably be the backup plan if we can't customize the y-axis labels :). It may be a good idea for future users to have custom x,y axis labels though.


gradle publishPlugins: success but the plugin is not visible on plugins.gradle.org

Expected Behavior
I published a new release (2.0RC1c) of the com.graphql_java_generator.graphql-gradle-plugin plugin.
I expected the new version to be available quickly after this publishing, like all the previous releases I did.
Note: I tried to publish several 'versions' of the 2.0RC1, as I thought the issue was on my PC. I hope I didn't pollute the gradle plugin portal.
Current Behavior
When I executed gradlew publishPlugins, I got an output that finished by
> Task :publishPlugins
Publishing plugin com.graphql_java_generator.graphql-gradle-plugin version 2.0RC1c
Publishing artifact build/libs/graphql-gradle-plugin-2.0RC1c-javadoc.jar
Publishing artifact build/publications/pluginMaven/pom-default.xml
Publishing artifact build/libs/graphql-gradle-plugin-2.0RC1c.jar
Publishing artifact build/libs/graphql-gradle-plugin-2.0RC1c-sources.jar
Publishing artifact build/publications/pluginMaven/module.json
Activating plugin com.graphql_java_generator.graphql-gradle-plugin version 2.0RC1c

BUILD SUCCESSFUL in 8s
10 actionable tasks: 7 executed, 3 up-to-date

But:

The 2.0RC1c release is not visible here: com.graphql_java_generator.graphql-gradle-plugin
If I try to republish the plugins, I got this error:

> Task :publishPlugins FAILED
Publishing plugin com.graphql_java_generator.graphql-gradle-plugin version 2.0RC1c

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':publishPlugins'.
> Failed to post to server.
  Server responded with:
  Plugin: 'com.graphql_java_generator.graphql-gradle-plugin', version: '2.0RC1c' exists already. It was created: 2023-04-18 20:00:31.939

Context (optional)
No response
Steps to Reproduce
Trying to publish the plugin, available here.
The issue is on the master_2.x branch
The main files are:

build.gradle
gradle.properties
settings.gradle

Gradle version
7.6.1
Build scan URL (optional)
https://scans.gradle.com/s/gztdifqik7t66
Your Environment (optional)
I'm using:

jdk17
Gradle wrapper 6.3.1
Windows
I tried with and without a proxy, on two different computers

@etienne-sf Sorry that you're having trouble with this!
Your plugin was flagged for manual review. I tried to reach you via the email specified on GitHub and Gradle Plugin Portal, but your email provider rejected my email with 550 unknown user. Please, contact Plugin Portal Support<EMAIL_ADDRESS>for further details.


Use colored emoji

Description

Diff is confusing because Unicode is too hard for GitHub.
Readiness checklist

[ ] I added tests for new functionality or bugfixes.
[ ] I ran task all, and it passed.
[ ] I added/updated comments for both exported and unexported top-level declarations (functions, types, etc).
[ ] I checked comments rendering with task godocs.
[x] I ensured that the title is good enough for the changelog.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Assignee, Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

I can see differences. They seem to be different code points.


Optimized conversion to Java collection

Codecov Report

Merging #2079 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #2079      +/-   ##
============================================
+ Coverage     97.55%   97.55%   +<.01%
  Complexity     5208     5208
============================================
  Files            92       92
  Lines         11939    11941       +2
  Branches       1574     1574
============================================
+ Hits          11647    11649       +2
  Misses          144      144
  Partials        148      148

Impacted Files
Coverage Δ
Complexity Δ

vavr/src/main/java/io/vavr/collection/Map.java
100% <ø> (ø)
34 <0> (ø)
:arrow_down:

vavr/src/main/java/io/vavr/collection/TreeMap.java
94.07% <100%> (ø)
157 <1> (ø)
:arrow_down:

vavr/src/main/java/io/vavr/Value.java
93.6% <100%> (+0.05%)
144 <2> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Create "Portfolio" Section

[x] add tech skills
[ ] add projects

decided not to link project as it's not yet finished


Incorrect transformation results when using EPSG 2263 (NY State Plane, feet US)

With PyProj:
import pyproj
wgs84 = pyproj.Proj("+init=EPSG:4326")
ny_state = pyproj.Proj("+init=EPSG:2263")
pyproj.transform(wgs84, ny_state, -74.01720548026697, 40.641305906460005)

Result:<PHONE_NUMBER>5271334, 52706.69470216743)
Compare to gdaltransform:
$ gdaltransform -s_srs EPSG:4326 -t_srs EPSG:2263
-74.01720548026697, 40.641305906460005
979475.050077194<PHONE_NUMBER>68694 0

By contrast, PyProj and GDAL agree when transforming to WebMercator:
webmerc = pyproj.Proj("+init=EPSG:3857")
pyproj.transform(wgs84, webmerc, -74.01720548026697, 40.641305906460005)

Result: (-8239557.624004417, 4959577.466271832)
gdaltransform -s_srs EPSG:4326 -t_srs EPSG:3857
-74.01720548026697, 40.641305906460005
-8239557.62400442 4959577.46627184 0

EPSG:2263 is a state plane coordinate system "NAD83 / New York Long Island (ftUS)".  I assume it is US Survey Feet.
You need to set the preserve_units flag to True.  Otherwise, pyproj will set your coordinate units to meters.
IPython console to show my work.
In [1]: import pyproj

In [2]: ny_state = pyproj.Proj(init="EPSG:2263", preserve_units=True)

In [3]: ny_state(-74.01720548026697, 40.641305906460005)
Out[3]:<PHONE_NUMBER>77198,<PHONE_NUMBER>6868977)

Calling ny_state() as a function does a transform to epsg:4326, as a shortcut.  Your above code should also work when you add the preserve_units=True flag.
This is not an isolated incident, other get tripped up by this too.  (Duplicate of #58 , #40)

This is not an isolated incident, other get tripped up by this too.

I just came here to raise an issue also (transforming from epsg:4326 -> epsg:102697 AKA NAD_1983_StatePlane_Missouri_Central_FIPS_2402_Feet) where I was finding that the resulting coordinates were given in meters, not us-ft as expected.
It all makes more sense now, although I wonder: What is the purpose of the preserve_units parameter?  It seems like it should at least be set to True by default, as the current behavior is clearly unexpected.

what's the rationale behind defaulting to preserve_units=False? This cost me probably 4 hours of time, and obviously, this is affecting multiple people. I can't see any reason why you would ever have a default that ignored specific information entered in elsewhere.

Closing as preserve_units=True is now the default in pyproj>=2.0.0


Why is an Azure Search service created as part of the deployment script

The deployment script for App Service deployment (untested with Azure Functions) creates a standard-tier Azure Search Service. This is an expensive resource. Can we please get it documented why this is created and what it is used for?

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

ID: b3462131-c17c-c9e1-106c-390e0bdb523d
Version Independent ID: bd203f82-3725-6df6-1aef-9ffad92fa7fa
Content: Publish a bot to Azure - Bot Composer
Content Source: composer-docs/how-to-publish-bot.md
Service: bot-composer
GitHub Login: @zxyanliu
Microsoft Alias: kamrani

Hi @knightmeister this is not an issue about docs.
If you have feedback on the product itself, you can report the issue on this repo: https://github.com/microsoft/BotFramework-Composer

Closing since this issue is not related to docs.


Make errors nicer

The current situation around error handling is.... quite improvable. This should be improved and organised somehow.
Should there be a single, all-encompasing error enum? Multiple smaller ones like currently?
Could also use something like https://github.com/dtolnay/anyhow or https://github.com/dtolnay/thiserror.

I ended up adding another kind of error for RustConnection server-rejects-the-connection handling (libxcb handles this by just writing the error message directly to stderr...). The new error is not in src/errors.rs, so I mention it here explicitly. This will also need some cleanup-ing:
https://github.com/psychon/x11rb/blob/88e1f0b3a35a7ca3c15efb5aaf4a4f22e6b1abd1/src/rust_connection/inner.rs#L206-L211

One option is to give up and return Box.


CustomQueryParameter

Hi there
When adding "CustomQueryParameter" to my search, sometimes I get the expected results, but sometimes the result is not affected by the parameter.
code example:
var searchParameter = Search.CreateTweetSearchParameter("Trump");
searchParameter.MaximumNumberOfResults = 10;
searchParameter.AddCustomQueryParameter("from", "CNN");
var tweets = Search.SearchTweets(searchParameter);

Sometimes I get 10 tweets by @CNN containing Trump, other times I get 10 tweets containing Trump but by different Accounts.
Am I missing something, or what?

1 month have passed now. Sorry for not replying earlier.
Have you been able to fix your problem?

unfortunately, no ;(

I tried to reproduce your problem without any success.
Could you please log the queries executed by Tweetinvi via the following line of code.
TweetinviEvents.QueryBeforeExecute += (sender, args) =>
{
    Console.WriteLine(args.QueryURL);
};

And let me know any of the query is incorrect. If this is the case then there is a bug in Tweetinvi.
If all the queries are the same, then it means that something is going wrong with the Twitter Search API (this would not be a first).

Well I noticed that when I request few number of results (tweets) the query works perfectly.
but when I request rather a big number, say 300, It doesn't work as expected.
var searchParameter = Search.CreateTweetSearchParameter("Trump");
searchParameter.MaximumNumberOfResults = 300;
searchParameter.AddCustomQueryParameter("from", "CNN");
var tweets = Search.SearchTweets(searchParameter);

Thank you I will test that.

Your lib is awesome. Please help.
On Fri, Jun 23, 2017 at 3:33 PM, linvi<EMAIL_ADDRESS>wrote:

Thank you I will test that.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/linvi/tweetinvi/issues/484#issuecomment-310681626,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZUd7Xybuto_aJyWdKPzij75OkJY26gjks5sG8zIgaJpZM4M1K7d
.

@kalidorweb Please let me know how I can help?
Are you having the same issues that @Bader80 is having?

@Bader80 The problem came from the query that you were sending to Twitter.
Please use the following code:
var searchParameter = Search.CreateTweetSearchParameter("trump from:CNN");
searchParameter.MaximumNumberOfResults = 300;
//searchParameter.AddCustomQueryParameter("from", "CNN");
var tweets = Search.SearchTweets(searchParameter).ToArray();

Sorry for the long time to reply.
Cheers,
Linvi

Thank you


Removed brackets from first five txt files (ticket #25159)

Following the instructions for ticket #25159, removed unnecessary brackets from five (not eight) of the txt files

Completed in https://github.com/django/django/pull/5054. Thanks for the initial patch.