Bad requests and 404 errors returns HTML when working with api

Well,  400 bad requests and unexpected type errors are good in HTML format when working with fullstack apps but, in --api-only, is should just return an error JSON object

400

 SyntaxError

 Unexpected token t in JSON at position 2

I always have to scroll down into POSTMAN and look in the HTML.
Hope you will fix this soon..

May I why you have to spam all other issues?

sorry :(
for fast response..

The error handler works on the principles of Content negotiation. If you will define Accept: application/json in the request header, then the error message will be returned in JSON, rather than HTML.

Thanks a lot !


Deebot, but what about Yeedi ?

Hello dear dev ! You think that this plugin can work well with Yeedi robots ? As I read, yeedi and ecovacs has same hardware and these projects are the "same", regarding to some reddit's users posts.
I have one, Yeedi 2 hybrid and I wanna to add this vac to my homekit. I hope that it will be possible.

You can update to the beta version of the plugin and then on the config screen select the “Use Yeedi” option and enter your username and password. Then restart.
Let us know how you get on!

Can You share with me tutorial, how update it to beta release ?

Btw, great job ! Good luck in future :)

Can You share with me tutorial, how update it to beta release ?

I already posted that link in the other issue that you created 😉
https://github.com/bwp91/homebridge-deebot/wiki/Beta-Version

Great, again. Thank You so much !

@Suvero
Why you already closed this issue? Have you already tried if it's working?

One more thing.. Yeedi was added and there is problem - [12/06/2022, 17:45:13] [Deebot] [0def8f50-6d72-4626-b01d-c25c78eb0884] has been reported [offline].
He is online, I can turn on via Yeedi's app.

@Suvero
I'm currently out for jogging, but I think I already know how to fix it.
We'll let you know when a new version is available

I'm excited, thanks one more time !
Maybe You had any experience with EZVIZ cameras ?

@Suvero
I have some questions before publishing a new version:

Has the Yeedi 2 hybrid a main brush?
Is it possible to manually adjust the suction power?
Has it voice reports?
Has it mapping capabilities?

My Yeedi has:

1x main brush
Standard, Max and Max+
Yes but I muted that
Yes, my house was mapped some months ago.

@Suvero
can you reinstall the beta version of the plugin by following the same instructions as before?
The plugin version will be the same but it will reinstall updated versions of packages that it uses

I do it now. One moment.

Same.

Can you show logs before this? To see all the logs since restarting?

yes, it's hybrid 2

and one picture of the logs before this too please!

@Suvero
It's still version 0.8.3-alpha.2 of the library
Please wait until @bwp91 has published a new beta version of the plugin.

@mrbungle64 @Suvero
New beta for this plugin has been published - 5.0.6-beta.4
Suvero please update to this using the steps as before!

Done. Robot starts and stops - right button in homekit working as Charging, so working well. Fix only icon of Vac in homekit UI and would be cool :)

Done. Robot starts and stops - right button in homekit working as Charging, so working well.

Great 👍🏻

Fix only icon of Vac in homekit UI and would be cool :)

What icon do you mean? It's still primarily a plugin for Ecovacs Deebot devices 😉

There is no vacuum icon in homekit there is not even such an accessory type. this is why it is displayed as switches

You can use best-choosen fan icon, it's better I think than button :D


[full-ci] [tests-only] Update expected failures after core #38876

Description
This PR update scenarios in the expected failures file with correct issue tags.

closed issues have been replaced with new issues
closed issues: #1303 & https://github.com/owncloud/product/issues/207

@kiranparajuli589 https://github.com/owncloud/core/pull/38876 has been merged. You can make an ordinary PR to update the core commit id.

https://drone.owncloud.com/owncloud/ocis/5650/37/7
runsh: There were no unexpected failures.
runsh: Total unexpected passed scenarios throughout the test run:
apiTrashbin/trashbinRestore.feature:110
apiTrashbin/trashbinRestore.feature:111

https://drone.owncloud.com/owncloud/ocis/5654/37/7
runsh: Total unexpected failed scenarios throughout the test run:
apiTrashbin/trashbinRestore.feature:110
apiTrashbin/trashbinRestore.feature:111
runsh: Total unexpected passed scenarios throughout the test run:
apiTrashbin/trashbinRestore.feature:108

@skipOnOcV10 @issue-35974
Scenario Outline: restoring a file to an already existing path overrides the file                              # /srv/app/testrunner/tests/acceptance/features/apiTrashbin/trashbinRestore.feature:96
Given user "Alice" has uploaded file with content "file to delete" to "/.hiddenfile0.txt"                    # FeatureContext::userHasUploadedAFileWithContentTo()
And using  DAV path                                                                                # FeatureContext::usingOldOrNewDavPath()
And user "Alice" has created folder "/PARENT"                                                                # FeatureContext::userHasCreatedFolder()
And user "Alice" has uploaded file with content "PARENT file content" to                        # FeatureContext::userHasUploadedAFileWithContentTo()
And user "Alice" has deleted file                                                               # FeatureContext::userHasDeletedFile()
When user "Alice" restores the file with original path  to  using the trashbin API # TrashbinContext::userRestoresTheFileWithOriginalPathToUsingTheTrashbinApi()
Then the HTTP status code should be "204"                                                                    # FeatureContext::thenTheHTTPStatusCodeShouldBe()
And as "Alice" file  should exist                                                               # FeatureContext::asFileOrFolderShouldExist()
And the content of file  for user "Alice" should be "file to delete"                            # FeatureContext::contentOfFileForUserShouldBe()
Examples:
  | dav-path | upload-path                | delete-path        |
  | old      | "/PARENT/textfile0.txt"    | "/textfile0.txt"   |
  | new      | "/PARENT/textfile0.txt"    | "/textfile0.txt"   |
    The downloaded content was expected to be 'file to delete', but actually is 'PARENT file content'. HTTP status was 200
    Failed asserting that two strings are equal.
    --- Expected
    +++ Actual
    @@ @@
    -'file to delete'
    +'PARENT file content'
  | old      | "/PARENT/.hiddenfile0.txt" | ".hiddenfile0.txt" |
    The downloaded content was expected to be 'file to delete', but actually is 'PARENT file content'. HTTP status was 200
    Failed asserting that two strings are equal.
    --- Expected
    +++ Actual
    @@ @@
    -'file to delete'
    +'PARENT file content'
  | new      | "/PARENT/.hiddenfile0.txt" | ".hiddenfile0.txt" |
    The downloaded content was expected to be 'file to delete', but actually is 'PARENT file content'. HTTP status was 200
    Failed asserting that two strings are equal.
    --- Expected
    +++ Actual
    @@ @@
    -'file to delete'
    +'PARENT file content'

That scenario is intermittent. Sometimes the file is correctly restored, overwriting the existing file in `/PARENT`. But sometimes the content is not updated. But always the correct 204 response is given.

This is the same behaviour as in core issue https://github.com/owncloud/core/issues/35974

That is very strange that this intermittent behaviour happens in oC10 core (implemented with PHP and database), and also in OCIS with "owncloud" storage (i,plementated with Go and file-system-based storage of attributes etc)

In cs3org/reva PR https://github.com/cs3org/reva/pull/1795 these scenarios failed consistently on "owncloud" storage.
https://drone.cernbox.cern.ch/cs3org/reva/1881/17/7
What is going on?
@C0rby you might be familiar with this. Any ideas?

Ah, damn... this is bad...
I don't know why this is happening but I'll take a look into the owncloud storage driver.

@phil-davis, I think I found the issue and opened a PR here: https://github.com/cs3org/reva/pull/1833.

https://github.com/cs3org/reva/pull/1833 looks good - fixes the problem. Let's see how quickly that can be merged and then find its way into owncloud/ocis - then we will not need to mess about with how to skip the scenario.

I adjusted the core commit id to the latest, and put back the trashbinRestore expected-failures. We do sometimes (most of the time) have those trashbinRestore scenarios fail. So we might get a "pass" in CI. (Other PRs are often getting a pass!)
It would be good to get this merged. It does not make any difference to the issue of https://github.com/cs3org/reva/pull/1833 - that can be fixed in OCIS independently.

There were a lot of fails in the last CI run, all with owncloud storage:
https://drone.owncloud.com/owncloud/ocis/5663/25/7
Core-API-Tests-owncloud-storage-2
runsh: Total unexpected failed scenarios throughout the test run:
apiMain/checksums.feature:119
apiMain/checksums.feature:132
https://drone.owncloud.com/owncloud/ocis/5663/31/7
Core-API-Tests-owncloud-storage-5
runsh: Total unexpected failed scenarios throughout the test run:
apiShareOperationsToShares1/accessToShare.feature:24
apiShareOperationsToShares1/accessToShare.feature:25
apiShareOperationsToShares1/accessToShare.feature:41
apiShareOperationsToShares1/accessToShare.feature:42
apiShareOperationsToShares1/accessToShare.feature:58
apiShareOperationsToShares1/accessToShare.feature:59
apiShareOperationsToShares1/accessToShare.feature:74
apiShareOperationsToShares1/accessToShare.feature:75
apiShareOperationsToShares1/gettingShares.feature:39
apiShareOperationsToShares1/gettingShares.feature:40
apiShareOperationsToShares1/gettingShares.feature:62
apiShareOperationsToShares1/gettingShares.feature:63
apiShareOperationsToShares1/gettingShares.feature:85
apiShareOperationsToShares1/gettingShares.feature:86
apiShareOperationsToShares1/gettingShares.feature:106
apiShareOperationsToShares1/gettingShares.feature:107
apiShareOperationsToShares1/gettingShares.feature:188
https://drone.owncloud.com/owncloud/ocis/5663/33/7
Core-API-Tests-owncloud-storage-6
runsh: Total unexpected failed scenarios throughout the test run:
apiShareReshareToShares1/reShare.feature:61
apiShareReshareToShares1/reShare.feature:62
apiShareReshareToShares1/reShare.feature:78
apiShareReshareToShares1/reShare.feature:79
apiShareReshareToShares1/reShare.feature:95
apiShareReshareToShares1/reShare.feature:96
apiShareReshareToShares1/reShare.feature:112
apiShareReshareToShares1/reShare.feature:113
https://drone.owncloud.com/owncloud/ocis/5663/35/7
Core-API-Tests-owncloud-storage-7
runsh: Total unexpected failed scenarios throughout the test run:
apiShareUpdateToShares/updateShare.feature:29
apiShareUpdateToShares/updateShare.feature:30
apiShareUpdateToShares/updateShare.feature:77
apiShareUpdateToShares/updateShare.feature:78
apiShareUpdateToShares/updateShare.feature:256
apiShareUpdateToShares/updateShare.feature:257
apiShareUpdateToShares/updateShare.feature:394
apiShareUpdateToShares/updateShare.feature:395
apiShareUpdateToShares/updateShareGroupAndUserWithSameName.feature:34
apiShareUpdateToShares/updateShareGroupAndUserWithSameName.feature:35
apiShareUpdateToShares/updateShareGroupAndUserWithSameName.feature:54
I restarted - I am not sure what happened!


Spanner eager relationships

We recently discussed relationships in spring data with Oliver, and arrived at some common points among spring data integrations:

eager retrieval of children should be the default implementation, and it is OK to let the user know the limitations of it. this is the recommendation for single children or multiple children in a collection.
lazy retrieval can be very complicated especially after involving other features like transactions, and should definitely come second if at all.
the idea of aggregates (parents) is strong in spring data, and relationships should be reflected in POJOs one-way from aggregate to its sub-items (children).
recommend users use identifier properties instead of POJO references , which forces the user to do retrieval themselves.

Main points

if property is a type (or inner type if iterable) annotated with Table(name = ...)  and it's not annotated embedded, then it is a child POJO relationship

Reads

single-item children will be will be immediately recursively retrieved
collection children will be retrieved on first touch (to prevent exponentially increasing number of retrievals). The subsequent "lazy" retrieval is done using the same SpannerOperations, and we already have functionality to create single-transaction-SpannerOperations (so even though it's "lazy" the data is exactly the same as immediate retrieval)

Writes

client lib allows batch write of mutations, so a pojo and all of its children can be saved in the same request
single-item children will be saved
collection children that have been touched will be saved.

It would be good to have annotation defined for onjetomany/manytoone , we can specify if this needs to be eagerly/lazy loaded something like below . We want to define this on spanner persistent entity to save parent/child records at one shot and also to retrieve them at one shot.
It would be good to expose a detailed doc explaining features.
@onetomany("getChild",LoadType.Eager)
or
@onetomany
@Eager

Tasks, in order:

[ ] create admin client methods for checking table schema of given child tables if they are interleaved
[ ] create @OneToMany annotation to mark child collections
[ ] read method recursively eagerly gets children
[ ] write method creates single batch write for all children recursively
[ ] ref doc updates

@ChengyuanZhao

Does this parent/child or @onetoMany relationship defined on an entity works only if the tables are INTERLEAVED?
is there a plan to integrate more queryOptions for filtering/Grouping results. Currently support exists for sort/pagination.

@ChengyuanZhao  Do you have plans to extend parent-child concept to non interleaved tables ? Whyregular tables which are not interleaved skipped from this implementation ?

@vineela-gampa We want to support parent-child relationships using the Spanner interleaved feature first because Spanner itself takes care of enforcing the one-to-many relationship , cascading deletes, physical co-location of rows, and removes the burden of the aforementioned from the clients. Spanner does not support traditional foreign keys, though the closest thing is the parent-child key requirement from parent-child interleaved tables.

@ChengyuanZhao With this feature is there was to specify any option where i might not need child information but just need one table data ? How do we do that ?
Say table A (parent) with cols (x,y,z columns)
-> List
-> List
say i want to retrieve only X,Y,Z and dont retrieve List.

@vineela-gampa If you do not have a List<B> property in the parent class then the children will not be retrieved.

@ChengyuanZhao  Parent class iwll have it as in some cases we might want all the details but there might be specific scenarios where that joins might not be needed and want to retrieve only few fields. in that case how do we do ?

Currently if the property for the children is there then they will be retrieved. We will need to look into how to provide the option to do this if we are to support it.

@vineela-gampa It sounds like you want the collection of children to be lazily fetched. Am I understanding your usecase correctly?
Also, if there are cases when you don't need to retrieve the children, I would try using two different entities.
B (with children collection) extends A without children, and use A when you don't want to fetch children, and B when you do.

@meltsufin yeah there might be usecases where we need to fetch children lazily. It would be great if we can send a flag to skip retrieving child elements , bcoz i can see it can be done as per teh current code.
we are waiting for this functionality to plan our iterations. By when can we expect read/write eagerlly loaded stuff to be merged so that we can use it ?

@vineela-gampa We're working on reviewing the @Interleaved support. If you would like to help out, we would appreciate feedback on it. Maybe you have the opportunity to review/try the code that is currently in PRs. Thanks!

@meltsufin  sure we can try and post the update.
One other question is how do we specify which columns should not be updated during an update.

@vineela-gampa On SpannerTemplate the update and upsert functions provide overloaded methods that take sets of column names to include. By default not specifying those will let all columns be written.
The SpannerRepository save method is an implementation of CrudRepository and that method will save all columns.

I tried write / read with @Interleaved option. Its working as expected.
https://github.com/spring-cloud/spring-cloud-gcp/pull/911
https://github.com/spring-cloud/spring-cloud-gcp/pull/916
@meltsufin @ChengyuanZhao  tried insert/read with all of the data set in /Skip data (set null for some interleaved entities)
Tried negative tests by not giving primary key columns to child entities - works and throws exception as expected.
@meltsufin  i believe we should be good to merge read ?

i see code changes for @onetomany annotation but dont see any changes related to it for read/write.

@meltsufin @ChengyuanZhao  did you get a chance to review my comments ?whats the plan to merge
Open
Spanner eager read parent-child relationships #916 ?

We're focusing on our 1.0 release. So, this 1.1 track work has been put on hold for a few days. We'll get back to you later this week. Thanks!

Thanks . Will wait for you update.

@ChengyuanZhao is there any performance impact with eagerly loading of child for an entity of 3-4 level depth ?

@vineela-gampa Undoubtedly there is a cost to loading all of the children, especially several levels deep. However, this is more of a question of whether the entities are modeled correctly for the app. If the app rarely accesses the children, then maybe you shouldn't load them every time the parent is loaded and not model them with an @Interleaved collection. Lazy loading is another option, but we currently do not support it.

@meltsufin  do you have performance numbers for it ?

@vineela-gampa That would be highly application and data-specific. At a minimum, loading the collection is another round-trip the database. Secondly, there's a cost of transferring all the data for the collection from the database to the app, and that's dependent on the number of children and columns.


Handle infinite recursive directories in tiff files

I had to abort the builds on Jenkins. It was hanging forever. Maybe some kind of infinite recursion issue.........

This passes on mac/windows but not CI Linux. Maybe libtiff is outdated?
I know that they fixed the recursive function in libtiff:
https://github.com/vadz/libtiff/commit/0417e415288bd4af92a534e040be23d444b2d2d5
https://github.com/vadz/libtiff/commit/bcc3de6d25ddcb7e62191515c2155c5d46d37d2c

Yeah we won't have a libtiff from 2015 on all platforms so we'll need to find a workaround.

Eeek @directhex I must've got the fix wrong... again :// you might need to terminate the build

Aborted and added a 30mins timeout to the jobs :)

I tried to create our own version of TiffNumberOfDirectories to prevent this infinite recursion, but there was no good way to make it work as TiffNumberOfDirectories uses internal unexposed helpers as well as internal data structures I can't access.
The best thing I could do was to disable the test for versions of libtiff older that 4.0.4 to prevent infinite recursion there.
This is the best fix I can think of, but still can cause denial of service on older libtiff machines. The infinite recursion is fixed with newer machines though, as we now error out if the number of directories is 65535


[Cannot install or repair BD]

Describe the Bug
Can not install or repair BD, both give fatal java errors about 75% of the way through a download or repair.
To Reproduce
Using auto installer, attempt to install or repair stable (no canary or anything, just BD)
Expected Behavior
Automatically and quickly installs a working Better Discord, which should still have my settings and themes.
Screenshots

Discord Version
Stable
Additional Context
I have used BD for a while now, but I have not been able to reinstall or repair. Even grabbed the most recent installer. I have no idea how to fix this with no coding experience.

You are using a very old version of Discord (0.0.305) which is unsupported. Please reinstall Discord, the latest version is 0.0.307

You are using a very old version of Discord (0.0.305) which is unsupported. Please reinstall Discord, the latest version is 0.0.307

That was exactly it. I had to reinstall in order for it to recognize the update, even running as admin wouldn't force an update. Thank you very much!


feat!: introduced context.Context to client and provider api

Signed-off-by: Skye Gill<EMAIL_ADDRESS>

I just want to chime in and say I think this is a good change, as evidenced by the fact some of vendors take the context as well, so it will make integration with them easier.

Codecov Report

Merging #75 (d124ff7) into main (aa59b35) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #75      +/-   ##
==========================================
- Coverage   84.30%   84.26%   -0.05%
==========================================
  Files           6        6
  Lines         376      375       -1
==========================================
- Hits          317      316       -1
  Misses         54       54
  Partials        5        5

Impacted Files
Coverage Δ

pkg/openfeature/provider.go
100.00% <ø> (ø)

pkg/openfeature/client.go
84.00% <100.00%> (-0.07%)
:arrow_down:

pkg/openfeature/noop_provider.go
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


TIOBE

Sorry if this is wrong place to post this. I use these sites as part of research
for programming languages:

https://tiobe.com/tiobe-index
https://tiobe.com/tiobe-index/programming-languages-definition

I noticed that Perl is listed, but not Perl 6. I contacted the site runners and
received this response:

In order to qualify for the TIOBE index one of the requirements is that you
have at least 5,000 Google hits for your programming language. Here is the
result for Perl 6: Unfortunately, there are only 4,010 hits.

Here is the link they are using:
https://google.com/search?q="perl+6+programming"
Perhaps this phrase could be placed in some prominent places to get the results
up?

https://github.com/rakudo/rakudo/issues/2994

Update: since posting this issue it appears Perl 6 has met the requirements, as
confirmed by email:

Hahaha. You are right. Unbelievable. Well, anyway I will add Perl 6 to the
TIOBE index. Thanks a lot!

However I think we should keep this open until the site is actually updated. I
will try to follow up in a week if its not done.

@cup any updates? It's still not in the list, I think.

I sent a follow up email just now - thanks

response:

You have to wait for the next publication. This will happen in a couple
of days.

Its on the list now! Number 93 but still, hehe

Thank you!

Excellent work, @cup .

@JJ should we have a document somewhere like “How to blog about perl 6”? There we can discuss things like how to get your blog posts into http://pl6anet.org/, how to get them mentioned in the weekly, and yes, how to make sure that they count for the TIOBE index :)

We maybe should. Where? Marketing repo?
El vie., 12 jul. 2019 19:17, Aleks-Daniel Jakimenko-Aleksejev <
<EMAIL_ADDRESS>escribió:

Reopened #42 https://github.com/perl6/problem-solving/issues/42.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/perl6/problem-solving/issues/42?email_source=notifications&email_token=AAAAD5FNE5XUKQYOB4NID7TP7C4DNA5CNFSM4HYWE4KKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSPGQV3Y#event-2479688431,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAAD5DTJGZ56PZR2RYS2ALP7C4DNANCNFSM4HYWE4KA
.

@JJ what about the docs website? We do have some slightly off-topic pages there, like https://docs.perl6.org/language/modules.

Yep, why not...


Two swarm clusters - Unable to find a node that satisfies the following conditions

Hi!
I've created 2 swarm nodes with 2 managers, then I tried to create 2 containers with nginx.
# docker-compose.yml
interlock:
#    image: ehazlett/interlock:master
    build: interlock # I passed some config inside - doesn't matter
    command: "-D run --discovery consul://consul.local:8500/"
    ports:
        - 8080:8080

nginx:
    image: nginx:latest
    entrypoint: nginx
    command: -g "daemon off;" -c /etc/nginx/nginx.conf
    ports:
        - 80:80
    labels:
        - "interlock.ext.name=nginx"
    links:
        - interlock:interlock

docker-compose up -d

Everything is ok. But when I run:
% docker-compose scale nginx=2

WARNING: The "nginx" service specifies a port on the host. If multiple containers for this service are created on a single host, the port will clash.
Creating and starting interlock_nginx_2 ... error

ERROR: for interlock_nginx_2  Unable to find a node that satisfies the following conditions
[port 80 (Bridge mode)]
[available container slots]
[--link=interlock_interlock_1:interlock --link=interlock_interlock_1:interlock_1 --link=interlock_interlock_1:interlock_interlock_1]

I belive that in my case swarm should find node with free ports (80 in my case) and create nginx on that node.
% docker ps
CONTAINER ID        IMAGE                 COMMAND                  CREATED             STATUS              PORTS                               NAMES
91e88283fa00        nginx:latest          "nginx -g 'daemon off"   10 minutes ago      Up 10 minutes       <IP_ADDRESS>:80->80/tcp, 443/tcp      ip-10-0-1-207/interlock_nginx_1
edeca7930c4d        interlock_interlock   "/bin/interlock -D ru"   10 minutes ago      Up 10 minutes       80/tcp, <IP_ADDRESS>:8080->8080/tcp   ip-10-0-1-207/interlock_interlock_1,ip-10-0-1-207/interlock_nginx_1/interlock,ip-10-0-1-207/interlock_nginx_1/interlock_1,ip-10-0-1-207/interlock_nginx_1/interlock_interlock_1

% docker info
Containers: 4
 Running: 4
 Paused: 0
 Stopped: 0
Images: 44
Server Version: swarm/1.2.2
Role: primary
Strategy: spread
Filters: health, port, containerslots, dependency, affinity, constraint
Nodes: 2
 ip-10-0-1-206: <IP_ADDRESS>:2376
  └ ID: 35GV:JUQF:KSKM:U2RE:4DLD:5SCA:6LKK:IRB6:5ZTN:XWQV:T3R4:2E7T
  └ Status: Healthy
  └ Containers: 1
  └ Reserved CPUs: 0 / 2
  └ Reserved Memory: 0 B / 8.187 GiB
  └ Labels: executiondriver=, kernelversion=3.13.0-74-generic, operatingsystem=Ubuntu 14.04.3 LTS, storagedriver=devicemapper
  └ Error: (none)
  └ UpdatedAt: 2016-05-24T16:08:20Z
  └ ServerVersion: 1.11.1
 ip-10-0-1-207: <IP_ADDRESS>:2376
  └ ID: ZML2:L26T:7EO2:2FDE:GYXY:AH2K:7SEO:DEHF:563I:F6MT:DKFG:OVGN
  └ Status: Healthy
  └ Containers: 3
  └ Reserved CPUs: 0 / 2
  └ Reserved Memory: 0 B / 8.187 GiB
  └ Labels: executiondriver=, kernelversion=3.13.0-74-generic, operatingsystem=Ubuntu 14.04.3 LTS, storagedriver=devicemapper
  └ Error: (none)
  └ UpdatedAt: 2016-05-24T16:08:09Z
  └ ServerVersion: 1.11.1
Plugins:
 Volume:
 Network:
Kernel Version: 3.13.0-74-generic
Operating System: linux
Architecture: amd64
CPUs: 4
Total Memory: 16.37 GiB
Name: 92d794192bb0
Docker Root Dir:
Debug mode (client): false
Debug mode (server): false
WARNING: No kernel memory limit support

@noose
You got the following thing in your compose file.
links:
        - interlock:interlock

If we set link primitive, Swarm will schedule containers on the same host. Then port conflict happens.

Thanks. That was it.
But imho - strange behavior.

in multihost env imho you should use network and not linking. You could use consul as machine kv for swarm discovery and overlay network. Worth reading: swarm overlay networks


Should service retain messages ?

Should service ensures that published messages are retained on behalf of subscriptions?
A published message could be retained for a subscription until it is acknowledged by any subscriber consuming messages from that subscription.
Similar to the way googles pubsub works. https://cloud.google.com/pubsub/docs/overview

Closing. Messages are not going to be retained.


silx.gui.colors: Added Colormap.get|setNaNColor to change color used for NaN

NaN values in images were displayed differentely with the matplotlib backend (transparent) and the opengl one (as lowest bound of the colormap).
This PR fixes this difference by making the OpenGL backend behave as the matplotlib one.
Furthermore, it adds Colormap.get|setNaNColor methods to allow to change the color used for NaN and it supports it in both PlotWidget and plot3d.

Looks good to me, except the NaN color should be saved in saveState/restoreState. I can do it if you like.

I updated the store/restore methods.

Well done. Very nice to check the v2 binary.


Adding middle name to PayperEmail

I think this is not the correct way to do it, we get the first name and the last name from custom fields both on the frontend and admin area, we can end up with a combination of first name/last name from the custom fields and a middle name from the billing address

@abeka-buckaroo Can you also add the ticket number in front of the PR name. This is standard procedure.


TimeOutException in HttpTrigger Function

I am encountering a TimeOutException at the following line of code:
https://github.com/Azure/azure-functions-dotnet-worker/blob/2bbc2b98d18ebf16ce129d41dafb1ffada1ea2ec/extensions/Worker.Extensions.Http.AspNetCore/src/Coordinator/DefaultHttpCoordinator.cs#L36
This issue occurs intermittently. I have a Time Triggered function that invokes an HTTP Trigger function within the same Function App.
Below is the exception stack trace:
`Connection id "{ConnectionId}", Request id "{TraceIdentifier}": An unhandled exception was thrown by the application.
System.TimeoutException: The operation has timed out.
at Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore.WorkerRequestServicesMiddleware.Invoke(HttpContext context) in /mnt/vss/_work/1/s/extensions/Worker.Extensions.Http.AspNetCore/src/AspNetMiddleware/WorkerRequestServicesMiddleware.cs:line 28
at Datadog.Trace.ClrProfiler.AutoInstrumentation.AspNetCore.BlockingMiddleware.Invoke(HttpContext context) in /project/tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/AspNetCore/BlockingMiddleware.cs:line 115
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication1 application)
Could anyone provide insights or suggestions to debug and resolve this issue?

Hey @ansonpinhero, the exception above seems to indicate that either your worker didn't get the context information from the host, or there is something with the execution pipeline impacting the context synchronization.
How often are you seeing this happen? Can you tell whether this happens in specific scenarios like activation or scaling? If you can share your app name (or region, an invocation ID and a timeframe), we can also try to take a look a platform logs. If you're seeing this in production, opening a support request would also be a good way to proceed as your app information would be associated with that.
Thanks!


Copy-Item with -Include and -Recurse doesn't work

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
I'm trying to recursively copy specific files from a folder with this command:
Copy .\input -Destination .\output -Recurse -Include ("*.txt", "*.json")

Nothing gets copied whatsoever.
If I use -Filter instead and only specify one file type filter like:
Copy .\input -Destination .\output -Recurse -Filter "*.txt"

This works, copies all .txt files, keeps the folder structure AND even copies empty folders (with -Include nothing got copied at all).
Expected behavior
(for the first command) Files which fit any of the given filters get copied together with the whole folder structure (even empty folder, like with `-Filter`).

Actual behavior
Nothing gets copied.

Error details
No response
Environment data
Name                           Value
----                           -----
PSVersion                      7.1.4
PSEdition                      Core
GitCommitId                    7.1.4
OS                             Microsoft Windows 10.0.19043
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

The @PowerShell/wg-powershell-cmdlets reviewed this.  The cmdlet is working as designed although we agree in a non-obvious kind of way.  Unfortunately Get-ChildItem and Copy-Item seem to treat -Include differently when -Recurse is used as Copy-Item applies -Include to -Path to enumerate recursively, while Get-ChildItem applies it after recursion.  As we expect existing users to be dependent on the current behavior, we recommend that no change should be made as it would result in breaking existing scripts.  Instead, this should be a doc issue making more clear how -Include and -Exclude is applied (today it merely says these parameters "qualify the Path parameter") and having some specific examples where the current behavior would be used.  Use of -Filter instead is the appropriate way to solve the original issue.
Created https://github.com/MicrosoftDocs/PowerShell-Docs/issues/8601

Thank you for your answer! I understand what -Include does now. Useful when using a wildcard for -Path.

Use of -Filter instead is the appropriate way to solve the original issue.
The problem with -Filter is that it only accept one filter, which means I'd need to run several similar commands if I wanted to copy several specific file types. A -Filters parameter would be a good solution, user-wise at least.

The cmdlet is working as designed although we agree in a non-obvious kind of way.

If you make such a conclusion there must be a valid reason without which the described behavior of the cmdlet is an obvious bug.

The cmdlet is working as designed although we agree in a non-obvious kind of way.

From https://en.wikipedia.org/wiki/Software_bug

A software bug is an error, flaw or fault in computer software that causes it to produce an incorrect or unexpected result, or to behave in unintended ways.

Are you going to argue that every user expects the next command to do nothing?
Copy-Item c:\ d:\  -Include *.* -Recurse

I don't think anyone from the WG would risk even a cent against it :-)
In reality, users expect quite the opposite and have been forced to use workarounds for years in the form of dir -recurse | copy-item.
You can find countless examples of these on GitHub or at least look at follow
https://stackoverflow.com/questions/5432290/how-to-use-powershell-copy-item-and-keep-structure
https://stackoverflow.com/questions/18616581/how-to-properly-filter-multiple-strings-in-a-powershell-copy-script

As we expect existing users to be dependent on the current behavior, we recommend that no change should be made as it would result in breaking existing scripts.

After that you will still claim that someone is scripting on this absurd behavior?
Finally, I would really like to see the rationale behind this design - why do Get-ChildItem and Remove-Item behave differently with Include/Exclude than Copy-Item?
Voting 2 vs 1. :-)

After reviewing the existing issues and documentation, I found many contradictions and ambiguities concerning Providers. The only way I see to put things in order is to clearly describe the basic principles in RFC (that I've been working on for the last few days).
Now I'm at a loss, how would you describe how filters work in PowerShell? "PowerShell Provider Engine implements include and exclude filters with follow behavior ...".
Based on the WG's conclusion it would be "don't even try to guess". :-)

I am concerned about this precedent. I think it's more for WG-Engine-Providers than WG-Cmdlets-Management.
Look, this is not the problem of one cmdlet https://github.com/PowerShell/PowerShell/issues?q=is%3Aissue+is%3Aopen+Include+label%3AArea-FileSystem-Provider

It's really for WG-Engine-Providers.
We must get answers to fundamental questions. Are these parameters proprietary to the engine or to cmdlets? If cmdlets then this leads to absurdly different behavior as we can see. Furthermore they are not individual cmdlets but Provider cmdlets, i.e. the cmdlets themselves are part of the PowerShell Provider Engine API - the developers do not implement these cmdlets, only the providers. So these parameters are still the property of the PowerShell Provider Engine which should define their unambiguous semantics for all kinds of providers, right? Then we should expect the parameters to work the same for all cmdlets. On the other hand if we look at the implementation we see a lot of flexibility, these parameters are saved in a CmdletProviderContext which unexpectedly contains these parameters and is not immutable! We see two consequences. Firstly, the provider can use the values of these parameters and create a different behavior than the engine. Using these parameters may be justified by their more efficient implementation, but deviations in behavior are unacceptable. Therefore we need mandatory tests for all providers which protect generic behaviors. Second, any provider's implementation can change values of these parameters on the fly, changing the behavior of the engine itself and even the behavior of other providers! This is also unacceptable and the engine should be modified to prevent this.
Recursion problem was discussed in #15159 at length without final conclusion. While implementation of globstart/pathspecs looks enticing this is extremely difficult to implement and difficult to use.
If we look at the implementation of recursion in .Net, there are two predicates - ShouldRecurse and ShouldInclude. Both predicates have full access to the current Item. It is intuitively clear what they are doing.
In essence, we need exactly these two operations too - anything else is just misleading.
This leads us to agree that these parameters (Include/Exclude) work as ShouldInclude predicate - it likely falls into bucket 3 (unlikely grey area).
We can not convert Recurse parameter in ShouldRecurse  predicate it would be hug breaking change. Really Recurse  works as ShouldRecurse  *. Does this remind you of anything? For example, the Path parameter with globbing support? :-)
I can assume that this is enough for most typical scenarios. If you need something more than globbing in Path parameter, I'd rather consider new parameters (ShouldRecurse  and ShouldInclude) in the form of script filter functions that take the current item as a parameter (ex., like FileInfo). This is of course slower than the native implementation, but still noticeably faster than the current globbig implementation.
So the minimum we need to do to put things in order is to admit that the parameters (Include/Exclude) work exclusively as ShouldInclude predicate and uniformly for all cmdlets.


Update howto-authentication-temporary-access-pass.md

The correct capitalization of Autopilot is...Autopilot, not AutoPilot. I know, small thing, but important!

@jeffgilb : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@MicrosoftGuyJFlo: I'm sorry - only the author of this article, @justinha, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Vulnerability roundup 79: samba-4.7.12: 2 advisories

search, files

[ ] CVE-2019-14870 CVSSv3=5.4 (nixos-19.03)
[ ] CVE-2019-14861 CVSSv3=5.3 (nixos-19.03)

Scanned versions: nixos-19.03: d1dff0bcd9f. May contain false positives.

See also: #60111


Feature update content 0.4

Update the content to iteration 0.4.
Also fix the docker setup when running locally.
Aside from small changes (removing the product nav bar when not logged in), only the content should be affected.
https://trello.com/c/I1ck0jqO/217-update-content-to-v04-and-add-translations-to-the-portal
https://trello.com/c/qyNApEtx/223-remove-the-landing-page-from-the-application
https://trello.com/c/adN7QyM1/209-change-content-in-header
This PR also moves the /start page into the covid_key app.
It also removes the /landing page.

Added a commit to put more spacing under the login form. Put a bit of explanation in the commit message, but basically we want to consistently separate form items, the "forgot password" link is conceptually related to the form, but the sentence after is not, so push that one further away.

before
after

Since the card explicitly says "V.04", we can merge without it and I can make a new card, or else you can update that page. Let me know which you went for.

I updated the invite complete page to v0.5.


How to open chat in a separate screen instead of modal in iOS

I am new to iOS . I want to know how to open chat in a separate screen.
TIA

@bleonard

@bleonard Can you help us ?
TIA

Closing for now, feel free to ask again if you still need help.


fix: multiple generations for same class

Now multiple @Envied annotations generate multiples classes

Fixes #122
It's ready for publish with 1.0.1 version

Hey, I left some comments.
Please do NOT update the version in this PR.

With regards to the rest of the comments:

pubspec_overrides are necessary for a correct local development. For us, that we don't have them, in order to run them we have to lose time fixing dependencies before being productive. I don't find why to don't commit them.
As a package maintainer myself, I appreciate more the guys that help me with the chores of a package maintenance.  If you don't like that, you can kindly thank the extra job done and say not to worry afterwards to the guys that loose their time trying to help.
With that said, and due to

Please do NOT update the version in this PR.

I'm not sure what to do... Do I remove the pubspec version upgrade and changelog (update 'em) or left them like they are in this PR?
With regards to the pubspec_overrides, I think they are better present that absent, and like I left them the project is just working. Why don't you remoe mines but add yours and leave the project functional for future contributors?

I'm not sure what to do... Do I remove the pubspec version upgrade and changelog (update 'em) or left them like they are in this PR?

Correct, remove any changes to the pubspec.yaml and changelog because it interferes with the release process.

Sorry, dude. I think we are not compatible in our work of working and I'm not willing to continue with this. I push the changes I have already done and when I have the time I'll continue with my own implementation of this package

Sorry, dude. I think we are not compatible in our work of working and I'm not willing to continue with this. I push the changes I have already done and when I have the time I'll continue with my own implementation of this package

Yeah, fine.


(▔MMs .FULL. VIDEOs▔) Video balthazar baltasar ebang engonga Wife of viral video on x Tlegram

20 seconds ago
L𝚎aked Video Baltasar Ebang Engonga Original Video Viral Video L𝚎aked on Twitter Telegram
Leaked Videos: The untold story of how Baltasar Engonga broke boundaries
Share this post
Equatorial-Guinea-ANIF-DG-Baltasar-Engonga
Baltasar Ebang Engonga
5th November, 2024
By Nehru Odeh
Baltasar Ebang Engonga is indeed a record breaker. He is well-heeled, handsome and has pedigree. He was until recently also the Director-General of Equatorial Guinea’s National Financial Investigation Agency (ANIF).
Nicknamed “Bello” on account of his good looks, 54-year-old Baltasar is the son of Baltasar Engonga Edjo’o, the head of the Central African Economic and Monetary Community (CEMAC) commission, and a nephew of President Teodoro Obiang Nguema Mbasogo He is also a close ally of the president.
L𝚎aked Video Baltasar Ebang Engonga Original Video Viral Video L𝚎aked on Twitter Original..
Baltasar Ebang Engonga Original Video video oficial twitter Original..
L𝚎aked Video Baltasar Ebang Engonga Original Video Viral Video L𝚎aked on Twitter Original..

cxv xv cxv


NIFI-9580: UI work for framework-level retry in Processors

Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
This is an initial pass at adding UI controls for the retry work done in #5593. This PR is based off of the work done on that branch, so please do not merge until #5593 has been merged. The initial proposal containing UI requirements can be found here
Questions:

I don't see an example of radio buttons used in NiFi's UI, but I used them for the Backoff Policy control since it made most sense (the value is either penalize flow file or yield entire processor from what I understand). I can switch these out for checkboxes that behave like radio buttons to be more aligned with NiFi's design system if others believe that's the better option.

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

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

[ ] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

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

[ ] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on JDK 8?
[ ] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

Thanks for putting up the Draft request here, Shane! I've been playing around with it, and I think design works well. A few recommendations, though, around tooltips and defaults to help simplify the configuration and make things more seamless for others:

For "Number of Retry Attempts" I would recommend adding a tooltip that reads something along the lines of: "If a FlowFile is routed to one of the Relationships that is selected for retry, this indicates how many times the FlowFile will be retried before being routed to the associated Relationship. The total number of attempts will be one more than the configured value of Retry attempts." Perhaps a bit less wordy :)
Also for the backoff policy I would recommend a tooltip that explains the difference. When penalizing, the retried FlowFile will be retried after some time, but the processor will process other FlowFiles in the meantime. However, if FlowFile ordering is necessary, Yielding can be used ensure that no other FlowFiles are processed until the first one has completed all retries.
Would also recommend the verbiage "yield processor" rather than "yield entire processor"
re: "Retry Max Backoff Period" - the first time a FlowFile is retried, it will be penalized - or the processor yielded - based on the Penalty Duration / Yield Duration configured in the Settings tab. The second time, the duration will be doubled. And then doubled again, up until the Max Backoff Period. Should probably have a tooltip to explain this also.
I would recommend "Number of Retry Attempts" not default to 0. Perhaps 3 or 5 or 10. Maybe 10 retries is a reasonable default.
Recommend a Max Backoff Period of "10 mins" instead of "30 secs" - 30 secs is a good starting value but I think 10 mins is probably more appropriate for the max amount of time.

@markap14 Thanks for taking a look! I updated the language used in the tooltips, and the default values you recommended are now the default returned from the backend (thanks @timeabarna!).


IMAGETYPE_* on save() method seems to replace all "png" occurrences in the filename

My entry filename was "p18mq5j9k2op6amc1pngp1u1da37.png" and after I started
$image_object->save(p18mq5j9k2op6amc1pngp1u1da37.png, IMAGETYPE_JPEG,90);
filename turned to "p18mq5j9k2op6amc1jpgp1u1da37.jpg". Notice that there are two replacements in filename. I supposed that save() method can replace only the extension part of the filename.
How can I fix this issue?

The save method does not touch the filename supplied.
I think you may have done a string replace earlier in your own code.
If you want to change between image formats, consider a regex that only replaces the end of your filename, or maybe this function will help.

Hi cainmi, thank you for your reply.  It was my fault, sorry.
Anyway thanks for your link, sure it will help me.


Is that possible to support render html element in balloon?

Or just provide some ways to control the line break.
Thanks.

For now, Balloon.css do not support manual line breaking, however you can force it with just some lines of CSS. Example:
<!-- For line breaking, use the special charecter:
 -->
<button data-balloon="Line One
 Line Two" data-balloon-pos="up" data-balloon-break>Hover me!</button>

[data-balloon][data-balloon-break]::before {
    white-space: normal;
}

You can see a live example here: https://jsfiddle.net/7d6n63r4/

Commit 0b7b2ea adds this feature.


Adding support for quiver

A common way for me to draw commutative diagrams quickly is to use the website quiver (it's great!). However, it uses its own stylesheet which references at the beginning with a call \usepackage{quiver}. Normally, I just make a file quiver.sty with the code they want and render my LaTeX document as normal but here it's not clear how to do that.
Would it be possible to add support for quiver rendering?

+1. Or anyone know how to include the quiver.sty into each TikzJax block?

I went here in order to see if it was possible to use custom packages for this exact reason. Hope this comes to pass in the near future!


Unknown errors DHT11 Sensor

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.27.1
Python release (python3 --version):
Python 3.4.2
Component/platform:
Raspberry Pi Model B Revision 2.0 512MB RAM /  DHT11 Sensor
Description of problem:
Getting errors
Expected:
Can not see the DHT11 sensor in Home Assistant after upgrading to latest version.
Problem-relevant configuration.yaml entries and steps to reproduce:
This is the line inside my configuration.yaml file
sensor: !include devices/sensors.yaml

This is the code inside the sensors.yaml file
# DHT11 Temperature/Humidity Sensor
- platform: dht
  sensor: DHT11
  pin: 17
  name: DHT11
  monitored_conditions:
    - temperature
    - humidity
#  polling_interval: 10000
#  scan_interval: 10
#  interval_seconds: 10

Error
16-09-01 09:53:46 homeassistant.components.sensor: Error while setting up platform dht
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 98, in _setup_platform
    discovery_info)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/dht.py", line 65, in setup_platform
    DHTSensor(data, variable, SENSOR_TYPES[variable][1], name))
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/dht.py", line 85, in __init__
    self.update()
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/dht.py", line 104, in update
    self.dht_client.update()
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/util/__init__.py", line 296, in wrapper
    result = method(*args, **kwargs)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/dht.py", line 134, in update
    self.pin)
  File "/root/.homeassistant/deps/Adafruit_DHT/common.py", line 90, in read_retry
    humidity, temperature = read(sensor, pin, platform)
  File "/root/.homeassistant/deps/Adafruit_DHT/common.py", line 76, in read
    platform = get_platform()
  File "/root/.homeassistant/deps/Adafruit_DHT/common.py", line 48, in get_platform
    from . import Raspberry_Pi
  File "/root/.homeassistant/deps/Adafruit_DHT/Raspberry_Pi.py", line 22, in <module>
    from . import Raspberry_Pi_Driver as driver
ImportError: cannot import name 'Raspberry_Pi_Driver'
16-09-01 09:55:34 homeassistant.helpers.condition: Value cannot be processed as a number: unknown
16-09-01 09:55:53 homeassistant.helpers.condition: Value cannot be processed as a number: unknown
16-09-01 09:55:53 homeassistant.helpers.condition: Value cannot be processed as a number: unknown

Additional info:

@roidayan could you have a look at this one?

Raspberry_Pi_Driver should be in Raspberry_Pi_Driver.cpython-34m.so
Can you check you have this file /root/.homeassistant/deps/Adafruit_DHT/Raspberry_Pi_Driver.cpython-34m.so ?
you can also do the following test:
# cd  /root/.homeassistant/deps/Adafruit_DHT
# python -c "import Raspberry_Pi_Driver as driver; print(driver.__file__)"

expected output:
/root/.homeassistant/deps/Adafruit_DHT/Raspberry_Pi_Driver.cpython-34m.so

I get similar errors but with a DHT22. I have the file present and get the expected output.

you get the expected output and still get the error in the log "cannot import name 'Raspberry_Pi_Driver'" ?

No I don't get the import error, I get something about needing to run as sudo, am rebuilding atm, if it continues I'll post the exact error.

maybe you run an older version of home-assistant were the imported Adafruit_DHT library required root. latest version of home-assistant fetches newer version of Adafruit_DHT that doesn't require root (tested on raspbian).

Hi I got it working in the end by adding hass to groups gpio & root. It wouldn't work until I did that. Latest raspian using the all in one HA installer.

I really wouldn't add the hass user to root. Adding it to the gpio group should enough.

I tried doing that initially and it didn't work. I know according to the current help it should but it didn't.
Assume it's something in the all in one installer that causes it? I didn't read anything about having to add hass to gpio either, shouldn't the all in one set everything up so a simple .yaml modification gets anything  working? That is the way the instructions come across.

Are you on Raspbian distribution?
Can you try updating to latest kernel and latest firmware using rpi-update?
https://github.com/Hexxeh/rpi-update

Please also separate your issue to a different thread. The original issue is Python import and not accessing gpio as non-root user.

Hi, yes I downloaded everything within the last 3 days, Raspian Jessie, then the all in one using the instructions given. Being new to HA and not linux literate, I made sure I followed each step very carefully. Apologies for hijacking the thread, I guess I don't have an issue now, was just trying to clear up what I did and how I got it working.

I also got around this problem by adding hass to groups gpio & root. This does not surprise me that this is what's required. Tony D. from Adafruit said the Adafruit driver the the DHT series devices must be run as admin because it depends on C or C++ code that directly accesses memory locations. This was necessary because of the speed required to capture the burst of data. Got this info from his youtube videos. Looking forward to the day this sensor can be read without having to be an admin.

This is incorrect and not related to speed in any way. Root was needed because of access to the gpio that was not exposed in older kernels. In latest Raspbian kernel it is now possible to use gpio through the new new /dev/gpiomem interface which requires 2 things. To be in group gpio which the pi user is already in and update to the app/lib that use the gpio to actually use /dev/gpiomem.
So using latest Raspbian make sure you use latest kernel and firmware as well and you are in a group gpio and check that you have /dev/gpiomem and homr-assistant already fetch the latest ads fruit lib for dht11 that will use /dev/gpiomem.
The issue described here is Python error only. When/if someone is using old kernel/fw/gpiomem doesn't exists/.. then error that root is required will appear in the log.
Then again merely updating the kernel and fw and making sure the user being used is in group gpio (user pi already is) then error for requiring shouldn't appear. And it's not the issue described here.

Roidayan,
I formatted an SD card this past weekend for use on a Pi 3, installed the latest Raspbian Jesse, updated and installed home assistant in a virtual environment with instructions provided at https://home-assistant.io/getting-started/installation-raspberry-pi/ that creates a user called homeassistant to run home assistant in a virtual environment. I've since updated home assistant in hope of resolving my issue. It was only resolved when I did the same as acornatm. That is, by ensuring the homeassistant user was not only added the GPIO group, but adm as well.
Roidayan, what are you doing differently than acornatm and I to make DHT sensors show up for you? Or are you speaking from opinion?
My understanding, that comes from Tony DiCola of Adafruit, seems to explain why admin is needed. That is, even though recent releases of Raspian no longer require admin to use GPIO , admin is still required to use the Adafruit DHT sensor library because it utilizes memory mapped IO for speed purposes to capture the data.
Reference this video:
Raspberry Pi & Python Internet 'Thing' Pt. 3 with Tony D! @adafruit
https://youtu.be/oeGI5OMAheg
see time position 11:56
On Mon, Sep 12, 2016 at 11:06 PM, Roi Dayan<EMAIL_ADDRESS>wrote:
This is incorrect and not related to speed in any way. Root was needed because of access to the gpio that was not exposed in older kernels. In latest Raspbian kernel it is now possible to use gpio through the new new /dev/gpiomem interface which requires 2 things. To be in group gpio which the pi user is already in and update to the app/lib that use the gpio to actually use /dev/gpiomem.
So using latest Raspbian make sure you use latest kernel and firmware as well and you are in a group gpio and check that you have /dev/gpiomem and homr-assistant already fetch the latest ads fruit lib for dht11 that will use /dev/gpiomem.

The issue described here is Python error only. When/if someone is using old kernel/fw/gpiomem doesn't exists/.. then error that root is required will appear in the log.
Then again merely updating the kernel and fw and making sure the user being used is in group gpio (user pi already is) then error for requiring shouldn't appear. And it's not the issue described here.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Roidayan,
My error might be different than that posted here, but my problem matched that in 'Expected' at top of this thread. That is, I could not see the DHT readings in the app until my user was added to group adm. I added my comments because what worked for atmacorn worked for me and thought it might be useful. I can provide my errors here or if you advise, I can open another issue.

Hi @uberknot,
Thanks for the detailed input.
I never tried the raspberry installation instructions but they seem to be the same as the normal procedure described here https://home-assistant.io/getting-started/installation-virtualenv/ beside of creating a new user. I basically installed in virtualenv folder with the default user pi.
Notice the video is from April and he mentioned in the video that the library is using the fast memory access interface /dev/mem (instead of sysfs or something else) which requires root because this is what he had at the time to access the gpio. (not because working with root is faster but because only root can access /dev/mem)
The commit to fix the library was introduced in Jun. see here https://github.com/adafruit/Adafruit_Python_DHT/commit/98df7ee89d54bcb384ea1597b4818def4f944c2a
You mentioned you needed to be in group adm and maybe this is correct, I haven't verified it.
here are the default groups user pi is in by default:
uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),101(input),108(netdev),997(gpio),998(i2c),999(spi)
so both adm and gpio are there. I see also i2c and spi that you might need in the future to access some features.
Since I used the default user pi I didn't have to do anything to make gpio access work without root.
I think the raspberry installation guide here was written before or without considering the gpiomem access. so I guess it should be just updated to set correct groups.
as for the issue. before adding gpio,adm groups to your homeassistant user. did you get python import error as described here? what is the exact error you got? can you copy paste?
I'll try to verify this as well.

@riaandeyzel @uberknot Verified and tested several times in the creation of the new installation guide for the Raspberry Pi.
The DHT sensors will work on a Raspbian Lite installation, installed in a Virtual Env on a separate user. The new user will need to be added to the gpio group.
To read the full guide have a look here.

@uberknot,
I did some tests. I removed user pi from group adm and restarted hass. I didn't get any errors and I can still get readings from DHT11.
Removing the pi user from the gpio group did give me an error from the dht component:
Sep 14 08:23:45 raspberrypi hass[15452]: RuntimeError: Error accessing GPIO.

And also from the binary sensor component:
Sep 14 08:23:33 raspberrypi hass[15452]: RuntimeError: No access to /dev/mem.  Try running as root!

It logs it wants access to /dev/mem but I think it's a fallback from gpiomem since being in the gpio group didn't generate any error.
So the error is not the same as described in this issue which is a python import error and I only needed group gpio.

I think it might have been an issue with the all-in-one installer, I rebuilt from scratch with Jessie Lite +2.8.2 and the new pi instructions yesterday (because the all-in-one script now doesn't work), and can confirm that I can see my DHT22 simply by adding the user homeassistant to the gpio group.
What was a problem for me this time was following the instructions for autostarting . I got it working in the end, but probably not the right way. When I finally worked out that the autostart script needs the user changing to homeassistant and the ExecStart=/srv/h...a/h..a_venv/bin/hass it asks you for a password. I got round that by doing sudo su before entering the script. So now it's all working but I have no idea if that was the right way. The instructions for pi installation are perfect but the autostart section should really be added to the end of it, and made as copy&paste as the rest of the install instructions.
Sorry to elongate the thread with irrelevance, but once again I'm new to this, so forgive. I would have no idea where to post my non-issues anyway! Seems like the op either sorted it, gave up, or committed sudoku.

@Landrash @roidayan @acornatm
First, thank all of you for your input.
Second, I'm really digging this application and looking forward to see what I can do with it.
Third, since users are having success seeing DHT sensors without having to add the user to the admin group, I feel I should investigate further. I plan to start from scratch with a fresh install of Jesse Lite and will report my results here with any errors encountered. Before I do so, I can say the only thing I did different from the install instructions was to use the full install of Raspian instead of the lite version. Not sure why this would make a difference.
Thanks again.

@riaandeyzel Can we consider this to be resolved?

Update to my DHT sensor issue:
I did a fresh install using Raspian Lite, this time on a Pi 2. I no longer have to add the home-assistant user to the arm group. Not sure why, but my problem seems to have been using the regular Raspian distro. Doing so, caused me not to see my DHT sensors without adding the home-assistant user to the admin group.
I used the following instructions:
Raspberry Pi installation:
https://home-assistant.io/getting-started/installation-raspberry-pi/
And auto start:
https://home-assistant.io/getting-started/autostart-systemd/
All, thank you for your comments. My issue is resolved.

@uberknot 👍

We can close this issue.


Update dependence version of microsoft/go-winio

refer to https://github.com/rancher/rancher/issues/10536
We need to update version of microsoft/go-winio in vendors.

LGTM


style: cards styling

in Volunteers.vue, this code seems to be unused and could be removed:
`

      <!-- </pre> -->

`

so it is always nice to remember that for each element

position the element inside the screen (eg. fixed positioning to top)
position other element inside the element (eg flex container with centered content inside))
heigth & width
margins & padding
colors & font style
hover & transition


[DEVHAS-99] Add APIVersion and Kind to kustomize files

Fixes https://issues.redhat.com/browse/DEVHAS-99
Updates the generated kustomization.yaml files to include the APIVersion and Kind fields

/retest

/retest


black formatter is replaced with ruff

Summary

Type of Issue

[ ] :bug: (bug)
[X] :book: (Documentation)
[ ] :dizzy: (New Feature)
[ ] :radioactive: (Deprecation)
[ ] :no_entry_sign: (Removal)

Issues Referenced
resolves #334

@all-contributors please add @Mahhheshh for Doc


goto definition adds an extra jump to jump list

Describe the bug
When I use the following keymap for goto definition:
vim.keymap.set('n', 'gd', '<Cmd>Lspsaga goto_definition<CR>', opts)

the actions adds an extra jump to first line of the file is the definition is in another file.
I have no problems if I change the keymap to use vim.lsp.buf.definition.
Steps to reproduce
This is my configuration, I don't have anything extra. I hope this is easy to reproduce. Otherwise I can record a video or something.
Expected behavior
I expect the jump list to not have extra jumps to line number 1. This is how my jumps look like after using goto defs. I expect the jumps to line 1 to be removed.

Neovim version (nvim -v)
v0.9.2
lspsaga commit
3df3e1d
Terminal name/version
wezterm 20230712-072601-f4abf8fd

goto is rewrite handler of vim.lsp.buf.definition it added a jump list.

@glepnir I did not understand, do you mean that this is the intended behavior and I am configuring it incorrectly?

goto is rewrite handler of vim.lsp.buf.definition it added a jump list.

俺也一样

@glepnir 试了 最新的代码还是不行 如果第一次调用原生方法 后面不管原生方法或者lspsaga 都没有问题 如果第一次用了lspsaga的方法 原生和lspsaga的方法都有问题 跳转的时候jumplist 多了第一行的记录

reproduce step/

This is my config:
    {
        "glepnir/lspsaga.nvim",
        event = "LspAttach",
        config = function()
            require("lspsaga").setup({
                ui = {
                    winblend = 10,
                    border = 'rounded',
                    colors = {
                        normal_bg = '#002b36'
                    }
                },
                symbol_in_winbar = {
                    enable = false
                }
            })
        end,
        dependencies = { { "nvim-tree/nvim-web-devicons" } }
    },


chore: update mergify config to manage 4.3.x branch

do not execute all the tests as it is only merfigy config


[ConstraintSystem] Preserve l-valueness of the result after implicit …

…IUO unwrap
Detect that result type of the overload choice is l-value and preserve
that information through the forced unwrap operation so it's possible
to load the value implicitly during solution application.
Resolves: rdar://problem/61337704

@swift-ci please test


Rejected from 85/88 companies

I got turned away from every return offer from internships I had (7), as well as 85 companies I applied to for full-time (even after getting to onsites for over 15 of them!). I now work at Amazon and love what I'm doing. :)

That's a lot! :) so awesome you're rocking at Amazon now!


Fixes for internal API domain creation

What does this PR do?
Adds support for creation of internal API hostnames from workload cluster main API URLs.
Any background context you can provide?
Adds a possibility to log in to workload clusters using their internal APIs.

Tested in Ghost and in a workload cluster in Flamingo

New solution tested in Gauss and Flamingo workload cluster as well.


minor refactoring to function

I was just looking through the code base and noticed this small "improvement" I could make. Is the focus more on readability or is this kind of refactoring acceptable as well? I understand that this format does decrease readability a little bit, so I didn't look into it too much, thought I'd get feedback first.

Dictionary comprehensions were introduced in Python 2.7. Prior to that they are invalid syntax, e.g., for Python 2.5 and 2.6, both of which are supported versions for pep8.
Thanks for contributing though @suhussai!
Perhaps you could look through the bugs and find one that doesn't have a linked PR to try to work on.
Cheers,
Ian!

Your right, I noticed that in the tests. Even though dictionary comprehension isn't supported directly in python2.6, this format works according to http://stackoverflow.com/questions/1747817/python-create-a-dictionary-with-list-comprehension:
dict((cookie.name, cookie.value) for cookie in cj)

I installed python2.6/2.5 and ran an example program using that format, and it worked as expected. Do we want to include this other format, which is supported by at least python 2.5 and greater?

So dict() is actually bizarrely slow. That said, being a style issue I don't think we're concerned enough to change it.

Ah, I didn't know that. Thanks for the information.


Fix slider reset with custom value

I don't think this works for us, since the labels are crammed already... I will implement a simpler approach.
This would be a good solution, if we had the space under the slider to add the custom entry.


Missing unit test for grammar-tester handling .db dictionaries

from @alexei-gl in https://github.com/singnet/language-learning/pull/243 :
"please make unit test for .db dictionaries inn grammar-tester"

Unit test implemented (and currently skipped) in: https://github.com/singnet/language-learning/pull/246


Update open-ai-quickstart.md

Aligned resource limit to avoid OOMKilled issue.
This change aligns to @pauldotyu YAML file which increased the resource limit of 65Mi.

@MGoedtel
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


feat: add download as image button to explore

SUMMARY
This feature was recently added to charts on dashboards, I'm adding it to explore view as well
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Example screenshot:

TEST PLAN
CI and new unit test, test downloading an image from a saved chart and an unsaved chart
ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

to: @ktmud @graceguo-supercat @suddjian

also cc @ChristianMurphy as the original implementer of this feature in case he has feedback


How to record animation frames

Hi, Thanks for the awesome library, but just wondering how to capture every frame of the animation as png, so that I can create a movie?

This isn't really a forum for general Flutter questions, but to point you in the right direction. Here's a post about capturing image data from Widgets:
https://medium.com/flutter-community/export-your-widget-to-image-with-flutter-dc7ecfa6bafb
To manually advance the animation position so you can capture a frame at a time (however you want to define that), you could use a ValueAdapter (part of Flutter Animate).


Contact Page

Deliverables:
Add the deliverables with their description here.

[ ] We can add a contact us page
[ ] Proper form with proper UI and colour pallete

So you want to design the Contact page right? Stick to the palette and share the link with me to review.

Do assign it to me!

Yes you can @Sristi27


useInlineStyles set to false does not remove all inline styles

Describe the bug
If somebody wishes to use custom styles from their own stylesheet set at a global level, the inline styles generated should be removed. This is what useInlineStyles={false} should do.
However, disabling this does not entirely remove inline styles, with the <code> block still having the default styles set.
To Reproduce
import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter'
// No style import, as custom css is being used at a global level

<SyntaxHighlighter
  language={language}
  children={value}
  useInlineStyles={false}
/>

Expected behavior
All inline styles are removed when useInlineStyles is set to false
Screenshots
With useInlineStyles set to false we can see that styles are not being populated, except for the <code> block which retains all inline styles.

Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
N/A

good call out, will look at a longer term fix, in the short term you can pass in codeTagProps={{style: {}}}

FYI: A similar thing seems to happen with lineStyles

good call out, will look at a longer term fix, in the short term you can pass in codeTagProps={{style: {}}}

Unfortunately, this will mess up the className prop as well (class='language-xxx') which will break styling ...


Fix find or create for provider

There's a uniq index on the dfe sign in id, so we need to only find by
the dfe sign in id, not by the other attributes

Fixes this issue https://app.rollbar.com/a/dfe-digital/fix/item/dfe-claims/1163?utm_campaign=item_velocity_message&utm_medium=slack&utm_source=rollbar-notification


missing "etcd" package in yum command

If there is no "etcd" package in yum command, it won't be installed automatically.

I signed it!

@wuyawei Looks like this commit was sent from the<EMAIL_ADDRESS>account, you'll need to sign the CLA for that user.

@wuyawei Looks like this was fixed in another commit merged yesterday. The docs now reflect the need to install etcd.


Some minor typos

Just a few things I noticed while following through the docs.

Thank so much Dave!! :)

No prob!  :)


ID description

Hi Dominik,
I'm working with BOLDigger v.2.0.3 (and boldigger-cline v.1.0.0) and have the issue that the "ID" in the results file starts with the greater-than (">") symbol (inherited from the fasta file description line). The fasta file is generated with Qiime2 and the ">" symbol unfortunately causes an error when using the BOLDigger taxonomy table together with the Qiime2 read table in TaxonTableTools.
So a fix of this issue would be quite helpful to streamline the usage.
Thanks!
Sascha
BOLDResults_test-dna-sequences_part_1.xlsx
test-dna-sequences.txt

Hi Sascha,
I looked up old BOLDResult files and it seems like I never removed the ">" even though it would seem to be the correct way to me now. I'm hesitant to change it now because of backward compatibility. Are you sure you have old files that did not show this behavior?

Hi Dominik and Sascha,
if I understand this correctly, maybe it's a TTT issue.
I can confirm that TTT has always been crashing with "raw" BOLDResults files for me.
Below is what I always do/check for a smooth TTT analysis:

replace ">" for ""
replace the numbering format otu1 otu2 otu100   --->   OTU_0001, OTU_0002, OTU_0100  by excel formula ="OTU_"&REPT(0;6-LEN(A2))&RIGHT(A2;LEN(A2)-3)
To prevent warnings about binomial taxonomy, replace and " " for "" (e.g. "No Match" ---> "NoMatch")
Make a binomial species column: =IF(F2="";"";IF(G2="";"";F2&" "&G2))
Sometimes the column names are not accepted (e.g. "IDs" instead of "ID"), sometimes the sheet names (e.g. "BOLDigger hit" instead of "JAMP hit")
Optional: Make a new column of full taxonomy =B2&""&C2&""&D2&""&E2&""&F2&"_"&G2 and sort alphabetically to check anything that needs correction

Hi Dominik,
I've checked my results files (made with boldigger-cline) back from early 2021 and they don't have the ">" sign. While I cannot remember to have them removed before using TTT (as all sheets of the results file are without the sign), I wouldn't stake my life on it... ;-)
Best,
Sascha

Fixed with boldigger2.


Large number of files generated using the Visit Data Collection

I recently ran a few simulations where I was making use of the Visit data collection class to visualize and post process my data. These simulations outputted 8 grid functions across 60 times steps and were run on 640 MPI ranks which resulted in roughly 350k files per simulation. Previously while making use of this class, it never occurred to me how many files could be generated while running a large simulation.
I'm wondering if this large number of file counts could be reduced by using something like hdf5 or some other binary container in order to help reduce this issue where all of the grid functions and the mesh are written into one file rather than separate ones. I could still see an issue as you increase the number of MPI ranks and time steps that output data, but it would at least be less than having each gridfunction and mesh outputted as their own file.
Also, I haven't looked too closely at the Conduit data collection, but does it have the same issue, or does it package everything into one file per MPI rank?

As far as I remember Conduit should solve that problem. It uses binary output with HDF5.

@rcarson3 @jandrej the conduit data collection should package all of the mesh and field data for each domain into one file per mpi task.
There are also a few strategies that we could use to write to fewer files than MPI tasks, however those are not implemented yet in MFEM.

@cyrush  thanks I've been able to get things to compile and run for my application using Conduit.
However, I'm having trouble opening the blueprint files using Visit 3.0 on either my local machine or one of LLNL's clusters. I'm not too sure if this is a problem with either the version of HDF5 (v1.10.15) that I'm using, or if it might be to how I'm having things saved off in ExaConstit or with how things are being linked using cmake.
On my local machine I'm seeing the following error when opening up the files:
Pseudocolor:  ()
viewer: An invalid variable (HDF5 Error code-1 Error opening HDF5 file for reading: /Users/carson16/Sim_results/results 2/results/exaconstit_000000/domain_000000.hdf5
) was specified.

The error is somewhat similar on the remote machines:
HDF5-DIAG: Error detected in HDF5 (1.8.14) thread 0:
  #000: ../../src/H5F.c line 604 in H5Fopen(): unable to open file
    major: File accessibilty
    minor: Unable to open file
  #001: ../../src/H5Fint.c line 990 in H5F_open(): unable to open file: time = Mon Jul 29 11:32:52 2019
, name = 'results/exaconstit_000000/domain_000000.hdf5', tent_flags = 0
    major: File accessibilty
    minor: Unable to open file
  #002: ../../src/H5FD.c line 992 in H5FD_open(): open failed
    major: Virtual File Layer
    minor: Unable to initialize object
  #003: ../../src/H5FDsec2.c line 343 in H5FD_sec2_open(): unable to open file: name = 'results/exaconstit_000000/domain_000000.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0
    major: File accessibilty
    minor: Unable to open file

I can try rebuilding Conduit without HDF5 support to see if things work then, which it sounds like it should cause things to be written out to JSON instead.
If you'd (@cyrush) like I can also file an issue on the conduit github page .

@rcarson3 VisIt is compiled against HDF5 1.8.x as such it can't always read files written with newer HDF5 (1.10.x). If possible one easy path to success would be using HDF5 1.8.14 when you write the files.
JSON files will work, but will be quite slow.

@cyrush I just tried using HDF 1.8.20 and 1.8.14 but still with no luck. I'm still seeing the same errors within Visit.  Do you know if I might need to compile HDF5 with any specific set of given options for it to work?
Also, I've been avoiding recompiling everything under the IBM compilers with this machine rather than the GNU compilers, but I might have to try that out just so I can see if the included HDF5 library on the machine works, and it's not something wrong with how I've compiled/linking things...
Lastly, it appears that the Conduit data collection within MFEM is only able to output to HDF5 files. It fails at run time when saving things off if you don't build Conduit with HDF5.

@rcarson3
1.8.14 should be ok, we do configure hdf5 without may bells and whistles, but I think we do expect zlib support.
What runtime errors do you get when trying to save non-hdf5 files?

@cyrush okay I'm not too sure the 1.8.14 install I had included zlib support. Also, I just realized that spack is much less intrusive, and so I'm now trying that route out to see how things go rather than rolling everything myself.
The runtime error that is being spit out is the following:
terminate called after throwing an instance of 'conduit::Error'
  what():
{
  "file": "/g/g20/carson16/exaconstit/conduit/src/libs/relay/conduit_relay_io.cpp",
  "line": 345,
  "message": "conduit_relay lacks HDF5 support: Failed to save conduit node to path results/exaconstit_000000/domain_000001.hdf5"
}

I was just looking around, and it looks like I didn't add a line to updating the protocol to being conduit_json. So, I would say that last issue was my fault for not updating my code for that part. Although, it might be nice if the compiler would automatically change the default construction if conduit wasn't built with hdf5.

@cyrush  So, I just tried the spack version and I was still running into issues there. Could part of this issue be caused by MFEM not linking to the same version of HDF5 as conduit was built with? I noticed during my most recent build that it appears to be linking to the system version of HDF5 rather than the one that Conduit was linked to during build time?
Also, I'm running into the same issues of not Visit not loading things with the JSON files after fixing my previous bug...
I also edited the serial version of example 1 and added the following lines to test whether it was my application or elsewhere that was causing the bug. These lines were added right before step 14 and are more or less representative of how I'm doing stuff in my code.
   ConduitDataCollection conduit_dc("results/tests", mesh);
   //I tested this with both the json and HDF5 formats
   //conduit_dc.SetProtocol("json");
   conduit_dc.RegisterField("solution",  &x);
   conduit_dc.SetCycle(0);
   conduit_dc.SetTime(0.0);
   conduit_dc.Save();

It failed on me both times but at different points. The JSON version failed to load in visit v3.0 and visit v2.13.3, and the HDF5 failed at while writing the file with the following error:
terminate called after throwing an instance of 'conduit::Error'
  what():
{
  "file": ".../spack-src/src/libs/relay/conduit_relay_io_hdf5.cpp",
  "line": 1989,
  "message": "HDF5 Error code-1 Failed to create H5P_FILE_CREATE  property list"
}

which I'm wondering if this is caused by MFEM not linking to the same version of HDF5 that Conduit was built with at least when building MFEM with CMAKE. However, I will say that my application didn't have this problem since I used the information provided by Conduit's cmake config file to link to the version of HDF5 that was used during build time.
I've tested the above using version 0.3.1 and the master branch of Conduit with no success.

@rcarson3,
If you suspect that the version of HDF5 that MFEM is linked against is the issue, you can point cmake to find the specific version you need by setting the cmake variable HDF5_ROOT during configuration, e.g. something like this:
cmake -DHDF5_ROOT:PATH=/path/to/hdf5 ...

I have not tried this myself but this is what the HDF5 module that comes with cmake says: https://cmake.org/cmake/help/latest/module/FindHDF5.html

@v-dobrev that helped to get my serial version of example 1 that made use of HDF5 and Conduit to run. However, it appears the data set is still failing to load within Visit. If y'all (@cyrush  and @v-dobrev ) would like I can send you the files generated from example 1 although maybe with a lower refinement level, so it's easier to examine and maybe spot if there's something wrong in there.

It looks like the path inside the root file saved by the Conduit data collection is wrong: I'm getting this error in VisIt:
Pseudocolor:  ()
viewer: An invalid variable (HDF5 Error code-1 Error opening HDF5 file for reading: /Users/dobrev1/code/mfem/examples/results/results/tests_000000/domain_000000.hdf5
) was specified.

and the actual file is here:
/Users/dobrev1/code/mfem/examples/results/tests_000000/domain_000000.hdf5

This is an issue we need to fix. For now, removing the prefix path results/ from the string "results/tests" circumvents the issue and VisIt can load the data.

One possible solution is to remove the prefix_path from the result of this method: https://github.com/mfem/mfem/blob/369fc7c903398a86588788cef687596dff85d56f/fem/conduitdatacollection.cpp#L915-L929
@cyrush, is this the right way to fix the issue?

Thanks @v-dobrev that temporary fix should work for me. Also, I was taking a look at the Visit data collection, and it appears to strip off the prefix path from the results, or at least it appears to based on my previous use of it and providing it also something along the lines of results/tests

@v-dobrev @rcarson3, a bit pressed for time over the next week or so, but I would be happy to dive in towards the end of next week.

@rcarson3,
Did you see any problems when using the VisIt data collection?
In my test, the VisIt data collection worked correctly. It does split the collection name "results/tests" string into prefix_path (="results/") and name (="tests") but they are later merged to form file names. This separation allows you to set the prefix path separately with the SetPrefixPath method. It is also needed to create any directories that do not exist.

@v-dobrev I haven't had any problems using the VisIt data collection outside of the large number of file creations. It's always loaded up just fine in VisIt for me.

@rcarson3 -- what is the status of this issue? Are the any remaining action items for MFEM or @cyrush?

@tzanio I'd say that this issue is more or less ready to close once the prefix path issue for ConduitDataCollection is fixed potentially with @v-dobrev proposed fix down below. Then, as far as I can tell, Conduit can pretty much act as a drop in replacement for the VisitDataCollection.

One possible solution is to remove the prefix_path from the result of this method:
https://github.com/mfem/mfem/blob/369fc7c903398a86588788cef687596dff85d56f/fem/conduitdatacollection.cpp#L915-L929
@cyrush, is this the right way to fix the issue?

ping: @cyrush


Hard disk Full doesn't start "bug"

My hdd is full no more space then the wallet is close until here ok.
I create enough space free in my hdd and i start the wallet but doesn't start.
I install one more time again nothing then i use my backup and now is working well.
Is nice if crashing the wallet must exist something fix or what ever.
Thanks

We are not going to be adding space checks to the qt wallet.

i didn't ask to check the space but i ask to fix if crashing. That's important all the programs they do. Check it.

A you don't have enough details on this for me to comment on this other than in the very most general terms. What you are talking about does require a running space check, we will not be adding that at this stage.


testing - start adding unit tests to critical areas

What are some examples of currently existing tests?

we don't have much in the way of tests yet - just some *-test.js files that run in node that were used to help develop the code, not geared towards automation.
critical areas would be any complex/confusing code - eg the jobboss shift handling, availability shift handling, adapter cache calculation code
could start by instrumenting that code for tests. along the way help make code more functional and easier to understand.
and for future code, i haven't had much luck sticking with TDD in other projects, but could try that going forward. otto what about you?

and for future code, i haven't had much luck sticking with TDD in other projects, but could try that going forward. @tukusejssirs what about you?

IMO having tests for all units (at the very least functions and methods) would be very nice, however, it takes some time to create robust tests. We could even track the test coverage.
Why I was thinking about using TDD approach, however, I am more acustomed to be create the code first, then tests (after the code is more or less ready to merge, before merging), as the code change and while coding, I can create a list of test cases (based on the conditions in the code), which I can’t create out of the blue before the code is built.
IMO, we should try to add tests whenever when add new features or update (enhance, possible fix some bugs) the code. Or we could wait until a particular app is moved to Nx, then start adding the tests. In either case, there is no need to add all the unit tests systematically right now, as we don’t have the manpower for that right now.

@bburns TDD requires specifications up front.  It won't work without spec or design model.
@tukusejssirs Acceptance tests might be an option.

IMO, we should try to add tests whenever when add new features or update (enhance, possible fix some bugs) the code. Or we could wait until a particular app is moved to Nx, then start adding the tests.

Okay - it makes sense to start adding tests for new features after we move services into Nx, since it includes Jest.
Could start with the Meter service, since we'll be adding code for OEE there.

Could start with the Meter service, since we'll be adding code for OEE there.

Yeah, I was about to ask you which app (service) would be (in your opinion) the easiest to move to Nx workspace first. I was thinking about one that does not depend on ther services (so that it could be easily tested without Docker). Moving the app itself is the easiest part, we need to adjust (a bit) global Nx config and probably the project-level config too. There are so many options …
Do you think that meter is the ‘right’ service to start the move to Nx? I was thinking about creating a test branch in my fork and then I’ll you guys for comments if my choices will be okay with you. WDYT, @bburns, @MRIIOT?

I would be OK with meter.  @tukusejssirs go for it.


Add needed alarm permission for A12

The PR also includes updates to dependencies, AGP and app config

i can't compile the app with android studio, problem with build.gradle 'com.android.tools.build:gradle:7.0.3'.
Anyway thanks for your help. On one thing, however, I disagree. In my opinion, the permission of the telephone is not necessary. In fact, the app performs well on the various devices that I have even without that permission.

can you help me with the theme to solve issue #2 ? There is already a pull request for the theme but it is very buggy

@qw123wh you gotta update AS to the latest stable.

@qw123wh the telephone permission is needed to check if there's a call running to not interrupt it. This is one of the SDK changes

@qw123wh and yeah, I can gladly help with #2, but it'll have to wait some time, as am busy with my other projects :)

@machiav3lli thanks again, as soon as you have time let me know, i would like to make other changes with your help


Problem: Authentik OIDC

Issue
There is an timeout when trying to auth via authentik oidc coz of little slash at the end of request
Impact
Web-Backend (APIs)
Installation method
Docker
Database
Postgres
Browser
Chrome
Semaphore Version
v2.9.109-e32ce6b-1716748351
Logs & errors
level=error msg="Get \"https://auth.mydomain.com/application/o/ansible-oidc/.well-known/openid-configuration\": dial tcp server_ip:443: i/o timeout"
Configuration
"authentik": {
	"display_name": "Sign in with Authentik",
	"provider_url": "https://auth.mydomain.com/application/o/ansible-oidc/",
	"client_id": "id",
	"client_secret": "secret",
	"redirect_url": "https://ansible.mydomain.com/api/auth/oidc/authentik/redirect",
	"scopes": ["openid", "profile", "email"],
	"username_claim": "preferred_username",
	"name_claim": "preferred_username"
}

Hi @ZifeRRoT
https://auth.mydomain.com/application/o/ansible-oidc/.well-known/openid-configuration - is it incorrect URL for Authentik? Is it need / at the end?

Here you got a fully working configuration for Authentik, I have just tested it with my own Authentik instance:
        "authentik": {
            "icon": "git",
            "display_name": "Sign in with Authentik",
            "client_id": "REDACTED",
            "client_secret": "REDACTED",
            "redirect_url": "http://localhost:3000/api/auth/oidc/authentik/redirect",
            "provider_url": "https://authentik.example.com/application/o/your-oauth-provider-name/",
            "username_claim": "preferred_username",
            "name_claim": "name",
            "email_claim": "email"
        }


Weights and Biases Callback for Elegy

Callback that streams epoch results to a Weights & Biases run.
Sample Usage:
wandb.login()
wandb_logger = WandbCallback(project="sample-wandb-project", job_type="train")
model.fit(X_train, Y_train, callbacks=[wandb_logger])

Key Features:

Automatically log your experiment results using elegy.callbacks.WandbCallback
Save and version model checkpoints as Weights & Biases Artifacts

Colab Notebook for Demonstration: https://colab.research.google.com/drive/1M-KJcxFx5LXVqtt7Yztbf8uyX0Cd7GEw?usp=sharing
Sample Dashboard: https://wandb.ai/geekyrakshit/elegy-test

Hey @soumik12345! Sorry it took so long to review.
I updated the dependencies and solved merge issue.
Thanks a lot for doing this ❤


[question]: Support for deployment via k8s

What happened?
Do you support deployment on Kubernetes?
Version
4.1.3 (Default)
OS Type
No response
Java JDK Version
Oracle JDK 1.8.0
Relevant log output
No response

Docker images are currently created for each release version, including a lite version and a full plugins version. These images can be deployed directly in a Kubernetes environment. For more information on the images, please refer to https://hub.docker.com/r/wgzhao/addax


Analyze 1Balance Usage

Background
Our relayer usage is high. We should analyze to make sure we aren't sending unnecessary txs.
Linked Issues & Documentation
https://docs.google.com/spreadsheets/d/1q2W5GnjRTeZQVd28jovffWk6hNAbyIgp/edit#gid=1033217453
Definition Of Done
We are confident that the costs line up with expectations.

https://docs.google.com/spreadsheets/d/1b5NhSdq1giauO27PdCMV_C4ZDwnS6aK1/edit#gid=796871664
basic analytics here


Add Best practices section to documentation

Perfomance consideration
How to use in projects
How not to use in projects


ARG query for MFA doesn't list object IDs

The additionalData property reveals the list of account object IDs for accounts that don't have MFA enforced.
It doesn't show anything related to object IDs

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

ID: 4a76960f-b0c2-d820-5a49-29f19e937e29
Version Independent ID: f66f0b4f-89fd-5b91-66b7-93ee7a0e1d1d
Content: Microsoft Defender for Cloud's security recommendations for MFA
Content Source: articles/defender-for-cloud/multi-factor-authentication-enforcement.md
Service: defender-for-cloud
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

@applefacts
Thanks for your feedback! We will investigate and update as appropriate.

#label:"backlog-item-created"
https://dev.azure.com/msft-skilling/Content/_workitems/edit/132721

@AlizaBernstein to reiterate the query is supposed to list the object IDs of the user accounts that are unhealthy in the MFA recommendation, but it doesn't list anything at all. I see no relevant data under the "additionalData property".
As per the doc:
_The additionalData property reveals the list of account object IDs for accounts that don't have MFA enforced.
Note
The accounts are shown as object IDs rather than account names to protect the privacy of the account holders.__

And I know there's unhealthy users because I see 5 users in the recommendation

#please close
Issue resolved in https://github.com/MicrosoftDocs/azure-docs-pr/pull/248426


Implemented sorting for profile list endpoint

Added Id to ProfileList for future development need.
Created extension method for IQueryable to process 1 to N 'ThenBy' calls.
Added logic to handle sorting requests from the profile endpoint.
Added tests for sorting

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Mark Harvey seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Frontend App

I'll work this one. I'll pull from https://docs.cosmwasm.com/tutorials/frontend-dapp/intro.
And I'll update for clarity.

I just issued a pull request for the basic.
I really think we need to work on the "standalone" app example as well.  But that is probably a nice to have considering what else is at hand.