wtclient: replay pending and unacked updates

This PR demonstrates 2 main issues and then fixes them:

If backupTasks have been "bound" to a session's pendingQueue and then the associated Tower is removed, those pending updates are just quietly lost at the moment. This PR makes sure that these tasks are replayed onto the main task pipeline.
If a CommittedUpdate has been persisted but the session does not respond with an Ack and then the client requests to remove the tower, this will currently fail with "tower has unacked updates". This is fixed by also replaying these updates onto the main task pipeline.

With this PR, the tower client can shutdown as soon as it is requested to since any un-acked updates or pending updates will just be persisted. This is nice since there will no longer be a 10 second wait on shutdown :)
Fixes https://github.com/lightningnetwork/lnd/issues/4420
Fixes #7725

@Bladez1753 , accidental comment?

@ellemouton, remember to re-request review from reviewers when ready

@ellemouton, remember to re-request review from reviewers when ready

@ellemouton, remember to re-request review from reviewers when ready

@ellemouton, remember to re-request review from reviewers when ready

@ellemouton, remember to re-request review from reviewers when ready

@ellemouton, remember to re-request review from reviewers when ready

@ellemouton, remember to re-request review from reviewers when ready

@ellemouton, remember to re-request review from reviewers when ready

@ellemouton, remember to re-request review from reviewers when ready

@ellemouton, remember to re-request review from reviewers when ready

@ellemouton, remember to re-request review from reviewers when ready

@ellemouton, remember to re-request review from reviewers when ready

@ellemouton, remember to re-request review from reviewers when ready

@ellemouton, remember to re-request review from reviewers when ready

@ellemouton, remember to re-request review from reviewers when ready

note to myself to checkout this failure: https://github.com/lightningnetwork/lnd/actions/runs/5011209617/jobs/8981798576?pr=6895

@guggero: review reminder
@bitromortac: review reminder
@ellemouton, remember to re-request review from reviewers when ready

Concept Ack

@bitromortac: review reminder
@ellemouton, remember to re-request review from reviewers when ready

@bitromortac: review reminder
@ellemouton, remember to re-request review from reviewers when ready

@bitromortac: review reminder
@ellemouton, remember to re-request review from reviewers when ready

@ellemouton, remember to re-request review from reviewers when ready

@ellemouton, remember to re-request review from reviewers when ready

We got the approvals. Retagged it for 0.17.0


from six.moves import xrange

@adarob The tests do not pass but only insiders can see why.  Can you please let me know what went wrong?

As far as I can tell, the problem was with our test infra, not the tests themselves. Should be fine to merge.


Allow infinite-length generation

Some major changes to the inference script that allow for generating videos that are longer than fit in memory (theoretically infinite, but not practically / quality-wise).
The idea is to work with a window and perform each step of the diffusion on all of the time-windows in the video before moving onto the next diffusion step. If you offset the windows so that they overlap, then the video comes out fairly coherent. It's a little bit of a hack, and leads to some abstract results (see some examples below).
From my testing, results are unchanged when --window-size is left to None, so people can choose whether they use this feature.
I've also gone ahead and added some text descriptions of all the inference parameters!
Here's some example results with Potat1:
txt2vid
https://github.com/ExponentialML/Text-To-Video-Finetuning/assets/15871226/eb2785cd-a792-4fcb-85f5-b631cea443f5
vid2vid
https://github.com/ExponentialML/Text-To-Video-Finetuning/assets/15871226/eaf5a4e1-e6e3-4c64-9bcb-cf5d12228fca

I think this might also address #69 and #74
These models are definitely very sensitive to e.g. guidance scale and number of frames being rendered. This makes it hard to get good results, often leading to just noise with the wrong settings.

Thanks for the PR! I'll be looking into all of the bugs and feature additions in the next week or so.

Cool!
I've been testing it out some more and the results for pure text2video aren't matching the old inference script yet.
I need to debug a little more before this is completely merge-ready, I think

Alright @ExponentialML, I've fixed a few more bugs and verified that now without windowed diffusion the outputs are pixel-for-pixel identical to the original pipeline.
As far as I'm concerned it's ready to be merged!

Alright @ExponentialML, I've fixed a few more bugs and verified that now without windowed diffusion the outputs are pixel-for-pixel identical to the original pipeline.
As far as I'm concerned it's ready to be merged!

Awesome, thanks for contributing!


JSONSchemaType does not support type extension

I'm getting a type error when using the const, which should match that one property is set to the other.
I'm using the example code for const.
typescript playground

Type '{ properties: { bar: { const: { $data: string; }; }; foo: { type: "number"; }; }; required: ("foo" | "bar")[]; type: "object"; }' is not assignable to type 'UncheckedJSONSchemaType<ZetaI, false>'.
The types of 'properties.bar' are incompatible between these types.
Type '{ const: { $data: string; }; }' is not assignable to type '{ $ref: string; } | (UncheckedJSONSchemaType<number, false> & { const?: number | undefined; enum?: readonly number[] | undefined; default?: number | undefined; })'.
Types of property 'const' are incompatible.
Type '{ $data: string; }' is not assignable to type 'number'.(2322)

import { JSONSchemaType } from 'ajv'

interface ZetaI { bar: number; foo: number}

export const zeta: JSONSchemaType<ZetaI> = {
  properties: {
    bar: { const: { $data: '1/foo' } },
    foo: { type: 'number' }
  },
  required: ['foo', 'bar'],
  type: 'object'
}

For anyone else looking for a workaround:
import { JSONSchemaType } from 'ajv'

interface ZetaI { bar: number; foo: number}

export const zeta: JSONSchemaType<ZetaI> = {
  properties: {
    bar: {
        type: 'number',
        const: {
            $data: '1/foo'
        } as any,
    },
    foo: { type: 'number' }
  },
  required: ['foo', 'bar'],
  type: 'object'
}

Are there any plans to extend the JSONSchemaType inside ajv or add another type, e.g. JSONSchemaExtendedType, that supports $data?

How deep did i have to dive to find this. this should be in the API docs.


potential utilities

List of potential additions:

Logger adaptor code example.
Alpha blending with masks, this notebook.
Visual comparison of a segmentation to a reference, binary segmentation comparison showing the agree/over/under segmentation regions, visual_comparison_of_segmentation, in this notebook. Compatible with Slicer's .seg.nrrd metadata schema for quick overlay in Slicer.
Save volume as a video, scrolling along a specific axis, write_video_data in this notebook. Relies on opencv cv2.VideoWriter.
Resize and scale intensity of image, aspect ratio maintained with padding, useful for creating a uniform set of thumbnails from variable sized images, resize_and_scale_uint8 in this notebook.
Inverting composite transformation,  invert_composite_transform in this notebook, possibly should be done in ITK proper? There probably is a reason it wasn't done there.
Modify transform center without changing the transformation effect, code cell in this notebook.
Multi-scale Demons implementation, in this notebook.
Threshold based cropping, threshold_based_crop in this notebook. Probably add a parameter to specify the algorithm or manual threshold to use (see threshold_filters dictionary in this notebook).
create_tile_volume - create a faux volume from list of images and number of tiles to use per slice, see this notebook.
GUI components for notebooks, coarse visualization components that are handy for usage in a notebook, this file.
Overlay bounding boxes onto image.

Please create separate issues.


Virtualenv --always-copy option

Hi. Does exist a way to initialize a virtualenv with the --always-copy option?
It is highly recommended to use this option in rolling release linux distributions

Not currently.

this has not been a heavily requested feature, so we likely won't impliment it unless it comes up again

I was trying to find a way to get this working with pipenv and find out it is rather easy to do via pew:
$ pew new test --always-copy

If not officially supported by pipenv, perhaps there could be some way to pass options to pew new like it's already the case with pip install and PIP_INSTALL_OPTION. Would adding PEW_NEW_OPTION be a bad idea?

Pipenv doesn't always use pew to create virtualenvs, so features in pew do not directly translate to features in pipenv.

Also, I just realized there's nothing pipenv is doing with PIP_INSTALL_OPTION. It's simply used by pip directly. Never mind then.


[close #298] add reviewer reminder in PR template

Signed-off-by: pingyu<EMAIL_ADDRESS>
What problem does this PR solve?
Issue Number: close #298
Problem Description: Add a reviewer reminder about how to check pull requests
What is changed and how does it work?
Add a text as reminder in PR template.
Rendered: https://github.com/pingyu/migration/blob/add-reviewer-reminder/.github/pull_request_template.md#to-reviewers
Code changes

No code

Check List for Tests
This PR has been tested by at least one of the following methods:

No code

Side effects

No side effects

Related changes

No related changes

@haojinming @zeminzhou PTAL, thanks~


What server i need to use?

Is it possible to share your server and backend? =)
Cant find the correct server for it

We use it to play with friends, but I couldn't get everything to work properly because I might not be using the correct version or you made some custom modifications. The online player count isn't showing, and when I open the mini-map, it doesn't work on mobile. I'm not quite sure what the issue is. I would really appreciate it if you could share some information.

@yemake what for, i can give you access to the backend and server too as well, contact me on discord cairbyte71


Remove unnecessary references to the "this" keyword

Describe your changes here
See #305
Removed unnecessary references to the "this" keyword in:

AuthCollection.java
SmsDateSearchRequest.java

Contribution Checklist

[ ] Unit tests!
[ ] Updated CHANGELOG.md
[x] My name is in CONTRIBUTORS.md

Codecov Report

Merging #343 into master will not change coverage.
The diff coverage is 66.66%.

@@            Coverage Diff            @@
##             master     #343   +/-   ##
=========================================
  Coverage     90.00%   90.00%
  Complexity     1438     1438
=========================================
  Files           249      249
  Lines          3943     3943
  Branches        191      191
=========================================
  Hits           3549     3549
  Misses          343      343
  Partials         51       51

Impacted Files
Coverage Δ
Complexity Δ

...in/java/com/vonage/client/auth/AuthCollection.java
68.18% <57.14%> (ø)
8.00 <5.00> (ø)

...va/com/vonage/client/sms/SmsDateSearchRequest.java
100.00% <100.00%> (ø)
2.00 <1.00> (ø)


Added Support for Highstocks Navigator, Scrollbar, and Range Selectors 2-way binding

I have added support for a 2-way binding between the xAxis currentMin/Max and the scrollbar/navigator. For now, the scrollbar and navigator do not work smoothly with live redraw enabled because of an issue with using using $apply in line 138 of src/highcharts-ng.js (you can see I used $timeout there to circumvent the issue).
I have also added support for a 2-way binding between the Highstocks range selectors as well.
Ultimately, this was achieved by adding a callback to the setExtremes event.

Hi @pablojim, is this good to merge? Or is there anything else I need to do?

Thanks @ASethi77


new days translator extension

merged via git-am in eb8e4be
I'm sorry for the very long delay getting to this pull request, and for this copy-and-pasted message:
Thanks for your contribution! To get through my backlog, I'm now merging all reasonable pull requests.
Once done, I'm going to move all user-contributed extensions into a new contrib directory in the repo, so you will eventually find it there. After that, in due course, I will move some contributions back over to the main directory to be published.
Please bear with while I am working though a lot of pull requests at the moment.


No valid Json Response

I have packed and installed this extension in Opera. If i try to translate text, an error comes up:
DeeptransLate problem: No valid JSON response

Also get this error in Firefox.


7.0.0-beta5 and 6 are not in Maven central

The latest version of TestNG in Maven central is 7.0.0-beta4. This version is heavily broken. Can we get the following versions?

TestNG 7.0.0-beta7 is now available in Maven Central http://repo1.maven.org/maven2/org/testng/testng/7.0.0-beta7/


readme: rebrand, honor original creator

We're not in ~knausj~ Kansas anymore...
https://github.com/talonhub/community/issues/935

I'll update the other references, one sec

This looks good to me, thanks.


feat(k8s.dataverse): use variable Values.persona for the persona name

This lets us configure the persona name in our values.yaml file, so that we can simply create new personas and use them with this code base, without changing anything else.

bumped version in 8073ceb 👍

merged main and properly bumped version


PhpdocTypesOrderFixer - fix for intersection types

Fixes https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/6238

Coverage increased (+0.0007%) to 93.149% when pulling b2149c724026565a73586abca5a07e65b29d618a on werlos:fix_PhpdocTypesOrderFixer into 333f15e07c866e33e2765e84ba1e0b88e6a3af3b on FriendsOfPHP:master.

@kubawerlos please rebase, lets see how the changes of https://github.com/FriendsOfPHP/PHP-CS-Fixer/commit/0c76fe5ccef30c18f4b2b6659bcfbad02a8f230c effect/compliment your work here, thanks :+1:

Thank you @kubawerlos.

Hi, will this be released soon?
Thanks!

FYI this has been released in 3.6.0


Fixes for usage of macro CL_API_ENTRY

The macro CL_API_ENTRY is obviously intended for storage-class attributes, e.g. __declspec(dllexport). Those attributes are not allowed in typedef declarations and will result in compilation errors. I have also submitted a PR to fix the documentation.
Further CL/cl_platform.h contains changes to allow the macros CL_API_ENTRY, CL_API_CALL and CL_CALLBACK to be overridden externally.
Additionally CL/cl_ext.h contains fixes for the function declarations of extensions cl_APPLE_SetMemObjectDestructor and cl_APPLE_ContextLoggingFunctions.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

The linux CI builds failed because gcc-7 is missing.

@MathiasMagnus, do we need to explicitly install gcc 7 on Linux now?  If this isn't an easy fix we should disable this config for now since the gcc 7 failure stops other testing on Linux.

Seems like it. The ubuntu-latest image of GA has moved on to Ubuntu 20.04, which has GCC 9-10, as opposed to previous GCC 7-8-9. We should either revert from Ubuntu-latest to ubuntu-18.04 image or test using GCC 9-10, or add the apt install gcc-8 command to the setup parts.

Changes look good.
We should probably pick a specific Ubuntu version to keep things more stable. Testing with both older compilers and newer compilers sounds like a good idea, so maybe 18.04 is the best choice right now.

Merging... testing will fail until we fix or disable the CI configs (see #163).


Preset: Image carousel that's controlled with arrow keys

Normal image carousel, but arrow keys to browse left or right.  Also to investigate if the arrow key support could be designed into a preset that's easily pluggable to any type of carousel.


[Program]: Write a Haskell program to print ascii value of a character

Description
Write a Haskell program to print ascii value of a character
ASCII value is the numeric representation of a character. For example, the ASCII value of the character 'A' is 65. The ASCII value of the character 'a' is 97. The ASCII value of the character '0' is 48. The ASCII value of the character ' ' is 32.
Input  : A
Output : 65

How to contribute

Save the solution in program/program/print-ascii-value-of-a-character/program/print_ascii_value_of_a_character.hs file

!assign


adds posthog and ga4 script tags to every  section

Title says it all, it's a part of this ticket
https://trello.com/c/gEtao0Bc/1289-combine-ga4-posthog-and-hubspot-analytics-tracking-ids-across-properties
I took the GA4 script tags (2) from the appetize-webserver repo file _document.page.tsx and I took the PostHog script from the PostHog website project settings page

@TristanJanicki I missed in the ticket that we only want it on the main index.html page, so let's remove the changes to the other html files.

Can we undo the changes to the training experience 👍

I reverted the changes just now (they were all whitespace changes)


Support multiple Frigate instances

Update the integration to support multiple Frigate instances is suitably configured. Highlights:

Media browser: Uses the new (https://github.com/blakeblackshear/frigate-hass-integration/pull/88) structured identifiers to seamlessly pass the config entry through the clip search functionality.
Clean up the data dictionary for the integration so it is indexed by config entry id only, and have a clean consistent dict under each entry.
Full backwards compatibility for both views and media browser -- if no config entry is specified, and only one is configured, that one is used by default. If multiple config entries are configured, there is no default.

Example view URL: /api/frigate/ab10c2572c35acd7ce57c1eba78dacb45/clips/front_door-1624599978.427826-976jaa.mp4
Example media identifier: media-source://frigate/ab10c2572c35acd7ce57c1eba78dacb45/clip-search/.yesterday/1622678400/1622764800//

[Spotted that the entity unique_ids are hardcoded -- need to update]

The other problem with these updated urls are that they are hard to know for notifications. Can we use the frigate mqtt client id instead?

Just to ensure it was not missed, the old style URL (without any config entry id) will continue to work as long as there is only a single Frigate instance configured.
It is true that the config_entry id is not front and center, but it is visible in HA URL when you look at an entity in the integration browser and is a static value for a given config entry (Configuration > Integrations > (Choose 'N entities' link) then see config_entry URL parameter.
It's possibly fair to call it the "HomeAssistant way", as it's the only guaranteed unique key between instances of an integration that I'm aware of.
It shouldn't really be something beginner users need anyway, as it's behind the scenes (e.g. in media browser URLs). In this case, it will only be necessary to know the value IFF a user is using automations that need to trigger AND they have more than one Frigate instance configured.

Still not convinced? I think I could use the MQTT client_id as you suggest. There's no guarantee it is unique in the config, so we'll need some heuristic, e.g. use the first config_entry that has a matching MQTT client_id.
Options:

Config entry IDs (as-is).
MQTT client_id.
Support both. (Probably not good, just another thing to support forever) .

PS: This decision can be applied to the URLs, or the media browser identifiers, or both. I think for simplicity whatever we use for one, we should use for the other?
Let me know which you'd prefer to go. Thanks!

Notifications are such a common use case for frigate, that I would hate to make them difficult to use. The mqtt client_id is guaranteed to be unique if you are running multiple instances of frigate. It simply won't work otherwise because the mqtt broker will continuously disconnect the clients with the same id.
Another potential alternative is to require that camera names are unique across multiple frigate instances and then infer the right instance to forward the request to based on which instance the camera is tied to.

Yeah, in practice the MQTT client_id is going to be unique (or it just wouldn't work as you describe), but from a HA perspective there are no guarantees about the contents of a foreign dict, etc. Nit picking perhaps.
Don't think requiring camera names to be unique is workable either, e.g. I immediately used "front_door" as my test case as can imagine being grumpy if I had to use "front_door_2" ;-)

Sounds like you favor client_id. I'll give it a shot at converting both URLs and media browser to that and see if I run into any trouble.
PS: The unique_id situation is going to be harder to get right. I will do a separate PR on that, and depending on how that  goes, we can pick this one up after.

@blakeblackshear Ready for another look. This PR is rebased on top of the new unique_ids, and updated to use the MQTT client_id as the external facing differentiator between Frigate instances (i.e. in URLs and Media browser identifiers).


Bug | Unstopping Logging file when sleeping/locking screen

Hi, thank you for your excellent work! I really like it. I noticed there is a bug during sleeping, as it keeps writing the log files when my laptop is sleeping, which consumes all my /tmp file space. I checked the .log file, as shown in the figure, it keeps writing the lines in the image.

That is very concerning! I'm not sure how the process could run and writing could happen whilst the laptop is asleep. We will deal with this.

Are you sure the laptop is actually asleep? Can you ping/ssh into it?
Do all the repeated logs have the same timestamp?

It would be great if you could post your cfg.yaml as well as the .log up until it starts thrashing.
Please also include .log after waking up.

Hi, Thank you for your quick response. I just did a few test, it seems it is because that the refreshing frequency, if I set default frequency to be 60 Hz, then it is fine, but if I set the frequency to be 30Hz/120Hz, it seems the way-displays.log will keep writing.
As for the first question, I use the command swaymsg "output * dpms off before sleeping, I suspect it also causes the issue. If you could help me fix it, I will really appreciate it.

Hi, Thank you for your quick response. I just did a few test, it seems it is because that I use the command swaymsg "output * dpms off" before sleeping, I suspect it causes the issue.

Ah I see. I think I've seen something like this before: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/2325
Take a look at your sway logs. There may be a constant stream of pageflip/commit fail messages. They indicate that the monitor is in an undefined state.
Try setting  wiki: Unusable Displays Following MODE WLR_DRM_NO_MODIFIERS=1
For me to help you further I'm going to need:

log head and tail as requested https://github.com/alex-courtis/way-displays/issues/167#issuecomment-2084016839
is your laptop really asleep?

As for the second question, I think it is just turn the screen off.

That's good news - makes our diagnosis easier.

HDMI-A-2: No preferred mode, falling back to maximum available

That's a bad sign. It looks like (cut off) it might be trying all modes and failing them all.
I've seen that on a laptop with an nvidia GPU failing to pass through to intel, with some nonstandard nvidia module options set. Sway/wlroots logs confirmed it with DRM setting failures.
What is your laptop make/model?
Options, easiest first:
In all cases, please observe and collect your sway logs. They'll indicate problems that won't be reported to way-displays.

Try a conservative mode for the HDMI monitor, say,

MODE:
  - NAME_DESC: XV340CK
    WIDTH: 1920
    HEIGHT: 1080
    HZ: 60

Try WLR_DRM_NO_MODIFIERS=1
Try WLR_DRM_NO_ATOMIC
Post sudo hwinfo > hwinfo.log - that will show us kernel params as well as detailed hardware info.

Hi, thank you! my make/model is Huawei/Matebook14. I believe I'm in the pure cpu mode, the Nvidia GPU is deactivated. I will try the options you mentioned.
hwinfo seems to generate 10000+ lines log file, I used lspci then.
00:00.0 Host bridge: Intel Corporation Coffee Lake HOST and DRAM Controller (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 0c)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Point-LP Thermal Controller (rev 30)
00:14.0 USB controller: Intel Corporation Cannon Point-LP USB 3.1 xHCI Controller (rev 30)
00:14.2 RAM memory: Intel Corporation Cannon Point-LP Shared SRAM (rev 30)
00:14.3 Network controller: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] (rev 30)
00:15.0 Serial bus controller: Intel Corporation Cannon Point-LP Serial IO I2C Controller #0 (rev 30)
00:15.1 Serial bus controller: Intel Corporation Cannon Point-LP Serial IO I2C Controller #1 (rev 30)
00:16.0 Communication controller: Intel Corporation Cannon Point-LP MEI Controller #1 (rev 30)
00:1c.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #5 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Point-LP PCI Express Root Port #9 (rev f0)
00:1e.0 Communication controller: Intel Corporation Cannon Point-LP Serial IO UART Controller #2 (rev 30)
00:1e.3 Serial bus controller: Intel Corporation Cannon Point-LP Serial IO SPI Controller (rev 30)
00:1f.0 ISA bridge: Intel Corporation Cannon Point-LP LPC Controller (rev 30)
00:1f.3 Audio device: Intel Corporation Cannon Point-LP High Definition Audio Controller (rev 30)
00:1f.5 Serial bus controller: Intel Corporation Cannon Point-LP SPI Controller (rev 30)
01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX250] (rev a1)
02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983

sway.log with conservative mode

GNOME_KEYRING_CONTROL=/run/user/1000/keyring
[2024-05-04 12:30:03.281] [info] Using configuration file /home/leeliu/.config/waybar/config
[2024-05-04 12:30:03.398] [info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[2024-05-04 12:30:03.399] [info] Using CSS file /home/leeliu/.config/waybar/style.css
[2024-05-04 12:30:03.408] [warning] Mapping is not an object
[2024-05-04 12:30:03.613] [info] Bar configured (width: 2160, height: 24) for output: eDP-1
[2024-05-04 12:30:12.572] [warning] Mapping is not an object
[2024-05-04 12:30:12.694] [info] Bar configured (width: 3440, height: 24) for output: HDMI-A-2
[2024-05-04 12:30:12.694] [error] Item '': No icon name or pixmap given.
[2024-05-04 12:30:12.703] [error] Item '': No icon name or pixmap given.
[2024-05-04 12:30:12.704] [error] Item '': No icon name or pixmap given.
[2024-05-04 12:30:15.080] [info] Bar removed from output: HDMI-A-2
[2024-05-04 12:30:15.812] [warning] Mapping is not an object
[2024-05-04 12:30:15.923] [info] Bar configured (width: 3440, height: 24) for output: HDMI-A-2
[2024-05-04 12:37:06.361] [info] Bar configured (width: 1920, height: 24) for output: HDMI-A-2
[
  {
    "success": true
  }
]
[2024-05-04 12:37:53.198] [info] Bar removed from output: HDMI-A-2
[
  {
    "success": true
  }
]
[2024-05-04 12:38:08.554] [warning] Mapping is not an object
[2024-05-04 12:38:08.671] [info] Bar configured (width: 3440, height: 24) for output: HDMI-A-2
[2024-05-04 12:38:11.434] [info] Bar removed from output: HDMI-A-2
[2024-05-04 12:38:12.120] [warning] Mapping is not an object
[2024-05-04 12:38:12.402] [info] Bar configured (width: 1920, height: 24) for output: HDMI-A-2
[
  {
    "success": true
  }
]
[
  {
    "success": true
  }
]
[2024-05-04 12:39:48.082] [info] Bar removed from output: HDMI-A-2
[2024-05-04 12:39:48.782] [warning] Mapping is not an object
[2024-05-04 12:39:48.901] [info] Bar configured (width: 1920, height: 24) for output: HDMI-A-2
~

The results of step 2
GNOME_KEYRING_CONTROL=/run/user/1000/keyring
[2024-05-04 12:44:19.619] [info] Using configuration file /home/leeliu/.config/waybar/config
[2024-05-04 12:44:19.620] [info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[2024-05-04 12:44:19.620] [info] Using CSS file /home/leeliu/.config/waybar/style.css
[2024-05-04 12:44:19.626] [warning] Mapping is not an object
[2024-05-04 12:44:19.677] [warning] Mapping is not an object
[2024-05-04 12:44:19.948] [info] Bar configured (width: 2160, height: 24) for output: eDP-1
[2024-05-04 12:44:19.949] [info] Bar configured (width: 3440, height: 24) for output: HDMI-A-2
[2024-05-04 12:44:20.217] [info] Bar configured (width: 1920, height: 24) for output: HDMI-A-2
[
  {
    "success": true
  }
]
[
  {
    "success": true
  }
]
[2024-05-04 12:44:56.186] [info] Bar removed from output: HDMI-A-2
[2024-05-04 12:44:56.870] [warning] Mapping is not an object
[2024-05-04 12:44:56.992] [info] Bar configured (width: 1920, height: 24) for output: HDMI-A-2
[
  {
    "success": true
  }
]
[
  {
    "success": true
  }
]
[2024-05-04 12:45:49.986] [info] Bar removed from output: HDMI-A-2
[2024-05-04 12:45:50.677] [warning] Mapping is not an object
[2024-05-04 12:45:50.796] [info] Bar configured (width: 1920, height: 24) for output: HDMI-A-2
[
  {
    "success": true
  }
]
[2024-05-04 12:46:49.592] [info] Bar removed from output: HDMI-A-2
[
  {
    "success": true
  }
]
[2024-05-04 12:46:55.837] [warning] Mapping is not an object
[2024-05-04 12:46:55.949] [info] Bar configured (width: 3440, height: 24) for output: HDMI-A-2
~

3, sway.log file
GNOME_KEYRING_CONTROL=/run/user/1000/keyring
[2024-05-04 12:54:52.821] [info] Using configuration file /home/leeliu/.config/waybar/config
[2024-05-04 12:54:52.886] [info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
[2024-05-04 12:54:52.886] [info] Using CSS file /home/leeliu/.config/waybar/style.css
[2024-05-04 12:54:52.892] [warning] Mapping is not an object
[2024-05-04 12:54:52.930] [warning] Mapping is not an object
[2024-05-04 12:54:53.164] [info] Bar configured (width: 2160, height: 24) for output: eDP-1
[2024-05-04 12:54:53.165] [info] Bar configured (width: 3440, height: 24) for output: HDMI-A-2
[2024-05-04 12:54:53.439] [info] Bar configured (width: 1920, height: 24) for output: HDMI-A-2
[
  {
    "success": true
  }
]
[2024-05-04 12:55:28.867] [info] Bar removed from output: HDMI-A-2
[
  {
    "success": true
  }
]
[2024-05-04 12:55:56.414] [warning] Mapping is not an object
[2024-05-04 12:55:56.784] [info] Bar configured (width: 1920, height: 24) for output: HDMI-A-2
[2024-05-04 12:55:59.230] [info] Bar removed from output: HDMI-A-2
[2024-05-04 12:55:59.913] [warning] Mapping is not an object
[2024-05-04 12:56:00.024] [info] Bar configured (width: 1920, height: 24) for output: HDMI-A-2

By the way, just a work around, remove the log file seems eliminate the issue.
exec way-displays

Thanks for all the digging. Unfortunately there's nothing unusual in the sway logs.
What were the results of 1, 2 and 3? Did the display work correctly?

By the way, just a work around, remove the log file seems eliminate the issue.

That is very strange! Do you mean that the display failures are eliminated?
Is it an issue with /tmp? What happens when you log to another filesystem, say, /home/alex/wd.log?
Alternatively, for testing, you could run way-displays from a terminal so that we can see the output. You would need to remove the exec way-displays line from your sway setup first.

For the option 1,2,3, all of them display correctly, but they still created really large log file (about 1GB).
The display works, but it creates infinite log file which consumes all the /tmp space. I will try to store it into another location and update it later.

I tried to log to /home/leeliu/wd.log, the logging file goes to 1GB too when monitor has been off.

This is very puzzling; I'm not able to replicate anything with sway 1.9 wlroots 0.17.2. Deprecated dpms off and current power off behave as expected.
Let's confirm so that we can come up with a full test case:

Does the issue occur after dpms off or before?
Why do you use dpms off before sleeping?
Can you use way-displays -s disabled HDMI-A-1 instead of dpms off?

Based on the above, I'm going to ask for a complete single test case. We have a lot of information above however they are for different scenarios and it's not clear what the conditions are.


PIDP-771 Update Endorser Data for All Users for PAS

Need help for review and tests
Set endorser data for all BC Provider with endorsements when:

the user creates a BC Provider Account
the PLR status change
the user approves an endorsement

Duplicate with https://github.com/bcgov/moh-pidp/pull/428


[FLINK-16926][core] Reconfigure StreamExecutionEnvironment

This PR adds a workaround for FLINK-16560.
When starting a statefun Job via StatefulFunctionsClusterEntryPoint (an adopted version of a
JobClusterEntryPoint) the provided ExecutionEnvironment is initialized with an empty configuration. As a result the ExecutionEnvironment might be missing important configuration options set at flink-conf.yaml.
The workaround is to use the configuration obtained from GlobalConfiguration.loadConfiguration() to re-configure the execution environment provided.

@igalshilman I do not know how much in a hurry you are but https://issues.apache.org/jira/browse/FLINK-16560 has already reviewed PRs and it will be part of both 1.10.1 and 1.11.

Thanks @kl0u !
Once 1.10.1 would be released we would remove the work around and followup with a minor release of stateful functions.

Thanks, @igalshilman - looks good to me, merging this!


(multiple) better points-reduced-message

I've refined a line (in the debriefing, after an successful mission) which tells the user that the currently earned points have been reduced.
Before, the message sounded like the next time you'll finish the mission your points will be reduced.
In these six languages i fumbled around with various translation engines: italian, japanese, koreana, latam, russian, swedish.
Since I can't speak them, I've also reindented the changed lines, so you can have another look at them.
@MakinDay
@Deerlord0
@BRAIN-IS-BACK
@hangumi
@Blueberryy
@Crazymanbos
please have a look at rd_points_reduced_due_to_farming in 037dedd320958003f3d9c61eaafd9a5d22468149 :)

Hmm, the Korean translation is fine, it's neat in context.

The Swedish one is correct.

Гоокs бood, комгаdе

"このマップは最近プレイしたばかりです。獲得ポイントが減少しました。\n" sounds better for Japanese.

Ok, @BenLubar i think we're ready for a merge here, the only approval missing is the one from gaelcoral and he's left this part of his translation intentionally indented (for proofreading further the line) anyhow :)


get max(year) from csvURL using JS

Look forward to seeing this @superjai :)

Yay, using assets/js/highcharts_wrapper.js so far in
human-activities.html#L134-L139:
    createGraph(
      theData = 'https://docs.google.com/spreadsheets/d/e/2PACX-1vRE4yLL8XRMi2BAUTMgL5hNxVJ-RwFy_kbnaPKEhllULeSdgfXPfSwvKGVjw8QDNqY3iOVHx6D9sgl5/pub?output=csv',
      graph_location = "chart1",
      title = "Keys Resident Population",
      y_axis_label = "Population"
    );

Yay, sorted  with new createGraph()

More on that function createGraph(). I created a wrapper function for HighCharts that automatically calculates the bounds of the last five year purple band based on the data (like the image below):

This function is contained within a javascript file that I created called highcharts_wrapper.js, which is located in the assets/js folder.


Sample code for iOS and Android

Hi. I posted sample code for iOS and Android at https://stackoverflow.com/questions/75541953/sample-code-for-revenuecat-in-app-functions-in-xamarin-forms-or-net-maui. Hope it helps.
Cheers
Bill

Hi @BillFulton,
thanks for the sample code!
Am I allowed to put the link to the GitHub repository in the README.md of this one? (of course while mentioning you as creator)

Hey, you are most welcome, thisisthekap.
I’m not a hot coder but it works!
Absolutely terrific job you have done.
Cheers
Bill

On 23 Feb 2023, at 9:14 pm, thisisthekap @.***> wrote:
Hi @BillFulton https://github.com/BillFulton,
thanks for the sample code!
Am I allowed to put the link to the GitHub repository in the README.md of this one? (of course while mentioning you as creator)
—
Reply to this email directly, view it on GitHub https://github.com/thisisthekap/Xamarin.RevenueCat.iOS/issues/30#issuecomment-1441500722, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACVADQMYHOIBDLDMKYODQ6DWY4Z7DANCNFSM6AAAAAAVFMN5SM.
You are receiving this because you were mentioned.


How do I search for percentages

using 0.8.7 I would like to search for percentages, but this does not seems to work as % is a wildcard.
The data I am trying in search for has discounts.
@Test void testFindPercentages() {
  Company percentOff = repository.save(Company.of( //
          "Discount 50% off", 2011, //
          LocalDate.of(2021, 5, 1), //
          new Point(-122.066540, 37.377690<EMAIL_ADDRESS>//
  ));
  repository.save(percentOff);
SearchStream<Company> stream = entityStream.of(Company.class);

stream.filter("Disount 50% off").collect(Collectors.toList());// gives a Jedis syntax error
List<Company> companies = stream.filter("50 \\%").collect(Collectors.toList());
assertThat(companies).hasSize(1);//fails since it is 0 (not found)
}

thanks

@rjdkolb Richard, the issue here is that with RediSearch % and other query special characters need to be escaped on insertion, the test below works:
@Test void testFindPercentages() {
    Company percentOff = companyRepository.save(Company.of( //
      "Discount 50\\% off", 2011, //
      LocalDate.of(2021, 5, 1), //
      new Point(-122.066540, 37.377690<EMAIL_ADDRESS>//
    ));
    companyRepository.save(percentOff);
    List<Company> companies = entityStream.of(Company.class).filter("Discount 50\\% off").collect(Collectors.toList());

    assertAll( //
      () -> assertThat(companies).hasSize(1),
      () -> assertThat(companies).extracting("name").contains("Discount 50\\% off")
    );
  }

Thanks Brian. Makes sense.


"The post was not saved to the repository"

Hi there,
I tested Pondent and got the following error at the top of the page while hiting the "Post" button:
Save Failed

The post was not saved to the repository. The server returned the following response:

{
  "message": "Not Found",
  "documentation_url": "https://docs.github.com/rest/reference/repos#create-or-update-file-contents"
}

I double checked the settings. Here they are:
Settings
Owner: RoneoOrg
Repo: hugo-theme-hexandcube
Branch: master

Posts
Directory: content/posts/
Commit: Pondent edit

Uploads
Directory: static/
URL: /
Commit: Pondent upload

GitHub
User: RoneoOrg
Token: ghp_z[...]

The corresponding repo: https://github.com/RoneoOrg/hugo-theme-hexandcube
Any hint?

Are you using the personal access token because the 'Authorise with GitHub' button didn't work? I've recently changed something on the backend and while I thought that was working, I just tested it again and it redirects me to a page saying 'Authorising…' that never goes anywhere.
The personal access token should work, too, but perhaps something's changed with how Pondent is supposed to send that and it's causing the error.

The 'Authorise with GitHub' button was indeed broken. A mistake on my part as part of the change from using a Heroku dyno as a proxy to using a Cloudflare Worker. It should be working now. Let me know if when you log in that way, you're able to post.

Yes it's working fine now, thanks!

Thanks for letting me know! I'll also make a note to investigate what's going on with the personal token setting. That should have worked unless GitHub's changed something.


Make CredentialValues and SubProofRequest structs Deserialize-able

Why am I doing this?
I was experimenting with usage of ursa in iOS and during those experiments I have created my tiny rust wrapper for ursa with a different ffi interface that suited my goals.
While making a wrapper I found useful the option to deserialise SubProofRequest and CredentialValues structures from JSON as iOS application can receive already created mentioned structures in a form of JSON. Thus creating them through builders via ffi could be unnecessary.
What changed
Trait Deserialize is added to the structures:

SubProofRequest
CredentialValues

PS: I am not sure that it is an ursa way to do things, but hope such a changes won't hurt :)

Thanks for this PR. Can you add your DCO to the commit?
The easiest way to do this is to use git commit -s --amend

Just fix the out-of-date issue and we can merge it.


refract structs and update docs

Not going to merge this in case you have other plans, but feel free to merge when ready 👍


Add Private Endpoints to App Services (SR & Metabase)

Request from OCIO, as it says on the tin.

This item is going to the icebox for now. When pressed for the policy, the original sender never responded, and has not followed up with us. This item can be picked back up for the sake of security, if desired, but it is not a high-priority ask for now.


More SPSE improvements

Pull Request (PR) description
This PR adds several more SharePoint Server Subscription Edition improvements:

New Certificate Settings resource
Added SPSE unit tests to the pipeline
Made all unit tests compatible with SPSE
Several minor fixes that were discovered during unit testing

It also adds a new OOS resource, that was recently requested.
This Pull Request (PR) fixes the following issues

Fixes #1357

Task list

[x] Added an entry to the change log under the Unreleased section of the file CHANGELOG.md.
Entry should say what was changed and how that affects users (if applicable), and
reference the issue being resolved (if applicable).
[x] Resource documentation added/updated in README.md.
[x] Resource parameter descriptions added/updated in README.md, schema.mof and comment-based
help.
[x] Comment-based help added/updated.
[x] Localization strings added/updated in all localization files as appropriate.
[x] Examples appropriately added/updated.
[x] Unit tests added/updated. See DSC Community Testing Guidelines.
[x] Integration tests added/updated (where possible). See DSC Community Testing Guidelines.
[x] New/changed code adheres to DSC Community Style Guidelines.

This change is

Is there a link to the new version of the module?
We are using https://techcommunity.microsoft.com/gxcuf89792/attachments/gxcuf89792/SharePointDsc/43/1/SharePointDsc_v5.0_SPSE-PublicPreview.zip but after upgrading to SP SE RTM it stopped working properly with installing prerequisites.

Hi @shurick81, you can download the v5.0 branch and then run .\build.ps1 -Tasks Build. That will create a new local version of the module in the newly created output folder in the project folder, which you can use.
One remark: The Build process will try to use gitversion to determine the version number that should be used. If you don't have that installed on your machine, you might end up with a module version 0.0.1. It works just as fine, but only showing an incorrect build number :wink:


How to install on an iPhone?

Hi, this looks like an interesting project! However, not entirely sure how to install this on an iOS device. I tried via diawi.com but it complained about not being able to verify integrity, and tutorials I found referenced profiles, but I didn't find any in the device management tab in Settings.
Any idea what went wrong?

You on windows or mac? Have you tried this method?

Is there a method that doesn't involve an Apple developer account? Sorry to hassle you about this!

Is there a method that doesn't involve an Apple developer account? Sorry to hassle you about this!

no, until i publish the app in testfligh

Now you can install with TestFlight


Why do I use rtsponlyaudio to record audio in MPEG, mp4a format. The recorded audio file cannot be used normally when it is put on the web page.

I use mp4 because I'm using MediaMuxer and only that format is supported:
https://developer.android.com/reference/android/media/MediaMuxer#MediaMuxer(java.lang.String, int)


Allow vendor_path to be configured

Goal
By default, lines within vendor/ or .bundle/ are consider “out of project”. This is a good default for most Rails projects but there are other directories we’d also like to ignore. For example, patches to gems or the framework. If left as “in project”, these lines cause multiple issues to be grouped together because the first line in the stacktrace always points to the same patch line.
Right now, we’ve side stepped this by reaching into the gem and redefining Bugsnag::Stacktrace::VENDOR_PATH but it would be wonderful if this was a configurable option like any other.
Changeset
Added
vendor_path can now be configured.
This allows developers to set the vendor path regular expression, used to determine whether or not a line in the stacktrace appears in the project stacktrace or the full trace.
Bugsnag.configure do |config|
  config.vendor_path = /(^(vendor\/|\.bundle\/|extensions\/))/
end

Tests

Test for the configuration setter and getter were added.
Tests to ensure the new configuration option was respected was added for Bugsnag::Stacktrace.

Discussion
Outstanding Questions
Should the name of the configuration option be changed? Instead of vendor_path, perhaps project_file_pattern or similar.
Review

For the submitter, initial self-review:

[ ] Commented on code changes inline explain the reasoning behind the approach n/a
[x] Reviewed the test cases added for completeness and possible points for discussion
[x] A changelog entry was added for the goal of this pull request
[x] Check the scope of the changeset - is everything in the diff required for the pull request?
This pull request is ready for:

[x] Initial review of the intended approach, not yet feature complete
[x] Structural review of the classes, functions, and properties modified
[ ] Final review

For the pull request reviewer(s), this changeset has been reviewed for:

[ ] Consistency across platforms for structures or concepts added or modified
[ ] Consistency between the changeset and the goal stated above
[ ] Internal consistency with the rest of the library - is there any overlap between existing interfaces and any which have been added?
[ ] Usage friction - is the proposed change in usage cumbersome or complicated?
[ ] Performance and complexity - are there any cases of unexpected O(n^3) when iterating, recursing, flat mapping, etc?
[ ] Concurrency concerns - if components are accessed asynchronously, what issues will arise
[ ] Thoroughness of added tests and any missing edge cases
[ ] Idiomatic use of the language

CI failure seems unrelated to this changeset but I can't explain why master is passing while this branch isn't:
$ bundle _${BUNDLE_VERSION}_ install --with "$GEMSETS" --binstubs
Fetching https://github.com/bugsnag/maze-runner
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies....
Installing rake 12.3.2
Installing concurrent-ruby 1.1.5
Installing minitest 5.11.3
Installing thread_safe 0.3.6
Installing addressable 2.3.8
Installing coderay 1.1.2
Installing connection_pool 2.2.2
Installing safe_yaml 1.0.5
Installing diff-lcs 1.3
Installing hashdiff 0.4.0
Installing method_source 0.9.2
Installing rack 2.0.7
Installing rdoc 5.1.0
Installing redis 4.1.2                                    -----
Gem::InstallError: redis requires Ruby version >= 2.3.0. <----- redis 4.1.2 doesn't work with Ruby 2.2
Installing rspec-support 3.8.0                            -----
Using bundler 1.12.0
Installing i18n 1.4.0
Using bugsnag 6.11.1 from source at `.`
Installing tzinfo 1.2.5
Installing crack 0.4.3
Installing pry 0.12.2
Installing rack-protection 2.0.5
An error occurred while installing redis (4.1.2), and Bundler cannot continue.
Make sure that `gem install redis -v '4.1.2'` succeeds before bundling.
The command "bundle _${BUNDLE_VERSION}_ install --with "$GEMSETS" --binstubs" failed and exited with 5 during .

🤔

I fixed the Ruby 2.2 + redis gem issue in https://github.com/bugsnag/bugsnag-ruby/pull/546 so you can merge master into your branch to fix it if you want. However, new features go into the next branch, so you might want to wait until that branch is brought up to date and then we'll try switching the base branch of this pull request to next.

I updated the next branch and changed the base branch of this pull request to next. @jnraine Can you update this when you get the chance?

This option was present in 5.5 and was removed without giving any reason. https://github.com/bugsnag/bugsnag-ruby/pull/253. It used to allow arrays, and I believe it still should since you can have more than 1 vendor path.

@tedyangx/@mctaylorpants, can you take this to completion? It'll let you drop a monkey patch from the codebase. 😄

@jnraine yep we can take a look! Are you able to give us write access to your fork?

@mctaylorpants Done! Thanks for taking a look.


Add batterystate to watch app

Add batterystate to watch app.
Second try. This time with style lint.

Looks awesome!


Seek feedback on existing data from providers

Description
As a developer, I want to seek feedback from providers to know whether the models and data are presented on the portal in line with their expectations.
List of contacts to include:
provider
number of submitted models
diagnosis
tumour site
tumour type
contact
email
Folder for the query results here: https://drive.google.com/drive/folders/1NUk9ZH0FKGAZFU2c5Ecavyu-uwSROhzO
Acceptance criteria

[ ] a list of contacts as described above in Google drive @CsabaHalmagyi
[ ] make a survey for providers
[ ] send the survey to all contacts in the list

I started working on this. Not every provider has emails, some use contact form urls. To this I am also going to include the mapped diagnosis term and construct the url to the model in the finder.

Query for future purposes
match (ps:PatientSnapshot)--(s:Sample)--(mod:ModelCreation) with distinct s, mod
optional match (s)--(ot:OntologyTerm)
optional match (tt:TumorType)--(s)-[:SAMPLE_SITE]-(pt:Tissue)
optional match (mod)--(eu:ExternalUrl{type:"contact"})
return distinct mod.dataSource as DataSource, mod.sourcePdxId as ModelId, s.diagnosis as Diagnosis,
ot.label as MappedTerm, tt.name as TumorType, pt.name as PrimaryTissue,
collect(eu.url) as Contacts, "https://www.pdxfinder.org/data/pdx/"+mod.dataSource+"/"+mod.sourcePdxId as PdxFinderUrl

@zperova to split this into 2 separate tickets

Data exported and uploaded to drive.

done


New version: Hugo.Hugo version 0.125.0

Created by 🥟 Dumplings in workflow run #4445.
Logs
Updated: 0.124.1 → 0.125.0
Submitting WinGet manifests

Microsoft Reviewers: Open in CodeFlow

Spaces detected in version number.
(Automated response - build 876)


Connection problems with gradle plugin

What version of Flyway are you using?
4.2.0
Which client are you using?
Command-line and Gradle plugin
What database are you using (type & version)?
MSSQL 2014
What operating system are you using?
Windows 10
What did you do?
In the command line:
flyway info -url=jdbc:jtds:sqlserver://localhost:1433/<dbname> -user=myuser -password=mypassword
with gradle:
gradlew flywayInfo -Purl=jdbc:jtds:sqlserver://localhost:1433/<dbname> -Puser=myuser -Ppassword=mypassword
What did you expect to see?
The table with the version, desc, installed on and state column
What did you see instead?
The expected for the command line tool, but I got an exception with gradlew

Unable to connect to the database. Configure the url, user and password!

Gradle properties must be prefixed with flyway.. See https://flywaydb.org/documentation/gradle/#gradle-properties


figures

I am trying to figure this out.

👍😍

@ImaginalaticWizardry please don't open PRs at all until you understand how github works, but also this and #2736 are both spam.


Feature/runtime roles

Issue #, if available:
#10
Description of changes:

Adds support for --job-role flag for EMR on EC2.

This PR enables the passing of execution roles at runtime for EMR EC2 steps via the --job-role parameter in emr run. This allows a tighter scoping of permissions for individual steps, which helps avoid blanket permissions being assigned at a cluster-level.
Changes were validated on an EMR EC2 cluster under release label emr-6.7.0 with support for Spark applications for the following cases:

[x] Executes under the specified --job-role for an EMR cluster with runtime roles enabled.
[x] Throws an error when a run is attempted without passing the --job-role parameter on an EMR cluster with runtime roles enabled:
[emr-cli]: An error occurred (ValidationException) when calling the AddJobFlowSteps operation: Runtime roles are required for this cluster. Please specify the role using the ExecutionRoleArn parameter.
[x] Continues to execute under a cluster's default instance profile for an EMR cluster without runtime roles enabled when no --job-role is passed.
[x] Throws an error when a run is attempted with a --job-role parameter on an EMR cluster without runtime roles enabled:
[emr-cli]: An error occurred (ValidationException) when calling the AddJobFlowSteps operation: Runtime roles are not supported on this cluster. Please remove the ExecutionRoleArn parameter and re-run the request.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This looks great, thank you!
I was going to have you add a note to the README, but realized I need to overhaul it anyway now that EMR on EC2 is supported so I wouldn't worry about that for now unless you're feeling ambitious. ;)


[BUG] UWP Grouped ListView Scroll Bug on Windows 1803 and later

Hello,
I am experiencing a strange bug on all of my UWP Apps where all ScrollViewers in the App break and I need to restart the app. I already explained this on the developer community and they redirected me here. The original thread: https://developercommunity.visualstudio.com/content/problem/569414/bug-uwp-grouped-listview-scroll-bug-on-windows-180.html
Short Description:
After Navigating a few times all ScrollViewers inside ListView and GridView stop working when the Mouse Wheel is used for Scrolling. The ScrollViewer does scroll but the Page does not get rendered anymore. (Scrolling with mouse courser does work)
Prerequisits:
Sample uwp project:
SampleApp.zip

A Windows PC with at least build 17134 or 17763 (I reproduced the error on both versions) (the error does not occur on 14393 and on 15063) (I didn't test other versions)
A UWP Project (I don't know if it makes a difference if I target different UWP version. I have the bug both targeting 10240 and 15063 and 17134)
Two Pages where at least one of them has a grouped listview or grouped gridview
Navigating forth and back on these two pages while scrolling with the mouse wheel until the ScrollViewer breaks.

Long Description:
After Starting the App I Navigated forth and back on the two pages while scrolling. Randomly the View rendering gets slower and sometimes sooner sometimes later (sometimes I had to restart the App 1 or 2 times and then I got the error pretty soon) the ScrollViewer inside the ListView or GridView break. After that when the Mouse Wheel is used to scroll the ScrollIndicator does follow the Scrolling of the Mouse Wheel but the Content of the Page does not follow the Scrolling. Strangly the Mouse Pointer Event does seem to be where it should be because you can see that not the row where the mouse pointer is gets highlighted but the row where the mouse pointer should be if the content would be scrolling to where it should be. After The ScrollViewer is broken all other ScrollViewers in the App are broken even on different pages after a navigation nothing scrolls as it is supposed to. There is no way to fix it at this stage apart from closing and restarting the entire app.
I captured a video of my screen while I reproduced the Issue and added it to the attachments as well. In this video I am scrolling very rapidly but I have also reproduced this with normal use.
Expected behavior
The ScrollViewer does not break and scrolls normally
Screenshots
Reproduction Video.zip
NuGet package version:
I don't have a nuget package with the name Microsoft.UI.Xaml I only have Microsoft.NETCore.UniversalWindowsPlatform 6.2.8
Which Windows versions did you see the issue on? Leave blank if you didn't try that version.

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2019 Update (18362)

October 2018 Update (17763)
Yes

April 2018 Update (17134)
Yes

Fall Creators Update (16299)

Creators Update (15063)
No

Anniversary Update (14393)
No

Which device form factors did you see the issue on? Leave blank if you didn't try that device.

Device form factor
Saw the problem?

Desktop
Yes

Mobile

Xbox

Surface Hub

IoT

@DerGary thanks for reporting this.  Love having videos / pics to show a repro + detailed steps.  This sounds very similar to issues we've seen in the past that have been very hard to track down.  We believe we identified and fixed one instance of this, but maybe not all occurences (see #666).  Could you give it a try on a recent build?

@micahl thank you for your fast answer. Sorry I opened another issue. On my initial search I didn't found an open issue.
I just tried to reproduce the issue on 1903 in a Virtual Machine over a remote desktop connection and I could not reproduce it. (But I don't know if it worked because of the fact that it is a virtual machine or the remote desktop connection changes the scroll input signal in any way?)

No problem.  I'd rather see duplicate issues opened than having a potentially unique issue remain unknown.
Based on your repro video I believe this issue is the same as the one we fixed which could be triggered by switching between different viewports.  Wim re-posted what I shared with him when we investigated the root cause.


Remove the xdebug remote log, because it's not needed if not in rare …

…cases and it produces a lot of annoying warnings.
:)

Woud it be better to make those optional instead of completely removing them?

Modifications after last commit:

the xdebug remote file is not added by default, but a variable called "xdebug_remote_debug_log" is provided. The variable is set to false by default. (maybe not even necessary?)
the xdebug ini file is called zzz-xdebug now, instead of 15-xdebug to be read last, following teemu's suggestion.

there was a command to add a [xdebug] section to the ini file which I removed, because it just added that section everytime I ran the provisioning.


Can't find "verify_with_drift_and_prior" in the codebase

I am trying to follow the installation instructions on verifying OTP tokens that have not been used already, using the suggested method totp.verify_with_drift_and_prior (as described in the README) but it doesn't work and I can't find the method in the gem's codebase.
Is this method in some new branch?  I'm using v3.1.0 of the gem.
Cheers, Dan

Hey Dan,
This should be in version 3.2 and greater, unfortunately. The latest version of this gem is 3.3.1
The code can be found here:
https://github.com/mdp/rotp/blob/master/lib/rotp/totp.rb#L59

@mdp - thank you, that worked for me.


Prism Blog Post

Chore summary
Prism Blog Post
Tasks

[ ] Need to do this
[ ] And do that

Additional context
Add any other context about the chore here.

I gave it another round and changed some small things, but I think the text is almost completed.

How's this one coming along? I saw a draft that looks great, can we schedule the post and close the issue?

I'm good with the text; unless Taylor wants to suggest some other changes, I consider this done.

This wasn't something assigned to me, but I'm happy to take a look if someone sends it to me.

Taylor this was a duplicate from our Jira to ZenHub/GitHub migration. You had the equivalent Jira story assigned and this was just floating about afterwards. :)
--
Phil Sturgeon
@philsturgeon

On Jul 15, 2019, at 14:27, Taylor Barnett<EMAIL_ADDRESS>wrote:
This wasn't something assigned to me, but I'm happy to take a look if someone sends it to me.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Uhhh, not seeing that in Jira. Only Vincenzo, also in the release plan. Maybe you got it confused with Spectral?

I do do that, sorry. Ok. All on Vincenzo!
--
Phil Sturgeon
@philsturgeon

On Jul 15, 2019, at 15:00, Taylor Barnett<EMAIL_ADDRESS>wrote:
Uhhh, not seeing that in Jira. Only Vincenzo, also in the release plan. Maybe you got it confused with Spectral?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


can we use kaltura player in UV?

need to know how to integrate kaltura into unviersalviewer, both a playlist code and a single video

Using UV compound viewer with embedded Kaltura viewer for compound objects.  No Kaltura playlist needed

Will render a compound from the index, expecting each "part" object to have an "entry_id" field

526d6b190bde00d3faae62862afea97649b4bb2b
b44da23071f09b57324342a3046c4906ce9dc414

I can’t add identifier fields at the file level in ArchivesSpace without adding properties to the file_version table, which runs the risk of breaking future upgrades

not to say it isn’t possible, but I’ll need to set up digital objects differently in the database and rewrite the API calls. this might take me a few weeks because ALA is coming up

We can also get the entry_id from the "kalturaid.txt" file.  This would take another call to the duraspace api but that is fine.  No need to add another id field

It's fine; I think the digital_object_component approach in ArchivesSpace will be easier to implement than having to generate another text file. I've got the code pretty much written already, just need to document it and run it by the archivists

Kaltura viewer iframe has been integrated into the UV player, single and compound objects.


Make combinator Sink.ObservableSink public

It is very useful to be able to combine a sink and an observable into a new handler, so please make ObservableSink public.

This is possible now with the new PipeOps.


Roll Engine from 0b20b9d14582 to 8e40202c509c (1 revision)

https://github.com/flutter/engine/compare/0b20b9d14582...8e40202c509c
2022-04-01<EMAIL_ADDRESS>Roll Skia from 67c163ca4842 to dcd21712d81b (1 revision) (flutter/engine#32381)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Handle \r\n (CRLF) in files.

Have Python replace any JSON line string it read containing \n with [\n\r]. (finds any permutations of \n + \r)

Closing old issues.


kernel: send all fatal messages to the logging mechanism

This PR:

Removes the z_fatal_print() API
All previous instances of z_fatal_print() replaced with LOG_ERR
For test cases, a CONFIG_TEST_LOGGING_DEFAULTS has been introduced. It by default enables logging in immediate mode for all tests. Tests that need an alternate logging configuration (such as tests of the logger itself) may disable this in the project configuration.
Fixes a few tests that fail if immediate logging is turned on

Since fatal errors only are reported to the logger, and fatal errors in CI logs should not have any dropped messages, we need to default to enabling the logger in immediate mode for all tests.
Longer term this paves the way to replace virtually all instances of printk() or customized debug macros in kernel or arch code with logging calls.

Some failures observed, looking into them:
bbc_microbit/tests/bluetooth/mesh/test_microbit - fails due to insufficient RAM space
qemu_x86_nommu/tests/kernel/profiling/profiling_api/kernel.profiling  - hangs during test
qemu_x86/tests/kernel/profiling/profiling_api/kernel.profiling - spurious interrupt exception
qemu_nios2/tests/crypto/tinycrypt/crypto.tinycrypt - fails due to insufficient ROM space

@aescolar I thought that we want to have single way of logging and in that case depending everywhere on single module rather than using alternatives is a good thing. Logger is used everywhere in zephyr then what sense does it make to not use it here where actually it is the most crucial when you think about feature like crashlog.
Current (printk) approach is maybe simpler but it's debugging only feature with console attached. Logger gives the same and adds more by supporting multiple backends. Once flash backend is added you can crashlog and that will be much more useful in the field than printk.

I'm quite concerned about the overall direction we are going: increasing dependencies in between subsystems and decreasing Zephyr's modularity. And, increasing requirements on the platform.
So even though in this case we are "just" routing the fatal prints thru the logger, and in itself it is not too bad, as one can just do without those prints, it seems to be a symptom of an overall tendency: An assumption that there is plenty of RAM and resources to spare for all possible fancy features.

@aescolar right now we have a hodgepodge of whether code uses printk or logs to emit diagnostic data. Setting this up instead in a consistent way using a single interface is what we need to do. The logging subsystem is here, we should fully commit to it. And we already use log macros elsewhere in the kernel.
Worse case if this actually becomes a footprint issue for anyone: you could literally just macro LOG_ERR() to printk() and then there is no difference. log_strdup() would just be a no-op returning the supplied pointer. LOG_MODULE_DECLARE() expands to nothing. This interface can scale down to an implementation of trivial size if we need it to, controlled by Kconfig.

I agree with the comments made by @andrewboie and @nordic-krch. Let's use a single mechanism, which will also allow for fatal errors to be stored in places like flash for devices in the field, and then optimize the logging subsystem if necessary for small footprint.

Worst case if this actually becomes a footprint issue for anyone: you could literally just

Correct, today, in this case.

you could literally just macro LOG_ERR() to printk()

(sidetracking a lot) Or you could use a tracing method which does not relay on having any debug strings in the embedded image, and logs or transfers out only the bare minimum amount of data to reconstruct the message on a PC.
Anyhow as I said that is an overall concern about the overall approach we are having in Zephyr, where this particular case is just one symptom.
@andrewboie About my second part of the review, do you agree about adding that "Fatal.." to the commit message?
@nordic-krch My concern is that the logger, even that it is a nice concept and quite powerful, how it is built today, it is way too resource consuming, and therefore you cannot assume it will be possible for those who build with Zephyr to be able to use it.
Zephyr is "just" the OS. The resources on the SOC are there for an application's purpose. Any extra KB the OS uses is one KB less for the application, to implement the features the user actually wants. The end user does not care about the logger. The logger is just a debugging facility for the developer, and therefore using it in a final image, in many cases would only be possible by trading off actual application functionality.

Correct, today, in this case.

I think you're waving your arms here. What logging interface additions or changes would prevent this?

Or you could use a tracing method which does not relay on having any debug strings in the embedded image, and logs or transfers out only the bare minimum amount of data to reconstruct the message on a PC.

You CAN with this. It's not implemented, but with this current interface we could:

Save the format strings in a special section that is stripped out of the binary and saved in a build file, we'll call it the index file.
At runtime, logging never dereferences the format string pointer or does the printk() logic, it just logs the pointer value of the format string and any arguments supplied.
After-the-fact postprocessing of the collected logs on a workstation will take the logged binary data, use the index file to fetch the format strings, and then turn them into fully formatted log strings.

We can also introduce additional instrumentation point types, what we have right now are events that are specified with printf like syntax, but we could also do counters, time intervals, even runtime histograms. I worked on a tracing system in grad school that did all this stuff and the concepts are adaptable to the infrastructure @nordic-krch has created.

My concern is that the logger, even that it is a nice concept and quite powerful, how it is built today, it is way too resource consuming

You haven't established this, whereas I gave an example where we could have a stripped down implementation that is the same size as printk and a console driver. What's your counter-argument which shows that this isn't possible?

About my second part of the review, do you agree about adding that "Fatal.." to the commit message?

I edited the commit message and pushed an update.

@andrewboie Thanks for correcting the commit message.

You CAN with this..
@andrewboie I haven't said you can't, or have I? ;)
I was just presenting what I think would be a more optimal tracing/logging approach than what we have today, which you kindly elaborated on.

@andrewboie @nordic-krch
Anyhow, with my comment I did not intend to say we should stop using the logger, but that we should not assume everybody can use it, as it is today.
And as I also said, this particular case is a minor thing, and, from my point of view it could go in.
My general comment in the review is about the general tendency, not about this case or the logger in particular.
I wouldn't call it arm waving, but raising a general concern, so others are made aware of it.
Anyhow, as you have corrected the commit message, I remove the -1, but I would think it would make sense to allow time for others to review it instead of hurrying it into 2.0. I presume there is no urgency here?

Anyhow, as you have corrected the commit message, I remove the -1, but I would think it would make sense to allow time for others to review it instead of hurrying it into 2.0. I presume there is no urgency here?

I don't have much of a need for this to land in 2.0. It would be nice though.

@andrewboie can you rebase please?

mac:zephyr(): gg -E "BT_ERR|BT_INF|BT_WRN|BT_DBG|LOG_" kernel/ arch/ | wc -l
      62
mac:zephyr(): gg -E "BT_ERR|BT_INF|BT_WRN|LOG_|BT_DBG" subsys/bluetooth/ | wc -l
    1909

nuff said :)

huh, getting a weird link failure:
Sanitycheck / qemu_x86_coverage:tests/subsys/jwt/libraries.encoding / qemu_x86_coverage/tests/subsys/jwt/libraries.encoding
@pizi-nordic any idea? Think this is related to user mode log support
[178/187] Linking C executable zephyr/zephyr_prebuilt.elf
FAILED: : && ccache /opt/sdk/zephyr-sdk-0.10.3/i586-zephyr-elf/bin/i586-zephyr-elf-gcc    zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj  -o zephyr/zephyr_prebuilt.elf  -Wl,-T zephyr/linker.cmd -Wl,-Map=/home/buildslave/src/github.com/zephyrproject-rtos/zephyr/out-3nd-pass/qemu_x86_coverage/tests/subsys/jwt/libraries.encoding/zephyr/zephyr_prebuilt.map -Wl,--whole-archive app/libapp.a zephyr/libzephyr.a zephyr/arch/arch/x86/core/libarch__x86__core.a zephyr/lib/libc/newlib/liblib__libc__newlib.a zephyr/soc/x86/ia32/libsoc__x86__ia32.a zephyr/subsys/testsuite/ztest/libsubsys__testsuite__ztest.a zephyr/subsys/jwt/libsubsys__jwt.a zephyr/drivers/serial/libdrivers__serial.a modules/mbedtls/lib..__modules__crypto__mbedtls.a -Wl,--no-whole-archive zephyr/kernel/libkernel.a zephyr/CMakeFiles/offsets.dir/arch/x86/core/offsets/offsets.c.obj -L"/opt/sdk/zephyr-sdk-0.10.3/i586-zephyr-elf/bin/../lib/gcc/i586-zephyr-elf/8.3.0" -L/home/buildslave/src/github.com/zephyrproject-rtos/zephyr/out-3nd-pass/qemu_x86_coverage/tests/subsys/jwt/libraries.encoding/zephyr -lgcc -Wl,--print-memory-usage -Wl,--gc-sections -Wl,--build-id=none -Wl,--sort-common=descending -Wl,--sort-section=alignment -u_OffsetAbsSyms -u_ConfigAbsSyms -nostdlib -static -no-pie -Wl,-X -Wl,-N -Wl,--orphan-handling=warn -Wl,--fatal-warnings -lm -lc -lgcc -L"/opt/sdk/zephyr-sdk-0.10.3/i586-zephyr-elf/i586-zephyr-elf"/lib/. && :
Memory region         Used Size  Region Size  %age Used
             ROM:      266276 B         4 MB      6.35%
             RAM:      299244 B         4 MB      7.13%
        IDT_LIST:         416 B         2 KB     20.31/opt/sdk/zephyr-sdk-0.10.3/i586-zephyr-elf/bin/../lib/gcc/i586-zephyr-elf/8.3.0/../../../../i586-zephyr-elf/bin/ld: zephyr/libzephyr.a(log_core.c.obj): in function `log_generic':
/home/buildslave/src/github.com/zephyrproject-rtos/zephyr/subsys/logging/log_core.c:390: undefined reference to `log_generic_from_user'
/opt/sdk/zephyr-sdk-0.10.3/i586-zephyr-elf/bin/../lib/gcc/i586-zephyr-elf/8.3.0/../../../../i586-zephyr-elf/bin/ld: zephyr/arch/arch/x86/core/libarch__x86__core.a(fatal.c.obj): in function `dump_entry_flags':
/home/buildslave/src/github.com/zephyrproject-rtos/zephyr/arch/x86/core/ia32/fatal.c:278: undefined reference to `log_from_user'
/opt/sdk/zephyr-sdk-0.10.3/i586-zephyr-elf/bin/../lib/gcc/i586-zephyr-elf/8.3.0/../../../../i586-zephyr-elf/bin/ld: zephyr/arch/arch/x86/core/libarch__x86__core.a(fatal.c.obj): in function `unwind_stack':
/home/buildslave/src/github.com/zephyrproject-rtos/zephyr/arch/x86/core/ia32/fatal.c:81: undefined reference to `log_from_user'
/opt/sdk/zephyr-sdk-0.10.3/i586-zephyr-elf/bin/../lib/gcc/i586-zephyr-elf/8.3.0/../../../../i586-zephyr-elf/bin/ld: /home/buildslave/src/github.com/zephyrproject-rtos/zephyr/arch/x86/core/ia32/fatal.c:87: undefined reference to `log_from_user'
/opt/sdk/zephyr-sdk-0.10.3/i586-zephyr-elf/bin/../lib/gcc/i586-zephyr-elf/8.3.0/../../../../i586-zephyr-elf/bin/ld: /home/buildslave/src/github.com/zephyrproject-rtos/zephyr/arch/x86/core/ia32/fatal.c:109: undefined reference to `log_from_user'
/opt/sdk/zephyr-sdk-0.10.3/i586-zephyr-elf/bin/../lib/gcc/i586-zephyr-elf/8.3.0/../../../../i586-zephyr-elf/bin/ld: zephyr/arch/arch/x86/core/libarch__x86__core.a(fatal.c.obj): in function `dump_page_fault':
/home/buildslave/src/github.com/zephyrproject-rtos/zephyr/arch/x86/core/ia32/fatal.c:309: undefined reference to `log_from_user'
/opt/sdk/zephyr-sdk-0.10.3/i586-zephyr-elf/bin/../lib/gcc/i586-zephyr-elf/8.3.0/../../../../i586-zephyr-elf/bin/ld: zephyr/arch/arch/x86/core/libarch__x86__core.a(fatal.c.obj):/home/buildslave/src/github.com/zephyrproject-rtos/zephyr/arch/x86/core/ia32/fatal.c:311: more undefined references to `log_from_user' follow
collect2: error: ld returned 1 exit status
%
ninja: build stopped: subcommand failed.

I seen such errors only when both userspace and optimization in compiler were disabled. The object files held reference for never-called symbols. If you set CONFIG_NO_OPTIMIZATION, the stubs will be added for the missing functions.

I seen such errors only when both userspace and optimization in compiler were disabled. The object files held reference for never-called symbols. If you set CONFIG_NO_OPTIMIZATION, the stubs will be added for the missing functions.

@pizi-nordic Right but we have been gathering coverage data with user mode and system calls for quite some time now without issues.
This seems a problem specific to the user mode logging hooks.
Since before this patch, very few tests turned logging on, I think this is a problem with the user mode logging patch.

So what about the following change:
diff --git a/subsys/logging/log_core.c b/subsys/logging/log_core.c
index 3828c98241..80bfd6c52b 100644
--- a/subsys/logging/log_core.c
+++ b/subsys/logging/log_core.c
@@ -1081,7 +1081,7 @@ void log_hexdump_from_user(struct log_msg_ids src_level, const char *metadata,
        src_level_union.structure = src_level;
        z_log_hexdump_from_user(src_level_union.value, metadata, data, len);
 }
-#elif defined(CONFIG_NO_OPTIMIZATIONS)
+#else
 /*
  * With the optimizations disabled, the dead code is not removed and
  * references to functions used only by the usermode remains in the

This will provide stubs for usermode similar to stubs for normal logging which are there even if logger is disabled.

So what about the following change:

I'll try this...I need to understand better why the stubs are needed (this went in when I was on vacation and I'm just now looking at the code) but I'll see if that works.

Yeah, I see it now, that's the right fix. I'll add to the series.


Feature Request: Cookie support in TestClient

For applications which use a cookie based login mechanism it would be helpful if TestClient had built-in cookie support.
This should be relatively straightforward to implement, basically enable the cookie feature on the reqwest dependency and add a cookie_store(true) to the client builder.
If the additional dependencies are considered a problem this could probably also be enabled by a feature.

Merged, thanks!


Allow to support Velad installation without sudo mode

In the installation script of velad, it's possible to change the binary directory and not to use the sudo for the velad binary here:
https://github.com/kubevela/velad/blob/9849282a31c5b46fec6142f40a3835209352ab0d/hack/install-velad.sh#L6 and here https://github.com/kubevela/velad/blob/9849282a31c5b46fec6142f40a3835209352ab0d/hack/install-velad.sh#L9
This is a very useful option for the environments where users don't have the right to run sudo.
But thevelad install fails eventually because it could not setup k3s due to this error
Error: Fail to set up cluster: fail to setup k3s: Fail to prepare k3s binary: open /usr/local/bin/k3s: permission denied

It would be nice to apply such kind of option for the velad install.
So we could install and run velad without using the sudo and from a specific folder of our choice in an restricted environment (without sudo or any admin privileges).
Additional info

Velad version

velad version
Core Version: v1.9.4-patch.1
VelaD Version: v1.9.4-patch.1

OS version

cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"

First we should check if k3s support to install as a unprivileged user.

First we should check if k3s support to install as a unprivileged user.

it seems to be possible: https://github.com/k3s-io/k3s/issues/38

Then this will be possible, but still I have to tag it with help wanted. Let's see if someone would like to contribute to this.

Then this will be possible, but still I have to tag it with help wanted. Let's see if someone would like to contribute to this.


[bug] link appear black on dark mode

https://user-images.githubusercontent.com/38974541/140924732-a4e0a4ee-9bd2-49b5-968f-f2b82316e44b.mov

[ ]

It is now fixed in the latest update.


UI UX hard to understand

When I create bill it difficult to understand I think It created but it not

It will be on the instruction page that we still working on it #117 and we will improve UI UX as well thanks.


Considering method cascades?

Dart supports method cascades. Instead of each method returning this, you could instead have the method return void and use cascades:
  var regex = new VerbalExpression()
   ..startOfLine()
   ..then("http").maybe("s")
   ..then("://")
   ..maybe("www.")
   ..anythingBut(" ")
   ..endOfLine();

Method cascades don't force the API designer to think in fluent APIs or returning this. All APIs can become fluent.
Thoughts?

@sethladd Good point.
This library was created from the point of builder pattern. But, really, this approach will help us to get rid of most returns and simplify library usage like:
var regex = new VerbalExpression()
   ..startOfLine()

//do something specific

regex
   .then("http")
   ..maybe("s");

//do something specific

regex
   .then("://")
   ..endOfLine();

instaed of:
var regex = new VerbalExpression()
   .startOfLine()

//do something specific

regex = regex
   .then("http")
   .maybe("s");

//do something specific

regex = regex
   .then("://")
   .endOfLine();

Will think about it and, most of all will change it soon.

Thanks!


add token nasi

[ ] I understand that a pull request does not guarantee addition to the ZilStream token list.
[ ] I will not ping the ZilStream team about this listing request.
[ ] I have added my token to the ViewBlock Meta Repo.
[ ] I have added smart contracts and team wallet addresses (or any other address containing locked funds) to supply_skip_addresses.

Please PR the token's metadata and logo to the ViewBlock Meta Repo first


Template expander includes extra blank lines

Example:
https://github.com/bundler/bundler/blob/27ab011a686cfbd99fdee56362f68b961458f976/lib/bundler/templates/newgem/newgem.gemspec.tt
The generated output will be:

lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
...

which includes an unnecessary blank line at top.

apparently, this is already been fixed by this commit:
https://github.com/bundler/bundler/commit/00fd58eaa69015092ee272c4cb5aa92a5e7ee45c
but is not yet released
some quick test:
v 1.17.3 (latest released) the empty line is there
v 2.0.0.pre.3 the empty line is there
v 2.0.0.dev (current master branch) the empty line is not there anymore
I hope this is helpfull

Thanks @jabawack81 , i will add this to the next path release of Bundler 2


SD TTNN: TtUNetMidBlock2DCrossAttn [Pending CI]

Implement subgraph TtUNetMidBlock2DCrossAttn and make two tests: one for 256x256 image size and one for 512x512 image size.
Have one test file named something like test_unet_mid_block_2d_cross_attn.py and inside it two tests test_unet_mid_block_2d_cross_attn_256x256 and test_unet_mid_block_2d_cross_attn_512x512. Tests should be parametrized with following input shapes:

[ ] Shape 1: 256x256
hidden_states: [2, 1280, 4, 4]

[ ] Shape 2: 512x512
hidden_states: [2, 1280, 8, 8]

For both the cases above:

temb: [1, 1, 2, 1280]
encoder_hidden_states: [1, 2, 77, 768]
attention_mask: None
cross_attention_kwargs: None

The UNetMidBlock2DCrossAttn sub-module using ttnn ops for the stable diffusion model is completed.
We are getting PCC < 0.5 for both the tests. We are currently debugging it.
Corresponding commit - commit

After updating the basic transformer block to include the attention_head_dim parameter, PCC has significantly improved, reaching >0.99 across both the test cases.


bluemap: 5.4 -> 5.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/BlueMap-Minecraft/BlueMap/releases.
meta.description for bluemap is: 3D minecraft map renderer
meta.homepage for bluemap is: https://bluemap.bluecolored.de/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.5 with grep in /nix/store/d375lbp65cxc29hxspcfszj26ahnhl70-bluemap-5.5
found 5.5 in filename of file in /nix/store/d375lbp65cxc29hxspcfszj26ahnhl70-bluemap-5.5

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

bluemap

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/d375lbp65cxc29hxspcfszj26ahnhl70-bluemap-5.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A bluemap https://github.com/r-ryantm/nixpkgs/archive/4ec42ff88a249faac5db6ee688aff5ec54d5f956.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/4ec42ff88a249faac5db6ee688aff5ec54d5f956#bluemap

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/d375lbp65cxc29hxspcfszj26ahnhl70-bluemap-5.5
ls -la /nix/store/d375lbp65cxc29hxspcfszj26ahnhl70-bluemap-5.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

bluemap

Maintainer pings
cc @dali99 @h7x4 for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

This requires module changes


Enable Read the Docs generation on Pull Requests

Read the Docs allows you to generate docs for PRs, so that you immediately can check if your code and docs changes processed right. This makes validating and reviewing PRs that include docs changes easier.
The docs and steps to do this are documented here: Preview Documentation from Pull Requests

Thanks for the tip, I'll definitely implement this! :)


Text mod to match the style of the loader

What's the point of changing that?

trying to keep the interface as light as possible..
in my version there are none of them , as I don't need to be told if lines are drawn etc. but for the people it still can be less clutter on screen..
thats also why the quite transparent leader box without title etc.

I like those changes, but I won't add them in just yet since I have an other plan so that it will work on mobile phones too.

Fantastic . ..Please keep in mind that ESPECIALLY in mobile devices screen real estate is very important..
Try to write as little as you can on the screen and try to keep the alpha always at barely visible..
this game is all about being able to see things early

Can't we just add a key that removes all of the code?

Yes we can, and I did, as a matter of fact I have gone much much muuuuch further ;)
however the current version of the bot (and any further developement) I am no more sharing with the public because I have not only improved things visually but also I've made the bot AI virtually un  defeat able :)
For anyone who cares enough to understand these and already agrees that my stuff will never be made online , here is my e-mail..
<EMAIL_ADDRESS>for personal use and for-your-eyes-only I will grant a current copy of the bot and the launcher through this  e-mail..And yes this includes you also apostolique ;) if you agree to the above already ofcourse  :p

Can you make a video? Or perhaps you can give your bot a name and I'll add it to the alternate bot list.

I don't want it  made public because I believe from this point on it's just unfair for everyone to have this..it would ruin the fun for the lot .. however for proof of concept I am willing to share the code with anyone in compliance with my above post, through afore mentioned means of communications ..
then I believe many people will have many videos to make ;)
peas...

sorry I forgot .. the bot has it's own name already :)
it's called " Little Smart Dot "
it also has it's own clan :P  ⎡LSD⎦clan to be specific..
every copy of the bot boots up called ⎡LSD⎦SmartDot
I've made that guy make incredible stuff over the last three weeks over chinese and east asian servers..
I won't be surprised if people made videos already :)
I play under ⎡LSD⎦ℳ⊍℞⩜⚚ or⎡TR⎦ℳ⊍℞⩜⚚ often with equally devastating results :p
ps: apostolique ..
hint :
your framework is brilliant but yet too mathematically perfect as I mentioned before..you'll see now that the whole thing is organic :)


@nhost/react 0.6.1 uses useLayoutEffect which cannot be used in ssr

Hi there!
Warning: useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's

output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this,

useLayoutEffect should only be used in components that render exclusively on the client.

See **https://reactjs.org/link/uselayouteffect-ssr** for common fixes.

(node_modules/.pnpm/@nhost+react@0.6.1_a6d34a65eadc87c45754f8a77ed37370/node_modules/@nhost/react/dist/index.umd.js:61:745)

i use it the package in nextjs,
cheers,
Cezar

Hello Cezar,
This warning can be ignored and should disappear once this PR is merged and released.
Please keep an eye on it so you can upgrade to next release

Hello Cezar,
This should be fixed now. Please upgrade to the latest SDK version.
I'm closing the issue, please let me know if you're still having this problem, and I'll reopen the issue.

Warning: useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.
:     at jd (node_modules/.pnpm/@nhost+react@0.7.0_a6d34a65eadc87c45754f8a77ed37370/node_modules/@nhost/react/dist/index.umd.js:66:676)
at MyApp (webpack-internal:///./src/pages/_app.tsx:31:18)

Hello,
Please try today's release:
https://stackblitz.com/edit/nextjs-6rycjb?file=package.json
Thanks


Add option to disable generation of FKs

To support myISAM. Not to be confused with migrations.disableForeignKeys config option.

disableForeignKeys is not an option to "disable generation of FKs". it never was. it only controls if the schema commands will be wrapped in set foreign_key_checks = 0 and set foreign_key_checks = 1.

Oh, in version 4 it disabled foreign key constraint creation. What changed here? How do I disable foreign key creation? Not all the mysql DB use the InnoDB engine

It did not change, it never worked that way.

What changed is that FKs are not properly diffed, in general schema diffing now works as it should.

Ok. Question remains. Is there a way to avoid creating foreign key constraints?

No it is not, there never was one. Feel free to send a PR, but it would have to be a top level configuration (that will be then feeded to the SchemaGenerator methods as part of their options), nothing about migrations, migrations just work with SchemaGenerator.
Note that you still can use v5, you just need to remove the FK queries from your migrations manually if you don't want them there. That is the whole point of migrations, as you have absolute control over that.

Thanks. I have no time to provide a PR and the codebase is too big, sorry.

Note that you still can use v5, you just need to remove the FK queries from your migrations manually if you don't want them there

Can you explain more about this?

You have migration file with SQL queries, so you can just remove those you dont want there. Not sure what more you want me to explain about that :]
Note that the codebase might be big, but this problem is about a single file.
https://github.com/mikro-orm/mikro-orm/blob/master/packages/knex/src/schema/SchemaGenerator.ts#L69
https://github.com/mikro-orm/mikro-orm/blob/master/packages/knex/src/schema/SchemaGenerator.ts#L157
https://github.com/mikro-orm/mikro-orm/blob/master/packages/knex/src/schema/SchemaGenerator.ts#L166
https://github.com/mikro-orm/mikro-orm/blob/master/packages/knex/src/schema/SchemaGenerator.ts#L261
https://github.com/mikro-orm/mikro-orm/blob/master/packages/knex/src/schema/SchemaGenerator.ts#L303
(and maybe few more places in that file)

Let's keep this open, I don't want to sound like I don't see this as something valid. But to me it feels like an edge case, it's been a decade since I came accross someone actually using myisam :D Might be just my bubble :D

So, let me explain better what I mean. In my code, during startup in ev mode, I have something like this
const generator = orm.getSchemaGenerator();

await generator.updateSchema({
  wrap: false,
  safe: true,
  dropDb: false,
  dropTables: false,
});

this way I'm sure DB is up to date with my models. Maybe it's the wrong way, I don't know. If this fails, I print the needed update on console and I run manually. Having an option to disable foreign key contraints would avoid me to run anything manually.
On the other side, I'm not talking about myIsam. I don't know anybody using it. I'm talking about a new generation of cloud-centric mysql based DBs that have very large scalability performances. In a previous message I mentioned one of those (planetscale) and an engine very popular and used (vitess).
I'll try to find the time to work on this and propose a PR, but I'm afrai I really have not much time. What would take me hours or days to be done/tested and so on, it's for sure much less for whoever has already familiarity with the codebase. I'm not saying I want you to do it, I'm just asking if by any chance this can be done.
Thanks for the support

this way I'm sure DB is up to date with my models. Maybe it's the wrong way, I don't know. If this fails, I print the needed update on console and I run manually. Having an option to disable foreign key contraints would avoid me to run anything manually.

It's not wrong, but I would be quite cautious with this in a production environment (but yeah, with safe: true it should be ok'ish). I wouldn't trust the schema diffing in v4 that much, v5 should be a different story, it's much smarter :]
Note that you are using schema generator, so nothing you specify in migrations config has any effect on that, its a different layer, hence my confusion as you were talking about configuring how migrations work.
And indeed, to me it will probably take an hour or two, to you it can take much more. But you are the one who needs it (actually the first one to ask for it). If you don't have time to collaborate, you can always sponsor the development, especially if this is something you need for a project that will bring you some revenue.

I'm not saying I want you to do it, I'm just asking if by any chance this can be done.

The sad fact is that pretty much all the issues wait for me to work on them. Only a small portion of people will try to contribute, many of them will send an incomplete (often failing) PR and never even reply to my feedback. I usually ask for that in issues like this one, where it really is easy task to achieve. Often I don't even want others to contribute, if it's something touching internals as it can easily have breaking effect to other parts of the codebase.

Is there an option to avoid creating foreign key constraints? Just like createForeignKeyConstraints from typeorm.


Feat:Applying logo hover effect using tilt.js

Describe the feature
Applying logo hover effect using tilt.js
Add ScreenShots
.
Record

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

go ahead we need it @RamakrushnaBiswal

solved with PR #371


Added Letsencrypt support to docker-mailserver

Added Letsencrypt support to docker-mailserver, fixes #35

You can try the letsencrypt version, just docker pull tvial/docker-mailserver:letsencrypt  and read SSL.md in the letsencrypt branch.

I'll merge on Monday.


TM-624: Add sidebar component

I also have a general question.
Is Sidebar something that has to be in the lui ? Is it pottentially to be used in other side rather than landbot 🤔 ?

I feel the same