Revm 16.0.0 depends on alloy 0.3, resulting in duplicate crates

The alloydb feature provided by revm 16.0.0 still depends on outdated alloy crates. This results in duplicate (and conflicting) dependencies for alloy-eip7702.
Additionally, I've noticed that the 2 major version change releases today where based on a branch which diverged from main on Sept 9th. The main branch seemingly already has all the up-to-date dependencies. Are there plans to release a version on cargo based on the main branch anytime soonish?

Releases are done from release/* branches in this case release/v47 while main is getting a big refactor.
For why they are major releases, are because of dependency bump that can be nasty. it is better explained here: https://github.com/bluealloy/revm/issues/1812
The alloydb database is a small wrapper of 200 lines. If you need to use it, I recommend copying it to your codebase.

Thanks for the clarification!

Thanks for the clarification!

No problem, and thank you for using revm!

The alloydb database is a small wrapper of 200 lines. If you need to use it, I recommend copying it to your codebase.

Just wanted a clarification on this, if we were to fork AlloyDB and maintain an updated version ourselves, may we use the crate name revm-alloy-db? You could then deprecate AlloyDB in revm in favour of our fork if you do not wish to maintain it further.

The alloydb database is a small wrapper of 200 lines. If you need to use it, I recommend copying it to your codebase.

Just wanted a clarification on this, if we were to fork AlloyDB and maintain an updated version ourselves, may we use the crate name revm-alloy-db? You could then deprecate AlloyDB in revm in favour of our fork if you do not wish to maintain it further.

This seems reasonable. There is a potential future where this is included directly in alloy, but until then be free to publish revm-alloy-db.

Have published new revm with bumped AlloyDB


How to run multiple sessions of AVS SDK in different devices

We have ported AVS SDK 1.7 on a custom platform based on imx7d. We have successfully built the AVS SDK. We have registered our platform details and updated the product ID, CLient ID to the AlexaClientSDKConfig.json based on our developer account.
We could run the ALexa SDK in our platform successfully and we can interact with Alexa. But If i run the same SDK in parallel in another platform, it shows the message as " Connecting..." and AVS is not running and we could not talk to Alexa.
If we use a different account and register for the second platform, we could run AVS in parallel to the first. But for this we have to build AVS again. How should we run parallel sessions using a single registration. What is the factor which will differentiate different platforms in run-time which we need to take care as we cannot separately build for each hardware again and again.
This is blocking our testing. Please advice how should we handle this issue.

Hi @jimediaplayer, you can register, using the CBL workflow, multiple devices to the same account.  But please make sure that each device has a unique "deviceSerialNumber" in its AlexaClientSDKConfig.json config file.  Hope this helps!
Thanks,
Kenneth

Just changing device serial number is not helping. if we do so, it shows as Connecting  after starting the Alexa SDK and it not going to idle state to start  conversation.
Please advice.

Hi @jimediaplayer,  Sorry for not replying sooner.  Please make sure each device has a unique deviceSerialNumber, and each device would need to have a empty CBLAuthDelegate's database file (cannot be copied from one device to another) before going through the run and authorize process per:
https://github.com/alexa/avs-device-sdk/wiki/Ubuntu-Linux-Quick-Start-Guide#run-and-authorize

We have ported AVS SDK 1.9 on our mips platform. Every board's AlexaClientSDKConfig.json "device serial number" is different. If every board use different wifi station to connect avs is no problem, alexa can work. But when some boards connect the same wifi station to avs, they're not work . Device log show "Connecting" (Every board use the same amazon account to login).
Please advice how should we handle this issue. Thanks.


tinygo: 0.23.0 -> 0.25.0

Description of changes

Bumped version, tried to fix darwin build
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

@Madouura could you test this PR? Also fixed darwin build.

@SuperSandro2000 Could you review this PR? Compiler works fine but i can't test the binaries on bare metal at the moment.

@ofborg eval


Need to use deploy key on every checkout.

I wasn't reading the pipeline code carefully enough it seems and wasn't expecting a clone operations per step.

Side note: With the current implementation there's a small (but non-zero) risk that a single build ends up using different versions of the code if you happen to push a change while a build is in progress.
I would recommend to either adopt the CityEngine 'clone-once, stash, unstash' strategy or alternatively record the commit id on the first clone operation in the prepare stage. Subsequent clone operations should then pass the commit id instead of the branch name to 'pin' the commit id. (The latter would require a small change in PrtAppPipelineLibrary though as checkout(String,String,String) currently does not pass the return value (commit id) from the PipelineSupportLibrary back to the caller.)


feat: Merge SMT Terms in one class

This pr brings major changes in symbolic terms usage.
STerm
A new class that is merged from FFTerm and FFITerm classes. Now you can use FFTerm or FFITerm by providing a TermType::FFTerm or TermType::FFITerm to STerm constructor.
All the operations are now stored in unordered_map<OpType, cvc5::Kind> operations. e.g. if the type is FFTerm, then operations[OpType::ADD] = cvc5::Kind::FINITE_FIELD_ADD, and operations[OpType::ADD] = cvc5::Kind::ADD for FFITerm
Also now you can use new BVTerm type. It can be used to solve constraints with lots of bitwise operations. However, it can be used only once all the optimizations are added. You simply can't use it to simulate finite field operations and it's not really optimal.
Symbolic variables can be initialized using new functions FFVar, FFIVar and BVVar
Solver
Added bv_sort member
Added bitvector operations parser to stringify_term
Circuit
No more templates. All the circuit methods are moved to .cpp file
Fixes:

range constraint is now made to be <= 2^n - 1 instead of < 2^n
changed xor_gate to logic_gate in info function
Removed setting optimized variables to zero, since it didn't affect anything except polluted output
Restored public_variables initialization. It was deleted some time ago. I don't know why.

Utils

smt_timer now has bool mins param, that tells in what format to output elapsed time

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 10ef9702 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
5,668
18,820
36,356

l1_rollup_calldata_gas
66,400
239,068
468,992

l1_rollup_execution_gas
647,498
929,426
1,305,172

l2_block_processing_time_in_ms
1,301
4,684 (-2%)
8,965 (-4%)

note_successful_decrypting_time_in_ms
194 (+12%)
515 (-8%)
983 (-1%)

note_trial_decrypting_time_in_ms
98.5 (+31%)
30.5 (-61%)
115 (-8%)

l2_block_building_time_in_ms
18,073
68,326
135,850 (-1%)

l2_block_rollup_simulation_time_in_ms
8,053
28,563
56,502

l2_block_public_tx_process_time_in_ms
9,999 (-1%)
39,708 (-1%)
79,254 (-1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
14,521 (-1%)
27,418 (+3%)

note_history_successful_decrypting_time_in_ms
1,219 (-1%)
2,475

note_history_trial_decrypting_time_in_ms
59.2 (-2%)
179 (-2%)

node_database_size_in_bytes
18,624,592
35,053,648

pxe_database_size_in_bytes
29,859
59,414

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
284 (+1%)
44,366
28,244

private-kernel-ordering
215 (+1%)
52,868
14,326

base-parity
1,836 (+3%)
128
311

base-rollup
716 (-1%)
165,787
925

root-parity
1,533 (-6%)
1,244
311

root-rollup
53.6 (+4%)
4,487
725

private-kernel-inner
648 (+1%)
73,771
28,244

public-kernel-app-logic
450 (+1%)
35,260
28,215

public-kernel-tail
174 (+1%)
40,926
28,215

merge-rollup
8.48 (+2%)
2,696
925

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.1 (+1%)
16.3 (+2%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.6
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.590 (+1%)
0.504 (+2%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
45.8
71.8 (-1%)
229
444
863 (-2%)
1,727
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
96.0
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.470
0.443 (-1%)
0.419
0.416
0.411 (-1%)
0.413
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
53.8 (-2%)
106 (-2%)
336 (-1%)
671 (+2%)
1,310 (-1%)
2,607 (-1%)
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
104
207
691
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.480 (-2%)
0.479 (-1%)
0.456 (-1%)
0.463 (+2%)
0.454 (-1%)
0.452 (-1%)
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
60.9 (-1%)

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
109

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.534

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes

tx_size_in_bytes
22,012

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes

tx_pxe_processing_time_ms
3,164 (-2%)
1,750 (+1%)

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
13.9 (+21%)
1,253 (+1%)


License

I would like to add a license to our code, by following this link we may have a different choice to do so.
I think MIT would be good, please let me know what you think.

Yes MIT is suitable.
Thanks


Sharing NVME between volume and cache group?

First thank you very much for this cool script. I moved my 2x4TB nvme‘s from cache usage to volume. I had used about 400 GB as cache group before.
I have seen that there seem to be different partition types for cache group and volume. What I would really like is to share my nvme space between cache and volume usage. Is this generally possible or is this something that is technically impossible?

DSM does not allow using a drive for a cache and a volume.
You're only the 2nd person to ever ask about it. When the first person asked I did some research and read that a cache drive is formatted differently to a drive with a storage pool.


Add Fantom Sushi CRV-ETH vault

Vault: 0x1C9e6B0696F19C91a25F433BC3f15b2182227f3E
Strategy: 0xAf766Ed860b81Af57283f3D48a31204E83faadc4
Want: 0x97A039255ecC352e5782Fc49beA26B03F60FA49b
PoolId: 8

Build is failing due to another empty vaults, not a problem with this one. Can someone trigger the CI build again?

wrong route from FTM to CRV.
would be nice to upgrade this Sushi strat:

rename to harvest(callFeeRecipient)
add nativeToLps, outputToNative functions
same in Common strats

wrong route from FTM to CRV.

Please suggest correct route?

would be nice to upgrade this Sushi strat

Do I need to do this in order to get this vault accepted or is this merely a note to self?


don't include compiled .exe files in Github

and add file '.gitignore' which has *.exe

Fixed with commit 087cbea4e23d1d6fb673ddddf305e1a343c4ca1d


Reference scenarios directly from outside

In order to convey very specific scenarios to other people
As a specification reader
I want that each scenarios could be referenced from outside

Each scenario has a unique reference
The reference is relative to the page
The reference could easily copied to the clipboard

Possible Javascript solution: https://github.com/zenorocha/clipboard.js


docs: ex: backing up w/o root: self-upgrade

https://restic.readthedocs.io/en/stable/080_examples.html#backing-up-your-system-without-running-restic-as-root
Actual behavior; Do you have any idea what may have caused this?
The example/guide doesn't think of upgrading, 'From now on', etc. Self-upgrade either:

(restic user) fails
(root) mixes up the permissions

Do you have an idea how to solve the issue?
There's not much point to --output, as we'll replace the binary anyway, and execute it.
Current command I have come up with:
export p=/home/restic/bin; export r=$p/restic; sudo -u restic $r self-update; chown root:restic $p $r; chmod 770 $p; chmod 750 $r; setcap cap_dac_read_search=+ep $r; sudo -u restic $r -r rest:… backup …

This is the 'set and forget, throw in crontab' (assuming we trust self-update to not bring in malicious code, what's fairly low risk).

/assign self
Should the (somewhat blind) auto-upgrade be added to the example, as the default, as an optional.. or rather a warning of you have to upgrade with this now and then?

These are separate concerns. The documentation chapter you pointed to is about backing up the entire system. It is not about how to keep your restic binary/installation up to date, which is documented in https://restic.readthedocs.io/en/stable/020_installation.html .
So no, we shouldn't add the auto-upgrade to the example, nor a warning as the concern of keeping your restic up to date is no more relevant or applicable when you back up your entire system, than it is when you just back up a single file or folder.
I'm inclined to close this issue but will let you comment first in case there's something I'm totally missing here.

It would be useful if the instructions in this part of the docs would mention the changes being reset on a self-upgrade as I was caught out with this recently. As long as a user is aware of this they can enact their own method to reset permissions after an upgrade.

I somewhat unexpectedly caught it when setting up / testing the deployment as well.
At least a warning that:

the changes are reset
(restic can't self-update, at least with that guide (might fail silently to user, if user uses && to chain a crontab, it might stop backups altogether, assuming the worst of the reader, though))

It is not about how to keep your restic binary/installation up to date, which is documented in restic.readthedocs.io/en/stable/020_installation.html.

Requesting changes, then. The guide downloads restic with curl, what can be read as 'this guide includes installation'. Somewhat true, but misleading.

Even with a warning(s), the workarounds can be the user shooting themselves. It took me 2-3 tries plus 10-20m thinking it through, and crafting this command:
export p=~restic/bin; export r=$p/restic; sudo -u restic $r self-update; chown root:restic $p $r; chmod 770 $p; chmod 750 $r; setcap cap_dac_read_search=+ep $r; sudo -u restic $r -r rest:… backup …

The main point being, unfortunately examples and guides often end up in prod, copy-pasta.
Go with warn: when setting and forgetting (setting up automatically recurring backups, crontab):

get some god damn failure and success (if no success within n period, something is wrong) to a place you read regularly
restic is not updated
if you self-update restic, permission changes are lost
here is a snippet that you can shove in to the root crontab after initial install (saves time, and possible human failure)

optionally (I say not, to force the user to read), also, here's a snippet to install: (not tested, quickly done, also depends on bzip2) export p=~restic/bin && useradd -m restic && mkdir -p $p && curl -L https://github.com/restic/restic/releases/download/v0.9.6/restic_0.9.6_linux_amd64.bz2 | bunzip2 > $p/restic

Heh, that caught me off guard.

It would be useful if the instructions in this part of the docs would mention the changes being reset on a self-upgrade

Are you referring to the capabilities that were added to the downloaded restic binary? Indeed you can be "bitten" by this, but at the same time, are you not supposed to know that if you assign a capability to one binary, and then replace that with a completely different binary, the capabilities no longer applies? It's two different binaries.
@jtagcat It's hard to understand half of what you wrote, probably due to language barrier, but I'll add a warning/notice to the instructions, clearly pointing out to the user that the capabilities will be reset if they replace the restic binary with a new one or run self-update. That should address the concern you raised. We really should not make this part of the documentation an installation guide - that is not what it's written for.

Thanks for improving usability of restic!


Automated cherry pick of #2456: io throttle

Cherry pick of #2456 on release/2.11.
#2456: io throttle

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11@295a6ac). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.11   #2508   +/-   ##
==============================================
  Coverage                ?   7.06%
==============================================
  Files                   ?     454
  Lines                   ?   71844
  Branches                ?       0
==============================================
  Hits                    ?    5075
  Misses                  ?   66351
  Partials                ?     418

Flag
Coverage Δ

#aFlag
7.06% <0%> (?)

Impacted Files
Coverage Δ

pkg/hostman/monitor/monitor.go
27.9% <ø> (ø)

pkg/compute/models/guest_actions.go
0% <0%> (ø)

pkg/hostman/monitor/hmp.go
7.8% <0%> (ø)

pkg/hostman/monitor/qmp.go
5.97% <0%> (ø)

Continue to review full report at Codecov.

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

/lgtm

/approve


388 - Adding coverage to pytest-pixl

Description
Fixes #388: Adding coverage to pytest-pixl, including the following tests to cover _create_default_json and FtpHostAddress:

test_create_default_json_file
test_ftp_host_address

See report in codecov
Type of change
Please delete options accordingly to the description.

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

Suggested Checklist

[x] I have performed a self-review of my own code.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have passed on my local host device. (see further details at the CONTRIBUTING document)
[x] Make sure your branch is up-to-date with main branch. See CONTRIBUTING for a general example to syncronise your branch with the main branch.
[x] I have requested PR review to UCLH-Foundtry/arc-dev
[ ] I have adddressed and marked as resolved all the review comments in my PR.
[ ] Finally, I have selected squash and merge

Thanks Stef, let me know your thoughts! Coverage report for dicom.py and plugin.py seem to be >90%


Code block inside list not rendered as  if containing lines starting with +, - or *

In Hugo 0.14/0.15 I noticed that code blocks are not rendered correctly if they contain lines starting with +, - or * and are nested inside a list.
Example:
1. Some list item

    ```plain
    + this doesn't work
    ```

The generated HTML is:

Some list item

```plain</p>
    <ul>
        <li>this doesn’t work
        ```

Removing or replacing the offending character, prepending 4 spaces, or taking the block out of the list solves it.

This is not a bug.  According to the Markdown spec:
To put a code block within a list item, the code block needs to be indented twice — 8 spaces or two tabs.

I'm afraid you're referring to the standard syntax. The bug is in fenced code blocks, which allow us to specify the language (for client-side highlighting).
See also: https://gohugo.io/extras/highlighting/#using-client-side-highlighting

My mistake.  This looks like a bug in Blackfriday.

What is the reference to the Blackfriday issue?

Reported upstream as blackfriday #239.

This issue has been automatically marked as stale because it has not been commented on for at least four months.
The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still valuable, please open a proposal at https://discuss.gohugo.io/.
This issue will automatically be closed in four months if no further activity occurs. Thank you for all your contributions.

Note/Update: This issue is marked as stale, and I may have said something earlier about "opening a thread on the discussion forum". Please don't.
If this is a bug and you can still reproduce this error on the latest release or the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.

I can understand that this is not a Hugo problem. But it would be really awesome if the Go experts here can fix this problem in the Blackfriday repo. I've been noticing for quite a few months that that project is not in a very healthy development state.. This issue has been opened since 2 years, and no one in that team bothers to fix it!

@kaushalmodi,
I understand, but please don't complain about how we (or the Bf team) choose to volunteer our time.  No one is getting paid for this.  If you're not willing to fix it yourself, it's better to keep your complaints to yourself. None of us likes having unfixed bugs, but there's only so many hours in the day and too few contributors willing to take those hours away from their families (or whatever) and donate them to you guys.

I am a heavy open-source contributor too. Sorry, I'm just feeling helpless here as I don't know Go.. and I fear the impact that the lack of maintenance on Bf project will have on Hugo.. that's all.

and donate them to you guys.

Just to clarify, I am not one of "you guys". I contribute a lot of my free time to open source projects, actively contributing, helping folks, etc.
That said, I won't talk about this in Hugo issues any more.

This has been fixed upstream.

@moorereason Awesome! Though, shouldn't this be closed after the Blackfriday ref is updated? (or does that happen automatically now?)


Can we archive this repo?

Do we still need this repo? No one is maintaining it. If we really need a template, maybe should consider https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/creating-a-template-repository instead.

Exisiting repositories might not be sufficient. However, making this repository a template repository through the method described in the link could be done.


Extract finch-json4s into its own project

Only ~500 downloads (0% of total) accounted for it in May 2018.

Done in #971.


ADD: Simple installation method

Can you explain what's not simple about the current installation instructions? I intentionally avoided mentioning where the packages directory is because it's different from platform to platform and different from system to system on the same platform.
Your change is Linux-specific, and the latest update seems to be just a more complicated version of your original git clone ... ~/....

The idea is come from vundle

However, as u mention that it seems much more complex.


⚠ Hartman Foundation has degraded performance

In 31f6120, Hartman Foundation (https://gordonhartman.com/) experienced degraded performance:

HTTP code: 200
Response time: 2509 ms

Resolved: Hartman Foundation performance has improved in eacf32a.


Getting error while applying GraphQL-Query with a filter

query{
  pickUpStores(
    filter: { name: { like: "Brick and Mortar 1%" } }
    pageSize: 2
    currentPage: 1
  ) {
    total_count
    items {
      name
      street
      postcode
    }
  }
}

Below error coming after execute the query mentioned into module
{
  "errors": [
    {
      "debugMessage": "Attribute not found in the visible attributes list",
      "message": "Internal server error",
      "extensions": {
        "category": "internal"
      },
      "locations": [
        {
          "line": 2,
          "column": 3
        }
      ],
      "path": [
        "pickUpStores"
      ]
    }
  ],
  "data": {
    "pickUpStores": null
  }
}

I go stuck on this as well (Magento 2.4). in FilterArgument.php the getEntityAttributes method looks like its returning the wrong type of array which throws an error in Magento's AstConverter.
I fixed it by changing getEntityAttributes() method to:
`  public function getEntityAttributes(): array
{
$fields = [];
foreach ($this->config->getConfigElement('PromoBanner')->getFields() as $field)
{
  $fields[$field->getName()] = [
    'type' => 'String',
    'fieldName' => $this->fieldMapping[$field->getName()] ?? $field->getName(),
  ];
}

return $fields;

}`


Breaks json_serializable

This currently breaks any models using json_serializable if imported into the model file.
https://pub.dev/packages/json_serializable
E.g. if dartx is imported into the example.dart in the above link,
then the example fromJson generated code goes from
Person _$PersonFromJson(Map<String, dynamic> json) {
  return Person(
    firstName: json['firstName'] as String,
    lastName: json['lastName'] as String,
    dateOfBirth: DateTime.parse(json['dateOfBirth'] as String),
  );
}

to
Person _$PersonFromJson(Map<String, dynamic> json) {
  return Person(
    firstName: json['firstName'],
    lastName: json['lastName'],
    dateOfBirth: json['dateOfBirth'],
  );
}

I believe the extensions here applied directly to the types are breaking the type checking in the json_serializable helper functions.
https://github.com/dart-lang/json_serializable/tree/master/json_serializable/lib/src/type_helpers
It seems that using generic extensions would stop this breaking.
i.e. in https://github.com/leisim/dartx/blob/master/lib/src/string.dart instead of
extension StringX on String {
use
extension StringX<T extends String> on T {

This seems to be a bug in json_serializable or in the analyzer. I don't think we should make all extensions generic...


Update README, add fork information

Newcomers to the project might not be aware of the current status, I think this will help.
Please take a look @bnoordhuis @chqrlie

OK for me


AntiAim buggin my movement!

https://user-images.githubusercontent.com/106869594/199362009-70a826c0-9e6d-4110-9373-dd180dbfa71a.mp4
argh fix cant play medic

just like, dont use anti aim?

ye and the snipers hs me 😠  nice iq..

follow the template next time.


Add dependencies to README

Coverage remained the same at 100.0% when pulling 8b138a39db37a9f8d805bac48bd53a5ff68829f4 on dependencies into d8a739e717373f7ad1a581f1a25202e964797e1d on master.


'Module' object has no attribute 'MultiBoxPrior'

When i build the official mxnet sources (latest master) and try to run the demo script in the ssd example, i cannot use the contrib symbols. Have you experienced such thing? Should i better use the mxnet version from your submodules repository?

You better use the submodule cuz I havn''t submitted PR to official repo yet.

It works better now. Strange.


istioctl manifest --set with a list does not work

Bug description
When trying to generate a manifest or deploy Istio using istioctl manifest generate/apply, the command fail if you try to pass a list (array) of arguments using --set
Expected behavior
The behaviour should be the same as using helm :
helm template istio install/kubernetes/helm/istio --set global.imagePullSecrets="{aaaaa,bbbbb}" > generated.yml

gives a file including :
---
# Source: istio/charts/sidecarInjectorWebhook/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
imagePullSecrets:
  - name: aaaaa
  - name: bbbbb

Steps to reproduce the bug
I tried a lot of combinations like :
istioctl manifest generate --set values.global.imagePullSecrets='{a,b}'

istioctl manifest generate --set values.global.imagePullSecrets="{a,b}"

istioctl manifest generate --set values.global.imagePullSecrets=a,b

istioctl manifest generate --set values.global.imagePullSecrets='a,b'

giving the error :
bad path=value (values.global.imagePullSecrets={a}): json: cannot unmarshal string into Go value of type []json.RawMessage

or :
istioctl manifest generate --set values.global.imagePullSecrets={a,b}

giving :
Error: generate accepts no positional arguments, got []string{"values.global.imagePullSecrets=b"}

Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
istioctl version
client version: 1.4.0

helm version
version.BuildInfo{Version:"v3.0.0", GitCommit:"e29ce2a54e96cd02ccfce88bee4f58bb6e2a28b6", GitTreeState:"clean", GoVersion:"go1.13.4"}

How was Istio installed?
not relevant.
Environment where bug was observed (cloud vendor, OS, etc)
running commands on OsX
remote cluster on AKS

--set with a list is not supported yet. Now if you need to overlay list of values, you have to create a IstioControlPlane CR yaml to override.
apiVersion: install.istio.io/v1alpha2
kind: IstioControlPlane
spec:
   values:
      global:
         imagePullSecrets:
          - a
          - b

Thanks @richardwxn I'll check that.

--set with a list is not supported yet. Now if you need to overlay list of values, you have to create a IstioControlPlane CR yaml to override.
apiVersion: install.istio.io/v1alpha2
kind: IstioControlPlane
spec:
   values:
      global:
         imagePullSecrets:
          - a
          - b

This workaround generates the same result as using --set

Can you please point out how to execute istioctl install with the yaml file as argument?

@prune998 @richardwxn can we reopen this issue? it shouldn't be closed because it's a missing feature of --set option istioctl, the above workaround require extra config and can't be achieved via istioctl install command


HTTP response format

Gather error code together
Returns common format

{
  code: str,
  message: str,
  data: {}
}

good reference


Every module should bring their dependencies with them

Is your feature request related to a problem? Please describe.
Every module should bring their dependencies with them so that we don't have to care about dependencies of Arcus
For example for Key Vault, it assumes that it's pre-installed rather than define it as a dependency: https://github.com/arcus-azure/arcus.scripting/blob/master/src/Arcus.Scripting.KeyVault/Arcus.Scripting.KeyVault.psd1#L51

Example: https://github.com/Azure/azure-powershell/blob/master/src/EventHub/EventHub/Az.EventHub.psd1#L56

Aha, it does work with Az-modules now - some time ago this wasn't supported - but yep, should be noted as requiredModules.

Can we already do this in v0.1, @mbraekman ? Maybe better?

I think it's best to add this for v0.1 to be honest since we depend on those.

I believe this has been sorted for the following modules via #69 :

ApiManagement
DataFactory
KeyVault
Storage

@stijnmoreels can you confirm, if this is the case - I'll move this back to milestone v0.2.0 in order to keep track of this for the next modules to create.

Yes, that's correct, all those projects have their dependencies with them. Although, only the ApiManagement project has (now) a specific version of a required module. Should this be the case for every project?

Should this be the case for every project?
Yes, please.

Closing this as it has been implemented for v0.1.0-modules.
For futher modules, should be part of the actual workload/issue when creating the module.


Do you have plans to have a directions api in place?

cc @christopherdro who is working on something similar.
I don't think we will add a directions API... but it is conceivable you could open source a directions component or something that worked on top of this library...

@ahmed1490  You can use Google's or Mapbox's api to get an array of geo json coordinates that you can set on the coordinates prop for <Polyline />.
It would look something like this.
Get directions based on start and end coordinates.
getDirections() {
    return new Promise((resolve, reject) => {
      fetch(`https://api.mapbox.com/v4/directions/mapbox.driving/-118.2980330,34.1036520;-118.258443,34.145785.json?geojson=true&access_token=YOUR_API_TOKEN`)
      .then((response) => {
        return response.json();
      }).then((json) => {
        resolve(json);
      }).catch((err) => {
        reject(err);
      });
    });
}

Massage data to fit <Polyline /> component.
this.getDirections().then((result) => {
   let polylineCoordiantes = result.routes[0].geometry.coordinates.map(c => {
      return {
         latitude: c[1],
         longitude: c[0],
      }
  });
});

<Polyline coordinates={polylineCoordinates} />

I'll try by best to get an official example up when I get some free time.

@christopherdro Thank you for the quick response :+1:
Is it because of the API token that you are skeptical.. to have this included in the project?
And lastly Great work in the project guys!

Starting from  @christopherdro idea I used google directions api.
getDirections(opts) {
    var fromCoords = opts.fromCoords;
    var toCoords = opts.toCoords;
    var url = 'https://maps.googleapis.com/maps/api/directions/json?mode=walking&';
        url += 'origin=' + fromCoords.latitude + ',' + fromCoords.longitude;
        url += '&destination=' + toCoords.latitude + ',' + toCoords.longitude + '&key=' + constants.GOOGLE_KEY;

    return new Promise((resolve, reject) => {;
      fetch(url)
      .then((response) => {
        return response.json();
      }).then((json) => {
        resolve(json);
      }).catch((err) => {
        reject(err);
      });
    });
  }

from the response I used: data.routes[0].overview_polyline.points;
  _createRouteCoordinates(data) {
    if (data.status !== 'OK') {
      return [];
    }

    let points = data.routes[0].overview_polyline.points;
    let steps = Polyline.decode(points);
    let polylineCoords = [];

    for (let i=0; i < steps.length; i++) {
      let tempLocation = {
        latitude : steps[i][0],
        longitude : steps[i][1]
      }
      polylineCoords.push(tempLocation);
    }

    return polylineCoords;
  }

Polyline it a class that is able to decode into an array with lat,lng coordinates the encoded polyline points. You can find it here. [https://github.com/mapbox/polyline]
and finally
  <MapView.Polyline
    coordinates={this.state. polylineCoords}
    strokeWidth={2}
    strokeColor="red"
   />

It works perfectly. Thanks @christopherdro for the idea.
Good luck guys. Hope this post will be useful.

@KFreak , nice job! Thanks for your contribution. :)

:+1:

@mihaisampaleanu I've been trying to recreate your solution, but I'm stuck after getting the Promise's response. Any chance you could go a little bit more ELI5 with this please?

Based upon the feedback here (and in https://github.com/airbnb/react-native-maps/issues/929 and  https://github.com/airbnb/react-native-maps/issues/778) I've knocked up a standalone and immediately usable component to do just that: https://github.com/bramus/react-native-maps-directions
Hope it helps out those struggling to combine all suggestions. Installation per npm/yarn: yarn add react-native-maps-directions


DatePickerIOS calendar type

Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS:  macOS Sierra 10.12.6
Node:  8.4.0
Yarn:  0.27.5
npm:  5.4.0
Watchman:  4.7.0
Xcode:  Xcode 8.3.3 Build version 8E3004b
Android Studio:  2.3 AI-162.4069837
Packages: (wanted => installed)
react-native: 0.48.1 => 0.48.1
react: 16.0.0-alpha.12 => 16.0.0-alpha.12
Target Platform: iOS (10.3)
Steps to Reproduce
How can i change the calendar type in DatePickerIOS component. By default the calendar type is in gregorian. Need to have buddhist calendar type .
Expected Behavior
Need to have calendar in buddhist calendar type .
For reference,
iOS UIDatePicker Component has the Calendar property which manages calendar type.
Actual Behavior
Reproducible Demo

@muthuraman007 I think that feature there's not prevision to be done. The componente it's not enabled to be custom, unfortunately.


A very-related fancy project/repo, just wanna to share

There are so many similar and unsolved issues from users for this repo (e.g., bad generation results, wrong demo, different implementation compared to the paper,...) and the author does not respond for a long time.
I just found another new repo focusing on almost the same task and they also compared to DreamPose quantitatively in their paper. Just want to share.

the results are really appealing, i'll try out in the next few days


fts on mentor implemented

Full-Text Search on Mentor Model is implemented using MongoDB text search Index.
closes: #14

Thanks for the pr, rather than creating a new controller can we add this in getMentorsController itself?

Thanks for the pr, rather than creating a new controller can we add this in getMentorsController itself?

Yes, it can be done, need an if check for query parameter to do fts

The reason I want it in the getMentor controller is because I want all these parameters to be chained together, just like how search  on leetcode works
So on the front-end we would have a UI of something similar to the following

The said changes have been made, now text-search is chained with Expertise and topics filters inside getMentorsController.


pkgsCross.aarch64-multiplatform.buildGoModule requires go to be built

Describe the bug
Building any go package with pkgsCross.aarch64-multiplatform.buildGoModule requires golang to be built locally.
Steps To Reproduce
Steps to reproduce the behavior:
nix build nixpkgs#pkgsCross.aarch64-multiplatform.syncthing

or some other packages. It will show building go toolchain 1, 2 and 3.
Expected behavior
Go package to use should be in cache of course.
Notify maintainers
@zowoq
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
=> nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.5.5-zen1, NixOS, 23.11 (Tapir), 23.11.20231006.87828a0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.0`
 - nixpkgs: `/nix/store/g68f5abh3xhcz8xsdlfw7wkgkkcx3nwy-source`

Cross configs only have a very limited subset of packages built for them, that's intended. I don't think this policy will change any time soon due to unreasonable resource usage required to enable this rather niche use-case.


Portfolio index appears as a portfolio entry

I need to include an index.md in _portfolio/ to generate a portfolio page, but when I do this, the index gets cataloged as a portfolio entry. Removing the index.md results in no portfolio page, but I don't want it to appear as a link in the portfolio itself.

https://github.com/gjbunyea/www/tree/master/_portfolio - Site development working files
https://github.com/gjbunyea/gjbunyea.github.io/tree/master/portfolio - Site build output
https://gregbunyea.com/portfolio/ - Public site where you can see the issue in the screenshot above.

Instead of putting the index file in your portfolio collection I'd conert it to a static page instead.
Move _portfoli/index.md to portfolio/index.md to achieve this. Now it won't be considered a page in the portfolio collection.

Perfect! Thank You!


Remove RequestContext.newDerivedContext() method

Motivation:
newDerivedContext() method is requested by one of our customers who was not using RetryingClient.
He implemented his own retrying client because at that time Retryingclient had a bug that uses only one requestLog no matter how many retry is made.
Thereafter he could not log the causes and responses successfully.
But right now, we fixed it and it works well. So we do not need anymore.
Modification:

Remove RequestContext.newDerivedContext()

Result:

(Breaking) You cannot derive a context using RequestContext.newDerivedContext().

You should use (Client|Service)RequestContextBuilder to make another request context.

writing his/her own retrying client, etc.

Couldn't think of it. 😅 Let me make a change. 😄

Superseded by #2224


OSError: [Errno 24] Too many open files: './VOC2012//JPEGImages/2008_008190.jpg'

this error i m getting in def get_all_images(image_names, path_voc):

I have the same problem. And I have solved it. Just let it close. For example, img=image.load_img(...);
keep=img.copy();
images.append(keep);
img.close();

I have the same problem. And I have solved it. Just let it close. For example,
from PIL import Image
img=Image.open(...);
keep=img.copy();
images.append(keep);
img.close();


Should throw errors

Trying to do things like
Grit::Repo.new("/path/to/nonbare/repo").git.commit({}, '-a', '-m', 'hello', '-author', 'fred')
fails silently. I had to fire up git to try and work out what the problem could be (in this case a mal-formed author parameter)

Plan:
/usr/bin/bp apply -f perspective/json.js

Plan:
/usr/bin/bp apply -f perspective/json.js

Plan:
/usr/bin/bp apply -f perspective/json.js

Plan:
/usr/bin/bp apply -f perspective/json.js


Updates so that 4.2 will work with this extension

Hello @marty-suzuki I made some changes to the ReverseExtension.swift so that it would be compatible with Swift 4.2. They're some minor changes if you wanted to add them to your repository. But no pressure. Great extension, I appreciate it ;)

Thank you for your pull request!
I've released v0.6.0.
Please check it out.


Fix typo in Japanese translation

Hi,
while reading the document in Japanese , I found these small typos.

Thanks!


Add quickfix for unused variable warning

Generate an edit that prefixes an underscore char to the unused var.

I'd be interested in helping out here since it's labelled as a good first issue. I'm not 100% sure I understand the change that needs to be made/where to get started?

@jkeuhlen You’ll probably want to check out GhcMod.hs in the plugins folder, there’s some code there for generating quick actions for import warnings, which should hopefully be similar to this!

I started looking into this, as a beginner exercise. I managed to detect and prefix a lone term, however it isn't very nice if case you have accompanying signature or a pattern match, as it only changes one of the occurrences.
The reasonable thing seems to use rename from the hare plugin. But as far as I can see there is no provisioning from calling from one plugin to another in the api?

@meck you're probably better off just importing the HaRe module directly from the plugin that you're working on. I believe the Hoogle package is already used in multiple plugins


How to set new image editor with custom crop ratio and use can't change it

Hey @junghwan-park ,
Thanks for really nice and helpful library.
@junghwan-park i want to achieve something like this.
When image editor is open i want to initialize direct crop menu. I can achieve this using initMenu: 'crop'. Once this crop is menu will be show,

i don't want to show it's suggestions(I mean crop suggestions like 16:9, 7:5, 3:2, custom). How can i achieve this?
I also want to show custom crop area(or aspect ratio like 5:1 or 2:1 or any others. This aspect ratio will automatically set on image and user can't change it. But user can drag it and set to different part of image. So, once user will click on apply button selected crop area will be automatically croped) by default in editor which i will pass into imageEditor configuration object or after configured some functions like imageEditor.crop(....).

In, short i want to initialize image editor with my custom crop ratio and which will by default set on image, this crop ratio user can't change.
Thanks

In conclusion, you can use the imageEditorInstance.setCropzoneRect API.

https://nhn.github.io/tui.image-editor/latest/ImageEditor#setCropzoneRect

Refer to [Example] (https://nhn.github.io/tui.image-editor/latest/tutorial-example02-useApiDirect) and recommend to implement custom UI using setCropzoneRect API.

With includeUI option included (not recommended)

The first reason not recommended is that we do not officially offer subscriptions to menu change events. If only this part can be solved in another way, it seems to be handled using setCropzoneRect API.
crop ui hidden.., You can override the css style to hide the submenu's UI.

@jinwoo-kim-nhn
Thanks for answer. I am using setCropzoneRect method to set default cropper ration in image editor, but i don't want user to change that cropper ratio, then user can just use/crop another section of image(I mean user can change cropper area with the help of mouse, but can't change the ratio of cropper) to crop is if user wants.
It would be very helpful for me if you can share something with example, which is fixing this issue.

Is this issue achievable because I want something like it to prevent user from drawing a rectangle with random aspect ratio while he is cropping the image but just he can use the initial one.

Hi,
I encountered the same problem, where I wanted to force my own ratio during the cropping process.
Remark : the solution is ugly because there is no callback prop on the component to know when the selected menu changes. It would be nice to add a onMenuChange: (newMenu: string) => void property.
I use the ImageEditor with React
I wanted the forced ratio to be applied everytime the user goes back to the crop menu, not only the first time.
Here's how I solved the problem :
export default function ImageFileUpload({ value, onChange, acceptedRatio }) {
  const [currentActiveMenu, setCurrentActiveMenu] = React.useState(null);

  useInterval(
    () => {
      if (!acceptedRatio) return; // I don't have a ratio to force

      // Building a listened to menu active tab change
      // I use JQuery to check which menu is active
      const [el] = $('.tui-image-editor-menu .tui-image-editor-item.active');

      if (!el) return;

      const newActiveMenu = el.className.split('tie-btn-')[1].split(' ')[0];
      if (newActiveMenu === currentActiveMenu) return;

      setCurrentActiveMenu(newActiveMenu);

      if (newActiveMenu !== 'crop') return;

      // If it is the crop menu, I try to set the cropzone to my own ratio
      // My ratio shape is like '16:9'
      const [width, height] = acceptedRatio.split(':');
      try {
        editorInstance.setCropzoneRect(
          parseInt(width, 10) / parseInt(height, 10)
        );
      } catch (e) {
        console.error(e);
      }
    },
    // Delay in milliseconds
    300
  );


Create automated app screenshots - Submission flow QR-Code/TAN (EXPOSUREAPP-2997)

screenshots for submission flow
Testing:
After targeting Android 11, MockK fails to run on API 11 when spy is used. For now please run the tests on pre-Android 11
mockk/mockk#519 (No longer necessary after target API downgrade)

install fastlane
run ./gradlew clean assembleDebug assembleAndroidTest for clean state
run bundle exec fastlane screengrab to execute tests

I'm getting this error message
[15:31:14]: ▸ de.rki.coronawarnapp.ui.submission.SubmissionTanFragmentTest:.INSTRUMENTATION_RESULT: shortMsg=Process crashed.
[15:31:14]: ▸ INSTRUMENTATION_CODE: 0

which prevents the submission flow from continuing for every locale except German

I'm getting this error message
[15:31:14]: ▸ de.rki.coronawarnapp.ui.submission.SubmissionTanFragmentTest:.INSTRUMENTATION_RESULT: shortMsg=Process crashed.
[15:31:14]: ▸ INSTRUMENTATION_CODE: 0

which prevents the submission flow from continuing for every locale except German

I'm getting this error message
[15:31:14]: ▸ de.rki.coronawarnapp.ui.submission.SubmissionTanFragmentTest:.INSTRUMENTATION_RESULT: shortMsg=Process crashed.
[15:31:14]: ▸ INSTRUMENTATION_CODE: 0

which prevents the submission flow from continuing for every locale except German
Log.txt

Can anybody else reproduce this issue? It's working on my machine.

I'm getting this error message
[15:31:14]: ▸ de.rki.coronawarnapp.ui.submission.SubmissionTanFragmentTest:.INSTRUMENTATION_RESULT: shortMsg=Process crashed.
[15:31:14]: ▸ INSTRUMENTATION_CODE: 0

which prevents the submission flow from continuing for every locale except German
Log.txt

Can anybody else reproduce this issue? It's working on my machine.

I'm getting this error message
[15:31:14]: ▸ de.rki.coronawarnapp.ui.submission.SubmissionTanFragmentTest:.INSTRUMENTATION_RESULT: shortMsg=Process crashed.
[15:31:14]: ▸ INSTRUMENTATION_CODE: 0

which prevents the submission flow from continuing for every locale except German
Log.txt

Can anybody else reproduce this issue? It's working on my machine.

it is fine on Pixel 4a running API 30

I'm getting this error message
[15:31:14]: ▸ de.rki.coronawarnapp.ui.submission.SubmissionTanFragmentTest:.INSTRUMENTATION_RESULT: shortMsg=Process crashed.
[15:31:14]: ▸ INSTRUMENTATION_CODE: 0

which prevents the submission flow from continuing for every locale except German
Log.txt

Can anybody else reproduce this issue? It's working on my machine.

it is fine on Pixel 4a running API 30

Looks good overall. When running it locally on an Emulator (Pixel2, Android 10), I noticed some differences between languages.

There is a blank white screen vs. a home screen
TAN entry is only available for some languages
The "Your consent" screen before the QR Code is missing
(- The calendar in the symptoms screen is missing (not sure if we actually have to cover it - iOS does not))

Any idea if this could be a local problem or a general one?

Looks good overall. When running it locally on an Emulator (Pixel2, Android 10), I noticed some differences between languages.

There is a blank white screen vs. a home screen
TAN entry is only available for some languages
The "Your consent" screen before the QR Code is missing
(- The calendar in the symptoms screen is missing (not sure if we actually have to cover it - iOS does not))

Any idea if this could be a local problem or a general one?

Looks good overall. When running it locally on an Emulator (Pixel2, Android 10), I noticed some differences between languages.

There is a blank white screen vs. a home screen
TAN entry is only available for some languages
The "Your consent" screen before the QR Code is missing
(- The calendar in the symptoms screen is missing (not sure if we actually have to cover it - iOS does not))

Any idea if this could be a local problem or a general one?

I didn't change the implementation of onboarding screenshots (white/empty screens), it may be problem with performance, we could try to change sleep time, but it looks like local problem.
Could you try to run it on real device? It may be also emulator issue as it's working ok my devices
I'm going to check missing screens

Looks good overall. When running it locally on an Emulator (Pixel2, Android 10), I noticed some differences between languages.

There is a blank white screen vs. a home screen
TAN entry is only available for some languages
The "Your consent" screen before the QR Code is missing
(- The calendar in the symptoms screen is missing (not sure if we actually have to cover it - iOS does not))

Any idea if this could be a local problem or a general one?

I didn't change the implementation of onboarding screenshots (white/empty screens), it may be problem with performance, we could try to change sleep time, but it looks like local problem.
Could you try to run it on real device? It may be also emulator issue as it's working ok my devices
I'm going to check missing screens

Everything runs smoothly an actual device. Thanks!
With "The "Your consent" screen before the QR Code is missing" I intended to refer to the
SubmissionConsentFragment instead of the SubmissionYourConsentFragment. Sorry for the confusion.

Everything runs smoothly an actual device. Thanks!
With "The "Your consent" screen before the QR Code is missing" I intended to refer to the
SubmissionConsentFragment instead of the SubmissionYourConsentFragment. Sorry for the confusion.

Everything runs smoothly on an actual device. Many thanks!
With "The "Your consent" screen before the QR Code is missing" I intended to refer to the
SubmissionConsentFragment instead of the SubmissionYourConsentFragment. Sorry for the confusion.

Sorry, SubmissionConsentFragment is also there now

Everything runs smoothly on an actual device. Many thanks!
With "The "Your consent" screen before the QR Code is missing" I intended to refer to the
SubmissionConsentFragment instead of the SubmissionYourConsentFragment. Sorry for the confusion.

Sorry, SubmissionConsentFragment is also there now


[View] NxData not recognized

Data produced by pyFAI-difmap not recognized/interpreted by "silx view"

Checked with @PiRK.
The NXdata from Soleil will be difficult to support. We don't really understand what they wanted to plot. They provide:

data: a list of spectrum per motor position (requested as spectrum interpretation).
4 axes for the motor axes (the one which is slided, as result not displayed on the plot)

There is no problem to support the NXdata from diff_map. It will be supported by PR #1409

axes from q is not needed
it can be reworked using attribute on the NXdata group, and removing everything else:

interpretation="spectrum"
signal="data"
axes="q"


Subscriptions and inapp purchases shows as $0

Hi,
I Signed and uploaded the apk to the Alpha release and created the sku's accordingly. Even the package name is same on both play store and on android studio(renamed package in Gradle).
Still I'm getting $0 and if i click on Buy now it will show as "Something went wrong on our end"
How to fix this?
Thanks

Hi,
Please update your APK on the beta channel and also ensure that the package name is same as the app module that you defined in your Gradle File.


Request-scoped DataLoaderRegistry blows up

I have given a try the code introduced by #12
I used version 1.0 and created a CustomGraphQLInvocation class based on https://github.com/graphql-java/graphql-java-spring/pull/12/files#diff-cb93f026b7b911f1cdfa731e56caa39f
The comment in this PR says:
I think it's overkill to create a ExecutionInputCustomizer for this, simply defining a (request-scoped) @bean should be sufficient.
I've create that bean like this:
    @Bean
    @Scope(value = WebApplicationContext.SCOPE_REQUEST, proxyMode = ScopedProxyMode.TARGET_CLASS)
    public DataLoaderRegistry dataLoaderRegistry() {...}

And it fails with:
{
  "timestamp": "2019-09-29T11:07:42.456+0000",
  "status": 500,
  "error": "Internal Server Error",
  "message": "Error creating bean with name 'scopedTarget.dataLoaderRegistry': Scope 'request' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.",
  "path": "/graphql"
}

If I change the scope to WebApplicationContext.SCOPE_APPLICATION then it doesn't throw an error. How should this be approached to have a request scoped DataLoaderRegistry?
A working workaround is to change the DefaultGraphQLInvocation and remove:
    @Autowired(required = false)
    DataLoaderRegistry dataLoaderRegistry;

and replace:
        if (dataLoaderRegistry != null) {
            executionInputBuilder.dataLoaderRegistry(dataLoaderRegistry);
        }

with:
        DataLoaderRegistry dataLoaderRegistry = new DataLoaderRegistry();

        // Loader specific configuration
        DataLoader<String, CountryTO> countryLoader = DataLoader.newDataLoader(dataFetchers.countryBatchLoader());
        dataLoaderRegistry.register("countries", countryLoader);
        // Loader specific configuration end

        executionInputBuilder.dataLoaderRegistry(dataLoaderRegistry);
        executionInputBuilder.context(dataLoaderRegistry); // add it to the context to use it later in fetchers

The whole thing can be checked out from https://github.com/kijanowski/graphql-springboot-scope-issue

I think we need to remove the DataLoaderRegistry from the DefaultGraphQLInvocation. Spring Request-scoped beans will not work when creating new threads.
I think it's better to create a custom ExecutionInputCustomizer  which creates the DataLoaderRegistry and attaches it to the ExecutionInput.

Can I ask the status of this? Is it possible to configure the DataLoaderRegistry to be request scoped as things stand?

Hello,
I had this working with request scoped dataloader, by removing the async. Not great, but at least I can have batch compute and avoid the 1+N request issue.
For this, I simply use return CompletableFuture.completedFuture(value); in the DataLoader load method.
This way, my loader function can access all request scoped beans that are needed.

We can user Spring Async Executor Framework for DataLoaderRegistery


Cannot run "push" command from the developers documentation

Following the instructions here:
https://github.com/Azure/brigade/blob/master/docs/topics/developers.md#minikube-configuration
It says:

Running VERSION=latest make docker-build docker-push will push the Brigade images to the Minikube Docker daemon.

But this doesn't work for me. I get a permission denied error because it's trying to publish out to docker.io.
> VERSION=latest make docker-build docker-push
docker push deis/brigade-api:latest
The push refers to a repository [docker.io/deis/brigade-api]
ba7576f5d121: Preparing
b7c3763077f3: Preparing
cd7100a72410: Preparing
denied: requested access to the resource is denied
make: *** [brigade-api-push] Error 1

A few thoughts:

The list of addons in that document state that the minikube addon registry should be disabled, but I think it needs to be enabled for this to work
The makefile, I believe, needs to point at the local registry, instead of docker.io? I'm not super-familiar with the minikube registry though.

Doing
$ eval $(minikube docker-env)
and running VERSION=latest make docker-build (without push) should be all you need. This will build into the minikube docker repo
Do you see the images in $ docker images?
btw, my current minikube:
$ minikube addons list
- addon-manager: enabled
- coredns: disabled
- dashboard: enabled
- default-storageclass: enabled
- efk: disabled
- freshpod: disabled
- heapster: disabled
- ingress: enabled
- kube-dns: enabled
- registry: disabled
- registry-creds: disabled
- storage-provisioner: enabled

Yeah, we need to fix that in the docs. @lukepatrick is right.
Option 1: Remove the reference to make docker-push
Option 2: Explain how to set it up to point to your own registry and then do a make docker-push
I think I am leaning toward Option 1, since what we're really trying to explain is local dev workflow. What do you think?

I think Option 1 is probably the way to go. I opened a PR to update this.


npm install but occur npm ERR!

npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /root/code-push-server/npm-debug.log
npm ERR! not ok code 0
Who meets this situation

$ npm -v
$ node -v

have to  node  version > 6.0.0


Revert "Remove PR commenting for now so builds pass (#3826)"

This reverts commit 5c1920e50d4b2b80c826ca91aff55c97350bf9f9.
Closes
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:
RSP

Testing to see if adobe-bot is back

FYI there's no GitHub token in CircleCI so this won't work. We would need to get a new one.

@devongovett Ah gotcha, thanks for the heads up


Missing prerequisite for Delivery Optimization

Also requirement here for bulk installer and client updates to work.  Recently was added to bulk install requirements document.

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

ID: db74252a-f531-8fcf-4da0-5e439cfdfd8d
Version Independent ID: db74252a-f531-8fcf-4da0-5e439cfdfd8d
Content: New Microsoft Teams for Virtualized Desktop Infrastructure (VDI) - Microsoft Teams
Content Source: Teams/new-teams-vdi-requirements-deploy.md
Service: msteams
GitHub Login: @JoanneHendrickson
Microsoft Alias: jhendr

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Subdirectory / nested module support

6 upvotes from Canny

I'm a newcomer to this project but nested module support is an interesting and high-value capability that would suit ember-cli-mirage quite well in my view and fits in to my own use case very closely. A lot of moving parts it seems; @ro0gr do you suppose you'd be up for a pairing session or something of that nature to help one get up to speed on the task?


Inlining pass

Work in progress.
It seems possible to implement a restricted form of inlining that requires all invokes to have the same input/output parameters. This is currently true of the systolic array generator. The first implementation can have this restriction and we can remove it once we implement the with operator which will allow for scoped execution of combinational groups in the control.
Implementation

[ ] Handle parameters
[x] Handle reading from output ports
[ ] Error if attempting to inline instance used structurally

Tests

[ ] Recursive inlining of components
[ ] The parameter values to the invoke change during the execution

All right, the generated code is well formed. It's just not functionally correct. I would ship it. \s

Woo! With #835, this can successfully inline and correctly simulate the invoke correctness test.

And now it correctly simulates the systolic array with full inlining!

All right, with these changes, tcam can be fully inlined and simulated with the interpreter! Adding tests and cleaning up the code and it'll be merge ready.

All right, this is done. I've requested review but please feel free to ignore them during the break. I'm going to go ahead and merge this and retroactively address any comments that come up.


fix(build): fix build failure due to fo linter

@Mottie for review and merge

Hi @junqdu!
Thanks for your help! I appreciate it!


[FEATURE REQUEST] Export to ODT

PDFs can be difficult to use with other open source software, so it would be nice to have. Sorry for the short description but I can't think of much else to add.

@ConnorMeng i understand your issue but there is no easy ODT lib to do the job. Seeing this is not requested a lot yet i will close this as not planned for now. If more people asks for this we can think of reopening it


Review maintainer incentives

Review spec uses of maintainers to ensure that the incentives/expected faults are sufficient to keep maintainers engaged.

We never specified a hard deliverable for this, but after peer review and 3 audits I feel good closing it.


Fixes URLs encoded by Proofpoint multiple times

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (875918b) to head (ccb70ab).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##            master       #32   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           13        13
  Lines          815       818    +3
=========================================
+ Hits           815       818    +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Adfs2aad Public Preview Updates June 2022

Changes as part of multiple epics for ADFS2AAD Public Preview releases.

#sign-off

Invalid command: '#sign-off'. Only Microsoft employees can use this command.


New version: sharkdp.fd version 8.7.1

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Executable-Error


Add a CI pipeline

Happy to take this. Please assign me to the ticket

[ ] Add a travis script
[ ] add a badge to readme to establish trust with potential users

So I started  hacking on this and I wrote a travis script based on the fastuuid one.
I sadly do not have sufficient permissions to activate the travis build, @fulmicoton could you enable the build or give me permissions to do it myself?

Added to travis
You are now admin as well.

Thanks.


Task: Create Local Storage for UserID

When users login, their user ID needs to be retrieved and stored from the sql database for future server calls. This variable should be accessible by other pages and functionalities in the application not just the login page.

https://medium.com/@ahmedsherif4175/easiest-way-to-cache-data-in-flutter-a-step-by-step-guide-7e983d64198b


fix: use path/posix to resolve relative paths

Fixes https://github.com/sveltejs/kit/issues/3211
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

path/posix wasn't added until Node 15.3.0. We want to support back to Node 14.13, so this should use the import { posix } from 'path' syntax that was used in #3200.


Local type inference informal specification

This is work in progress, putting up here for discussion and collaboration.

Closing as stale


Patient bulk upload email notification

BACKEND PULL REQUEST
Related Issue #4440
Adds an email notification once patient bulk upload is complete. The email includes a link back to the application, where if logged in, the user can view the newly uploaded patients.
⚠ Note that this is built on top of branch emma/async-3. and cannot be merged until that branch is merged. I'll leave this PR as a draft until the async behavior for patient bulk upload is merged into main.
💡 This compare link will probably be more useful to view changes
Changes Proposed

adds an email template for patient bulk upload
when save to the database save in the async method for patient bulk upload is complete, an email is sent to notify the user
if processing fails, an email is sent to notify the user (screenshot here)

Additional Information

I added one unit test for the new email template
There should probably be another test to verify that the success email gets sent in the async method, however this will be difficult to write until the changes for tests are completed on emma/async-3. I'll update this when we have a clearer testing strategy for the async method. Backend tests are expected to fail right now.
I'll also need to to add a unit test for the error email behavior, if processing within the while loop fails, or if the saveAll to the db fails.

Here is the sequence of events: before patient upload, after patient upload, and then the email that gets sent:

before

after

email

When an error occurs in processing, sending the error email is triggered. This isn't manually testable in an environment, so here are the logs when I triggered errors in the code:

processing error in while loop (turned off validation in PatientBulkUploadService and uploaded an invalid csv

processing error in saveAll (forced an error in the addPatientsAndPhoneNumbers method)

Testing
How should reviewers verify this PR?

Go to dev4, upload patients via csv, and confirm that you receive an email notifying you when the upload is complete. Click the See patients link, which should take you directly to the patients page, if you are logged in to dev4.

Checklist for Primary Reviewer

[ ] Any large-scale changes have been deployed to test, dev, or pentest and smoke tested
[x] Any content updates (user-facing error messages, etc) have been approved by content team
[ ] Any changes that might generate questions in the support inbox have been flagged to the support team
[ ] Changes comply with the SimpleReport Style Guide

Closed in favor of #4852, which is just a new branch with the same changes to keep things tidy.


Use in GCP cloud shell

This worked for me
Access: @cloudshell:~/.apigeecli/bin
Inside the bin folder use the commands always running: ./apigeecli, like: ./apigeecli kvms list.
I think it would be interesting to have more details in the  Readme file.

You could add ~/.apigee/bin to the PATH like so:
export PATH=$PATH:~/.apigeecli/bin

and even add this to the bash profile so it is always added.


docs: removed a passage from Debian section about a bug now solved

As the systemd-sysuser bug[1] is now solved i removed the lines that referenced it from the documentation
[1] https://github.com/coreos/rkt/issues/2571#issuecomment-260627481

Looks great, thanks. Can you please also prefix the commit title with "docs: " as you did with the PR title?

already done (i found the contribution file a moment to late)

That was quick! Thanks, merging now.


Баг

Проихошла непредвиденная ошибка, возможно баг.

Please report this if you think this is a bug. Include a brief description on how the error occured, and if you can; how to replicate it

TypeError: Cannot read property 'find' of null
    at ApplicationCalculatorWindow._focus (http://osjsv2.0o.no/packages/default/Calculator/combined.js:269:31)
    at onMouseDown (http://osjsv2.0o.no/osjs.js:3973:11)
    at HTMLElement.<anonymous> (http://osjsv2.0o.no/osjs.js:4140:9)
    at HTMLElement.cbNormal (http://osjsv2.0o.no/osjs.js:1079:18)

Thanks for reporting, fixing it as we speak! :)


Define specification of Morpheus public api

this issue is dedicated to shape the Morpheus public API, that will be long term API specification for this library. any suggestion is more then welcome

Do you have a rough draft of your vision? Maybe we can start from there.

there is no necessity of it. api should evolve gradually depending on the user needs


Figure 3 How to visualize

Figure 3 How to visualize？
What files or data were used to generate the visualization in Figure 3?
and What do I need to do to get Figure 3? The models and the baselines I've already trained

Hi! Unfortunately the code for those visualizations is not in the repo. The training is logged using tensorboard logger, you can then visualize the results using tensorboard. If you want to make plots using e.g. matplotlib, you must read the log files programatically, see https://www.tensorflow.org/tensorboard/dataframe_api.


Update index.html

I will share the logo through email. kindly respond if suitable

I have changed the logo meaningfully that mavi.companion will create a g-drive clone in future.

Using g-drive logo directly may cause issues like copyright issues etc..in
future.
On Fri, Oct 11, 2024, 9:24 PM Vishnu Chityala @.***>
wrote:

I have changed the logo meaningfully that mavi.companion will create a
g-drive clone in future.
—
Reply to this email directly, view it on GitHub
https://github.com/mavicompanion/BU-Notes/pull/53#issuecomment-2407695657,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQTVNIAB5ZILHIYON4DZ7DLZ27YDNAVCNFSM6AAAAABPXOKG5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBXGY4TKNRVG4
.
You are receiving this because you authored the thread.Message ID:
@.***>


Cannot compile code using abstract construct signatures (typescript 4.2)

react-scripts with the cra-template-typescript does not seem to support some features of typescript 4.2. Specifically I get an error when using abstract construct signatures.
Does react-scripts just not support typescript 4.2 yet?
Reproduce

yarn create react-app ts42test --template typescript
Change typescript version in package.json to ^4.2.4
Add type Constructor<T = {}> = abstract new (...args: any[]) => T; somewhere
yarn start

./src/App.tsx
SyntaxError: /ts42test/src/App.tsx: Missing semicolon (5:35)

  3 | import './App.css';
  4 |
> 5 | type Constructor<T = {}> = abstract new (...args: any[]) => T;
    |                                    ^
  6 |
  7 | function App() {
  8 |   return (

For the record, some other TS 4.2 features seem to work, e.g. the following
type Foo = [...number[], string];

I can get it to compile with the following added to my package.json
"resolutions": {
    "@typescript-eslint/typescript-estree": "4.24.0",
    "typescript": "^4.2",
    "@typescript-eslint/eslint-plugin": "^4.24.0",
    "@typescript-eslint/parser": "^4.24.0",
    "@babel/core": "7.13.0"
  }

I probably just don't understand this ecosystem well enough yet, but it seems like I shouldn't have to do that.

It seems I can get it to work by adding the following to my package.json.
"resolutions": {
    "@typescript-eslint/typescript-estree": "4.24.0",
    "typescript": "^4.2",
    "@typescript-eslint/eslint-plugin": "^4.24.0",
    "@typescript-eslint/parser": "^4.24.0",
    "@babel/core": "7.13.0"
  }

I probably just don't understand this ecosystem well enough yet, but it seems like I shouldn't have to do this.


Create BuiltWithDotNet.md

Project link: https://builtwithdot.net

Please refer to contribution guidelines for the PR format. We don't intend to create a separate list. Also it doesn't seem to me that the resource you sharing is related to this curated list which is focused on .Net frameworks/libraries.


Fix up/ignore type issues

@psavery This is my start a fixing up some of the type issues. Some I have just ignored as they are in code with a uncertain future ...

@alesgenova This is the PR we are using to fix the type issues ...

Changes from this PR have been cherrypicked in #27


README: Revamp contract deployment slightly

Running
npx hardhat node
npx hardhat deploy --network localhost

doesn't seem to work without defining the PRIVATE_KEY env variable.
This PR moves the export PRIVATE_KEY=... before running hardhat deploy.

Thanks!


Python: adds json module and JSON.SET JSON.GET commands

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Transaction test?

@barshaul round


Profile image for anonymous user is not displayed.

Description of bug
Profile image for anonymous user is not displayed.
Steps to reproduce
List the precise steps to reproduce the bug:

Browse following URL in the DNN website.
http://[yourdnnsiteurl]/DnnImageHandler.ashx?mode=profilepic&userId=-1&h=64&w=64
"403 - Forbidden: Access is denied." error page is displayed in the browser. Note the error is displayed when userId parameter is invalid like less than zero or zero. When a valid parameter is given in the URL, it works fine.
Following steps to reproduce in Evoq site
3.1. Log in to Evoq with SuperUser
3.2. Navigate to Community > Groups
3.3. Add a new group with random title/description/tags/picture
3.4. Observe the activity feed of the newly created group
3.5. The avatar picture of group creator in the first event is shown as a broken image (not successfully loaded by the browser). This was working fine in 9.6.4

Current behavior
Error page is displayed in the browser.
Expected behavior
Empty image for anonymous user should have been displayed.
Screenshots

Additional context
The issue may have been introduced after this change.
Affected version

[ ] 10.00.00 alpha build
[X] 09.09.00 latest supported release

Affected browser
This does not seem to be browser specific issue. Issue could be reproduced in the following browsers.

[X] Chrome
[X] Firefox
[X] Microsoft Edge Chromium

I intend to work on this ticket and I can submit pull request in a day.


sensors app: logic fixed and cleanup

do not exit sensors app if sensor init failed
do not spam console if we fail over first/second gyro

Signed-off-by: tumbili<EMAIL_ADDRESS>

Rebased and applied.


[build] Merge Clang's features.json from binary directory, handle values

This patch picks up the features.json file from Clang's build directory instead of the source directory and takes into account the new "value" key. This is necessary due to https://github.com/apple/llvm-project/pull/4803.
rdar://91377604
cherry picked from PR f9c5c45e

@swift-ci please smoke test

@swift-ci please test


reqparse: Add method to add multiple arguments

Currently the add_argument method can accept only one argument.
I have a use case where different endpoints use the same arguments, so i created Argument objects and i want to reuse them.
Adding an 'add_arguments' method would simplify this, as i would be able to add my many arguments using one function call.
Will happily implement.

Everyone should switch to Marshmallow and webargs for request parsing. They are better than reqparse and are also actively maintained.

@joshfriend - maybe its worth to write about these in the documentation.


mulberry

when the player touches an unripe mulberry, the world saves, and says the game crashed.
crash-2022-05-17_12.51.53-client.txt

Hey !
What do you mean exactly with "the player touches an unripe mulberry" ? That you right-clicked on a mulberry block of age 0 ?
I'm trying to reproduce the bug

I can't reproduce this problem.
From what I understand, one of the mod you are using in conflicting with dawnoftime. I will to investigate more to find which one is responsible of this bug.

by unripe mulberry I mean a mulberry that isn't ready for harvest. I mean any age that doesn't drop an item by right clicking. im trying to figure out which mod it is too if possible. its one of my first times having trouble with a mod so sorry if this isnt helpful :'(

Thanks for detailing your answer :) We will try to look into it deeply but since the crash report doesn't point out DoT or mulberry block it's a bit complicated.

its quark that crashes it. it does not happen with other plants as far as I know


LookupField referencing a LinkField returns id rather than entity

I'm trying to generate a model from an existing airtable schema. I'm having trouble modelling a chain where a LookupField references a field in a linked table, where the referenced field is itself a LinkField to a third table.
i.e. in the schema below, Template.equipment_types does a lookup of the linked  Category.equipment_types, and this field is itself linked to EquipmentType
If I materialise a Category, i.e. Category.from_id("XXX") , the equipment_types field is a list of EquipmentType
But if I materialise a Template, equipment_types is a list of str containing EquipmentType ids and I have perform an additional request to get the actual entities.
Is this a bug, not supported or am I doing something incorrect?
class EquipmentType(Model):
    Name = F.TextField("Name")

class Category(Model):
    Name = F.TextField("Name")
    equipment_types = F.LinkField[EquipmentType]("equipment_types", EquipmentType)

class Template(Model):
    equipment_types = F.LookupField[EquipmentType]("equipment_types (from template_category)")
    template_category = F.LinkField[str]("template_category", Category)

This doesn't appear to be a bug per se but I can see how the documentation doesn't make it clear what to do here. LookupField will always return the list of values it gets back from the API. Try this instead; if that also doesn't work, then we've probably got a bug:
class Template(Model):
    template_category = F.LinkField[Category]("template_category", Category)
    equipment_types = F.LinkField[EquipmentType](
        field="equipment_types (from template_category)",
        model=EquipmentType,
        readonly=True
    )

Thanks @mesozoic - that works!

Just a quick follow up, as I said this works, but performance was terrible and looking at the debug messages it's doing thousands of individual GET's,
So instead I removed the equipment_types from Template and accessed indirectly via template_category which was orders of magnitude faster.


[BUG] i cant see my activity in web discord11!!

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[X] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.8.1
What problem did you encounter?
howa no work how tu fix11<wıdofvgbhoıgpçlßkrpb (opens the opera help-)
Bloxstrap Log
ğüğü

the discord activity is only supposed to work for windows i think

thats the thats!!!
thats the problema-

ğüğü is a log

discord rpc only works on the windows and mac app as i know


Cant use mouse to work the display

Mouse works because scrolling works right mouse button to wake works but i cant use left mouse button for touch input.

See https://github.com/Genymobile/scrcpy/issues/22.


Pornhub downloader dont have works!

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
Pornhub downloader dont have works!
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[PornHub] ph5dc31b52b8df7: Downloading pc webpage
[PornHub] ph5dc31b52b8df7: Downloading tv webpage
ERROR: [PornHub] ph5dc31b52b8df7: Unable to extract encoded url; please report t
his issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appro
priate issue template. Confirm you are on the latest version using  yt-dlp -U

see pinned issues
run yt-dlp --update-to nightly
or install master branch with pip


Switch compression algorithm from zstd to lz4

Advantages:

Faster compilation times
3x faster encode and decode
Pure Rust crate
Can compress in wasm

Disadvantages:

example .rrd
zstd
lz4

api_demo
48 kB
93 kB

car
120 kB
375 kB

clock
28 kB
53 kB

colmap
227 MB
241 MB

deep_sdf
19 MB
20 MB

dicom
39 MB
64 MB

nyud
535 MB
634 MB

plots
89 kB
163 kB

raw_mesh
1.5 MB
5.6 MB

text_logging
1.9 kB
3.0 kB

I'm not sure what is the best trade-off here. I'm gonna check the compilation times too.
Note that these compilation times impact our Rust users, as well as our contributors.
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct

PR Build Summary: https://build.rerun.io/pr/2112

Compilation times
TL;DR: nothing won 😭
sccache --stop-server && rm -rf /Users/emilk/Library/Caches/Mozilla.sccache && sccache --start-server
cargo clean && cargo build --timings -p rerun

Before (main)
478 deps in 2m 12s

After
(together with https://github.com/EmbarkStudios/puffin/pull/135)
470 deps in 2m 12s

It's strange that re_log_types took so much longer on the lz4 run. It also seems like the whole thing is hitting some bottleneck where it can't parallize - it would be that this is still a win on a machine with less cores than yours, i.e. a strong improvement for many users. Might be worth doing a comparison run that is limited to 4 cores 🤔

We've decided to prioritize CPU use right now over disk space. We may revisit this in the future, allowing users to pick different compression algorithms and levels.


⚠ Homepage has degraded performance

In acd9de3, Homepage (https://h-edu.cz) experienced degraded performance:

HTTP code: 502
Response time: 713 ms

Resolved: Homepage performance has improved in 56ffa1b.


Performance issue: tangram-es seems to swap buffers a lot

(Disclaimer: I am not proficient in OpenGL, I can only report my observation here. My deduction might be wrong)
StreetComplete v5.0 uses tangram-es 0.8.1. In the app, there seems to be a performance problem (or rather, battery usage problem) that may be caused by "something" in tangram-es.
Whenever the map is shown, on my smartphone I can reproduce a continuous CPU usage of 8-12%. When it is not shown, it's at about 0%. Most of that percentage is used by a GL thread of which I deduce that it must be the GL thread of tangram-es.

Remarkably, the CPU usage does not really differ between erratically zooming and rotating the map and leaving it be.
Also, the Android profiler tells me that most of the time on that GL thread is spent in EGLImpl.eglSwapBuffers.
Do you have any ideas where this might come from? Or is this normal and not a bug (on either side)?

Hey @westnordost, this is pretty interesting - it's not the performance profile I would expect! When the map is not moving or loading the GL thread should be asleep, the map only renders on-demand.
This might happen if the map has an "animated" style or if the map is being modified frequently. Otherwise it could be a bug in Tangram ES.
Is this the Android Studio profiler that you've screenshotted?

Yes, it is.
I tried removing the shader code from the used map style, but this doesn't change anything.

Can you try removing this line? https://github.com/westnordost/StreetComplete/blob/master/app/src/main/assets/map_theme/global.yaml#L41

Ah yes, if I do that and make the compass not update anymore, the GL thread is almost silent.
The animation of rotating of the compass also triggers a complete(?) redraw, it seems.

How is the compass implemented? If it's an element in the Tangram map then the only way to redraw it is to redraw the entire map. I don't think a compass really belongs in the map, it should probably be in a separate view on top of the map.

It is this blue triangle, like in Google Maps.

Implemented as a marker on which the following method is called on each rotation change.
directionMarker.setStylingFromString(
	"{ style: 'points', color: '#cc536dfe', size: [" +
	TextUtils.join(",", directionMarkerSize) +
	"], order: 2000, collide: false, flat: true, angle: " + r + " }");

I guess there is nothing tangram-es could do to make this more performant.
Thinking more deeply into this, what would make it more performant if there would be a concept of completely separate layers in tangram-es, so that the map does not need to be redrawn if something on the overlay (such as a location + direction marker, or the quest pins in StreetComplete) changes. But I guess this ship has sailed.


deb props in JFrog cli different from the API

I can't use a component that has multiple levels like toolx/3.11.2 cause the debprops format supports only distribution/component/architecture which is different from the api where I can use deb.component=toolx/3.11.2
https://github.com/JFrogDev/jfrog-cli-go/blob/master/jfrog-cli/artifactory/cli.go#L1435-L1437
I consider it as an inconsistency between the CLI and the API

@cscetbon,
Thanks for reporting this issue.
We are working on a fix for the next CLI version v1.16.0.

@cscetbon,
JFrog CLI v1.16.0 is released.
This version supports escaping of the / character in the --deb upload flag.
Please run with --deb=distribution/toolx\/3.11.2/architecture
We'll appreciate you feedback for that.

@cscetbon,
We're closing this issue for now.
Please let us know if you need further assistance with this.

Yeah, thank you guys. I'll try it soon but didn't have time to do it. I'll reopen this issue if it does not work as expected.


Add inspect_llvm(signature) method to the Overloaded class

We need a way to fetch the generated LLVM for a given type specialization of a compiled function.  This can be exposed by adding an inspect_llvm function to the Overloaded (or perhaps OverloadedBase) that takes the type signature of the desired instance and returns the LLVM IR string.
This feature will also likely be used by future support for inlining one JIT function into another one.

@meawoppl, are you willing to work on this one?

Sure.  I got a bit derailed after the last epic-PR.  Lemme review my notes on this.  I will post my planned trajectory in an hour or so.

I was hoping to nail this over the weekend, but I can't seem to figure out how to get a handle to the LLVM "module" from the _compileinfos mentioned in the comments above.  It seems to just be a c-resource type object, without a clear link back to the parent module.  Is there a clean way to do this?

If you look up the library attribute, you should get a CodeLibrary object able to give you the desired info (see numba.targets.codegen).