Null-check remote configuration in config manager

This field can be null if the config service do not find absolutely
anything in config table for the user.
Signed-off-by: Tomas Slusny<EMAIL_ADDRESS>

To be fair, I managed to reproduce it only few times on stack running on local machine, and I am unsure why it returned null instead of empty list.

This happens to me on local API too


Finish linting on py3ish code

This merges in #2863 and #2938, and fixes the rest of the linting problems introduced with #2819. Most of these errors with ordering of imports. The problem with using future, and the includes builtins with future, is that these both cause a number of linting problems. The standard library mocking needs to be at the bottom of the import block, otherwise all the following import statements are considered out of order.
This work normalizes the import order to (mostly) follow pep8:

Python builtins
Third party (including builtins, which is third party even though it overrides standard imports
Local packages
Standard library overrides with future, each import needs a # noqa to avoid errors on not being able to find the import (as it's just monkey patched via future)

This also updated our travis config to test with the correct Python version.
Most important here are the last of the commits to this branch, following d2599ba. The other work is available in other PRs.

I think i got all the calls that future was overriding, but it might be a good idea to have @gthank look at the imports that were shuffled. The only thing I don't like about future is it's magical and it's not explicit about what is being monkeypatched -- six, although verbose, was clear in its magic.


Dataframe view crashes after pd.set_option('display.max_rows', None)

Describe the bug
It appears that marimo is expecting Pandas' display.max_rows to be an integer, but Pandas allows it to be None. Here's the exception traceback:
Traceback (most recent call last):
  File ".../.venv/lib/python3.11/site-packages/marimo/_output/formatting.py", line 123, in try_format
    mimetype, data = formatter(obj)
                     ^^^^^^^^^^^^^^
  File ".../.venv/lib/python3.11/site-packages/marimo/_output/formatters/pandas_formatters.py", line 31, in _show_dataframe
    len(df.index) > max_rows or len(df.columns) > max_columns
    ^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '>' not supported between instances of 'int' and 'NoneType'

As a side note, it would be nice for marimo to support the pd.option_context context manager for scoped options. I'm sure the marimo team can appreciate avoiding global state. 😄
Environment
{
  "marimo": "0.1.78",
  "OS": "Linux",
  "OS Version": "5.15.107+",
  "Processor": "x86_64",
  "Python Version": "3.11.6",
  "Binaries": {
    "Chrome": "--",
    "Node": "v20.8.1"
  },
  "Requirements": {
    "black": "23.12.1",
    "click": "8.1.7",
    "jedi": "0.19.1",
    "pymdown-extensions": "10.7",
    "tomlkit": "0.12.3",
    "tornado": "6.4",
    "typing_extensions": "4.9.0"
  }
}

Code to reproduce
import marimo

__generated_with = "0.1.78"
app = marimo.App()

@app.cell
def __():
    import marimo as mo
    import pandas as pd
    return mo, pd

@app.cell
def __(pd):
    n_rows = 100
    foo = pd.DataFrame(
        {'a': range(0, n_rows), 'b': range(0, n_rows * 2, 2)}
    )
    foo
    return foo, n_rows

@app.cell
def __(foo, pd):
    pd.set_option('display.max_rows', None)
    # crashes here
    foo
    return

if __name__ == "__main__":
    app.run()

@kevin-hanselman , we fixed bug (it will be in the next release).

As a side note, it would be nice for marimo to support the pd.option_context context manager for scoped options. I'm sure the marimo team can appreciate avoiding global state. 😄

For your second question, you can do something like this:
n_rows = 100
foo = pd.DataFrame(
    {'a': range(0, n_rows), 'b': range(0, n_rows * 2, 2)}
)
foo
with pd.option_context('display.max_rows', 2):
    mo.output.replace(foo)


Use store from Provider

This PR addresses this issue: ReductiveContext doesn't use the value provided by the ContextProvider #48.
With this PR we require a store prop when using the Provider component
<AppStore.Provider store=AppStore.store> <App /> </AppStore.Provider>

The context is created with an invalid value None so that we can return an error if its value hasn't been updated with a valid store.
Finally it adds the useStore hook.

I removed store from the Config module. Let me know if there is anything else you would like me to change


Cannot run test_imports.TestImports after cloning Robot Framework and executing python utest/run.py -q running

I cannot run the tests on my local machine by downloading the code going into the RF dir and executing:
python utest/run.py -q running
The errors I have are below (after improving the output a bit with the PR: https://github.com/robotframework/robotframework/pull/4610).
The errors seem to happen because the import path isn't setup (so, I guess imports are failing, but I'm not sure how to print that additional info)...
i.e.: in test_imports.TestImports.test_create I can't see how the keyword My Test Keyword can be loaded from the robotframework\utest\resources\test_resource.txt.
Is some additional setup needed in order to run these tests?
(py311_tests) λ python utest/run.py -q running
======================================================================
FAIL: test_create (test_imports.TestImports.test_create)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "X:\robocorpws\robotframework\utest\running\test_imports.py", line 33, in run_and_check_pass
    assert_suite(result, 'Suite', 'PASS')
  File "X:\robocorpws\robotframework\utest\running\test_imports.py", line 16, in assert_suite
    assert_equal(suite.status, status)
  File "X:\robocorpws\robotframework\utest\..\src\robot\utils\asserts.py", line 181, in assert_equal
    _report_inequality(first, second, '!=', msg, values, formatter)
  File "X:\robocorpws\robotframework\utest\..\src\robot\utils\asserts.py", line 230, in _report_inequality
    raise AssertionError(msg)
AssertionError: FAIL != PASS

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "X:\robocorpws\robotframework\utest\running\test_imports.py", line 52, in test_create
    self.run_and_check_pass(suite)
  File "X:\robocorpws\robotframework\utest\running\test_imports.py", line 41, in run_and_check_pass
    raise AssertionError('\n'.join(full_msg)) from e
AssertionError: No keyword with name 'My Test Keyword' found.

======================================================================
FAIL: test_resource (test_imports.TestImports.test_resource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "X:\robocorpws\robotframework\utest\running\test_imports.py", line 33, in run_and_check_pass
    assert_suite(result, 'Suite', 'PASS')
  File "X:\robocorpws\robotframework\utest\running\test_imports.py", line 16, in assert_suite
    assert_equal(suite.status, status)
  File "X:\robocorpws\robotframework\utest\..\src\robot\utils\asserts.py", line 181, in assert_equal
    _report_inequality(first, second, '!=', msg, values, formatter)
  File "X:\robocorpws\robotframework\utest\..\src\robot\utils\asserts.py", line 230, in _report_inequality
    raise AssertionError(msg)
AssertionError: FAIL != PASS

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "X:\robocorpws\robotframework\utest\running\test_imports.py", line 67, in test_resource
    self.run_and_check_pass(suite)
  File "X:\robocorpws\robotframework\utest\running\test_imports.py", line 41, in run_and_check_pass
    raise AssertionError('\n'.join(full_msg)) from e
AssertionError: No keyword with name 'My Test Keyword' found.

======================================================================
FAIL: test_variables (test_imports.TestImports.test_variables)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "X:\robocorpws\robotframework\utest\running\test_imports.py", line 33, in run_and_check_pass
    assert_suite(result, 'Suite', 'PASS')
  File "X:\robocorpws\robotframework\utest\running\test_imports.py", line 16, in assert_suite
    assert_equal(suite.status, status)
  File "X:\robocorpws\robotframework\utest\..\src\robot\utils\asserts.py", line 181, in assert_equal
    _report_inequality(first, second, '!=', msg, values, formatter)
  File "X:\robocorpws\robotframework\utest\..\src\robot\utils\asserts.py", line 230, in _report_inequality
    raise AssertionError(msg)
AssertionError: FAIL != PASS

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "X:\robocorpws\robotframework\utest\running\test_imports.py", line 76, in test_variables
    self.run_and_check_pass(suite)
  File "X:\robocorpws\robotframework\utest\running\test_imports.py", line 41, in run_and_check_pass
    raise AssertionError('\n'.join(full_msg)) from e
AssertionError: Variable '${MY_VARIABLE}' not found.

----------------------------------------------------------------------
Ran 296 tests in 2.281s

FAILED (failures=3)

The failing tests import a resource file that exists in utest/resources from that should be in PYTHONPATH. utest/run.py should set that directory into PYTHONPATH but doesn't. Apparently it's set there by some other tests, because if you run all unit tests also these tests succeed. Anyway, easy to fix.


"An unknown error occurred" <- can this give more details? maybe stacktrace ?

I run this inside the folder of a git clone of https://github.com/jeaye/ncurses-rs
export VERBOSE=1
$ cargo build -v
An unknown error occurred

I see the code saying that is here: https://github.com/rust-lang/cargo/blob/73b904c05e1a4504591da65d1c4f733b558d5908/src/cargo/lib.rs#L158
$ cargo -V
cargo 0.0.1-pre-nightly (2422edc 2015-01-19 07:28:44 +0000)
$ rustc -v
rustc 0.12.0-pre (7277fe9ee 2014-09-13 17:25:54 +0000)

Maybe I am missing some requirements for cargo, but I am expecting it to be more specific about the error.
I haven't gotten into Rust yet, but want to. I hope this doesn't speak about the coding practices borne by the language ie. easier to code with lack of specificity in mind  with regards to error reporting; maybe it is possible to get a stacktrace with Rust but cargo coders decided against it(?)
I'll let you know if I find out what caused this error, for me. (can't recompile rust currently due to a compilation error that I'm looking into)

This is certainly not good! This seems to be a recent regression in diagnostics, however:
$ cargo build -v
An unknown error occurred
Process didn't exit successfully: `rustc - --crate-name - --crate-type dylib --crate-type bin --print=file-names` (status=101)
--- stderr
error: Unrecognized option: 'print'.

$ cargo -V
cargo 0.0.1-pre-nightly (8154255 2015-01-14 19:14:12 +0000)

I'll see if I can't tell what's going on soon!

The error went away after upgrading rust (in my case, the only thing I've changed):
rustc -V
rustc 1.0.0-dev (3bf41dafc 2015-01-20 06:45:02 +0000)

Thanks! Btw, I looked into Rust more and I'm loving everything so far! All your work is much appreciated!


Adding SEM error bars to pKa correlation plots.

I have created a second set of correlation plots with error bars added to them for experimental and predicted pKa SEM values, for submissions that reported these values.
Experimental SEM values are in the range of 0.01-0.04 pKa units, so those error bars are not visible in these plots.

@bannanc Could you review before we merge?

I don't understand why it thinks all the pdfs of the plots here before changed, but otherwise its good to go


custom map must can set floor, roof and walls texture

finish this part
https://github.com/tonnytg/42_cub3d/blob/main/src/map/images/load_default_images.c


Output files not being created

Before submitting a Setup Your Mac bug report, please review the open swiftDialog issues to help determine the source of the issue.

Describe the bug
Output files not being created.
To Reproduce

Please describe how the script was executed (i.e., via macOS Terminal, via in a Jamf Pro Self Service policy, etc.).
Please detail any modififications.

Expected behavior
A clear, concise description of what you expected to happen.
Code/log output
Please supply the full command used, and if applicable, add full output from Terminal. Either upload the log, or paste the output in a code block (triple backticks at the start and end of the code block, please!).
Password:
-e 2024-09-09 17:34:05 -

DEBUG MODE | Disk Usage (0.0.3)

macOS 14 installed; proceeding ...
-e 2024-09-09 17:34:05 - swiftDialog version <IP_ADDRESS>68 found; proceeding...
-e 2024-09-09 17:34:05 - Create Welcome Dialog …
-e 2024-09-09 17:34:08 - c45879 clicked Continue …;
-e 2024-09-09 17:34:08 - Disk Space: 598.5 GB free ( 60.17% available )
-e 2024-09-09 17:34:08 - Analyze Disk Usage with Progress (1 of 2)
-e 2024-09-09 17:34:24 - Run "open /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-09-173404.txt" as "501" …
The file /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-09-173404.txt does not exist.
-e 2024-09-09 17:34:24 - Run "open /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-09-173404.txt" as "501" …
The file /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-09-173404.txt does not exist.
-e 2024-09-09 17:34:24 - Run "open x-apple.systempreferences:com.apple.settings.Storage" as "501" …
-e 2024-09-09 17:34:24 - Quitting …
-e 2024-09-09 17:34:25 - Exiting …
-e 2024-09-09 17:34:25 - Removing /var/tmp/dialogWelcomeLog.Pee5 …
-e 2024-09-09 17:34:25 - Removing /var/tmp/dialogProgressLog.0jFt …
-e 2024-09-09 17:34:25 - Removing /var/tmp/dialogCompleteLog.i5i8 …
-e 2024-09-09 17:34:25 - Removing /var/tmp/diskUsageEntireVolumeTop50.rZYm …
-e 2024-09-09 17:34:25 - Removing /var/tmp/diskUsageUsersHomeTop50.nC1m …
-e 2024-09-09 17:34:25 - Goodbye!
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS version 14.6.1
Script version 0.0.3

Additional context
Add any other context about the problem here.

Tried to execute from Terminal and Jamf. Same outcome.

@seanjsgallagher:
Please ensure you're using version 0.0.4 and that you've set debugMode to false.

In single tests with both macOS Sonoma 14.6.1 (23G93) and macOS Sequoia 15.0 (24A335), setting debugMode to false displayed the output as expected.

I updated the script in Jamf, and set it to default as you suggested. My results were the same.
Logs:

[STEP 1 of 4]
--
Executing Policy Disk Usage with swiftDialog (0.0.4)
[STEP 2 of 4]
Running script Disk Usage 0.0.4...
Script exit code: 0
Script result: 2024-09-10 08:19:12 -  ### # Disk Usage (0.0.4) ###  macOS 14 installed; proceeding ... 2024-09-10 08:19:12 - swiftDialog version <IP_ADDRESS>68 found; proceeding... 2024-09-10 08:19:12 - Create Welcome Dialog … 2024-09-10 08:19:15 - c45879 clicked Continue …; 2024-09-10 08:19:15 - Disk Space: 598.5 GB free ( 60.16% available ) 2024-09-10 08:19:15 - Analyze Disk Usage with Progress (1 of 2) 2024-09-10 08:19:15 - Analyze Disk Usage for "Macintosh HD" 2024-09-10 08:19:17 - Output disk usage statistics of "Macintosh HD" to: /var/tmp/diskUsageEntireVolumeTop50.zuNM 2024-09-10 08:20:45 - Elapsed Time for "Macintosh HD": 0h:1m:28s 2024-09-10 08:20:45 - Disk usage for volume "Macintosh HD" on computer "LHP937D7F4"  2024-09-10 08:20:45 - Report Location: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-081911.txt /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 402: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 403: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 404: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 405: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 406: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 407: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 408: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 409: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 410: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 411: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 412: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 413: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 414: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-081911.txt: No such file or directory 2024-09-10 08:20:45 - Analyze Disk Usage with Progress (2 of 2) 2024-09-10 08:20:45 - Analyze Disk Usage for "/Users/c45879 /Users/c45879_1" 2024-09-10 08:20:46 - Output disk usage statistics of "/Users/c45879 /Users/c45879_1" to: /var/tmp/diskUsageUsersHomeTop50.YjE8 2024-09-10 08:20:47 - Elapsed Time for "/Users/c45879 /Users/c45879_1": 0h:0m:1s 2024-09-10 08:20:47 - Disk usage for "/Users/c45879 /Users/c45879_1" for volume "Macintosh HD" on computer "LHP937D7F4"  2024-09-10 08:20:47 - Report Location: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 430: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 431: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 432: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 433: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 434: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 435: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 436: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 437: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 438: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 439: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 440: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 441: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 442: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 448: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt: No such file or directory /Library/Application Support/JAMF/tmp/Disk Usage 0.0.4: line 454: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt: No such file or directory 2024-09-10 08:20:50 - Run "open /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-081911.txt" as "501" …  The file /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-081911.txt does not exist. 2024-09-10 08:20:50 - Run "open /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt" as "501" …  The file /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-081911.txt does not exist. 2024-09-10 08:20:50 - Run "open x-apple.systempreferences:com.apple.settings.Storage" as "501" …  2024-09-10 08:20:50 - Quitting … 2024-09-10 08:20:51 - Exiting … 2024-09-10 08:20:51 - Removing /var/tmp/dialogWelcomeLog.wtyT … 2024-09-10 08:20:51 - Removing /var/tmp/dialogProgressLog.C2r8 … 2024-09-10 08:20:51 - Removing /var/tmp/dialogCompleteLog.cDbY … 2024-09-10 08:20:51 - Removing /var/tmp/diskUsageEntireVolumeTop50.zuNM … 2024-09-10 08:20:51 - Removing /var/tmp/diskUsageUsersHomeTop50.YjE8 … 2024-09-10 08:20:51 - Goodbye!
[STEP 3 of 4]
[STEP 4 of 4]
Included screen shot to show my settings in the policy also.

@seanjsgallagher:
To eliminate variables, please install the latest version of swiftDialog and execute a freshly downloaded copy of the script via an elevated Terminal session (after having set debugMode to false).
(Please also enclose logs and code with three backticks for easier reading.)

Here is the latest output.
Hope I did the three backticks correct, never did them before.

```Password:
```-e 2024-09-10 12:27:38 -

```###
```# Disk Usage (0.0.4)
```###

```macOS 14 installed; proceeding ...
```-e 2024-09-10 12:27:38 - swiftDialog version <IP_ADDRESS>77 found; proceeding...```
```-e 2024-09-10 12:27:38 - Create Welcome Dialog …```
```-e 2024-09-10 12:27:42 - c45879 clicked Continue …;```
```-e 2024-09-10 12:27:42 - Disk Space: 598.2 GB free ( 60.14% available )```
```-e 2024-09-10 12:27:42 - Analyze Disk Usage with Progress (1 of 2)
```-e 2024-09-10 12:27:42 - Analyze Disk Usage for "Macintosh HD"```
```-e 2024-09-10 12:27:43 - Output disk usage statistics of "Macintosh HD" to: /var/tmp/diskUsageEntireVolumeTop50.VKif```
```-e 2024-09-10 12:28:53 - Elapsed Time for "Macintosh HD": 0h:1m:10s```
```-e 2024-09-10 12:28:53 - Disk usage for volume "Macintosh HD" on computer "LHP937D7F4" ```
```-e 2024-09-10 12:28:53 - Report Location: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-122737.txt```
```/Users/c45879/diskUsage.sh: line 402: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 403: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 404: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 405: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 406: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 407: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 408: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 409: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 410: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 411: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 412: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 413: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 414: /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-122737.txt: No such file or directory```
```-e 2024-09-10 12:28:53 - Analyze Disk Usage with Progress (2 of 2)
```-e 2024-09-10 12:28:53 - Analyze Disk Usage for "/Users/c45879 /Users/c45879_1"
```-e 2024-09-10 12:28:54 - Output disk usage statistics of "/Users/c45879 /Users/c45879_1" to: /var/tmp/diskUsageUsersHomeTop50.3OmJ```
```-e 2024-09-10 12:28:55 - Elapsed Time for "/Users/c45879 /Users/c45879_1": 0h:0m:1s
```-e 2024-09-10 12:28:55 - Disk usage for "/Users/c45879 /Users/c45879_1" for volume "Macintosh HD" on computer "LHP937D7F4" ```
```-e 2024-09-10 12:28:55 - Report Location: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt```
```/Users/c45879/diskUsage.sh: line 430: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 431: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 432: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 433: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 434: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 435: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 436: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 437: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 438: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 439: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 440: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 441: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt: No such file or directory```
```/Users/c45879/diskUsage.sh: line 442: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt: No such file or directory

/Users/c45879/diskUsage.sh: line 448: /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt: No such file or directory
```-e 2024-09-10 12:29:03 - Run "open /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-122737.txt" as "501" … ```
```The file /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-122737.txt does not exist.```
```-e 2024-09-10 12:29:03 - Run "open /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt" as "501" …```
```The file /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-122737.txt does not exist.```
```-e 2024-09-10 12:29:03 - Run "open x-apple.systempreferences:com.apple.settings.Storage" as "501" … ```
```-e 2024-09-10 12:29:03 - Quitting …```
```-e 2024-09-10 12:29:05 - Exiting …```
```-e 2024-09-10 12:29:05 - Removing /var/tmp/dialogWelcomeLog.uVLL …```
```-e 2024-09-10 12:29:05 - Removing /var/tmp/dialogProgressLog.6Hsn …```
```-e 2024-09-10 12:29:05 - Removing /var/tmp/dialogCompleteLog.vRih …```
```-e 2024-09-10 12:29:05 - Removing /var/tmp/diskUsageEntireVolumeTop50.VKif …```
```-e 2024-09-10 12:29:05 - Removing /var/tmp/diskUsageUsersHomeTop50.3OmJ …```
```-e 2024-09-10 12:29:05 - Goodbye!```

Sorry for any Dan-induced confusion, @seanjsgallagher; you only need a total of six (6) backticks: three (3) at the start and three (3) at the end:
Pre-formatted text goes here

I see swiftDialog is now the latest version; please confirm you're using a freshly downloaded copy of the script.

Here's a snippet of my output using a freshly downloaded copy (and after setting debugMode to false):
2024-09-10 12:50:51 - Report Location: /Users/dan/Desktop/SerialNumber-84e707-Volume-Usage-2024-09-10-124839.txt
2024-09-10 12:50:51 - Analyze Disk Usage with Progress (2 of 2)
2024-09-10 12:50:51 - Analyze Disk Usage for "/Users/dan"
2024-09-10 12:50:52 - Output disk usage statistics of "/Users/dan" to: /var/tmp/diskUsageUsersHomeTop50.QhFz
2024-09-10 12:52:27 - Elapsed Time for "/Users/dan": 0h:1m:35s
2024-09-10 12:52:27 - Disk usage for "/Users/dan" for volume "Macintosh HD" on computer "SerialNumber-84e707"
2024-09-10 12:52:27 - Report Location: /Users/dan/Desktop/dan-Home-Usage-2024-09-10-124839.txt
2024-09-10 12:52:31 - Run "open /Users/dan/Desktop/SerialNumber-84e707-Volume-Usage-2024-09-10-124839.txt" as "502" …
2024-09-10 12:52:31 - Run "open /Users/dan/Desktop/dan-Home-Usage-2024-09-10-124839.txt" as "502" …

I am using the latest Script, I even downloaded the latest again and used it again.
2024-09-10 14:01:21 - swiftDialog version <IP_ADDRESS>77 found; proceeding...
2024-09-10 14:01:21 - Create Welcome Dialog …
2024-09-10 14:01:25 - c45879 clicked Continue …;
2024-09-10 14:01:25 - Disk Space: 598.3 GB free ( 60.15% available )
2024-09-10 14:01:25 - Analyze Disk Usage with Progress (1 of 2)
2024-09-10 14:01:40 - Run "open /Users/c45879 /Users/c45879_1/Desktop/LHP937D7F4-Volume-                            Usage-2024-09-10-140120.txt" as "501" …
The file /Users/c45879_1/Desktop/LHP937D7F4-Volume-Usage-2024-09-10-140120.txt does not exist.
2024-09-10 14:01:40 - Run "open /Users/c45879 /Users/c45879_1/Desktop/c45879-Home-Usage-                                          2024-09-10-140120.txt" as "501" …
The file /Users/c45879_1/Desktop/c45879-Home-Usage-2024-09-10-140120.txt does not exist.
2024-09-10 14:01:40 - Run "open x-apple.systempreferences:com.apple.settings.Storage" as "501" …
2024-09-10 14:01:41 - Quitting …
2024-09-10 14:01:42 - Exiting …
2024-09-10 14:01:42 - Removing /var/tmp/dialogWelcomeLog.Eh0x …
2024-09-10 14:01:42 - Removing /var/tmp/dialogProgressLog.OoXN …
2024-09-10 14:01:42 - Removing /var/tmp/dialog
2024-09-10 14:01:42 - Removing /var/tmp/diskUsageEntireVolumeTop50.c9ch …
2024-09-10 14:01:42 - Removing /var/tmp/diskUsageUsersHomeTop50.YZFo …
2024-09-10 14:01:42 - Goodbye!
com.company.log

Does your user account include a trailing space, which is nested inside another user's account? (i.e., /Users/c45879, then /Users/c45879_1)
dscl . read /Users/$(id -u -n) NFSHomeDirectory

(At this stage, you're welcome to direct-message me on the Mac Admins Slack.)


Retrieve saved passwords

I upgraded my macbook, and now want to copy all the passwords saved in synapse, how to do that?

You will found password brackets.json at old PC(mac?).
If your password already encrypted, You can not read law password.


Replace Service class with a Service source generator.

This PR introduces the following changes:

Replaces the existing service class with a source generator.
The source generator generates IDispatcher implementations for classes annotated with SliceServiceAttribute.
The implementation is inspired by the .NET runtime LoggerMessage source generator. For reference, see LoggerMessage Generator.

You also need to update src/IceRpc.Slice/README.md

You also need to update src/IceRpc.Slice/README.md

Updated


Gnome: Fedora 28/Ubuntu 18.04: Missing taskbar icon when application active (solution included)

When Ghost Desktop 1.7.0 is run under Fedora 27/28 or Ubuntu 16.04/18.04, it is shown as another application on the taskbar even if it is already present among the user's "Favorite applications" on the taskbar. This problem also concerns the Snap package of Ghost Desktop.
The icon under which the program is shown is the "icon broken or missing" picture.
The issue can be fixed by adjusting the name of the .desktop shortcut to the application as shown below:
#!/usr/bin/env bash

shortcut_dir=/usr/share/applications \
    && sudo mv "$shortcut_dir/Ghost.desktop" \
    "$shortcut_dir/ghost-desktop.desktop"

It may occur that this will not suffice and icons of appropriate dimensions will need to be placed in the system icon directory. This can be achieved with the Bash script shown below:
#!/usr/bin/env bash

# Fix missing desktop icon for Ghost Desktop in Ubuntu/Fedora.

# Optional dependency: imageinfo

icon_directory=/usr/share/icons/hicolor
shortcut_dir=/usr/share/applications

# Receive additional information from imageinfo.
# Set to `1` if imageinfo installed:
with_info=0

show_info() {
	if [[ $with_info == 1 ]] ; then
		imageinfo Ghost.png --geom
	fi
}

deliver() {
    edge=$1
    size="$edge"x"$edge"
    cp /usr/share/pixmaps/Ghost.png \
        /usr/share/icons/hicolor/$size/apps/
    (cd /usr/share/icons/hicolor/$size/apps/ && \
        convert Ghost.png -resize $size Ghost.png && \
        show_info)
}

unique() {
    grep -o -E '[0-9]+' | sort -u | sort -n
}

subfolders() {
    local dir=$1

    ls $dir
}

needed_sizes() {
	sizes=$(subfolders $icon_directory | unique)
	echo $sizes
}

generate_icons() {
	sizes=`needed_sizes`
	printf "Generating missing icons: "
	for s in $sizes
	do
		printf "$s"x"$s"" "
		deliver $s
	done
}

functionality() {
	echo This script provides missing desktop icon files to Ghost Desktop.
}

ensure_root() {
    if [[ $EUID -ne 0 ]] ; then
	functionality
        echo "This script must be run as root."
        exit 1
    fi
}

main() {
	ensure_root
	generate_icons
	echo OK
}

main $@

March 2020 update: In Ubuntu 18.04.04 LTS only the first step was necessary to get the icon to work.
The command was:
shortcut_dir=/usr/share/applications \
    && sudo mv "$shortcut_dir/Ghost.desktop" \
    "$shortcut_dir/ghost-desktop.desktop"

This indicates Ghost and Ubuntu work increasingly better with each other.
Thanks for this, @JohnONolan and Ghost Desktop Team! You make my days better!


Port TuttleOFX extensions : align, pattern, shrink

Description
This pull request intends to port three TuttleOFX extensions from TuttleOFX repository as mentioned in #449 .
I have tried not to change anything significant in actual extension code. However, I have reformatted the test cases completely in order to align them with current practices followed by Gil.
I would like to confirm the following points about some TuttleOFX extensions :

Is it reasonable to port line extension ? It is used for drawing only vertical and horizontal lines which can be done with
existing rasterisation functionality.
wuline extension uses Wu's line algorithm to draw lines. Since this functionality is already developed using Bresenham line
algorithm, is there a need to port it ?
I am not sure about the usefulness of layer extension in Gil.

Tasklist

[x] Add test case(s)
[ ] Ensure all CI builds pass
[ ] Review and approve

@meshtag Thanks for your work.
I'd keep this PR focused on the three: align, pattern and shrink.
The other three (Wu, line and layer) can be considered in future.
It's more important to have new additions covered with tests and pass the CI builds.

Build results are pretty strange, builds are successful with clang but are failing with gcc. Any idea what can be the reason? (@mloskot )

Tests of the align seem failing for the optimised (release) builds (see raw log):
2021-03-16T19:10:33.7778759Z gcc.compile.c++ bin.v2/libs/gil/test/extension/toolbox/aligned.test/gcc-6/release/cxxstd-14-iso/threading-multi/visibility-hidden/aligned.o
2021-03-16T19:10:33.9397110Z gcc.link bin.v2/libs/gil/test/extension/toolbox/aligned.test/gcc-6/release/cxxstd-14-iso/threading-multi/visibility-hidden/aligned
2021-03-16T19:10:33.9752440Z testing.capture-output bin.v2/libs/gil/test/extension/toolbox/aligned.test/gcc-6/release/cxxstd-14-iso/threading-multi/visibility-hidden/aligned.run
2021-03-16T19:10:33.9754074Z ====== BEGIN OUTPUT ======
2021-03-16T19:10:33.9755992Z libs/gil/test/extension/toolbox/aligned.cpp(288): test 'gil::equal_pixels(obtained_center_middle_view, gil::view(expected_center_middle_img))' failed in function 'int main()'
2021-03-16T19:10:33.9758348Z libs/gil/test/extension/toolbox/aligned.cpp(289): test 'gil::equal_pixels(obtained_left_top_view, gil::view(expected_left_top_img))' failed in function 'int main()'
2021-03-16T19:10:33.9759548Z 2 errors detected.
2021-03-16T19:10:33.9760052Z
2021-03-16T19:10:33.9760619Z EXIT STATUS: 2
2021-03-16T19:10:33.9761207Z ====== END OUTPUT ======
2021-03-16T19:10:34.0033218Z
2021-03-16T19:10:34.0034394Z     LD_LIBRARY_PATH="/usr/bin:/usr/lib:/usr/lib32:/usr/lib64:$LD_LIBRARY_PATH"
2021-03-16T19:10:34.0035282Z export LD_LIBRARY_PATH
2021-03-16T19:10:34.0035788Z
2021-03-16T19:10:34.0036309Z     status=0
2021-03-16T19:10:34.0037701Z     if test $status -ne 0 ; then
2021-03-16T19:10:34.0038697Z         echo Skipping test execution due to testing.execute=off
2021-03-16T19:10:34.0039506Z         exit 0
2021-03-16T19:10:34.0040033Z     fi
2021-03-16T19:10:34.0042320Z      "bin.v2/libs/gil/test/extension/toolbox/aligned.test/gcc-6/release/cxxstd-14-iso/threading-multi/visibility-hidden/aligned"   > "bin.v2/libs/gil/test/extension/toolbox/aligned.test/gcc-6/release/cxxstd-14-iso/threading-multi/visibility-hidden/aligned.output" 2>&1 < /dev/null
2021-03-16T19:10:34.0044138Z     status=$?
2021-03-16T19:10:34.0045694Z     echo >> "bin.v2/libs/gil/test/extension/toolbox/aligned.test/gcc-6/release/cxxstd-14-iso/threading-multi/visibility-hidden/aligned.output"
2021-03-16T19:10:34.0047984Z     echo EXIT STATUS: $status >> "bin.v2/libs/gil/test/extension/toolbox/aligned.test/gcc-6/release/cxxstd-14-iso/threading-multi/visibility-hidden/aligned.output"
2021-03-16T19:10:34.0049709Z     if test $status -eq 0 ; then
2021-03-16T19:10:34.0052055Z         cp "bin.v2/libs/gil/test/extension/toolbox/aligned.test/gcc-6/release/cxxstd-14-iso/threading-multi/visibility-hidden/aligned.output" "bin.v2/libs/gil/test/extension/toolbox/aligned.test/gcc-6/release/cxxstd-14-iso/threading-multi/visibility-hidden/aligned.run"
2021-03-16T19:10:34.0053968Z     fi
2021-03-16T19:10:34.0054534Z     verbose=0
2021-03-16T19:10:34.0055371Z     if test $status -ne 0 ; then
2021-03-16T19:10:34.0056768Z         verbose=1
2021-03-16T19:10:34.0057330Z     fi
2021-03-16T19:10:34.0058150Z     if test $verbose -eq 1 ; then
2021-03-16T19:10:34.0058783Z         echo ====== BEGIN OUTPUT ======
2021-03-16T19:10:34.0060251Z         cat "bin.v2/libs/gil/test/extension/toolbox/aligned.test/gcc-6/release/cxxstd-14-iso/threading-multi/visibility-hidden/aligned.output"
2021-03-16T19:10:34.0061418Z         echo ====== END OUTPUT ======
2021-03-16T19:10:34.0062142Z     fi
2021-03-16T19:10:34.0062603Z     exit $status
2021-03-16T19:10:34.0063209Z
2021-03-16T19:10:34.0064855Z ...failed testing.capture-output bin.v2/libs/gil/test/extension/toolbox/aligned.test/gcc-6/release/cxxstd-14-iso/threading-multi/visibility-hidden/aligned.run...

Interestingly, it is also failing w/ MSVC for non-optimised (debug) build on AppVeyor (see log):
[00:05:50] compile-c-c++ bin.v2\libs\gil\test\extension\toolbox\aligned.test\msvc-14.1\dbg\adrs-mdl-32\cxstd-14-iso\thrd-mlt\aligned.obj
[00:05:50] aligned.cpp
[00:05:50] msvc.link bin.v2\libs\gil\test\extension\toolbox\aligned.test\msvc-14.1\dbg\adrs-mdl-32\cxstd-14-iso\thrd-mlt\aligned.exe
[00:05:50] ...on 400th target...
[00:05:50] testing.capture-output bin.v2\libs\gil\test\extension\toolbox\aligned.test\msvc-14.1\dbg\adrs-mdl-32\cxstd-14-iso\thrd-mlt\aligned.run
[00:05:50] ====== BEGIN OUTPUT ======
[00:05:50] libs\gil\test\extension\toolbox\aligned.cpp(288): test 'gil::equal_pixels(obtained_center_middle_view, gil::view(expected_center_middle_img))' failed in function 'int __cdecl main(void)'
[00:05:50] libs\gil\test\extension\toolbox\aligned.cpp(289): test 'gil::equal_pixels(obtained_left_top_view, gil::view(expected_left_top_img))' failed in function 'int __cdecl main(void)'
[00:05:50] 2 errors detected.
[00:05:50]
[00:05:50] EXIT STATUS: 2
[00:05:50] ====== END OUTPUT ======
[00:05:50]
[00:05:50]
[00:05:50]     set status=0
[00:05:50]     if %status% NEQ 0 (
[00:05:50]         echo Skipping test execution due to testing.execute=off
[00:05:50]         exit 0
[00:05:50]     )
[00:05:50]      "bin.v2\libs\gil\test\extension\toolbox\aligned.test\msvc-14.1\dbg\adrs-mdl-32\cxstd-14-iso\thrd-mlt\aligned.exe"   > "bin.v2\libs\gil\test\extension\toolbox\aligned.test\msvc-14.1\dbg\adrs-mdl-32\cxstd-14-iso\thrd-mlt\aligned.output" 2>&1
[00:05:50]     set status=%ERRORLEVEL%
[00:05:50]     echo. >> "bin.v2\libs\gil\test\extension\toolbox\aligned.test\msvc-14.1\dbg\adrs-mdl-32\cxstd-14-iso\thrd-mlt\aligned.output"
[00:05:50]     echo EXIT STATUS: %status% >> "bin.v2\libs\gil\test\extension\toolbox\aligned.test\msvc-14.1\dbg\adrs-mdl-32\cxstd-14-iso\thrd-mlt\aligned.output"
[00:05:50]     if %status% EQU 0 (
[00:05:50]         copy "bin.v2\libs\gil\test\extension\toolbox\aligned.test\msvc-14.1\dbg\adrs-mdl-32\cxstd-14-iso\thrd-mlt\aligned.output" "bin.v2\libs\gil\test\extension\toolbox\aligned.test\msvc-14.1\dbg\adrs-mdl-32\cxstd-14-iso\thrd-mlt\aligned.run"
[00:05:50]     )
[00:05:50]     set verbose=0
[00:05:50]     if %status% NEQ 0 (
[00:05:50]         set verbose=1
[00:05:50]     )
[00:05:50]     if %verbose% EQU 1 (
[00:05:50]         echo ====== BEGIN OUTPUT ======
[00:05:50]         type "bin.v2\libs\gil\test\extension\toolbox\aligned.test\msvc-14.1\dbg\adrs-mdl-32\cxstd-14-iso\thrd-mlt\aligned.output"
[00:05:50]         echo ====== END OUTPUT ======
[00:05:50]     )
[00:05:50]     exit %status%
[00:05:50]
[00:05:50] ...failed testing.capture-output bin.v2\libs\gil\test\extension\toolbox\aligned.test\msvc-14.1\dbg\adrs-mdl-32\cxstd-14-iso\thrd-mlt\aligned.run...

I suspect some kind of undefined behaviour, impossible to tell without debugging, I'm afraid.

If you prefer, close this PR and split it into three separate PRs:

pattern
shrink
align

Then, we will merge the ones that pass and the align can wait until you/we/whoever have time to have a look.

Alright, I will split them and create new PRs

I messed up while rebasing, apologies for that. I will try not to repeat such a mistake in future.

@meshtag Don't worry, This PR goes to bin anyway.


Update contract deploy tools dependency version

Related to: trustlines-network/project#631

Codecov Report

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

@@           Coverage Diff           @@
##           master     #308   +/-   ##
=======================================
  Coverage   64.34%   64.34%
=======================================
  Files          48       48
  Lines        3200     3200
=======================================
  Hits         2059     2059
  Misses       1141     1141

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 280b771...efa9a8c. Read the comment docs.

Merge by successful CI and optimistic approval by Ralf.


[Extensibility Enhancement] Page 113 Budget SetBudgetDim2Filter

Business Central stores only the latest filter value in this page. If you use multiple budgets, with different filters you have to change the filters every time you change the budget.
It would be great if we could set filters programmatically.
Please add SetBudgetDim1Filter to set the Budget Dimension 2 Filter from outside.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Cannot read properties of undefined (reading 'SSL_OP_LEGACY_SERVER_CONNECT')

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
Monitoring a HTTPS email server service now does not work on 1.23.5
Got the error: Cannot read properties of undefined (reading 'SSL_OP_LEGACY_SERVER_CONNECT')

👟 Reproduction steps
Just upgrade to the version 1.23.5
Must have an old server with a https service to monitor.
👀 Expected behavior
Should work.
😓 Actual Behavior
It reports the service as down when actually it is UP
🐻 Uptime-Kuma Version
1.23.5
💻 Operating System and Arch
Ubuntu 22.04 LTS
🌐 Browser
Google Chrome
🐋 Docker Version
No response
🟩 NodeJS Version
No response
📝 Relevant log output
No response

Should be fixed in 1.23.6


Subsequent press of hotkey selects next item

For the longest time I've used LaunchBar as my clipboard manager of choice all because of one feature. By pressing the hotkey that invokes the clipboard manager subsequent times, you can select the next item in the list (described under "Show clipboard history" here).
It would be amazing if the same functionality could be available in Maccy as I don't use any other features of LaunchBar, am tired of it's "pay for a license" nagging, and have never found another clipboard manager that does the same thing.
To further clarify, the user would press the hotkey which would display Maccy. While continuing to hold down the modifier key(s) they used, they can press the non-modifier key again to select the next item in the list. Upon releasing all of the keys, whichever item was selected, pastes. Try out LaunchBar (free) to get a better idea of how it works or just ask and I can explain further.
A few months ago I took a crack at trying to add it to Maccy myself but wasn't able to get it working.
Also, for what it's worth, my hotkey of choice is command + option + v. It's always made sense to me logically as it's the paste command, plus the option/alt modifier.

During the last few months I've taken mulitple attempts trying to implement this feature. However, I cannot figure out a way to trigger event when modifier flags are released. Current implementation uses Carbon event handlers to intercept system key down/up events because NSMenu doesn't allow to do that using regular view-based methods. The solution Maccy uses is based on https://github.com/mikekazakov/MGKMenuWithFilter. However, I can't find a combination of EventTypeSpec that would detect releasing of modifier keys.

I believe you have to use either a global event monitor or event tap.

It's now possible to implement this because https://github.com/p0deje/Maccy/blob/master/Maccy/RunLoopLocalEventMonitor.swift would allow us to get the .flagsChanged event. If anyone wants to take a shot at implementing this, PRs are welcome and I can guide you.

@p0deje Can you guide me, I would love to try this! Thank you

@7zism3 You would start by adding .flagsChanged event to monitor - https://github.com/p0deje/Maccy/blob/94d58220a9c2e68b61692dc4d3adef8fbd45562d/Maccy/RunLoopLocalEventMonitor.swift#L27-L31. Once an event is tracked, you would need to implement some kind of logic to track when the user popped up Maccy, but kept modifier flags pressed and then press only a letter key from the popup shortcut. Upon each press like that, you'd select the next item in history and, finally, when all keys are released, select the current item.
There might other events that could be useful to track, you might want to play around with RunLoopLocalEventMonitor.swift first.

@7zism3 You would start by adding .flagsChanged event to monitor -
https://github.com/p0deje/Maccy/blob/94d58220a9c2e68b61692dc4d3adef8fbd45562d/Maccy/RunLoopLocalEventMonitor.swift#L27-L31
. Once an event is tracked, you would need to implement some kind of logic to track when the user popped up Maccy, but kept modifier flags pressed and then press only a letter key from the popup shortcut. Upon each press like that, you'd select the next item in history and, finally, when all keys are released, select the current item.
There might other events that could be useful to track, you might want to play around with RunLoopLocalEventMonitor.swift first.

@p0deje Thank you for your instructions. I tried the same method as you yesterday morning. strangely, it doesn't catch the .flagsChanged event. I will try it again tomorrow,

@7zism3 You can try switching to .any and see what kind of events show up.

would love to see this implemented as well, the only thing missing for me.


Skipping some rows and cells in extraction

Hi There,
I have tried to upload a PDF which has purely table data but for some reasons in lattice mode some rows are not extracting as you can see in attached CSV file after 224, 225 and 226 are skipped and further rows has no value in some cells.
When I use stream mode it is displaying that values but format is getting disturb. I am attaching PDF and CSV file. Please have a look and let me know if it can be fix.
And also it is giving me error in importing PDF files if PDF has blank pages. Can you also tell me how can this tool ignore blank pages automatically and extract table data.
33.pdf
tabula-33.xlsx

Are you sure you're using hte latest version of Tabula? I think I fixed the blank page issue in the version released just a few days ago.


Failed to download intermediary jar

While attempting to run my legacy Fabric mod in a development environment as a client, I ran into this stack trace:
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed to download file from (https://maven.legacyfabric.net/net/legacyfabric/intermediary/1.8.9/intermediary-1.8.9-v2.jar) to (C:\Users\gerar\AppData\Local\Temp\legacy-intermediary-1-v22678157812200049126.jar)
	at net.fabricmc.loom.util.download.Download.error(Download.java:442)
	at net.fabricmc.loom.util.download.Download.downloadPath(Download.java:157)
	at net.fabricmc.loom.util.download.DownloadBuilder.lambda$downloadPath$1(DownloadBuilder.java:124)
	at net.fabricmc.loom.util.download.DownloadBuilder.withRetries(DownloadBuilder.java:159)
	... 191 more
Caused by: net.fabricmc.loom.util.download.DownloadException: Failed to download (https://maven.legacyfabric.net/net/legacyfabric/intermediary/1.8.9/intermediary-1.8.9-v2.jar)
	at net.fabricmc.loom.util.download.Download.error(Download.java:442)
	at net.fabricmc.loom.util.download.Download.send(Download.java:121)
	at net.fabricmc.loom.util.download.Download.doDownload(Download.java:182)
	at net.fabricmc.loom.util.download.Download.downloadPath(Download.java:154)
	... 193 more
Caused by: java.net.ConnectException
	at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:573)
	at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:119)
	at net.fabricmc.loom.util.download.Download.send(Download.java:119)
	... 195 more
Caused by: java.net.ConnectException
	at java.net.http/jdk.internal.net.http.common.Utils.toConnectException(Utils.java:1047)
	at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:198)
	at java.net.http/jdk.internal.net.http.AsyncSSLConnection.connectAsync(AsyncSSLConnection.java:56)
	at java.net.http/jdk.internal.net.http.Http1Exchange.sendHeadersAsync(Http1Exchange.java:239)
	at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$9(Exchange.java:472)
	at java.net.http/jdk.internal.net.http.Exchange.checkFor407(Exchange.java:404)
	at java.net.http/jdk.internal.net.http.Exchange.lambda$responseAsyncImpl0$10(Exchange.java:476)
	at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl0(Exchange.java:476)
	at java.net.http/jdk.internal.net.http.Exchange.responseAsyncImpl(Exchange.java:380)
	at java.net.http/jdk.internal.net.http.Exchange.responseAsync(Exchange.java:372)
	at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:408)
	at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(MultiExchange.java:449)
	at java.net.http/jdk.internal.net.http.MultiExchange.responseAsyncImpl(MultiExchange.java:439)
	at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsync0$2(MultiExchange.java:341)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$DelegatingExecutor.execute(HttpClientImpl.java:157)
	at java.net.http/jdk.internal.net.http.MultiExchange.responseAsync(MultiExchange.java:294)
	at java.net.http/jdk.internal.net.http.HttpClientImpl.sendAsync(HttpClientImpl.java:654)
	at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:552)
	... 197 more
Caused by: java.nio.channels.UnresolvedAddressException
	at java.net.http/jdk.internal.net.http.PlainHttpConnection.lambda$connectAsync$0(PlainHttpConnection.java:183)
	at java.net.http/jdk.internal.net.http.PlainHttpConnection.connectAsync(PlainHttpConnection.java:185)
	... 213 more

I saw that maven.legacyfabric.net has been replaced by https://repo.legacyfabric.net in the DNS configuration, but I think it has not been reflected in the current codebase.

maven.legacyfabric.net is supposed to be a redirect to repo.legacyfabric.net/repository/maven, both to keep backwards compatibility with old projects that expect the maven to be at maven. and to keep forwards compatibility in case the site the maven is hosted at ever changes. Earlier today, I finished transferring legacy fabric's infrastructure to a different vps but set up the redirect wrong. I just fixed it and it's working on my end - is it working on yours?

yep, it works. thanks!

Same here, but I used the URL https://maven.legacyfabric.net.


Godot won't start with monitor over dockingstation

Godot version:
3.3 Standard, 64/32-bit (both)
OS/device including version:
HP EliteBook 850 G5 i7-8550U 15.6 UHD
AMD Radeon R59
Intel UHD Graphics 620
Targus ACP71EU DisplayLink
GLES2 and GLES3
Issue description:
When starting godot "nothing" happens:
C:...\Godot_v3.3-stable_win64.exe>Godot_v3.3-stable_win64.exe --verbose --debug
Godot Engine v3.3.stable.official - https://godotengine.org
C:...\Godot_v3.3-stable_win64.exe>
This only happens when the dock is connected. The same monitor connected directly to the laptop works as expected.
Steps to reproduce:
Plug in to a Targus ACP7 dock. Try to open godot (from cmd or via double click).
Minimal reproduction project:
not related to any project

See also https://github.com/godotengine/godot/issues/28785.


Load the initial power table from the network even if we have the tipset

We generally have all tipsets, just not all states. We need to load the power table from the network in case either call fails.

Finally! It passes!

Finally! It passes!

TestF3LateBootstrap strikes again 😭


Desyncing of collection log on restart

What are you experiencing, describe the bug
Please provide a clear and concise description so triage will be easier. Provide screenshots of the bug if applicable.
I'm not entirely sure if it's on RuneLite restart or PC restart, but lately every time I open my collection log for the first time of the day, every single page has an asterisk behind it, and none of the logs that I have completed are greened anymore.
If I relog my account, this also gets updated on the website and my whole collection log gets cleared from there.
How are you expecting it would work?
Please provide a clear and concise description what your expectation is. This provides a better context for the bug.
Plugin should probably either locally store the current progress towards the collection log and load that on startup, or pull the information from the website before being able to send an update to it. It's getting a bit old to have to go through my entire collection log every morning.
What is your username?
Please supply your in-game username if applicable.
Ew Its Mike
Some pictures:

Hi! Thanks for creating this issue, we already received multiple reports about this issue and are actively investigating and working on it.
We have done some troubleshooting with another user already a couple hours ago and got working with a workaround.
Can you try to do the following:

Navigate to %userprofile%\.runelite\collectionlog (Windows) or $HOME/.runelite/collectionlog (MacOs/Linux).
Check if there are json files located in this folder with the filename: collectionlog-<your-account-name>.json.
If there is, move it out for now, to "create" a backup.
Start the Runelite client.
Check a couple of pages to remove the asterisks (*).
Close the Runelite client.
Start the Runelite client and confirm if the asterisks (*) are still gone.
Check the collection log and go through each page to remove all asterisks (*).
Upload log to the website and check if the collection log is correct on the website.
Either remove the files of step 3 (old collection log file) or keep it without moving it back.

Please let us know if this worked or not.

I've tried these steps and it seems to be updated for now at least. Will give you another update to see if it stays tomorrow morning. Thank you for the reply either way!

Thank you! Great to hear we could temporarily fix it via this workaround.

I forgot to check in the morning, my bad. Log does not seem to have descyned and still has everything in there, so at least the workaround did the job!
Thanks again, closing the issue.


Document the required cluster size to execute the bookinfo demo

I had a 3-instance (default machine-size) GKE cluster and started to see scheduling failures after deploying:

istio and grafana by copy-pasting https://istio.io/docs/tasks/installing-istio.html
bookinfo app: https://istio.io/docs/samples/bookinfo.html

I was seeing
Events:
  FirstSeen	LastSeen	Count	From						SubObjectPath				Type		Reason			Message
  ---------	--------	-----	----						-------------				--------	------			-------
  11m		2m		36	default-scheduler									Warning		FailedScheduling	No nodes are available that match all of the following predicates:: Insufficient cpu (3)

I had to increase the node count to 4 to accommodate.
It would be preferable if the tutorial started with a "Before you begin" section telling me exactly what I need. I had to figure this out myself.

ref https://github.com/istio/manager/issues/608

Fixed in istio/istio.github.com#198


Shortcut doesn't destroy everything at once anymore?

Hello, since a recent update a button press doesn't destroy all included items at once anymore. Is this due to an API change by Blizzard or intended behaviour? This is for Classic - I don't know about retail.

This is related to #87. The way in which all items were destroyed previously no longer works in retail, so I've made changes to how destroying works to support the breaking change Blizzard made. For Classic, you may still use Dejunk version 9.0.5 for the old destroying functionality.

Thanks for the rapid response! That's a shame but I suppose the workaround works as long as they don't change the Classic API.


Kubernetes supports gRPC probes (released in 1.23)

Would be nice to mention the built-in support of gRPC probes in Kubernetes.
See proposed wording: https://github.com/grpc-ecosystem/grpc-health-probe/pull/99
It also may be worth mentioning some differences when grpc-health-probe may be better suited.  I started list here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-a-grpc-liveness-probe

Before Kubernetes 1.23, gRPC health probes were often implemented using grpc-health-probe, as described in the blog post Health checking gRPC servers on Kubernetes. The built-in gRPC probes behavior is similar to one implemented by grpc-health-probe. When migrating from grpc-health-probe to built-in probes, remember the following differences:

Built-in probes run against the pod IP address, unlike grpc-health-probe that often runs against <IP_ADDRESS>. Be sure to configure your gRPC endpoint to listen on the Pod's IP address.
Built-in probes do not support any authentication parameters (like -tls).
There are no error codes for built-in probes. All errors are considered as probe failures.
If ExecProbeTimeout feature gate is set to false, grpc-health-probe does not respect the timeoutSeconds setting (which defaults to 1s), while built-in probe would fail on timeout.

 Sorry.


wip: centralize Dokka configuration and plugins into repo tools

Issue #, if available:
(none)
Description of changes:
Work in progress: This PR and its companion PRs don't actually work yet. Posting here for debugging...
Companion PR: https://github.com/smithy-lang/smithy-kotlin/pull/1148
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Abandoning for now.


Custom error message not displayed for duplicate usernames

Describe the bug 🐛
If the user tries to signup using a username that has already been registered, then they get an error message that is not easy to follow. Thus the user might be confused about the reason for which they are being prevented from signup.
To Reproduce
Steps to reproduce the behavior:

Go to Signup Page
Type a username that has already been registered
Type other details
Click on the Signup button
See error

Observed behavior
If the user tries to signup using a username that is already registered then they get a error message that is not easy to understand.
Expected behavior
The user must get a custom error message that is understandable when they signup using a duplicate username.
Screenshots

Desktop (please complete the following information; delete this section if the issue does not arise on desktop):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information; delete this section if the issue does not arise on smartphones):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Please mention if any other clarification is required regarding the bug.

Can I work on this?


Crash when duplicating a line in a locked file

Hi - just discovered a crashing bug reproducible 100% of the time. It happens if you try to Duplicate a Line in a file that's locked (e.g. a file in the Cocoapods project of your workspace)
Here is the stack-trace:
Process:               Xcode [71369]
Path:                  /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:            com.apple.dt.Xcode
Version:               7.2 (9548)
Build Info:            IDEFrameworks-9548000000000000~7
App Item ID:           497799835
App External ID:       814662604
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Xcode [71369]
User ID:               501

PlugIn Path:             /Users/USER/Library/Application Support/Developer/*/MarvinPlugin
PlugIn Identifier:       com.zenangst.MarvinPlugin
PlugIn Version:          2.0.3 (2.0.3)

Date/Time:             2016-01-27 10:10:40.630 +0100
OS Version:            Mac OS X 10.11.2 (15C50)
Report Version:        11
Anonymous UUID:        DC78A84E-6DC5-2379-5D5D-C308488B71D6

Sleep/Wake UUID:       DB3CF102-C6FC-4671-B756-2720B781A991

Time Awake Since Boot: 480000 seconds
Time Since Wake:       3300 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
Sending duplicateLineAction to <MarvinPlugin.MarvinPlugin: 0x7fdbc6e420a0> from <NSMenuItem: 0x7fdbc60c5ec0 Duplicate Line>
ProductBuildVersion: 7C68
Performing @selector(duplicateLineAction) from sender NSMenuItem 0x7fdbc60c5ec0

Global Trace Buffer (reverse chronological seconds):
209.095491   CFNetwork                 	0x00007fff8e614a5b TCP Conn 0x7fdbc6114400 SSL Handshake DONE
209.553910   CFNetwork                 	0x00007fff8e614937 TCP Conn 0x7fdbc6114400 starting SSL negotiation
209.554100   CFNetwork                 	0x00007fff8e613303 TCP Conn 0x7fdbc6114400 complete. fd: 45, err: 0
209.555208   CFNetwork                 	0x00007fff8e6a1b1d TCP Conn 0x7fdbc6114400 event 1. err: 0
209.751340   CFNetwork                 	0x00007fff8e6125d3 TCP Conn 0x7fdbc6114400 started
209.852453   CFNetwork                 	0x00007fff8e5d621a Creating default cookie storage with process/bundle identifier
209.852463   CFNetwork                 	0x00007fff8e5d61b2 Faulting in CFHTTPCookieStorage singleton
209.852463   CFNetwork                 	0x00007fff8e5d6041 Faulting in NSHTTPCookieStorage singleton
209.863260   CFNetwork                 	0x00007fff8e6d3654 NSURLConnection finished with error - code -1100

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.zenangst.MarvinPlugin     	0x000000011657c686 _TFC12MarvinPlugin12XcodeManager9lineRangefS0_FT_VSC8_NSRange + 2918 (XcodeManager.swift:167)
1   com.zenangst.MarvinPlugin     	0x0000000116582870 _TFC12MarvinPlugin12MarvinPlugin19duplicateLineActionfS0_FT_T_ + 416 (MarvinPlugin.swift:158)
2   com.zenangst.MarvinPlugin     	0x0000000116583306 _TToFC12MarvinPlugin12MarvinPlugin19duplicateLineActionfS0_FT_T_ + 22
3   libsystem_trace.dylib         	0x00007fff9b6b007a _os_activity_initiate + 75
4   com.apple.AppKit              	0x00007fff9e60351d -[NSApplication sendAction:to:from:] + 460
5   com.apple.dt.DVTKit           	0x0000000109d6dac7 __37-[DVTApplication sendAction:to:from:]_block_invoke + 379
6   com.apple.dt.DVTFoundation    	0x000000010978c9a5 DVTInvokeWithFailureHint + 83
7   com.apple.dt.DVTKit           	0x0000000109c3f1f7 -[DVTApplication sendAction:to:from:] + 335
8   com.apple.AppKit              	0x00007fff9e6032b7 -[NSMenuItem _corePerformAction] + 336
9   com.apple.AppKit              	0x00007fff9e603017 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 114
10  libsystem_trace.dylib         	0x00007fff9b6b007a _os_activity_initiate + 75
11  com.apple.AppKit              	0x00007fff9e601f05 -[NSMenu performKeyEquivalent:] + 357
12  com.apple.AppKit              	0x00007fff9e6010aa -[NSApplication _handleKeyEquivalent:] + 920
13  com.apple.AppKit              	0x00007fff9e51950f -[NSApplication sendEvent:] + 4274
14  com.apple.dt.IDEKit           	0x000000010a9dec6d -[IDEApplication sendEvent:] + 739
15  com.apple.AppKit              	0x00007fff9e44c03a -[NSApplication run] + 796
16  com.apple.AppKit              	0x00007fff9e3ce520 NSApplicationMain + 1176
17  libdyld.dylib                 	0x00007fff960295ad start + 1

Thanks man, I'll have a look and keep you posted!

@iandundas does it happen with all manipulation related commands or is Duplicate line the only affected command?

Thanks! This plugin is great btw 👍🏻

Gah weird - after testing I could always reproduce it before posting this, now I can't reproduce it. It's now showing Xcode's "File locked" window, as it should (but wasn't doing before)

I'll keep trying to see if I can reproduce it. FYI I only tried with Duplicate Line.

@iandundas don't worry man, doing some digging myself. I might be able to include a flag in MarvinPlugin.validResponder() to check if the document is locked or not. That should probably help to fix the issue. And, that thing should probably already be there to begin with.

It seems reliably reproducible when the cursor is on the last line of a file when you hit the duplicate line shortcut

Thanks for gathering more info! I'll have another look when time/life allows :sunglasses:


[Pending] [Tensor] Remove calcGrad step for trainable layer

This patch is for implementing tarinable property behavior.
If a layer is set as non-trainable, it doesnot need to execute calcGrad step, so we can remove it from execution order, also skip gradient calculation.
Signed-off-by: Jiho Chu<EMAIL_ADDRESS>

This PR is pending until @baek2sm 's  non-trainable layer test.

:octocat: cibot: @jihochu, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2071-202212201559450.8760449886322-9ef45a2cea91993002f8d0b0f7a1495e2f089c76/.

It passed #2077


Find any existing FOSS software in this space

https://votemostlyonline.com/

I do not think that FOSS software exists in this space.


Add k8s 1.12

Needs the following images:
rancher/coreos-etcd:v3.2.24
rancher/k8s-dns-kube-dns-amd64:1.14.13
rancher/k8s-dns-dnsmasq-nanny-amd64:1.14.13
rancher/k8s-dns-sidecar-amd64:1.14.13

@moelsayed can we add rancher/hyperkube:v1.12.0-nanoserver-1803 to windows? the image is published


Add validation plot after Bastos and O'Hagan (2009), along with example

Adds a validation plot modeled after Fig. 1 in Bastos and O'Hagan (2009) to utils.py, along with an example on top of the Emulating_using_GPs.ipynb.
In the example, the validation looks strange for me in the plot of standardized errors against emulated values. As I am not familiar with the data set, maybe @duncanwp has an idea for whether that's reasonable?
No tests were added for this.
References
Bastos and O'Hagan (2009): Diagnostics for Gaussian Process Emulators, Technometrics, 51, 425-438. https://doi.org/10.1198/TECH.2009.08019

This is great, thanks!


About trained models

Hi~thanks for your code first. Can you offer trained model on DukeMTMC-VID dataset based ResVKD-50bam?

Hi,
Link  to ResNet-50 trained on DukeMTMC-VID (teacher)
Link  to ResVKD-50 trained on DukeMTMC-VID (student)
Best regards,
A

Hi~thanks for your shared. Can you offer trained models on MARS? I will describe your contribution in my paper.
------------------ 原始邮件 ------------------
发件人:                                                                                "aimagelab/VKD"                                                                                @.>;
发送时间: 2023年7月3日(星期一) 晚上9:31
@.>;
<EMAIL_ADDRESS>主题: Re: [aimagelab/VKD] About trained models (Issue #26)
Hi,
Link  to ResNet-50 trained on DukeMTMC-VID (teacher)
Link  to ResVKD-50 trained on DukeMTMC-VID (student)
Best regards,
A
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

The checkpoints for the MARS dataset have already been released. You should be able to access them through the public links contained in the README file.
[https://ailb-web.ing.unimore.it/publicfiles/vkd_checkpoints/baseline.zip](Teacher checkpoints)
[https://ailb-web.ing.unimore.it/publicfiles/vkd_checkpoints/distilled.zip](Student checkpoints)

Thank you!
------------------ 原始邮件 ------------------
发件人: "Angelo @.>;
发送时间: 2023年7月3日(星期一) 晚上9:47
收件人: @.>;
抄送: @.>; @.>;
主题: Re: [aimagelab/VKD] About trained models (Issue #26)
The checkpoints for the MARS dataset have already been released. You should be able to access them through the public links contained in the README file.
[https://ailb-web.ing.unimore.it/publicfiles/vkd_checkpoints/baseline.zip](Teacher checkpoints)
[https://ailb-web.ing.unimore.it/publicfiles/vkd_checkpoints/distilled.zip](Student checkpoints)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Reusing Okta Session ID

Problem Statement
It is required that MFA must be used every time a new profile is made or refreshed.
Solution
The Session ID cookie is saved and reused so that the session will refresh as long as the session is still valid.

Gents, sorry couldn't find this in documentation and I have tried various utils available in .okta/bin but couldn't find much help as how can I switch my role within the same session.
When I authenticate via okta, I am presented with multiple roles, but after selecting one, I can't selection another within the same authenticated session.
I just upgraded myself to 2.0.0, was using 1.0.12 probably and in the previous version awscli sts get-caller-identity always started a new auth session. The new version does use the existing auth session but I couldn't find an option to change my role.
Please advise!
P.S. I am getting a java exception when I try to work with okta verify (push). It was working fine in the older version. I will raise a separate ticket for this.

The funcionality the last time I used it was that you type in the role
you want to use, followed by the command, and it should bring up your list
of available roles when it doesn't recognise the role you put in.
As an example, you type research S3 ls to list your research buckets,
then dev S3 ls to list the buckets in dev. It won't recognize dev because
it doesn't have a local cache for it, and ask you to pick the role for it.
On Thu., Apr. 11, 2019, 1:14 a.m. Atif Rasheed<EMAIL_ADDRESS>wrote:

Gents, sorry couldn't find this in documentation and I have tried various
utils available in .okta/bin but couldn't find much help as how can I
switch my role within the same session.
When I authenticate via okta, I am presented with multiple roles, but
after selecting one, I can't selection another within the same
authenticated session.
I just upgraded myself to 2.0.0, was using 1.0.12 probably and in the
previous version awscli sts get-caller-identity always started a new auth
session. The new version does use the existing auth session but I couldn't
find an option to change my role.
Please advise!
P.S. I am getting a java exception when I try to work with okta verify
(push). It was working fine in the older version. I will raise a separate
ticket for this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/oktadeveloper/okta-aws-cli-assume-role/pull/83#issuecomment-481953711,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ah88qVKclijr3coibJulb-sA7NqEngeMks5vfq-jgaJpZM4SZ96j
.


Add bwrap-oci and atomic-system-containers

OK, you're good to go! :) Your next step is to create .redhat-ci.yml files for those repos. See the sample YAML here.
You probably also want to head over to https://apps.fedoraproject.org/github2fedmsg and turn on notifications for those two repos so that testing feedback is more immediate.


Update Readme per slate app development procedures doc

@fengpinghu, while this is technically not an actual error (since the README is all that was modified) would you mind addressing:
nginx => (version: "1.2.2", path: "charts/nginx") > Chart version not ok. Needs a version bump!


[IOTDB-1714] fix Could not find or load main class when start with jmx on win

Coverage increased (+0.01%) to 67.075% when pulling cefbde35f9c66d70d0b076a939fd702c31ee2883 on xiaoyekanren:fix_start_with_jmx_on_win into c48b11823da119c89a781aa26a385eb0bf266054 on apache:master.


Fix a false positive and incorrect autocorrect for RSpec/Capybara/SpecificActions, RSpec/Capybara/SpecificFinders and RSpec/Capybara/SpecificMatcher

Fix: https://github.com/rubocop/rubocop-rspec/issues/1468

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[-] Updated documentation.
[x] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

I updated this PR.

I can't tell much about those cops, just that there were no errors:
$ rubocop --only RSpec/Capybara/MatchStyle --only RSpec/Capybara/SpecificActions --only RSpec/Capybara/SpecificFinders --only RSpec/Capybara/SpecificMatcher ../real-world-rspec
...
57497 files inspected, 63 offenses detected

Thank you!

/Users/pirj/source/real-world-rspec/solidus/frontend/spec/features/checkout_spec.rb:359:14: C: [Correctable] RSpec/Capybara/SpecificFinders: Prefer find_by over find.
      expect(find("#use_existing_card_yes")).to be_checked
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

57497 files inspected, 336 offenses detected, 336 offenses autocorrectable

for the other

/Users/pirj/source/real-world-rspec/publify/publify_core/spec/features/drafting_articles_spec.rb:25:5: C: RSpec/Capybara/SpecificActions: Prefer click_link over find('a').click.
    find('a[href="/admin/articles/1/edit"]').click
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

57497 files inspected, 63 offenses detected

I rebased this PR.

Please don't merge this just yet, I'm extracting rspec-capybara.

May I kindly ask to re-target this to rubocop-capybara, @ydah ?

@pirj OK, I'll do it 👍 It may take a little time as we add mixin testing as well.

We are now open and PR here is closed.
https://github.com/rubocop/rubocop-capybara/pull/10


Issues with victory conditions for high scores.

As I play through the levels looking for high scores I will add the issues I'm finding.
Some levels seem to have a lowest possible speed that can't be broken.  Need to figure a better way to test level finished for these, I beat them while hasted, and still tied with players using Tharin.
Sarven Gaps
Backwoods Ambush
ThunderHooves - Haste helped this time, but I still stood in the oasis for probably 4 seconds before the level finished.
Great Yak Stampede - Not sure how to fix the time on this one.  Seems that time is always the same if you succeed.  Love that there is option for high damage dealt.
Other issues:
Sarven Road - Don't have to kill the scouts, can just haste to the end of the level.
I'll add more issues as I find them.

Fixed Backwoods Ambush and Great Yak Stampede. On Sarven Gaps, Sarven Road, and Thunderhooves, we just need to make the referee smarter about knowing when the goals have been achieved instead of waiting so long to check completion and then assuming that if you're still alive and at the right spot, you've done it.

Is it possible to have a Most Gold Collected stat?  Mad Maxer Sells out would be cool that way.  (When hasted I can collect more coins than just the 3 gold)

I juts need to finish Thunderhooves now. Also just added gold-collected to Mad Maxer Sells Out.

You'll need to clear out the old scores for Sarven Road as well.  I currently hold the best time and damage taken at 4.9 seconds and 0 damage.  I just cast haste and ran.  Was planning to kill at the end, but the level just ended.


Puppeteer throwing ECONNRESET error while connecting to wsEndpoint

Steps to reproduce
Tell us about your environment:

Puppeteer version: 1.17.0
Platform / OS version: Alpine Linux - Edge
Node.js version: 10

What steps will reproduce the problem?
I am trying to run my puppeteer tests within a docker.

I followed the troubleshooting page and replicated the same dockerfile

FROM alpine:edge

# Installs latest Chromium (76) package.
 We'll be using the installed package.
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true

WORKDIR /usr/local/extranet

COPY ./ /usr/local/extranet

RUN yarn && yarn build

CMD ["yarn", "test:ci"]

I am running my tests using Jest + Puppeteer using jest-puppeteer package. Described in the example found in https://github.com/smooth-code/jest-puppeteer/tree/master/examples/create-react-app

I am running my testcases with yarn test:ci command which does the following.

Start my local server, to serve my website
Launch puppeteer with the following config:

{
    headless: true,
    executablePath: '/usr/bin/chromium-browser',
    args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-background-timer-throttling', '--disable-backgrounding-occluded-windows', '--disable-renderer-backgrounding']
}

Then extract the wsEndpoint using browser.wsEndpoint()
Use that value in another place to do a puppeteer.connect() passing the wsEndpoint value

What is the expected result?
The test case ran successfully
What happens instead?
Getting an error: connect ECONNREFUSED <IP_ADDRESS>:36085
The port keeps varying everytime.

An update on this. On a hunch I tried downgrading the version of chrome & puppeteer.
It is working with Chrome 72.
Here is my new dockerfile (taken from the history of the troubleshooting page), rest of the setup doesn't have any change.
FROM node:10-alpine

# Installs Chromium (72) package.
 We'll be using the installed package.
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true

WORKDIR /usr/local/extranet

COPY ./ /usr/local/extranet

RUN yarn && yarn build

CMD ["yarn", "test:ci"]

Any update on this? Anything I can do to help move this along??

Same problem with 2.0.0 in a node:10-slim docker container running in Linux. The same container in MacOS runs OK.

Seeing the same issue, downgrade did not help. Tried puppeteer version 1.11.0 which comes with chromium_revision 609904. I think it corresponds to chrome-72 based on the version logs here,
https://www.npmjs.com/package/puppeteer
Running node v10.15.3 on a Linux machine. Could use some help please.

Same here

same issue with latest puppeteer (10.2.0) and jest-puppeteer 5.0.4 :(

same issue here, any solution? =[

I had a similar error.  Added the fonts and the error is gone.


PE-735: Stked ETH support in auction demo keeper

          WSTETH-A auction 1

            Auction Tab:<PHONE_NUMBER>09249036437299 Dai
            Auction Lot:<PHONE_NUMBER>36117181137
            Configured Lot:     between 0.0 and<PHONE_NUMBER>94878651014
            Debt to Cover:<PHONE_NUMBER>97423994502453 Dai
            Slice to Take:<PHONE_NUMBER>36117181137
            Auction Price:      3942.15822 Dai

            Cost of lot:<PHONE_NUMBER>21846251034269 Dai
            Minimum profit:     15565.213734935599862561 Dai

            Uniswap proceeds:<PHONE_NUMBER>59250692977799 Dai
            Less min profit:<PHONE_NUMBER>243151

Attempting to take<PHONE_NUMBER>36117181137 WSTETH-A from auction 1 at max price 3942.15822 Dai
previousNonce:  null

    Sending a transaction
    from 0x<REDACTED>
    to 0x49A33A28C4C7D9576ab28898F4C9ac7e52EA457A
    nonce 949
    gasLimit 1105974
    gasPrice 31.000000007 Gwei

Auction 1 Take Tx Hash 0x4f1efded7e42ad80c26a59b8f8237a4cabd733dadc0ae2d0c5a9164a7195f7ff
Deleting Auction ID: 1 with remaining tab 0.0 and lot 58.42652288174977126

@iamchrissmith I addressed the stuff you mentioned, thanks a lot and did some minor changes. I don't really want to touch too much stuff at this point to avoid conflicts and so we can ship this asap for keepers to use (also we mostly do manual testing now).


Can't login to Hue

After completing the ansible installation, I cannot login to hue. Checked the corresponding database table and found it to be empty. How to log in to Hue or create a login?
Also, How to access the dashboard?

Hue is configured to use PAM authentication so you can access it using an linux account credentials configured on the Hue host by https://:8888 URL.
Dashboard is accessible by http:///dashboard URL.

I got the dashboard, thanks. Although I still can't login to hue. Tried all the different account credentials on my linux host. Even tried the following link,
http://gethue.com/password-management-in-hue/
But still nothing. From what I read, the first time I access hue, it should ask to create a user. but I don't get any such prompt.

please take a look on /var/log/hue/access.log and  /var/log/hue/error.log. it should a hint related to the login issue

Checked the log files and everything, there's nothing.
What seems off is that the first time I open hue on a browser it should ask me to create a username and password but it doesn't.
Also the browser keeps on saying that the certificate is invalid.


minTime does not work as expected

I am using xdan datetimepicker  , and is unable to get minTime to work as expected . In the docs,  it specifies to use minTime in "HH:mm" format , But that dint seam to work for I used Javascript date . Dont know why that works , But even the javascript date fails to work all the time . Can you please give solution for this .
thanks ,

+1

+1

+1

+1

I dug into this and it is a bug. minTime and maxTime are both dead in current version

Looks like the issue is no longer present in version 2.5.20.
@xdan can you close this and other related issues?


Make intallation timeout more flexable

We have a linux image that tries to update itself on starting up. It took 11 minutes for it to update itself. Meanwhile the docker extension only attempt to install docker for 6 minutes and gives up. I am hoping that we can have a more flexable retry logic like this
https://github.com/Azure/azure-docker-extension/pull/133

/cc
@sivagms
@yuwaMSFT2


Support node local traffic routing

Describe the feature request
In k8s, users can specify routing traffic to node local endpoints via setting InternalTrafficPolicy = Local. In istio, we donot respect it.
But node local traffic routing is required by many users.
Options we can do:

directly use k8s api InternalTrafficPolicy, but requires Kubernetes 1.21
Support it via enhanced topology-aware load balancing.

Describe alternatives you've considered
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Additional context

@howardjohn @ramaraochavali @stevenctl

I think we can do 1 and 2 both?
2 is technically just using an existing API in a new way, no special code changes
for 1 it's slightly different, it means we ONLY send local - no fail over at all

I agree with @howardjohn that we probably want to have both options in the long run


Lazy-load translations

Lazy-loading translations seems like an important feature to some of us.
An initial implementation is available in version 2.3.0 which is tagged as a pre-release. I'd love to have some feedback from you guys if you'd be willing to give it a try.
To get the prerelease:
yarn add<EMAIL_ADDRESS>
Have a look at the doc for usage: https://github.com/nuxt-community/nuxt-i18n#lazy-load-translations
Thanks!
https://github.com/nuxt-community/nuxt-i18n/issues/20
https://github.com/nuxt-community/nuxt-i18n/issues/7

I tried the new release.
Lazy loading is OK but after loading server-side-rendered pages, all of the translations disappear and message keys appear in a flick. (In the Page source there are the correct translations but in a half a second they replace with message keys!)

@mahmoudmy that's weird 😮
What does you nuxt.config.js look like?

Here is my config:
{
  locales: [{
    code: 'fa',
    iso: 'fa-IR',
    name: 'فارسی'
  }, {
    code: 'en',
    iso: 'en-US',
    name: 'English'
  }],
  defaultLocale: 'fa',
  vueI18n: {
    fallbackLocale: 'fa',
    silentTranslationWarn: true
  },
  loadLanguagesAsync: true,
  langDir: 'locales/',
  langFiles: {
    fa: 'fa.js',
    en: 'en.js'
  }
}

Thanks @mahmoudmy ! I tried your config in my example project and it seems to be working okay. Any way you could provide a repo with the issue so I can reproduce?

Thanks @paulgv , I created a simple repo resulting same problem:
https://github.com/mahmoudmy/nuxt-i18n-test

Thanks @paulgv , I created a simple repo resulting the same problem:
https://github.com/mahmoudmy/nuxt-i18n-test

Thanks! I'm not sure what's going on there, I need to give it a closer look. I released another version where langFiles option has been dropped in favor of individual langFile options in the locales array, make sure you update your config accordingly if you start using v2.3.0.
I'll do more tests to try and understand the bug you've got.

@mahmoudmy did you find a solution to your problem by any chance? I've been messing around with your repo and couldn't make it work properly, even after stripping it down to the bare minimum. But using a similar setup in another Nuxt project works fine so this feels pretty strange...

I also tried the new version (2.3.0), but the problem still exists!

@paulgv
I deployed the sample repo to heroku, you can see the strange behavior on every page load (refresh):
https://nuxt-18n-test.herokuapp.com/

@mahmoudmy apparently, nuxt-i18n's plugin was missing a simple return... 😅
Just pushed v2.3.4 which should fix your problem :)

Thanks @paulgv , You made my day ;)


Add MATIC BEP20 and ERC20 token

Checklist:

README.md includes:

[ ] The details of signing data and transaction data, this includes parameters.
[ ] Official docs or white paper.
[ ] Website or api can query assets and broadcast transaction.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Task linked: CW-12120 Update SDK


Support uninstall?

See https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/knative-users/zTFgqHFuztg/-Az7xBfZAQAJ

Is there a recommended way to completely uninstall Knative?
So far I'm going with this:
kubectl -n knative-build delete po,svc,daemonsets,replicasets,deployments,rc,secrets --all
kubectl -n knative-serving delete po,svc,daemonsets,replicasets,deployments,rc,secrets --all
kubectl -n istio-system delete po,svc,daemonsets,replicasets,deployments,rc,secrets --all

kubectl delete ns knative-serving
kubectl delete ns knative-build

kubectl api-resources -o name | grep knative | xargs kubectl delete crd
kubectl api-resources -o name | grep istio | xargs kubectl delete crd

/kind feature-request

I believe deleting the KnativeServing CR will delete the resources in the serving.yaml, however it will not delete knative-build or istio work. I'll double check on deleting the CR.

Yes, @trshafer is correct. All of the namespace-scoped resources in the upstream manifest have their owner reference set to the KnativeServing CR, so deleting that should trigger garbage collection to delete all of the k-s resources. As long as the operator is running at the time the CR is deleted, all of the cluster-scoped resources will be deleted as well. k8s doesn't allow cluster-scoped resources to be owned by ns-scoped ones, so we must explicitly delete them in response to the CR's delete event. This deletes the CRD's that @evankanderson explicitly deletes above, but also various cluster roles, bindings, and other cluster-scoped resources.
We don't touch istio or build, and that's by design: we'd expect their operators to clean up their own resources.

Thanks @jcrossley3


TypeError: '...' object is not callable, when using "get" method of dict in ex.config func

Repro:
import sacred
ex = sacred.Experiment()
@ex.config
def f():
    a = {'a': None}
    a.get('a')
@ex.automain
def main(a):
    pass

% python repro.py  # work
% python repro.py a.b=3 # Throw exception
...
TypeError: 'None' object is not callable

My workaround:
import sacred
ex = sacred.Experiment()
@ex.config
def f():
    a = {'a': None}
    dict(a).get('a')
@ex.automain
def main(a):
    pass

Thanks for reporting. I've just pushed a fix to master. So if you install sacred from there it should work now without workaround.


Fix failing tests due to parallelization

#238 added some tests and #304 added parallel running of tests (?) and we merged it in before realizing that there was an issue. I think we can just add the intermediate files to AWS and pull them down before running.

FAILED asapdiscovery-modeling/asapdiscovery/modeling/tests/test_protein_prep.py::TestProteinPrep::test_make_design_unit[mers] - FileNotFoundError: /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pytest-of-runner/pytest-0/popen-gw0/test_prep0/mers_spruced.pdb does not exist!
FAILED asapdiscovery-modeling/asapdiscovery/modeling/tests/test_prep_scripts.py::test_mers_prep[subprocess] - Failed: Timeout >300.0s
FAILED asapdiscovery-modeling/asapdiscovery/modeling/tests/test_prep_scripts.py::test_sars_prep[subprocess] - Failed: Timeout >300.0s

Here are the files its looking for
Archive.zip


[mem2reg] merge stackslots to prevent treating redundant stackslots a…

…s new variables

Codecov Report
Base: 74.41% // Head: 74.66% // Increases project coverage by +0.25% :tada:

Coverage data is based on head (2485457) compared to base (f8f67bf).
Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
+ Coverage   74.41%   74.66%   +0.25%
==========================================
  Files          41       41
  Lines        5690     5716      +26
==========================================
+ Hits         4234     4268      +34
+ Misses       1456     1448       -8

Impacted Files
Coverage Δ

src/transforms/mem2reg.rs
99.33% <100.00%> (+0.13%)
:arrow_up:

src/transforms/verify.rs
61.68% <0.00%> (+0.38%)
:arrow_up:

src/ir/instruction.rs
77.65% <0.00%> (+1.71%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


请问jniAbsolutePath应该填什么？

Hi~
请教一个问题
Kadm5 kadm = new Kadm5(jniAbsolutePath,principal,keytab);
创建Kadm5对象时，传入的jniAbsolutePath应该如何填呢？

Hi, sorry but I'll response in English.
jniAbsolutePath is path to jni library. It's libkadm5_jni-x.y.z.so (where x.y.z is version code) file which should be generated while compiling this project.

Thank you for your enthusiastic answer，Now there is another problem, when I compile the project when there are some errors.Because I am not very familiar with the c language, after repeated attempts can not be resolved, if you can give some advice I would be very grateful.The following is the error message.

gradle.property
jvmIncludePath=/opt/jdk1.8.0_101/include
jvmPlatformIncludePath=/opt/jdk1.8.0_101/include/linux
~

It's looks like problem with your mit-krb library version. Can you provide it's version?
I'll also mention @marcmos since he is more involved into this project.

Did you mean krb5-libs.x86_64

The first time I gradle build project,noticing me that
/usr/include/kadm5/admin.h:48:28: error: com_err.h: No such file or directory
I found com_err.h is at /usr/include/et/com_err.h
So I changed admin.h to #include        <et/com_err.h>.The error has gone.
Maybe my krb-lib version is too low?

It's looks like the KADM5_API_VERSION_4 define has showed up in version 1.11 (https://github.com/krb5/krb5/blob/krb5-1.11-final/src/lib/kadm5/admin.h) but I'll recommend using at least version 1.12.1 since this is one I'm using and it's working.

Thank you very much for your suggestion, I have used CentOS 7 compiling the ibkadm5_jni-0.0.4.so file successfully . But my other programs are running in the environment CentOS 6.5. The krb version is 1.10.3. What should I modify if I want to use this program on CentOS 6.5?

Try to change protocol to version 3 (by replacing KADM5_API_VERSION_4 to KADM5_API_VERSION_3). We use rather standard protocol features in this library (principal creation/deletion, password modification) so possible compilation errors should be rather straightforward to fix.

Thank you very much for  the timely reply in these days, I am very touched. After many attempts, I have successfully resolved my current problems, Thanks again.