Linear Color Space

Does the project support the Linear Color Space option, background removal seems to be greatly reduced in quality when switching from Gamma to Linear Color Space?

Maybe you have to add linear-to-gamma conversion to the preprocess compute kernel.

Perfect, thank you. Do you have a quick example of how I could add that. I assume I have to convert the rgb component using a method similar to this, only in the other direction?
http://chilliant.blogspot.com/2012/08/srgb-approximations-for-hlsl.html?m=1

Yes.

Thank you, so I tried adding the above formula to both the Preprocess Compute Shader and the Compositor Compute Shader but there seems to be some issues with it. The closest I have come to getting the same quality of the cutout was if I added the conversion twice in the Compositor. Do you by any chance know exactly where in the flow should I be converting from Gamma to Linear?

Maybe here: https://github.com/keijiro/NNCam/blob/main/Assets/NNCam/Preprocess.compute#L16

After struggling with this one for a while, I found that if you change line 84 of SegmentationFilter.cs to
var segsRT = output.ToRenderTexture(RenderTextureFormat.DefaultHDR, 0, 0, 1.0f / 32, 0.5f);,
the lost data is conserved. The problem was the RenderTexture was losing data outside the 0 and 1 range that the Linear colorspace is not confined to, so the RenderTexture must be HDR. No other changes are necessary.

perfect. Works just as expected. Consider this resolved and maybe should be added to the project


Named arguments don't support named_argument_with_underscores

Hello,
It turns out that the following program panics:
use std::{
    collections::HashMap,
    fmt::{self, Display, Formatter},
};

use rt_format::{FormatArgument, ParsedFormat, Specifier};

struct Variant<'a>(&'a str);

impl<'a> FormatArgument for Variant<'a> {
    fn supports_format(&self, _specifier: &Specifier) -> bool {
        true
    }

    fn fmt_display(&self, f: &mut Formatter) -> fmt::Result {
        self.0.fmt(f)
    }

    fn fmt_debug(&self, _f: &mut fmt::Formatter) -> fmt::Result {
        Err(fmt::Error)
    }

    fn fmt_octal(&self, _f: &mut fmt::Formatter) -> fmt::Result {
        Err(fmt::Error)
    }

    fn fmt_lower_hex(&self, _f: &mut fmt::Formatter) -> fmt::Result {
        Err(fmt::Error)
    }

    fn fmt_upper_hex(&self, _f: &mut fmt::Formatter) -> fmt::Result {
        Err(fmt::Error)
    }

    fn fmt_binary(&self, _f: &mut fmt::Formatter) -> fmt::Result {
        Err(fmt::Error)
    }

    fn fmt_lower_exp(&self, _f: &mut fmt::Formatter) -> fmt::Result {
        Err(fmt::Error)
    }

    fn fmt_upper_exp(&self, _f: &mut fmt::Formatter) -> fmt::Result {
        Err(fmt::Error)
    }
}

fn main() {
    let format = "Hey {user_name}!";

    let mut named = HashMap::new();
    let _ = named.insert("user_name", Variant("Grace Hopper"));

    let args = ParsedFormat::parse(format, &[], &named).unwrap();

    let left = format!("{args}");
    let right = "Hey Grace Hopper!";

    assert_eq!(left, right);
}

I get the following console output:
$ RUST_BACKTRACE=1 cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.00s
     Running `target/debug/tmp-tripuk`
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: 4', src/main.rs:54:57
stack backtrace:
   0: rust_begin_unwind
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/std/src/panicking.rs:498:5
   1: core::panicking::panic_fmt
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/panicking.rs:116:14
   2: core::result::unwrap_failed
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/result.rs:1690:5
   3: core::result::Result<T,E>::unwrap
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/result.rs:1018:23
   4: tmp_tripuk::main
             at ./src/main.rs:54:16
   5: core::ops::function::FnOnce::call_once
             at /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/ops/function.rs:227:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace

It happens at least on version 0.3.0 (commit 165b556).
I'd love to tackle this issue by myself. Can you provide some guidance on how I could fix it?

The problem is in my regular expression in parser.rs. It only recognizes named arguments that start with an alphabetic character followed by zero or more alphanumeric characters. To be in line with what Rust's format macro allows, it should accept named arguments that start with either an XID_Start character or an underscore, followed by zero or more XID_Continue characters.
I already have a commit ready which fixes the parser and adds a unit test for this. I can push that into the repo, or would you prefer to open your own PR for that?

Thank you for your reply and for the clarifications. It's much appreciated!
Feel free to push your commit and close the issue. By the way, can you publish a 0.3.1 release once it's done? :eyes:

Done! Thank you for finding this bug :)


The annotation must end with a new line

syntax_suggest did not work great when there is no new line at the end of the input file.
Input:
def foo
end
end # No newline at end of file

Previous output:
$ ruby test.rb
test.rb: --> test.rb
Unmatched `end', missing keyword (`do', `def`, `if`, etc.) ?
> 1  def foo
> 2  end
> 3  end # No newline at end of filetest.rb:3: syntax error, unexpected `end' (SyntaxError)
end # No newline at end of file
^~~

Note that "test.rb:3: ..." is appended to the last line of the annotation.
This change makes sure that the annotation ends with a new line.
New output:
$ ruby test.rb
test.rb: --> test.rb
Unmatched `end', missing keyword (`do', `def`, `if`, etc.) ?
> 1  def foo
> 2  end
> 3  end # No newline at end of file
test.rb:3: syntax error, unexpected `end' (SyntaxError)
end # No newline at end of file
^~~

Added a test and changelog entry in https://github.com/ruby/syntax_suggest/pull/183. I'll release this as 1.0.4


Private Endpoint and VNet Integration support for multi-tenant App Service

[Enter feedback here]
The table under Multi-tenant App Service networking features shows that for inbound private endpoint is supported but the outbound is left blank. Can i confirmed that vnet integration is also supported for outbound cos I just provision a Standard app service with both private endpoint and vnet integration enabled and i noticed that i cannot select an existing vnet and has to create a new vnet .

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: ae743313-9367-b465-e31a-5beae33018d1
Version Independent ID: c0cd348d-764a-572b-d900-ff0cffe12a31
Content: Networking features - Azure App Service
Content Source: articles/app-service/networking-features.md
Service: app-service
GitHub Login: @madsd
Microsoft Alias: madsd

The table does not represent inbound/outbound "pairs" - it shows the technologies that can be used inbound and outbound and they can be mixed. The reason for the blank cell is that there are one more option inbound than outbound.
Private endpoint and vnet integration can of course be combined.
#please-close


[#157556295] Update the vendored aws-sdk-go to v1.14.4

What?
We need to use a more modern version in the paas-rds-metrics-collector
As that project uses one module from the rds-broker to discover
the RDS instances, they are coupled in the dependencies of
libraries like this.
Updated running:
dep ensure -update github.com/aws/aws-sdk-go
Some minor changes were required in the code.
How to test?

Code review
tests should pass

Who?
Anyone except Mr. Myself

@paroxp you can merge this, my friend


Add purchases_flutter to flutter_apps

Plugin support for this looks straight forward, and it provides more than one option (Google).

https://github.com/RevenueCat/purchases-flutter


⚠ Bofrost.fr has degraded performance

In 7679cba, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 866 ms

Resolved: Bofrost.fr performance has improved in a6b01aa.


Metric / Imperial Converter - Refactor to pass updated tests

@RandellDawson -
Updated this project to pass the new tests as discussed here:
https://github.com/freeCodeCamp/boilerplate-project-metricimpconverter/pull/12
and here:
https://github.com/freeCodeCamp/freeCodeCamp/pull/39615

@moT01 This is fixed again.  If you approve, then we can merge it when the /learn PR changes hit production.


fix a bug

Firstly, as a beginner, thank you very much for your guidance and help in the previous PR.
Here， an error has been changed ,
Conflict between reading magnetic moments from structure and tag MAGMOM, was wrong and not used.

The commit c817ac8 by pre-commit.ci service may indicate that you could run pre-commit before your commit in order to format the code.


Bot doesn't work on multi screen systems

Describe the bug
the bot doesnt work on a system with multiple screeens. it is clicking to the left of the horse cards. ive already tried using the configurator, but it didnt help.
To Reproduce
Steps to reproduce the behavior:

have a system with 2 screens
start the bot.

Log files
out.log

Hi,
so I've actually used this program with a multi-screen screen setup (using one myself, too, woah) and it works just fine. So in order to solve this issue, I would need some more information:

It seems like your screens are not the same resolution, judging by the combined resolution of 3200 by 1088 pixels. The 1088 seems off, but the 3200 pixels are definitely not a multiple of 1920. So what resolutions are your monitors?
On which monitor have you tried running the game on?
Will the program actually press any other buttons (e.g. start the race when you manually select a horse)?
What happens when you disable one screen in the (windows) settings and run it again?
Are you running the game in windowed, borderless or fullscreen mode?
At 14:25:10 in the log, you start the game, but the program reports the game's x-coordinate was 33696 pixels (which makes no sense), with a height and width of 0. Was the game minimized at this point?
At 15:12:40, the betting is again started, the game's x and y-coordinates were 0, the resolution was 1920x1080. I'm assuming at this point you were running the game on your primary screen in fullscreen mode and max resolution. Is that correct?
Are your screens running on their max resolution?
Are you running any software for your mouse? These can actually cause severe problems.

Okay, once you've answered these questions, we can hopefully solve this issue.
Have a good one.

one is 1920x1080 and one is 1280x1024
on the 1080 one.
no. it keeps clicking left to the horses
i tried unpugging one of my monitors and then it worked.
i tried running in fullscreen and in borderless mode
do i need to start the bot before the game? if yes, i didnt know that.
i tried fullscreen. so the game was minimized when i tabbed out to press the start button.
yes.
yes,
i use a logitech mouse with the logitech gaming software.
thanks for the quick response :)

Interesting. Maybe.
So I am currently not able to start the game (probably rockstar's servers down), but I do know in fact someone with a similar configuration. And I also know that the program works just fine on their end.
And since some mouse software can cause problems with programs moving your mouse (someone told me this, he was using roccat software), like this one, try uninstalling/disabling the logitech software and see if the problem is solved.
If this does not help, I would ask you to use the --debug:full command-line option and send me some of the images saved on your desktop in a zip file. Just so I am able to see, if the game size detection and scaling works.


[BUG] Developer build with local modifications fails during verify phase

Describe the bug
When performing a mvn verify build as a developer, the build will fail if there are any checkouts.  This check was added by #1809 but should only happen on precommit builds, not developer builds.  This behavior should be controlled via a Maven profile that is not enabled by default.
Steps/Code to reproduce bug
Make some changes and try to build with mvn verify
Expected behavior
Developer builds succeed despite checkedout files which are common in developer environments.

sounds reasonable, let me add a profile for it

Closed by #1820


getVcc, low power mode, SMS text mode

get Vcc (milivolts) directly from SIM900 or SIM800L
sleep and wake functions for very low power consumption
checkPowerUp rewritten to work also with SIM800L or other boards
SMS text mode in init function to solve same issues
NOTE: I have deleted the hardware serial support as it is only for ATMEGA and only for special pins (special hardware serial port). We need to rewrite to work with other ATMEL IC's and ports.

@ortegafernando Thanks for pull so many fixed code, they will be merged into the master branch.


Add program to find quotient and reminder, calculate power of a number.

Issue:
#201 - Java Basics Programs
Description
Add Java Program to :

Find Quotient and reminder
Calculate power of a number

And update the program navigation, respectively.

📝 Changed routes:

…late-power-of-a-number
…-quotient-and-reminder

(view full size)
(view full size)

Commit 3d4be27d68d884e7696441ccedee7b2f6ed3ea9e (https://javaistic-pkg3drx7k-javaistic.vercel.app).


More details found in the README. Issues 157 (List index out of range), and 158.

tysm! <3
i'll invite you to the org


how to fix this

C:\Users\ROG>fc2-live-dl https://live.fc2.com/87864958/
2022-07-23 15:37:48 [main] fc2-live-dl v2.1.1
2022-07-23 15:37:48 [fc2 87864958] Fetching stream info
2022-07-23 15:37:50 [fc2 87864958] Found websocket url
2022-07-23 15:37:52 [fc2 87864958] Requested quality ('3Mbps', 'mid') is not available, waiting (1/15s)
2022-07-23 15:37:53 [fc2 87864958] Requested quality ('3Mbps', 'mid') is not available, waiting (2/15s)
2022-07-23 15:37:54 [fc2 87864958] Requested quality ('3Mbps', 'mid') is not available, waiting (3/15s)
2022-07-23 15:37:55 [fc2 87864958] Requested quality ('3Mbps', 'mid') is not available, waiting (4/15s)
2022-07-23 15:37:57 [fc2 87864958] Requested quality ('3Mbps', 'mid') is not available, waiting (6/15s)
2022-07-23 15:37:58 [fc2 87864958] Requested quality ('3Mbps', 'mid') is not available, waiting (7/15s)
2022-07-23 15:37:59 [fc2 87864958] Requested quality ('3Mbps', 'mid') is not available, waiting (8/15s)
2022-07-23 15:38:00 [fc2 87864958] Requested quality ('3Mbps', 'mid') is not available, waiting (10/15s)
2022-07-23 15:38:02 [fc2 87864958] Requested quality ('3Mbps', 'mid') is not available, waiting (11/15s)
2022-07-23 15:38:03 [fc2 87864958] Requested quality ('3Mbps', 'mid') is not available, waiting (12/15s)
2022-07-23 15:38:04 [fc2 87864958] Requested quality ('3Mbps', 'mid') is not available, waiting (13/15s)
2022-07-23 15:38:06 [fc2 87864958] Requested quality ('3Mbps', 'mid') is not available, waiting (15/15s)
2022-07-23 15:38:07 [fc2 87864958] Timeout reached, falling back to next best quality ('1.2Mbps', 'mid')
2022-07-23 15:38:07 [fc2 87864958] Received HLS info
2022-07-23 15:38:07 [fc2 87864958] Writing stream to 2022-07-23 【ドキドキ!!人生２回目の…】牛タンちゃん22歳ち●ぽを夢中で求め続けた絶対に誰にも言えない夕方 (牛タンちゃん(色白すべすべむっつり)).ts
2022-07-23 15:45:17 [fc2 87864958] Server disconnected: 4101 (Paid program)
2022-07-23 15:45:17 [fc2 87864958] Remuxing stream to 2022-07-23 【ドキドキ!!人生２回目の…】牛タンちゃん22歳ち●ぽを夢中で求め続けた絶対に誰にも言えない夕方 (牛タンちゃん(色白すべすべむっ つり)).mp4
2022-07-23 15:45:17 [main] FileNotFoundError(2, 'The system cannot find the file specified', None, 2, None) [WinError 2] The system cannot find the file specified
Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000021F5333B5B0>
Traceback (most recent call last):
  File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 116, in __del__
    self.close()
  File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 108, in close
    self._loop.call_soon(self._call_connection_lost, None)
  File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 750, in call_soon
    self._check_closed()
  File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 515, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000021F5333B5B0>
Traceback (most recent call last):
  File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 116, in __del__
    self.close()
  File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 108, in close
    self._loop.call_soon(self._call_connection_lost, None)
  File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 750, in call_soon
    self._check_closed()
  File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 515, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Exception ignored in: <function _ProactorBasePipeTransport.__del__ at 0x0000021F5333B5B0>
Traceback (most recent call last):
  File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 116, in __del__
    self.close()
  File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 108, in close
    self._loop.call_soon(self._call_connection_lost, None)
  File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 750, in call_soon
    self._check_closed()
  File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 515, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

Hi, make sure you have ffmpeg installed on your system. You can check by running ffmpeg -version in your terminal.
If not you can check this guide.

This time i already have ffmpeg installed in my system
C:\Users\ROG>fc2-live-dl https://live.fc2.com/40495362/
2022-07-26 12:49:46 [main] fc2-live-dl v2.1.1
2022-07-26 12:49:46 [fc2 40495362] Fetching stream info
2022-07-26 12:49:48 [fc2 40495362] Found websocket url
2022-07-26 12:49:49 [fc2 40495362] Requested quality ('3Mbps', 'mid') is not available, waiting (0/15s)
2022-07-26 12:49:51 [fc2 40495362] Requested quality ('3Mbps', 'mid') is not available, waiting (2/15s)
2022-07-26 12:49:52 [fc2 40495362] Requested quality ('3Mbps', 'mid') is not available, waiting (3/15s)
2022-07-26 12:49:53 [fc2 40495362] Requested quality ('3Mbps', 'mid') is not available, waiting (4/15s)
2022-07-26 12:49:54 [fc2 40495362] Requested quality ('3Mbps', 'mid') is not available, waiting (5/15s)
2022-07-26 12:49:55 [fc2 40495362] Requested quality ('3Mbps', 'mid') is not available, waiting (7/15s)
2022-07-26 12:49:57 [fc2 40495362] Requested quality ('3Mbps', 'mid') is not available, waiting (8/15s)
2022-07-26 12:49:58 [fc2 40495362] Requested quality ('3Mbps', 'mid') is not available, waiting (9/15s)
2022-07-26 12:49:59 [fc2 40495362] Requested quality ('3Mbps', 'mid') is not available, waiting (10/15s)
2022-07-26 12:50:00 [fc2 40495362] Requested quality ('3Mbps', 'mid') is not available, waiting (11/15s)
2022-07-26 12:50:02 [fc2 40495362] Requested quality ('3Mbps', 'mid') is not available, waiting (13/15s)
2022-07-26 12:50:03 [fc2 40495362] Requested quality ('3Mbps', 'mid') is not available, waiting (14/15s)
2022-07-26 12:50:04 [fc2 40495362] Requested quality ('3Mbps', 'mid') is not available, waiting (15/15s)
2022-07-26 12:50:05 [fc2 40495362] Timeout reached, falling back to next best quality ('2Mbps', 'mid')
2022-07-26 12:50:05 [fc2 40495362] Received HLS info
2022-07-26 12:50:05 [fc2 40495362] Writing stream to 2022-07-26 ♡生配信 (あい♡).ts
2022-07-26 13:09:20 [fc2 40495362] Server disconnected: 4101 (Paid program)
2022-07-26 13:09:20 [fc2 40495362] Remuxing stream to 2022-07-26 ♡生配信 (あい♡).mp4
2022-07-26 13:09:23 [fc2 40495362] Removing intermediate files
2022-07-26 13:09:23 [fc2 40495362] Done
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x000001F8438AB5B0>
Traceback (most recent call last):
File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 116, in del
self.close()
File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 108, in close
self._loop.call_soon(self._call_connection_lost, None)
File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 750, in call_soon
self._check_closed()
File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 515, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x000001F8438AB5B0>
Traceback (most recent call last):
File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 116, in del
self.close()
File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\proactor_events.py", line 108, in close
self._loop.call_soon(self._call_connection_lost, None)
File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 750, in call_soon
self._check_closed()
File "C:\Users\ROG\AppData\Local\Programs\Python\Python310\lib\asyncio\base_events.py", line 515, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

Looks like it's finished recording successfully, it just crashes when exiting. Related: https://github.com/aio-libs/aiohttp/issues/4324.
Can you try running this version and see if the error still happens?

Download this zip
Extract it somewhere, open your Command Prompt / Powershell in that folder
Run python -m fc2_live_dl https://...

Thanks for the help, it's working now
C:\Users\ROG\Documents\fc2-live-dl-fix-aiohttp-windows>python -m fc2_live_dl https://live.fc2.com/24116510/
2022-07-27 09:31:40 [main] fc2-live-dl v2.1.1
2022-07-27 09:31:40 [fc2 24116510] Fetching stream info
2022-07-27 09:31:42 [fc2 24116510] Found websocket url
2022-07-27 09:31:43 [fc2 24116510] Received HLS info
2022-07-27 09:31:43 [fc2 24116510] Writing stream to 2022-07-27 ナニしちゃおっかな(・ω・) (くるみ୨୧生配信).ts
2022-07-27 09:32:54 [fc2 24116510] Server disconnected: 4101 (Paid program)
2022-07-27 09:32:54 [fc2 24116510] Remuxing stream to 2022-07-27 ナニしちゃおっかな(・ω・) (くるみ୨୧生配信).mp4
2022-07-27 09:32:55 [fc2 24116510] Removing intermediate files
2022-07-27 09:32:55 [fc2 24116510] Done

Good to hear!


Insufficient contrast on borders

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
WCAG 2.1 requires a contrast of 3:1 for non-text content. Many elements, e.g. form inputs or checkboxes, mostly consist of borders, at least in some of their states. It is therefore important that the border color has sufficient contrast to the background.
#888888 would have sufficient contrast to white. Bootstrap 5.2 uses #ced4da, which only has a contrast of 1.49 to white. Bootstrap 5.3 takes this even further by using #dee2e6 which only has a contrast of 1.3 to white.
I do not have any vision impairments that I know of, but to me these borders are practically invisible (depending on the lighting conditions). I strongly recommend to revert at least to the level of Bootstrap 5.2.
Bootstrap 5.3 introduces variables for the border color, so a workaround would be to set --bs-border-color: #888888.
Reduced test cases

What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Firefox
What version of Bootstrap are you using?
5.3.0-alpha3

is the issue still open ? if so I would very much like to contribute to it?

Hello,
Thank you @xi for opening this issue. I also think it is relevant to consider the contrast ratio for the border colors. I used Adobe Color tool (https://color.adobe.com/create/color-contrast-analyzer) for double-checking the contrast. As you mentioned a 1.3:1 to white is not recommended. The lightest color to achieve a ratio of 3.01 : 1 that was suggested by the same tool would be #929598. But I am not sure about which colors we are allowed to use in Bootstrap in case we change the color. Even if we do so, will this mean that we need to update the colors of other elements?

Reacting to https://github.com/twbs/bootstrap/pull/38489#issuecomment-1518506999:

Let's keep the PRs at bay for now and discuss any potential changes in the issue. I could see us darkening things a little, but this is too much

I think this regression happened in fc3f4b67:

$input-border-color was changed from $gray-400 to var(--border-color) which defaults to $gray-300
the color in $form-check-input-border was changed from rgba($black, .25) also to var(--#{$prefix}border-color)

I see two options to fix this:

Add a new CSS variable --input-border-color and set it to $gray-400
Change --border-color to $gray-400

@mdo which option do you prefer?
Btw, I also checked the contrast for dark mode (#495057 on #212529) and it fares much better: 1.88 is still too low, but much better than the contrasts in light mode.

Hello @xi
Thank you for mentioning that the colors changed from Bootstrap 5.2 to 5.3 resulting in a non-recommended contrast ratio.
But I think it is relevant to check why the colors were changed in the first place so we know if changing color is allowed, and the side effects of such a decision. Do you have any input about that?

Please a fix for this, as the checkboxes are now almost not visible in light mode

Please,  a quick fix is needed. Light mode is almost unusable!


Add lifetime to RucioContainers shipping to disk sites

Add a new lifetime parameter for each RucioContainer rule that is subscribed to disk site
Fixes #10746
Status
Tested with a replay
Description
For a given dataset (Rucio Container rule) processed by Tier0 and shipping to disk sites, add a new attribute of lifetime to the rucio container rule only if its subscribed at Disk sites
Is it backward compatible (if not, which system it affects?)
MAYBE
Related PRs
First discussed in #10747
External dependencies / deployment changes
No

@jhonatanamado Jhonatan, can you please link the relevant T0 changes to this PR? This will allow us to see all the required changes to have this feature fully functional.
This unit test:
WMCore_t.WMSpec_t.StdSpecs_t.StepChain_t.StepChainTests:testSubscriptions changed from success to failure
need to be looked at as well.

Hi @amaltaro, Sorry, indeed I forgot to add the relevant changes to the T0 code. Please check the following https://github.com/dmwm/T0/pull/4642
About the unit test, I will look at it asap

Hi @amaltaro , Alan, the changes were tested with a replay without issues. Let me know if you have other suggestion.

@jhonatanamado @germanfgv could you please clarify whether this issue is supposed to fix https://github.com/dmwm/WMCore/issues/10558 as well? Or is #10558 actually requesting some additional rucio rule parameters?

Hi @amaltaro ,I did not remember that issue because I installed a cronjob to clean those 'block-level' rules but indeed, with some minor modifications in WMAgentConfig.py , adding that parameter in this function  and applying that parameter to only the account tier0_replay, I believe that with the changes in this PR we could solve that issue too.
Do you like to see those modifications included in this PR or in a different PR?

@jhonatanamado oh, I thought it was the same request. If it's slightly different, then I think working on that in a different PR will be the best.

Great, thanks for the tag @amaltaro. I will do it and give to you a feedback on how it goes.


Scatter chart

Was Scatter chart removed some where in between releases, yeah? Is there a reason for that/is it coming back?


[FR]: Align column content vertically (Top, middle, bottom)

Contact Details
<EMAIL_ADDRESS>Present your request
As mentioned previously on this ticket, https://github.com/RafaelGB/obsidian-db-folder/issues/378, if it would be possible to align column content vertically to the top , middle or bottom. (Just like in excel).
This is not a priority at all, just because at this moment sems some content is aligned at middle while other content is alight vertically to the top (like "created" and "modified" columns).
thank you!
For which platform do you request this request??
Cross

Maybe there is too much config with the current architecture. I will consider it for sure =)

ready for the next release =)

Commit 1b56a4fd


Event Request] Codeunit 99000773 "Calculate Prod. Order" – New Event “OnBeforeAssignLeadTime”

Could we please have a new publisher “OnBeforeAssignLeadTime” in Function “CalculateRouting”, Codeunit 99000773 "Calculate Prod. Order"?

    local procedure CalculateRouting(Direction: Option Forward,Backward; LetDueDateDecrease: Boolean)
    var
        ProdOrderRoutingLine: Record "Prod. Order Routing Line";
        LeadTime: Code[20];
    begin
        if ProdOrderRouteMgt.NeedsCalculation(
             ProdOrderLine.Status,
             ProdOrderLine."Prod. Order No.",
             ProdOrderLine."Routing Reference No.",
             ProdOrderLine."Routing No.")
        then
            ProdOrderRouteMgt.Calculate(ProdOrderLine);

        if Direction = Direction::Forward then
            ProdOrderRoutingLine.SetCurrentKey(Status, "Prod. Order No.", "Routing Reference No.", "Routing No.",
              "Sequence No. (Forward)")
        else
            ProdOrderRoutingLine.SetCurrentKey(Status, "Prod. Order No.", "Routing Reference No.", "Routing No.",
              "Sequence No. (Backward)");

        ProdOrderRoutingLine.SetRange(Status, ProdOrderLine.Status);
        ProdOrderRoutingLine.SetRange("Prod. Order No.", ProdOrderLine."Prod. Order No.");
        ProdOrderRoutingLine.SetRange("Routing Reference No.", ProdOrderLine."Routing Reference No.");
        ProdOrderRoutingLine.SetRange("Routing No.", ProdOrderLine."Routing No.");
        ProdOrderRoutingLine.SetFilter("Routing Status", '<>%1', ProdOrderRoutingLine."Routing Status"::Finished);
        if not ProdOrderRoutingLine.FindFirst then begin
*** Start new code ***
            OnBeforeAssignLeadTime(ProdOrderLine);
*** Stop new code ***
            LeadTime :=
              LeadTimeMgt.ManufacturingLeadTime(

*** Start new code ***
    [IntegrationEvent(false, false)]
    local procedure OnBeforeAssignLeadTime(var ProdOrderLine: Record "Prod. Order Line")
    begin
    end;
*** Stop new code ***

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. We will update this issue with information about availability.


fix a memory leak

Memory usage of improviz would increase linearly over
time until crash from memory exhaustion.
deepseq is a bit of a sledgehammer,
probably a more precise intervention is possible.
The key change is the ... $! force newGe
which makes the data in the TVar be stored strictly.
Otherwise (conjecture) the data refers to previous
copies of the data structures, etc, which leaks
space because the whole data structure must be
retained.

@claudeha you are a total wizard haha. just looking at this now and running my own very basic tests, and it's working beautifully. missing the deepseq dependency for the tests but I'll add that separately and just merge this now.
many thanks, this is really appreciated

I think this was a case of
https://wiki.haskell.org/Memory_leak#Keeping_not_needed_references_alive
What I did was first run with the basic profiling support when built
with stack without special options:
stack exec --rts-options -hT improviz
and converted output improviz.hp heap profile to svg with:
hp2pretty improviz.hp
(you can also use hp2ps which comes with ghc) which shows which
constructors/types take up memory.   This hinted at
Gfx.Engine.SavableState being part of the problem.
To get more information, I rebuilt with profiling:
stack build --profile --executable-profiling --library-profiling
    stack exec --profile --rts-options -h improviz
    hp2pretty improviz.hp
and that showed where in the code the memory was coming from, mainly
popScope and pushScope and matrix stack stuff.
The code I was running inside improviz had a couple of nested loops
which I guess might have magnified any leak from push/pop.
Linear memory increase over time when doing animation typically
indicates previous frame data not being freed, which can happen if you
refer to part of a structure lazily (retaining the whole thing) instead
of making a copy of only the part you need.  One solution is to force
the data structure with deepseq package, it's a bit heavyweight
because it traverses the whole structure each time instead of just the
parts that are needed.  This in conjunction with $! when writing to
the variable to ensure the forcing actually happens promptly.

aahh, amazing! was planning to email you to ask for some info on how you did the profiling. this is gold, thankyou.
I was doing some testing today, and one of the things I realised after having had it running for half an hour was my laptop fan hadn't kicked in yet hahaha


Compile fails (TS2742)

On the declaration of the flags for the command, now TS is complaining about it, for some reason:
src/commands/apextests/list.ts:29:26 - error TS2742: The inferred type of 'flags' cannot be named without a reference to '@salesforce/sf-plugins-core/node_modules/@oclif/core/interfaces'. This is likely not portable. A type annotation is necessary.

These issues tend to happen during dependency upgrades, which is why dependabot is nice so that it will open MRs for you and run your unit/nut tests for you to catch these before merge.
I was able to replicate this locally after upgrading the package.json to match your branch.
Usually this happens if you upgrade packages from one Major version to another. This happened to me recently when I was upgrading my packages to the latest version, which was a new Major release (v1.x.x to v2.x.x).
But this one looks weird since it just went from "@salesforce/sf-plugins-core" 11.3.9 to 11.3.10.
Looking more into this.

I was able to "fix" the issue by reverting the typescript dependency to "typescript": "^5.5.4",
I'm not sure why that fixes it, but I was having issues with my other plugin with a newer typescript version, so I'd need to look into the change log.

Doing that seems to work to fix tests locally, but then when using yarn prepack, the error still happens! Really weird!

Had some other issues with Yarn and the local install but damn I think I solved it now. lol


ImportError: cannot import name 'c_einsum'

I updated tensorflow from 1.1.0 to 1.3.0 using the wheel file: tensorflow-1.3.0-cp35-cp35m-win_amd64.whl and in the line:
import tensorflow as tf
I got the following error:
from numpy.core.multiarray import c_einsum
ImportError: cannot import name 'c_einsum'

Any help?

Do you have the full stack trace? What's the numpy version?

hi drpngx,
i have fixed this issue by updating numpy to version 1.13.1.
thank you for a good question?
-ernest


[OTHER] Remove Unused Dropdown button from the jobs event

What would you like to share?
I suggest that the dropdown button on the jobs page is unnecessary. it does not do any work.
Screenshot/video

Additional information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I can fix this and the PR is ready to assign this to me.

I can fix this and the PR is ready to assign this to me.

Great, I am assigning this issue to you.


CB-10929 added OXS filter button to plugin search and removed fire os…

CB-10929 added OXS filter button to plugin search and removed fire os filter button

With 10.12, Apple rebranded their desktop OS to macOS. Maybe we want to say OSX / macOS?

Sure! I can do that… that makes sense. Thanks for pointing that out.
From: Darryl Pogue<EMAIL_ADDRESS>Reply-To: apache/cordova-docs<EMAIL_ADDRESS>Date: Monday, September 26, 2016 at 4:46 PM
To: apache/cordova-docs<EMAIL_ADDRESS>Cc: auso<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [apache/cordova-docs] CB-10929 added OXS filter button to plugin search and removed fire os… (#642)
With 10.12, Apple rebranded their desktop OS to macOS. Maybe we want to say OSX / macOS?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/apache/cordova-docs/pull/642#issuecomment-249729675, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVTDiKLg8I7O2lODY_MiXjQfd4irv4aZks5quFlZgaJpZM4KHHE4.

Send a new pr. I already closed this one :)


net: gptp: Experimental Grand Master support

So far, the gPTP support in Zephyr only covered the Slave side. Zephyr could synchronize its clock to other devices but there was no way to for example sync clocks between two devices running Zephyr. This PR adds that possibility.
It is marked as experimental because the whole gPTP support still is.
What is added is basically what one of the commits says: GMCAP-1, GMCAP-2, and GMCAP-3  from 802.1AS-2011 are either implemented from scratch or finished. Additionally there are some commits with bug-fixes that were found along the way and are needed for the Grand Master role to work.
Fully working test setup, on which the GM support was tested:
SAM e70 Xplained <-> regular Ethernet switch <-> SAM e70 Xplained
The switch in between is useful to be able to also connect a third party host to it for sniffing (e.g. with ptpTrackHound), but it also makes the connections and bring up much easier, because sam gmac does not yet support link re-negotiation (it only negotiates link during boot), so it makes sense to have a device that is always on on the other side.
Some notes and known limitations:

The correction field is always set to 0 in the Sync Follow Up packets - this mimics the behavior of OpenAvnu (a Linux gPTP client). There is a TODO left in the code which indicates that the filed should be properly calculated in order be fully compliant.
OpenAvnu accepts Zephyr as GM but refuses to sync its clock - this could also be the case with some other gPTP-enabled devices.
The clock accuracy can be chosen through KConfig - generally the chosen setting should reflect the capabilities of the HW, but this option is also useful for testing, as the device with the best accuracy is chosen as GM
There is a gptp_clock_source_time_invoke callback added. According to the standard it should be called every time the clock updates its value but an ON_DEMAND functionality was added to probe the clock from current master when it is actually needed, as it doesn't always make sense to update it continuously in the ptp clock driver.

Codecov Report

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

@@            Coverage Diff            @@
##             master   #10126   +/-   ##
=========================================
  Coverage          ?    52.5%
=========================================
  Files             ?      213
  Lines             ?    26140
  Branches          ?     5634
=========================================
  Hits              ?    13726
  Misses            ?    10159
  Partials          ?     2255

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 461a9de...3ed75d6. Read the comment docs.

I did experiments on stm32f407, and the time error of master and slave was 4ms. I checked the debug log, and slave always set the time ,this  because of the error of GPTP or my code error？

What kind of hw setup you have? I am asking because the current upstream stm32 ethernet driver does not have gPTP support.

I add some gptp support on stm32 ethernet driver, but when i run zhe gptp,error time of master and slave is 4 ms, i don't know
it because I added drivers, or gptp have bug，and I'm using the latest code on GitHub that supports master

I add some gptp support on stm32 ethernet driver, but when i run zhe gptp,error time of master and slave is 4 ms, i don't know
it because I added drivers, or gptp have bug，and I'm using the latest code on GitHub that supports master

It is difficult to say where is the problem in this case as you have out-of-tree driver updates. Would you be able to send your stm32 eth driver changes to upstream for a review?

You can submit a PR that has your changes to the stm32 eth driver. After that people are able to review your code and eventually the PR can be merged to upstream.


Update prefix to tf_prefix for UR xacro

Update the moveit launchfile in line with the UR xacro argument name change in https://github.com/UniversalRobots/Universal_Robots_ROS2_Description/pull/57.

First of all, thank you for the input! I am currently in the progress of finishing a tutorial about integrating a UR into your own model in https://github.com/UniversalRobots/Universal_Robots_ROS_Tutorials/pull/12 and I am making some changes to this repo on the way in https://github.com/fmauch/Universal_Robots_ROS2_Driver/tree/playground_rsp_launch. This change will definitively be important in that context but I might like to change it even further, since we are re-organizing the launch-interface for Jazzy anyway. I'll come back to this.

The prefix was removed from the moveit setup in #998. Thus, this PR becomes obsolete. We re-use the description provided by the robot_state_publisher and don't load an individual description into the move_group anymore.


Feature/ddt-110: Error format

Note: Global exception handler has been added as part of PR #113,  the error format structure will have to be applied to this handler.


[BUG]: Cannot Save Dataset from Data Transform (does not appear in my list of saved datasets)

I need to be able to use the data transform operator to save a dataset I create. When I use the data transform operator and calculate average hospitalizations, I can save this as a new dataset. However, this new dataset does not appear in my list of saved datasets.
https://github.com/user-attachments/assets/36a3b385-cee3-48dc-ae80-43921a684467

Saw this error in the beaker logs, looks like we should check if "description" exist
KeyError: 'description'
Uncaught exception in ZMQStream callback
Traceback (most recent call last):
  File "/home/jupyter/.local/lib/python3.10/site-packages/zmq/eventloop/zmqstream.py", line 575, in _log_error
    f.result()
  File "/home/jupyter/.local/lib/python3.10/site-packages/beaker_kernel/lib/jupyter_kernel_proxy.py", line 253, in handler
    new_data = await callback(self, other_stream, data)
  File "/home/jupyter/.local/lib/python3.10/site-packages/beaker_kernel/lib/utils.py", line 103, in wrapper
    result = await fn(self, ctx.message)
  File "/home/jupyter/.local/lib/python3.10/site-packages/askem_beaker/contexts/dataset/context.py", line 237, in save_dataset_request
    new_dataset["description"] += f"\\nTransformed from dataset '{parent_dataset['name']}' ({parent_dataset['id']}) at {datetime.datetime.utcnow().strftime('%c %Z')}"
KeyError: 'description'
Uncaught exception in ZMQStream callback
Traceback (most recent call last):
  File "/home/jupyter/.local/lib/python3.10/site-packages/zmq/eventloop/zmqstream.py", line 575, in _log_error
    f.result()
  File "/home/jupyter/.local/lib/python3.10/site-packages/beaker_kernel/lib/jupyter_kernel_proxy.py", line 253, in handler
    new_data = await callback(self, other_stream, data)
  File "/home/jupyter/.local/lib/python3.10/site-packages/beaker_kernel/lib/utils.py", line 103, in wrapper
    result = await fn(self, ctx.message)
  File "/home/jupyter/.local/lib/python3.10/site-packages/askem_beaker/contexts/dataset/context.py", line 237, in save_dataset_request
    new_dataset["description"] += f"\\nTransformed from dataset '{parent_dataset['name']}' ({parent_dataset['id']}) at {datetime.datetime.utcnow().strftime('%c %Z')}"
KeyError: 'description'


Add methods to Timestampable interface

Timestampable extension has an interface called Timestampable that contains some annotation blocks (they're more doc block, really) and nothing else. I find really useful to be able to know that a given class is a Timestampable entity, but I don't understand why there are no methods defined in the interface. An interface should defines methods that all classes implementing it defines, there is no point imho to have this interface empty. My suggestion is to add the getCreatedAt, setCreatedAt, getUpdatedAt and setUpdatedAt methods to the Timestampable interface. This would probably introduce BC break, so to avoid it we could create a new TimestampableInterface (that follows the Symfony coding conventions by adding the Interface suffix and then make it extending the old interface. In this way, we don't introduce any new BC break and we can remove the base interface in a new major version. What do you think about it? As it's a really simple task to do, I would like to create a PR if you agree on my considerations

Hi, I cannot agree with that. The interface was used for identification reasons at some point as you mentioned. now you can use traits. there won't be BC breaks for such reasons, use traits which implement interfaces you like. People have different kinds of field names for timestamps.

The interface was used for identification reasons at some point as you mentioned. now you can use traits

I honestly don't understand this. Traits are not interfaces and they don't serve the same purpose. Plus, your trait already lock people to use a given property name and getter/setter methods, so why would an interface defining the contract be bad? If someone still wants the old behaviour, he just have to inherit the old interface. If he wants the new interface, he just have to extend the new one and he can still identify an entity by the old interface that is just inherited by the new one

there won't be BC breaks for such reasons, use traits which implement interfaces you like

the proposed solution would not break BC, because the new interface would have extended the old and not vice-versa.

You can make your own traits, you do not need to use library trait, same as interface. Library does not force you on this.. timestampable depends only on metadata, everything else is your concern and it will stay that way, cheers

interfaces will probably be removed


🚀 Feature: Leaderboard for contribution score

🔖 Feature description

add a leaderboard Page by the basis of contribution score.

🎤 Why is this feature needed ?
For more engagement
✌ How do you aim to achieve this?
A new Page and fetching routes
🔄 Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?

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

Are you willing to submit PR?
Yes I am willing to submit a PR!

Good idea


Add recover option to ocs saver packager lambda to allow recovery of failed events

Asana Ticket: 🏦 Clean up after processor timeout issue
Wanted to get some code up for a second set of eyes. The idea here is similar to manually re-packaging a specific date but with an additional recover param passed in will also re-parse the failed events from that set of events as well before the attempted re-packaging. Mentioned here: https://github.com/mbta/ocs_saver#manually-run-the-packager

[ ] extract duplicate code into helper modules to use within packages or processor.
[ ] write out documentation for how to recover a specific date.
[ ] write tests.

Is there any documentation I could look at about the format of the failed files?


"ng e2e --prod" fails

Versions
Angular CLI: 6.0.3                                                                                │
Node: 10.0.0                                                                                │
OS: linux x64                                                                                │
Angular: 6.0.2                                                                                │
... animations, common, compiler, compiler-cli, core, forms                                                                                │
... http, language-service, platform-browser                                                                                │
... platform-browser-dynamic, router                                                                                │
                                                                                │
Package                           Version                                                                                │
-----------------------------------------------------------                                                                                │
@angular-devkit/architect         0.6.3                                                                                │
@angular-devkit/build-angular     0.6.3                                                                                │
@angular-devkit/build-optimizer   0.6.3                                                                                │
@angular-devkit/core              0.6.3                                                                                │
@angular-devkit/schematics        0.6.3                                                                                │
@angular/cli                      6.0.3                                                                                │
@ngtools/webpack                  6.0.3                                                                                │
@schematics/angular               0.6.3                                                                                │
@schematics/update                0.6.3                                                                                │
rxjs                              6.1.0                                                                                │
typescript                        2.7.2                                                                                │
webpack                           4.8.3                                                                                │

Repro steps

Step 1: create a new app with ng new its-a-test-app
Step 2 run e2e tests normally with ng e2e
Step 3 run e2e tests against production configuration ng e2e --prod

Observed behavior
Configuration 'production' could not be found in project 'its-a-test-e2e'.
Error: Configuration 'production' could not be found in project 'its-a-test-e2e'.
    at Architect.getBuilderConfiguration (/tmp/its-a-test/node_modules/@angular-devkit/architect/src/architect.js:102:23)
    at MergeMapSubscriber._loadWorkspaceAndArchitect.pipe.operators_1.concatMap [as project] (/tmp/its-a-test/node_modules/@angular/cli/models/architect-command.js:64:55)
    at MergeMapSubscriber._tryNext (/tmp/its-a-test/node_modules/rxjs/internal/operators/mergeMap.js:122:27)
    at MergeMapSubscriber._next (/tmp/its-a-test/node_modules/rxjs/internal/operators/mergeMap.js:112:18)
    at MergeMapSubscriber.Subscriber.next (/tmp/its-a-test/node_modules/rxjs/internal/Subscriber.js:103:18)
    at TapSubscriber._next (/tmp/its-a-test/node_modules/rxjs/internal/operators/tap.js:109:26)
    at TapSubscriber.Subscriber.next (/tmp/its-a-test/node_modules/rxjs/internal/Subscriber.js:103:18)
    at MergeMapSubscriber.notifyNext (/tmp/its-a-test/node_modules/rxjs/internal/operators/mergeMap.js:141:26)
    at InnerSubscriber._next (/tmp/its-a-test/node_modules/rxjs/internal/InnerSubscriber.js:30:21)
    at InnerSubscriber.Subscriber.next (/tmp/its-a-test/node_modules/rxjs/internal/Subscriber.js:103:18)

Desired behavior

ng e2e --prod --aot should run the e2e tests against the production, AOT-compiled build of the application. I had an issue solely on production/AOT, so I would like to test against this configuration.

You can add a configuration for e2e that runs against the production dev server:
"project-name-e2e": {
  "root": "e2e/",
  "projectType": "application",
  "architect": {
    "e2e": {
      "builder": "@angular-devkit/build-angular:protractor",
      "options": {
        "protractorConfig": "e2e/protractor.conf.js",
        "devServerTarget": "project-name:serve"
      },
      "configurations": {
        "production": {
          "devServerTarget": "project-name:build:production"
        }
      }
    },

This question has come up a couple of times so far though. I'll add it to the default schematics.

thanks @filipesilva ! just a note, i had to change "devServerTarget": "project-name:build:production" to "devServerTarget": "project-name:serve:production" (build -> serve).


[WIP] Update README

I think we need to put a menu to have a quick access to the different blocks
Also I really think the build from source shouldn't be directly in the readme, the readme should be oriented for users, I create a wiki, we can just in the contribution part give a link to the wiki https://github.com/mesg-foundation/core/wiki that should be enough otherwise it might confuse users
Also for the part about issues and contribution this is the same, an issue is already a contribution so we should only have one block contribution and we should use the process that everyone knows about, if there is an issue just check if it's not already in github and otherwise post an issue with the right flags but let's not redirect them to discord for this, it's not really effective, discord is a chat and what we will tell them anyway is to go to create an issue on github... I agree on the part to remind them that they have to check the documentation make sure it's not from them and otherwise the directly create an issue and even if it's from their understanding but still something doesn't work it means we need to have better documentations or examples to be clearer so an issue will be valid

@w1l1ams I just commit my modification. Could you read and fix any english mistakes please?

@antho1404 The js lib is mesg-js and not mesg?
https://www.npmjs.com/package/mesg-js
It was mesg in the example. Just to be sure I don't include mistake.


Reformat using @typescript-eslint/parser

what lint rule dislikes props.? i dont like it and i generally think that it should have props.
i also disagree that reassigning function arguments should be an error

I agree. It should not be an error and I have updated it. Not committing so that other changes can get incorporated.

i like destructuring yeet it in


python310Packages.python-fsutil: 0.8.0 -> 0.9.1

Changelog: https://github.com/fabiocaccamo/python-fsutil/blob/0.9.1/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 209039 run on x86_64-linux 1

2 packages failed to build:

python310Packages.django-maintenance-mode
python39Packages.django-maintenance-mode

6 packages built:

dvc
dvc-with-remotes
python310Packages.python-benedict
python310Packages.python-fsutil
python39Packages.python-benedict
python39Packages.python-fsutil


show_info displays step details for cci flow info

Critical Changes
Changes
new method: FlowCoordinator.show_summary() to display sub-flow task info for cci flow info [flow_name]
Issues Closed

@davisagli - Latest commit now displays step.when. I didn't modify StepSpec yet; however, I did update the code to display the entire step.step_num value for each step (instead of splitting and displaying based on indent). A flow and its' first child task have the same step number, but wouldn't creating an additional list in StepSpec also have the same outcome? A flow like dev_org would show the first flow as 1 instead of 1.1 and the same for the first child task?
I think I may be missing the benefit of creating the additional number sequence on StepSpec, so let me know if I'm off the mark at all.

@Br4nd0R looking at the dev_org flow as an example... my thought is that the first step would have num_path = ("1", "1") and would give this output:
1) flow: dependencies
    1) task: update_dependencies
    ...

The dx_push task within the deploy_unmanaged flow would have num_path = ("2", "3.1") and would output like this:
2) flow: deploy_unmanaged
    ...
    3.1) dx_push


quax boundary recursive wrapping of a pytree

In https://github.com/patrick-kidger/quax/issues/10#issuecomment-1949501175_ we discussed a function wrap_arrayish_value_into_tracer_like to handle cases like
def funct(x, y):
    z = wrap_arrayish_value_into_tracer_like(Value(...), x)
    return x + y + z

In https://github.com/GalacticDynamics/galax/pull/187 I'm encountering the lack of this functionality in the _potential_energy methods, where the Parameters of the potential do not pass through the same quax boundary.
def _potential_energy(self, xyz, t, _G):
    m = self.some_param(t)
    return G * m / ...

In our case some_param is often a callable object with a .value attribute. In testing this self.some_param.value is not wrapped into a tracer when self is wrapped. Would recursively wrapping into the PyTree be able to fix this problem?

Hmm, that seems a bit surprising. Can you create a MWE? When crossing a quaxify boundary, then all Values, even inside PyTrees should be wrapped. So that something like this should work:
class Bar(eqx.Module):
    value: quax.Value

class Foo(eqx.Module):
    some_param: Bar

    @quaxquaxify
    def _potential_energy(self, ...):
        self.some_param.value  # this is wrapped

I've solved the issue. I was incorrectly constructing an object, so it wasn't getting wrapped properly. A more careful construction solved the issue!


feat: Helm chart support for side-by-side installation with v1 driver

Is your feature request related to a problem?/Why is this needed

In order for AKS customers to be able to try out Mandalay Preview, we will need to be able to install it side-by-side with the V1 driver.
Describe the solution you'd like in detail

The chart already has some support for this (.e.g setting the driver name and pod ports), but we need to test it and may need to enhance the chart to support customization of other values.
The chart should also support creating storage classes appropriate for v2 driver. Currently, AKS creates 'managed-csi' and 'managed-premium' storage classes for StandardSSD_LRS and PremiumSSD_LRS managed disks. Our V2 helm chart should create storage class for the V2 driver named using the format azuredisk-{premium|standard|ultra}-{hdd|ssd}-{lrs|zrs} for each of the managed disk types supported. (Note, only StandardHDD_LRS is supported for HDD managed disks and ZRS is only supported with StandardSSD and PremiumSSD.)
Describe alternatives you've considered

Additional context

It would be good to take Andy's suggestion of creating a Boolean value to control whether or not the StorageClasses are installedhttps://github.com/kubernetes-sigs/azuredisk-csi-driver/issues/707#issuecomment-857400640.


3.1.3 - change node: RED.utils.validateTypedProperty is not a function

I am not claiming I found a bug; it is the template that requires me to select bug or question. I do not claim to know node-red is at fault, it might just be something with the chart/flow/setup. In any case, this looks odd and if indeed it is with the flow, maybe should be part of some Release notes.... Anyway, here it comes:
Current Behavior
Since one of the recent upgrades ( I was running 3.1.0 without the symptom, the symptom occurs with 3.1.3), the "change" and "filter"-nodes are marked with a red triangle in the editor. I have not been able to observe other side-effects.
This looks related: https://github.com/node-red/node-red/pull/4368
Expected Behavior
No response
Steps To Reproduce
add a change node to a new flow, observe the error message "RED.utils.validateTypedProperty is not a function"
Example flow
paste your flow here

Environment

Node-RED version: 3.1.3
Node.js version:
npm version:
Platform/OS:  docker.io/nodered/node-red:3.1.3
Browser: firefox

Hi @christf,
I can't reproduce this behavior, please could you give us more information.
Could you also export your change node and paste the content here.
Are you able to recreate this behavior after restarting NR and reloading your browser?

are marked with a red triangle

What are invalid properties/messages?

observe the error message "RED.utils.validateTypedProperty is not a function"

Comes from your browser console?

I edited the original post to contain the node definition that shows the error.

This is what the error looks like I do not think this comes from  the browser console.

I still can't reproduce your behavior.
I'm starting to think it's an update issue. Can you confirm that you have the v3.1.3 and check your docker image.

interesting. So this is what docker describe says, I am running:
Name:             node-red-6ff7588cfd-lqgz2 Namespace:        default Priority:         0 Service Account:  node-red Node:             nas/<IP_ADDRESS> Start Time:       Mon, 01 Jan 2024 19:24:13 +0100 Labels:           app.kubernetes.io/instance=node-red                   app.kubernetes.io/name=node-red                   pod-template-hash=6ff7588cfd Annotations:      <none> Status:           Running IP:               <IP_ADDRESS> IPs:   IP:           <IP_ADDRESS> Controlled By:  ReplicaSet/node-red-6ff7588cfd Containers:   node-red:     Container ID:    containerd://002f7a7ecedc8a119abfe33056e8c4470c70ddd0c74469cf2e50b2d5c5499420     Image:           docker.io/nodered/node-red:3.1.3     Image ID:        docker.io/nodered/node-red@sha256:f72381be70e1e1f06ae31fa28fc322fbf806184a2a4b97df765e6916f9204d47     Port:            1880/TCP     Host Port:       0/TCP     SeccompProfile:  RuntimeDefault     State:           Running       Started:       Mon, 01 Jan 2024 19:24:16 +0100     Ready:           True     Restart Count:   0     Limits:       cpu:     500m       memory:  5123Mi     Requests:       cpu:        100m       memory:     128Mi     Liveness:     http-get http://:http/ delay=0s timeout=1s period=10s #success=1 #failure=3     Readiness:    http-get http://:http/ delay=0s timeout=1s period=10s #success=1 #failure=3     Environment:  <none>     Mounts:       /data from data (rw)       /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-79p82 (ro) Conditions:   Type              Status   Initialized       True    Ready             True    ContainersReady   True    PodScheduled      True  Volumes:   data:     Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)     ClaimName:  node-red     ReadOnly:   false   kube-api-access-79p82:     Type:                    Projected (a volume that contains injected data from multiple sources)     TokenExpirationSeconds:  3607     ConfigMapName:           kube-root-ca.crt     ConfigMapOptional:       <nil>     DownwardAPI:             true QoS Class:                   Burstable Node-Selectors:              <none> Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s                              node.kubernetes.io/unreachable:NoExecute op=Exists for 300s Events:                      <none>

@christf can you also check what version is reported in the editor itself - it will be at the bottom of the main menu, as well as logged to the JavaScript console when you load the editor.

@christf can you also check what version is reported in the editor itself - it will be at the bottom of the main menu, as well as logged to the JavaScript console when you load the editor.

good point, so here it comes:
the menu shows 3.1.3

When obtaining the version number from the js console, I again requested the browser to purge all caches to obtain a full reload.
After this, the symptom was gone - naturally the log revealed
Node-RED: 3.1.3
With that I would conclude that the initial analysis was spot on - parts of the application being executed from an old version. Apparently this was a somewhat stale cache in the browser.
Now, before closing this as "invalid", can we please consider that even though the fix seems simple enough ("purge caches, reload"), I do think this fix should be required and the symptom hints at something not correctly being done by the caching subsystem. I am no web technology expert but I am aware of programming patterns that should simplify cache handling. One way is to make URI aware of versions by using a hash of the content of the resource as (part of the) name of the identifier. As such the URIs change if updates happen and cache can simply be allowed to time out, which will then lead to both: smooth upgrades and good cache hit ratio.
Is there a way the NR can avoid this situation?

We do already apply cache-busting techniques on some of the resources that get loaded - but I can't immediately recall if that applies to the main library. Will take a look.

It seems that Firefox stores scripts in cache unlike Safari and Chrome which stores them in memory.
Firefox:

Chrome:

Safari:

It is therefore not linked to NR but to the Browser.

Is it? Shouldn't the use of cache busting resolve that?

The cache busting got broken in 3.1.0. You can see the ?v= query parameter in the screenshot from @GogoVega is missing a value:

That is meant to contain the version number being loaded.

This was broken by #4170 - see my comment https://github.com/node-red/node-red/issues/4170#issuecomment-1879275865

as an Update:
Had the same behavior. A page reload with clearing local cache solved the issue.
I'm running v3.1.3 under Chrome Version 120.0.6099.129.

I am running v3.1.6 and have this behavior even in browsers where I never opened node-red before:

What can I do to make it work properly again?


Implement NIST CAXIF as skin of generic

Note: not as a new gem inheriting from generic, but as a pure skin of generic—bundling generic with stylesheets and config. If we can't do that, and require gems for each new deployment of an SDO, we will never get scale.
That means they don't get to have a wishlist: it is a bare bones implementation, as much as can be put in by configuration.
"NIST CAXIF: want a new flavour, to publish EXPRESS docs and non-MDA docs"
This hopefully does not make the skin implementation impossible.

@ronaldtse Where is the documentation for this org?

@alexeymorozov I would like for this to be your next project. Please get in touch so I can explain a bit more about this. https://www.metanorma.org/builder/topics/simple-adoption/ gives some necessary background.

As we discussed with Nick, I've tried the customize: attribute and, at least in some way, it works. Here is an example:

adoc file
a custom config
output doc, html and other files

https://github.com/alexeymorozov/nist-caxif
Now I need styling specifications of CAx-IF or an example of a target document.

@opoudjis @ronaldtse What are our priorities? Do I need to talk to someone in CAx-IF to gather specifications or more information on the requirements?

The documents are now provided here:

https://github.com/metanorma/mn-samples-mbxif

I'll get some of the documents encoded for sample purposes.

As part of making metanorma-generic more robust: need to add fontist config and output formats to the YAML.

@ronaldtse I see you expect something like this:
https://github.com/metanorma/mn-samples-mbxif/blob/main/reference-docs/ewis-if/EWIS_test_suite_v1-0.pdf

to be delivered by a config-only, zero code instance of metanorma-generic.
That is not a reasonable expectation.

I am going to compile the first document I find, just to see what happens, using the ISO HTML and PDF stylesheets for rendering, stored in html/, and a local metanorma-generic configuration file. That's going to be bundle exec metanorma compile sources/cae-if/HandbookVolume2_V1.1_CAE-IF/document.adoc, using :customize: ../../../metanorma-config.yml . That's an initial proof of concept that rendering can be done with local rendering assets at all.

Need to deal with resolving paths when compiling in a remote directory: customize: ../../../yml is looking for stylesheets at the document root, not the config file root.
Need to configure supported formats: is refusing to process PDF, because it's not in generic.

need to make sure that when I reread the YAML file from :customize: , its default values (including formats) are still processed; they had been ignored on reread anyway.

Race condition: metanorma compile is extracting formats, before the document is processed so that :customize: can override the formats.
But in fact, the extensions aren't needed until  after we compile the Semantic Metanorma XML. We extract them beforehand, to test if there is an illegal extension, and thus abort. But... generating the Semantic XML even if an illegal extension is included is not that big a deal, and could be used in debugging anyway. So will delay that test until after Semantic XML is generated (and thus, :customize: has already been read in).

New nonsense. After I set attributes in customize, filepaths within the YAML file are  back to being interpreted relative to document, not to the YAML file...

Metanorma compile cannot see the updates being done to the metanorma-generic processor (including its formats); Metanorma accesses processors through Registry, but metanorma-generic does not.

... Need config file path to be absolute, working directory and document directory getting confused.

After a very VERY long time, we finally have the ability to compile a metanorma-generic  file using local config.


disabled to uninstalled plugin

Analysis
if a plugin is disabled, and subsequently uninstalled, it is not removed from the disabled list
Expected Behavior
i don't know whether expected behaviour would be on a subsequent reinstall for the plugin to be enabled again - but for me, i would yes expect it to be enabled again
Steps To Reproduce

use ui to disable an existingly installed plugin
use ui to uninstall plugin
restart to verify plugin is uninstalled
install plugin again
restart hb and notice that plugin does not load because still in disabled list

Process Supervisor
hb-service

Changed in upcoming UI update


Execute api

Issue #, if available:
Description of changes:
Adding an "Execute" API to immediately execute the policy attached to specified index
CheckList:

[ x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Closing in favor of this PR: https://github.com/opensearch-project/index-management/pull/462


Applying a License or a Public Domain statement for this repository

Hello everyone, my name is Daniele Fabiano and i am a CS Student from University of Salerno. In the last 6 months i am working on the thesis for my bachelor degree. This thesis covers some topics about the detection of Bloated Dependencies and their related vulnerabilities. I decided to fork your project because for the tool i've been building, i need a comfortable file format (such as .csv) to retrieve information about the dependencies of an analyzed project. So inside my tool i am using your GetDep_ast.py script. However, the original repo does not have any license or information about an eventually public domain source code. If you don't fix this, i can encounter some issues about copyright. So what i want to ask you, could you please add a license on the repository or release the public domain statement for your source code?
Thank you so much.
Best regards,
Daniele

Hi, I have added the  MIT license.

Hi, thank you for applying the license


UseMvc helper text misspells "UseEndpointRouting" as "UseEndpointRounting"

If you believe you have an issue that affects the security of the platform please do NOT create an issue and instead email your issue details to<EMAIL_ADDRESS>Your report may be eligible for our bug bounty but ONLY if it is reported through email.
Describe the bug
MVC API project which calls UseMvc method shows helper text with "MvcOptions.EnableEndpointRounting" that is misspelled and should be "MvcOptions.EnableEndpointRouting" instead. Note the extra "n" in the original message.
To Reproduce
Steps to reproduce the behavior:

Using this version of ASP.NET Core '3.0.100-preview6-012264'
Create a MVC API project (or upgrade an existing project from .Net Core 2.2)
Call IApplicationBuilder::UseMvc within the Startup::Configure method
Mouse over the UseMvc call to view the helper text which mentioned setting the MvcOptions.EnableEndpointRounting option.
Note that "MvcOptions.EnableEndpointRounting" is misspelled and should be "MvcOptions.EnableEndpointRouting" instead

Expected behavior
"MvcOptions.EnableEndpointRounting" is misspelled and should be "MvcOptions.EnableEndpointRouting" instead
Screenshots
Image: https://i.imgur.com/axqQ90w.png
Additional context
.NET Core SDK (reflecting any global.json):
Version:   3.0.100-preview6-012264
Commit:    be3f0c1a03
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.17134
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.0.100-preview6-012264\
Host (useful for support):
Version: 3.0.0-preview6-27804-01
Commit:  fdf81c6faf
.NET Core SDKs installed:
1.1.7 [C:\Program Files\dotnet\sdk]
1.1.13 [C:\Program Files\dotnet\sdk]
2.1.100 [C:\Program Files\dotnet\sdk]
2.1.202 [C:\Program Files\dotnet\sdk]
2.1.505 [C:\Program Files\dotnet\sdk]
2.1.604 [C:\Program Files\dotnet\sdk]
2.1.700 [C:\Program Files\dotnet\sdk]
2.2.204 [C:\Program Files\dotnet\sdk]
2.2.300 [C:\Program Files\dotnet\sdk]
3.0.100-preview6-012264 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0-preview6.19307.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 1.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview6-27804-01 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0-preview6-27804-01 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Thanks for contacting us, @Malivil.
This is already fixed and will be part of preview7 release.

Using preview 8 and this typo is still present - https://github.com/aspnet/AspNetCore/blob/master/src/Analyzers/Analyzers/src/StartupAnalyzer.Diagnostics.cs#L40

Looks like the fix was done under PR #13209 but was committed to the master branch so that's why its not showing up in any of the preview releases.

I'm not sure what the process is to request a commit be merged to the 3.0 branch


A few improvements for the README.md

An initial rough draft for the README.md (based on my comment in https://github.com/tyler36/ddev-xhgui/issues/23). The following things I would suggest to change.

A few times the wordmark XHGui was only written in lower case.
Each "Framework configuration"-section had the following redundant snippet:

Run ddev xhprof to start profiling.
XHGui is now available at https://yourproject.ddev.site:8142

Starting the profiling is only relevant to the usage section imho. therefore i've moved the how to enable xhprof to the usage section. plus there you also already have a link with the port as well.

In the usage section i've removed The service will automatically start when run: ddev start or ddev restart.  the project will start anyway even if it was stopped by just running ddev xhprof on or ddev xhprof on && ddev xhgui

Closing.
I appreciate the effort to improve the documentation.
I would like to keep the duplicate "Run ddev xhprof"  for now. I tend to scan the docs for "my framework" guide, and having everything in the one place makes it easier.
If https://github.com/ddev/ddev-xhgui/pull/33 gets movement, we'll be able to automate more frameworks and improve the docs accordingly.
Will love to see a PR to fix the capitalization.


CORS fix

replaced "github.com" to "raw.githubusercontent.com"
removed jQuery
replaced "randomColor" with https version from github
switched loanBaseUrl to https

Have not tested it with tampermonkeyt though, only using steam client with defining window.GM_xmlhttpRequest in injected script with loading all dependencies manually


There is no password confirmation on registration page

One user noticed that: no confirmation of the password on the form. Add one.

@andyhull @dsummersl I went back and took a look at this issue. I took into consideration what Andy said and tried something different. Instead of using a password confirmation, I added the ability to show/hide it. Please let me know what you think about it. Would it be better to show the text first, then change to the password?


fix split openning a pane from fuzzy finder view

fix atom/atom#11192

@joseramonc Please update the specs to correspond to this change.  Thanks!

@50Wliu Sorry, I have updated this pull request with the fixed specs too

Awesome, thanks.  This looks good to me - /cc @atom/feedback.

@joseramonc Thanks for the effort you put in on this and I apologize that it has taken this long for us to get to looking at your PR. It seems some time between when you submitted this PR and now (Atom v1.11.2) this was fixed. Because of this, I'm going to close this PR.
Thanks again for your time and interest in Atom!


[WIP][HIVEMALL-154] Refactor Field-aware Factorization Machines to support Instance-wise L2 normalization

What changes were proposed in this pull request?

Support instance-wise L2 normalization is mandatory for Field-aware Factorization Machines.
Print average losses in addition to cumulative losses.

What type of PR is it?
Improvement | Refactoring
What is the Jira issue?
https://issues.apache.org/jira/browse/HIVEMALL-154
How was this patch tested?
unit tests, manual tests
Checklist

[ ] Did you apply source code formatter, i.e., mvn formatter:format, for your commit?
[ ] Did you run system tests on Hive (or Spark)?

Discussion in the user list:
<EMAIL_ADDRESS>

Enabling instance-wise L2 normalization  resulted in worse performance than -no-norm.
Also, training of FFM will become significantly slow when enabling instance-wise L2 normalization as training does not converge well. More investigation is required.

https://gyazo.com/4049ff3f38a3342859663b0fb0216914
Found infinite loop in findKey in a certain condition.


contract.method.getData

ethjs-contract
Issue Type

[ ] Feature

Description
With web3 I make use of the getData functionality to get the data to be sent as part of a transaction
Currently ethjs does not seem to offer that functionality
from web3 doc here :  https://github.com/ethereum/wiki/wiki/JavaScript-API#contract-methods
// Get the call data, so you can call the contract through some other means
var myCallData = myContractInstance.myMethod.getData(param1 [, param2, ...]);
// myCallData = '0x45ff3ff6000000000004545345345345..'

I can offer this in the new update.

@wighawag Ethjs-abi has a function you can use to achieve similar.
https://github.com/ethjs/ethjs-abi/blob/e63f92966179d9017b57c9eadef78384a6899a51/src/index.js#L113


How does saddle achieve bin operator vectorization?

A few questions come up when browsing saddle doc.
How does saddle achieve bin operator vectorization? What is the difference between regular operators and macro operators?
The original documentation has a short section on the topic without much explanation: https://saddle.github.io/doc/quickstart.html#a-note-on-optimization
I didn't find these answers easily/at all in the current doc. A doc section on this topic would be great.

the word 'vectorization'  is a bit misleading. There is no SIMD or whatsoever in saddle.
The original documentation refers to that the API is more convenient because you can write a + b instead of something like
var i = 0
while (i < n) {
a(0) + b(0)
i+=1
}

What saddle brings in over plain scala collections is that 1 )it avoids boxing whenever possible 2) the API is more terse
In certain cases the non-macro binary operators box, while the macro based ones do not.
I will add a section on this matter in the docs which I maintain.
If you need real vectorization then you may want to take a look at https://pityka.github.io/lamp/docs/usage_overview/#n-dimensional-arrays-for-numeric-code

Thanks!
At some point I also wondered if the macro operators aimed at hotspot auto-vectorization referred in
https://cr.openjdk.java.net/~vlivanov/talks/2017_Vectorization_in_HotSpot_JVM.pdf
That feature is referenced in this article:
https://blogs.oracle.com/javamagazine/post/java-vector-api-simd

No, not at all. Macros are solely there to prevent Scala from boxing.
The java vector API is not used in saddle. As far as I know the new java vector api is not supported on older jvms and neither available in scala-js. At this point I would like to keep saddle-core to run on all these platforms (I will add scala-native support later).
It could be possible to implement the Vec[T] trait in terms of the java vector api and put that into a separate module. I did not explore this path.
Some options currently implemented which provide good performance:

saddle-linalg in https://github.com/pityka/saddle/tree/master/saddle-linalg/src/main/scala/saddle/linalg uses LAPACK and BLAS and does so by keeping the data on the heap.
pityka/lamp, this piggybacks on pytorch, gives support for GPUs and copies data out of the jvm into off-heap memory. As such it also supports huge arrays (longer than what is indexable with 32 bit integers).

Ah my second link was confusing, but I was referring to the auto-vectorization features of hotspot in jdk8/9 that existed before the Vector api. That is, simple for loops are vectorized by hotspot at jit compilation. But I assume that feature is too brittle for a library to target.

Closing this one as the main occurrence of "vectorized" in the documentation was removed by @pityka .


Fixed some minor issues in the PowerShell scripts

Mostly tidied up some naming and error checking.

ping @paulvanbrenk

👍


System.NullReferenceException - when known types differ in serialization and deserialization process

public class SimplePerson
{
    public string Name { get; set; }
}

private static void Test()
{
    var serializer = new Hyperion.Serializer();
    var to = new List<SimplePerson>();
    to.Add(new SimplePerson { Name = "Joe" });
    to.Add(new SimplePerson { Name = "Richard" });

    byte[] serialized;
    using (var ms = new MemoryStream())
    {
        serializer.Serialize(to, ms);
        serialized = ms.ToArray();
    }

    serializer = new Hyperion.Serializer(new SerializerOptions(false, false, null, null, new[] { typeof(int) }));

    using (var ms = new MemoryStream(serialized))
    {
        var res = serializer.Deserialize(ms); // exception is thrown here
    }
}

I'm sorry, what was the expected vs. actual behavior here?

In the first case - if well known types differs (imagine client server application where server is already updated and client is connecting to updated server for its update) there should be more polite way to deal with these changes (e.g. hooking some event).
In case of "System.OutOfMemoryException" it seems there is some kind of error in memory allocation.  I am sorry I should create two threads instead of one.


Image Gadget - Image upload

Implement upload logic for Image gadget

Image upload logic that includes the backend service has been implemented but needs to be cleaned up.

Support drag and drop.


NullReference Exception on git pull/push

System Details

posh-git version/path: <IP_ADDRESS>  C:\tools\poshgit\dahlbyk-posh-git-9bda399\src
PowerShell version: 5.1.17763.134
git version 2.19.1.windows.1
OS: Microsoft Windows NT 10.0.17763.0

Issue Description
I am experiencing a problem when I attempt to do a git pull or push. poshgit responds with the following:
fatal: NullReferenceException encountered.
Object reference not set to an instance of an object.
I can then enter my username and password for my repo but these credentials are not cached and I have to re-renter them every time.
I'm not sure if this maters but my host is Azure DevOps.

Thank you Keith! I'll check first thing tomorrow morning and respond.

@rkeithhill
Simply running the installer here: https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.18.1 fixed the issue.
Thanks!


Fixed email address to<EMAIL_ADDRESS>

close: #37

@kichi2004
Thank you for contributing!
I am working to fix CI/CDs for confirming your pull request #39 #40 .
Just a sec to merge this.

@kichi2004
All done!
Could you rebase your kichi2004:#37 branch to current my Siketyan:master ?

I recommend force pushing to keep the tree clean.

@Siketyan done!


Support Cached Storage

This is a tracking issue for implementing the cache storage
the design can be found in #247

[x] Prototype & Basic Trait #252
[ ] Implement Storage trait for S3 - (ref #https://github.com/engula/engula/discussions/256)
[ ] Refine Prototype( implement double write/read & refill logic & replica cache & simple cache replica placement and so on, I will try to give more detail design/discuss for those item and expand it to more subtask soon)

I'd like to take 2nd item: "implement Storage trait for S3" first and investigate 3rd item after finish it

Thanks. I had some discussion with @zojw and he would like to take over the design and implementation of the cached storage once #252 gets merged.

Hi, I'd update the issue sub-task list with more component implementation details
and I'd like to take 3rd item "Define Communication API between components and implement as Remote Storage Trait" first, it will demonstrate how components work together and final use API (trait)(for implements detail it's planning to use memory or mock implement first in this work item)

@zojw could you create issues for all these subtasks? The reason as in https://github.com/engula/engula/issues/221#issuecomment-1013798397. Of course, you can always make your progress but describing the status helps participants to extend your strength.
For example, currently the S3 implementation isn't well tested and you can create an issue for it.

The shared storage development work has been migrated to another repo as one of engula's external implements, the related issue has be replaced with https://github.com/zojw/shared-storage/issues/4, so close this first


[Improvement] Supports to grant and revoke privilege for a role

What would you like to be improved?
Supports to grant and revoke privilege for a role. If we don't have the feature, the user will be very inconvenient.
How should we improve?
Supports to grant and revoke privilege for a role

Is this about updating the role, granting or revoking permissions for securableObject to the role?


PHOENIX-6511 Deletes fail in case of failed region split

Note, this impacts 4.x only. 5.x has a different logic wrt. to handling this. In hbase2.x the split hooks got moved to master observer since master handles the split through procedures, hence only region close is blocked by the lock in UngroupedAggRegionObserver. In case of a region close, if an error is encountered RS is aborted which results in resetting the state and hence is not a problem.

Quick question i guess the assumption is if we are post split we can't be splitting again?  Does a hbase state machine explicitly prevent this or is the assumption that there is no way a flush or set of flushes could cause this to be splitting again?

@dbwong There was a small window between deleting the exclusive lock for region splitting and execution of the post hook. I've changed the PR so that we do our logic in the preRollbackSplit hook, which is executed just before deleting the lock.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
4m 20s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ 4.x Compile Tests _

+1 :green_heart:
mvninstall
18m  8s
4.x passed

+1 :green_heart:
compile
1m  1s
4.x passed

+1 :green_heart:
checkstyle
0m 35s
4.x passed

+1 :green_heart:
javadoc
0m 42s
4.x passed

+0 :ok:
spotbugs
3m  4s
phoenix-core in 4.x has 957 extant spotbugs warnings.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
9m 41s
the patch passed

+1 :green_heart:
compile
1m  1s
the patch passed

+1 :green_heart:
javac
1m  1s
the patch passed

-1 :x:
checkstyle
0m 36s
phoenix-core: The patch generated 5 new + 366 unchanged - 2 fixed = 371 total (was 368)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
javadoc
0m 46s
the patch passed

+1 :green_heart:
spotbugs
3m 15s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
138m 29s
phoenix-core in the patch passed.

+1 :green_heart:
asflicense
0m 11s
The patch does not generate ASF License warnings.

182m 48s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1266/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/1266

Optional Tests
dupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile

uname
Linux cfd6f569af32 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
4.x / ddd7ff6

Default Java
Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08

checkstyle
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1266/1/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt

Test Results
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1266/1/testReport/

Max. process+thread count
5605 (vs. ulimit of 30000)

modules
C: phoenix-core U: phoenix-core

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1266/1/console

versions
git=2.7.4 maven=3.3.9 spotbugs=4.1.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
6m 33s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ 4.x Compile Tests _

+1 :green_heart:
mvninstall
17m 54s
4.x passed

+1 :green_heart:
compile
1m  1s
4.x passed

+1 :green_heart:
checkstyle
0m 35s
4.x passed

+1 :green_heart:
javadoc
0m 47s
4.x passed

+0 :ok:
spotbugs
3m  0s
phoenix-core in 4.x has 957 extant spotbugs warnings.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
9m 43s
the patch passed

+1 :green_heart:
compile
1m  2s
the patch passed

+1 :green_heart:
javac
1m  2s
the patch passed

-1 :x:
checkstyle
0m 34s
phoenix-core: The patch generated 3 new + 368 unchanged - 0 fixed = 371 total (was 368)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
javadoc
0m 44s
the patch passed

+1 :green_heart:
spotbugs
3m 14s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
221m 44s
phoenix-core in the patch passed.

+1 :green_heart:
asflicense
0m 10s
The patch does not generate ASF License warnings.

268m  0s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1266/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/1266

Optional Tests
dupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile

uname
Linux db2aa0842c0f 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
4.x / ddd7ff6

Default Java
Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08

checkstyle
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1266/2/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt

Test Results
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1266/2/testReport/

Max. process+thread count
4954 (vs. ulimit of 30000)

modules
C: phoenix-core U: phoenix-core

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1266/2/console

versions
git=2.7.4 maven=3.3.9 spotbugs=4.1.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 29s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ 4.x Compile Tests _

+1 :green_heart:
mvninstall
17m 53s
4.x passed

+1 :green_heart:
compile
1m  0s
4.x passed

+1 :green_heart:
checkstyle
0m 36s
4.x passed

+1 :green_heart:
javadoc
0m 47s
4.x passed

+0 :ok:
spotbugs
3m  2s
phoenix-core in 4.x has 957 extant spotbugs warnings.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
9m 42s
the patch passed

+1 :green_heart:
compile
1m  3s
the patch passed

+1 :green_heart:
javac
1m  3s
the patch passed

-1 :x:
checkstyle
0m 34s
phoenix-core: The patch generated 5 new + 366 unchanged - 2 fixed = 371 total (was 368)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
javadoc
0m 44s
the patch passed

+1 :green_heart:
spotbugs
3m 11s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
150m 49s
phoenix-core in the patch passed.

+1 :green_heart:
asflicense
0m 12s
The patch does not generate ASF License warnings.

191m  1s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1266/3/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/1266

Optional Tests
dupname asflicense javac javadoc unit spotbugs hbaseanti checkstyle compile

uname
Linux 8bf90b2c72a3 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
4.x / ddd7ff6

Default Java
Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08

checkstyle
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1266/3/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt

Test Results
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1266/3/testReport/

Max. process+thread count
5638 (vs. ulimit of 30000)

modules
C: phoenix-core U: phoenix-core

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1266/3/console

versions
git=2.7.4 maven=3.3.9 spotbugs=4.1.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Thanks for the reviews @virajjasani @dbwong @kadirozde

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
5m 37s
Docker mode activated.

-1 :x:
patch
0m  5s
https://github.com/apache/phoenix/pull/1266 does not apply to 4.x. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1266/4/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/1266

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1266/4/console

versions
git=2.7.4

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.