Line is not showing properly

Hello guys,
I've got a problem with the line chart, some parts of it ar not showing properly and I wonder if I can add a padding between the line and the axis to prevent this issue, here's what I mean:

with data points:

As a generic FYI — I am no longer able to maintain this library. I recommend checking out victory-native as it's much more maintained.


Request School Endpoint: Create GET endpoint and write unit test

Is your feature request related to a problem? Please describe.

The frontend need to get all the request submitted by users

Describe the solution you'd like

Write the GET endpoint and unit test for retrieving all requests submitted by the user

Describe alternatives you've considered

N/A

Additional context

GET: /request-school

Branch that dealt with this was merged!


Query params change detection

when i update hash from items/search?q=19 to items/search?q=20 the router didn't detect the change

When you transfer from items/search?q=19 to items/search?q=20 the component is reused, so only route:data hook gets triggered. This hook is where you should fetch the data that depends on URL.

Ah great this seems reasonable. appreciated for quick help

Or add this to your component:
route: {

	canReuse: false

}


Zoom Slider behaving odd on Chrome with force-device-scale-factor

I have my chrome to start with the extra parameter on my 4K screen "force-device-scale-factor=1.75"
With this setting, the zoom slider does not work as expected - thumb stays behind cursor.
With "force-device-scale-factor=1" it works as expected.

I must say, I am working in v4.6.5 and want this fix in 4.6.5

Please do not close as this is not fixed.

Please provide an example that shows the issue if it still occurs in latest master or the latest beta (v6.0.0-beta.8).

Please read my comments above:
"I must say, I am working in v4.6.5 and want this fix in 4.6.5"

I did read that, hence my question. Tickets are more likely to get resolved when the ticket creator is able to provide the information that is asked for.
Another way to get tickets resolved is to buy support. If you're interested in going that route, you can find service providers e.g. on https://www.osgeo.org/service-providers/ (type "openlayers" in the search field)


Does it support  flutter web?

In pub.dev it shows it supports only Android and Ios. So what about the web support?

It doesn't support web because of CachedNetworkImage (https://pub.dev/packages/cached_network_image) and the usage of File to load device files line 98 of media_container.dart

I added support for web in 0.0.5 🎉


commitizen: 2.35.0 -> 2.37.0

Description of changes

Upgrade commitizen from 2.35 to 2.37

https://github.com/commitizen-tools/commitizen/blob/v2.37.0/CHANGELOG.md

Add passthru.updateScript

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 198338 run on x86_64-linux 1

1 package built:

commitizen


X40 Ultra vacuum ignoring cleaning parameters in clean_segment action

Describe the bug
When calling clean segment action, X40 Ultra vacuum does not use the set parameters, instead it uses the global fan_speed and mop pad settings. According to the documentation
Cleaning parameters and cleaning sequence are ignored by the device when customized_cleaning or cleaning_sequence is enabled. yet they seem to be ignored when customized_cleaning and cleaning_sequence are turned off as well or I'm doing something wrong, which is also likely.
To Reproduce
With customized_cleaning: false and cleaning_sequence: null call the following action on the X40 vacuum entity:
action: dreame_vacuum.vacuum_clean_segment
target:
  entity_id: vacuum.x40_ultra_complete
data:
  segments: 4
  suction_level: 0
  water_volume: 3

Expected behavior
The vacuum cleans the correct room using the provided cleaning parameters. Instead cleans the correct room but with global settings.
Screenshots
The global settings in the app while executing the above mentioned action.

Additional Information (please complete the following information)

Integration version: v2.0.0b16
Model Name [e.g. dreame.vacuum.p2028]: dreame.vacuum.r2449a
Firmware Version [e.g. 1156]: Firmware: 4.3.9_1543
Home Assistant Version: 2024.8.2
Configuration Type [With or without map support]:
Errors or warnings shown in the HA logs (if applicable):

Thanks for the quick response! here are the logs produced while running the above mentioned action. Let me know if you need anything else!
dreame_logs.log

Thanks for the support and the amazing work on this integration! Let me know if I can be of more help.


Require more descriptive feedback on invalid login

Feedback should be added to differentiate errors with wrong username/password or missing administrator approval.

Ok, fixed it after demo


Is it possible to disable "Reset zoom and snap back to initial position on gesture end"

The title pretty much sums my question/feature request. How can I remove resetting the zoom/pan state when any of the gesture end? I want to be able to continue zooming until maxZoom is reached. I tried removing the code in onFinish, but with no success.
Also, I am interested in using this zoom functionality with other <View>s besides <Image>, would you be open to a PR with such functionality?

Edit: I am able to preserve last zoomed value, but not position by introducing a new:
const lastScale = useSharedValue(1);

//...
const pinchHandler = useAnimatedGestureHandler({
  //...
  onActive: event => {
  //...
  scale.value = clamp(event.scale * lastScale.value, minScale, maxScale);
  //...
  },

  onFinish: () => {
  //...
  lastScale.value = scale.value;
  //...
  }
})

Actually, your package is great 👏  as it is.
I went ahead and created a package that solves my use case, so I am going to close this issue.

@carestad If you're experiencing issues with my package, you could raise an issue there and I can try helping you.


"Add a module" docs readability on larger screens

The readability of the add a module documentation could use a few tweaks on readability. Right now:

The "add a module" sidebar drawer only takes up ~450px on a 4k screens
Additionally the gif on webhooks is quite unreadable on 1440p and higher

Could we also suggest to wrap the text for the URL step as a part of this issue? It just flows off the screen (see step 5):

I'll take this


[QUESTION] How do you chose the proper PID to dump cookies?

Hi,
Both Chrome and Edge create a bunch of processes (one for each tab plus a few others). How do you know what process you should target to extract the cookies?
Thanks

It should be the one with the lowest PID

thanks


DO NOT REVIEW - dbolduc is messing around.

I am too lazy to figure out how to run the CI, so I am going to send this PR and see what happens.

Closing, because I can't remember what I was doing. I would like to update the Bigtable example one of these days....


qb-spawn triggered a deprecated function

i got this when login.
[WARNING] qb-spawn triggered a deprecated function! Exports from prior to v1.9.0 will be removed in a future update.
Refer to the readme for information on updating.

You need to update your oxmysql.


Expected ballgown output when not using '-e'

I am trying to identify novel transcripts in differential expression data and am producing .gtfs that contain STRG prefix entries that are of interest. However I can't seem to find any of these transcripts in the ballgown tables. I thought this would be expected behavior of the '-e' flag, but since I have been explicitly leaving it out of the stringtie command I am confused.

The -e flag only estimates the expression of whatever transcripts are given for the -G option file, and -B/-b ballgown tables are also counting the reads mapped to those same transcripts. So if you put the novel STRG transcripts or any other transcripts in the -G file, you will get the ballgown tables for those transcripts.

So even when not using the -e flag, I still need to add the novel transcripts to a gtf and rerun the ballgown table generation with that gtf?

The -e flag only estimates the expression of whatever transcripts are given for the -G option file, and -B/-b ballgown tables are also counting the reads mapped to those same transcripts. So if you put the novel STRG transcripts or any other transcripts in the -G file, you will get the ballgown tables for those transcripts.

So even when not using the -e flag, I still need to add the novel transcripts to a gtf and rerun the ballgown table generation with that gtf?

Yes, the ballgown tables were really intended for use with -e,  in a pipeline like the one described here: http://ccb.jhu.edu/software/stringtie/index.shtml?t=manual#de
Notice how in the pipeline described there, novel transcripts resulted from the assembly of each sample are collected and merged into a common, larger set of transcripts which is then used just for expression estimation by re-running StringTie with -eB for each sample.
You can apply the same principle even if you only have one sample, merge the assembly output of that sample with a reference set of transcripts (using stringtie --merge or other methods) and then assess the abundance of the resulting merged set of transcripts (which would have novel+known) by re-running stringtie with -eB on it, which should be quite fast.


Change Constructor Visibility

Can't start hiveShell manually because Constructor visibility of StandaloneHiveServerContainer,StandaloneHiveServerContext,HiveServerContainer,HiveServerContext is protected.

This PR will not be granted since it tries to merge the hive-14 branch to master. Given the topic of the PR, it should only touch two files and two lines.
/Pelle


Only News Mock Website is generated

Describe the bug
I use the docker container locally with Ollama. (llama3:latest)
I configured everything with the comment here: https://github.com/abi/screenshot-to-code/issues/354#issuecomment-2435479853
And i use minicpm-v:latest in combination with it and also copied the models.
Ollama is the newest version installed.
Then starting up backend and frontend without error.
I took a screenshot and put it in and the generation starts. The problem is no matter what I tried, there is only the News Page Mock returned, every time. No error in the console of the container, nothing.

To Reproduce

Simply follow the instruction in the comments and try to generate something.
As there are absolute no errors, only that the Mock is returned everytime.

I also tried to set some more variables in .env because i thought maybe something is not working with the SHOULD_MOCK_AI_RESPONSE=false variable.
The I even tried to set IS_PROD=true
Nothing helps.
Normally the .env looks like this.
OPENAI_BASE_URL="http://host.docker.internal:12342/v1"
OPENAI_API_KEY="none"
And the most strange is: As i run this on a mac mini on my desk I hear exactly when the fan turns on and something is happening. So something seems to be send to the ollama llm, but there is some weird stuff happening i cannot explain as only the MOCK is generated.
My last try was even to make sure he will never go into the if case
~/Projekte/screenshot-to-code/backend/routes/generate_code.py:
244          await send_message("chunk", content, variantIndex)
245
246:     if 1 == 2:
247          completions = [await mock_completion(process_chunk, input_mode=input_mode)]
248      else:
But even after this and restarting the container..He is only generating the News Mockup page.
Here is the log from the container as to see that there are no errors:
2024-11-28 20:21:16 frontend-1  | [TypeScript] Found 0 errors. Watching for file changes.
2024-11-28 20:21:16 frontend-1  |
2024-11-28 20:21:19 backend-1   | INFO:     ('<IP_ADDRESS>', 64220) - "WebSocket /generate-code" [accepted]
2024-11-28 20:21:19 backend-1   | INFO:     connection open
2024-11-28 20:21:54 backend-1   | INFO:     connection closed
I have no more idea :)

Omg .. i mixed  up Ollama and LLM Studio Port...
Sorry.. i will close it...


Fixed time_change_test flakes

Create subprocess once per test fixture, instead of before every test case
Removed flaky testcases

Fixes #19501

Known failures: #19819, #19802


update README.md

Update expired usage for RocketMQSink in README.md.
linked #65

Codecov Report

Merging #66 (677f87f) into main (e8d5350) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main      #66   +/-   ##
=========================================
  Coverage     28.50%   28.50%
  Complexity      164      164
=========================================
  Files            62       62
  Lines          2529     2529
  Branches        269      269
=========================================
  Hits            721      721
  Misses         1741     1741
  Partials         67       67

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


Fix exaception about missing UserRepository implementation.

Considering whole custom James server example is heavily based on memory based James I assume it's ok to re-use memory based UserRepository as well.

Why did you closed this?

Sorry, removed the branch in my repo by accident.


Refine the apidiff tool - make reorder of the function parameters a breaking change

Now the function parameter list will also include the parameter name, and the change of parameter name will also be considered as a signature change - aka a breaking change.
For example, we might have a function CreateOrUpdate(ctx context.Context, resourceGroup string, name string, body Body), if we change it to CreateOrUpdate(ctx context.Context, name string, resourceGroup string, body Body), it should be considered as a breaking change.
Also I would like to modify the codegen for track 1 to make it sort the parameters in the functions. Might using the following pattern:
Path parameter goes first, and then body and then query.
In path parameters, we also sort them in the order of they appear in the path (i.e. resourceGroupName appears first in the path, then it is in the first place of the parameter list).

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] Apache v2 license headers are included in each file.

Per offline conversation, including the param name will incorrectly flag param renames as a breaking change.

Per offline conversation, including the param name will incorrectly flag param renames as a breaking change.


Docker won't mount any files

I've raised the issue here as I believe it is a docker-machine issue. Its also highly likely that it is a configuration issue on my part.
When trying to mount directories and files into my interlock container it fails to find the files so it creates directories in the place of the files and empty directories in place of the directories. It's not an issue with the compose file as it works fine on windows.
docker-machine version 0.6.0, build e27fb87
docker-compose version 1.6.2, build 4d72027
Docker version 1.10.3, build 20f81dd
Ubuntu 14.04
Virtualbox Version 5.0.16 r105871
version: '2'

services:
    interlock:
        image: ehazlett/interlock:ng
        container_name: interlock
        command: run
        ports:
            - 8080
        volumes:
            - ./config.toml:/bin/config.toml
            - nginx:/etc/conf
            - ~/.docker/machine/certs:/certs/

Edit: changed the title as I can't recreate the working application as root either

What the error messages / logs you're seeing?

Im not seeing any errors. Just when I exec into any of the containers and 'ls' the files they are all directories, which is what I understand is the default docker behaviour if it can't find the files on the host. It's also the same if I docker run without compose.
The files are definitely there as the application directory that compose is using is exactly the same in my windows environment (where it is working).

I'd ensure that the directories actually get transformed into the absolute paths from your host (OSX) machine that you think they are.  You can verify this information by using docker inspect on the created containers and looking in the Volumes section of the output.  Let me know which volumes on the host the listings in the Compose file are actually getting translated to in the Docker API request.

Ok. Im not in the office till Tuesday so will get back to you then.

i have this issue too  https://github.com/docker/distribution/issues/1652
[wanghs@db2 ~]$ docker inspect 8fd8cf60867f
[
    {
        "Id": "8fd8cf60867f6f356b9b8490634146568636bd1100d36a21cb925dfebdc8dd70",
        "Created": "2016-04-21T01:40:30.278372271Z",
        "Path": "/bin/bash",
        "Args": [],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 19697,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2016-04-21T01:46:12.108541818Z",
            "FinishedAt": "2016-04-21T01:46:11.846601612Z"
        },
        "Image": "sha256:c5ef111614c0369dcf98ebf4181ca6ca4cf658697d248ccd96244d9e6aa970ff",
        "ResolvConfPath": "/mnt/sda1/var/lib/docker/containers/8fd8cf60867f6f356b9b8490634146568636bd1100d36a21cb925dfebdc8dd70/resolv.conf",
        "HostnamePath": "/mnt/sda1/var/lib/docker/containers/8fd8cf60867f6f356b9b8490634146568636bd1100d36a21cb925dfebdc8dd70/hostname",
        "HostsPath": "/mnt/sda1/var/lib/docker/containers/8fd8cf60867f6f356b9b8490634146568636bd1100d36a21cb925dfebdc8dd70/hosts",
        "LogPath": "/mnt/sda1/var/lib/docker/containers/8fd8cf60867f6f356b9b8490634146568636bd1100d36a21cb925dfebdc8dd70/8fd8cf60867f6f356b9b8490634146568636bd1100d36a21cb925dfebdc8dd70-json.log",
        "Name": "/registry",
        "RestartCount": 1,
        "Driver": "aufs",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/home/wanghs/docker-registry/data:/var/lib/registry",
                "/home/wanghs/docker-registry/certs:/certs"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "default",
            "PortBindings": {
                "5000/tcp": [
                    {
                        "HostIp": "",
                        "HostPort": "5000"
                    }
                ]
            },
            "RestartPolicy": {
                "Name": "always",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": false,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": null,
            "StorageOpt": null,
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DiskQuota": 0,
            "KernelMemory": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": -1,
            "OomKillDisable": false,
            "PidsLimit": 0,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "BlkioIOps": 0,
            "BlkioBps": 0,
            "SandboxSize": 0
        },
        "GraphDriver": {
            "Name": "aufs",
            "Data": null
        },
        "Mounts": [
            {
                "Source": "/home/wanghs/docker-registry/certs",
                "Destination": "/certs",
                "Mode": "",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Source": "/home/wanghs/docker-registry/data",
                "Destination": "/var/lib/registry",
                "Mode": "",
                "RW": true,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "8fd8cf60867f",
            "Domainname": "",
            "User": "",
            "AttachStdin": true,
            "AttachStdout": true,
            "AttachStderr": true,
            "ExposedPorts": {
                "5000/tcp": {}
            },
            "Tty": true,
            "OpenStdin": true,
            "StdinOnce": true,
            "Env": [
                "REGISTRY_HTTP_TLS_CERTIFICATE=/certs/domain.crt",
                "REGISTRY_HTTP_TLS_KEY=/certs/domain.key",
                "PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "GOLANG_VERSION=1.6.1",
                "GOLANG_DOWNLOAD_URL=https://golang.org/dl/go1.6.1.linux-amd64.tar.gz",
                "GOLANG_DOWNLOAD_SHA256=6d894da8b4ad3f7f6c295db0d73ccc3646bce630e1c43e662a0120681d47e988",
                "GOPATH=/go",
                "DISTRIBUTION_DIR=/go/src/github.com/docker/distribution",
                "DOCKER_BUILDTAGS=include_oss include_gcs"
            ],
            "Cmd": null,
            "Image": "datacenter/registry",
            "Volumes": {
                "/var/lib/registry": {}
            },
            "WorkingDir": "/go/src/github.com/docker/distribution",
            "Entrypoint": [
                "/bin/bash"
            ],
            "OnBuild": null,
            "Labels": {}
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "d7889748ad98b9e2b3237e431659c4b34bd1116ccbee1fcd0aa4996fa15a3087",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {
                "5000/tcp": [
                    {
                        "HostIp": "<IP_ADDRESS>",
                        "HostPort": "5000"
                    }
                ]
            },
            "SandboxKey": "/var/run/docker/netns/d7889748ad98",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "4bb5552e90db5ef3ef4a0a315d1b9997cebc8e03fd835e5f9238cedb8405bb8d",
            "Gateway": "<IP_ADDRESS>",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "<IP_ADDRESS>",
            "IPPrefixLen": 16,
            "IPv6Gateway": "",
            "MacAddress": "02:42:ac:11:00:02",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "d917e7204ec05f4772e7cbfb5b7e744ff95bdb40f871d514d4f557f54251e987",
                    "EndpointID": "4bb5552e90db5ef3ef4a0a315d1b9997cebc8e03fd835e5f9238cedb8405bb8d",
                    "Gateway": "<IP_ADDRESS>",
                    "IPAddress": "<IP_ADDRESS>",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:ac:11:00:02"
                }
            }
        }
    }
]

I have similar problem when using Docker for Mac Beta. I know is not part of docker-machine but I may (or may not help). https://forums.docker.com/t/docker-always-mount-empty-folder/9612

Hey, it's little bit late, after one year.
I had same issue.
Problem was that i wasn't in same directory.
Therfore when you are going start registry image navigate to folder from where certificates could be find.
Example:
root@docker:/# docker run -d -p 5000:5000 --restart=always --name SulzerRegistry   -v pwd/home/certs:/certs
root@docker:/# ls -la
drwxr-xr-x  7 root root  4096 May 23 19:08 home
I hope it helps.
Lukas


Multiple Tables in one page?

Hello, first Thank you for this amazing TableFilter package, and for the DOCs, they are amazing, but i can't find a part related to multiple tables in one page, my question is how to have multiple tables in the same page and they will be completely separate, i try with two different ids and two different  initiate but when i search in one table the search get applied to the other table ?

i found the problem it was because i was setting state: true, in my config.


Velis and controling by temp

Hi,
Do you know why in Velis setting up temperature isn't working now? Did they changed something and it is problem now? In Ariston app setting up temperature manually is working fine also I had script in Home Assistant and it was working before. I rather control boiler via temperature than showers I need.

Ok small correction on old soft 1.0.29 setting temperature manually is working fine, so I'm wondering why did you delete that option in Velis model?

I did not delete any part on purpose. I do not have boiler supporting this integration and have no possibility to verify even the smallest of changes. I have no idea if anything changed from Ariston side or if I accidently made a mistake and I plan to stop support of this integration as a result. I simply get a very vague desription and have to start asking for specific data, trying to figure things out, make prototypes, send them for tests etc, and coordinate some actions, and it takes a lot more time than if I had equipment myself.
I can have a quick look (if it would take very little time) but I plan to stop any updates of this integration due to lack of test environment and lack of benefit for me (moral or financial).

Oh I see in this case I will try to compare it my self and try to improve it. Thank you for you answer :)

I do not see visually in code the difference between 2 versions how it can affect temperature setting.
One of the updates was changing unique id, which means duplication of entities (HA might keep old oneas and create a new one with 2 at the end). Also there was change in setting statuses and having enents reporting introduced for api in general, but not sure how it could have affected the setting part, where REST request should be the same.
Without debugging on actual requests responces it is hard to figure out for me the possible cause.

Ok I understand. What if I can provide you what you need to check this and in future I can also provide you everything what you need to continue support of this add-on.

The fastest for me is to have access to the boiler to try and set temperature and check the response and pinpoint place where something goes wrong (e.g. skipped configuration attempt due to specific check, or if something changed lately in the requests).
For example in similar integration request to change data receives positive responces in some cases even though nothing happens, some changes in sensors could result in assumptions that change is not needed (already correct values are set) or that some daya is incorrect and changes are skipped. Considering amount of data and type of issue it is hard to pinpoint with simple code review.
By the way, is Velis in your case (application) uses number of showers or temeparture as an input? - it seems like there are differences in Velis models as well.
Did you try using older version if it indeed works?

In my option when I use 1.0.35 and use option type: velis I do not have option to change temeprature in entity: water_heater.aqua_ariston
When I change to 1.0.29 I have that option and it is working. On my phone in Aqua Ariston I have temp regulation here is screen from mobile phone app:

Do you happen to have 2 water_heater entities by any chance? - just to rule out duplication I have mentioned.
What is the state and attributes of the water_heater?
Here I'm a bit confused, can you change temepartures by 1 degree C? Does it mean your model should behave as Lydos?
I have compared init.py and water_heater.py modules updates between 1.0.29 and 1.0.35 and nothing interesting there (logging and unique ID). So if there is a fault then it is more likely in aristonaqua.py.
If there is no duplication and state is "unavaialble" for example, then dhw_available is is set to False in the API, which has to be investigated further. In that case values used in method _set_statuses has to be checked (there are checks on line 681 if it is model VELIS and no yet shower data is available (uses number of showers as input and does not support temeparture as input) then DHW is not yet available). If that is the case, then _ariston_shower_data would have to be checked for validity (do we receive valid reply for the request or if we get an exception that results in logging info/warning).
I'm asking about Velis type as the first model of Velis I have worked with did not support requests to set temperatures and used number of showers instead towards Ariston server, while Lydos and Lydos Hybrid use temepartures to set instead of number of showers (but they have different patterns in requests comapring one to another). I got info that some Velis models behave similar to Lydos. Converting of showers to internal temepartures for specific Velis was done as a prototype and I did not have possibility to test it properly as it was enough for the guy, who provided me with the access. That is why I ask about the configuration to understand better.

This is the reason why I don't like maintaining this integration as I do not understand fully the situation and i have to ask a bunch of questions, sometimes provide with prototypes that gather more data (or at least set logging level to DEBUG and store_config_files to true and provide with specific files and possibly test possible solutions). That interaction takes time as I ask at one time, get responce at another, have to come back to this isse again, probably send data and wait for reply again, and it ofetn means multiple days of interaction, while having access to hardware I could simply spend once maybe 30 minutes to set traces, find the cause and make a solution and test it. But with other partly not only it spreads in time it also means I have to spend additional time on explanations on what I need, which could mean not 30 minutes but few hours of my time.

Regarding duplication yes I had that, one was unavailable and other one have only to set program no temperature to setup. In Ariston app I can set temperature every 1 degree. Also I tried type: Lydos but it had some issue as well. I can send you now whole folder of logs from old version, update to new one and after it sync I can try to set temperature and send you log folders also screens with type: velis and type: lydos. I know it would be easier to have access to it by you but it will be needed to give you serial number to register it on your account or give you permission  to my Home Assistant instance or share my Ariston account with you.

If you can set temperature every 1 degree in the app then type lydos should work in your case (unless it is another kind of Velis behavior), so it is confusing to me how it actually worked.
To access boilers I used provided credentails to Ariston (some used temporary password while I made my tests), but I understand that it is not the information people should share lightly, and I suspect that I would need constant contact to ask if it is OK to test something on specific hardware and when it is possible to do (some wanted to be present at home and to know exactly what I plan to do), if people would actually agree to let me use it in the first place. I wouldn't want to share my credentials and thus why should I ask others to do so?
By the way, which logs exactly do you mean? There is HA log, where data is written depending on logging level in the integration, and there are also generated files if store_config_files is set to True (some of them also carry plant ID and I don't rememeber, but i guess one of them has password as well), where some files provide data on what is being sent to the server and some provide data on how it replied.
Note that logging does not include some api data.
Which state and attributes are for the water heater? - it is strange if water heater is available and allows change of program but not the temperature. Maybe temperatures are not set within the sensors that cause it. Did you check sensors current_temperature and required_temperature?

I don't minde sharing temp password for you even now. on FB or via mail

Even more I can give you access to the boiler any time you need. But it will be good to contact via FB or What's up or other way which is fast. I don't have issue changing password to temp one when you need to check something I know it is for "greater good" ;)

I have whatsup (+380971537913) and gmail (chomu.nattsol@gmail.com), for sure personal data should not be included here. In general i prefer to use reading of data as much as possible during troubleshooting and updates (check that sensors have valid data). Update of configuration is a different story, I prefer to check if it's fine or not.
Just an info that Ariston has easy to read passwords by analyzer, so good to keep it different from all others for security reasons, also if you share it with someone good to not have a common ones.

Ok. I think we can close this case and continue on What's up I text you with my login and test password for you. I will only need to have info from you once you would like to test something and after you finish so I can change password ;)


[Bug]: Unable to debug when lazyload.

Version
System:
    OS: Windows 11 10.0.22631
    CPU: (32) x64 AMD Ryzen 9 7950X 16-Core Processor
    Memory: 17.85 GB / 31.21 GB
  Browsers:
    Edge: Chromium (127.0.2651.105)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @rsbuild/core: ^1.0.6 => 1.0.6
    @rsbuild/plugin-react: ^1.0.2 => 1.0.2
    @rsbuild/plugin-svgr: ^1.0.2 => 1.0.2
    @rsbuild/plugin-type-check: ^1.0.1 => 1.0.1

Details
Using version 1.0.x we are unanble to debug when files has more than 50 lines. If I downgrade to version 0.7.x the debug works perfectly.
Reproduce link
https://github.com/belizariogr/rsbuild-error
Reproduce Steps
Run:
npm install
go to file: src/pages/Dashboard/index.tsx and try to debug in the last lines, just like the picture.

We have the same problem.
I can confirm that cheap-module-source-map works for development, but not for production.

Unable to add breakpoints inside of a function or classes

@belizariogr bro, Which theme did you use? Looks good

I use https://mui.com/

For what's worth, if you check https://github.com/web-infra-dev/rspack/issues/7914, the latest version of Rspack should have fixed the issue. It's still not working for us, though.

Issue was fixed for me using @rsbuild/core v1.0.9


Add pinot connector

Extracted-from: github.com/prestodb with modifications

FYI, I will be adding tests shortly.

👍

Filter and limit pushdown are implemented. For the dynamic tables (like elastic search) you can now do "select * from pinot_table ..." and it will resolve all the columns, ex. select foo, bar from "select * from pinot_table where baz = ... limit <limit>". The "dynamic" tables are sent to the broker and regular queries are sent to the servers.

Since table names are currently lower case (until #1302 is merged), constants that are upper and lower cased must use the pinot upper and lower udfs.
There is a pull request in pinot to implement these functions:
https://github.com/apache/incubator-pinot/pull/4860
To give an example:
select foo, bar from "select foo, bar from pinot_table where baz in (upper('cat'), lower('dog')" will correctly filter the values "CAT" and "dog".

I will squash these commits, keeping so this is easier to review.


Move publishing configuration mostly into the build plugin

This removes the reliance on magic properties in favor of code.
Tested with publishToMavenLocal.

I was supposed to be migrating to the build config plugin but as I started this happened instead because it will simplify that change.

 Yeah tomorrow problem.

This wasn't needed, and while some of these changes might be considered an improvement, if it ain't broke... and all that.


Unable to install any package

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:
Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
With a fresh install, I am unable to search for any package.
Steps to Reproduce

After a fresh install of the latest version running on Ubuntu
Open the Install Package view and start typing any package name. It should show a red message below the search field.

Expected behavior:
A list of available packages to appear
Actual behavior:

Reproduces how often:
100% of the time it fails
Versions

Atom:
Atom    : 1.49.0
Electron: 5.0.13
Chrome  : 73.0.3683.121
Node    : 12.0.0

APM:
apm  2.5.0
npm  6.14.5
node 10.20.1 x64
atom 1.49.0
python 2.7.18rc1
git 2.25.1

OS:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"
NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

looks like this is because https://atom.io/api/packages/search returns "Application Error"

for a temporary fix running apm install {package name} in a terminal still works

More debugging info:
Search view trys to search atom.io with the query:
https://atom.io/api/packages/search?q={query}&filter=package
but it always responds with {"message":"Application error"}
@atom @darangi This seems like an important issue with atom.io

Thanks for reporting this issue, We are currently looking into this. @UziTech, Did this also happen on a Linux machine?

I am on windows

Thanks 🙇♂  @UziTech @gmuder.

it's happening to me, on linux

This isn't an issue with Atom but with atom.io.

I created an issue on the atom.io repo in case that reaches other people
https://github.com/atom/atom.io/issues/203

This seems to be fixed now :tada:


Implement osdp_MFG and osdp_MFGREP

Using a protocol could actually be a good use here. Thought I don't love Jeff.MfgCommand as the protocol name when there is also Jeff.Command.Mfg ...but I don't have any better ideas right now 🤔

@jjcarstens thoughts on Jeff.MfgCommandEncoder or Jeff.Command.Mfg.Encoder?

How about Jeff.MFG.Encoder?


Change unit tests to use the new dict. based aux. operators

Summary
Moved all unit tests to new dict.based aux.opertators.
Left test/algorithms/ground_state_solvers/test_groundstate_eigensolver.py test_list_based_aux_ops to test the deprecated list based.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Files with Coverage Reduction
New Missed Lines
%

qiskit_nature/algorithms/excited_states_solvers/qeom.py
1
82.85%

qiskit_nature/properties/second_quantization/electronic/dipole_moment.py
1
92.54%

qiskit_nature/properties/second_quantization/vibrational/occupied_modals.py
1
93.62%

qiskit_nature/properties/second_quantization/vibrational/vibrational_energy.py
1
91.67%

qiskit_nature/algorithms/excited_states_solvers/excited_states_eigensolver.py
2
70.0%

qiskit_nature/algorithms/ground_state_solvers/adapt_vqe.py
2
75.88%

qiskit_nature/problems/second_quantization/electronic/electronic_structure_problem.py
4
87.06%

qiskit_nature/properties/second_quantization/vibrational/vibrational_structure_driver_result.py
6
80.65%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8820

Relevant Lines:
10608

💛  - Coveralls


Hotkeys do not work unless center div is focused

I've noticed that I keep triggering the browser search with ctrl+k instead of the command menu unless I click somewhere in the middle with the mouse. Is this by design or is this something that you are open to changing to work without the center being selected first?
I think what is maybe happening is I'm clicking outside the center sometimes when switching windows and that is moving focus from the center div. If I hard reload the app it seems to fix the hotkeys as an alternative to clicking in the middle.
Browser: Firefox Linux and on OSX

No this isn't intended. I'll see if I can replicate and fix it.


Fix Curve{2D,3D} notifying property list changed

Follow-up to #61628
Make Curve2D and Curve3D more consistent with Curve and avoid calling notify_property_list_changed when the list of points doesn't change.

Thanks!


Use of Jest CLI in Node scripts

Hey all, hopefully someone can help me out with a less common use case for Jest. I am writing a set of build/deploy scripts that start by running Jest, before continuing to compile and dockerize an application. Unfortunately, there does not appear to be a public API to match Jest CLI functionality. How can I run Jest from a Node script?
I did find an example in Create React App's test script. The problem with this approach is that jest.run() spawns a new process. This process will exit cleanly if all tests pass, and errors out if some tests fail. That's good enough for a CLI command, but jest.run() does not return a promise, or event stream, so there's no way to detect when and how the Jest process exits from my code.
The workaround I'm currently using is to spawn a new process that runs Jest. Since I control how the process is spawned, I can wrap it in a promise that rejects/resolves based on the Jest process exit code. This feels a bit clunky, since I am spawning a process for my build script that immediately spawns another process for Jest. Is there a better way? Is there documentation that I missed?

There is an onComplete event that isn't expose to run. Would you mind sending a PR to add that?

That would work, and yeah, I can put up a PR. I'm thinking, if you pass jest.run() a callback as the final argument, it could call that with the result, instead of exiting the process.

@eldarshamukhamedov This is the onComplete callback that runCLI is already using.... i think we just need to pass it all the way down when running jest.run

@rogeliog Yep, I got https://github.com/eldarshamukhamedov/jest/commit/931927f0b7266fb3e971ec5518fcfa6c9a045a36, just need to write the tests.

Awesome, I left some comments

Did this get implemented?

No. Feel free to send a PR


Replace superagent with fetch API, fixes #7

instead of working with additional dependencies we should use the correct APIs provided natively.
By using the fetch API the same results can be achieved natively.

include correct handling of AbortController.


Keep connection state across restart

It would be useful to restore connections across restart of peek sessions. A few things to note:

[x] Persistable EsClient
[x] Persistable RefreshingEsClient
[ ] An option for connections of an Interactive session to be persisted across restart
[ ] Do not persist password (API key and token are OK)
[ ] Do not restore connections if peek runs in batch mode
[ ] Do not restore if peek is invoked with explicit connection parameters

Need rethink the behaviour of reset.  Also need to provide functions to manage the saved states.


.z compression support for robust04

In the original version of robust04, the files were encoded using the UNIX compress command (giving .z files). More recent distributions of the dataset use gzip instead, but we can easily support both formats.
fixes #55

the .z decompression library doesn't support python 3.6. Given that the 3.6 end-of-life is in just a few weeks and this will only affect a single dataset under a rather specific circumstance, I think I'm file pushing this anyway.


zfsUnstable: 2.1.1 -> 2021-11-11

Motivation for this change
With this change zfsUnstable will always track the latest master branch and has all kernel compatibility checks disabled. This allows using zfsUnstable with kernels that have not been marked compatible by upstream.
Alternative to https://github.com/NixOS/nixpkgs/pull/145458
Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

I am just a bit worried that this could make it harder to know when to upgrade.
Following releases or release candidates is a bit easier.

Well, it is either one or the other.
Either we follow releases and release candidates but then we also have to adhere to upstream's compatibility checks or we just throw all compatibility out of the window and just follow the master branch.
In my personal opinion, the zfsUnstable package should be removed altogether and people who want to mix and match incompatible kernels and ZFS version should use overlays. That way they at least cannot point the finger at the maintainers if their pool is corrupted.

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

1 package blacklisted:

nixos-install-tools

1 package failed to build:

linuxKernel.packages.linux_hardened.zfsUnstable (linuxKernel.packages.linux_5_10_hardened.zfsUnstable)

19 packages built:

linuxKernel.packages.linux_4_14.zfsUnstable
linuxKernel.packages.linux_4_14_hardened.zfsUnstable
linuxKernel.packages.linux_4_19.zfsUnstable
linuxKernel.packages.linux_4_19_hardened.zfsUnstable
linuxKernel.packages.linux_4_4.zfsUnstable
linuxKernel.packages.linux_4_9.zfsUnstable
linuxKernel.packages.linux_5_10.zfsUnstable
linuxKernel.packages.linux_5_14.zfsUnstable
linuxKernel.packages.linux_5_14_hardened.zfsUnstable
linuxKernel.packages.linux_5_15.zfsUnstable
linuxKernel.packages.linux_5_4.zfsUnstable
linuxKernel.packages.linux_5_4_hardened.zfsUnstable
linuxKernel.packages.linux_latest_libre.zfsUnstable
linuxKernel.packages.linux_libre.zfsUnstable
linuxKernel.packages.linux_lqx.zfsUnstable
linuxKernel.packages.linux_testing_bcachefs.zfsUnstable
linuxKernel.packages.linux_xanmod.zfsUnstable
linuxKernel.packages.linux_zen.zfsUnstable
zfsUnstable

Well, it is either one or the other.
Either we follow releases and release candidates but then we also have to adhere to upstream's compatibility checks or we just throw all compatibility out of the window and just follow the master branch.
In my personal opinion, the zfsUnstable package should be removed altogether and people who want to mix and match incompatible kernels and ZFS version should use overlays. That way they at least cannot point the finger at the maintainers if their pool is corrupted.

If you don't want to maintain zfsUnstable, I am fine with that. I can also take over maintenance for it.


iOS build fails with: "Xcode couldn't find any iOS App Development provisioning profiles matching..."

The pipeline fails at the iOS build step. This is the error output: Error (Xcode): No profiles for 'com.addiscaTraining' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'com.addiscaTraining'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
My export options file:
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>generateAppStoreInformation</key>
	<false/>
	<key>manageAppVersionAndBuildNumber</key>
	<true/>
	 <key>provisioningProfiles</key>
    <dict>
        <key>com.addiscaTraining</key>
        <string>iOS_Profile.mobileprovision</string>
	<key>method</key>
	<string>app-store</string>
	<key>signingStyle</key>
	<string>manual</string>
	<key>stripSwiftSymbols</key>
	<true/>
	<key>teamID</key>
	<string>$(teamId)</string>
	<key>uploadBitcode</key>
	<false/>
	<key>uploadSymbols</key>
	<true/>
</dict>
</plist>

and my pipeline was created with the help of this medium article.
This is my pipeline:
  - master

pool:
  vmImage: macOS-12

stages:
- stage: AndroidStage
  dependsOn: []
  displayName: Android
  jobs:

  - job: AndroidJob
    displayName: Android
    steps:

    - task: DownloadSecureFile@1
      name: keyprop
      displayName: Download key properties file
      inputs:
        secureFile: 'key.properties'

    - task: DownloadSecureFile@1
      name: key
      displayName: Download signing key
      inputs:
        secureFile: 'key.jks'

    - task: Bash@3
      displayName: Copy config files
      inputs:
        targetType: 'inline'
        script: |
          cp $(keyprop.secureFilePath) $(Build.SourcesDirectory)/android/key.properties
          cp $(key.secureFilePath) $(Build.SourcesDirectory)/android/app/key.jks

          echo "key.properties copied to $(Build.SourcesDirectory)/android/key.properties"
          echo "key.jks copied to $(Build.SourcesDirectory)/android/app/key.jks"
    - task: FlutterInstall@0
      displayName: "Install Flutter SDK"
      inputs:
        mode: 'auto'
        channel: 'stable'
        version: 'latest'

    - task: FlutterCommand@0
      inputs:
        projectDirectory: '.'
        arguments: 'pub get'
    - task: FlutterCommand@0
      inputs:
       projectDirectory: '.'
       arguments: 'pub run build_runner build'

    - task: FlutterBuild@0
      displayName: "Build application"
      inputs:
        target: 'aab'
        projectDirectory: '$(Build.SourcesDirectory)'

    - task: FlutterTest@0
      displayName: "Run unit tests"
      inputs:
        generateCodeCoverageReport: true
        projectDirectory: '$(Build.SourcesDirectory)'

    - task: CopyFiles@2
      displayName: "Copy app to staging directory"
      inputs:
        sourceFolder: '$(Agent.BuildDirectory)'
        contents: '**/bundle/**'
        targetFolder: '$(Build.StagingDirectory)'
        flattenFolders: true

    - task: PublishBuildArtifacts@1
      displayName: "Publish AAB file"
      inputs:
        PathtoPublish: '$(Build.ArtifactStagingDirectory)'
        ArtifactName: 'AAB'
        publishLocation: 'Container'

- stage: iOSStage
  dependsOn: []
  displayName: iOS
  jobs:

  - job: iOSJob
    displayName: iOS
    steps:

    - task: InstallAppleCertificate@2
      displayName: Install certificate
      inputs:
        certSecureFile: 'iosKey'
        certPwd: 'myCertPwd'
        keychain: 'temp'

    - task: InstallAppleProvisioningProfile@1
      displayName: Install provisioning file
      inputs:
        provisioningProfileLocation: 'secureFiles'
        provProfileSecureFile: 'iOS_Profile.mobileprovision'

    - task: FlutterInstall@0
      displayName: "Install Flutter SDK"
      inputs:
        mode: 'auto'
        channel: 'stable'
        version: 'latest'

    - task: FlutterBuild@0
      displayName: "Build application"
      inputs:
        target: ipa
        iosCodesign: false
        projectDirectory: '$(Build.SourcesDirectory)'
        exportOptionsPlist: 'ios/ExportOptions.plist'

    - task: FlutterTest@0
      displayName: "Run unit tests"
      inputs:
        generateCodeCoverageReport: true
        projectDirectory: '$(Build.SourcesDirectory)'

    - task: CopyFiles@2
      displayName: "Copy app to staging directory"
      inputs:
        sourceFolder: '$(Agent.BuildDirectory)'
        contents: '**/ipa/*.ipa'
        targetFolder: '$(Build.StagingDirectory)'
        flattenFolders: true

    - task: PublishBuildArtifacts@1
      displayName: "Publish IPA file"
      inputs:
        PathtoPublish: '$(Build.ArtifactStagingDirectory)'
        ArtifactName: 'IPA'
        publishLocation: 'Container'

Any help is highly appreciated, trying to get this to work for 2 days now :D

This is a very common yet frustrating error. For some reason the provisioning profiles are not linked to the build on XCode and they fail during CI/CD. Give this , this and this a thorough read. Try to build locally once with XCode and remove and then re-apply the provisioning again in the settings.
It's mostly a try and error kind of a problem. I remember, I had this error a few years back and I had to re-create profiles and re-apply everything from the start. The issue is basically with Apple here. Let me know if you solve it by closing this issue.

This is a very common yet frustrating error. For some reason the provisioning profiles are not linked to the build on XCode and they fail during CI/CD. Give this , this and this a thorough read. Try to build locally once with XCode and remove and then re-apply the provisioning again in the settings.
It's mostly a try and error kind of a problem. I remember, I had this error a few years back and I had to re-create profiles and re-apply everything from the start. The issue is basically with Apple here. Let me know if you solve it by closing this issue.

Unfortunately, it doesn't work for me. I think there is a problem with the azure mac agent or mac os related problem.
I have tested on codemagic and everything works without any error.

Just chiming in that I've also tried those steps and have no success. I get the same error. My setup and environment is very similar.

I see, I am so confused. It works for our deployments. I will re-open this issue, if anyone from the community can shed some light. I do not have a Mac so, I cannot test anything much.

This is the pool named in my azure-pipelines.yml
pool:
  vmImage: 'macos-latest'

Which one do you use? I will try anything at this point.

This is the pool named in my azure-pipelines.yml
pool:
  vmImage: 'macos-latest'

Which one do you use? I will try anything at this point.

I have tried with macos-latest and macos-12. No luck.
Maybe @hey24sheep can you share your ExportOptions.plist by hiding any sensitive info?

I do not have access to the DevOps anymore (I am looking for better jobs) so I do not know the settings. I can confirm one thing, we use flutter build ios.
I can recommend one thing, Try local hosted agent? Check if that works, if anyone can.
I can give you these details about the builds I setup in my org are as follows: (These worked before I was left from DevOps, few months back)
export_option.plist looks like this
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>method</key>
	<string>app-store</string>
	<key>provisioningProfiles</key>
	<dict>
		<key>co.organization.app</key>
		<string>Organization iOS Distribution</string>
	</dict>
</dict>
</plist>

1 - add Flutter install
2 - pod repo update
After that these steps follow
To generate IOS
steps:
- task: Hey24sheep.flutter.flutter-build.FlutterBuild@0
  displayName: 'Flutter Build ios'
  inputs:
    target: ios
    projectDirectory: project
    buildFlavour: your_flavor
    buildNumber: '$(Build.BuildNumber)'
    buildName: '$(buildTimeStamp)'
    entryPoint: 'lib/main_flavor.dart'
    iosCodesign: false
    extraArgs: '--no-tree-shake-icons'

To install Apple Cert
steps:
- task: InstallAppleCertificate@2
  displayName: 'Install an Apple certificate'
  inputs:
    certSecureFile: 'xyz_distribution.p12'
    certPwd: xyz
    setUpPartitionIdACLForPrivateKey: false

To install Apple Provisioning Profile
steps:
- task: InstallAppleProvisioningProfile@1
  displayName: 'Install an Apple provisioning profile'
  inputs:
    provProfileSecureFile: 'your_Distribution.mobileprovision'

To bump bundle version
/usr/libexec/Plistbuddy -c "Set CFBundleVersion $BUILD_BUILDNUMBER" Info.plist

To generate Archive
xcodebuild -workspace ios/Runner.xcworkspace -scheme Runner archive -sdk iphoneos -configuration Release-development -archivePath Runner CODE_SIGN_STYLE=Manual CODE_SIGN_IDENTITY="iPhone Distribution: XYZ(ABC)" PROVISIONING_PROFILE= XYZ-GUID-HERE
PROVISIONING_PROFILE_SPECIFIER="SPECIFIER HERE"

To generate IPA
xcodebuild -exportArchive -archivePath Runner.xcarchive -exportPath Runner -exportOptionsPlist ios/export_options.plist

(if any) The only issues related to Provisioning Profiles got solved by deleting and recreating profiles and then re-linking them in XCode and uploading the same new profiles to Azure Devops. I know this build system is old but this is all I can give for IOS. I hope it can help you people.
If your apps are building locally on XCode or Flutter on Mac. Then something is definitely wrong with Azure or how it is interacting with this extension. Looking at a higher look (if you read the code), this extension just wraps the 'Flutter CLI' in fancy UI for Azure. I wish I can help more but this is all I got right now.
I have added 'HelpWanted', if someone from the community is kind enough to shed some light or solution.

You can also have a look here. but, I know this isn't working for some of you.

I'm facing the same issue, here are my pipeline steps:
- task: Hey24sheep.flutter.flutter-install.FlutterInstall@0
  displayName: 'Flutter Install'
  inputs:
    version: custom
    customVersion: 3.3.4

- task: Hey24sheep.flutter.flutter-command.FlutterCommand@0
  displayName: 'pub get'
  inputs:
    arguments: 'pub get '

- task: CocoaPods@0
  displayName: 'pod install'
  inputs:
    workingDirectory: ios
    forceRepoUpdate: true

- task: InstallAppleCertificate@2
  displayName: 'Install an Apple certificate '
  inputs:
    certSecureFile: iosbuild.p12
    setUpPartitionIdACLForPrivateKey: false

- task: InstallAppleProvisioningProfile@1
  displayName: 'Install an Apple provisioning profile'
  inputs:
    provProfileSecureFile: '${{parameters.profile}}.mobileprovision'

- task: Hey24sheep.flutter.flutter-build.FlutterBuild@0
  displayName: 'build ios'
  inputs:
    target: 'ipa'
    projectDirectory: '.'
    buildFlavour: '${{parameters.ambiente}}'
    iosCodesign: true
    additionalArguments: '--obfuscate --split-debug-info=$(Build.SourcesDirectory)/build'

Output:

Are these builds working on local or other CI/CD? I have shared my pipeline/workflow above, is any of that helpful?
As I stated above, I have no access to the DevOps server or a Mac. I can only ask community to help here, sorry.

The only way to solve this is using the xcode task too
1 - Install Apple Certificate
2 - Install an Apple provisioning profile
3 - Build with flutter  and iosCodesign: false
4 - Generate ipa with xcode
My yaml:
- task: InstallAppleCertificate@2
  displayName: 'Install an Apple certificate'
  inputs:
    certSecureFile: iosbuild.p12
    setUpPartitionIdACLForPrivateKey: false

- task: InstallAppleProvisioningProfile@1
  displayName: 'Install an Apple provisioning profile'
  inputs:
    provProfileSecureFile: '${{parameters.profile}}.mobileprovision'

- task: Hey24sheep.flutter.flutter-build.FlutterBuild@0
  displayName: 'flutter build ios'
  inputs:
    target: 'ios'
    projectDirectory: '.'
    buildFlavour: '${{parameters.ambiente}}'
    iosCodesign: false
    exportOptionsPlist: 'ios/exportOptions.plist'
    extraArgs: '--release --obfuscate --split-debug-info=$(Build.SourcesDirectory)/build'

- task: Xcode@5
  displayName: 'Xcode Archive iOS'
  inputs:
    actions: 'archive'
    configuration: ${{parameters.config}}
    xcWorkspacePath: 'ios/Runner.xcworkspace'
    scheme: '${{parameters.ambiente}}'
    packageApp: true
    signingOption: 'manual'
    signingIdentity: '$(APPLE_CERTIFICATE_SIGNING_IDENTITY)'
    provisioningProfileUuid: '$(APPLE_PROV_PROFILE_UUID)'

APPLE_CERTIFICATE_SIGNING_IDENTITY and APPLE_CERTIFICATE_SIGNING_IDENTITY are auto generated by step 1 and 2.

@humanolaranja - Could you show us your ios/exportOptions.plist?
Thank you

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>uploadBitcode</key>
	<true/>
	<key>compileBitcode</key>
	<true/>
	<key>uploadSymbols</key>
	<true/>
    <key>stripSwiftSymbols</key>
    <true/>
    <key>teamID</key>
    <string>********</string>
    <key>method</key>
    <string>app-store</string>
    <key>signingStyle</key>
    <string>manual</string>
    <key>signingCertificate</key>
    <string>Apple Distribution: **** S.A. (********)</string>
    <key>provisioningProfiles</key>
    <dict>
        <key>com.****.dev</key>
        <string>Azure DEV</string>
        <key>com.****.qas</key>
        <string>Azure QA</string>
        <key>com.****</key>
        <string>Azure PROD</string>
    </dict>
</dict>
</plist>

Thank you @humanolaranja!
What is   configuration: ${{parameters.config}} ?

@MiroLiebschner Hi, Miro. Could you fix it?
Thank you

Thank you @humanolaranja!
What is configuration: ${{parameters.config}} ?

The build configuration

Thank you @humanolaranja
For anyone still interested, I have a (subjectively) better solution.
The key issue appears to be that the compile stage of the xcode task is code signing with what is configured in the pbxproj, even though that signature is then overwritten by the signing that occurs during the IPA export step.
So, all we need to do is disable the first codesign.
You can disable that by adding the following variables to your pipeline like this
  - job: iOSJob
    displayName: iOS
    variables:
      # These variables will prevent Xcode from code-signing during build
      # this is necessary, because we do not want to install both Ad-Hoc and AppStore certificates during build.
      # The 'exportOptions' will handle the code signing with the correct cert/prov profile.
      FLUTTER_XCODE_CODE_SIGN_IDENTITY: ""
      FLUTTER_XCODE_CODE_SIGNING_REQUIRED: NO

Note:
Any variables prefixed with "FLUTTER_XCODE" will be picked up by the flutter build tool, and added to the xcodebuild command, after stripping the prefix of course._
The exportOptionsPlist: 'ios/exportOptions.plist' will still do the code signing that you have declared.
With this, I can have my "debug" xcode project use automatic signing to allow direct USB deployment and debugging on my device or simulator, but when built by CI, it will skip the code signing during compilation, and sign as per my exportOptions.plist  - Ad-Hoc cert/prov-profile for my staging/QA builds, and AppStore cert/prov-profile for my finalised production builds.
It's also nice to know that I can mess about with my signing settings in the xcode project without having any effect on CI whatsoever.

@humanolaranja This worked for me as well. Thanks a bunch for sharing. This is very much appreciated.

I am assuming this issue is solved, I am closing this issue. Please, feel free to reopen in case it is not yet solved.


Discussion of the indexing rules

This is a suggestion of the indexing rules.
It is not yet polished, but I would like some feedback.
Please just do a "review" and add your comments to the specific point if possible,
This allows us to have discussion threads for the different cases.
In general, there will be some deviations from numpy or torch indexing.
most notably, indexing will not remove dimensions.
this applies to integer indices, vectorized indexing and boolean indexing.

@JoHa0811 @Stef-Martin @ckolbPTB @schuenke (and ofc everybody else)


Admin ability to identify new entries or changes for peer review

As we have more Admin users adding new galls, it would be good to implement a flagging system of some sort when new galls are added to allow an opportunity for peer review. Currently, I'm sending new entries directly to Adam to review, but am thinking some sort of simple checkbox indicator or flag that you can query and uncheck once it's been looked at would be helpful for QC.

Would this apply to just galls or also hosts and sources?

Interesting question. I'd say incorporating a universal "flag for review" feature on all of the creation screens would be beneficial. I see it being most important on the gall screen, but there have been errors found on both hosts and sources. This feature would make sense to be optional on all screens as I don't see value in forcing all changes to be reviewed such as coming across a better photo of an undescribed gall and adding it to an existing record.


Reporting to InfluxDB works when boostraping via Program.cs but does not when using Startup.cs

When i use simple setup in Program.cs
WebHost.CreateDefaultBuilder(args)
    .ConfigureMetricsWithDefaults(
        builder.Report.ToInfluxDb("http://<IP_ADDRESS>:8086", "test");
    })
    .UseMetrics()
    .UseStartup<Startup>();

then i've got periodical reports to influx db and everything is allright
but when i don't set anything in Program.cs and try to set it up in Startup.cs using this in ConfigureServices method
var builder = AppMetrics.CreateDefaultBuilder()
                .Report.ToInfluxDb("http://<IP_ADDRESS>:8086", "test")
                .Build();

services.AddMetrics(builder);
services.AddMetricsReportScheduler();
services.AddMetricsEndpoints();
services.AddMetricsTrackingMiddleware();
services.AddSingleton<IStartupFilter>(new DefaultMetricsEndpointsStartupFilter());

(which is [i hope] exactly what is .UseMetrics in Program.cs doing)
it does not report anything to influxdb, so what am i doing wrong

.. Jeez, nevermind, i was adding AddMetrics multiple times and first time was without config


feat: Update code for hackathon

Conducted thorough codebase cleanup, removing redundant code and improving readability. 🧹
Enhanced documentation by adding detailed explanations and examples where necessary. 📝

@alex-straw kthx


urllib2.HTTPError: HTTP Error 402: Payment Required

Whats all? Project is down?

+1
root@support:~/vulners-scanner# ./linuxScanner.py

             _
__   ___   _| |_ __   ___ _ __ ___
\ \ / / | | | | '_ \ / _ \ '__/ __|
 \ V /| |_| | | | | |  __/ |  \__ \
  \_/  \__,_|_|_| |_|\___|_|  |___/

==========================================
Host info - Host machine
OS Name - debian, OS Version - 8
Total found packages: 765
Traceback (most recent call last):
  File "./linuxScanner.py", line 125, in <module>
    scannerInstance.scan(checkDocker=False)
  File "./linuxScanner.py", line 110, in scan
    hostInstance = self.auditSystem(sshPrefix=None,systemInfo="Host machine")
  File "./linuxScanner.py", line 78, in auditSystem
    response = self.sendVulnRequest(url, payload)
  File "./linuxScanner.py", line 56, in sendVulnRequest
    response = urllib2.urlopen(req, json.dumps(payload).encode('utf-8'))
  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 402: Payment Required

Any updates on this?

+1 WTF??
$ ./lazyScanner.py
OS Name - ubuntu, OS Version - 18
Total provided packages: 4397
Traceback (most recent call last):
  File "./lazyScanner.py", line 95, in <module>
    scanner.auditSystem()
  File "./lazyScanner.py", line 80, in auditSystem
    response = urllib2.urlopen(req, json.dumps(payload).encode('utf-8'))
  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 402: Payment Required


Relax operator unary minus requirements

Considering the deviation from the std::duration interface, done to allow operators * and / to return different representation types than their inputs, shouldn't the same be done for operator unary minus? It returns a quantity, but you could fathom a pair of rep types non_negative and non_positive for which - returns the other.

Do you mean a different representation type (Rep)? Do you have a real-life use for this or is it purely theoretical?
The other change you referred was requested by SG6 members that work on new smarter numeric types for C++.

Do you mean a different representation type (Rep)?

Yes.

Do you have a real-life use for this or is it purely theoretical?

Purely theoretical.


Shadow Component Not Working as Expected with Nested TouchableOpacity

Hi,
Firstly, thank you for your hard work and professional effort in creating this repository.
I've encountered an issue where the shadow component does not behave as expected when a TouchableOpacity component is nested inside it. Specifically, the background color of the shadow becomes visible and appears prominently.
https://github.com/chsdwn/react-native-skia-shadow/assets/39925212/a82ac048-332e-4f05-bd61-420114cf0d5b
import React from 'react';
import {StyleSheet, TouchableOpacity, View} from 'react-native';
import {SkiaShadow} from 'react-native-skia-shadow';

const App = () => {
  return (
    <View style={styles.container}>
      <SkiaShadow blur={5} dx={0} dy={0} color="blue" borderRadius={9999}>
        <TouchableOpacity>
          <View style={styles.circle} />
        </TouchableOpacity>
      </SkiaShadow>
    </View>
  );
};

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
  },
  circle: {
    width: 150,
    height: 150,
    borderRadius: 9999,
    backgroundColor: 'red',
  },
});
export default App;

repo to reproduce it
https://github.com/YOEL311/testRNSHhadow

i can do somting like this
export type SkiaShadowProps = {
  blur: number;
  dx: number;
  dy: number;
  color?: Color;
  backgroundColor?: Color;
  borderRadius?: number;
  borderTopLeftRadius?: number;
  borderTopRightRadius?: number;
  borderBottomLeftRadius?: number;
  borderBottomRightRadius?: number;
  children: React.ReactNode;
};

    <View onLayout={handleLayout}>
      <Canvas style={{ ...canvasStyle }}>
        <Path path={path} color={color}>
          <Shadow
            dx={dx}
            dy={dy}
            blur={blur}
            color={color}
            shadowOnly
          />
        </Path>
        {!isUndefined(backgroundColor) && (
          <Path path={path} color={backgroundColor} />
        )}
      </Canvas>
      {children}
    </View>

Thank you I'll try this idea and if it fixes the issue I'll release a new version later.

That should solve it
The truth is, I didn't know if this code would be maintained, so I made a local patch in my app,
now I see that it is a maintained library,
thank you 😀


cache redesign: api v3

Reviewers
Functional:
@Bento007
Readability:
@seve

Changes
This PR supercedes https://github.com/chanzuckerberg/single-cell-explorer/pull/175.  Branched from api-v3 changes and made some additional fixes and refactoring. Added comments for changes worth CR'ing.  Most of this code was CR'd on #175, but this branch also included recent rdev changes that were recently merged in main and the epic/164-cache-redesign branch and I didn't feel compelled to bring the original dunitz/api-v3 branch up-to-date as well.  Forgive me for opening a new PR.
Tested on rdev

Wow, that was a lot. In the future if this could be broken into small easier to digest snippets. I see no issues

Yeah, there was a lot of code that needed to be improved, if only to help me see the problems clearer. Thanks for reviewing!


Ask for detailed information about calculating the metrics on testing dataset.

Hi, I wanna know how the resolution changes along the evaluating pipeline in the paper.
For example:
The input size of the image is the same as the training stage,  then resize the output to the size of ground truth and calculate the metrics.

Hi, Thanks for your attention.
You are correct. We resize the short side to 512 as the input during testing. The predicted alpha matte is resized to the original size to calculate the metrics.

Got it.
Thanks for the prompt reply!


Symantec Endpoint Protection always warning when run youtube-dl

Symantec Endpoint Protection always warning when run youtube-dl.exe
please solve this problem
please see the screenshot :

If your file is downloaded from http://rg3.github.io/youtube-dl/download.html and the SHA256 checksum of youtube-dl.exe is correct (5db16a5288440cbdb9c66cbfedba70992dc6c9c3e634bc187987f037d0d28038), then it's a false alert. Please report it to Symantec.

Here's the scan report of https://yt-dl.org/downloads/2015.09.09/youtube-dl.exe:
https://www.virustotal.com/en/file/5db16a5288440cbdb9c66cbfedba70992dc6c9c3e634bc187987f037d0d28038/analysis/


Update DG.

Changes :
Acknowledgment -> link working now.
Model Component to include a priority of none. (Not done yet)
Appendix: Instructions for manual testing (Added)

Codecov Report

Merging #286 (4bfa934) into master (d98b0fc) will increase coverage by 4.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #286      +/-   ##
============================================
+ Coverage     58.03%   62.03%   +4.00%
- Complexity      683      709      +26
============================================
  Files           107      107
  Lines          2583     2629      +46
  Branches        307      312       +5
============================================
+ Hits           1499     1631     +132
+ Misses         1016      925      -91
- Partials         68       73       +5

Impacted Files
Coverage Δ

...geezpz/logic/parser/FindEmployeeCommandParser.java
98.50% <0.00%> (+0.43%)
:arrow_up:

...manageezpz/logic/parser/FindTaskCommandParser.java
92.06% <0.00%> (+2.58%)
:arrow_up:

src/main/java/manageezpz/model/task/Todo.java
88.23% <0.00%> (+11.76%)
:arrow_up:

.../main/java/manageezpz/logic/parser/ParserUtil.java
68.42% <0.00%> (+18.42%)
:arrow_up:

src/main/java/manageezpz/model/task/Event.java
100.00% <0.00%> (+24.32%)
:arrow_up:

src/main/java/manageezpz/model/task/Deadline.java
100.00% <0.00%> (+26.66%)
:arrow_up:

...ava/manageezpz/logic/commands/EditTaskCommand.java
74.07% <0.00%> (+74.07%)
:arrow_up:

Continue to review full report at Codecov.

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


Qobuz Player integration

I was eager to stumble upon Nuvola and find a way to pause this web player from the keyboard multimedia keys. Because, as usual, Qobuz won't provide a Linux application.
This is my first time today with both Nuvola and writing a service integration, so please bear with me.

Hello @bors-ltd. Thanks for your work. Since you have a working script, you can decide on the level of cooperation:

You can use it for your own purposes. There are no requirements from my side.
You can have it published in the master (devel/unstable) branch of the Nuvola Apps flatpak repository. For that, your script has to comply with a few guidelines and be maintained under the Tiliado organization, but you will still have direct commit access to the GitHub repo. Scripts from the devel repo are not announced to the public though. You'll be invited to the Tiliado organization on GitHub and receive a Tiliado developer account on Tiliado.eu so that you can use all Nuvola flatpaks without paying.
You can have it published in the stable branch of the Nuvola Apps flatpak repository and later maybe in Ubuntu's snap store. For that, your script must be kept up-to-date with Nuvola guidelines and features.

What's your choice?

Let me put that another way:
I'll use it on a daily basis (I work with music), and I hope my work will be useful to others.
So yes I'll maintain the script and do the remaining work for it to be published in the stable branch. It should be details only, I tried to follow the docs, and the code is already checked.
The biggest issue for me is how you feel about not implementing volume change (I want my media keys to act at the system level, not a single app), and seeking.
I'd also like your opinion on the querySelector queries. I wanted to hit an ID before searching for classes in the subtree, but maybe it ended up making too complicated code. Maybe I should not worry about performance and just write document.querySelector('.pct-player-play').
I also wanted to pause the player when headphones are unplugged but it doesn't seem to be documented. Yet?

Great, so the best option is to go for stable repo - that way your work will be most useful for others :-)

The biggest issue for me is how you feel about not implementing volume change (I want my volume keys to act at the system level, not a single app), and seeking.

Fot the stable channel, the integration of a volume bar is mandatory if there is any. However, it has nothing to do with volume keys, Nuvola does not handle them. It merely exposes the functionality for other clients, e.g. Media Player GNOME Shell extension provides a volume bar:
The integration of progress bar is mandatory too unless there are relevant reasons not to do so. For example, Brain.fm and Focus@Will don't provide track length and position, so the progress bar cannot be integrated.
"I hardly use it ever" is ok if you create script only for you, but not ok if you create it also for others - they might want to use it. There were users that asked specifically for the volume and progress bar integration.

I'd also like your opinion on the querySelector queries. I wanted to hit an ID before searching for classes in the subtree, but maybe it ended up making too complicated code. Maybe I should not worry about performance and just write document.querySelector('.pct-player-play').

I don't have a hard opinon about which way is better, they are both fine. Quering for bottomPlayerContainer and then for subtree elements looks more readable though.

I also wanted to pause the player when headphones are unplugged but it doesn't seem to be documented. Yet?

Indeed, this feature is not documented yet (#423). You can look at the blog post.
If you would like to proceed further:

[ ] I've invited you to Nuvola Maintainers team. After you accept the invitation, could you transfer your repository to that team?  However, in case you leave the project, somebody else can carry on.
[ ] Please create a Tiliado account and tell me your username. Your account will be then upgraded to developer account and you will gain free access to flatpak builds of Nuvola 4.x including all premium features.
[ ] Subscribe to the nuvola-player-devel mailing list as important announcements are posted there.
[ ] Take a look at Service Integration Guidelines: Rules and guidelines you should follow. Please make sure you are familiar with the process how releases are made. If you have any questions about the guidelines or suggestions to improve them, don't hesitate to ask here.
[ ] Make yourself familiar with Nuvola ADK and try to build & run your script. If there are any issues, don't hesitate to ask here.
[ ] Make sure that your script works with the latest release of Nuvola ADK and tell me whether it does. I won't publish your script until I receive an explicit confirmation from you.
[ ] New scripts should be state of the art at the time of the first release. They should take advantage of the latest available Nuvola's features and APIs to provide the best system integration possible. Could you take a look at progress bar and volume management integration (both added in Nuvola 4.5)?
[ ] Could you look at the ticket #424 whether some points apply to your script?

Reporting my duties:

[X] I transferred the repository to Nuvola Maintainers and I could check I can push to it.
[X] I created the account "bors-ltd" on Tiliado (the same as Github for clarity).
[X] I subscribed to the nuvola-player-devel mailing list.
[X] I actually already read Service Integration Guidelines but sure I'll keep it open when I develop.
[X] My script is already functional, that's why I submitted it. ;-)
[X] The template I used was for API 4.11, and I think I always used the CEF engine, I could never right-click on the app to open the inspector.
[ ] Alas, I can't seek in the song, I added the event, I send coordinates in the range [0..1] but it won't seek. As I can't seek myself in the webview, maybe it's a older Chromium or Qobuz incompatibility. I checked I could seek in Chromium 66.0.3359.181 and Firefox, and no longer if I delete the element from the DOM, so maybe a future version of CEF will fix this. I committed the code anyway.
[X] I added volume management too. I also added URL filtering last week.
[X] I think I'm safe for ticket #424 since I started this project from stratch using the latest ADK last week. I added a snapshot and there is no rating on Qobuz. And they got rid of Flash a long time ago.
[X] I could verify the headphone detection works like a charm, with nothing to develop on my side, great job!

Side question: what would the version number be for the first release? It was 1.1 in the template, I downgraded it to 1.0 and now I added features.

I created the account "bors-ltd" on Tiliado (the same as Github for clarity).

I upgraded you Tiliado account to Tiliado developer account. You can now use it to activate the genuine flatpak builds of Nuvola.

I think I always used the CEF engine, I could never right-click on the app to open the inspector.

I think Chromium was triggered with Feature[MSE]', which is not supported by the WebKitGTK backend. We now use Chromium[65] Codec[MP3] Feature[MSE]` because these features are builtin for Chromium. If porters want to use WebKitGTK backend, they need test whether MSE is really required or not - we don't know.

Alas, I can't seek in the song, I added the event, I send coordinates in the range [0..1] but it won't seek. As I can't seek myself in the webview, maybe it's a older Chromium or Qobuz incompatibility.

Could you install the devel branch of the ADK and try with VALACEF_DEFAULT_RENDERING_MODE=offscreen? E.g. flatpak install nuvola eu.tiliado.NuvolaAdk//master and VALACEF_DEFAULT_RENDERING_MODE=offscreen flatpak run eu.tiliado.NuvolaAdk//master -D + add filesystem flags?

Side question: what would the version number be for the first release? It was 1.1 in the template, I downgraded it to 1.0 and now I added features.

The first release will be 1.1 because there already is version 1.0 in metadata from the beginning. It then gets incremented to 1.1 when the release commit is made.

I tried to remove CSS classes from the seek bar to remove anything fancy, but even if CEF is showing the native input handle (it's a <input type="range"> and I removed the -webkit-appearance: none; property), and even highlight it on mouse hover, I can't drag it.
I also wrote the snippet below that quite reproduces the seek bar and clicking on the input or dragging the handle works just fine. :-/

<progress step="0.01" min="0" max="287" value="0" style="
    -webkit-appearance: none;
    display: inline-block;
    width: 100%;
    height: 5px;
    cursor: pointer;
    background: #0091c5;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
"></progress>
<input type="range" step="0.01" min="0" max="287" value="0" style="
    -webkit-appearance: none;
    display: block;
    width: 100%;
    height: 14px;
    cursor: pointer;
    margin: 0;
    padding: 0;
    position: relative;
    top: -5px;
    z-index: 110;
">

Is the chromium window supposed to show in offscreen mode?

No, Chromium window is not supposed to show. Chromium should render to a pixbuf that is then rendered into Nuvola window.

Anyway, I couldn't seek, including trying manually by dragging the handle myself in the Qobuz app.

I'll try to look at it.

Could it be a missing flag or feature in the way CEF is built? Or the Qobuz app poorly designed, of course.

No idea.

Do we release anyway with a known bug?

I think the ap is still useful without seeking.

No, Chromium window is not supposed to show. Chromium should render to a pixbuf that is then rendered into Nuvola window.

So I meant the Nuvola window? Anyway, I couldn't spot the difference between the two modes without checking the logs.

I can confirm the seek issue. So far no luck with that but I didn't have enough time to look at it closer.
I created a flatpak for the master branch of the flatpak repo: flatpak install nuvola eu.tiliado.NuvolaAppQobuz.
I may release it to the stable branch at the weekend. I think the script is useful even without seeking.

The seeking issue reticketed as iliado/nuvola-app-qobuz#1

Nuvola Adds Qobuz, Updates KEXP Radio and Yandex Music


Batch insert continueOnError issue

Suppose I have a BlogPost document which has  comments (ReferenceMany to Comment document). If I do batch insert of BlogPost documents (say 10 items) with flush option 'continueOnError' and due to some constraints one of BlogPost (say 7th one) is rejected by MongoDB, all other BlogPost documents are persisted in MongoDB but Comment documents are not saved. I believe Doctrine ODM  executes two queries one for saving BlogPost and another one for saving Comments and just after saving BlogPost it throws exception which blocks the next query execution. Is this a bug? Is there any better way to handle this situation?

@metanav you should be able to flush again. I'm not sure if ignoring exceptions at all would be good idea, what do you think @jmikola ?

@malarzm
You mean I should call flush() again in catch block?
Should I call it with or without "continueOnError = true" ? Will it again throw exception if there is another constraint violation?
Example:
$blogpost->addComments($comments);
try {
    $dm->persist($blogpost);
    $dm->flush(null, array('continueOnError' => true))
} catch (\Exception $ex) {
    $dm->flush();
}

Frankly it'll be the best to test, I'm not sure how much bulletproof is doing another flush after an errored one, there are many things that could or could not go wrong with it. But to answer your questions:

You mean I should call flush() again in catch block?

Yes, I believe that's what I meant :)

Should I call it with or without "continueOnError = true" ?

Up to you

Will it again throw exception if there is another constraint violation?

Yes


Requirements reference Python3-only library

This project requires pyrender which requires unversioned imageio, which no longer supports Python 2.7 since February.

Pyrender is only required if you only want to visualise the dynamic contour loading. You can use any other replacements for pyrender or comment that part of the code.

No problem, just wanted to make you aware of the broken dependency.


The dispose() method is not executed until the keyboard is closed

Steps to Reproduce

Run the code

Click on number "2" (which opens the second tab)

Look at the debug console, there are two "PRINT PRINT PRINT" logs executed correctly by the dispose() method

Clear the console logs

Go back to the first tab by clicking on the number "1"

Click on the central TextField (the device keyboard will open as a result)

Click on number "2" to open the second tab

Look at the debug console: there are no "PRINT PRINT PRINT" logs, as the dispose() method was not executed

Close the keyboard

Look at the debug console: now the "PRINT PRINT PRINT" logs are present, the dispose() method has been executed correctly

Expected results: The dispose() method works right away when changing tabs in both cases
Actual results: The dispose() method works right away in the first case, while when the keyboard is open, it must be closed before it is executed.
This means that if I want to manually close (in dispose()) the keyboard when I switch from one tab to another, I cannot do it, because dispose() is not executed.
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget
{
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Tabs()
    );
  }
}

class Tabs extends StatelessWidget
{
  @override
  Widget build(BuildContext context) {
    return DefaultTabController(
      initialIndex: 0,
      length: 2,
      child: Scaffold(
        resizeToAvoidBottomInset: false,

        appBar: AppBar(
          bottom: const TabBar(
            indicatorColor: Colors.white,
            tabs: <Widget>[
              Tab(child: Text("1")),
              Tab(child: Text("2")),
            ],
          ),
        ),

        body: TabBarView(
          children: [
            Tab1(),
            Tab2(),
          ],
        ),

      ),
    );
  }
}

class Tab1 extends StatefulWidget
{
  @override
  State<Tab1> createState() => Tab1State();
}
class Tab1State extends State<Tab1> {
  @override
  void dispose() {
    print("PRINT PRINT PRINT");
    super.dispose();
    print("PRINT PRINT PRINT");
  }

  @override
  Widget build(BuildContext context) => const Center(
    child: SizedBox(
      width: 100,
      height: 100,
      child: TextField()
    )
  );
}

class Tab2 extends StatelessWidget
{
  @override
  Widget build(BuildContext context) => const SizedBox();
}

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.7, on Microsoft Windows [Versione 10.0.19045.2251], locale it-IT)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.3.3)
[√] Android Studio (version 2021.2)
[√] VS Code (version 1.73.1)
[√] Connected device (4 available)
[√] HTTP Host Availability

• No issues found!

Thanks for the detailed report @Francesco-FL. However, there's a similar issue open describing your case, https://github.com/flutter/flutter/issues/55571. You may follow-up in it and also upvote it.
Close this as a duplicate.