How to get all pages included popup (not newContext)

What versions are you running?
$ go list -m github.com/chromedp/chromedp
<!--replace this line with the output-->
$ google-chrome --version
<!--replace this line with the output-->
$ go version
<!--replace this line with the output-->

What did you do? Include clear steps.

put your source code here

What did you expect to see?
For example:
When I click on login, it opens a popup, I want to know how to switch the page to that popup
That popup is generated from the website's behavior, not the chromedp code
https://galxe.com/
==> login ==> discord or twitter or metamask
What did you see instead?

Closing as duplicate of #815.


Support online recovery for Raft majority failure

Development Task
Currently, we have a tool to recover Raft groups from majority failure:
tikv-ctl unsafe-recover remove-fail-stores -s <store_id, store_id> …
tikv-ctl recreate-region -r <region_id> ...

The first command is used to recover Raft groups of which the majority but not all replicas failed. Its mechanism is removing failed stores from membership configurations of those Raft groups.
The second command is used to recover Raft groups of which all replicas failed. Before running the command we need to find those Raft groups, which is not a documented routine. So there are no users who can do this recovery without our DBAs’ help.
Both of the 2 commands should be run on stopped TiKV instances, which makes the recovery process so long and complex that not all users can perform all steps correctly.
And there are some corner cases that could lead to inconsistent membership configuration among all replicas. If the Region splits later, this mistake will lead to inconsistent Region boundaries, which is very hard to locate and fix.
So we need to re-design and re-implement a new feature to recover a TiKV cluster from majority failure. The feature should be:

able to be executed online
able to avoid all inconsistencies
a feature instead of a tool, focus on Raft majority failure, shouldn’t be used for other situations
easy to use, at most 1 or 2 steps or command

Specs
We must know there are no silver bullets for Raft majority failure. There must be something lost after a TiKV cluster recovers from that. Considering such integrations or consistencies:

Committed writes  can be lost, so linear consistency of Raft can be broken;
Some prewrites can be lost for a given transaction, so Transaction Atomicity and/or Consistency can be broken;
Commits can be lost for a given transaction, so Transaction Consistency and/or Durability can be broken;
For a given table, both records or indices can be lost, so Data Consistency can be broken;
For a given transaction, it can be partially committed, so Data Integrity can be broken.

Task Breakdown
Stage 1: Implement basic online recovery

[x] Add recover-store-failure command of pd-ctl [1d] https://github.com/v01dstar/pd/pull/1
[x] Add framework of unsafe recovery worker in PD [3d] https://github.com/v01dstar/pd/pull/2
[ ] Support DumpUnavailableRegions command

[x] Change StoreHeartbeatRequest and StoreHeartbeatResponse in kvproto [1d] https://github.com/v01dstar/kvproto/pull/1
[ ] Dispatch it by StoreHeartbeatResponse in PD [2d]
[x] Handle it and return results in TiKV [5d] https://github.com/v01dstar/tikv/pull/1

[x] Implement the logic of unsafe recovery worker in PD(only keep one replica) [2d] https://github.com/v01dstar/pd/pull/3
[ ] Support UnsafeRecovery command

[ ] Add a new API in kvproto [1d]
[ ] Implement logic in TiKV [5d]

[ ] Support RecreateRegion command

[ ] Add a new API in kvproto [1d]
[ ] Implement logic in TiKV [5d]

[ ] Test [5d]

[ ] Benchmark the recovery time

[ ] Add recovery document [1d]

Stage 2: Make the best effort for the case of replicas more than 3

[ ] Adjust the logic of unsafe recovery worker in PD (no need to keep only one replica)
[ ] Implement force_leader by the custom quorum of Raft
[ ] Handle uncommitted entries for the recovered region
[ ] Test different cases

[ ] Inconsistent membership configuration
[ ] Inconsistent region boundary
[ ] Conflict region boundary

Stage 3: Enhance inconsistency fix tools

[ ] Adjust recover-mvcc tool to handle the case the primary key lock and secondary key locks are not consistent after unsafe recovery
[ ] Make TiDB admin recover table differential

[ ] Need more detailed design,TBD

/cc  @v01dstar @yiwu-arbug @hicqu

@Connor1996 can you add time estimation and also prioritization? Like I think we agree that force_leader is optional.
Also some missing tasks:

(pointed out by Liquan) benchmark the recovery time.
document (we may need to describe things like how inconsistency in secondary index and and mvcc can be handled in another tool, etc)
breakdown of test
handle TiFlash compatibility

@yiwu-arbug

Update the breakdown of the test, including benchmark the recovery time.
The prioritization follows the stage. Stage 2 is actually some subtasks of force_leader.
For the inconsistency fixing tool, let's discuss later. As expected, we won't be able to do them in this sprint.
For TiFlash compatibility, it's just a detailed design in Implement the logic of unsafe recovery worker in PD(only keep one replica). Won't refer to it in general task breakdown.

yes, consistency fixing is out of scope of this project. but I do feel necessary to provide a recovery guide based on existing tools, and that should be part of this project.

Agree, add it

@Connor1996 it seems none of item in the task list done. Is there something out of sync?

@v01dstar Please update the task list if there is a PR

@Connor1996 I think people without write permission just cannot edit the description, you can have a discussion or let @v01dstar comments here so that we can reflect progress.

Task Breakdown
Stage 1: Implement basic online recovery

[x]  Add recover-store-failure command of pd-ctl [1d] Recover v01dstar/pd#1

[x]  Add framework of unsafe recovery worker in PD [3d] Adds unsafe recovery worker/controller v01dstar/pd#2

[ ]  Support DumpUnavailableRegions command

[x]  Change StoreHeartbeatRequest and StoreHeartbeatResponse in kvproto [1d] Prototype of unsafe recovery commands proto v01dstar/kvproto#1
[ ]  Dispatch it by StoreHeartbeatResponse in PD [2d]
[x]  Handle it and return results in TiKV [5d] Reporting detailed store states v01dstar/tikv#1
[x]  Implement the logic of unsafe recovery worker in PD(only keep one replica) [2d] Generating recovery plan based on the store reports v01dstar/pd#3

[ ]  Support UnsafeRecovery command

[ ]  Add a new API in kvproto [1d]
[ ]  Implement logic in TiKV [5d]

[ ]  Support RecreateRegion command

[ ]  Add a new API in kvproto [1d]
[ ]  Implement logic in TiKV [5d]

[ ]  Test [5d]

[ ]  Benchmark the recovery time

[ ]  Add recovery document [1d]

Task Breakdown
Stage 1: Implement basic online recovery

[x]   Add recover-store-failure command of pd-ctl [1d] Recover v01dstar/pd#1

[x]   Add framework of unsafe recovery worker in PD [3d] Adds unsafe recovery worker/controller v01dstar/pd#2

[ ]   Support DumpUnavailableRegions command

[x]   Change StoreHeartbeatRequest and StoreHeartbeatResponse in kvproto [1d] Prototype of unsafe recovery commands proto v01dstar/kvproto#1
[ ]   Dispatch it by StoreHeartbeatResponse in PD [2d]
[x]   Handle it and return results in TiKV [5d] Reporting detailed store states v01dstar/tikv#1
[x]   Implement the logic of unsafe recovery worker in PD(only keep one replica) [2d] Generating recovery plan based on the store reports v01dstar/pd#3

[ ]   Support UnsafeRecovery command

[ ]   Add a new API in kvproto [1d]
[ ]   Implement logic in TiKV [5d]

[ ]   Support RecreateRegion command

[ ]   Add a new API in kvproto [1d]
[ ]   Implement logic in TiKV [5d]

[ ]   Test [5d]

[ ]   Benchmark the recovery time

[ ]   Add recovery document [1d]

I will sync all the following PRs, no need to comment anymore.


Gas overlays are drawn on top of FOV

Description

repro

spawn like 10000 moles of gas in a room
open the door
watch it flood everywhere and break a lot

in the screenshot:

rooms that should not be visible to me at all have gas overlays drawn on them, which also outlines walls
gas overlays are drawn on top of the FOV, which they probably shouldn't be

these might be the same underlying issue
Screenshots

Additional context

i think the actual underlying issue is just that gas overlays are drawn on top of the FOV for some reason

yeah, that's the real issue here

also, for the record: this didn't use to be a thing a few weeks ago

The new WorldSpaceBelowFov doesn't actually work so this is an engine issue @GraniteSidewalk

Done by PJB.


DynamicObject: rename ns setter

This prevents name collision with ResourceExt::namespace.

Released in 0.53.0.


Deploy trusting all traces by default

#19 introduced an environment variable that, when set, instructs QuickPizza to trust TraceIDs arriving to user-accessible endpoints, instead of generating new ones.
This PR enables this behavior by default, which is very reasonable for demo purposes. Moreover, the variable has also been renamed to QUICKPIZZA_TRUST_CLIENT_TRACEID, which hopefully will convey the same meaning while being slightly less alarming to see in the Docker CLI.

@Blinkuu For some reason I cannot add you as a reviewer, so FYI :)


Deprecate installing casks/formulae from paths.

We've already disabled installing casks/formulae from URLs and we regularly tell people not to install from paths so let's just deprecate this behaviour entirely.
Even Homebrew developers do not need to work this way.
Potential alternative to https://github.com/Homebrew/brew/pull/18379 or at least a companion.

Note to self: also check that this does actually disable formulae from brew install ./foo.rb

Checked: it now does.


Avoid recursive suffix stripping in wordnet morphy

Fix #2567: the implementation of Wordnet's __morphy lemmatizer in NLTK is buggy, because it adds a recursive step, which is not a part of the morphy program,  as implemented in the "morph.c" source file that was  included with the original Princeton WordNet, and described in the morphy manual.
So currently, when one pass over the possible morphological substitutions does not yield any known lemma, additional passes may be applied on the results. For ex.:
from nltk.corpus import wordnet as wn

for w in ['cats', 'catss']:
    print(f"{w} -> {wn._morphy(w, pos='n')}")

cats -> ['cat']
catss -> ['cat']

After this PR, the "s" suffix is only stripped once, leading to the rejection of the bad "catss" form:

cats -> ['cat']
catss -> []

This last result agrees with the official Princeton output, as well as with the implementation in Wn by @goodmami.
Similarly, the following errors do not occur after this PR:

Call
Before
After

_morphy('possesses', 'n')
['posse']
[]

_morphy('ramesses', 'v')
['ram']
[]

_morphy('iss', 'n')
['i']
[]

_morphy('anchoresses', 'v')
['anchor']
[]

_morphy('askeses', 'v')
['ask']
[]

_morphy('bibless', 'n')
['bible']
[]

_morphy('bowses', 'n')
['bow']
[]

_morphy('carses', 'n')
['car']
[]

_morphy('cateresses', 'v')
['cater']
[]

_morphy('chowses', 'n')
['chow']
[]

_morphy('hydrases', 'n')
['hydra']
[]

_morphy('idlesses', 'n')
['idle']
[]

_morphy('idlesses', 'v')
['idle']
[]

_morphy('marses', 'v')
['mar']
[]

_morphy('pareses', 'v')
['pare'', ' 'par']
[]

_morphy('replicases', 'n')
['replica']
[]

_morphy('semises', 'n')
['semi']
[]

_morphy('tootses', 'n')
['toot']
[]

_morphy('tootses', 'v')
['toot']
[]

_morphy('torqueses', 'n')
['torque']
[]

On the other hand. this PR does not change the results of @tomaarsen's plurals test: WordNetLemmatizer still performs better 470 times, morphy 32 times, and there are 62 ties.
However, this PR proposes to add a few comments in WordNetLemmatizer, to make it more clear that its lemmatize() function picks the shortest lemma among the candidates returned by _morphy, and that this behaviour is not a bug but a feature.

Converted to draft, as it seems possible to handle more of the issues related to WordNetLemmatizer, by customizing its behaviour through an additional parameter.

The historical WordNet lemmatizer is Morphy, so many users would intuitively expect a more standard behaviour from WordNetLemmatizer.lemmatize(). But instead, that wrapper is defined by non-standard features: it defaults to nouns, picks the shortest lemma, and eventually accepts any word not included in WordNet.
So this PR proposes to also fix #3227, by adding an alias to wordnet's _morphy() and morphy() functions, for those users of the WordNetLemmatizer class who want access to a more standard
WordNet lemmatizer.
On the other hand, this PR leaves the lemmatize() function unchanged, for the many users who have been accustomed to its non-standard behaviour for a long time.

Thanks @ekaf. Sorry for the delay


operator [O] seldon-operator (1.14.1)

Update seldon-operator to run on OpenShift 4.11
This is analogous change to one in https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/1410

Signed-off-by: Rafal Skolasinski<EMAIL_ADDRESS>Thanks for submitting your Operator. Please check the below list before you create your Pull Request.
New Submissions

[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Have you considered whether you want to use semantic versioning order?
[ ] Is your submission signed?
[ ] Is operator icon set?

Updates to existing Operators

[ ] Did you create a ci.yaml file according to the update instructions?
[ ] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[ ] Is your submission signed?

Your submission should not

[ ] Modify more than one operator
[ ] Modify an Operator you don't own
[ ] Rename an operator - please remove and add with a different name instead
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description of the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/hold cancel

/merge possible

/test 4.10-deploy-operator-on-openshift

/test 4.10-deploy-operator-on-openshift

/merge possible


CI: Make jenkins/skuba-test run on VMWare cluster

Why is this PR needed?
Fixes SUSE/avant-garde#1355
What does this PR do?
This commit switches from openstack to vmware the underlying platform
for 'skuba-test' tests on PRs. In addition it removes the
'skuba-test-vmware' for being redundant.
Anything else a reviewer needs to know?
None
Info for QA
This is info for QA so that they can validate this. This is mandatory if this PR fixes a bug.
If this is a new feature, a good description in "What does this PR do" may be enough.
Related info
Info that can be relevant for QA:

link to other PRs that should be merged together
link to packages that should be released together
upstream issues

Status BEFORE applying the patch
How can we reproduce the issue? How can we see this issue? Please provide the steps and the prove
this issue is not fixed.
Status AFTER applying the patch
How can we validate this issue is fixed? Please provide the steps and the prove this issue is fixed.
Docs
If docs need to be updated, please add a link to a PR to https://github.com/SUSE/doc-caasp.
At the time of creating the issue, this PR can be work in progress (set its title to [WIP]),
but the documentation needs to be finalized before the PR can be merged.
Merge restrictions
(Please do not edit this)
We are in v4-maintenance phase, so we will restrict what can be merged to prevent unexpected surprises:
What can be merged (merge criteria):
    2 approvals:
        1 developer: code is fine
        1 QA: QA is fine
    there is a PR for updating documentation (or a statement that this is not needed)

This is blocked by SUSE/avant-garde#1353


[WinForms] API validate input parameters and throw AOORE

Selected API validate input parameters and throw ArgumentOutOfRangeException.
Selected API now validate input parameters and throw ArgumentOutOfRangeException where previous behaviour could lead to faulty state.
Throwing ArgumentOutOfRangeException is inline with the behaviours in .NET Runtime, and provides developers with a better debug experience clearly communicating which argument caused the exception.
Old behavior
The listed API could throw various exceptions (e.g. NullReferenceException, ArgumentException, ArgumentOutOfRangeException, etc.) if invoked with incorrect input arguments.
New behavior
The listed API would throw ArgumentOutOfRangeException if invoked with invalid input arguments.
Reason for change
Throwing ArgumentOutOfRangeException is inline with the behaviours in .NET Runtime, and provides developers with a better debug experience but clearly communicating which argument resulting in a exception.
Recommended action

Review and, if necessary, update the code to prevent passing input arguments of incorrect type to the listed API.
Handle ArgumentOutOfRangeException, if necessary.

Category

Windows Forms

Version introduced: .NET 5.0 Preview 5
Affected APIs

ListBox.IntegerCollection

[ ] ListBox.IntegerCollection.Item[int], parameter index (used to throw NRE or IORE)

Version introduced: .NET 5.0 Preview 6
Affected APIs

TreeNode

[ ] TreeNode.ImageIndex, parameter value
[ ] TreeNode.SelectedImageIndex, parameter value

Issue metadata

Issue type: breaking-change

Just FYI - this issue is missing WinForms label.

I'll have new ones opened for 6.0 😉
Thank you for your help.


html-formatter: Ruby gem metadata

Summary
Updated gemspec metadata for the html-formatter sub-project.
Details
As per metadata specification, add missing metadata to the gemspec file and update its changelog URI.
Motivation and Context
This'll allow people to more easily access docs and source code, raise issues and read the changelog.
These links will appear on the cucumber-html-formatter Rubygems page at and will also be available via the Rubygems API after the next release.
My team uses an automated bundle update process that annotates pull-requests and it makes it easier for reviewers when there is a changelog link.
How Has This Been Tested?
I believe tests don't apply here.
Types of changes

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

Checklist:
Since there is no code change, I believe none of these apply.

[ ] The change has been ported to Java.
[ ] The change has been ported to Ruby.
[ ] The change has been ported to JavaScript.
[ ] The change has been ported to Go.
[ ] The change has been ported to .NET.
[ ] I've added tests for my code.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have updated the CHANGELOG accordingly.

Hi @ricobl,
Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾
In return for this generous offer we hope you will:

✅ Continue to use branches and pull requests. When someone on the core team approves a pull request (yours or someone else's), you're welcome to merge it yourself.
💚 Commit to setting a good example by following and upholding our code of conduct in your interactions with other collaborators and users.
💬 Join the community Slack channel to meet the rest of the team and make yourself at home.
ℹ Don't feel obliged to help, just do what you can if you have the time and the energy.
🙋 Ask if you need anything. We're looking for feedback about how to make the project more welcoming, so please tell us!

On behalf of the Cucumber core team,
Aslak Hellesøy
Creator of Cucumber

Thanks a lot @ricobl!

That was really quick, thank you @aslakhellesoy!


Singlefile not working in docker-compose on arm64 (M1 Macs, RPi 4, etc.)

Have archivebox running local on my mac which works fine with a local installed single-file.
Want to user docker-compose run archivebox  add .... with single-file
docker-compose run  archivebox  works but not single-file
      > singlefile
        Extractor failed:
             SingleFile was not able to archive the page
            Got single-file response code: 0.

I added in Archivebox.conf
[DEPENDENCY_CONFIG]
SINGLEFILE_BINARY = /opt/homebrew/lib/node_modules/single-file/cli/single-file

Maybe this is more a docker question?

docker-compose archivebox --version gives:
√  SINGLEFILE_BINARY     v0.3.16         valid     /node/node_modules/single-file/cli/single-file
which is not on my mac
doesn't read my ArchiveBox.conf?

Docker uses a linux system and has all its dependencies bundled with it internally already, do not set  SINGLEFILE_BINARY or any other _BINARY configs when using docker.

Thanks for responding
I added the setting because it didn't work.
get this error
> singlefile
Extractor failed:
SingleFile was not able to archive the page
Got single-file response code: 0.
attached yml and conf as zip
Archive.zip

You have SAVE_SINGLEFILE = False and SINGLEFILE_BINARY = /opt/homebrew/lib/node_modules/single-file/cli/single-file still set in your config, please remove those and try again.

before adding SINGLEFILE_BINARY  it didn't work, that's why I put it in, it should not be there  anymore.
SAVE_SINGLEFILE = False because I don't want single file all the time.
I wrote a program that sets SAVE_SINGLEFILE = True  occasionally :
docker-compose run archivebox  config --set SAVE_SINGLEFILE=True
With the local installed archivebox without docker that works fine;
I'll try your suggestions tomorrow, latest version and always true.
I am in Amsterdam Holland and it's nearly midnight, watching Succession.
Thank You

Terminal Saved Output.txt
I've tried docker-compose with and without default Archivebox.conf and with :dev, output in attachment.
I keep getting the error.
> singlefile
Extractor failed:
SingleFile was not able to archive the page
Got single-file response code: 0.
I'm running on a mac M1 but that shouldn't be the problem.
archivebox and single-file installed on the mac works fine.
I will take a docker course

installed docker archivebox on a intel chip mac, no problem

Ah that makes sense, I was wondering why I've been unable to reproduce this on my Intel mac.

Hello, I recently started using ArchiveBox (Brilliant product. Well done). I am getting the same error on my Raspberry Pi 4 (arch64) running Debian Bullseye. Apologies if that is a different issue.
Whenever I try to archive a page I get:
singlefile Extractor failed: SingleFile was not able to archive the page Got single-file response code: 0.

This is actually #905 the single-file error is a red herring. If you enter the container and execute the commands it tells you to, you see that it's not finding the correct chromium executable


where is /resumes/material-blue.vue??

Case
bug when compiling
Issue
where is material-blue.vue file on project?
Info
-WINDOWS 10

npm version : 3.10.10
Node-Version : v6.11.3

Reproduce
npm install
npm run dev
> node build/dev-server.js
> Starting dev server...
ERROR  Failed to compile with 1 error
 This relative module was not found:
* ../resumes/material-blue.vue in ./s>
Listening at http://localhost:8080

if i'm looking to this file in src/resumes/ folder, i don't find it,
so with
import '../resumes/material-blue.vue';
in src/resumes/resumes.js file, i get this error when compiling, but when i comment this line, it is ok, so where is hidden this file??

material-blue is currently removed because of license-problems. See
It will be completely remaked and than added again. I'm sorry for that.

thanks, it's ok, gl 👍


Move experience to component

Instead of setting the exp in the PotionType, we can set it in the components and calculate the experience in the type based on the components.
This means if exp rates are changed later we can more easily update it.
Also changes the experience numbers to be 10x less, not sure why they were so high

The reason why they were 10x high is due to how the server handles decimal places, osrs uses fixed point arithmetic instead of double/floats so for example: 1000 = 100 experience, 1205 = 120.5 experience

Ah, that makes sense yeah. I've changed the numbers back to the 10x value and also corrected the Mox / Lye values being swapped


Womanium Final Assignment -

PR Description

Some notes

[ ] Please make sure that you placed the files in an appropriate folder

[ ] And that the files have indicative names.

[ ] Please note that Classiq runs automatic code linting, which may minorly alter some files.

[ ] If you're familiar with pre-commit, you may run pre-commit install, and then at each commit, your files will be altered in a similar way

Hi @Joseph-CSI1430 !
It seems like there is a formatting issue. Please try resubmitting as I am unable to see the notebook.

I just merged my branch with the latest commits now, please check to see it my notebook is there. I am relatively new to github so I am not very comfortable with using it right now.


Add ability to use etags in get requests

Now it is possible to pass etag parameter along with other request parameters.

@jimmyz Is it possible to accept this PR?

@jimmyz thanks


Any working example on codepen please?

I have try to add it to a website was using simpleweather but was not working before and i can't make it work.
Any working example on codepen please?
Would be awesome.

I don't think that a public example of going to be available because the API calls now have a cost involved and seems like the API key needs to be saved in a proxy php file so would require an external file be referenced. But, yes, I do wish there were some more complete example files.


Add shared voicemail docs for Auto Attendant CallableEntity creation

Docs Build status updates of commit ecbaab7:
:clock10: Full build: the average full build time is 12 min(s) 8 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit ecbaab7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsAutoAttendantCallableEntity.md
:white_check_mark:Succeeded
View (skype-ps)

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 1236c4c:
:clock10: Full build: the average full build time is 12 min(s) 9 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 1236c4c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsAutoAttendantCallableEntity.md
:white_check_mark:Succeeded
View (skype-ps)

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 707f72f:
:clock10: Full build: the average full build time is 12 min(s) 9 sec(s), this is based on the last 1000 build(s) for this repository.

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

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsAutoAttendantCallableEntity.md
:x:Error

Details

:x:Error

Details

skype/skype-ps/skype/New-CsAutoAttendantCallableEntity.md

[Error]

Failed to parse skype-ps/skype/New-CsAutoAttendantCallableEntity.md due to :16:(96) '

### NOTE

'
 Expect Heading level 2, please use PlatyPS to do content validation

Line 138: [Error] W:\3gjw-s\.optemp\packages\opbuild.scripts.1.84.4\tools\opbuild\docset.prebuild.ps1 failed to execute

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 ce11a13:
:clock10: Full build: the average full build time is 12 min(s) 9 sec(s), this is based on the last 1000 build(s) for this repository.

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

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsAutoAttendantCallableEntity.md
:x:Error

Details

:x:Error

Details

skype/skype-ps/skype/New-CsAutoAttendantCallableEntity.md

[Error]

Failed to parse skype-ps/skype/New-CsAutoAttendantCallableEntity.md due to :16:(96) '

### NOTE

'
 Expect Heading level 2, please use PlatyPS to do content validation

Line 138: [Error] W:\uyzr-s\.optemp\packages\opbuild.scripts.1.84.4\tools\opbuild\docset.prebuild.ps1 failed to execute

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 650aa9d:
:clock10: Full build: the average full build time is 12 min(s) 9 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 650aa9d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsAutoAttendantCallableEntity.md
:white_check_mark:Succeeded
View (skype-ps)

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 352c57e:
:clock10: Full build: the average full build time is 12 min(s) 9 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 352c57e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsAutoAttendantCallableEntity.md
:white_check_mark:Succeeded
View (skype-ps)

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.

@amrElroumy - thank you for adding this new content. Just a few things to update as suggested above. If you would please merge those into your PR I will get it merged.

Docs Build status updates of commit 9fd4f0c:
:clock10: Full build: the average full build time is 12 min(s) 9 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 9fd4f0c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsAutoAttendantCallableEntity.md
:white_check_mark:Succeeded
View (skype-ps)

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 9133659:
:clock10: Full build: the average full build time is 12 min(s) 9 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 9133659:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

skype/skype-ps/skype/New-CsAutoAttendantCallableEntity.md
:white_check_mark:Succeeded
View (skype-ps)

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.


wayland: 1.21.0 -> 1.22.0

Description of changes
This version will be necessary to build the next version of wlroots.

Final: https://lists.freedesktop.org/archives/wayland-devel/2023-April/042647.html
RC1 :https://lists.freedesktop.org/archives/wayland-devel/2023-March/042643.html
Beta: https://lists.freedesktop.org/archives/wayland-devel/2023-March/042637.html
Alpha: https://lists.freedesktop.org/archives/wayland-devel/2023-February/042629.html

Cc @primeos since you did the last bump.
Things done
I've built the single package, and confirmed that the darwin patch still applies.

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Can someone test launching firefox?

Some Arch users say after the bump Firefox crashes, I wonder if we should backport related fixes for that.

Yes please, see reports in https://github.com/NixOS/nixpkgs/issues/226539 :)

Yes please, see reports in https://github.com/NixOS/nixpkgs/issues/226539 :)

Hmmm, the ff report theoretically should be specific to wayland 1.21.91+ due to the new warnings logged (!282, !297) I think :thinking:

Hmmm, it actually crashes for me™, using system.replaceRuntimeDependencies. Probably something is needed to trigger the crash, I haven't go deep into it yet.
Screenshot showing MozCrashReason: warning: queue 0x7fe1e9599a90 destroyed while proxies still attached:

That is actually a firefox bug that is triggered by stricter protocol checks triggered by the mesa driver.
It came up in #226539 and will be fixed in firefox 113 (and maybe 112)

Fix has been backported and is targeted for 112.0.2. I expect the release on monday or tuesday.
https://hg.mozilla.org/releases/mozilla-release/rev/94ef9c555302

Given that the firefox update will end up in master and be available fairly quickly, perhaps it would be possible to merge this PR since it has to go through the staging -> staging-next cycle and be included in the 23.05 release

Firefox 112.0.2 is already on master.

@ofborg build sway


fix for two incorrectly bound texture formats

@reduz This fixes two incorrectly bound texture formats (Metal and vulkan validation)..
sdfgi_integrate.glsl:
layout(rgba32i, set = 0, binding = 10) uniform restrict iimage2D lightprobe_average_texture;
The shader has lightprobe_average_texture as single image2d, so I imagine it's incorrect in the rasterizer.
sky_irradiance is a textureCube but the default uniform that is set in the rasterizer uses a texture 3d.  If it's overriden it's correctly bound to a textureCube, but by default they are mismatched.  I've added a default white cubemap to handle this case.
Also of note here, there may be a bug in the default DEFAULT_RD_TEXTURE_3D_WHITE.  It seems to be black.

fixes these:

Thanks!


Trying to install firebase

Environment (please complete the following information):

OS (e.g., Windows 10):
Extension version (e.g., 1.2.3):

Describe the bug:

Repro steps:

Expected behavior:

Additional context:

Hi, please provide additional context and feel free to reopen


add cancel all orders command

Description
A user should be able to cancel all their orders for a market instead of having to go through and cancel one by one.
Related PRs
https://github.com/sparkswap/broker/pull/408
Todos

[x] Tests
[x] Documentation
[x] Link to Trello

 cancel all open orders


Mention jdk 8 in install docs, not 7

All tested versions support 8. not all versions support 7.
This is a clearly needed change
@mshuler  to review

lgtm!


Allow getting transactions with info in one request.

This patch allows to read both transactions and the account information in one request. This is useful to avoid the server request rate limit (error 409).

I am definitely not reloading info but I think that otherwise the api should fall loudly and clearly - with specific error and leave the caching up to the user..

Time and @Visgean convinced me that propagation of custom exception is the right thing to do.
The interface is a different beast and there are some good points about balances etc. I could introduce parallel methods returning both or I could tune the existing API as I mentioned above. Let's see.

Maybe something like this:

class FioBank(object):
    _info = None

    def info(self):
        if self._info:
            return self._info
        today = date.today()
        data = self._request('periods', from_date=today, to_date=today)
        self._info = self._parse_info(data)
        return _info

But there needs to be some mechanism for reloading/refreshing the info....

It's not in my current possibilities to work on it (all my opensource focus now goes to the planned new version of https://github.com/pyvec/python.cz/), but PRs with some neat, non-bc-breaking solutions are welcome :)

Thanks for all the work spent on this. In 2024 I think we could add a separate method which returns both info and transactions. That method would be called transactions and would be a preferred way how to use the library. The current methods would bring up deprecation warnings.

I've implemented recommended approach in https://github.com/honzajavorek/fiobank/pull/38


Use the correct variable name for Pantheon token

The Problem/Issue/Bug:
Documentation is different than the instructions in .ddev/providers/pantheon.yaml.example
I confirmed this syntax is working.

@shaal if you could fix the markdownlint errors it would be appreciated, https://github.com/drud/ddev/pull/2847/checks?check_run_id=2024738642


Fixed the opengl es hooking on linux when the app dlopens the api libs

I've removed the callback check from linux's PosixHookLibrary so all requested libraries get hooked by RenderDoc's dlopen implementation.
I've also added a check to PopulateHooks to make sure we've got our egl hooks before attempting to populate the gl hooks as egl may not have been loaded when PopulateHooks is first called.

I don't want to make any changes in this area without extensive testing on Android, since Android is a very fragile and unreliable platform as a whole but especially regarding GL hooking. The overwhelming majority of use of GLES is on Android, there's not much value on linux where typical GL apps use GLX so I don't want to risk breaking Android to fix token linux support.
That said I do plan to refactor how GL hooking is set up, since it's become a mess with the introduction of android support with yet-again different hooking requirements. For v1.0 it ended up not well organised anymore. I expect that that refactor would invalidate this change.

The GL hooking has been significantly refactored as I mentioned, so I don't think this change is applicable anymore. If you still run into bugs on the new code (which is quite possible, it works in my initial testing but needs more thorough checking) feel free to open a new issue or PR.


Adding new catalogs does not change config map

Changes to catalogs are not reflected in config map. The only way to apply catalog changes is to delete and recreate clusters.
Is this working as intended or is it an issue? Also, is this in active development?

@fcosta-td refresh of catalog properties is not implemented by Presto. So, even if we update the configMap, the presto processes will not read it.
This is under active development.


User Profile Not Showing Reposts Properly

Reposts appear as though they're written by the account in question. For these posts the avatar and account name should appear. Showing the appropriate repost icon would also be very beneficial.

Done and done with some CSS magic. Closing Issue.


Header containing CPP code is forcefuly formatted as ObjC

When having some C++ code mixed with ObjC in .h file, the formatting is screwed up when it comes to double colons for namespaces.
Code like this:

(Project::Something) getSomethingFor: (Project::Item) item;
turns into this monster (what, of course, raises errors):
(Project : : Something) getSomethingFor: (Project : : Item) item;

I've tested this with original Uncrustify and the file is recognized as CPP and formatted as such, so the spaces are not added in there.

Not tested but I think it's because we add OC (Objective-C language) in the language -l parameter if the file is a header file (see https://github.com/benoitsan/BBUncrustifyPlugin-Xcode/blob/master/Classes/CFOUncrustifyFormatter.m#L67-L72). Removing this could cause (I suppose) a bad reformatting for pure objc header files so I don't know how to fix this.

You're right, this is directly related to setting OC language based on header and source type.
Is there any clean and nice way of detecting if the .h file (and maybe even .m) has CPP code inside?
The language flag could be set as it is now, but when CPP code is detected then change the flag rather to CPP.

The fix is simple. We need to pass "OC+" for the parameter. It will support Objective-C, Objective-C++, and C++.

Fixed. See https://github.com/benoitsan/BBUncrustifyPlugin-Xcode/pull/131


Write a tutorial for PowerAuth 2.0 Admin deployment

We are missing docs on how to deploy the PowerAuth 2.0 Admin - the principle is the same as with PowerAuth 2.0 RESTful API.

Fixed in c51ddb850736c1d9876d775b1c342194b6131fce


Update critools and run critest in parallel.

Update cri-tools to 8ec2cbda446377cab11a5ef8ef92e115aa628a91 and run critest in parallel.
Signed-off-by: Lantao Liu<EMAIL_ADDRESS>

Note that this PR added FASTBUILD back for cni plugins. The change was reverted in https://github.com/containerd/cri-containerd/pull/607.
However, it is not the cause of test failure. So it seems safe to add it back to accelerate the build.


[AutoPR security/resource-manager] Add Microsoft.Security applicationWhitelistings API

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6553

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/5709


Change to make Travis CI run correctly on forks of docker/swarm

This change to .travis.yml causes Travis to run correctly on anybody's personal fork of Swarm (assuming he has turned on the Travis CI hook in his fork).
Why is this needed?  Our Go imports hardcode "github.com/docker/swarm/whatever-package", but a fork will have a different directory structure such as src/github.com/username/swarm/.  Travis therefore will not be able to find imports because the directory github.com/docker does not exist inside the Travis container.  For an example of exactly how this causes Travis to fail on personal forks, look at https://travis-ci.org/mgoelzer/swarm/builds/58082730
Signed-off-by: Mike Goelzer<EMAIL_ADDRESS>

Coverage decreased (-7.72%) to 46.58% when pulling 8d997d9d51c0f70ea3f0fda9368ab7bee1bf42b5 on mgoelzer:fix-travis-on-forks into 1aa61f9f36f914c4dd3c4828150f08c674efb251 on docker:master.

As before, I can't explain why test coverage would decrease from a one-line change in .travis.yml, but I am still trying to work with the Coveralls people to get to the bottom of that.

LGTM


Allow setting blockchain's timestamp

Description
Currently, to measure time in Cadence, developers can use something like the following:
getCurrentBlock().timestamp

Contracts can use the above value in certain conditions, such as unlocking tokens after a year.
To simulate/test scenarios with time expiration or generally passage of time, it would be useful to have the ability to set the blockchain's timestamp in the future or even the past. For example, this can be used and exposed in the Cadence Testing Framework, and in other tools that use the Emulator for integration tests.
Note: Some things are still TBD. I have added remarks as comments in the source code :pray:

For contributor use:

[x] Targeted PR against master branch
[x] Linked to GitHub issue with discussion and accepted design OR link to spec that describes this work
[x] Code follows the standards mentioned here
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the GitHub PR explorer
[x] Added appropriate labels

Codecov Report

Merging #449 (394aa70) into master (c8bd062) will increase coverage by 0.13%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #449      +/-   ##
==========================================
+ Coverage   54.62%   54.75%   +0.13%
==========================================
  Files          27       27
  Lines        3590     3596       +6
==========================================
+ Hits         1961     1969       +8
+ Misses       1470     1466       -4
- Partials      159      161       +2

Flag
Coverage Δ

unittests
54.75% <100.00%> (+0.13%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

emulator/blockchain.go
71.67% <100.00%> (+0.67%)
:arrow_up:

emulator/pendingBlock.go
90.17% <100.00%> (+0.17%)
:arrow_up:

... and 1 file with indirect coverage changes

I think it might be better to change the blockchain.go to have a settable clock:
type Clock interface {
    Now() time.Time
}

and newPendingBlock would either get a time.Time from the clock or a Clock as a parameter.
What do you think?

@janezpodhostnik that's quite a great suggestion 💯 since emulator is also a library, that is a more solid way to enable the injection of any clock implementation. I will make the changes and ping you

@janezpodhostnik I have addressed your suggestion in this commit: https://github.com/onflow/flow-emulator/pull/449/commits/381235b95366e8ab35e02b83c048e63801da65b2. Let me know if it is close to your original idea :pray:


Question and proposal for the logic in desc' of ext2`

In the conditional check for desc'. In the first condform, the code comparesrank` and decides on which tensor to descend into; only when the ranks are the same, it would check the number of elements and descend into both if valid, or raise an error if not.
Would be clearer if the logic is written out as described above? Is there particular reason beside being concise for the original edition?

Thank you for taking the effort to make your points understood with real code!
Your proposed change is actually quite nice, but it changes the semantics of how desc works in significant ways. For example, in the current version, the following is okay to do:
(+ (tensor 2 3) (tensor (tensor 4 5 6) (tensor 6 7 8)) where you would get
(tensor (+ 2 (tensor 4 5 6)) (+ 3 (tensor 6 7 8))).

In your version, however, you would get an error eventually because you would descend into the bigger tensor
(tensor (+ (tensor 2 3) (tensor 4 5 6)) (+ (tensor 2 3) (tensor 6 7 8)))

Which would then error out.
Now, neither is wrong nor right, really. It's just a question of what we're declaring to be the semantics of ext2. We chose the simpler form. Our current form is a greedy "breadth-first" descent. As we encounter more use cases, it might be worth revisiting, but we'll keep it simple for now.

Hi @themetaschemer, thanks for the explanation. The "greedy" BFS summarizes the behavior well: when there are choices to descend into both or descend into one of the tensors, it prioritizes the expansion into both tensors.
Ps: I am a fan of all little series; I have enjoyed it a lot while working through the code.


Preparing to implement changes from fqm-execution

Commits here.. making synonymous changes in cqm-execution to resolve https://oncprojectracking.healthit.gov/support/browse/BONNIEMAT-1850

https://github.com/projecttacoma/cqm-execution/pull/265


[Readme] Add to_string(allocator) for <C++11 to table

template< class Allocator >
std::basic_string<CharT, Traits, Allocator>
to_string( Allocator const & a ) const
{
    return std::basic_string<CharT, Traits, Allocator>( begin(), end(), a );
}

You can assign this issues to me. I'll do it in a short time.
Thank you for the library) We use it at work.

I'd appreciate a PR


Debug hit failure for object init() method inside language and standard libraries

Description:
Incorrect line number table generation for lang.query module's types.bal class.
Steps to reproduce:

Consider the following code segment:

1. public function main() {
2.     int[] nums = [1, 2, 3, 4];
3.     int[] numsTimes10 = from var i in nums
4.                         select i * 10;
5. }

Add a debug point in line number 3.
Once the debug point is hit, STEP_IN at line number 3.
This will step into the first line of createPipeline method. This method is situated in lang.query module's helpers.bal class.
Now again STEP_IN. This will step into the first line of init method of _StreamPipeline class. This method is situated in lang.query module's types.bal class.
Now add a debug point inside the init method of _StreamPipeline class.
Start the debug session again.
Now we could able to observe that the debug point will not get hit.
The reason for this is referenceType does not contain all the necessary line locations.

The above issue is not reproducible for single ball files. The issue is only reproducible in ballerina projects.

The line number table generated for types.bal class in the lang.query module seems correct and the generated byte codes are same (except the module name references) in the single bal file case and ballerina project. Since single bal file is also considered as a ballerina project with default module (.), the code generation for both cases are similar and the generated line number tables are same. It looks like nothing needed to be done from code generation side.

As per the offline discussion, removed the jBallerina label.

Closing with https://github.com/ballerina-platform/ballerina-lang/pull/34697


Updates

Update kernel and firmware

@kraj Makes sense. Pushed.

@kraj just a small ping here so we can merge this.


ERROR: timeout

Issue related to
Sunsynk Home Assistant Add-On
Describe the issue/bug
Addon unable to read from the sensors/inverter/registers.  I have tried

Two different waveshare dongles
Tried using modbus addon and without modbus addon
Connecting green wire to ground and connecting green/white wire to ground'
Reducing batch size to 2

Your environment

Home Assistant version: 2024.11.1
Addon:

Name: sunsynk-multi
Version: 2023-08-17

Inverter:

Make: Sunsynk
Model: ECO 3.6kw (I believe)
Firmware: <IP_ADDRESS>

Adaptor details:

RS485/RS232 brand WaveShare

You configuration

DRIVER: pymodbus
INVERTERS:
  - SERIAL_NR: "SERIANNUMBERHERE"
    HA_PREFIX: SS
    MODBUS_ID: 1
    PORT: /dev/ttyACM0
SENSOR_DEFINITIONS: single-phase
SENSORS:
  - energy_management
  - power_flow_card
  - pv2_power
SENSORS_FIRST_INVERTER:
  - settings
MANUFACTURER: sunsynkdirect
READ_ALLOW_GAP: 2
READ_SENSORS_BATCH_SIZE: 2
SCHEDULES:
  - KEY: W
    READ_EVERY: 5
    REPORT_EVERY: 60
    CHANGE_ANY: false
    CHANGE_BY: 80
    CHANGE_PERCENT: 0
NUMBER_ENTITY_MODE: auto
PROG_TIME_INTERVAL: "60"
MQTT_HOST: core-mosquitto
MQTT_PORT: 1883
MQTT_USERNAME: mqtt_user
MQTT_PASSWORD: mpqttPasswordHere

Logs

From Sunsynk addon

s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun sunsynk (no readiness notification)
s6-rc: info: service legacy-services successfully started
14:56:27 INFO    Loading configuration: /data/options.json
14:56:27 INFO    sunsynk library version: 0.6.5
14:56:27 INFO    Schedules:
+-----------+-----+------+--------+-----------+----------+------------+
|    Key    | src | Read | Report | Change by | Change % | Change any |
+-----------+-----+------+--------+-----------+----------+------------+
| date_time |     |  60  |   60   |           |          |    True    |
|     rw    |     |  5   |  300   |           |          |    True    |
|    enum   |     |  5   |  300   |           |          |    True    |
|     w     |  *  |  5   |   60   |     80    |          |            |
|    kwh    |     | 300  |  300   |           |          |            |
|  any_unit |     |  15  |  300   |           |          |            |
|  no_unit  |     |  15  |  300   |           |          |    True    |
+-----------+-----+------+--------+-----------+----------+------------+
14:56:27 INFO    Using Single phase sensor definitions.
14:56:27 INFO    Added hidden sensors as other sensors depend on it: Rated power, Serial
14:56:27 INFO    Connecting to /dev/ttyACM0
14:56:27 INFO    PyModbus 3.7.2 Serial: /dev/ttyACM0
14:56:27 INFO    Reading startup sensors Battery Low Capacity, Rated power, Prog1 Time, Serial, Prog4 Time, Prog2 Time, Prog6 Time, Prog5 Time, Prog3 Time
14:57:55 ERROR   timeout reading 2 registers from 3; timeout reading 2 registers from 5; timeout reading 1 registers from 7; timeout reading 2 registers from 16; timeout reading 1 registers from 219; timeout reading 2 registers from 250; timeout reading 2 registers from 252; timeout reading 2 registers from 254

Getting the same error.. Started about 3 weeks back

I am having the same issue. I am hoping someone has an easy fix to this as it seems to be something on the inverter side from the tests I have done.
Issue related to:
Sunsynk / mbusd Home Assistant Add-On
Describe the issue/bug
The add-on does not seem to be able to read/receive the values from the inverter.
It seems to me that there's an issue on the inverter side (maybe firmware)
Things I have tried:

Checked that my Sunsynk inverter is up to date on firmware.
Checked the serial number of the inverter is correct.
Changed the inverters Modbus SN to "2" and "1" while adjusting it on the add-on as well.
Did a full reboot on the inverter
Moved my HAOS server to another premises which has an 8kw Sunsync in and this add-on worked perfectly fine with all the same hardware. The only difference was the inverter and internal network.

Expected behaviour
I expected it to work on the 5kw as it does on the 8kw
Your environment

Home Assistant version: (Core) 2024.12.4
Addon:

Name: sunsynk-multi
Version: v0.7.5

Inverter:

Make: Sunsynk
Model: 5kw
Firmware: M <IP_ADDRESS> / S <IP_ADDRESS> / C E.4.2.4

Adaptor details:

RS485
RS485 to USB with earth

You configuration

DRIVER: pymodbus
INVERTERS:
  - SERIAL_NR: "Inverter Serial Number"
    HA_PREFIX: SS
    MODBUS_ID: 1
    DONGLE_SERIAL_NUMBER: "0"
    PORT: ""
SENSOR_DEFINITIONS: single-phase
SENSORS:
  - energy_management
  - power_flow_card
  - pv2_power
  - pv1_power
  - essential_power
  - battery_power
  - battery_soc
  - non_essential_power
  - grid_ct_power
SENSORS_FIRST_INVERTER:
  - settings
MANUFACTURER: Sunsynk
READ_ALLOW_GAP: 2
READ_SENSORS_BATCH_SIZE: 8
SCHEDULES:
  - KEY: W
    READ_EVERY: 1
    REPORT_EVERY: 60
    CHANGE_ANY: false
    CHANGE_BY: 80
    CHANGE_PERCENT: 0
NUMBER_ENTITY_MODE: auto
PROG_TIME_INTERVAL: "5"
MQTT_HOST: core-mosquitto
MQTT_PORT: 1883
MQTT_USERNAME: username
MQTT_PASSWORD: password
DEBUG_DEVICE: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A10P71FR-if00-port0
DEBUG: 0

Logs

[19:46:24] INFO: Service restart after closing
19:46:25 INFO    Loading configuration: /data/options.json
19:46:25 INFO    sunsynk library version: 0.6.5
19:46:25 INFO    Schedules:
+-----------+-----+------+--------+-----------+----------+------------+
|    Key    | src | Read | Report | Change by | Change % | Change any |
+-----------+-----+------+--------+-----------+----------+------------+
| date_time |     |  60  |   60   |           |          |    True    |
|     rw    |     |  5   |  300   |           |          |    True    |
|    enum   |     |  5   |  300   |           |          |    True    |
|     w     |  *  |  1   |   60   |     80    |          |            |
|    kwh    |     | 300  |  300   |           |          |            |
|  any_unit |     |  15  |  300   |           |          |            |
|  no_unit  |     |  15  |  300   |           |          |    True    |
+-----------+-----+------+--------+-----------+----------+------------+
19:46:25 INFO    Using Single phase sensor definitions.
19:46:25 INFO    Added hidden sensors as other sensors depend on it: Rated power, Serial
19:46:25 INFO    Connecting to /dev/ttyUSB0
19:46:25 INFO    PyModbus 3.7.2 Serial: /dev/ttyUSB0
19:46:25 INFO    Reading startup sensors Prog6 Time, Serial, Prog4 Time, Battery Low Capacity, Prog3 Time, Prog5 Time, Rated power, Prog2 Time, Prog1 Time
19:47:09 ERROR   timeout reading 5 registers from 3; timeout reading 2 registers from 16; timeout reading 1 registers from 219; timeout reading 6 registers from 250
19:47:53 ERROR   timeout reading 5 registers from 3; timeout reading 2 registers from 16; timeout reading 1 registers from 219; timeout reading 6 registers from 250
19:48:37 ERROR   timeout reading 5 registers from 3; timeout reading 2 registers from 16; timeout reading 1 registers from 219; timeout reading 6 registers from 250
19:48:37 WARNING Retrying individual sensors: ['prog6_time', 'serial', 'prog4_time', 'battery_low_capacity', 'prog3_time', 'prog5_time', 'rated_power', 'prog2_time', 'prog1_time']
19:48:48 ERROR   timeout reading 1 registers from 255 Prog6 Time
s6-rc: info: service legacy-services: stopping
[19:48:49] INFO: Service restart after closing
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun sunsynk (no readiness notification)
s6-rc: info: service legacy-services successfully started
19:49:06 INFO    Loading configuration: /data/options.json
19:49:06 INFO    sunsynk library version: 0.6.5
19:49:06 INFO    Schedules:
+-----------+-----+------+--------+-----------+----------+------------+
|    Key    | src | Read | Report | Change by | Change % | Change any |
+-----------+-----+------+--------+-----------+----------+------------+
| date_time |     |  60  |   60   |           |          |    True    |
|     rw    |     |  5   |  300   |           |          |    True    |
|    enum   |     |  5   |  300   |           |          |    True    |
|     w     |  *  |  1   |   60   |     80    |          |            |
|    kwh    |     | 300  |  300   |           |          |            |
|  any_unit |     |  15  |  300   |           |          |            |
|  no_unit  |     |  15  |  300   |           |          |    True    |
+-----------+-----+------+--------+-----------+----------+------------+
19:49:06 INFO    Using Single phase sensor definitions.
19:49:06 INFO    Added hidden sensors as other sensors depend on it: Rated power, Serial
19:49:06 INFO    Connecting to /dev/ttyUSB0
19:49:06 INFO    PyModbus 3.7.2 Serial: /dev/ttyUSB0
19:49:06 INFO    Reading startup sensors Prog3 Time, Prog6 Time, Prog4 Time, Prog5 Time, Prog2 Time, Battery Low Capacity, Prog1 Time, Serial, Rated power
19:49:50 ERROR   timeout reading 5 registers from 3; timeout reading 2 registers from 16; timeout reading 1 registers from 219; timeout reading 6 registers from 250
19:50:34 ERROR   timeout reading 5 registers from 3; timeout reading 2 registers from 16; timeout reading 1 registers from 219; timeout reading 6 registers from 250
19:51:18 ERROR   timeout reading 5 registers from 3; timeout reading 2 registers from 16; timeout reading 1 registers from 219; timeout reading 6 registers from 250
19:51:18 WARNING Retrying individual sensors: ['prog3_time', 'prog6_time', 'prog4_time', 'prog5_time', 'prog2_time', 'battery_low_capacity', 'prog1_time', 'serial', 'rated_power']
19:51:29 ERROR   timeout reading 1 registers from 252 Prog3 Time
19:51:41 ERROR   timeout reading 1 registers from 255 Prog6 Time
19:51:52 ERROR   timeout reading 1 registers from 253 Prog4 Time
19:52:03 ERROR   timeout reading 1 registers from 254 Prog5 Time
19:52:14 ERROR   timeout reading 1 registers from 251 Prog2 Time
19:52:25 ERROR   timeout reading 1 registers from 219 Battery Low Capacity
19:52:36 ERROR   timeout reading 1 registers from 250 Prog1 Time
19:52:47 ERROR   timeout reading 5 registers from 3 Serial
19:52:58 ERROR   timeout reading 2 registers from 16 Rated power
19:52:59 CRITICAL Could not read sensors: ['Prog3 Time', 'Prog6 Time', 'Prog4 Time', 'Prog5 Time', 'Prog2 Time', 'Battery Low Capacity', 'Prog1 Time', 'Serial', 'Rated power']
19:52:59 INFO    ############################################################
19:52:59 INFO    No response on the Modbus interface /dev/ttyUSB0, see https://kellerza.github.io/sunsynk/guide/fault-finding
19:52:59 INFO    ############################################################
19:52:59 CRITICAL This Add-On will terminate in 30 seconds, use the Supervisor Watchdog to restart automatically.


KDE Plasma Activities reset on reboot

Describe the bug
After every reboot reboot, my KDE Plasma Activities (not Virtual Desktops) are unavailable in the Activity Switcher on my panel.  I can get them back by going to System Settings→Workspace Behaviour→Activities and renaming each activity (and renaming back), but all activities other than the one my session booted into have been reset to defaults, as if they were just created.
Steps To Reproduce
Steps to reproduce the behavior:

Create more than one activity
Change wallpaper on and add a widget to all activities
Reboot
Log in

Expected behavior
For all activities to persist across reboots.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
This probably isn't relevant, but just in case, my rootfs is a tmpfs, with all directories in / mounted from ZFS datasets.

filesystems in NixOS configuration
_: {
  # /tmp is backed by disk instead of being a tmpfs, in order to save RAM.
  # Wipe it on boot.
  boot.tmp.cleanOnBoot = true;
  fileSystems =
    {
      "/" = {
        device = "none";
        fsType = "tmpfs";
        options = ["mode=755"];
      };

      "/boot" = {
        device = "/dev/disk/by-uuid/F4D3-E3D5";
        fsType = "vfat";
        options = ["X-mount.mkdir" "x-gvfs-hide"];
      };

      "/boot2" = {
        device = "/dev/disk/by-uuid/F4DB-E940";
        fsType = "vfat";
        options = ["X-mount.mkdir" "x-gvfs-hide"];
      };
    }
    // builtins.mapAttrs (mountpoint: dataset: {
      device = dataset;
      fsType = "zfs";
      options = ["zfsutil" "x-gvfs-hide"];
    })
    {
      # NixOS
      "/tmp" = "rpool/nixos/tmp";
      "/nix" = "rpool/nixos/nix";
      "/etc" = "rpool/nixos/etc";
      "/var" = "rpool/nixos/var";
      "/var/lib" = "rpool/nixos/var/lib";
      "/var/log" = "rpool/nixos/var/log";
      "/var/spool" = "rpool/nixos/var/spool";
      # User data
      "/home" = "rpool/userdata/home";
      "/root" = "rpool/userdata/home/root";
      "/home/aidan" = "rpool/userdata/home/aidan";
    };
}

Notify maintainers
Unsure of maintainers, so tagging some recent recurring contributors to nixos/modules/services/x11/desktop-managers/plasma5.nix
@K900 @laalsaas @eduarrrd @lheckemann
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.46, NixOS, 23.11 (Tapir), 23.11.20230819.d680ded`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.0`
 - channels(aidan): `"nixpkgs"`
 - channels(root): `"nixos"`
 - nixpkgs: `/home/aidan/.nix-defexpr/channels/nixpkgs`

Note: NixOS configuration is a flake.

Hi,
Using Nixos Unstable: I just tested on a new user: logging in on plasma wayland, creating activity with "meta+q", adding one plasma element on one activity and another on the other activity and rebooted.
It worked fine upon reboot

OK, so there's probably something else about my setup causing this.  I'm using X11 still if that matters.  What can I do to troubleshoot this further?  Is there some logging I should look at?

can you check if you have the files and that they are RW:
kactivitymanagerdrc
~/.local/share/kactivitymanagerd/resources/database*
also, can you try out moving to unstable? I find it weird that it might be an error with stable release, but i have only used unstable.
also before you changing to unstable, i will try it with x11 and update this comment in a few hours, i just can't try it right now!

All of those files are read-writable, and I am already tracking nixos-unstable.

I have not had this issue in a while, and now Plasma 6 is in NixOS unstable, so I'm going to close this.


Image sometimes disappears on iPad 3

I can successfully use retina.js on my site. But in 1 situation out of 10, the 2X image disappears briefly and relpaced by a big square after clicking a link on the site.

Thank you @cvocvo ! It works!


Upgrade to angular 17

I need to upgrade a project to angular v17 but actual library it's incompatible

npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@coreui/angular
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/@angular/common
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@coreui/angular
npm ERR<EMAIL_ADDRESS>from the root project

Angular
@coreui/angular
note

17.x
~4.7.x
latest

16.x
~4.5.x

15.x
~4.4.x
with standalone components


[BUG] com.azure.resourcemanager.AzureResourceManager.Authenticated.activeDirectoryUsers() are returning null

Describe the bug
All methods of the com.azure.resourcemanager.authorization.models.ActiveDirectoryUser obtained via com.azure.resourcemanager.AzureResourceManager.Authenticated.activeDirectoryUsers() are returning null (except for basic properties like principalName and id, for example).
Steps to reproduce the behavior:
1 - Configure credentials and create com.azure.resourcemanager.AzureResourceManager;
2 - List activeDirectoryUsers() and call methods;
Code Snippet
package br.com.luiscavalcantidev.azure.activedirectory;

import com.azure.core.management.AzureEnvironment;
import com.azure.core.management.profile.AzureProfile;
import com.azure.identity.ClientSecretCredential;
import com.azure.identity.ClientSecretCredentialBuilder;
import com.azure.resourcemanager.AzureResourceManager;
import com.azure.resourcemanager.AzureResourceManager.Authenticated;
import com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphUserInner;
import com.azure.resourcemanager.authorization.models.ActiveDirectoryUser;

public class AzureActiveDirectoryApp {
    public static void main(String[] args) {
        final String subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
        final String applicationId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
        final String tenantId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
        final String secret = "xx.xxxxxxxxxxxx_xx_xxxxxxxxxxxxxxx";

        final AzureProfile azureProfile = new AzureProfile(tenantId, subscriptionId, AzureEnvironment.AZURE);

        final ClientSecretCredential secretCredential = new ClientSecretCredentialBuilder()
                .clientId(applicationId)
                .clientSecret(secret)
                .tenantId(tenantId)
                .build();

        final Authenticated azureResourceManager = AzureResourceManager.configure()
                .authenticate(secretCredential, azureProfile);

        for (ActiveDirectoryUser user : azureResourceManager.activeDirectoryUsers()
                .list()) {
            final MicrosoftGraphUserInner innerModel = user.innerModel();

            // Do not return null
            System.out.println("user.id                                  :" + user.id());
            System.out.println("user.mail                                :" + user.mail());
            System.out.println("user.principalName                       :" + user.userPrincipalName());
            System.out.println("innerModel.displayName                   :" + innerModel.displayName());

            // Return null
            System.out.println("innerModel.userType                      :" + innerModel.userType());
            System.out.println("innerModel.creationType                  :" + innerModel.creationType());
            System.out.println("innerModel.accountEnabled                :" + innerModel.accountEnabled());
            System.out.println("innerModel.createdDateTime               :" + innerModel.createdDateTime());
            System.out.println("innerModel.lastPasswordChangeDateTime    :" + innerModel.lastPasswordChangeDateTime());
        }
    }
}

Expected behavior
Response with all methods returning what they "should" in the same way as console/CLI.
Screenshots

Setup:
OS: Linux/Windows
IDE: Apache NetBeans 15
Library/Libraries: com.azure.resourcemanager 2.12.0
Java version: 8
Additional context
We have all necessary/additional application API permissions for this operation: User.Read.All, Group.Read.All, Directory.Read.All and GroupMember.Read.All.

@weidongxu-microsoft could you please take a look at this issue reported by @luisCavalcantiDev

@XiaofeiCao Could you take a look?
There could be some field that not populated during List, but have value when Get on single item.

@luisCavalcantiDev
PS: if you are doing advanced work on MSGraph, you might want to use their dedicated SDK here https://github.com/microsoftgraph/msgraph-sdk-java

@luisCavalcantiDev Seems that default list returns only these properties.
You can add select parameter to enable retrieval of the properties you need:
final String consistencyLevel = null;
final Integer top = null;
final Integer skip = null;
final String search = null;
final String filter = null;
final Boolean count = null;
final List<Get6ItemsItem> orderby = null;
final List<Get7ItemsItem> select = List.of(
  Get7ItemsItem.ID,
  Get7ItemsItem.MAIL,
  Get7ItemsItem.USER_PRINCIPAL_NAME,
  Get7ItemsItem.DISPLAY_NAME,
  Get7ItemsItem.USER_TYPE,
  Get7ItemsItem.CREATION_TYPE,
  Get7ItemsItem.ACCOUNT_ENABLED,
  Get7ItemsItem.CREATED_DATE_TIME,
  Get7ItemsItem.LAST_PASSWORD_CHANGE_DATE_TIME
);

final List<Get8ItemsItem> expand = null;

for (MicrosoftGraphUserInner innerModel : azureResourceManager.activeDirectoryUsers()
   .manager().serviceClient().getUsersUsers().listUser(consistencyLevel, top, skip, search, filter, count, orderby, select, expand, Context.NONE)) {

   // Do not return null
   System.out.println("user.id                                  :" + innerModel.id());
   System.out.println("user.mail                                :" + innerModel.mail());
   System.out.println("user.principalName                       :" + innerModel.userPrincipalName());
   System.out.println("innerModel.displayName                   :" + innerModel.displayName());

   // Should return non-null value for existing properties
   System.out.println("innerModel.userType                      :" + innerModel.userType());
   System.out.println("innerModel.creationType                  :" + innerModel.creationType());
   System.out.println("innerModel.accountEnabled                :" + innerModel.accountEnabled());
   System.out.println("innerModel.createdDateTime               :" + innerModel.createdDateTime());
   System.out.println("innerModel.lastPasswordChangeDateTime    :" + innerModel.lastPasswordChangeDateTime());
}

@XiaofeiCao
If those fields are exposed by AADUser model, we probably should set them in select.
But if these fields are not exposed, user is recommended to use MSGraph lib. The few AAD related API in this lib is mostly for getting an AADUser and assign some access control to it via RBAC, not actually for managing AAD users.

@weidongxu-microsoft
The fields are exposed in MicrosoftGraphUserInner.
In portal, list and get use different sets of select paramters. The properties that this issue requests (createdDateTime, accountEnabled, etc) is not included in list but rather in get.
We can use same sets of select to align with portal. But I'm not sure this is what the issue wants.

@XiaofeiCao I mean our handwritten model, not the Inner one.

@weidongxu-microsoft
Oh, sorry. They are not exposed in our handwritten model ActiveDirectoryUser.

/unresolve

@XiaofeiCao, @weidongxu-microsoft thanks for the replies.
The suggestion of using selection as an argument to the User list is working.
However, I understand the original method I used is broken the way it is, since there is nothing suggesting the returned objects will be half populated. Either the current behavior should be documented or it should be fixed to populate all properties as expected.

@XiaofeiCao
If those fields are exposed by AADUser model, we probably should set them in select on our list API.
But if these fields are not exposed, user is recommended to use MSGraph lib. The few AAD related API in this lib is mostly for getting an AADUser and assign some access control to it via RBAC, not actually for managing AAD users.

@luisCavalcantiDev The simple thing is that we don't recommend to use this lib to manage AAD user. Please switch to https://github.com/microsoftgraph/msgraph-sdk-java

@luisCavalcantiDev
Some context, the innerModel is considered an implementation detail, and serves as an escape-hatch -- when user cannot find the property from other getters, they can try query there, as service may add new JSON property without our notice.
However, the drawback is that it is not something guaranteed (we don't test these), and it might get broken without notice (as it is considered implementation detail).
Actually, we had already changed that detail when upgrading from AD Graph to MS Graph around SDK version 2.2.0.
Similar about the REST API reported by Xiaofei https://github.com/Azure/azure-sdk-for-java/issues/30981#issuecomment-1249042764. It is regarded as implementation, as hinted by the meaningless naming.
Sorry about above not well documented.

I will leave the decision to @XiaofeiCao, of whether to add an overload of "list" with "select" parameter to let you input the required properties as String.
But know that this would not be our priority. Our priority is still provide the feature to manage Azure resource (this does not includes AAD), and AAD is only included to provide easy-to-use RBAC on the Azure resource.


a simple webpage for joining a sports activity

Could you provide more detail about what you're requesting?

Using the basics of CSS nd HTML a simple webpage containing a form for joining a sports activity

This site is about individual APIs and platform features: I've tried to
make sure each page only demonstrates one thing at a time.
However, your idea sounds useful. Maybe something you could build on a
different repo :)?
On Mon, 21 Jun 2021 at 10:11, bindaldhara @.***> wrote:

Using the basics of CSS nd HTML a simple webpage containing a form for
joining a sports activity
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/samdutton/simpl/issues/161#issuecomment-864870414,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABSDKTZBNCOYMM6MQ37TKDTT364RANCNFSM467Y4YJA
.

Am so srry for this but I didnt get what u r asking from me ..

I just mean that you could build a site of your own that uses basic CSS and
HTML to make a web page for a sports activity.
This site is for examples of single APIs and features.
On Mon, 21 Jun 2021 at 15:03, bindaldhara @.***> wrote:

Am so srry for this but I didnt get what u r asking from me ..
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/samdutton/simpl/issues/161#issuecomment-865058495,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABSDKRQI2CC7HKG3ZGR7ZLTT5BCTANCNFSM467Y4YJA
.


(BOLT-72) Execute PowerShell scripts in session

No longer executes a fresh powershell.exe per command invocation

Fixes argument passing problems around quotes (at least for
PowerShell scripts)

Changes what state carries over from script run to script run, so
that the following is now available in subequent calls to
_run_script against the same WinRM node:

Environment variables
script scoped variables
global scoped variables

CLA signed by all contributors.

After further thought and some discussion with @michaeltlombardi, I've removed e746be7, which was an exploration into running PowerShell scripts without writing files.  While it did improve performance, it came with a few downsides:

The PowerShell scripts themselves could not include @' / '@ style here-strings, which in itself is likely a deal breaker.
We would have had to deal more directly with the encoding of script files on disk rather than simply passing them to remote hosts to execute (i.e. consider issues with BOMs / UTF-8 vs UTF-16 / etc). Passing files makes things simpler in that case.

While the PowerShell module takes the above approach, ultimately it seems inappropriate for Bolt given the use cases.  Any performance issues with writing scripts to disk and sending them to remote hosts should be mitigated in later efforts that explore using SMB instead of the WinRM gem to send files.


Issue: IORING_OP_TIMEOUT with IOSQE_IO_LINK always cancels the next operation, which makes it unusable

IORING_OP_TIMEOUT returns -ETIME when expires, which is considered an error and will breaks the entire link. As a result, operations after IORING_OP_TIMEOUT with IOSQE_IO_LINK will always be canceled.
#include <unistd.h>
#include <liburing.h>

int main() {
	struct io_uring ring;
	io_uring_queue_init(8, &ring, 0);

    struct io_uring_sqe *sqe1 = io_uring_get_sqe(&ring);
    struct __kernel_timespec ts = {
        .tv_sec = 1,
        .tv_nsec = 0,
    };
    io_uring_prep_timeout(sqe1, &ts, 0, 0);
    io_uring_sqe_set_flags(sqe1, IOSQE_IO_LINK);

    struct io_uring_sqe *sqe2 = io_uring_get_sqe(&ring);
    struct iovec iov = {
        .iov_base = "OK\n",
        .iov_len = sizeof("OK\n"),
    };
    io_uring_prep_writev(sqe2, STDERR_FILENO, &iov, 1, 0);
    io_uring_submit_and_wait(&ring, 2);

    io_uring_queue_exit(&ring);
}

Expected: waits 1s then print "OK"
Actual: nothing is printed

I suggest that we should make IORING_OP_TIMEOUT with off == 0 return 0, as it will always expire.

How about we just don’t break links for timeouts with off == 0 when they expire?

On Dec 7, 2019, at 9:09 AM, Carter Li<EMAIL_ADDRESS>wrote:

I suggest that we should make IORING_OP_TIMEOUT with off == 0 return 0, as it will always expire.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

A common solution: how about adding a new sqe flag indicates that we should not break links no matter whether an error is returned

I like that idea. Maybe IOSQE_IO_FOO that works like IOSQE_IO_LINK, just doesn't break regardless of completion value of the parent? I think that'd be cleaner than needing to set both IOSQE_IO_LINK and IO_SQE_IO_LINK_NOBREAK (or whatever name).
Just need to think of a good name, maybe something that implies a stronger link.

Probably just IOSQE_IO_HARDLINK

Probably just IOSQE_IO_HARDLINK

good name

https://git.kernel.dk/cgit/linux-block/commit/?h=io_uring-5.5&id=a261a2acaa0b8650d885fac33dbd1581cb0659e5

Thanks. I will test it when it's merged into mainline.

The link to the commit is now broken - any hints as to where I can find it?

https://git.kernel.dk/cgit/linux-block/commit/?h=io_uring-5.5&id=4e88d6e7793f2f445f43bd608828541d7f43b608


Button model_function usage

How to get "id" value in Model Function when custom button is clicked?
or you have another solutions to get id when custom button is clicked, please.

you can do something like that :)
https://github.com/Laravel-Backpack/CRUD/issues/598#issuecomment-292815100

Hi @adnanfajr ,
I'll illustrate this using the example from the Backpack demo, the Monster entity:
Inside MonsterCrudController:
        $this->crud->addButtonFromModelFunction('line', 'open_google', 'openGoogle', 'beginning'); // add a button whose HTML is returned by a method in the CRUD model

Inside the Monster model:
    public function openGoogle($crud = false)
    {
        return 'text).'" data-toggle="tooltip" title="Just a demo custom button."> Google it';
    }

In the openGoogle() method you can do anything that you can do inside a regular method. You'll notice the above uses $this->text. Well you can also use $this->id ;-)
Hope it helps.
Cheers!


Fix broken instruction causing 404

Pretty sure you took a hit in installs.

LGTM

duplicate of #4
@meuter: please close

Thanks everyone and sorry for the lack of response!


FirelordJS

Link to project (GitHub): https://github.com/tylim88/Firelordjs
Describe the project in 2-3 sentences: Extremely High Precision Typescript Wrapper for Firestore Web, Providing Unparalleled Type Safe and Dev Experience
Why would Firebase developers be interested in this project?:
same reason as Firelord https://github.com/firebase/firebaseopensource.com/issues/234
except that this is for Web and it wraps around Firestore V9 API with more advanced ts typing
Have you added a .opensource/project.json file to your site: Yes

@tylim88 You have so many Firebase projects... Thank you for making Firebase Devs' lives easier :)
Btw, have you heard of Google Dev Library? You might want to consider submitting your projects to that site too (if you haven't already).

@thatfiredev thank you for letting me know, I will take a look


Mapillary Green is slightly off.

Description
Code now has MAPILLARY_GREEN LISTED AS 0X55FF22, but this should be changed to 0x05cb63.
Version
2.00-alpha.3
What browser are you seeing the problem on? What version are you running?
Chrome v107.0
Steps to reproduce
Just enable the mapillary map points and check the difference in color. It's subtle!

(rapid on left, mapillary web site on right)
The browser URL at the time you encountered the bug
https://mapwith.ai/rapid-v2-alpha3#background=EsriWorldImageryClarity&datasets=fbRoads,msBuildings&disable_features=past_future,others&id=r1933745&map=21.15/42.37467/-71.11420&photo=mapillary/5839352752741830&photo_overlay=mapillary

Update: Spoke with @bhousel- reason for this color divergence is that he picked a slightly more contrasting green to pair with the Kartaview Blue and Bing Streetside Teal.
That said, here is a before (left) and after (right) comparison using the correct Mapillary color:

The contrast looks nice I would say... But checking the Mapillary website, the colors of buttons and such are actually #0bcb63 which might be a good choice then.
See this color too:

Same #0bcb63 here too... so let's give that a go?

Fixed in 60bd5db76 but I am open to color suggestions.


feat: new media upload pipeline

Why
This PR brings our new media upload pipeline to life!

How
From now on, we will be uploading all of our media directly to our server and processing them on GCP before uploading them to IPFS/Bunny. Due to GCP's 32 MB limit, we have temporarily reduced the upload amount to 30 MB until we find a solution. However, note that 50 MB for IPFS is already a limiting factor.

Test Plan

@alantoa @intergalacticspacehighway DO NOT MERGE until @jorgeavaldez released to prod!


[Chore] Delete blogs unrelated to Swift and iOS.

Delete a blog name of "Kobe blog"

Modified: blogs.json

You are doing great work! Thank you 👍

Thank you always for your kind words.👍


Add doc for state first routing fix #47

Fix undocumented state first routing.

This behavior doesn't exist anymore since #59


Can't use call/invoke with proxies

I'm trying to call a method through a Proxy contract but it seems that protostar is checking the available methods on the contract I'm calling (as a proxy it has a default method but no method with the name I'm calling since I want it to be delegated to a class hash). I get the following error: [ERROR] Incorrect usage of invoke cheatcode - Tried to call unknown function

https://discord.com/channels/793094838509764618/964116575387021413

Blocked by https://github.com/software-mansion/starknet.py/issues/425


Daily Active Users Component

A component that tracks the average number of daily active users (DAU) which is a common user engagement metric.
Key features:

standard DAU average over the past 30 days
based on a visit within a 24 hour period

Possible extensions could include:

customize the average range via a parameter (number of days)
parameter to indicate weekly or monthly periods
allow the user to select the window range via a dropdown in the component
display a graph that trends the DAU over the window period of time

@alexmcdermid think you could merge with main to resolve conflicts? Once you do that I'll pull it in as-is (will make a couple of tweaks later on).


gotestwaf: 0.4.10 -> 0.4.11

Diff: https://github.com/wallarm/gotestwaf/compare/refs/tags/v0.4.10...v0.4.11
Changelog: https://github.com/wallarm/gotestwaf/releases/tag/v0.4.11
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 285365 run on x86_64-linux 1

1 package built:

gotestwaf


readme: link to Gemini client/server?

Hey, author of @derhuerst/gemini here. 👋
I think for users wanted to interact with the Gemini ecosystem, it's genuinely useful to quickly find a Gemtext parser and a Gemini client/server lib. As both @derhuerst/gemini & dioscuri are somewhat hard to find with regular search tools, let's cross-link from both readmes.
What do you think?

Excellent idea, added!

Excellent idea, added!


TypeError: dynamic_update_slice update shape must be smaller than operand shape, got update shape (1,) for operand shape (0,)

I have 8 RTX-4090 cards, and running grok-1 fails.
Reproducing steps:

Clone the grok-1
Install the requirements:Install the requirements:
pip install -r  requirements.txt
Download the Hugging Face weights:
git clone https://huggingface.co/xai-org/grok-1
The local mesh config change in run.py file
local_mesh_config=(1, 1)
Run the run.py file
python3 run.py

The error below:
Traceback (most recent call last):   File "/app/grok-1/run.py", line 87, in <module>     main()   File "/app/grok-1/run.py", line 82, in main     print(f"Output for prompt: {inp}", sample_from_model(gen, inp, max_len=100, temperature=0.01))   File "/app/grok-1/runners.py", line 597, in sample_from_model     next(server)   File "/app/grok-1/runners.py", line 481, in run     rngs, last_output, memory, settings = self.prefill_memory(   File "/usr/local/lib/python3.10/dist-packages/haiku/_src/multi_transform.py", line 314, in apply_fn     return f.apply(params, None, *args, **kwargs)   File "/usr/local/lib/python3.10/dist-packages/haiku/_src/transform.py", line 183, in apply_fn     out, state = f.apply(params, None, *args, **kwargs)   File "/usr/local/lib/python3.10/dist-packages/haiku/_src/transform.py", line 456, in apply_fn     out = f(*args, **kwargs)   File "/app/grok-1/runners.py", line 352, in hk_prefill_memory     settings = jax.tree_map(   File "/app/grok-1/runners.py", line 353, in <lambda>     lambda o, v: jax.lax.dynamic_update_index_in_dim(o, v, i, axis=0), TypeError: dynamic_update_slice update shape must be smaller than operand shape, got update shape (1,) for operand shape (0,).

Same issue, same steps as you @jifa513


rubocops/patches: GitLab patches should use .diff

Only .diff URLs return output comparable to the diffs from git diff --full-index. While the extra metadata from .patch is nice, the instability of the patch contents is undesirable. This has caused issues with patch contents changing over time, for example in https://github.com/Homebrew/homebrew-core/issues/43156 and https://github.com/Homebrew/homebrew-core/pull/72297.
I'll coordinate getting this into homebrew/core and linuxbrew/core but it will take a little while.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

Review period will end on 2021-03-03 at 08:16:56 UTC.

Would be good to wait for https://github.com/Homebrew/homebrew-core/pull/70826, as I really don't want to re-run CI again on it.

Review period ended.

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Resolved the merge conflicts for you.

https://github.com/Homebrew/homebrew-core/pull/74023

Being able to auto-correct patch URLs was a little useful, but it would've been nice if we could get an updated checksum with that too. I realised that while opening the {homebrew,linuxbrew}/core PRs.

This would probably need to be done in an audit rather than a rubocop

Agree. Though there's probably a more generic audit possible here: one that checks a URL's declared sha256 and whether it still matches. Thinking about it, though, I'm not sure we always want that fixed automatically with audit --online --fix.

Thinking about this a little more: in what situations would a checksum not match but the install would still succeed?
As far as I know the only time brew audit --online is really run is in the homebrew/core CI, after the install is completed. So, given that the formula installed successfully, I think it's reasonable to assume that the checksums all match. Just not sure it really helps much unless there's a use case I'm missing.
How often would you use something like this? It could be a --strict audit so a user could confirm that the checksums match without needing to install the formula. It's not something I'd find super useful, I think, but I wouldn't be opposed to a PR.

Thinking about this a little more: in what situations would a checksum not match but the install would still succeed?

This never happens. The install fails as soon as there is a checksum mismatch.

How often would you use something like this?

You can use it when you've used a .patch extension for a GitLab patch but need to fix it so it's a .diff extension. Or, maybe you put in the tarball checksum wrong (maybe you were updating a formula manually, and used curl to pipe to sha256sum instead of curl -L) and want to easily update the checksum without a bunch of copying and pasting.

How about a brew command for that? It seems like less of an audit kind of thing and more like an update-python-resources kind of thing, if that makes sense.

Maybe, but I'm thinking there are still circumstances you'd want to verify the sources even without needing to install a formula. For instance, I think regularly checking whether our sources still exist and have matching checksums might be useful, instead of discovering them in PRs that test lots of formulae (e.g. Go, Python, Rust).
It would need to be a non-failing test, because these tarballs disappear / get retagged all the time. But knowing ahead of time could be helpful.

Just thinking out loud, maybe this command could have a --deps flag to also check dependencies of a formula to help with the PR testing many formulae problem.
Could also have a --tap flag to check all formulae in a tap (probably not for much use on homebrew/core, though, as there's just a ton of resources).
It doesn't feel like the kind of thing that needs to or should happen on every PR run which is why I'm kind of pushing for a command like this rather than an audit. I wouldn't be opposed to an audit though if it seems like that makes more sense.
Also, we could have this command run once a day or once a week and post updates to an issue of all checksum mismatches to help us stay on top of things.

Any new thoughts on such a command?
Either way, I think this can be merged if we remove the autocorrection, right?

Any new thoughts on such a command?

Hadn't really had the chance to think about it 😅

Either way, I think this can be merged if we remove the autocorrection, right?

And deactivate the audit temporarily so that the PRs in {home,linux}brew/core can be merged.

Thanks @Rylan12. Will update my core PRs.

(Oops, more merge conflicts from #11170)

https://github.com/Homebrew/linuxbrew-core/pull/22752 and https://github.com/Homebrew/homebrew-core/pull/74023 updated.

Great! I've updated this branch to fix the conflicts. I've also commented this audit out with a TODO so it can be re-added once the core PRs are merged. I'll open a follow-up PR uncommenting it as soon as this is merged.

Follow-up in https://github.com/Homebrew/brew/pull/11191


question for set up

First of all, thank you for the great articles and research.  It said that I have No module named 'disvae' when I run " import disvae.utils.modelIO “at address, mimi-main\notebooks\mimi\models.py. I tried to download the module by using pip but it failed.
The error information was "ERROR: Could not find a version that satisfies the requirement disvae (from versions: none)ERROR: No matching distribution found for disvae".
Please tell me how to install it. I was wondering if the module is written by yourself. If that is true, please tell me where is the module and how to install it.

Have you solved this problem? I also have this problem, and following the method provided by the author cannot solve it. Can you show me your folder directory? I can't find the folder 'disentangling vae' under utils.py. Thank you very much for your answer! @rddy @leon946

我遇到的错误如下：---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_26692\2019642779.py in
11 import matplotlib as mpl
12
---> 13 from mimi import envs
14 from mimi import utils
15 from mimi import user_models
d:\Anaconda3\anaconda3\envs\mimienv\lib\site-packages\mimi-1.0-py3.7.egg\mimi\envs.py in
17
18 from . import utils
---> 19 from . import models
20
21
d:\Anaconda3\anaconda3\envs\mimienv\lib\site-packages\mimi-1.0-py3.7.egg\mimi\models.py in
16 import sys
17 sys.path.append(utils.dvae_dir)
---> 18 import disvae.utils.modelIO
19
20
ModuleNotFoundError: No module named 'disvae'

I don't know where to put the data folder, and there is no "disentangling vae" folder inside the data folder. Did I misunderstand what you mean? @rddy


Add make targets for common prow tests

This adds make targets for all the tests Openshift CI prow executes.
I removed the usage of the operator-sdk from the ocs-operater build process (it is still however used for the code generation make target). This allows us to have separate make targets for building the binary and building the container image. There's no impact to the dev flow. 'make ocs-operator' still results in the same container image being built along with the binary.

/cc @kshlm

Could we get a single make target that just runs all of these in one shot?

yep. I could make a single make target that calls all of them.  maybe call it something like make openshift-ci.

Alternatively, creating a script that could be set as a git pre-push hook would also be ideal so that these tests are run automatically as part of the local git workflow.

that's an interesting idea.
I'm unsure about whether or not that might get in the way of dev at times though. For example, sometimes I just want to save off whatever I'm doing quickly and push a dev branch to git. I'd get kind of frustrated if I couldn't push my branch just because it didn't compile.

You could always skip it with --no-verify. Also the hook would be optional per developer.

You could always skip it with --no-verify. Also the hook would be optional per developer.

yeah, I could see that making sense for golint, gofmt, and govet at least.  still unsure about executing that for some of the more complex targets that build and verify files.

Agreed.