New release for eo-hamcrest-0.5.0

New release for eo-hamcrest-0.5.0

PR-Codex overview
This PR updates the version of the org.eolang.hamcrest package and its tests from 0.4.0 to 0.5.0.
Detailed summary

Updated the version of the org.eolang.hamcrest package and its tests from 0.4.0 to 0.5.0.

The following files were skipped due to too many changes: objects/org/eolang/hamcrest/matchers/described-as-matcher.eo, objects/org/eolang/hamcrest/assert-twice-that.eo, tests/org/eolang/hamcrest/failed-output/arrays-matchers-failed-output.eo, objects/org/eolang/hamcrest/matchers/has-item-matcher.eo, objects/org/eolang/hamcrest/matchers/has-items-matcher.eo, objects/org/eolang/hamcrest/matchers/array-each-matcher.eo, tests/org/eolang/hamcrest/failed-output/is-substring-failed-output.eo, tests/org/eolang/hamcrest/failed-output/any-of-failed-output.eo, tests/org/eolang/hamcrest/failed-output/string-ends-with-failed-output.eo, tests/org/eolang/hamcrest/failed-output/string-starts-with-failed-output.eo, tests/org/eolang/hamcrest/arrays-matchers-tests.eo, tests/org/eolang/hamcrest/failed-output/all-of-failed-output.eo

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@Graur this PR can be closed because the library was already released to objectionary


AYON: Load local settings

Brief description
Added option to load some of site settings in client and to define site id.
Description
Define AYON site id which is important part of connection to server. Tells server from where was connection created and from that moment it should be possible to change "studio" root overrides on server. Anatomy is using studio root overrides from server when in AYON mode.
Additional info
There are unhandled cases of setting site id in ayon connection when non-ayon process is launched. This could cause that studio site overrides woult not work in DCCs. This has to be validated and fixed in this or following PR. Because it could be connected to changes in ayon_api it would be maybe better to do it in different PR. Or itcould be handled in host install logic?
Note
Make sure you update venv.
Testing notes:

Connection to server should still work and could be created
Change of user or server should be possible
Anatomy should return roots
If studio overrides are set on server for the site it should be propagated in Anatomy too

I had to stop OP and restart it and now I am getting:

But after changing root on a site (manageProjects/roots?project=demo_Commercial), Anatomy in Tray returns correct root. So it's working!! :)


vendor strip area needs more icons, or a css change

seems like it should center...?

Agreed!

yup done


Feature Request

For any CF CLI command (cf create-service, etc) that takes a json message can you have it accept yaml files too (it's neater to maintain) and convert them to json internally?
Thanks

@DevasiaThomas Can you help me better understand what problem this feature would solve?

So when I am creating a service instance or binding one and there are a huge number of parameters that are required - Maintaining a huge json file is problematic. Moreover, I can provide a prebuilt YAML file to customers/users for them to customize, based on the comments I have in the YAML file.. something one cannot do with json files.

Hi @DevasiaThomas ,
At this time, we will not be able to pursue this. If this issue is still relevant, please open a new GH Issue.


Update 0094-response-time-windows-for-witness-rewarding.md

Minor suggestions regarding correction of typos as well as clarity/readability.

Want @disk91 and @jmarcelino to 👍🏼 here.

Merging on behalf of authors.


feature/support-salt-in-options

Hey, thanks for submitting this PR. But, why did you delete the CI file?

@garbados
Ah. Github wouldn't let me push with the CI File there as I don't have permissions to run the CI. It was a bit weird, but you can add it back.

@tahpot Can you share the error the GitHub gave you? That behavior, of rejecting PRs like this, is deeply concerning. Imagine if every contributor had to delete the workflow just to submit a patch, only for maintainers to have to re-add it!

Additionally: This PR will require a test in order to be accepted, and the readme will need to be updated here to explain the new option.

@tahpot Can you share the error the GitHub gave you? That behavior, of rejecting PRs like this, is deeply concerning. Imagine if every contributor had to delete the workflow just to submit a patch, only for maintainers to have to re-add it!

TBH, I didn't look too closely at the time. I've just tried re-adding the file and received the following:
To https://github.com/tahpot/crypto-pouch.git
 ! [remote rejected] feature/support-key-import -> feature/support-key-import (refusing to allow a Personal Access Token to create or update workflow `.github/workflows/ci.yaml` without `workflow` scope)
error: failed to push some refs to 'https://github.com/tahpot/crypto-pouch.git'

As I haven't configured Github to use a PAT on my local repo, I can't push this file. I guess the solution here is for every maintainer to configure a PAT with worfklow scope locally before they can commit.

@garbados Apologies for the originally rushed PR.
Readme and tests added.

@garbados Is there anything else required to get this PR merged?

Hey, sorry for the delay, but it looks like this PR wipes out the trySetup logic. Why?


Fix sampling float16

When using sampling strategy with float16, the condition rand_num <= 0.0f may not be meet even if after k iterations and corresponding ids may get a strange number.
This won't cause the program exit, but it's the reason why post-process fails.
We initialize curandstate with clock() rather than 0 and run into this problem.
Average generation length: 20
Num of samples: 5000
Failed: 1

Can you describe how to reproduce this issue?
Because
sum = 0.0f;
for (int i = 0; i < k; i++) {
    sum += s_val2[s_id[i]];
}
rand_num = (float)curand_uniform(&local_state) * sum;

and curand_uniform return a value between 0.0 and 1.0.
So, when we compute
for (int i = 0; i < k; i++) {
    rand_num -= (float)s_val2[s_id[i]];
}

rand_num <= 0.0f must be true and we shouldn't need the checking of "k-1 == i"

I think this may be the reason. When using float16:
total.u = __expf(total.u - s_max);  // float32
s_val2[total.p] = (T)total.u;  // float16
s_sum += total.u;  // float32

Hence, after summation, s_sum might be a little bit greater than sum(s_val2) in float32.
The following is a concrete case:
s_sum = 3.192882
rand_num = 3.192803
s_val2 = [1.000000, 0.731445, 0.526855, 0.483643, 0.450684]

# after k iter:
rand_num = 0.000176

Got it, thanks.


Update engaging-face-to-face.html

removed extra l in individuallly to test access.

removing extra l

removing extra l


[7.x] Add alias get() method to Stringable

This PR adds a get() alias method to Illuminate\Support\Stringable, which simply defers to the already present __toString() method.
// Before
(string) Str::of('Laravel')->append(' 7');
Str::of('Laravel')->append(' 7')->__toString();

// After
Str::of('Laravel')->append(' 7')->get();

My reasoning for this, is that it's a little awkward to have to write code that either needs to cast the instance to a string or use __toString(), which kind of feels like an internal method.
Also, since Laravel developers are so used to using get() on chainable classes e.g. collections, query builders etc. adding it to Stringable seems like an easy win.

Cast to string.

Fair enough if that is the preferred approach.
If anyone would like this functionality, you can always add a macro in your AppServiceProvider:
use Illuminate\Support\Stringable;

Stringable::macro('get', fn() => $this->__toString());


issue in DSGAN part about the UNsupervied training

Hello Manuel,
recently, I am following your work FSSR. While changing the structure of the DSGAN, I got some doubt about the unsupervised training as follows.

As the architecture dipicted in the paper, the unsupervised part of DSGAN lies in the Discriminator part ---- to tell a generated LR image from a real world LR image.
But When reading the code of train.py, I find that  when dealing with any dataset rather than aim2019, the train_set is defined as follows
train_set = loader.TrainDataset(PATHS[opt.dataset][opt.artifacts]['hr']['train'], cropped=True, **vars(opt))
And I roughly draw a pipeline of the management of the data

So,  in my mind, it seems that you haven't use the real-world LR image as disc_img in the backward part. so it can't count as unsupervised training?
Is my understanding correct?
Futhermore, If i want to have the real-world LR image envoled in the train_dataset, Can I just change the defination of the dataset the same way the Validation dataset is defined?(output 3 imgs: bicubiced_img,  img downscaled by generator and real LR image)
And by the way,  I want to assure that the output of  utils.imresize(img) is the bicubic downsampled format of img?
And what is the short word disc (in disc_img ) mean? (Just for personal interest.)
Thx

So, in my mind, it seems that you haven't use the real-world LR image as disc_img in the backward part. so it can't count as unsupervised training?

We made experiments with real-world images from the DPED dataset as well as images with artificial corruptions. Of course the latter are not actual real-world images, but are supposed to simulate real-world conditions.
Our goal is to generate downsampled "HR" images (i.e. "LR" images) with the same characteristics as the original HR images, or alternatively with the characteristics of another set of images. Cropping such an image does not change any of its local characteristics, but simply reduces the number of pixels used. We are applying the cropping to make sure that the real and fake images are of the same size, which balances the training of the discriminator.

Futhermore, If i want to have the real-world LR image envoled in the train_dataset, Can I just change the defination of the dataset the same way the Validation dataset is defined?(output 3 imgs: bicubiced_img, img downscaled by generator and real LR image)

I am not sure what you mean with this. What do you define as real LR image? If you feed in the bicubically downsampled images as target, then the whole process of learning the downsampling method is useless, because the downsampling method is already known.

And by the way, I want to assure that the output of utils.imresize(img) is the bicubic downsampled format of img?
yes

And what is the short word disc (in disc_img ) mean? (Just for personal interest.)
"discriminator image"

Thanks For Your Kind Reply With Patience.
Now I totally understand the usage of the corruptions(gaussian or jpeg artifacts), which is used to simulate the real world domain and guide the DSGAN network.

Futhermore, If i want to have the real-world LR image envoled in the train_dataset, Can I just change the defination of the dataset the same way the Validation dataset is defined?(output 3 imgs: bicubiced_img, img downscaled by generator and real LR image)

I am not sure what you mean with this. What do you define as real LR image? If you feed in the bicubically downsampled images as target, then the whole process of learning the downsampling method is useless, because the downsampling method is already known.

And for the operation mentioned above, I meant to have real world image envolved in the training process. So in that process, the bicubic-downsampled images is not used for learning the target domain, while is for learning the rough structure of the input image.
Thats's what I wanna do.


3 more suggestions

I repeat myself: I love Instrumenta & am definately a power user.
I know I keep spamming suggestions, I hope it does not get too annoying :)

Distributing elements horizontally or vertically works well. When selecting only 1 shape and using the normal powerpoint function to distribute horizontally or vertially, it will align the shape in the middle of the slide. With the function on Instrumenta this does not work currently

Often people update a slide but keep the original. When finalizing it, it would be great to have a button which hides the slide and then sends it to the back: it is out of sight in presentation mode, does not irritate when working on the doc, but is still there :)

Under the special characters button you currently have Euro, Copysign, etc. It would be great to have a protected space there as well (Character Code 00A0 from Hex)

Hi @ace9790 ! No worries, not annoying at all. Happy to improve the tool.

this should also be the default behaviour in Instrumenta. Not sure why it does not work for you. Windows or Mac?

2 and 3 I can look into

I am on a windows (work computer, many functionalities are limited due to security concerns).

By the way, this is the error I get

Sorry I thought you meant clicking align center (6 buttons to the left). That does work in that way.
Can also build this into the distribute horizontally/vertically functions of Instrumenta

Latest beta now includes these three features!
You can find 2 in the cleanup menu. It processes all selected slides.

 Thanks!!!

one minor improvement for the implemented "move to end and hide slide" feature: ideally at the end of the script, it would select the next slide (and thus shift the screen back).
Currently, the screen ends up at the end of the presentation, and then you need to scroll back to the position you started in.
Do you know what i mean?


ZeroDivisionError during DPO training eval step

openrlhf.cli.train_dpo
--save_path ./checkpoint/llama3-3b-dpo-$ds_name
--pretrain $pretrain
--dataset $dataset_dir/$ds_name
--save_steps -1
--logging_steps 1
--eval_steps -1
--train_batch_size 12
--micro_train_batch_size 2
--bf16
--max_epochs 1
--max_len 4096
--zero_stage 2
--learning_rate 5e-7
--beta 0.1
--chosen_key chosen
--rejected_key reject
--flash_attn
--load_checkpoint
--gradient_checkpointing
--apply_chat_template \
Here is my training script, which launch with deepspeed
The error message:
[rank5]:     self.evaluate(self.eval_dataloader, global_step)
[rank5]:   File "openrlhf/trainer/dpo_trainer.py", line 289, in evaluate
[rank5]:     "eval_loss": loss_sum / times,
[rank5]: ZeroDivisionError: division by zero
I found that if my dataset didn't contain "test" part,
the default behavoir of
openrlhf/utils/utils.py  -> blending_datasets
default 3% of training data will use as evaluation data.
Since my dataset is a tiny one, 3% means 34 samples, and I found that the counter variable "times" is zero.
How to fix it? can we udpate it to a safe division?

could you help me to submit a MR to check the evaluation data loader length. It len <= 0 skip the evaluation

could you help me to submit a MR to check the evaluation data loader length. It len <= 0 skip the evaluation

Submit a MR, but I am not sure which branch to add the code.


Add support for rectangular images and videos to AdversarialPatch attack

Description
This pull request adds support for rectangular images and videos to AdversarialPatch attack including AdversarialPatchNunpy and AdversarialPatchTensorFlowV2.

AdversarialPatchNunpy supports videos of shape NFCHW or NFHWC
AdversarialPatchTensorFlowV2 supports videos of shape NFHWC

This pull request builds on PR #404 by @yusong-tan , thank you very much.
Type of change
Please check all relevant options.

[x] Improvement (non-breaking)
[ ] Bug fix (non-breaking)
[ ] New feature (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Codecov Report

Merging #567 into dev_1.3.3 will increase coverage by 2.88%.
The diff coverage is 64.21%.

@@              Coverage Diff              @@
##           dev_1.3.3     #567      +/-   ##
=============================================
+ Coverage      65.72%   68.61%   +2.88%
=============================================
  Files            132      132
  Lines          11256    11413     +157
  Branches        1900     1967      +67
=============================================
+ Hits            7398     7831     +433
+ Misses          3205     2883     -322
- Partials         653      699      +46

Impacted Files
Coverage Δ

...asion/adversarial_patch/adversarial_patch_numpy.py
67.70% <61.87%> (-10.87%)
:arrow_down:

.../adversarial_patch/adversarial_patch_tensorflow.py
79.35% <70.58%> (+61.57%)
:arrow_up:

...ted_gradient_descent/projected_gradient_descent.py
58.57% <0.00%> (-5.84%)
:arrow_down:

art/attacks/evasion/shadow_attack.py
12.57% <0.00%> (-3.56%)
:arrow_down:

...cks/evasion/adversarial_patch/adversarial_patch.py
46.66% <0.00%> (-1.67%)
:arrow_down:

art/attacks/attack.py
82.60% <0.00%> (ø)

art/estimators/estimator.py
68.87% <0.00%> (+0.51%)
:arrow_up:

art/data_generators.py
74.78% <0.00%> (+5.21%)
:arrow_up:

art/estimators/tensorflow.py
78.94% <0.00%> (+5.26%)
:arrow_up:

art/attacks/evasion/deepfool.py
90.90% <0.00%> (+10.22%)
:arrow_up:

... and 4 more


Asking for Github username/pw using Bundle 'shawncplus/phpcomplete'

For some reason I'm getting prompted fora GitHub username/pw when adding
Bundle 'shawncplus/phpcomplete'
maybe a vundle issue, crossposting

This is still a bug. It freezes vim, when it should instead notify the user of a 404. Vim has to be externally killed, and no username can even be entered.


ref #790: Remove faulty/surplus defaults on a parameter before mandatory ones

Q
A

Branch
7.1.x

Bug fix?
no

New feature?
no

BC breaks?
no

Deprecations?
no

Tests pass?
yes

Fixed issues
chameleon-system/chameleon-system#790

License
MIT

There are some more places mentioned in the issue. Could you cover them as well? Thanks :)

I am not a smart person. The missing ones were in shop, not in base.


chore: fix local dev missing dep

Description
I noticed the package wasn't installed to run the project. If that's intentional, ignore the PR or feel free to just add manually and close this

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
[ ] Ideally, include a test that fails without this PR but passes with it.
[ ] Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

[ ] Run the tests with pnpm test:ci.

Documentation

[ ] If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

[ ] Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

Ah, that's where it was used. Can't we just use &?

"dev:ui": "pnpm run dev & pnpm run dev:client"

The main advantage is that this version works on Windows (I think). See<EMAIL_ADDRESS>
We use pnpm's shell-emulator, I wonder if it will just work 🤔

Thanks for the PR. I also noticed that and just wanted to confirm with others.
There are two run-p and I'm currently hitting the first one which fails when running pnpm dev from root:
$ pnpm dev
...
packages/browser dev: command not found: run-p
packages/browser dev: Failed
/home/hiroshi/code/others/vitest/packages/browser:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL<EMAIL_ADDRESS>dev: `rimraf dist && run-p dev:node dev:client`
Exit status 127
 ELIFECYCLE  Command failed with exit code 1.

https://github.com/vitest-dev/vitest/blob/5ed537f03ea33df3516e530b55a5c1f0fc219e24/packages/browser/package.json#L47-L49
https://github.com/vitest-dev/vitest/blob/c441a7533a97ddff3737dcaa893199374895422b/packages/ui/package.json#L41-L43
How about using pnpm run with regex?
diff --git a/packages/browser/package.json b/packages/browser/package.json
index efeba6c3..8f1c4b4c 100644
--- a/packages/browser/package.json
+++ b/packages/browser/package.json
@@ -49 +49 @@
-    "dev": "rimraf dist && run-p dev:node dev:client",
+    "dev": "rimraf dist && pnpm run --stream '/^dev:/'",
diff --git a/packages/ui/package.json b/packages/ui/package.json
index b7189664..70412026 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -43 +43 @@
-    "dev:ui": "run-p dev dev:client",
+    "dev:ui": "pnpm run --stream '/^(dev|dev:client)$/'",

We merged pnpm --stream instead

Nice, I didn't know about this pnpm feature


Ragdoll plugin changes

Fixed bug
When player leave server after his death, his ragdoll is in not removed as it is done with player:set_ragdoll_state(RAGDOLL_NONE) called in PlayerSpawn hook.
So it was moved into the create_ragdoll_entity function.
Typo
Decay is a bit ambiguous parameter name, so it was renamed into delay
Feature
Corpse removement delay was moved into config.yml
To be negotiated
Is it better to store delay parameter in the separated table that is passed to set_ragdoll_state as parameter or initialize it directly in this method
Also, whether there are any others way to call PlayerDeathThink hook without calling player:is_ragdolled() method, that would allow to delete corpses before player respawned

PS sorry for the messy first pull request.

should have probably renamed into decay_time. I see a few other issues with the code but I'll need to be properly on my PC to really comment on them. I'll get back to you in a few.


[Task]: Remove archaic PubSubSource and PubSubSink

What needs to happen?
Reading from and writing to PubSub should be proper (if primitive) transforms, rather than being represented by "special" parameters of Read/Write operations necessitating workarounds like https://github.com/apache/beam/blob/release-2.48.0/sdks/python/apache_beam/io/iobase.py#L946.
Issue Priority
Priority: 3 (nice-to-have improvement)
Issue Components

[X] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[X] Component: IO connector
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

Does this mean currently Python PubsubIO can only run on Dataflow runner (in addition to Python direct runner as there is a local overwrite) ?

Correct, currently they only run on Dataflow (that swaps out PubSub) and the olde Python direct runner (that also swaps them out).

Can you clarify what you mean by "swaps them out"?
Also, Is there a timeline for adding support for custom Python Streaming Source APIs? This seems long overdue.

There is a custom Python Streaming Source API: https://beam.apache.org/blog/splittable-do-fn/

There is a custom Python Streaming Source API: https://beam.apache.org/blog/splittable-do-fn/

Thank you, we should update Python Streaming Pipelines in that case.

Unsupported features
Python streaming execution does not currently support the following features:
Custom source API
User-defined custom merging WindowFn (with fnapi)
For portable runners, see portability support table.

Yes, those are all outdated.
On Wed, Nov 27, 2024 at 10:00 AM Camden Shultz @.***>
wrote:

There is a custom Python Streaming Source API:
https://beam.apache.org/blog/splittable-do-fn/
Thank you, we should update Python Streaming Pipelines
https://beam.apache.org/documentation/sdks/python-streaming/#unsupported-features
in that case.
Unsupported features
Python streaming execution does not currently support the following
features:
Custom source API
User-defined custom merging WindowFn (with fnapi)
For portable runners, see portability support table
https://s.apache.org/apache-beam-portability-support-table.
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/27443#issuecomment-2504503647, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AADWVAII6NPXCVBRONRTOAL2CYCE7AVCNFSM6AAAAABOB2PBV2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBUGUYDGNRUG4
.
You are receiving this because you authored the thread.Message ID:
<apache/beam/issues/27443/2504503647 @.***>

https://github.com/apache/beam/pull/33239
On Wed, Nov 27, 2024 at 10:02 AM Robert Bradshaw @.***>
wrote:

Yes, those are all outdated.
On Wed, Nov 27, 2024 at 10:00 AM Camden Shultz @.***>
wrote:

There is a custom Python Streaming Source API:
https://beam.apache.org/blog/splittable-do-fn/
Thank you, we should update Python Streaming Pipelines
https://beam.apache.org/documentation/sdks/python-streaming/#unsupported-features
in that case.
Unsupported features
Python streaming execution does not currently support the following
features:
Custom source API
User-defined custom merging WindowFn (with fnapi)
For portable runners, see portability support table
https://s.apache.org/apache-beam-portability-support-table.
—
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/issues/27443#issuecomment-2504503647,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADWVAII6NPXCVBRONRTOAL2CYCE7AVCNFSM6AAAAABOB2PBV2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBUGUYDGNRUG4
.
You are receiving this because you authored the thread.Message ID:
<apache/beam/issues/27443/2504503647 @.***>


How to recover address from txn witness data?

I have an array of witness hex data like this
https://mempool.space/tx/1bc6814dfab83f468e7ba4a24694974f1e33744e6b6ea0518ec6e99c80ff1016
I want to recover the address bc1p233yer*******g8jjqgtxnxt

Do you mean this?
use bitcoin::consensus::Decodable;
use bitcoin::hex::test_hex_unwrap as hex;
use bitcoin::{params, Address, Transaction};

fn main() -> anyhow::Result<()> {
    let want = "bc1p233yerwey949jkz9t7dyynw4yz84nx6m3z5uv27eq4dywpgg8jjqgtxnxt";

    let raw_tx = hex!("0200000000010102628409a0b48dcbef8f612a9ee791e797ff50f61b71616ed761875e5c9de5670000000000ffffffff0222020000000000002251209fa6f1741e417f9217bc920024be14f9528c5bdf32ce188a6689aec49ac8386b0000000000000000096a5d0614011400160001404769f48a0ee5316869132824e8ca0247c93afc0b097b2804624fdb3000fe7ef9d1ee7646ceeda115f3c0c3c8e4aeb89caac72bd4928a02b4c0bb1dcd0f8b30f900000000");

    // TODO: Finish PR #2318
    // let tx = hex.parse::<Transaction>()?;
    let tx: Transaction = Decodable::consensus_decode(&mut raw_tx.as_slice()).unwrap();

    println!("{:#?}", tx);

    // The txid copied from `tx` above.
    let prev_raw_tx = hex!("02000000000101ca8663edcc834b9a7cb919df62b61858e38eaf91207f13257fd0cf25cedc93920000000000ffffffff02863400000000000022512054624c8dd9216a5958455f9a424dd5208f599b5b88a9c62bd9055a4705083ca40000000000000000096a5d061401140016000140c90cdf10e72771592fe63cdee9a1523fef0e197480621e2d1772b1296574a6e9916b28add3934e1455fc71b53b676c51eb58a4e00d781f71b78d4bc29b04ea8f00000000");

    let prev_tx: Transaction = Decodable::consensus_decode(&mut prev_raw_tx.as_slice()).unwrap();
    println!("{:#?}", prev_tx);

    let spk = &prev_tx.output[0].script_pubkey;
    let addr = Address::from_script(&spk, &params::MAINNET)?;
    assert_eq!(addr.to_string(), want);

    println!("\n{}", addr);

    Ok(())
}

I have just witness data, not even prev utxo data

You asked the same question on BitcoinJS and never told me what you need it for… now you’re writing rust?
what are you trying to do?
with the exception of key spend p2tr it is possible to recover the address just from the witness stack.
key spend p2tr is impossible. You need the previous outputs.

It’s not like asking someone else will get you a different answer.
This is not some subjective answer or a "I don’t know how to do it so ask someone else" answer.
This is an objective fact.
What you are trying to do is impossible.
Please accept this fact.
It’s not a skill issue. It is mathematically impossible.

I completely get it junderw, I was decoding runes data on substreams and was getting just raw txn data as regular btc txn, and looking around for any solution to fit in best.
I was trying it in any one way
Either decode data with JS sink or
Decode on Substream itself to use Subgraph

I'm going to close this issue. It has nothing to do with rust-bitcoin (or bitcoinjs) and apparently was already answered elsewhere.

For reference: https://github.com/bitcoinjs/bitcoinjs-lib/issues/2088


Updated syn, quote and proc-macro2 to 1.0.

Maintaining the ecosystem :v:. I think this can be released as a patch release, since it doesn't change public API.
cc: @Eijebong

ping @sgrif @Eijebong

This looks good to me. @sgrif do you think we could get a 1.1.1 release with this merged? This is the last dependency on crates.io that pulls in old versions of these macro related crates.

Sorry it took so long to get to it. Thanks !


⚠ ClamAV has degraded performance

In 56dce24, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 75 ms

Resolved: ClamAV performance has improved in 01e00f2.


Town Disband message duplicate when crossing servers

As title says , i create a town, change servers on network, where i have town installed, and in the moment i disband town and swap servers i get duplicate message of Town was disbanded. So after disband i join 2 more servers that i have linked, and every time i join server i get the message The town of xxx has beed disbanded!
https://gyazo.com/4dcce5fd5c38ba85e8736a5b1b3f989b

steps to reproduce , i did it on 3 servers:  /town create test on server 1, move to server 2, move to server 3, go back to server 1, disband town, and move again to server 2 and 3

Can't reproduce with plugin messages


Windows Build

I am unable to create the development build. On command prompt for windows I do npm install and then do npm run dev. However, command/build doesn't exist. So I can't add the development to my chrome browser. What should I do? Are there different instructions for building on windows?

I'm also having the same issue on Windows. See issue #39.

Thanks for the report, I'm reopening #39 and closing this one.


Run wechaty occurs chromedriver is still running and the solution

Please run npm run doctor and paste the output here
Wechaty Doctor

Wechaty version: #git[93d1728 doc]
Darwin x64 version 15.6.0 memory 146/4096 MB
Docker: false

Expected behavior
run wechaty
Actual behavior
error log as follows:

ERR PuppetWeb initBrowser() exception: The previously configured ChromeDriver service is still running. You must shut it down before you may adjust its configuration.
ERR PuppetWebEvent onBrowserDead() exception: The previously configured ChromeDriver service is still running. You must shut it down before you may adjust its configuration.

Steps to reproduce the behavior (and fixes, if any)
execute npm install
lijiaruideAir:example lijiarui$ npm install
<EMAIL_ADDRESS>/Users/lijiarui/git/wechaty
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>extraneous
├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>extraneous
and close some program then fix the error

this problem is related to https://github.com/wechaty/wechaty/commit/09099fc9f7f20fd3913a005e5d0f72cc4827c2f4#diff-cf58bef97838a4ef74380372d2cb9129L226

You said "only need under win32 with cygwin"
But I run wechaty under macOs and occur the error..

can you provide the way to reproduce the problem?
or I'll close this issue in 3 days.


Fix hive devp2p tests

Currently we fail 7 devp2p tests (sample run)

FindNode-PastExpiration(v4012)
Ping-PastExpiration(v4011)
Ping-BondedFromSignatureMismatch(v4009)
Ping-SourceUnknownWrongFrom(v4003)
Ping-SourceUnknownExtraDataWrongFrom(v4005)
Ping-SourceUnknownrongTo(v4002)
~SpoofAmplification(v4014)~

Note that SpoofAmplificaiton is the subject of #792 and is hence out of scope.

Current list of devp2p test failures. Sample run

Ping-BondedFromSignatureMismatch(v4009)
Ping-SourceUnknownExtraDataWrongFrom(v4005)
Ping-SourceUnknownWrongFrom(v4003)
Ping-SourceUnknownrongTo(v4002)

Can we keep this open until we see a clean run on https://hivetests.ethdevops.io/?

Sure thing! Reopening pending clean run. How often do they run?

a couple of times a week, but the web server is spotty.  Basically we should consider this in close-wait for 2 weeks or until the hive server wakes up.

Got the clean run, but hivetests.etherdevops.io is flakey and we can't link to it.


DO NOT MERGE! Fast Forward stable to dda088aa22625a7e0deabbe922ab78a4bd4e9992.

This PR will be merged automatically once checks are successful.

This change is

Jenkins job istio/mixer-pr-stable passed


Change ibmcloud bm deploy for the newer api of assisted-service from #467

Ouch: I'm distressed that I somehow missed that there was a third call. 😦

No worries, I don't think ibmcloud was in scope for that original change and nor did we have the means to test it either.


API and Plugin architecture

Plugin Architecture: Implement a plugin system where new components can be added without modifying the core framework. This can be as simple as using a configuration file or a registration function that dynamically loads new components.
API Development: Develop an API that allows external developers to interact with your framework, create new tasks, and add components.
Error Handling and Recovery
Robust error handling ensures the framework's reliability, especially in long-running or critical tasks.
Exception Handling: Implement comprehensive exception handling within each component and the core execution logic.
Logging and Diagnostics: Develop a logging system to record errors and important events. This can be crucial for diagnosing issues in production.
Recovery Mechanisms: Implement mechanisms to recover from failures, such as retrying tasks, rolling back transactions, or switching to backup systems.

samira updated the API call


CSS transform (rotate) inside step

Hi all,
I am currently finishing up a presentation and i'm encountering a specific problem (maybe due to my misuse of impress.js). Inside a step I am putting several images, which I transform so that they appear to be in a stack (on on top of the other, rotateY(-20deg)). This works well within the step itself, and I'm adding some animation so they appear to be flipping from one to the other.
However, the rotation (and translation) I'm applying manually through css is only visible when the step is active. Seen from the previous step, the rotation is not applied yet. As far as my current knowledge goes, I see only one possible solution, but I'm not sure how I would implement this:
Put the flipping images in a separate step, which is rotated by impress.js. Then add a step on top, not rotated, with some text in it, so the images appear to be rotated from the perspective of the text step. However, then I would have to be able to auto-skip the image-step, which I don't know how to do. I hope this made some kind of sense to anyone reading this, if not, let me know :).
Best regards

I am currently finishing up a presentation and i'm encountering a specific problem (maybe due to my misuse of impress.js). Inside a step I am putting several images, which I transform so that they appear to be in a stack (on on top of the other, rotateY(-20deg)). This works well within the step itself, and I'm adding some animation so they appear to be flipping from one to the other.

impress.js was not created for flipping or stacking images, so its core adjusts the step (camera) to position itself in front of a slide.

However, the rotation (and translation) I'm applying manually through css is only visible when the step is active. Seen from the previous step, the rotation is not applied yet. As far as my current knowledge goes, I see only one possible solution, but I'm not sure how I would implement this:

Probably you want to create a step that shows the flipping and implement the flipping using CSS inside the step, not using impress.js steps to achieve that.
The problem is not very easy to understand.

Put the flipping images in a separate step, which is rotated by impress.js. Then add a step on top, not rotated, with some text in it, so the images appear to be rotated from the perspective of the text step. However, then I would have to be able to auto-skip the image-step, which I don't know how to do. I hope this made some kind of sense to anyone reading this, if not, let me know :).

I didn't get it :D

I will try to clarify :) - first of all, i am putting everything inside a step, then applying CSS, to be sure -
In the first screenshot, you see three images, superimposed. They are the content of 1 slide, together with the text "if we get a list of ...". I rotate those images using css (transform: rotateY(-20deg), for example), and animate them using -webkit-keyframes. This looks good when the slide is .active. But when you look at the content from the previous slide (see screenshot 2), then the images are not rotated (they're facing the camera straight, you see them at the bottom). The -webkit-keyframes are still working though: their animation is continuing.
When you then go to the next slide again, containing the images, there's a moment of hesitation, then the rotation is applied and everything looks like it supposed to.

Okay, i'll add this as an additional comment. The described behaviour goes away when I apply opacity:1 to the afflicted slide. Then all rotations are seen, from within the slide and from outside the slide. Weird?

@CountZukula A runnable example showing the problem would be better than a detailed explanation, I guess.

Indeed, the attachment should be included now. The attached file contains all my dirty work in progress, the file to open is pres.html. pres2.css contains the main body of css, including the fix where I set opacity 1:
#problem3intro4 {
    /*opacity:1;*/
}

Uncomment that line, and the problem seems to be alleviated.
pres.tar.gz

I see, it looks like something is influencing on the position of the step. Can you provide a SSCCE pointing out exactly which circumstances the problem occur?
It's actually one of the requirements to post an issue because that can clarify where the problem lies (impress.js or the browser).

Hi @CountZukula
You seem to be fully capable of doing your own css, but regarding the alternative of putting (background) graphics in a separate step, which has to be skipped during navigation, this is in fact an existing feature request, and I have implemented it in a fork:
https://github.com/henrikingo/impress.js/tree/myfork/src/plugins/skip
As you say, the benefit here is that the impress.js framework will do the positioning for free. Otoh, I don't see that it would necessarily rotate (flip) the images as you're now doing.

Sorry, should have given a MWE straight away... I guess it's a conflict with the pres.css, if I disable that the problem goes away. But then it seems I lose a lot of the functionality that the impress.js demo offers.
SSCE.zip

I guess it's a conflict with the pres.css, if I disable that the problem goes away.

That file is just an example file, none of the styles are mandatory for impress.js to work (it will just have no style if you don't use it :D).
Have you tried to SSCCE pres.css to identify the source of the problem there?

Well, I'm in the process of finishing that presentation, and I'm on a deadline :). I'll try to give it a shot when I get some spare time...

Hi @CountZukula
Is this issue still relevant, or did you solve your problems?

Hi Henrikingo, I'll consider it closed. I don't remember actually solving the problem but I circumvented it by disabling the .css file. Maybe I'll revisit the project in the future for archiving purposes, but that's not something for the nearby future in any case.


Variable syntax does not work in templates

Trying to use variables inside a template as discussed here doesn't work. When you run the build it says variables is an unexpected value. It doesn't matter whether the variables section precedes or follows the parameters.
parameters:
  version: ""
  isPrerelease: ""
  buildLabel: ""

# Fails here with 'unexpected value variables`
variables:
  GitVersion.SemVer: ''
  UseGitVersion: false

steps:
- template: read-propsfile.yml

Note that elsewhere it is mentioned the syntax for variables is as follows but that doesn't work either.
variables:
- name: SomeVar
   value: true

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

ID: 6724abea-bbdc-bf66-ed5e-3214fa6c3e66
Version Independent ID: 4f8dab21-3f0e-da32-cc0e-1d85c13c0065
Content: Templates - Azure Pipelines
Content Source: docs/pipelines/process/templates.md
Product: devops
Technology: devops-cicd
GitHub Login: @juliakm
Microsoft Alias: jukullam

@mtaylorfsmb Thank you for the feedback, assigning this to the author for review.

As @ElvenSpellmaker mentioned, your variables are in the wrong spot. Here's a rewritten version.
# File: azure-pipelines.yml

parameters:
- name: version
  type: string
  default: ""

variables:
# a regular variable
- name: UseGitVersion
  value: false
# a reference to a variable template
- template: vars.yml  # Template reference

trigger: none

steps:
- script: echo My favorite vegetable is ${{ variables.favoriteVeggie }}.

# vars.yml
# File: vars.yml
parameters:
  version: ""

variables:
  favoriteVeggie: 'brussels sprouts'

I'll add a more complex example to the docs.

@juliakm Are you sure variables can be defined at a step template level? I'm pretty sure I used to get errors for that.

@juliakm my takeaway from this is that the docs should make it clear that you cannot mix variables and steps in the same template. It doesn't work. You can have a template that contains nothing but variables and you can then reference that template in your existing variables section in the parent script OR you can create a template that contains steps (and no variables) that you can add to the steps section of the parent script.
You cannot create a single template that contains BOTH variables and steps sections because of the error I mentioned earlier. This greatly limits the usefulness of this feature but that is an issue for the YAML implementation, not the docs. It just isn't clear that this is true in the docs.

Also, are the 'variable templates' documented? I can't find any reference to them...

@ElvenSpellmaker here scroll down to Variable reuse section.

@mtaylorfsmb My understanding is that variables templates are used like an include file. You have a set of variables in your template that you then include in a pipeline. If you want to use steps and also define something, I think it would make more sense to use parameters in your template.  Here's more information on passing parameters to templates.

You cannot create a single template that contains BOTH variables and steps sections because of the error I mentioned earlier. This greatly limits the usefulness of this feature but that is an issue for the YAML implementation, not the docs.

Is this tracked somewhere? For now I can workaround using
echo "##vso[task.setvariable variable= favoriteVeggie]potato"
as the first step in a template with steps, but it seems needlessly clunky.

You cannot create a single template that contains BOTH variables and steps sections because of the error I mentioned earlier. This greatly limits the usefulness of this feature but that is an issue for the YAML implementation, not the docs. It just isn't clear that this is true in the docs.

This was also my problem.
Being able to create and use variables with template parameters would simplify my yaml files.

Yes totally agree, this would make it is so much easier to re-use templates with a variables.yml, rather than using the chatty parameters syntax...

@mtaylorfsmb My understanding is that variables templates are used like an include file. You have a set of variables in your template that you then include in a pipeline. If you want to use steps and also define something, I think it would make more sense to use parameters in your template. Here's more information on passing parameters to templates and extending from templates.

Hi @juliakm, in fact we got the issue with a group variable which is needed to some secrets variables. each project got his own with all the same name just the value are differents. We're stuck in modifying all our pipelines just for this issue.


FlutterYoco onComplete not working

Plugin works but
onComplete: (transaction) {
print('Completed::: ${transaction.toJson()}');
},
is not working.
Any suggestions?

Hi Ruaan,
I will have a look at what might be going wrong
And give you feedback.
Kind regards
On Mon, 04 Mar 2024 at 22:42, Ruaan Van Dyk @.***>
wrote:

Plugin works but
onComplete: (transaction) {
print('Completed::: ${transaction.toJson()}');
},
is not working.
Any suggestions?
—
Reply to this email directly, view it on GitHub
https://github.com/Miso-0/flutter_yoco/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARJXIF2SEE5GVZ4O2D5EIS3YWTMDTAVCNFSM6AAAAABEF4JAKWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3DONZQG42TONI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi Miso
I've managed to get it to work.
I previously used https://www.google.com/ as the success url but then the onComplete function doesn't fire. Then I used another url and then it worked. I don't have the stack trace to paste here but will try to replicate the bug and post it here.
Thanks for the prompt reply 5/5!


Uncaught error

Hey Matteo - I get the below error when i try to add this plugin to my sanity config/schema.
The defineField is being added within a defineType type:'document'.
When i add the defineField, the below error occurs.
Uncaught error: A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.
console-export-2024-2-21_12-52-9.txt
Node: v18.16.0
Sanity: v30.0.0
Any insight would be helpful.

Hey there @nmarcionese,
The error you shared doesn't indicate the issue originating from anything with this plugin. It sounds like something else is going on with your setup, but without seeing how the schema file is setup I can't really diagnose the issue for you.
I can confirm this is working just fine on the latest version of the Sanity Studio (v3.30.0).
Would you mind sharing more details about your setup?


Convergence problem (Does "DECOMP.RSSD" have to converge?)

NRMSE converged, but DECOMP.RSSD NOT converged.

DECOMP.RSSD NOT converged<EMAIL_ADDRESS>0.084 > 0.025 &<EMAIL_ADDRESS>0.17 <= 0.36
NRMSE converged<EMAIL_ADDRESS>0.01 <= 0.022 &<EMAIL_ADDRESS>0.048 <= 0.12
(R2 train:0.9114, NRMSE=0.048, DECOMP.RSSD=0.0902)

1.If the spending on marketing was very far from ideal, DECOMP.RSSD may not converge.So it is not essential for DECOMP.RSSD to converge.
Also, I use 12 years data ,because I have to use monthly data. In 12 years, media environment and plannnninng  has changed a lot, so spending distribution may not make sense in the first place.
2.DECOMP.RSSD NOT converged, but DECOMP.RSSD = 0.0902 in my model.That seems low enough to me, but isn't it?
3.Looking at "Multi-objective Evolutionary Performance", there is also a darker colored dot in the upper right corner. (iterations is close to 2000, but both NRMSE and DECOMP.RSSD are large)
As for the convergence result, NRMSE has converged, but is this convergence process problematic? (DECOMP.RSSD not converged.)
#Robyn 3.7.1
#R version 4.2.1

This issue is already answered in https://www.facebook.com/groups/robynmmm/permalink/1358750738226389/


Error when starting the bot

1|Yan  | 2020-02-14 03:05:20 info: tf2-automatic v3.1.0 is starting...
1|Yan  | SyntaxError: Unexpected token : in JSON at position 2855571
1|Yan  |     at JSON.parse ()
1|Yan  |     at /root/tf2-automatic/dist/app/utils/files.js:32:27
1|Yan  |     at /root/tf2-automatic/node_modules/graceful-fs/graceful-fs.js:115:16
1|Yan  |     at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
1|Yan  | 2020-02-14 03:05:21 error: tf2-automatic failed to start properly, this is most likely a
temporary error. See the log:
1|Yan  | package.version: 3.1.0; node: v10.17.0 linux x64}
1|Yan  | Stack trace:
1|Yan  | SyntaxError: Unexpected token : in JSON at position 2855571
1|Yan  |     at JSON.parse ()
1|Yan  |     at /root/tf2-automatic/dist/app/utils/files.js:32:27
1|Yan  |     at /root/tf2-automatic/node_modules/graceful-fs/graceful-fs.js:115:16
1|Yan  |     at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
1|Yan  | 2020-02-14 03:05:21 warn: Exiting...
https://imgur.com/a/iIrYSwm

For some reason it only happens to my item bot, my key bot and the unusual bot is not affected

Delete polldata.json

It works thanks


Not available on NPM/Yarn

Cool library. Just a heads up - not published to Yarn/NPM:

Interesting. That's new. I'll take a look and see what happened. Thanks.

Thanks. I know the same thing has happened to flowtype - where things did publish correctly and stopped latest releases from appearing in the npm manifest. Let me know if I can run any validation at the other end.

I see what happened. The package is svg-to-react-cli. You attempted react-to-svg-cli

I'll update the docs, that was my bad. Thanks for bringing this up

Heh - all good! At least I'm not going crazy.


import ts error, Cannot find 'defalut'.

This is a typescript error? What steps need to be taken to reproduce this?

thank you for your timely attention.
import { default as HZ } from 'hanzi-writer'; in Vue.
But in fact, an error will be reported even if it is not imported.Looks like ‘quiz_ Getcurrentstroke() ’ points to an incorrect type ‘default’

thank you for your timely attention.
import { default as HZ } from 'hanzi-writer'; in Vue.
But in fact, an error will be reported even if it is not imported.Looks like ‘quiz_ Getcurrentstroke() ’ points to an incorrect type ‘default’

thank you for your timely attention.
import { default as HZ } from 'hanzi-writer'; in Vue.
But in fact, an error will be reported even if it is not imported.Looks like ‘quiz_ Getcurrentstroke() ’ points to an incorrect type ‘default’

This is a typescript error? What steps need to be taken to reproduce this?

thank you for your timely attention.
import { default as HZ } from 'hanzi-writer'; in Vue.
But in fact, an error will be reported even if it is not imported.Looks like ‘quiz_ Getcurrentstroke() ’ points to an incorrect type ‘default’

would you please fix this problem


run a command during migration

Sometimes during a migration, a command has to be run e.g. to reset a system running
I just tried to manually migrate gnupg from ~/.gnupg to ~/.local/share/gnupg and for one of my tests, I had to run "gpgconf --kill gpg-agent" before I was able to create a private key. They key agent was still looking in the old directory.
Does antidot support the running of commands during migration?

Not right now. I am parted about running commands. On one hand it will make this tool a lot powerful and I am sure there are other use cases as well. On the other hand, it will introduce security issues and will make this tool more like a script runner. I did think about adding the option to include a warning or a note that will be printed for a specific rule. That will make it easy to let the user know this command needs to be run after the migration.

I agree with you about it being a security issue, good call on that.
I like the idea to inform the user to run the commands after migration, it keeps the user in control too.

Very much like the current simplicity of the application. Adding friendly directions for the user is nice though.


Queue: Implement Queue data structure in Javascript

Hey @akgmage please assign this task to me

Hi, @akgmage I have raised PR for this question Please validate and push it to the main branch if everything is ok. #935


Fix for broken test

It appears to be a copy paste error from the test above (
line 533 of testPolicyWithPinningModeIsSetToNotAllowInvalidSSLCertificates).

Thanks, @chillpop.


Don't disable spellchecking for Changeset Comments

When entering a Changeset Comment, the user finds the browser's spellchecker has been disabled.
No matter Firefox or Chromium.
But spellchecking when filling in Profile Description on https://www.openstreetmap.org/user/<ME>/account works fine, So it must be an id problem.

You are right, spellcheck is disabled.  I guess we could turn spellcheck back on for just the comment field..
Here are some attributes that we set on all of the <input> fields in iD.  (added to fix #3839)
https://github.com/openstreetmap/iD/blob/9c6c82d883d1b95ecd09c445ad3df3acc9f7556e/modules/util/util.js#L257-L263

I'd turn on spellcheck for changeset comment, and object name, note, and fixme.
I recommend keeping the auto* stuff off for name, particularly autocapitalize.

I ended up just turning spellcheck back on for all the textarea type fields (see list)

Good.


GLB assets configured with "Decompose Convex" colliders now loading with "Trimesh"

Tested versions
Godot 4.3-beta2
System information
Windows 11, gl_compatibility, NVidia RTX 3070 TI
Issue description
I have numerous asset libraries constructed with Godot 4.2 and containing GLB files configured with different physics colliders, including:

Simple Convex
Box
Decompose Convex
Manually Constructed Colliders

In Godot 4.3-beta.2 all the "Decompose Convex" GLB files are instead coming in with Trimesh colliders.
Steps to reproduce

Open/Create Godot 4.2 Project
Add GLB file
Configure GLB file for Decompose Convex physics body
Close project and clear .godot folder
Reopen project in Godot 4.3-beta2
Observe GLB has physics body of Trimesh

Minimal reproduction project (MRP)
N/A

This appears to have been caused by https://github.com/godotengine/godot/pull/89461 which switched the default physics shape type from Decompose Convex to Trimesh. The comment stated it should not break compatibility as the shape_type should have been serialized.
At least for Godot 4.2 that isn't the case and the physics/shape_type = 0 line is not written to the file. It is written for Godot 4.3; but that does no good for earlier projects.

Just to add some more info to this for people wanting to reproduce why this is an issue.
Clone: https://github.com/Malcolmnixon/KayKitDungeon
Check out commit d8f6476c9e1bb80523489a7d10b59d1f701cc061 (the current master we've manually hacked the physics/shape_type setting in there.
Looking at the file behind the scenes, we can see that files where shape_type is non-zero, but files that have the shape_type set to 0 are missing. For instance bottle_A_brown.gltf which is one of the shapes that users can pick up:

Opening this up in Godot 4.2.2 we can verify that the asset is correctly setup:

Saving this asset with a different shape type, I can see the shape type being added to the .import file, changing it back to Decompose Convex, the entry is removed from the file.
The assumption @reduz made that this is saved in earlier versions is thus false.
Opening this project in Godot 4.3 beta 2, the setting is still not saved in the .import file, but we can now see that it's using:

Now here it gets a bit tricky as to why we're making a big deal of it. In Godot XR we make it possible for the player to pick these objects up and throw them around. We need them as RigidBody3Ds.
So:

we inherit a scene (addons/godot-xr-tools/objects/pickable.tscn) that has all the logic that allows picking up objects,
we add our GLB to this scene
we copy our shape to our collision shape node for our rigidbody
and we disable the static body.

And we get this wonderful warning:

So the collision shape that we have now set as the default, has a big warning that it won't work for rigidbodies. We don't know the fallout of this yet, but I've seen an uptick of support questions on the discord about pickable objects no longer working in XR tools and am wondering if this is the root cause.
At the very least the default needs to be returned so that we get consistent behaviour.

Approved the fix.


docs: update README's

Update the README to align with the Polkadot SDK Parachain Template README and the Polkadot SDK Docs.

Also, add README's for the Node and the Runtime

Closes https://github.com/r0gue-io/base-parachain/issues/42

Do we have a better resolution R0GUE logo available?

This will close this Issue in the pop-cli repository: https://github.com/r0gue-io/pop-cli/issues/300
Can you do the same for assets, contracts and evm repositories?

This will close this Issue in the pop-cli repository: r0gue-io/pop-cli#300
Can you do the same for assets, contracts and evm repositories?

Yes once this is merged I can move forward and make similar changes to the above.


Ubuntu 22.04 is not supported by default as network_mode is set to host. [BUG]

Describe the bug
Ubuntu 22.04 is not supported by default as the network_mode is set to host in the docker-compose.yml file
To Reproduce
Steps to reproduce the behaviour:

Build the project
Go demo/ folder.
Start the service using docker-compose up --build command.

and the service fails to start up properly.
Expected behavior
Service starts up normally with a successful health check ping.
Test Environment
Ubuntu 22.04 machine.

Remove the following code snippet from docker-compose.yml file:
network_mode:      host
NOTE: master is updated to reflect this change.


Address Book Sync without using Salesforce Connect

Is your feature request related to a problem? Please describe.
The problem here is that the only way, by using b2c-crm-sync, to sync b2c address book is to subscribe with the Salesforce Connect licence.
Describe the solution you'd like
A new way to sync this data would be to create custom LWC that renders the address book and allow the core users to view and edit addresses.

Closing as the feature has been merged within the v1.0.0


braviatv_psk.bravia_command does not honor entity_id

Describe the issue
I have two Android Bravia's (2018 & 2019 models) in my appartment. I'm trying to use braviatv_psk.bravia_command to send additional commands to them. But whatever entity_id I send to it, only 1 TV responds.
Expected behavior
2 TVs setup. Sending command_id: TvPower would toggle the exact one which is supplied within entity_id. But in reality it is always the first registered TV.
Home Assistant version
HA 0.110.3 (HASS.io)
Some extra checks
Please check the items below

[x] The correct Pre-Shared Key (PSK) is used in the configuration
[x] The correct static IP address of the TV is used in the configuration
[x] The installation instructions for the TV from here are followed

Your config.yaml
media_player:
  - platform: braviatv_psk
    name: BR TV
    host: <IP_ADDRESS>
    android: True
    amp: True
    psk: xxxx
  - platform: braviatv_psk
    name: YR TV
    host: <IP_ADDRESS>
    android: True
    amp: True
    psk: xxxx

So sending the following:
command_id: TvPower
entity_id: media_player.yr_tv

Would actually toggle BR TV

Can you check if other command_ids work correctly? Or are all of these send to the same TV?

All of these are sent to the same TV. I mean, they do fire, but just on one TV.

BTW, why not to move bravia_send to remote domain?

Can you change line 168 in media_player.py (in your custom components dir) from:
vol.Required(ATTR_ENTITY_ID): cv.entity_id,
to
vol.Required(ATTR_ENTITY_ID): cv.comp_entity_ids,
and restart HA?
Not sure if it works and don't have a second TV to test this 😉

Nope, same thing, only one TV responds.

Not sure what is causing this and can't do any testing as I only have one Bravia TV.
@rhcl do you have an idea how to fix this?

I believe the problem is here
https://github.com/custom-components/media_player.braviatv_psk/blob/master/custom_components/braviatv_psk/media_player.py#L219
Because device variable doesn't contain what you expect it should contain. You should somehow resolve entity_id to the proper device.

@divanikus
Here they are:
KD-55XF9005.txt
KD-50W805C.txt
The correct command to retrieve them adapted for raspbian is:
curl -H 'Content-Type: application/json' -H 'X-Auth-PSK: [password]' -X POST -d "{'id': 1, 'method': 'getApplicationList', 'version': '1.0', 'params': ['']}" http://[IP]/sony/appControl

The above comment was meant for #38 😉

@divanikus
Can you change L219 from
device.send_command(command_id)

to
device_id = call.data.get(ATTR_ENTITY_ID)
device_id.send_command(command_id)

Not sure if it works, so let's do some trial and error 😀

@rhcl do you have a hint to make the service working on multiple TVs?

Here an example which should work, which is async however. Need to have a closer look at this 🤔
https://github.com/home-assistant/core/blob/1887f11ec932738b215440d9c17f586c4247e314/homeassistant/components/vizio/media_player.py#L128-130
https://github.com/home-assistant/core/blob/dev/homeassistant/components/vizio/media_player.py#L302

@gerard33 you've pinged the wrong guy so I didn't see your comment. :)
I'll try to have a look at it soon.

BTW, why not to move bravia_send to remote domain?

Can you explain a bit more about that? Can you give some existing examples where it's done like that?
It might make sense. It just I didn't know about it before.

Hello, I have the same issue.  Turning tv in bedroom, toggles only tv in the livingroom and similar stuff.
Did you come to any conclusions on this? thanks

Created fix for that at https://github.com/custom-components/media_player.braviatv_psk/pull/54


Support for request extensions key

While "extensions" are supported for the GraphQL response, they are not handled for requests.

We can add GraphQlRequest#getExtensions returning a Map<Object, Object>.

Sounds good.


Fix to adjusting bundle and bitstream policies (item install, embargo lift)

Apply DEFAULT_ITEM_READ to bundles, not DEFAULT_BITSTREAM_READ so that files can be listed if the item / default item is readable
References
Add references/links to any related issues or PRs. These may include:

Fixes https://github.com/DSpace/DSpace/issues/8902
Related to a similar merged PR: https://github.com/DSpace/DSpace/pull/8783

Description
The adjustBundleBitstreamPolicies method in ItemService which is called when installing a new item or lifting a legacy embargo, applies DEFAULT_BITSTREAM_READ to both bundles and bitstreams. As per recent discussion on https://github.com/DSpace/DSpace/issues/8902 we think DEFAULT_ITEM_READ should be used instead.
This PR might not yet be complete:

I expect to have broken at least one test (this is good, will prove the changed functionality, and I will update / add a new test soon).
I think we should possibly allow for a missing DEFAULT_ITEM_READ to fall back to inheriting Item READ? (more relevant for an embargo lift than a new install, probably)
I added a TODO item to ask if we should throw an exception for a missing DEFAULT_ITEM_READ (sort of conflicting with the question above)

Instructions for Reviewers
Try to reproduce the behaviour described in https://github.com/DSpace/DSpace/issues/8902 with this PR applied
Checklist

[ ] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[ ] My PR passes Checkstyle validation based on the Code Style Guide.
[ ] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[ ] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[ ] If my PR fixes an issue ticket, I've linked them together.

@kshepherd : I hope you don't mind, but I added a test for you in https://github.com/DSpace/DSpace/pull/8901/commits/804fce1c99419b29e745119460f3c351a8dc1a18.  Had a few moments this morning and figured out the best place to test this new adjustment.  The newly added test fails on main (as the Bundle permissions check fails)... but it should succeed in this PR.


az web delete slot error

Hi,
we have an error running following command :
az webapp delete --name webapp_name --resource-group webapp_group --slot webapp_slot

delete_slot() missing 1 required positional argument: 'slot'
Traceback (most recent call last):
File "/usr/local/Cellar/azure-cli/2.0.30/libexec/lib/python3.6/site-packages/knack/cli.py", line 197, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/local/Cellar/azure-cli/2.0.30/libexec/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 347, in execute
six.reraise(*sys.exc_info())
File "/usr/local/Cellar/azure-cli/2.0.30/libexec/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/usr/local/Cellar/azure-cli/2.0.30/libexec/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 319, in execute
result = cmd(params)
File "/usr/local/Cellar/azure-cli/2.0.30/libexec/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 180, in call
return super(AzCliCommand, self).call(*args, **kwargs)
File "/usr/local/Cellar/azure-cli/2.0.30/libexec/lib/python3.6/site-packages/knack/commands.py", line 109, in call
return self.handler(*args, **kwargs)
File "/usr/local/Cellar/azure-cli/2.0.30/libexec/lib/python3.6/site-packages/azure/cli/core/init.py", line 420, in default_command_handler
result = op(**command_args)
File "/usr/local/Cellar/azure-cli/2.0.30/libexec/lib/python3.6/site-packages/azure/cli/command_modules/appservice/custom.py", line 328, in delete_webapp
skip_dns_registration=False if keep_dns_registration else None)
TypeError: delete_slot() missing 1 required positional argument: 'slot'

Are you please able to help about this issues ?
Tks,

Environment summary
Install method: apt-get
CLI version : azure-cli (2.0.30)
OS version: Ubuntu 16.04.3 LTS
Shell Type: bash

the end to end test should have caught this, let me figure out the root cause.

@lpxavi , for now, please use the az webapp deployment slot delete to workaround this


Update Step Volume

See PR here. Closed as it was very old and new version is currently under development.
Changing the step interval allows for more precise volume adjustments.

Done.


Capture status change events in edit project page in admin bro

When user changes verified, listed or changing status of projects to one activated , deactivated and cancelled we should send notification (and email if it's needed)

@maryjaf  @MoeNick
It's on staging now

@maryjaf @MoeNick It's on staging now

I think this problem is not completely solved @mohammadranjbarz
Because when I change the project from the edit page to the listed status, I do not receive a notification
But when I make this change from the list, I receive this notification: Nice! Your testfilterr project is listed.
When I unlist the project from the edit page, I get a notification as a who that like this project not project owner : The testfilterr that you liked is no longer visible.
and when unlist project from list i receive two notification as who liked project and project owner :
The testfilterr that you liked is no longer visible.
6 seconds ago
Your testfilterr project is no longer visible.
6 seconds ago

And in general, now we don't get notified based on the status change, if I just click, I get notified
For example, the status of my project is listed, if the admin user hits the list again, even though the status has not changed, a notification will be sent.
is that ok? @mohammadranjbarz @MoeNick

when I changed status of project or listed/unlisted from edit page I didn't receive notification and email @mohammadranjbarz

when I changed status of project or listed/unlisted from edit page I didn't receive notification and email @mohammadranjbarz

@CarlosQ96  has fixed that and we deployed it.
@maryjaf please test it again

when I changed status of project or listed/unlisted from edit page I didn't receive notification and email @mohammadranjbarz

@CarlosQ96 has fixed that and we deployed it. @maryjaf please test it again

Thanks @CarlosQ96 @mohammadranjbarz
I tested Notification and the emails that we tested earlier and it was OK from the list, now it has passed  in the edit page as well.
Below scenario also needs to be checked, but it is clearly not related to the edit page. If it is necessary to comment on another issue, let me know.
-We have notifications that are sent to the project owner, but not to those who liked the project (both the list page and edit page)

Listed project
Activate project
Verify/Unverify

I would appreciate it, if you can make separate issues for each item that you mentioned

I would appreciate it, if you can make separate issues for each item that you mentioned

@maryjaf

I would appreciate it, if you can make separate issues for each item that you mentioned

@maryjaf

Sure,
https://github.com/Giveth/notification-center/issues/22

related to #809 beacyse we changed the subscribers concept


(Maybe) re-add bytes(obj) API

Maybe re-add bytes(obj) API since @carver is so convincing.

bytes(PrivateKey) would be especially great.
I would kind of expect bytes(PublicKey) to be supported, by symmetry, but it also seems like something that won't be used much.
bytes(signature) is unusable in a transaction/message signing context, and probably adds more confusion than it helps. But if you want to leave it in, I don't have an objection.


azure.storage.blob.baseblobservice. BaseBlobService .exists logs error if blob does not exist

Which service(blob, file, queue) does this issue concern?
azure.storage.blob.baseblobservice.BaseBlobService.exists
What problem was encountered?
When checking if a blob exists in container with azure.storage.blob. baseblobservice.exists, an error is logged when the blob does not exist in container. The expected behavior would be that no error is logged when the blob does not exist.
Have you found a mitigation/solution?
Hint:
azure.storage.blob.baseblobservice.BaseBlobService.get_blob_properties sends a request via _perform_request that raises an exception which is logged due to https://github.com/Azure/azure-storage-python/blob/master/azure-storage-common/azure/storage/common/storageclient.py#L348

Hi @tim-werner, thanks for reaching out. This is a known issue #399. We are actively looking for a solution. I'll update this issue once I have something to share.

Having the same problem when calling create_container(fail_on_exists=False). Solution for us now is to make azure.storage logging level to CRITICAL.
Here also I am not 100% sure why you'd need to log this as you are throwing an exception, feels a bit like an anti-pattern.
Thanks

temporary fix that will disable all azure storage logging: do this in your python script
from azure.storage.common.storageclient import logger
logger.propagate = False

I added the following
logging.getLogger("azure.storage").setLevel(logging.CRITICAL)

Hi @dharmab, 404 from create_blob_from_text is quite unexpected, what does the error message say? Is it because the container is missing?
Thanks.

We noticed this with a script that creates a storage account and storage container and generates and uploads certificates. The container and blobs are created and work just fine, we just get error messages in the output. See the attached log for an example.
storage.txt

@zezha-msft - you're right, it's actually triggering on azure.storage.blob.blockblobservice.BlockBlobService.exists. I've created a smaller script to reproduce the issue here.
$ ./test.py -s $subscription_id -g $resource_group -n $storage_account
Creating storage container "hmwaguxcpudf"
Checking if aqxrf.txt exists
Client-Request-ID=50c33f98-5859-11e8-ab80-d200252a0601 Retry policy did not allow for a retry: Server-Timestamp=Tue, 15 May 2018 16:02:05 GMT, Server-Request-ID=9b7d5497-c01e-00cf-2666-ec5e2b000000, HTTP status code=404, Exception=The specified blob does not exist.ErrorCode: BlobNotFound.
Uploading aqxrf.txt

Hi @dharmab, thanks for getting back to me.
I'm working on solving this issue of logging expected http errors, and will update this thread as soon as I have something ready.

Published in version 1.3.0.

This error appears to have resurfaced. Is anyone else getting this error again now when a blob does not exist?


Gate extended tests

Put tests that require additional dependencies beyond the go toolchain behind the CI flag to not force all developers to install all dependencies (this becomes more important as more source analysis support is added).

Codecov Report

Merging #598 (a7d4c6e) into main (6bc8b22) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #598   +/-   ##
=======================================
  Coverage   80.61%   80.61%
=======================================
  Files          78       78
  Lines        5333     5333
=======================================
  Hits         4299     4299
  Misses        866      866
  Partials      168      168

Actually thinking about it maybe it would be better to leverage the fact that the scanner should be failing gracefully anyway - this PR could still be fine to land for now, but in the long-run I think the scanner should probably have some sort of ToolNotPresentErr that gets raised early for these situations, and then instead of just skipping the tests you could have logic that says something like:
if errors.Is(err, ToolNotPresentErr) {
  if testutils.IgnoreToolNotPresentErrors {
    t.Skipf("Skipping extended test since tools are not present: %v", err)
  } else {
    t.Errorf("Cannot run extended test since tools are not present: %v", err)
  }
}


OCPVE-728: Add Jakob to the approvers list

/lgtm

Codecov Report

Merging #444 (6ee9602) into main (2d2c100) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #444   +/-   ##
=======================================
  Coverage   59.41%   59.41%
=======================================
  Files          21       21
  Lines        1614     1614
=======================================
  Hits          959      959
  Misses        539      539
  Partials      116      116


Missing step for activating the provider and the logic definition connections.

Missing step for activating the provider and the logic definition connections.

Connections must be enabled before the new auto generated flow in IOM connects to the dataverse or any other application

Error:
{
  "error": {
    "code": "0x80040265",
    "message": "Provider message handler is not available for power automate workflow id: f4624bfa-d594-ec11-b3fe-0022483c67de.. CorrelationId: 00ad2cea-f03c-4959-b1d8-9efc4b5e7449"
  }
}

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

ID: 37cf6c99-4619-09f6-ad94-6d59dc574d33
Version Independent ID: 12d529fe-2bfa-2999-daa1-fb637435ce9e
Content: Create intake provider
Content Source: topics/lab-create-intake-provider.md
Service: dynamics-365-intelligent-order-management
GitHub Login: @josaw1
Microsoft Alias: josaw

Thanks for the feedback. @rinitha-reddy can you please review?

These steps are covered in another lab Onboarding provider
@josaw1 feel free to close this issue


Implement local transitions

state.js currently only supports internal and external transitions (as per the UML specification).

Closed by the v5.4.2 release.


Update akka-http, akka-http-testkit to 10.2.5

Updates

com.typesafe.akka:akka-http
com.typesafe.akka:akka-http-testkit

from 10.2.4 to 10.2.5.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe.akka" } ]

labels: library-update, semver-patch

Superseded by #309.


[Bug] Villagers cant use Barrel for POI

As above, villager cannot become fishermen with reinforced barrels as they can vanilla barrel.

Its possible your solution to this is breaking a few others mods method of implementation.
https://github.com/quiqueck/BetterNether/issues/39#issuecomment-1215896598

this has sorted it :) and actually made a few modded barrels work that didnt before (blockus/minekea)

Thank you for checking compatibility with other mods<3


Help

Actual Behavior
[23:25:59]  Server seems to be busy or offline - try again - 1/5
[23:26:00]  Server seems to be busy or offline - try again - 2/5
[23:26:01]  Server seems to be busy or offline - try again - 3/5
[23:26:02]  Server seems to be busy or offline - try again - 4/5
[23:26:03]  Server seems to be busy or offline - try again - 5/5
Traceback (most recent call last):
File "pokecli.py", line 493, in
File "pokecli.py", line 81, in main
File "pokecli.py", line 89, in report_summary
File "C:\pk\PokemonGo-Bot-Dev\pokemongo_bot\metrics.py", line 75, in capture_stats
File "C:\pk\PokemonGo-Bot-Dev\pokemongo_bot\api_wrapper.py", line 74, in call
pgoapi.exceptions.ServerBusyOrOfflineException
[23:34:29]  Server seems to be busy or offline - try again - 1/5
[23:34:30]  Server seems to be busy or offline - try again - 2/5
[23:34:32]  Server seems to be busy or offline - try again - 3/5
[23:34:33]  Server seems to be busy or offline - try again - 4/5
[23:34:34]  Server seems to be busy or offline - try again - 5/5
Traceback (most recent call last):
File "pokecli.py", line 493, in
File "pokecli.py", line 81, in main
File "pokecli.py", line 89, in report_summary
File "C:\pk\PokemonGo-Bot-Dev\pokemongo_bot\metrics.py", line 75, in capture_stats
File "C:\pk\PokemonGo-Bot-Dev\pokemongo_bot\api_wrapper.py", line 74, in call
pgoapi.exceptions.ServerBusyOrOfflineException
I have done
git reset --hard
git pull -f
pip install -r --upgrade requirements.txt
is like that since yesterday

So, what's the actual question? Why the servers are busy/down? Well, seems they are having some problems.
Of you are sure that servers are okay and this error is just misleading?

@paulohdc try to start with an other location so there is a chance it picks up an other server

servers are OK
i have open and check every time  http://ispokemongodownornot.com/
this is happening every 5 or 10, at most 15 min
not only now are already whole two days
starting in the central park 40.769630, -73.975535

This is happening to me as well.  Shitty servers, great bot.

go to the slack chatroom then in #help someone will help you


New Moderation Report Email

Adds report email templates
Sends emails to all moderator + admins of instance with small summary

Lovely, thanks for your work on this.


Mark up letter documents 0014-0025, 0030-0031, 0034, 0041, 0044-0045, 0053, 0057-0061, 0063

Workflow:

[ ] check branch of amp-data - work only on dev05 branch
[ ] open working copy of XML file in question: you find working copies in tmp folder of data folder in amp-data, file names are amp-transcript__0XXX-copy.xml (only work on working copies)
[ ] have letter-pattern open on screen (https://mattermost.acdh.oeaw.ac.at/acdh/pl/g85t19rw7jy38rnc8835ecuhao)
[ ] mark up letters in compliance with letter pattern - if there is any doubt, please ask right away
[ ] update revisionDesc as in documents that we have already updated
[ ] after finishing markup, in Oxygen select Document/Validate/Validate
[ ] check if valid in bottom bar ("Validation successful")
[ ] if "Validation failed", recheck and correct
[ ] save and push
[ ] collate with @timofruehwirth or @Mayers1907 with Oxygen Compare Files tool

doc0018 in letter_message in the <address> part I added <persName> so that Spender's name could be accepted as correct

doc0021 in div type="envelope, the address part cannot contain unclear values; we might need to fix this

doc0022 in the opener section address cannot include any punctuation marks followed the rs; therefore, I enclosed the fullstop within the rs as in:
            <address>                 <rs type="place" ref="#amp_place_id_11"><hi rend="underline">Wien III</hi><lb/>                   Neulingasse 26.</rs>                   </address>

doc0023 there is not salute

we need to be consistent with seg type= or seg hand=; from 0014 onwards I used seg type=

doc0031 the date is in the same block with address

doc0058 the structure of the letter violates the position of opener

doc0006 and doc0060 need to be doublechecked because of the strings in opener

doc0061 we have two placeName s and one affiliation in opener

doc0034

find a way to mark up the letter headers
find a way to mark up the telephone numbers
dont forget to attach the attributes hand in signed


Super slow redraws

Not really sure why this is happening. My phone isn't on low power mode. It's an iPhone 6s.
Interesting to see the way the app lays things out.
https://youtu.be/LFH0woc_Jyg
https://youtu.be/qWAMh0uPKUo

Bug Report Dump (Auto-generated)

Version 1.18.0<PHONE_NUMBER>)
Device: iPhone 6s (iOS 11.2.5)
TestFlight: false

Yikes!! @gingerbeardman would you be interested in running a Time Profile to help us track down what this is?
Sent with GitHawk

A reboot of my phone made this go away. But happy to run whatever you think might be useful

Hmm ok! If it comes back we can revisit
Sent with GitHawk


refactor: use new builder pattern

The Builder import in the example needs to be changed. Other than that lgtm

#69


Console: Adding generic link profile

The error seems to be related to a network/connectivity issue with Github:

[ERROR] bower toastr#2.1.1                      ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/johnpapa/toastr-bower.git", exit code of #128 fatal: Could not read from remote repository.  Please make sure you have the correct access rights and the repository exists.

Please, re-trigger the build.


Attacking and inflicting damage with the hook

Last week and this weekend I worked with some combat tasks in a game jam and in Kitchen Tales, so these things are quite fresh in my mind. Could you check my entry for Four Game Devs 1 Art Kit Challenge and Kitchen Tales 1st Combat Prototype to see if these are the directions I can take, or if there is something more specific you want?

See the comment I left in #21. I forgot to update these tasks, but the base system to deal and take damage is already in place.
We shouldn't touch this one right now though as the Hook still uses the Skill system that @razcore-art coded and I'm not sure that's the direction to take for it, or we may be able to simplify the code structure.
I'm updating the description above to mention what's left to do.


HBASE-23945 Dockerfiles showing hadolint check failures

With this patch, find . -iname '*Dockerfile*' -exec hadolint {} + reports nothing.

_ Prechecks _

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

+0 :ok:
shelldocs
0m  0s
Shelldocs was not available.

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

_ master Compile Tests _

+0 :ok:
mvndep
0m 36s
Maven dependency ordering for branch

_ Patch Compile Tests _

+0 :ok:
mvndep
0m  8s
Maven dependency ordering for patch

+1 :green_heart:
hadolint
0m  4s
The patch generated 0 new + 0 unchanged - 12 fixed = 0 total (was 12)

+1 :green_heart:
shellcheck
0m  0s
There were no new shellcheck issues.

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

_ Other Tests _

+0 :ok:
asflicense
0m  0s
ASF License check generated no output?

2m 55s

Subsystem
Report/Notes

Docker
Client=19.03.7 Server=19.03.7 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1244/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1244

Optional Tests
dupname asflicense hadolint shellcheck shelldocs

uname
Linux 9e09b4a6d17a 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / df62dde394

Max. process+thread count
45 (vs. ulimit of 10000)

modules
C:  U:

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1244/1/console

versions
git=2.17.1 maven=2018-06-17T18:33:14Z) shellcheck=0.4.6 hadolint=1.17.5-0-g443423c

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

This message was automatically generated.


[Event-Request] Codeunit 7010 "Purch. Price Calc. Mgt." - Event OnAfterFindJobPlanningLinePriceResource

Hi,
we would like to request the following the event OnAfterFindJobPlanningLinePriceResource
Signature
[IntegrationEvent(false, false)]
local procedure OnAfterFindJobPlanningLinePriceResource(var JobPlanningLine: Record "Job Planning Line"; var ResCost: Record "Resource Cost")
begin
end;

To be called in FindJobPlanningLinePrice
...

Type::Resource:
    begin
        ...

        "Direct Unit Cost (LCY)" := Round(ResCost."Direct Unit Cost" * "Qty. per Unit of Measure",
            Currency."Unit-Amount Rounding Precision");
        Validate("Unit Cost (LCY)", Round(ResCost."Unit Cost" * "Qty. per Unit of Measure",
            Currency."Unit-Amount Rounding Precision"));
        OnAfterFindJobPlanningLinePriceResource(JobPlanningLine, ResCost);
    end;

Thank you in advance.

Next time please specify the procedure you want it in, this will be OnAfterFindJobPlanningLinePrice instead a couple of lines later.


How to import mysql library using bazel

What platform/OS are you using?
linux
Which version of the SDK?
latest
Hi,
I have created a MySQL DB instance through AWS RDS.
I am trying to import mysql library in my CPP code, and do a sample example
My project is using bazel to import the library. Sorry that I cannot disclose my code due to company policy, but the way bazel imports the library is similar to those links:
link1,
link2
So my question is do you have any idea on how to import mysql library using bazel?
I understand this is more of mysql question, instead of aws question. And RDS library in aws-sdk-cpp is for the management of mysql instance, instead of how to access mysql.
But I have tried several ways. Cutting this issue is more like my last resort. Hope you have some idea.
I have the code similar to link1:
# mysql lib
    http_archive(
        name = "mysql-connector-cpp",
        build_file = "//third_party:mysql-connector-cpp.BUILD",
        sha256 = "64be955ad2b87376ade555651b0b86c3ecc6000faf71485d1dff360dff83c90f",
        strip_prefix = "mysql-connector-c++-8.0.13-src",
        url = "https://dev.mysql.com/get/Downloads/Connector-C++/mysql-connector-c++-8.0.18-linux-glibc2.12-x86-64bit.tar.gz",
    )

and the file "mysql-connector-cpp.BUILD" similar to link2:
cc_library(
    name = "mysql",
    hdrs = glob(["include/**"]),
    includes = ["include"],
    visibility = ["//visibility:public"],
)

But unfortunately, when I compile, I kept getting error:
 fatal error: 'cppconn/driver.h' file not found

My guess is that in file "mysql-connector-cpp.BUILD", i did not have the correct hdrs and includes.
If you can try to create a sample project and import the mysql library using bazel, please let me know.
Thanks

Hi @sichao-uber ,
As you say, this would be a bit outside the scope of the guidance we give...
That being said, if you're willing to give me some time, I'll try  and come up with a small sample project on using bazel, see if I can get it to work.
I'll update you as soon as I get something.

Hi @sichao-uber , sorry to say but I could not dedicate the time to make this work, and since we don't really support bazel builds I'll be closing the issue, sorry again for not being able to help. Hope you found a solution to your problem


chore(pie-button): watch script for auto-compiling code changes

running yarn dev in storybook and yarn watch from the root means any CSS and JS/TS changes to a component will compile into it's dist folder and be visible in storybook. Dependencies also compile - tested by adding a hello-world npm package to pie-button.
@fernandofranca tested on a mac and me on windows - all compiles 👍  turbo allows us to watch all components in parallel, so in future we'll be able to make changes to any component and they'll be reflected in storybook
Vite automatically transpiles typescript under the hood so there is actually no need for a separate watcher/transpiler

Quite happy to see an elegant solution! 👏 👏 👏
I have one question: Is it possible to make Vite watch/build all components at once instead of only individual components?
Thinking in terms of DX, I think it would be nice to enable devs to experiment and update any component without having to start the corresponding watcher for each component in advance. The library tends to grow, and having to keep in mind the watcher instances can become an inconvenience, IMO.

checked the latest branch (629664)
ran yarn
started storybook (yarn dev)
ran turbo run watch

Looks like it entered in loop or recursion, I can demonstrate in a call, or attach the video here.


getfilesystemencoding can be None, causing error

In Python before 3.2, it's possible to get None from this. However AWS Codebuild is setting things up, this causes pathlib2 to explode:
...
  File "/codebuild/output/src991325250/src/github.com/.../ve-web/local/lib/python2.7/site-packages/pathlib2/__init__.py", line 928, in _make_child
    drv, root, parts = self._parse_args(args)
  File "/codebuild/output/src991325250/src/github.com/.../ve-web/local/lib/python2.7/site-packages/pathlib2/__init__.py", line 885, in _parse_args
    parts.append(a.encode(sys.getfilesystemencoding()))
TypeError: encode() argument 1 must be string, not None

Thanks for reporting. I cannot reproduce the problem but I see it's possible according to the documentation: https://docs.python.org/2/library/sys.html#sys.getfilesystemencoding
I've seen other code in the cpython implementation fall back to ascii in these cases (see for instance https://github.com/python/cpython/commit/3741effcf8de2af3224e20af2865b7e378e59855), I'll add a patch to do the same in pathlib2.

Could you test and confirm that https://github.com/mcmtroffaes/pathlib2/commit/59e893e2979fb59212b4bca97a5418e3409333b4 fixes the issue that you reported?

Yes, this fixes the issue for me - thanks for the fast response!

Splendid. Thanks for confirming!

FYI I've just pushed a new release including the fix.


Toolbox Items missing

In VS 2022, the toolbox items are missing. If I select Show All in the context menu, it shows the EFDiagrams but all the options are greyed out.

Visual studio toolbox items are finicky beasts. I've seen that problem occasionally as well. The biggest problem is that it's rarely the same root cause twice in a row, so a simple "just do this" answer doesn't work.
I've tucket away a few pages of discussion and things-to-try for when this happens. Luckily it's infrequent enough that I NEED to tuck these away, because I always forget what I did the last time that resolved it. The links are:
DevExpress info on fixing the toolbox when it goes bad after installing their tools
https://docs.devexpress.com/GeneralInformation/403588/support-debug-troubleshooting/visual-studio-toolbox
Pretty much the same, but from Zendesk
https://devdept.zendesk.com/hc/en-us/articles/217842718-Resetting-Toolbox-and-Clearing-the-Toolbox-Cache
Community discussion of things to do to fix toolbox issues
https://stackoverflow.com/questions/1268298/how-to-rebuild-the-visual-studio-toolbox
Hope these help.


Start on test section

@boneskull is going to do an initial cut for discussion with the team.

+1 for mocha : )

+1 for mocha : )

closed via https://github.com/nodeshift/nodejs-reference-architecture/commit/80b41af331db23ad8e38708e4e75742a6c1929e7


Use search field instead of select department + select degree

The logic is pretty simple, I retrieve the degrees data on section load and then the user can see all of them and search a specific one by degree's name. When the user chooses it the groups and all the informations of that degree are loaded.
Issue overview

[x] Insert SearchBox component;
[x] Decide the logic of apis and behaviour with @MarcoBuster;
[X] Finish searchField component;
[ ] Set dynamic height for dialog and avoid to use css to adjust it;
[ ] Use theme and localization in searchField component;
[ ] Fix text of searchField that must be initialized when redirecting from url;
[x] Add chips to text results for type of degree;
[ ] Show error and disable the searchField when apis are not working.

I inserted the searchbox.
@MarcoBuster let me know if you have updates about this.

Right now the searchBox component is defined as a class.
@manuelelucchi should help me with restructuring it and define it with hooks, so I can use theme and localization without problems.


Can we have "az lab vm unclaim"

In the vein of 'az lab vm claim' it seems logical that there could be a 'az lab vm UNclaim' but I can't seem to find it. Any chance I missed the functionality or that this could get implemented?

Any progress on this? Seems like it's just been stuck for a year?

Ping (Almost 2 years after I asked for an update! 6 years since OP!)


Traintech 713

This is to update what has been done so far, still work in progress and the assert private needs to be worked on.

Can you update the title to WIP: whatever the PR adds

ping @josephoaks can you update the title as requested and update the PR?

@josephoaks is this complete? Can you please rebase this so it can be reviewed and merged, if it is complete?

@josephoaks I'm closing this PR since comments haven't been addressed. If you'd like to continue working on it, feel free to reopen and correct the title or create a new PR with the title set properly.


Turns off defaultActiveColor for approved tick icon in workflow dropdown

💬 Description
Sets the defaultActiveColor={false} prop on a tick icon in the <ApprovedLabel /> component. It was blue when it should have been green.
Also added David to the contributors on package.json. Was literally the first thing I did when I joined GC. @DavidHollins6, you are too humble.
🔗 Links
Links that relate to the PR (Trello, Figma etc.)
📹 GIF (optional)
A short GIF of the changes in action.
🚪 Start Points
Where is a good place to start the review? If there are multiple changes it may be worth listing multiple files.
👫 Related PRs (optional)
Any PRs that relate to the changes.
✅ Checklist

[ ] Tests written
[ ] Browser tested
[ ] Added to documentation
[ ] Added to storybook

 Fix workflow item approved tick color