Indented code block containing HTML incorrectly parsed as inline HTML

Hi! Cool project.
I am trying to create documentation including inline HTML code samples, i expect the inline HTML samples to be formatted as code. However they are being included verbatim.
Repro is as follows:
var marked = require('marked');
console.log( marked("#Samples\nHere is an HTML code sample\n    \n    \n") );

Produces

Samples

Here is an HTML code sample

Expected
>iframe src=''<>/iframe<
 or something similar...
Or is there meant to be an alternative way of creating a code block, rather than a four-space indent?
<EMAIL_ADDRESS>

Related to #378

1

#983


Look for additional names when checking ceph-nfs container status

Ganesha cannot be operated active/active, in those deployments
where it is managed by pacemaker the container name can be
different than the default.
This change uses "ceph_nfs_service_suffix" where previously
missing to ensure tasks will work with customized names.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1750005
Signed-off-by: Giulio Fidente<EMAIL_ADDRESS>

@guits @dsavineau can you guys also label this for backport into 3.x


[Device Support Request] Lonsonho 2 Gang wall switch

Is your feature request related to a problem? Please describe.
Device almost works good without quirk but HA cannot control second (right) switch at the moment
Describe the solution you'd like
Control second switch as the first one. Currently issuing any commands to it results in timout error (stactrace below)
Device signature - this can be acquired by removing the device from ZHA and pairing it again from the add devices screen. Be sure to add the entire content of the log panel after pairing the device to a code block below this line.
Full log
Device 0xa474 (bc:33:ac:ff:fe:65:5c:e2) joined the network
[0xa474:zdo] ZDO request ZDOCmd.Device_annce: [0xa474, bc:33:ac:ff:fe:65:5c:e2, 142]
[0xa474] Requesting 'Node Descriptor'
Tries remaining: 2
[0xa474] Extending timeout for 0x15 request
[0xa474] Node Descriptor: <Optional byte1=1 byte2=64 mac_capability_flags=142 manufacturer_code=0 maximum_buffer_size=82 maximum_incoming_transfer_size=82 server_mask=11264 maximum_outgoing_transfer_size=82 descriptor_capability_field=0>
[0xa474] Discovering endpoints
Tries remaining: 3
[0xa474] Discovered endpoints: [1, 2]
[0xa474:1] Discovering endpoint information
Tries remaining: 3
[0xa474:1] Discovered endpoint information: <Optional endpoint=1 profile=260 device_type=256 device_version=0 input_clusters=[0, 3, 4, 5, 6] output_clusters=[25]>
[0xa474:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=27 command_id=Command.Read_Attributes_rsp>
[0xa474:1] Manufacturer: _TYZB01_6sadkhcy
[0xa474:1] Model: TS0002
[0xa474:2] Discovering endpoint information
Tries remaining: 3
[0xa474:2] Discovered endpoint information: <Optional endpoint=2 profile=260 device_type=256 device_version=0 input_clusters=[0, 3, 4, 5, 6] output_clusters=[25]>
Checking quirks for _TYZB01_6sadkhcy TS0002 (bc:33:ac:ff:fe:65:5c:e2)
Considering <class 'bellows.zigbee.application.EZSPCoordinator'>
Fail because endpoint list mismatch: {1} {1, 2}
Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
Fail because endpoint list mismatch: {11, 13} {1, 2}
Considering <class 'zhaquirks.lutron.lzl4bwhl01remote.LutronLZL4BWHL01Remote2'>
Fail because endpoint list mismatch: {1} {1, 2}
Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
Fail because endpoint list mismatch: {1} {1, 2}
Considering <class 'zhaquirks.osram.a19twhite.A19TunableWhite'>
Fail because endpoint list mismatch: {3} {1, 2}
Considering <class 'zhaquirks.philips.rom001.PhilipsROM001'>
Fail because endpoint list mismatch: {1} {1, 2}
Considering <class 'zhaquirks.philips.rwl020.PhilipsRWL020'>
Fail because profile_id mismatch on at least one endpoint
Considering <class 'zhaquirks.philips.rwl021.PhilipsRWL021'>
Fail because profile_id mismatch on at least one endpoint
Considering <class 'zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor'>
Fail because endpoint list mismatch: {1} {1, 2}
Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
Fail because endpoint list mismatch: {1} {1, 2}
Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
Fail because endpoint list mismatch: {232, 230} {1, 2}
Considering <class 'zhaquirks.xbee.xbee_io.XBeeSensor'>
Fail because endpoint list mismatch: {232, 230} {1, 2}
Considering <class 'zhaquirks.xiaomi.mija.smoke.MijiaHoneywellSmokeDetectorSensor'>
Fail because endpoint list mismatch: {1} {1, 2}
device - 0xa474:bc:33:ac:ff:fe:65:5c:e2 entering async_device_initialized - is_new_join: True
device - 0xa474:bc:33:ac:ff:fe:65:5c:e2 has joined the ZHA zigbee network
[0xa474](TS0002): started configuration
[0xa474:ZDO](TS0002): 'async_configure' stage succeeded
[0xa474:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0xa474:1:0x0000]: bound 'basic' cluster: Status.SUCCESS
[0xa474:1:0x0000]: finished channel configuration
[0xa474:1:0x0019]: bound 'ota' cluster: Status.SUCCESS
[0xa474:1:0x0019]: finished channel configuration
[0xa474:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=37 command_id=Command.Default_Response>
[0xa474:1:0x0006]: reporting 'on_off' attr on 'on_off' cluster: 0/900/1: Result: '[6, <Status.UNSUP_GENERAL_COMMAND: 130>]'
[0xa474:1:0x0006]: finished channel configuration
[0xa474:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=39 command_id=Command.Read_Attributes_rsp>
[0xa474:1:0x0000]: initializing channel: from_cache: False
[0xa474:2:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[0xa474:1:0x0006]: 'async_configure' stage succeeded
[0xa474:1:0x0000]: 'async_configure' stage succeeded
[0xa474:1:0x0019]: 'async_configure' stage succeeded
[0xa474:2:0x0000]: bound 'basic' cluster: Status.SUCCESS
[0xa474:2:0x0000]: finished channel configuration
[0xa474:2:0x0019]: bound 'ota' cluster: Status.SUCCESS
[0xa474:2:0x0019]: finished channel configuration
[0xa474:2:0x0006]: failed to set reporting for 'on_off' attr on 'on_off' cluster:
[0xa474:2:0x0006]: finished channel configuration
[0xa474:2:0x0000]: initializing channel: from_cache: False
[0xa474:2:0x0006]: 'async_configure' stage succeeded
[0xa474:2:0x0000]: 'async_configure' stage succeeded
[0xa474:2:0x0019]: 'async_configure' stage succeeded
[0xa474](TS0002): completed configuration
[0xa474](TS0002): stored in registry: ZhaDeviceEntry(name='_TYZB01_6sadkhcy TS0002', ieee='bc:33:ac:ff:fe:65:5c:e2', last_seen=1597344000.3796937)
[0xa474:1:0x0003] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=51 command_id=Command.Default_Response>
[0xa474:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: [64, <Status.UNSUP_CLUSTER_COMMAND: 129>]
[0xa474](TS0002): started initialization
[0xa474:ZDO](TS0002): 'async_initialize' stage succeeded
[0xa474:1:0x0019]: initializing channel: from_cache: False
[0xa474:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=53 command_id=Command.Read_Attributes_rsp>
[0xa474:1:0x0006]: initializing channel: from_cache: False
[0xa474:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=55 command_id=Command.Read_Attributes_rsp>
[0xa474:1:0x0000]: initializing channel: from_cache: False
[0xa474:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=59 command_id=Command.Read_Attributes_rsp>
[0xa474:2:0x0006]: initializing channel: from_cache: False
[0xa474:2:0x0000]: initializing channel: from_cache: False
[0xa474:2:0x0019]: initializing channel: from_cache: False
[0xa474:2:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster:
[0xa474:2:0x0006]: 'async_initialize' stage succeeded
[0xa474:2:0x0000]: 'async_initialize' stage succeeded
[0xa474:2:0x0019]: 'async_initialize' stage succeeded
[0xa474:1:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster:
[0xa474:1:0x0006]: 'async_initialize' stage succeeded
[0xa474:1:0x0000]: 'async_initialize' stage succeeded
[0xa474:1:0x0019]: 'async_initialize' stage succeeded
[0xa474](TS0002): power source: Mains
[0xa474](TS0002): completed initialization
[0xa474:1:0x0006]: attempting to update onoff state - from cache: False
[0xa474:2:0x0006]: attempting to update onoff state - from cache: False
[0xa474:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=65 command_id=Command.Read_Attributes_rsp>
None: polling current state
None: polling current state

Signature of paired dervice
{
  "node_descriptor": "<Optional byte1=1 byte2=64 mac_capability_flags=142 manufacturer_code=0 maximum_buffer_size=82 maximum_incoming_transfer_size=82 server_mask=11264 maximum_outgoing_transfer_size=82 descriptor_capability_field=0>",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0100",
      "in_clusters": [
        "0x0000",
        "0x0003",
        "0x0004",
        "0x0005",
        "0x0006"
      ],
      "out_clusters": [
        "0x0019"
      ]
    },
    "2": {
      "profile_id": 260,
      "device_type": "0x0100",
      "in_clusters": [
        "0x0000",
        "0x0003",
        "0x0004",
        "0x0005",
        "0x0006"
      ],
      "out_clusters": [
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TYZB01_6sadkhcy",
  "model": "TS0002",
  "class": "zigpy.device.Device"
}

Additional context
Same device in Koenkk/zigbee-herdsman-converters devices
https://github.com/Koenkk/zigbee-herdsman-converters/blob/f0882b47a7d4df564ef00248364d5a687b07ee35/devices.js#L1215-L1234
for reference
timeout error stacktrace
Уровень: ERROR
Logger: homeassistant.components.websocket_api.http.connection.281473257193424
Source: components/zha/core/device.py:549
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 22:04:57 (2 occurrences)
Last logged: 22:08:13

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 130, in handle_call_service
    connection.context(msg),
  File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1295, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 518, in admin_handler
    await result
  File "/usr/src/homeassistant/homeassistant/components/zha/api.py", line 925, in issue_zigbee_cluster_command
    manufacturer=manufacturer,
  File "/usr/src/homeassistant/homeassistant/components/zha/core/device.py", line 549, in issue_cluster_command
    command, *args, manufacturer=manufacturer, expect_reply=True
  File "/usr/local/lib/python3.7/site-packages/zigpy/device.py", line 210, in request
    result = await asyncio.wait_for(req.result, timeout)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 449, in wait_for
    raise futures.TimeoutError()
concurrent.futures._base.TimeoutError

what radio?
it can't communicate with the switch
 [0xa474:2:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster:
...
[0xa474:1:0x0006]: failed to get attributes '['on_off']' on 'on_off' cluster:

сс2531. i've tried zigbee2mqtt (linked the config) and it works perfectly on the same radio, both endpoints.

enable debug log and submit the logs. This could be a problem with zigpy-cc


[AutoPR eventhub/resource-manager] EventHub: added VNet API to 2017 stable version

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/5351

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/4253


[Pylint] Version bump

TODO (separate pr) bump to 3.8 -- removing 3.7 support soon
bump checker version to allow for merging of PRs to fix next-pylint warnings :)

/check-enforcer override

/check-enforcer override


The date field could do with a timezone clarification

Documentation on nemTime, startTime and endTime are very clear that they're in UTC+10, UTC and UTC, respectively.
However, the date field (on Usage, at least) doesn't say what timezone it's referring to, which is important, even though it doesn't have a time component. I'm guessing it's also UTC+10 based on the reference to nemTime in the description, but it'd just be good to have it explicitly stated. 🙏

Opening the can of worms: Would it make sense for it to use the site's timezone (or for there to be another field that provides that)? 😬

Documentation on nemTime, startTime and endTime are very clear that they're in UTC+10, UTC and UTC, respectively.
However, the date field (on Usage, at least) doesn't say what timezone it's referring to, which is important, even though it doesn't have a time component. I'm guessing it's also UTC+10 based on the reference to nemTime in the description, but it'd just be good to have it explicitly stated. 🙏

Yep, it's NEM time. All add docs on Monday

Opening the can of worms: Would it make sense for it to use the site's timezone (or for there to be another field that provides that)? 😬

No, we made an explicit design decision to use UTC. Clients then only have to do one conversion if they want the times in a different time zone.
carefully puts the lid back on the can

Fixed


feat(section): use toml as configuration section

close: #10

@GopherJ
LGFM! I find some constants in taplo is also needed to be changed but there're nothing to do, so I approve it and after that make new version 0.2.2. Thank you so much for your work, I appreciate your contribution


Add bounds function

This returns a map %{min_x, min_y, max_x, max_y}.

Thanks for the contribution! I'll review it soon!

Thanks for the PR! I'll make a new release in the next couple of days.


Optimization/pre commit hook

What type of PR is this? (check all applicable)

[ ] Refactor
[ ] Feature
[ ] Bug Fix
[X] Optimization
[ ] Documentation Update

Description
uses husky and lint-staged to lint and fix diffed files during the precommit stage
notes:
the --cache flag makes linting only diffed files possible however because typescript can often rely on multiple files, the typescript linting wont be 100% accurate, but since the node CI doesn't use --cache it will catch any and all problems regardless, using --cache locally will speed up precommit lints and help catch most errors.
Related Tickets & Documents
I'm not sure where this fits so I'd appreciate some guidance.
here's the description to be put into the ticket
as a developer i should have the CI pipeline fix as much linting issues for me as possible so that it reduces work and creates a more maintainable repo timeline.

Related Issue #
Closes #

Added/updated tests?
We are aiming for 100% statement coverage.

[ ] Yes
[X] No, and this is why: no functional changes
[ ] I need help with writing tests

Post installation steps
yarn post installation script for husky might fail due to permission issues, use 'sudo yarn husky-post-installer' to setup husky

What's going on with this commit? Is sprint-7 up to date with main? I see lots of changed files that I think have already been committed

What's going on with this commit? Is sprint-7 up to date with main? I see lots of changed files that I think have already been committed

Yeah there was an issue because main squashed and merged sprint-6 but this was based on sprint-6 pre squash so it showed the diff, i fixed it.

closing this pr, what we have is good enough atm but feel free to open this back up to implement it.


Request to add my school to the list and gaining access to Ultimate I…

"Request to add my school to the list and gaining access to Ultimate IntelliJ

@SvitlanaKashkina file/lib/domains/de/wbsedu.txt: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.

@SvitlanaKashkina Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

You can provide us with any of the following as the proof:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

@SvitlanaKashkina You might miss my previous comment. Please react.

Unfortunately, I will not be able to provide you with evidence. Please delete my Pull request.

@SvitlanaKashkina OK, will do.
If you are a student, please enroll to GitHub Student Developer Program at https://education.github.com/discount_requests/application. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).
Thank you for your understanding!


arrow-cpp: refactor source fetching

Motivation for this change
Follow up from https://github.com/NixOS/nixpkgs/pull/143422#discussion_r739885201
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

@veprbl Any chance you'd be able to review this? I am working on a couple follow ups that will enable some of the additional features (Flight, S3, and GCS support).

Result of nixpkgs-review pr 144051 run on x86_64-darwin 1

1 package built:

arrow-cpp

Result of nixpkgs-review pr 144051 1

21 packages built:
- arrow-cpp
- python38Packages.datasets
- python38Packages.google-cloud-bigquery
- python38Packages.intake
- python38Packages.intake-parquet
- python38Packages.pyarrow
- python38Packages.snowflake-connector-python
- python38Packages.snowflake-sqlalchemy
- python38Packages.spacy-transformers
- python38Packages.tokenizers
- python38Packages.transformers
- python39Packages.datasets
- python39Packages.google-cloud-bigquery
- python39Packages.intake
- python39Packages.intake-parquet
- python39Packages.pyarrow
- python39Packages.snowflake-connector-python
- python39Packages.snowflake-sqlalchemy
- python39Packages.spacy-transformers
- python39Packages.tokenizers
- python39Packages.transformers

@SuperSandro2000 can this be merged?


How to import the module when installing with scoop?

The documentation doesn't show which Import-Module command we should be using.

Import-Module Dotenv
Should do the trick. Scoop adds it's module directory to %PSMODULEPATH%.
Although updating it through scoop might be annoying as the module contains a .dll and powershell will have loaded it, preventing scoop from deleting the old version.

This worked
Import-Module "C:\Users\$env:USERNAME\scoop\apps\ps-dotenv\current\Dotenv\"
but
Import-Module Dotenv
did not.

@insomnimus

Import-Module Dotenv
Should do the trick. Scoop adds it's module directory to %PSMODULEPATH%.

In my case, running the installation steps resulted in this directory structure:

and Import-Module Dotenv was throwing this error:
The specified module 'Dotenv' was not loaded because no valid module file was found in any module directory.

Changing it to Import-Module Dotenv\Dotenv resolved the error.


GUI Error on 1.2.2 - Attempted upgrade from 1.0.4 LTS

Error:
A critical error loading Sia has occured: Siad unexpectedly exited. Error log: Loading...
(0/6) Loading siad...
(1/6) Loading gateway...
(2/6) Loading consensus...
(3/6) Loading transaction pool...
(4/6) Loading wallet...
(5/6) Loading host...
Closing wallet...
Closing transaction pool...
Closing consensus set...
Closing gateway...
error while loading contract manager atomic data: error loading the contract manager settings file: unable to read persisted json object from disk: open C:\Users\xxxxxxx\AppData\Roaming\Sia-UI\sia\host\contractmanager\contractmanager.json_temp: The system cannot find the file specified.

Scenario:
Downloaded and unzipped 1.2.2. Copied Host, Wallet and Renter to resources/app/Sia/. Took a while to run, and came back to Sia-UI closed (pc didn't reboot, as uptime wasn't interupted.) Reran Sia-UI, and was presented with the error above.

I have the same issue, although I may have taken a different path to get to the same result.
I navigated to http://sia.tech/apps/#ui
Next, I clicked on the SIA UI for users Windows 64 bit download link and then extracted the archive Sia-UI-v1.2.2-win32-x64.zip
Next, I double-clicked on the file called SIA-UI.exe
Soon, the Sia-UI had a message "Loading can take a while after upgrading to a new version. Check the release notes for more details."
Later, I came back and Sia was now telling me:
A critical error loading Sia has occured: Siad unexpectedly exited. Error log: Loading...
(0/6) Loading siad...
(1/6) Loading gateway...
(2/6) Loading consensus...
(3/6) Loading transaction pool...
(4/6) Loading wallet...
(5/6) Loading host...
(6/6) Loading renter...
Closing host...
Closing wallet...
Closing transaction pool...
Closing consensus set...
Closing gateway...
invalid argument
Steve


[FLINK-3226] Translation of explicit casting

This PR implements explicit casting from and to all supported types so far.
@fhueske @vasia can someone review?

Looks good. :-)
+1 to merge.

Merging this

Merged, please close @twalthr


Optimistic response for parent data from mutation in child component?

Many times when I'm passing part of parent data (fetched using Apollo) to a child component as a prop, I wish I could make an optimistic response update to parent data.
Is it possible currently? How could I achieve this?  🤔  Many times when I'm operating on collection I do not want to bind mutations with parent component, cause it making it too big and unclear, but when I'm binding to child components I can't update parent data with optimistic response.
And also when I'm making delete mutation which remove one element of collection I wish I could call optimistic remove for this element from child component, but I can't. 🤕
Is it possible to achieve? If not how could I upgrade my implementation? 🆘
Thanks for help!

You can modify the cached data with the Direct Cache Access API, which will update the queries associated with this data.

@Akryum I've tried your solution, store cache's updating, but data binded to parent component not refreshing. How should I set query for this component?

You may also check this doc about updating the store.

Please update the links, they are not valid anymore


Update demo-rest to use the new Cerbos Go SDK

The demo-rest repository is still using the old Cerbos SDK and should be moved to use the new SDK.

Sure, go for it.

PR - https://github.com/cerbos/demo-rest/pull/34

@charithe I think we can close this issue as well.

Thanks!


feat: playground error propagation

Description
Propagate the http request error to the frontend so the user can have a "sense" of what is happening
https://github.com/projectatomic/ai-studio/assets/42176370/ab3251b1-92bd-422b-99b7-bea50e9a3e2e

The inProgress of the demo has been removed, it is not part of the PR as it was a test.

Related PR
Fixes https://github.com/projectatomic/ai-studio/issues/186
Testing

[x] Write unit tests

cc @slemeur

Rebased after https://github.com/projectatomic/ai-studio/pull/197 merged


MM-11223: Add backup, clear and restore logic for postsInChannel

Summary
Add a way to clear posts of a channel for new unread/permalink views
Ticket Link
MM-11233
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit tests passed
[x] Ran make flow to ensure type checking passed
[x] Added or updated unit tests (required for all new features)
[ ] All new/modified APIs include changes to the drivers

@hmhealey Yes, I was taking a copy of postsInChannel so, I can immediately clear the present postId's and use it in case of request failures.
It makes sense. Thanks. I will change the variable to restoreBackedUpPostIds

Need to migrate some code from webapp.

@sudheerDev Ready to merge once the build failure is fixed


attempts to stare at objects but nothing is revealed

Your project is really doing a good job and it has inspired me a lot, so I wanted to try it myself and experience the fun of object recognition. Here's how I did it:
First I imported your project and switched to UWP, then I imported yolov7 and generated Application/Scenes/Main as the main scene, using Visual Studio Debug/ARM to deploy remotely on the Hololens 2 side. But when I run and stare at an object, nothing happens. Next, I noticed that there was an ObjectLabel in Prefabs, and I dragged it to the HologramCollection to deploy it again, and the Sample Text appeared, but nothing else happened. (I didn't drag the other three Perfabs) am I having any problems? Or am I doing something wrong?
I'm using the version of Unity 2021.3.20f1c1 and the version of Visual Studio is version 2019.

I am a bit confused as to what you are doing. The project should more or less work out of the box, if you add the model as instructed. I would very much recommend

Read this first
Use the same Unity version as I used
Deploy for Master to the HoloLens, and run from the HoloLens (not from Visual Studio). Debug is very very slow, and the project is really pushing parts of the HoloLens hardware to its limits.


STORM-3748 use ConcurrentHashMap for taskId metrics

What is the purpose of the change
Prevent ConcurrentModificationExceptions when reporting metrics while adding a new metric.
How was the change tested
built storm-client

The line following the one changed is modifying the hash map when registering a new metric.  That same hash map is used to fetch all the metrics when reporting through getTaskGauges(), etc.


update terms to remove reference to password

also cleaned double spaces & formalised

@chealsye I've made changes to these policies - can you proof read them please? changes are itemised here: https://github.com/OAButton/oab_static/pull/23/files

Did you check the copy for this?
On Mon, 17 Oct 2016 at 14:19 chealsye<EMAIL_ADDRESS>wrote:

@chealsye approved this pull request.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/OAButton/oab_static/pull/23#pullrequestreview-4469937,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEuWZxBEq6EVr3AtINEU1rtuqbwrt7PJks5q03XEgaJpZM4KGYk5
.

I'm reading through it now - reading it in github wasn't going to be fun.
On Mon, Oct 17, 2016 at 9:23 AM, Joseph McArthur<EMAIL_ADDRESS>wrote:

Did you check the copy for this?
On Mon, 17 Oct 2016 at 14:19 chealsye<EMAIL_ADDRESS>wrote:

@chealsye approved this pull request.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<https://github.com/OAButton/oab_static/pull/23#
pullrequestreview-4469937>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AEuWZxBEq6EVr3AtINEU1rtuqbwrt7PJks5q03XEgaJpZM4KGYk5>
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OAButton/oab_static/pull/23#issuecomment-254205821,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI3lMFtwtoJcJrQAGsLVQNVwPmyolJjhks5q03bdgaJpZM4KGYk5
.

@markmacgillivray can you resolve these conflicts & merge asap

Sorry, no. When a merge fails at this point, it is before the codeship push has occurred. This is not a conflict with something I have on the dev system, it is a conflict between the new copy and the old copy within the branches that are being merged. This means at some point someone has changed the develop branch copy before the other branch has been merged in, in such a way that the two are incompatible. In order to fix it I would need to know which copy is correct and which is not. This would be better done by someone who knows which copy was intended, and which was not.
Here are the instructions for solving merge conflicts:

https://help.github.com/articles/resolving-a-merge-conflict-from-the-command-line/

Essentially this branch represents the state of these two files that should be on develop ( I move changes over earlier this eve).
I can't do the command line stuff (will learn soon, just not now) so will just brute force it by copy & pastes the changes if I haven't provided enough info above.

So the stuff in the branch being merged in should overwrite what is in
develop, no matter what? If so, I can do that for you.
On Wed, Oct 19, 2016 at 12:27 AM, Joseph McArthur<EMAIL_ADDRESS>wrote:

Essentially this branch represents the state of these two files that
should be on develop ( I move changes over earlier this eve).
I can't do the command line stuff (will learn soon, just not now) so will
just brute force it by copy & pastes the changes if I haven't provided
enough info above.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OAButton/oab_static/pull/23#issuecomment-254668469,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAuXCEZ6LNNkAuani9n8eFctPXepSUT4ks5q1VX5gaJpZM4KGYk5
.

Yes. As long as it's only for /privacy & /terms.


Divide by zero error in scorer

ZeroDivisionError: 0.0 cannot be raised to a negative power
at __call__ (/opt/pysetup/.venv/lib/python3.8/site-packages/replacy/scorer.py:90)
at score_suggestion (/opt/pysetup/.venv/lib/python3.8/site-packages/replacy/scorer.py:112)
at <lambda> (/opt/pysetup/.venv/lib/python3.8/site-packages/replacy/scorer.py:119)
at sort_suggestions (/opt/pysetup/.venv/lib/python3.8/site-packages/replacy/scorer.py:117)
at __call__ (/opt/pysetup/.venv/lib/python3.8/site-packages/replacy/__init__.py:318)

apparently, prob can be zero (despite being a positive number raised to an exponent!!! floating-point numbers ftw!)
        elif score_type == "perplexity":
            prob = 10.0 ** (score)
            return prob ** (-1 / word_count)

Are you requesting that score must be > 0? Maybe you are making an input of a negative number in score and that is causing the error. Becuase let say, if in some part score = -5 (just to give an example of a number), then prob = 0.0001 (which is closer to 0. So, if the score es a "big" negative number then prob --> 0. So, maybe you need to constrain score to being > 0, before going into your if clauses.

I think big negative score is okay though? I should think instead of just answering, but I would probably just change the formula so
prob = 10.0 ** (score)
prob = max(prob, 0.00000000001)
return ...

😬


[Refactor] Unified the TabletInfo in exec and exec/vectorized

There are two TabletInfos in different directories. I think we can unified it into one file
What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[x] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #13805
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

run starrocks_admit_test


Add an rp2040 specific #[entry] macro.

This macro extends the one from cortex-m-rt by code to unlock all spinlocks on boot.
I wonder if this should be part of the HAL, or if it belongs to rp2040-pac.
Closes #292

One thing that might be nice is to be able to call the spinlock init (and any future required init if this gets extended) from outside a macro context.  Mostly I'm looking at RTIC, which does it own codegen for main, so it'd be nice to have an easy way to call whatever the HAL needs to init easily from there.
That might be out of scope for this, though, since it's probably safe to assume that if you're not using cortex-m-rt you can figure out what needs to be done.

Is this still in draft due to that question?

Not only because of that question. I just wasn't sure if this was a good approach in general, and wanted to wait for some feedback.

I rebased the PR because there were conflicts with changes on main.


Dispose and Navigate

My app is calling recursive page and changes happen in the same screen.
Describe the bug
So i made preventDuplicates to false in navigation.
All are good but one thing, In my initial state of the home page is calling a long method like loops and update.
So when i navigate home screen on and on, the init state is also calling on and on.
That's happening bad behaviour in my screen, when i call like 4 times, the updates are execute in last home page screen.
So, what i want is, can i dispose or stop the function loop calling when i navigate the same page.
Like dispose the first home page to kill all method running in first home page and navigate to second page.I hope u'll understand my problem.
**Reproduction code
Get.off(HomePage(), preventDuplicates: false);
Expected behavior
I only want to call the last home page init state method, other should be disposed.
Flutter Version:
2.0.0
Getx Version:
^3.26.0
Describe on which device you found the bug:
Android.

Please provide a minimum code for us to reproduce the problem


PDI-13434 - Pentaho Reporting Output step - Excel output formatting is different from PRD Excel output

@tmorgner Please, look it

@mattyb149, @brosander, @deinspanjer, review it please.
@tmorgner, it would be nice if you also take a look and consent the usage is correct

Commented on the PR with a suggested change.  re-ping when updated.
-Daniel
From: Andrey Khayrutdinov <notifications<EMAIL_ADDRESS>Reply-To: pentaho/pentaho-kettle <reply<EMAIL_ADDRESS>Date: Thursday, May 14, 2015 at 3:43 AM
To: pentaho/pentaho-kettle <pentaho-kettle<EMAIL_ADDRESS>Cc: Daniel Einspanjer <deinspanjer<EMAIL_ADDRESS>Subject: Re: [pentaho-kettle] PDI-13434 - Pentaho Reporting Output step - Excel output formatting is different from PRD Excel output (#1297)
@mattyb149https://github.com/mattyb149, @brosanderhttps://github.com/brosander, @deinspanjerhttps://github.com/deinspanjer, review it please.
@tmorgnerhttps://github.com/tmorgner, it would be nice if you also take a look and consent the usage is correct

Reply to this email directly or view it on GitHubhttps://github.com/pentaho/pentaho-kettle/pull/1297#issuecomment-101954494.

The whole patch simple changes how the reporting engine is invoked - basically using more words to do exactly the same as before. I suspect that with or without this change the result is the same.
Were you able to validate/replicate the bug before you made changes?
Your unit test validates that something runs, but it does not attempt to validate the output. As this is dealing with Excel files, at minimum I would expect that you run the report and then actually check the generated excel file that it contains the correct data.

@tmorgner, although it looks like doing the same, it actually has a slightly different output for XLS files. You may also check it - Those three spaces are written with the new approach.
Speaking about unit test - yes, it is a bit naive - it just checks something is created. However, it does need a lot of effort to validate the content for all the output formats. Since there was no any tests before, I suppose even such test is better then its absence


Add Invocation.invokeUnchecked() ... for ease of use when aspect isn't dealing wth checked exceptions

for my aspects it's kinda annoying to deal with checked exceptions.
 SVUtil.createScopedMDC(
          mdc,
          () -> {
            try {
              return invoke.invoke();
            } catch (final Throwable e) {
              if (e instanceof final RuntimeException ex) throw ex;
              throw new InvocationException(e);
            }
      });

Sure would be nice to have a method I could call when I know my aspect isn't dealing with checked exceptions.

interface default methods for the win !!


HTML generation issue

Source issue: https://github.com/metanorma/metanorma-ogc/issues/473
Source document: https://github.com/metanorma/mn-samples-ieee-private/tree/main/sources/p2830_d1
The metanorma docker image can't be released due the error (https://github.com/metanorma/metanorma-docker/actions/runs/3621578919/jobs/6105421888):
undefined method `name' for nil:NilClass

        while n.name == "p" && n["type"] == "officeorgrepmember"
               ^^^^^
/usr/local/bundle/gems/metanorma-ieee-1.0.0/lib/isodoc/ieee/html_convert.rb:58:in `affiliation_table1'
/usr/local/bundle/gems/metanorma-ieee-1.0.0/lib/isodoc/ieee/html_convert.rb:50:in `block in affiliation_table'
/usr/local/bundle/gems/nokogiri-1.13.9-x86_64-linux/lib/nokogiri/xml/node_set.rb:234:in `block in each'
/usr/local/bundle/gems/nokogiri-1.13.9-x86_64-linux/lib/nokogiri/xml/node_set.rb:233:in `upto'
/usr/local/bundle/gems/nokogiri-1.13.9-x86_64-linux/lib/nokogiri/xml/node_set.rb:233:in `each'
/usr/local/bundle/gems/metanorma-ieee-1.0.0/lib/isodoc/ieee/html_convert.rb:49:in `affiliation_table'

How to repeat:
cd mn-samples-ieee-private\sources\p2830_d1
bundle exec metanorma -t ieee -x html document.adoc

Replicated. @Intelligent2013 Why did this not get picked up in previous release? Is this a  new document?

Yeah, that loop was a bit naive. Easy fix. Do you need a gem hotfix?

Why did this not get picked up in previous release? Is this a new document?

Very strange. The previous release has the same error, but 'green' mark: https://github.com/metanorma/metanorma-docker/actions/runs/3514967518/jobs/5896041695

Yeah, that loop was a bit naive. Easy fix. Do you need a gem hotfix?

I don't know how to metanorma-docker release working. ping @CAMOBAP.

There is a  difference between last and previous releases. The last one has additional error:
/usr/local/bundle/gems/relaton-ieee-1.14.0/lib/relaton_ieee/ieee_bibliographic_item.rb:70:in `to_hash': wrong number of arguments (given 1, expected 0) (ArgumentError)
	from /usr/local/bundle/gems/relaton-bib-1.14.0/lib/relaton_bib/document_relation.rb:75:in `to_hash'
	from /usr/local/bundle/gems/relaton-bib-1.14.0/lib/relaton_bib.rb:88:in `block in single_element_array'
	from /usr/local/lib/ruby/3.1.0/forwardable.rb:238:in `map'

@Intelligent2013 @CAMOBAP
We have a breaking change in here of biblio-tag processing. So the alternatives are:

Everybody waits a week until normal release
I do a full release on Monday
I cherry pick just this change, and release metanorma-ieee + metanorma-cli on their own

The latter is what hotfixes need. You're going to have to make a compelling case for me to do No. 3 instead of No. 1 or No. 2. And yes, I would much rather No. 1.
The relaton error, I cannot speak to.

Can we close this ticket? @Intelligent2013 @CAMOBAP?

@opoudjis I think so. In the last release, this issue doesn't reproduce on CI https://github.com/metanorma/metanorma-docker/actions/runs/3736196218

Thanks.


Add support for filtering through active clients

With many active clients, it would be neat to be able to sort and filter them by "last_updated", "country_code", "asn" and such.

xref: https://github.com/TheTorProject/proteus/issues/18

We are going to be discontinuing orchestra in the future. We can close this issue as no longer relevant.


Buttons

Implementation
MVP:
Buttons should be updated to reflect hi-fidelity changes (colors, borders, etc).
Refer to the Figma + attached image.
Talk to Rosie about any questions.

https://www.figma.com/file/m23zueXhrHHFltdH5bDo2o/Liv2BGirl-Fall20?node-id=416%3A2


repost of #79133: minor edtlib design improvements

repost of #79133 since author github account was deleted

bump


Adding programmaticlly using autolayout

When adding the ImageScrollView programmatically using autolayout nothing shows in screen.
let imageScrollView = ImageScrollView()
self.view.addSubview(imageScrollView)
imageScrollView.translatesAutoresizingMaskIntoConstraints = false

imageScrollView.topAnchor.constraint(equalTo: self.view.topAnchor).isActive = true
imageScrollView.leadingAnchor.constraint(equalTo: self.view.leadingAnchor).isActive = true
imageScrollView.bottomAnchor.constraint(equalTo: self.view.bottomAnchor).isActive = true
imageScrollView.trailingAnchor.constraint(equalTo: self.view.trailingAnchor).isActive = true

imageScrollView.imageContentMode = .aspectFit
imageScrollView.initialOffset = .center

let image = UIImage(named: "moto", in: Bundle(for: type(of: self)), compatibleWith: nil)
imageScrollView.display(image: image!)

The weird thing in that the sample uses Storyboard to add the ImageScrollView and adds constraints to it.

you need to initialize scrollView like this let imageScrollView = ImageScrollView(frame: self.view.bounds)

that don't make sense when using autolayout. thats the type of code one write without using autolayout. if you see the code, the constraints should make the same effect.

@jzeferino
I don't know well what how is implemented inside ImageScrollView.
In your code, imageScrollView has not laid out yet.
So, even if you call display, it does not display the image.
Could you try to add self.view.layoutIfNeeded before calling display(:).

But, If ImageScrollView handles themselves changed size, calling layoutIfNeeded will not solve this problem.

@jzeferino
I don't know well what how is implemented inside ImageScrollView.
In your code, imageScrollView has not laid out yet.
So, even if you call display, it does not display the image.
Could you try to add self.view.layoutIfNeeded before calling display(:).

Yes, please call self.view.layoutIfNeeded before display(image:) to make ImageScrollView adjust its size. Or call display(image:) in viewDidAppear.


Training hangs during evaluation phase when multi-processing=True

This seems to be a Keras concurrency bug. Data loading during training should be changed to multi-processing=False by default.

Initial tests show that this is without notable performance differences.


add concurrency to video download

adds optional param and uses a ProcessPoolExecutor to get better throughput on video downloads

Cool. I never did this (even as I parallelized other aspects of video processing like pose overlays) because I just assumed that video downloading was IO-bound, not CPU-bound. Are there circumstances when that's not the case? Feel free to merge, in any case.

You might want to bump version number before merging

It is IO bound, but a download process sits idle while the request is sent and waiting for more data, which is most of the time. You can use more of the network bandwidth if you run many in parallel.


Add documentation on options to volume create manpage

Document the rough equivalence between our option types and the various parts of the mount  command. Amend examples a bit to cover this.

/lgtm


Cannot Replay Videos

App plays videos only once. Tapping on the play button again does nothing.
App Version: 2.3.0

Fixed in the upcoming v2.6.0 (#103). Closing this issue as the PR didn't close it for some reason 😅


f-m-p has a different pull request process to all other fabric8 projects

currently the f-m-p release pipeline is stuck because a PR request was merged but still had pending actions.

cause..

I added a comment of lgtm and the pipeline finally finished.
f-m-p is one of many fabric8 repos, if a change to CI / pull request or pipeline processes are needed then that's fine but we need to first agree and second apply that to all repos (many under fabric8io and ~40 under fabric8-quickstarts orgs), also pipeline scripts will need to be changed.
Changing things is totally fine but as long as we do that for every project in a coordinated way.
This needs to happen now if f-m-p still wants to include the lgtm comment or revert to carry on using the existing pipelines.

This also highlights a bug in pipeline scripts BTW. Should be enough that the PR is merged shouldn't it? Looking at the image looks like it was already merged somehow but waiting for status updates which are irrelevant after PR is merged.

I also remarked today, that although a version update PR has been merged, the pipeline still reports a status of pending. However eventually it detects it and continues (maybe after 5 mins or so).
Guess its more an issue of the pipeline, but since its working, I'm going to close this issue for now.


Expectation for value included in collection

There is an expectation contain to check if a value includes a specific item, but not the other way round, if a value is included in a collection. I'd suggest to call it be_in - it's short and descriptive. be_included would also be possible, but is longer and to be grammatically precise it would be be_included_in which is even more characters.
For example, in stlib, the spec for Array#sample uses:
x = [1, 2, 3].sample
[1, 2, 3].includes?(x).should be_true
# this reads better:
[1, 2, 3].sample.should be_in [1, 2, 3]

I've already implemented this as a custom expectation (https://github.com/straight-shoota/crinja/blob/e9b65286a10ef5981efe48ce363b5f9210450271/spec/spec_helper.cr#L45) and I'd be ready to create a PR if this idea is appreciated.

You can write:
[1, 2, 3].should contain([1, 2, 3].sample)

Adding another way to do the same thing is redundant (we avoid aliases, and I'd also like to avoid multiple ways to do the same thing). So 👎  for me. I don't know what other core team members think about this.

Usually the code to be tested is on the left side and .should receives an expectation about the result. Your example has the static reference value tested against the return value of the spec target code. It's twisted around.
This is of course possible but the change in semantics makes it difficult to understand the goal of the expectation: is it speccing [1, 2, 3] or [1, 2, 3].sample?
Before using this, I'd rather stick with the style in my first example: [1, 2, 3].includes?(x).should be_true.

This idea doesn't seem to be appreciated.
Nowadays you can do [1, 2, 3].sample.in?.should be_true as a concise alternative.


Add workarounds for Mali-G72 GPU.

Addresses #3700 using same workaround as #3234 for incorrect transparency.
Also applies workaround from #3499 for hang after enabling MSAA.

@Mergifyio backport release/2.19.x

This needs to be backported to 2.19.x for Synchro Field.


Include symbols in build output for the VSIX project, and update vsix manifest dependency version

cc @NTaylorMullen @rynowak  - we should make the same change for Microsoft.VisualStudio.RazorExtension.pdb. Apparently, its not supposed to be in the VSIX itself.

@NTaylorMullen can you make the equivalent change for razor please?


Pod deleted by rancher after scale deployment  with rancher

Rancher versions:
rancher/server or rancher/rancher: v2.0.1
rancher/agent or rancher/rancher-agent: v2.0.1
Infrastructure Stack versions:
kubernetes (if applicable): v1.10.1
Docker version:
17.03.2-ce
Operating system and kernel:
16.04.3 LTS (Xenial Xerus)
4.4.0-105-generic
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Alicloud
Steps to Reproduce:
deploy kubernetes with kubespray
run deployment with cmd kubectl run test --image=nginx:alpine --port 80 --replicas=2
Results:
scale deployment test  up to 3 pod  with rancher, 2 pod before had delete, and run new 3 pod

I can reproduce this issue in 2.0.1
The scale function sometimes will remove old pods.
Sometimes works well.

@colinlabs there are several issues caused by applying certain defaults for template spec field on deployment update, causing pods upgrade; one for securityContext (fixed by https://github.com/rancher/types/pull/453), another fix - this time on rancher side - is needed for ports, will work on that. Those issues are presented when update is run on a deployment started natively, via kubectl.
@loganhz you should see pods recreation only when you change something in spec. Have you done any sort of updates in the UI by any chance, along with the scale? I can easily reproduce the issue by starging the deployment natively, but not via UI (unless again, you make some other changes)

@alena1108 no, I just clicked the plus button on UI.
It looks like you can reproduce it by creating a new workload and scale it like 3 times.

I just added the image name in UI and clicked create. I will try again on master.

@ibuildthecloud when natively created deployment, having ports, gets updated in Rancher, annotation field.cattle.io/ports gets inserted into the container spec because ports in rancher API is annotation field (to support certain custom parameters). That annotation insertion triggers pods recreate. So we should either:
a) never insert  annotations for annotation fields for objects created natively. We can limit it to deployment/pod/container.spec only as this insertion has the most impact
b) Document the fact that when object is created natively - via kubectl - updating it via Rancher UI/API can trigger pods recreate. I incline towards this option as in most of the cases if user prefers kubectl as a client, he'd use it for all operations. Plus a) would introduce inconsistency in how updates are done for native vs objects created via rancher api.

Going with option b), and closing this issue in favor of https://github.com/rancher/docs/issues/278

Hi @alena1108 , I still can see this issue in v2.0.4. The deployment is created via UI (not kubectl). Please see the gif

@loganhz: we have a separate issue for that (https://github.com/rancher/rancher/issues/14171), lets keep this one close as it was filed specifically for created via kubectl -> updated via rancher.


Initial release

Duplicates, Parallel and S3 I had to drop because of the scale of introduced changes. And these were not implemented due to the pressure to finish this project.
All are important. Parallel is probably less so, since the performance was decent.

I've found some time to work on the missing pieces.
The only missing part is an extra data (i.e. stuff added by enrichments - derived contexts and a few other fields) generator for the SdkEvent. But it is useful as it stands.


SSW Tests, Updates to Aeroelastic Test Interface + Design history files

Various housekeeping updates
Also a new Fun3dAeroelasticTestInterface for testing the loads(disps) vector function in FUN3D

Merge PR and do it again to not add history of commits for folders like handcrafted mesh morph tests that were taken out.


Discussion: rename and deprecated status of putDirect and deleteDirect

As per Binghammers question and subsequent discussion, let us discuss the best solution for 2.x.
In RxCupboard 1.x there were originally 2 methods to add: put(T entity) and delete(T entity). These directly called into Cupboard to perform the operation. Rightfully so, I then got a PR to add reactive versions for these, to use in streams. We are a reactive library after all!
So we introduced putRx(T entity) and deleteRx(T entity). They had to be called xxxRx as we already had methods with the same name and parameter signature with the direct variants.
For 2.x I decided that the reactive versions of these methods were actually the ones that we should have been using all along. We are reactive. So I promoted them to be the primary way of adding/deleting entities by renaming them to simple put and delete. The direct, non-reactive variants had to be renamed then to putDirect and deleteDirect.
For the 2.0-rc1 I was in doubt whether the xxxDirect methods should stay at all. Therefore they are marked as deprecated. I am not sure though, they are convenient and maybe we should keep them. In we keep them, I will un-deprecate them. Regardless I will have to add JavaDoc to the available methods.

Like you said; "We are Reactive". I think the direct methods should be removed. In the case you need to do something direct, you should still do it in a reactive way:
Single.just(item).flatMap(rxDatabase::put).subscribe();

or
rxDatabase.put(clock).subscribe();

This way, consistency is encouraged.

Sure, that was the idea. There's some value in ease of use though of the direct variants. I'd love more input from RxCupboard users. At least I'm happy that my idea to promote the reactive variants isn't mal conceived.


Update material_color_utilities package version to latest 0.11.1

This PR is to update material_color_utilities package version to the latest. material_color_utilities/scheme/scheme_fruit_salad.dart and material_color_utilities/scheme/scheme_rainbow.dart are exported after version 0.9.0.
Once this PR is merged, we don't need to explicitly import these two files like the change in PR #144805, which breaks some dependencies in Google testing.
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is [test-exempt].
[ ] I followed the [breaking change policy] and added [Data Driven Fixes] where supported.
 So sorry about that! I just pushed a commit to add the change back to remove the "AUTOGENERATED - ..." line for camera_android!

Analysis is now failing with:
Warning: pubspec in /b/s/w/ir/x/w/flutter/dev/integration_tests/gradle_deprecated_settings has updated or new dependencies. Please run "flutter update-packages --force-upgrade" to update them correctly.
Warning: one or more pubspecs have invalid dependencies. Please run "flutter update-packages --force-upgrade" to update them correctly.

You'll have to re-run flutter update-packages --force-upgrade to update the checksum at the bottom.

I see. Re-running!

Seems Windows tool_integration_tests_2_6 still failed because of timeout🧐

re-ran windows tool_integration_test_2_6, i highly doubt that this change caused that timeout.

re-ran windows tool_integration_test_2_6, i highly doubt that this change caused that timeout.

I was wrong, revving the frontend_server_client DID indeed regress this test: https://github.com/flutter/flutter/issues/146164

Hi, I have dependency error:
Dependency problem with flutter_localizations package:
material_color_utilities is pinned to version 0.11.1 by flutter_localizations from the flutter SDK
when I upgrade to version 0.11.1 of the material_color_utilities package it gives other errors:
\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:34: error: cannot find symbol
flutterEngine.getPlugins().add(new com.mastertipsy.flutter_localization.FlutterLocalizationPlugin());
symbol:   class FlutterLocalizationPlugin
location: package com.mastertipsy.flutter_localization
1 error
FAILURE: Build failed with an exception.


Documentation: How to do unit testing

What are you trying to accomplish?
I'm building a web server using Diesel. I want to unit test my code that access the DB via diesel. But I'm finding it unclear how to do this.
What is the expected output?
A documentation guide that explain best practices for unit testing while using Diesel and how to.
For example if I choose to hit the DB, how to clean it before each test, or run tests in transactions. Maybe something about factories.
If I would like to mock db call, how to achieve this.

Hi - Can I work on this documentation issue and submit PR?

Sure.

@rajcspsg did you end up creating anything for this?

@joelgallant Try looking into diesels own test suit for examples how to write unit tests.
It basically boils down to have a function to create connection somewhere and calling begin_test_transaction  on that connection before returning it to the test case.

Was there any work on this done? Or can someone point me to good examples?
I've written a microservice in Rust and am running into this issue. Any help is appreciated!

I am doing 2 things:

I am using an empty test database which I set using an environment variable. This allows me to test things like counting how many records are in the database without the results being affected by previously existing data.
#[cfg(test)]
fn get_database_url() -> String {
    dotenv::dotenv().ok();
    std::env::var("DATABASE_URL").expect("DATABASE_URL environment variable is not set.")
}

I run the tests like this:
$ DATABASE_URL=postgres://user:pass@localhost/my-test-db cargo test

I am using the begin_test_transaction() method described above. This starts a transaction which is rolled back at the end of the test, so no data is ever written into my test database. This is working fine, except that if you have any expected error during the test the transactions ends at that point and you cannot continue with your test.
#[test]
fn test_create_user() {
    let connection = establish_connection(&get_database_url()).unwrap();
    let email =<EMAIL_ADDRESS>    let password = "mypass";
    connection.test_transaction::<_, Error, _>(|| {
        // create_user() is the function under test, it creates a user in the database and
        // returns it.
        let user = create_user(&connection, email, password).unwrap();

        // Check that the returned user object has the correct values.
        let user = read(&connection, email).unwrap();
        assert_eq!(user.email, email);

        // Creating a second user with the same email address should result in an error.
        let second_user = create(&connection, email, "some_other_password").unwrap_err();
        match second_user {
            Err(DatabaseError(UniqueViolation, _)) => {},
            _ => panic!()
        }

        // Unfortunately at this point a database error has occurred and the transaction has
        // been closed so we cannot do any more database interactions. I have not yet found a
        // way around this.

        Ok(())
    });
}

Of course this is not unit testing but functional testing. I am also interested in how to do real unit testing with a mock database connection.
Here are some real life examples in my project: https://github.com/pfrenssen/firetrack/tree/master/db - (search for test_transaction()). Please note this is my first Rust project so this might not be following best practices, but at least I have working tests for all my database interactions which can serve as inspiration.

@pfrenssen Thanks for your quick and extensive reply. I'll be looking into it! I just wish there would be an official best practise or sth like it

@Mastermindaxe There are two reasons why there exists no official best practice or guide on this topic:

There is no one fits all use cases solution here. Depending on your actual requirements it may be a good idea to simply create a new database on each test run, use test_transaction or something completely different.
Someone needs to write such a guide. This is quite a lot of work, where at least I do not have the bandwidth for currently. So feel free to submit your suggestion as PR to the draft directory here

Here is a struct for creating a Postgres database per test:
// test_db.rs
use diesel::{sql_query, Connection, PgConnection, RunQueryDsl};
use log::warn;
use std::sync::atomic::AtomicU32;
use url::Url;

static TEST_DB_COUNTER: AtomicU32 = AtomicU32::new(0);

pub struct TestDb {
    default_db_url: String,
    url: String,
    name: String,
    delete_on_drop: bool,
}
impl TestDb {
    pub fn new() -> Self {
        let name = format!(
            "test_db_{}_{}",
            std::process::id(),
            TEST_DB_COUNTER.fetch_add(1, std::sync::atomic::Ordering::SeqCst)
        );
        let default_db_url = std::env::var("DATABASE_URL").expect("DATABASE_URL");
        let conn = diesel_logger::LoggingConnection::new(
            PgConnection::establish(&default_db_url).unwrap(),
        );
        sql_query(format!("CREATE DATABASE {};", name))
            .execute(&conn)
            .unwrap();
        let mut url = Url::parse(&default_db_url).unwrap();
        url.set_path(&name);
        Self {
            default_db_url,
            url: url.to_string(),
            name,
            delete_on_drop: true,
        }
    }

    pub fn url(&self) -> &str {
        &self.url
    }

    pub fn conn(&self) -> diesel_logger::LoggingConnection<PgConnection> {
        diesel_logger::LoggingConnection::new(PgConnection::establish(&self.url.as_str()).unwrap())
    }

    pub fn leak(&mut self) {
        self.delete_on_drop = false;
    }
}
impl Drop for TestDb {
    fn drop(&mut self) {
        if !self.delete_on_drop {
            warn!("TestDb leaking database {}", self.name);
            return;
        }
        let conn = diesel_logger::LoggingConnection::new(
            PgConnection::establish(&self.default_db_url).unwrap(),
        );
        sql_query(format!(
            "SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE datname = '{}'",
            self.name
        ))
        .execute(&conn)
        .unwrap();
        sql_query(format!("DROP DATABASE {}", self.name))
            .execute(&conn)
            .unwrap();
    }
}

# Cargo.toml
[dev-dependencies]
env_logger = "^0.9.0"
diesel = { version = "1", features = ["postgres"] }
diesel_logger = "^0.1.1"
log = "^0.4.14"

I use it like this:
#[test]
fn test_some_diesel_code() {
    env_logger::init();
    let db = TestDb::new();
    let conn = db.conn();
    crate::run_migrations(&conn);
    insert_into(schema::mytable::table)
        .values(
            &MyTableRowBuilder::new(id1())
                .option1()
                .option2(42)
                .build(),
        )
        .execute(&conn)
        .unwrap();
    let result = some_diesel_code(&conn));
    if EXPECTED != result {
        db.leak();
        panic!("{:?} != {:?}", EXPECTED, result);
    }
}

Run like this:
$ RUST_LOG=debug DATABASE_URL=postgres://user1:pass1@localhost:5432/defaultdb1 cargo test

Hi, wanted to add my approach, it seems to work,
#[cfg(test)]
mod tests_foo {
    use super::*;
    use serial_test::serial;
    use pg_embed::pg_types::PgResult;
    use pg_embed::postgres::{PgEmbed, PgSettings};
    use pg_embed::pg_enums::PgAuthMethod;
    use pg_embed::pg_fetch::{PgFetchSettings, PG_V13};
    use pg_embed::pg_errors::PgEmbedError;
    use std::time::Duration;
    use std::path::PathBuf;

    const DATABASE_NAME: &str = "foo";

    // https://github.com/faokunega/pg-embed/blob/5c44763ad3cad5018953132172a264d34e5372d7/tests/common.rs#L11
    async fn setup_db(
        port: i16,
        database_dir: PathBuf,
        persistent: bool,
        migration_dir: Option<PathBuf>,
    ) -> Result<PgEmbed, PgEmbedError> {
        let pg_settings = PgSettings {
            database_dir,
            port,
            user: "postgres".to_string(),
            password: "password".to_string(),
            auth_method: PgAuthMethod::MD5,
            persistent,
            timeout: Some(Duration::from_secs(10)),
            migration_dir,
        };
        let fetch_settings = PgFetchSettings {
            version: PG_V13,
            ..Default::default()
        };
        let mut pg = PgEmbed::new(pg_settings, fetch_settings).await?;
        pg.setup().await?;

        Ok(pg)
    }

    async fn setup() -> Result<PgEmbed, PgEmbedError> {
        let mut pg = setup_db(
            5434,
            PathBuf::from("data_test/db"),
            false,
            Some(PathBuf::from("migration_test")),
        ).await?;

        pg.start_db().await?;
        pg.create_database(&DATABASE_NAME).await?;
        pg.migrate(&DATABASE_NAME).await?;

        Ok(pg)
    }

    // https://medium.com/@ericdreichert/test-setup-and-teardown-in-rust-without-a-framework-ba32d97aa5ab
    async fn run_test<T>(test: T) -> ()
    where T: FnOnce(PgConnection) -> () + std::panic::UnwindSafe
    {
        let mut pg = setup().await.unwrap();
        let db_uri = pg.full_db_uri(DATABASE_NAME);
        let connection = PgConnection::establish(&db_uri)
            .expect(&format!("Error connecting to database"));

        let result = std::panic::catch_unwind(|| {
            test(connection)
        });

        pg.stop_db().await.unwrap();

        // no panics (or result.is_err())
        assert!(result.is_ok())
    }

    fn add_by_id(id_value: Uuid, conn: &PgConnection) -> Result<Account, Error> {
        let mut data = Foo::default();
        data.id = id_value;
        data.add(&conn)
    }

    #[tokio::test]
    #[serial]
    async fn add() {
        run_test(|connection| {
            let id_value = Uuid::new_v4();
            let result = add_by_id(id_value, &connection).unwrap();

            assert_eq!(result.id, id_value);
        }).await;
    }

    #[tokio::test]
    #[serial]
    async fn get_by_id() {
        run_test(|connection| {
            let id_value = Uuid::new_v4();
            add_by_id(id_value, &connection).unwrap();
            let result = Foo::get_by_id(&connection, id_value).unwrap();
            assert_eq!(result.id, id_value);
        }).await;
    }
}

Notes:

postgres only
slow
migration needs to be handled manually (unless you have an idea)

I was looking for a way to do testing in a my project and I found this issue.
Here's what I achieved: this is based on the solution given above by @mleonhard, but with some little tricks:

first, I was needing support for a connection pool in some tests, so I added R2D2 support
I also wanted async support in the tests so I wrote an async function run_test that accept a closure with an async move block and provides the connection pool as a parameter.
This function also run the migrations before calling the closure
Finally, i added a check in the Drop trait to leak the database if we're in panicking context

So you can use it like this:
 #[tokio::test]
    async fn test_foo() {
        let db = TestDb::new(&config);
        db.run_test(|pool| async move {
           let conn = &mut pool.get().unwrap();
            let res = some_fn(pool);
            assert_eq!(Ok(1), res);
        }.boxed()).await;
    }


Crashed on 404

Do you want to request a feature or report a bug?
feature
What is the current behavior?
when try to connect 404 page, process crashed. because of throw error.
If the current behavior is a bug, please provide the steps to reproduce.
It is not bug. but I hope do not throw error.
even if connect 404 page, my crawler must not crash.
or... did you provided progressible function without crash even if connect 404 page??
What is the expected behavior?
progress crawling without crash even if connect 404 page.

When does this crash happen? Right on start? If the initial page is an 404 the crawler crashes, because it can not proceed without any new links. If it's crashing during the process this might be a bug, because it should only emit an error event.

oh I'm sorry for late.
This crash occur at the only begining time.
Namely, it is not bug!
My question's key point is that as u can see below.
I'm developing Crawler can crawling from several site.
so I need collect sitemaps from several site, therefore I decided to use your super cool module(sitemap-generator).
My system was collect sitemaps in succession. so crawler don't crash in midstream.
In conclusion, can you support able to handling error continuously instead of throw error?

Ah now I understand.
Why don't you just wrap it in a try { .. } catch { .. }? I think that error still makes sense.

Closed due to inactivity.


Create README.md

Hi Fleur, lovely idea!
To start, I was wondering about where the suggestions come from as well. How big is this database? And if the user does (not) like a suggestion, is it possible to indicate this so that it (does not) show up anymore? In that case, do they get a new suggestion? It may be worth considering the risk of there being too few suggestions or that the user may go through them too quickly. If you want to further develop your idea, an interesting add-on may therefore be to allow the user to pre-specify activities that they already know/use as self-care. When the user specifies this for the first time, they can be asked whether they prefer to do this when they are high/low in energy, active/calm, inside/outside so that the activity can get suggested to the user sometimes when they enter their energy level etc and it fits that activity.
I'm assuming since you're using Dash that besides recommendations, you also want to provide the user with a visualization of their (mental) health and how they tend to respond to the elicited questions. If not, it may be worth thinking about as a next step!
Please let me know if any part of the feedback is unclear, and best of luck with the project!
Cheers,
Tara


Datawrapper CSS might be buggy

The CSS to make the DW charts side-by-side didn't work for me
Site: https://aidaylanan.github.io/first-viz-story-example/
Repo: https://github.com/aidaylanan/first-viz-story-example

I got this fixed by ensure that the styles tag is in base template we ask users to copy and paste.


Fix typo in documentation, use 'file' instead of 'dir'

The example here should use file instead of dir
from(layout.buildDirectory.file("reports/my-report.pdf"))
Context

Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass sanity check: ./gradlew sanityCheck
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Auto corrected by following Lint Ruby Style/Encoding

Auto corrected by following Lint Ruby Style/Encoding
Click here to configure it on awesomecode.io

Coverage remained the same at 97.136% when pulling 9b5b96bf3da41ab271f8ec61e91432abe1ff55e6 on awesomecode-lint-ruby-style-encoding-47701 into 6f35b6f068f62083f4838f749eb9caa708dec50f on master.

Coverage remained the same at 97.136% when pulling 9b5b96bf3da41ab271f8ec61e91432abe1ff55e6 on awesomecode-lint-ruby-style-encoding-47701 into 6f35b6f068f62083f4838f749eb9caa708dec50f on master.


Missing keywords for (3D) coastal models

Describe the bug
For 3D models like DCSM-FM we deviate from some default settings. To do so we make use of several keywords that are not available in FMModel of hydrolib-core yet:
in [numerics]:

Keepstbndonoutflow
Barocponbnd
MinTimestepBreak

in [physics]:

ITcap
Tempmax
Tempmin
Salimax
Salimin
Heat_eachstep
RhoairRhowater
IniWithNudge

in [time]:

AutoTimestep
Startdatetime (now time is being reset if TStart and Tstop are not present)
Stopdatetime

in [trachytopes]:

TrtMxR

in [output]:

FouFile
WaqInterval
StatsInterval
Wrihis_turbulence
Wrihis_wind
Wrihis_rain
Wrihis_waves
Wrihis_heat_fluxes
Wrihis_density
Wrihis_sediment
Wrihis_constituents
Wrihis_taucurrent
Wrimap_evaporation
Wrimap_waterdepth
Wrimap_velocity_magnitude
Writek_CdWind
Wrimap_tidal_potential
Richardsononoutput

To Reproduce
Steps to reproduce the behavior:

Run the lines:

from pathlib import Path
import hydrolib.core.dflowfm as hcdfm

oldPath = r'p:\11208054-004-dcsm-fm\models\3D_DCSM-FM\2013-2017\B05\DCSM-FM_0_5nm.mdu'
mduOld  = hcdfm.FMModel(filepath=oldPath,path_style='unix',recurse=False)

newPath = r'p:\11208054-004-dcsm-fm\models\3D_DCSM-FM\2013-2017\B05_hydrolib\DCSM-FM_0_5nm.mdu'
mduOld.filepath=newPath
mduOld.save(path_style='unix',recurse=False)

Start a short simulation (done): p:\11208054-004-dcsm-fm\models\3D_DCSM-FM\2013-2017\B05_hydrolib\
Compare the diagnostics output to see which keywords in the used mdu changed:

p:\11208054-004-dcsm-fm\models\3D_DCSM-FM\2013-2017\B05\DFM_OUTPUT_DCSM-FM_0_5nm\DCSM-FM_0_5nm_0001.dia
p:\11208054-004-dcsm-fm\models\3D_DCSM-FM\2013-2017\B05_hydrolib\DFM_OUTPUT_DCSM-FM_0_5nm\DCSM-FM_0_5nm_0001.dia

Expected behavior
After reading and writing an mdu there should be no differences in settings (and in the resulting simulation).
Version info (please complete the following information):

OS: Windows 10

I notice at least some of these keywords are not in the D-Flow FM User Manual. >> https://issuetracker.deltares.nl/browse/UNST-6822


please correct your license in your package.json to be a vaild SPDX expression

your format is outdated, see spdx.org for more info.

Note that this is fixed in 2.0.3 by #26.

Thanks @PhilippWendler.


Compound bubble

Codecov Report

Merging #545 into master will decrease coverage by 3.35%.
The diff coverage is 0.45%.

@@            Coverage Diff             @@
##           master     #545      +/-   ##
==========================================
- Coverage   63.34%   59.98%   -3.36%
==========================================
  Files          77       85       +8
  Lines        3740     3926     +186
==========================================
- Hits         2369     2355      -14
- Misses       1371     1571     +200

Impacted Files
Coverage Δ

...sage/Views/CompoundMessageCollectionViewCell.swift
0% <0%> (ø)

...ems/CompoundMessage/Views/CompoundBubbleView.swift
0% <0%> (ø)

ChattoAdditions/Source/Common/Cache.swift
0% <0%> (ø)

...ditions/Source/Common/UIEdgeInsets+Additions.swift
54.54% <0%> (-45.46%)
:arrow_down:

...ems/CompoundMessage/CompoundMessagePresenter.swift
0% <0%> (ø)

...poundMessage/CompoundMessagePresenterBuilder.swift
0% <0%> (ø)

...attoAdditions/Source/Common/CGSize+Additions.swift
90.32% <0%> (-9.68%)
:arrow_down:

...ompoundMessage/Views/CompoundBubbleViewStyle.swift
0% <0%> (ø)

...dMessage/Content/MessageManualLayoutProvider.swift
0% <0%> (ø)

...essage/Content/MessageContentFactoryProtocol.swift
0% <0%> (ø)

... and 20 more

Continue to review full report at Codecov.

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


Is there a way to force a task to run on a specified agent?

I'm trying to use digdag for automating the workflow execution for deep learning use cases. However I'm facing a problem that some task needs to run on some specified node due to some constraints (such as GPU requirement).
Is there a solution for that I can pin a specific task to a specific node?

https://github.com/treasure-data/digdag/tree/remote-agent is a branch that wants to add it but there're long way to make it done

Close the old issue. Please reopen or file new one if you need.


Country Detail Footer is not fixed

The footer is not fixed. It is moving up and down on data displacement.

@mansi-singla-31215 Please review the issue. I would like to work on this.

Please assign this issue to me

Please add hactoberfest label to this issue


Import options metadata duplicated

After importing a file, two copies of the options JSON are included in the project metadata. This bug was introduced with the change to support the saving of the archive file name.
To Reproduce
Steps to reproduce the behavior:

Import a file
At the "Open Project" screen, click on "About" next to the file.
Look at the bottom of the screen for "Import option metadata (JSON)"

Current Results
There are two identical copies of the JSON data.
Expected Behavior
Only a single copy of the data.
Versions

OpenRefine 3.5 HEAD

An additional bug is that the options metadata will always have the last filename imported. In the case of multiple files, it will be N*2 copies of the same data.


[Feature Request]: Use @container queries

Is your feature request related to a problem? Please describe
Container queries were finally made available in svelte 3.58.0.
Describe the solution you'd like
Most of the existing @media queries should be replaced with @container queries
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_container_queries
Acceptance criteria

Create an example on the form stepper component page to show how the vertical orientation can be specced for wide screens
Create a stand alone documentation page under the "Utilities" section that outlines what @container queries are, how they can be used, and gives some examples
Work with @twjeffery to determine what @media queries need to be changed

Blocked until all current testing and in review stories are pushed to Alpha

It is actually blocked because Jest fails unit tests with @container queries. Jest needs to be replaced with vitest

:tada: This issue has been resolved in version 1.17.0-alpha.17 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 4.17.0-alpha.14 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 3.0.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.20.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 4.20.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 3.0.0-alpha.4 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Snyk] Fix for 4 vulnerabilities

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

gravitee-apim-repository/gravitee-apim-repository-jdbc/pom.xml

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity
Reachability

570/1000  Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 5.9
Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038424

No
Proof of Concept
No Path Found

590/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 7.3
XML External Entity (XXE) Injection SNYK-JAVA-ORGLIQUIBASE-2419059
org.liquibase:liquibase-core:  3.10.3 -> 4.8.0
Yes
Proof of Concept
No Path Found

410/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
Improper Handling of Case Sensitivity SNYK-JAVA-ORGSPRINGFRAMEWORK-2689634

No
Proof of Concept
No Path Found

415/1000  Why? Has a fix available, CVSS 5.3
Denial of Service (DoS) SNYK-JAVA-ORGSPRINGFRAMEWORK-2823313

No
No Known Exploit
No Path Found

(*) Note that the real score may have changed since the PR was raised.
Vulnerabilities that could not be fixed

Upgrade:

Could not upgrade<EMAIL_ADDRESS>to<EMAIL_ADDRESS>Reason could not apply upgrade, dependency is managed externally ; Location: https://maven-central.storage-download.googleapis.com/maven2/com/fasterxml/jackson/jackson-bom/<IP_ADDRESS>/jackson-bom-<IP_ADDRESS>.pom
Could not upgrade<EMAIL_ADDRESS>to<EMAIL_ADDRESS>Reason could not apply upgrade, dependency is managed externally ; Location: https://maven-central.storage-download.googleapis.com/maven2/org/springframework/spring-framework-bom/5.3.18/spring-framework-bom-5.3.18.pom
Could not upgrade<EMAIL_ADDRESS>to<EMAIL_ADDRESS>Reason could not apply upgrade, dependency is managed externally ; Location: https://maven-central.storage-download.googleapis.com/maven2/org/springframework/spring-framework-bom/5.3.18/spring-framework-bom-5.3.18.pom

Check the changes in this PR to ensure they won't cause issues with your project.

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

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Denial of Service (DoS)
🦉 XML External Entity (XXE) Injection
🦉 Denial of Service (DoS)

🚀 CI was able to deploy the build of this PR, so you can now try it directly here
Notes: The deployed app is linked to the management API of APIM master. (Same login and password as APIM master)

That's not so simple...


Updated Readme

Add additional information and improvements to the README file
Updated the README file with more detailed information about the project, its structure, and how to get started. Also included additional tips and improved


Suppress errors in JvmInitializer#beforeProcessing if successfully initialized before

A band-aid fix aimed at mitigate #32990 while do not change the current behavior (JvmInitializer invoked multiple times in embedded environment)
Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

PostCommit Java PVR Spark Batch passed

assign set of reviewers


Too many dependencies

Your project has a nice API and comes with nice features but the main problem is the high number of required dependencies: Spring Framework, Guava, jackson, jetty....
I think it's to heavy weight for the purpose of this project.

Hi David,
Thanks for the comment. I know that currently the project has quite a number of dependencies. Some are pretty hard-wired to the project (spring, jackson) but other might indeed be removed. May I ask whether you have tried using count-db, or for what type of project you would consider using it?
Regards,
Koen

I have a project where I create remote jobs on server. This servers process JSON-RPC requests and returns results asynchronously. I have to persist the status of jobs running on the server and to increment the ID of each new job.
I was considering count-db for this task but I don't want to have the Spring framework dependency, nor the jetty one.
I need something quite simple so I think I will use isntead an SQLite file with an auto-incremented field.
Keep up the good work !


Accessibility is missing features on older Android APIs

Some of the accessibility APIs aren't available before 18. We could potentially bring in the support library versions of the APIs to fix this.
Right now what's known not to work is:

[ ] Text editing (SET_SELECTION, COPY, CUT, PASTE)
[ ] "In list" and "out of list" announcements.

From @jonahwilliams - we should double check that these APIs are really practically usable in TalkBack on older versions before bringing in support libraries, though. These code paths code have been getting hit without them really being functional even if they were at parity.

/cc @goderbauer - I believe he tried to bring in support libraries for a11y at one point and found that it blew up the app size 😢

Yeah, last time I tried to bring them in for a11y stuff it increased our binary size significantly. Back then, one idea was to enable ProGuard by default for Flutter to trim out all the stuff from the support libs that we don't use.
However, before we do that, it does make sense to check that old Androids actually do something sensible here.

We are dropping support for Android SDK 16-18, and thus, will not address this issue: https://docs.google.com/document/d/1wWNly2SZRDqupSsHkBWDI_lS2MohBGEwPSXF6W05NOc/edit?usp=sharing


Implement LinkedHashMap for BlogMessages

Ignore first implementation of LinkedHashMap commited on July 1

LGTM overall. Please make sure that the current BlogHashMap pass the tests Steven added before you merge.


iOS Client: "null is not an object" error message appearing in chat

Using the Keybase iOS version, and I had this error message suddenly appearing in chat:

This seems to be JavaScript related.
The message appeared immediately after I went on the app (it was in running in background)

thanks for the report
cc: @keybase/react-hackers


Update CI build status badge on the site page

Motivation
The central dogma site shows invalid build status.
It causes by we didn't update the badge image source after we changed CI build system.
Modifications

removed old build status badge provided by Travis CI and Appveyor CI.
added CI status page provided by GitHub workflow.

For an easier review, I attach a screenshot of the changes.

 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.

👍 👍 👍


Missing "/" in GPG URL for RHEL bases OS

When attempting to install on CentOS 7, I was getting 404 errors during the yum transaction like below:
`Error: /Stage[main]/Bareos::Client/Package[bareos-filedaemon-python-plugin]/ensure: change from purged to present failed: Execution of '/bin/yum -d 0 -e 0 -y install bareos-filedaemon-python-plugin' returned 1: warning: /var/cache/yum/x86_64/7/bareos/packages/bareos-filedaemon-17.2.4-9.1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 093bfba2: NOKEY
GPG key retrieval failed: [Errno 14] HTTP Error 404 - Not Found`
Looking into it, the URL was missing a "/" in repository.pp, here is my diff of fixing it.
`
@@ -40,7 +40,7 @@ class bareos::repository(
|   | name     => 'bareos',
  |   | baseurl  => $location,
  |   | gpgcheck => '1',
  |   | -          gpgkey   => "${location}repodata/repomd.xml.key",
  |   | +          gpgkey   => "${location}/repodata/repomd.xml.key",
  |   | priority => '1',
  |   | }
  |   | }
`

will be fixed with #13


Madninja/codecov

Switches to buildkite/codecov

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@a3018c2). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage          ?   96.42%
=========================================
  Files             ?        1
  Lines             ?      112
  Branches          ?        0
=========================================
  Hits              ?      108
  Misses            ?        4
  Partials          ?        0

Continue to review full report at Codecov.

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


fixing typo in Provider KubernetesIngress at Routing documentation

What does this PR do?
fixing typo in Provider Kubernetes Ingress at Routing documentation
Motivation
Middleware annotation example as mispelled provider name:

kuberntescrd instead of kubernetescrd (missing e char)

Thank you guys! Well, actually I hoped in smt more consistent as my first contribution to Traefik. However, it is a begininng!


table trace: resolve conflict

this PR clears conflict of https://github.com/plotly/plotly.rs/pull/165

@naijim could you also fix

the Clippy warnings: https://github.com/plotly/plotly.rs/actions/runs/9561890518/job/26357298100?pr=207
the examples: https://github.com/plotly/plotly.rs/actions/runs/9561890518/job/26357299369?pr=207

@naijim could you also fix the examples: https://github.com/plotly/plotly.rs/actions/runs/9561890518/job/26357299369?pr=207

I fixed the Clippy warnings in this PR, so if you update / rebase on main and fix the examples, this PR would be ready for merging.

@andrei-ng The example has been fixed.


Module cannot be found after install of<EMAIL_ADDRESS>in ember 1.13.1

After installing ember-cli-font-awesome in ember v1.13 according to the readme instructions
$ ember install ember-cli-font-awesome
$ ember generate ember-cli-font-awesome

routes that contain font-awesome icons will not render. The developer console gives the following error:
Uncaught Error: Could not find module `ember-cli-font-awesome/helpers/fa-icon` imported from `my-app/helpers/fa-icon`

thrown from /assets/bower_components/loader.js.
Installing the old version of the addon<EMAIL_ADDRESS>will fix the issue in my ember installation.
Tested setup:
ember-cli: 1.13.1
ember: 1.13.3
font-awesome: ~4.3.0
built locally with node v0.12.7

@JosephineJ tested this with exactly these library version on OSX, except for Node.js which is still at v0.12.3 and it works for me.
Are you using Windows, OSX or Linux?

Upgraded to Node v0.12.7, still works
Upgraded to ember-cli v1.13.5, also works

@lfridael I am using ember-cli under Ubuntu 14.04. Good to hear, that it is not a node-related issue as you tested it with node v0.12.7.
Might it be a general dependency-related issue? Something I should check in my dependencies for debugging this? Not really sure where to start

Can you post the content of your bower.json and packages.json? I will compare to my setup and try to reproduce if  I find differences in my project

package.json:
{
  "name": "issue-35",
  "version": "0.0.0",
  "description": "Small description for issue-35 goes here",
  "private": true,
  "directories": {
    "doc": "doc",
    "test": "tests"
  },
  "scripts": {
    "start": "ember server",
    "build": "ember build",
    "test": "ember test"
  },
  "repository": "",
  "engines": {
    "node": ">= 0.10.0"
  },
  "author": "",
  "license": "MIT",
  "devDependencies": {
    "broccoli-asset-rev": "^2.0.2",
    "ember-cli": "1.13.5",
    "ember-cli-app-version": "0.4.0",
    "ember-cli-babel": "^5.0.0",
    "ember-cli-content-security-policy": "0.4.0",
    "ember-cli-dependency-checker": "^1.0.0",
    "ember-cli-font-awesome": "0.1.0",
    "ember-cli-htmlbars": "0.7.9",
    "ember-cli-htmlbars-inline-precompile": "^0.1.1",
    "ember-cli-ic-ajax": "0.2.1",
    "ember-cli-inject-live-reload": "^1.3.0",
    "ember-cli-qunit": "0.3.18",
    "ember-cli-release": "0.2.3",
    "ember-cli-sri": "^1.0.1",
    "ember-cli-uglify": "^1.0.1",
    "ember-data": "1.13.7",
    "ember-disable-proxy-controllers": "^1.0.0",
    "ember-export-application-global": "^1.0.3"
  }
}

bower.json
{
  "name": "issue-35",
  "dependencies": {
    "ember": "1.13.5",
    "ember-cli-shims": "ember-cli/ember-cli-shims#0.0.3",
    "ember-cli-test-loader": "ember-cli-test-loader#0.1.3",
    "ember-data": "1.13.7",
    "ember-load-initializers": "ember-cli/ember-load-initializers#0.1.5",
    "ember-qunit": "0.4.7",
    "ember-qunit-notifications": "0.0.7",
    "ember-resolver": "~0.1.18",
    "jquery": "^1.11.1",
    "loader.js": "ember-cli/loader.js#3.2.0",
    "qunit": "~1.17.1",
    "font-awesome": "~4.3.0"
  }
}

@lfridael Thanks for sharing your setup. Couldn't make it work with a similar setup in my old app, so I retried in a fresh Ember app with ember-cli 1.13.1. Here installation of<EMAIL_ADDRESS>works completely fine!
Installing the package ember-cli-bootstrap-sass subsequently will reproduce my error that I had before:
Uncaught Error: Could not find module `ember-cli-font-awesome/helpers/fa-icon` imported from `portfolio/helpers/fa-icon`

Also the following error, of which I didn't know before what it was related to, shows up:
Uncaught Error: Cannot call `compile` without the template compiler loaded. Please load `ember-template-compiler.js` prior to calling `compile`.

So it seems it's rather an issue with the bootstrap-addon - closing this issue then as installation of font-awesome works fine for me otherwise.

@JosephineJ Thanks for the feedback


Support latest version of CDK with TypeScriptSource

TypeScriptSource is incompatible with the latest version of aws-s3-deployment.
More specifically, the .bind() method should return {bucket, zipObjectKey} instead of:
https://github.com/mrgrain/cdk-esbuild/blob/3ee7f93bb97c1fbaf689fe5277b8e6aded0389cc/src/code.ts#L105-L110
Also, aws-s3-deployment now passes the underlying Function Role as part of the second argument to the .bind() method. This can be used to automatically grant read access to the S3 Bucket. An example can be found here.

Hi @ehmicky  Thanks for reporting! Could it be that you tried to use TypeScriptCode where TypeScriptSource is expected? The code you've linked seems to indicate that.  🤔
Also the latest version integration tests haven't picked up on it, nor has aws-s3-deployment changed significantly recently.


A Request About Validations...

About a month or two ago, i asked a question on stack overflow, but no one could answer me, so today as i just checking stack again, i though to bring the issue to the master of matters, so please read my post, and if you see it fit, and possible, please make it work.
http://stackoverflow.com/questions/32052991/disable-unwanted-validation-in-angularjs-conditional-validation

Sorry, this is too specific a question to be answered here. I've looked at the SO question, but I have to agree, it's too much code to look at, and without a running example, it's very difficult to assess the problem.

Man as I said that somehow my issue is not matter any more,  as I solve it via defining a same section Multiple time.