Docs: Deploy new datamodel with rolling deployment

Hey guys, I have something what is missing in the docs related to a rolling deployment on kubernetes:
When I deploy my graphql server (prisma client) with a rolling deployment they should only be connected to a compatible prisma server.
How can I solve this when I have to deploy a new datamodel?
It would be great to have this case documented.

The data model deployment lives on the database and not in the Prisma server.

@SergeiMeza I think what @sapkra is trying to say is that when prisma server settings change in kubernetes script and is deployed through ci/cd, say travis, then there is a bit of downtime on the prisma server until new script deploys prisma server with new settings. Since prisma deploy requires prisma server to be ready, it will not work until rolling update is done. What @SergeiMeza is saying is great since pods in kubernetes is not guaranteed to stay up forever so when new pod comes in it will look in the DB to import settings from previous pod; however, when rolling update and schema deployment has to be done at the same time(automated), it is quite difficult to achieve at the moment.


Update the ICU library to 3f443830bd52d3aa5fab3c1aa2b6d0848bb5039d

Use case
This change is similar to:

https://github.com/flutter/flutter/issues/88600

See for reference: https://chromium.googlesource.com/chromium/deps/icu
Background
Flutter needs to use a reasonably recent version of the ICU library. The Chromium's fork of ICU, which is in use in Flutter as well, has taken in a few updates since the initial 69.1 release. This is a request to bring them in by updating ICU library version in the DEPS file.
Reason to update
This change takes in a few minor fixes.  Most notably, it synces Flutter up to the latest revision of the ICU library that is currently
available.

Please assign to me when/if able. I do not have a permission to self-assign, but I'm actively working on this.


Default action on ENTER

Everywhere where it makes sense (DLT file dialog, DLT connector etc.) we should consider default action on pressing ENTER, for example: opening file or connecting.

done


perf(votes): working in progress on return verified votes in reference

Purpose

For reviewers

Related Github issues

Changes

Tests

Deployment Considerations
Version Notes
{ major | minor | patch }

NOTE: Include the version notes in the squash commit message

While I was checking if we really can use references here due to possibility to have dangling references, I noticed that PbftManager class member "executed_pbft_block_" is basically useless, can we refactor it too ? See my comments for hints why it is not needed...

While I was checking if we really can use references here due to possibility to have dangling references, I noticed that PbftManager class member "executed_pbft_block_" is basically not needed, can we refactor it too ?
We are checking it here in "resetRound_()" but this condition will never be true as "executed_pbft_block_" is set to true only if this function call returns true, in which case "resetRound_()" is never called.
All other usages look like this (see usage few lines below in link). This code can be refactored to:
if (pushPbftBlock_(pbft_block_and_votes, dag_blocks_order.first) == false) {
  LOG(log_er_) << "Failed push PBFT block " << pbft_block_hash << " into chain";
  break;
}

LOG(log_nf_) << node_addr_ << " push synced PBFT block " << pbft_block_hash << " in round " << round;

// Remove from PBFT synced queue
pbft_chain_->pbftSyncedQueuePopFront();
vote_mgr_->removeVerifiedVotes();
update_dpos_state_();
// update sortition_threshold and TWO_T_PLUS_ONE
updateTwoTPlusOneAndThreshold_();
db_->savePbftMgrStatus(PbftMgrStatus::executed_block, false);
executed_pbft_block_ = false;
pbft_synced_queue_size = pbft_chain_->pbftSyncedQueueSize();

if (pbft_last_observed_synced_queue_size_ != pbft_synced_queue_size) {
      LOG(log_dg_) << "PBFT synced queue still contains " << pbft_synced_queue_size
                   << " synced blocks that could not be pushed.";
}
pbft_last_observed_synced_queue_size_ = pbft_synced_queue_size;

The reason is PBFT need to keep same DPOS state (same 2t+1 and threshold) in same round, we hit bugs before.
So cannot update in the middle of round https://github.com/Taraxa-project/taraxa-node/blob/develop/src/consensus/pbft_manager.cpp#L557
Need to update in the beginning of a new round https://github.com/Taraxa-project/taraxa-node/blob/develop/src/consensus/pbft_manager.cpp#L300


Support complex types

Zap and the silabs XML is lacking support for complex data types. We need to add and implement that.
Minimum required list of features:

use type 'ARRAY' to specify list type within 'attribute' or 'command', with a user defined struct being an element of the array.
allow nested structs: a struct that contains another struct.
allow support for the maximum length of lists and arrays, and generation of code that enforces these maximums.
allows support for attributes of the type "struct". Provide ability to specify complex default values and ability for the UI to edit them.

Support arbitrary nesting of structs, etc.
Access-control qualities (read spec).

@tecimovic , @bzbarsky-apple I feel like we can close this issue. Are there any types which that currently cannot be handled?

As far as I am concerned this is done.

Closing this issue since we support complex types in some form or way. If another type is required then let's create a separate issue for that.


Add helm chart docs generator to create Cluster Apps section in reference

What does this PR do?
(Please set a descriptive PR title. Use this space for additional explanations.)
Towards https://github.com/giantswarm/giantswarm/issues/29614
What does it look like?
(If this is more than a textual change, a screenshot can help in some cases to speed up the review process.)
Not awesome but I am not sure how to make it better. I will add it to the next sync

Any background context you can provide?
(Please link public issues or summarize if not public.)
We want to bring cluster apps to the docs
What is needed from the reviewers?
Have you maintained the front matter?
(Please bump the last_review_date in case this qualifies as a review for an entire page. Provide user_questions which should be answered in the page. Provide a meaningful description.)

It looks like there are two H1 headlines on the page. That shouldn't happen.
Also the headline

cluster Cluster App configuration reference

is strange due to the repeated "cluster" and the first one being lowercase. Maybe it would help to wrap the name in backticks and use sentence case apart from that?

cluster cluster app configuration reference

Or

App configuration reference: cluster

Something I am missing in the top of the page is a link to the source repository.

Something else: what is the content of the Management API > Cluster apps page?

@marians PTAL


Handle Cookie destinations

Description
Handle Cookie destinations and adjust url destinations.

Related Issue
https://jira.corp.adobe.com/browse/CORE-26796

Motivation and Context

How Has This Been Tested?
Manual and unit tests.

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Thanks @Aaronius . I implemented all your suggestions.


Borders overlap in blocks example

Is this inentional and correct behavior or is this a bug?

That's a bug block("Block inside block").with_borders(BorderKind::Straight) should have all Borders. But layout is super hacky currently and will likely be overhauled quite a bit. I guess it's an issue with the taffy Style in the widget::block::Block::layout implementation

This can stay open, it's not fixed :)
I think it has to do with rounding the widget rect while in Widget::paint (don't ask me why it's calculated there, as said layout etc. is hacky currently).
As resizing the window sometimes (roughly half of the time) leads to the correct result.
I think this will be fixed by a bigger internal restructure/refactor of the layout.

Hmm I think this is fixed with the box-constrained layout change (it does look different/has different behavior though)

At the latest since #8 this should be fixed.


[T2A4][T09-A1] Annabel Eng Jing Wen

@mauris - from PR bot, please review this.

we hope you can appreciate the need for good SLAP after this "inlining" exercise


Feature Request: Default Package Manager for Quick Code Copy

How about adding an option to set a default package manager? So, when I click "Copy Code," it just grabs the code without asking me each time which package manager I'm using. It's not a big deal, but it would save a bit of time and clicks, you know?
This little tweak would make the whole experience smoother, especially for folks like me who stick with one package manager most of the time.

Just made this PR and saw your issue :) #2357

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


Implement support for archive.org

Support for archive.org (more specifically, the Internet Archive) would allow for Larch to query resources to see if they're available on archive.org. It would also allow to make requests for resources to be backed up to archive.org, making stored links more resilient to potentially removed websites etc.

See http://archive.org/wayback/available?url=example.com.

See http://archive.org/wayback/available?url=example.com.


Debug sphinx core dump patch DO NOT MERGE

Summary
This patch should not be merged it harvests one of the python test jobs
to run the docs build but sets up the kernel and gdb to print the
stacktrace from any core dumps that occur during the build process.
Details and comments

Found a solution to make the jobs build in #236


[question] How can I make sure that when I am on a given node any value I cache belongs to that node?

Assuming we three nodes in the groupcache. 1,2 and 3. From the code when using the Set method https://github.com/groupcache/groupcache-go/blob/main/group.go#L138 a peer is picked for to own that key using some hash function.
That means that if I am on node 1 and want to cache a value in the group I may find the key of the value own by node 2. I need a correction if I am wrong. This is my question:
How can I make sure that when I am on a given node any value I cache belongs to that node?
cc: @thrawn01

Groupcache used Consistent Hashing to determine which nodes own a key. see https://www.toptal.com/big-data/consistent-hashing for an explanation of consistent Hashing
This is why groupcache must be informed of node changes in the cluster. If all nodes do not agree on who the owner is, then consistent hashing does not work as expected.


New post without pressing Save button still persists posts (back button or browser back)

Steps to repro:

Sign in with GitHub
Click 'New Post' button in top right
Click 'Back' button in top left

Expected Behavior:
Still no posts in the list
Actual behavior:
There's a new post in the list
'Untitled Post {today's date}'

it's a draft post.


With the code in the link https://docs.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-angular-auth-code

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/d365community/forum/79b1327d-d925-ec11-b6e6-000d3a4f06a4.

@Haritha-Nuthi Thanks for the feedback. Could you please mention the url/documentation you are referring to and provide more details on your exact query? This platform is mainly used for queries/doubts related to Microsoft Documentation.
If this is entirely a technical question, I would request you to post it on Stack Overflow or Microsoft Q&A forum.

@Haritha-Nuthi We noticed that you have already created another issue on the same query. If fine we can close this issue and keep the other one open. Please let us know:
https://github.com/MicrosoftDocs/azure-docs/issues/90804

Closing as the main issue was resolved.


[MM-16723] Reworked post list reading to avoid duplicates

Summary
The original implementation for reading the main post list for screen readers was not taking into account other elements interacting with the DOM. This PR limits the aria-live region to one specifically configured to read the latest posts as they come in, allowing the user more control over what is read.
Ticket Link
Addresses feedback from:
https://mattermost.atlassian.net/browse/MM-16723

This change is expected to be part of 5.14 release. It will be tested once the code is merged into the release branch. Removing the QA Review label.

Creating a new SpinWick test server using Mattermost Cloud.

Mattermost test server created! :tada:
Access here: https://mattermost-webapp-pr-3290.test.mattermost.cloud

Account Type
Username
Password

Admin
sysadmin
Sys@dmin123

User
user-1
User-1@123

New commit detected. SpinWick upgrade will occur after the build is successful.

Mattermost test server updated!
Access here: https://mattermost-webapp-pr-3290.test.mattermost.cloud

New commit detected. SpinWick upgrade will occur after the build is successful.

Spintmint test server creation failed. See the logs for more information.

New commit detected. SpinWick upgrade will occur after the build is successful.

Mattermost test server updated!
Access here: https://mattermost-webapp-pr-3290.test.mattermost.cloud

Spinmint test server destroyed

@devinbinnie
Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Fetching origin
+++ Updating remotes done...
+++ Creating local branch automated-cherry-pick-of-#3290-upstream-release-5.14-1564766115
Branch 'automated-cherry-pick-of-#3290-upstream-release-5.14-1564766115' set up to track remote branch 'release-5.14' from 'upstream'.
+++ Downloading patch to /tmp/3290.patch (in case you need to do this again)

+++ About to attempt cherry pick of PR. To reattempt:
  $ git am -3 /tmp/3290.patch

Applying: WIP
Applying: Reworked post list reading to avoid duplicates
Patch failed at 0002 Reworked post list reading to avoid duplicates
Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

+++ Conflicts detected:

!!! None. Did you git am --continue?

+++ Aborting in-progress git am.

+++ Returning you to the master branch and cleaning up.


Instrument missing in export, unless UI opened

According to @unfa, some SFZ instruments in a session are missing.
Regardless of the wait delay for instruments to play, the instrument does not play.
It can be experienced sometimes by exporting the project. (Ardour I suppose)
It's worked around by manually opening the UI and ensuring to reload the SFZ file there.

@unfa I can't really reproduce this, is this an Ardour session you could share maybe?

I could not reproduce this either.
All I can think of is the old problem of worker messages back and forth.
Then, it was possible that lv2 messages are not reaching destination because of buffer overrun, but this is supposed fixed since a long time and included in the stable release.

I have observed a possibly related phenomenon recently. This was in carla.
I opened a sfizz plugin, loaded a SFZ file, saved. On reload, the SFZ path was different.

Path opened:  /home/jpc/desktop/reverb.sfz
Path on reload:  /home/jpc/documents/projects/sfizz/desktop/reverb.sfz

The path /home/jpc/documents/projects/sfizz exists on my disk.
The path /home/jpc/documents/projects/sfizz/desktop does not.
The exact log
[sfizz] File changed to: /home/jpc/.lv2/sfizz.lv2//Resources/DefaultInstrument.sfz
[sfizz] Number of masters: 0
[sfizz] Number of groups: 0
[sfizz] Number of regions: 1
[sfizz] Restoring the file /home/jpc/.lv2/sfizz.lv2//Resources/DefaultInstrument.sfz
[sfizz] Restoring the scale /home/jpc/.lv2/sfizz.lv2//Resources/DefaultScale.scl
[sfizz] Restoring the number of voices to 64
[sfizz] Restoring the preload size to 8192
[sfizz] Restoring the oversampling to 1
Parse error in "reverb.sfz" at line 1: Cannot open file for reading: /home/jpc/documents/projects/sfizz/desktop/reverb.sfz
[sfizz] File changed to: /home/jpc/documents/projects/sfizz/desktop/reverb.sfz
[sfizz] Number of masters: 0
[sfizz] Number of groups: 0
[sfizz] Number of regions: 0
[sfizz] Error while restoring the file /home/jpc/documents/projects/sfizz/desktop/reverb.sfz
[sfizz] Error while restoring the scale /home/jpc/documents/projects/sfizz/.lv2/sfizz.lv2//Resources/DefaultScale.scl
[sfizz] Restoring the number of voices to 64
[sfizz] Restoring the preload size to 8192
[sfizz] Restoring the oversampling to 1

Posting another carxp, just created minutes ago, and its sfz, reproducing the problem all the time when opened.
dry.zip
Files are supposed to be in ~/desktop/

When the carla session is fixed after resaving, the saved parameter gets a different value
--- dry-OLD.carxp	2020-07-30 13:31:52.568787115 +0200
+++ dry.carxp	2020-07-30 13:31:07.451126138 +0200
@@ -79,7 +79,7 @@
    <CustomData>
     <Type>http://lv2plug.in/ns/ext/atom#Path</Type>
     <Key>http://sfztools.github.io/sfizz:sfzfile</Key>
-    <Value>desktop/dry.sfz</Value>
+    <Value>../../../desktop/dry.sfz</Value>
    </CustomData>

    <CustomData>

After researching, this is how the difference happens

when carla is run from the CLI, and the CWD is ~/documents/projects/sfizz,
then path gets abstracted as ../../../desktop/dry.sfz
when carla is run from the desktop, the CWD is supposedly ~/,
then path gets abstracted as desktop/dry.sfz

that is, it gets abstracted relative to the CWD.
Further, some additional observations permit to confirm

a carxp which is saved under CLI will reload only from CLI, not desktop
inversely, a carxp created from desktop will not reload on CLI, only desktop

conclusion: both saving and reloading are affected by the CWD

Note: an update of Carla 2.2.0.RC1.r37.g6669b2686 resolved this problem entirely


feat(gnss_poser): remove utm projection in gnss_poser

Description
Remove UTM projection in gnss_poser
Since current Autoware may not be able to handle large values that is greater than the limit of float, which may be the case when using UTM coordinate, leaving the UTM support in gnss_poser is unsafe.
Do note that we leave local_cartesian_utm as it is.

Related links
Should be merged with https://github.com/autowarefoundation/sample_sensor_kit_launch/pull/67

Tests performed
None

Notes for reviewers
None

Interface changes
None

Effects on system behavior
None

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@kminoda please fix the gnss_pose's readme, too

@YamatoAndo Sorry missed that one. Resolved: https://github.com/autowarefoundation/autoware.universe/pull/4702/commits/eed8adc76543e862f8c0c6e4e6e59463ee1444f5

@YamatoAndo
I fixed a bit https://github.com/autowarefoundation/autoware.universe/pull/4702/commits/4e901811d0dcfa1a14ace8d7c4ae50b83f8beb8b
Also confirmed that logging_simulator works (description updated)


Add position property

This lgtm, I'm on vacation for the next few days but I'll merge it in now and make a release on npm when I'm back.
Thanks for the contribution!


Do a windowProxy.post when the page loads

I'm trying to get data from localStorage and send it to the guest when the page loads but it doesn't works, any workaround or solution?
(function($){
  windowProxy.post({'html' : localStorage.getItem('htmlDB') });
})(jQuery);

issue more detailed here

I have the same problem. I call windowProxy.post inside a success ajax, this ajax submit my form.
windowProxy.Post work in chrome, but don't work in safari.


Increasing the default timeout to 60m for the local E2E tests

Increasing the default timeout to 60m for the local E2E tests

@hanxiaoshuai This issue is already addressed in PR #80
This code is already merged.

@hanxiaoshuai ok you have done it for the local e2e test script.

@shivramsrivastava There two shell. test/e2e-poseidon-gce.sh and test/e2e-poseidon-local.sh. It seems that both of them should be increasing the default timeout

/lgtm

/approve

/test ci-poseidon-e2e-gce


query with & or # cannot be encoded correctly in url and failed in query API

my query is like this:
select * from int_metrics where "host"='my O&O' limit 5
it works with influx.exe, but when call with the client, it reports failure due to url encoding is using Uri.EscapeUriString, which does not encode the character &. it happens in InfluxData.Net\InfluxData.Net.Common\Helpers\HttpUtility.cs, I suggest to use Uri.EscapeDataString to avoid this.

Thnx for the suggestion. Will test it and fix it up for the next version. It might also help with an issue with submitting regexes to influx api as well.

Just for the reference.

Alright, all test are still passing and it makes sense to use the EscapeDataString instead. Thanks for the suggestion and sorry for the wait. I'll deploy this tonight.


How to use Greedy Filter Pruning for MobileNetV1?

Hello, I want to employ the Greedy Filter Pruning Algorithm for MobileNetV1, but I find your code only support ResNet18, ResNet56, ResNet50. Then how to deal with MobileNetV1? Need I add extra code here?https://github.com/NervanaSystems/distiller/blob/3cde6c5eb68ed8e6e279b24f4d0283d7caed99ce/distiller/pruning/greedy_filter_pruning.py#L225-L259

Hi @Bowenwu1,
Indeed, the implementation of the Greedy filter pruning algorithm is not generic and supports only a subset of the models.  I found this method to be prohibitively slow when using deep models with a large dataset such as ImageNet.
Adding mobilenet is pretty straight-forward, except that it uses depth-wise separable convolutions, which require some changes in the pruning code.  I have done this for a similar task, but I hesitate to add support for mobilenet, because I don't think this algorithm is suited to this size networks.
If you think otherwise, please let me know.  Perhaps I'm missing some usage.
Cheers,
Neta

mobilenetv1_params = ["module.layers.0.conv2.weight", "module.layers.1.conv2.weight", "module.layers.2.conv2.weight",
                      "module.layers.3.conv2.weight", "module.layers.4.conv2.weight", "module.layers.5.conv2.weight",
                      "module.layers.6.conv2.weight", "module.layers.7.conv2.weight", "module.layers.8.conv2.weight",

                      "module.layers.9.conv2.weight", "module.layers.10.conv2.weight", "module.layers.11.conv2.weight",
                      "module.layers.12.conv2.weight"]

First I add above code to greedy filter pruner. Then, with fraction_to_prun=0.7 and pruning_step=0.1,  greedy filter pruning works fine for MobileNetV1 on Cifar10.
By the way, I'm confused about because I don't think this algorithm is suited to this size networks that you talk above.

Hi @Bowenwu1,
I'm glad to hear that this algorithm works for you with MobileNet.  I'm surprised that it does, because I haven't taken care of the case of depth-wise convolutions.
When I said that "I don't think this algorithm is suited to this size networks" I meant that because Greedy needs to take a lot of steps, and between steps we need to fine-tune, this is not a "sample efficient" search algorithm.  MobileNet is usually used with ImageNet, which is very large (with large images), so not being sample-efficient means that it will run for a very long time.
With Cifar10 fine-tuning (training) is much faster so the picture is different.
Cheers
Neta

Thank you for your reply! @nzmora
I plan to use greedy filter pruning for ImageNet case with finetuning with part of training data(eg. 10%), and I wish it will work OK.
Then, you actually support thining of depth-wise convolutions(group convolution) on commit 6b832025
, so once some filters of conv2 are masked, the following layers will be correctly thining.
Furthermore, I find a bug of greedy filter pruner:
https://github.com/NervanaSystems/distiller/blob/bf111e4e80ff2f09f8d3653e7291e91e02f05f71/distiller/pruning/greedy_filter_pruning.py#L302-L309
After del zeros_mask_dict is called, you use zeros_mask_dict again and error arose.
And I open a PR for fixing this bug.PR

Excellent @Bowenwu1!  If you can share your results once you're, I'll be very happy to see them.
I will share a working implementation of MobileNet channel compression using Automated Model Compression in a couple of weeks, and comparing the results will be interesting.
Cheers,
Neta

Glad to hear that! @nzmora
I'm planning to conduct AMC on MobileNet too. I will share my results later.
Cheers,
Bob


Decryption not compatible with older version's encryption

Hi,
I upgraded to the latest version, and it doesn't seem to be able to decrypt data encrypted by an older version. Could you advise? Thanks!
The decryption failed here:
RNDecryptor.m Line 142
 139   - (BOOL)getSettings:(RNCryptorSettings *)settings forPreamble:(NSData *)preamble 140   { 141     const uint8_t *bytes = [preamble bytes]; 142     if (bytes[0] == kRNCryptorFileVersion) {                            // Failed here, kRNCryptorFileVersion is 1, but the encrypted data has a header of "00" (first 2 bytes). 143      *settings = kRNCryptorAES256Settings;

At this point, going all the way back to v0 is probably out of the question (I haven't even implemented v2 support.)


support for binary response

Hi there,
Thank you for this awesome module.
I'm currently testing some endpoints that should return binary response.
But it's failed to do so since WillReturn expect a normal string body, not a binary ([]byte).
Wiremock page https://wiremock.org/docs/stubbing/#specifying-the-response-body stated,

All strings used by WireMock, including the contents of body files are expected to be in UTF-8 format. Passing strings in other character sets, whether by JVM configuration or body file encoding will most likely produce strange behaviour.

I found out that wiremock support binary response using base64Body field.
Is it possible to support binary response through this base64Body field in this module?
Thank you very much.

Hi, thank you for the update.
Yes, #10 should be enough to support binary response.
Thank you very much :+1:


Typo in azure-security-disk-encryption.md

Remove duplicated 'the'.

@agriffard : Thanks for your contribution to the Azure documentation! The author, @DevTiw, has been notified to review your proposed change.


Add a nanopb string

Questions:

Do you think something like this is a good idea?
Should we use this as the basis for our internal blob type?

Now substantially more ready for review.


fix: add test for awaiting result of generator.

Hey there! I was having an error in a test in a library I was working with ( earthstar ), and I've tracked the issue down to a minimum reproducible example with the FIFO class.
This PR tweaks one of the tests to demonstrate the issue. The test fails with:
error: Promise resolution is still pending but the event loop has already resolved.

I'm not sure if this demonstrates an actual problem, or if it's just a nuance in the way that the taskrunner executes.
I'd appreciate any guidance on this!

I just pushed a small tweak that fixes my modified test-case. I'm not sure if it's a proper solution or not.

Nevermind about the fix.  I still need a valid fix I think.

I'm realizing now that there isn't a way for you to know when the stream is finished. In other words there's no such thing as something like an EOF and therefor no way to signal to the generator that it's finished.
So for the use-case that I'm imagining, there would have to be a separate fifo.finish() or something along those lines.
I'll need to talk to the earthstar maintainer, then because I'm seeing now that it's more of a logic error on the part of how we're using this.
Even though it might be useful to have a finish() function for this particular purpose.

I was able to fix the issue in my app by making a wrapper around a FIFO<T | undefined>:
async function* terminatingFifoIterator<T>(fifo: FIFO<T | undefined>) {
  for await (const chunk of fifo) {
    if (!chunk) break;
    yield chunk;
  }
}

Then when I want to stop the generator I just send it undefined.


Dev server silently exits

With fresh setup, it just exits immediately without even an error code :/
❯ make dev -B
npx --yes hyperbook setup
[FTT Handbuch] Setup Project.

added 744 packages, and audited 745 packages in 1m

207 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npx --yes hyperbook dev

><EMAIL_ADDRESS>next:dev
> next-hyperbook-watch

❯ echo $?
0

Still happens, dev server unusable :c

I will take a look at it. If can try to revert to an older version npx<EMAIL_ADDRESS>

hm :thinking:
❯ npx<EMAIL_ADDRESS>dev

><EMAIL_ADDRESS>next:dev
> next-hyperbook-watch

I have this issue, too. Happens on both 0.13.8 and 0.13.10. I even tried using pnpm and installing it globally.


Feature-faq

Merging for now. We still need a new menu to link to this page as detailed here: https://github.com/Front-End-Coders-Mauritius/frontendmu-astro/issues/7


mdout.mdp is being written outside of shared and scratch directories.

Running the notebook, I get an errand mdout.mdp file (probably from grompp?).

It looks like grompp always outputs this and it looks useful as it also contains settings that were not directly specified by the user but populated with the Gromacs defaults. Therefore, I decided to add it as an output to the respective output_settings in PR #47


fixed npm start working on windows

addresses #131
using parallelshell to make this work cross-platform.
This works for me on Windows 7.
@jmfolds @jgravois can you please test on your platforms? Thanks!

working fine on my MacBook too.  thanks for this @gavinr!


Add blur for 'component' rendering during swipe?

How to implement it?

as in, get the main scene to blur (similar to how in material design the main scene "fades")?

Okey, looks like blur with flexible radius is not supported by React Native (and iOS) at all. But I still don't understand how to change 'main' scene during swipe. Let's say i want to make it more dark. I can't set just backgroundColor - because it contains some elements, map,etc. I can't decrease opacity, because it will make it lighter, not darker.

@aksonov yes, what people have done in the past is set your overall app background to black and then lighten the opacity (making it darker rather than lighter). You can do this by setting styles={{main: backgroundColor: 'black'}}
Let me know if this works for you.

@aksonov the latest release react-native-drawer@next now supports styles for mainOverlay which should help you achieve the desired effect. Something like:
tweenHandler={(ratio) => ({
  mainOverlay: {
    opacity: ratio,
    backgroundColor: 'black'
  }
})}

@rt2zz Thanks, i will check. Sorry, missed notification about your reply 18 days ago ....

@aksonov thanks.


.csv or excel import to DBeaver

Hi
I am very used to SQL Server Management Studio running on Windows OS, but my recent migration to Mac OS no longer allows me to use SSMS as there is no version available. Someone advised to try dbeaver which looks great. The problem I am having is being able to import data from a .csv or .xls using a wizard that also creates the table, much the same as you would in SSMS,. Any ideas?
Many Thanks
David

thanks for suggestion

Import Data is available for connection/Catalog(postgresql). Error appears after this option is chosen

Stacktrace is empty

Error appears after choosing import data for Schemas/Database

'?' is shown instead of target table. It is clickable - looks quite strange

Source settings is empty. Csv settings are shown as target settings

1, 2, 4 fixed

3 is a result of 2. Should be fixed as well.

Issues 3 and 4 still reproducible for import to non-existing table.
works ok for import to existing table

Settings page fixed.
Question mark in the first mapping page is ok. It means that target table is not specified yet.

verified


chore(main): release veto 0.3.2

:robot: I have created a release beep boop
0.3.2 (2024-05-21)
Bug Fixes

veto: try to export zod types to make them portable (9f28172)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/fuf-stack/uniform/releases/tag/veto-v0.3.2 :sunflower:


Benchmarks for logistic regrssion on mnist

Codecov Report

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

@@          Coverage Diff           @@
##           master    #384   +/-   ##
======================================
  Coverage    85.2%   85.2%
======================================
  Files          22      22
  Lines        1379    1379
======================================
  Hits         1175    1175
  Misses        204     204

Continue to review full report at Codecov.

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

First impression: do we really need keras to do logistic regression? I'd prefer if we could do the same using scikit-learn :-/
Can we modify the output/add a parameter so that it outputs the same quantities as the other benchmark scripts so we can add to the overview table?

Can you post the plots it produces as well :)

Then how can I showcase my deep-learning skills?
More seriously, we can use the SGDClassifier with log-loss but it does not allow to tune the batch-size. automatically (the use-case being more of online-learning). We can allow it to by doing something like this.
clf = SGDClassifier(loss="log", n_iter=1, shuffle=False, ....)
shuffle(X)
for X_batch, y_batch in generate_batches(X, y, batch_size=):
    clf.partial_fit(X_batch, y_batch)

But ultimately we need keras if we want to bench convnets etc, so why not use it now?

Then how can I showcase my deep-learning skills?

by contributing to keras :rofl:
I'm just a fan of not adding dependencies, is all.
More important I think is that we get the output formatting so we can easily add it to https://github.com/scikit-optimize/scikit-optimize/blob/master/benchmarks/README.md and then we might have to start a new issue to actually discuss how to tune our defaults, etc

Hmm, the benchmarks are independent of the actual-package so we need not add it as a dependency. We can just add a comment saying that if you need to run this benchmark, we need keras installed.
I'll change the code a bit, right now it runs only for one random state so that I can run jobs across multiple processes and aggregate the results.

An idea that I had for some time: how about creating a separate repo for scikit-optimize benchmarks (maybe something not original like scikit-optimize-benchmarks)? Then we could go with all kinds of wild dependencies there, and skopt will not be affected. Could also contain some datasets, so that we do not worry about broken links or mldata being down all of a sudden. What do you think?

Yes, that is a good idea, but the problem is running all these benchmarks and caching the data. Random search seems to perform well for this particular problem and we need cifar10 that takes a significantly longer time as compared to mnist.

I was thinking about something like we train a few times on cifar10 for example, and hence collect data about points and correpsonding objectives, and then either train predictive model to estimate what the objective would be for a point, or just train a surrogate from scikit optimize. Such surrogate should be very fast to evaluate, and with sufficient amount of data I expect would represent accurately behaviour of the actual objective.

See also discussion in #458. Not sure if someone will pick this up, so closing this for now (but feel free to reopen!).


Personalization of Chart of Accounts as super user is not possible?!

Hey gyus,
in my BC 14 on premise I try to personalize the Chart of Accounts.
I am not able there to make the columns bigger or to change the place of the columns.
In the Customer List I can make these changes?
Do you know the reason for that?
Thank you ;)

Hi! Please take a minute to read the guidelines for this repository https://github.com/microsoft/AL and our collection of frequently asked questions https://github.com/Microsoft/AL/wiki/frequently-Asked-Questions .
As this repository is only for issues related to the AL compiler in latest developer preview environment for Dynamics 365 Business Central. We suggest that you open a support case or file a bug in Collaborate, to ensure that all Business Central users benefit from your catch as soon as possible.
To open a support case, you can:

Open a support request to CSS through the PartnerSource portal
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using.


High level backtrace

能不能添加个函数，可以回溯c#的堆栈？

 I already tried to implement a traceback system, but I never succeeded.
As a workaround, you could:

Dump the application
Disassemble libil2cpp.so and rename functions in ida/ghidra
Use frida's Thread.backtrace and insert the virtual addresses in ghidra to see the functions

But a proper traceback system is absolutely needed.
(please use english!)

@zbx911
This is a missing feature. I already tried to implement a traceback system, but I never succeeded.
As a workaround, you could:
* Dump the application

* Disassemble `libil2cpp.so` and rename functions in ida/ghidra

* Use frida's `Thread.backtrace` and insert the virtual addresses in ghidra to see the functions

But a proper traceback system is absolutely needed.
(please use english!)

谢谢，你的建议，我已经在使用了。可能是因为il2cpp无调试信息，回溯堆栈失败。

@zbx911
This is a missing feature. I already tried to implement a traceback system, but I never succeeded.
As a workaround, you could:
* Dump the application

* Disassemble `libil2cpp.so` and rename functions in ida/ghidra

* Use frida's `Thread.backtrace` and insert the virtual addresses in ghidra to see the functions

But a proper traceback system is absolutely needed.
(please use english!)

Use frida's Thread.backtrace and insert the virtual addresses in ghidra to see the functions
是否可以增加method的属性内存地址？可以方便frida native hook。

@zbx911

是否可以增加method的属性内存地址？可以方便frida native hook。

What do you mean? I don't get how "increasing the memory address" would help!

var libnative_addr = Module.findBaseAddress("libnative-lib.so")
console.log("libnative_addr is: " + libnative_addr)
if (libnative_addr) {
    var string_with_jni_addr = Module.findExportByName("libnative-lib.so",
    "Java_myapplication_example_com_ndk_1demo_MainActivity_stringWithJNI")
    console.log("string_with_jni_addr is: " + string_with_jni_addr)
}

Interceptor.attach(string_with_jni_addr, {
    onEnter: function (args) {
        console.log("string_with_jni args: " + args[0], args[1], args[2])
        console.log(Java.vm.getEnv().getStringUtfChars(args[2], null).readCString())
    },
    onLeave: function (retval) {
        console.log("retval:", retval)
        console.log(Java.vm.getEnv().getStringUtfChars(retval, null).readCString())
        var newRetval = Java.vm.getEnv().newStringUtf("new retval from hook_native");
        retval.replace(ptr(newRetval));
    }
})

@zbx911

是否可以增加method的属性内存地址？可以方便frida native hook。

What do you mean? I don't get how "increasing the memory address" would help!

提供method在内存的加载地址，方便 frida hook，
var method_addr= method.address  ;
Interceptor.attach(method_addr, {
onEnter: function (args) {
    },
    onLeave: function (retval) {

    }
})

@zbx911
You can get the address of any method (if not generic / not abstract) using the actualPointer getter (Il2Cpp.Method.actualPointer): https://github.com/vfsfitvnm/frida-il2cpp-bridge/blob/master/src/index.ts#L288.
However, Il2Cpp.Method.intercept is basically a wrapper around frida's Interceptor.attach

@zbx911
You can get the address of any method (if not generic / not abstract) using the actualPointer getter (Il2Cpp.Method.actualPointer): https://github.com/vfsfitvnm/frida-il2cpp-bridge/blob/master/src/index.ts#L288.
However, Il2Cpp.Method.intercept is basically a wrapper around frida's Interceptor.attach

ok，thanks for your answer！

trace(): void {
    if (this.actualPointer.isNull()) {
        warn(`Can't trace method ${this.name} from ${this.class.type.name}: pointer is NULL.`);
    }
    try {
        Interceptor.attach(this.actualPointer, () => inform(`${this.relativePointerAsString} ${this.name}`));
    } catch (e) {
        warn(`Can't trace method ${this.name} from ${this.class.type.name}: ${e.message}.`);
    }
}

===================>>>>>>>>>>>>>>>>>>>
trace(): void {
    if (this.actualPointer.isNull()) {
        warn(`Can't trace method ${this.name} from ${this.class.type.name}: pointer is NULL.`);
    }
    try {

        Interceptor.attach(this.actualPointer, () =>{ var tb = Thread.backtrace(this.context, Backtracer.ACCURATE).map(DebugSymbol.fromAddress).join("\t\n");
        inform(`${this.relativePointerAsString}  $ {tb } ${this.name}`)  } );
    } catch (e) {
        warn(`Can't trace method ${this.name} from ${this.class.type.name}: ${e.message}.`);
    }
}

@zbx911
Yup I could probably improve tracing, gonna do that in few days.

@zbx911
Yup I could probably improve tracing, gonna do that in few days.

Come on！

Hi, I added a Il2Cpp.Tracer to partially address this. I guess providing a higher level backtracing (other than frida's) is not possible (?).

Why it is not possible to print a backtrace/stacktrace? Since you can retrieve the address from Thread.backtrace, and we have base address of libil2cpp.so, also we have all relative address to all symbols, I think it is possible to print a beautiful backtrace with il2cpp symbols?

We need to somehow determine the code size of each method first. In fact, the backtracer won't return the base address of the method (of course), so me must have some way to associate a given address to a method.
I see three options:

I remember seeing this information in a (debug) libil2cpp.so few months back. However, I don't know if that's the case for every application/version/os.
Sort all the methods by their base addresses and then determine the code size of a method by subtracting its base address from the base address of the next method in the list (but I think it may be imprecise).
Backwards-parse the instructions until a function prologue is detected to determine the base address of that function.

As you can see, all these three paths need investigation.

I think option 2 is reasonable, as many debugger works like this (gdb, lldb....) It will show the offset to the closest symbol.
Most important, it should cover 99% use cases.

Yeah. Unfortunately I don't know when I will have the time to work on that, however I'll leave this open as a reminder

Take your time ^_^ Not urgent.

I implemented it and used it with two applications; and my final answer is this feature requires more investigation; at the current state it provides little to no value, honestly.
Frida's Thread.backtrace only provides the last 16 call sites (unless you recompile Frida), and it isn't helpful at all considering how much convoluted the Unity call system is. A lot of reflection is involved, and thus those 16 slots get immediately clobbered with useless data.
That's not a complete dealbreaker, however.
Another thing we must sort out is the actual API.
The cleanest solution is to make this (which is Il2Cpp.Class | Il2Cpp.Object now) something like (Il2Cpp.Class | Il2Cpp.Object) & { backtrace(): void }:
MyClass.method("MyMethod").implementation = function (...args: any[]) {
    this.backtrace();
    return this.method("MyMethod").invoke(args);
};

However, perhaps something like this is preferable:
const bt = MyClass.method("MyMethod").backtrace();
// later on, if required
bt.stop();

Or, I could just create a Il2Cpp.Backtracer (similar to Il2Cpp.Tracer):
Il2Cpp.backtrace()
    .distinct() // do not re-print if the call stack is identical to the previous one(s)
    .classes(MyClass)
    .and()
    .attach();

I prefer the third solution. However, alternatives or other suggestions/ideas are welcomed :)

What I really want (and most encountered situation) is backtracing a method that being called via interface, which is not so easy to statically analyze. And I think third solution is my prefer.
However, if we can start a PR on frida and make the backtrace function accept an parameter to control the depth of tracing, it will be much useful.

I just added a primitive implementation of Il2Cpp.Backtracer. I'd like to collect some feedback before polishing the code and publish a new release.
It works the same as Il2Cpp.Tracer, however there is some extra setup needed:
Il2Cpp.backtrace()
    .fuzzy() // Determines the type of the backtrace (https://frida.re/docs/javascript-api/#thread). Can be either fuzzy or accurate
    .verbose() // Determine whether print duplicate outputs (i.e. if a function is called frequently, you won't see the spam). Can be either verbose (always print) or distinct (do not print duplicates)
    .clean() // Determines whether retain every trace (i.e. if there's a likely-to-be-wrong trace, it won't be printed). Can be either clean (only show reliable method calls) or dirty (show everything)
    .methods(...) // same as Il2Cpp.Tracer
    .and()
    .attach()

A sad thing is that the backtracer has to collect every Il2Cpp.Method to work. This operation may be very slow. I probably need to use a CModule or whatever...

Oh, I forgot to mention that I'm going to add .verbose() and .distinct() to Il2Cpp.Tracer as well to avoid spam (addresses #27 )!

update the npm ?

We need to somehow determine the code size of each method first. In fact, the backtracer won't return the base address of the method (of course), so me must have some way to associate a given address to a method.
I see three options:

I remember seeing this information in a (debug) libil2cpp.so few months back. However, I don't know if that's the case for every application/version/os.
Sort all the methods by their base addresses and then determine the code size of a method by subtracting its base address from the base address of the next method in the list (but I think it may be imprecise).
Backwards-parse the instructions until a function prologue is detected to determine the base address of that function.

As you can see, all these three paths need investigation.

I think the idea is right , some days before , i also do some investigation about il2cpp backtracer , and found this article , il2cpp internal , when il2cpp throws a exception , the backtrace will generate more detailed imformation about symbols , so when we opened Il2Cpp.installExceptionListener , the detailed backtrace information we can see , the article explains the il2cpp game will have a segement named il2cpp , the backtracer via dichotomy to determine the closer symbol .

https://git.kpi.fei.tuke.sk/tg206vc/liveitprojects/-/blob/283bff797d9dc1cf3ae0b5bc12830233b3c19250/Il2CppOutputProject/IL2CPP/libil2cpp/vm-utils/NativeSymbol.cpp

I don't know how I could use such information (in practice); I already played with StackTrace::WalkStack, but it's no different than Frida's Thread.backtrace...

Is it possible to get the stacktrace by manually create an il2cpp Exception?

@cnSchwarzer Yeah, but it's empty!

Implemented in 0.8.0 (there's a huge room for improvement by the way...)

FYI - it is alot easier to just do mscorlib.class("System.Environment").method("get_StackTrace").invoke()

@shalzuth
Does it work for you?
I couldn't find a way to get the stack trace using the C# api, it was always empty

Yes it does work - this is an example:
assembly_csharp.class("Client.Rpc.Core.Implementation.RpcClient").method("SendRequest").implementation =
    function(v1,v2,v3,v4,v5,v6) {
        console.log('SendRequest : ' + v1);
        console.log(mscorlib.class("System.Environment").method("get_StackTrace").invoke());
        this.method("SendRequest").invoke(v1,v2,v3,v4,v5,v6);
    };```

Hmm, the following snippet:
Il2Cpp.perform(() => {
    const get_StackTrace = Il2Cpp.corlib.class("System.Environment").method("get_StackTrace");
    const Parse = Il2Cpp.corlib.class("System.Boolean").method("Parse");

    Parse.implementation = function (...args) {
        const retval = Parse.invoke(...args);
        console.log(get_StackTrace.invoke());
        return retval;
    }

    Parse.invoke(Il2Cpp.string("False"));
});

outputs:
"  at System.Environment.get_StackTrace () <0x00000 + 0xffffffff> 0 in <00000000000000000000000000000000>:0 "

But System.Boolean::Parse is supposed to invoke System.Boolean::TryParse...
Relying on Frida's Thread::backtrace:
Il2Cpp.backtrace().thread(Il2Cpp.currentThread!).classes(Parse.class).and().attach();

gives the expected result:
il2cpp:
0x00996650+0x000 System.Boolean::Parse

il2cpp:
0x00996750+0x000 System.Boolean::TryParse
0x00996650+0x060 System.Boolean::Parse

Hmm interesting - it seems if the invoker starts from Frida, the Environment.StackTrace is just the single stack line.
If the invoker is from the Unity game thread, it works.


Fixed crash on cold RTC boot

Added checks before writing external RTC time to Pico's time to prevent error-crash when the enviro board is booted from a cold RTC.

Hi. Do you have more details of the crash you experienced? From a cold boot the RTC does have a time (though out by 2 years), so shouldn't cause a crash when being applied to the Pico's RTC.

When I unboxed my enviro urban, the dRTC kept trying to set the time on the Pico's RTC to something in 2001 and immediately crashes. This fix attempts to fetch NTP time if the dRTC is ridiculously off (as defined by an existing function; where the dRTC reports the year to be 2020)


Stepped range

Adds a step variable to the for loop branch and a range_stepped function to generate a stepped range loop.

Needs more work, apparently the compiler was just not giving me the errors it was supposed to.


Text Part Contains Surrounding HTML elements

When supplying a text template, the rendered text has HTML elements that surround the text.

I'm using the library myself, but haven't seen this behavior.
Could you check the following things:

Filename of text template follows convention. yourtemplatename.text.cshtml
Text template is marked as embedded resource
You don't have any html elements in your text template
The shared layout of the text template does not contain any html elements

All true.
On Mar 31, 2015 3:11 AM, "Robin van der Knaap"<EMAIL_ADDRESS>wrote:

I'm using the library myself, but haven't seen this behavior.
Could you check the following things:

Filename of text template follows convention.
yourtemplatename.text.cshtml
Text template is marked as embedded resource
You don't have any html elements in your text template
The shared layout of the text template does not contain any html
elements

—
Reply to this email directly or view it on GitHub
https://github.com/robinvanderknaap/RazorMailMessage/issues/3#issuecomment-87969919
.

I've just checked an email generated with razormail, no html elements.
Can you send me the email source? Also, maybe the templates, so I can have a closer look?
Also, with what kind of tool are you inspecting the email?
I personally use smpt4dev, this is a simple smtp server, which does not actually send the email, but retains the mails, so you can inspect them.

Im taking the base 64 of the text part directly from the email and decoding
it.
On Mar 31, 2015 7:47 AM, "Robin van der Knaap"<EMAIL_ADDRESS>wrote:

I've just checked an email generated with razormail, no html elements.
Can you send me the email source? Also, maybe the templates, so I can have
a closer look?
Also, with what kind of tool are you inspecting the email?
I personally use smpt4dev https://smtp4dev.codeplex.com/, this is a
simple smtp server, which does not actually send the email, but retains the
mails, so you can inspect them.
—
Reply to this email directly or view it on GitHub
https://github.com/robinvanderknaap/RazorMailMessage/issues/3#issuecomment-88056456
.

Weird, I did the same, no html elements. I don’t know where they are coming from. I need more info, like the templates, to solve this.
Van: Ronnie Overby<EMAIL_ADDRESS>Verzonden: Tuesday, March 31, 2015 1:50 PM
Aan: robinvanderknaap/RazorMailMessage
CC: Robin van der Knaap
Onderwerp: Re: [RazorMailMessage] Text Part Contains Surrounding HTML elements (#3)
Im taking the base 64 of the text part directly from the email and decoding
it.
On Mar 31, 2015 7:47 AM, "Robin van der Knaap"<EMAIL_ADDRESS><EMAIL_ADDRESS>>
wrote:

I've just checked an email generated with razormail, no html elements.
Can you send me the email source? Also, maybe the templates, so I can have
a closer look?
Also, with what kind of tool are you inspecting the email?
I personally use smpt4dev https://smtp4dev.codeplex.com/, this is a
simple smtp server, which does not actually send the email, but retains the
mails, so you can inspect them.
—
Reply to this email directly or view it on GitHub
https://github.com/robinvanderknaap/RazorMailMessage/issues/3#issuecomment-88056456
.

—
Reply to this email directly or view it on GitHub https://github.com/robinvanderknaap/RazorMailMessage/issues/3#issuecomment-88056850 .  https://github.com/notifications/beacon/AAL0uuQCOP6_aAMn1PH5T30kczBewZyeks5n6oFggaJpZM4D3Xm-.gif

How did you obtain the text part?

I'll send when i have a chance
On Mar 31, 2015 7:55 AM, "Robin van der Knaap"<EMAIL_ADDRESS>wrote:

Weird, I did the same, no html elements. I don’t know where they are
coming from. I need more info, like the templates, to solve this.
Van: Ronnie Overby<EMAIL_ADDRESS>Verzonden: Tuesday, March 31, 2015 1:50 PM
Aan: robinvanderknaap/RazorMailMessage
CC: Robin van der Knaap
Onderwerp: Re: [RazorMailMessage] Text Part Contains Surrounding HTML
elements (#3)
Im taking the base 64 of the text part directly from the email and decoding
it.
On Mar 31, 2015 7:47 AM, "Robin van der Knaap"<EMAIL_ADDRESS><EMAIL_ADDRESS>>
wrote:

I've just checked an email generated with razormail, no html elements.
Can you send me the email source? Also, maybe the templates, so I can
have
a closer look?
Also, with what kind of tool are you inspecting the email?
I personally use smpt4dev https://smtp4dev.codeplex.com/, this is a
simple smtp server, which does not actually send the email, but retains
the
mails, so you can inspect them.
—
Reply to this email directly or view it on GitHub
<
https://github.com/robinvanderknaap/RazorMailMessage/issues/3#issuecomment-88056456
.

—
Reply to this email directly or view it on GitHub <
https://github.com/robinvanderknaap/RazorMailMessage/issues/3#issuecomment-88056850>
. <
https://github.com/notifications/beacon/AAL0uuQCOP6_aAMn1PH5T30kczBewZyeks5n6oFggaJpZM4D3Xm-.gif>
—
Reply to this email directly or view it on GitHub
https://github.com/robinvanderknaap/RazorMailMessage/issues/3#issuecomment-88059044
.

I've discovered the problem. It's not the fault of RazorMailMessage, but another library: https://github.com/milkshakesoftware/PreMailer.Net/issues


Files larger than 100MB

this could explain #1:
julien-macbook:~/data/spineGeneric_multi $ ll sub-beijingGE04/anat/
total 260128
drwxr-xr-x  8 julien  staff        256 30 Jun 10:15 .
drwxr-xr-x  4 julien  staff        128 30 Jun 10:02 ..
-rw-r--r--  1 julien  staff       1451 19 Jun 09:47 sub-beijingGE04_T1w.json
-rw-r--r--  1 julien  staff  122306489 19 Jun 09:47 sub-beijingGE04_T1w.nii.gz   → PROBLEM
-rw-r--r--  1 julien  staff       1771 19 Jun 09:47 sub-beijingGE04_T2star.json
-rw-r--r--  1 julien  staff    4821177 19 Jun 09:47 sub-beijingGE04_T2star.nii.gz
-rw-r--r--  1 julien  staff       1483 19 Jun 09:47 sub-beijingGE04_T2w.json
-rw-r--r--  1 julien  staff    4854665 19 Jun 09:47 sub-beijingGE04_T2w.nii.gz

question: what should we do?

downsample these images to the native acquisition matrix (currently: upsampled to 512x512)
other ideas?

there are only 4 problematic files:
julien-macbook:~/data/spineGeneric_multi $ find sub* -type f -print0 | xargs -0 ls -la | awk '{print int($5/1000) " KB\t" $9}' | sort -n -r -k1
122306 KB	sub-beijingGE04/anat/sub-beijingGE04_T1w.nii.gz
119980 KB	sub-beijingGE03/anat/sub-beijingGE03_T1w.nii.gz
119521 KB	sub-beijingGE02/anat/sub-beijingGE02_T1w.nii.gz
118446 KB	sub-beijingGE01/anat/sub-beijingGE01_T1w.nii.gz
80034 KB	sub-brnoUhb02/anat/sub-brnoUhb02_T1w.nii.gz
79269 KB	sub-brnoUhb05/anat/sub-brnoUhb05_T1w.nii.gz

This is what git-lfs is meant for.
git lfs install
git lfs track beijingGE*/anat/*.nii.gz
git push

Of course we're going to run off the limits in git-lfs quickly without paying Github for the privilege.

i think i'll simply downsample these 4 data

i'm also uploading by smaller chunks

problematic files were downsampled-- problem solved


Remove conversion to Xyb before passing to ssimulacra2

This not only reduces the amount of code, it also eliminates a redundant conversion: compute_frame_ssimulacra2 currently converts back to LRGB from the XYB that is passed to it.
This makes the code a bit faster, ~10% from simple testing.

Thanks, this must have been left in here from when the algorithm got updated--it used to require Xyb only, then it changed upstream to require Linear RGB. :+1:


Ability to hide some product variants

I have a scenario where a product has 8 sizes and 5 colours, which leads to 40 different variations. However, some variations do not actually exist, and in the case that I have before me, there are in fact only 28 saleable variants.
While a possible solution here is to leave those 12 as sold out, it's confusing for the end user and the administrator.
I was wondering if it's possible to add a check box to each variation that enables/disables the variant such that it does not appear as an option to the end user, and when it admin, it appears as a collapsed entry, i.e. it appears on a single line with the ability to expand on mouse click?
Is this something that might be useful in the core?

When you say ' does not appear as an option to the end user', what does that actually look like in terms of the interface?
When you've got multiple drop downs, and a variation is a combination of those drop downs, how would they then behave to not show the particular combination?  Or is it just the labelling that is the issue?
It does sound useful, but at the same time I often see these kinds of problems with variations and then suggest to split them to two products, or to have one drop down with all the options  But that also might not be logical for some types of product.

What it looks like depends on what options are currently selected.
For example, with nothing selected, both colour and size are shown.
If colour is selected, then only the sizes that are available in that colour are in the size select list.
similarly, if size is chosen first, any colours not available in that size are not visible in the colour select list.
Reflecting on this a while, an easier alternative would be to have "Not Available" or similar flash up instead of "Out of Stock" so that the user isn't tempted to try to back order something that doesn't exist.


fea(ci): Disable CGO for building

This should result in static binaries, and we should not need CGO
anyhow.
Fixes #80

Done!

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Separate Group and Field Elements

Purpose
The goal of the PR is to separate field and group elements on a type level. This should prevent type errors where group and field elements are confused.
Changes
On a high-level, any use of BigUints for group and field elements is replaced by use of FieldElement or GroupElement. Similarly, BigUintPrime is replaced by ScalarField and Group which contain information about the field Z_q and group Z_p^r. Internally, field and group elements still use BigUint.
The changes in more details are:

Add util::algebra module providing the new FieldElement, GroupElement, ScalarField, Group types. This module provides all necessary methods for arithmetics, type conversion, and byte-wise representation.
Rename util::integer_util to util::algebra_util and update the methods of the module to work with group and field elements.
Move the discrete logarithm computation from eg::discrete_logs to util::algebra_util.  Add modulus and base fields to DiscreteLog to prevent using the pre-computed dlog table with the wrong base or modulus.
Remove BigUintPrime from util::prime as all its functionality is now provided by ScalarField and Group.
Add fields field and group to FixedParameters while removing the now superfluous fields p,q,r,g.
Remove all methods, apart from validate, from FixedParameters as they are now provided directly by the new types in util::algebra.
Improve the validation of field and group parameters in FixedParameters::validate by adding checks for consistency with FixedParameterGenerationParameters.
In eg::standard_parameter update STANDARD_PARAMETERS to use field and group. Add a set of toy parameters for use in testing.
In eg::election_parameter remove ElectionParameters::biguint_to_be_bytes_len_p and ElectionParameters ::biguint_to_be_bytes_len_q. These methods are now provided by the new types in util::algebra.
Replace any  use BigUint by either GroupElement or FieldElement. This includes the following types of changes:

Update all integer arithmetic to use the methods provided by FieldElement and GroupElement.
Update hash function inputs to use the new to_be_bytes_left_pad encoding function for field and group elements. The functions ensure that field and group elements are encoded as byte-arrays of the correct length.
Generate random field or group elements using the new methods provided in  util::algebra.

Checklist

[x] My code follows the style of this project.
[x] The code compiles without warnings.
[x] I have performed a self-review of the changes.
[x] I have documented my code, in particular the intent of the
hard-to-understand areas.

Have you considered using the group traits from the Rust Crypto Traits?
@tarcieri mentioned in an other discussion:

the main traits we use for groups are in the group crate. they're somewhat focused on elliptic curve groups: https://github.com/zkcrypto/group

see also https://docs.rs/group/latest/group/

here's an example of how we consume the traits: https://docs.rs/primeorder/latest/primeorder/struct.ProjectivePoint.html#impl-Group-for-ProjectivePoint<C>

Have you considered using the group traits from the Rust Crypto Traits?

Yes, it would make the abstraction even cleaner and would allow us to add other groups as well.
But we ran into issues when trying to implement a group trait for arbitrary integer groups (parametrised by a big-int modulus). However, it should work if we support specific groups, e.g. in particular the ones mentioned in the specification.
@spitters, @tarcieri: Is there a good standard trait to be used? Bonus-points if it would support both additive notation (for elliptic curve groups) and multiplicative notation (for integer groups).


unable to use syscall-args when gef-extras configured in python3.9

Hi, I have installed the gef-extras using the install script way, and the script finished successfully. But when I invoke the syscall-args function,

I am using the python3.9 environment. I have already googled all over the internet, but found nothing really useful tips. Is this a compatible issue due to my py environtment?

Hi can you run the version command and share the output here. Or you can join our Discord server for a quicker response.

If you enable the debug output (gef config gef.debug 1) what message do you get after running the command?

@daniellimws  This is my version output

@hugsy It's a bit weired. Everytime I set the gef debug using  gef config gef.debug 1 command, I got a empty screen, even lose all my context output. Literally I can't continue my debug session

detail of the error

My bet would be that the path given for the folder where the syscall arg files are is wrong. I  have just retested the command and it works just fine.

Fixed


Error pulling from github

Hello,
I installed flavours from the AUR and couldn't make it work on my new laptop. It used to work on my previous one but didn't try recently (will try to when I find it again).
I have lots of lines in the likes of fatal: impossible d'accéder à 'https://github.com/afq984/base16-xfce4-terminal/' : Could not resolve host: github.com when updating templates and schemes.
What I don't quite understand is that I can go to github without issues on my browser and also curl github.com without errors.
I selfhost AdGuard Home and thought it might have interfered but I didn't find anything wrong in the logs (github.com requests are answered and not blocked). I tried disabling AdGuard's protection just in case but it changed nothing. I'll try with a different wifi just in case.
I have no idea how to troubleshoot this more,
Thanks :)

Sorry to have bothered you, I found my old laptop, flavours doesn't work on there either so I tried using another network (my phone's mobile data) and it worked again so I guess there's something very wrong with my config in AdGuard I think.


Add base tag to index.html

Add base tag so navigation won't break when the app base is other than the root domain.

Wasn't this (https://github.com/mgechev/angular2-seed/blob/master/src/main.ts#L10) enough ?

This will help for loading resources such as js, css files and images.

I'll clean the tools/utils up as it's quite inconsistent the way we handle this.


How is the performance report generated?

I don't think the report aggregator includes the performance report. Please include instructions on how to generate the performance report. Thx

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

ID: ca02c1ed-5060-da34-8177-ecda29144eef
Version Independent ID: 45eab3ad-7f4f-e8b7-9a93-17ade9365ae4
Content: Migration Manager Reports - Migrate to SharePoint and OneDrive
Content Source: migration/mm-reports.md
Service: sharepoint-online
GitHub Login: @JoanneHendrickson
Microsoft Alias: jhendr

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


chore(deps): update prettier version

Update prettier and related plugins to latest version.

While trying to figure out what is happening with e2e tests, I found we updated Cypress but not Vue cli pluggin. I'm not sure if this helps, but I'll leave the reference here: https://github.com/vuejs/vue-cli/issues/7195


cephfs: add subvolume path to volume context

There are many use-cases with adding the subvolume path to the PV object. the volume context returned in the createVolumeResponse is added to the PV object by the external provisioner.
More Details about the use cases are in the below link
https://github.com/rook/rook/issues/5471
Signed-off-by: Madhu Rajanna<EMAIL_ADDRESS>

Thanks @Madhu-1 . The use case https://github.com/rook/rook/issues/5471#issuecomment-774485869 looks like a valid one and I believe its good to record it in the PV object as in this case if it helps some customers.

Message: "etcdserver: request timed out"

/test ci/centos/upgrade-tests-cephfs

/test ci/centos/upgrade-tests-cephfs

/retest ci/centos/upgrade-tests-cephfs

Code looks good to me. The test failure looks to be due to etcdserver: request timed out.

Warning: Permanently added 'n12.pufty.ci.centos.org,<IP_ADDRESS>' (ECDSA) to the list of known hosts.
Error from server: etcdserver: request timed out

/test ci/centos/mini-e2e-helm/k8s-1.20

Installation through Helm charts failed:
+ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no<EMAIL_ADDRESS>'cd /opt/build/go/src/github.com/ceph/ceph-csi && ./scripts/install-helm.sh install-cephcsi '\''cephcsi-e2e-52be7e504159'\'''
...
Checking Deployment status for label app=ceph-csi-cephfs in Namespace cephcsi-e2e-52be7e504159
Total replicas 1 is not equal to ready count
Error from server: etcdserver: request timed out
script returned exit code 1

/retest ci/centos/mini-e2e-helm/k8s-1.20

failed to validate encrypted pvc with error timed out waiting for the condition

tests failed for encryption

/retest ci/centos/mini-e2e-helm/k8s-1.19

/retest ci/centos/mini-e2e/k8s-1.19

@nixpanic PTAL


Does not work, nor load using Obsidian with a Lenovo IdeaPad Duet (ChromeOS-ARM)

It does not load when the plugin is active, reinstalled and does not fix the issue, the YAML doesn't load with the plugin enable.

I'm afraid I can't replicate the issue you are having. What other plugins do you have installed? Does it change behaviour when you disable them?

I have tried on a new vault, no plugin, it's the same issue

Thanks @TRENEEDANAME. I'll keep this open in case someone else can help replicate and narrow down.

Closing as I still can't reproduce and no one has stepped forward with a fix.


Additional audio API methods

This (finally!) implements #36

getStatus
getVolume / setVolume
getDuration

Thanks for your feedback, I think I've fixed the issues we discussed.

Actually I believe this is an existing bug with playState since getPosition() also has this issue. Just adding these new APIs has made it more visible!

Ok, think I've resolved those issues. Seemed to be caused by the value of playState being cached in those instances. Reading from data.playState instead gives correct values.


Code element

Support Spectacle <Code/> element with monospace font rendering

Would be great to have support for the R programming language:
http://mathematicalcoffee.blogspot.com/2013/05/a-prism-syntax-highlighter-for-r.html

Wishlist: Syntax highlighting support for these languages:

JavaScript
Python
R
MATLAB

Using react-codemirror, we will get syntax highlighting for free.
Theming is straightforward: https://codemirror.net/demo/theme.html#blackboard
Language detection is more involved: http://stackoverflow.com/a/9675540


[Feature] [WRS-1724] Introduce number variable

This PR introduces new variable type
PR Guidelines

[ ] I have read the contribution and PR guidelines

Related tickets

WRS-1724

Screenshots

And what about #456 ?


For some reason, access to IBM Q is blocked in Ukraine

Environment

Qiskit Terra version:
Python version:
Operating system:

What is happening?
When I try to check Qiskit documentation at https://docs.quantum.ibm.com/, CloudFlare blocks Ukrainian IPs. It happens on all resources within the *.quantum.ibm.com subdomain.
Is there a particular reason for this?
Sorry for posting it here, but I can't even open a case on ibm.com due to this restriction.

How can we reproduce the issue?
Visit https://docs.quantum.ibm.com/ from Ukraine.
What should happen?
You will blocked page.
Any suggestions?
Remove block on CloudFlare.

I'm sorry, Ukraine is on the "Prohibited Countries" list in the terms of the IBM Quantum Cloud offering:

Prohibited Countries

a. IBM Quantum is unavailable to individuals ordinarily resident in the following countries and You shall not access IBM Quantum from the following countries: Afghanistan, Armenia, Azerbaijan, Belarus, Myanmar (Burma), Cambodia, Central African Republic, People's Republic of China (including Hong Kong), Democratic Republic of the Congo, Cuba, Cyprus, Eritrea, Georgia, Haiti, Iran, Iraq, Kazakhstan, North Korea, Kyrgyzstan, Laos, Lebanon, Libya, Macau, Moldova, Mongolia, Russia, Somalia, South Sudan, Sudan, Syria, Tajikistan, Turkmenistan, Ukraine, Uzbekistan, Venezuela, Vietnam, Yemen, and Zimbabwe.

Unfortunately, no maintainer of this repository has the power to overrule or modify the legal terms of the platform, and I can't offer any further advice on accessing cloud offerings, nor what constitutes the full feature set of our cloud offering.
For what it's worth, you can build the API documentation of Qiskit locally, and much of the documentation source itself is open source: https://github.com/Qiskit/documentation.  You might be able to find what you need there.

I'll transfer this over to the documentation repository in case there's any further comment from the owners there.


Updated Import in Readme

Updated Import in Readme @vinayak25
Related to issue #1

Done. Thanks for your contribution @rasikraj01


HDFS-17305. Add avoid datanode reason count related metrics to namenode.

Description of PR
JIRA: https://issues.apache.org/jira/browse/HDFS-17305
Now, there are slownode and load avoidance functions, mainly implemented in the  BlockPlacementPolicyDefault class.

After triggering the exclusion condition, some logs will be printed on nn, which can be used to troubleshoot anomalies in nn by checking the logs, the code is as follows:

...
if (!node.isInService()) {
  logNodeIsNotChosen(node, NodeNotChosenReason.NOT_IN_SERVICE);
  return false;
}

if (avoidStaleNodes) {
  if (node.isStale(this.staleInterval)) {
    logNodeIsNotChosen(node, NodeNotChosenReason.NODE_STALE);
    return false;
  }
}
...

If the exclusion condition is triggered, we can record it through metrics and count the total number of exclusions.

These metrics through prometheus+grafana to observe the current situation of the cluster when selecting datanodes.

How was this patch tested?
Add TestNameNodeMetrics#testAvoidTargetDataNodeMetrics UnitTest.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
18m 42s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
48m  1s

trunk passed

+1 :green_heart:
compile
1m 23s

trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
1m 13s

trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
checkstyle
1m 13s

trunk passed

+1 :green_heart:
mvnsite
1m 23s

trunk passed

+1 :green_heart:
javadoc
1m  9s

trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 35s

trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

-1 :x:
spotbugs
3m 23s
/branch-spotbugs-hadoop-hdfs-project_hadoop-hdfs-warnings.html
hadoop-hdfs-project/hadoop-hdfs in trunk has 1 extant spotbugs warnings.

+1 :green_heart:
shadedclient
40m  2s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m  9s

the patch passed

+1 :green_heart:
compile
1m 17s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
1m 17s

the patch passed

+1 :green_heart:
compile
1m  9s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
javac
1m  9s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m  2s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 6 new + 95 unchanged - 0 fixed = 101 total (was 95)

+1 :green_heart:
mvnsite
1m 14s

the patch passed

+1 :green_heart:
javadoc
0m 55s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 32s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
spotbugs
3m 22s

the patch passed

+1 :green_heart:
shadedclient
40m 47s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
253m 54s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 42s

The patch does not generate ASF License warnings.

425m 17s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.datanode.TestDirectoryScanner

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6393/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6393

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux f3b86a25ef3b 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / d9a672c10c10bfb439db8cb3b2ff9778850644e6

Default Java
Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6393/1/testReport/

Max. process+thread count
2847 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6393/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 21s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
32m  4s

trunk passed

+1 :green_heart:
compile
0m 45s

trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
0m 37s

trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
checkstyle
0m 38s

trunk passed

+1 :green_heart:
mvnsite
0m 42s

trunk passed

+1 :green_heart:
javadoc
0m 41s

trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 58s

trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

-1 :x:
spotbugs
1m 40s
/branch-spotbugs-hadoop-hdfs-project_hadoop-hdfs-warnings.html
hadoop-hdfs-project/hadoop-hdfs in trunk has 1 extant spotbugs warnings.

+1 :green_heart:
shadedclient
20m 30s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 36s

the patch passed

+1 :green_heart:
compile
0m 38s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
0m 38s

the patch passed

+1 :green_heart:
compile
0m 32s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
javac
0m 32s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 30s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 6 new + 95 unchanged - 0 fixed = 101 total (was 95)

+1 :green_heart:
mvnsite
0m 38s

the patch passed

+1 :green_heart:
javadoc
0m 30s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
0m 55s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
spotbugs
1m 47s

the patch passed

+1 :green_heart:
shadedclient
20m 27s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
187m 17s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 28s

The patch does not generate ASF License warnings.

273m 44s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6393/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6393

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 93050fc81e6a 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / d9a672c10c10bfb439db8cb3b2ff9778850644e6

Default Java
Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6393/2/testReport/

Max. process+thread count
4538 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6393/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
17m  9s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
47m  9s

trunk passed

+1 :green_heart:
compile
1m 23s

trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
1m 17s

trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
checkstyle
1m 12s

trunk passed

+1 :green_heart:
mvnsite
1m 23s

trunk passed

+1 :green_heart:
javadoc
1m  8s

trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 36s

trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

-1 :x:
spotbugs
3m 21s
/branch-spotbugs-hadoop-hdfs-project_hadoop-hdfs-warnings.html
hadoop-hdfs-project/hadoop-hdfs in trunk has 1 extant spotbugs warnings.

+1 :green_heart:
shadedclient
40m 28s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 13s

the patch passed

+1 :green_heart:
compile
1m 16s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
1m 16s

the patch passed

+1 :green_heart:
compile
1m  7s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
javac
1m  7s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m  4s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 6 new + 97 unchanged - 0 fixed = 103 total (was 97)

+1 :green_heart:
mvnsite
1m 14s

the patch passed

+1 :green_heart:
javadoc
0m 55s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 31s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
spotbugs
3m 21s

the patch passed

+1 :green_heart:
shadedclient
39m 35s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
249m  7s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 42s

The patch does not generate ASF License warnings.

417m 17s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.datanode.TestDirectoryScanner

hadoop.hdfs.TestRollingUpgrade

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6393/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6393

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 3d2270ab75d0 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / d9a672c10c10bfb439db8cb3b2ff9778850644e6

Default Java
Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6393/3/testReport/

Max. process+thread count
2384 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6393/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
11m 30s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
markdownlint
0m  0s

markdownlint was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
14m 18s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
30m 33s

trunk passed

+1 :green_heart:
compile
16m  4s

trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
14m 59s

trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
checkstyle
4m  8s

trunk passed

+1 :green_heart:
mvnsite
3m 11s

trunk passed

+1 :green_heart:
javadoc
2m 23s

trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
2m 38s

trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

-1 :x:
spotbugs
3m 22s
/branch-spotbugs-hadoop-hdfs-project_hadoop-hdfs-warnings.html
hadoop-hdfs-project/hadoop-hdfs in trunk has 1 extant spotbugs warnings.

+1 :green_heart:
shadedclient
35m  9s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 31s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m  4s

the patch passed

+1 :green_heart:
compile
15m 26s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
15m 26s

the patch passed

+1 :green_heart:
compile
14m 47s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
javac
14m 47s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
4m  6s

the patch passed

+1 :green_heart:
mvnsite
3m 13s

the patch passed

+1 :green_heart:
javadoc
2m 19s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
2m 38s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
spotbugs
6m 18s

the patch passed

+1 :green_heart:
shadedclient
35m 17s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
19m 15s

hadoop-common in the patch passed.

-1 :x:
unit
218m 46s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
1m  2s

The patch does not generate ASF License warnings.

468m  9s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.datanode.TestDirectoryScanner

hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6393/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6393

Optional Tests
dupname asflicense mvnsite codespell detsecrets markdownlint compile javac javadoc mvninstall unit shadedclient spotbugs checkstyle

uname
Linux a85486658943 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / cce347e407784e0ee537933dfcb65cf0ed4cf1fb

Default Java
Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6393/4/testReport/

Max. process+thread count
3373 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6393/4/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

Hi @tasanuma @ayushtkn,
Please kindly review this PR as well if you have bandwidth. thanks.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

_ Prechecks _

+1 :green_heart:
dupname
0m 01s

No case conflicting files found.

+0 :ok:
codespell
0m 01s

codespell was not available.

+0 :ok:
detsecrets
0m 01s

detect-secrets was not available.

+0 :ok:
markdownlint
0m 01s

markdownlint was not available.

+0 :ok:
spotbugs
0m 01s

spotbugs executables are not available.

+1 :green_heart:
@author
0m 00s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m 00s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
2m 24s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
93m 56s

trunk passed

+1 :green_heart:
compile
42m 36s

trunk passed

+1 :green_heart:
checkstyle
6m 25s

trunk passed

-1 :x:
mvnsite
4m 44s
/branch-mvnsite-hadoop-common-project_hadoop-common.txt
hadoop-common in trunk failed.

+1 :green_heart:
javadoc
11m 15s

trunk passed

+1 :green_heart:
shadedclient
201m 15s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
2m 32s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
9m 47s

the patch passed

+1 :green_heart:
compile
39m 14s

the patch passed

+1 :green_heart:
javac
39m 14s

the patch passed

+1 :green_heart:
blanks
0m 01s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
6m 21s

the patch passed

-1 :x:
mvnsite
4m 39s
/patch-mvnsite-hadoop-common-project_hadoop-common.txt
hadoop-common in the patch failed.

+1 :green_heart:
javadoc
11m 33s

the patch passed

+1 :green_heart:
shadedclient
179m 44s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
asflicense
5m 58s

The patch does not generate ASF License warnings.

583m 40s

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hadoop/pull/6393

Optional Tests
dupname asflicense mvnsite codespell detsecrets markdownlint compile javac javadoc mvninstall unit shadedclient spotbugs checkstyle

uname
MINGW64_NT-10.0-17763 7f59f0d70d63 3.4.10-87d57229.x86_64 2024-02-14 20:17 UTC x86_64 Msys

Build tool
maven

Personality
/c/hadoop/dev-support/bin/hadoop.sh

git revision
trunk / cce347e407784e0ee537933dfcb65cf0ed4cf1fb

Default Java
Azul Systems, Inc.-1.8.0_332-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6393/1/testReport/

modules
C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch-windows-10/job/PR-6393/1/console

versions
git=2.44.0.windows.1

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

This message was automatically generated.


regroup doc

Pull Request Test Coverage Report for Build 935

0 of 0   changed or added relevant lines in 0 files are covered.
20 unchanged lines in 7 files lost coverage.
Overall coverage decreased (-0.1%) to 61.39%

Files with Coverage Reduction
New Missed Lines
%

core/lager/lager.go
1
76.71%

core/registry/pilot/util.go
2
53.66%

core/registry/servicecenter/util.go
3
30.36%

core/archaius/yaml.go
3
0.0%

server/restful/context.go
3
83.02%

core/config/fault_injection_config.go
3
0.0%

core/lager/logrotate.go
5
33.94%

Totals

Change from base Build 929:
-0.1%

Covered Lines:
4708

Relevant Lines:
7669

💛  - Coveralls


Disable graph out when using Skott as a command line tool

Hi everyone,
I'm not logging an issue this is more a general question about the usage of Skott.
So I'm looking at switching from Madge to Skott as it comes with a lot more out of the box and has a better api, however, I have noticed that when using Skott it outputs a visual graph whether that is via the web app or some external file.
I'm wanting to use Skott purely as a command line tool, Is it possible to disable the visual output and instead just have some basic information outputted to the console e.g. if I have a circular dependency show me information about that.
Any feedback and comments are appreciated.
Thank's,
Alex

Hey @AlexMachin1997, welcome aboard!
I'm not sure to understand what do you exactly mean with "visual graph" but with skott you have many ways to exploit the graph itself without any visualization involved, whether it's from the CLI or from the JavaScript API.
If you're willing to use skott from the CLI but don't want to display the graph itself you can provide the raw display mode which basically skips any form of visual rendering of the generated graph.
skott --displayMode=raw

If you then want to combine that with the display of the circular dependencies:
skott --displayMode=raw --showCircularDependencies

Note that you can use flag aliases if you want to shorten the CLI command:
skott -m raw -s

Aliases (short flags) were reworked recently by @ACHP in 0.29.0, they now work as expected. You can exec skott --help to see more :)
By the way I'm re-opening the issue if you still have questions (I don't know if you closed it voluntarily because you found answers on the documentation). Let me know!


IMPROVE: Added tab completion, run-shell, default Yes on cleaning

I don't know if this is a good change...

Totally restructured the manage-docker file to make it source-able for
tab completion
added 'run-shell' for debugging: opens a shell in the container and
deletes the container afterwards

Ok, it really might be better to answer default "No" on cleaning. You can rebase it later to one commit...


Is it possible to use with custom integration?

#216 makes me think that this is not possible. Could anyone confirm?

I'm not sure.  I've only ever used it with the Jenkins app in slack integrations.

I forgot to say, but I tried using the last part of the webhook url and it didn't work.

See #249 - close in deference to that PR


[MOD] Remove rounded pfps from Collapsible Comments and add it as a seperate mod

@artillect we noticed your script Collapsible Comments automatically rounds out pfps, and we thought it would be preferable if this was a separate mod for more customization, as not everyone likes rounded pfps and it comes built in to your script.

Good call, I initially planned on turning collapsible comments into something like KES and that's a left-over feature from then, I'll remove that and we can roll it into a separate mod

Feel free to commit it into https://github.com/aclist/kbin-kes/pull/144 so that it goes in with that patch

Resolved by 9af497930741f66e7a326a52d6eb2ae8a061ccf4