Add metrics about write bytes for EstablishConnection call

What problem does this PR solve?
Issue Number: ref #6225
Problem Summary:
What is changed and how it works?
We delete Response Bytes/Seconds panel and add the following panels:

Async Response Bytes/Seconds
Cop Response Bytes/Seconds
Batch Cop Response Bytes/Seconds

Check List
Tests

[ ] Unit test
[ ] Integration test
[x] Manual test (add detailed scripts or steps below)
[ ] No code

link here

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/cc @LittleFall @windtalker

what "Async Response Bytes/Seconds" means?

what "Async Response Bytes/Seconds" means?

I will delete this panel.

/merge


Best Weights out of all

Hi,
I am kinda new in this field. I just trained yolact model on my custom dataset. But I have large number of weights after training. Can you please tell me how should I select the best weights out of all?
Thank you

During training, YOLACT saved weights from time to time.
You can choose the weights with the heights mAP


feat: do not move metga when use write_raw_meta.

write_raw with metadata message causes 0x2603 in branch 3.0 (new dev branch).


OneCMS 7.2.24

use "Slade Watkins" instead of "Slade Rice Watkins"
Change author name to Slade Watkins
writing: change author name
new homepage
add sladewatkinsmedia.com
OneCMS 7.2.24

sladewatkins@Slades-MacBook-Pro onecms7 % git merge staging
Updating 60619ca6..040aa1b8
Fast-forward
 LICENSE                                                             | 2 +-
 frontend/javascript/index.js                                        | 2 +-
 src/_data/site_metadata.yml                                         | 6 +++---
 src/_posts/2022-11-22-the-att-saga.md                               | 2 +-
 src/_posts/2022-11-30-and-now-a-word-from-our-sponsor.md            | 2 +-
 src/_posts/2022-12-03-i-am-an-indecisive-mess.md                    | 2 +-
 .../2022-12-13-why-open-source-matters-and-how-i-am-helping.md      | 2 +-
 src/_posts/2022-12-22-i-think-i-am-done-with-twitter-for-now.md     | 2 +-
 .../2022-12-27-rss-is-great-now-stop-truncating-your-feeds.md       | 2 +-
 src/_posts/2023-01-01-what-will-2023-be-the-year-of.md              | 2 +-
 src/_posts/2023-01-04-statement-i-deleted-my-tiktok-account.md      | 2 +-
 .../2023-01-13-the-twitter-saga-episode-uh-i-have-lost-count.md     | 2 +-
 .../2023-03-28-statement-regarding-twitter-blue-subscription.md     | 2 +-
 ...-04-12-i-am-no-longer-using-twitter-for-professional-purposes.md | 2 +-
 src/_writing/2023-01-10-writing-corner.md                           | 2 +-
 src/_writing/2023-04-24-social-media-is-against-me.md               | 2 +-
 src/contact/index.md                                                | 2 +-
 src/index.md                                                        | 3 ++-
 18 files changed, 21 insertions(+), 20 deletions(-)


When garmin's are off and no longer tracking, script still forward's packets

Using latest commit with 2 garmin's.
I've had my Garmin's off for a couple hours now and I'm still getting packets forwarded to APRS every few minutes.  My APRS ID's:
https://aprs.fi/info/?call=N0EDB-12
https://aprs.fi/info/?call=N0EDB-13
Any thoughts on what's going on? I would think it would stop forwarding based on the fact that the time difference is so far off.

I think maybe we should add lastUpdate to the list of goals in the sendAPRS function.  Not absolutely certain that's the problem,  but I'll take a look later.

Actually just pushed a change with the correction.  Try it now.

Still forwarding old packets.
To test: Turn on both devices -- and let one tracking point be sent on each device. Turn off tracking. The logging shows an incremental number being sent (and they continue to be transmitted to APRS).
Note: happens with only 1 device on and transmitting too.

another comment (and maybe a different bug):
Just had this message printed:
Can't process KML feed on this pass.
Traceback (most recent call last):
File "./ir-aprsisd", line 359, in
for packet in getEvents():
TypeError: 'NoneType' object is not iterable
I can open another issue if needed.

Definitely a different bug, but also fixed in the current revision.  The iteration over None was due to a design flaw in getEvents, which I had assumed would always return a list of (sometimes no) events, but then built to do otherwise.  The re-submission of packets already handled was due to a bad condition on an if statement.  Both are fixed, and at least appear to be working over here now.
Thanks for your help with this, by the way.  I should have caught either or both of these things, myself.  It doesn't matter how many devices you have going; I just hadn't really ran it for long enough since the changes to notice it happening.  Anyway, I won't close this yet, in case I'm mistaken, but I really think it should all be fixed.

Great, thanks.
I'll grab the latest version and pull it down and test things out a bit more tomorrow.

Well that's odd.  Is it updating both devices, or just the one with previous packets?

Just the one that was on and running with packets (I didn't have the 2nd device on today)

I might be speaking too soon, but after a quick trip outside to get some data going in, I don't appear to be able to get it to send extra packets when the device is stopped. Does it still do it for you after the last change?

I think I may have found the culprit.
I had a 2nd deamon running in screen that I didn't realize I had going.  It was running an old version. So...sorry for the headache :).
I will test out the latest version again tonight but I am pretty sure it will work fine now.

Ah, that would do it.  No problem.  I needed to review that section of the code and sort out what could/should actually happen in the case of exceptions during the APRS packet dispatch anyway.  Didn't find serious trouble, but I think it's more right now.

Cool. Will update with output from tests this evening

This looks to be fixed in latest version. The issue was the extra instance running in screen with an older version.

Sounds good to me.  Note also a minor change in the past week that might make course/speed show up more consistently, though it shouldn't have any other effect.  In the previous versions, a device headed slowly north would have possibly shown up in APRS without the course/speed information. :)


test error

Hi developer~
I test the bgzip in jupyter，and it failed.
with open("my_bgzipped_file.gz", "wb") as raw:
	with bgzip.BGZipWriter(raw) as fh:
		fh.write("11")

error log
TypeError                                 Traceback (most recent call last)
Cell In [22], line 3
      1 with open("my_bgzipped_file.gz", "wb") as raw:
      2 	with bgzip.BGZipWriter(raw) as fh:
----> 3 		fh.write("11")

File ~/.local/lib/python3.9/site-packages/bgzip/__init__.py:216, in BGZipWriter.write(self, data)
    [215](file:///public/home/zpliu/.local/lib/python3.9/site-packages/bgzip/__init__.py?line=214) def write(self, data):
--> [216](file:///public/home/zpliu/.local/lib/python3.9/site-packages/bgzip/__init__.py?line=215)     self._input_buffer.extend(data)
    [217](file:///public/home/zpliu/.local/lib/python3.9/site-packages/bgzip/__init__.py?line=216)     if len(self._input_buffer) > self.batch_size * bgzip_utils.block_data_inflated_size:
    [218](file:///public/home/zpliu/.local/lib/python3.9/site-packages/bgzip/__init__.py?line=217)         self._compress()

TypeError: 'str' object cannot be interpreted as an integer

the writer expects bytes. If you have strings you can easily convert them into bytearrays and pass to it:
with open("my_bgzipped_file.gz", "wb") as raw:
    with bgzip.BGZipWriter(raw) as fh:
        fh.write(b"11") #or bytes('11')


Static content handlers

Fixes #33
Adds static content handlers, and tests.

This is pod not pod6, github doesn't show pod6 README's very nicely so I just use pod.

re that comment, figured i should point out that mi6 will happily generate a Markdown README.md from the pod6 embedded in your code, and, as README material goes, I think markdown is generally much more readable than POD.

@masukomi @2colours I will gladly accept a PR that addresses this :)


Implementing metadata freshness checks

Description
Addresses the 'metadata freshness changes' part of https://github.com/dbt-labs/dbt-core/discussions/8307
Doing this in a way that can work for hive and unity was interesting.  I'm a little concerned about the accuracy/perf around the hive implementation, but its the best I can do, and I don't have a great way to insert a check for hive metastore earlier in the call chain.
@dataders any concern that if someone has a view as a source (as is the case in my bigger transform jobs), then this mechanism doesn't work?  I didn't see if there was any logic that only called down to this path if the relation is a table.  Both using information schema in this way and describe history are table-only features.  I mean we could look at information_schema.views, but last altered doesn't give the same sort of information for views as it does for tables.
Checklist

[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[ ] I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section.

BTW, there may be additional tests required as the guide calls out two more functional tests, but since those tests had a low of snowflake specific comments in them (and so far are only in the snowflake adapter), I'm waiting until they're part of core before implementing here.  I wanted to get this code up for people to look at while I'm away.

@benc-db you da real MVP for posting this. I'll definitely flag this for the adapters eng team to look at once we're back from Coalesce


httpd: Add content property to CodeLocation in serialization

For the web client to be able to show file content based on a Oid we need to provide the web client with the file in question.
Remarks
It gets a bit messy IMO, since we need to drill down until we get to the CodeLocation to be able to serialize the Blob Oid, into its content, adding a new field..
I think this would be nicer if instead or additionally to passing a Blob Id we store the file path in the CodeLocation struct, and then query the /raw endpoint for the files content.
I'm thinking something along the lines of
diff --git a/radicle/src/cob/patch.rs b/radicle/src/cob/patch.rs
index 522f20b..030e340 100644
--- a/radicle/src/cob/patch.rs
+++ b/radicle/src/cob/patch.rs
@@ -464,8 +464,8 @@ impl fmt::Display for Verdict {
 #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
 #[serde(rename_all = "camelCase")]
 pub struct CodeLocation {
-    /// File being commented on.
-    pub blob: git::Oid,
+    /// Path of file being commented on.
+    pub path: String,
     /// Commit commented on.
     pub commit: git::Oid,
     /// Line range commented on.

If we could somehow have the file path inside the COB state, but not in the COB actions, that would be interesting.. Otherwise it's redundant, but redundancy is maybe not the worse..

Ok did address the comments and rebased/squashed it


zsh setopt posixargzero weird behaviour

Hello,
I recently switched to zsh with powerlevel9k (thanks a lot for the work, awesome theme). Everything works fine but I work on embedded software and I use an OS in my applications, to be able to use this in my programs I have to source a script they provide to export properly env variables.
I noticed that when I source this script, afterwards powerlevel9k outputs an error on prompt:
set_default:typeset:4: not valid in this context: POWERLEVEL9K_/USR/BIN/ZSH_OK_VISUAL_IDENTIFIER_COLOR
I took a look at what the script does and at the start it does this:
if [ -n "$ZSH_VERSION" ]; then
        DIR="${(%):-%N}"
        if [ $options[posixargzero] != "on" ]; then
                setopt posixargzero
                NAME=$(basename -- "$0")
                setopt posixargzero
        else
                NAME=$(basename -- "$0")
        fi
else
        DIR="${BASH_SOURCE[0]}"
        NAME=$(basename -- "$0")
fi

So I spawned a shell and tried to enter setopt posixargzero and I got to reproduce the issue.
setopt posixargzero
set_default:typeset:4: not valid in this context: POWERLEVEL9K_/USR/BIN/ZSH_OK_VISUAL_IDENTIFIER_COLOR

This made me realise first that my OS script does setopt twice instead of unsetopt the second time. But I was wondering if this behaviour was as expected for powerlevel9k?
Thanks for your help

@leodido99 Sorry for the delay. What version of ZSH do you have on your embedded system?

No problem :)
zsh --version
zsh 5.6.2 (x86_64-redhat-linux-gnu)

Crazy. If I set this option, I get no error message, but the prompt is pretty broken. Looks like we need to set noposixargzero. But to be honest that has no high prio in my list. I am sure there are some other options that would break the prompt as well..

@leodido99 If you are still using Powerlevel9k, could you check if this issues can be reproduced with Powerlevel10k?

This doesn't seem to be reproductible with Powerlevel10k


Adding VRGate HMD to list of DirectMode displays.

VRGate have been signed the NDA with OSVR recently, here is the vendor name to PnP-id mapping of our HMD.

Thanks for the update!


fix: only sign off-chain if possible

What it solves
Resolves #3352
How this PR fixes it
The coniditons of performing an off-chain signature now first take into account whether off-chain signing is possible: !isFinalization && canSignOffChain.
The choice to rename isExecution to isFinalization is included here as it is more declarative.
How to test it
This logic affects a lot of cases across all transactions. This has been tested locally across all of the following, but it is best to check them again:
On a 1/? Safe:

[ ] Rejecting the creation of a transaction.
[ ] Creating a transaction and executing it immediately.
[ ] Creating a transaction and executing it, rejecting the request.
[ ] Queueing a transaction and approving it by an owner on a 1/1 Safe.

[ ] Confirm and execute it by an owner.
[ ] Confirm and execute it by a third owner.
[ ] Confirm and execute it by a non-owner.

On a 2/? Safe:

[ ] Create a transaction on a 2/1 Safe.

[ ] Confirm and execute it by an owner.
[ ] Confirm and execute it by a third owner.
[ ] Confirm and execute it by a non-owner.

Creating and executing rejection transactions on the above should also be tested.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 17 (0.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage remained the same at 32.361%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/logic/safe/store/actions/processTransaction.ts
0
1
0.0%

src/logic/safe/store/actions/createTransaction.ts
0
16
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/logic/safe/store/actions/createTransaction.ts
1
3.03%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3172

Relevant Lines:
8715

💛  - Coveralls

Hola caballeros! Unfortunately I've been able to reproduce the issue on a safe with 2 owners by doing what Franco shows in the gif:

Drain account app, perform a drain of a safe with 2 owners (you can drain them to yourself for testing).
Submit and sign tx with the first one.
With the second owner, confirm + execute but reject the tx on metamask.
Tx is shown as:

Cheers!

@JagoFigueroa, this issue should now be address. I am putting this into review now but would appreciate your insight on it again once it has passed.

Good and bad news.
The tx from the screenshot that I posted above that was prompted to be executed was changed correctly to prompting the user to confirm it instead :)
but repeating the process of rejecting this or any other tx on metmask is making txs get stuck with pending status:

Working like a charm now after the fix, thank you @iamacook
I have still a few scenarios left to check tomorrow but it is looking good ;)

Buenos días! Testing now on a safe with a 1 / 3 threshold.

I create a tx but don't execute it.
I go to Queue screen and see that I am prompted to execute the tx (all bueno as it has the required signatures)

I execute the tx but I reject it on Metamask
Transaction changes as if it needs confirmation

I am aware of the merge conflict. I'll hold off on merging dev here until after review to avoid having lots of file changes polluting the PR.

Jago gave it the thumbs up and I also check it for a bit too check that nothing obvious pops up.
Looks good to me as well.


Digi ID issues require immediate attention plz

The DigiByte mobile app on iOS is not available at all.
The DigiByte mobile app on Google Play is no longer supported by newer versions of Android.

Why keep the buttons to either App Store? Why not remove them?
Say I’m recommending Digi-ID to you and when you go to the website you go to download the first app you see and you’re directed to a page that says no longer available. Can you see the issue with that?
There’s another page where it shows the Digi-ID/Antum-ID download link, however, the link is to Google play. When you press on the link it directs you to a page that says app is no longer available. That app is available on iOS App Store and that needs to be fixed.

Thanks to assistance from Jose Trejo, iv been printed this task to bring to attention this current issue with Digi ID. Getting more involved …

The first recommendation is removing google play and app store buttons on the home page. By removing the buttons, users wont get the false impression that they can download the featured wallet. I think leaving it blank is better than having two buttons that redirect to pages no longer available.
Second recommendation is to remove the DigiByte blockchain logo and two buttons on the get started page. An easy fix that doesn't require a lot of rearranging the whole card is replacing the current logo and buttons with the Digi-ID desktop logo and add a GitHub icon with link to Digi-ID desktop repo. The alternative is to remove the current logo and buttons and rearrange the icons/logos and links.
Third recommendation is to replace google play button with iOS button and link to Digi-ID/AntumID app on App Store on the getting started page. There currently isn't an app on Google Play and it would be beneficial for the project to have them for iPhone and Android users, for now if we can have the correct button/link displayed that would be a good start.
Home page

Getting started page

DGB.pdf

https://github.com/DigiByte-Core/digi-id-io/assets/169206889/50544fe8-4f30-4bf3-8a09-3edb772fd147
https://github.com/DigiByte-Core/digi-id-io/assets/169206889/19c022a8-23d4-498f-abfd-d466999049de

It seems @Sbosvk already made some changes 2 months ago (see commit https://github.com/DigiByte-Core/digi-id-io/commit/9f8c3f1434c12d0a6f8e7990e5d743f1e4f1ff95) to hide the app store buttons in source; the changes to the website have just not been published yet.

That's correct. There is something fishy with the deployment that I haven't been able to figure out. So those changes have been merged, they are just not live on the website.

The first recommendation is removing google play and app store buttons on the home page. By removing the buttons, users wont get the false impression that they can download the featured wallet. I think leaving it blank is better than having two buttons that redirect to pages no longer available.
Second recommendation is to remove the DigiByte blockchain logo and two buttons on the get started page. An easy fix that doesn't require a lot of rearranging the whole card is replacing the current logo and buttons with the Digi-ID desktop logo and add a GitHub icon with link to Digi-ID desktop repo. The alternative is to remove the current logo and buttons and rearrange the icons/logos and links.
Third recommendation is to replace google play button with iOS button and link to Digi-ID/AntumID app on App Store on the getting started page. There currently isn't an app on Google Play and it would be beneficial for the project to have them for iPhone and Android users, for now if we can have the correct button/link displayed that would be a good start.
Home page
Getting started page

@LeroyGerrits thank you for your input, I looked at the commits #9f8c3f1 and in this issue we are making three different recommendations to improve the website. I've been in communication with @Sbosvk and he explained the deployment issue. What are your thoughts on the recommendations.


Retired v1 login url

They finally retired the v1 api for login. New one is /api/security/v2/security/authorize but I'm having a hard time using it.

Nevermind. Just looks like my IP got banned.


Release 1.0.1

@niklub Could you move ./nginx => deploy/nginx/ls.conf ?

@niklub Could you move ./nginx => deploy/nginx/ls.conf ?

Did it in https://github.com/heartexlabs/label-studio/pull/686/commits/5546cc6b491efb9eb5fe494e0aa6aded3d066827


fix: Update mio dependency to address RUSTSEC-2024-0019

This doesn't actually affect us since the vulnerability is Windows-specific, and we only rely on tokio on *nix platforms.
See the advisory for RUSTSEC-2024-0019.

Given the security implications of this PR, I'm going to merge it now.


ValidateDataAnnotations throws exception on invalid options but has no details in message

Describe the bug
I have tried using the new ValidateDataAnnotations to validate options -I'm not sure if this would be a bug or feature to add, but when the configuration is invalid based on data annotations in the options class - it throws the OptionsValidationsException but there's no context / message as to what's exactly missing - would it be possible to add validation error messages as part of the exception ?
in contrast, if I use the Validator.TryValidateObject , I at least get a list of validation errors - can these be concatenated and added to the OptionsValidationsException message  ?
To Reproduce
Steps to reproduce the behavior:

Using Microsoft.Extensions.Options.DataAnnotations.ValidateDataAnnotations
Sample call: services.AddOptions<PricingTargetOptions>()              .Bind(Configuration.GetSection("EmailReports:PricingTarget"))              .ValidateDataAnnotations();
Run with missing required values in appsettings.json
See error when accessing injected options value

Expected behavior
There should be some context on why OptionsValidationException was thrown, on which field etc.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Include the output of dotnet --info
.NET Core SDK (reflecting any global.json):
Version:   2.2.103
Commit:    8edbc2570a
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.17134
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\2.2.103\
Host (useful for support):
Version: 2.2.1
Commit:  878dd11e62
.NET Core SDKs installed:
2.1.403 [C:\Program Files\dotnet\sdk]
2.1.500 [C:\Program Files\dotnet\sdk]
2.1.502 [C:\Program Files\dotnet\sdk]
2.1.503 [C:\Program Files\dotnet\sdk]
2.2.103 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

@HaoK I put this in 6 for now; it seems like a high value simple change that has been asked for multiple times.

People keep hitting this, should definitely get this in for preview7


[Application] Absorbance page Metadata is missing

On the Absorbance Application page, a lot of metadata is missing on import. E.g.

Publication Date
Category (manually added)
Technology Type
Thumbnail
etc.

as opposed to other pages, like https://main--moleculardevices--hlxsites.hlx.page/applications/cellular-signaling-and-response.

Fixed with full metadata imported again.


Pane property

Pane property can also be an array. Please look at the
jsfiddle code.

The tests are failing.


Updating Quorum Loss section and adding troubleshooting steps.

Updates:

Definition of Quorum/Quorum Loss.
Clearly specifying quorum loss event for stateful services.
Adding troubleshooting section in the event of Quorum Loss.

@msingiresu : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@msingiresu : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#lgtm #sign-off


support sharing plain access codes

First, thank you.
Now to share a key, click, then we got invitation message and a link; the key is in the url and ,of course, url-encoded, which make it quite inconvenient for one to just  copy the key and paste it into Client. Can we at the same time have a plain pastable key ?

The "escape hatch" UI proposed in https://github.com/Jigsaw-Code/outline-server/issues/89#issuecomment-381107216 would address this.

@dalton-chiou Was this issue meant for outline-server instead or in addition?

@jab Actually it's for outline-manager. Since the manager repo no longer available, so ...:)


Cached Image Aspect="Fill" Doesn't work

I'm trying to make the image fill the width and height of the imageview, with non-uniform scaling off course, but it doesn't seem to work.
This is my code
    <forms:CachedImage  DownsampleToViewSize="True"  RelativeLayout.XConstraint= "{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.1275}"
                        RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=0.53}"
                        RelativeLayout.WidthConstraint= "{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.3}"
                        RelativeLayout.HeightConstraint= "{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=0.133}"
                        Source="panelbalance.png" Aspect="Fill" VerticalOptions="End" HorizontalOptions="CenterAndExpand" FadeAnimationEnabled="False"/>
    <forms:CachedImage  DownsampleToViewSize="True"  RelativeLayout.XConstraint= "{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.5725}"
                        RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=0.53}"
                        RelativeLayout.WidthConstraint= "{ConstraintExpression Type=RelativeToParent, Property=Width, Factor=0.3}"
                        RelativeLayout.HeightConstraint= "{ConstraintExpression Type=RelativeToParent, Property=Height, Factor=0.133}"
                        Source="panelprofile.png" Aspect="Fill" VerticalOptions="End" HorizontalOptions="CenterAndExpand" FadeAnimationEnabled="False"/>

And it produces this:

(the images have no whitespace around them)

It may be related to this: https://github.com/luberda-molinet/FFImageLoading/issues/545

Let's continue in others threads.


Add api docs for mutable message fields

...And update the descriptions of presence actions, which were not great

Adding @m-hulbert to review for style


Remove default CONFIG_FILE=

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[ ] The toolchain has been rebuilt successfully (or no changes were made to it)
[ ] The toolchain/worker package manifests are up-to-date
[ ] Any updated packages successfully build (or no packages were changed)
[ ] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[ ] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[ ] All package sources are available
[ ] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[ ] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[ ] All source files have up-to-date hashes in the *.signatures.json files
[ ] sudo make go-tidy-all and sudo make go-test-coverage pass
[ ] Documentation has been updated to match any changes to the build system
[ ] Ready to merge

Summary

One of the most common sources of frustration for users of the toolkit is the default selection of the core-efi.json config file. This would cause pointless package rebuilds since even sudo make build-packages would be configured to create all the packages needed to build the image (including the kernel which is quite slow).
Change Log

Make the default value for CONFIG_FILE be ""

Does this affect the toolchain?

NO
Test Methodology

Local builds

Just fyi, it's directed towards 2.0 instead of main

Thanks, fixed

One of the most common sources of frustration for users of the toolkit is the default selection of the core-efi.json config file. This would cause pointless package rebuilds since even sudo make build-packages would be configured to create all the packages needed to build the image (including the kernel which is quite slow).

From reading the description, I understand the rationale behind changing the default selection away from CONFIG_FILE=core-efi.json by default, since the main complaint we've had is this default value subverts the general expectations of running make build-packages to build all packages. So the intent here is to make the new default behavior build all possible packages, unless additional arguments are provided to confine the package build list?
Curious, how does CONFIG_FILE="" subvert the package rebuild issue? I thought we had SPEC directory file change tracking to prevent pointless package rebuilds, independent of CONFIG_FILE='s value? So for the build packages part of the tooling, CONFIG_FILE= would simply inform what packages are desired to have available. And CONFIG_FILE="" meant all packages should be available. Is this no longer the case, or am I missing certain parts of how build-packages works?

No, you have a good understanding of the underlying flow. The actual impact to the user though, is much more outsized. Even if they are working on a single package, if that package is very low down in the graph the scheduler will cascade the rebuilds up through the graph. A simple release bump in a foundational package that should take 5 minutes to build can result in a build that takes hours. This is partly remediated by https://github.com/microsoft/CBL-Mariner/pull/5993 however that feature is currently not on by default.

One of the most common sources of frustration for users of the toolkit is the default selection of the core-efi.json config file. This would cause pointless package rebuilds since even sudo make build-packages would be configured to create all the packages needed to build the image (including the kernel which is quite slow).

From reading the description, I understand the rationale behind changing the default selection away from CONFIG_FILE=core-efi.json by default, since the main complaint we've had is this default value subverts the general expectations of running make build-packages to build all packages. So the intent here is to make the new default behavior build all possible packages, unless additional arguments are provided to confine the package build list?
Curious, how does CONFIG_FILE="" subvert the package rebuild issue? I thought we had SPEC directory file change tracking to prevent pointless package rebuilds, independent of CONFIG_FILE='s value? So for the build packages part of the tooling, CONFIG_FILE= would simply inform what packages are desired to have available. And CONFIG_FILE="" meant all packages should be available. Is this no longer the case, or am I missing certain parts of how build-packages works?

No, you have a good understanding of the underlying flow. The actual impact to the user though, is much more outsized. Even if they are working on a single package, if that package is very low down in the graph the scheduler will cascade the rebuilds up through the graph. A simple release bump in a foundational package that should take 5 minutes to build can result in a build that takes hours. This is partly remediated by #5993 however that feature is currently not on by default.

Thanks for the explanation @dmcilvaney. I recommend adding a bit more information to the PR description and final squash merge message that clearly highlights the removal of CONFIG_FILE=core-efi.json default is changed to CONFIG_FILE="" which defaults to considering all packages wherever CONFIG_FILE= is passed, which IIRC is pretty much every top-level go application.


Question, Is it Possible to Emulate a DS18B20?

I was wondering how much work it would be to add a feature where this could emulate a DS18B20 sensor. The reason is that it could be used to test other boards that think they are talking to a DS18B20 sensor but we would be able to emulate the response and control the temperature being read.
The only other code doing something like this that I found was https://github.com/orgua/OneWireHub but it's not working well especially with all the ESP32 code updates (Arduino 3.x, IDF-5.x)
I just thought I'd ask in case this made sense to have as a feature

This lib handles 1-wire master side. The feature you are requesting is related to 1-wire slave side which would lead to completely different interface and implementation, therefore I'm not planning to add this as part of this lib.
I'd rather propose to rise an issue for OneWireHub to fix it there. (Basing on short investigation the OneWireHub sources I see the lib polls 1-wire bus for signal changes on time interval basis. I'd not assume this as optimal solution for such multitasking platforms as ESP32, so I'd recommend to fix this by upgrading the lib into interrupt-bases bus scanning.)


Plugin insists on installing latest Chef

Vagrant version: 1.7.1
vagrant-omnibus:  1.4.1
"Suddenly" it seems like Vagrant/Omnibus insists on installing the latest Chef regardless of my chef_version setting.  I hate words like "suddenly", but it seems sudden to me :-).  Perhaps the problem has been there all along and it really only matters to me lately, since Chef 12.x was released(?).
I really don't want the very latest version of Chef, for various reasons, but the main reason is that the Java cookbook seems to misbehave under that version.  But that is beside the point.
I have an example Vagrantfile like so:
VAGRANTFILE_API_VERSION = '2'

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = "ubuntu/trusty64"
  config.vm.hostname = "test"

  config.omnibus.chef_version = "11.8.2"

  #------------------
  # VirtualBox Config
  #------------------
  config.vm.provider :virtualbox do |vb, override|
    vb.name = 'test'
    vb.gui = false
    override.ssh.username = 'vagrant'
  end

  #------------------
  # Provision the Box
  #------------------
  config.vm.provision :chef_solo do |chef|
    chef.cookbooks_path = ENV['CHEF_COOKBOOKS_PATH']
    chef.add_recipe 'java'

    chef.json = {
        'java' => {
            'jdk' => {
                '7' => {
                    'x86_64' => {
                        'url' => 'file:///vagrant/jdk-7u60-linux-x64.tar.gz'
                    }
                }
            },
            'install_flavor' => 'oracle',
            'jdk_version' => '7',
            'oracle' => {
                'accept_oracle_download_terms' => true
            }
        }
    }
  end
end

So, you can see that I'm trying to lock my VM down to Chef 11.8.2, as demonstrated by the chef version set in the Vagrantfile above.
However, when I do a "vagrant up" with the above, I get the following:
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Mounting shared folders...
    default: /vagrant => /private/tmp/test
    default: /tmp/vagrant-chef-5/chef-solo-1/cookbooks => /Users/mthomas/Code/chef/cookbooks/meta/vendor/cookbooks
==> default: Chef 11.8.2 Omnibus package is already installed.
==> default: Running provisioner: chef_solo...
    default: Installing Chef (latest)...
Generating chef JSON and uploading...
==> default: Running chef-solo...
==> default: stdin: is not a tty
==> default: [2015-01-06T00:19:10+00:00] INFO: Forking chef instance to converge...
==> default: [2015-01-06T00:19:10+00:00] INFO: *** Chef 12.0.3 ***

Which then goes on to fail the Java install due to the checksum issue that seems to have been introduced with Chef 12.
I must be doing something stupid to deserve this, although I've been swimming happily along with Vagrantfiles very much like this for a year or so now.  Can someone shed some light?

Never mind :-).  Appears that this is a problem with 11.8.2 specifically.  If I change to 11.10.0, then that  version of Chef gets installed.  Very odd.  Anyway, 11.10 is compatible with our AWS OpsWorks configuration, so all the better.


Fix get_query_column_types to return the correct format for decimal d…

the function get_query_data_types returns decimal types without the Precision and Scale attributes. This pull request corrects this.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-sDRE8Pq0duHT
Commit ID: e41cc5e6299aa4217aa4abf26dc69c754672fa2d
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-sDRE8Pq0duHT
Commit ID: 36aad847d48ebeafc6639a82a2a5107892dfcc06
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-sDRE8Pq0duHT
Commit ID: 15c69e87fa66c43555a702a938a0304c4dabd96a
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Fair enough, the Athena data types doc does highlight precision and scale. I have refactored the code and added a test. Thanks for the contribution.


Fix NSFPlayerBoard

There's something strange going on at NSFPlayerBoard right now. The last time there were problems with setting the PC for the 6502 and "calling" the INIT/PLAY procedures. When all small bugs in APUSim are fixed, go back to NSF support and get this thing working properly.

NSF support requires a lot of dirty hacks in the hardware simulation, so it is easier to cut out the functionality in favor of regdump (APUPlayer).


Clean up  component in Operations view

###Description of the Tech Debt###
A <Review /> component has been added to forms/Operation for internal users to approve/reject an Operation's request for carbon tax exemption. It is functional but there is outstanding front-end work to polish up the styling and fix a small bug.
To see the Review component, click "View Details" on an Operation whose status is 'Pending'.

[x] make whitespace in component more aesthetic & functional
[x] I think according to the wireframes the buttons should be moved over to the right side of the page (?)
[ ] check with designers: should users be prompted to confirm they want to Approve/Reject before the change happens? (i.e., "Are you sure?"). At the moment there's no route to undo a status change once it's been made
[ ] the Alert component that should appear when an Operation is approved or rejected used to show up and stay there until the user dismissed it, but since the version upgrade of Next.js, it only flashes very briefly and then disappears. Would like to get that either staying until user manually dismisses it, or timeout after ~5 seconds

Putting this back in the sprint backlog for now as I am blocked waiting for a design sync.


MeshVersionFormatted 2 in MEDIT mesh

While looking at the MEDIT mesh format for #290 and nschloe/pygmsh#212, I found that meshio.read fails on the MEDIT mesh output by Gmsh (4.0.1-git-296dd75f0 here) because the header is
 MeshVersionFormatted 2

whereas medit_io.read_buffer expects version 1:
        if keyword == "MeshVersionFormatted":
            assert reader.next_item() == "1"

which is consistent with Frey (2001, §7.2.1, as cited in #290):

The mesh file must start with the descriptor:
MeshVersionFormatted 1

To reproduce the AssertionError:
gmsh -2 -format mesh -string Mesh.SaveElementTagType=2; t1.geo
python -c 'import meshio; meshio.read("t1.mesh")'

Apart from first line, the t1.mesh seems entirely consistent with Frey's specification.

According to https://www.math.u-bordeaux.fr/~dobrzyns/logiciels/RT-422/node58.html,

The file must begin with the keyword MeshVersionFormatted followed by the version number. This number indicates if the file contains single or double precision reals.

MeshVersionFormatted 1 : file writing with simple precision
MeshVersionFormatted 2 : file writing with double precision

That sounds simple enough.

Should probably meshio.medit_io.write
MeshVersionFormatted 2

too then.


[Suggestion] Have full bookshelves contribute enchanting power to the enchanting table

Add the behavior of the vanilla bookshelf blocks to filled book shelves with regards to enchanting tables.

This is something I've been meaning to do for awhile, but I just needed to come up with the proper balance. I don't want it to be too good so you are not powering an enchantment table with just one or two blocks, but not too bad to the point it is much more expensive than normal bookshelves.
I erred on the side of expensive with the following numbers:

1 full shelf of normal books is worth 1.5 times that of a vanilla bookshelf. This is 14 books compared to 3, but you are paying for the compactness as now you need just 10 shelves instead of 15.
1 full shelf of enchanted books is worth 2.5 times that of a vanilla bookshelf. This means you need just 6 shelves instead of 15.

Added in 0.1.4


update recipe, add tests

FYI @jakirkham

@jakirkham Hey there, is there anything else I can do here?


[WIP]: change outputhandler.handler to read from script than from text

@JamesWTruher @theJasonHelmick
When you have time, please have a look at this PR
json will look like this
"OutputHandlers":[
        {
            "ParameterSetName":"Default",
            "Handler": "c:\\temp\\script1.ps1"
        },
        {
            "ParameterSetName":"Summary",
            "Handler":"c:\\temp\\script2.ps1"
        }
    ],

thanks for this, but my plan is to allow for function, script, and inline output handlers. Scripts will be packaged with the module and scripts will be inlined into the module. The schema has to handle the 3 different types of handlers. I'll be getting to this as soon as I can, but the schema as you propose isn't quite flexible enough for my plans.

Allowing functions is a cool idea. But is it like referring function name with script name, similar to scriptname:FunctionName ?

@JamesWTruher will it be possible to share the thoughts you have on how to have different types of handler. I would like to try those out.

@kvprasoon I'm closing this as we have this functionality in preview 4

Thanks @JamesWTruher , couldn't get much time to explore the latest versions.


Not seeing json under details section

Not able to see the json under details section in emulator when i am connected to a bot running locally

Hi @sbrnag The details pane should display the JSON of a chat message when it is clicked on in the chat window. Is this not working for you?

Yes.
On 01-Dec-2016 2:23 pm, "Eric Anderson"<EMAIL_ADDRESS>wrote:

Hi @sbrnag https://github.com/sbrnag The details pane should display
the JSON of a chat message when it is clicked on in the chat window. Is
this not working for you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/BotFramework-Emulator/issues/27#issuecomment-264115991,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGNhKc7TGysf7VjOgrZVop8T302Brq3cks5rDoskgaJpZM4LBII0
.

When a chat message is selected, it gets a black background color. Can you verify this happens when you click on a message in the chat window?

Yes clicking on message i am able to see the JSON.
Thanks a lot for your quick reply


AMBARI-25747: 500 Server Error Occurrs When Access to /api/stomp/v1/xxx/xxxx/xhr_send for branch-2.7

What changes were proposed in this pull request?
Upgrade Spring to 5.3.22 and fix websockt errors for branch-2.7
Please see #3336  &  #3377
(Please fill in changes proposed in this fix)
How was this patch tested?
ambari-server project can be compiled successfully in local
(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)
Please review Ambari Contributing Guide before opening a pull request.

@brahmareddybattula please review this fix for branch-2.7

thanks for PR. +1.


composer: seed the random number generator

I thought rand in Go is auto-seeded but I was wrong, see [1].
This commit adds seed initialization.
[1]: https://golang.org/pkg/math/rand/#Seed

Where is math/rand being used? I see crypto/rand being used in several places but not math/rand -- they are different :) crypto/rand gets its numbers from getrandom or /dev/urandom and is much better than math/rand which, even with it seeded, has a higher chance of collisions between systems (unlikely with the uses of Nano but still possible if a number of systems all start at the same time).

I added math/rand here: https://github.com/osbuild/osbuild-composer/pull/1131 I guess I can seed the Manifest() function with crypto/rand...

I force-pushed a version with crypto/rand. The global rand.Seed() call that I had before was ugly, I think this is nicer.

Ha, I was looking at the wrong branch when searching for math/rand use :) Looks good to me.

https://github.com/osbuild/koji-osbuild/pull/54 and https://github.com/osbuild/osbuild-composer/issues/1135 appeared, otherwise we're green. :green_heart:


can someone share their pre-trained model?

I'd like to play with this but I don't have a hardware to train with.
someone who has trained this, can share their weights, I would appreciate it

Can someone share the trained model.
Thanks

Me too. I really want to try this model. Please share the weights.


lxd/rbac: Fix auth for non-RBAC trusted clients

Signed-off-by: Stéphane Graber<EMAIL_ADDRESS>

Testsuite passed


Contributing docs

I was thinking of updating the docs to add the extra steps required to run on Scala Native in #31.
But I'm not sure how to do this. I see markup in the website folder, which seems to reflect what I see on the website, and some out of date markup in docs.

So, docs actually contains the latest content, but website contains snapshots of the docs for every release of ScalaPy, which allows users to switch between versions of the docs corresponding to different ScalaPy versions. So new docs on Scala Native would go into docs, and then at the next release I would snapshot them into the website folder.


Need repository-s3 during bootstrap for remote-backed storage

Hello,
I'm trying to utilize remote-backed storage. However, it seems that during the bootstrap process, the repository-s3 plugin is required. As of now, plugins cannot be used during bootstrap, rendering the use of remote-backed storage impossible.
Is there a workaround for this or any plans to support plugins like repository-s3 during bootstrap? This capability would greatly enhance our workflow.
Thank you!

Summary:
Remote-backed storage in OpenSearch allows for the automatic creation of backups of all index transactions, sending them to remote storage. This feature requires segment replication to be activated. The main mechanism involves indexing write requests to Lucene on the primary shard only, then uploading the corresponding translog to a remote store. This storage method must be enabled during the cluster bootstrapping process, and once set, cannot be toggled on/off. The communication with the configured remote cluster is facilitated through the Repository plugin interface, and this is compatible with various storage solutions like Amazon S31.
Analysis:
Given your initial concern about the necessity of the repository-s3 during bootstrapping, it's clear from the documentation that during the bootstrapping process, the remote-backed repositories listed in opensearch.yml are automatically registered. This means the repository configurations, such as those for S3, are vital at this stage. The inability to use plugins like repository-s3 during bootstrapping poses a challenge for those wanting to use remote-backed storage, especially if they are looking to utilize solutions like Amazon S3. This could be a significant limitation for users who rely on S3 or similar services for their storage solutions.

Hi @kuro96al. Your issue looks a lot like the one from #430. Does the workaround described there work for you?

It is a separate issue.
In order to utilize remote-backed storage, it is necessary to configure S3 during bootstrap. Therefore, it is necessary for repository-s3 to be referable during bootstrap.
Remote-backed storage is a cluster level setting. It can only be enabled when bootstrapping to the cluster.
https://opensearch.org/docs/latest/tuning-your-cluster/availability-and-recovery/remote-store/index/

If the plugin is not referenced during bootstrap, the following error will occur during node startup:
[2023-10-12T19:08:30,565][INFO ][o.o.c.c.JoinHelper       ] [opensearch-test-nodes-0] failed to join {opensearch-test-bootstrap-0}{JS8nlEHCT2aOwmW1y0fC-g}{mXL7GcmDTHazlvq99Estyg}{opensearch-test-bootstrap-0}{<IP_ADDRESS>:9300}{m}{shard_indexing_pressure_enabled=true} with JoinRequest{sourceNode={opensearch-test-nodes-0}{8Y82plKwQZuSXp32J5bC7g}{8D66PwhcTpKjVzzJkp3PFw}{opensearch-test-nodes-0}{<IP_ADDRESS>:9300}{dim}{remote_store.repository.my-repo.settings.region=dev, remote_store.repository.my-repo.type=s3, remote_store.repository.my-repo.settings.base_path=store, remote_store.state.repository=my-repo, remote_store.repository.my-repo.settings.bucket=abyss2-test-opensearch-store, shard_indexing_pressure_enabled=true, remote_store.segment.repository=my-repo, remote_store.translog.repository=my-repo}, minimumTerm=1, optionalJoin=Optional[Join{term=1, lastAcceptedTerm=0, lastAcceptedVersion=0, sourceNode={opensearch-test-nodes-0}{8Y82plKwQZuSXp32J5bC7g}{8D66PwhcTpKjVzzJkp3PFw}{opensearch-test-nodes-0}{<IP_ADDRESS>:9300}{dim}{remote_store.repository.my-repo.settings.region=dev, remote_store.repository.my-repo.type=s3, remote_store.repository.my-repo.settings.base_path=store, remote_store.state.repository=my-repo, remote_store.repository.my-repo.settings.bucket=abyss2-test-opensearch-store, shard_indexing_pressure_enabled=true, remote_store.segment.repository=my-repo, remote_store.translog.repository=my-repo}, targetNode={opensearch-test-bootstrap-0}{JS8nlEHCT2aOwmW1y0fC-g}{mXL7GcmDTHazlvq99Estyg}{opensearch-test-bootstrap-0}{<IP_ADDRESS>:9300}{m}{shard_indexing_pressure_enabled=true}}]}
org.opensearch.transport.RemoteTransportException: [opensearch-test-bootstrap-0][<IP_ADDRESS>:9300][internal:cluster/coordination/join]
Caused by: java.lang.IllegalStateException: a remote store node [{opensearch-test-nodes-0}{8Y82plKwQZuSXp32J5bC7g}{8D66PwhcTpKjVzzJkp3PFw}{opensearch-test-nodes-0}{<IP_ADDRESS>:9300}{dim}{remote_store.repository.my-repo.settings.region=dev, remote_store.repository.my-repo.type=s3, remote_store.repository.my-repo.settings.base_path=store, remote_store.state.repository=my-repo, remote_store.repository.my-repo.settings.bucket=abyss2-test-opensearch-store, shard_indexing_pressure_enabled=true, remote_store.segment.repository=my-repo, remote_store.translog.repository=my-repo}] is trying to join a non remote store cluster
        at org.opensearch.cluster.coordination.JoinTaskExecutor.ensureRemoteStoreNodesCompatibility(JoinTaskExecutor.java:579) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.cluster.coordination.JoinTaskExecutor.ensureNodesCompatibility(JoinTaskExecutor.java:507) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.cluster.coordination.JoinTaskExecutor.ensureNodesCompatibility(JoinTaskExecutor.java:470) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.cluster.coordination.JoinTaskExecutor.lambda$addBuiltInJoinValidators$3(JoinTaskExecutor.java:598) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.cluster.coordination.Coordinator.lambda$handleJoinRequest$6(Coordinator.java:606) ~[opensearch-2.10.0.jar:2.10.0]
        at java.util.ArrayList.forEach(ArrayList.java:1511) ~[?:?]
        at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092) ~[?:?]
        at org.opensearch.cluster.coordination.Coordinator.lambda$handleJoinRequest$7(Coordinator.java:606) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.core.action.ActionListener$1.onResponse(ActionListener.java:82) ~[opensearch-core-2.10.0.jar:2.10.0]
        at org.opensearch.transport.ClusterConnectionManager.connectToNode(ClusterConnectionManager.java:138) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.transport.TransportService.connectToNode(TransportService.java:493) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.transport.TransportService.connectToNode(TransportService.java:473) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.cluster.coordination.Coordinator.handleJoinRequest(Coordinator.java:602) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.cluster.coordination.JoinHelper.lambda$new$1(JoinHelper.java:209) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.security.ssl.transport.SecuritySSLRequestHandler.messageReceivedDecorate(SecuritySSLRequestHandler.java:215) ~[?:?]
        at org.opensearch.security.transport.SecurityRequestHandler.messageReceivedDecorate(SecurityRequestHandler.java:315) ~[?:?]
        at org.opensearch.security.ssl.transport.SecuritySSLRequestHandler.messageReceived(SecuritySSLRequestHandler.java:163) ~[?:?]
        at org.opensearch.security.OpenSearchSecurityPlugin$7$1.messageReceived(OpenSearchSecurityPlugin.java:763) ~[?:?]
        at org.opensearch.indexmanagement.rollup.interceptor.RollupInterceptor$interceptHandler$1.messageReceived(RollupInterceptor.kt:113) ~[?:?]
        at org.opensearch.performanceanalyzer.transport.PerformanceAnalyzerTransportRequestHandler.messageReceived(PerformanceAnalyzerTransportRequestHandler.java:43) ~[?:?]
        at org.opensearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:106) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.transport.InboundHandler$RequestHandler.doRun(InboundHandler.java:454) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:908) ~[opensearch-2.10.0.jar:2.10.0]
        at org.opensearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:52) ~[opensearch-2.10.0.jar:2.10.0]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
        at java.lang.Thread.run(Thread.java:833) [?:?]
        ```

The most important part of the error is as follows, and occurs because the S3 configuration was not included during bootstrap:
is trying to join a non remote store cluster

The following setting(opensearch.yml) should be passed specifically:
  bootstrap:
    jvm: '-Xmx2048M -Xms2048M  -Dhttp.proxyHost=pwg01-8080.yahoo-net.jp -Dhttp.proxyPort=8080 -Dhttps.proxyHost=pwg01-8080.yahoo-net.jp -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts="localhost|*.nonproxy.com|<IP_ADDRESS>|*.corp.yahoo.co.jp|*.dev.yahoo.co.jp|*.icos-d.yahoo.co.jp"'
    additionalConfig:
      cluster.indices.replication.strategy: 'SEGMENT'
      node.attr.remote_store.segment.repository: my-repo
      node.attr.remote_store.translog.repository: my-repo
      node.attr.remote_store.state.repository: my-repo
      node.attr.remote_store.repository.my-repo.type: s3
      node.attr.remote_store.repository.my-repo.settings.bucket: abyss2-test-opensearch-store
      node.attr.remote_store.repository.my-repo.settings.base_path: store
      node.attr.remote_store.repository.my-repo.settings.region: "dev"

Duplicate of #430 . Installing plugins in the bootstrap pod is tracked there. Closing this issue.


Gather Data for Experiment 4

A Nice to have: Run figure 8 experiment but using link traces captured from an actual cellular link (The Verizon trace).
Once we have the data, we can plot the results reusing the same drawing code we have for figure 8.

1 pass of this is done.


chore: bdd-sbhg-1578316137 to 0.0.1

chore: Promote bdd-sbhg-1578316137 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Fix the default value for monsterHabitatsFightsLeft

Whatever.
Properties are strings.
You can fetch them as  a string, integer, float, or boolean.
If the string value is "", you get 0, 0.0, or false, respectively.
So,yes - the default should be 0, but can you explain, exactly, how this was user visible?
And can gausie please explain why he merged this without making a review?
Thanks.

Oh I just wasn't thinking, sorry. I meant to approve and then merge.
It's useful to have the correct default value because there is a tool for TypeScript that infers the type of properties by the default value. So having this zero will tell that tool that scripters should expect this pref to be numeric

(I wrote that tool)

Ok,that is fair, I guess.
Is there a runtime library function to get the default value of a property?
Is there a data integrity test that looks at defaults.txt and ensures that a property name us either followed by a TAB or NL? And that property names do not have any embedded spaces, which is a sign that whoever put in a default did it wrong?
(A common mistake for first contributors- or even experienced ones.)

> ashref default

string property_default_value( string )
boolean property_has_default( string )
the reason I was interested in adding this fix was as gausie said the aforementioned typescript library which uses the default values to determine the typing.

Ok,that is fair, I guess.
Is there a runtime library function to get the default value of a property?
Is there a data integrity test that looks at defaults.txt and ensures that every property name is either followed by a TAB or NL? And that property names do not have any embedded spaces, which is a sign that whoever put in a default did it wrong?
(A common mistake for first contributors - or even experienced ones.)

The comment in DataFileMechanicsTest is that defaults.txt is too complex and thus not included.  That test is old enough that revisiting it or making a test specifically for defaults would be worthwhile.


Problems trying to Render a nextjs page blob (from a HTTP POST) into an iframe src

I’m trying to render a nextjs page blob (from a HTTP POST) into an iframe src.
I do a HTTP POST to an url in my next server. Then convert that html document into a blob using const urlBlob = URL.createObjectURL(blob) and passing that into an iframe <iframe src={urlBlob}/>
I had to use assetPrefix in next.config.js to point to the host, in this case http://localhost:3000
In npm run dev the hmr is unavailable.
After running npm build and npm start it renders the page on an iframe and the JS loads.
The problem is that the router is breaking my JS.

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Javascript should be functional. I expect the router to be disabled.
Current Behavior

Javascript crashes with the following error:
app.js:15 Failed to execute 'replaceState' on 'History': A history state object with URL 'tp://localhost:3000/2ada9931-0621-4f74-81ed-dc8255a340e6' cannot be created in a document with origin 'http://localhost:3000' and URL 'blob:http://localhost:3000/2ada9931-0621-4f74-81ed-dc8255a340e6'.
Steps to Reproduce (for bugs)

HTTP Post to a NextJS page
Render the html blob into an iframe using Url.createObjectURL
Open browser's console and see the router errors.

Context

I am unable to use JS on iframes which are populated by blobs.
Your Environment

Tech
Version

next
4.1.0

node
8.8.1

OS
OSX High Sierra

browser
Chrome 62

etc
...

That has been fixed in Next 5/5.1.


Add a license

It looks like there's no license on this project, I would assume this is because you meant for it to be open source, however if nothing is specified it is by default closed-source software.  I would suggest an MIT, or perhaps LGPL license for this project.  If you want more information check out

whoops, forgot to include the link, if you'd like more information check out https://choosealicense.com/

bump @martinkooij


Sync outline with code

Issue Type: Feature Request
In outline window, follow and highlight the items that the location of cursor is inside code window
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No
Remote OS version: Linux x64 5.4.72-microsoft-standard-WSL2
Remote OS version: Linux x64 5.4.72-microsoft-standard-WSL2
Remote OS version: Linux x64 5.4.72-microsoft-standard-WSL2

I realized that there's already a "follow cursor" option, though, it don't work for constants.
So, it can be improved by following all items.

I realized that there's already a "follow cursor" option, though, it don't work for constants.
So, it can be improved by following all items, and display a skeleton row above the highlighted item to show the total belong-to structure.

I realized that there's already a "follow cursor" option, though, it don't work for constants.

What language and what language extension do you refer to?

@jrieken I was using C, file with .c extension


[Task]: Create a menu component

https://github.com/appsmithorg/appsmith/issues/16139
https://github.com/appsmithorg/appsmith/issues/16396
https://github.com/appsmithorg/appsmith/issues/8971


Should we remove files that are common in Volto and Plone docs?

@stevepiercy Should we remove files that are common in Volto and Plone docs? For instance, cheatsheet.md is already serving its purpose on Plone docs.

@nileshgulia1 I do not know. That should be discussed amongst the Volto team because y'all might want to keep it for the stand-alone build or move parts of it.
Originally posted by @stevepiercy in https://github.com/plone/volto/issues/3032#issuecomment-1030914177

If you work in the Volto docs, you won't have the full Plone docs at hand, thus, the cheatsheet will be in other repo, so my take (and personal wish) would be to keep the cheatsheet.md although, no linked.
Are there any other files that we should review?

OK, we'll keep it. The necessary fix is to add an entry to the toctree directive for the files you want to keep, then add a parameter of hidden. That should remove the warning.

Actually I was wrong. The correct MyST syntax is the following, placed after the html_meta tags:
```{eval-rst}
:orphan:
```

This is handled in #3084. Closing.


Fix various bugs with align-rule

Align rule won't crash on new expression without parens
Align rule now checks constructor and method declarations
Align rule test file now uses valid/normal TS syntax

Fixes #642


No suport for extra world?

We have a extra world on the server, but you dont get paid in that world.
No worlds is blacklisted.
Server Type (Spigot/Paperspigot/etc):
papermc
Server Version (using /ver):
1.16.1 133

You were not granted jobs.world.yourWorld permission.

You were not granted jobs.world.yourWorld permission.

Yes it work.


ERROR (theano.gof.cmodule): [Errno 12] Cannot allocate memory

Dear  miriambellver, thanks for your share.
I met a problem when ran your code:
Problem occurred during compilation with the command line below: /usr/bin/g++ -shared -g -O3 -fno-math-errno -Wno-unused-label -Wno-unused-variable -Wno-write-strings -march=core-avx-i -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mrdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=core-avx-i -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -m64 -fPIC -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -I/usr/local/lib/python2.7/dist-packages/theano/gof -fvisibility=hidden -o /home/leemo/.theano/compiledir_Linux-3.16--generic-x86_64-with-Ubuntu-14.04-trusty-x86_64-2.7.6-64/tmprBtt4Q/af8288e23d4f9216c7a523f6c00e6cf5.so /home/leemo/.theano/compiledir_Linux-3.16--generic-x86_64-with-Ubuntu-14.04-trusty-x86_64-2.7.6-64/tmprBtt4Q/mod.cpp -L/usr/lib -lpython2.7 ERROR (theano.gof.cmodule): [Errno 12] Cannot allocate memory Traceback (most recent call last):   File "image_zooms_testing.py", line 98, in <module>     state = get_state(region_image, history_vector, model_vgg)   File "/home/leemo/git-repo/detection-2016-nipsws/scripts/reinforcement.py", line 46, in get_state     descriptor_image = get_conv_image_descriptor_for_image(image, model_vgg)   File "/home/leemo/git-repo/detection-2016-nipsws/scripts/features.py", line 198, in get_conv_image_descriptor_for_image     _convout1_f = K.function(inputs, [model.layers[31].output])   File "/usr/local/lib/python2.7/dist-packages/keras/backend/theano_backend.py", line 802, in function     return Function(inputs, outputs, updates=updates, **kwargs)   File "/usr/local/lib/python2.7/dist-packages/keras/backend/theano_backend.py", line 788, in __init__     **kwargs)   File "/usr/local/lib/python2.7/dist-packages/theano/compile/function.py", line 320, in function     output_keys=output_keys)   File "/usr/local/lib/python2.7/dist-packages/theano/compile/pfunc.py", line 479, in pfunc     output_keys=output_keys)   File "/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py", line 1777, in orig_function     defaults)   File "/usr/local/lib/python2.7/dist-packages/theano/compile/function_module.py", line 1641, in create     input_storage=input_storage_lists, storage_map=storage_map)   File "/usr/local/lib/python2.7/dist-packages/theano/gof/link.py", line 690, in make_thunk     storage_map=storage_map)[:3]   File "/usr/local/lib/python2.7/dist-packages/theano/gof/vm.py", line 1003, in make_all     no_recycling))   File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 970, in make_thunk     no_recycling)   File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 879, in make_c_thunk     output_storage=node_output_storage)   File "/usr/local/lib/python2.7/dist-packages/theano/gof/cc.py", line 1200, in make_thunk     keep_lock=keep_lock)   File "/usr/local/lib/python2.7/dist-packages/theano/gof/cc.py", line 1143, in __compile__     keep_lock=keep_lock)   File "/usr/local/lib/python2.7/dist-packages/theano/gof/cc.py", line 1595, in cthunk_factory     key=key, lnk=self, keep_lock=keep_lock)   File "/usr/local/lib/python2.7/dist-packages/theano/gof/cmodule.py", line 1142, in module_from_key     module = lnk.compile_cmodule(location)   File "/usr/local/lib/python2.7/dist-packages/theano/gof/cc.py", line 1506, in compile_cmodule     preargs=preargs)   File "/usr/local/lib/python2.7/dist-packages/theano/gof/cmodule.py", line 2182, in compile_str     p_out = output_subprocess_Popen(cmd)   File "/usr/local/lib/python2.7/dist-packages/theano/misc/windows.py", line 75, in output_subprocess_Popen     p = subprocess_Popen(command, **params)   File "/usr/local/lib/python2.7/dist-packages/theano/misc/windows.py", line 36, in subprocess_Popen     proc = subprocess.Popen(command, startupinfo=startupinfo, **params)   File "/usr/lib/python2.7/subprocess.py", line 710, in __init__     errread, errwrite)   File "/usr/lib/python2.7/subprocess.py", line 1223, in _execute_child     self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory
I used a GT750M GPU which has 4GB memory to run this code, but seems the GPU memory is still not enough, so can you tell me how many resource have you used when you ran your code, have you ever met this problem before?
BTW, I used theano as bakcend.
Using Theano backend. Using gpu device 0: GeForce GT 750M (CNMeM is enabled with initial size: 95.0% of memory, cuDNN 5005)

Hi!
No, I haven't met this problem before, but what I use is a K80. The problem may be that VGG-16 does not fit in the memory of your GPU.
Míriam

Well, thx. Maybe I should try another machine which has larger GPU memory.


[HOPS-807] SetOwner should update the usersgroups cache on all namenodes

Make sure there is no duplicate PR for this issue

Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added and passed (for bug fixes / features)
[x] HOPS JIRA issue has been opened for this PR
[x] All commits have been squashed down to a single commit
[x] The commit message has the following format: [HOPS-XXX] message

Post a link to the associated JIRA issue
https://hopshadoop.atlassian.net/browse/HOPS-807

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

Can one of the admins verify this patch?


Fail to open the workflow file when clicking the child node of GitHub Configuration

OS: Win 10
Build Version: 20210827.7
Regression: Previous Release
Repro Steps:

Expand one Static Web App -> Production node -> GitHub Configuration -> Click one child node of GitHub Configuration.
Check whether the workflow file opens without any error.

Expect:
The workflow file opens without any error.
Actual:
Fail to open the workflow file with an error.

More Info:

The workflow file exists in File Explorer.
This issue does not reproduce on Mac and Linux platforms.
This issue does not reproduce on the previous released extension v0.7.1.

Tracking external bug here: https://github.com/microsoft/vscode/issues/131925
But we should fix this for the release


Add Arabic courses

What does this PR do?
Add resource(s)
For resources
Description
Why is this valuable (or not)?
I added courses on OOP paradigm, SOLID principles, operating systems, logic programming, and Firebase in Flutter.
How do we know it's really free?
All my resources are from YouTube.
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[ ] Read our contributing guidelines
[ ] Search for duplicates.
[ ] Include author(s) and platform where appropriate.
[ ] Put lists in alphabetical order, correct spacing.
[ ] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

:information_source: It's usually not helpful to add a category for a single resource. :twisted_rightwards_arrows: Try to...

... take a look at other files to know how to are organized
... find another category/section matching their topics.
... see if there are other resources of same genre (books, courses...) in our lists or third-party that would fit into this newer. This fact could contribute to consolitate it.

I tried to do your guidelines but there are some topics like operating systems, I can't categorize them
@davorpa

I tried to do your guidelines but there are some topics such as operating systems. they can't be categorized.
@davorpa

For "Logic Programming - Prolog" should I change its name to "Prolog" or "Logic Programming" or leave it?
@davorpa

It's usually not helpful to add a category for a single resource. Remember, the goal is to help users find books of interest, not to create a global ontology. That means multiple items should be grouped together whenever possible.

Thanks, and welcome to free-programming-books!

You're welcome, I am happy to contribute to this wonderful work.
@eshellman


Support pnpm v9

Support pnpm v9 versions (currently in release candidate)

Thanks for bringing this to out attention, @BlueGreenMagick.
We'll get this released in the next hour or so

@BlueGreenMagick - this has just gone out in version 3.3.0


Custom names for commands

As a users, for the following commands: build, up, down I would like to be able to just pass a name of an environment and have it be build if the settings are available, otherwise display me an error.
Currently the command is hard coded as npm run build:dev.
Instead if should be npm run build (--)dev.  It may need a switch depending on the library used.
Based on the name, the Dockerfile. files are used, as well as other environmental settings.

Now done with flags to npm commands, see documentation.


Supporting mask

🚀 Feature
In addition to ignore_index, metrics should also support masks, which are more robust.
I posted this reply under a closed issue https://github.com/Lightning-AI/metrics/issues/54#issuecomment-1275195071, but it might have been overlooked because it's closed. So just wanted to draw attention to this. Feel free to close this and reopen the original issue, if appropriate.

Hi @ZhaofengWu,
Thanks for raising this issue. We can definitely agree that this would be an awesome feature to include in torchmetrics.
However, it will not be an priority for us right now.

Actually, I just realized that not all classes have a ignore_index. Then, for example, how should we do token-level regression, where the sequence lengths in a batch are variable, when MeanSquaredError doesn't take either ignore_index or a mask?

And this was also kind of my initial point. It doesn't make sense to have ignore_index in many settings such as regression, while masks are more universal.


[BUG] Events CSS issue

Description
Events in light mode are missing the top border color at each card, this is likely due to a recent deployment.
Dark mode is affected here as well as described by @dan-mba :
The class border-l-3 is not being handled by Tailwind.
The reorg of the EventCard added a wrapper to the previous card which has a #e5e7eb border, so it only shows in dark mode.
https://linkfree.io/events
Now:

Previously:

Screenshots
No response
Additional information
No response

This problem is more complicated.
It affects dark mode as well.
The class border-l-3 is not being handled by Tailwind.
The reorg of the EventCard added a wrapper to the previous card which has a #e5e7eb border, so it only shows in dark mode.

Thanks @dan-mba for the additional details.  I couldn't remember what dark mode looked like previously. I will add your notes to the issue description

@anikdhabal please comment on this issue so I can assign it to you.

@anikdhabal please comment on this issue so I can assign it to you.

pls assign me this issue


Slider and duration not synced to audio playing

[Video attached at bottom for better explanation/visualization]
A background on what I'm trying to achieve:
I have an app that has two distinct activities, a main window and (obviously) the second one that has the player.
The player is displayed in an AlertDialog, because I have two other different activities that require the same audio player.
so to avoid writing same code three times I came up with the solution of having a custom AlertDialog that has your beautiful library and opens through a menu click in all three.
When I open the second activity,
I can open the dialog, play the audio files (they are all mp3 files) with no issues.
I have managed to make it if the dialog is dismissed while playing and called (opened) again, it is synced perfectly. I achieved this by simply making sure to not reload the player again (not fetching the view again) if it's from the same Context as previous.
My Issue
When the dialog is dismissed while the audio is playing, and I return to main activity, and back to second,
if I open the dialog, now the slider and the total/duration timer (AND play/pause button) is not synced, but current time of the audio is synced (the time the audio file is at). Slider is always at the end and total/duration time shows 00:00. I think mostly due to the fact that even if I open the same second activity I have to reload the player (do the findView ...) because although I opened the same second activity, the Context changed, and I HAVE to reload stuff or else the dialog won't show since I'm in a different context (still same activity but different context as previous one was destroyed).
I'm looking for way to refresh the slider and duration time of the audio file (AND the play/pause button accordingly) so it's synced as well when I reopen the dialog when revisiting the activity again and the audio is still playing.
Some other stuff that might be irrelevant or maybe useful for you to identify the issue :

I only create/have one JcPlayerManagerListener and one ArrayList<JcAudio>  and initialize them once.
I always run initPlaylist() on every dialog open again and do set the already created Manager and ArrayList to it everytime.
For now, I only run ... new Dialog(context, style) and dialog.findViewById(R.id.audio_player) when dialog is opened in a new context (meaning once every time user leaves and comes back).
Most of my variables are set as static.

I believe overall if I only have the main activity and the other three loaded as fragments I could fix the issue by opening the dialog in main always (or even have it as a view in main like the sample app), but I was hoping there was a way to fix the issue currently without going through a major change in my app since all three are tied to a ton of other stuff just to fix that small UI bug.
A demonstration of the issue : In some moments in the video you may see the timer/slider frozen, this is because I recorded a quick vid and when I edited it I slowed down the video so the on-vid text can be read, so no issues there. only the stuff not synced to player.
https://user-images.githubusercontent.com/47919702/145464953-d7a66468-7453-418d-8217-8032df648f62.mp4
...

Hello @H4zh4n. Great explanation.
Do you have this sample code available for free? We need to debug the code to figure this out.

@jeancsanchez this is a sample project with only the audio related stuff  :
Sample for JCPlayer Issue
Apologies for the hassle and thanks a ton in advance.

@jeancsanchez I'm terribly sorry, but is it possible that you look into it now maybe?

@H4zh4n Sorry for the delay.... can you post your code here on Github? I don't usually download zip files :)
But for now I have a suggestion for you: have you tried calling jcplayer.kill() when second activity is finished? I think if your player activity is finished, the player also has to be finished .

@jeancsanchez
sure thing, below link is for a repo I just made.
 I want it to stay playing (it does, no issues there), the only issue I face is when I leave and go back into the second activity the stuff isn't synced to the audio which is still playing.
I was thinking maybe trying to kill it, play it again, and then (skip/seek) the audio might fix it, but I just couldn't find how to perform seekTo, I checked all other comments which you mentioned how through the JcPlayerManager, didn't work for me. can't call a method name seekTo or anything similar through anywhere.
Also, in the other issues I believe one person had the same issue as me Issue#111

Fixed on version 2.7.1. Thanks for feedaback ❤

@jeancsanchez
Thank you so much for the great work. really appreciate it. everything works as intended now.
do you still prefer patreon as a method to support you ? I want to makeup a bit for the hassle I put you through.
I had another issue so below is only a heads-up for those that comes across this thread with same design structure as me.
hopefully it helps someone...
If ever wanted to stop the player and swap the audios with new files when the dialog is opened (say opening same dialog from different activity that has different audios to be played), it's best to place jcplayer.kill() before the the findViewById (best to put a null check there incase it's a first run).
I thought the jcplayer.kill() only stops the player, but from what I looked at I believe it clears everything related to the player, so it's maybe required to init (do the findViewById again) after jcplayer.kill() in that situation.
your comment saying below helped me figure this out.

have you tried calling jcplayer.kill() when second activity is finished? I think if your player activity is finished, the player also has to be finished.

One more note: it might be better to call player.resume() when your activity is in resumed state. To do that, your dialog need to Implements LifeCyclerObserver interface.


arbitrary value length limit of 1024 bytes

via the original discussion by @tmr232:

Regarding the 1024 bytes limit. I find it a bit problematic. The first plugin I wanted to use ida-settings is my plugin-loader. The loader currently holds a list of paths for all the plugins it loads. Paths are naturally long, so the data is easily over 1024 bytes. Any solution that resolves that on the plugin side is bound to be messy.
Any thoughts on that? I am leaning towards letting a JSON dump spread over several nodes.

Yes, I think this is a pretty annoying limitation.
Spreading the JSON over multiple netnodes is the same solution I came to a while back for another project. I have an existing library for netnode access that supports arbitrarily sized values, and handles the allocation of nodes. It would be a good fit for this project, and should solve the issue.
I'll spawn off another project to hold this code. You've provided some great feedback on ida-settings; would you mind giving the new project a review as well? I've enjoyed having a second pair of eyes note issues, suggest changes, and provide logical arguments.

i haven't tested the packaging yet, but here's ida-netnode


Try slow double-clicking on a file in the tree view

When I double-click the file in the tree view, the first click adds that file to the "Open Files" list at the top, which instantly pushes down the tree view by one row. Then second click (from my double-click) happens, and it is registered as an intention to open another file, the one above intended file.
It's quite annoying, as occasionally I happen to open a wrong file.
Try slower double-clicking in the tree view. Fast double-click won't cause wrong file opening, but slower will.
Do you see?
I'm wondering maybe a delay would help? Like put a couple seconds delay between the first click on the tree view and "Open Files" item appearing... What do you think?

Thanks for bringing this up. Yes, I also noticed this problem. I followed your suggestion and I'm making some changes to the package to delay the appearance of the file in the 'open files' panel. I made the duration of the delay configurable, and I also added an animation so that that the appearance of the file in the panel is smoother (the duration of the animation is also configurable). I'm dealing with some regressions at the moment and I need to take care of those before I can publish the update, but hopefully I'll get this done within this week. Thanks again for taking the time to report this!


Pass/Access ContentPadding in Child-Destinations

As of Android 15 apps will be drawing under status/navbar per default.
So we need to handle insets in the destinations properly.
Scaffold(bottomBar = {
                            BottomBar(
showBottomBar
                            )
                        }) { contentPadding ->
                            DestinationsNavHost(...) {...}

Having a bottomBar that is shown/hidden depending on certain destinations will influence the contentPadding of for the Destinations - so i thought i will just expose a "getter" for the contentPadding as dependency to be accessed in the destinations then.
@Composable
@Destination<PhotosNavGraph>(navArgs = PhotoGalleryNavArgs::class, start = true)
fun PhotoGalleryScreen(
    navigator: DestinationsNavigator,
    getContainerPadding: () -> PaddingValues,
    modifier: Modifier = Modifier,
) {

Problem is now that the contentpadding is only updated after the navigation is finished -> Destination is being rendered before the bottom bar is hidden.
(I do have child-destinations were the bottom bar is shown - woulnd't be a problem if the bottom bar is only visible at the top-level - then i could ignore the inset)
Any Idea to overcome that issue?

i managed to get it working by using contentWindowInsets on the scaffold of  the child destination.
not quite sure why this works not, potentially bc. the scaffold is recomposed a few times and by then the parent has adjusted it's insets.


Suggest alternative tasks that use Open Source softwares

As proposed in #17 It would be a good idea to propose at least one Open Source alternative (with a tasks/guide) for every non-free softwares we are suggesting in a module.
For example, we have a task in Module 5 on how to use GitHub. The goal will be to also create a similar tasks with a open source softwares like GitLab (or an other FOSS alternative).

So this is a great idea, I think. In the main text for Module 5 we do mention this, but just not explicitly in the tasks. Yet. Do you think we should do the same sort of screencast efforts for open alternatives too? I should note that for some, like Publons, there simply aren't any open alternatives too. I think being more explicit about these things is a great idea though.

Do you think we should do the same sort of screencast efforts for open alternatives too?

You mean the audio version? To give an example, what I had in mind is to do somthing like https://github.com/OpenScienceMOOC/Module-5-Open-Research-Software-and-Open-Source/blob/master/content_development/Task_1.pdf but with an open alternative.

I should note that for some, like Publons, there simply aren't any open alternatives too.

Of course, if there isn't a open alternative (yet) I think it's totally ok to only have a task with a non-free software.

OK, gotcha! The thing is, I'm not too familiar with GitLab, so this would either take a lot of learning on my part, or getting someone already familiar with it to do the text/audio/screencast guide. Do you think simply mentioning it in the existing tasks could be sufficient? That would be much more simple.

I could probably do the text part during the holiday or we could also send a message on slack (maybe twitter) to see if someone would be willing to help with that issue.

Good idea! Lemme ask around too and see what we can conjour up. Perhaps we could also just pilfer this? https://www.youtube.com/watch?v=enMumwvLAug

Looks good to me. Don't know if it's up-to-date tho they've redesign the website a bit. But yea, that's a start. ;)


Question: Multiple channels command bot

Hello,
I have a question: I am a twitch stream team administrator (and not a programmer) and I am looking for a bot to handle all team related commands to avoid streamers to all copy/paste the same command into their respective bot.
Is your bot able to do this?

Hey @Firerazer,
thank you for checking out our project!
If I'm not mistaken this should be possible by our bot (we do not have an example for this use-case in our wiki, though).
In principle you can create a bot and let it join multiple channels. What we do in the background is to send a simple JOIN channel_name event to the chat server.
Every event that our bot receives includes the channel name as a parameter.
I hope this helps,
let us know if you need further advice.
You can have a look at our wiki to get started.
@joshuaskelly I hope my information given above is correct? :D

Thanks, I will let know my server guys to take a look at your project so :)

@PythooonUser You are 💯 correct!
@Firerazer Rad! Feel free to submit issues/PRs. 👍


You can book up to 4 months ahead from the current date

done in: 2428eb48c11dacdb2e1f2176973ef86938f0f152
https://github.com/AGH-Evil-Inc/TableReservation/blob/2428eb48c11dacdb2e1f2176973ef86938f0f152/backend/Marshmallow.py#L55


SCR checkpoint engine

The existing checkpoint engine model is a close fit for plugging in the Scalable Checkpoint / Restart library, which like Nebula, caches checkpoint files in node-local storage.  There are two extensions that could be added that would help.  I wanted to open this PR as a means for discussion.

Delegate checkpoint directory creation to CheckpoinEngine

Could we move directory creation into the checkpoint engine, e.g., maybe add a new checkpoint_engine.makedirs() that could fill in for os.makedirs() calls like this one?
https://github.com/microsoft/DeepSpeed/blob/58a4a4d4c19bda86d489ac171fa10f3ddb27c9d6/deepspeed/runtime/pipe/module.py#L590
In some situations, it's useful to delay directory creation until the files are copied.  In particular, some checkpoint libraries do not copy every checkpoint, in which case, it's good to avoid creating directories at all.
I opened a separate PR regarding this first request: https://github.com/microsoft/DeepSpeed/pull/2988

Define new open/close calls in CheckpointEngine for reading a checkpoint

Just as the checkpoint sequence has "start" and "end" operations in the form of create() and commit(), it would be useful to have start and end operations for the restart sequence.  Maybe new functions like checkpoint_engine.open() and checkpoint_engine.close()?
One would then call checkpoint_engine.load() in between open() and close().  This makes it easier for the library to allow the application to read from temporary paths.  For the existing engines, one could move some of the logic from load() to open().  In the case of SCR, one must read all checkpoint files between calls to scr.start_restart() and scr.complete_restart().
A PR adding open and close can be previewed at https://github.com/microsoft/DeepSpeed/pull/3009
With the above two extensions to the CheckpointEngine, this current PR reduces to something like https://github.com/adammoody/DeepSpeed/pull/5 so that SCR-specific code is essentially fully contained to its engine file.

Hi @adammoody - apologies for the very slow reply on this.  Is this a PR that you would still like to see merged?  If so, would you be able to - when you have time - merge the latest master and then we can review it?
Let us know, if not we can close this, but we will get the right people to review it after it is updated.  Thanks!

Thanks, @loadams .  Actually, before getting into details on this PR, there is a related PR to add "open/close" operations to the checkpoint engine:
https://github.com/microsoft/DeepSpeed/pull/3009
Could we start with that one?
It also needs to be refreshed, but it would be help if folks could consider the ideas there and let me know whether the approach sounds reasonable.


Bug about the 'to' method

Issue Type
Bug
Source
binary
Secretflow Version
latest
OS Platform and Distribution
Ubuntu 22.04
Python version
3.8.15
Bazel version
No response
GCC/Compiler version
No response
What happend and What you expected to happen.
When using the 'to' method, the following error occurred.

Reproduction code to reproduce the issue.
import numpy as np
import pandas as pd
import secretflow as sf
import tempfile
import os
from sklearn.datasets import load_iris
from secretflow.data.vertical import read_csv as v_read_csv

sf.shutdown()

sf.init(['alice', 'bob', 'carol'], address='local')
alice, bob, carol = sf.PYU('alice'), sf.PYU('bob'), sf.PYU('carol')
spu = sf.SPU(sf.utils.testing.cluster_def(['alice', 'bob', 'carol']))

iris = load_iris(as_frame=True)
df = pd.DataFrame(data=iris.data, columns=iris.feature_names)

temp_dir = tempfile.mkdtemp()
v_alice, v_bob, v_carol = df.iloc[:100, :2], df.iloc[:100, 2:3], df.iloc[:100, 3:]
v_alice_path = os.path.join(temp_dir, 'v_alice.csv')
v_bob_path = os.path.join(temp_dir, 'v_bob.csv')
v_carol_path = os.path.join(temp_dir, 'v_carol.csv')
v_alice.to_csv(v_alice_path, index=False)
v_bob.to_csv(v_bob_path, index=False)
v_carol.to_csv(v_carol_path, index=False)

vdf = v_read_csv({alice: v_alice_path, bob: v_bob_path, carol: v_carol_path})

vdf.partitions[alice].to(self.spu)  # this is the line that fails

*****The following is the error message*****
$python justforissue.py
INFO:root:Run secretflow in simulation mode.
2023-03-30 23:58:38,033 INFO worker.py:1538 -- Started a local Ray instance.
Traceback (most recent call last):
  File "test.py", line 29, in <module>
    vdf.partitions[alice].to(self.spu)
AttributeError: 'Partition' object has no attribute 'to'

Partition is not a device object, you can use Partition.data instead:
vdf.partitions[alice].data.to(self.spu)

I want to design some other functions referencing the ml module of SecretFlow, so I followed the writing style of SSRegression in the ML module. In the process of one iteration in SSRegression, there is an operation like the following.(secretflow/ml/linear/ss_sgd/model.py,  line336)The x in this code is also Union[FedNdarray, VDataFrame] if I'm not mistaken.
spu_x = self.spu(_concatenate, static_argnames=('axis'))(
[x.partitions[pyu].to(self.spu) for pyu in x.partitions], axis=1
)

Nice catch! I think it's a bug of ss_sgd. FedNdarray and VDataFrame have different APIs and need to be treated differently.
Currently you can use FedNdarray to implement your new functions.
@zhouaihui @warriorpaw Or shall we and to for DataFrames?

Question solved, thx.


Make font-weight consistence through stylesheets

This solves #25
I created three constants for font-weight values in samfundet/app/assets/stylesheets/sitewide/_constants.css.scss
The constants are

$font-weight-normal: 300;
$font-weight-medium: 500;
$font-weight-bold: 700;

I chose that $font-weight-normal is set at the numeric value 300, which corresponds to the numeric values from 100 to 400, as the Future-font seems to treat these numeric font-weight values visually as one value, meaning that
"font-weight: 100; = font-weight: 200; = font-weight: 300; = font-weight: 400;".
$font-weight-medium is set at the numeric value 500, which corresponds to the numeric values from 500 to 600, for the same reason above.
$font-weight-bold is set at the numeric value 700, which corresponds to the numeric values from 700-900, also for the same reason above.
I went through all of the stylesheets manually in samfundet/app/assets/stylesheets
and the stylesheets within its sub-folders.
Then I changed the font-weight values to correspond to their given constants.

Edit:
I chose that $font-weight-normal is set at the numeric value 300, which corresponds to the numeric values from 100 to 300, as the Future-font seems to treat these numeric font-weight values visually as one value, meaning that
"font-weight: 100; = font-weight: 200; = font-weight: 300;".
$font-weight-medium is set at the numeric value 500, which corresponds to the numeric values from 400 to 500, for the same reason above.
$font-weight-bold is set at the numeric value 700, which corresponds to the numeric values from 600-900, also for the same reason above.


Add DIST output to the KDIST and NDIST

Improvement of the mapdl.kdist and mapdl.ndist with the implementation of the DIST output.
To obtain the distance between keypoints and nodes without additional hand calculations.

Hi @germa89 may I ask you to check this PR where I have added full output functionality with write description for NDIST and KDIST. Of course for new features I have added unit testing too.

Approved. @RomanIlchenko1308  feel free to hit the green Squash and merge button.


/new links issue

https://github.com/mlcraft-io/client-v2/assets/2017148/575322da-6d61-4992-8e7f-ac7437006147
All links should reflect the current state of the page, because people will share links.
When user clicks on any "new entity" button, it should be like /new path in the url

done


Error occurred when executing DepthAnythingPreprocessor:

I use the depth-anything_citl14.pth model in the depthAnything node and it will execute an error. I believe that the model does not exist locally, so I downloaded depth-anything_citl14.pth from huggingface, but I don't know where to put this file?

me too， I encountered the same problem，Have you solved it?

you would probably place it under the ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts/LiheYoung/Depth-Anything/checkpoints/ if it exists for you.
in my case it was
/mnt/vol1/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts/LiheYoung/
└── Depth-Anything
    └── checkpoints
        └── depth_anything_vitl14.pth


Fix of error when value is Number + style fixes

When the given value is a Number the component errored out when calling match() on it. I decided to convert it instead of force it to be a String on the component's propTypes because: 1 backwards-compat; 2 more flexibility for those implementing the component
Several code style improvements, using some sort of spacing and semicolon standard
Setting default arguments where they belong: in the function signature

Thanks!