Make InstallationNotes flow-dependent

Description of the new feature / enhancement
Allow different messages to be shown on Install, Upgrade, and Uninstall.
Proposed technical implementation details
To keep manifests clean, I would prefer the field be changed to an object rather than adding new manifests fields, although I suppose either would work. With the 2020-12 schema, it might also be possible to allow for backwards compatibility to prevent this from being a breaking change.
InstallationNotes:
  PreInstall: This message is shown before a package is installed
  PostInstall: This message is shown after a package is installed
  PreUpgrade: This message is shown before a package is upgraded
  PostUpgrade: This message is shown after a package is upgraded
  PreUninstall: This message is shown before a package is uninstalled
  PostUninstall: This message is shown after a package is uninstalled

I'm assuming this would be displayed as console messages in the same window as WinGet was launched. This could be a good way to give interactive and other installer/uninstaller instructions. Possibly even give reboot notice.

I'm assuming this would be displayed as console messages in the same window as WinGet was launched. This could be a good way to give interactive and other installer/uninstaller instructions. Possibly even give reboot notice.

Yes, basically the same way InstallationNotes work currently, but expanding the functionality

The "pre" activity notes seem like they make sense in terms of a user at the CLI expecting a prompt.
In the context of a WinGet Configuration the mode would logically be "--disable-interactivity". We would expect WinGet to fail in those cases rather than expecting a prompt (unless "--force" was specified).
Users could still pass "--force" to tell WinGet they know what they are doing and it would essentially override "--disable-interactivity".
These notes are in reply to work being done to improve the "Deny" behavior for upgrade.
Several packages have different variations of reasons the upgrade behavior should be conditional:
Discord.Discord - Has an auto-updater built into the application, and doesn't update the version displayed in ARP. Installing a newer version erases user settings
Anaconda.Miniconda3 - Has a special upgrade program "Conda" for upgrading. The only way to upgrade through winget is to uninstallPrevious, which erases user settings
Chocolatey.Chocolatey - Installer is "Install-Only", and the application self updates
MSYS2.MSYS2 - Has a default install location and cannot be installed over,
msys2 cannot be uninstalled silently and unstalling previous version will remove all msys2 packages and user settings

In the event any of the "pre" notes are present in the manifest, a user on the CLI would be prompted before they continue.
Any of the "post" notes would simply be informative.
In our validation envronment, we would likely either automate using "--force" or some other argument.

The GDK would be a great candidate for PreInstall Installation Notes per our need to configure the target VS instances with the right workloads.

I like that and still would appreciate a more verbose / funky output as I have suggested once about Nala (apt-get alternative).
Their output is really marvellous, but on the topic
Where would the output come from? automated? part of comments in the YAML?
If YAML we may not allow URLs in these comments as with PS 7 and Terminal these are clickable items.

"Several packages have different variations of reasons the upgrade behavior should be conditional:"
lately had user within my family which had a lot of tools for 3D printing supported by winget but these apps on upgrade install side-by-side, unexpectedly. But it is by design and intended by the developers.

Yeah, I added Ultimaker Cura way back when this was super early preview and ran into the side-by-side challenges. I didn't want the old one removed because I had to copy all the materials data over manually from version to version. Fortunately, we're working on better support for side-by-side and that should come out in the next preview. We do have some conditional arguments to "uninstall previous", but I wouldn't want to do that until I had the new one installed, and with two versions installed, WinGet doesn't know how to target the earlier version (until this next release comes out). I'll be testing with that.

Can try to find more examples


VolumeSnapshot is not getting deleted in false state, but gets deleted if valid VolumeSnapshot is created in same namespace.

Describe the bug
VolumeSnapshot is not getting deleted in false state, but gets deleted if valid VolumeSnapshot is created in same namespace.
How to Reproduce?

Create sc version =2
create pvc.
create volumesnapshotclass , with incorrect snapwindow value like "one"
create volumesnapshot using above. (volumesnapshot created with false state)
delete volumesnapshot. (not getting deleted)
Create another volumesnapshot with valid parameters in volumesnapsot class.
Delete the above volumesnapshot .
Observe that the volumesnapshot with false state got deleted.

Expected behavior
VolumeSnapshot should get deleted.
Data Collection and Debugging
find attached the steps executed on cluster.
Bug_vol_snap_delete.txt
Builds used:
quay.io/ibm-spectrum-scale-dev/ibm-spectrum-scale-csi-operator:v2.5.0-100322
quay.io/ibm-spectrum-scale-dev/ibm-spectrum-scale-csi-driver:v2.5.0-100322

Storage Class yaml:
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: sctest
provisioner: spectrumscale.csi.ibm.com
parameters:
volBackendFs: "fs1"
version: "2"
compression: "true"
reclaimPolicy: Delete
allowVolumeExpansion: false
PVC.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pvc1
spec:
accessModes:

ReadWriteMany
resources:
requests:
storage: 10Gi
storageClassName: sctest

VolumesnapshotClass.yaml:
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshotClass
metadata:
name: snapclasstest
driver: spectrumscale.csi.ibm.com
parameters:
snapWindow: "one"
deletionPolicy: Delete
Volumesnapshot.yaml
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshot
metadata:
name: snapshot5
namespace: test
spec:
volumeSnapshotClassName: snapclasstest
source:
persistentVolumeClaimName: pvc1

@monimeht can you please raise this issues in snapshotter community ?


CLI unit tests v0.1

This will be important in the future, however not much to do atm
Acceptance

[ ] We have a test for file discovery (?)
[ ] We have a test for install for symlinking

Tasks

[ ] Research how others do things e.g. vue/vite?
[ ] ...

Haven't started working on it yet.


Autoplay plays new Song, but shows another

What version of Music Assistant has the issue?
2.0.0b81
The problem
A song plays and when it ends the next one plays. For example:
The Player shows "Tool - Parabola" but I here "Metallica - For whom the bell tolls".
How to reproduce
Enable Queue Flow, Play on DLNA Player (Pioneer VSX-923)
Same bug on Chromecast (4k).
Relevant log output
2024-01-11 15:51:51.795 INFO (MainThread) [music_assistant.streams] Start Queue Flow stream for Queue AVR-DLNA
2024-01-11 15:53:20.665 INFO (MainThread) [music_assistant.streams] Start Queue Flow stream for Queue AVR-DLNA
2024-01-11 15:53:57.112 INFO (MainThread) [music_assistant.streams] Start Queue Flow stream for Queue AVR-DLNA
Additional information
In general the synchronization of the dlna and the server seems to be of. Sometimes the Song shows the correct position after a while, but it hops a lot.
Sometimes it stops. Just now had a one time log when it stopped in the middle of a song:
2024-01-11 16:01:32.230 WARNING (MainThread) [async_upnp_client.profiles.dlna] Only InstanceID 0 is supported
What version of Home Assistant Core are your running
2023.12.4
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

Try with queue flow mode off on both the DLNA player and chromecast

Try with queue flow mode off on both the DLNA player and chromecast

Then it stops after one song. Thats why I tried it with it according to the threads I read here.

Yeah ok I think you might be caught up in the queuing bug which is being worked on. Wait for an update to see if this is fixed.

Yeah, same problem here. With flow mode enabled the wrong song title is shown. Not the current, but the one played before. And without flow mode, one track gets repeated endlessly with Spotify and Sonos.

Where is this wrong info shown? In the UI of Music Assistant ?

Where is this wrong info shown? In the UI of Music Assistant ?

Yes.

Also the entity shows the wrong song info.

This should be fixed in beta 83 please advise if not

Cross Fade (Queure shows) the same problem. Without Crossfade it seems to works. (Just tested 2 songs with skip to the end).

But it seems it has to do with the bug:

2024-01-21 11:02:07.178 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Players._handle_event(MassEvent(eve...ra_data': {}}))
Traceback (most recent call last):
File "", line 37, in mashumaro_from_dict
File "", line 37, in
File "/usr/local/lib/python3.11/enum.py", line 712, in call
return cls.new(cls, value)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 1135, in new
raise ve_exc
ValueError: 'enqueue_next' is not a valid PlayerFeature
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/usr/local/lib/python3.11/site-packages/music_assistant/client/players.py", line 302, in _handle_event
self._players[event.object_id] = Player.from_dict(event.data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 39, in mashumaro_from_dict
mashumaro.exceptions.InvalidFieldValue: Field "supported_features" of type tuple[PlayerFeature, ...] in Player has invalid value ['power', 'volume_mute', 'volume_set', 'enqueue_next', 'pause']

Have you updated the integration as well?

If its easy its no fun :-D Now working. Testing the queues and skips with integrated Music Assistant player.

Open a new issue with the details thanks.

It is exactly the same behaviour, as described in opening post. Tested on chromecast. But it is working now without Crossfade. When crossfade, then same behavior!

Ok crossfade is flow mode under the hood so it seems it is a problem with flow mode. Try your DLNA player without flow mode as well please

DLNA did not work properly at all (but I think that is a pioneer problem). It had hickups a lot. Now for example it does not work anyhow :-/ Sorry, cannot properly test this one.
With the crossfade it seems, that there are 2 playlists parallel, like 2 different streams.

With the crossfade it seems, that there are 2 playlists parallel, like 2 different streams.

What do you mean by this?

I know the "phenomenon" from Spotify on Chromecast. The chromecast is not a streaming device. It is a self sufficient cpu which gets a command to use its own app client to play a song. So when I look onto my phone after a while, it might be, that my phone shuffled through a playlist differently, as the chromecast.
This means with the phone I hit "play" and then the chromcast is self sufficient.
I do not know, how your code "speaks" to the player, but hence it was the same with the dlna, I do not think, that it is the exact same problem. Although it seems to be working without "flow mode".
Another thought to parallel streams comes to mind, when you switch between tracks and playlists. When you start a playlist, then switch to a track...it happens that the stream changes after the track directly back into the formerly stopped playlist song. If I knew more about the code mechanics, I could assist you more precisely. I do not know if you have to stop a stream or "kill" a stream, when changing tracks or playlists. But it seems as if there are more than one queue.

You are correct that is how an app and. Chromecast device normally works but it is not how MA works as it is building its own streams.
MA has 3 ways of enqueuing tracks to players:
BASIC/FALLBACK
send tracks from the queue one by one. We just watch the player and if we see that it stopped playing at the end of a track, we tell it to play the next. This is the most basic form of enqueuing and completely handled by the MA queue controller and thus works with ALL players. This will NOT support gapless or crossfade. This setting is the default if the player has no native enqueue support or flow mode enabled. By default DLNA players use this option as well as the upcoming Home Assistant based players. Full metadata is sent to the player of what is playing.
NATIVE ENQUEUE SUPPORT
The player has native enqueue support so we tell it what the next track will be right before the current one ends. This is a special feature that not all players support. Its supported (and by default enabled) for Slimproto, Google Cast and Sonos players. Some DLNA players support it but others don't so we offer a player setting to enable it so a user can try himself if the player accepts it. benefit is full support gapless playback and in case of Slimproto and Sonos also crossfade. Also full metadata will be sent to the player what is currently playing.
FLOW MODE
As an alternative to native enqueuing we can also send one stream of audio to the player and let Music Assistant stitch the songs together (with gapless or crossfade). This mode is used by default for Airplay and snapcast and will be used by DLNA and Cast if crossfade gets enabled. Downside of this approach is that Google cast (and most DLNA players) looses metadata display (on the speaker itself). Some DLNA players support "icy metadata" which is what we send to inform what is playing.

Can you confirm that when your issue occurs if the track position counter continues past the end length of the song

We will close this soon due to no followup

I encountered similar issues when playing music from a local NAS or Tidal via UPnP/SlimProto on a Raspberry Pi renderer. Queue flow mode helps, but the music is always upsampled (44.1kHz files show as 192kHz on the DAC). Without queue flow, the DAC displays the correct bitrate, but the synchronization between the currently playing song and the track shown on the player breaks


add simple upload example

fixes #233

Coverage remained the same at 79.837% when pulling a1ffacb1d97630b090996fe4a1a6792aee0af83c on formdata-upload-233 into 0527ba2baa2bcf3e6b541f3651df96d471cee062 on master.


Pull request #66 needs to be fixed

(#66) Looks like this PR needs some work in terms of resolving merge conflict.
If it's okay, I'd like to contribute by fixing the merge conflicts in this particular branch: sync-bd0c9d8c

@iphayao Sorry for tagging you in krub. I'm not sure who to follow up with, but I noticed you were the last person to make a commit to this repository.
Are there any active maintainers krub? I'd like to offer more translations if possible.

@naruthk Sorry late to reply, I have not much time to maintenance this but I will merge existing as soon as possible krub.


koordlet: support cri-o container runtime

Ⅰ. Describe what this PR does
This PR will add koordlet support for the cri-o runtime , solve problems like "│ koordlet-vgmdg W0403 04:29:39.470690 919471 cgroup_reconcile.go:226] parse containerDir error! msg: unknown container protocol cri-o://088b531d2f86e63c6f35c823078 1be16fb0fe5788c14761812d1e8666596e0d
” running error.
Ⅱ. Does this pull request fix one issue?
Ⅲ. Describe how to verify it
Deploying koordinatr in the cri-o v1.28 environment runs normally.
Ⅳ. Special notes for reviews
V. Checklist

[ ] I have written necessary docs and comments
[ ] I have added necessary unit tests and integration tests
[ ] All checks passed in make test

@georgexiang Please make the commit signed off to pass the DCO check.

@georgexiang Please make the commit signed off to pass the DCO check.

@saintube Thanks for the reminder. Have followed the instruction. make the commit signed off, and passed DCO check.

Hi @saintube  , help me look at , at this stage , how to chang this PR commit , to pass " gofmt-ed with -s (gofmt)  check " , then pass the  "CI / golangci-lin" and "CI / unit-tests(Verify gofmt) " . Thanks a lot.

Hi @saintube , help me look at , at this stage , how to chang this PR commit , to pass " gofmt-ed with -s (gofmt) check " , then pass the "CI / golangci-lin" and "CI / unit-tests(Verify gofmt) " . Thanks a lot.

Please check the indention of your code. The linter check shows you can correct the code via the command gofmt.

Hi @saintube , help me look at , at this stage , how to chang this PR commit , to pass " gofmt-ed with -s (gofmt) check " , then pass the "CI / golangci-lin" and "CI / unit-tests(Verify gofmt) " . Thanks a lot.

Please check the indention of your code. The linter check shows you can correct the code via the command gofmt.

Thanks for your suggestion. Have gofmted related files, passed the gofmt check.

/lgtm

@hormes
Hi hormes, do you have minutes to help review this PR, or what else need me to do to complete this work? Thank you very much.


Why required fields are checked in casting only if they are nil and not if they are empty strings?

I just wonder why a parameter with an empty string is considered to be present during the casting of required fields? What I mean is that if I have a field email and I add it to the list of required fields and it equals to an empty string, I don't get any errors, and I wonder what the reason for this is?

Please don't use the issues tracker for questions.
That's because it is not up to the model layer to remove empty strings. They are a wart from HTML forms. In Phoenix you have plug :scrub_params when action in [:create, :update] to remove them.

@josevalim I apologize for posting a question here. And thank you for your reply

No problem! :D


[GSSoC'23] Styling Back to Top Arrow Button

Description

Styling the back to top arrow button
Also fixing the hide and show functionality of the back to top arrow button

Fixes #553
Replace issue_no with the issue number which is fixed in this PR
Screenshots
https://github.com/SurajPratap10/Imagine_AI/assets/114330097/d58f43f1-9d7f-4db9-99b5-6e91b09e9f24
Checklist

[x] Tests have been added or updated to cover the changes
[x] Documentation has been updated to reflect the changes
[x] Code follows the established coding style guidelines
[x] All tests are passing

@SurajPratap10 sir, please review this pull request


Internationalization fails on Firefox

The texts are not internationalized when opened on Firefox

When using the development build the console shows this:
[React Intl] Missing locale data for locale: "es-ES". Using default locale: "en" as fallback.

It actually fails when the loaded language is not 'en'.

https://maksimivanov.com/posts/how-to-localize-react-application-using-react-intl/

Seems to be that it can't fallback to the default language

https://medium.com/calm-engineering/internationalization-with-react-intl-4e16bbb2e785

https://www.codeandweb.com/babeledit/tutorials/how-to-translate-your-react-app-with-react-intl

Seems to be this same error:
https://github.com/formatjs/react-intl/issues/917
Try setting the default locale

All the links with examples:
https://maksimivanov.com/posts/how-to-localize-react-application-using-react-intl/
https://medium.com/calm-engineering/internationalization-with-react-intl-4e16bbb2e785
https://www.codeandweb.com/babeledit/tutorials/how-to-translate-your-react-app-with-react-intl

The problem may be in the way the messages are internationalized:
``intl.formatMessage({ id: 'form.title' })
This is using a JSON without the default message. Maybe it is unable to fall back to the messages defined at the application level?

It seems the default message is required. This works, of course:
intl.formatMessage({ id: 'form.title', defaultMessage:'Title' })

But if it falls back to English it should take the english messages, not the default ones. Otherwise the internationalization will fail.

Fixed by forcing the defined language to be from a set of valid languages.


Make Batch Resources Proper Nouns

Automation for azure-sdk-for-python

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-java

Automation for azure-sdk-for-js

Automation for azure-sdk-for-go

Can one of the admins verify this patch?


fix: move xlsx from devDependencies to dependencie

Hello, this is my suggestion to solve the pull request problem #15 thank you

@joaomede thank you for working on this, but XLSX is set as a peerDependecy this means you need to install it on your own ( so you can choose the version that you prefer ) this is by design! So unfortunately we will have to close this


Refactor Azure OpenAI + Chat Completion Streaming

Updates the Azure OpenAI to extend OpenAI
Adds ChatCompletion Streaming

cc @caleteeter would be great if you could also review please.


embed creator (something like in d.js)

Featuring Type
Function
So, what is it about?
Add a embed creator (leave the normal embed functions too).
It would look like:
$createEmbed[name;{title:title}{description:description}...]
Then there would be 2 functions to use the embed, $embed and {embed}, for normal usage and for errors.
It would be a lot more readable sometimes than everything in a single line (I think you can just split it into new lines, but still an embed creator would be a lot more readable)
Code of Conduct

[X] I agree to follow this project's Code of Conduct

You could just do..
$sendMessage[$nonEscape[$get[embed]]]
$let[embed;{newEmbed:{title:...}}]

Would be basically the same. Also you don't need everything in the same line.
$sendMessage[{newEmbed:
  {title: Some text }
  {description: Some text }
}]

is the same as
$sendMessage[{newEmbed:{title:Some text}{description:Some text}}]

leave the normal embed functions too

This is planned for v7.
$sendMessage[$title[Some text]]

cc @Leref

$let and $get dont work like embed creator, it just returns the text

Closing, won't be added unless otherwise specified by @Leref

U can use $nonEscape to convert text back to parser.
On Tue, 9 Jan, 2024, 4:40 am papaaj, @.***> wrote:

$let and $get dont work like embed creator, it just returns the text
—
Reply to this email directly, view it on GitHub
https://github.com/AkaruiDevelopment/aoi.js/issues/537#issuecomment-1881964416,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARRPTYWZAWE6245KVKPY7MTYNR4FLAVCNFSM6AAAAABBEWNV5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRHE3DINBRGY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Adding a new sensor jumps around a little too fast - 1.5.0 - enhancement -minor

It's a nice idea to sort the Ruuvi by RSSI but sampling a little too fast makes them jump around and appear and disappear. Just saying.

Yeah, agree, it was annoying me too

Yeah, agree, it was annoying me too

in fact better don.t clear them out on each pass. Once a RuuviTag is seen, leave in the same place even if not seen on this pass.

This will be updated in next version (1.5.x):

Show sensor for 60 seconds since last broadcast
Update 'Add a New Sensor' screen not so frequently to have less jumping sensors
Sensors without recent broadcast (older than 10 seconds) will be shown with gray

QA passed


warnings: False positives with LostWaker warning

Currently, the LostWaker warning seems to often display false positives. These seem to occur when a task has a single waker clone, is woken by value (dropping the waker), and yields after having been woken. This seems to occur the most frequently when a task self-wakes (and that may be the only instance where this occurs?).
It would be nice to fix this --- the warning should only be shown when a task definitely won't be woken again. However, I'm not immediately sure how we would determine this.
One potential solution is that the false-positives seem to be pretty transient. They flicker in and out of existence rapidly. We could potentially just only display the lint if the task has remained in the 0-waker state for a long time.

Maybe we can check if last_wake is after last_poll_started, and if so we can assume it will be polled again?

Sadly this doesn't fix the issue I was coming across. I still get a lost waker

Hmm, that's surprising!

On the latest main branch I see a ton of (apparent) false positives, just running the demo app like
$ cargo run --example app &
$ cargo run

I'm honestly quite surprised this lint doesn't just work with the naive implementation, not totally sure what's going on here!

Still not fixed... :(

What's the behavior of it not working? I don't see any false positives in the example app, whereas I used to sometimes see it flicker.

For what it's worth we see this in the vector project, our console being currently pinned to sha f2c30d52c9f22de69bac38009a9183135808806c. We'd be happy to provide any debug information, run experiments etc.

@blt what if you update that pin to current main? There's been 2 commits since then to address this issue.

Still happening. I've updated vector to use the most up to date SHA and have made sure my checkout of console is at the same SHA, draft-PR here: https://github.com/vectordotdev/vector/pull/9293 Screenshot:

Unfortunately I don't have a small reproduction case. My compile and run command for vector is:
> RUSTFLAGS="--cfg tokio_unstable" CARGO_PROFILE_RELEASE_DEBUG=2 cargo  build --release --no-default-features --features "tokio-console,sources-datadog,sources-syslog,sources-internal_metrics,transforms-remap,sinks-prometheus,sinks-datadog" && RUST_BACKTRACE=1 firejail --noprofile --rlimit-as=2g --cpu=1,2,3,4,5,6,7,8 ./target/release/vector -qq --config ~/projects/us/troutwine/lading/configs/vector-ddlogs-remap.toml

where the reference config vector-ddlogs-remap.toml is:
data_dir = "/tmp/data/vector"

##
## Sources
##

[sources.internal_metrics]
type = "internal_metrics"

[sources.datadog_agent]
type = "datadog_agent"
acknowledgements = false
address = "<IP_ADDRESS>:8282"

##
## Transforms
##

[transforms.parse_message]
type = "remap"
inputs = ["datadog_agent"]
source = '''
pyld, err = parse_json(.message)
if err == null {
  .message = pyld.mineral
}
'''

##
## Sinks
##

[sinks.prometheus]
type = "prometheus_exporter"
inputs = ["internal_metrics"]
address = "<IP_ADDRESS>:9598"

[sinks.dd_logs_egress]
type = "datadog_logs"
inputs = ["parse_message"]
endpoint = "http://localhost:8080/v1/input"
default_api_key = "DEADBEEF"

I don't see waker loss when vector sits idle, only when I'm generating load. This is done with my lading project. I run vector against two programs from lading, http_gen and http_blackhole, run like so:
> cargo build --release && firejail --rlimit-as=8g --cpu=11,12 --noprofile ./target/release/http_gen --config-path configs/http_gen-dd.toml

> firejail --rlimit-as=2g  --noprofile ./target/release/http_blackhole --worker-threads 16 --concurrent-requests-max 512 --binding-addr "<IP_ADDRESS>:8080" --prometheus-addr "<IP_ADDRESS>:9002"

The configuration http_gen-dd.toml is:
worker_threads = 2
prometheus_addr = "<IP_ADDRESS>:9001"

[targets.simple]
target_uri = "http://localhost:8282/v1/input"
bytes_per_second = "500 Mb"
parallel_connections = 10
method.type = "Post"
method.variant = "DatadogLog"
method.maximum_prebuild_cache_size_bytes = "1 Gb"

[targets.simple.headers]
dd-api-key = "DEADBEEF"

When load is generated by http_gen the console reports a regular growth of waker loss. It's entirely possible it's legitimate, though some of the areas I've spot checked I'm not sure how you'd lose your waker there.

This screenshot and being able to check the source on GitHub has been really useful. Here's some things I'm noticing:

Several of the tasks with a warning don't have a single poll, so the console should be updated to not care before the first poll.

I noticed that one task didn't have a poll for over 150s, and that neighboring tasks had been busy for just as long. I think an upcoming warning/lint about blocking will notice that one :)

One of the warned tasks is a block_on. We may need to check how that affects the lint.
Another task (from topology take_healthchecks) has seen a few polls, and then been idle for a couple minutes. It could be the console has missed something, but I see there is a manual impl Future for Task in vector, so could that be losing the waker?

With the latest commit, the first class should be fixed. I haven't had time to investigate block on. I do wonder if the 3rd class are real warnings :)

Tell you what, it's entirely possible console has turned up a real bug on that third point. I'll update and report back, hopefully later today but at most by tomorrow morning.

This is substantially improved! I've updated our referenced PR, results as follows:

I do believe the topology waker loss is a bug on our side. There are two waker loss dings from datadog/logs/sink.rs that I'm unable to explain. The first location:
https://github.com/vectordotdev/vector/blob/master/src/sinks/datadog/logs/sink.rs#L289
The second location:
https://github.com/vectordotdev/vector/blob/e4bc841cd8e93428d85eee7e4bb95c5e7a0790f3/src/sinks/datadog/logs/sink.rs#L380

Hm, looking at the image, nothing else sticks out at me. Do those tasks eventually get polled again? Or are they stalled? (Does the number of polls go up even while the warning is present?)

The tasks from sink.rs are all short-lived and never get re-polled once they move into the wakeless state. There are more now than when I initially took my screen capture, 5 as compared to 2, but none have been polled more than twice. I did manage to catch a task that entered the warning state, was polled somewhat rapidly and then exited the warning state but I failed to notice what its code location was. I seem to recall there's not a capture mode for the console yet?

I believe #238 almost fixes all the false positives we've seen with this lint. @Milo123459 and @blt, are either of you able to try the latest git revision of console-subscriber (fdc77e28d45da73595320fab8ce56f982c562bb6) and confirm that this is the case? You'll also need to build the git version of the console CLI.

I've sadly temporarily stopped using tokio console due to #184 - I can't really share much

@hawkw I can give this a shot, yes.

I haven't been able to reproduce the same lost waker problem with vector, using the setup detailed here. PR on the vector side to include the changes: https://github.com/vectordotdev/vector/pull/10825 I am using tokio-console fdc77e28d45da73595320fab8ce56f982c562bb6. The proposed fix looks good!


Better clarification surrounding Ingress/Egress IPs in Documentation.

[Enter feedback here]
By default when using the Standard Load Balancer 2 IP addresses are created. 1 for ingress traffic and 1 for egress traffic.
*The above detail is not obvious, is there any way to add this.

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

ID: 60a7a0a8-97e7-0fda-763c-1a9972f4e9bc
Version Independent ID: 82b46441-43fc-fe48-97e2-0f3fca3d6eab
Content: Use a Public Load Balancer - Azure Kubernetes Service
Content Source: articles/aks/load-balancer-standard.md
Service: container-service
GitHub Login: @palma21
Microsoft Alias: jpalma

@AdamSheltz
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@palma21
Can you please check and add your comments on this doc update request as applicable.

Hi, thank you for your contribution! We've just completed a full review and update of the Load Balancer doc, so I will be closing the issue. #please-close


Best settings?

hello, what are the best settings for this script to use in bedwars? im having a bit of trouble to decided on what settings i should use. thanks!

use deez nutz


Can't Get It To Work

Hi there,
Thanks for making your Gitlab calendar. However, I'm struggling to get it to work in Google Calendar.
I presume the base URL for Gitlab should be my URL e.g. https://gitlab.com/jonathanroper/ rather than the URL of the project e.g. https://gitlab.com/jonathanroper/test-project
Also I presume that you have to set the dates after you have added the calendar or is it able to import all of the events that have a date as new calendar entries?
Thanks!
Jonathan

Hey Jonathan,
sorry to hear that, you have to enter the base url of your gitlab installation, so instead of https://gitlab.com/jonathanroper you would have to enter https://gitlab.com
The project uses the api to fetch the calendar events and uses your access token to figure out who you are.

Also I presume that you have to set the dates after you have added the calendar or is it able to import all of the events that have a date as new calendar entries?

That is correct, only milestones and issues with a due date are included in your calendar.
I hope I was able to help you, let me now when you encounter any other problems.


css Spell issue

Version

Development Environment

Current Behavior
tui-image-editor.css line 11: maring instead of margin.
// Write example code

Expected Behavior

@molidort Resolved by #180.

also in tui-image-editor min, samr typo same line


feat: use allowlist in dev sw

This PR will use allowlist when creating the sw in development and deprecates the webManifestUrl:

add webManifestUrl deprecation
include the navigateFallbackAllowlist with the default
update the development entry in docs

@antfu when reviewed and merged you can publish a new version 0.12.4.
closes #346
supersedes #332

@antfu this PR can be merged, once done you can publish 0.12.4 and then we're ready to start the Vite 3 journey...
I haven't merged this PR since I have not yet my new laptop configured (I week and still not started it), and so I cannot release it.


Move required CreateTransaction::Public bounds to the trait definition.

When @gnunicorn attempted to use the trait it turned out that the where clause makes it really cumbersome (close to impossible, when combined with decl_module macros).
This PR moves the bound to CreateTransaction trait to alleviate that.
Still a draft, cause we are figuring out if there can be any more changes to increase the ergonomy of this.

If someone is interested, the corresponding rust issue: https://github.com/rust-lang/rust/issues/44591 :D


Fixed EMA returning 'undefined' when input = 0

EMA/WEMA had returned undefined when input was 0, for example when input was not simply price, but price difference from bar to bar.

@fireveined I'll take a look and merge it today


release: fix koparse behavior on finding images 🖌

Changes

Recent ko version may rework a bit the yaml and we may end up
in having multiple image to find on the same line. This would make the
release fail in those case.
This fixes that by looking multiple times for the regular expression
on a line.
It also changes a bit the regular expression to target images better.
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>/cc @afrittoli @bobcatfish @ImJasonH @sbwsg @chmouel
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[x] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[x] Commit messages follow commit message best practices
[x] Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task to build and release this image.

Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes
NONE

/kind misc

NIT: we might want to document which version of ko this works with?

So this should work with all version :upside_down_face: — the one that keep the format, and the one that do not :stuck_out_tongue_closed_eyes:

/lgtm
Looking Good! 🤙🏽


libprotobuf ERROR, String field

Describe the bug
nginx stderr log
[libprotobuf ERROR /grpc/third_party/protobuf/src/google/protobuf/wire_format_lite.cc:618] String field 'opentelemetry.proto.common.v1.AnyValue.string_value' contains invalid UTF-8 data when serializing a protocol buffer. Use the 'bytes' type if you intend to send raw bytes.

Your environment
nginx version:
nginx version: nginx/1.22.0
built by gcc 8.3.0 (Debian 8.3.0-6)
built with OpenSSL 1.1.1d  10 Sep 2019 (running with OpenSSL 1.1.1n  15 Mar 2022)

otel_ngx_module.zip
Sorry, I forgot the exact version number, only this so file and the information inside the trace.
telemetry.sdk.language  cpp
telemetry.sdk.name  opentelemetry
telemetry.sdk.version 1.8.1

Looks like, you are using some other module, our binary is "ngx_otel_module.so". Here are installation instructions, if you want to try it out.


Add link using modal in Markdown Editor

When we try to add a link on a text using the modal window, there is several issues:

when multiple words are selected, the Text field is wrong: for example, static sites generators is converted to st
when we close the window after adding some link in the URL field, the link isn't replacing the selected text as expected

I recorded a short video on the demo to help you understand and reproduce the bug (I'm using Firefox):
https://github.com/StaticJsCMS/static-cms/assets/8271134/1d8dad3c-13a2-4a5f-9055-55430510cee2

This is resolved in version 3.1.1


Add tags to tts - Heroes

Heroes:
-Card name
-Hero class
-Team
-Cost
-Recruit
-Power
-Description with brief keyword explanation
Complicated by split cards! Probably just have two tags for a property if different.

Tags added for hero class, team and cost.
Recruit and power are currently not available in the data.


Mismatch in Progressive Web App running on Desktop Browser  and Native iOS content when Data Matrix is scanned.

Release Version: 1.5.2
Environment: localhost with SSO Configuration.
Steps:

Created Demiurge and Enterprise wallet user.
In Enterprise wallet user created Product and Batch.
In desktop browser launched leaflet Wallet and scanned 2D data matrix , which shows below screen:

In iOS native App scanned same 2D datamatix, which shows below screen:

if we compare this two images, in first image some information like Serial number, Product code, batch number etc are missing. Do I need to do any settings in Desktop Progressive Web App or it is expected?
2D Data Matrix:

Couldn't reproduce.


net/http missing server address

What version of Go are you using (go version)?

$ go version
go version go1.12.2 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
any
What did you do?
I need to be able to http.Redirect() or otherwise output absolute URL to net/http server.
request.Host doesn't really do the job and it's often empty.
What did you expect to see?
I would like to have request.LocalAddr similar to request.RemoteAddr. This should be per request as each request can come on different address in case of multihomed servers.
What did you see instead?
On Apache/CGI this is usually achieved by using SERVER_ADDR + SERVER_PORT variables.

You're looking for https://golang.org/pkg/net/http/#LocalAddrContextKey

It worked, thank you!!!


WDM Driver Fails SDV When Linking to Microsoft Framework(s)

Quoting from the documentation page:
"If you have a WDM driver or library and want to run SDV, the driver or library must not link to one of the following class framework libraries."
In my current case the WDM driver must link to smclib.lib.
(1) What prevents SDV from running in this case?
(2) Is there currently a "work around" process available to enable SDV running in this case?
(3) If not, how will the SDV related requirements for the Windows HLK be met in this case?
(4) Is there a process for the community to be able to assist in modifications to SDV and/or the framework libraries so that SDV will run successfully in this case?
Thank you.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b5fd6a7f-6aab-f9b0-e4ab-ea54383adc80
Version Independent ID: b3bd9ec2-cc7e-98c6-b445-045f2ac4a481
Content: Determining if Static Driver Verifier supports your driver or library - Windows drivers
Content Source: windows-driver-docs-pr/devtest/determining-if-static-driver-verifier-supports-your-driver-or-library.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @EliotSeattle
Microsoft Alias: eliotgra

To whom it may concern, it would be nice to have some clarity. I have a minifilter, so it must link to fltmgr.lib. Do I have any options for static analysis? If not, are there any other static or dynamic test tools I could apply?
FWIW, I do put the minifilter through the HCK test studio (I have to support it running on Server 2012 R2 and beyond). I'm pretty sure the HCK and HLK test suites don't provide the same level of tests the SDV does.

Hi All.
Thanks for the question. I have reached out to the SDV team to get a good answer for you and will post something once I hear back. Sorry for the delay.
Eliot

Any update on this issue?

Sorry. Still no response. Have you tried posting the question in the Windows Hardware WDK and  driver development forum,  or the OSR NTDEV forum?
I'll continue to ask the team as well.
Apologies,
Eliot

I will copy here the response from Sebastian Lerner at the following URL (https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/fdb9c6db-50d5-41b5-8207-aec4601aebd8/sdv-and-microsoft-class-framework-libraries?forum=wdk):
Hi Dave,
Unfortunately, this is a limitation to SDV that does not have a work-around.  However, there are some generic rules that can still be used such as the nullcheck rule (https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/nullcheck) to perform some level of static verification.
SDV has not been open sourced and there is no plan to do so at this moment.
To certify for Windows Server, SDV must be run and all "must-fix" errors must be fixed (https://docs.microsoft.com/en-us/windows-hardware/test/hlk/testref/windows-server-must-fix-errors)
For Windows Desktop, there is no requirement to run SDV at this time.
Proposed as answer by Sebastian Lerner (MSFT) Wednesday, October 2, 2019 5:42 PM
Marked as answer by Brian CatlinModerator Wednesday, October 2, 2019 6:32 PM
Wednesday, October 2, 2019 5:42 PM

@dwkaiser
Thanks so much, Dave! I appreciate you hunting this down.
I've added the info to the page and have pushed it to the master branch. It's live.
Eliot


Admin tool for getting various stream info

What does this pull request do? Explain your changes. (required)
Adds 'tools' tab to admin's page.
Allows to enter playback ID, stream key or manfiest ID and will shows various information about stream
Screenshots (optional):

@iameli @ya7ya
I've also added 'Show active streams only' checkbox on admin's streams page:

First, this is great and super useful! One suggestion for how to make this workflow even better either in this PR or a future iteration.
It would be great in the tools tab to see a list of all active streams grouped by user with the playback ID, stream key or manfiest ID also in the table. And then when you click into a stream, you get all the info you have in your first screenshot.
That way instead of co-opting the streams tab that users use, we can have a separate admin tools tab. Also, then the person debugging wouldn't have to click into an active stream and copy and past an ID into the text field of new tool you created; it could be one step.
The tool with the text field shouldn't go away though, because it will still be helpful for non-active streams.

@wohlner
Let's merge this PR and then I'll improve on it in the next one

That way instead of co-opting the streams tab that users use,

This tab is admin's only, users don't see it.

It would be great in the tools tab to see a list of all active streams grouped by user

Now you can sort streams by user, that should do it for now, until we have much more streams

And then when you click into a stream, you get all the info you have in your first screenshot.

With the next PR I'll add all the info (under the 'admins only fields' section of course) to the regular streams page

No, i get that the users don't see the admin features. I just don't want that streams tab to get bloated with all sorts of features though.
But I think that your suggestion "With the next PR I'll add all the info (under the 'admins only fields' section of course) to the regular streams page" is an excellent quick win.
Nice work on this, Ivan. It's going to me immensely helpful

@iameli fixed


Importing Examples Hub scene with UPM generates SU namespace error

Describe the bug
When importing the MRTK Examples Hub scene with UPM into a project, the following warnings below are generated.

To reproduce
Steps to reproduce the behavior:

Create a new project in Unity 2020
Import the MRTK UPM packages to the project via the Package Manager
Under the Examples package, import the 'Experimental - Examples Hub' sample
See error

Expected behavior
Importing example scenes do not generate errors in the Unity console.
Your setup (please complete the following information)

Unity Version 2020.3.7
MRTK Version 2.7

Target platform (please complete the following information)

OpenXR
UWP

We are removing the following script from MRTK for now as it is not used by any scene/other script at the moment. The script is intended to properly clean up the mesh/GameObject generated in the Scene Understanding example scene before switching to another scene. We are planning to readd the script when we place it in a scene at a later date.
using Microsoft.MixedReality.Toolkit;
using Microsoft.MixedReality.Toolkit.Experimental.SceneUnderstanding;
using Microsoft.MixedReality.Toolkit.SceneSystem;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Examples.Demos
{
    public class SceneSystemUnloadingCheck : MonoBehaviour
    {
        public DemoSceneUnderstandingController SUController;
        private bool isCleared = false;

        void Start()
        {
            IMixedRealitySceneSystem sceneSystem = MixedRealityToolkit.Instance.GetService<IMixedRealitySceneSystem>();
            sceneSystem.OnWillUnloadContent += HandleSceneOperation;
        }

        private void HandleSceneOperation(IEnumerable<string> obj)
        {
            if (isCleared == false)
            {
                SUController.ClearScene();
                isCleared = true;
            }
        }
    }
}


Add the ability to specify the host network in service-creation

Select a network not select 'host' network?

Can you be more precise with the question?

ping @gaochunmeng

I use shell to create service "docker service create --mode global --network host nginx"
Set ‘--network host ’
Use portainer create service can't find ‘host’ network  ， only ‘swarm  overlay’ type network

Ok I've renamed the issue.
From what I've searched only, this should only be available for Docker versions >= 17.06: https://github.com/moby/moby/issues/33896#issuecomment-312352048

works for me with
Docker version 17.07.0-ce, build 8784753

So the Portainer-container can reach the Docker Host via TCP in swam mode.
Can we add this to the Portainer docs?

@rdxmb what are you talking about?

Ah, probably about a different thing ;)
I searched for a way to connect the portainer-container with the host network - and found the answer in your linked comment. But you - I guess - are talking about creating services within portainer. So, of course, we are talking about different worlds ...

host is now an option from the Network dropdown when creating a service.


[Task]: Error handling when there is no synced node available

Task description
Currently the app blocks when trying to login with no synced node available. We should need to allow login and show an error message.
Requirements

[ ] Show notification when node is not synced or online
[ ] Dont prevent login when node is unavailable.

Creation checklist

[ ] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

Close because duplicate of general error handling in login


[Snyk] Security upgrade golang from 1.11.6 to 1.24rc1

Snyk has created this PR to fix 3 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

hack/Dockerfile

We recommend upgrading to golang:1.24rc1, as this image has only 78 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Integer Overflow or Wraparound SNYK-DEBIAN9-SQLITE3-307593
  505

OS Command Injection SNYK-DEBIAN9-OPENSSL-2933517
  279

OS Command Injection SNYK-DEBIAN9-OPENSSL-2933517
  279

OS Command Injection SNYK-DEBIAN9-OPENSSL-2807589
  275

OS Command Injection SNYK-DEBIAN9-OPENSSL-2807589
  275

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 OS Command Injection

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)
:white_check_mark: license/snyk check is complete. No issues have been found. (View Details)


Do not include BlocksToolkit definition in codegen

Change-Id: I48418d1092a9f832ea457fdc9b07577b3e94d1ee

@jisqyv This was the fix I alluded to in the email from Avinash.

@SusanRatiLane That's a user error. There is a duplicate event handler in Screen1 that you need to remove.

Forget error above. There was an actual duplicate event in the code. Everything looks fine when that is removed.


Update scripts/format to read out prettier from package.json

This PR updates scripts/format to read out prettier from package.json instead, if EXERCISM_PRETTIER_VERSION is not explicitly given, using shelljs.
Fixes https://github.com/exercism/javascript/issues/1319

@eakray Thanks for helping out so much lately!
It would be great if you could include "Fixes #xyz" (xyz being the issue number) in the PR descriptions. This way GitHub will automatically link your PR to the issue and close the issue once the PR is merged, see GitHub Docs for more info on this. That way can't forget to close the issue once the PR is merged.

@eakray Thanks for helping out so much lately!
It would be great if you could include "Fixes #xyz" (xyz being the issue number) in the PR descriptions. This way GitHub will automatically link your PR to the issue and close the issue once the PR is merged. Just mentioning the number does not work like that. See GitHub Docs for more info on this.

Will do. Thanks for letting me know. I'm pretty new at this.


Terminal in Editor (Closing in editor does not close terminal in background)

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.58
OS Version: Windows 10

Steps to Reproduce:

Open terminal by pressing ctrl+`
Now open command palette. Search for terminal: move terminal into editor area.
Press enter.
It will open your terminal into editor area.
Close the terminal in editor area.
Now repeat step 1, 2 and 3. It will not open terminal in editor area now.
Because first instance we detached from editor area but in background it was running in below command line.
I think you need to kill that instance too. To make it work. Background terminal instance open when we opened the bottom screen of terminals.

Thank you.
Regards: Zartash

The issue is resolved in version 1.58.2.
Thank you.

Issue is resolved in version 1.58.2
Thank you!


Can't recreate smclarify example on AWS SageMaker. Bias report gives: CDDL metrics failed

When I try to run Bias_metrics_usage.ipynb from the examples in https://github.com/aws/amazon-sagemaker-clarify.git in a SageMaker studio notebook I get the following error from the following line (there was originally a Numpy error that I fixed by upgrading Pandas - other than that no other errors):
report.bias_report(df, facet_column, label_column, stage_type=report.StageType.PRE_TRAINING)

CDDL metrics failed
Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/site-packages/smclarify/bias/report.py", line 292, in _categorical_metric_call_wrapper
    group_variable=group_variable,
  File "/opt/conda/lib/python3.7/site-packages/smclarify/bias/metrics/__init__.py", line 26, in call_metric
    return metric(**{key: kwargs[key] for key in inspect.signature(metric).parameters.keys()})
  File "/opt/conda/lib/python3.7/site-packages/smclarify/bias/metrics/pretraining.py", line 195, in CDDL
    return common.CDD(feature, sensitive_facet_index, positive_label_index, group_variable)
  File "/opt/conda/lib/python3.7/site-packages/smclarify/bias/metrics/common.py", line 80, in CDD
    raise ValueError("Group variable is empty or not provided")
ValueError: Group variable is empty or not provided
CDDL metrics failed
Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/site-packages/smclarify/bias/report.py", line 292, in _categorical_metric_call_wrapper
    group_variable=group_variable,
  File "/opt/conda/lib/python3.7/site-packages/smclarify/bias/metrics/__init__.py", line 26, in call_metric
    return metric(**{key: kwargs[key] for key in inspect.signature(metric).parameters.keys()})
  File "/opt/conda/lib/python3.7/site-packages/smclarify/bias/metrics/pretraining.py", line 195, in CDDL
    return common.CDD(feature, sensitive_facet_index, positive_label_index, group_variable)
  File "/opt/conda/lib/python3.7/site-packages/smclarify/bias/metrics/common.py", line 80, in CDD
    raise ValueError("Group variable is empty or not provided")
ValueError: Group variable is empty or not provided
CDDL metrics failed
Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/site-packages/smclarify/bias/report.py", line 292, in _categorical_metric_call_wrapper
    group_variable=group_variable,
  File "/opt/conda/lib/python3.7/site-packages/smclarify/bias/metrics/__init__.py", line 26, in call_metric
    return metric(**{key: kwargs[key] for key in inspect.signature(metric).parameters.keys()})
  File "/opt/conda/lib/python3.7/site-packages/smclarify/bias/metrics/pretraining.py", line 195, in CDDL
    return common.CDD(feature, sensitive_facet_index, positive_label_index, group_variable)
  File "/opt/conda/lib/python3.7/site-packages/smclarify/bias/metrics/common.py", line 80, in CDD
    raise ValueError("Group variable is empty or not provided")
ValueError: Group variable is empty or not provided
CDDL metrics failed
Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/site-packages/smclarify/bias/report.py", line 292, in _categorical_metric_call_wrapper
    group_variable=group_variable,
  File "/opt/conda/lib/python3.7/site-packages/smclarify/bias/metrics/__init__.py", line 26, in call_metric
    return metric(**{key: kwargs[key] for key in inspect.signature(metric).parameters.keys()})
  File "/opt/conda/lib/python3.7/site-packages/smclarify/bias/metrics/pretraining.py", line 195, in CDDL
    return common.CDD(feature, sensitive_facet_index, positive_label_index, group_variable)
  File "/opt/conda/lib/python3.7/site-packages/smclarify/bias/metrics/common.py", line 80, in CDD
    raise ValueError("Group variable is empty or not provided")
ValueError: Group variable is empty or not provided

Is this a problem with the example? Could it be caused by the Pandas upgrade? Any help or advice would be much appreciated?

Hi Oliver-Chalkley,
The CDDL metric requires you to pass in a group_variable in the call to report.bias_report(df, facet_column, label_column, stage_type=report.StageType.PRE_TRAINING). We specify one in the notebook Bias_metrics_usage.ipynb but not in the notebook Bias_metrics_usage_marketing.ipynb.
Note that the error is just logged, the computation of the other metrics still succeeds.
You have a few options: (a) ignore the logged error, (b) manually specify a list of metrics excluding CDDL, (c) specifying a group variable.
Here are some details:
(b) you can call report.bias_report(df, facet_column, label_column, stage_type=report.StageType.PRE_TRAINING, metrics=["CI", "DPL", "JS", "KL", "KS", "LP", "TVD"]) to skip CDDL
(c) you can specify a group_variable of your choice, e.g. report.bias_report(df, facet_column, label_column, stage_type=report.StageType.PRE_TRAINING, group_variable=df['marital'])
Hope this helps!
Mila

Great explanation milah, thank you very much!


Migration to Null-Safety

Migrate existing code to null-safety.
Full Description
Since last week, Flutter 2.0 hit stable branch. With 2.0 we've received Dart 2.12 with new sound null safety mechanism. Current audioplayers package doesn't support null-safety yet therefore migration is a must.
Scope - migration of both - example and package to null-safety.
Example Code
Migration will touch most of the code. Key objectives here is to utilise dart migrate so all of the heavy lifting is done for us. And after that, run the build and fix places, that were fixed incorrectly by the tool.
Platforms
Migration will touch all of the platforms.
Sample Files/URLs/Sources
N/A.
Mockups
N/A.
Research Resources
null-safety is unavoidable thus sooner or later it must be done.
https://dart.dev/null-safety
Additional
This will be a heavy migration therefore careful code review is a must from one or more developers, after everything is done.

here is pull request #785

Waiting for this to update our application to Flutter 2.0!
It would be awesome to have it ASAP. Thank you for your great work :)

Can someone tell if it is already in progress?
I have some packages stuck on the migration because the audioplayers package depends on old versions of other packages...

Hi while this is in progress, is there a way to override the dependencies in pubspec.yaml to include the null safety version ?
I need this ASAP

here is pull request #785

Hi while this is in progress, is there a way to override the dependencies in pubspec.yaml to include this version directly from the github repository ?
I need this ASAP

here is pull request #785

audioplayers:
    git:
      url: https://github.com/wolfenrain/audioplayers.git
      ref: null-safety

Although what worked for me as a temporary solution, while awaiting the final release:
audioplayers: 0.17.4

dependency_overrides:
    uuid: ^3.0.1
    path_provider: ^2.0.1

Fixed by https://github.com/luanpotter/audioplayers/pull/785

Fixed by #785

Great work!
Now how do I import the package?
The pub.dev version is still the Feb 19th release.

I will release a new version later today!


Login to request to que

As an intake analyst, I want to authenticate and login with IDIR, so that I can securely access FOI requests submitted
Acceptance Criteria
Scenario 1: Login

GIVEN the intake analyst is on the homepage
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/657932449
WHEN the analyst clicks the 'Login' button
THEN the analyst will be directed to the Keycloak IDIR login page:
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/657932450

Scenario 2: Enter valid credentials

GIVEN the intake analyst is on the Keycloak login page:
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/657932450
AND the analyst enters a valid IDIR email address and password
WHEN the analyst clicks 'Continue'
THEN the analyst will be logged into the application
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/657932451

Scenario 3: Sign out

GIVEN the intake analyst is on any page in the application
WHEN the analyst clicks 'Sign Out' in the header
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/657932451
THEN the analyst will be logged out of the application
*AND the analyst will be directed to the homepage
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/657932449

**Dependencies?
Realm setup which is now complete.
#110
Validation Rules? (If yes, list here)
Design
See designs in AC
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[x] Passes developer unit tests
[x] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

Code merged and was reviewed along with homepage

Issues with test region. @acoard-aot is investigating and will update

I'm able to log in and see the queue, but found an issue when trying to sign out - the following error message displays:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">SOAP-ENV:BodySOAP-ENV:FaultSOAP-ENV:ClientSOAP Processing Error. Exception processing request</SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

@m-prodan Was happening for me too, just had a quick chat with @abin-aot seems like it is a quick fix. I will add a bug so we can solve it tomorrow and make sure it isn't an issue going forward.


Question or request

Hi guys,
I am using Octoprint with MQTT/Tasmota to switch on/off my printer. Is there a functionality / setting to send "Power ON" command before printing when the schedule is up?
Thank you,
Norbert

https://github.com/jneilliii/OctoPrint-PrintScheduler/wiki/Helpful-System-Commands

@jneilliii thank you kindly for the pointer, now it's clear.


Deploy all blocks to tier-2 testing

Crashing on 10^5 blocks means we can't add more blocks.

Crashing seems to have ceased.

Done. Created a "tier3" for this.


v3.0.1 doesn't have cache.GetOrSet method while it's documented in README.md of master branch

See
https://github.com/jellydator/ttlcache/blob/v3.0.1/cache.go
https://github.com/jellydator/ttlcache/blob/master/README.md
Please consider either changing default branch to v3 or make sure README.md in master has relevant documentation.

BUMP

bump

Everything is correct. To find v3.0.1 documentation you should be looking at this README instead. If you want to use the GetOrSet method before the v3.1.0 release, you can upgrade the package to the latest non-released version via go get github.com/jellydator/ttlcache/v3@master.

The default branch is now v3.


A new release of pip available: 22.2.1 -> 22.3

The problem
Hello,
After update to Operating System 9.3 i have this error :
What version of this integration (ha-tahoma) has the issue?
2022.11.0
What version of Home Assistant Core has the issue?
Operating System 9.3
Which gateway / hub do you use?
Cozytouch
Home Assistant log
Unable to install package pyoverkiz==1.3.6: ERROR: Cannot install pyoverkiz==1.3.6 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip available: 22.2.1 -> 22.3 [notice] To update, run: pip install --upgrade pip```

Was it after 2022.11 or after 9.3?
Is there a reason why you could not upgrade to our core component yet? :)

Hello @iMicknl ,
I can't speak for @uowis , but in my case I can't upgrade to core component because I have Somfy shutter and Atlantic Heater and unfortunately "AtlanticElectricalHeaterWithAdjustableTemperatureSetpoint" is not backported yet :-(

Hello @iMicknl
I have the same problem with the last 2022.11 update and I can't move to the core component for now because I miss one last climate device (atlantic_electrical_heater_with_adjustable_temperature_setpoint).
To correct this problem, a bump to the last "pyoverkiz" 1.5.6 seems to work fine.
https://github.com/iMicknl/ha-tahoma/blob/69f9a2d91f4d6538364ae541628b3879709e9b7f/custom_components/tahoma/manifest.json#L7-L9
But I still have the following notification :

@iMicknl @Mushu77 @tillstaff
Same problem for me !
In my logs:
`Logger: homeassistant.setup
Source: setup.py:184
First occurred: 15:16:53 (1 occurrences)
Last logged: 15:16:53
Setup failed for custom integration tahoma: Requirements for tahoma not found: ['pyoverkiz==1.3.6'].`
and
`Logger: homeassistant.util.package
Source: util/package.py:98
First occurred: 15:16:39 (3 occurrences)
Last logged: 15:16:53
Unable to install package pyoverkiz==1.3.6: ERROR: Cannot install pyoverkiz==1.3.6 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip available: 22.2.1 -> 22.3 [notice] To update, run: pip install --upgrade pip`
since HA 2022.11.0 update with Supervisor 2022.10.0 and Operating System 9.3.
Overkiz (by Somfy) - Custom component v2.13.0
I need custom component for my climate device (atlantic_electrical_heater_with_adjustable_temperature_setpoint).
How can I help you ? I have already give you my id for test, so if you want tell me !

Hello,
Same problem for me !

Hi!
Same problem here since 2022.11 update..

Hello @iMicknl  !
I need (only) AtlanticElectricalHeaterWithAdjustableTemperatureSetpoint

Could you give https://github.com/iMicknl/ha-tahoma/archive/refs/heads/fix/ha_2022.11.zip a try? Extract this file and place custom_components/tahoma in your custom_components folder.
This should fix it for now, but I have not been able to test it. Would be great if someone could test this before we merge it.

Hello @iMicknl,
this fix work for me :-)
Thank You

Yes ! It's OK for me too on HA 2022.11.1, Supervisor 2022.10.2 and Operating System 9.3.
Thank you very much @iMicknl !
My 'io:AtlanticElectricalHeaterWithAdjustableTemperatureSetpointIOComponent' : Thermor Equateur 4

But I still have these issues:

Logger: homeassistant.components.number
Source: components/number/init.py:117
Integration: Nombre (documentation, issues)
First occurred: 00:08:46 (5 occurrences)
Last logged: 00:08:46
custom_components.tahoma.number is setting deprecated attributes on an instance of NumberEntityDescription, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom integration author.
custom_components.tahoma.number::OverkizNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom integration author.

Logger: homeassistant.components.number
Source: components/number/init.py:249
Integration: Nombre (documentation, issues)
First occurred: 00:08:46 (10 occurrences)
Last logged: 00:08:46
Entity None (<class 'custom_components.tahoma.number.OverkizNumber'>) is using deprecated NumberEntity features which will be unsupported from Home Assistant Core 2022.10, please report it to the custom integration author.

and:

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77
First occurred: 00:08:46 (2 occurrences)
Last logged: 00:08:46
Detected integration that uses deprecated async_get_registry to access device registry, use async_get instead. Please report issue to the custom integration author for tahoma using this method at custom_components/tahoma/init.py, line 141: device_registry = await dr.async_get_registry(hass)
Detected integration that uses deprecated async_get_registry to access entity registry, use async_get instead. Please report issue to the custom integration author for tahoma using this method at custom_components/tahoma/climate_devices/atlantic_electrical_heater_with_adjustable_temperature_setpoint.py, line 109: entity_registry = await self.hass.helpers.entity_registry.async_get_registry()

Hello @iMicknl,
My 'io:AtlanticElectricalHeaterWithAdjustableTemperatureSetpointIOComponent' : Atlantic Divali

iMicknl,
Solved for me with the provided package.
Thanks

@Hankey71 can you try with the latest version? Just download the zip again. Let me know if it still works and if it fixes the warnings above.

@iMicknl thanks. The zip was able to make my heating functional again :)

@Hankey71 can you try with the latest version? Just download the zip again. Let me know if it still works and if it fixes the warnings above.

Thank you @iMicknl ! With the latest version, it's OK ! I no longer have any error messages in my logs.
You are at the top and thank you again for the speed of your answers!

You can now update via HACS or releases and it should be fixed.

It work fine Thanks !

Hi! The update via HACS work fine. Until my automations change the preset mode of my heaters.. Every change in preset mode break there status, controls and informations.
Before preset change :

After change :

If i reload the integration, it's working again but not every time..
Anyone as the same problem?


natbibapa option of apacite errors

The apacite package mostly looks okay but the natbibapa option errors.
\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    testphase={phase-III,math,title,table,firstaid}
  }
\documentclass{article}

\usepackage[natbibapa]{apacite}

\title{apacite tagging test}

\begin{document}
text
\end{document}

errors with
! Illegal parameter number in definition of hook 'cmd/@lbibitem/before'.
(hooks)             Offending label: 'latex-lab-testphase-bib'.

apacite redefines sometime \@lbibitem so that it no longer has arguments and the hook doesn't like that... This should work
\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    testphase={phase-III,math,title,table,firstaid}
  }
\documentclass{article}

\makeatletter
\AddToHook{package/apacite/after}{%
 \if@APAC@natbib@apa
  \def\@lbibitem[#1]#2{\NAT@swatrue\orig@nat@@lbibitem[#1]#2}%
 \fi}
\makeatother
\usepackage[natbibapa]{apacite}
\title{apacite tagging test}

\begin{document}
text
\end{document}

maybe this can become partially-compatible given that there is a workaround for the option that doesn't work immediately.

It was originally listed in tagging-status.yml as partially-compatible


Don't run tests if only documentation changes have been made

It takes a while for tests to run and it would be nice if we could avoid running tests when we don't need to.

What do you mean by tests: local tests or CI tests?

I was thinking on CI.  I usually don't run tests locally.

This isn't as important now that our tests run fast.


There is a problem after downloading the video

my command: yt-dlp -x --audio-format mp3 {youtube_link} -o 'downloads/{youtube_id}.mp3
output:
web_1  | [youtube] Extracting URL: https://www.youtube.com/watch?v=vHX4i1YlvEo
web_1  | [youtube] vHX4i1YlvEo: Downloading webpage
web_1  | [youtube] vHX4i1YlvEo: Downloading android player API JSON
web_1  | [info] vHX4i1YlvEo: Downloading 1 format(s): 251
web_1  | [download] Destination: downloads/vHX4i1YlvEo.webm
It stays like the last post for 3 days.
What could be the reason for this?
I've never had a problem before

I suppose you already have ffmpeg installed and in the path variable?

yes ffmpeg is installed.
It has already worked
output:
web_1 | https://www.youtube.com/watch?v=LWZolIvzAPk
web_1 | [youtube] Extracting URL: https://www.youtube.com/watch?v=LWZolIvzAPk
web_1 | [youtube] LWZolIvzAPk: Downloading webpage
web_1 | [youtube] LWZolIvzAPk: Downloading android player API JSON
web_1 | [info] LWZolIvzAPk: Downloading 1 format(s): 251
web_1 | [download] Destination: downloads/LWZolIvzAPk.webm
[download] 100% of 3.34MiB in 00:00:00 at 47.65MiB/s
web_1 | [ExtractAudio] Destination: downloads/LWZolIvzAPk.mp3
web_1 | Deleting original file downloads/LWZolIvzAPk.webm (pass -k to keep)

i DockerFile is down code
FROM nikolaik/python-nodejs:python3.9-nodejs16
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
RUN apt-get update -y && apt-get upgrade -y
&& apt-get install -y --no-install-recommends ffmpeg
&& apt-get clean
&& rm -rf /var/lib/apt/lists/*
RUN mkdir /code
WORKDIR /code
ENTRYPOINT ["sh", "./docker_entrypoint.sh"]
RUN pip install --upgrade pip
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
and have requirements.txt in
yt-dlp
ffmpeg-python

Learn to follow instructions


Feat: replace zookeeper raw type with k8s-objects

Description of your changes

replace zookeeper raw type with k8s-objects

How has this code been tested

This should be committed to release-1.0 first then cherry-pick to main.


Precise frame positioning

Allow the frame's position to be adjusted through the config window.

Closing this in lieu of #106


Small fix for README

Noticed a small mistake in the README while reading through.

The build pipeline failed. Seems related to some changes in Ceres main branch. It's probably a good idea to pin the Ceres checkout to a specific version / commit hash to not run into these issues in the future.

Thanks for the fix! Ceres doesn't have a CI so the build can indeed fail from time to time - we should pin a commit.


Go router wrongly redirecting to initialLocation

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
I listen to auth provider and redirect to /login when user is not authenticated at the top level
however when user logins and from the login page i do context.go('/home') to home page, the top level redirect redirects user to initialLocation
Expected results
I expect the top level redirect to allow the user to go to where the login screen is pushing them to in this case '/home'
Actual results
the redirect function is being called and it indicates user is going to /home but instead it goes to /login
Code sample
Code sample
import 'dart:developer';

import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:provider/provider.dart';

class AuthProvider extends ChangeNotifier {
  bool _isAuth = false;

  bool get isAuth => _isAuth;

  void login() {
    _isAuth = true;
    notifyListeners();
  }

  void logout() {
    _isAuth = false;
    notifyListeners();
  }
}

void main() {
  runApp(
    MultiProvider(
      providers: [
        ChangeNotifierProvider(
          create: (_) => AuthProvider(),
        ),
      ],
      child: const MyApp(),
    ),
  );
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    AuthProvider auth = Provider.of<AuthProvider>(context, listen: true);
    return MaterialApp.router(
        routerConfig: GoRouter(
            redirect: (context, state) async {
              final authenticated = auth.isAuth;
              log('trying to go to ${state.matchedLocation}');
              log('router auth status $authenticated');
              if (!authenticated) return '/login';
              log('continuing to go to ${state.matchedLocation}');
              return null; //continue on their original route
            },
            refreshListenable: auth,
            initialLocation: '/login',
            routes: [
          GoRoute(
            path: '/login',
            builder: (context, state) => const LoginPage(title: 'Login'),
          ),
          GoRoute(
            path: '/home',
            builder: (context, state) => const Home(),
          ),
        ]));
  }
}

class Home extends StatelessWidget {
  const Home({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: const Text('Home'),
      ),
      body: const Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              'You are on the home page',
            ),
          ],
        ),
      ),
    );
  }
}

class LoginPage extends StatefulWidget {
  const LoginPage({super.key, required this.title});

  final String title;

  @override
  State<LoginPage> createState() => _LoginPageState();
}

class _LoginPageState extends State<LoginPage> {
  void redirect() {
    Provider.of<AuthProvider>(context, listen: false).login();
    context.go('/home');
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              'go to home page',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: redirect,
        tooltip: 'go to home page',
        child: const Icon(Icons.directions),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
[log] trying to go to /login
[log] router auth status false
[log] trying to go to /login
[log] router auth status true
[log] continuing to go to /login
[log] trying to go to /home
[log] router auth status true
[log] continuing to go to /home
[log] trying to go to /login
[log] router auth status true
[log] continuing to go to /login

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.6, on macOS 13.5 22G74 darwin-arm64, locale en-SG)
    • Flutter version 3.10.6 on channel stable at /Users/zachary.chua/fvm/versions/3.10.6
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (6 weeks ago), 2023-07-12 15:19:05 -0700
    • Engine revision cdbeda788a
    • Dart version 3.0.6
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/zachary.chua/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.81.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.70.0

[✓] VS Code (version 1.67.1)
    • VS Code at /Users/zachary.chua/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.70.0

[✓] Connected device (3 available)
    • Pixel 6a (mobile) • 24201JEGR01964 • android-arm64  • Android 13 (API 33)
    • macOS (desktop)   • macos          • darwin-arm64   • macOS 13.5 22G74 darwin-arm64
    • Chrome (web)      • chrome         • web-javascript • Google Chrome 116.0.5845.96

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Hi @zachary-grabtaxi. Thanks for filing this. I see there are some 3rd party packages in the code sample attached, can you please provide a minimal complete reproducible code sample that doesn’t include 3rd party plugins or complex production code?

hi as i understand go router is under flutter now
also i would say provider is a very common package no?

Hi @zachary-grabtaxi. Thanks for responding. Provider is a third-party package, we'd need to test this without it to verify the reproducibility of the issue.


requeue object key

After 15 times handle  error, operator-sdk will forget object key,
// handleErr checks if an error happened and makes sure we will retry later.
func (i *informer) handleErr(err error, key interface{}) {
	if err == nil {
		// Forget about the #AddRateLimited history of the key on every successful synchronization.
		// This ensures that future processing of updates for this key is not delayed because of
		// an outdated error history.
		i.queue.Forget(key)
		return
	}

	// This controller retries maxRetries times if something goes wrong. After that, it stops trying.
	if i.queue.NumRequeues(key) < maxRetries {
		logrus.Errorf("error syncing key (%v): %v", key, err)

		// Re-enqueue the key rate limited. Based on the rate limiter on the
		// queue and the re-enqueue history, the key will be processed later again.
		i.queue.AddRateLimited(key)
		return
	}

	i.queue.Forget(key)
	// Report that, even after several retries, we could not successfully process this key
	logrus.Warnf("Dropping key (%v) out of the queue: %v", key, err)
}

when i handle delete object, how can i requeue object key?  for example, i create memcache resource, deploy tree pod, when i delete memcache resource, i want to delete pod first, then delete memcache resource .

for this you would set the deletion and gc process and use finalizers on your pods:
https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/
https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods

thanks for reply soon, and i have another question, when i resize memcache resource, scale pod from 3 to 5, the kubernetes cluster have insufficient resources, after 15 times to try update memcache, will operator-sdk requeue memcache object key? or forget object key? resize failed?

@dragon9783 Sorry for the late response.
Configuring the number of requeues is not possible at the moment. And the SDK will only requeue the object key upon an error.
And as you pointed out right now it's hard coded to forget the key after 15 failed reconciles.
We can introduce a temporary fix for configuring the number of retries via the watch options.
But since we're close to finishing the controller-runtime refactor #382  we should be able to support explicit requeuing and not have the object key forgotten after 15 retries.
https://github.com/kubernetes-sigs/controller-runtime/blob/master/pkg/reconcile/reconcile.go#L80-L83

@dragon9783 now that we're done refactoring to use controller-runtime's Reconciler interface, object keys will not be forgotten and can be configured to be requeued. Use our migration docs to update your project structure if you haven't done so already to SDK v0.1.0+, which has these changes.


Errors in Return value of models JSON example

There are multiple Json errors in the example given in https://github.com/ai-cfia/nachet-backend/blob/main/docs/nachet-model-documentation.md
Can we also edit the "labelOccurence" value so it showcase in a better way our data

Can we also edit the "labelOccurence" value so it showcase in a better way our data

@Francois-Werbrouck
Do you mean that you would like labelOccurrence to also look at topN when compiling the occurrence of a seed label?


Add a license file

This repo is missing a license. Without a license, all code is copyright the author and may not be used by anyone else.
Please use something like http://choosealicense.com/ to decide what license to use. I recommend MIT or GPL.

A novel effort by Add a License Please

Thanks, license added. I for one am glad someone is vigilanting this issue, and thought @sebmck's reaction was a bit excessive.

Thanks!


Fix connection between db and app Docker containers

Cancelling.  Didn't notice the docker option in the envs


Expand using first year for grdfile and areafile

This addresses the issue discussed in #99 by which in some cases ECMean4 does not run because still incomplete files are used as area or grid files.
Close #99

I absolutely lost it. Merging


Refactor Projection.Module.genericInstantiationsByDefinition to cover nongeneric types

Nongeneric types are instantiated with an empty array of generic arguments, so this should make the code more uniform.
This could be achieved using a Module.TypeEntry nested type that has a definition a set of instantiations.

Implemented indirectly via Module.getTypeInstantiations in https://github.com/tristanlabelle/swift-winrt/pull/348 .


🐛 AVFoundationError -11819

What's happening?
When taking a photo randomly I get this error thrown.

Reproduceable Code
const takePhotoResult = await cameraRef.current.takePhoto({
          flash: 'off',
          enableAutoRedEyeReduction: false,
          enableAutoDistortionCorrection: false,
});

 <ReanimatedCamera
                ref={cameraRef}
                style={styles.fill}
                device={device}
                format={format}
                fps={FRAMES_PER_SEC}
                videoHdr={format?.supportsVideoHdr}
                photoHdr={format?.supportsPhotoHdr}
                // lowLightBoost={device.supportsLowLightBoost && isNightMode}
                isActive={isActive}
                onInitialized={onInitialized}
                onError={onError}
                enableZoomGesture={false}
                animatedProps={cameraAnimatedProps}
                photo
                video={mediaType === MediaType.video}
                audio={hasMicrophonePermission && mediaType === MediaType.video}
                enableLocation
                photoQualityBalance="speed"
              />

Relevant log output
[capture/unknown: Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSUnderlyingError=0x302afbf30 {Error Domain=NSOSStatusErrorDomain Code=-16802 "(null)"}, NSLocalizedFailureReason=An unknown error occurred (-16802), AVErrorRecordingFailureDomainKey=4, NSLocalizedDescription=The operation could not be completed}]

If I try to print the error description I get this nonsense:
description of error:
error: type for self cannot be reconstructed: type for typename "$s12VisionCamera7PromiseCD" was not found
error: Couldn't realize Swift AST type of self. Hint: using `v` to directly inspect variables and fields may still work.

Camera Device
{
  "position": "back",
  "maxZoom": 123.75,
  "hasTorch": true,
  "formats": [],
  "supportsLowLightBoost": false,
  "maxExposure": 8,
  "sensorOrientation": "portrait",
  "isMultiCam": true,
  "minZoom": 1,
  "minFocusDistance": 2,
  "id": "com.apple.avfoundation.avcapturedevice.built-in_video:7",
  "hasFlash": true,
  "name": "Back Triple Camera",
  "minExposure": -8,
  "hardwareLevel": "full",
  "supportsFocus": true,
  "supportsRawCapture": false,
  "neutralZoom": 2,
  "physicalDevices": [
    "ultra-wide-angle-camera",
    "wide-angle-camera",
    "telephoto-camera"
  ]
}

Device
iPhone 16 - ios 18.1
VisionCamera Version
4.5.3
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠ your issue might get ignored & closed if you don't try this)
Additional information

[ ] I am using Expo
[ ] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

Hey! I have the same issue in Sentry (400+ times, 150+ users), cannot reproduce in dev though. I'm using code scanner
const device = useCameraDevice('back', {
  physicalDevices: [
    'ultra-wide-angle-camera',
    'telephoto-camera',
    'wide-angle-camera',
  ],
});

const format =
  device &&
  getCameraFormat(device, [
    {fps: 20},
    {videoAspectRatio: screenAspectRatio},
    {videoResolution: 'max'},
    {photoAspectRatio: screenAspectRatio},
    {photoResolution: 'max'},
    {autoFocusSystem: 'contrast-detection'},
  ]);

<GestureDetector gesture={tap}>
      <Camera
        format={format}
        zoom={device.neutralZoom}
        device={device}
        ref={cameraRef}
        isActive={isActive}
        onError={onError}
        codeScanner={codeScanner}
      />
</GestureDetector>

{
  "id": "com.apple.avfoundation.avcapturedevice.built-in_video:7",
  "maxZoom": 123.75,
  "sensorOrientation": "portrait",
  "minFocusDistance": 2,
  "position": "back",
  "formats": [],
  "supportsFocus": true,
  "supportsRawCapture": false,
  "neutralZoom": 2,
  "physicalDevices": [
    "ultra-wide-angle-camera",
    "wide-angle-camera",
    "telephoto-camera"
  ],
  "hardwareLevel": "full",
  "isMultiCam": true,
  "hasTorch": true,
  "supportsLowLightBoost": false,
  "maxExposure": 8,
  "name": "Rear triple camera",
  "hasFlash": true,
  "minExposure": -8,
  "minZoom": 1
}

@tgreco Did you manage to find a solution?

No solution as of yet unfortunately


No binding to pathways [cycle, pedestrian, etc]

Example: http://openstreetview.com/details/9577/251 is a bike path and is a segment in OSM, but the openstreetview site it will only stop at the roadway:
http://openstreetview.com/map/@45.489084177296014,-75.51935166120528,18z

Similar to #38?

True it seems the same


Rewrite to cl-sdl2

Lisbpuilder-sdl is cool, but it doesn't use sdl2 yet: https://github.com/lispbuilder/lispbuilder/issues/18
And sdl2 is already quite mature and cool and all.

Closed by 6c46a3.


doc(rules): document enabled-only rule definitions

Signed-off-by: Jason Dellaluce<EMAIL_ADDRESS>
What type of PR is this?
/kind content
Any specific area of the project related to this PR?
/area documentation
What this PR does / why we need it:
This updates the rule docs to follow up the changes introduced in https://github.com/falcosecurity/falco/pull/1775.
Which issue(s) this PR fixes:
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jasondellaluce
To complete the pull request process, please assign radhikapc after the PR has been reviewed.
You can assign the PR to them by writing /assign @radhikapc in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 0505f7d740c8f3cdedff6f28e9afadadcd570d53

/unhold


Undo #51969, generate_mipmaps runs on caller thread.

This was added following https://github.com/godotengine/godot/issues/51966
However as said in comments following https://github.com/godotengine/godot/issues/51966#issuecomment-905915253, the issue is elsewhere. Image.generate_mipmaps isnt subject to any exotic threading behavior. It just runs on CPU in the thread that called it, and only updates data that resides in RAM. It isn't forced to run on the main thread, and there is no reason for it.
https://github.com/godotengine/godot/blob/0056acf46fc88757cae9d9f6fe9805f0eec1cd09/core/io/image.cpp#L1723
Bugsquad edit: This reverts https://github.com/godotengine/godot/pull/51969.

Thanks!


Tooltip position wrong when zoom parent element !

Hi guys, first, thanks for the great library.
My issue ->  I use bootstrap tooltip in 1 tag div. And when I zoom the div, all positions tooltips were wrong! I see position right when zoom = 1.
Thanks! and I sorry bc my bad English

Bug reports must include a live demo of the issue. Per our contributing guidelines, please create a reduced test case via CodePen or JS Bin and report back with your link, Bootstrap version, and specific browser and Operating System details.
This is an automated reply


Retry on SSL handshake errors

A customer was struggling with occasional SSL handshake errors. It seems that they are using SSL inspection software (ZScalar in this case), that can cause occasional failures in the SSL handshake with GitHub.
I think we should be safe to retry in these cases as the API call should have never made it to the GitHub backend if it failed during SSH handshake.

With issue #587 we added retry on any error for HTTP GET's. For this issue we could go a step further and try to retry POST/PATCH/PUT/DELETE if we determine it's an SSL handshake error. But that sounds pretty risky. I'm going to close this and hope that the retry on all error's for GET's is enough of an improvement.


Include tests for image_type

Put in a test for the function 'viz.show_multiple_images' to ensure that the 'image_type' parameter has sane output

Coverage decreased (-0.03%) to 50.195% when pulling aabfd532ab00991bbfe93cc91c3a115cb1949913 on JohnnyTeutonic:imshow into 7c80b30957bc7309a7c7bca5cfedf6f0f6b13b5d on janelia-flyem:master.

@JohnnyTeutonic now you should add a test case that raises this error. =)

weird build fail?
Owing to:
install_requires=INST_DEPENDENCIES,
scripts=["bin/gala-segment", "bin/gala-segmentation-stitch",
"bin/gala-segmentation-pipeline",
"bin/gala-train", "bin/gala-test-package",
"bin/gala-pixel", "bin/comparestacks",
"bin/gala-valprob", "bin/gala-auto", "bin/gala-serve"],
in 'setup.py'.
very confused, as that environment variable is present in all your setup.py scripts

Yes I've actually spent all of today fixing this in various packages, that's why I was even looking at the gala repo. =) setuptools v38 introduced a breaking change that install requirements could only be ordered containers (lists, tuples) and not unordered ones (sets) so that the order of package installation would be fixed. If you rebase on master you should see the error disappear.

 I'll try and see if I can figure
out how to rebase.
What do you mean? I input the 'colour' parameter and that raised the
LookupError?
On 12 Feb 2018 6:07 pm, "Juan Nunez-Iglesias"<EMAIL_ADDRESS>wrote:

Yes I've actually spent all of today fixing this in various packages,
that's why I was even looking at the gala repo. =) setuptools v38
introduced a breaking change that install requirements could only be
ordered containers (lists, tuples) and not unordered ones (sets) so that
the order of package installation would be fixed. If you rebase on master
you should see the error disappear.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/janelia-flyem/gala/pull/93#issuecomment-364842377,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOIZLS145ORcYDlJ-siulSsQMGorV_m-ks5tT-NDgaJpZM4OHY0R
.

Ah I should rename my test function! That's why you think i haven't tested
it.
On 12 Feb 2018 6:25 pm, "Jonathan Reich"<EMAIL_ADDRESS>wrote:

Ah that makes a hell of a lot of sense. I'll try and see if I can figure
out how to rebase.
What do you mean? I input the 'colour' parameter and that raised the
LookupError?
On 12 Feb 2018 6:07 pm, "Juan Nunez-Iglesias"<EMAIL_ADDRESS>wrote:

Yes I've actually spent all of today fixing this in various packages,
that's why I was even looking at the gala repo. =) setuptools v38
introduced a breaking change that install requirements could only be
ordered containers (lists, tuples) and not unordered ones (sets) so that
the order of package installation would be fixed. If you rebase on master
you should see the error disappear.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/janelia-flyem/gala/pull/93#issuecomment-364842377,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOIZLS145ORcYDlJ-siulSsQMGorV_m-ks5tT-NDgaJpZM4OHY0R
.


Object reference not set to an instance of an object

Tried to change a bag icon and got following error:

Hi!
Are you using a modded titanquest ?

Hi! Are you using a modded titanquest ?

Hey!
Nope, pure steam version

@hguy so today I bought all DLCs and after installing them I no longer have this issue. Perhaps, script tries to look for DLCs icons but can't find them and fails?

I see, good insight! Thanks