Live streaming / Not able to start playback

Have you read the FAQ and checked for duplicate open issues?:
Yes
What version of Shaka Player are you using?:
Shaka Player 2.3.5
Can you reproduce the issue with our latest release version?:
Yes
Can you reproduce the issue with the latest code from master?:
Yes
Are you using the demo app or your own custom app?:
No
If custom app, can you reproduce the issue using our demo app?:
No (because of custom configuration)
What browser and OS are you using?:
Google Chrome 65 / Windows 10
Hi !! We are working with some encrypted dash live streaming contents and sometimes the player is not able to start playback (now we are working with 2.3.5 but we tested all versions and we get the same behavior with Shaka Player >= 2.0.0 -- not tested in versions < 2.0.0 -- ). The only thing that fix this is restarting the streaming server. This is an example of console output:
Found variant with audio and video content, so filtering all periods.
drm_engine.js:602 It is recommended that a robustness level be specified. Not specifying the robustness level could result in unexpected behavior.
player.js:755 codecs avc1-mp4a avg bandwidth 1064000
player.js:2580 onChooseStreams_
1.      {startTime: 0, textStreams: Array(0), variants: Array(3)}
player.js:2592 Choosing new streams after period changed
streaming_engine.js:419 init: completed initial Stream setup
streaming_engine.js:1359 (audio:1) looking up segment: presentationTime=1522786833.012 currentPeriod.startTime=0
streaming_engine.js:1368 (audio:1) cannot find segment: currentPeriod.startTime=0 lookupTime=1522786833.012
streaming_engine.js:1359 (video:3) looking up segment: presentationTime=1522786833.012 currentPeriod.startTime=0
streaming_engine.js:1368 (video:3) cannot find segment: currentPeriod.startTime=0 lookupTime=1522786833.012
streaming_engine.js:1359 (audio:1) looking up segment: presentationTime=1522786833.012 currentPeriod.startTime=0
streaming_engine.js:1368 (audio:1) cannot find segment: currentPeriod.startTime=0 lookupTime=1522786833.012
streaming_engine.js:1359 (video:3) looking up segment: presentationTime=1522786833.012 currentPeriod.startTime=0
streaming_engine.js:1368 (video:3) cannot find segment: currentPeriod.startTime=0 lookupTime=1522786833.012
streaming_engine.js:1359 (audio:1) looking up segment: presentationTime=1522786833.012 currentPeriod.startTime=0
streaming_engine.js:1368 (audio:1) cannot find segment: currentPeriod.startTime=0 lookupTime=1522786833.012
streaming_engine.js:1359 (video:3) looking up segment: presentationTime=1522786833.012 currentPeriod.startTime=0
streaming_engine.js:1368 (video:3) cannot find segment: currentPeriod.startTime=0 lookupTime=1522786833.012
dash_parser.js:1186 Updating manifest...
Assertion failed: SegmentReferences are incorrect
segment_index.js:319 Assertion failed: SegmentReferences are incorrect

Any idea of what could be happening here?

This is the classic symptom of a stream which is experiencing "drift".  This is when the actual output of the packager/encoder drifts away from the ideal timeline presented in the manifest.
For example, if your output speed is 0.999x real time, after only 24 hours, your stream will have drifted by more than 1 minute.  This is enough to cause issues at the live edge.
When a stream is drifting, the problem goes away when the encoder/packager is restarted.  This is because restarting everything brings the stream back into alignment with reality.  Over time, the drift accumulates again.
To deal with this, we are planning a refactor in v2.5 (#999) so that we will ignore the idealized timeline presented by the DASH manifest, and derive a realistic timeline from the list of segments.
I can't say for certain if you are seeing drift, because you did not send us a manifest URI.  We would need this information to reproduce the issue and diagnose it in detail.  But your symptoms seem to match drift.
For now, I will close this as a duplicate of #999.  If you feel this is a mistake, or if you would like to send us a manifest that we can use to reproduce, please ask for the issue to be reopened by replying with "@shaka-bot reopen".
Thanks!


spirv-val: Add Vulkan ImageTexelPointer format check

VUID-StandaloneSpirv-OpImageTexelPointer-04658

If an OpImageTexelPointer is used in an atomic operation, the image type of the image parameter to OpImageTexelPointer must have an image format of R64i, R64ui, R32f, R32i, or R32ui

One of the image tests had a hardcoded operand value of %141 which got moved by one when I added
%s64 = OpTypeInt 64 1

Should be good now

One of the image tests had a hardcoded operand value of %141 which got moved by one when I added
%s64 = OpTypeInt 64 1

Should be good now


💥 breaking changes

This PR represents (hopefully) the final breaking changes to this tool.
They Include:

#3
#7
#9

See README

Cool :)
How are you going to merge it? Even  a local fast-forward merge would work fine :o
Hopefully not squash-merge?

Cool :)
How are you going to merge it? Even  a local fast-forward merge would work fine :o
Hopefully not squash-merge?

Nope, it will be a Rebase and Merge and each commit will end up on the main branch and get documented in the release.

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


cli: modularize project template

We should be able to modularize the project template and maybe be smart about combining some parts.
These parts should then be installable with yarn lbu install ci for example
Wishlist:

[ ] ci: Github actions templates
[ ] scaffold: Basic package.json, src,test,scripts directories
[ ] generation: Add generate.js script and gen directory
[ ] docker: Add Dockerfile and corresponding github action workflow
[ ] sql: Add migrate & seed scripts
[ ] services: Add services/core.js where all things are initialized
[ ] frontend: Initialize the frontend scaffold https://github.com/lightbasenl/scaffold
[ ] frontend-api: Add necessary dependencies and scripts to connect with a lbu powered backend

No concrete use cases yet or reported missing. If you come across a this ticket and have a usecase like this, please open a new issue.


v2.7.0

Use atomic counters to update poll count in Triniti\Apollo\NcrPollStatsProjector

@bhsiao55 the projectNode function is going to wipe out the stats.  you'd need to do what we did on reactions, check if node exists (hasNode) and put a node into dynamodb only when it's not already there.  also, probably don't need the ncr search as i don't think we do any searching on poll stats.


Apply balance tx patch

The modification introduces in this patch are the following:

Adjusting utxosSuchThat in Cooked.MockChain.Monad.Contract to avoid an additional query on the plutus-chain-index when the datum is already present in ChainIndexTxOut. Note that the plutus-chain-index now ensures that the datum is properly supplied when a correspondence for the datum hash exists in the witness map.

Introduction of option AdjustOutputPolicy in TxOpts to offer the possibility of not adjusting any existing outputs and to always create a new change output.

Adjust applyBalanceTx in Cooked.MockChain.Monad.Direct to only adjust an existing public key output with the change when:

the output only contains ada tokens
no datum hash is specified in the output

LGTM, thanks for the PR!
I see CI is having trouble checking code out from a branch, I'll checkout locally and run the tests, if they pass, I'll merge it in manually

I've seen that as well and I don't know why this is so :-( But when checking the commands locally, it seems to work

I've learned why that is and fixed it in #100, if you're curious. It was our CI that wasn't ready for checking our code from forks.
For now, though, I just ran the tests locally and see they pass. I'll use my sudo superpowers to merge this anyway.


Removed Anthony Chu and Bruno Borges. Cleanup yml.

Removed Anthony Chu as he is now a PM on the Azure Functions Team. We will miss you. 😢
Removed Bruno Borges as he is now a PM the Java team. We will miss you too. 😢
Clean up a few remaining artifacts from previous removals.

Docs Build status updates of commit 9affde6:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

advocates/toc.yml
:x:Error

Details

advocates/index.html.yml
:warning:Warning

Details

advocates/index.yml
:warning:Warning

Details

advocates/toc.yml

[Error] W:\koaz-s\advocates\toc.yml is not a valid TOC File: W:\koaz-s\advocates\toc.yml is not a valid TOC file, detail: (Line: 28, Col: 5, Idx: 692) - (Line: 28, Col: 6, Idx: 693): While parsing a block mapping, did not find expected key..
[Error] W:\koaz-s\advocates\toc.yml is not a valid TOC File: W:\koaz-s\advocates\toc.yml is not a valid TOC file, detail: (Line: 28, Col: 5, Idx: 692) - (Line: 28, Col: 6, Idx: 693): While parsing a block mapping, did not find expected key..
[Error] Unable to load file 'toc.yml' via processor 'ExperimentalTocDocumentProcessor': W:\koaz-s\advocates\toc.yml is not a valid TOC File: W:\koaz-s\advocates\toc.yml is not a valid TOC file, detail: (Line: 28, Col: 5, Idx: 692) - (Line: 28, Col: 6, Idx: 693): While parsing a block mapping, did not find expected key..
[Error] Unable to load file 'toc.yml' via processor 'TocDocumentProcessor': W:\koaz-s\advocates\toc.yml is not a valid TOC File: W:\koaz-s\advocates\toc.yml is not a valid TOC file, detail: (Line: 28, Col: 5, Idx: 692) - (Line: 28, Col: 6, Idx: 693): While parsing a block mapping, did not find expected key..

advocates/index.html.yml

Line 0: [Warning] Invalid file link:(~/tweets).
Line 0: [Warning] Invalid file link:(~/map).

advocates/index.yml

[Warning] Unable to find uid "advocates.james-turnbull".
[Warning] Unable to find uid "advocates.michael-bender".
[Warning] Unable to find uid "advocates.prashant-sridharan".
Line 0: [Warning] Invalid file link:(~/media/profiles/james-turnbull.png).
Line 0: [Warning] Invalid file link:(~/tweets).
Line 0: [Warning] Invalid file link:(~/map).
Line 0: [Warning] Invalid file link:(~/media/profiles/michael-bender.png).
Line 0: [Warning] Invalid file link:(~/media/profiles/prashant-sridharan.png).

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.

Docs Build status updates of commit a32ab6f:
:warning: Validation status: warnings

File
Status
Preview URL
Details

advocates/index.html.yml
:warning:Warning
View
Details

advocates/index.yml
:warning:Warning
View
Details

advocates/anthony-chu.yml
:white_check_mark:Succeeded

advocates/bruno-borges.yml
:white_check_mark:Succeeded

advocates/map.yml
:white_check_mark:Succeeded
View

advocates/media/profiles/anthony-chu.png
:white_check_mark:Succeeded

advocates/media/profiles/bruno-borges.jpg
:white_check_mark:Succeeded

advocates/media/profiles/bruno-borges.png
:white_check_mark:Succeeded

advocates/media/profiles/bryan-liston.png
:white_check_mark:Succeeded

advocates/toc.yml
:white_check_mark:Succeeded
View

advocates/index.html.yml

Line 0: [Warning] Invalid file link:(~/tweets).
Line 0: [Warning] Invalid file link:(~/map).

advocates/index.yml

Line 0: [Warning] Invalid file link:(~/tweets).
Line 0: [Warning] Invalid file link:(~/map).

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.

#sign-off

@naveens41 can we merge this?


Add a shortcut key for nerd stats

We should have a shortcut key to toggle nerd stats. May be option+n.
cc @lipis

Not sure about Nerds though.. it could be expanded in a way to edit values and stuff... so I wouldn't use N for now.. not sure which one though, that's why we left it without.

Wondering what would nerd stats mean @ad1992

@alexkhismatulin we show some useful stats which you can find in the context menu as shown 👇

@ad1992 sounds like a good task to play around with the project. Want me to take it?

Sure @alexkhismatulin. But first, we need to finalize the shortcut key which we can use for showing nerd stats.
@lipis had some concerns regarding option+n. How about option+/?
cc @lipis.

@lipis Would like to work on it, is it still in discussion ?

Yeah maybe option + / is fine.. sure go ahead and we'll take it in a PR.

It was solved here. This issue could be closed.


Implement the Submit your Event for a DEI Badge section

Refer to this Figma Design for more Details

Hello @kaxada assign this to me

@Denike-d there you go. Waiting for your contribution

Hello @kaxada I haven't been able to run the project on my end. I updated my Node.js but still not able to run it, instead I'm seeing "website running on Port: undefined". Would appreciate if you can help me sort this.

@Denike-d are you still working on this issue? Do you have any updates?

@kaxada Yes I'm still working on it. Sorry for the delay. I will push what I have done later in the day

@Denike-d are you still working on this?

Hi @kaxada is this issue open, I'd like to work on it

Hi @kaxada, can we assign this issue to @daluclemas? Thank you

Hello, @daluclemas sorry for the late response. Please go on and work on the issue! thank you @Maryblessing for looking out

hi @kaxada ,  thanks alot

Hi @daluclemas, I'm just checking in with you

hi @Maryblessing , i am still working on it. created a pr for another issue though. Issue 91. requested assistance resolving conflicts.

hi @kaxada , i'd like a confirmation on this please. is the only enhancement making this a carousel? also , i noticed the background has lines, i can't seem to export that

@daluclemas I don't think the carousel is necessary because we are not planning to add more logos. you can just make a hover animation or something to make it look beautiful. let me know when you can challenges we can set up a call

@daluclemas I don't think the carousel is necessary because we are not planning to add more logos. you can just make a hover animation or something to make it look beautiful. let me know when you can challenges we can set up a call

alright @kaxada , i'll reach out if i encounter an issues

hi @kaxada  and @Maryblessing , may i be giving a little more time on this task. currently experiencing a personal blocker. i'll reach out on slack

hi @kaxada , i need assistance. would u be available for a call?

hi @kaxada and @Maryblessing , may i be giving a little more time on this task. currently experiencing a personal blocker. i'll reach out on slack

Hello @daluclemas, I hope you're good!
No worries


syz-manager: fixed an error message

Can we close it so that it does not show up in the list of PRs?


Why handling coin amount field using Uint53?

Our team recently discovered an issue with using this coin amount with the approach as described in https://github.com/cosmos/cosmjs/blob/79396bfaa49831127ccbbbfdbb1185df14230c63/packages/amino/src/coins.ts#L12
What we can figure out was Uint53 was unable to handle large values.
What is the CosmJs team's rationale behind using Uint53? Any specific details?
Thanks

The coin helper function takes the amount as a number, which is more conveneient to write in most cases. However, the largest integer that the number type can hold without rounding is Number.MAX_SAFE_INTEGER =<PHONE_NUMBER>740991, which is approx. 53 bits. The type Uint53 ensures the input does not exceed Number.MAX_SAFE_INTEGER.
Could you describe your use case in which you need larger values? It can be done using strings directly and the Uint64 class. However, working with such large values in JS in inconvenient.

The Cosmos SDK does use big.Int and allows arbitrarily large numbers here.
As Simon says, anything over Uint53 must be string encoded, and it is unclear how to work with them well in JS land. Long can handle Uint64. Larger numbers (I assume you are working with Ethereum-like 18 decimal places?) would need bn.js or another big number library.
All of these are much more annoying to work with than simple number, so they are not default.

Thanks @webmaster128 @ethanfrey

Could you describe your use case in which you need larger values? It can be done using strings directly and the Uint64

As @ethanfrey  guessed it correctly we are dealing with EVM compatible version values as part of IBC transfers.
Even Uint64 won't sustain our use case hence resorted to replacing Uint53  with bignumber library for our usecase.
Is Cosmjs team looking at supporting arbitrarily large numbers?

Is Cosmjs team looking at supporting arbitrarily large numbers?

I think it already does of you skip the coin helper and create the coin manually or through your own Coin maker helper. Or is there anything else that needs to be adapted?
Regarding coin I think we can easily accept number | string as an amount argument to support both use cases.

Could you please have a look at https://github.com/cosmos/cosmjs/pull/923 to see if that serves your needs and the implementation is solid?

ping @cdc-Hitesh. Could you check out #923?

@webmaster128
Yeah, that looks like an amazing implementation.
For now, I have written my own implementation matching almost yours.
Are you planning to merge it in a future version of cosmJs?

For now, I have written my own implementation matching almost yours.
Are you planning to merge it in a future version of cosmJs?

I'd love to. The case is valid: an SDK coin is of arbitrary length and right now we only support up to 53 bit. This might be good for most users but we also want to support advanced use cases as long as they are in line with main Cosmos SDK development.
Ideally you can drop your own implementation and share the one in #923 with other CosmJS users.

Done in https://github.com/cosmos/cosmjs/pull/923. Will be released as partof the next 0.26.x.


Benefits of bag8 - README

As bag8 is an open source project, it is important that people have a clear idea of the benefits.

What is bag8?
Why should people use it?
How is it different from other projects?

The project should be obvious within the first 5 sentences of the README, even and mostly to someone without prior knowledge of the project.
Good luck and have fun, it's a very insightful yet tough thing to do!

ping

http://dusty.gc.com/

:)

Not sure I understand. Are you suggesting that we move to Dusty?

Non, c'est le même but, mais sous Linux et moins mature au premier abord.


[SPIKE] Opt Out for pharmacy notification

Goal
The purpose of the spike would be to research and document options for opt out that could be used for the pharmacy notification
Checklist

[ ] What is/how can Pinpoint be setup for opt out with text messages
[ ] Define the options with that can be used for opting out of the Pharmacy notification with VEText
[ ] Discuss and document with team
[ ] Create recommendations for the implementation

Timebox - 5 days
Assumptions

Pinpoint is approved and available for utilization

Additional Info/Resources

Out of Scope

Implementation with the opt out is covered in a different card #250
Sending opt out data to any external systems (example - VA Profile)

Open Questions

Is implementation of the opt-out in scope? No, that is covered in card #250

Short term store "opt-outs" in Vettext, long term save into VA Profile.

"When a recipient sends the keyword "STOP" to one of your long codes, Amazon Pinpoint automatically opts that recipient out of all future SMS messages that are sent from this project."

Regarding opt-ins:
https://support.twilio.com/hc/en-us/articles/223134707-Industry-Standards-for-opt-ins-for-US-Short-Codes
Seems that when using short codes, the customer has to explicitly opt-in to the communication.
We have to follow TCPA law and CTIA guidelines. I have uploaded CTIA handbook to our google drive.

Was just reading these guidelines today! Yes agree on opt in... will do a bit more researching too.
thought with care
written with haste
reading up to you

On Nov 12, 2020, at 10:40 PM, Filip Fafara<EMAIL_ADDRESS>wrote:

Regarding opt-ins:
https://support.twilio.com/hc/en-us/articles/223134707-Industry-Standards-for-opt-ins-for-US-Short-Codes
Seems that when using short codes, the customer has to explicitly opt-in to the communication.
We have to follow TCPA law and CTIA guidelines. I have uploaded CTIA handbook to our google drive.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

During opt in process we have to:

Receive consent before any message can be sent.
Mention your company name
Give the coupon or value proposition
Mention the frequency of messages that will be sent monthly
Disclose possible carrier costs and fees
Give an option to ask for help and opt out of future texts


Fix DNS whitelist destination, clean up node name

[test]

merging despite failure since bot is broken


Fix integration with 2gis

Really sorry for the breaking PR
followup to https://github.com/flexible-agency/react-native-map-link/pull/169

seems something related to the discussion at https://github.community/t/github-workflow-not-running-from-pull-request-from-forked-repository/16379

Published to NPM as<EMAIL_ADDRESS>

many thanks


SCP-1: Categories and Nomenclature

https://github.com/orbitdb/SCPs/blob/scp-000/scps/scp-000.md
TODO:

[ ] Rename file to scp-1

@tabcat adding your feedback w/r/t naming


[BUG] Rapidly doing something that triggers the autoname crashes the service with no error

Describe the bug
You can try it by opening a folder of images and holding a key to rapidly cycle through them. I ran it with hyprland-autoname-workspaces -d and it will suddenly exit without an error. When I run it without -d and perform the same actions, it doesn't exit, but the issue is the same. And when I check the waybar debug output, I can see that it's no longer receiving hyprland IPC events. I can't tell if the fault is with waybar or with hyprland-autoname-workspaces, but I do have to restart waybar to get it to listen to events again.
Program version?
$ hyprland-autoname-workspaces --version
$ hyprland-autoname-workspaces 1.1.14

Program configuration dump? (ideally)

Run hyprland-autoname-workspaces --dump

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Linux Distro (please complete the following information):
Arch
Additional context
Add any other context about the problem here.

Nvm I think this is a waybar issue it looks like after further testing


The-Forge 1.47 Can't build by Xcode 12.3 on macOS 11.1

I have tried to build 1.47 by Xcode 12.3 on macOS 11.1, but there are many errors in ozz_base, please check the image uploaded. Thanks.

Attachment is the build error log.
Build target ozz_base_2020-12-27T04-31-08.txt

Thanks for the bug report. At this moment we don't support this XCode version and macOS version. You can find the versions we support on the main GitHub page. Those are the ones we are testing.


Upgrade pyraider to Conda

Some organization prefers conda over pip. Conda can be applied to any package types not restricted to python only unlike PyPI.
Pyraider can expand to Anaconda repo not just PyPI cloud.
Consider it as feature request.

Thank you so much @pavsorab for the suggestion. We will have a look and try to add it into the next release.


Minor Release v1.1.1

TODO

[x] fix sonarqube step problem
[x] run full pipeline and generate documentation
[ ] ensure everything compiles properly on Windows
[x] proofread documentation and changelog

CHANGELOG
This version of Ginkgo provides a few fixes in Ginkgo's core routines. The
supported systems and requirements are unchanged from version 1.1.0.
Fixes

Update the git-cmake-format repository (#399),
Improve the global update header script (#390),
Fix broken bounds checks (#388),
Fix CSR strategies and improve performance (#379),
Fix a small typo in the stencil examples (#381),
Fix ELL error on small matrices (#375),
Fix SellP read function (#374),
Add factorization support in create_new_algorithm.sh  (#371)

@pratikvn I think adding that is rather complex as the changes are very tied to HIP and the CUDA code reorganization happened in between. In addition, as Mike says there will probably not be much change for now in overall performance, so I would rather leave this as is.

Okay. That makes sense.

For documentation.
Ir solver is not shown in solver link
Factorizations does not show subitems in the graph link
In preconditioner, it also shows gko::preconditioner::block_interleaved_storage_scheme used by jacobi and Preconditionable. Is it expected?

@yhmtsai these should be fixed. There is also a jacobi documentation group btw, do I add a documentation header for this so that it appears as a module?

@yhmtsai, can you check whether compilation still works on windows? Thanks

@tcojean Sure, I can test it.
I need to wait my brother to open my laptop such that I can also test cuda kernel.

I just realized that we say in the tutorial that it is a 2D Poisson solver, whereas it is actually a 1D Poisson solver. We can just remove the 2D and just call it a Poisson solver. So, I think we should update the following:

The main [Doxygen page}(https://github.com/ginkgo-project/ginkgo/blob/develop/doc/DoxygenLayout.xml#L6)

The link in the  Ginkgo webpage which redirects to the tutorial.

Any other places ?

Reviews got dismissed again? Sorry about that, I guess I need to find a better way to generate documentation for the release branches.


aspnetcore not publishing all outputs

ASPNetCore is not publishing all its outputs as part of UB. Right now it only appears to publish the product version files:

Closing in favor of https://github.com/dotnet/source-build/issues/4338


encoding/json: Wrong type in a field breaks decoding of following fields

What version of Go are you using (go version)?
1.7.3 and 1.8
What operating system and processor architecture are you using (go env)?
amd64 linux
What did you do?
Go Playground link
What did you expect to see?
Type of Age in go struct is string, it will return {Name: "John", Age: "", Gen: "M"} and error message.
Output:
json: cannot unmarshal number into Go struct field person.age of type string
JohnM
What did you see instead?
In raw json, "gen" field shows after "age", it seems wasn't touched by decoder.
Output:
json: cannot unmarshal number into Go struct field person.age of type string
John

I suppose we could document this, but it's been like this forever so I don't see a good reason to change it.


fix: nub-stick touchmove

uhh 0 is actually falsey value and that was causing bug :satisfied:

fix confirmed locally :+1:


New Circuit and Sub Circuit Bugs

Describe the bug
There are some bugs present in the New Circuit and Insert SubCircuit Feature that need to be fixed to make the UI more user friendly.

Whenever we enter a long name , then if we try to insert it as a subcircuit , it will flow out from the existing div.
Including #815 . When many subcircuits are involved then the Insert Subcircuit overflows vertically. Then user has to refresh in order to get back.
When we Click on Insert subcircuit then if we have three circuits then only two of them show up in the Pop-up.

To Reproduce
Steps to reproduce the behavior:

Go to 'https://circuitverse.org/'
Click on 'New Circuit +' or  'Insert SubCircuit'
See error

Expected behavior

Overflowing in the Insert Subcircuit must be removed .
All subcircuits must be shown in the pop-up.

Screenshots
1.

2.

3.

Desktop (please complete the following information):

OS: [Windows 10]
Browser [Chrome]

Are you working on this issue? (Yes/No)
Yes

Hey  @Shivansh2407  ,

When we Click on Insert subcircuit then if we have three circuits then only two of them show up in the Pop-up

So this is not an issue, when you create a new circuit you switch to it directly.
Thus when you try to insert a new circuit it wont show the circuit itself. Try switching to Main circuit and then open the Insert SubCircuit dialog and it'll show you the circuit you created.
The simulators tries to avoid adding the circuit to itself as sub circuit to avoid the whole loop problem and thus this isn't a bug.
Take a look at this:

Hey @Shivansh2407 ,

When we Click on Insert subcircuit then if we have three circuits then only two of them show up in the Pop-up

So this is not an issue, when you create a new circuit you switch to it directly.
Thus when you try to insert a new circuit it wont show the circuit itself. Try switching to Main circuit and then open the Insert SubCircuit dialog and it'll show you the circuit you created.
The simulators tries to avoid adding the circuit to itself as sub circuit to avoid the whole loop problem and thus this isn't a bug.
Take a look at this:

Cool, I thought it differently that it must be adding all the given subcircuits to Main Only . Thanks for pointing this out . Will take care of it.

Hey @Shivansh2407  Are you still working in this PR because I have already fix this if you dont have problem can i make PR again

Actually I was working on some more Subcircuit bugs simultaneously , so if you want go ahead and make a PR.

Thanks , will make PR tonight

Cool But make sure to fix the Bugs mentioned here. I will then open a separate issue for other subcircuit bugs. All the best 👍

@tachyons the first part of the issue is not fixed yet and I have asked @yash15601 to fix it in the PR he made. I think till then the issue must remain open.

Make separate issues for bugs, otherwise it will be difficult to keep track of

Ok @tachyons 👍


Don't discharge battery

Description
Hi,
thanks for the good work !
I have a feature request or maybe i am just using the integration wrong.
I have a battery and post the charge/discharge current to pakku.
Is there any way to not use the capacity of the battery to charge the cars ?
API Keys
No response

this question must go to go-e ... this integration just is the "messanger"...

@marq24 Yes, you are right. For whom it may concern, i ended up using a template sensor to "hide" the discharge power of the battery unless the SOC is above 90%
{% if states("sensor.battery_state_of_capacity") | float > 90 %}   {{states('sensor.power_meter_active_power') | float + states('sensor.battery_charge_discharge_power') | float}} {% else %}   {{states('sensor.power_meter_active_power')}} {% endif %}
I then used that new sensor in the automation:
`alias: goe charge 11kw pv surplus
description: >-
Simple automation to provide your go-eChargers with the required data so that
the wallbox can support PV surplus charging.
triggers:

seconds: /5
trigger: time_pattern
conditions: []
actions:
data:
pgrid: "{{states('sensor.goepowergrid')}}"
ppv: "{{states('sensor.inverter_input_power')}}"
pakku: "0"
configid: Id.ChargerA
action: goecharger_api2.set_pv_data
data:
pgrid: "{{states('sensor.goepowergrid')}}"
ppv: "{{states('sensor.inverter_input_power')}}"
pakku: "0"
configid: Id.ChargerB
action: goecharger_api2.set_pv_data
mode: single
`

With this configuration i managed to only use pv surplus and provide power from battery if the SOC is above 90%.


Running amass and findomain with shadowclone

Anyone got amass working with shadowclone?
/go/bin/amass enum -df {INPUT} --passive -timeout 1 -nocolor works for me, but sometimes the print information bugs out.
I tried /go/bin/amass enum -df {INPUT} --passive -timeout 1 -nocolor -o out; cat out, just saving output to out, and then printing that file, but that gives Encountered a bad command exit code and no idea why, the command has no errors.
With findomain I had no luck, I tried directly downloading the binary and then calling it from shadowclone and always gives bad command error, no matter what I try. if anyone has sucesfully installed and run findomain please let me know how!

Hi @marcelo321 , whenever trying to run amass i get this error
2024-08-11 08:59:33,157 [INFO] handler.py:177 -- Lithops v3.4.1 - Starting AWS Lambda execution
2024-08-11 08:59:33,793 [INFO] aws_s3.py:59 -- S3 client created - Region: us-east-1
2024-08-11 08:59:33,875 [INFO] jobrunner.py:234 -- Going to execute 'execute_command_arr()'
---------------------- FUNCTION LOG ----------------------
failed to parse the domain names file: error reading the first 512 bytes from /tmp/infile: EOF
Error in running the command:amass enum -df /tmp/infile --passive -timeout 1 -nocolor
----------------------------------------------------------
2024-08-11 08:59:40,950 [INFO] jobrunner.py:240 -- Success function execution
2024-08-11 08:59:40,951 [INFO] jobrunner.py:312 -- Process finished


Should "select by tag" return list of 2D arrays, 1 3D array, or a summed 2D array?

I think we probably would like capabilities on all fronts, but for trips (and other additive measures) we most likely want a summed 2D array while for something like a skim, we would probably like to be able to iterate through the list (simpler than a 3D array, although not all numpy functionality comes through).

I'm closing this since we should move this issue to https://github.com/osPlanning/omx-python


NTR: grouping class for Mendelian neurodevelopmental disorder

Per the call with Peter and Ada:
they would like a superclass that classifies called NED
NED terms in OMIM should go under Mendelian neurodevelopmental disorder
search for abbreviations in OMIM and we can group classes together in this way

New term: Mendelian neurodevelopmental disorder
Parent:
Mendelian disease
source:
https://orcid.org/0000-0002-0736-9199
https://orcid.org/0000-0002-1780-5230
Definition: A neurodevelopmental disorder that is caused by genetic modifications where those modifications are inherited from a parent's genome.
Dbxref: MONDO:patterns/hereditary
Logical definition:
'neurodevelopmental disorder'
and ('bearer of' some inherited)


[DOCFIX]Add Chinese Doc of S3SignerType for common-configuration

Add Chinese Doc for alluxio.underfs.s3a.signer.algorithm in common configuration.

Merged build finished. Test PASSed.

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

alluxio-bot, check this please

Hey @summerDG, do you mind signing the CLA? You can sign it here: http://cla.alluxio.org/


Reseting sensor should not effect camera position

Resetting the sensor currently moves camera to zero on the X,Y,Z. It should only effect orientation.

is that a recommendation from Oculus?  What if I'm not comfortable in my chair and need to adjust my position?

You're right, I should be more nuanced here. Reseting the sensor should:

Reset position relative to positional camera
Reset orientation

That's different, however, from reseting the camera's system in the virtual world to 0,0,0, which is the current behavior. I imagine it's something like:

User <-- is not effected by reset sensor. Is the vessel the user controls with WASD, etc.
** Camera <-- is effected by reset sensor. Is the recreation of the HMD in the virtual world.


use sha2 for sha256 not openssl

Signed-off-by: Axel Nennker<EMAIL_ADDRESS>first step for https://jira.hyperledger.org/browse/IS-1002

Turns out that openssl sha2 is twice as fast as the sha2 crate's method and also twice as fast as libsodium's method.
So closing this PR.
    Running target/release/deps/crypto_bench_rustcrypto-2b1f68cfdab32d00

running 6 tests
test digest::sha256::_1000     ... bench:       4,559 ns/iter (+/- 281) = 219 MB/s
test digest::sha256::_16       ... bench:         306 ns/iter (+/- 23) = 52 MB/s
test digest::sha256::_2000     ... bench:       9,317 ns/iter (+/- 1,000) = 214 MB/s
test digest::sha256::_256      ... bench:       1,439 ns/iter (+/- 41) = 177 MB/s
test digest::sha256::_8192     ... bench:      37,831 ns/iter (+/- 3,092) = 216 MB/s
test digest::sha256::block_len ... bench:         594 ns/iter (+/- 33) = 107 MB/s

test result: ok. 0 passed; 0 failed; 0 ignored; 6 measured; 12 filtered out

   Finished release [optimized + debuginfo] target(s) in 0.01s
    Running target/release/deps/crypto_bench_sodiumoxide-c735c721ccf15fea

running 6 tests
test digest::sha256::_1000       ... bench:       4,243 ns/iter (+/- 170) = 235 MB/s
test digest::sha256::_16         ... bench:         311 ns/iter (+/- 40) = 51 MB/s
test digest::sha256::_2000       ... bench:       8,275 ns/iter (+/- 423) = 241 MB/s
test digest::sha256::_256        ... bench:       1,375 ns/iter (+/- 42) = 186 MB/s
test digest::sha256::_8192       ... bench:      33,960 ns/iter (+/- 7,060) = 241 MB/s
test digest::sha256::block_len   ... bench:         595 ns/iter (+/- 21) = 107 MB/s

test result: ok. 0 passed; 0 failed; 0 ignored; 6 measured; 9 filtered out

   Finished release [optimized + debuginfo] target(s) in 0.01s
    Running target/release/deps/crypto_bench_openssl-89872258fec62510

running 6 tests
test digest::sha256::_1000     ... bench:       2,281 ns/iter (+/- 163) = 438 MB/s
test digest::sha256::_16       ... bench:         278 ns/iter (+/- 54) = 57 MB/s
test digest::sha256::_2000     ... bench:       4,274 ns/iter (+/- 116) = 467 MB/s
test digest::sha256::_256      ... bench:         811 ns/iter (+/- 63) = 315 MB/s
test digest::sha256::_8192     ... bench:      16,959 ns/iter (+/- 2,017) = 483 MB/s
test digest::sha256::block_len ... bench:         453 ns/iter (+/- 84) = 141 MB/s

test result: ok. 0 passed; 0 failed; 0 ignored; 6 measured; 19 filtered out```


3D SemanticsTree

This change adds two properties to each SemanticsNode in the Semantics Tree: elevation and thickness.
elevation describes how high above the elevation of the parent the rect of a SemanticsNode is located in z-direction. This value is relative to the elevation of the parent SemanticsNode.
thickness describes how much space the rect of a SemanticsNode takes up in z-direction. SemanticsNodes have a thickness because a node can represent various RenderObjects, that can be at various elevations. The thickness is the difference between the highest and lowest absolute elevation of the represented RenderObjects.
Fixes https://github.com/flutter/flutter/issues/25296.

/cc @Hixie @dnfield @jonahwilliams @neelsa


Test: QuickPickItem tooltip

Refs: #174473

[ ] anyOS: @DonJayamanne (or give to @rebornix... either way, please test from an extension)
[ ] anyOS @hediet (using Core quickpick API)

Complexity: 4
Create Issue

This iteration we have introduced the ability for quick pick items to have tooltips:

A make believe usecase of the Command Palette showing the extension that contributed the command

How to test
Prereqs

If you're testing from an extension, pull in the proposed API: https://github.com/microsoft/vscode/blob/0b89e361f50d959448b99943af827ea30e0f6205/src/vscode-dts/vscode.proposed.quickPickItemTooltip.d.ts#L14
If you're testing from Core, find a place in the code that already uses the IQuickInputService and just add some code there to play around with the API

For the Steps section below, I want you to try it out in both the "simple" and "complex" API:

Simple in Core is the pick API
Complex in Core is the createQuickPick API
Simple in Ext is the vscode.window.showQuickPick API
Complex in Ext is the vscode.window.createQuickPick API

Steps
Really just play around with the API AND the UX shown... but specifically test out:

Does the API make sense?
Does hovering over an item with your mouse show the tooltip?
Does ctrl+space show the tooltip? - this works similarly to the suggest widget so try that out
Add a markdown link in the tooltip. Can you tab over to it?

Have ideas of where this could be used? Open issues on that so we collect ideas!

Does not seem to work with monaco editor:
https://microsoft.github.io/monaco-editor/playground.html?source=v0.36.0-dev.20230221#XQAAAALvAgAAAAAAAABBqQkHQ5NjdMjwa-jY7SIQ9S7DNlzs5W-mwj0fe1ZCDRFc9ws9XQE0SJE1jc2VKxhaLFIw9vEWSxW3yscw2oTw2fdL6lWdZifSWhc9gCAnQP7m4UuZTiIrIS9pAX04f3NkJ4AQau3w4ptki3gIWzH16T25difg-USIlgIuHWaQW4UjFBxI-jBU9CCZvEu13dcLUzxHa2RS-cZPn3SUFjJ7GMRNa5TRRLvbbknTUUPnGnxar4EkxtMcz3UWzcPw7gwPrXA2ETDLZD6pzubVK4cRDgrJ-nQDGEGSznsdtWADDS76FtsSvadmrN2k6HKqxxAJifVZ9_y18H8iBaHxJeXQIlCfrGMw4UcJLViU6ZOWTXo2r5jcGb6eBiWWzHQkbRWLgLpEeGEEX2mMNqXcX66uxk6kXUMbzHaazjocZTM48Yb0ghedAGBgg8MBo7-my6v31YX-oznM2BHhLx4xcXvZt-Er7NN6AfB4eVUFXikzJnyQkRObpprGjjsT7VGpm4nnjz7-yY8jQy3GXiKxfETPEHA8xDoP5VCuJRF9r3jrsGpDAVlLPBFDRZM17BR1t39a-I5DbygpV9e4DMS2OceRGge4dtGFH7aSJMLV7_fmZHcJDxxfKP-34NC2

Found one issue https://github.com/microsoft/vscode/issues/175004


[Infra] Specify engine for node version in package.json

This is a more explicit way to ask for a specific node/npm version than using .npmrc, having both would be best

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Scaling issues between tvOS and Android TV

I understand that this repository seems to be for tvOS and may not be the right place to report issues about Android TV, although if that's the case, then I have no clue where to actually go for those issues.  I'm actually a little frustrated by the TV support for RN because I thought React Native was supposed to automatically support all iOS/Android platforms without creating separate projects, but there seems to be a lot of fragmentation with TV platforms.
Description
When running an app created with this repo on Apple TV (tvOS) everything looks fine.  However, when running the same app on Android TV / Fire TV nothing fits within the viewport; it looks like it's zoomed way in (see screenshots below).
I reported this issue several years ago before TV support was spun off from the core React Native project.  Original issue is here: Android TV / tvOS scaling display inconsistency.
Back then, I just created a completely separate project for Android, but I'm updating the app I built back then and am trying to get both tvOS and Android TV working off of the same code, instead of having to rewrite two apps.
When running, I can tell (via Dimensions.get('window')) that the screen dimensions are different:

Apple TV = 1920 x 1080
Fire TV = ~960 x 540

If this is not a bug, then how are React Native developers supposed to handle this? It seems like the options are:

Create two different apps, one for each platform.
Create separate StyleSheets to change component dimensions and font sizes depending on what device it's running on.
Maybe there is some way to auto scale the viewport on Android TV?

What is the recommended approach for this?
Environment
Amazon Fire TV Stick (Fire OS <IP_ADDRESS> / Android 5.1.1 Lollipop - 1080p @ 60Hz)
Apple TV (4th gen - tvOS 11.4 - 1080p @ 60Hz)
$ react-native info
info Fetching system and libraries information...
System:
    OS: macOS 10.15.3
    CPU: (8) x64 Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz
    Memory: 1.49 GB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.16.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 23, 27, 28, 29
      Build Tools: 23.0.1, 27.0.3, 28.0.3, 29.0.2, 29.0.3
      System Images: android-23 | Android TV Intel x86 Atom
  IDEs:
    Android Studio: 3.6 AI-192.7<IP_ADDRESS>41897
    Xcode: 11.3/11C29 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native-tvos:  0.61.5-0
  npmGlobalPackages:
    react-native-cli: 2.0.1

Packages:
  "dependencies": {
    "@react-native-community/async-storage": "^1.8.1",
    "lodash": "^4.17.15",
    "react": "16.9.0",
    "react-native"<EMAIL_ADDRESS>    "react-redux": "^7.2.0",
    "redux": "^4.0.5",
    "redux-persist": "^6.0.0",
    "redux-thunk": "^2.3.0"
  },
  "devDependencies": {
    "@babel/core": "7.8.7",
    "@babel/runtime": "7.8.7",
    "@react-native-community/eslint-config": "0.0.5",
    "babel-jest": "24.9.0",
    "eslint": "6.8.0",
    "jest": "24.9.0",
    "metro-react-native-babel-preset": "0.56.4",
    "react-test-renderer": "16.9.0"
  },

Steps to Reproduce
Build and deploy any app to Apple TV and Fire TV Stick.
Expected Behavior
Both devices, when running at the same resolution (1080p @ 60Hz) should display the same.
Actual Behavior
On the Apple TV, everything looks perfect, but on the Fire TV Stick it looks like everything is super zoomed in and squished.
Apple TV:

Android TV / Fire TV:

The issue is that because of the pixel density difference, you will need to pivot your font sizes and heights/widths between the two platforms.
Probably the easiest way to fix this is to define a scale constant in a component that all parts of your app can refer to.  This is also needed when writing an app that has to work on both iOS and tvOS, where you need much bigger fonts for TV.
Try something like
import { Platform } from 'react-native';

const scale = Platform.OS === 'ios' ? 2.0 : 1.0;

export default scale;

and multiply all your heights, widths, fontSizes, etc., by the scale factor.

Related discussions:
How do I handle scaling issues in a React Native app between tvOS and Android TV?


Sync + Send on TokenGenerator, scope for metadata

Explicitly set Sync and Send on TokenGenerator so that it can be used in tokio tasks.
Pass scope in GoogleMetadataCredentials and expose it in metadata factory.

Hi! Thanks
Could you fix the problems which blocks the pipeline ?
How about adding a unit test ?

Hi! Thanks

Hi Clément, thanks for looking into this. I realize I provided a bit of a terse PR, let me know if you need any more details.

Could you fix the problems which blocks the pipeline ?

I have fixed the linting issues. I am not sure how to fix the test errors because they seem dependent on how the CI pipeline is setup.

How about adding a unit test ?

I don't think it would make sense to add a unit test for the addition of the Sync + Send trait markers to Token.
With regards to the changes to GoogleMetadataServerCredentials the change just provides the ability to specify a scope when requesting a token. A unit test for that behaviour would imply restructuring the code quite significantly. A way to do that would be to provide a mock implementation of Client that returns a canned result, but it doesn't seem that this is a pattern that you have adopted throughout the library and I'm not sure it's worth to go down that road.

integrated into : https://github.com/cboudereau/gcs-rsync/pull/23
Thank you @gbossh and sorry for not integrating the PR as is. It seems I have to double check the workflow contributions first to properly integrates external contributions first to be sure that it is safe. This is the next topic but I'll do not forgot to mention you in the changelog 👍


[Bug]: The minute value of polybar's date module is stuck at "07"

Checklist

[X] I have read the appropriate section in the contributing guidelines
[X] I believe this issue is a problem with polybar itself and not a misconfiguration on my part
[X] I have searched for other open and closed issues that may have already reported this problem
[X] I have checked the known issues page for this problem.
[X] I have followed the debugging guide to narrow down the problem to a minimal config.

Expected behavior
I expect that polybar's time should match the current system time.
Actual behavior
Both the hour and period of the time are correct, but the minute value remains stuck at 07
Window Manager and Version
i3-gaps 4.20.1-2
Linux Distribution
5.18.11-arch1-1
Polybar version
polybar 3.6.3

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /usr/bin/c++
Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/polybar/src=/usr/src/debug -flto=auto -O3 -DNDEBUG -Wall -Wextra -Wpedantic -Wsuggest-override
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -Wall -Wextra -Wpedantic -Wsuggest-override  -Wall -Wextra -Wpedantic -Wsuggest-override

Additional Context / Screenshots
I have checked both timedatectl and hwclock --show, and both display the correct values in local time. My time zone is set, and I determined that it was correct using ls -lAh /etc/localtime. Looking at the date module source, I checked that the value of std::time aligned with the actual time (it does). Here is the program I used to check it (taken from cppreference.com):
/* strftime example */
#include <stdio.h>      /* puts */
#include <time.h>       /* time_t, struct tm, time, localtime, strftime */

int main ()
{
  time_t rawtime;
  struct tm * timeinfo;
  char buffer [80];

  time (&rawtime);
  timeinfo = localtime (&rawtime);

  strftime (buffer,80,"Now it's %I:%M%p.",timeinfo);
  puts (buffer);

  return 0;
}

I also removed polybar completely and reinstalled it, to no avail.

The example bar (/etc/polybar/config.ini) works just fine.

%m is for the month, %M is for minutes.


bioregistry.io is down on 2021-11-18

Currently getting ERR_EMPTY_RESPONSE when I visit https://bioregistry.io/ as of 2021-11-18T15:17:00Z

Hi @dhimmel sorry I was ill yesterday. Right now https://bioregistry.io/ looks good, but we will look into it and see if something funny happened

the server must have decided to get ill in solidarity with you! Feel free to close this if there's no way to figure out what happened.

Big mood. Hope the downtime didn't cause too much of a disruption :)


Section "Software RAID" should include steps for LVM

The section "Using Software RAID to achieve higher I/Ops" should also link to the article:
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/configure-lvm
As it provides steps for Stripped LVM

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

ID: f7792d5a-de76-c48a-0c8d-46b3e918a503
Version Independent ID: 23b37b12-4a16-d108-2705-2d96ceb484c8
Content: Optimize your Linux VM on Azure
Content Source: articles/virtual-machines/linux/optimization.md
Service: virtual-machines-linux
Sub-service: disks
GitHub Login: @RicksterCDN
Microsoft Alias: rclaus

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

#please-close


Resolving binary path plugins fails on Windows

Resolving binaryPathPlugins fails on Windows, because the environment variables are case insensitive on this platform, i.e. both "Path" and "PATH" point to the same value.
However, when loading all the environment variables via System.getenv(), the generated map has case sensitive keys, which for Windows 10 for example would mean "Path" instead of "PATH". Luckily, the method System.getenv("PATH") takes care of such situations.
For that reason, I would propose to modify the constructor of HostSystem to pass an explicit Map of the required environment variables.

Ah interesting! Good spot.
I wonder if we could alternatively change the overloaded constructor to take in Function<String, String> and pass in System::getenv directly which would handle case sensitivity based on the platform.
What do you think?

I agree with your suggestion. Avoiding passing in hardcoded keys is a more elegant solution. Thank you!

@virgilsky I have just attempted to release it but Sonatype Nexus has been spuriously 401 and 500ing me all evening and is now just not loading at all on my side; going to wait until the morning and give it another go. Hope that is all okay.

@ascopes That is perfectly fine for me! Thank you!

2.2.2 is on Maven Central. Thanks!


Syntax to give actions new names

Personnel

[x] Owner: @vgurevich
[x] Supporters: @mbudiu-vmw

Design

[x] Document: https://github.com/p4lang/p4c/issues/2501

Implementation

[ ] p4-spec:
[ ] p4c:

Process

[x] LDWG discussed: https://docs.google.com/document/d/1XSgdXeG1UuF1FM_XAqxDrHeN4dHZWBnJPKVS6SnGNwM/edit#heading=h.lggdh8yt82ei, September 2020 meeting
[ ] LDWG approved:
[ ] Merged into p4-spec:
[ ] Merged into p4c:

We agreed that @vgurevich will create 2 PRs against the P4-16 spec.

In the interest of tidying up the set of active issues on the P4 specification repository, I'm marking this as "stalled" and closing it. Of course, we can always re-open it in the future if there is interest in resurrecting it.


[1.21] Stuck on "Getting image..." when trying to preview

We can create image maps as normal when doing /image2map create, but when we do /image2map preview, we see "Getting image...", and players aren't sent to the area where they can edit the image. This means that we can't resize our images.

any updates on this?

Nope, unfortunately still an issue for me.
Something interesting I found out: after turning off and restarting the server, doing "/image2map preview" works once, sending you to the area where you can edit the image. However, once you're there, you can't resize it. And after you exit, doing "/image2map preview" just shows "Getting image..." and nothing happens.


Bump identity framework version to 5.20.405

Related PR
https://github.com/wso2/carbon-identity-framework/pull/4043
Related issue
https://github.com/wso2/product-is/issues/12224

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/2394468705

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/2394468705
Status: success


docs(install_faq): document dnsmasq fix for kubeadm

The solution to #1455 is to configure dnsmasq on each of your nodes.
This adds brief documentation on how to do so.
Closes #1455

This change is

neato


Update to support laravel-backup ^6.0

Hi,
I have updated the source to support the latest laravel-backup (6.0). #12

Argument 1 passed to Spatie\Backup\Tasks\Monitor\BackupDestinationStatusFactory::createForMonitorConfig() must be of the type array, null given, called in C:\Users\DELL\Documents\GitHub\laravel-admin\vendor\laravel-admin-ext\backup\src\Backup.php on line 15


Removed Preview-oriented language in Time Series Insights Overview

Removed "In preview" and other references to preview since this is going to GA. Also fixed a grammar problem for line 40.

@kfile : Thanks for your contribution to the Azure documentation! The author, @op-ravi, has been notified to review your proposed change.


Update the tests for Sphinx 8.1

Fixes #199.

Which dependency has added the new class? As it's not functional for our package, it would be best to ignore this in our tests rather than add it to them - see the section above your change that does this for pygments

It is not a new dependency. It is caused by sphinx-doc/sphinx@eb6ff0a25861dce03fb064b144423c220183565a — on the contrary, the tests now use the built-in basic theme instead of alabaster which is a separate package.
Last time you told me that “it would be best for the tests to reflect the latest sphinx version”, so this is what I did here. If you prefer to remove this block like done for Pygments — let me know, I will redo.


How to properly enter geonames/wikidata uris?

When creating a place where would the URIs be entered? Maybe it's a bug that when selecting Label-Type the labels specifically for names show up?

add a form to the create/edit views to allow for adding URIs to entities


Monomer lib 2 monomers changed between versions

The monomers used in the demo HELM webeditor at http://webeditor.openhelm.org/hwe/examples/App.htm are correct:

C terminal groups like acyl are correctly defined with R2 groups

however the later webeditor versions at
http://webeditor.openhelm.org:8000/hwe/examples/App.htm
and
http://<IP_ADDRESS>/HELM2MonomerService/hwe/examples/App.htm
have changed the C terminal groups into N terminal groups by replacing the R2 connection point with R1.

So monomers like acyl now join peptide polymers in the wrong position.

Monomer list is now updated. Close.


Fix to properly clean clients created in mass sso

Description
At the moment when running OCM_ENV=integration make test/integration KFM creates clients in mas-sso which dont properly get cleaned up.
Jira: https://issues.redhat.com/browse/MGDSTRM-7861
Verification Steps

Launch local instance of mas-sso.By running the commands  1. make sso/setup 2.make sso/config
Navigate to localhost:8081.
Check both rhoas realm and rhoas-kafka-sre realm.
Run OCM_ENV=integration make test/integration .
You should see the clients being created during the test after refresh.
After test refresh the page and they should be gone.

Checklist (Definition of Done)

[x] All acceptance criteria specified in JIRA have been completed
[x] Unit and integration tests added that prove the fix is effective or the feature works (tested against emulated and non-emulated OCM environment)
[ ] Documentation added for the feature
[x] CI and all relevant tests are passing
[ ] Code Review completed
[ ] Verified independently by reviewer
[ ] Required metrics/dashboards/alerts have been added (or PR created).
[ ] Required Standard Operating Procedure (SOP) is added.
[ ] JIRA has created for changes required on the client side

I am able to verify the clean of clients in the keycloak container

Ping @valdar @dhirajsb @lburgazzoli this PR is modifying the connector part to add clientId cleanup. We love to get someone from that side review this so that you are aware of the changes. Can anyone have a look at this? Thanks

Just a minor, optional, comment
Excellent work!

Thanks @ziccardi I made those changes and thanks for the comments :)


Disable position tracking?

Is there an easy way to disable position tracking?
I need just the rotation. The location needs to be fixed.
I'm having trouble trying to build the plugin from source(getting an assert error during runtime).
So, is there any way to call EnablePositionalTracking(false); from the prebuilt plugin that comes with unreal 4.13?
I see in code that there is a HEADTRACKING DISABLE exec command or something but it doesn't seem to work from the ingame console.. Am I doing something wrong?? How do I use this??
If there isn't an easy way I can post the assert error and try to fix that, but I'd rather just use the prebuilt plugin if it's possible. Any ideas??
Don't get me wrong I love the fact that OSVR has position tracking but I have uses with and without it and would like to know how to enable/disable it. (especially at runtime)

Well, I attempted to fix the assertion error I was getting to no avail. I upgraded my video card drivers as well as my osvr runtime and SDKs from v0.6-1337-g9292631 to v0.6-1339-g3139e8c but I'm still getting the same error. This is happening in both extended and direct modes. It is happening with both the supplied OSVRUnreal project files as well as my own project. At one point when I first recieved my HDK2 everything was working, not sure what changed.. When I run the project in VRPreview it pops up a window to display the game but crashes before the window displays anything. Any ideas??

Assertion failed: IsDisplayOpen() [File:c:\users\tokamakzero\desktop\unrealosvrtmp\osvr-unreal-master\osvrunreal\plugins\osvr\source\osvr\private\OSVRCustomPresent.h] [Line: 234]

UE4Editor_Core!FDebug::AssertFailed() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\misc\outputdevice.cpp:440]
UE4Editor_OSVR!FOSVRCustomPresent::GetHeadPoseFromCachedRenderInfoCollectionImpl() [c:\users\tokamakzero\desktop\unrealosvrtmp\osvr-unreal-master\osvrunreal\plugins\osvr\source\osvr\private\osvrcustompresent.h:235]
UE4Editor_OSVR!FOSVRCustomPresent::GetHeadPoseFromCachedRenderInfoCollection() [c:\users\tokamakzero\desktop\unrealosvrtmp\osvr-unreal-master\osvrunreal\plugins\osvr\source\osvr\private\osvrcustompresent.h:142]
UE4Editor_OSVR!FOSVRHMD::UpdateHeadPose() [c:\users\tokamakzero\desktop\unrealosvrtmp\osvr-unreal-master\osvrunreal\plugins\osvr\source\osvr\private\osvrhmd.cpp:221]
UE4Editor_OSVR!FOSVRHMD::PreRenderViewFamily_RenderThread() [c:\users\tokamakzero\desktop\unrealosvrtmp\osvr-unreal-master\osvrunreal\plugins\osvr\source\osvr\private\osvrrender.cpp:121]
UE4Editor_Renderer!RenderViewFamily_RenderThread() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\renderer\private\scenerendering.cpp:1905]
UE4Editor_Renderer!TGraphTask<FRendererModule::BeginRenderingViewFamily'::25'::EURCMacro_FDrawSceneCommand>::ExecuteTask() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\core\public\async\taskgraphinterfaces.h:999]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:932]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\async\taskgraph.cpp:679]
UE4Editor_RenderCore!RenderingThreadMain() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:319]
UE4Editor_RenderCore!FRenderingThread::Run() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\rendercore\private\renderingthread.cpp:440]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\build++ue4+release-4.12+compile\sync\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:74]

relevant unreal log file:

[2016.10.09-17.24.14:029][529]FOSVRCustomPresentLog:Warning: osvrRenderManagerOpenDisplayD3D11 call failed, or the result status was OSVR_OPEN_STATUS_FAILURE. Potential causes could be that the display is already open in direct mode with another app, or the display does not support direct mode
[2016.10.09-17.24.14:029][529]FOSVRCustomPresentLog:Warning: FDirect3D11CustomPresent::CalculateRenderTargetSizeImpl: expecting 2 render infos from osvrRenderManagerGetNumRenderInfoInCollection. Got 0.
[2016.10.09-17.24.14:036][529]FOSVRCustomPresentLog:Warning: osvrRenderManagerOpenDisplayD3D11 call failed, or the result status was OSVR_OPEN_STATUS_FAILURE. Potential causes could be that the display is already open in direct mode with another app, or the display does not support direct mode
[2016.10.09-17.24.14:071][529]LogWorld: Game class is 'GameMode'
[2016.10.09-17.24.14:100][529]LogWorld: Bringing World /Game/Maps/UEDPIE_0_basic.basic up for play (max tick rate 0) at 2016.10.09-13.24.14
[2016.10.09-17.24.14:112][529]LogWorld: Bringing up level for play took: 0.014483
[2016.10.09-17.24.14:290][529]PIE: Info Play in editor start time for /Game/Maps/UEDPIE_0_basic 2.433
[2016.10.09-17.24.14:290][529]LogBlueprintUserMessages: Late PlayInEditor Detection: Level '/Game/Maps/basic.basic:PersistentLevel' has LevelScriptBlueprint '/Game/Maps/basic.basic:PersistentLevel.basic' with GeneratedClass '/Game/Maps/basic.basic_C' with ClassGeneratedBy '/Game/Maps/basic.basic:PersistentLevel.basic'
[2016.10.09-17.24.14:302][529]OSVRHMDLog:Warning: CheckUpdateFrameNumber: last update from a previous frame
[2016.10.09-17.24.14:325][529]FOSVRCustomPresentLog:Warning: osvrRenderManagerOpenDisplayD3D11 call failed, or the result status was OSVR_OPEN_STATUS_FAILURE. Potential causes could be that the display is already open in direct mode with another app, or the display does not support direct mode
[2016.10.09-17.24.14:325][529]FOSVRCustomPresentLog:Warning: FDirect3D11CustomPresent::CalculateRenderTargetSizeImpl: expecting 2 render infos from osvrRenderManagerGetNumRenderInfoInCollection. Got 0.
[2016.10.09-17.24.14:332][529]FOSVRCustomPresentLog:Warning: osvrRenderManagerOpenDisplayD3D11 call failed, or the result status was OSVR_OPEN_STATUS_FAILURE. Potential causes could be that the display is already open in direct mode with another app, or the display does not support direct mode
[2016.10.09-17.24.14:374][530]LogWindows: Windows GetLastError: The operation completed successfully. (0)

Turns out all the assertion errors  were do to my setup not supporting direct mode. I changed the server configs and it seems to be working ok for now.
There does seem to be a big memory leak or somthing happening but I do have the functionality I wanted.
I'm gonna go leak hunting now.. :P


Switches to pekko dependencies

most scala 2.12 pekko-connectors jars are now publishing - see https://repository.apache.org/content/groups/snapshots/org/apache/pekko/
should be enough to get the scala 2.12 build of this module working (if you choose a newer snapshot version for pekko-connectors)

https://github.com/apache/incubator-pekko-connectors/actions/runs/4447589558 passed. It should be possible to get a new connectors snapshot version that supports Scala 2.12 and 2.13

the doc build issue in latest run (about being unable to find pekko classes) would probably be fixed if you change this in build.sbt.
apidocRootPackage := "akka"

to
apidocRootPackage := "org.apache.pekko"

@pjfanning this would be ready to review

@mdedetrich could you re-review?


Bug: cannot remove container configuration

Once an app is created on Marathon with container configuration, it is not possible to remove container configuration without recreating the app.

GUI JSON mode: removing container key or setting container: null does not remove container configuration
GUI leaving all container fields empty results error /container: must not be empty
API: PATCH and PUT without container key or sending container: null does not remove container configuration
API: PATCH and PUT sending with empty container values gives error that docker config is missing

Unfortunately, there was never an implementation to unset a value for PUT/PATCH. You'll need to get the whole JSON document, edit it, and then re-POST it.
Have a look at my CLI project in mcli. https://github.com/timcharper/mcli. Requires bash 4.x. The Marathon cli script supports "edit", marathon-cli app edit .... Should help you do what you want.


Update makefile to ask for cmake 3.4.3

Current instructions (such as https://github.com/ATLFlight/ATLFlightDocs/blob/master/GettingStarted.md ) seem to recommend cmake 3.4.3 so change the makefile warning to reflect that.

Thanks!


PDTM installed in WSL is not working

pdtm version:

Current Behavior:
pdtm in bash says command not found
Expected Behavior:
should show options
Steps To Reproduce:

Anything else:

You can try to add Go path to bashrc,  eg: export PATH=$PATH:$GOPATH/bin
but most of the time the tool will auto generate the path,
eg: export PATH=$PATH:/home/kali/.pdtm/go/bin


[WIP] auto-generated documentation

Still a work in progress, but I might as well put it out here.
Todo:

[ ] Convert to Markdown syntax
[ ] Settle on a good format that also handles missing fields
[ ] Add these docs to the main module's generated functions as well

It coud be confusing that the input parameters are presented as C types. We could decide to replace it by the Julia conversion, but often these are unhelpful arg1, arg2 as in:
"""
    GDALTermProgress(CPL_UNUSED double dfComplete, CPL_UNUSED const char *pszMessage, void *pProgressArg)

Simple progress report to terminal.

Returns int
"""
function GDALTermProgress(arg1::Cdouble,arg2::Ptr{UInt8},arg3::Ptr{Void})
    ccall((:GDALTermProgress,libgdal),Cint,(Cdouble,Ptr{UInt8},Ptr{Void}),arg1,arg2,arg3)
end

Part of #5

this is quite a christmas gift (: :christmas_tree: :tada:

And with this, Santa learned how to reproject his map to the familiar polar projection, and Christmas was saved.

It coud be confusing that the input parameters are presented as C types.

Given that this is already fairly low-level (and unexported), I'm in favour of just keeping the raw C description for the C/ folder. People who use functions from there are expected to be familiar with the C API. For functions where we automatically check null, that has to be mentioned in the docstring as well.

I just pushed an updated version. The generated docstrings don't contain all information like on GDAL.org, but have all the basics more or less the way you suggested.
If you want to play around with it yourself, I added some documentation to gen/README.md. If you want to see the XML with all the documentation, I uploaded it here. It's rather large to commit it as XML to the repo.

For functions where we automatically check null, that has to be mentioned in the docstring as well.

Wouldn't it be better to tell something about GDAL.jl's error handling in one place? I'm no longer sure if we should keep the checknull function around anyway, because we now have the custom error handling that throws on any call from GDAL, also where GDAL would normally continue. This means however that opening non existent files will throw, but getting nonexistent drivers will only return a NULL:
https://github.com/visr/GDAL.jl/blob/f70a9aeb204e01a459395dc3b6339b2051490e07/test/runtests.jl#L12-L15

I'm no longer sure if we should keep the checknull function around anyway, because we now have the custom error handling that throws on any call from GDAL, also where GDAL would normally continue. This means however that opening non existent files will throw, but getting nonexistent drivers will only return a NULL

Oh okay I thought the final decision from https://github.com/visr/GDAL.jl/pull/3 was to keep checknull, since it wasn't removed before merging. I'm in favour of removing it from the base C functions that we provide too. This should also be dealt with (or documented) at some point; you don't have to worry about it in this PR though.

LGTM. Closes #5


Failed parsing HTTP/2 calling .net server from python client

What version of gRPC and what language are you using?
Python
grpcio==1.50.0
grpcio-tools==1.50.0
protobuf==4.21.9
.NET 7
GRPC.AspNetCore 2.49.0
Grpc.Net.Client 2.49.0
Grpc.Tools 2.50.0
Microsoft.AspNetCore.Grpc.JsonTranscoding 7.0.0
What operating system (Linux, Windows,...) and version?
Windows 11 22H2 22621.674
What runtime / compiler are you using (e.g. python version or version of gcc)
Python 3.10.1-3.11.0 Client
.NET 7 Server and Client
What did you do?
{
    kestrelOptions.ListenAnyIP(5000, listenOptions =>
    {
        listenOptions.Protocols = Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols.Http1;
    });
    kestrelOptions.ListenAnyIP(5001, listenOptions =>
    {
        listenOptions.Protocols = Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols.Http2;
    });
    kestrelOptions.ListenAnyIP(5002, listenOptions =>
    {
        listenOptions.Protocols = Microsoft.AspNetCore.Server.Kestrel.Core.HttpProtocols.Http1AndHttp2;
    });
});

I am running a .net server which uses GrpcJsonTranscoding. From the .net client it is possible to call gRPC functions on port 5001 and 5002. From the python client it is only possible to call gRPC functions on port 5001. The call on port 5002 fails with following error:
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.UNAVAILABLE
	details = "failed to connect to all addresses; last error: UNAVAILABLE: ipv4:<IP_ADDRESS>:5002: Failed parsing HTTP/2"
	debug_error_string = "UNKNOWN:failed to connect to all addresses; last error: UNAVAILABLE: ipv4:<IP_ADDRESS>:5002: Failed parsing HTTP/2 {created_time:"2022-11-09T08:52:29.4119764+00:00", grpc_status:14}"
>

What did you expect to see?
It should be possible to call gRPC functions on a server which uses multiple HTTP protocol versions.
What did you see instead?
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
See TROUBLESHOOTING.md for how to diagnose problems better.
Anything else we should know about your project / environment?
python client code
import grpc

from greet_pb2 import HelloRequest
from greet_pb2_grpc import GreeterStub

channel = grpc.insecure_channel('localhost:5002')
stub = GreeterStub(channel)
response = stub.SayHello(HelloRequest(name='you'))
print(type(response))
print("Greeter client received: " + response.message)

.net client
var services = new ServiceCollection();
services
    .AddGrpcClient<Greeter.GreeterClient>(o =>
    {
        o.Address = new Uri("http://localhost:5001");
    });

IServiceProvider serviceProvider = services.BuildServiceProvider();

var client = serviceProvider.GetRequiredService<Greeter.GreeterClient>();

{
    var reply = await client.SayHelloAsync(
                    new HelloRequest { Name = Guid.NewGuid().ToString() });
    Console.WriteLine("Greeting: " + reply.Message);
}

Console.ReadLine();

trace.txt

I1109 11:03:22.821000000 29344 src/core/ext/filters/client_channel/subchannel.cc:910] subchannel 000002BB1C9803A0 {address=ipv4:<IP_ADDRESS>:5002, args={grpc.client_channel_factory=0x2bb1c5a10f0, grpc.default_authority=localhost:5002, grpc.internal.channel_credentials=0x2bb1c823bd0, grpc.internal.security_connector=0x2bb1e7194f0, grpc.internal.subchannel_pool=0x2bb1c851040, grpc.primary_user_agent=grpc-python/1.50.0, grpc.resource_quota=0x2bb1c59e600, grpc.server_uri=dns:///localhost:5002}}: connect failed (UNKNOWN:Failed parsing HTTP/2 {grpc_status:14, created_time:"2022-11-09T10:03:22.820903+00:00", children:[UNKNOWN:Expected SETTINGS frame as the first frame, got frame type 7 {created_time:"2022-11-09T10:03:22.8208946+00:00"}]}), backing off for 961 ms

This seems like it might be the underlying problem. @yashykt Can you please take a look?

@yashykt Ping

That's right. The HTTP2 parser expects a SETTINGS frame to be the first frame received, but we are receiving a Type 7 frame which is a GOAWAY.
(I'm just commenting on the question in https://github.com/grpc/grpc/issues/31589#issuecomment-1331393956. It's not clear to me what the end issue here is. To me, it looks like the server just rejected the client connection.)

@KlemensE Are you able to provide a packet capture?

I tried to reproduce this issue and could observe the same behaviour. Attached you will find the capture files of the tests I conducted. The capture file port_5001 (http2) contains the capturing of the successful test, capture file port_5002 (Http1AndHttp2) contains the recording of the faulty case.
capture-31589.zip

Was this ever resolved? I am also experiencing the same issue on CentOS

CC @jtattermusch for .NET expertise.
Still hoping to get a packet capture from anyone who's affected by this.

@gnossen My issue was that I was using insecure_channel() in my client but I hadn't set the endpoint defaults in the .NET server to "Http2". See the "Protocol Negotiation" section of the following article: https://learn.microsoft.com/en-us/aspnet/core/grpc/aspnetcore?view=aspnetcore-7.0&tabs=visual-studio
I guess if you are not using TLS then you need to specify that the endpoint is Http2 only otherwise all calls to the unsecured endpoint will default to Http 1.0 and the gRPC request fails.

@gnossen is my packet capture not sufficient? Do you need something else?

Sorry for the delay @zanseb. Based on your packet capture, @yashykt 's analysis is correct. The client received a GOAWAY. I think @ghoodPC 's explanation is likely correct. Please let us know if this does not resolve your issue.


kinesis shipper FORMAT default value is wrong

The default value for FORMAT is 'text'. This results in errors parsing the events.
The default value should be 'json'.

@nathanielassis What exactly is the error you see?

Closed due to inactivity


Low GPU utilization

Hi,
We are trying to recreate the results on the chairs dataset. Everything works OK, except the GPU utilization is very low (<5%) and the CPU is non stop on 100%. Is this correct? Otherwise with these specs, we are looking for one month of training.
I've included short log from beginning of training process below.
tf-version: 1.12
os: Windows 10,
cpu: i7-7700 CPU @ 3.60 GHz
gpu:  GeForce GTX 1080
(3dspacegen) D:\3dspacegen\vae_gan\3D-Reconstruction-Image>python 20-VAE-3D-IWGAN.py -n chair -d data\\voxels\\chair -i data\\overlays\\chair
Using TensorFlow backend.
[2019-03-29 14:12:51,790] [tl_logging] [WARNING]: WARNING: Function: `tensorlayer.activation.leaky_relu` (in file: D:\miniconda\envs\3dspacegen\lib\site-packages\tensorlayer\activation.py) is deprecated and will be removed after 2018-09-30.
Instructions for updating: This API is deprecated. Please use as `tf.nn.leaky_relu`

[2019-03-29 14:12:52,118] [tl_logging] [WARNING]: WARNING: Function: `tensorlayer.layers.utils.set_name_reuse` (in file: D:\miniconda\envs\3dspacegen\lib\site-packages\tensorlayer\layers\utils.py) is deprecated and will be removed after 2018-06-30.
Instructions for updating: TensorLayer relies on TensorFlow to check name reusing

[2019-03-29 14:12:52,118] [tl_logging] [WARNING]: WARNING: this method is DEPRECATED and has no effect, please remove it from your code.
[2019-03-29 14:12:52,352] [tl_logging] [WARNING]: WARNING: this method is DEPRECATED and has no effect, please remove it from your code.
[2019-03-29 14:12:52,539] [tl_logging] [WARNING]: WARNING: this method is DEPRECATED and has no effect, please remove it from your code.
[2019-03-29 14:12:52,711] [tl_logging] [WARNING]: WARNING: this method is DEPRECATED and has no effect, please remove it from your code.
[2019-03-29 14:12:52,852] [tl_logging] [WARNING]: WARNING: this method is DEPRECATED and has no effect, please remove it from your code.
[2019-03-29 14:12:53,820] [tl_logging] [WARNING]: WARNING: this method is DEPRECATED and has no effect, please remove it from your code.
2019-03-29 14:12:55.576779: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
2019-03-29 14:12:55.717923: I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-03-29 14:12:55.721467: I tensorflow/core/common_runtime/gpu/gpu_device.cc:988]
2019-03-29 14:12:55.821546: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1432] Found device 0 with properties:
name: GeForce GTX 1080 major: 6 minor: 1 memoryClockRate(GHz): 1.7335
pciBusID: 0000:01:00.0
totalMemory: 8.00GiB freeMemory: 6.60GiB
2019-03-29 14:12:55.827285: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1511] Adding visible gpu devices: 0
2019-03-29 14:12:56.189054: I tensorflow/core/common_runtime/gpu/gpu_device.cc:982] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-03-29 14:12:56.193933: I tensorflow/core/common_runtime/gpu/gpu_device.cc:988]      0
2019-03-29 14:12:56.196421: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1001] 0:   N
2019-03-29 14:12:56.199839: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1115] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 8175 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080, pci bus id: 0000:01:00.0, compute capability: 6.1)
Number of train images: 14482
Epoch: [ 0/1500] [   0/  56] time: 70.5338, d_loss: 9.9828, g_loss: 30.3922, v_loss: 0.9569, r_loss: 0.3035
Epoch: [ 0/1500] [   1/  56] time: 24.3561, d_loss: 9.9533, g_loss: 30.3922, v_loss: 0.8012, r_loss: 0.2749

Never mind, I've managed to resolve the issue. Set device count GPU to 1, not 0.
config = tf.ConfigProto(device_count = {'GPU': 1})

cool! glad everything is working!


[Function Expose] Table 6651 Return Shipment Line: GetPurchCrMemoLines

Hello.
We need function GetPurchCrMemoLines in Table 6651 "Return Shipment Line" set as GLOBAL.
We are checking the lines for our own handling of specific item charges.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


chore(deps): log4j 2.17.0

log4j 2.16.0 is vulnerable to LOG4J2-3230. This MR updates the version to 2.17.0.

Hi @adamcohen2,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:
https://www.lightbend.com/contribute/cla

2.17.0 doesn't seem to exist yet.

Please note I've just created https://github.com/sbt/sbt/pull/6755 (and I have CLA already provided).


RP-PICO UART adding set_baudrate

The following PR attepts to bring fuctionality to allow change od UART baudrate changes during runtime.
Changes where created under @Dirbaio supervision and discussed on issue:
https://github.com/embassy-rs/embassy/issues/1241#issuecomment-1445500175

Thanks! Could you try the approach in the last comment?

It seems you missed something. set_baudrate does not effectively change baudrate at runtime.
It needs an additional register write to latch in the divisors. (See official SDK)


fixes multiple loginform default error (redux)

this is based on the issue raised here:
https://github.com/spark-solutions/spark-starter-kit/issues/57
Module build failed: SyntaxError: /../client/js/components/LoginForm.js: Only one default export allowed per module.

Thanks @chrisdobler  👍


When searching by provider show name in page title

Context
https://trello.com/c/7nWnFyMq
Changes proposed in this pull request
Display provider name for header level 1 searching for subjects by provider
Guidance to review
Search by location or across england

Search by provider

Can we update <title> too?


Insert Image

Describe the issue as detailed as possible, in a way I can reproduce it easily.

Issue on insert image https://github.julianpoemp.com/ngx-jodit/3.x/
Please answer additionally:

Is this issue related to ngx-jodit or ngx-jodit-pro? - ngx-jodit
What version of the package - 3.1.2
What Angular version are you using - 16

@minhnhat2807 thank you for reporting this issue. I was able to reproduce this error.
The problem here is a missing plugin called "resizer". So import it like the other plugins to your app:
import 'jodit/esm/plugins/resizer/resizer.js';

How to import plugins?
Since Jodit 4 all buttons are plugins themself. Some of theme are loaded by default other must be imported manually. It's not clear what plugin depends on other plugins so we have to do "try and error" and find the missing plugin using the error message.
I'll update the demo pages soon.
If the issue is solved, you can close it.

thanks @julianpoemp the problem with image was resolved but I have concerns about another issue, if I used the custom config some icon cannot display and seem this config
"uploader": {     "insertImageAsBase64URI": true   }

`options: JoditConfig = {
toolbarAdaptive: false,
disablePlugins: 'video,wrap-nodes,xpath,speech-recognize,print,preview,class-span,ai-assistant',
buttons:
  'bold,italic,underline,|,strikethrough,eraser,ul,ol,font,fontsize,paragraph,lineHeight,superscript,subscript,image,spellcheck,table,link,indent,outdent,left,brush,undo,redo,find'

}`

I'm currently not on a computer so I can't check it out.
If some buttons don't show an icon it indicates a missing plugin. Go to "node_models/jodit/esm/plugins" and search for a folder named like the missing plugin. Import the js file like I recommended for the resizer plugin before.

Thanks a lot, about the
"uploader": { "insertImageAsBase64URI": true } seem we need to put every proper for that object

I'm closing this issue because it's solved. Please consider giving this repository a star :)


v4.3.0 causes "main" entry error

Error received when running or building project:
Cannot find module '... /node_modules/fraction.js/fraction'. Please verify that the package.json has a valid "main" entry

should be fixed now, sorry. Just released the ES module integration and I forgot something. Thanks for the quick response on that!

Thanks for the quick fix!


[feature request] adding prefix to coreir/commonlib/... verilog modules

The desired use case is generating a design where all the relevant verilog modules have a specific prefix (this is used to distinguish the design components from others when integrated in a larger design with blocks from multiple sources).  Right now we can use the namespace feature to insert a prefix before user defined modules, but we can't insert this prefix for coreir libraries (e.g. primitives, commonlib).  Mechanically this should be easy enough to support in the backend, but how can we expose this as an option to the user? One simple option might be to have some metadata field (e.g. verilog prefix), then at the magma level we could insert these for all the non user namespace modules referenced.

A seemingly simple option: provide some option for verilog code generation for a prefix that goes before all modules (e.g. coreir --verilog_module_name_prefix=foo).  Then, simply do a pass on all the verilogAST modules and insert the prefix.  The main benefit here is that this should work for code that includes multiple namespaces (e.g. we may want to have separate namespaces to handle shared names, but at the end of the day we want everything to have a shared prefix for the above use case).  This feels simpler than having to do a pass at the magma level to set output_name for all modules.   Also, I'm not sure that would work for commonlib muxes for example, since in magma we reference them as instances of generators, to the actual generated module does not have a handle until rungenerators is invoked later on (so we'd need to do this logic at the coreir level not the magma level)

A code-generation/verilogAST specific pass seems fine to me. I was concerned if it was a CoreIR pass/abstraction, it would be clunky but doing that in verilogAST seems reasonable.

The verilogAST pass seems reasonable to me.


[Question] Initialize database data when create table

I just decided to start using Moor for my project, right now I'm migrating from sqflite.
I create the tables within dart code, but I couldn't found a way to insert initial data to a table just after its creation (the first time the app is opened and all the database created).
What is the best way to achieve that?
Many thanks.

A good place to insert initial data is the beforeOpen callback that you can use in a migration. The link contains an example to insert some values after the database was created. Is that what you were looking for?

Yes, thank you!


bump golang 1.9.4

Hey @itscaro what version of Go are Docker building with right now?

No response after a whole month so I'll answer it myself. Docker are building with 1.10 - so I think we can bump this minor version without issues. Thanks for the PR.. next time please give some context.
Having "No description provided."  isn't good enough for regular contributors.


Add local server

To test some scenarios (OOPIF, redirects) and in the same time to keep the tests local, we need to have a possibility to run local server supporting different DNS aliases and SSL connections.
Requirements:

[x] Custom response, including custom HTTP response codes
- [ ] (optional) DNS aliases (can be done via Chrome CLI args)
[ ] SSL connections

WPT can be used as a reference.
Tracking

[x] Add local server support
[ ] Add a test for closing browsingContext after navigating to a faulty certificate page
[x] Test for 200 page
[x] Test for 301 page
[x] Test for 401 page
[x] Test for hanging response

Example where is can be needed: #513

Some ideas:

http.server from python: https://pythonbasics.org/webserver/ (via @OrKoN)
http-server from npm: https://www.npmjs.com/package/http-server (via @mathiasbynens)

DNS aliases is a feature of Chrome and we don't need it in the server.

I just stumbled upon https://pytest-httpserver.readthedocs.io/en/latest... @Maksim Sadym , I wonder if we could reuse most of that library for our purposes, instead of https://github.com/GoogleChromeLabs/chromium-bidi/pull/1359

pytest-httpserver is a python package which allows you to start a real HTTP server for your tests. The server can be configured programmatically to how to respond to requests.> This project aims to provide an easy to use API to start the server, configure the request handlers and then shut it down gracefully. All of these without touching a configuration file or dealing with daemons.

It also supports TLS.

SSL connections

This one can be marked as done (c.f. bad_ssl_url).

SSL connections

This one can be marked as done (c.f. bad_ssl_url).

Thanks!

Done


DAWN-393 & DAWN-394 - Remove obsolete dawn 2.x test cases

After discussed with Bart, we found out that table_abi_tests and slow_tests are obsolete and therefore they are not needed to be ported

All these changes are handled by #1639

Closing as handled by #1639.


Add New Papers !

Add New Papers !

@divyanshu-rawat  Hello, I want to work on this. But could you make it more clear, what I exactly have to do?

@divyanshu-rawat Can I add paper of my college?

@amisha2016 sorry but this portal is for LNMIIT students to get a reference to their old papers. I don't think it's appropriate to upload papers of another college.


Rebuild only table materialisations

Describe the feature
I have about 90 models, 3 or 4 of which are materialised as tables.
An hourly cronjob is rebuilding everything with dbt run. However, it's rebuilding a lot of things that don't rebuild. On a single thread, it takes a few minutes, and on multiple threads I've had some reliability issues.
In addition to the execution time (which consumes a worker on our CI server for the duration of the job) there is also the availability issue - views are deleted during this rebuild step. Anyone wanting to query them at this time would be blocked.
It would be nice if there was a command to just refreshing those models materialised as tables (and maybe incremental datasets too). Ideally this could be done without dropping the dependent views (eg by replacing the data not the schema). Otherwise it would need to rebuild any views dropped by cascade.
Describe alternatives you've considered

Run multiple threads to speed it up. Has reliability issues (which is tracked in a separate ticket)
Manually track which models need to be rebuilt and provide this as an explicit --models command. Because of the need to track dependent models this will be brittle, and risks models becoming unavailable after a refresh if one was missed.

Additional context
I was wondering if:

there's a good reason why this feature doesn't exist
this feature exists but I couldn't find its documentation

Who will this benefit?
people materialising a small subset of their models as tables
Are you interested in contributing this feature?
I don't write much python but could give it a go. I also have a colleague who knows more python that I might rope in. ;-) To get me started, it would be helpful to understand which subsystems i would be modifying to make such a change.

Having read #2806 I believe that this was the intended way of achieving this. But there's a bug.
That being the case, I'd flag that I looked but struggled to find documentation about this; I could provide a docs PR once I understand what the best practise is?

Hey @sminnee, thanks for the detailed writeup!

In addition to the execution time (which consumes a worker on our CI server for the duration of the job) there is also the availability issue - views are deleted during this rebuild step. Anyone wanting to query them at this time would be blocked.

Out of curiosity, are you running on Postgres or with bound views on Redshift? You should only experience significant view downtime if dbt needs to cascade-drop views that depend on tables it's trying to rebuild. In this scenario, the "rebuild tables only" strategy wouldn't work, since the views would be cascade-dropped and not recreated.
Otherwise, I think I've got good answers for you. The issue you linked is indeed a bug, but it's entirely limited to the interaction of tests + config.materialized:view. So these should work just fine for you, as long as you're running the latest version of dbt (v0.18):
dbt run -m config.materialized:table config.materialized:incremental
dbt run --exclude config.materialized:view

The relevant docs here are on selection methods, specifically the "config" method.
I'm going to close this issue, since I think you should be all set with the functionality currently available in dbt. I encourage you to comment here again if that's not quite what you're looking for.


Wrong count of emails

Firefox 59.0.2
Debian Buster
Sometimes it happen, sometimes not.
https://mail.protonmail.com/inbox

What steps will reproduce the problem?

Look for unread messages in folders

Click on the folder

See that the folder is sometimes empty

Click on refresh near the folder name (Does not fix the issue)

Ctrl-F5 (big refresh)

Still the same (1) near Spam, still no mail in spam.

What is the expected result?
If I see "Spam (1)" I expect one unread mail in my spam folder.
What happens instead?
No spam (True story).
Please provide any additional information below. Attach a screenshot if possible.

This is probably a server-side issue with caching. Can you provide me with an account name exhibiting this problem so I can look into it?

Hi @bartbutler thanks for looking at it, my account is<EMAIL_ADDRESS>

Got the issue again today: protonmail is telling me I'm having one unread message in my py folder, containing two conversation fully read:

Thanks @JulienPalard I'll take a look right now.

@JulienPalard are you still seeing it or did it resolve itself? I'm seeing zero from my end.

It resolved itself quickly, typically with a refresh of the page, or by clicking on already read threads, but it happen from times to times, I'm not posting a screenshot each time.

Understood.

Got the error right now while emptying my spam folder while counting the seconds between the mouse click and the value being updated, it took 30s for the number to disapear.

I've seen a similar issue on my side, at times when I read a message the folder unread count will take a little while to disappear.


Templates with .yml extension don't support Handlebars

Templates with .yml extension don't support Handlebars. This is inconsistent as stack configs with .yml extension do support Handebars.
It's possible to use a subset of Handlebars in templates so that the files are valid Yaml. If you do this then editors and linters work in a sensible way without manual configuration.
Takomo version 2.11.1

It was a deliberate decision to use .hbs file extensions to mark templates that should be processed with Handlebars. The idea was to prevent unwanted processing, and also to allow use of additional templating engines in future, each with their own file extensions.
I understand your point of view on this and will consider changing the logic with templating and file extensions. Anyway, it would be a breaking change and require a new major version release.

Now that I've thought this a bit more, I think that enabling Handlebars by default for all .yml and .json stack template files would be a good decision. I didn't come up any good reasons why not to do that. It doesn't really affect performance and shouldn't break any valid yaml or json template.
I'm planning to release a major version with some API changes, and this change could be included in that.
In the meantime, we could use .hbs.yml file extension to mark template files to be processed with Handlebars. That would be a backwards compatible solution and easily doable.

The hbs.yml extension would solve at least this issue without introducing any potentially confusing side effects.
Maybe later one could explicitly define the processor as part of the template definition in stack config. Maybe this could enable built-in or custom integration to AWS CDK or other similar options.

Let's enable Handlebars processing for all stack template files with .yml and .json file extensions. After this change, the.hbs file extension is no longer needed and will be marked as deprecated, and will be removed in the next major release after 3.0.0.

Included in release 3.0.0

Included in release 3.0.0


[Test] Reenable "failed to demangle" portion of associated_type_demangle_private.swift.

This test was disabled a while ago but the problem seems to have been fixed sometime since then.
rdar://51959305

@swift-ci please test and merge


Fix negative hex test

Patch, fix and re-enable I-RV_x0-01 test. Patch to record the resolution in our docs is also included.
Fixes #11968
Fixes #12170

Fixes: #12170

Did we conclude this was not an issue in the LLVM assembler? Seems like something we should ask upstream to fix, too, if so.

TLDR, neither is wrong, but the documentation for the assembler is more clearly documented and correctly implemented. We should upstream the patch to the compliance tests.
There's a conflict between the assembler and the compliance test. The assembler's documented behavior is to demand negative numbers be expressed by a minus sign and then ignore two's complement representation of hex literals and throw a weird error message. The compliance test conforms to the RiscV assembly guide that states integers are two's complement and things that are enabled by that should be expected to work. It does so only in the case of some arithmetic instructions that don't require a unique signed implementation, and not regarding proper expression of literals.
I was hoping to record the patch here and that it would get upstreamed at some point, (preferably without me learning about the process or timeline for doing so,) whether I can expect to get this patch approved in the meantime is a very real matter of preferences and best practices that I'll leave to the reviewers. I submitted it because I thought running a patched test and documenting the correct behavior was an improvement on skipping a test that's incompatible with our assembler.

This was tracked and fixed upstream https://github.com/riscv-non-isa/riscv-arch-test/issues/139

So I'll see if I can fix this by updating

the RiscV assembly guide that states integers are two's complement and things that are enabled by that should be expected to work.

I'm not being able to find that. Could you please provide a link? @drewmacrae

the RiscV assembly guide that states integers are two's complement and things that are enabled by that should be expected to work.

I'm not being able to find that. Could you please provide a link? @drewmacrae

Sorry, I recall it was WRT arithmetic not formatting of an immediate, and doesn't fully bear on the conversation, so I didn't cite and track the reference. I just mentioned it because it's the only thing I saw beyond the idea that the numbers are "hexadecimal" and I was trying to figure out whether to address efforts at fixing the toolchain or the tests and the documentation.
There's a discussion in the compliance test of why this occurs with 64 bit compilers that apparently interpret this as a positive value when a 32 bit compiler would read its intent correctly. Updating would keep our branch shorter and might bring in other fixes so that's my preference at the present.