Test Cases for Standup Feature and added return statement

Issues -
https://github.com/Real-Dev-Squad/website-status/issues/604
Description:

Write Test cases for Standup Feature.
In the staging-status site when the user is not logged in, it should show the message "You are not Authorized, click here to login" but this message was not visible. only a blank page was visible.

Before adding a return statement in the code

After adding a return statement in the code

After the user logs in he is able to see the standup feature form.

Dev Tested:

[x] Yes

There is no test for the page please write that

can you please check if it is according to your comment


Fix build errors for glibc 2.25

glibc 2.25 removes a few symbols for resolving related stuff. ATS never
even used those symbols anyways so let's just delete them.
This fixes issue #1589.

clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/358/

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/370/

AU check successful! https://ci.trafficserver.apache.org/job/autest-github/355/

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1946/

FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/2053/

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/484/

clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/617/

(Ran into this while compiling in alpine 3.6. Can confirm it fixes my issues as well)


Move auth to AWS

Describe the solution you'd like
Currently, authentication is handled by Firebase, which while being a simple and cheap solution, does not integrate as well with the AWS architecture. User data cannot be updated efficiently and we always have to transfer user data to and from the backend for full utility.
We recommend moving to AWS Amplify Authentication or something similar for better cloud integration.
This shall be a stretch goal and can be relegated as low-priority
Setup Instructions (what branch to work off of)
Run the following commands
git checkout dev
git pull origin dev
git checkout -b aws-login

FYI: If you are not able to immediately run git checkout dev, make sure you commit your changes in the current branch or run git stash and then execute the above commands

how easy is it easy to do aws amplify authentication. can ppl still login with google and stuff? @farisdurrani

@sliu526 here ya go! This is the current issue for this, AWS Amplify is pretty straightforward but I'll assist you with this one if needed.

@noah-iversen @farisdurrani isn't austin working on AWS Cognito for this purpose? Why AWS Amplify over cognito?


Spins compilation issue

While compiling LTSmin without a Java JDK, make reports:
test -f spins/spins.jar || (cd "./spins/src" && /usr/local/bin/ant)
Unable to find any JVMs matching version "(null)".
No Java runtime present, try --request to install.
No Java runtime present, requesting install.
make[1]: *** [spins/spins.jar] Error 1
make: *** [all-recursive] Error 1

CHECK_JDK was disabled in m4/acx_spins.m4 as it does not find OpenJDK
Maybe replace with a check for the presence of "javac" command?


chore/circle ci

Implements TravisCI + Coveralls integration

Changes Unknown when pulling 5710ba617392306cfa25d1377cdffcbb697dcb3a on chore/circle-ci into ** on master**.


Set up HDBSCAN Integration Framework

Description
Set up the basic framework for integrating HDBSCAN clustering algorithm into LogBatcher
Tasks

[x] Install HDBSCAN package
[x] Import necessary dependencies
[x] Set up basic integration points in cluster.py

Acceptance Criteria

[x] HDBSCAN package successfully installed and imported
[x] Basic integration structure created in cluster.py
[x] Code works with existing system
[x] Documentation updated with new dependencies

Technical Details

Primary file to modify: cluster.py
New dependencies to add: hdbscan
Need to maintain compatibility with existing vectorization

Effort Estimate
3-4 hours
Sprint: 1
Priority: High
Dependencies: None

Fixed in #14


Handling sqs-consumer stopped event?

I'm looking for the most effective way to gracefully handle the NestJS application lifecycle shutdown event, utilizing nestjs-sqs, while allowing my Nest app to conclude it's operation on the most recently received SQS message (often these operations are not atomic, and tend to be long-running).
I discovered the underlying sqs-consumer library emits a stopped event from the private waitForPollingToComplete() function once it has completed after stop() has been called on it.
I would like to take advantage of this event in the OnModuleDestroy or OnApplicationShutdown functions, perhaps by introducing a promise which resolves upon receiving the event such as:
public async onModuleDestroy() {
	await new Promise(resolve => consumer.once('stopped', resolve));
}

Would there be any reason not to want this built-in to the nestjs-sqs library and enabled with a options flag? I do understand there's additional complexity due to the library managing multiple consumers.

It only took one mere moment of looking back at the docs and my own existing code to realize I actually already have this stubbed out...
@SqsConsumerEventHandler('jobs.inbound', 'stopped')

Closing this issue and will chalk this up to the rubber ducky debugging process. Cheers!


Update Tomo price from Coinmarketcap

Currently using the old API version
In future, CMC will update the new API version. Therefore, we need to update following this new API version.

@tmlee thanks for your recommendation. We will consider to using CoinGecko API


[Feat]: revamp faq section on homepage ✨

What feature?

We need to revamp the FAQ Section on Homepage, currently the design is not perfectly structured the colors are looks inconsistent and many more.
We need to revamp the FAQ to improve the look and UI

Show us the magic with screenshots
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Hey there @Vaishnavi-Patil2211 👋🏻
Please make sure to assign this issue to me to make the work done!
Thank you.


The pointer yyptr is not free

In the hex_grammar.c, The pointer yyptr is not free.

yyptr is allocated with memory from the stack, via a call to alloca (https://man7.org/linux/man-pages/man3/alloca.3.html). This type of allocation is freed when the memory returns, and doesn't need explicit deallocation.

yyptr is allocated with memory from the stack, via a call to alloca (https://man7.org/linux/man-pages/man3/alloca.3.html). This type of allocation is freed when the memory returns, and doesn't need explicit deallocation.

OK, thank you.


Update semantic-release tokens

What
I need to update the tokens used in semantic-release

Closed in https://github.com/cujarrett/spellcheckme/pull/13

Closed in https://github.com/cujarrett/spellcheckme/pull/13


Code action widget status bar border does not match editor hovers

Code Actions

Editor Hover

It looks like the editor hover is doing this to achieve the softer border:
// hoverBorder === editorHoverBorder

collector.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${hoverBorder.transparent(0.5)}; }`);

I don't know of a way to pull this off in pure CSS when using our CSS vars. Might need to add the rule in the JS instead.

Alternatively, we could add something like editorHoverSeparator and replace both instances with the new color.


[Task]: Update Pytest to support Python 3.10

What needs to happen?
Update Pytest >= 6.2.5 to support Python 3.10 for Apache Beam Python SDK.
Issue Priority
Priority: 2
Issue Component
Component: sdk-py-core

.take-issue

Run XVR_JavaUsingPython_Dataflow PostCommit was failing with the Pytest update.  This gradle task runs on two times sequentially, with Python 3.7 and with Python 3.9 respectively.
When Pytest gets updated, the gradle task :sdks:python:setupVirtualenv runs only for Python 3.7 and when python 3.9 runs, :sdks:python:setupVirtualenv didn't run and it uses the cache from the previous Python run(I suspect this because, next to gradle task it says UP-TO-DATE but it shouldn't).

.close-issue

When Pytest gets updated, the gradle task :sdks:python:setupVirtualenv runs only for Python 3.7 and when Python 3.9 runs, :sdks:python:setupVirtualenv didn't run and it uses the cache from the previous Python run(I suspect this because, next to gradle task it says UP-TO-DATE but it shouldn't). This behavior is only observed when Pytest is updated from 4.6 to a version>=6.2.5.

@AnandInguva I'm currently observing this issue with Python 3.9 and PyTest 7.1.2. Is the current workaround to upgrade to Python 3.10?


MWPW-144525 | Fixing the code coverage plugin path

Fixing the code coverage plugin path
Stage PR: https://github.com/adobecom/cc/pull/229
Resolves: MWPW-144525
Test URLs:
Before: https://main--cc--adobecom.hlx.live/?martech=off
After: https://codecov--cc--aishwaryamathuria.hlx.live/?martech=off

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.78%. Comparing base (7be25a8) to head (ae7fc0b).

Additional details and impacted files
@@            Coverage Diff            @@
##           main     #230       +/-   ##
=========================================
+ Coverage      0   87.78%   +87.78%
=========================================
  Files         0        9        +9
  Lines         0      933      +933
=========================================
+ Hits          0      819      +819
- Misses        0      114      +114

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


Re-order methods of running in README

I think it makes sense to describe how to run Pronto locally first, since running against GitHub/GitLab requires more configuration. Thoughts?

@andyw8 makes sense :+1:


chore: new policy addon and gk versions

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
update policy addon and gatekeeper versions
Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[x] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2285

Relevant Lines:
2881

💛  - Coveralls


Provide input table from SAS dataset or CAS table

Now that pandas data frame is a supported input data source, we will extend functionality further to include an option to specify either a SAS dataset or a CAS table as a data source.
Why?
Given the main objective of providing tools which make it easier to integrate LLMs into the Viya ecosystem, this is a natural direction to go towards.  Data in the Viya ecosystem resides in SAS datasets, CAS tables or sources from databases and external data sources, manifested either as a SAS dataset or CAS table.
How?

An input data source will be added to the custom step
Code will convert input dataset to pandas data frame
Pandas data frame will be stored to Chroma vector store
Rest of the process will run as normal

July 2 :  Added UI control and updated About tab with simplest use case (SAS dataset)


Remove version: DominikReichl.KeePass version 2.53.1

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/keepass/files/KeePass 2.x/2.53.1/KeePass-2.53.1.msi/download
Status Code: 200
(Automated message - build 897)

Close with reason: Package still available.;


Fix type issue

Fix the following error:
Declaration of Lupennat\ExpandableMany\HasExpandableMany::indexFields(Laravel\Nova\Http\Requests\NovaRequest $request) must be compatible with App\Nova\Resource::indexFields(Laravel\Nova\Http\Requests\NovaRequest $request): Laravel\Nova\Fields\FieldCollection

The original method is in the trait \Laravel\Nova\ResolvesFields.
Laravel nova does not define a return type for this method, what version of Nova are you using?


let project build on windows

(don't ask why I'm using windows, but it seems these changes are all
that is required to make the project install and run fine)

don't ask why I'm using windows,

Should I ask why you are still awake? ;-)

but it seems these changes are all that is required to make the project install and run fine)

Wow I am impressed my convenience tool prunner (p for parallel) still works on windows :O
Thanks a lot!

Should I ask why you are still awake? ;-)

I should ask whether you have an alarm clock triggered by travis build?


Question: I have two tree with different root hash , but when I use iterate function to get all key and value of them, they are all same.

How can I find out the different value under the two tree？

this may be because insertion order differs. WIth iavl insertion order must be the same between the two trees


Modify: Google.Chrome.Dev version 128.0.6535.2

Created by 🥟 Dumplings.
Microsoft Reviewers: Open in CodeFlow

Close with reason: Duplicate of #159733;


Reorganizes the modules (and provides some easier abstractions)

Description

This PR reorganizes the crate a bit by categorizing the different interfaces under stream and read modules. Also provides some easier abstractions and hides the flate API that's commonly shared between zlib and deflate.
Motivation and Context

How Has This Been Tested?

Types of changes

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

Checklist:

[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

r? @Nemo157


libModsecurity configuration parsing errors in apache virtualhost

Hello.
I managed to successfully install libModsecurity and make it work with apache2 :

Ubuntu 18.04
LibModsecurity v3.0.2
Apache 2.4.29 (from apt lists)

I followed the steps described in this Dockerfile.
However I encountered some dysfunctions while configuring my virtual hosts, that I think should be reported. My virtualHost use the "modsecurity_rules_file" directive pointing to a security.conf, as following :
modsecurity_rules_file  /etc/apache2/sites-enabled/waf-lab-www.lab/security.conf

I figured out that if this line is followed by a empty line, this error is shown in the journalctl :
Failed to open the file: /etc/apache2/sites-enabled/waf-lab-www.lab/security.conf\n

Removing the empty line make the path correct, so my configuration was successfully imported. However , the file was still not parsed correctly, as show the following journalctl error message
waf-v3 apachectl[1144]: Rules error. File: /etc/apache2/sites-enabled/waf-lab-www.lab/security.conf. Line: 2. Column: 61. Invalid input:  SecAuditLog\t\t"/var/log/apache2/waf-lab-www.lab/security.log

I managed to make it work removing the tabulations in my file and replacing them by white spaces.
My VHost File :
<VirtualHost *:80>
        ServerName      waf-lab-www.lab
        ServerAlias     waf-lab-www

        Redirect         "/"                            "https://waf-lab-www.lab/"

</VirtualHost>

<VirtualHost *:443>
        ServerName      waf-lab-www.lab
        ServerAlias     waf-lab-www

        CustomLog       /var/log/apache2/waf-lab-www.lab/access.log     common
        ErrorLog        /var/log/apache2/waf-lab-www.lab/error.log

        SSLEngine       On
        SSLProxyCheckPeerCN     On
        SSLProxyEngine          On
        SSLCertificateFile      "/etc/ssl/certs/waf-lab-www.lab.crt"
        SSLCertificateKeyFile   "/etc/ssl/private/waf-lab-www.lab.key"

        <Proxy *>
                Redirect permanent      "/normal.php"                   "/redirected.php"
        </Proxy>

        ProxyPreserveHost       On
        ProxyRequests           On
        ProxyPass               "/"                             "http://<IP_ADDRESS>/"
        ProxyPassReverse        "/"                             "http://<IP_ADDRESS>/"

        modsecurity_rules_file '/etc/apache2/sites-enabled/waf-lab-www.lab/security.conf'
</VirtualHost>

Imported security.conf :
SecRuleEngine On
SecAuditLog "/var/log/apache2/waf-lab-www.lab/security.log"
SecAuditLogFormat JSON

PS : Thank you for this great library :)

Well, actually, the configuration contained in a virtual host seems to be parsed, but ignored. And this, regardless of which of modsecurity_rules or modsecurity_rules_file directive you're using.
I can confirm that modsecurity is working because default configuration is applied, logging in /var/log/modsec_audit.log

Hi @Clement-Ruiz, thanks for your report.
So the issue you reported only happens when trying to load ModSecurity-apache from a VirtualHost configuration? It works fine outside VirtualHost?
I don't think this should cause the syntax issues you're mentioning but wondering if your configuration might be missing the:  modsecurity on, directive prior to loading the rules with modsecurity_rules_file directive?
PS: This reminds me, the README file from this project is missing some Usage advice :)

Hey @Clement-Ruiz, modsecurity on is supported here and evaluated here ;)
But yes, SecRuleEngine might overwrite that directive as well.
Please confirm if the tabulation errors doesn't happen if you rebuild ModSecurity-apache without the Dockerfile.

@victorhora About modsecurity on, sorry about that, I'm not ~really~ a C developper, I didn't take a close look at the code.
I confirm the tabulations error. I did not use the Docker image built with this dockerfile, I used the steps described in it to install Modsec on a Ubuntu 18.04 Virtual Machine, so it's actually easy to reproduce.
I also tested the docker image, and the same bug is appearing.
Remember that \n errors appears while modsecurity* are invoked and followed by an empty line.
Also, \t errors appears in the imported files into the vhost configuration. (Hope I'm clear enough, don't hesitate to ask me if I'm not :) )

Hi,
I was investigating that issue and notice the exactly same behavior as a consequence of the strict security policy on Linux (SELinux, APPArmor, etc...) whenever you don't have permission to either read or write (audit log case) the Apache fails to load.
The \n is in fact added by libModSecurity to pretty print the error message.
I am closing that issue because I am assuming that it is related to permissions. Please double check your permissions and feel free to re-open in case you found something weird.

For historical purposes, the limitation with "\t" was addressed here: https://github.com/SpiderLabs/ModSecurity/commit/dc78c0e180d09aa1b2f0ffad1a8d6967e69f984f


Feature request: enable retries by default for all jobs

As per this doc https://procrastinate.readthedocs.io/en/stable/howto/retry.html
We have to specify a retry strategy for every task we create. Would it be possible to add a retry option to the procrastinate App class so that all tasks are retried by default?

maybe the easiest way would be to use you own decorator for building tasks, which would have your default value for retry ?
functools.partial is likely to help in that.

app = ...

my_task = functools.partial(app.task, retry=True)

@mytask
def some_task():
	...

(of course, using a better name than my_task is advised)


taproot: add PSBT signing support for Taproot, fix remote signing Taproot support

Fixes https://github.com/lightningnetwork/lnd/issues/6268.
Fixes https://github.com/lightningnetwork/lnd/issues/6446.
Remaining TODOs:

Depends on https://github.com/lightningnetwork/lnd/pull/6361
Depends on https://github.com/btcsuite/btcd/pull/1820
Depends on https://github.com/btcsuite/btcd/pull/1847
I want to test compatibility with hardware wallets that support Taproot signing

I added finalization support to the btcd PSBT PR and added new itests for the SignPsbt RPC.
Does anyone have a hardware wallet that already supports Taproot? @positiveblue, @Roasbeef?
I'll try testing compatibility against https://github.com/bitcoin/bitcoin/pull/22558 but don't have a compatible HWW at hand, currently.

I don't see the areas where we extract that and place it into the witness though.

That's only done in the PSBT finalizer (I added that to the btcd wallet recently, perhaps you missed the change).
Also see my last inline comment with some additional explanations.


API for data storage gives inaccurate info about keys

API for data storage gives inaccurate info about keys and it switches between the correct value and the incorrect value.
for example:
Value is 1 in Data storage
But the API Stutters between 0-1
Thank you.

Please specify which version you are using, if you're not using the official turbowarp version, please consider switching to it as all the other version are deprecated and will not receive updates.


bug in download_data.py

the default  data_dir = "DATA",that is what I use. the vgg data is in 'DATA/vgg16.npy'.  But when decide whether to download the vgg data or not,you use vgg_weights = os.path.join(data_dir, 'weights', 'vgg16.npy'), which the folder is 'DATA/weights/vgg16.npy', this will cause redownload the vgg data again and agin(default: the data is stored in 'DATA/vgg16.npy')

just create a subdir weights in DATA and put vgg16.npy in it

OK， locatethe downloaded  ‘vgg16.npy’in file 'RUN/weights/'？


[BUG][UX/InfoArch] "Observability Panel" of Dashboards List conflict with "Operational Panel" in Observability Module

What is the bug?
Dashboards List with Integrated Observability Operational Panel uses the name "Observability Panel" in the list.
Observability module uses the name "Operational Panel" in breadcrumb, modal-dialog titles, etc.
This might be confusing to users and disorienting.
How can one reproduce the bug?
Steps to reproduce the behavior:

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

What is the expected behavior?
Choose a single consistent module name for Panels.
Suggest migrate to "Observability Panel" everywhere in order to adhere to visibility and intent of "Observability".
What is your host/environment?

OS: [e.g. iOS]
Version [e.g. 22]
Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.

@kgcreative FYI

+1 - at a first glance this makes sense to me. Cc: @kavck + @KrooshalUX

"Panel" is a very overloaded term in our product and it also conflicts with OuiPanel, which leads to a lack of clarity in communications.
Are we open to considering "Observability Dashboard" ?

+1 - I would prefer we align behind Observability Dashboard


Feature request - inverse_transform function from umap-learn lib

Hello,
It would be super useful for some implementations if this library would have the inverse_transform function. Here is the function in umap-learn cpu lib:
https://umap-learn.readthedocs.io/en/latest/api.html?highlight=inverse_transform#umap.umap_.UMAP.inverse_transform
Thank you,

This is the implementation that those docs are referring to. Perhaps you wanted the GPU implementation in RAPIDs, or one of the implementations in a different language (R or Julia)?

ahhh, my apologies. Too many tabs get confusing sometimes. I added this feature request to the cuml repo. Thanks for the heads-up.


QueryBuilder build into a GridifyQuery

Details
I am using Gridify in a Blazor WASM application, right now I am having to build out the GridifyQuery filter & order strings by hand.
I think it would be nice if I could utilize the QueryBuilder which would contain a method that can build the instance of the QueryBuilder into a GridifyQuery using all the conditions etc that I provided to the builder.

Hi @Alexr03,
I don't think QueryBuilder is the best option for constructing the query, as it also manages the Mapper and other configurations. I'm not quite sure what problem you're trying to solve—if you're building the query on the client side, why do you need the GridifyQuery object? You could pass the QueryBuilder object around instead.
It would be great if you could explain a bit more or provide some code examples to clarify what you're trying to achieve.
Gridify has a JS/TS client-side QueryBuilder that helps generate the query. Are you looking for something similar in C#?
https://alirezanet.github.io/Gridify/guide/extensions/gridify-client#usage-example

Ahh yes, my apoligies I think I got myself mixed up with that QueryBuilder for JS/TS.
Yes I am looking for a C# version of that.


Decode state for Yuneec ST24

move the decode state enum to the header file so that it can be used in other files

@mrivi Looks good.
@dagar What are these codecov tests about and should they work or should we ignore them?

Sorry about the noise, it's what codecov does by default. Please ignore them, they'll hopefully be silenced soon.

@dagar Ok. Thanks!


prepare image/flist for 3bot version of gitea

should live in tf-images

flist done in docker hub threefolddev/gitea_all_in_one
but still waiting this issue https://github.com/threefoldtech/tf-gitea/issues/8

verifed

flist updated https://hub.grid.tf/bishoy.3bot/threefolddev-gitea_all_in_one-latest.flist


Date picker styles not getting applied after built using rollup

I'm working on a component library where I'm using the Date picker component.
I have imported CSS (import 'react-datepicker/dist/react-datepicker.css'). When I run storybook in my project, styles are applied, but when I build it using rollup then the styles are not getting applied.
My Rollup postcss config looks like this
postcss({
     modules: true,
     extract: true,
     sourceMap: false,
     minimize: true
}),

I'm having the same problem and came looking to see if there was any answers to this problem

Did you ever figure out a fix for this? I'm having the exact same issue and assumed it was the hashing we were applying to our classes. I excluded classes starting with "react-datepicker" from our storybook/webpack so looks great in storybook. When I add the same to rollup.config, it looks like the datepicker styles aren't even getting compiled as I don't see them in the built page with the hashing or otherwise. I then found a bunch of camel case styles (reactDatepicker__time) but not even sure where these are getting applied. I will try to look more into passing styles through rollup, but wanted to see if you ever found a solution. Thanks!


SignUp Page design

This is the non functional sign up page feel free to correct and also land ideas for improvement.

Nice work. Check this link on some git best practices. https://github.com/andela/bestpractices/wiki/Git-naming-conventions-and-best-practices


Optimize CTC loss

In the current CTC implementation, it uses a (N, N) dense connection matrix where N is length of a path. To calculates the next probability, each node requires O(N^2) time.  Each node only connects to at most three node (the same character, the previous character and the previous blank character. all weights for other nodes are filled with -infity). So its time complexity can be O(N). We can reduce computational complexity drastically.

I finished all planned optimization. I'll close this issue.


koyeb rd list: allow to filter the deployment id

Add the option --deployment to koyeb rd list.
We can maybe also filter on the service and application.

The API doesn't currently supports filtering on the service or on the application. We'll only filter on the deployment, until we have requests to implement the API changes.


Fix indent in README.md IRC example

Presumably the initial tab was unintented

I've merge the PR but github was down at the time and didn't close it, so I'll close.


Fixed ng lint warnings

double quote vs. single quote,
BookDataSource used before declaration,
missed semicolon
unnececary semicolon
missed whitespace
let vs. const

I spotted on lint errors, when I worked with code example step by step.
Then I checked this repo, I realized the code originally not checked with ng lint.
So here I am - with small code changes, so that code syntax is correct now.
@didinj please consider this to merge, BUT, make sure u test/verify it.
And if os, also, please update ur article content on page:
https://www.djamware.com/post/5b00bb9180aca726dee1fd6d/mean-stack-angular-6-crud-web-application
Related to issue #3

up :)


Videos with m3u8 extension do not appear through ajax

I made a system that opens in the plyr player by sending the id of the videos, this system works in normal mp4, but when I do it with hls.js, I get the video:
<video poster="" id="player" playsinline="" update:="" false=""></video>
However, when I open the page on chrome, the player is running. It also works when I open the page in iframe.
The codes I use in Ajax are:
<?php
$output .= '<div class="plyr">
        <video poster="'.$thum.'" id="player" playsinline update: false controls></video>
		<script src="https://cdn.rawgit.com/video-dev/hls.js/18bb552/dist/hls.min.js"></script>
		'.
		"<script>
		document.addEventListener('DOMContentLoaded', () => {
	const source = '".$videoLink."';
	const video = document.querySelector('video');

// For more options see: https://github.com/sampotts/plyr/#options
	// captions.update is required for captions to work with hls.js

	if (!Hls.isSupported()) {
		video.src = source;
	} else {
		// For more Hls.js options, see https://github.com/dailymotion/hls.js
		const hls = new Hls();
		hls.loadSource(source);
		hls.attachMedia(video);
		window.hls = hls;

		// Handle changing captions
		player.on('languagechange', () => {
			// Caption support is still flaky. See: https://github.com/sampotts/plyr/issues/994
			setTimeout(() => hls.subtitleTrack = player.currentTrack, 50);
		});
	}

	// Expose player so it can be used from the console
	window.player = player;
});</script>"; ?>

In order to solve this situation, I paste this code to another page and from there, I get ajax as iframe, But this solution is temporary.

Expected behaviour
<video poster="" id="player" playsinline="" update:="" false="" src="blob:https://example.com/d581bd72-a34d-40e7-b238-1ea3ac7425c2"></video>
Actual behaviour
<video poster="" id="player" playsinline="" update:="" false=""></video>
Steps to reproduce
Environment

Browser: All
Version: 3.5.3
Operating System: Windows
Version: 10

Console errors (if any)
Link to where the bug is happening

I don't think this is an issue with Plyr itself by the sound of things. We don't maintain hls.js. You do have some issues with your markup though:
<video poster="'.$thum.'" id="player" playsinline update: false controls></video>

Should be
<video poster="'.$thum.'" id="player" playsinline controls></video>

Also, you open a <div> and don't close it.

You're right hls.js doesn't work when the data is on the page that is sent as ajax, but it works when the data is on the sending page. Thanks for the code correction. :D
I solved the problem.

You're right hls.js doesn't work when the data is on the page that is sent as ajax, but it works when the data is on the sending page. Thanks for the code correction. :D
I solved the problem
The problem is happening in some trials but it is totally caused by hls.js.

Awesome 👍


little typo to show line numbers

This is correct and intended: https://neovim.io/doc/user/lua-guide.html#_-vim.o

vim.wo is correct and intended: https://neovim.io/doc/user/lua-guide.html#_-vim.o

vim.wo: for window-scoped options (can be double indexed)

your are absolutely right! will read the docu more!


WFLY-13863 Adding Wildfly logo in README.md

Issue: https://issues.redhat.com/browse/WFLY-13863

@yersan here it is :)


Where is plotters-backend hosted

The Repository URL at https://crates.io/crates/plotters-backend is incorrect.

Hi, I checked the crates.io, the repository link seems right.
https://github.com/plotters-rs/plotters-backend.

https://github.com/plotters-rs/plotters-backend/blob/master/Cargo.toml#L3 is it right?

https://github.com/plotters-rs/plotters-backend/blob/master/Cargo.toml#L3 is it right?

Oops, I should push the local commit. Just fixed, thanks a lot


NIXPKGS_PATH is defined after the user variables

Because of how the module system works, the values in the top module are set before anybody else.
This causes an issue because a user might want to set the NIX_PATH to nixpkgs:$NIXPKGS_PATH, which is set after.

@infinisil do you know of a trick to control the module loading order?
I tried moving the configuration at the end of this list but it doesn't seem to make a difference:
https://github.com/numtide/devshell/blob/72297414a5c04e1503999766434cdcae7b9e5325/modules/default.nix#L13

You can use mkAfter/mkBefore to control the order of definitions, like config.myOption = mkAfter "someString"

thanks!


Adding the serviceWorkerVersion to main.dart.js

WIP
Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.
The serviceWorkerVersion seems to control that the browser fetches the latest main.dart.js file, rather than relying on cache, if a new version is available. This works fine in most cases, but Safari on MacOS seems not the refresh the main.dart.js even though you can read in the console that the new serviceworker was detected.
By adding the ?v=$serviceWorkerVersion to main.dart.js, Safari is forced to refresh the file if a new one was deployed.
List which issues are fixed by this PR. You must list at least one issue.
https://github.com/flutter/flutter/issues/63500
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[ ] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Im not sure if this improves the behavior anymore. Therefore I closed the PR for now.

does any solution work?


Callback types are not specific

Previously external types were more complete:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-plaid-link/index.d.ts#L66-L84
Now we have just this:
https://github.com/plaid/react-plaid-link/blob/fc3913d918a6ddd1f256c5559c0abe7f73cccdae/src/types/index.ts#L16
This forces me to declare types for my callbacks manually in my code. Could we add previous callback types to the TS rewrite?

Similarly, product types were more specific:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-plaid-link/index.d.ts#L30-L41
vs:
https://github.com/plaid/react-plaid-link/blob/fc3913d918a6ddd1f256c5559c0abe7f73cccdae/src/types/index.ts#L13

It would indeed be hugely beneficial to include types for these functions, either as part of this package or by importing types from elsewhere, for example https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/plaid-link/index.d.ts#L40

hey @jekh @jgonera im working on this here https://github.com/plaid/react-plaid-link/tree/sb-improve-examples-and-types

Hi all please check out the the new types that are now provided by the package. They should meet your needs:
https://github.com/plaid/react-plaid-link/blob/master/src/types/index.ts#L24-L83
https://github.com/plaid/react-plaid-link/blob/master/examples/hooks.tsx#L26-L40


Support for apple sign in

Prerequisites
We do our best to reply to all the issues on time. If you will follow the given guidelines, the turn around time will be faster.
Consider an RFC
Please create an RFC instead, if

Feature introduces a breaking change
Demands lots of time and changes in the current code base.

Delete the above section and the instructions in the sections below before submitting
Why this feature is required (specific use-cases will be appreciated)?
I submitted my app to app store review and app store want me to add apple sign in, since i am using google and facebook sign in.
Have you tried any other work arounds?
I have looked for couple of solution but all ends with removing adonis from system, which is not possible for me.
Are you willing to work on it with little guidance?
no

Not something we are planning to do right now. Feel free to do a PR, if you want support for same

@manishnaruka any solution?

Is this still needed? I just integrated twitch with ally and I can have a look if I can do the same here.

We already have one as a community package https://github.com/bitkidd/adonis-ally-apple


none of the service methods are being generated in the signature

Right now, the answer and motion use just the short version of the service, which works but it:

allows one method of service
allows only the first plaintiff to be served
does not fill in service date, always leaves a blank to fill in later
does not allow tenant to choose to fill in service later

fixed (although the problems i identified are still the same)


Installation from PyPi is missing the version

When downloading the source package from PyPi and installing it with pip install . the version of templateflow is set to 0.0
This is due to the setup() call in setup.py missing the use_scm_version=True argument. See https://pypi.org/project/setuptools-scm/
From the "setup.cfg usage" section

However, use_scm_version must still be placed in setup.py

Alternatively the setup.py file could also be removed so the PEP158 installation is used and no data duplication is required (check this carefully, not fully sure about setup.cfg vs pyproject.toml)

would you care to send a patch? it would be very much appreciated and we can keep track of your contribution reporting the problem thereafter.

would you care to send a patch? it would be very much appreciated and we can keep track of your contribution reporting the problem thereafter.

I have just tried to replicate and failed - pulled the source package from pypi and run pip install ., the reported version was 0.7.1 as expected. It is my impression that use_scm_version is no longer required.
Please reopen if this is not the case.

, the reported version was 0.7.1 as expected.

How did you check that?
I just tried that and got:
Building wheels for collected packages: templateflow
  Building wheel for templateflow (PEP 517) ... done
  Created wheel for templateflow: filename=templateflow-0.0.0-py3-none-any.whl size=209102 sha256=29b6ca931ef9c6cf4cc2a1586d66c559de0f341f0227d3c60b8ec617fc46317d
  Stored in directory: /home/h3/s3248973/.cache/pip/wheels/6c/84/bb/e3c873ed8b76aaddce9e5189aae2e0e652352da6b396199a8b
Successfully built templateflow
Installing collected packages: bids-validator, sqlalchemy, num2words, pybids, templateflow
Successfully installed bids-validator-1.8.2 num2words-0.5.10 pybids-0.13.2 sqlalchemy-1.3.24 templateflow-0.0.0

And pip list shows: templateflow                  0.0.0
Also the documentation of setuptools is pretty clear that this option IS required, see the quoted sentence in my initial post.
I opened https://github.com/templateflow/python-client/pull/81 for that.

What is your setuptools_scm version?

setuptools                    46.1.3
setuptools-scm                3.5.0

I just checked, and the Pypi tarball does have the file templateflow/_version.py with the appropriate version 0.7.1 set there.

Sure, but the meta-data of the installed python package doesn't get that without the line I added which is required as per the official documentation

(base) oesteban@hos65851:~$ python -m venv templateflow-env
(base) oesteban@hos65851:~$ source templateflow-env/bin/activate
(templateflow-env) (base) oesteban@hos65851:~$ cd Downloads
(templateflow-env) (base) oesteban@hos65851:~/Downloads$ wget https://files.pythonhosted.org/packages/5a/36/f0ff44c4e11b91dd8398001c675753cea7ce47db0f67b6f1ed98a4ed806d/templateflow-0.7.1.tar.gz
--2021-09-15 10:26:57--  https://files.pythonhosted.org/packages/5a/36/f0ff44c4e11b91dd8398001c675753cea7ce47db0f67b6f1ed98a4ed806d/templateflow-0.7.1.tar.gz
Resolving files.pythonhosted.org (files.pythonhosted.org)... <IP_ADDRESS>, 2a04:4e42:1b::319
Connecting to files.pythonhosted.org (files.pythonhosted.org)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 211938 (207K) [application/x-tar]
Saving to: ‘templateflow-0.7.1.tar.gz.1’

templateflow-0.7.1.tar.gz.1                          100%[=====================================================================================================================>] 206.97K  --.-KB/s    in 0.02s

2021-09-15 10:26:58 (8.93 MB/s) - ‘templateflow-0.7.1.tar.gz.1’ saved [211938/211938]

(templateflow-env) (base) oesteban@hos65851:~/Downloads$ tar xzf templateflow-0.7.1.tar.gz.1
(templateflow-env) (base) oesteban@hos65851:~/Downloads$ cd templateflow-0.7.1/
(templateflow-env) (base) oesteban@hos65851:~/Downloads/templateflow-0.7.1$ pip install .
Processing /data/home/oesteban/Downloads/templateflow-0.7.1
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting pybids>=0.12.1
  Downloading pybids-0.13.2-py3-none-any.whl (3.2 MB)
     |████████████████████████████████| 3.2 MB 6.0 MB/s
Collecting tqdm
  Downloading tqdm-4.62.2-py2.py3-none-any.whl (76 kB)
     |████████████████████████████████| 76 kB 2.3 MB/s
Collecting requests
  Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting patsy
  Using cached patsy-0.5.1-py2.py3-none-any.whl (231 kB)
Collecting sqlalchemy<1.4.0.dev0
  Using cached SQLAlchemy-1.3.24-cp38-cp38-manylinux2010_x86_64.whl (1.3 MB)
Collecting nibabel>=2.1
  Using cached nibabel-3.2.1-py3-none-any.whl (3.3 MB)
Collecting click
  Using cached click-8.0.1-py3-none-any.whl (97 kB)
Collecting pandas>=0.23
  Downloading pandas-1.3.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.5 MB)
     |████████████████████████████████| 11.5 MB 84.8 MB/s
Collecting bids-validator
  Downloading bids_validator-1.8.2-py2.py3-none-any.whl (19 kB)
Collecting scipy
  Downloading scipy-1.7.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (28.4 MB)
     |████████████████████████████████| 28.4 MB 64.4 MB/s
Collecting num2words
  Using cached num2words-0.5.10-py3-none-any.whl (101 kB)
Collecting numpy
  Downloading numpy-1.21.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.8 MB)
     |████████████████████████████████| 15.8 MB 9.6 MB/s
Collecting idna<4,>=2.5; python_version >= "3"
  Using cached idna-3.2-py3-none-any.whl (59 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
Collecting charset-normalizer~=2.0.0; python_version >= "3"
  Downloading charset_normalizer-2.0.5-py3-none-any.whl (37 kB)
Collecting certifi>=2017.4.17
  Downloading certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
     |████████████████████████████████| 145 kB 10.7 MB/s
Collecting six
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting packaging>=14.3
  Using cached packaging-21.0-py3-none-any.whl (40 kB)
Collecting python-dateutil>=2.7.3
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting pytz>=2017.3
  Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
Processing /home/oesteban/.cache/pip/wheels/56/ea/58/ead137b087d9e326852a851351d1debf4ada529b6ac0ec4e8c/docopt-0.6.2-py2.py3-none-any.whl
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Building wheels for collected packages: templateflow
  Building wheel for templateflow (PEP 517) ... done
  Created wheel for templateflow: filename=templateflow-0.7.1-py3-none-any.whl size=209119 sha256=9c92fb3f18309270bb112aa41c6bda0e9f2efc74b77faf6009fb7d5043637d2e
  Stored in directory: /home/oesteban/.cache/pip/wheels/dd/a2/57/c21f424f03d7303589a136906dd62c5fd655834a8350ec8123
Successfully built templateflow
Installing collected packages: numpy, six, patsy, sqlalchemy, pyparsing, packaging, nibabel, click, python-dateutil, pytz, pandas, bids-validator, scipy, docopt, num2words, pybids, tqdm, idna, urllib3, charset-normalizer, certifi, requests, templateflow
Successfully installed bids-validator-1.8.2 certifi-2021.5.30 charset-normalizer-2.0.5 click-8.0.1 docopt-0.6.2 idna-3.2 nibabel-3.2.1 num2words-0.5.10 numpy-1.21.2 packaging-21.0 pandas-1.3.3 patsy-0.5.1 pybids-0.13.2 pyparsing-2.4.7 python-dateutil-2.8.2 pytz-2021.1 requests-2.26.0 scipy-1.7.1 six-1.16.0 sqlalchemy-1.3.24 templateflow-0.7.1 tqdm-4.62.2 urllib3-1.26.6
WARNING: You are using pip version 20.1.1; however, version 21.2.4 is available.
You should consider upgrading via the '/home/oesteban/templateflow-env/bin/python -m pip install --upgrade pip' command.
(templateflow-env) (base) oesteban@hos65851:~/Downloads/templateflow-0.7.1$ pip list
Package            Version
------------------ ---------
bids-validator     1.8.2
certifi            2021.5.30
charset-normalizer 2.0.5
click              8.0.1
docopt             0.6.2
idna               3.2
nibabel            3.2.1
num2words          0.5.10
numpy              1.21.2
packaging          21.0
pandas             1.3.3
patsy              0.5.1
pip                20.1.1
pybids             0.13.2
pyparsing          2.4.7
python-dateutil    2.8.2
pytz               2021.1
requests           2.26.0
scipy              1.7.1
setuptools         47.1.0
six                1.16.0
SQLAlchemy         1.3.24
templateflow       0.7.1
tqdm               4.62.2
urllib3            1.26.6
WARNING: You are using pip version 20.1.1; however, version 21.2.4 is available.
You should consider upgrading via the '/home/oesteban/templateflow-env/bin/python -m pip install --upgrade pip' command.

Interesting... Maybe something in setuptools 47.x changed so that option is automatically used or really no longer required?
Is there a downside to adding this to make it work in more environments, e.g. setuptools 46.x?


Continue to listen on ISP address after connecting

Hello and thank you very much for this project.
My system is behind a NAT with multiple ports forwarded to it.
My issue is that when I launch this script, my system stops answering requests coming from the internet. It answers everything from LAN, but nothing from outside, which is confusing for me since all requests from outside are forwarded to its local IP address, the same one I use to test from LAN.
Do you have any suggestions how to keep it answering on its NATed public IP while routing all outgoing traffic through PIA? Listening via PF seems like a lot of further automatization I really-really don't want to implement since it's completely redundant for my use case, and 1 port is not nearly enough for my needs.
Best regards.

I think the issue is your device has a public IP on eth0 and you are routing all outbound traffic through the wireguard interface, so traffic is coming in on eth0 but going out on wgpia. Solving this issue is out of the scope of this repo, so I will have to close the ticket, but we can continue the discussion.
Here is an idea that could work:
Try to isolate the public services in a special network namespace (for example, by hosting those services on a docker network within the <IP_ADDRESS>/16 range). After that, try to SNAT outbound connections to the WG interface instead of masquerading everything, and configure outbound connections from your public service to still go out via eth0. This should achieve the expected split tunnel effect you are looking for.
There are also other solutions to this. If you keep digging into Linux networking you will probably find alternative solutions.
If you want to dive into this deeper, I suggest starting by creating a diagram of the network flow (current and expected).

Hello g00nix, thank you for your reply,
No interfaces on my system have public IPs, they are behind a NAT (router) that has, and that NAT forwards incoming requests to the systems local interface with local IP. On that local IP listens a Docker container with bridge networking mode (so yes, <IP_ADDRESS>). And it continues to answer requests coming from my laptop inside the same LAN, but stops for requests coming from outside. Maybe this has something to do with headers? There are external src IPs there, while dst should be overwritten by NAT to match local IP.


Add reject() to version constraints to express incompatibility

Should we keep these issues open until we have a sample in place?

Samples were added to https://github.com/gradle/dependency-management-samples/tree/master/samples


Signup form validation - email validation complete

Email validation complete where checks if email is already present or not, email must be @gmail.com.

Password validaton complete where checks if two passwords are matching, password length, password visibility. Some minor fixes


Range rewrite

Add an optional arg to current interface to perform certain action on source code ranges.
fn pretty_print(content: &str, width: usize, actions: Vec<(start, end, RewriteAction)>)

, where action is an enum defined in typstyle. It can be ToMultiline, ToSingleLine, ToBlockEquation, ToInlineEquation, NoFormat...
typstyle will find the first ast node(in order traversal) which is contained by the provided range.
When certain action is not applicable, it will be sliently ignored

a builder/worker style may be more flexible, like std::process::Command.

a builder/worker style may be more flexible, like std::process::Command.

Do you mean a PrettyPrinterBuilder? It's Ok for me. Like
PrettyPrinterBuilder::new()
  .with_column_width(..)
  .with_content(...)
  .with_actions(...)

It could be less flexible:
PrettyPrinterBuilder::new(column_width or config)
  .with_actions(...)
  .format(content)


GEODE-4915: Ignore the 'for testing' exception

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[X] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[X] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[X] Is your initial contribution a single, squashed commit?

[X] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

Actually, you probably want to add this to the other test in this class too.


Unable to connect 2 Nuki Smart Lock 3.0 devices

System Health details
Everything runs as normal
Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
I have 2 Nuki devices, both on latest firmware (3.7.7). Each one of them works OK if connected (discovery etc works really well, thanks!), but the second one is detected, but cannot be configured. This is independent of which of the 2 devices is connected first.
Is this integration supposed to support multiple Nuki Smart Lock 3.0 devices?
Reproduction steps

Configure a Nuki Smart Lock 3.0
Observe this smart lock works OK
Configure another Nuki Smart Lock 3.0
Observe that initialisation failed.
...

Debug logs
In the HA System log:

Detected that custom integration 'hass_nuki_bt' attempted to call BleakClient with an address instead of a BLEDevice at custom_components/hass_nuki_bt/config_flow.py, line 151: ret = await device.pair(), please create a bug report at https://github.com/ronengr/hass_nuki_bt/issues

followed by (5 secs later)

config/custom_components/hass_nuki_bt/config_flow.py:166: RuntimeWarning: coroutine 'NukiDevice.disconnect' was never awaited device.disconnect()

### Diagnostics dump

_No response_

After configuring a second Bluetooth proxy, both locks work.
Nor\t ideal, as in HA, the bluetooth integration is supposed to be able to connect 5 devices.

Hmmm... seems I was wrong, for some reason, both locks now work on the same BT Adapter...

Device address is BT address.
note that it should be in the format 38:8B:DC:F4
Regarding the logs, If you enable debug-logging for the integration before trying to add the 2nd device maybe we will get some more info.

Unfortunately, the modified format did not help. The form just flashes and doesn't even throw any error.
My first NUKI device immediately appeared under Homekit integration and works very well. I don't have any Nuki BT integration listed - that seems strange to me. Because of that, I don't even know where to turn on debug-logging.

I can see only your "New Nuki device" poup form after clicking on "Add integration".

if you go to settings -> devices & services you will see a list of all your enabled integrations.
you can find Nuki there.
depending on you HA version, either click on the 3 dots or on the integration and select "enable debug logging"

or click on the integration end then you will see the option inside:

As I mentioned, there is no Nuki integration in list. My first Nuki device is under HomeKit integration.

Hi, I have exactly same problem - unable to connect my second Nuki Lock 3.0 device. The second device appears in HA as an iBeacon tracker. Do you have any recommendations?

I ignored iBeacon integration, so maybe that is the difference? Both my Nuki locks work OK via the USB BT adapter I installed on the HA server.

No, you didn't understand correctly. I have had HomeKit integration for a long time. I control the gate through it. Today I received 2 Nuki Locks devices, so:
1 - I found your hass_nuki_bt integration and installed it via HACS.
2 - I restarted HA.
3 - HA automatically discovered a new Nuki Lock device throught your integration. I added this device to HA (Configure button)
4 - This first Nuki Lock immediately appeared under HomeKit integration and your integration is not listed.
5 - I cannot add the second Nuki Lock device in any way.
Maybe tomorrow I'll try to remove your integration and repeat the procedure...

No, you didn't understand correctly. I have had HomeKit integration for a long time. I control the gate through it. Today I received 2 Nuki Locks devices, so:
1 - I found your hass_nuki_bt integration and installed it via HACS. 2 - I restarted HA. 3 - HA automatically discovered a new Nuki Lock device throught your integration. To be honest, I am not sure if it was your or homekit integration. I added this device to HA (Configure button) 4 - This first Nuki Lock immediately appeared under HomeKit integration and your integration is not listed. 5 - I cannot add the second Nuki Lock device in any way.
Maybe tomorrow I'll try to remove your integration and repeat the procedure...
I feel like the two integrations got mixed together because Nuki natively supports HomeKit - it's kind of like google home, only from Apple. https://nuki.io/en/homekit/

I would ignore Homekit Integration and try again. If necessary, add Nuki Locks manually via Nuki BT Integration.

So, I removed the device from HomeKit integration. I deleted your NukiBT integration. Then I reinstalled it and restarted HA. Now I can't even add a single NukiBT device...
Adding NukiBT manually doesn't work either - just like yesterday. After clicking Submit, nothing happens.

I'll probably have to buy Nuki bridge...

OK, I found BT address of Nuki lock throught some android app from Google Play. This appears in logs:
File "/usr/src/homeassistant/homeassistant/components/bluetooth/wrappers.py", line 375, in _async_get_best_available_backend_and_device
raise BleakError(
bleak.exc.BleakError: No backend with an available connection slot that can reach address 54:D2:72:8C:75:EC was found

Sounds like you do not have a Bluetooth adapter installed in your HA server, nor a Bluetooth proxy that can be reached from yoy HA server.


add phanindrakoka to the Contributors list

this was really good i learnt how to contribute thanks for creating this

Hi, @phanindrakoka09  append your link below the others
Thanks!


obs websocket v5.1.0

Guess there's no new stuff. Surprised there's no breaking changes!
For posterity, release process was as follows:

Bump goobs_version and obs_protocol_version in version.go
Bump the versions of the links in the README.md
Run make clean && make generate to pull in latest protocol changes
Ensure no tests are failing via make test, modifying internal/generate/tests/main.go if necessary
Double check the versions from step 1, and merge the PR in
Back on the main branch, pull in the latest changes and run make release
View and edit the release from the Web UI if necessary (I like to add the corresponding obs-websocket protocol version to the name of the release)

Just realized I still missed some steps. The version of the server in the Docker image is still v5.0.0 lol


Using STI with cancan

Steps to reproduce
Hi, We're using Rails STI, so, for example, let's say we have the following models: Survey, Climate and Evaluation. Climate and Evaluation inherit from Survey. (Survey has a type column to make STI work)
When you define an ability for Survey, those abilities are inherited by Climate and Evaluation, but, when I define an ability for a child class (Climate) and I try to use the accessible_by method from the parent class, the child class abilities are ignored.
Let's say this is in my ability:
can :destroy, Evaluation

If I try to do the following:
Survey.accessible_by(ability, :destroy)

it returns nothing. I expect it to return all the Surveys of type Evaluation (or all the Evaluations). The following works:
(let's say the first Survey is a Climate and the second a Evaluation)
ability.can? Survey.first, :destroy #false
ability.can? Survey.second, :destroy #true

Gist: https://gist.github.com/lcjury/e13f706f33010d3cb80c58e87fbe5706
Expected behavior
Survey.accessible_by(ability, :destroy) should return all the Surveys where ability.can? survey, :destroy whould evaluate to true
Actual behavior
ability.can? Survey.second, :destroy #true is true, but it's not returned by Survey.accessible_by(ability, :destroy)
System configuration
Rails version:
5.0
Ruby version:
2.5
CanCanCan version
1.17
Note: I have troubles running the gist, I get the following message: "CanCan::NotImplemented: This model adapter does not support fetching records from the database.". So, I wasn't able to test that the last lines trully works as I have told here, but I tested everything inside a running rails project.

cc @coorasse As far as I can tell this issue was address by #649

Yes, this can be closed since is released in 3.2.0


call buildSQLActionException in all sendResponse paths

One code path to sendResponse(.., e) missed the call to
buildSQLActionException and resulted in error messages that in some cases
aren't very helpful.

ack

Coverage decreased (-0.02%) when pulling a3533e20e11d51ce4143e05402ac9d5860c7b3f1 on j/exception-handling into cb65c81e46bc120861f0637fb620b8fe78289ee0 on master.


fix carthage update error

fix carthage update error: unexpected trailing characters in line

Current coverage is 94.26% (diff: 100%)

Merging #63 into master will not change coverage

@@             master        #63   diff @@
==========================================
  Files            57         57
  Lines          3856       3856
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           3635       3635
  Misses          221        221
  Partials          0          0

Powered by Codecov. Last update f3070bf...76faa3b


Problem with building URLs with Areas in .NET Core 2.1

I have problem with URL-s in ASP.NET Core 2.1 Web Application.
I have used code like below:
nasihdfgasih

and Razor is generating wrong URL not like http://example.com/Area/Controller/List but http://example.com/Controller/List?area=Area.
My routes configuration:
app.UseMvc(routes =>
{
	routes.MapRoute(
		name: "default",
		template: "{controller=Home}/{action=Index}/{id?}"
	);

	routes.MapRoute(
		name: "areas",
		template: "{area:exists}/{controller=Home}/{action=Index}/{id?}"
	);
});

This issue was moved to aspnet/Routing#623


Internal Server error in request_trace when encountering an update exception with unicode row content

I made some changes to recordedit that submitted data in a PUT request using the attribute group API where the identifying key was aliased. The old key value was set and the new key value was set to null. You can see this denoted below in the request payload. with id_o and id_n both being specified in the request URL.
This PUT operation appears to be violating a not-null constraint for that column by trying to update the id value to null.
The request URL:
https://dev.isrd.isi.edu/ermrest/catalog/21121/attributegroup/product:accommodation/id_o:=id;id_n:=id,title_n:=title,website_n:=website,category_n:=category,rating_n:=rating,summary_n:=summary,description_n:=description,no_of_rooms_n:=no_of_rooms,thumbnail_n:=thumbnail,cover_n:=cover,opened_on_n:=opened_on,luxurious_n:=luxurious?cid=recordedit
The request payload:
category_n: "Resort"
cover_n: 3001
description_n: "** CARING. SHARING. DARING.**↵Radisson^®^ is synonymous with outstanding levels of service and comfort delivered with utmost style. And today, we deliver even more to make sure we maintain our position at the forefront of the hospitality industry now and in the future.↵Our hotels are service driven, responsible, socially and locally connected and demonstrate a modern friendly attitude in everything we do. Our aim is to deliver our outstanding `Yes I Can!` ^SM^ service, comfort and style where you need us.↵↵**THE RADISSON^®^ WAY** Always positive, always smiling and always professional, Radisson people set Radisson apart. Every member of the team has a dedication to `Yes I Can!` ^SM^ hospitality – a passion for ensuring the total wellbeing and satisfaction of each individual guest. Imaginative, understanding and truly empathetic to the needs of the modern traveler, they are people on a special mission to deliver exceptional Extra Thoughtful Care."
id_n: null
id_o: 2003
luxurious_n: true
no_of_rooms_n: 15
opened_on_n: "1976-06-15T00:00:00.000-07:00"
rating_n: 3.2
summary_n: "NH Hotels has six resorts in the city of Munich. Very close to Munich Main Train Station -- the train being one of the most interesting choices of transport for travelling around Germany -- is the four-star NH München Deutscher Kaiser Hotel. In addition to the excellent quality of accommodation that it offers, the hotel is located close to Marienplatz, the monumental central square in the city, the Frauenkirche church, Stachus (Karlsplatz) and the Viktualienmarkt. Other places of interest to explore in Munich are the English garden, the spectacular Nymphenburg Palace and the German Museum, a museum of science and technology very much in keeping with the industrial spirit of the city. Do not forget to visit Munich at the end of September and beginning of October, the time for its most famous international festival: Oktoberfest! Beer, sausages, baked knuckles and other gastronomic specialities await you in a festive atmosphere on the grasslands of Theresienwiese. Not to be missed! And with NH Hotels you can choose the hotels in Munich which best suit your travel plans, with free WiFi and the possibility to bring your pets with you."
thumbnail_n: 3001
title_n: "NH Munich Resort"
website_n: "http://www.nh-hotels.com/hotels/munich"
}

Cookies as follows for dev.isrd.isi.edu:
webauthn: mPJAr1RIUK5bLNmWWWvFt68d
_ga: GA1.4.946495474.1493756134
_gid: GA1.4.1089500411.1493756141
The response in var/log/messages:
May  2 13:15:58 dev.isrd.isi.edu ermrest[2138.140036808058624]: {"elapsed":0.016, "req":"G_oU-K02RES7iHU3wESnNw", "scheme":"https", "host":"dev.isrd.isi.edu", "status":"200 OK", "method":"PUT", "path":"/ermrest/catalog/21121/attributegroup/product:accommodation/id_o:=id;id_n:=id,title_n:=title,website_n:=website,category_n:=category,rating_n:=rating,summary_n:=summary,description_n:=description,no_of_rooms_n:=no_of_rooms,thumbnail_n:=thumbnail,cover_n:=cover,opened_on_n:=opened_on,luxurious_n:=luxurious?cid=recordedit", "client":"<IP_ADDRESS>"<EMAIL_ADDRESS>"identities":["https://auth.globus.org/6ccebd18-ef90-11e5-8e41-cb8595f578a7", "https://auth.globus.org/a90c7906-f20a-11e5-95f6-a35518558940"], "id":"https://auth.globus.org/6ccebd18-ef90-11e5-8e41-cb8595f578a7", "full_name":"Joshua Chudy"<EMAIL_ADDRESS>"referrer":"https://dev.isrd.isi.edu/~jchudy/chaise/recordedit/", "agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.81 Safari/537.36", "session":{"since":"2017-04-13 14:42:51.843566-07:00", "seconds_remaining":42248, "expires":"2017-12-31 00:00:00-08:00", "vary_headers":["cookie"]}}
The session response in var/log/messages:
May  2 13:15:51 dev.isrd.isi.edu webauthn[2148.140036791273216]: {"elapsed":0.003, "req":"P+bCxin9cJE=", "scheme":"https", "host":"dev.isrd.isi.edu", "status":"200 OK", "method":"PUT", "path":"/authn/session", "client":"<IP_ADDRESS>"<EMAIL_ADDRESS>"identities":["https://auth.globus.org/6ccebd18-ef90-11e5-8e41-cb8595f578a7", "https://auth.globus.org/a90c7906-f20a-11e5-95f6-a35518558940"], "id":"https://auth.globus.org/6ccebd18-ef90-11e5-8e41-cb8595f578a7", "full_name":"Joshua Chudy"<EMAIL_ADDRESS>"session":{"since":"2017-04-13 14:42:51.843566-07:00", "expires":"2017-12-31 00:00:00-08:00"}}
The schema for the table:
"accommodation": {
      "comment": "List of different types of accommodations",
      "kind": "table",
      "entityCount": 0,
      "keys": [
        {
          "comment": null,
          "annotations": {},
          "unique_columns": [
            "id"
          ]
        }
      ],
      "foreign_keys": [
        {
          "comment": null,
          "names": [["product", "fk_category"]],
          "foreign_key_columns": [
            {
              "table_name": "accommodation",
              "schema_name": "product",
              "column_name": "category"
            }
          ],
          "annotations": {},
          "referenced_columns": [
            {
              "table_name": "category",
              "schema_name": "product",
              "column_name": "term"
            }
          ]
        },
        {
          "comment": null,
          "names": [["product", "fk_thumbnail"]],
          "foreign_key_columns": [
            {
              "table_name": "accommodation",
              "schema_name": "product",
              "column_name": "thumbnail"
            }
          ],
          "annotations": {
            "comment": ["thumbnail"]
          },
          "referenced_columns": [
            {
              "table_name": "file",
              "schema_name": "product",
              "column_name": "id"
            }
          ]
        },
        {
          "comment": null,
          "names": [["product", "fk_cover"]],
          "foreign_key_columns": [
            {
              "table_name": "accommodation",
              "schema_name": "product",
              "column_name": "cover"
            }
          ],
          "annotations": {
            "comment": ["thumbnail"]
          },
          "referenced_columns": [
            {
              "table_name": "file",
              "schema_name": "product",
              "column_name": "id"
            }
          ]
        }
      ],
      "table_name": "accommodation",
      "schema_name": "product",
      "column_definitions": [
        {
          "comment": null,
          "name": "id",
          "default": null,
          "nullok": false,
          "type": {
            "typename": "serial4"
          },
          "annotations": {
            "comment": [
              "hidden"
            ],
            "tag:misd.isi.edu,2015:display": {
              "name" : "Id"
            },
            "tag:isrd.isi.edu,2016:generated": null,
            "tag:isrd.isi.edu,2016:immutable": null
          }
        },
        {
          "comment": null,
          "name": "title",
          "default": null,
          "nullok": false,
          "type": {
            "typename": "text"
          },
          "annotations": {
            "comment": [
              "title",
              "top",
              "orderby"
            ],
            "description": {
              "display": "Name of Accommodation"
            },
            "tag:misd.isi.edu,2015:display" : {
              "name" : "Name of Accommodation"
            },
            "facetOrder": [
              "1"
            ]
          }
        },
        {
          "comment": "A valid url of the accommodation",
          "name": "website",
          "default": null,
          "nullok": true,
          "type": {
            "typename": "text"
          },
          "annotations": {
            "comment": [
              "url"
            ],
            "description": {
              "display": "Website"
            },
            "tag:misd.isi.edu,2015:url" : {
              "url" : "{cname}"
            },
            "tag:isrd.isi.edu,2016:column-display" : {
              "*": {
                "markdown_pattern" : "[Link to Website]({{website}})"
              }
            },
            "tag:misd.isi.edu,2015:display": {
              "name": "Website"
            }
          }
        },
        {
          "comment": "Type of accommodation ('Resort/Hotel/Motel')",
          "name": "category",
          "default": null,
          "nullok": false,
          "type": {
            "typename": "text"
          },
          "annotations": {
            "comment": ["top"],
            "description": {
              "display": "Category"
            },
            "facetOrder": [
              "2"
            ],
            "tag:misd.isi.edu,2015:display": {
              "name": "Category"
            }
          }
        },
        {
          "comment": null,
          "name": "rating",
          "default": null,
          "nullok": false,
          "type": {
            "typename": "float4"
          },
          "annotations": {
            "comment": ["top"],
            "description": {
              "display": "User Rating"
            },
            "facetOrder": [
              "3"
            ],
            "tag:misd.isi.edu,2015:display": {
              "name": "User Rating"
            }
          }
        },
        {
          "comment": null,
          "name": "summary",
          "default": null,
          "nullok": false,
          "type": {
            "typename": "longtext"
          },
          "annotations": {
            "comment": [
              "text",
              "unsortable",
              "summary",
              "hidden"
            ],
            "tag:misd.isi.edu,2015:display": {
              "name": "Summary"
            }
          }
        },
        {
          "comment": null,
          "name": "description",
          "default": null,
          "nullok": true,
          "type": {
            "typename": "markdown"
          },
          "annotations": {
            "comment": [
              "text",
              "unsortable",
              "html",
              "hidden"
            ],
            "tag:misd.isi.edu,2015:display": {
              "name": "Description"
            }
          }
        },
        {
          "comment": null,
          "name": "no_of_rooms",
          "default": null,
          "nullok": true,
          "type": {
            "typename": "int4"
          },
          "annotations": {
            "comment" : ["top"],
            "tag:misd.isi.edu,2015:display": {
              "name": "Number of Rooms"
            }
          }
        },
        {
          "comment": null,
          "name": "thumbnail",
          "default": null,
          "nullok": true,
          "type": {
            "typename": "int4"
          },
          "annotations": {
            "comment": [
              "hidden"
            ],
            "tag:misd.isi.edu,2015:display": {
              "name": "Thumbnail"
            }
          }
        },
        {
          "comment": null,
          "name": "cover",
          "default": null,
          "nullok": true,
          "type": {
            "typename": "int4"
          },
          "annotations": {
            "description": {
              "display": "Cover Image"
            },
            "comment": [
              "hidden"
            ],
            "tag:misd.isi.edu,2015:display": {
              "name": "Cover Image"
            }
          }
        },
        {
          "comment": null,
          "name": "opened_on",
          "default": null,
          "nullok": false,
          "type": {
            "typename": "timestamptz"
          },
          "annotations": {
            "comment": [
              "bottom"
            ],
            "description": {
              "display": "Operational Since"
            },
            "tag:misd.isi.edu,2015:display": {
              "name": "Operational Since"
            }
          }
        },
        {
          "comment": null,
          "name": "luxurious",
          "default": null,
          "nullok": true,
          "type": {
            "typename": "boolean"
          },
          "annotations": {
            "comment": ["top"],
            "description": {
              "display": "Luxurious"
            },
            "tag:misd.isi.edu,2015:display": {
              "name": "Is Luxurious"
            },
            "tag:isrd.isi.edu,2016:ignore" : ["record"]
          }
        }
      ],
      "annotations": {
        "comment": [
          "default"
        ],
        "tag:misd.isi.edu,2015:display": {
          "name": "Accommodations"
        },
        "description": {
          "display": "Accommodations",
          "top_columns": ["title", "rating", "category", "opened_on"]
        },
        "tag:isrd.isi.edu,2016:visible-columns" : {
          "detailed" : ["id", ["product", "fk_category"], "website", "rating", "summary", "description", ["product", "fk_thumbnail"], "opened_on", "luxurious"],
          "entry/create": ["id", "title", "website", ["product", "fk_category"], "rating", "summary", "description", "no_of_rooms", ["product", "fk_thumbnail"], ["product", "fk_cover"], "opened_on","luxurious"],
          "entry/edit": ["id", "title", "website", ["product", "fk_category"], "rating", "summary", "description", "no_of_rooms", ["product", "fk_thumbnail"], ["product", "fk_cover"], "opened_on","luxurious"],
          "compact" : ["title", "website", "rating", "summary", "opened_on", "luxurious"]
        },

        "tag:isrd.isi.edu,2016:visible-foreign-keys" : {
          "*" : [
              ["product", "fk_booking_accommodation"],
              ["product", "fk_accommodation_image"]
          ]
        },
        "tag:isrd.isi.edu,2016:table-display": {
          "compact": {
            "page_size": 15
          }
        }
      }
    }

I think this is a problem where the Python exception details include unicode content and our attempt to log that content fails to handle this properly.  It seems like this bug has been around for quite a long time and even survived a refactoring but did not get triggered by anybody...  I'm trying to test a small fix.

I've pushed a fix to ermrest/master

I reproduced the issue that caused the 500 internal error and now see a 409 conflict. This is the expected result. Closing this issue.


Support custom ScrollActivity for keeping page pinned

@goderbauer curious about how you feel about this (see #62209 for context).
cc @Piinks who has worked on scrolling recently and may have useful insights as well

Adding the API to ScrollActivity seems fine to me. However, we should really have a build-in way of adding things to a ScrollView without changing what's currently shown in the viewport. The workaround proposed by the test is way to complicated :)
I would even argue that not changing the perceived scroll offset should be the default. Unless I am specifically at the end or the beginning of the list and I opt into receiving updates it is always surprising when the scroll offset changes. And even in those cases, there should be an animation to change the scroll offset....
Having said that, I don't have a great idea of how to do this. Could we maybe leverage SliverChildBuilderDelegate.findChildIndexCallback to find the new index of whatever was visible in the viewport before and just keep rendering those children? Of course, unless we do the layout from the very beginning the reported scroll offset would be all wrong...

I posted another work-around idea that doesn't require framework changes for the original problem to https://github.com/flutter/flutter/issues/62209#issuecomment-668743868. Maybe that one is good enough until we have a better solution?

I would even argue that not changing the perceived scroll offset should be the default. Unless I am specifically at the end or the beginning of the list and I opt into receiving updates it is always surprising when the scroll offset changes. And even in those cases, there should be an animation to change the scroll offset....
Having said that, I don't have a great idea of how to do this. Could we maybe leverage SliverChildBuilderDelegate.findChildIndexCallback to find the new index of whatever was visible in the viewport before and just keep rendering those children? Of course, unless we do the layout from the very beginning the reported scroll offset would be all wrong...

I totally agree that we need a solution for this and I have zero idea how to make it work in practice. I hadn't though of using SliverChildBuilderDelegate.findChildIndexCallback, that could help...

I posted another work-around idea that doesn't require framework changes for the original problem to #62209 (comment). Maybe that one is good enough until we have a better solution?

If it was a normal list I'd agree, but since this is a PageView, it would require a massive amount of duplication if you want to precisely match the semantics of the existing widget...

I'm going to close this PR to maintain the code in case we decide to use it after all and then push a new PR with the alternative solution.


Failing to Initialise

Describe the bug
Since updating to 8.5.1 the integration won't initialise
Reproduction steps
Restarted HA. Integration won't initialise.  Suspect it may just be an Octopus timeout but posted the log below for confirmation.
Expected behaviour
Integration has been faultless for over a year!
Tariff Code
E-1R
Integration Version
8.5.1
Home Assistant Version
2023.11.1
Fresh Install?
After upgrading
Home Assistant Logs
Error setting up entry Octopus Energy for octopus_energy
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/octopus_energy/init.py", line 81, in async_setup_entry
await async_setup_dependencies(hass, config)
File "/config/custom_components/octopus_energy/init.py", line 125, in async_setup_dependencies
account_info = await client.async_get_account(config[CONFIG_MAIN_ACCOUNT_ID])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/octopus_energy/api_client/init.py", line 344, in async_get_account
await self.async_refresh_token()
File "/config/custom_components/octopus_energy/api_client/init.py", line 329, in async_refresh_token
async with client.post(url, json=payload) as token_response:
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 1141, in aenter
self._resp = await self._coro
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 560, in _request
await resp.start(conn)
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 894, in start
with self._timer:
File "/usr/local/lib/python3.11/site-packages/aiohttp/helpers.py", line 721, in exit
raise asyncio.TimeoutError from None
TimeoutError

Forgot to complete tariff code: AGILE area G

Rolled back to 8.4.4 and all is well... will try to diagnose a bit more tomorrow

Last night the APIs we're having a lot of issues, so I suspect its that. I believe theyve stabilised since then, so you shouldnt have an issue with the latest release.

Thought that might be the case. Will check again today. What confused me was that a couple of my own scripts were able to poll the API OK.

From: David Kendall @.>
Sent: 07 November 2023 14:01
To: BottlecapDave/HomeAssistant-OctopusEnergy @.>
Cc: fboundy @.>; Author @.>
Subject: Re: [BottlecapDave/HomeAssistant-OctopusEnergy] Failing to Initialise (Issue #518)
Last night the APIs we're having a lot of issues, so I suspect its that. I believe theyve stabilised since then, so you shouldnt have an issue with the latest release.
—
Reply to this email directly, view it on GitHubhttps://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/issues/518#issuecomment-1798578193, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABHJ7PMEQIGPZ3C5NHRNZYDYDI5KHAVCNFSM6AAAAAA7AEQCCSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJYGU3TQMJZGM.
You are receiving this because you authored the thread.Message ID: @.***>

the API was intermittently working, at times just being incredibly slow. So if your scripts were more forgiving on timeouts, that's why it would have worked

I think I’m getting a similar issue.  I get the following in my logs since upgrading:
Setup failed for octopus_energy: Integration not found.
11:37:31 – (ERROR) setup.py
Any advice gratefully received.

@davria18 your issue looks different. It looks like the installation hasnt been installed correctly. Have you installed it manually or via HACS?

I updated it via HACS.
Thanks for your quick reply.

That seems to have sorted it.  Thank you so much.


[TASK] Drop the configuration for generating the API documentation

Now that IDEs support navigating and displaying PHPDoc comments reasonibly well, and now that we have a UML class diagram, rendering the PHPDoc does not provide relevant benefits anymore.
Part of #466

Moving the discussion to #520.

Closing in favor of #522.


Negative Value

It would be nice if there is an additional negative value, especially for margin. Like example:
.man1 = margin: var(--spacing-extra-small-negative)
.man7 = margin: var(--spacing-extra-extra-extra-large-negative)

Yeah this has been requested a few times. Will whip something together.

This has shipped with 4.6.0.


Hotkey "Comment with Line Comment" don't work in HOCON editor

"Comment with Block Comment" also not work.

Hello @ihostage, I cannot reproduce your issue with Line Comment in plugin version 2019.1.2.
"Comment with Block Comment" cannot work because HOCON doesn't have block comments.

My version of IDEA:
IntelliJ IDEA 2019.1 (Ultimate Edition)
Build #IU-191.6183.87, built on March 27, 2019
Licensed to Sergey Morgunov
Subscription is active until January 10, 2020
JRE: 1.8.0_202-release-1483-b39 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14

Please also provide your HOCON plugin version.

v2019.1.2
http://joxi.ru/RmzN9pMcYv8zkm

Everything works fine for me with exactly the same versions on Community Edition.
Maybe there's some plugin that conflicts with HOCON on your Ultimate installation? *.conf is a common file extension which may be used by other file formats. I can't confirm this because I don't have Ultimate edition. @mutcianm can you comment?

Sorry, @ghik !


Security services are not running anymore [bug]

Describe the bug
Sealed-secrets-controller is not deployed anymore. I assume that some service that now implicitly installed it, changed and has broken the deployment.
Update: The whole security is down!
To Reproduce
Steps to reproduce the behavior:
Just follow the deployment steps and under pods, the sealed-secrets-controller is missing.
Expected behavior
Sealed-secrets-controller should be visible under kubectl get pod --all-namespaces
Additional context
Check the comment bellow! The whole security is down!

in fact, the whole security service is DOWN!

The problem was a newline typo on our side.


Update query key

Screenshot from tRPC v10 migration guide. I like their approach of doing it this way (I think it would let you invalidate a subrouter?).

This should also involve upgrading to the latest Tanstack Query which will require queryFn and queryKey object keys.

Will be handled by the queryOptions API once implemented.


support more tags in the plugin doc generation

adding support for some html tags in javadoc. <u>, <i> and <s>
escaping confluence reserved chars
add some logs

I just resolved the conflicts for marging


Multiple plugins

Hey, i'm pretty new to everything and i cant figure out how to add multiple plugins.
i have the plugins in a folder called "dotbot-plugins" and every plugin is in its own folder ex.  dotbot-plugins/sudo, dotbot-plugins/git/
every folder is a submodule.
i cant figure out what i should add to the install file to load all plugins.

i figured it out, i did it with multiple -p flags. also i think --plugin-dir ".../dotbot-plugins/*" may also work but the sudo plugin makes it hang for some reason. i leave this open so someone can tell me the proper way i should do this.

I've been meaning to try this setup. I attempted it once but didn't commit the folder structure correctly so I opted to just use -p while I transition over to dotbot. Once I finished the bulk of the transition, I'm going attempt to get --plugin-dir to work again. Having said that, I might try to set it up sooner as a test to see if I hit the same problem you did.
dotbot-sudo is an interesting plugin because it contains an extra python file, execute_plugin.py, which sudo.py invokes as a sub-process. When given --plugin-dir, dotbot will load any *.py files in finds along the provided path. I'll make an assumption about your plugin directory and guess that globbling resolution returns these items...
.../dotbot-plugins/git/git.py
.../dotbot-plugins/sudo/execute_plugin.py
.../dotbot-plugins/sudo/sudo.py

execute_plugin.py is not intended to be used by dotbot, let alone loaded as a plugin. Given that, I'd say the problem you're running into might be related to two different processes attempting to load the same resource and the python runtime is being blocked. If this is the case the alternative would be to specifiy the path to each plugin .py file (like how dotbot-sudo's author, DrDynamic, does, or move dotbot-sudo to a different directory so globbling resolution doesn't pick up dotbot-sudo.

the case about --plugin-dir and sudo plugin seems to be exactly as you describe it since i tried it on its own without any other folder structure or plugins and the same happens, dotbot seems to enter an infinite loop. I set it up as you said and DrDynamic has his install, multiple -p flags.
Maybe warn about --plugin-dir in docs
or ask plugin authors to conform to 1 .py file plugins
or change how --plugin-dir works
or remove it alltogether.

There is an open issue for dotbot-sudo that centers around how execute_plugin.py works and possible oversights (based on my understanding). I've said there that I'd like to dig into that specific problem and I have a couple ideas for what to try.
Based on what I find (hopefully success), I'll report back here with documentation notes that plugin creators should be aware of.

Yeah, I'm not sure how to improve the interaction between --plugin-dir and plugins that have multiple files.
It does seem a bit annoying to have to specify all the -p ... arguments (I recommend putting them in the install file, so you don't have to type them out every time).
Would it be better if the plugins could be specified in the install.conf.yaml instead? Like this:
- plugins:
    - dotbot-plugins/sudo
    - dotbot-plugins/git

(I feel like I saw an issue or PR or comment suggesting this, but I can't seem to find it at the moment)

Definitely better like that. Maybe a conf that runs before anything else? for plugins and default overrides

The config is ordered, so it's good enough if the plugins and defaults come first in the file.

I like the idea of having a plugins directive for the conf files. I had the same thought. It would be helpful for use cases where you have multiple conf files already and you wouldn't need differently install files if you are selective about what plugins are loaded based on the conf file you're going to use.

@ChrisTsou,
I've submitted this PR for dotbot-sudo that reworks how tasks under sudo directive are processed. If you're still inclined to use --plugin-dir and are able, care to give the changes a go?
As far as interaction with --plugin-dir and plugins that have multiple files, I've seen some plugins that put files for their own use in sub directories. Doing this should be sufficient enough to exclude files from being picked up by glob that are not intended to be used by dotbot.

@etkeys
As i said i'm new to everything, so in the process of playing around with linux and different programs i moved from dotbot. but i will download it and your changes in sudo plugin and see again one of these days.
As for the second part i noticed that too. i know rust plugin calls other .py files which are in folders and i didnt have any problems with that plugin.

Hi !
Sorry to reopen this issue more than 2 years later, but I can't make dotbot work with multiple (two) plugins.
here are my differents files:
.gitmodules
[submodule "dotbot"]
        path = dotbot
        url = https://github.com/anishathalye/dotbot
[submodule "dotbot-brew"]
        path = dotbot-plugins/dotbot-brew
        url = https://github.com/d12frosted/dotbot-brew.git
[submodule "dotbot-git"]
        path = dotbot-plugins/dotbot-git
        url = https://github.com/DrDynamic/dotbot-git.git

my file tree of my dotfiles directory
stephanepoint at …/dotfiles via  master (  ) ls -la
total 120
drwxr-xr-x  12 stephanepoint  staff    384 Jan 12 09:21 .
drwxr-xr-x+ 77 stephanepoint  staff   2464 Jan 12 09:21 ..
drwxr-xr-x  17 stephanepoint  staff    544 Jan 12 01:54 .git
-rw-r--r--   1 stephanepoint  staff    602 Mar 10  2021 .gitignore
-rw-r--r--   1 stephanepoint  staff    306 Jan 12 01:22 .gitmodules
-rw-r--r--   1 stephanepoint  staff   1277 Mar 10  2021 README.md
drwxr-xr-x  20 stephanepoint  staff    640 Jan 11 23:01 dotbot
drwxr-xr-x   4 stephanepoint  staff    128 Jan 12 01:20 dotbot-plugins
-rwxr-xr-x   1 stephanepoint  staff    564 Jan 12 01:44 install
-rw-r--r--   1 stephanepoint  staff   1418 Jan 12 01:49 install.conf.yaml
drwxr-xr-x  11 stephanepoint  staff    352 Jan 11 22:52 symlinks
-rw-r--r--   1 stephanepoint  staff  39353 Aug 25 18:05 vim_keys.txt

concerning dotbot here is my install script

set -e

CONFIG="install.conf.yaml"
DOTBOT_DIR="dotbot"

DOTBOT_BIN="bin/dotbot"
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

cd "${BASEDIR}"
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
git submodule update --init --recursive "${DOTBOT_DIR}"

"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" --plugin-dir "./dotbot-plugins/" -c "${CONFIG}" "${@}"
# "${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -p "./dotbot-plugins/dotbot-git/git.py" -p "./dotbot-plugins/dotbot-brew/brew.py" -c "${CONFIG}" "${@}"

and here is my install.conf.yaml
- defaults:
    link:
      relink: true

- clean: ['~']

- link:
    # ~/.bashrc: bashrc
    ~/.config: symlinks/config
    ~/.gitconfig: symlinks/gitconfig
    ~/.gitignore: symlinks/gitignore
    ~/.warprc: symlinks/warprc
    ~/.zshrc: symlinks/zshrc

- shell:
  - [python3.10 -m pip install --upgrade pip, Upgrade Pip]
  -
    command: brew cleanup && brew upgrade
    description: Upgrade brew
    stdout: true
    stdin: true
    stderr: true

  - [git submodule update --init --recursive, Install submodules]
  - [PREFIX='/usr/local/opt/browserpass' make hosts-chrome-user -f /usr/local/opt/browserpass/lib/browserpass/Makefile, Configure Browserpass]
  - [pip install --user tmuxp, Install tmux session manager]
  -
    command: sudo chsh -s $(which zsh) ${USER}
    description: Switch to ZSH
    stdout: true
    stdin: true
    stderr: true

- git:
  '~/.pyenv/plugins/pyenv-virtualenv':
    url: 'https://github.com/pyenv/pyenv-virtualenv.git'
    description: 'pyenv-virtualenv'
  '~/.tmux/plugins/tpm':
    url: 'https://github.com/tmux-plugins/tpm.git'
    description: 'tmux plugins manager'
  '~/diff-so-fancy/':
    url: 'https://github.com/so-fancy/diff-so-fancy.git'
    description: 'diff-so-fancy'

- brew:
  - browserpass
  - coreutils
  - fzf
  - gitlint
  - neovim
  - pgcli
  - pyenv
  - ripgrep
  - starship
  - tmux
  - zsh
- tap:
  - homebrew/cask-fonts
- cask:
  - font-hack-nerd-font

The outpus are not the same according to the options I choose to run dotbot.
With the options -p "./dotbot-plugins/dotbot-git/git.py" -p "./dotbot-plugins/dotbot-brew/brew.py", neither of my plugins are used:
Action git not handled
Action ~/.pyenv/plugins/pyenv-virtualenv not handled
Action ~/.tmux/plugins/tpm not handled
Action ~/diff-so-fancy/ not handled
Action brew not handled
Action tap not handled
Action cask not handled

==> Some tasks were not executed successfully

With the --plugin-dir "./dotbot-plugins/" option, only the brew/task/cask actions are understood:
An error was encountered while executing action git
Action git not handled
Action ~/.pyenv/plugins/pyenv-virtualenv not handled
Action ~/.tmux/plugins/tpm not handled
Action ~/diff-so-fancy/ not handled
All packages have been installed
Tapping homebrew/cask-fonts
Installing font-hack-nerd-font
Warning: Cask 'font-hack-nerd-font' is already installed.

To re-install font-hack-nerd-font, run:
  brew reinstall --cask font-hack-nerd-font
All packages have been installed

==> Some tasks were not executed successfully

Can you help me, please, to find what is wrong with how I set up my plugins ?

Hey ! I found my problem. This was the fact that the plugin git ask for a dictionnary and not an array
your conf should look like
  git:
  '~/.pyenv/plugins/pyenv-virtualenv':
    url: 'https://github.com/pyenv/pyenv-virtualenv.git'
    description: 'pyenv-virtualenv'
  '~/.tmux/plugins/tpm':
    url: 'https://github.com/tmux-plugins/tpm.git'
    description: 'tmux plugins manager'
  '~/diff-so-fancy/':
    url: 'https://github.com/so-fancy/diff-so-fancy.git'
    description: 'diff-so-fancy'

Note the removed dash before the action git.
Either way thank you for dotbot !

For me it seems to work to modify the install script in my Dotfiles folder like this
DOTBOT_PLUGIN_DIR=".local/repos/dotbot-plugins"

[...]

"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" --plugin-dir "${DOTBOT_PLUGIN_DIR}/*" -c "${CONFIG}" "${@}"

Would be nice to merge the PR #294, or is there a problem with the PR?


Enabling 'include_imports' in protoc build command broken (or documentation gap)

Updating all dependencies (@bufbuild/protobuf, @bufbuild/protoc-gen-es, @connectrpc/connect, @connectrpc/connect-web) to V2 results in the error Could not resolve "./buf/validate/validate_pb". From the migration guide it is very clear that this issue is to be resolved by setting include_imports: true in the buf.build file. Great!
What is missing is how to include it in a protoc build command. I cannot figure out how to correctly enable that setting from the cli.
protoc \
	-I. \
	-I./bufbuild/protoc-gen-validate \
	-I./proto \
--plugin ./node_modules/.bin/protoc-gen-es \
--es_out ./proto \
--es_opt target=ts \
--es_include_imports \
*.proto

Results in the error:
Unknown flag: --es_include_imports
I cannot seem to figure out how to set it, or it is broken, given how new the setting is.

include_imports is a feature of buf and is not part of the plugin. For protoc you will have to generate code for validate files as well:
cd ./bufbuild/protoc-gen-validate
protoc \
	-I. \
--plugin ../../node_modules/.bin/protoc-gen-es \
--es_out ../../proto \
--es_opt target=ts \
**/*.proto

Right, that helps a lot. Cheers!


species types as attribute confusion

"Another thing that's come up is people keep on adding species types as attributes and we'd want to make sure it's highlighted in the document which is which"
@mattdawkins please clarify what different parts of the app are being confused and what needs to be communicated.  As far as I'm aware, there's only one way to provide freeform text.

In settings you can set the name of detection and track level attributes (which are different than the freeform types next to the tracks which are supposed to be species IDs). Attributes are independent of species, things like fish_length. is_fish_swimming_straight, etc...
I think besides in the documentation it might even make sense to put text in the settings section so it's clear, describing what attributes are.

I didn't realize this feature even existed.  The confusion makes sense now.   How would you describe the purpose of track and detection attributes?  Are they just considered to be "everything except species?"

"Attributes other than species" would be sufficient then giving examples such as fish_length, is_straight, etc... if adding a description
Looking in the above "on bottom" is the only thing there that should be an attribute. Since attributes are global right now, non-admins should only be able to add attributes, not delete or edit unless attributes become user/dataset specific.

resolved by #583


I need help making feature like stickers

Hello, I posted this question on StackOverFlow but unfortunately I didn't got any response I was looking for. I need to implement of such feature where Text or Any widget can be resized by user using a corner icons. I'm attaching a reference. Any help would be great.

I've tried using Gesture Detectors in ways but I am still not able to perform action using the corner icons. Any kind of help will be highly appreciated as I need this much in creating my text app.

Hi @sumitgohil
This platform is not meant for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this, you may also get some help if you post it on Stack Overflow. Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you