feat: Inject fee payment update in base rollup

Implements the fee payment update spec by charging the user's fee in the base rollup circuit. Involves the following changes:

Transactions now have a set of protocol-public-data-writes, which are data writes triggered by the protocol and not the user. We populate this in the base rollup circuit to charge the fee_payer. Note that if no fee_payer is sent, the tx goes through without paying (this will change once we enforce fees).
The base rollup circuit now needs a public data read hint to be able to read the fee_payer's current balance.
The GasToken contract now has no pay_fee function anymore. The pay_fee functions in the FPC are now renamed to pay_refund
The GasToken address is now a constant, since the base rollup circuit needs to know it to derive the slot for users balances. Because of this, the portal_address is removed from the GasToken constructor, so the address of the GasToken does not depend on its L1 counterpart, which would have made deployments more cumbersome.
Added an ACVM_FORCE_WASM flag to tests to force using acvm wasm instead of binary, since the binary failed to report the assertion failed messages.
The sequencer now validates that the fee_payer (if set) has enough balance to pay for the tx before picking it up, assuming it consumes all its gas limits.

Coming up on future PRs:

Reenable the native fee payment method and set up a non-bench test for it
Handle fee payments and gas token claims on the same tx (https://github.com/AztecProtocol/aztec-packages/issues/6562)

Docs Preview
Hey there! 👋 You can check your preview at https://6647b98f33bf642bccc78328--aztec-docs-dev.netlify.app

#6571
#6403  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @spalladino and the rest of your teammates on  Graphite

Benchmark results
No base data found for comparison.

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.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256
5,698
1,552
721
768
777

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
772
772
772

l1_rollup_calldata_gas
6,844
6,844
6,868

l1_rollup_execution_gas
587,384
587,384
587,408

l2_block_processing_time_in_ms
1,381
5,094
10,153

l2_block_building_time_in_ms
33,657
132,247
263,697

l2_block_rollup_simulation_time_in_ms
33,483
131,605
262,440

l2_block_public_tx_process_time_in_ms
20,612
82,683
165,225

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
15,249
28,319

node_database_size_in_bytes
21,405,776
38,215,760

pxe_database_size_in_bytes
29,868
12,535

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

Circuit
protocol_circuit_simulation_time_in_ms
protocol_circuit_witness_generation_time_in_ms
protocol_circuit_proving_time_in_ms
protocol_circuit_input_size_in_bytes
protocol_circuit_output_size_in_bytes
protocol_circuit_proof_size_in_bytes
protocol_circuit_num_public_inputs
protocol_circuit_size_in_gates

private-kernel-init
160
3,658
22,939
19,985
61,999
86,720
2,643
1,048,576

private-kernel-inner
608
5,102
40,677
89,053
61,999
86,720
2,643
2,097,152

private-kernel-reset-small
575
2,404
23,420
117,961
61,999
86,720
2,643
1,048,576

private-kernel-tail
533
3,854
38,766
86,849
78,838
10,624
265
2,097,152

base-parity
7.64
884
4,515
128
64.0
2,208
2.00
131,072

root-parity
50.3
140
39,734
27,064
64.0
2,720
18.0
2,097,152

base-rollup
826
2,645
43,395
112,602
957
3,136
31.0
2,097,152

root-rollup
93.7
116
8,329
11,518
821
3,456
41.0
524,288

public-kernel-app-logic
246
303
832
96,850
84,967
116,320
3,568
4,096

public-kernel-tail
872
737
1,254
388,084
7,691
10,112
249
512

public-kernel-setup
229
261
906
143,141
84,967
116,320
3,568
4,096

public-kernel-teardown
228
358
1,190
143,141
84,967
116,320
3,568
4,096

merge-rollup
6.67
85.6
1,642
2,760
957
3,136
31.0
65,536

private-kernel-tail-to-public
N/A
9,572
74,143
N/A
N/A
116,832
3,584
4,194,304

Stats on running time collected for app circuits

Function
app_circuit_proof_size_in_bytes
app_circuit_proving_time_in_ms
app_circuit_size_in_gates
app_circuit_num_public_inputs

SchnorrAccount:entrypoint
16,128
47,524
2,097,152
437

Test:emit_nullifier
16,128
1,778
65,536
437

FPC:fee_entrypoint_public
16,128
9,226
524,288
437

FPC:fee_entrypoint_private
16,128
8,912
524,288
437

Token:unshield
16,128
50,556
2,097,152
437

SchnorrAccount:spend_private_authwit
16,128
2,679
131,072
437

Token:transfer
16,128
34,972
2,097,152
437

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
11.4
18.7
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.7
31.8
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.663
0.573
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
52.8
81.5
263
504
994
1,972
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
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.538
0.502
0.478
0.470
0.471
0.470
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
62.7
120
380
740
1,477
2,955
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
106
208
692
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.546
0.537
0.515
0.509
0.511
0.513
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
67.7

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
108

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.594

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

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
84,613
664,966

Transaction size based on fee payment method
| Metric |  |
| - |  |
Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes
2 new note hashes

tx_pxe_processing_time_ms
28,015
4,259
123,760

Metric
0 public data writes
1 public data writes
2 public data writes
3 public data writes
4 public data writes
8 public data writes

tx_sequencer_processing_time_ms
1,403
2,673
1,532
4,246
1,728
1,990


-Add New GetSlotBotPart method to slots with new signature Complete Gameloop

-Added code to botcontroller to freeze and unfreeze bot depending on scene
-Move isRunnning from each botpart derivative into base botpart class
-Add code to define what the botcontroller i in cooldownbar class
-Add static methods which get the enemy and player botcontrollers to scenehandler
https://user-images.githubusercontent.com/33824107/138580196-9d20fe2f-43e8-4d06-a944-7bf1919518b3.mp4

The player health bar  variant has a debug bool that can be selected. This was used to lower the health of the bot in the ui by clicking the left mouse button when I was working on the player health bar I forgot to change it back but that is sorted now.The player health bar  variant has a debug bool that can be selected. This was used to lower the health of the bot in the ui by clicking the left mouse button when I was working on the player health bar I forgot to change it back but that is sorted now.

These are the two variables added to the inspector on the botcontroller. Set bool to true if you want this bot to have random botparts.

Added this scriptable object of all the botparts in each slot category so botparts can be picked at random after combat scene starts


CB-11124 Fixing cordova-ios build failure due to unnecessary post cal…

…ls to couchdb and adding handlers to xhr call

LGTM!

Not exactly sure about that. I guess the iOS simulator had issues dealing with so many post calls and other platforms may be handled it in a better way.


Update README.md

Hey👋 add this cool x-ray badge which shows excellent information about your project; undoubtedly, other developers can find this helpful.

Seems like spam.


add [homebrew] cask download badge

Adds new badge for homebrew cask installs (ref: #10288).

After merge we need to remember to update the docs

Thanks, and thanks for reveiwing @jnullj :+1:
I've just pushed a quick commit to this branch tidying up the cask/formula terminology


Dust clouds spawn at torso levels

Dust clouds weirdly spawn at waist level and instead of by the feet. Most apparent when running along a bottom wall.

Can you make a better dust cloud? Mine is bad. But I will fix this

Okay this is fixed but please make a better cloud mine blows


Access to Get API has been blocked ?

localhost/:1 Access to XMLHttpRequest at 'https://api.covid19tracker.ca/summary' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
What does this error mean?
I am trying to make a get request with axios on my local host?

Browsers by default restrict cross-origin requests. More info on CORS https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
For local development you can always use browser extensions that disable it. But if you want to deploy your project somewhere you will need a proxy.

Although browsers only permit same-origin requests by default, as the API developer, you could include the appropriate response headers to enable cross-origin requests. Specifically, the Access-Control-Allow-Origin header. Since the API seems to be public-facing, perhaps * might be most appropriate  :)
I think that setting up a proxy to develop a dashboard, for example, off of the API would be cumbersome.


watchify drops out

My watchify installation seems to only detect file changes sometimes. It works for a few minutes and after that it just doesn't respond to file changes anymore.
I run watchify like this:
watchify js/test.js -o js/test_bundle.js --debug

I'm on windows 7, and all my packages are very recently installed, as I have only just started using node.

Since it works for a few minutes but then it doesn't, that sounds like a chokidar issue. It may be a windows thing. I'd try looking through the issues there. I'd also try turning on polling since that usually gets around any system issues.


[Swift 3] Updated for Xcode 8 beta 6.

As the title suggested.

Thanks! Sorry for the delay. Please update changes to Swift 3.0 GM.


Tensorflow lite: Failed to run on the given Interpreter

I am using tflite for semantic segmentation. I have a model trained to segment objects from background, this model is trained on deeplab.
I have converted this model(frozen inference graph) into tflite format using the below code:
tflite_convert \
  --output_file=test.lite \
  --graph_def_file=frozen_inference_graph.pb \
  --input_arrays=ImageTensor \
  --output_arrays=SemanticPredictions \
  --input_shapes=1,513,513,3 \
  --inference_input_type=QUANTIZED_UINT8 \
  --inference_type=FLOAT \
  --mean_values=128 \
  --std_dev_values=128

The model loads on android, but when I try to run inference it gives me this error:
Caused by:java.lang.IllegalArgumentException: Internal error: Failed to run on the given Interpreter: tensorflow/lite/kernels/unpack.cc:71 output->type != input->type (FLOAT32 != INT32)
Node number 22 (UNPACK) failed to prepare.

How do I resove this error? Is there anyone who can solve my problem？
here is my model
deeplabv3_513_mv2_gpu.zip

@1095560081,
Can you please let us know what is the version of Tensorflow that you are using? Thanks!

@rmothukuru Hi , I am using the version of 1.14

@rmothukuru You may be able to reproduce it with this Android project
android.zip

@1095560081 Did you try with recent TF1.x version (TF1.15.3)? Did you try tf-nightly for the conversion? Thanks!


Using MOSEK in SOSTOOLS

The documents suggest that there is an interface between the MOSEK solver and SOSTOOLS. However, inspecting the source code for SOSTOOLS suggests that there is no support for MOSEK.
Can you throw some light on this matter? Did you mean that MOSEK's Optimization toolbox is an option for solving SOS problems in MATLAB, or did you mean that MOSEK is available as a solver within SOSTOOLS?
If indeed there is an interface, could you provide some instructions/examples on how to use it?

I think this is a mistake in the documentation, SOSTOOLS doesn't seem to support MOSEK as a backend solver. If you wish to use MOSEK, you might want to use YALMIP or the Julia/Python interfaces.


TookitCleaner: Node 18 Lambdas do not have aws-sdk@2

I attempted to deploy ToolkitCleaner as a brand new stack but the lambdas fail to execute. Seems that they attempt to require aws-sdk which is assumed to be available in the lambda environment but that's not the case in node 18 lambdas which only have aws-sdk@3
Runtime.ImportModuleError in step: GetStackNames
{
  "errorType": "Runtime.ImportModuleError",
  "errorMessage": "Error: Cannot find module 'aws-sdk'\nRequire stack:\n- /var/task/index.js\n- /var/runtime/index.mjs",
  "trace": [
    "Runtime.ImportModuleError: Error: Cannot find module 'aws-sdk'",
    "Require stack:",
    "- /var/task/index.js",
    "- /var/runtime/index.mjs",
    "    at _loadUserApp (file:///var/runtime/index.mjs:1000:17)",
    "    at async UserFunction.js.module.exports.load (file:///var/runtime/index.mjs:1035:21)",
    "    at async start (file:///var/runtime/index.mjs:1200:23)",
    "    at async file:///var/runtime/index.mjs:1206:1"
  ]
}

Thanks for reporting, I reverted the change in the meantime.

thank you!


Map Image subelement encoding and testing, with image preview display

Implemented the encoding, with tests, for the Map Image subelement. Now included is the functionality to display an image preview when the user enters an image URL.

All javadoc style updates look good.


Add a more efficient implementation

@nataliaponomareva can you please check this?

@googlebot I signed it!

Hi @hazimehh.
Very interesting with a tree ensemble layer for neural networks. Will there be a paper at some point comparing this to regular tree ensemble methods and neural networks with "standard" layers?
I apologize if this is slightly off topic for the pull request.
Best regards
Mads

Zhenyu, can you take a look. How do we build a custom kernel from source and make sure it is available with bazel

Done

Hi @hazimehh.
Very interesting with a tree ensemble layer for neural networks. Will there be a paper at some point comparing this to regular tree ensemble methods and neural networks with "standard" layers?
I apologize if this is slightly off topic for the pull request.
Best regards
Mads

Hi Mads,
Yeah we will post the paper in the next few days. It has comparisons against gradient boosted trees and dense layers.


fix: small walk issue

Description
This PR changes the way profiles are being updated into SC4SNMP.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix
[ ] Refactor/improvement
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist

[ ] My commit message is conventional
[ ] I have run pre-commit on all files before creating the PR
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] I have checked my code and corrected any misspellings

Codecov Report

Merging #511 (0180e62) into develop (35e7820) will decrease coverage by 1.86%.
The diff coverage is 82.27%.

@@             Coverage Diff             @@
##           develop     #511      +/-   ##
===========================================
- Coverage    87.97%   86.11%   -1.87%
===========================================
  Files           24       24
  Lines         1414     1476      +62
===========================================
+ Hits          1244     1271      +27
- Misses         170      205      +35

Impacted Files
Coverage Δ

splunk_connect_for_snmp/snmp/tasks.py
74.46% <ø> (ø)

splunk_connect_for_snmp/snmp/manager.py
93.42% <70.00%> (-0.90%)
:arrow_down:

splunk_connect_for_snmp/common/profiles.py
57.77% <79.62%> (-36.67%)
:arrow_down:

splunk_connect_for_snmp/inventory/loader.py
94.62% <100.00%> (+0.17%)
:arrow_up:

splunk_connect_for_snmp/inventory/tasks.py
98.38% <100.00%> (+3.22%)
:arrow_up:

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 35e7820...0180e62. Read the comment docs.

:tada: This PR is included in version 1.6.3-beta.9 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix 404 redirect from Log Out button & Find Organizations button

From Issue #35 : fixed logOut() in App.tsx to fetch /home and not unreachable /logout (404)
Also on LoginPage.tsx, realized Find Organizations button went to 404 & fixed to attribute in  to /find-organizations

@vanessa-hu jw do you think you could remove the changes for accountSignup?
Also, for the logout change, I think that approach actually doesn't work. I'll explain.
So when we hit the logout button, several things have to happen.

There is a state variable that is called Role- one of the states is LoggedOut
We also have to send a get request to the server at the endpoint https://server.keep.id/logout. This is because the server needs to delete something called a session. Basically, the server also keeps track of all users who are using the site, and can serve each user with custom content based on their credentials. Deleting the session means that we remove the cached users from the server.
We have to then redirect the page to /home

The thing about the strange 404 error this:
I think we need to swap steps 1 and 3. We should redirect to /home first, then invalidate the server session, and then change the loggedOut state. Right now, the 404 happens because I think we invalidate the session and switch to loggedOut state, but if we are on a page like /admin-panel, the react client will actually first check if the user is logged in. This is because we want users who are not logged in to be prevented from seeing the admin panel.
Let me know if that makes sense

Ah, I see... I had trouble returning a Redirect and then executing steps, but I think I figured something out (I think the new commit showed up there too) commit here

logOut() sets additional boolean prop called justLoggedOut to true, then redirects to home. Route (path="/home") checks if prop is true then executes logOutFinish() (update Role.loggedOut & fetch /logout) --> so then should return  since it's now loggedOut.

@vanessa-hu hii what's the status on this PR?

@vanessa-hu hii what's the status on this PR?

I think we discussed this bc I couldn't figure it out for a while and you mentioned asking someone else to try?

@kofmangregory  do you wanna take a look at this? not sure what is going on either


Add design details for Tag feature in DG

Codecov Report

Merging #67 (9590f99) into master (66668a0) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #67   +/-   ##
=========================================
  Coverage     56.59%   56.59%
  Complexity      498      498
=========================================
  Files           106      106
  Lines          2115     2115
  Branches        262      262
=========================================
  Hits           1197     1197
  Misses          841      841
  Partials         77       77

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 66668a0...9590f99. Read the comment docs.

Oops sorry, I accidentally approved without a message.
But LGTM! Good formatting on the TagCommand implementation!


UI support for trading BTC <--> OMNI/TOMNI

The current UI supports trades between Omni currencies (DEX Phase 2), but does not support trades between BTC and OMNI (or TOMNI.)
I would like to write an Omni Core Desktop Quickstart guide that shows someone who owns some BTC how to get started with Omni in a "fully decentralized" fashion. The steps would be:

Download Omni Core Desktop
Sync the blockchain
Create a receiving address and send BTC to it.
Sell BTC for OMNI/TOMNI (DEX Phase 1)
Use OMNI to trade with other Omni currencies (DEX Phase 2)

The nice thing about this procedure is it only requires:

A computer that can run Omni Core Desktop
Some bitcoins

It can also be done on either the Bitcoin MainNet or TestNet.
We should support this as soon as possible.

The current UI supports trades between Omni currencies

Given that the above is no longer, true and we're unlikely to add a trading UI back to Omni Core, I'm going to close this issue as a "won't fix"


Error during generation, related to temporary view

I was having a real headscratcher recently, trying to generate migrations but it kept erroring out
[redacted]\node_modules\pg\lib\client.js:535
          Error.captureStackTrace(err)
                ^

error: relation "orchidtmpview2" does not exist
    at [redacted]\node_modules\pg\lib\client.js:535:17
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async performQuery$1 ([redacted]\node_modules\pqb\src\adapter.ts:188:12)
    at async <anonymous> ([redacted]\node_modules\orchid-orm\src\migrations\generate\generators\generators.utils.ts:53:9)
    at async Promise.all (index 1)
    at async compareSqlExpressions ([redacted]\node_modules\orchid-orm\src\migrations\generate\generators\generators.utils.ts:25:5)
    at async Promise.all (index 1)
    at async processTables ([redacted]\node_modules\orchid-orm\src\migrations\generate\generators\tables.generator.ts:133:52)
    at async composeMigration ([redacted]\node_modules\orchid-orm\src\migrations\generate\composeMigration.ts:54:5)
    at async adapter.transaction.text ([redacted]\node_modules\orchid-orm\src\migrations\generate\verifyMigration.ts:50:12) {
  length: 112,
  severity: 'ERROR',
  code: '42P01',
  detail: undefined,
  hint: undefined,
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'namespace.c',
  line: '434',
  routine: 'RangeVarGetRelidExtended'
}

After hours of reverse engineering it all pointed to this line of code
https://github.com/romeerez/orchid-orm/blob/db189d5eeafbf3381c61628abd1a02f10ee30ac4/packages/orm/src/migrations/generate/generators/generators.utils.ts#L52
It seems that the query fails because the temporary view doesn't exist, even though it is literally created just a few lines before it. I tried debugging this but all signs pointed that the view is clearly created, but the query still kept failing.
I then tried removing TEMPORARY from the query here:
https://github.com/romeerez/orchid-orm/blob/db189d5eeafbf3381c61628abd1a02f10ee30ac4/packages/orm/src/migrations/generate/generators/generators.utils.ts#L30
and voila, it now works. The view is then properly dropped leaving no trace in the db.
I have no idea when this happens, and why a temporary view fails here (concurrency?, I don't use a connection pool FWIW).

This code runs every time when you run the generator and if you have raw sql expressions anywhere in the tables definitions. This may be executed for the checks, or for sql defaults, and there are other cases.
This is strange if that worked for you before, as you used checks before, and now suddenly it stopped.

I have no idea when this happens

Cool, and how am I supposed to debug it? :)
Works on my machine.

The view is then properly dropped leaving no trace in the db.

Yes it's dropped, but what if the process suddenly fails, what if you stop it with ctrl+c at the moment before dropping? Then the view is persisted, and the next generation will fail, and this would cause questions, debugging, and dropping the views manually, so having it as TEMPORARY is better. I'd like to figure out the root cause of the issue.
Could you provide more info? Ideally, if you can make a reproduction.
What is the postgresql version? Just in case, can't it be that you were using a different postgres version recently and it worked, but then switched to older version?

Hah lol, I couldn't create a reproduction in isolation.
It happens when I add one more check. Simply not adding that check and everything works properly.
I'll try to dig deeper and see if I can create a reproduction.

Btw through the reverse engineering I realized what you're doing there. It's a genius solution to normalize the raw SQL so you can compare changes

I was able to reproduce it in isolation!
It happens if I have 10 or more checks in the project.
I went overboard here, but really 10 checks is enough:
import { BaseTable } from '../baseTable';

export class ATable extends BaseTable {
  readonly table = 'a';

  columns = this.setColumns((t) => ({
    id: t.identity().primaryKey(),
    a: t.integer().check(t.sql`a is not null`),
    b: t.integer().check(t.sql`b is not null`),
    c: t.integer().check(t.sql`c is not null`),
    d: t.integer().check(t.sql`d is not null`),
    e: t.integer().check(t.sql`e is not null`),
    f: t.integer().check(t.sql`f is not null`),
    g: t.integer().check(t.sql`g is not null`),
    h: t.integer().check(t.sql`h is not null`),
    i: t.integer().check(t.sql`i is not null`),
    j: t.integer().check(t.sql`j is not null`),
    k: t.integer().check(t.sql`k is not null`),
    l: t.integer().check(t.sql`l is not null`),
    m: t.integer().check(t.sql`m is not null`),
    n: t.integer().check(t.sql`n is not null`),
    o: t.integer().check(t.sql`o is not null`),
    p: t.integer().check(t.sql`p is not null`),
    q: t.integer().check(t.sql`q is not null`),
    r: t.integer().check(t.sql`r is not null`),
    s: t.integer().check(t.sql`s is not null`),
    t: t.integer().check(t.sql`t is not null`),
    u: t.integer().check(t.sql`u is not null`),
    v: t.integer().check(t.sql`v is not null`),
    w: t.integer().check(t.sql`w is not null`),
    x: t.integer().check(t.sql`x is not null`),
    y: t.integer().check(t.sql`y is not null`),
    z: t.integer().check(t.sql`z is not null`),
  }));
}

Thank you for investing your time into research!
Regarding the approach, yeah, that was a very nice trick to discover, I remember spending quite a lot of time searching for a solution, but there is literally no adequate working way to compare SQLs, I tried everything I could find on the internet and brute-forced native postgres functions to find the one that could finally do that.
The bug is about concurrency, it won't be difficult to fix, I'll do it on Sat.
In the meantime, you can add max: 2 option to your db config in rakeDb:
export const change = rakeDb(
  {
    databaseURL: process.env.DATABASE_URL,
    max: 2, // <--
  },
  {
    // ...
  },
);

1 is not enough for some reason, and 2 solves the concurrency problem.
Finding the root cause is the most difficult part, thank you for that!

Setting max: 2 or any larger number doesn't seem to have any effect on this issue for me.

I published a fix for the concurrency problems.


Undo triggers in wrong file when using split windows

Not sure if this is a bug or a configuration issue:
When using a split editor, issuing an undo command will always undo the last edit that was done in the current file.
But when working with two files in a split view, this is often not the desired outcome. I would expect it to always undo the last command/edit across all files. This is especially annoying when running into a recognition error, or when using the wrong hat.
In my setup it's trivial to reproduce, but please let me know if there's more info I could provide.
That being said, many thanks for your work on cursorless, it's really great! 👏

It's a tricky point, because I can't imagine most keyboard users would be happy with undo-s that switch around between the visible split editors. When using the keyboard, I think it does make more sense to undo only in the current editor.
Anyway, I think this requires some more consideration.

You can also use a Cursorless custom action if you want to be able to undo and redo across a split
"undo blue air"

How did that never occur to me 😅. Are you using that?
Btw if you unmap "undo that", then for actions that only target one split, saying "undo that" would just work in the right split 🤔. We could even support commands that group by editor and run once for each editor and it would just undo in multiple splits if necessary 😄

that's great. added myself 👍

Just did the same for save:
disk, workbench.action.files.save

Just did the same for save:
disk, workbench.action.files.save

So now I can say "round wrap air" in opposite split then "disk that"

Nice. I have disk files to save all open files which I use kinda similarly.

Nice. I have disk files to save all open files which I use kinda similarly.

Yeah that's what I usually use but I like the precision of this one, because sometimes that triggers annoying save untitled popup


OS X Support

We have recently got a new user that uses OSX.
Do you think it is possible to replace the filecache dependencies with something (like vault ?) that would work across both OSes ?
I could give it a try if you think it is not too much work (and with some guidance).
Thanks.

I guess another option is to replace hinotify with something cross platform in filecache.

Using hfsnotify seems like a nice change. vault seems to be something else entirely.

Does language-puppet re-use this Data.FileCache across invocation somehow ?
Otherwise I don't quite see how the command benefits from inotify. I do undestand why a cache is necessary but the inotify feature of Data.FileCache does not seem to be useful in the language-puppet case.

For server implementations, it is useful :)

Works now using FileCache 0.3


unable to run the script ./reconftw.sh

Describe the bugA clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):

Architecture: x86[e.g. x86, x64, ARM ...]
OS: MacOS 11.6[e.g. Ubuntu, Kali, Arch ...]
Version 11.6[e.g. 20.04, Rolling, 8 ...]

Additional context
Add any other context about the problem here.

This software is not supported on MacOS yet


Add files via upload

Your checklist for this pull request
Author name ezekiel
Author:

About your game move all chests to the keys
What is your game about?

How do you play your game?

Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image (If an image is used)

[ ] The image is in the /games/img directory.
[ ] The name of the image matches the name of your file.

Thanks for your PR!

h

I love the last level of your game! What about adding more elements?

Closing this PR due to inactivity.  Please feel free to re-open this once you've resolved the feedback and we can take another look!


Decode Jinja2 template off the filesystem

Fixes #47

Codecov Report

Merging #48 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master      #48   +/-   ##
=======================================
  Coverage   80.87%   80.87%
=======================================
  Files          12       12
  Lines         413      413
  Branches       53       53
=======================================
  Hits          334      334
  Misses         56       56
  Partials       23       23

Impacted Files
Coverage Δ

src/towncrier/__init__.py
71.18% <0%> (ø)
:arrow_up:

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 642df45...c48a58f. Read the comment docs.


SP.UserProfiles.PeopleManager/GetPropertiesFor

Q
A

Bug fix?
[X ]

New feature?
[ ]

New sample?
[ ]

Related issues?
fixes 468

What's in this Pull Request?
implementation of api/SP.UserProfiles.PeopleManager/GetPropertiesFor is not working on on-prem Sharepoint 2019:
current implementation in SPHelper.js in SPHelper.getUserProperties function is:
...
url += "/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor('" + encodeURIComponent(loginName) + "')";
...
this call gets null returned.
After change in SPHelper.js in SPHelper.getUserProperties function from:
...
url += "/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor('" + encodeURIComponent(loginName) + "')";
...
to:
...
url += "/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v='" + encodeURIComponent(loginName) + "'";
...
everything works great ;-)

Thank you @Matej4386 for the fix!


Validate field data types

Add the same checks for the field data types as the USGS checker.

I believe that this has already been done? Can you link the commit an close? @mcamp1

This has not been implemented. I have it as a 3.0 enhancement, do you want me to tackle it sooner?

Ah. Misunderstanding. I will flag it for the 3.0 milestone.


New slt3 pos

New slt3 positions.  Working since we changed (start of 2022-3).
Also fixed not being able to change the ramp_rate for the lakeshore device
I don' really understand how this was RO but apparently it was me.  Tom's picky lakeshore is the way to go, but beamline staff need to test this more because we haven't been using it (Tom made it a "motor" using ophyd).  Scroll down to find Tom's picky lakeshore

These are minor changes.  It is clear slt3 needs improvement, but I am still hoping for an epics device to do the book keep.  That way, we can archive the positions and understand atleast when they were changed.


Babel loader throws 'ERROR in fn.call is not a function' only when using grunt-webpack

Seems to work when the config is in it's own webpack.config.js, it's just when being used in grunt. My config for reference:
config.webpack = {
        dev: {
            entry: './app/app.js',
            output: {
                path: 'build/',
                filename: 'bundle.js'
            },

            resolve: {
                modulesDirectories: ['./node_modules', './app/vendors/bower']
            },

            module: {
                loaders: [
                    { test: /\.js$/, exclude: /node_modules|bower/, loaders: ['babel'] },
                ]
            },

            plugins: [
                new webpack.ResolverPlugin([
                    new webpack.ResolverPlugin.DirectoryDescriptionFilePlugin("bower.json", ["main"])
                ])
            ],

            stats: {
                colors: true,
                modules: true,
                reasons: true
            }
        }
    };

The grunt output:
Registering "grunt-webpack" local Npm module tasks.
Reading /Users/roshanbhalla/dev/signal/UI/node_modules/grunt-webpack/package.json...OK
Parsing /Users/roshanbhalla/dev/signal/UI/node_modules/grunt-webpack/package.json...OK
Loading "webpack-dev-server.js" tasks...OK
+ webpack-dev-server
Loading "webpack.js" tasks...OK
+ webpack
Reading package.json...OK
Parsing package.json...OK
Initializing config...OK
Loading "Gruntfile.js" tasks...OK
+ build, build-webpack, dist, linting, server, server-dist, styleguide, test, validate

Running tasks: build-webpack

Running "build-webpack" task

Running "clean:build" (clean) task
Verifying property clean.build exists in config...OK
Files: build -> build
Options: force=false, no-write=false
Cleaning build...
>> 1 path cleaned.

Running "webpack:dev" (webpack) task
Verifying property webpack.dev exists in config...OK
File: [no files]
Hash: 396f0bfb9d565b6f60f0
Version: webpack 1.12.2
Time: 153ms
   [0] ./app/app.js 0 bytes [built] [failed]

ERROR in fn.call is not a function
Warning: Task "webpack:dev" failed. Use --force to continue.

Aborted due to warnings.

Try changing to:
module: {
  loaders: [
    {
      test: /\.js$/,
      exclude: /node_modules|bower/,
      loader: 'babel',
      query: {
        cacheDirectory: true,
        presets: [ 'es2015' ]
      }
    }
  ]
}

(https://github.com/babel/babel-loader#options)

The answer of @bbudd should make the problem go away, there is a typo in the config it is loader not loaders.


[MAS3.3.1] [Screen Reader-Open bot dialog] Screen reader is not reading the Error information when the use enters the invalid values in the Bot URL text field.

Actual Result:
Screen reader is not reading the Error information when the use enters the invalid values in the Bot URL text field which is present in the open bot dialog.
Expected Result:
Screen reader should narrate Error information when the use enters the invalid values in the Bot URL text field
Example: When the user enters the invalid values in bot url text field screen reader should read as “Please choose a valid bot file or end point URL”.
Note: This issue exits throughout the application wherever error message appears
Same issue repro with NVDA also. Please refer the attachment as <MAS3.3.1_Open a bot_Error Message_NVDA.wmv>
Same issue repro for below path
Bot Explorer->Endpoint->+symbol:
Screen reader is not narrating the error message and error suggestion information for End point URL text field.
Please refer the attachment:MAS3.3.1_End.point.zip
Repro Steps:
Turn on the narrator

Open the Bot Framework V4 Emulator.
Welcome tab screen gets opened
3.Navigate to the open bot control and select it
4.Open bot dialog gest opened
5.Navigate to the Bot URL text filed.
Observe the issue.

User Impact:
Users who rely on assistive technologies ,The identification and description of an error is not reading the screen reader so learning cognitive, language, and learning disabilities who have difficulty understanding the info.
Test Environment:
OS Build: Version 1903(OS Build 18362.239)
Browser: Edge
Application: Bot Framework V4 Emulator
Screen reader: Narrator
MAS Reference Link:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={733120d0-56c5-479c-889f-fee36ea08ee0}
MAS3.3.1_Open bot dialog.zip

MAS3.3.1_Open a bot_Error Message_NVDA.zip
MAS3.3.1_End point.zip

Verified in latest bot emulator version 4.5.2-79874 with NVDA(2019.2) issue still repro'ing . Hence we are reactivating this bug.
Still NVDA is not narrating the error message information when the user enter the invalid data .

Verified in latest bot emulator version 4.5.2-80829 with NVDA(2019.2)Issue still repro'ing hence we are reactivating this bug.
NVDA is not narrating the error message information when the user enter the invalid data i.e error message "Please choose a valid bot file or endpoint URL"
Please refer the attachment :1730.zip
1730.zip

Verified in latest bot emulator version-4.5.2-82590 with NVDA(2019.2) Issue got fixed hence we are closing this bug.


StatefulSet using AWS EBS - Test Scaling - Incorrect Data shown

StatefulSet using AWS EBS - Test Scaling - Incorrect Data shown, this is a cosmetic issue where after scaling the replicas to 3 there is a line which says You will see 5 servers are running. Since the replicas are only scaled to 3 not sure how the servers could be 5.
Secondly after this line It will show the same data that leader has. it shows the following data that the table might have:
+--------+----------+
| prodId | prodName |
+--------+----------+
| 1      | Desk1    |
+--------+----------+

All the examples have been talking about the data of 999    | Mountain Bike and since suddenly we are saying it could have 1      | Desk1  the users might be confused.

Fixed both issues


Patch 1

@angelinagerbas Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

I don't think this adds anything. Probably a mistake?

Yep, sorry I am still trying to figure out how to use GitHub!
On Sun, Oct 16, 2016 at 1:16 AM, Dave Syer<EMAIL_ADDRESS>wrote:

I don't think this adds anything. Probably a mistake?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spring-guides/gs-maven/pull/14#issuecomment-254029866,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQAuB-yI4Bpzq1HJ_Is9jS_tDP2yuHBgks5q0cFHgaJpZM4KX3DM
.


feat(consume): refine the --input flag for fixture releases

Implement the comments and suggests from #745.
From https://github.com/ethereum/execution-spec-tests/pull/745#discussion_r1723225970, add the following:

I think we should use the Github API to determine which release is the latest and then define input_source to the URL that points to a specific release (i.e., a URL containing v[0-9]+.[0-9]+.[0-9]+). This has a few benefits:

The pytest header will display the correct release version (this is a must imho, so that you can quickly see which release was actually being executed).
We can display the exact release in the consume commands displayed in hiveview to help reproduce tests.
The extracted fixtures will be extracted to the correct cache directory.

Another approach would be to grab the version from the .meta/fixtures.ini file, but I thinkI prefer resolving latest. If we're being very careful, we could check that the resolved version matches that of .meta/fixtures.ini, but it's a bit paranoid.

From https://github.com/ethereum/execution-spec-tests/pull/745#issuecomment-2288383673, consider adding the following:

I was hoping a while ago to be able to add the release tag and fixture "tag" as input options.

So we could have --input=<release_tag|latest>-<fixture_tag>-release, for example:

--input=latest-stable-release equivalent to --input=v3.0.0-stable-release.
<EMAIL_ADDRESS>for the EOF v1.0.7 fixtures.
At this point we are may be going overkill! But at least if we include the former it covers all cases regarding releases.

I do still like URLs especially if pointing to releases outside of the main repo but then...
2) we could add git user names to the input!

cc @danceratopz


TiffOne Using Source code in solution

Firstly thank for your big succes for this application.I want to integrate it to my solution  where alternatiff in my web page.Would u give advice for it.Thank You.

I'm not sure I understand your needs. What is it you're trying to achieve?

I have solution in web app.In chrome it uses alternatiff.chrome version is 111.xx.Iunderstand halfly your source code.But i get some errors in running.Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'query')
at loadChrome (background.js:10:17)
at background.js:80:5 and ncaught (in promise) TypeError: Cannot read properties of undefined (reading 'local')
at isEnabledResult (helper.js:8:28)
at new Promise ()
at helper.js:7:16
at getEnabledState (helper.js:12:7)
at setOnOffSwitchState (popup.js:10:27)
at popup.js:35:1  and TiffOne is not defined.What i wrong?

I'm still not sure I understand what you want to achieve. AlternaTIFF is an ActiveX plugin, which is no longer supported. How can you use that in Chrome 111?
Also, TiffOne is a browser extension (meant to somewhat replace AlternaTIFF). It should not be embedded into a web application. It's installed in a browser (right now only chromium based ones are supported), and then it can find embedded tiff images on a webpage, and make them visible.
If you want to develop a web application and display Tiff files (that's how I understand your issue), then TiffOne is not really your best solution. TiffOne is using tiff.js to display tiff files, which can be embedded into a web application and used there.
Please note, this project was originally made as a solution to a very specific problem that needed to be solved for my work. It should in theory be used to display any tiff file on a webpage, but the original scope was limited.

I have a web application that uses alternatiff. I need to take precautions since Internet explorer support will be reduced. I saw your tiffone extension. And I wanted to edit it and use it on google. The reason why I did this. Right now, when we enter the alternatiff test page(you should test that) through a google web browser with the new version, the tiffone extension works So I thought it would make sense to add this.Actually my only commands are instead of the existing alternatiff.By the way, congratulations, whatever the problem is, you have a good approach and solution.


[Bug]:

Operating System
Windows 10
BG3 Mod Manager Version
<IP_ADDRESS>
BG3 Game Version
Full Release
Bug Summary
I am noticing that none of my mods are taking effect. I drag from right column into the left. I click save order and export to game. then i launch, and nothing happens.
Links
No response

If you have mods that have errors, or a subfolder in your mods folder, this can cause the game to reset your modsettings.lsx when you run the game. You'll have to go through and figure out which of your mods that is. You can right click the export button for a shortcut to the modsettings.lsx, to confirm that it's being reset.


⚠ Bofrost.de has degraded performance

In fa32508, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1511 ms

Resolved: Bofrost.de performance has improved in 21e2ebe after 6 minutes.


Added PyPy and 2.7 to the build

This should fix #10 if all goes well.

I have to sort out some dependency issues. I'll do it later today.

To add python2 compatibility you would have to add six as a dependency and change all bytes references to six.binary_type, etc. I'm not sure how many python3 only features I used.
To merge this all current python3 behaviour should be kept (ie: opening files with the right encoding instead of relaying in whatever the default OS encoding is), so it'll require some shims.


Update build.gradle setup

Summary
A slightly different approach to #207
This wraps the Android Gradle plugin dependency in the buildscripts section of android/build.gradle in a conditional:
if (project == rootProject) {
    // ... (dependency here)
}

The Android Gradle plugin is only required when opening the project stand-alone, not when it is included as a dependency. By doing this, the project opens correctly in Android Studio, and it can also be consumed as a native module dependency from an application project without affecting the app project (avoiding unnecessary downloads/conflicts/etc).
Test Plan
What's required for testing (prerequisites)?
Android Studio and/or Gradle installed locally.
What are the steps to reproduce (after prerequisites)?
Open android in Android Studio:
studio android/

Or:
Generate a Gradle wrapper on the fly, and build on command line:
cd android/
gradle wrapper --gradle-version 5.4.1 --distribution-type all
./gradlew build

Successfully verified and tested on:

Android Device (Xiaomi Mi A2)
Android Emulator (Pixel 3a)
iOS Device (iPhone 8)
iOS Simulator (iPhone X)

Once approved, please use a normal GitHub merge (i.e. NO rebase/squash merge) to integrate the commit(s) from the PR head branch. The changes are broken up into meaningful, atomic commits, and my branch should already be up-to-date with the latest base branch. If it isn't, or if you want me to change anything, please let me know, and I will update the branch as soon as possible. Thank you!

@Krizzu - Thanks for the review. I addressed your comments, and also removed the two "getExtOrDefault" (I thought I removed them earlier, but missed it ;))
Regarding opening it stand-alone: Sometimes it can be useful to validate and compile the project in isolation, without any other projects or apps involved. It would also be possible to add unit tests that specifically target library code (and of course don't need an app project).

Thanks a lot @friederbluemle 	@dulmandakh


Http2 defaults for splitChunks

What kind of change does this PR introduce?
change, refactor, bugfix

Did you add tests for your changes?
yes

Does this PR introduce a breaking change?
no

What needs to be documented once your changes are merged?

new option splitChunks.enforceSizeThreshold resp. ``splitChunks.cacheGroups[x].enforceSizeThreshold`

when over this limit, minRemainingSize, maxInitialRequests and maxAsyncRequests are ignore
This enforces big chunks to be splitted, e. g. big vendors, even if this adds more requests or keeps small remaining chunks

splitChunks.minSize defaults to 20k in production
splitChunks.enforceSizeThreshold default to 50k in production

The first commit should be backported to webpack 4, because it contains a bugfix.


Haproxy reverse proxy amplifier service

#112
add amp-public network
add amplifier service on amp-public
modify amp to use --server argument (the amplifier address or the HAProxy address)
update HAProxy to reserse proxy GRPC connection from 8080 to amplifier
test on the 'haproxy' branch
rm -rf vendor
glide install
make
./swarm pull
./swarm start
when all services are started
./amp logs  ->  call the service amplifier directly and run
./amp --server localhost:8080 logs  -> call the service amplifier through HAProxy

:+1:

Tested locally.

A few things to note: the description doesn't mention that the appcelerator/amplifier image needs to be built. It can be deduced from inspecting the changes, but the description should make clear. The makefile should have a rule for building it so that it's standardized for everyone (there is currently a build-image rule, but that's for amp; we should probably have a build-amplifier-image rule). Finally, this does force on our workflow the necessity to build the image and run the service in the swarm each time we want to test a change. This will get tedious. We definitely should have make rules or a shell script to ease this, and we should really consider making it possible to keep localhost development an option...

Please don't merge this PR, preparing update for amplifier local usage

Successfully tested localhost and amazon. I have an issue testing amplifier in the swarm, but it seems to be isolated to Docker for Mac at the moment since it's passing for everyone else running on Linux. Good work! 👍


Set upstream node for branch node

Signed-off-by: Kevin Su<EMAIL_ADDRESS>TL;DR
We didn't set the upstream node for the branch node. Therefore, the DAG of the following example is wrong,
from flytekit import task, workflow, conditional

@task
def square(n: float) -> float:
    return n * n

@task
def double(n: float) -> float:
    return 2 * n

@task
def t1() -> float:
    return 3.0

@workflow
def wf(my_input: float) -> float:
    val = t1()
    return (
        conditional("fractions")
            .if_((my_input >= 0.1) & (my_input <= 1.0))
            .then(double(n=val))
            .else_()
            .then(square(n=my_input))
    )

Before:

After:

For more detail, check https://flyte-org.slack.com/archives/C03CY9S9MFE/p1651262585261169 and https://flyte-org.slack.com/archives/C03CY9S9MFE/p1651307245028089
Type

[x] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[ ] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
https://github.com/flyteorg/flyte/issues/
Follow-up issue
NA

using your example, are these equivalent?
@workflow
def wf(my_input: float) -> float:
    val = t1()
    return (
        conditional("fractions")
            .if_((my_input >= 0.1) & (my_input <= 1.0))
            .then(double(n=val))
            .else_()
            .then(square(n=my_input))
    )

@workflow
def wf(my_input: float) -> float:
    return (
        conditional("fractions")
            .if_((my_input >= 0.1) & (my_input <= 1.0))
            .then(double(n=t1()))
            .else_()
            .then(square(n=my_input))
    )

@kumare3 @pingsutw

yeah, but if IIRC, the second one doesn't work, right?

should they be equivalent?

cc @wild-endeavor
sorry, I think I was wrong. They are not quite equivalent
In the first one, we'll run t1() no matter the condition is true or false.
In the second one, we'll run t1() only when the condition is true. Therefore, we should make t1 become part of the branch node as well. We don't support it for now, right?
which means we can't have a workflow like
                if  ->  t1 -> t2
start ->                               -> end
                 else  -> t3

For now, we can only have exactly one node in if block and else block.

yes @pingsutw agreed.  @kumare3 @enghabu what should we do about this?

I don't think the problem with the example above is the graph... it's in the execution path...
If you look at the generated DAG, it has an upstream dependency between n1-n0 (the first branch) to n0 which should cause that node to wait until data from n0 become available before proceeding.

Somewhere between this and the Node Handler this breaks....
Please let me know if you need further help investigating this.


Please add summary and description to examples

One of my arguments has several examples, with summaries and descriptions.
e.g.,
FilterQueryParam:
  in: query
  name: filter
  schema:
    type: string
  description: A filter to be applied to the search using the [SCIM 2.0 Filter syntax](https://www.rfc-editor.org/rfc/rfc7644#section-<IP_ADDRESS>).
  examples:
    region:
      summary: Returns only people in a region
      description: Geographic filtering is good for whatever
      value: region eq "BR"
    has_phone:
      summary: Returns only people with phone numbers
      description: Just in case I want to call them
      value: phone_number pr
    has_email:
      summary: Returns only people with email addresses
      description: To compile a spam list
      value: email_address pr

Current Output
This tool currently ignores the summary and description and just outputs this

Example (region): region eq "BR"
Example (has_phone): phone_number pr
Example (has_email): email_address pr

Expected output
Maybe something like this?

Examples:

Returns only people in a region
Geographic filtering is good for whatever
region eq "BR"

Returns only people with phone numbers
Just in case I want to call them
phone_number pr

Returns only people with email addresses
To compile a spam list
email_address pr

Hi @paulo-raca, can you provide the full OpenAPI spec or a screenshot of how it is rendered in the WebUI?

Sure, here is the trimmed down openapi spec
And this is what it looks like:

Thanks, this is helpful. Do you have an example or mockup of what you would prefer to see? We often use redocly as a comparison but there are other tools.
We could also just render them as a bulleted list as you described:

Thanks for looking into it, @sserrata ! :heart:

Do you have an example or mockup of what you would prefer to see?

The bulleted list is my suggestion, but feel free to do something different -- I'm not any good with design :sweat_smile:
As long as the info is shown I'll be very happy :)

I also liked how it is implemented in Swagger-UI: There is a dropdown to select the example, so the page doesn't look bloated with lots of examples.

We often use redocly as a comparison but there are other tools.

I think redocly looks good, however it doesn't show the description, only the summary :disappointed:

Hi @paulo-raca, thank you for the suggestion and providing helpful examples 👍
I think our SchemaTabs component would fit well with this use case. Here's a preview of what the UI would entail:
https://user-images.githubusercontent.com/48506502/217153986-25e102a0-4a94-4468-ac3b-9cc55129d4d2.mov

I like it!
Thanks!

@paulo-raca Glad to hear it! The changes will be rolled into our next release. In the meantime, feel free to test with our latest canary release 0.0.0-546 👍


Fix RF Reg example

/intelci: run

@Alexandr-Solovev  - should we have bazel test added for this?

/intelci: run


Testng Listener invoked more then once

Discovered this issue when i had mistakenly configured my listener in testng xml and also via @Listeners.
This is unexpected behaviour as listener logic is invoked twice in entire lifecycle.
Example :

Configure ReporterHtmlService (my custom HTMLReporter) in testng.xml
Configure ReporterHtmlService in @Listeners(ReporterHtmlService.class)

On executing the tests it invokes ReporterHtmlService twice.
A solution would be to store all TestNG Listeners in a Set. This will make sure that only distinct Listeners are stored.

IReporters are already in a set. Did you use testng 6.9.9?

Could you pull-request a new test case which shows the issue?
You can add a new test class or update/use an existing one from https://github.com/cbeust/testng/tree/master/src/test/java/test/listeners

This should no longer be a problem in TestNG 7.8.0. Please share a sample reproducible test if this is still a problem.


Cherry usb error compilation (IDFGH-13755)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.2
Operating System used.
Windows
How did you build your project?
Command line with Make
If you are using Windows, please specify command line type.
None
What is the expected behavior?
I'm trying to compile cherryusb from menuconfig with my esp idf v5.2, i got this error :
C:/cherryusb_esp32/examples/host/managed_components/cherry-embedded__cherryusb/platform/none/usbh_lwip.c:31:2: error: #error PBUF_POOL_BUFSIZE must be larger than 1600
31 | #error PBUF_POOL_BUFSIZE must be larger than 1600
How can i correct it ?
Thanks.
What is the actual behavior?
C:/cherryusb_esp32/examples/host/managed_components/cherry-embedded__cherryusb/platform/none/usbh_lwip.c:31:2: error: #error PBUF_POOL_BUFSIZE must be larger than 1600
31 | #error PBUF_POOL_BUFSIZE must be larger than 1600
Steps to reproduce.

Step : copy cherryusb https://github.com/CherryUSB/cherryusb_esp32 to C:/
Step : Compil with esp idf v5.2 using menuconfig : Enable host usb ncm and DWC2 esp, enable LWIP_TCPIP_CORE_LOCKING and
LWIP_TCPIP_CORE_LOCKING_INPUT
Step : C:/cherryusb_esp32/examples/host/managed_components/cherry-embedded__cherryusb/platform/none/usbh_lwip.c:31:2: error: #error PBUF_POOL_BUFSIZE must be larger than 1600
31 | #error PBUF_POOL_BUFSIZE must be larger than 1600

Build or installation Logs.
No response
More Information.
No response

Hi @maaamcube
The requirement for packet buffer size seems to come from the cherry-usb itself:
https://github.com/cherry-embedded/CherryUSB/blob/773d67016fb33fc341bc379c1572e35103d23d32/platform/none/usbh_lwip.c#L25-L27
This is not configurable on IDF side, as the default LWIP size is used instead.
You can override this option from the project (but also from the cherry-usb component) makefile placing:
idf_component_get_property(lwip lwip COMPONENT_LIB)
target_compile_definitions(${lwip} PRIVATE "-DPBUF_POOL_BUFSIZE=1600")

after idf_component_register().
PS: Documented in https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/lwip.html#customized-lwip-options-from-esp-idf-build-system

@david-cermak thanks for your reply.
I added the lines but i still have the error.

@maaamcube Do you have a branch with the actual changes? I recall that I had to fix some other refs, includes and other minor stuff to get it compiled besides the lwip defines? Maybe if you post your updates, I'll check if I can share a fixing commit.

@david-cermak No, sorry. I did those changes locally during my tests.
To make it work, i put comment to those lines :
"#if LWIP_TCPIP_CORE_LOCKING_INPUT != 1
#warning suggest you to set LWIP_TCPIP_CORE_LOCKING_INPUT to 1, usb handles eth input with own thread
#endif
#if LWIP_TCPIP_CORE_LOCKING != 1
#error must set LWIP_TCPIP_CORE_LOCKING to 1
#endif
#if PBUF_POOL_BUFSIZE < 1600
#error PBUF_POOL_BUFSIZE must be larger than 1600
#endif"
I changed those lines :
"
#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"
#include "timers.h"
ip_addr_t g_ipaddr;
ip_addr_t g_netmask;
ip_addr_t g_gateway;"
by :
"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/semphr.h"
#include "freertos/timers.h"
ip4_addr_t g_ipaddr;
ip4_addr_t g_netmask;
ip4_addr_t g_gateway;"
I used CherryUSB V1.4.0

Just FYI, there is an ORIG_INCLUDE_PATH property of FreeRTOS component which could be used to make includes like FreeRTOS.h work. Here is an example in tinyusb component:
https://github.com/espressif/tinyusb/blob/4b4c984c04e686954a35b3d552dd4cccaa008034/CMakeLists.txt#L18-L30
By adding the two lines in CMake you can keep the includes unchanged.

...and about the ip_addr_t -> ip4_addr_t change, it should be enough to disable IPv6 in LWIP component config

Here're my changes to make the host example compilable:
diff --git a/examples/host/main/CMakeLists.txt b/examples/host/main/CMakeLists.txt
index 7524c18..1d69647 100644
--- a/examples/host/main/CMakeLists.txt
+++ b/examples/host/main/CMakeLists.txt
@@ -1,3 +1,6 @@

 idf_component_register(SRCS "main.c"
                     INCLUDE_DIRS ".")
+
+idf_component_get_property(lwip lwip COMPONENT_LIB)
+target_compile_definitions(${lwip} PRIVATE "-DPBUF_POOL_BUFSIZE=1600")
\ No newline at end of file
diff --git a/examples/host/main/idf_component.yml b/examples/host/main/idf_component.yml
index aa668de..8060976 100644
--- a/examples/host/main/idf_component.yml
+++ b/examples/host/main/idf_component.yml
@@ -1,6 +1,8 @@
 ## IDF Component Manager Manifest File
 dependencies:
-  cherry-embedded/cherryusb: "^1.4.0~1"
+  cherry-embedded/cherryusb:
+    version: "^1.4.0~1"
+#    override_path: ../../..
   ## Required IDF version
   idf:
     version: ">=4.1.0"

(changes against https://github.com/CherryUSB/cherryusb_esp32/commit/a0e15d45225c4731921dcf53dbdea985d03ba413)
To update the freertos include dirs and lwip IPv4 only config, it's probably better to update the component makefile (rather then project one)

@igrr @david-cermak Thank you for your suggestions, i will add these into cherryusb cmakelist.


Remove .git at the end of project name

When cloning a project, its name is set to project-name.git. It should be set to project-name.

Yes that can help to not clone two times the same repository.
i can also remove trailing / at the same times because that cause the script create wrong values for vscode.

Fixed with rust rewrite


Confusing wording: batch network security groups: optional or auto created by batch?

Are the inbound/outbound rules listed within this section optional by default or auto-created by the batch pool provisioning process as stated above? This is confusingly worded, an azure support engineer said this might actually be required, despite the section stating "Network security groups: Batch default: Batch adds NSGs at the network interfaces (NICs) level attached to compute nodes."
## Network security groups: Specifying subnet-level rules

You don't have to specify NSGs at the virtual network subnet level, because Batch configures its own NSGs (see above).

This document needs clarity as to what are pre-requisites vs what batch auto creates vs what the end user must configure in the NSGs.

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

ID: 1349a466-0e05-88bd-8af8-787f6524279d
Version Independent ID: 1d539fc1-58c1-54c7-0c4f-542b95f2f557
Content: Provision a pool in a virtual network - Azure Batch
Content Source: articles/batch/batch-virtual-network.md
Service: batch
GitHub Login: @JnHs
Microsoft Alias: jenhayes

@bitsofinfo
Thanks for your feedback! We will investigate and update as appropriate.

@bitsofinfo
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@JnHs
Can you please check and add your comments on this doc update request as applicable.

I'm going to close this issue now but please let us know if you have additional feedback. Thanks again!
#please-close


Logo

Similar to the website UX/UI thoughts.  Do you have any logos that ya'll like?  Any aesthetic you think might work for us?  Also Some other questions/thoughts:

This logo is 'client facing,' right?  A logo to show people who we are and if we end up sponsoring stuff this'll go on posters etc etc.
I guess this one is a bit tougher, but who are we? What do we want to do?  What kind of feel are we going for here?  I feel like our 'brand identity' might depend heavily on how we see ourselves going forward.
Do we want to be associated solely with GlenX?  I'm gonna say no, but I ask mostly because of their logo design and their colors.  Do we want to be similar?  Completely different?
Do you guys know any companies that are similar to us?  I'd love to see what other people are doing.

Well, first for terminologies sake we aren't intending this organization to turn into a revenue generator so it's not really "clients" that we are speaking to.  That said, answers below:

It is public facing. It will be the start of our "brand" so yes it will be re-used for all types of material if we are successful.
We are a community of technologists who want to strengthen that community with a diverse group of people eager to learn, educate, educate, and support the Roaring Fork Community with technical expertise. We want to be a voice for technology industries in the valley and to support business and entrepreneurship.  How we do this is not totally defined yet but that is the gist.
No we don't want to be tied too tightly with GlenX other than that they are becoming the place where we meet. We are different but we do share some common interests in the area of community building, education, and fostering healthy work environments.
Hmm... not really. The Aspen Entrepeneurs I view as like a sister organization but they are solely focused on entrepeneurship where we are the technology arm of the valley. I like to think that Aspen Entrepeneurs and GlenX are the business builders while we are the implementers... We get things done to support business. This may change as more technology centric businesses come to the valley but for now that's the situation.

Keywords:

community network
build
create
support
educate
grow

@aleecodes - We should probably kick this up again with the Career Fair coming up.

Yep, that sounds good.  Let me know what works.  I'm free any day after
5:30... including tomorrow?
On Thu, Feb 22, 2018 at 10:00 PM, Justin Lewis<EMAIL_ADDRESS>wrote:

@aleecodes https://github.com/aleecodes - We should probably kick this
up again with the Career Fair coming up.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RoaringForkTech/roaringforktech/issues/3#issuecomment-367910365,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AedMCLQPhcazhgBoM3H7RK_yXnXpNvhjks5tXkYFgaJpZM4RI_mO
.

--
(Ms.) A. Lee Russell
Graphic Designer
www.aleerussell.com http://www.aleerussell.com/
Behance http://be.net/AdrienneRussell
Please think about the environment before printing out this email


feat(dyn-abi): DynSolType::coerce_str

Motivation
Port of ethabi::Tokenizer, with extra features

Solution

PR Checklist

[x] Added Tests
[x] Added Documentation
[x] Breaking changes

Added in 0e974a13502f264c4ded94d36395123b3fe628e0 @prestwich

perfection


Update config around production-like environments

I understand stuff is changing real soon with #59 but I was struggling with getting staging setup to behave exactly like production in terms of fingerprinting, minifying etc right now.
There are a number of other options that are required in ember-cli if a build exactly the same as --environment production is desired, which i've now added to the readme.

Thanks for improving the README! Unfortunately this is still a pain to do in ember-cli and also other addons are a problem with this approach because they can't be forced to add productionLike assets via the app's Brocfile (ember-faker is an example). Bloats the build but does not change the app's behaviour much of course.
Would be great if you could also add the vendorFiles-property which is needed to add the production like builds for handlebars and ember itself for vendor.js:
  vendorFiles: {
    'handlebars.js': {
      staging:  'bower_components/handlebars/handlebars.runtime.js'
    },
    'ember.js': {
      staging:  'bower_components/ember/ember.prod.js'
    }

Think there's an bunch of issues in the ember-cli repo around multiple environments so hopefully there will be a simpler solution soon.
Just pushed up the vendorFiles addition.

Actually, is adding vendorFiles necessary? Adding it breaking ember build for me.

Ah I don't have handlebars.

Thx again! :+1:


Custom Icon's text fontSize.

now the text's font size is hard coded as 12,
      <View style={{ paddingTop: 5 }}>
        <Text style={{ fontSize: 12, color: color }}>{label}</Text>
      </View>

I think it's better to add a prop for the text style.

@nuqiewuoz completely agree, the new version let's you customize everything. the api has been changed alot. try it and give me some feedback. closing this ticket.


Protocol support http2 stream

Issues associated with this PR
Protocol support http2 stream

Codecov Report

Merging #1073 into master will decrease coverage by 0.35%.
The diff coverage is 3.14%.

@@            Coverage Diff             @@
##           master    #1073      +/-   ##
==========================================
- Coverage   56.08%   55.72%   -0.36%
==========================================
  Files         246      246
  Lines       23073    23205     +132
==========================================
- Hits        12941    12932       -9
- Misses       8974     9112     +138
- Partials     1158     1161       +3

Impacted Files
Coverage Δ

pkg/module/http2/frame.go
84.17% <ø> (-0.31%)
:arrow_down:

pkg/module/http2/h2c/h2c.go
10.25% <ø> (ø)

pkg/module/http2/mhttp2.go
0.00% <0.00%> (ø)

pkg/module/http2/server.go
81.70% <ø> (-0.22%)
:arrow_down:

pkg/module/http2/write.go
90.00% <ø> (ø)

pkg/proxy/downstream.go
36.78% <0.00%> (ø)

pkg/proxy/proxy.go
7.87% <0.00%> (-0.20%)
:arrow_down:

pkg/module/http2/transport.go
78.45% <100.00%> (-0.46%)
:arrow_down:

pkg/stream/stream.go
33.33% <0.00%> (-13.34%)
:arrow_down:

... and 2 more

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 e280c38...64575c9. Read the comment docs.


Allow finance user to add the current usd rates when we receive a payment.

Is your feature request related to a problem? Please describe.
We want to capture the USD -> RS rates we received from the bank when we get the payment. It will help us to get the total amount in rupees when we do the calculations.
Describe the solution you'd like

Add one column in the invoice table with name conversion_rate. It will take a float value & can be nullable.
It will be visible when the invoice payment is international

@rathorevaibhav Is this fix updated on UAT? Are there any form fields updated for this? Or this is only updated in DB for calculations?

@mohitsharma-22 this is related to the conversion rate field. If you can test that is working fine, then we can close this.

@pankaj-ag any thoughts on this?

@mohitsharma-22 now you should see two columns.
conversation rate diff
and conversation rate

@pankaj-ag Currently it showing only one column.


The server crashed when using dispenser

The server crashed when the dispenser was activated, no matter what items were inside.
I am using 1.20.4, and the mod version is Server Hats 1.20 - 0.16
I don't know if that is because I am using incompatible mods or the version is just wrong.
I removed the mod and the dispenser is good.
These are the other mods I am using:
MCDRcommandFabric-1.20.4-v1.2.1.jar
SecureExplosion-fabric-1.20.2-1.0.jar
entityculling-fabric-<IP_ADDRESS>-mc1.20.4.jar
essential_commands-0.35.0-mc1.20.4.jar
fabric-api-0.91.3+1.20.4.jar
fabric-carpet-1.20.3-1.4.128+v231205.jar
ferritecore-6.0.3-fabric.jar
lithium-fabric-mc1.20.4-0.12.1.jar
memoryleakfix-forge-1.17+-1.1.5.jar

Looks like a duplicate of #11


feature request: increase main contents max width

Actual Behaviour
After collapsing sidebars, there are still quite a lot of blank spaces on both sides of the page, so the table in the doc actually presents in a kind of awkward way (one sentence being broken into several lines). So I think it might be better if we could also increase main contents' max width, so the presence of table could be better

Hey @Yiyiyimu , could you provide a link to where this table is, just so that people can find this section easily.
And, is this problem with every table in the docs or for just this one ?

@1502shivam-singh Thanks for the remind! The link to the screenshot is https://apisix.apache.org/docs/apisix/admin-api#route, and yes, that's the problem for all over the documentations.

Working on it

@Yiyiyimu have a look to this and compare
https://apisix-website-sidebarfix.netlify.app/docs/apisix/admin-api

now:

also while decreasing right side space , not getting the desired result, still trying for right side

Hey @iamayushdas. I guess what @Yiyiyimu is talking about is increasing the overall width of the main content on this page and elsewhere where there are tables, as in using a small part of the unused space on the right (or left, keeping proportions) to increase the overall width of the table for not so congested text in the table fields.
My recommendation would be to try to use some space from the right side (or left), to increase the width of the table and relieve the congestion when sidebar is closed.

Also, something I noticed @Yiyiyimu, the margin from the left in your provided shot, is way more than on my system (Just thinking, maybe I have a small screen 😅). Have you zoomed out in your browser ? maybe check that.

But their is something bad bad, that it has same configuration as docusaurus but,
Many of its configs are not properly working in our website, like collapsing sidebar is not smooth, page slides up a bit while toggling sidebar.

But their is something bad bad, that it has same configuration as docusaurus but,
Many of its configs are not properly working in our website, like collapsing sidebar is not smooth, page slides up a bit while toggling sidebar.

Yes, I saw another issue related to scroll snapping. Try solving this one first, we will look into those later maybe.

Yes

Also, something I noticed @Yiyiyimu, the margin from the left in your provided shot, is way more than on my system (Just thinking, maybe I have a small screen 😅). Have you zoomed out in your browser? maybe check that.

No zoom out when make that screenshot. Maybe I indeed have a larger screen 🤣

No zoom out when make that screenshot. Maybe I indeed have a larger screen 🤣

Damn 😎
On my laptop

Damn 😎
On my laptop

Lol envy u 🤣
Yes there would be less blank space on the smaller screen, but the table is still lack of readability.
It seems docusaurus would make the last column takes larger space (I guess it takes as granted that the last column would be the description). So maybe, I say maybe we could move the description to the last column. Maybe it could get better looking.
I'll appreciate it if you could give it a test on the order switch~

Yes there would be less blank space on the smaller screen, but the table is still lack of readability.

Yup true.

It seems docusaurus would make the last column takes larger space (I guess it takes as granted that the last column would be the description). So maybe, I say maybe we could move the description to the last column. Maybe it could get better looking.
I'll appreciate it if you could give it a test on the order switch~

Ayush is working on this I guess. @iamayushdas maybe try this.

Yes there would be less blank space on the smaller screen, but the table is still lack of readability.

Yup true.

It seems docusaurus would make the last column takes larger space (I guess it takes as granted that the last column would be the description). So maybe, I say maybe we could move the description to the last column. Maybe it could get better looking.

I'll appreciate it if you could give it a test on the order switch~

Ayush is working on this I guess. @iamayushdas maybe try this.

Sure @1502shivam-singh

Many of its configs are not properly working in our website, like collapsing sidebar is not smooth, page slides up a bit while toggling sidebar.

Guys I think sidebar movement is now smooth too, after setting max-width width attrib. to the doc-container. Recommend you all to check it out to confirm.

Fixed confirm. Issue closed.

I guess I commented in the wrong place, my apologies 😅. Wasn't this issue related to table widths and all.
Are you fine with them now , as you closed this?

@1502shivam-singh Sorry my bad 🤣 Thanks for remind


fix issue #2778

Pull Request Checklist:

[x] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[x] Passing Jenkins Build

[x] Peer Code review and approval

Positive Test Case

[Enter positive test case here]
Added check to only further check whether user is over quota when user has a UserQuota foreign key relation; added debug logging when exception is raised from email sending or when user does not have a UserQuota foreign key relation; added a management command to fix UserQuota foreign key relation for users which can be run as needed, e.g., when we get to know some users are missing UserQuota relation from the log.

@aphelionz I have requested your review for this. This will be targeted as a hotfix 1.15.3.

Build finished.

[ ] Are there existing automated tests that cover this?
[ ] Has the positive test case been run by @Lizabrazil to ensure no doc changes are necessary?

@aphelionz This is a bug fix, so no doc changes are necessary. In terms of automated tests, I am not sure what needs to be covered for this bug fix.  Checking whether UserQuota model exists for all users? The test will fail until we run the management command to fix missing UserQuota problem, although we are not sure what caused missing UserQuota problem in the first place, I don't think we will run into this issue again now that the phased quota code release has stabilized at this point. We don't have tests to check whether all linked models to users exist or not, so I feel we don't have to add a test just to cover this. I'd suggest just to go with this without adding tests at this point, and if this missing UserQuota problem crops up again in the future, I will need to investigate and possibly add a test to cover this then. Let me know what you think. If you agree with my suggestion, I'll merge this.

@aphelionz Agreed creating a Jenkins task is better. However, this task needs to be run after release 1.15.3. Can you or someone else who is involved with production release take care of creating such a management command and schedule it to run after release 1.15.3? Can I merge this PR then now that no further code will be added in this PR?

@hyi this script should also be run on a staging machine when we test 1.15.3 on beta to make sure that it fixes the problem users there.

@hyi It doesnt take long to create it. If you scaffold it Phuong or I will validate it and run it when it's time to do the hotfix.

@aphelionz @dtarb I created two Jenkins task to run this management command, one on beta, one on www. There are here: http://ci.hydroshare.org:8080/view/05. Quota/job/fix-user-quota-model-www/ and http://ci.hydroshare.org:8080/view/05. Quota/job/fix-user-quota-model-beta/ Feel free to modify/validate as needed. I am merging this PR now.

@hyi Thank you for bearing with me on that

Build finished.


bug: React NavContext always goes back to default href

Bug Report
Ionic version:

[x] 4.11.4
Current behavior:
If you use an IonBackButton, it won't display unless you give it a default href. But if you try to go back, it will always go to the default.
Expected behavior:
Clicking the back button takes you back to the last URL in the history.
Steps to reproduce:
Add an IonBackButton to the page, give it a default href, navigate around the page, click on the back button. Note that it goes to the default href.
Related code:
The click handler for IonBackButton is here. It gets the navigation context and uses it by calling goBack', passing the default href. The NavContext's goBack` function is implemented here. Note that if a default href is passed, it always goes there rather than checking to see if history is available and going to the last thing on the stack.
In the Angular version, implemented here, the check is reversed and it goes back in the history if there is any history in the stack.

insert short code snippets here

Other information:
I'll start working on a PR for this, but I'm a little confused about how to make the same check that the Angular code makes to see if there is any available history. I also haven't looked into it yet, so maybe it's easy but if there is a quick answer then a comment in here would help push me in the right direction.
Ionic info:

Ionic:

   Ionic CLI       : 5.4.4 (/usr/local/lib/node_modules/ionic)
   Ionic Framework : @ionic/react 4.11.4

Capacitor:

   Capacitor CLI   : 1.3.0
   @capacitor/core : 1.3.0

Utility:

   cordova-res : not installed
   native-run  : not installed

System:

   NodeJS : v12.12.0 (/usr/local/Cellar/node/12.12.0/bin/node)
   npm    : 6.11.3
   OS     : macOS Catalina

@aub are you using an IonReactRouter? The NavContext is overwritten in IonReactRouter and does much more in-depth looking about where it should go back, taking into consideration the page that created it, the history, and falling back to defaultHref if it can't determine.

@elylucas Blargh, ok now it seems to be working fine.... maybe something changed there between 4.11.3 and 4.11.4? Still, it seems like the default handler ought to be changed so it goes back if there is any history right?

There was quite a bit a work around this between .3 and .4, so something might of happened.
I think the problem with blindly using the history API to go back is you don't know where that will take you. If you land on a page from another website, hitting the IonBackButton could take you back to that previous site, which would not be the desired outcome.

Gotcha, ok. I'll close this then, apologies for the distraction.


Checksumming a list of files in parallel

Hi - is there a way I'm not thinking of to use mpifileutils tools to md5sum a list of files in parallel.  I recently ended up needing to use xargs to do checksum a list of ~50 files on a single compute node, but it would have been nicer to use something like dparallel to checksum that list across multiple nodes.  There's not much dparallel documentation, but from what I see I'm thinking dparallel is intended for doing the same thing in parallel on several systems as opposed to doing the same task to a list of files that gets split up.  Thanks!

Hi @shawnahall71 , sorry for the slow reply.  Yes, dparallel is intended to support something like that.  It is experimental, though, because it requires a fork/exec to execute the command, and not all MPI libraries support fork/exec from an MPI process.
I'm not sure whether this particular use case would work, but I can take a look.
Did you already find a dparallel command that works?

Hi @adammoody - no worries - this wasn't a high priority issue.  No, I never found the right syntax for a dparallel command to do something like this.  I ended up using a xargs command like this one: https://stackoverflow.com/a/22822755 which gave me decent single node parallelism.  I'm just curious for the next time I do something like this if there's a way to do it with a mpifileutils tool.
FWIW, we generally use Intel MPI.  We'll occasionally get requests to move data on behalf of our users, and when I can I like to use dcp for the copy.  It's also common to be asked to checksum the data.

The dparallel code looks to be incomplete for this kind of operation currently, though that's what it is intended for.
However, dfind supports a limited syntax for an exec-style operation.  I was able to get close with this command:
.dfind path/to/walk --type f --exec md5sum {} \;

The argument parsing currently segfaults if it fails to find the trailing ";".  The user interface could be improved in that regard.
Another problem is that it outputs status messages during the walk that will be prepended to the output from the command you are running.
[2020-02-20T12:28:01] Walking /path/to/walk
[2020-02-20T12:28:01] Walked 32 items in 0.035808 secs (893.664793 items/sec) ...
[2020-02-20T12:28:01] Walked 32 items in 0.035910 seconds (891.107550 items/sec)
a0a70868c128191b53d59a1b3ea1c614  /path/to/walk/foo.txt
18347b4442e56de09ca1530bd1e1ad18  /path/to/walk/bar.txt

However, it did seem to work.

That's still a pretty good alternative - didn't think of that.  Thanks!

As for checking data after a copy, our team also runs dcmp on both source and destination.  This compares bytes between source and destination files and reports any differences.  A good check to verify that the copy succeeded.

True.  While I wished we used mpifileutils more for "internal" transfers, several times that I've used the tools are for more geographically distant transfers where a dcmp would mean a second read of the data so I've used dcmp -l in those cases.  Plus those cases often incur a financial cost for a second read (e.g. cloud egress costs).


avoid "by zero" exception when all request are error

Please answer these questions before submitting pull request

Why submit this pull request?

[x] Bug fix

[ ] New feature provided

[ ] Improve performance

Related issues

Bug fix

Bug description.
when all request are error,this will throw "by zero" exception which is not desired,so i fix them by add some "if else" to avoid,i have comment it in #1018

How to fix?
add "if else"

New feature or improvement

Describe the details and related test reports.

Coverage decreased (-0.002%) to 19.376% when pulling b42afb11ec419b787083cf7a2abedb8aff2fd407 on candyleer:all_request_error into 90fb7b7149b911e749f422d39f5aa077a983931a on apache:master.


#21 Adding role assignment which might have been …

…done manually previously.

Codecov Report

Merging #62 (6e32fb3) into main (8f32003) will increase coverage by 0.25%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main      #62      +/-   ##
==========================================
+ Coverage   52.99%   53.24%   +0.25%
==========================================
  Files          16        5      -11
  Lines         217      154      -63
  Branches       22       22
==========================================
- Hits          115       82      -33
+ Misses         94       72      -22
+ Partials        8        0       -8

Flag
Coverage Δ

frontend-code
?

infrastructure-website
53.24% <50.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

infrastructure/website/src/resources.ts
89.36% <50.00%> (ø)

frontend/code/src/Header.tsx

frontend/code/src/index.tsx

frontend/code/src/sections/common.tsx

frontend/code/src/ScrollTabs/useScrollSpy.ts

frontend/code/src/App.tsx

frontend/code/src/reportWebVitals.ts

frontend/code/src/ScrollTabs/NavBar.tsx

frontend/code/src/sections/Who.tsx

frontend/code/src/ScrollTabs/index.ts

... and 12 more


fam14

Manufacturer:
Model: fam14
Production date/period:
Link to product:

FAM14 can not be controlled and do not send any data from itself. So there is no need for implementation.


Unable to run dev or publish after upgrade to v2

🐛 Bug report
Describe the bug
I use pure JavaScript
Run wrangler dev and it shows this error
❯ wrangler login
 ⛅ wrangler 2.0.2
-------------------
Attempting to login via OAuth...
Successfully logged in.
❯ wrangler dev
 ⛅ wrangler 2.0.2
-------------------
▲ [WARNING] Processing wrangler.toml configuration:

    - Deprecation: "zone_id":
      This is unnecessary since we can deduce this from routes directly.

⬣ Listening at http://localhost:8787
✘ [ERROR] Error on remote worker: ParseError: Received a bad response from the API

      at throwFetchError
  (/Users/loll/.asdf/installs/nodejs/16.13.2/.npm/lib/node_modules/wrangler/wrangler-dist/cli.js:105919:17)
      at fetchResult
  (/Users/loll/.asdf/installs/nodejs/16.13.2/.npm/lib/node_modules/wrangler/wrangler-dist/cli.js:105892:5)
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
      at async createPreviewToken
  (/Users/loll/.asdf/installs/nodejs/16.13.2/.npm/lib/node_modules/wrangler/wrangler-dist/cli.js:108261:29)
      at async createWorkerPreview
  (/Users/loll/.asdf/installs/nodejs/16.13.2/.npm/lib/node_modules/wrangler/wrangler-dist/cli.js:108276:17)
      at async start
  (/Users/loll/.asdf/installs/nodejs/16.13.2/.npm/lib/node_modules/wrangler/wrangler-dist/cli.js:108722:16)
  {
    text: 'Received a bad response from the API',
    notes: [
      {
        text: 'Uncaught Error: Some functionality, such as asynchronous I/O, timeouts, and
  generating random values, can only be performed while handling a request.\n' +
          '  at line 0\n' +
          ' [code: 10021]'
      }
    ],
    location: undefined,
    kind: 'error',
    code: 10021
  }

Environment and versions
Fill out the following information about your environment.

operating system: Mac OSX 12.3.1 (Arm)
output of wrangler -V: 2.0.2
output of node -v: v16.13.2
content of wrangler.toml:

## Wrangler.toml

account_id = "asdfasdf"
workers_dev = true
zone_id = "asdfasdf"
compatibility_date = "2022-05-11"
main = "dist/index.js"

[env.sandbox]
name = "www-sandbox"
vars = { ENVIRONMENT = "sandbox" }
route = "*www.xxx.io/*"

[env.dev]
name = "www-dev"
vars = { ENVIRONMENT = "dev" }
route = "*www.xxx.io/*"

package.json
{
  "private": true,
  "name": "www",
  "version": "1.0.0",
  "main": "./dist/index.js",
  "scripts": {
    "format": "prettier --write '**/*.{ts,js,css,json,md}'",
    "eslint-fix": "eslint --fix **/*.ts",
    "set-env": "./env.sh $ENV",
    "build": "webpack"
  },
  "devDependencies": {
    "@babel/core": "^7.16.0",
    "@babel/eslint-parser": "^7.14.3",
    "@babel/preset-env": "^7.14.2",
    "babel-loader": "^8.2.2",
    "dotenv-webpack": "^7.0.3",
    "eslint": "^7.27.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-import": "^2.23.4",
    "eslint-plugin-prettier": "^3.4.0",
    "eslint-webpack-plugin": "^2.5.4",
    "prettier": "^2.2.0",
    "source-map-loader": "^3.0.0"
  },
  "dependencies": {
    "@cloudflare/workers-types": "^3.10.0",
    "typescript": "^4.6.4",
    "dotenv": "^9.0.2",
    "wrangler": "^2.0.2",
    "eslint-plugin-babel": "^5.3.1",
    "webpack": "^5.60.0",
    "webpack-cli": "^4.9.1"
  }
}

Can you try running in "local" mode - we might get a more helpful error message...
wrangler dev --local

Oh! I see that you have no custom build section in your wrangler.toml file, even though it appears that your Worker code is being generated by webpack and outputting to dist/index.js. I don't suppose that this file has not yet been generated?
If you add the build.command setting to wrangler.toml then wrangler dev will run this command before trying to preview the Worker.

@petebacondarwin I have the same problem and I have:
[build]
command = ""

also I tried:
[build]
command = "yarn build"

@igorbelikov could you please file a separate issue? It looks to be a different error. Please share a small reproducible demo. From the look of the error, it appears you're not exporting a default { fetch ()... } handler? Are you using addEventListener instead? Please share logs and as many details as you can in a new issue.

@petebacondarwin this doesn't appear to be a problem with finding an entry point. This kind of error usually happens when you call something like setTimeout outside the scope of a request.
@ookangzheng It's concerning that you're saying this code was working on wrangler 1 and not wrangler 2. Could you share a repo with a minmal reproducible example? Remove as much code as possible that still leaves this error and we'd be happy to investigate further.

Hi,
This issue has been resolved by removing webpack and switch to Parceljs v2 😅
Cuz webpack obfs and minify javascript cuz that issue.

Thanks for the update. Did you know that as of 2.0.0 Wrangler will do bundling for you (using esbuild). So unless you are doing something custom, you could just point main at the actual source entry-point file.

It would be good to know what aspect of the webpack output made the code invalid as a Worker.

Closing as this issue appears to be resolved.


Usability issues

These are not blockers, but would be good to fix soon to avoid technical debt:

[x] #34
[x] #37
[x] #35
[ ] #31
[x] #32

Is this issue safe to close? The last issue left is https://github.com/lcompilers/lc/issues/31, but it is noted at https://github.com/lcompilers/lc/issues/94.

Thanks!


Broken link "Conversations"

en-us:https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-telemetry-analytics-queries?view=azure-bot-service-4.0

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

ID: cdfeb662-d60b-d832-9290-c4d03233e84d
Version Independent ID: e736a8ef-67cd-72b1-9d74-d542beeefed8
Content: Analyze the telemetry data from your bot - Bot Service - Bot Service
Content Source: articles/v4sdk/bot-builder-telemetry-analytics-queries.md
Service: bot-service
GitHub Login: @WashingtonKayaker
Microsoft Alias: kamrani

Thank you for reporting this, the AKA link was missing the last character, fixed. This link now works.


Description of computing block data

a tvm.compute support only point to point description (ignore the tensor-compute since it is incompatible with inferbound and split).   For new incomming hardwares , such as arm tpu or huawei Ascend,   the instructs usually operate on blocks of buffer. only the address and range of the buffer is concerned.  i want to develop a new compute to descript  a block buffer operation

please open a new thread in discuss forum


IGNITE-13873 Milti-cell transaction changes may be not visible (during some time) after the Cellular switch (WITH DUCKTAPE)

Thank you for submitting the pull request to the Apache Ignite.
In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:
The Contribution Checklist

[ ] There is a single JIRA ticket related to the pull request.
[ ] The web-link to the pull request is attached to the JIRA ticket.
[ ] The JIRA ticket has the Patch Available state.
[ ] The pull request body describes changes that have been made.
The description explains WHAT and WHY was made instead of HOW.
[ ] The pull request title is treated as the final commit message.
The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
[ ] A reviewer has been mentioned through the JIRA comments
(see the Maintainers list)
[ ] The pull request has been checked by the Teamcity Bot and
the green visa attached to the JIRA ticket (see TC.Bot: Check PR)

Notes

How to Contribute
Coding abbreviation rules
Coding Guidelines
Apache Ignite Teamcity Bot

If you need any help, please email<EMAIL_ADDRESS>or ask anу advice on http://asf.slack.com #ignite channel.

re-PR-ed as https://github.com/apache/ignite/pull/8822


Angular 7 compatibility

Hey there. Thanks for this library.
I cannot upgrade to angular 7 because I get a compatibility error while running 'ng update'. ng-lz-string is preventing the upgrade.
Do you plan on supporting angular 7? thanks

It's quite easy to replicate this in Angular 7 without the whole package (added the object method as it saves me boilerplate json code)
npm i lz-string -S
npm i @types/lz-string  -D

new file: compression.service.ts
import { compress, decompress } from 'lz-string';

export class CompressionService {
  compressString(data: string): string {
    return compress(data);
  }
  compressObject(data: any): string {
    return compress(JSON.stringify(data));
  }

  decompressString(compressed: string): string {
    return decompress(compressed);
  }
  decompressObject(compressed: string): any {
    return JSON.parse(decompress(compressed));
  }
}

Add a declaration in your main module
@NgModule({
  declarations: [
    AppComponent,
    ...
    CompressionService
  ],

Add test coverage file compression.service.spec.ts (replace mock users with your own dummy object)
import { MockUsers } from '../../mock/data/mockUsers';
import { IUser } from '../models/IUser';
import { CompressionService } from './compression.service';

describe('CompressionService', () => {
  const compressionService = new CompressionService();

  it('should compress and decompress a string correctly', () => {
    const testString = 'This is going to be compressed';
    const expectedLength = 18;
    const compressed = compressionService.compressString(testString);
    const decompressed = compressionService.decompressString(compressed);
    expect(compressed.length).toEqual(expectedLength);
    expect(decompressed).toEqual(testString);
  });

  it('should compress and decompress an object correctly', () => {
    const testUser: IUser = MockUsers.user1;

    const compressed = compressionService.compressObject(testUser);
    const decompressed: IUser = compressionService.decompressObject(compressed);

    expect(decompressed).toEqual(testUser);
  });
});

That's it! Enjoy :-)

Hi @DavidDon13,
Apologies for not being able to respond to your comment. As I had stopped watching this for a long time. However, you could use it as @zebslc pointed out.
Thanks @zebslc for your inputs.
Let me know if I can be of any help.
Happy Coding :-)