Document which packages MUST NOT be installed from upstream in a distribution

Provided we run on a Pine64 a Longsleep packaged Linux distribution, some packages in Apt may get updated and affect which [kernel, initrd, ...] to install and break boot image.
It would be nice to get a pointer in the release notes either in the image download repository or the Pine64 forum thread about Ubuntu Xenial Image (BSP Kernel).
Maybe it's hidden somewhere in the forum, we could move this somewhere more authoritative, say maybe in a GitHub wiki in this project.
Problem
When we image a new SD card and make it up to date, we may get a package that should not be upgraded. After some time using image, when rebooting, the image becomes unusable.
Assumption is that maybe a package such as a kernel image, and an initrd hook superseeds kernel.
Reproduce

Image SD Card (see Makefile, image in question is xenial-pine64-bspkernel-20161218-1.img.xz)
Boot on an Pine64
Run pine64.sh (see pine64.sh)
Install a few packages, upgrade packages, reboot, iterate
Do not boot anymore (and/or IPv4 don't respond, video on HDMI port sends no signal)

I can't tell much right now. I don't have a Serial Port cable in hand to see what's happening.
Needs

Confirmation on what to look for
Hints on how to adapt our own image somewhere (wiki?)

Possible solution path

List packages, per distribution, we hold (i.e. echo "linux-image hold" | dpkg --set-selections)

Related

(...) you can install and upgrade everything what is in the Ubuntu ports repository for arm64.
I do not provide packaging for Kernel, initrd and boot — so those cannot be upgraded through packaging.

Source
Talk on IRC
I'm renoirb both on Freenode and irc.pine64.xyz

I am not exactly sure what you are looking for. There should be no packages which render the Pine unbootable on upgrade or dist-upgrade. Of course like with any additional package it might do things which could affect the system.
So the steps you provide above can you explain exactly what extra packages get installed which have an effect on initrd or kernel (assuming you do not install any base ubuntu repo kernel package).

I think it's one package that adds modules to the kernel. Or triggers post scripts and rebuilds initrd.
Next time I'll keep a log of the packages and review which one may trigger what's breaking.
Problem is that I only know it broke when I reboot and it doesn't respond anymore.
I'll come back here as soon as I made another few rounds of testing.

Even if a post-script would trigger a initrd rebuild it would not effect the initrd which is used for booting. I think its quite unlikely that a package is responsible.
It is much more likely that the issue is related to file system corruption resulting from under voltage or bad sd card.
If you can, please verify the boot of such a broken system with a UART serial console.

Context: I'm obviously not a hardware person, rather a Linux automation geek
Maybe it's an hardware issue. But I may rule out power/voltage hardware as it's the same for all 5 nodes. It is a 4 port PDU (see quote below) and problem occurs on any of the 5 pines I have, until the "mysterious package of death" gets installed.

"Power input 9-40V and output 5V up to 24W max."
(source)

Next steps for me:

Document heavily each package modification and keep log before rebooting
Get an UART serial console and dig there too

I'll keep it posted here.

Ok cool, thanks for digging. If you can really find a package which renders my image unbootable after installation i am happy to provide a fix / workaround.

PS: I'm fiddling around installing Docker. There MUST be something about asking Canonical upstream packages there.
I'll keep you posted

PS: I'm fiddling around installing Docker. There MUST be something about asking Canonical upstream packages there.

Whats wrong with http://packages.ubuntu.com/xenial-updates/docker.io ?

I also wasn't able to boot Pine64 running under xenial-pine64-bspkernel-20161218-1 image after executing sudo apt-get update && sudo apt-get upgrade and rebooting. Partition was resized uboot and kernel were updated via scripts provided in /usr/local/sbin successfully.

I've been experimenting for a while now. Not as much as I'd like, but and I realized something I haven't thought:   Pine64 hardware is flaky.
Even a good image, after installing packages, and reboot, may make a node NOT to reboot.
It's somehow annoying and not @longsleep’s work fault.
Things to do when you experience problems:

Run ALL your MicroSD cards against f3write/f3read.
If you trust your MicroSD

Remove power, power up that node and cross fingers.

If it doesn't work. Re-image.
I'm sure there's something. But during my process I haven't found anomalies. yet.
My process at the moment:

image
boot
upgrade software
install packages
cat a few commands to /var/log
archive /var/log
transfer elsewhere
reboot
cross fingers

That is all.

@renoirb, it's sad to hear that, I've run f3 tests twice, SD card is perfect. And I agree, for the first time it's failed to boot after package updates as I mentioned earlier. But at second time it's failed to boot after a kernel update.
I've also tried Debian image, but it's didn't boot at all(at least no video output).
I'll continue testing in few hours and will let you know if I find anything!

Most likely under voltage issue, so probably duplicate of #51, also see #16

I was able to reproduce a boot-up panic with a specific USB device connected. PR https://github.com/longsleep/linux-pine64/pull/56 seems to fix that. If you can please try if that change also fixes your particular issue.

I am closing this as the initial issue is a non-issue. Crash on bootup discussion continues at #51


Fixed the mod and made Lethal settings optinal

Do note im assuming you had some global usings that i couldnt see/use so i just added the using manualy do as you must to fix it

btw you should test the manifest file for the optional dependency to work
which seems it only works for risk of rain 2 for some reason i guess huh

Closing because the issue has been identified as a defect in Lethal Company Input Utils and a workaround has been implemented in version 0.0.4


bug: Notebook should scroll when the dynamic output goes beyond the bottom of the screen

More information can be provided if needed

Duplicate of #61


Can not add primary key

GORM Playground Link

https://github.com/go-gorm/playground/pull/1
Description

My previous struct is :
type Rule struct {
	PType string `gorm:"size:40;uniqueIndex:unique_index"`
	V0    string `gorm:"size:40;uniqueIndex:unique_index"`
	V1    string `gorm:"size:40;uniqueIndex:unique_index"`
}

Now, I add primary key for this table like this:
type Rule struct {
	ID    uint
	PType string `gorm:"size:40;uniqueIndex:unique_index"`
	V0    string `gorm:"size:40;uniqueIndex:unique_index"`
	V1    string `gorm:"size:40;uniqueIndex:unique_index"`
}

I get a error
Error 1075: Incorrect table definition; there can be only one auto column and it must be defined as a key

But my table doesn't have auto column

Maybe it was error of Mysql?

@00LT00 You can try adding the primaryKey tag:
type Rule struct {
	ID    uint   `gorm:"primaryKey;autoIncrement"`
	PType string `gorm:"size:40;uniqueIndex:unique_index"`
	V0    string `gorm:"size:40;uniqueIndex:unique_index"`
	V1    string `gorm:"size:40;uniqueIndex:unique_index"`
}

You can check the tags at https://gorm.io/docs/models.html#Fields-Tags

@luisgomez29  It's the same error. I know tags. But the ID unit is set as the primary key by default. So I think this is not reason for tags.


Tracker not tracking after changing MTGA Pro account, but not MTGA account

Describe the bug
A clear and concise description of what the bug is.
I made two accounts for MTGA Pro. After changing account, the tracker isn't tracking. I use the same MTGA account for both trackers.
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

You can't have two different account for one in-game account. You can use only one token. Make full reset and install single token for single mtga account


[Task] Port the transformer blocks from Transformers4Rec (PyTorch) to Merlin Models (Tensorflow)

Problem:
The stable API in Transformers4Rec is based on PyTorch and includes all components used to run session-based research experiments reported in T4Rec paper. On the other hand the Merlin Models does not support a stable PyTorch API yet.
Goal:

The goal of this work is to port all t4rec blocks needed for defining transformer-based recommendation models (PyTorch implementation) into Merlin Models (Tensorflow implementation).

This work is not about improving t4rec current API or adding new blocks other than the existing ones

Constraints:

The Pytorch T4Rec API is inheriting from HuggingFace trainer class for supporting optimized techniques such as fp16, multi-gpu, early-stopping… We need to provide clear guidance of how to set up these techniques using the  Keras fit method.

Current T4Rec implementation is using the schema class from old merlin_standardlib, the migration to use merlin-core should happen before porting to Merlin Models to makes sure all blocks are correctly working with the new Schema class.

Starting Point:

[x] Implement MaskingBlock : Causal LM, Masked LM, Permutation LM, and Replacement Token Detection

[x] Port the Transformer-block class related to HugginFace architectures adapted for next item prediction  (Link to HF layers)

[x] Implementation of Transformer block  based in the configs defined in HuggingFace - transformers-based library.
Note: This is an example of how Transformer-based architectures are implemented in HF (as keras layers).

[ ] Support setting the masking task within model.compile()

[ ] NVIDIA-Merlin/models#791

@sararb , could you please help to define this ticket.

This issue is fixed in #771 and #780

I moved the task of creating the example to a separate ticket NVIDIA-Merlin/models#791 (expected in 22.11)


[FLINK-17774] [table] supports all kinds of changes for select result

What is the purpose of the change
FLINK-17252 has supported select query, however only append change is supported. because FLINK-16998 is not finished. This pr aims to support all kinds of changes based on FLINK-16998.
Brief change log

Introduce SelectSinkOperation for select sink operation
Introduce SelectResultProvider to share the select result info between planner and table environment
remove Planner#createSelectTableSink method
remove BatchSelectTableSink and StreamSelectTableSink, and implements BatchSelectTableSinkFactory and StreamSelectTableSinkFactory in blink planner
refactor BatchSelectTableSink and StreamSelectTableSink in legacy planner

Verifying this change
This change added tests and can be verified as follows:

Extended TableITCase and TableEnvironmentITCase to verify the result

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

Azure for latest commit already passed in https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=1861&view=results

@wuchong do you have any other concern ?

Build is passed, Merging...


[TC-MOD-2.3] ChangeToModeWithStatus command is not implemented.

Description:
In TC-MOD-2.3 Step -3  TH sends a ChangeToModeWithStatus command to the DUT with NewMode set to old_current_mode_dut Here ChangeToModeWithStatus command is still not implemented in Chip-tool.
Also tired with the command-by-id ./chip-tool modeselect command-by-id 1 1 1 1 still the command is not implemented .
Step to reproduce: ./chip-tool modeselect command-by-id 1 1 1 1

Test-plan: https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/modeselect.adoc

In Mode select ChangeToModeWithStatus has been removed in the spec
Spec reference : https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/app_clusters/ModeSelect.adoc#7-commands


Parse custom header containing mobile app version

My access.log contains logs in the following format
<IP_ADDRESS> - - [15/Nov/2022:07:57:31 +0100] "OPTIONS /myurl/lvl1/svc?aa=2022&l=EN HTTP/1.1" 200 150 "https://localhost/" "Mozilla/5.0 (Linux; Android 12; SM-A225F Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/107.0.5304.105 Mobile Safari/537.36 ZKL-v6.4.1-25"
This is identical to the COMBINED log format but at the end it contains the app version ZKL-v6.4.1-25.
I want to generate the reporting containing also this information.
Is this possible?
I tried different log formats without success, I don't paste them here because they generate errors on invalid formats

You'd need some pre-processing, please try this and let me know how it goes:
awk 'NF>1{print $0" " substr($NF, 1, length($NF)-1)}' log | goaccess - --log-format='%h %^[%d:%t %^] "%r" %s %b "%R" "%u" %v' --date-format=%d/%b/%Y --time-format=%T

You'd need some pre-processing, please try this and let me know how it goes:
awk 'NF>1{print $0" " substr($NF, 1, length($NF)-1)}' access.log | goaccess - --log-format='%h %^[%d:%t %^] "%r" %s %b "%R" "%u" %v' --date-format=%d/%b/%Y --time-format=%T

Simply awesome!!!
Below the results from the last production log, thank you very much!!!

Glad that worked. With a minor tweak, you could filter out those that do not start with "ZKLv".
Anyways closing this, feel free to reopen it if needed. #117 would probably help with this. Stay tuned!


SQL Injection Prevention

It is necessary to implement prevention against SQL Injection, because today this is a security failure in the writing of queries.

To create this, don't would be better to use parameters like supported by dapper to do that?
And the prevention will be native.
Example: "select * from  table where id = @id"

@reinaldocoelho the issue is done in PR #27. You can check and talk about the implementation!

Thank you @AlbertoMonteiro.


How to add engine tests on iOS platform.

I add some tests in  FlutterViewControllerTest , but didn't work. Here are the steps:

add some tests in FlutterViewControllerTest .

ninja -C out/hot_debug_unopt && ninja -C out/ios_debug_sim_unopt  or autoninja -C out/hot_debug_unopt && autoninja -C out/ios_debug_sim_unopt

python flutter/testing/run_tests.py --type=objc, the results do not include the new test case.

It's seems that FlutterViewControllerTest  even didn't recompile. so, how to add a new tests in the test file on iOS platform? Thanks.

@wangying3426
I guess you could replace
ninja -C out/hot_debug_unopt && ninja -C out/ios_debug_sim_unopt

to
ninja -C out/hot_debug_unopt && ninja -C out/ios_debug_sim_unopt && ninja -C out/ios_debug_sim_unopt ios_test_flutter

@ColdPaleLight Good, it's works.


'charmap' codec can't decode byte

Hello, im trying to download a bulk of  images, but it says the error on the photo. I suppose there is a (invisible?) unsupported character, but can't figure out what it could be. Here us my imags-clipboard.txt file for reference.

--Maintainer edit--
Removed attached text file for privacy.
Relevant entry that caused issues:
This video is sponsored by RAID: Shadow Legends™. RAID: Shadow Legends™ is an immersive online experience with everything you'd expect from a brand new RPG title. It's got an amazing storyline, awesome 3D graphics, giant boss fights, PVP battles, and hundreds of never before seen champions to collect and customize. I never expected to get this level of performance out of a mobile game. Look how crazy the level of detail is on these champions! RAID: Shadow Legends™ is getti
https://www.bing.com/images/create/this-video-is-sponsored-by-raid3a-shadow-legendse284a2efb88f/652b50e62eb54f4a9fe8327198e0a4b0?id=xSg3HDevYqJYsIFwidigXg%3d%3d&view=detailv2&idpp=genimg
www.bing.com

Hey @Gabriele007xx,
it's probably because of the trademark symbol "™". I thought it would just use UTF-8 by default. I'll test this case and create a PR with a fix for it.

@Gabriele007xx I've create a fix. You can pull it and try it out now.

Ok so i have tried it, and it succeeds to download all of the images from the first to the last. I get trouble when it zips the images. In the end i get a 22 byte zip file with no files in it. I installed the new module needed with this release.


PushNotificationIOS.requestPermissions never resolves in RN 0.56.0

[ √ ] Review the documentation: https://facebook.github.io/react-native
[ √ ] Search for existing issues: https://github.com/facebook/react-native/issues
[ √ ] Use the latest React Native release: https://github.com/facebook/react-native/releases

(Related issue marked as fixed but problem still exists: https://github.com/facebook/react-native/issues/9105)
Environment
    System:
      OS: macOS High Sierra 10.13.5
      CPU: x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
      Memory: 29.44 MB / 16.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 10.5.0 - /usr/local/bin/node
      Yarn: 1.7.0 - /usr/local/bin/yarn
      npm: 6.1.0 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
    IDEs:
      Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.4.1 => 16.4.1
      react-native: 0.56.0 => 0.56.0
    npmGlobalPackages:
      react-native-cli: 2.0.1

Description
As per the React Native documentation, PushNotificationIOS.requestPermissions method should return a promise to wait for user input, but nothing is ever returned. I've also tried adding an event listener in componentWillMount like PushNotificationIOS.addEventListener('register', (token) => {}); which also does not resolve the requestPermissions promise.
Reproducible Demo
PushNotificationIOS.requestPermissions().then((permissions) => console.log(permissions));

iOS Apps can only ask once for permission with the system UI and you can't really know if that code will resolve. Some library such as react native permission store a value to remember if you already asked.

Whether the function asks for permission is immaterial. As @jongirard mentioned, from the docs: "This method returns a promise that will resolve when the user accepts, rejects, or if the permissions were previously rejected. The promise resolves to the current state of the permission."
It should always resolve or reject.
This is still happening in 0.57.0

This issue has been moved to react-native-community/react-native-push-notification-ios#7.


Add pragma warning disable 1591 for generated migrations for XMLDOC c…

Summary of the changes
- Updated migration sharp code generator to disable/restore pragma warning 1591 for projects              that is compiled with XMLDOC and WarningAsError flags not to trigger compilation errors by migrations
- Updated corresponding tests and stuff
Fixes #13955

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: VladNest sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Tests failed because of
System.AggregateException : One or more errors occurred. (An error occurred while updating the entries. See the inner exception for details.) (The following constructor parameters did not have matching fixture data: GraphUpdatesWithSequenceSqlServerFixture fixture)\r\n---- Microsoft.EntityFrameworkCore.DbUpdateException : An error occurred while updating the entries. See the inner exception for details.\r\n-------- Microsoft.Data.SqlClient.SqlException : Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.\r\nThe statement has been terminated.\r\n------------ System.ComponentModel.Win32Exception : The wait operation timed out.
So, test DB basically timed out

https://github.com/aspnet/EntityFrameworkCore/issues/13955 Issue did not link in PR description

This isn't sufficient. Those pragmas are inside methods and won't actually suppress anything

but also I updated CSharpMigrationsGenerator, all generated migrations would be wrapped with 1591 supression , isn't that enough?

This isn't sufficient. Those pragmas are inside methods and won't actually suppress anything

got it, I'll finish this a bit later


gpio_control: 1.0.0-1 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository gpio_control to 1.0.0-1:

upstream repository: https://github.com/cst0/gpio_control.git
release repository: https://github.com/cst0/gpio_control-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.10.7
previous version for package: null

Release for kinetic. I had been holding off on doing this until I had done things properly for Melodic (#29239)

We are approaching the very last sync for Kinetic.  I'm not sure if this is a good time to introduce new packages (though it clearly can't create regressions, since it was never released before).  I'm going to leave this one for @tfoote to look at when he's back next week.

Oh, I hadn't realized that. I had the kinetic package only because the Raspberry Pi images I found were running Kinetic, so this was more of a "hey why not" thing. Given both that and the Kinetic EOL I'm happy to leave this to tfoote's discretion.

I'll land this since it's a leaf, but if it doesn't work I'm not going to hold the sync. We have two regressions with potential fixes rebuilding and I'm planning to do the sync when they're stablized. With this being a backport it should have a better chance of success.


docs(fix): note "Bolt for JavaScript" as the framework with this typescript template

Type of change

[ ] New sample
[ ] New feature
[ ] Bug fix
[x] Documentation

Summary
This PR reverts a part of #114 to keep the framework name "Bolt for JavaScript" intact while still specifying that this template is TypeScript focused. I was excited about fixed extensions and didn't realize the significance of this title... Updating here to match the current repo description!
A few other formatting fixes were made with the kind help of marksman.
Requirements

[x] I’ve checked my submission against the Samples Checklist to ensure it complies with all standards
[x] I have ensured the changes I am contributing align with existing patterns and have tested and linted my code
[x] I've read and agree to the Code of Conduct

@filmaj incredible speed. Thank you!


What js code should be written in registerFieldType pointing file?

Custom types doc contains info about registering FieldView and example of custom FieldView javascript file contents.
Is there any example of code which I have to write in path/to/MyCustomDateField?
I suggest it should be something similar to ma...Field.js files located in ng-admin/src/javascripts/ng-admin/Crud/field/ but I'm not sure because I didn't manage to find nga.registerFieldType usages in ng-admin repository.

I tried to make it clear in 8b9d186. Hope this helps.

Thanks!


[Audio Output] refreshing available devices -> Not a request for input devices

Hi,
I have setup Rhasspy pretty OK I guess. The microphone is working, intents are being sent to HASS.
Issue
I am trying to test the speaker with Rhasspy and that doesn't work.
The weird thing is that the error message mentions "input devices" when I would be expecting "output devices".
Specs
Rhasspy
rhasspy_2.5.9_armhf.deb
Settings:
Audio Recording: pyaudio (Recommended)
Audio Playing: aplay (Recommended)
Devices

Raspberry Pi 4 Model B
ReSpeaker 2-Mics Pi HAT (see this gist on how I installed the driver)

Debug Info
aplay -l
pi@raspberrypi:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: b1 [bcm2835 HDMI 1], device 0: bcm2835 HDMI 1 [bcm2835 HDMI 1]
  Subdevices: 4/4
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
card 1: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
  Subdevices: 4/4
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
card 2: seeed2micvoicec [seeed-2mic-voicecard], device 0: bcm2835-i2s-wm8960-hifi wm8960-hifi-0 [bcm2835-i2s-wm8960-hifi wm8960-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Server-Log from Rhasppy:
Full log: rhasspy_no-snd.log
Speak "test" (on Home)
[DEBUG:2021-03-20 00:56:37,723] rhasspyserver_hermes: -> TtsSay(text='test', site_id='default', lang=None, id='b8a6c1bb-5d9f-4148-8e0f-16b86f775367', session_id='', volume=1.0)
[DEBUG:2021-03-20 00:56:37,724] rhasspyserver_hermes: Publishing 129 bytes(s) to hermes/tts/say
[DEBUG:2021-03-20 00:56:37,731] rhasspytts_cli_hermes: <- TtsSay(text='test', site_id='default', lang=None, id='b8a6c1bb-5d9f-4148-8e0f-16b86f775367', session_id='', volume=1.0)
[DEBUG:2021-03-20 00:56:37,753] rhasspytts_cli_hermes: ['nanotts', '-v', 'en-US', '-o', '/tmp/tmptqdmgfn5.wav']
Using Lingware directory: /usr/lib/rhasspy/lib/nanotts/pico/lang
read: 4 bytes from stdin
using lang: en-US
wrote "/tmp/tmptqdmgfn5.wav" (20524 bytes)
[DEBUG:2021-03-20 00:56:37,989] rhasspytts_cli_hermes: Got 20524 byte(s) of WAV data
[DEBUG:2021-03-20 00:56:37,998] rhasspytts_cli_hermes: -> AudioPlayBytes(20524 byte(s)) to hermes/audioServer/default/playBytes/b8a6c1bb-5d9f-4148-8e0f-16b86f775367
[DEBUG:2021-03-20 00:56:38,023] rhasspytts_cli_hermes: Waiting for play finished (timeout=0.89)
[DEBUG:2021-03-20 00:56:38,029] rhasspyserver_hermes: Handling AudioPlayBytes (topic=hermes/audioServer/default/playBytes/b8a6c1bb-5d9f-4148-8e0f-16b86f775367, id=7715dfed-97a8-4b38-9265-c3d11f1fce5c)
[WARNING:2021-03-20 00:56:38,920] rhasspytts_cli_hermes: Did not receive playFinished before timeout
[DEBUG:2021-03-20 00:56:38,939] rhasspytts_cli_hermes: -> TtsSayFinished(site_id='default', id='b8a6c1bb-5d9f-4148-8e0f-16b86f775367', session_id='')
[DEBUG:2021-03-20 00:56:38,940] rhasspytts_cli_hermes: Publishing 84 bytes(s) to hermes/tts/sayFinished
[DEBUG:2021-03-20 00:56:38,963] rhasspyserver_hermes: Handling TtsSayFinished (topic=hermes/tts/sayFinished, id=7715dfed-97a8-4b38-9265-c3d11f1fce5c)
[DEBUG:2021-03-20 00:56:38,965] rhasspydialogue_hermes: <- TtsSayFinished(site_id='default', id='b8a6c1bb-5d9f-4148-8e0f-16b86f775367', session_id='')

Refresh available devices (in Audio Playing settings)
[DEBUG:2021-03-20 00:37:44,495] rhasspyserver_hermes: -> AudioGetDevices(modes=[<AudioDeviceMode.OUTPUT: 'output'>], site_id='default', id='04b34d50-d2d2-411d-b26c-093e159c5e3a', test=False)
[DEBUG:2021-03-20 00:37:44,496] rhasspyserver_hermes: Publishing 103 bytes(s) to rhasspy/audioServer/getDevices
[DEBUG:2021-03-20 00:37:44,503] rhasspymicrophone_pyaudio_hermes: <- AudioGetDevices(modes=[<AudioDeviceMode.OUTPUT: 'output'>], site_id='default', id='04b34d50-d2d2-411d-b26c-093e159c5e3a', test=False)
[DEBUG:2021-03-20 00:37:44,503] rhasspymicrophone_pyaudio_hermes: Not a request for input devices
[ERROR:2021-03-20 00:38:14,519] rhasspyserver_hermes:
Traceback (most recent call last):
  File "/usr/lib/rhasspy/usr/local/lib/python3.7/site-packages/quart/app.py", line 1821, in full_dispatch_request
    result = await self.dispatch_request(request_context)
  File "/usr/lib/rhasspy/usr/local/lib/python3.7/site-packages/quart/app.py", line 1869, in dispatch_request
    return await handler(**request_.view_args)
  File "/usr/lib/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/__main__.py", line 810, in api_speakers
    speakers = await core.get_speakers()
  File "/usr/lib/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/__init__.py", line 858, in get_speakers
    handle_finished(), messages, message_types
  File "/usr/lib/rhasspy/rhasspy-server-hermes/rhasspyserver_hermes/__init__.py", line 971, in publish_wait
    result_awaitable, timeout=timeout_seconds
  File "/usr/lib/rhasspy/usr/local/lib/python3.7/asyncio/tasks.py", line 449, in wait_for
    raise futures.TimeoutError()
concurrent.futures._base.TimeoutError

Note: someone else also ran into this issue: https://community.rhasspy.org/t/dont-understand-how-to-be-heard-by-rhasspy/1447/40

appearently rebooting again fixed it


gradient of eigh does not respect symmetrize_input

Description
The JVP rule for lax.linalg.eigh effectively hard-codes symmetrize_inputs=True, which leads to incorrect gradients when symmetrize_inputs=False. Here is a quick repro: first we construct a lower-triangular matrix and its explicitly symmetric counterpart, and confirm that they have the same eigenvalues:
import jax.numpy as jnp
import jax
import numpy as np
rng = np.random.RandomState(0)
N = 3

# Construct a lower-triangular matrix
x_L = np.tril(rng.randn(N, N) + 1j * rng.randn(N, N))

# Construct the Hermitian matrix represented by x_L
x_sym = x_L + x_L.conj().T
x_sym[np.diag_indices(N)] /= 2  # correct for doubling of diagonal

def eigvalsh_lower(x):
  return jax.lax.linalg.eigh(x, lower=True, symmetrize_input=False)[1]

print(eigvalsh_lower(x_L))
# [-1.7833483  0.7766917  4.5350485]
print(eigvalsh_lower(x_sym))
# [-1.7833483  0.7766917  4.5350485]

Now we take the gradient with respect to the first eigenvalue. This should be effectively the same computation, and so the gradients should match and be lower-triangular, but they are not:
def first_eigvalh_lower(x):
  return eigvalsh_lower(x)[0]

print(jax.grad(first_eigvalh_lower)(x_L))
# [[ 0.10143662+0.j         -0.07633214-0.09540727j -0.26702693+0.07010485j]
#  [-0.07633214+0.09540727j  0.14717706+0.j          0.13500279-0.30390963j]
#  [-0.26702693-0.07010485j  0.13500279+0.30390963j  0.75138617+0.j        ]]
print(jax.grad(first_eigvalh_lower)(x_sym))
# [[ 0.23979793+0.j         -0.21083055-0.16992857j -0.30570662+0.12455184j]
#  [-0.21083055+0.16992857j  0.30577928+0.j          0.1805161 -0.3261397j ]
#  [-0.30570662-0.12455184j  0.1805161 +0.3261397j   0.45442304+0.j        ]]

The issue comes from the fact that lax.eig_p does not have a symmetrize_input parameter, and the JVP rule symmetrizes the input unconditionally: https://github.com/google/jax/blob/188cf17d04bccd06801ada8202f4fa8e842a695d/jax/_src/lax/linalg.py#L714-L715
Related to #12696

It occurs to me that we should fix this before merging anything like https://github.com/google/jax/pull/12696, because that adds the symmetrize_input argument to eigvalsh and cholesky. Currently there's no way to get incorrect gradients for those because there's no way to set symmetrize_input=False.


Tree service reimplementation

In #46 most of the functionality was removed.
Along that semantics have changed on how the service should work.

Blocked by #44


Back button translation is not changing

Hi,
It's me again. I tried to change the "Back" translation in lib -> translations -> en.json to " " but the app still shows "Back". I'm using v1.7.1

https://github.com/shprink/wordpress-hybrid-client/blob/develop/lib/language/language.provider.coffee#L40
The back button is translated, if you are not seing it it might be because you need to rebuild the app. Can you try and let me know ?

lack of activity


fix: disable Content-Type auto-detection for Traefik 2, fixes #5346

The Issue

#5346

How This PR Solves The Issue
Disables autodetect for Content-Type in Traefik project yaml config.
Note that this fix needs to be reverted when Traefik 3 is out.
Manual Testing Instructions
From https://github.com/ddev/ddev/issues/5346#issuecomment-1860409926
I could reproduce it when just created a fresh TYPO3 Install (Apache Webserver) and then in the Backend (Install Tool) under "Environment" and "Environment Status" I get the messages mentioned in my first post. After the changes I mentioned there there are no more unexpected server responses listed.
Automated Testing Overview

Related Issue Link(s)
Release/Deployment Notes
This fix is not needed in the upcoming Traefik 3:

https://github.com/traefik/traefik/pull/9546

Does not impact docs. This looks like a really rare case.


Enhance HTTPRoute Status Conditions

What would you like to be added:
Improve HTTPRoute status conditions to better reflect instances where a route is accepted but differed from spec. For example, a user creates a route that has duplicate header matches. In this instance, the Accepted=true condition is surfaced since the ResolvedRefs condition type does not apply.
Why this is needed:
To provide better visibility into routes that were accepted but differ from spec.
cc: @youngnick

xref: https://github.com/envoyproxy/gateway/pull/495

I'm not quite sure I understand the ask here - this seems to imply encoding a way to express behavior that violates the spec within a specified status condition?
This feels like something that should be handled through conformance tests, setting an implementation-specific status condition, or suggesting changes to the Gateway API spec if it's misaligned with implementations in practice.


SKIP_RESOURCES_WAIT flag doesn't work

SKIP_RESOURCES_WAIT is always null. This is because process.env. is used to retrieve environment variable.
Cypress.env() can be used insted for this work. But due to the fact that Cypress ignores all environment variables that do not start with CYPRESS_ need to set CYPRESS_SKIP_RESOURCES_WAIT insted

@drptbl can you please review my PR?

@serzhshakur will do it today, thanks a lot and sorry for delay.

Hey @serzhshakur, it has been merged and released as<EMAIL_ADDRESS>Thanks for contribution!
All Best,
Jakub.

Hey Jakub,
thanks a lot!


Create README.md

UY - Uruguay

JSON schema version: 1.3.0

Used for productive DCCs issuance

From: 18.11.2021
Until:

Test files
Vaccination

Test

Recovery

Special cases and deviations
None

We need to upload our sample QRCodes.
Thanks

Hi,
What should I do so that this Readme appears inside the "UY / 1.3.0 /" folder?
Regards
Michell

Hi Michell,
it's important that the PNG files too are in the folder, not just the Readme (we are running check on the content of  the directory, not the references in the readme file)
I've added the files and pushed the change to your pull request.
Our checks have then discovered some issues:

I hope that the comments are helpful.
best regards
Christian

Hi, Christian
I understand that the "ma" field is mandatory for RAT type tests, not for NAAT type tests.
Regarding the "ci" field, it appears 2 times since we initially used claim 98 for internal use in the country. This we are leaving aside in the new version.
We are correcting the date of taking the sample in the next shipment of the QR codes.
Finally we are going to correct claim 1 by UY as you indicate.
I will update the pngs of the QRs shortly.
Regards
Michell

Hi, Christian
The QR codes were updated with the observations reported.
Regards

Hi, Christian
I'm not sure how to upload the png files separately, I don't think I have the proper permissions.
Can you help me with this issue?
Regards
Michell

@vanrellmichell
Hi Michell,
sorry for the late reply. If the data in claim 98 will exist in your production DCCs, please do not  remove them from the examples. They are an opportunity for other countries to test if they can scan your codes.
About adding the files: The pull request is created from a branch in your repository, so you can simply add the files to your repo and push them, then they will appear here. But I can also add them to it, if you like.
best regards
Christian

Hi Michell,
I've pushed the updated codes to your repo (see here https://github.com/vanrellmichell/dcc-quality-assurance/tree/patch-1)
There is only 1 error message left in the check script, complaining about the empty "ma" field.
Please use a value from this list:
https://github.com/ehn-dcc-development/ehn-dcc-schema/blob/release/1.3.0/valuesets/test-manf.json
If you have problems with pushing to your repo, I can do that for you.
All other checks were good.
BR
Christian

Hi, Christian,
But the attribute "ma" is not required for PCR-type COVID tests.

Technical Specifications for EU Digital COVID Certificates
JSON Schema Specification
Schema version: 1.3.0
2021-06-09
This is so or change?
Thanks

Hi Michell,
that's right. You can issue a DCC without a "ma" field. But if you have one, it must contain a value from the value set. If your country doesn't use it, please don't include the field at all instead of leaving it empty.
best regards
Christian

Hi Christian,
I am updating the QR code for the COVID Test, I hope it is correct this
time.
Regards
El jue, 2 dic 2021 a las 4:44, Christian Loch @.***>)
escribió:

Hi Michell,
that's right. You can issue a DCC without a "ma" field. But if you have
one, it must contain a value from the value set. If your country doesn't
use it, please don't include the field at all instead of leaving it empty.
best regards
Christian
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/eu-digital-green-certificates/dcc-quality-assurance/pull/189#issuecomment-984369116,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMDAMUP23K5GC5W7XQOSVOTUO4PT7ANCNFSM5IJONDNQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Android 1.2.4 🆗


Add animation tokens

Is your feature request related to a problem? Please describe.
As an engineer/designer, I would like to have animation tokens so that animations are consistent and I can choose animation options easily.
Describe the solution you'd like
A few animation token options.

Inspired by left hand navigation and anchor navigation work.


Broke integration after upgrade on HA Core 2023.1.2

Xiaomi Gateway 3 not loading
2023-01-13 12:11:36.080 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_gateway3 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
HAKS Xiaomi Gateway 3 v2.1.2

Проблема, интеграция перестала работать на HA 2023.1
2023-01-13 15:50:56.017 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration xiaomi_gateway3: Unable to import component: cannot import name 'Command' from 'zigpy.zcl.foundation' (/usr/local/lib/python3.10/site-packages/zigpy/zcl/foundation.py)

Update integration xiaomi_gateway3 to master or alfa version. It was fixed.
https://github.com/AlexxIT/XiaomiGateway3/issues/911


Align TextBuilder characters by their baselines during addition/removal

Previously characters were implicitly aligned using their YOffsets, and that works when only one font is used, but not when more than one font gets used inside one SpriteText/TextBuilder.
This PR aims to resolve the "multiple fonts" case by offsetting their DrawRectangles based on the difference between the Baseline of the new character and the previous characters.
I've worked on this initially so that font-mixed sprite texts with #3271 don't look badly misaligned (as I noticed after implementing #3271), but apparently, there are already alignment improvements osu!-side with this PR alone (although slightly unnoticable):

Before:

After:

(notice (TV Size) aligned correctly with the other glyphs)
I have added in-depth test coverage in TextBuilderTest which had the perfect setup for having so, with all possible scenarios I can think of.
Along with test coverage, I've also added a benchmark including the regular "no baseline adjustment" cases, and "one baseline adjustment every 10 characters" case, and the results seem reasonable.

Method
Mean
Error
StdDev

AddCharacters
19.99 us
0.280 us
0.323 us

AddCharactersWithDifferentBaselines
31.02 us
0.219 us
0.183 us

RemoveLastCharacter
24.90 us
0.493 us
0.506 us

RemoveLastCharacterWithDifferentBaselines
38.14 us
0.570 us
0.505 us

I can see this being further optimised by offseting new characters to negative X/Ys rather than offsetting all the other previous characters in the line, but that might be a bit complicated to deal with in the SpriteText_DrawNode (especially given that TextBuilder can have multiple lines), therefore I've went with the simplest way of for looping all characters in the line for now.

this is missing a breaking change clause for the updated method signature, will add.

Actually there's quite a few changes, just going to leave it. All mostly internal stuff so I don't think too many people will be hit by it.


chore(package): update jest to version 19.0.0

Closes #71

Codecov Report

Merging #73 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #73   +/-   ##
=======================================
  Coverage   91.89%   91.89%
=======================================
  Files           1        1
  Lines          37       37
  Branches        8        8
=======================================
  Hits           34       34
  Misses          3        3

Continue to review full report at Codecov.

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


Karpenter spot provisioning consolidation not working

Description
Observed Behavior:
We have a single spot provisioner in common, and we want the underutilized nodes to be consolidated into other nodes. However, this is not working

Expected Behavior:
If the existing Spot Instance is underutilized and has enough resources to be consolidated to another node, the Spot node should be removed and the pods in use should be moved to another node.
Actual Behavior:
Lightly used nodes are not consolidated over time.
I'm looking at the spot node events and not sure where the problem is.
$ kubectl describe nodes <spot-node-name>
Events:
  Type    Reason            Age                  From       Message
  ----    ------            ----                 ----       -------
  Normal  Unconsolidatable  31m (x6 over 127m)   karpenter  Can't remove without creating 2 candidates
  Normal  Unconsolidatable  14m (x6 over 3h25m)  karpenter  Can't replace a spot node with a spot node

Reproduction Steps (Please include YAML):
provisioner and deployment , pdb files
# provisioner.yaml(only use)
apiVersion: karpenter.sh/v1alpha5
kind: Provisioner
metadata:
  name: dev-eks-ddocdoc-spot-common
spec:
  consolidation:
    enabled: true
  labels:
    nodegroup-type: ddocdoc-spot
  limits:
    resources:
      cpu: "500"
      memory: 1000Gi
  providerRef:
    name: aws-node-template-spot-common
  requirements:
  - key: karpenter.sh/capacity-type
    operator: In
    values:
    - spot
  - key: kubernetes.io/os
    operator: In
    values:
    - linux
  - key: kubernetes.io/arch
    operator: In
    values:
    - amd64
  - key: topology.kubernetes.io/zone
    operator: In
    values:
    - ap-northeast-2a
    - ap-northeast-2c
  - key: karpenter.k8s.aws/instance-size
    operator: NotIn
    values:
    - nano
    - micro
    - small
    - medium
    - large
    - 9xlrage
    - 12xlarge
    - 18xlarge
    - 24xlarge
  - key: karpenter.k8s.aws/instance-generation
    operator: Gt
    values:
    - "2"
  - key: karpenter.k8s.aws/instance-category
    operator: In
    values:
    - c
  weight: 100

# deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-spot
spec:
  replicas: 20
  selector:
    matchLabels:
      app.kubernetes.io/name: nginx
  template:
    metadata:
      labels:
        app.kubernetes.io/name: nginx
    spec:
      terminationGracePeriodSeconds: 60
      containers:
        - name: nginx-spot
          image: nginx:latest
          resources:
            requests:
              cpu: "0.5"
              memory: 500Mi
          lifecycle:
            preStop:
              exec:
                command:
                - sh
                - -c
                - sleep 10
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: nodegroup-type
                operator: In
                values:
                - ddocdoc-spot
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchExpressions:
                - key: app
                  operator: In
                  values:
                  - nginx
              topologyKey: kubernetes.io/hostname
            weight: 100
          - podAffinityTerm:
              labelSelector:
                matchExpressions:
                - key: app
                  operator: In
                  values:
                  - nginx
              topologyKey: topology.kubernetes.io/zone
            weight: 100
      topologySpreadConstraints:
        - labelSelector:
            matchLabels:
              app: nginx
          maxSkew: 1
          topologyKey: topology.kubernetes.io/zone
          whenUnsatisfiable: ScheduleAnyway
        - labelSelector:
            matchLabels:
              app: nginx
          maxSkew: 1
          topologyKey: kubernetes.io/hostname
          whenUnsatisfiable: ScheduleAnyway

# pdb.yaml
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
  name: nginx-pdb-spot
spec:
  minAvailable: 50%
  selector:
    matchLabels:
      provisioner: ddocdoc-spot

Versions:

Chart Version: 0.31.0
Kubernetes Version (kubectl version):  Client Version : v1.26.3
Kubernetes Version : AWS EKS 1.25

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

@95jinhong, you are using podAntiAffinity and topologySpreadyConstraints, which looks like are doing the same thing. Is there a reason why you use both? What exactly are you trying to achieve. Could you also send the requests of other pods and describe the nodes (and send the bottom section that shows number of pods, requests, limits etc per node)

Karpenter won't violate preferred anti-affinity or topology spreads. You should find warnings in your Karpenter logs pointing this out and its documented athttps://karpenter.sh/docs/concepts/deprovisioning/

Using preferred anti-affinity and topology spreads can reduce the effectiveness of consolidation. At node launch, Karpenter attempts to satisfy affinity and topology spread preferences. In order to reduce node churn, consolidation must also attempt to satisfy these constraints to avoid immediately consolidating nodes after they launch. This means that consolidation may not deprovision nodes in order to avoid violating preferences, even if kube-scheduler can fit the host pods elsewhere. Karpenter reports these pods via logging to bring awareness to the possible issues they can cause (e.g. pod default/inflate-anti-self-55894c5d8b-522jd has a preferred Anti-Affinity which can prevent consolidation).

Hi, @pete911
I could be wrong, but I believe podAntiaffinity and topologySpreadCOnstraints serve different purposes.
(In the future, I will remove podAntiAffinity.)
I would like to have a "hard" option to ensure it is met for a specific provisioner, and a "soft" policy for HA between the AWS AZ and the service.
And we want to introduce a PDB so that there is no impact on the service when the Spot instance becomes an interrupt.
I didn't understand the part you mentioned "Could you also send the requests of other pods and describe the nodes ", can you please tell me which part I should check and mention?

Hi, @tzneal
If the pod placement strategy is the soft option instead of the hard option, will it affect karpenter?
When I checked the karpenter log you mentioned, only PDB related errors were occurring.
2023-10-12T18:11:33.398Z	ERROR	controller.eviction	evicting pod, This pod has more than one PodDisruptionBudget, which the eviction subresource does not support.	{"commit": "322822a", "pod": "payment/dd-payment-spot-6df949d5c5-psqf8"}
2023-10-12T18:11:43.410Z	ERROR	controller.eviction	evicting pod, This pod has more than one PodDisruptionBudget, which the eviction subresource does not support.	{"commit": "322822a", "pod": "payment/dd-payment-spot-6df949d5c5-psqf8"}

I want to introduce PDB so that there is no impact on the service when spot becomes an interrupt, but if I set up PDB, will there be a problem with consolidation ?

Karpenter tries to adhere to preferred topology spreads and affinities.
You are not allowed to have two PDBs that cover the same pod. This is a Kubernetes restriction.  From the docs at https://kubernetes.io/docs/tasks/run-application/configure-pdb/

The eviction API will disallow eviction of any pod covered by multiple PDBs, so most users will want to avoid overlapping selectors.

@tzneal  I don't think I explained it very well.
Currently I have 1 PDB configured, 1 Deployment with minavailabe set to 50%.
If I go to 1 pod replica, the PDB will not work, but does that affect Karpenter consolidation?
If I remove the topology spreads and pod antiaffinity you mentioned, is it normal for consolidation to work for Spot instances as well?

Currently I have 1 PDB configured, 1 Deployment with minavailabe set to 50%.
Not according to Karpenter.  We think there are two PDBs. Its possible Karpenter has a bug, but we've never seen it before and its more likely you actually have two PDBs on the same pod.

If I go to 1 pod replica, the PDB will not work, but does that affect Karpenter consolidation?
Karpenter uses the eviction API so it will not evict a pod in violation of a PDB.  If you have multiple PDBs on a pod, Kubernetes also prevents eviction.

If I remove the topology spreads and pod antiaffinity you mentioned, is it normal for consolidation to work for Spot instances as well?

It will delete spot nodes if the pods can run elsewhere. It still will not replace a single spot node with a cheaper spot node.

@tzneal
I checked the service again, but it was set to 1 PDB (minavailbe:1) for 1 Deployment.
What I don't understand is that if I set it to minavailbe:1, it must have at least 2 pods to be valid, but the previous test environment was configured with 1 replica, so the PDB shouldn't have worked, but I can't understand that I can't de-provision a node because of the PDB in the node's event...
I have removed the topologyspread, podantiaffinity and PDB you mentioned, but the nodes are still not merged.
$ kubectl desecribe nodes <spot-node-name>

Non-terminated Pods:          (9 in total)
  Namespace                   Name                                  CPU Requests  CPU Limits  Memory Requests  Memory Limits  Age
  ---------                   ----                                  ------------  ----------  ---------------  -------------  ---
  community                   dd-community-spot-74b79cd568-vhh2z    1 (25%)       0 (0%)      1Gi (15%)        1Gi (15%)      6m11s
  fluent-bit                  fluent-bit-k676x                      50m (1%)      0 (0%)      50Mi (0%)        500Mi (7%)     79m
  kube-system                 aws-node-t2nwq                        25m (0%)      0 (0%)      0 (0%)           0 (0%)         79m
  kube-system                 aws-nth-clkxk                         0 (0%)        0 (0%)      0 (0%)           0 (0%)         79m
  kube-system                 datadog-agent-cbkgk                   0 (0%)        0 (0%)      0 (0%)           0 (0%)         79m
  kube-system                 ebs-csi-node-s5mmm                    30m (0%)      300m (7%)   120Mi (1%)       768Mi (11%)    79m
  kube-system                 kube-proxy-ld2lz                      100m (2%)     0 (0%)      0 (0%)           0 (0%)         79m
  kube-system                 node-local-dns-9w4dj                  25m (0%)      0 (0%)      5Mi (0%)         0 (0%)         79m
  payment                     dd-payment-spot-6df949d5c5-5fd28      1 (25%)       0 (0%)      1Gi (15%)        1Gi (15%)      71m
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource                    Requests      Limits
  --------                    --------      ------
  cpu                         2230m (56%)   300m (7%)
  memory                      2223Mi (34%)  3316Mi (51%)
  ephemeral-storage           0 (0%)        0 (0%)
  hugepages-1Gi               0 (0%)        0 (0%)
  hugepages-2Mi               0 (0%)        0 (0%)
  attachable-volumes-aws-ebs  0             0
Events:
  Type    Reason                 Age                   From       Message
  ----    ------                 ----                  ----       -------
  Normal  DeprovisioningBlocked  9m15s (x13 over 71m)  karpenter  Cannot deprovision Node: PDB "community/dd-community-spot" prevents pod evictions
  Normal  Unconsolidatable       6m2s                  karpenter  Can't replace with a cheaper node

What I don't understand is that if I set it to minavailbe:1, it must have at least 2 pods to be valid, but the previous test environment was configured with 1 replica, so the PDB shouldn't have worked, but I can't understand that I can't de-provision a node because of the PDB in the node's event...

If you have a one pod that is matched by a PDB, and that PDB is set to minAvailable of 1, then that pod can't be evicted ever

I have removed the topologyspread, podantiaffinity and PDB you mentioned, but the nodes are still not merged.

Please check every pod that is scheduled to the most empty node for topology spreads or anti-affinities or PDBs that block pod eviction.


i18n(zh-cn): Update project-structure.mdx

What kind of changes does this PR include?

Update project-structure.mdx

Description

Add tsconfig.json
Add FileTree

Thanks. There are a few more create-astro in the Chinese documentation, I will create a new pr to fix them.


Use new public resource abilities

Clean up resource namespace by:

Adding a 'resourcePrefix'
Only exporting necessary strings as ''public"

Closing this issue, EasyGoogle is no longer under active development.


Implement ability to read formulas

Changes

Implement ability to read formulas via the IExcelDataReader interface (OpenXML only, though pseudocode provided for biff implementation).
Unit tests

Closes #332

hello @nh43de,
do you still plan to merge this PR? I was looking for a way to read formulas using ExcelDataReader when I found your changes.

I found bug. There are some new .xlsx files that are coming with xl/workbook2.xml insted of xl/workbook.xml. The ExcelDataReader lib only looks for  xl/workbook.xml. it should look for both files. I made the fix locally and it worked fine.

I found bug. There are some new .xlsx files that are coming with xl/workbook2.xml insted of xl/workbook.xml. The ExcelDataReader lib only looks for xl/workbook.xml. it should look for both files. I made the fix locally and it worked fine.

Maybe you may open a new issue... anynow, which program was used to create such files?

Microsoft Excel, but I don't know in which version from Microsoft Excel was created.


FIX: wrong function name called

Thanks for this pull request.
Could you make this bugfix in the fork of the development branch and create a new pull request, please?
The stable branch 'master' can not be accepted as target branch of a pull request (details: https://github.com/FACT-Finder/FACT-Finder-PHP-Library/wiki/Guide-for-contributors).


Refactor edition field to distinct name, number fields

Moved from description of #154, for which this item is no longer in scope.
Having a single field for edition is proving insufficient to maintain both ingest of edition values from NDNP without loss, and also preservation of semantic URLs using edition number.
Part of this challenge is due to use of bibo:edition predicate, which should be retired in favor of Bibframe 2.0 predicates for edition statement (bf:editionStatement) for name of edition, and edition number (bf:editionEnumeration).  These are available via the RDF::Vocab::BF2 vocabulary.
Deliverables
To be enumerated here, work in progress.

Fixed via #164.


allow secrets to be passed as parameter

I've started work on allowing secrets to get passed as a constructor parameter as noted in #16. I also caught the error from failing to import board this allows the code to continue working on Generic Linux and other platforms that are not supported by Blinka, but still supported by Blinka_Displayio.
I'm leaving this as a draft for now. There is still work that needs to be done on the docstring. Something will need to be done with image_converter_url() function as well. It's currently static which means it doesn't have access to self which is where I started trying to keep the secrets dict. It will either need to be made non-static, or else maybe it can accept secrets as a parameter.

You can change image_converter_url() from a static function to a member function. I just didn't need to access self, so iI chose to make it static rather than pylint disable it.

My main concern with having secrets passed in this way is that and code adapted to do this won't be backwards compatible with circuitpython. However...there are some minor changes that users must make to use this library anyhow. @tannewt what are your thoughts regarding this?

Maybe instead of passing it in we could select a new name to try to start transitioning to use instead of secrets  The code could be made backward compatible by trying the new import first and falling back to secrets.
Something like:
try:
    from circuitpython_secrets import secrets
except ImportError:
    from secrets import secrets

This way users on Blinka / CPython will get the newly named secrets. Users on CircuitPython microcontrollers can use the new name if they want. Personally I would encourage it in-case someone ever wants to implement the CPython secrets module for CircuitPython. But they can also stick with secrets if they want and it would still work.

There's so many examples that use secrets, it just wouldn't be worth it. As I mentioned, there are some changes that need to be made to make use of this library on linux anyways and I really can't think of a better option, so let's continue as you were. :)

I think this is ready to go now. I tested it successfully with this bitcoin example adapted to work with pygame display: https://github.com/FoamyGuy/Blinka_Displayio_PyGameDisplay/blob/main/examples/blinka_displayio_pygamedisplay_pyportal_bitcoin.py

I notice you are making importing board optional, but I'm not seeing any error handling for the places where board is attempted to be used. I didn't see where you explained why you were making that change.

In my use case it will not need any additional error handling beyond the import. There are two main places where board gets used. First one here: https://github.com/adafruit/Adafruit_Blinka_PyPortal/blob/034fa4f940b3a8c5d85a04079d3a10d8b0f5cd90/adafruit_pyportal.py#L182
Which is wrapped in a check on the display. In my case I'm passing in the display since it's one of my pygame display objects.
Because I pass in the display it never attempts to set up the SPI and FourWire.
The other place is down here: https://github.com/adafruit/Adafruit_Blinka_PyPortal/blob/034fa4f940b3a8c5d85a04079d3a10d8b0f5cd90/adafruit_pyportal.py#L333
which is wrapped in a check on spi being not None. Due to the logic above checking display my spi is None and this code does not get executed.
All that being said though in it's current state it is kind of on the user to just know that they need to pass in the display in order for things to work out like this. Which could definitely be confusing to new folks.  It would be good to add some additional documentation noting that display must get past in for PC environment and some try/catch on the board usages that print helpful message letting user know why board might be inaccessible.

Ok, here's an idea. How about if board is not imported, set a variable to True. Then if that variable is set to True, make sure the display is passed in (and whatever other conditions you expect of the user) or maybe just do it all in the try/except block for importing board. Either way, raise an error to let the user know they need to do something you are expecting of them.

Nice. That sounds good to me. I can make those changes, but it's likely that it won't be until later on tonight.


Global Campaign Runs: various translation bugs

When you create a campaign run, the content doesn’t appear in the backend, and doesn’t appear in the campaign view on the campaign’s close date.
--
Reported by @mikefantini
CC @sheyd

I just found out on Thor than when an admin edits Campaign Run, Drupal redirects to incorrect edit page:
https://thor.dosomething.org/node/5878/edit/add/en/en-global

This ticket is for providing site-wide solution of #5671.

There's 2 ways to fix it:

Execute update query manually before global deployment (safer for the deployment, risky for prod DB)
Execute update query after global deployment, using drush (risky for the deployment, safer for prod DB)

Also, the second option will take about an hour more.
Which one should we go with?
@sheyd @mikefantini

@sergii-tkachenko I'm going to have to go with option 2 on this. Anything that endangers the Prod DB is to be avoided as much as possible. Can you explain in a little more details the risks running the command via drush poses to the deployment?

@sheyd Just because we will be changing 2 things at once. We're introducing a lot of new code with Global deploy and I don't really know how this fields will behave after the release. I'll start testing it now.

@mikefantini As annoying as it is... do you think this justifies a full refresh of thor, the deploy steps, and spot checking things after @sergii-tkachenko runs the fix script?
Not sure how much time/risk factor we're willing to tolerate here.

@sheyd @sergii-tkachenko we'll want to do a prod db import later this week anyways so we can test this then when we do that.


Multicolors series - type : 'coloredarea',  stacking : 'normal' not rendered correctly

In a coloredarea type chart and stacking set to 'normal', areas are not stacked , and the area remains transparent. Only the perimeter is colored.

You are right, multicolor series doesn't support stackinf at this moment.

Hm.. my bad it suppose to work but there are errors, we will check this.
Demo: http://jsfiddle.net/tg58gc6x/65/


[Feature Request] ecm修改

Checklist

[X] I searched exising issues and no one else requests similar feature.
[X] I think that 25%+ users are positive towards this feature.

Describe the feature
todo
Additional context
No response

Function下 tags
psedu  true
funname WDTA_Error
titleabstract WDTA error

#459


kie-issues#208: Renaming any "NamedElement" on the DMN Editor should update all references to the old name

Closes: https://github.com/apache/incubator-kie-issues/issues/208
Some comments about the changes:

We are tracking now all changes performed in BEE reported to DMN Editor. For now, we only have "special treatment" for the  Action.VariableChanged;
A big part of the changes are related to this. Don't panic. It is just an indentation level that can make the PR bigger than it really is;
In the lower levels of the code, I refactored from "variable" to "identifier", because those objects are not only variables but identifiers;
I added documentation to a few methods and classes.

Renaming Data Types
https://github.com/user-attachments/assets/865b600d-d15f-44c6-b870-f7e2172175b4
Renaming BKMs and parameters
https://github.com/user-attachments/assets/fb7bf2b6-58f9-4db4-ace6-a5d1e8e2ef0e
General rename
https://github.com/user-attachments/assets/e4485c5a-2285-4bac-9d1c-218edbe052a1
Renaming Included Models name
It does not show the confirmation dialog, because doesn't make sense to not update the references in this case, since this already was the default behavior before this PR (when we renamed a included model, we already updated all the references except the expressions, now we update the expressions).
https://github.com/user-attachments/assets/9b44114d-e302-4a09-bd33-81fce5254736

Thank you for the PR @danielzhe. It's going to take me a few days to go over everything with the care it deserves. Will keep you posted!

01

Using the feature, came to my mind, maybe we could have a third action button 'Cancel', like do nothing? During my testing I was in situation oh, I want to double-check what I will do, so I just wanted to cancel the operation.

02
The feature seems to not work in decision tables.

In the attached table there is input node IDAnyStruct. This node has a data type set to a custom structure with three fields: A, B and C. Once I renamed A, B or C on the Data Types tab, the occurrences in the decision table were not updated.
I think that at least the row 2 should be updated. I slightly think also decision table header row should be, however that may be very tricky and if we decide to implement, maybe in a separate ticket? I am not sure about the secodn point.

03
FYI, I didn't check this feature with the List expression because of https://github.com/apache/incubator-kie-issues/issues/1635

04
Question, should this feature work for BKM node and Invocation expression. Imagine this model:

Where internally the Invocation says it invokes mybkm node.
However if user renames the mybkm to mybkm renamed the Invocation remains the same (notice mybkm in last screenshot):

05
We have an issue editor allows to define two function parameters with the same name, then renaming does  not work.

06
Is there a way to disable this feature? Committing the rename action starts to be slower, so I expect some user may ask to disable this feature in their environment.

07
During included models review, I found this https://github.com/apache/incubator-kie-issues/issues/1636, however I think I didn't find issue related to changes of #2760.

Thank you for your review, @jomarko !
About the points you commented:

I made a new screen with a X in the top corner, where we can cancel the change, like discussed in the private chat. Here is the print:

Change applied. Decision tables should be working now
ok
That field is not "expression aware", it is just a text box. We have two tickets to address that, so it is not covered in this:
a. https://github.com/apache/incubator-kie-issues/issues/205
b. https://github.com/apache/incubator-kie-issues/issues/276
As discussed in private chat, that is something that depends on user. We can't (shouldn't)  not allow the user to rename it if the name is duplicated. It is up to the user. Once the parameters have duplicated names, there is no way for us to know which one is which inside the expression.
No, we don't have. We had a discussion about this and we come to idea to add the confirmation dialog instead an option to disable/enable it, remember? I didn't found out any slow down using the feature. If you can provide some reproducible steps, we can check it.
ok

@danielzhe thank you for updates
I think 1. and 2. works now pretty well.

I used this file. Once I rename something there is ~1 second until new modal appears. Once I click rename in that modal, it also takes ~1. I am not saying it is a blocker, I understand that it may be complicated (long time) operation to compute indexes, find identifiers etc. Just want to avoid situation in past in 7.x or 8.x stream, where users working with large models (100+ nodes) were unable even open the model. That is why I asked about possibility to turn off the feature. However, my issue may be local, caused my by laptop, memory parameters and settings. I do not know.

Untitled (2).dmn.txt

Hi Daniel, Thanks for the PR - it looks great! Just a minor comment from my side regarding the message:

Thank you for your suggestion! It's always good to have a native English speaker to improve our messages. I'll update the text of the buttons too to match the new message.


OnLayout bug

After changing orientation my images still shows not aligned to center

After several swipes my images concating to one screen.

I have the same problem.. any solutions for it??

Maybe you can use react-native-orientation
listening the screen direction's change. Then forceUpdate will be help: https://github.com/ascoders/react-native-image-viewer/blob/master/src/image-viewer.component.tsx#L364.

@hasancanozkan I decide to remove react-native-image-viewer and write own pagination

It's fine too.


fix side nav, undoing inadvertant changes

This change is

@stbof looks ok now, eh?

@stbof looks ok now, eh?

Yes. In the future, to request a re-review could you click this double circular arrow?


:open_book: Docs(Translation): Documentation on Contributor Ladder Version

What should be changed?

The translation does not need to correspond strictly to each sentence, it just needs to express the same meaning. "Meaningful translation" is recommended . Please feel free to ask me when you have any questions.

@daniel-hutao  I got it, Tks ~

How is it going? Please feel free to ask for any help. :heart: @JueShanCoder

Sorry, The work things distract me .. I will speed up , Tks for your remind ~

Sorry, The work things distract me .. I will speed up , Tks for your remind ~

This is not urgent, just make your own arrangements according to your time. 🙌


Align the code with the screenshot image.

Nitpick: The example in the code doesn't agree with the example in the image.

I have read the CLA Document and I hereby sign the CLA

recheck

The 3:04 PM is actually "magical":
https://github.com/qri-io/starlib/blob/7fb7ff9ec804789a6dd0c1470abc5f07ba4a0c46/time/doc.go#L81


Custom worker arguments

Allow users to pass custom arguments to workers. Not 100% sure about the api yet, but could work by passing an optional block after the schedule DSL.
I sort of feel like the "forced" last_occurrence and next_occurrence arguments are actually a bit dirty.
Thinking of something in this direction:
recurrence do
  daily.hour_of_day(12) do
    # Return Array of worker arguments ...
  end
end

This should be a lot simpler to implement once #31 is done.

+1

This would be a worthwhile feature. I'll look at extending it soon.

Struggling with this issue at the moment. Does anyone have ideas for workarounds while this issue is worked on? Submitting three of my own params into perform method and the last/next occurrence args aren't allowing for that to be possible.


need pyarrow and parquet for get aggregate stats with multiple subzones input.

OS: MacOS Ventura
From basic-functionality notebook in the m4 example of multiple seattle subzones, it needs pyarrow and parguet as dependency to use get_aggregate_stats function.
attr_stats_sea = m4.get_aggregate_stats("Seattle", column='CRA_NAM')
output:
Cell In[19], line 1
----> 1 attr_stats_sea = m4.get_aggregate_stats("Seattle", column='CRA_NAM')

File [~/anaconda3/envs/urbanity/lib/python3.9/site-packages/urbanity/urbanity.py:1222](https://file+.vscode-resource.vscode-cdn.net/Users/maman/Documents/PhD/Urbanity/~/anaconda3/envs/urbanity/lib/python3.9/site-packages/urbanity/urbanity.py:1222), in Map.get_aggregate_stats(self, location, filepath, column, bandwidth, get_svi, network_type)
   1219         pop_list[i] = pop_list[i].to_crs(local_crs)
   1221 if self.country in tiled_country:
-> 1222     pop_list, target_cols = get_tiled_population_data(self.country, bounding_poly=self.polygon_bounds)
   1223     for i in range(len(pop_list)):
   1224         pop_list[i] = pop_list[i].to_crs(local_crs)

File [~/anaconda3/envs/urbanity/lib/python3.9/site-packages/urbanity/population.py:90](https://file+.vscode-resource.vscode-cdn.net/Users/maman/Documents/PhD/Urbanity/~/anaconda3/envs/urbanity/lib/python3.9/site-packages/urbanity/population.py:90), in get_tiled_population_data(country, bounding_poly)
     88 for tile in target_tiles:
     89     data_link = general_pop_dict[country][f'tile_all_{tile}.parquet']
---> 90     tile_df = pd.read_parquet(data_link)
     91     tile_df = tile_df[(tile_df['latitude'] >= miny) & (tile_df['latitude'] <= maxy) & (tile_df['longitude'] >= minx) & (tile_df['longitude'] <= maxx)]
     92     point_df = pd.concat([point_df, tile_df])

ImportError: Unable to find a usable engine; tried using: 'pyarrow', 'fastparquet'.
A suitable version of pyarrow or fastparquet is required for parquet support.
Trying to import the above resulted in these errors:
 - Missing optional dependency 'pyarrow'. pyarrow is required for parquet support. Use pip or conda to install pyarrow.
 - Missing optional dependency 'fastparquet'. fastparquet is required for parquet support. Use pip or conda to install fastparquet.

I solved this by installing fastparquet but I think it would be better to state it in dependency (e.g. environment.yml) since it is a basic functionality.

I think it is solved with recent update of environment.yml by @winstonyym.


All miot action buttons appear as the same name on IOS16

Hi,
Before updating to IOS16, all the action buttons for each device worked fine using homebridge. I could see and activate the deviled actions in the Home app.
After updating, multiple actions received the default device name.

Here, the device name is "Deep White" and its actions have the same name.
Note that the accessories on homebridge page named correctly (each action with its name), and so in the Mac Home app.

Please read about it here:  https://github.com/merdok/homebridge-miot/issues/338#issuecomment-1249729272
Nothing that i can do but there is a temporary solution.


fix ContinueWith disposing immediately

fix https://github.com/neuecc/UniRx/pull/312#discussion_r203943841

...!
Yes, thank you!


Allow for download from S3

Includes service to download objects from S3. Also handles .tar files.
Fixes #83, fixes #84

@helrond I realized that the new service doesn't have a view, so I added it and a URL + a test, and the test for it is failing. I can't figure out what I'm doing wrong so I'm pushing it up in the current state.

@bonniegee you're missing parens on line 30 (to call self.list_to_download())...but then there are probably other things you need to mock.

@helrond 🤦♀
I've moved that view test up to the S3 Object Downloader test case, because I needed to mock so many things I wanted to use that configure method. Not sure if there's a better approach?

@bonniegee that makes sense to me! I would just add a note in the docstring of the test_routine_views which says why that test isn't there and where it is...


Stop using platform-specific names for props

Follows up on this comment by @nicklockwood in #5065.
Rely on using the @platform annotation and keep the API / naming less redundant.

I agree (of course) on the basic premise.
Instead of a breaking change, it might be better to add some internal JS logic to detect if javascriptEnabledAndroid is being set and map it to javascriptEnabled, with a console.warn explaining the old prop is deprecated.

@facebook-github-bot shipit

@odino don't worry, I've added some internal warnings and remapped the old props to the new ones as I suggested, so there are now no breaking changes to contend with.

@nicklockwood thanks man!


Thermostat battery state not shown - TRV TS0601 / TZE200_ckud7u2l

Issue
i use several Thermostats (TRV TS0601 // TZE200_ckud7u2l) with deconz and they work fine with this plugin but the battery state is not shown in the Home App (and also not in the homebridge config-ui-x UI within the details of the device) even though the lowbattery attribute is true.
Log Messages
lowbattery: true is sent by deconz but device has no battery state attribute:

Did you try other HomeKit apps, like Eve?
If these also don't show the battery state, please attach the debug log file and the debug dump file, so I can have a look what's going on.  See FAQ in the Wiki how to obtain these files.

Hi, the Eve App also dont show the battery state...
i created a debug log file and the debug dump file, i hope that helps.
The devices are named "Thermostat XX" or "fairy lights xx", i never changed that in deconz
debug dump log.zip

deCONZ doesn't expose the battery percentage (config/battery) for the thermostat. It does expose state/lowbattery, but Homebridge Hue doesn't use that, as HomeKit requires a battery level for the Battery service..  I don't think I've ever before seen a device that exposed state.lowbattery, but not config/battery.  Originally state/lowbattery was created for IAS Zone devices; I'm nor sure why they use it for a Tuya device.
I suppose you could fake a battery percentage based on lowbateery, but this is not specific to HomeKit, and, I think, should be done in deCONZ, rather than in Homebridge Hue.  Also, it's much easier to do in a DDF, than changing code in Homerbridge Hue.

Ok, sounds plausible, thanks for your fast reply!
I try to create a DDF for this.

Hi @ebaauw, unfortunately it is not possible to solve this by DDF yet, because DDF is not supported for Tuya TRV Devices in deconz yet. In general they also dont want to add a solution like that (emulating / "calculating" config/battery from state/lowbattery).
https://github.com/dresden-elektronik/deconz-rest-plugin/issues/6643
But i'd like to find a solution for this problem so i come back to you to ask if you could help me with a quick & dirty solution in homebridge-hue for this.
Would it be possible to add a little switch like "emulate config/battery from state/lowbattery if config/battery is not exposed" or could you give me a hint where i could implement this in a fork?

Probably easiest to insert config.battery in the Hue bridge response when state.lowbattery is present, but config.battery is not.  Cf. to how lightlevel is inserted for the Daylight sensor for each heartbeat in:
https://github.com/ebaauw/homebridge-hue/blob/4d0fd6983299b3c6f9d2e66cbcf25d5684edbb04/lib/HueSensor.js#L1933-L1948
and for initial setup in:
https://github.com/ebaauw/homebridge-hue/blob/4d0fd6983299b3c6f9d2e66cbcf25d5684edbb04/lib/HueSensor.js#L1507-L1542
Obviously, for the thermostat, this would need to be in the ZHAThermostat case.