[camerax] Implement flash mode configuration

In the camera plugin API, the method Future<void> setFlashMode(int cameraId, FlashMode mode) is used to configure the flash mode for taking pictures and recording video. This method needs to be implemented in the CameraX plugin.

@camsim99 I'd like to contribute to this one, but I see there is an ongoing project with this feature. Should we hold off until the rewrite is complete? Or is it in a stable enough place that I can create a PR?

@FXschwartz I think we should hold off until the plugin is at least a little more stable and the primary use cases have been implemented. I can update this issue when it is at that point!

@FXschwartz  Just FYI, I am working on a PR to implement all of the camera modes except torch mode. It's one I started a while ago because I wanted to land it on a tight timeline, but I didn't end up finishing. After that lands, we'll still need to implement support for torch mode. I am looking to confine work on that to the quarter, but if you want to work on that part, let me know!


Datagrid high records delay to render

Describe the bug
When the Datagrid is processing client side, even with pagination, it is taking up to 3 seconds to render datagrid.
this is happening with my app that has the data stored in a store, i have timestamped the output of the last bit of processing on the component, to when the screen becomes interactive at 3-4 seconds.
How to reproduce
Steps to reproduce the behavior:

Go to https://clarity.design/documentation/datagrid/full
set the number of users to 3100
Click Apply
the browser will become render blocked.

Expected behavior
This did not happen with the previous version:
https://vmware.github.io/clarity/documentation/v0.13/datagrid/full
The Datagrid should be rendered with the 10 (page size) items displayed with similar speed to a datagrid with similar size.
Versions
App

Angular: v7.1.4
Node: v8.11.1
Clarity: v1.0.3-patch

Device:

Type: HP Desktop
OS: Windows 10
Browser: Chrome
Version: 71.0.3578.98 (Official Build) (64-bit)

Hello,
looking for any update on this. :)

@youdz is absolutely right.
At some point we moved the page size initialization from the constructor to ngOnInit.
After moving it back to the constructor it render 30k item datagrid without a visible delay.
I need to investigate if there is a valid use case that required the move from the constructor and will proceed with a fix after this.


Feature suggestions: weekdays, labels, grouping, ringtone

Thanks for this helpful app!
Here are my suggestions for improvements:

Frequency: weekdays or weekends
option "weekdays" (Monday-Friday) or weekends (Saturday, Sunday) for frequency and alarm reminder
helps with office / weekend work and avoids unnecessary reminders

Labels
add a label to a color, e.g. "health" for easier selection
also helps colorblind users

Grouping
allow grouping (not just sorting) by labels
a small divider shows label and below all habits for this label/color

Ringtone
select ringtone and set volume for reminder
helps to differentiate from other apps

Thanks and have a nice day!

no plan to support "weekdays", because this feature deps on country's policy (e.g. in my country, "调休" is a special policy that is challenging to handle without the current year's online calendar), and one aim of this App is keep design concision.
see #22, "Filter" is planed for the future, but specific details are yet to be confirmed (colors filter, named color(simgle lablel), etc.), thx.
same as 2
I'm not sure that app have ability to grant these permissions on Android or iOS (as l'm not professional in native mobile app development). It maybe necessary to study the Android/iOS design specifications first.


http2: migrates DATA frame payloads to the visitor API

This slightly simplifies the flow of DATA frame payloads; after this change, the StreamDataFrameSource class can be removed.

Http2Visitor::OnReadyToSendDataForStream() is substantially the same implementation as StreamDataFrameSource::SelectPayloadLength().
Http2Visitor::SendDataFrame() is substantially the same as StreamDataFrameSource::Send().

Commit Message: http2: migrates DATA frame payloads to the visitor API
Additional Description:
Risk Level: low
Testing: ran unit and integration tests locally
Docs Changes:
Release Notes: added a note with the runtime feature to disable in case of problems
Runtime guard: envoy_reloadable_features_http2_use_visitor_for_data

/assign @diannahu
/assign @RyanTheOptimist

Is this a real failure, or a flake?
[  FAILED  ] IpVersions/Http2FrameIntegrationTest.AdjustUpstreamSettingsMaxStreams/IPv6_Nghttp2, where GetParam() = 8-byte object <01-00 00-00 00-00 00-00>

https://dev.azure.com/cncf/envoy/_build/results?buildId=171029&view=logs&jobId=767be981-567e-57d8-68c3-2140ede0a0bd&j=767be981-567e-57d8-68c3-2140ede0a0bd&t=2181edf2-f610-59f2-c43a-04bb9d0bca00

Is this a real failure, or a flake?
[  FAILED  ] IpVersions/Http2FrameIntegrationTest.AdjustUpstreamSettingsMaxStreams/IPv6_Nghttp2, where GetParam() = 8-byte object <01-00 00-00 00-00 00-00>

https://dev.azure.com/cncf/envoy/_build/results?buildId=171029&view=logs&jobId=767be981-567e-57d8-68c3-2140ede0a0bd&j=767be981-567e-57d8-68c3-2140ede0a0bd&t=2181edf2-f610-59f2-c43a-04bb9d0bca00

Test passes with --runs_per_test=50 when I run it. I think it's a flake, since the behavior being tested does not seem to rely on DATA frames.

Looks like coverage has dropped. Maybe we need to add a tests where the flag is false?
Per-extension coverage failed:
Code coverage for source/common/http is lower than limit of 96.6 (96.4)
Code coverage for source/common/http/http2 is lower than limit of 95.6 (93.8)

/retest


Bitumen seeps crash the game when pipe connection is attached

Mod source
Factorio Mod Portal
Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[ ] Progression
[ ] Balance
[ ] Pypostprocessing failure
[ ] Other

What is the problem?
Rel: https://forums.factorio.com/viewtopic.php?f=7&t=116093
Steps to reproduce
No response
Additional context
No response
Log file
factorio-current.log

fixed in base game


feat: merge beta to main

This PR adds support for the device code authentication flow.
To add a system that uses device code authentication flow,
run the init command and answer device to the
"Authentication flow?" question.
Once a system is added using the init command, the other
commands can be used the same way they are used with systems
that support the client credentials grant flow.

:tada: This PR is included in version 2.6.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Introduce --sort: Sort by Header

Check list

[X] I have read through the README
[X] I have searched through the existing issues

Environment info

OS

[ ] Linux
[X] Mac OS X
[ ] Windows
[ ] Others:

Version
csview 1.2.2
Problem / Steps to reproduce
Thanks for such an awesome project! This is rock! 🔥
It would be nice to have a (--sort|--sort-by|--sort-asc|--sort-dsc) flag to sort items by providing header name: (I'm not sure about the flag namings)
"h1", "h2", "h3"
"ccc", "bbb", "aaa"
"bbb", "ccc", "bbb"
"aaa", "aaa", "ccc"

For example:

csview --sort-asc h1:

"h1", "h2", "h3"
"aaa", "aaa", "ccc"
"bbb", "ccc", "bbb"
"ccc", "bbb", "aaa"

csview --sort-dsc h2:

"h1", "h2", "h3"
"bbb", "ccc", "bbb"
"ccc", "bbb", "aaa"
"aaa", "aaa", "ccc"

WDYT?

/remove-lifecycle stale

Hi @Dentrax, sorry for the late reply, and thanks for your suggestion. csview aims to be a pure, fast csv pager for cli. Data processing capabilities, such as filter, map, sort, aggregate, etc., can be well provided by tools such as xsv. You can easily combine it with csview through pipes, which should be more in line with the unix style IMO:
$ cat a.csv
h1,h2,h3
ccc,bbb,aaa
bbb,ccc,bbb
aaa,aaa,ccc

$ cat a.csv | xsv sort -s h1 | csview
┌─────┬─────┬─────┐
│ h1  │ h2  │ h3  │
├─────┼─────┼─────┤
│ aaa │ aaa │ ccc │
│ bbb │ ccc │ bbb │
│ ccc │ bbb │ aaa │
└─────┴─────┴─────┘

$ cat a.csv | xsv sort -s h1 --reverse | xsv select h1,h3 | csview --number
┌───┬─────┬─────┐
│ # │ h1  │ h3  │
├───┼─────┼─────┤
│ 1 │ ccc │ aaa │
│ 2 │ bbb │ bbb │
│ 3 │ aaa │ ccc │
└───┴─────┴─────┘


scrolly question

What is your question?
Hi, I would like to ask a question, my question is : How can i change from up scroll to down scroll mid song as an effect like hex detected song?
Cheers!
zLightc

no

ok?


Password parameter

Hi,
My redis server is password protected. I want to use redix to connect to the redis server but it seems like the Redix.start_link/2 does not support password in the url.
I am passing the url as "redis://<password>@<host>:<port>/<database_number>". It is giving me error - no match of right hand side value.
Any suggestions?

@anshulbisht06 can you:

post the actual error with the stacktrace?

Where is the password in the redis://@:/<database_number> URL?

ohh sorry!
The format I followed is: redis://@:/<database_number>
Stack trace:
** (Mix) Could not start application <my_project>: exited in: <My_Project>.Application.start(:normal, [])
** (EXIT) an exception was raised:
** (MatchError) no match of right hand side value: [""]
(redix) lib/redix/uri.ex:25: Redix.URI.password/1
(redix) lib/redix/uri.ex:15: Redix.URI.opts_from_uri/1
(redix) lib/redix.ex:290: Redix.start_link/2
(kernel) application_master.erl:277: :application_master.start_it_old/4

@anshulbisht06 the error is that usually URIs are expressed as redis://user:password@host:port/db. Redis doesn't support a user, but the scheme should be the same: redis://:password@host:port/db. If you do that, it will work just fine. I pushed a commit that raises a better error for such cases.

It worked.
@whatyouhide thanks a lot.

@whatyouhide Unfortunately, this breaks our app on Heroku which uses the REDIS_CLOUD_URL provided by Redis Cloud which includes a discarded username.
Wouldn't it be better to support the same things that redis-cli supports, eg:

redis://discarded_username:authorization@host:port/db
redis://:authorization@host:port/db
redis://authorization@host:port/db

@mosspigletmob yes redis-cli supports those formats but I am not comfortable with<EMAIL_ADDRESS>I reverted so that we have support for<EMAIL_ADDRESS>though. Thanks!

❤💜💙💚💛


Documentation Improvement

Is your documentation request related to a problem? Please describe.
There is a spelling mistake in the last line in readme.md of recognition algorithm folder.
Mistake:- Cecognition
Describe the documentation you want to improved
Correction:- Recognition

assigned


Handle xarray 0.18.0

Pull request
Please confirm that this pull request has done the following:

[x] Tests added
[x] Documentation added (where applicable)
[x] Example added (either to an existing notebook or as a new notebook, where applicable)
[x] Description in CHANGELOG.rst added

@znicholls Handled the above comments and added additional tests for scalar operations


Fix installation issue due to ModuleNotFoundError from eth_rlp

The tool v0.3.0.dev4 was installing and working fine previously. But after reinstalling the tool, all operations fail due to ModuleNotFoundError:
$ aut --help

Traceback (most recent call last):
  File "/home/user/.local/bin/aut", line 5, in <module>
    from aut.__main__ import aut
  File "/home/user/.local/pipx/venvs/aut/lib64/python3.11/site-packages/aut/__main__.py", line 5, in <module>
    from aut.commands import (
  File "/home/user/.local/pipx/venvs/aut/lib64/python3.11/site-packages/aut/commands/tx.py", line 13, in <module>
    from aut.commands.account import signtx
  File "/home/user/.local/pipx/venvs/aut/lib64/python3.11/site-packages/aut/commands/account.py", line 15, in <module>
    from web3.types import BlockIdentifier
  File "/home/user/.local/pipx/venvs/aut/lib64/python3.11/site-packages/web3/__init__.py", line 1, in <module>
    from eth_account import Account  # noqa: E402,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/user/.local/pipx/venvs/aut/lib64/python3.11/site-packages/eth_account/__init__.py", line 1, in <module>
    from eth_account.account import (
  File "/home/user/.local/pipx/venvs/aut/lib64/python3.11/site-packages/eth_account/account.py", line 49, in <module>
    from eth_account._utils.legacy_transactions import (
  File "/home/user/.local/pipx/venvs/aut/lib64/python3.11/site-packages/eth_account/_utils/legacy_transactions.py", line 13, in <module>
    from eth_rlp import (
  File "/home/user/.local/pipx/venvs/aut/lib64/python3.11/site-packages/eth_rlp/__init__.py", line 5, in <module>
    from .main import (
  File "/home/user/.local/pipx/venvs/aut/lib64/python3.11/site-packages/eth_rlp/main.py", line 18, in <module>
    from typing_extensions import Self  # move to typing when >= py311
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'typing_extensions'

This is likely due to a change in one of the dependencies.

A quick workaround is:
pipx install aut typing_extensions

this worked for me:
pipx inject aut typing_extensions

Thanks @raj-shekhar1 there was a typo in my proposed workaround, I have updated.

Fixed in v0.3.0


Projection from ATP to DB causes teleportation (The Outsider's Issue)

I would like to fix Projection from ATP to DB causes teleportation #9.

I did it.

But, the appearance of the seed is broken...

I did it!!!!!!

It is fixed by correctly returning DarkBramble in NomaiRemoteCameraPlatformIDToSceneName.


grid information

What does grid do? In the documentation it says
"xs - mobile, sm - tablet, md - desktop, lg - large desktops, all - fixed width (When you use all make others 0 and vise versa)" but it does not explain what it actually does?

HI,
This carousel is a responsive to css media query. I want to show 1 item in mobile, 3 items in tablet and 4 items in desktop. To achieve this i have defined in bootstrap style grid.
xs - means mobile screen
sm -Tablet
md - desktop
lg - large desktop
all - means fixed width for item.

@sheikalthaf first of all thanks for your great work. very nice control. all means fix width. If I don't want fixed width but width auto based on the size of the item e.g Car takes less width than Airplane how do I achieve that?

@pantonis  currently carousel doesn't support different width for items. Maybe in future i will include it

@sheikalthaf this missing functionality cause the below bug I think
https://github.com/sheikalthaf/ngu-carousel/issues/12

Looks like there is a fixed width demo here:
https://stackblitz.com/edit/angular-x2m3xa?file=app%2Fapp.component.ts
Using the values:
grid: {xs: 0, sm: 0, md: 0, lg: 0, all: 130},


SIGSEGV happening randomly while running tests.

Platform:
Java VM: OpenJDK 64-Bit Server VM (11.0.4+11, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
Architecture:
linux-amd64
Hard to reproduce consistently unfortunately but we are seeing the following segmentation fault error popping up intermittently in our test suite.
# A fatal error has been detected by the Java Runtime Environment:
#
SUREFIRE-859: #  SIGSEGV (0xb) at pc=0x00007f42e9389120, pid=502, tid=505
#
# JRE version: OpenJDK Runtime Environment (11.0.4+11) (build 11.0.4+11)
SUREFIRE-859: # Java VM: OpenJDK 64-Bit Server VM (11.0.4+11, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# J 37159 c2 org.springframework.boot.context.properties.source.ConfigurationPropertyName.defaultElementEquals(Lorg/springframework/boot/context/properties/source/ConfigurationPropertyName$Elements;Lorg/springframework/boot/context/properties/source/ConfigurationPropertyName$Elements;I)Z (436 bytes) @ 0x00007f42e9389120 [0x00007f42e93890c0+0x0000000000000060]
#
SUREFIRE-859: # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /opt/company/pipelines/agent/build/hs_err_pid502.log

Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled

See  attached hs_err log file hs_err_pid502.log

@kdamevin Have you tried with 11.0.6?


Empty gui under root user arch

Bug
I cant enable vpn without root priviliges.
I non-root regime, outline told me: "We will initiailize Outline, which may require admin permissions". Ofc i agreed, that this happened:

Thats why i will report only about my attempts to enable Outline with under sudo. After i typed: sudo outline-client --no-sandbox, that what i saw:

CLI output
╰─>$ sudo outline-client --no-sandbox
[17574:0216/122723.656421:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[17574:0216/122723.656492:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

[17627:0216/122723.715042:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
[17627:0216/122723.715105:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: Could not open the default X display.
[17627:0216/122723.715126:ERROR:gl_surface_egl.cc(1489)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
Authorization required, but no authorization protocol specified

[17627:0216/122723.716051:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
[17627:0216/122723.716071:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: Could not open the default X display.
[17627:0216/122723.716086:ERROR:gl_surface_egl.cc(1489)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[17627:0216/122723.716100:ERROR:gl_ozone_egl.cc(21)] GLSurfaceEGL::InitializeOneOff failed.
Outline is starting
[17627:0216/122723.725761:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
loading web app from file:///tmp/.mount_outlin5D5jtX/resources/app.asar/www/index_electron.html?appName=Outline
Could not load active tunnel:  [Error: ENOENT: no such file or directory, open '/root/.config/Outline/connection_store'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/root/.config/Outline/connection_store'
}
Checking for update
Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

(outline-client:17574): libappindicator-WARNING **: 12:27:23.830: Unable to get the session bus: Unknown or unsupported transport “disabled” for address “disabled:”

(outline-client:17574): LIBDBUSMENU-GLIB-WARNING **: 12:27:23.830: Unable to get session bus: Unknown or unsupported transport “disabled” for address “disabled:”
Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

[17656:0216/122723.836524:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
[17656:0216/122723.836594:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: Could not open the default X display.
[17656:0216/122723.836627:ERROR:gl_surface_egl.cc(1489)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
Authorization required, but no authorization protocol specified

[17656:0216/122723.836737:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
[17656:0216/122723.836763:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: Could not open the default X display.
[17656:0216/122723.836784:ERROR:gl_surface_egl.cc(1489)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[17656:0216/122723.836805:ERROR:gl_ozone_egl.cc(21)] GLSurfaceEGL::InitializeOneOff failed.
[17656:0216/122723.837795:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

[17664:0216/122723.844641:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
[17664:0216/122723.844678:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: Could not open the default X display.
[17664:0216/122723.844696:ERROR:gl_surface_egl.cc(1489)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
Authorization required, but no authorization protocol specified

[17664:0216/122723.844786:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
[17664:0216/122723.844809:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: Could not open the default X display.
[17664:0216/122723.844824:ERROR:gl_surface_egl.cc(1489)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[17664:0216/122723.844839:ERROR:gl_ozone_egl.cc(21)] GLSurfaceEGL::InitializeOneOff failed.
[17664:0216/122723.845800:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

[17671:0216/122723.854225:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
[17671:0216/122723.854277:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: Could not open the default X display.
[17671:0216/122723.854298:ERROR:gl_surface_egl.cc(1489)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
Authorization required, but no authorization protocol specified

[17671:0216/122723.854365:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 12289: Could not open the default X display.
[17671:0216/122723.854387:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: Could not open the default X display.
[17671:0216/122723.854405:ERROR:gl_surface_egl.cc(1489)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[17671:0216/122723.854424:ERROR:gl_ozone_egl.cc(21)] GLSurfaceEGL::InitializeOneOff failed.
[17671:0216/122723.855316:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

[17678:0216/122723.866647:ERROR:angle_platform_impl.cc(43)] DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
[17678:0216/122723.866691:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[17678:0216/122723.866724:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: Not initialized.
[17678:0216/122723.866746:ERROR:gl_surface_egl.cc(1489)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[17678:0216/122723.866770:ERROR:gl_ozone_egl.cc(21)] GLSurfaceEGL::InitializeOneOff failed.
[17678:0216/122723.867685:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

[17685:0216/122723.874907:ERROR:gpu_init.cc(481)] Passthrough is not supported, GL is disabled, ANGLE is
[17685:0216/122723.880803:ERROR:x11_software_bitmap_presenter.cc(141)] XGetWindowAttributes failed for window 54525955
Found version 1.9.0 (url: https://s3.amazonaws.com/outline-releases/client/linux/1.9.0/2/Outline-Client.AppImage)
Downloading update from https://s3.amazonaws.com/outline-releases/client/linux/1.9.0/2/Outline-Client.AppImage
updater cache dir: /root/.cache/outline-client-updater
Update has already been downloaded to /root/.cache/outline-client-updater/pending/Outline-Client.AppImage).

Client System (please complete the following information):

Outline Version 1.9.0
Operating System: Arch Linux x86_64

Submit Feedback
Please submit feedback through the app and label it with this issue number.

Labeling this as a feature request because this Linux distro is not currently supported.

Operating System: Arch Linux x86_64

# pacman -S extra/xorg-xhost
# xhost +local:

Enjoy.

I will add to the same issue, because it's Arch (I assume) related.
But hardcoding binaries paths it's not a great idea, IMHO
Error
...
/bin/bash: line 1: /usr/bin/shasum: No such file or directory
/usr/bin/echo: write error: Broken pipe

    at ChildProcess.exithandler (node:child_process:408:12)
    at ChildProcess.emit (node:events:526:28)
    at ChildProcess.emit (node:domain:475:12)
    at maybeClose (node:internal/child_process:1092:16)
    at Socket.<anonymous> (node:internal/child_process:451:11)
    at Socket.emit (node:events:526:28)
    at Socket.emit (node:domain:475:12)
    at Pipe.<anonymous> (node:net:687:12) {
  killed: false,
...

Checking:
$ which shasum
/usr/bin/core_perl/shasum

Workaround:
$ sudo ln -s /usr/bin/core_perl/shasum /usr/bin/shasum
$ ls -la /usr/bin/shasum
lrwxrwxrwx 1 root root 25 May 29 21:16 /usr/bin/shasum -> /usr/bin/core_perl/shasum

Now working.


[Fabric]: Adding support for Private Data Collection

Is your feature request related to a problem? Please describe.
We could add a feature to enable private data collection feature of Hyperledger fabric into our network formed through BAF
Describe the solution you'd like
At chaincode section of our network.yaml file for fabric network, we should be able to mention the collection config file that includes the private data collection configuration needed for a chaincode on a given channel
We can store the collections-config file within our same repo for chaincode  deployment, this way we won't need additional configuration for config file and a simple addition of collection config file would let enabling private data
eg:
chaincode:
  name: "chaincode_name"#This has to be replaced with the name of the chaincode
  version: "chaincode_version"#This has to be replaced with the version of the chaincode
  maindirectory: "chaincode_main"#The main directory where chaincode is needed to be placed
  lang: "golang"# The language in which the chaincode is written ( golang/java/node )
  repository:
    username: "git_username"# Git Service user who has rights to check-in in all branches
    password: "git_access_token"
    url: "github.com/<username>/blockchain-automation-framework.git"
    branch: develop
    path: "chaincode_src"

    **collections_config: "product/collections/collections_config.json"**

Private Data collection config file is passed for chaincode deployment at the stage of Approve and Commit of the new chaincode lifecycle
To enable private data collection on a particular chaincode we need to edit below two files which includes the job to approve and commit chaincode
File1: approve_chaincode.yaml
platforms/hyperledger-fabric/charts/approve_chaincode/templates/approve_chaincode.yaml
This file includes the "peer lifecycle chaincode approveformyorg" command as a part of lifecycle step to approve chaincode for an org
So if collections_config parameter is mentioned in network.yaml file as a part of this job, we'll need to add additional code to pull the mentioned file from git repo and then we can append "--collections-config" flag along with value as the relative path of pulled collection config inside the chaincode folder
Eg: "--collections-config ../chaincode-collection/collections_config.json"
File2: commit_chaincode.yaml
platforms/hyperledger-fabric/charts/commit_chaincode/templates/commit_chaincode.yaml
Similar to approve_chaincode.yaml if collections_config parameter is mentioned in network.yaml file, we'll need to again pull the mentioned file from git repo and we can append "--collections-config" flag along with value as the relative path of collection config inside the chaincode folder
Describe alternatives you've considered
Manual chanincode deployment in case private data collection has to be enabled
Additional context
We'll also need to decide if we want to keep collections_config as a fixed entry in network.yaml file or we can keep it optional and add additional checks to handle it

Hi @bafsunsu, any update on this issue?

closing this stale issue. also the chaincode related ops is not part of core bevel development.


Game crashes when trying to load the mod(i added mixins so that might be the problem)

---- Minecraft Crash Report ----

WARNING: coremods are present:
  MixinLoader (AsdawareGUI-0.1-release.jar)
Contact their authors BEFORE contacting forge

// Why did you do that?

Time: 2/2/22 8:19 AM
Description: There was a severe problem during mod loading that has caused the game to fail

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Asdaware (awc)
Caused by: java.lang.NoClassDefFoundError: me/asdacashier/asdaware/module/Category
	at me.asdacashier.asdaware.AsdaWare.addModules(AsdaWare.java:46)
	at me.asdacashier.asdaware.AsdaWare.init(AsdaWare.java:62)

Seems like something is wrong with your mixin. Unless that Category class extends or implements a PanelStudio class, this is not a PanelStudio issue.

This is my category
`package me.asdacashier.asdaware.module;
import java.awt.Color;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
import java.util.stream.Stream;
import me.asdacashier.asdaware.setting.BooleanSetting;
import me.asdacashier.asdaware.setting.ColorSetting;
import me.asdacashier.asdaware.setting.DoubleSetting;
import me.asdacashier.asdaware.setting.IntegerSetting;
import me.asdacashier.asdaware.setting.Setting;
import me.asdacashier.asdaware.setting.StringSetting;
import com.lukflug.panelstudio.setting.ICategory;
import com.lukflug.panelstudio.setting.IClient;
import com.lukflug.panelstudio.setting.IModule;
public enum Category implements ICategory {
COMBAT("Combat"),EXPLOITS("Exploits"),HUD("HUD"),MISCELLANEOUS("Misc"),MOVEMENT("Movement"),RENDER("Render"),WORLD("World");
public final String displayName;
public final List modules=new ArrayList();
Category(String displayName) {
	this.displayName=displayName;
}

public static void init() {

}

@Override
public String getDisplayName() {
	return displayName;
}

@Override
public Stream<IModule> getModules() {
	return modules.stream().map(module->module);
}

public static IClient getClient() {
	return new IClient() {
		@Override
		public Stream<ICategory> getCategories() {
			return Arrays.stream(Category.values());
		}
	};
}

}
`

How does your Mixin look like?

i fixed it all but how do i check if a module is toggled in a module class?

The IModule class has a isEnabled method that returns an IToggleable indicating whether the module is enabled. If it is null, the module has no on/off state. Otherwise you can query the state via module.isEnabled().isOn().

also how do i have something that always updates in a module

I don't exactly understand what you mean. But any change in the value/name of a setting will be shown immediately.

nvm

ill use alpine

so how would i make a module lets say makes some1 always sprint so always runs mc.player.setSprinting(true) how would i do this

PanelStudio is for rendering, not for the actual functionality of modules (except ofc HUD modules)

oh ok


surface/kernel: 5.16.11 -> 5.19.17

Description of changes
The kernel for microsoft/surface did not compile anymore because of changes to pahole that seems to be fixed in kernel 5.19.17 (see commit 6cfc3d5b06fe82ec7b7109f5ddfb22745475d165 and changelog at https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.19.17 ).
This bumps the linux-kernel version to 5.19.17 for microsoft/linux-surface.
It also goes back to the old way of compiling the kernel by starting from linux-5.19.17 source code and adding patches from the linux-surface repo rather than using linux-surface-kernel directly.
The code has been tested on my own surface pro 5 (2017). It compiles and the kernel seems to be running fine. I did not get the time for a full end-to-end test with my fork of nixos-hardware.
Things done

[x] Tested the changes in your own NixOS Configuration
[ ] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

bors merge


Fix problem with selection tool handles still being enabled while invisible after deselecting

This one bothered me, so I decided to make a (quick) fix for it. The second commit is kind of an ugly workaround, but it works, and is the fastest way to get the job done properly.

@cameronwhite please merge tha nk you

Any reason that this hasn't been merged yet? Seems overdue.

Apologies for losing track of this.
This change is a hacky workaround, so I would prefer a change that fixes the underlying issue (i.e. why isn't the existing AfterSelectionChange() handler in the select tool being triggered when the selection is cleared?)

It's a hacky workaround, but it is very small. Would you consider just applying the hack fix and then opening a separate issue to fix the hack in a more correct manner? This way the problem can be solved in the mean time while any developers that feel like solving it correctly come up with a solution.
The app is virtually unusable for me without being able to resize selections, and it's the only issue I have with Pinta.

5 years later, and there's activity on this pull request, wow! For what it's worth, I'm not sure how valid this pull request still is, considering stuff seems to have changed quite a bit (judging by the fact that there is now a merge conflict).
I don't use Pinta anymore myself so perhaps a new pull request would be good?

Manually applying the changes in this PR was reasonable. All of the code neighboring the diffs still seems to exist in the same form, but applying these changes now doesn't fix the issue anymore. I guess I'm going to have to dig a little deeper.

Sorry I thought this PR was for something else. I arrived here from this bug report ( https://bugs.launchpad.net/pinta/+bug/1473430 ) which is about not being able to resize the current selection using the move-selected tool, and I see now that this PR is about fixing lingering handles in the selection tool.
Anyway I've implemented "Hold control to resize when you're in the move-selected tool" on a fork, if anyone else lands here from that bug report and is looking for a way to resize the current selection.
I'll make a separate PR for that in case the Pinta developers are interested in merging that feature.

I'll make a separate PR for that in case the Pinta developers are interested in merging that feature.
In which fork?

Anyway I've implemented "Hold control to resize when you're in the move-selected tool" on a fork, if anyone else lands here from that bug report and is looking for a way to resize the current selection.

In which fork? :open_mouth:

I implemented it in this PR which has now been merged in to master https://github.com/PintaProject/Pinta/pull/138 . So if you build the latest on master you should have that feature :)

This should be fixed by f78d88a5 so I think this PR can be closed now!

I'm really sorry. Right after I left the comment, the resizing started working again. My bad.

Still not here.


is there a way to kill all running flows through the api?

Hi all,
I'm wondering if there is a way to kill all running flows through the api? I was checking the documentation and it seems that I can only one running execution at a time and I have to get its exeId first so I'm wondering if there is an easier way for doing so?
Thanks in advance!

Maybe no. Just curious, why do you want to kill all running flows?

if I want to delete azkaban project I have to cancel all running flows and delete all scheduled one first before deleting the project.


0.91.2 Release Notes - Link to mobile_app docs broken

As per title, just a broken link, but still...

Thanks for your to submit it. However this place is for bugs only. Document issue should go in https://github.com/home-assistant/home-assistant.io


flutter web does not adapt to screen size

Steps to reproduce

create a project in flutter
create a web build
create a server python3 -m http.server <PORT> --bind <HOST>
open the project in flutter web on android/iphone

Expected results

Actual results
when I open flutter web on cell phones it doesn't adapt to the screen until I touch it
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // TRY THIS: Try running your application with "flutter run". You'll see
        // the application has a purple toolbar. Then, without quitting the app,
        // try changing the seedColor in the colorScheme below to Colors.green
        // and then invoke "hot reload" (save your changes or press the "hot
        // reload" button in a Flutter-supported IDE, or press "r" if you used
        // the command line to start the app).
        //
        // Notice that the counter didn't reset back to zero; the application
        // state is not lost during the reload. To reset the state, use hot
        // restart instead.
        //
        // This works for code too, not just values: Most code changes can be
        // tested with just a hot reload.
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

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

  // This widget is the home page of your application. It is stateful, meaning
  // that it has a State object (defined below) that contains fields that affect
  // how it looks.

  // This class is the configuration for the state. It holds the values (in this
  // case the title) provided by the parent (in this case the App widget) and
  // used by the build method of the State. Fields in a Widget subclass are
  // always marked "final".

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        // TRY THIS: Try changing the color here to a specific color (to
        // Colors.amber, perhaps?) and trigger a hot reload to see the AppBar
        // change color while the other colors stay the same.
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body: Center(
        // Center is a layout widget. It takes a single child and positions it
        // in the middle of the parent.
        child: Column(
          // Column is also a layout widget. It takes a list of children and
          // arranges them vertically. By default, it sizes itself to fit its
          // children horizontally, and tries to be as tall as its parent.
          //
          // Column has various properties to control how it sizes itself and
          // how it positions its children. Here we use mainAxisAlignment to
          // center the children vertically; the main axis here is the vertical
          // axis because Columns are vertical (the cross axis would be
          // horizontal).
          //
          // TRY THIS: Invoke "debug painting" (choose the "Toggle Debug Paint"
          // action in the IDE, or press "p" in the console), to see the
          // wireframe for each widget.
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/87993847/b49c02ea-7a86-4e57-9e13-df33211a2156

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.19.5, on Ubuntu 22.04.4 LTS 6.5.0-26-generic,
    locale es_CO.UTF-8)
    • Flutter version 3.19.5 on channel stable at
      /home/usuario/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 300451adae (hace 8 días), 2024-03-27 21:54:07 -0500
    • Engine revision e76c956498
    • Dart version 3.3.3
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/usuario/Android/Sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /usr/local/android-studio/jbr/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 14.0.0-1ubuntu1.1
    • cmake version 3.22.1
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[✓] Android Studio (version 2023.2)
    • Android Studio at /usr/local/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.88.0)
    • VS Code at /snap/code/current/usr/share/code
    • Flutter extension version 3.86.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 22.04.4 LTS
      6.5.0-26-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 123.0.6312.86

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

• No issues found!

Closing this as a duplicate of https://github.com/flutter/flutter/issues/145667


[BP-1.11][FLINK-20200][table-planner] Fix SQL Hints is not allowed in CREATE VIEW syntax

This is a cherry-pick back to release-1.11 branch.

Build is passed: https://dev.azure.com/imjark/Flink/_build/results?buildId=332&view=results


more i18n keys

Part of #33
Adding more i18n keys to account for recent changes
Dependent on https://github.com/ourjapanlife/findadoc-localization/pull/47 which has been merged, and the submodule updated ✅

LGTM

No conflicts, I can always add more keys later if needed


Flutter plugin documentation

@danemadsen can you write simply guide how to use it as flutter plugin? something short in docs/android.md

sure


Fixbug: Panic when parse param with object type

swag init panic with message:
panic: assignment to entry in nil map

Codecov Report

Merging #192 into master will decrease coverage by 0.17%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #192      +/-   ##
==========================================
- Coverage   88.59%   88.41%   -0.18%
==========================================
  Files           5        5
  Lines        1008     1010       +2
==========================================
  Hits          893      893
- Misses         72       74       +2
  Partials       43       43

Impacted Files
Coverage Δ

operation.go
87.7% <0%> (-0.42%)
:arrow_down:

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 542fa36...fc5b7e0. Read the comment docs.

Can you add a test?
Around here add nil map.
https://github.com/swaggo/swag/blob/542fa3699f6e267a876a42c356172c73fc04b062/testdata/simple/web/handler.go#L34

fwiw, tested rebased onto master, does fix the problem


Unable to edit entities while working offline on mobile

I have followed all the steps mentioned in the following url for setting up the mobile offline in our D365 Instance. I am able to view/read the records in offline mode, but not able to edit these records.
https://docs.microsoft.com/en-us/dynamics365/customer-engagement/mobile-app/setup-mobile-offline-for-admin
All the fields in the entity form are locked in offline.

I am testing this offline feature in a Production instance (<IP_ADDRESS>48)
Checked Enabled Mobile Offline checkbox in entities and UCI app
Created Organization filter and mobile offline profiles
Gave necessary permissions

Please help me on this.

@skyovi thank you for your feedback. If you have followed all the instructions in the doc but mobile offline is still not working then please contact support. This feedback here is for issues with documentation.
Thank you,
Mints


Protection-Tests

Seems as Unit-Tests or something like that but for protections
The problem:
How to understand that protection is working fine and it works under Mono without issues, how to automate this?
Current ways:

Run standalone that running on Mono;
Use Unity;
Use dnSpy Unity Debugger;
Use .NET Framework Console app for simple tests when there is no need to run on Mono.
VirusTotal checks should be green :)

What maybe work (ig?) is to write a little program which obfuscate an example mod for a game and then move it to the game mods folder and check if any exceptions related to BitMono have been thrown (by taking the stdout or checking the game log files)

What maybe work (ig?) is to write a little program which obfuscate an example mod for a game and then move it to the game mods folder and check if any exceptions related to BitMono have been thrown (by taking the stdout or checking the game log files)

Could be a good one

I asked a question on stackoverflow, I already got an interesting question, but still, I'm waiting for something else and then I will start working on it

I asked a question on stackoverflow, I already got an interesting question, but still, I'm waiting for something else and then I will start working on it

The best way I found is:

Install the needed eg unity 2020.3.0
Unity\Editor\Data\MonoBleedingEdge\bin\mono.exe
Copy the \bin directory to BitMono
Do the project for tests that run BitMono engine and protect file into the memory then writes in the file and executes mono.exe with the obfuscated .DLL

The only thing is that possible to check if there are no BadImageException or other weird exceptions and initialize only from Module cctor and Main

Get the runtime mono version (useful in future tests):
System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription

OR
 Type type = Type.GetType("Mono.Runtime");
 if (type != null)
 {
     MethodInfo displayName = type.GetMethod("GetDisplayName", BindingFlags.NonPublic | BindingFlags.Static);
     if (displayName != null)
         Debug.Log(displayName.Invoke(null, null));
 }

Use PEVerify

Maybe in future will be made, but now I don't see a reason for that, too much complex and it anyway won't test it as a real person would test, closing it


fw updates / updates

Also as I said it handles plasma extensions and firmware updates, so it is important.

Feel free to submit a PR adding back discover :)

not included in automatic updates

my understanding is that both gnome-software and discover already automate this

detection for metered connection (by default every connection is set to unmetered, so phone hotspot would be used!)
detection of AC state
detection of battery state at e.g. 50%

These would all be upstream and out of scope for this project.

If this is not working, a GUI appstore is needed.

Again, please feel free to submit a PR to add it back

I agree that an immutable system without layering might have advantages, even though I would not want to use it currently.

It's not clear how this relates to the conversation.

https://github.com/secureblue/secureblue/pull/29


Missing keywords field

Hello,
In page settings i have 2 tabs, second include only 2 fields
(title) - this for page title
(meta title) - this for SEO title in browser
(meta description) - this SEO description
Where keywords field? How add this field to page settings tab.

The keywords meta tag hasn't been relevant for over 13 years, see https://developers.google.com/search/blog/2009/09/google-does-not-use-keywords-meta-tag.
Check out the Winter.SEO plugin if you would like some enhanced SEO capabilities


Docs.MS Release Updates for azure-sdk-template

Update docs metadata and targeting for release of azure-sdk-template

Docs Build status updates of commit 10c776d:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/preview/sdk-template-readme.md
:warning:Warning
View (azure-java-preview)
Details

package.json
:white_check_mark:Succeeded

docs-ref-services/preview/sdk-template-readme.md

Line 2, Column 1: [Warning-ms-prod-and-service] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 9, Column 16: [Warning-ms-prod-technology-invalid] Invalid value for 'ms.technology': 'azure' is not valid with 'ms.prod' value 'azure'.
Line 11, Column 13: [Warning-ms-service-subservice-invalid] Invalid value for 'ms.service': 'templatetemplate'.
Line 56, Column 78: [Warning-bookmark-not-found] Cannot find bookmark '#introduction' in 'docs-ref-services/preview/sdk-template-readme.md'.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 10c776d:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/preview/sdk-template-readme.md
:warning:Warning
View (azure-java-preview)
Details

package.json
:white_check_mark:Succeeded

docs-ref-services/preview/sdk-template-readme.md

Line 2, Column 1: [Warning-ms-prod-and-service] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 9, Column 16: [Warning-ms-prod-technology-invalid] Invalid value for 'ms.technology': 'azure' is not valid with 'ms.prod' value 'azure'.
Line 11, Column 13: [Warning-ms-service-subservice-invalid] Invalid value for 'ms.service': 'templatetemplate'.
Line 56, Column 78: [Warning-bookmark-not-found] Cannot find bookmark '#introduction' in 'docs-ref-services/preview/sdk-template-readme.md'.
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Prototype UI Design for BRE Rule Authoring (Check Engine)

Definition of Ready

[ ] Does this meet the INVEST criteria?
[ ] Does this have a clearly defined user?
[ ] Does this have an estimate?
[ ] Does this have acceptance criteria?
[ ] Does this have sufficient context (wireframes, business rules, etc.)?
[ ] Is this traceable to a feature, epic, or PI?

Dive into existing MP check engine and understand its capabilities
Emissions/QA out of scope, just looking into how check engine validates MP data
Worked in conjunction with #900
Next ticket: Design BRE system
Context
(User journeys, design mockups, architectural diagrams, business rules, data element definitions)
Testing
Test Case:
Tester:
Definition of Done

[ ] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[ ] Has the code been unit tested and peer reviewed?
[ ] Have the functional tests been executed?
[ ] Have all defects been reviewed and dispositioned, resolved, or deferred?
[ ] Has the user story been accepted by the Product Owner?
[ ] Is the user story ready to be deployed to the test/staging environments?

Meet with ERG and received a spreadsheet of all the MP checks with details regarding categories and order of processing. Have look through existing check engine get familiar with the process and reviewed check specifications.
High Level Architecture
https://github.com/US-EPA-CAMD/diagrams
https://github.com/US-EPA-CAMD/diagrams/blob/develop/EPA CAMD BRE Check Engine.pdf
Built preliminary UI for Rule Authoring
https://easey-dev.app.cloud.gov/admin/rules
Built preliminary API for Rule Authoring
https://github.com/US-EPA-CAMD/easey-rules-api
Built preliminary Scheduling & Evaluation process
https://github.com/US-EPA-CAMD/easey-job-scheduler


Add support for nonlinear undo/redo (clones don't currently handle undo/redo correctly)

#232 (solution to #152) has been implemented. However, as noted by Tomas:

If the document is edited from both areas, undo will not work very well. One area's undo will be regarded as a new edit in the other area. It is a complex problem on its own, so for now I would just say that such a use is not supported.

I think the only way to account for this is to use one UndoManager that is shared between multiple StyledTextAreaModels. However, the tricky part lies in making sure all the other Models' getUndoManager() returns the same undoManager after one of them sets it to something else.
So, it seems like the best way to get around this is to wrap the UndoManager in wrapper class. See my betterCloningUndoing branch for an example of this.
However, there is an additional problem to solve. As of now, when the undo manager is created, it is passed a lambda that calls the replace() method of the StyledTextAreaModel that initially constructed it when a change is re-done.
So, if there are three StyledTextAreaModels, two of which are clones of the original....
StyledTextAreaModel initial;
StyledTextAreaModel clone1;
StyledTextAreaModel clone2;

....when clone1 or clone2 call getUndoManager().undo(), it is initial whose replace() method is called, not either of the clones.
So, what happens when initial gets disposed? When redo() is called, the disposed and thus garbage-collected initial won't exist and the attempt to call its replace() method will result in a NullPointerException.

The only way around this second part is if the apply part of createRich/PlainTextChange(UndoManagerFactory factory) doesn't rely upon StyledTextAreaModel's code in any way. In this way, it would need to actively call EditableStyledDocument's code and any caret/selection values would need to be updated via the code that updates these values when EditableStyledDocument's plainTextChange emits a new change.

The same effect as by sharing an UndoManager can also be achieved by only one of the areas having a real UndoManager and the others having a fake one:
area.setUndoManager(UndoManagerFactory.zeroHistoryFactory())

Then no undo/redo will be available on the other areas, but the keyboard shortcuts can be overridden to trigger undo/redo on the area with the true UndoManager.

What happens when the initial area is disposed though? And doesn't that limit the developer if they want to be able to undo something using either of the areas?

What happens when the initial area is disposed though?

Yeah, that would be a problem.

And doesn't that limit the developer if they want to be able to undo something using either of the areas?

The developer would have to know to call undo() on the correct area.
When first implementing the undo functionality, I almost wanted the UndoManager to live outside the StyledTextArea. I think in the end the main reason why StyledTextArea holds a reference to UndoManager was to have the expected behavior for Ctrl+Z etc. out of the box. Maybe it's time to rethink this.

What if it was placed within EditableStyledDocument? Even the code I've implemented in my branch could be refactored to place it there.

Sorry for not being responsive. The reason is that I don't know a good solution off the top of my head, and I didn't have time to think deeply about the problem.
Putting UndoManager inside EditableStyledDocument has its own problems. For example, we will then never be able to include selection in the undo/redo, if we ever decide to implement it (and some editors do that).
Another desired feature would be that in one view, you would undo/redo only the edits made in that view. And the other view would undo/redo its own edits. So at least the UndoManager would need to distinguish the origin of the change (this applies whether there is a shared UndoManager or two separate ones). With this feature comes another complication. It is no longer sufficient to store edits as a linear sequence (possibly tagged by origin), as is done by UndoFX, but rather as a directed acyclic graph, in order to not impose some arbitrary ordering on edits that are independent (and thus can be undone independently of each other).
And then someone will come and want to implement a collaborative editor on top of RichTextFX. That necessarily means there will be asynchrony involved, which opens up the possibility of conflicts, so they will need a mechanism to resolve conflicts.
I don't think we can or should resolve all these problems in RichTextFX. I think the best we can do is put the user in charge, by pushing the undo/redo functionality out of StyledTextArea, with convenient factory methods that preserve the current Ctrl+Z behavior.

Sorry for not being responsive. The reason is that I don't know a good solution off the top of my head, and I didn't have time to think deeply about the problem.

No worries! :-) You're busy and I didn't realize just how complicated the implications could become

I don't think we can or should resolve all these problems in RichTextFX. I think the best we can do is put the user in charge, by pushing the undo/redo functionality out of StyledTextArea, with convenient factory methods that preserve the current Ctrl+Z behavior.

So, you're suggesting something like a "plug-in" sort of idea...? We can provide the current version of UndoFX as a basic "undo manager plug-in" but allow others to develop their own outside of RichTextFX. Thus, the way the undo/redo is handled is determined by the developer.

Putting UndoManager inside EditableStyledDocument has its own problems. For example, we will then never be able to include selection in the undo/redo, if we ever decide to implement it (and some editors do that).

So, it should remain inside StyledTextAreaModel as it does now.

It is no longer sufficient to store edits as a linear sequence (possibly tagged by origin), as is done by UndoFX, but rather as a directed acyclic graph, in order to not impose some arbitrary ordering on edits that are independent (and thus can be undone independently of each other).

Doesn't this necessarily mean that UndoActions#undo and UndoActions#redo should include the StyledTextAreaModel that called the undo as an argument? Then, if one does want to use a shared UndoManager for handling a directed acyclic graphic undos/redos, they already have the foundation upon which to build their custom handling.
public interface UndoActions {
    public void undo(StyledTextAreaModel model) { getUndoManager().undo(model); }
}

However, as soon as we go that direction, now we run across the requirement of using generics: if one subclasses StyledTextAreaModel and provides some other functionality that is relevant to that model, a generic would be necessary to return the correct object without needing to cast it to its actual type:
public class ModelSubclass extend StyledTextAreaModel {
    // class content...
}

public interface UndoActions<PS, S, M extends StyledTextAreaModel<PS, S>> {
    public void undo(M model) { getUndoManager().undo(model); }
}

So, it should remain inside StyledTextAreaModel as it does now.

Or maybe further out, to StyledTextArea.

Doesn't this necessarily mean that UndoActions#undo and UndoActions#redo should include the StyledTextAreaModel that called the undo as an argument?

That would not be necessary, or desired. (Why would a user calling StyledTextArea#undo have to pass in something?)

if one subclasses StyledTextAreaModel

I'm not yet really on board with allowing subclassing of StyledTextAreaModel. I somewhat lost track here, why is it even public?

Or maybe further out, to StyledTextArea.

Isn't that breaking separation of concerns? UndoManager seems to operate on the model, not necessarily the view. Why stick it inside the view?

I'm not yet really on board with allowing subclassing of StyledTextAreaModel. I somewhat lost track here, why is it even public?

I was thinking in terms of separation of concerns. Why store model-content of a subclass of StyledTextArea within that subclass? Shouldn't it be stored in a subclass of StyledTextAreaModel?

That would not be necessary, or desired. (Why would a user calling StyledTextArea#undo have to pass in something?)

I was thinking of an approach where the clones share one UndoManager. The public API for StyledTextArea would still show undo() without any arguments. However, the implementation of it within the StyledTextAreaModel would need to call UndoManager.undo(source) where source is the model. I saw that as necessary so that if there were multiple views of the same document, the shared UndoManager would know which area's undo history to use to undo (or redo) some action.

UndoManager seems to operate on the model, not necessarily the view. Why stick it inside the view?

While this is correct, in trying to give the user complete control over how to instantiate the undo manager, for StyledTextArea the undo manager would be nothing more than a handler of the Ctrl+Z/Shift+Ctrl+Z events.

I was thinking in terms of separation of concerns. Why store model-content of a subclass of StyledTextArea within that subclass? Shouldn't it be stored in a subclass of StyledTextAreaModel?

I didn't imagine there would be different model for different subclasses of StyledTextArea. I don't think subclassing StyledTextArea should be encouraged.

I saw that as necessary so that if there were multiple views of the same document, the shared UndoManager would know which area's undo history to use to undo (or redo) some action.

Each area's UndoManager can be a thin wrapper around the shared UndoManager, that in addition remembers the source.

While this is correct, in trying to give the user complete control over how to instantiate the undo manager, for StyledTextArea the undo manager would be nothing more than a handler of the Ctrl+Z/Shift+Ctrl+Z events.

Ok. That is true and would give more control over how that works.

I didn't imagine there would be different model for different subclasses of StyledTextArea. I don't think subclassing StyledTextArea should be encouraged.

So, when a developer does subclass StyledTextArea, and he/she wants to distinguish the view from the model, they will have to create a second model within the subclassed view?
For example, let's say a developer subclasses StyledTextArea for use as an area where the user can select some word/term and then define that word/term. Then, if the user hovers their mouse over an instance of one of those terms anywhere in the area, a popup will appear displaying its definition.
If the model cannot be subclassed, we'd have to take the following approach:
// store the terms that have been defined in their own model
public class SubModel {
    private final Map<String, Definition> termsToDefinitions;
    public Definition getDefinitionOf(String term) { return termsToDefinitions.get(term); }

    // rest of the class...
}
public class SubStyledTextArea<PS, S> extends StyledTextArea<PS, S> {
    private final subModel = // a second model stored within the view

    // which model do we get? Two models might lead to confusion...
    // get SubStyledTextArea's model
    protected final SubModel getSubModel() { return subModel; }
    // get StyledTextArea's model
    protected final getModel() { return model; }

    public Definition getDefinitionOf(String term) { return subModel.getDefinitionOf(term); }

    public SubStyledTextArea(/* args */) {}

    // rest of class...
}

But if the model could be subclassed, we'd only have one model in the view
public class SubModel<PS, S> extends StyledTextAreaModel<PS, S> {
    private final Map<String, Definition> termsToDefinitions;
    public Definition getDefinitionOf(String term) { return termsToDefinitions.get(term); }

    // rest of the class...
}

public class SubStyledTextArea<PS, S> extends StyledTextArea<PS, S, SubModel<PS, S> {

    // get the only model within the view
    public final getModel() { return model; }

    public Definition getDefinitionOf(String term) { return getModel().getDefinitionOf(term); }
}

Each area's UndoManager can be a thin wrapper around the shared UndoManager, that in addition remembers the source.

Ok. That works!

Again, silently watching here. Is it not the case that when a model factory
is used, then the API user can decide to reuse a model , or create new
similar one using by the factory, or a totally different one by changing
factory settings first?
On Mar 15, 2016 10:12 PM, "JordanMartinez"<EMAIL_ADDRESS>wrote:

While this is correct, in trying to give the user complete control over
how to instantiate the undo manager, for StyledTextArea the undo manager
would be nothing more than a handler of the Ctrl+Z/Shift+Ctrl+Z events.
Ok. That is true and would give more control over how that works.
I didn't imagine there would be different model for different subclasses
of StyledTextArea. I don't think subclassing StyledTextArea should be
encouraged.
So, when a developer does subclass StyledTextArea, and he/she wants to
distinguish the view from the model, they will have to create a second
model within the subclassed view?
For example, let's say a developer subclasses StyledTextArea for use as
an area where the user can select some word/term and then define that
word/term. Then, if the user hovers their mouse over an instance of one of
those terms anywhere in the area, a popup will appear displaying its
definition.
If the model cannot be subclassed, we'd have to take the following
approach:
// store the terms that have been defined in their own modelpublic class SubModel {
private final Map<String, Definition> termsToDefinitions;
public Definition getDefinitionOf(String term) { return termsToDefinitions.get(term); }
// rest of the class...

}public class SubStyledTextArea<PS, S> extends StyledTextArea<PS, S> {
private final subModel = // a second model stored within the view
// which model do we get? Two models might lead to confusion...
// get SubStyledTextArea's model
protected final SubModel getSubModel() { return subModel; }
// get StyledTextArea's model
protected final getModel() { return model; }

public Definition getDefinitionOf(String term) { return subModel.getDefinitionOf(term); }

public SubStyledTextArea(/* args */) {}

// rest of class...

}
But if the model could be subclassed, we'd only have one model in the view
public class SubModel<PS, S> extends StyledTextAreaModel<PS, S> {
private final Map<String, Definition> termsToDefinitions;
public Definition getDefinitionOf(String term) { return termsToDefinitions.get(term); }
// rest of the class...

}
public class SubStyledTextArea<PS, S> extends StyledTextArea<PS, S, SubModel<PS, S> {
// get the only model within the view
public final getModel() { return model; }

public Definition getDefinitionOf(String term) { return getModel().getDefinitionOf(term); }

}
Each area's UndoManager can be a thin wrapper around the shared
UndoManager, that in addition remembers the source.
Ok. That works!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/TomasMikula/RichTextFX/issues/233#issuecomment-197156761

Why store the dictionary of term definitions inside StyledTextArea?

Why store the dictionary of term definitions inside StyledTextArea?

If you were implementing the above idea, would you compose a new class like so?
class ReaderArea<PS, S> extends Region implements Virtualized {
    StyledTextArea<PS, S> area;
    HashMap<String, Definition> termsToDefs;

    ReaderArea(/* args */) {
        getChildren().add(area);
    }

    // rest of class code...
    protected void layoutChildren() {
        // layout area correctly...
    }
}

I don't know if my previous comment's example was a good one, but I was simply trying to show that when StyledTextArea is subclassed, the developer will be forced to account for two models, especially when cloning the subclassed area:
public class SubClassModel {
    // same object is shared across clones...
    protected final ObservableMap<String, Definition> getDefinitions() { return map; }

}
public class SubStyledTextArea<PS, S> extends StyledTextArea<PS, S> {
    private final SubClassModel subModel;

    public SubStyledTextArea(ObservableMap<String, Definition> termsToDefs,
            PS initialParagraphStyle, BiConsumer<TextFlow, PS> applyParagraphStyle,
            S initialTextStyle, BiConsumer<? super TextExt, S> applyStyle,
            boolean preserveStyle) {
        // constructor code
        subModel = new SubModel(termsToDefs, /* additional args... */);
    };

}
SubStyledTextArea area = // creation code....
SubStyledTextArea clone = new SubStyledTextArea<>(
        area.getSubModel().getDefinitions(),
        area.getInitialParagraphStyle(), area.getApplyParagraphStyle(),
        area.getInitialTextStyle(), area.getApplyStyle(),
        area.getModel().getContent(), area.isPreserveStyle())
);

If you were implementing the above idea, would you compose a new class like so?

I would implement it like this
class MyApp {
    StyledTextArea<Foo, Bar> area;
    Map<String, Definition> termsToDefs;
}

No extending Region or Virtualized. Just an encapsulation of two objects. Composition over inheritance.

Oh... ok.

Composition over inheritance.

You're probably getting annoyed with the number of times you've stated this principle to me :stuck_out_tongue_winking_eye:

This is only about the second time I guess, or I have a short memory ;)

Just FYI. Now that we've migrated to the new approach in RTFX, I'll probably start to look at this again next week. I think this is the last unstable aspect that needs to be fixed before a stable release can be made.

Just an update. I'm pretty sure I've designed a working non-linear undo/redo system in UndoFX (see TomasMikula/UndoFX#11). The only issue is designing a suitable test environment to test whether this system actually works.

Just an update on this. I've written a RichTextFX-like test environment in TomasMikula/UndoFX#12 (my current PR for this feature in UndoFX). There are still a few things to do before it will be ready (finish the FixedSizeNonlinearChangeQueue implementation, use the test environment to prove the code works / work out any other bugs, and then clean up the commit history to clearly show the development of feature).
However, I've concluded that even after I finish that PR, performance will no doubt be a major issue if one decided to use it in RTFX as the code isn't thread safe. I'm not sure how hard it would be or how much time it would take to make this code thread safe.

As long as it is accessed only from the JavaFX application thread, which is the assumption for most things JavaFX, thread-unsafety is not an issue. Anyway, how does that relate to performance? Do you think you could gain performance by parallel implementation?
BTW, it used to be the case that the undo manager had "privileged" access to the stream of changes, in the sense that it would receive the change before any other observer of StyledTextArea#richChanges()/plainTextChanges(). This was lost here eba36713. Without this privileged access, if there are other observers of richChanges(), it is now not defined who gets the notification first. This can be problematic in some scenarios. I didn't like that privilege for undo manager, because it was something the users couldn't achieve themselves (which is also a reason why undo manager had to be baked into StyledTextArea). I wanted to get rid of that ad-hoc privileged access (implemented via a pausable copy of the rich-change stream), but at the same time, I wanted to give users the ability to define themselves who (if anyone) gets privileged access.

As long as it is accessed only from the JavaFX application thread, which is the assumption for most things JavaFX, thread-unsafety is not an issue. Anyway, how does that relate to performance? Do you think you could gain performance by parallel implementation?

Aye to the parallel implementation. My current implementation in that PR iterates through a graph's queues and has each of them run code to handle their changes' updating as well as recalculating their valid changes (among other things). Theoretically, this process will take longer if such queues have a very large number of changes. Although one would probably only have one to five queues hooked into the graph at a time since one would probably only display five views at most, theoretically, one could have thousands of such queues. In which case, using concurrency would address the resulting performance problem.
Again, it's not something that is desperately needed for GUIs, just my mind realizing that the code could be further optimized if so desired. However, even UndoFX's ReadMe mentions that it's code base could be used for Java applications in general, so perhaps that is desirable to some extent. However, I don't currently have a need to optimize the code in that way.

BTW, it used to be the case that the undo manager had "privileged" access to the stream of changes, in the sense that it would receive the change before any other observer of StyledTextArea#richChanges()/plainTextChanges(). This was lost here eba3671. Without this privileged access, if there are other observers of richChanges(), it is now not defined who gets the notification first. This can be problematic in some scenarios. I didn't like that privilege for undo manager, because it was something the users couldn't achieve themselves (which is also a reason why undo manager had to be baked into StyledTextArea). I wanted to get rid of that ad-hoc privileged access (implemented via a pausable copy of the rich-change stream), but at the same time, I wanted to give users the ability to define themselves who (if anyone) gets privileged access.

Good points and helpful for understanding the thoughts behind your design.
I don't remember if I stated this here or elsewhere, but even if the UndoFX PR on which I'm working was merged into RTFX, one could still use EditableStyledDocument#replace via direct access to that object and not indirect access through a view to make changes to the document and the graph would not be able to account for that, thus screwing up the entire graph. That's partly why I suggested moving the undo code outside of the area in #333.
However, it does seem that the code base you wrote and to which I and some others contributed has reached a state where it truly is a code base.
I wonder how much longer we can keep adding features before those features force us, rather than users of this project, to make design decisions that ultimately help or hinder the users. In other words, a RichTextFX-Extras project does start to sound more and more like a necessity. If this project provides the building blocks of building rich text areas, then the extras project could be the various ways someone constructed those bricks together.
If that approach is taken, then this project should be renamed to RichTextFXBase and the extras project would take this project's name. Unfortunately, I don't know who would maintain the resulting extras project as its scope would be about providing stable and functional rich text areas (standard rich text area, code editor with syntax highlighting, etc).

The real issue here is whether to include this feature inside the scope of this project. Although such a feature could be added for StyledTextArea-based areas, it wouldn't be very complex and time-consuming to add such a feature to GenericStyledArea.
For now, I'll label it as an enhancement.

I think this issue itself is actually outside the scope of this project. In reality, a user should be given "full control" (in Tomas' words) over how undo/redo works and what its privilege is. This implies that #333 should be done rather than adding support for nonlinear undo/redos, which are complicated, all of the options and situations for which we will not be able to fully account, and which a developer could implement on top of the area base which RTFX provides.


[improvement](jdbc mysql) support auto calculate the precision of timestamp/datetime

Proposed changes
Issue Number: close #20791

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


Maven multi-module projects

I'm trying to use spring-loaded on maven multi-module project. Simplified structure:
parent
|-- war project
`-- jar project

War project has jar project in maven dependencies. War project deployed in Tomcat with spring-loaded java agent. IDE - Intellij IDEA.
When I modify code in war project, IDE compile *.java files in *.class files and place this files in 'classes' folder and spring-loaded successfully reload this code. But when I modify code in jar project, hot reload didn't work, because jar project locate in 'lib' folder in builded war as *.jar file. I know, that spring-loaded can't reload jar files, but maybe I can modify my build somehow? Any tips?

As proposed workaround if you are using a Linux machine:
i.e. if you have two modules core and website
you can run lsyncd -delay 0 -rsync /path-to-core/target/classes /path-to-website/target/website-extracted/WEB-INF/classes
This will keep syncing you class files from core to website.
Next thing you can add below line to /path-to-tomcat/bin/setenv.sh
rm /path-to-website/target/website-extracted/WEB-INF/lib/core-BUILD-0.1.jar
This would remove the jar file before apache tomcat starts.
Hope this helps.

The issue is still open, it really slow me down

I propose we stop complaining about this and create a pull request to
implement this. Otherwise JRebel (I'm not affiliated but I am an active
user and I'm loving it) does the job.
2015-03-24 2:12 GMT+01:00 todoubaba<EMAIL_ADDRESS>
The issue is still open, it really slow me down
—
Reply to this email directly or view it on GitHub
https://github.com/spring-projects/spring-loaded/issues/70#issuecomment-85275290
.

+1 for this enhancement.

1.2.4 dev builds now support a basic form of watching and reloading from jar files. Use the option watchJars.  For example:
-Dspringloaded=watchJars=foo.jar:bar.jar

will cause classes loaded from foo.jar and bar.jar to be considered reloadable and those jars will be watched. If the timestamps of the classes being watched within those jars changes, they will be reloaded.  Note jars are not fully qualified paths.

Nice! Thanks!

If you're using IntelliJ and developing a web project you can configure the output layout of your artifact to put the compile output of your jar module into WEB-INF/classes. They'll then be seen by spring loaded and reloaded.
File > Project Structure... > Artifacts > select your artifact > on the Output Layout tab remove the module form WEB-INF/lib and add it to WEB-INF/classes.

@aclement any update on this issue?

Not sure why I didn't mention this before but spring loaded has had a rebasepaths option for a while, this allows it to load from location X but watch location Y for changes. Maybe it can help here, maybe not. Something like:
-Dspringloaded=rebasePaths=/a/b/c=/d/e/f

Now when things are loaded /a/b/c/com/foo/MyClass.class, it will watch the file at /d/e/f/com/foo/MyClass.class. Multiple path mappings can be passed (comma separated).
Or at least that is the principal, I'm not sure there are lots of regression tests for it...

@aclement Does that mean a class can be loaded from a JAR but watch for changes from another path?

watchJars was added later - I haven't tried them together but I think there is a bit of work to do to connect the two pieces so they work properly together. Do you need it?

well, one of the issues we have is that when you run a multi-project build with Gradle, Gradle will build all dependency jars and place them in the classpath of the app. The classes are loaded from these JARs. However, users have the expectation that changing a class in a separate subproject to the one you have run that is part of the same multi-project build will result in the class being changed.
The problem is because the class is loaded from a JAR built by Gradle changes to the class in the project are not picked up. One solution would be to have the ability to specify for a particular JAR to watch for changes in a separate directory, that way we don't have to rebuild the JAR to get the changes picked up.
Note this is not an issue when you run a Grails project from the IDE, as an IDE like Intellij will not build the JAR files, but instead place the classes of the subprojects on the classpath directly.


Update config, default require commonjs package

Please makes sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's Contributing Guide.
[x] Rebase before creating a PR to keep commit history clear.
[x] Add some descriptions and refer relative issues for you PR.

lgtm


Update: Google.AndroidStudio version 2020.3

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.0 schema?

https://github.com/microsoft/winget-pkgs/discussions/38051
Closes #38066 Duplicate
Microsoft Reviewers: Open in CodeFlow

Hey @OfficialEsco, why did the domain of the installerUrl change from https://redirector.gvt1.com to https://r3---sn-5go7yne6.gvt1.com? Seems like all the other versions as well as the download link from the official site use https://redirector.gvt1.com. Could you clarify that change for me?

I see, that was the url i got when i copied the url from the download menu in Edge, i also got a different one in Firefox, so its probably a temporary link, good catch

/azp run


Introduced a "shared" field in Span

whenever

a span or trace id get generated when a request / message arrives
child span is created

we set the field to false
whenever we find ids in the incoming request / message we set the field to true
fixes #696

Codecov Report

Merging #698 into master will increase coverage by 0.07%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #698      +/-   ##
============================================
+ Coverage     75.69%   75.76%   +0.07%
- Complexity     1112     1123      +11
============================================
  Files           164      164
  Lines          4081     4094      +13
  Branches        412      418       +6
============================================
+ Hits           3089     3102      +13
  Misses          761      761
  Partials        231      231

Impacted Files
Coverage Δ
Complexity Δ

...ument/messaging/HeaderBasedMessagingExtractor.java
89.36% <100%> (+1.26%)
23 <2> (+7)
:arrow_up:

...sleuth/instrument/web/ZipkinHttpSpanExtractor.java
91.52% <100%> (+0.29%)
29 <0> (+3)
:arrow_up:

...in/java/org/springframework/cloud/sleuth/Span.java
94.73% <100%> (+0.14%)
62 <1> (+1)
:arrow_up:

Continue to review full report at Codecov.

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

@adriancole what is the rationale for dropping the duration from the server span? I think this is valuable information to throw away. Timestamp makes sense to me though

it is actually a historical change around duration ranking in shared spans
https://github.com/openzipkin/openzipkin.github.io/issues/49
sleuth already drops it, but this is using a more specific flag to handle
the signal. as soon as this is in, we'll add zipkin v2 support which can
retain the server timestamp at least in v2 storage systems like ES where we
can filter properly


[FIXED JENKINS-28663] - Fix ordering of events in DockerDeploymentFacet

On the top of #3 ...
Branch starts from https://github.com/jenkinsci/docker-traceability-plugin/commit/207e3cc45d89b404cda0922f84e200990d046d5a
@reviewbybees

I'll reopen the PR


Add support for generating shell completions

closes #79
Adds a --completions flag for generating shell completions

Thanks for this @Brezak! Will be included in next minor release sunday :]


About continue training

Hi，
I get another question. After I trianed the model for 1000000steps, I stop the training and do some other works.
So, I plan to continue training today on the checkpoint at 1,000,000 steps.
python train.py task=mt80 model_size=1 batch_size=1024 checkpoint="/Project/TD——MPC/tdmpc2/logs/mt80/1/default/models/1000000.pt"
As it train for half a day， I realized that it didn't continue training from the checkpoint, but instead started a new training session from the beginning. So I wander know how can I continue training with 1000000checkpoint.
Thanks!

train.py currently does not use the checkpoint argument, only evaluate.py does. This seems like a very reasonable request though, I will issue a commit soon with this functionality.
Copying this line https://github.com/nicklashansen/tdmpc2/blob/f3139291e2dc8e47480184a4a1bce05e8980caa3/tdmpc2/evaluate.py#L59 from evaluate.py to train.py (potentially with a few extra checks / warnings) should do the trick.


AttributeError: 'NoneType' object has no attribute 'debug'

Hi, I have tried using this library for my project and have run into a strange error right from the start.
After installing the library through pip, I tried to execute code from this documentation: https://webtraversallibrary.readthedocs.io/en/latest/gettingstarted.html
I tried writing the very first example in the page, which would just go to a given url and do nothing.
Unfortunately running this code outputed an error 'AttributeError: 'NoneType' object has no attribute 'debug', which is linked to
\webtraversallibrary\workflow.py script, line 85, in init setup_logging(log_dir=output if config.debug.save else None).
The error is former in the line 'workflow = wtl.Workflow('
It seems to me that this error is caused by assigning Config in line 69 config: Config = None,  and then trying to call the attribute 'debug' on that object. I'm not sure how to fix this error or is it merely my problem somehow and there's no problem with workflow.py script?
I've tried looking for any resources online but except this github project or the documentation (which didn't work for me somehow) I have found nothing else, so I'd be glad if someone could help me resolve this issue.
Full error message:
File "D:\RedditBot\Main.py", line 8, in
workflow = wtl.Workflow(
File "D:\Python\Python3.9\lib\site-packages\webtraversallibrary\workflow.py", line 85, in init
setup_logging(log_dir=output if config.debug.save else None)
AttributeError: 'NoneType' object has no attribute 'debug'
Note: I have installed all the required modules which are mentioned in requerements.txt and have tried running the same script from multiple IDE's and got the same error.
Python version is 3.9.2.

Thanks for noticing this! I wonder if something happened where the config object is no longer automatically created when none is passed. I think if you pass config=Config.default() to the workflow it would work fine, but that shouldn't be required. I will take a look.

Thanks for your reply!
I did what you said and it seems to be working for the most part. Also one of the problems probably was that the web driver wasn't in the same category as the python script. When I put the web driver in the same location the basic script worked and gave this output:

It appears to be working but also says that driver check isn't supported, is it because I'm using windows and not for example, linux?

Correct - IIRC there is no reliable way of obtaining the chrome version on Windows. On linux it's a simple "chrome --version" command.


Add support for PFCOUNT.WATCH command

Add support for reactive queries on the existing PFCOUNT command by introducing PFCOUNT.WATCH.
This command should send push-responses to subscribed clients whenever the data inside the respective hash set changes.
Reference

You may refer to #1047 to understand the changes required to support this command.
#924 provides more background on the feature's underlying implementation (but may not be directly relevant to this issue)

Testing

Ensure integration tests are added, you can refer to existing .WATCH integration tests.
Integration tests should include both resp tests and SDK tests.

Would like to work on this @JyotinderSingh .pls assign

Would like to work on this @JyotinderSingh .pls assign

Assigned.

Hello @iamskp11,
There has been no activity on this issue for the past 5 days.
It would be awesome if you keep posting updates to this issue so that we know you are actively working on it.
We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work.
Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out.
Thanks again.

Just an update : currently testing the implementation. Will be raising PR by tomorrow EOD

Hi @JyotinderSingh @iamskp11 Are you still working on this issue, I see its been some time, I can take this up if its available from your end, otherwise I can also pick up #1253 if you want to work on this one.
Please let me know, cheers.

Hi @iamskp11 Are you still working on this issue, I see its been some time, I can take this up if its available from your end, otherwise I can also pick up #1253 if you want to work on this one.
Please let me know, cheers 🚀 // @JyotinderSingh

Will push the commit PR today EOD.