feat: add shared mutable access from external contract #5689

Resolves #5689

Benchmark results
Metrics with a significant change:

batch_insert_into_append_only_tree_32_depth_ms (2048): 971 (-48%)
batch_insert_into_append_only_tree_32_depth_ms (4096): 1,926 (-28%)
batch_insert_into_append_only_tree_32_depth_hash_ms (2048): 0.463 (-48%)
batch_insert_into_indexed_tree_20_depth_ms (2048): 1,451 (-40%)
batch_insert_into_indexed_tree_20_depth_ms (4096): 2,885 (-26%)
batch_insert_into_indexed_tree_20_depth_hash_ms (2048): 0.505 (-39%)
l2_block_public_tx_process_time_in_ms (32): 20,802 (-20%)
l2_block_processing_time_in_ms (32): 5,298 (-28%)
l2_block_processing_time_in_ms (64): 10,037 (-16%)
note_trial_decrypting_time_in_ms (32): 47.1 (+216%)

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.
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,808
6,808
6,796

l1_rollup_execution_gas
587,289
587,289
587,277

l2_block_processing_time_in_ms
1,401 (-3%)
:warning: 5,298 (-28%)
:warning: 10,037 (-16%)

note_successful_decrypting_time_in_ms
244 (+2%)
538 (+6%)
962 (+8%)

note_trial_decrypting_time_in_ms
48.1 (+15%)
:warning: 47.1 (+216%)
77.6 (-28%)

l2_block_building_time_in_ms
9,702 (+1%)
37,875 (-12%)
75,624 (-1%)

l2_block_rollup_simulation_time_in_ms
9,514 (+1%)
37,183 (-13%)
74,277 (-1%)

l2_block_public_tx_process_time_in_ms
5,313 (+1%)
:warning: 20,802 (-20%)
41,682 (+1%)

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

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
15,657 (+3%)
30,096 (+4%)

note_history_successful_decrypting_time_in_ms
1,170 (-5%)
2,279 (-4%)

note_history_trial_decrypting_time_in_ms
41.8 (-31%)
80.9 (-21%)

node_database_size_in_bytes
18,735,184
35,221,584

pxe_database_size_in_bytes
29,859
59,414

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

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
149 (-2%)
44,561
26,424

private-kernel-inner
155 (-1%)
72,188
26,424

private-kernel-ordering
109
51,090
39,297

base-parity
51.9
128
311

root-parity
9.85
1,244
311

base-rollup
12,391 (-2%)
110,820
957

root-rollup
48.4
4,551
821

public-kernel-app-logic
81.1 (-3%)
48,151
40,933

public-kernel-tail
121 (-2%)
53,644
7,385

merge-rollup
11.9 (+16%)
2,760
957

public-kernel-teardown
78.2 (-1%)
48,151
40,933

public-kernel-setup
77.2
48,151
40,933

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

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

batch_insert_into_append_only_tree_16_depth_ms
10.9 (-7%)
17.6 (-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.8
31.6
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.638 (-7%)
0.543 (-7%)
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
51.4 (-3%)
79.9 (-12%)
259
502 (-1%)
:warning: 971 (-48%)
:warning: 1,926 (-28%)
N/A

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

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.528 (-2%)
0.494 (-11%)
0.472
0.469
:warning: 0.463 (-48%)
0.461 (-28%)
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
60.2 (-2%)
118 (-9%)
374 (-1%)
740 (-1%)
:warning: 1,451 (-40%)
:warning: 2,885 (-26%)
N/A

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

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.534 (-2%)
0.535 (-8%)
0.509
0.510
:warning: 0.505 (-39%)
0.505 (-25%)
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.2 (-3%)

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

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.588 (-3%)

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
41,005
528,889

Transaction size based on fee payment method

Metric
native fee payment method
fpc_public fee payment method
fpc_private fee payment method

tx_with_fee_size_in_bytes
905
1,161
1,377

Transaction processing duration by data writes.

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

tx_pxe_processing_time_ms
1,148
783 (-1%)
3,409 (+1%)

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

tx_sequencer_processing_time_ms
453 (-3%)
307 (+1%)
814
391 (-1%)
1,352
461


Use of op cli for vs-code devcontainer setup.sh script

Summary
It appears that there are no docs on using the op cli for injecting secrets in a devcontainer setup.sh script (the "postCreateCommand" in the devcontainer.json). It would be helpful to have docs on best-practices for that scenario.
Use cases
I currently have the following in my setup.sh script for my devcontainer:
curl -sS https://downloads.1password.com/linux/keys/1password.asc | \
  sudo gpg --dearmor --output /usr/share/keyrings/1password-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/$(dpkg --print-architecture) stable main" |
  sudo tee /etc/apt/sources.list.d/1password.list
sudo mkdir -p /etc/debsig/policies/AC2D62742012EA22/
curl -sS https://downloads.1password.com/linux/debian/debsig/1password.pol | \
  sudo tee /etc/debsig/policies/AC2D62742012EA22/1password.pol
sudo mkdir -p /usr/share/debsig/keyrings/AC2D62742012EA22
curl -sS https://downloads.1password.com/linux/keys/1password.asc | \
  sudo gpg --dearmor --output /usr/share/debsig/keyrings/AC2D62742012EA22/debsig.gpg
sudo apt update && sudo apt install 1password-cli
eval $(op signin)
# I then have to manually type in 4 items of information in order to complete the login

AWS_ACCESS_KEY_ID=`op read op://Private/AWS/username`
AWS_SECRET_ACCESS_KEY=`op read op://Private/AWS/credential`
AWS_DEFAULT_REGION=`op read op://Private/AWS/region`
mkdir -p ~/.aws/
cat <<-END > ~/.aws/credentials
[default]
aws_access_key_id = $AWS_ACCESS_KEY_ID
aws_secret_access_key = $AWS_SECRET_ACCESS_KEY
region = $AWS_DEFAULT_REGION
END
chmod 600 ~/.aws/credentials

Proposed solution
It would be great to have some docs on whether the above method is best-practices or whether there is a better way. AFAIK, the VS Code extension cannot be used during the postCreateCommand job, but maybe I'm wrong?
Is there a workaround to accomplish this today?
See above

Hej @nick-youngblut
I came here from a google because I thought the same thing about taking AWS credentials from 1password to a devcontianer
but my idea is try do this with plugin https://developer.1password.com/docs/cli/shell-plugins/aws/  (I haven't tested this yet)
maybe this help you or have you already rejected this solution?

Hey @nick-youngblut! Thanks for filing this issue. I'm not entirely sure if VS Code extensions can be set up this way, however if you're trying to use the AWS CLI you might be better off with what @rafalmasiarek has suggested by using our Shell Plugin for AWS. I'm curious to hear if this works for you, or if there's another scenario you're trying to make work. Thank you!

Thanks @rafalmasiarek and @jodyheavener for the feedback! I'll have to do some experimentation to see what works best

Hi there! We're just doing some housekeeping and it looks like this issue is either largely resolved or not within scope of the project. If you feel this is incorrect please re-open or file a new issue. Thank you!


Improved LAMB optimizer.

Using Fused Adam with weight decay kernel.

Observed ~100ms per step savings while training BERT(large) on single GPU.

Results training Bert-Large Trainable params: 334,882,823 (execution time in seconds) :

1xGPU/XLA/eager/10-epochs
1xGPU/XLA/non-eager/10-epochs
CPU/eager/1-epoch

PY LAMB
4936.97
4825.38
14165

CUSTOM LAMB
4332.60
4345.20
12249

Speedup
12.24%
9.95%
13.53%

@spidyDev thank you for the pull request! you might want to modify tools/install_so_files.py to fix the pytest error.
Also could you provide the speedup in percent of total time? For the CPU and the GPU version? With eager, no eager and XLA? See #1156
Would it be possible to keep the python version too? See how we do for activations. It's to be able to run the optimizer on TPUs and ROCm. It's also useful because when we compile things against a specific tensorflow version and we then cannot use it on any other tensorflow version. For example, people compiling TF from source won't be able to use your implementation.
As you can see, using a custom op for something in tensorflow addons has a high UX and maintainance cost. We need to make sure the speedup is worth it before accepting to maintain a custom op.

@gabrieldemarmiesse  Thanks for all the pointers. Will get back with more info/updates.

@gabrieldemarmiesse  added some number in the description. Thnx !!

@tensorflow/sig-addons-maintainers  are the speedup significant enough for merging? Even if we merge, is it worth it to have a C++ version? As only a minority of people in their sane mind would train a model on CPU and expect maximum speed.

@spidyDev , in the end, we'll keep the proposed CUDA implementation, but we'll prefer to keep the pure python implementation for CPU. @Squadrick proposed himself to review your pull request.

training_op_helpers.* aren't public in TF. Created a PR for making them public: https://github.com/tensorflow/tensorflow/pull/37873.
This PR is blocked until that is resolved.

@gabrieldemarmiesse @Squadrick Quick question about the comment "we'll prefer to keep the pure python implementation for CPU". Can you give some pointers how do we do this ? AFAIK , if we do not register a CPU kernel, TF is going to throw error:"No kernel registered"

@spidyDev , in theory, we'd like to do that but I have no idea how to do it in practice. I hope it's possible. We would need it too for activation functions.

@spidyDev Thank for your contribution.
@tomerk As this optimizer is used by the Tensorflow model SIG, if they are not interested to review these changes I will close the PR.
It is 1 year old and we don't have currently the bandwidth to maintain another custom ops.

Thanks you for the contribution. I suggest to move this PR to https://github.com/keras-team/keras-nlp


replication_reporter: Repair replication even if slave not configured.

It will still only attempt the repair if the global shard record has a MasterAlias specified.
Fixes #2162.

LGTM
Side note: should we disable InitTablet as master? I think it might still be useful. If we keep it, we should probably keep a test that does it that way...

The tabletmanager test still uses InitTablet as master. I didn't change those because they don't use InitShardMaster. There is also one test case in the reparent test that still uses InitTablet as master.

OK sounds good then. Is the travis failure for real?

Yes, I missed some tests in the first round of conversions because they had a newline after init_tablet(. I just pushed a fix and will wait for it to pass.


CyberArk Conjur logo fixes

The line thickness in Conjur is inconsistent. Could you please fix.
https://landscape.cncf.io/logos/cyber-ark-conjur.svg

Please also recreate the Neuvector SVG based on:
https://neuvector.com/wp-content/themes/neuvector/library/images/logo.png
https://landscape.cncf.io/logos/neu-vector.svg
And Nirmata creating a stacked version based on:
https://landscape.cncf.io/logos/nirmata-managed-kubernetes.svg
https://pbs.twimg.com/profile_images/862820392515194880/GX6wLOK1_400x400.jpg
https://www.nirmata.com/wp-content/uploads/2017/05/logo-white.png
Open Service Broker API based on:
https://www.cloudfoundry.org/wp-content/uploads/2012/02/osb_logo.png
https://landscape.cncf.io/logos/open-service-broker-api.svg
OpenTSDB:
https://camo.githubusercontent.com/3cb3883fc33352a5eed991ec7ecd03bc9f252f59/68747470733a2f2f7777772e7761766566726f6e742e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031372f30312f4f70656e545344422d4d6f6e69746f72696e672d34332e706e67
https://landscape.cncf.io/logos/open-tsdb.svg
Software AG
https://d3q0x13th15b8d.cloudfront.net/coupalink/assets/img/software-ag-logo.jpg

And please recreate http://romana.io/images/Logo.250.png as an SVG.

Closing for different issue.


Create the Resource Page

Create a new file in Resources folder named  resource.html, resource.css and resource.js.
Resource page should contain:

Navbar (already made)
Cards for the resources(you can find the resources under components>articles.
custom Scroll bar(already made)
Instead of Roadmaps as title git it Resources and Roadmaps
Link the resource.html file to the resoruces in the navbar section.
On clicking on the explore more button it should open the blogsCard.html

Design
Inspo: (You can refer to it and can make your own interpretations too, Creativity is welcomed.)

Please join the Discord to discuss design of the components.

Can you please assign me the task.

Hello @girlscript-asansol can you please assign me the task ?

@SatyajeetShinde Whats the update?

Hi, can you please assign me this issue?

@navaneethmanoj any updates? Are you on this yet?

The UI is completed. I have a few questions. Where in the discord server can I discuss it?

@navaneethmanoj you can write it out in #october-general. We'll get back to you as soon as possible.


pathlib for loader/utils.py

Checklist
GitHub

[ ] I've given this PR a concise, self-descriptive, and meaningful title
[ ] I've linked relevant issues in the PR body
[ ] I've applied the relevant labels to this PR
[ ] I've assigned a reviewer

PR contents

[ ] I've consulted ivadomed's internal developer documentation to ensure my contribution is in line with any relevant design decisions
[ ] I've added relevant tests for my contribution
[ ] I've updated the relevant documentation for my changes, including argparse descriptions, docstrings, and ReadTheDocs tutorial pages

Description

Linked issues

resolves 872

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

24 of 25 (96.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 70.114%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

ivadomed/loader/utils.py
24
25
96.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.005%

Covered Lines:
4115

Relevant Lines:
5869

💛  - Coveralls


Fix the msecs part printing of the time strings in the logs

Fixed the time printing for Connection logs so that the msecs part is correctly written.
fixes #892

Windows test FAILed.

Linux test FAILed.

Windows test PASSed.

Linux test PASSed.

Linux test FAILed.

Windows test PASSed.

Linux test FAILed.

verify-linux

Linux test FAILed.

Windows test PASSed.

Linux test PASSed.

Windows test PASSed.


Bug: 2 install_hooks bugs

Bug 1: Paths with ~ in them not getting expanded to the user home.
Example:
install_hooks(...)
with open("~/some/file.txt") as f:
    print(f.read())

The tilde wasn't being expanded and the wrong path was being read as a result (it was reading $CWD/~/some/file.txt)
Bug 2: Recursive call in DagsHubFilesystem.listdir() for passthrough paths:
If accessing a passthrough directory inside a mounted fs (e.g. something with site-packages), the listdir of the fs kept calling itself instead of passing through to the OS filesystem.
Example:
install_hooks(..., project_root=".")
print(os.listdir("./venv/site-packages"))

Reverted the fix for "bug" 1, because after discussion we realised that it might just be a bug of the calling library that it's trying to access ~/... paths, since regular open also doesn't expand them


osbuild-worker: add dnf-json error reason to depsolve job error

This would be amazing. ;)

Unrelated ostree failures, merging.


Making every URL like https://webpack.github.io/docs/webpack-dev-serv…

…er.html to work when you hit F5 on dev mode.
Today.. if you type npm start and navigate to, let's say, https://webpack.github.io/docs/webpack-dev-server.html, and then you hit F5, the page doesn't display.
Now it does.

Nice fix @andrerpena!


Add Out and Ref support for AnsiString and UnicodeString

@yzha @tijoytom @jkotas  PTAL. This should fix https://github.com/dotnet/corert/issues/3203


Fix for V50

This time, the patches are applied correctly, as well as fixing the problem present in the modpacks (where the shotgun doesn't even fire and gives an error).

This time you can't tell me it doesn't work because I tested both in a modpack of 120+ mods and in a brand new profile with only the modified mod

To be clear, there's some unrelated issue where the patches appear to have been applied but are not being used.
When logging patches the harmony instance knows about (GetPatchedMethods) I get this:
void ShotgunItem::ShootGun(UnityEngine.Vector3 shotgunPosition, UnityEngine.Vector3 shotgunForward), void StartOfRound::ChooseNewRandomMapSeed(), void GameNetcodeStuff.PlayerControllerB::ConnectClientToPlayerObject(), void GameNetworkManager::StartDisconnect()
However, extra logging on the immediately called patch functions doesn't get called so the patches must also not be getting called. It never actually reaches the code that was changed.
I want to say it's a dependency issue but then it wouldn't be able to tell me what it patched, it just doesn't want to work on my end.


Fix for issue 756

Hi team,
This PR is to solve the issue 'OpenAPI v2 converter: NullPointerException when schema field is missing in body parameter' as mentioned in #756
Please review the PR and merge the same.
Thanks,
Mohammed

This change looks good to me.
@ymohdriz Thank you for this contribution.
I recommend you to add a unit test to this PR.
As an example, I have created one https://github.com/jmini/swagger-parser/commit/3bc561478d22f3ce7a0d2fcdd9e08ee51a9a1e0f in my fork on top of your commit https://github.com/ymohdriz/swagger-parser/commit/3de9950fee6ac3597c6092ea62db6090a413d731.
It is simple: I have taken the example you have put in issue #756 and I add it as a new file:  modules/swagger-parser-v2-converter/src/test/resources/issue-756.yaml in the project. Then I have create a small test case (a new method) in the V2ConverterTest class that open the file and perform some assertion.
Without your fix I get the NullPointerException. With your fix I do not.
Can you please integrate this commit (or a similar one) in this Pull Request?

Hi @jmini,
Sure. I will add a unit test for this.
Thanks for the explanation.
Thanks,
Mohammed

Thanks a lot @ymohdriz and @jmini. Is a good solution.


Fix 6LoWPAN address compression

Should fix #629. The Source Address Mode (SAM) in the 6LoWPAN IPHC header was set to Compress (0b11), while it should have been Inline (0b00) when we inline the full IPv6 address.

bors r+


Can we add JSON return type as well?

@intergalacticalvariable

It should be easy to convert markdown to json. But Im too busy now. My be in two weeks i will have more time.

@Ashes47 Show me an example json converted website.

Sure, here is an example from one the repo's you listed as inspiration: https://github.com/hargup/reader#json-mode


iCubGenova01 - Fix configuration after nws/nwc update

This PR fixes some minor misconfigurations:

rename  wrappers/motorControl/head_mc-remapper.xml → wrappers/motorControl/head-mc_remapper.xml as required by icub_all_no_legs.xml
avoid loading the motor control wrapper for the legs in icub_all_no_legs.xml
avoid loading the wrapper wrappers/inertials/head-inertials_wrapper-deprecated.xml which does not exist

The robot has been tested after these changes.
@randaz81 Can you please check if these changes are all correct?

Thank you @pattacini @randaz81


Timezone issue

It's pretty simple, log are on local time, it's good, but monitors times are not. My monitoring tabs indicate date like 6/30/21 7:08am. But it's 9:08 in my timezone, the logs are fine. Plus the date format is US, not too bad but quit bugging from time to time. Could the app use system settings for it's displayed time ?

Indeed, I could see this in 3 places, feel free to tell me if there are more:

The "Last check" column
The "Last state" column
The "Last check" read-only field when editing a monitor

There is also the Date field in "Details"(https://i.imgur.com/I63yJ5n.png) windows. Obviously the hover information (https://i.imgur.com/cW94XE0.png) use the us date format too.
"last view" on favorite : https://i.imgur.com/9xaz79t.png and the hover information on a favorite too (https://i.imgur.com/Lt74Zfa.png).
I think that's all.

There is indeed a timezone issue with the date field for the image hover and details, but I'm not sure what  you mean about the date format. I guess it's using the system's date format, is your Windows in English?
On my end, dates are showing in French format (day/month/year) in all those places. Date edition fields are in year/month/day format for everyone because those are a pain to localize.

Well I just checked, the screen where on windows 10, now i'm on 11 but the problem still exist, the format on my system (https://i.imgur.com/13fGlRd.png) is dan, month, year. But in grabber it is shown as month, day, year, like the us date format. My windows is in french (belgium). Here an exemple, I just added a favorite and the date format is wrong : https://i.imgur.com/w2Xm4dd.png, I don't know why, but for me it has always been like that. Could it be because I have my windows in french, but i added the US language pack, maybe adding the local found by grabber could help ? I mean in the logs, so I know what grabber think my system langage is ?
[08:46:51.854][Info] Temp directory purged of 0/0 files (0 failed)
[08:46:52.544][Info] Software version: 7.5.1.
[08:46:52.545][Info] Software CPU architecture: x64.
[08:46:52.546][Info] Computer CPU architecture: x86_64.
[08:46:52.546][Info] Qt CPU architecture: x86_64.
[08:46:52.547][Info] Computer platform: Windows 10 Version 2009.
[08:46:52.547][Info] Path: C:/Program Files/Grabber
[08:46:52.547][Info] Loading preferences from C:/Users/...
[08:46:52.548][Info] Temporary path: C:/Users/...
[08:46:52.549][Info] Sources found: 22
[08:46:52.549][Info] SSL libraries: OpenSSL 1.1.1k 25 Mar 2021
[08:46:52.561][Info] Setting language to 'English' (C:\Program Files\Grabber\languages\English.qm)...
[08:46:52.589][Info] 22 sources found

This make me think, could it be because I set grabber to english ?  Yeah it is... grabber when set to english use english date format, not the system one. That is why my favorites where wrong, and also why it should use system over "langage" one.
Here is the screen when langage set to french in grabber : https://i.imgur.com/sqkBc7K.png

I see. I'll add a setting to switch between system and app locale in the settings.
It'll be set to "system" by default.


Made distinction between heading and caption

Description
Changed heading to "Conditions similar to impetigo", caption to "Other possible causes of your symptoms" and first column to "Symptoms".
Previously, screenreaders will have read out the same line "Skin symptoms and possible causes" twice (as heading and caption).

Hi @markasrobinson looks good.
Would you be able to update the relevant examples in the packages/components/tables/README.md, there should be an HTML snippet and the nunjucks macro again in the documentation for the Table panel variant.
Give me a shout if you need any help.


create custom warner

I saw in the code that you create a warner.
Would it be possible to create a custom warner?
For instance I would not like to get warnings in Angular 5 when in DevMode

Hi, it seems to be possible to do so via JavaScript. However, I forget why I marked those related exports as @internal so the types information might be missing.

@vilic Yes they are hidden but with a work around it works. But you should make them public
import * as deprecated from 'deprecated-decorator';
const options = (deprecated as any).options;
options.getWarner = (type: string, name: string, alternative: string, version: string, url: string) =>
{

	return () =>
	{

		// do your custom logging here
	};
};

It turns out that they are exported for running tests, and are not yet ready for being public.
Though I will consider making them public using more thoughtful means. Ideas are welcome.


Ops.save is broken

The Tensor_string attributes are currently not supported so Ops.save cannot be used anymore.
Adding support for TF_STRING tensors should fix this.

Fixed now.


Improvements to plugin lifecycle

Preconditions:
I have a project with AspectJ plugin applied in my app/build.gradle:
classpath "com.github.Archinamon:GradleAspectJ-Android:3.0.0"

I included this dependency right before #41 fix
It seems that my gradle caches haven't updated to new version after release, so there've been an NPE problem while gradle configured my project, and while using .jar build from sources everything was OK.
Problems:
Even @Archinamon added a check to com.archinamon.utils.AarExploringKt#findPackageNameIfAar:
if (!input.exists()) return "[empty]"

Using com.archinamon.api.AspectJCompileTask.Builder#findCompiledAspectsInClasspath before changing the classpath seems creepy %)
I also think that removing
project.dependencies.add("compile", "org.aspectj:aspectjrt:${settings.ajc}")

from com.archinamon.plugin.PluginSetupKt#configProject and including an update about this dependency into README will be better.
Suggestion:
Even if fix is very small it is better to change version to minor update like 3.0.0 -> 3.0.1 - just to be shure that caches won't stuck.

3.0.0 -> 3.0.1

That's true, I thought no one been updated before my fix :)

an update about this dependency into README will be better.

My mind it's bad idea 'cause gradle plugin should mostly incapsulate all possible features inside. Runtime jar is critically need to work so why should we deliver this step to the developer? Anyone can simply forget it (most in case of updating to a newer plugin) and then open an issue :)
Thank's for contributing!

@Archinamon i am using it only for androidTestCompile for example, so why do i need a compile dependency, i think it is better when you manage dependencies you need, instead of plugin doin' it behind your back.

@Archinamon In addition can we throw some Exception with info, if runtime wasn't provided?

It's still complicated solution :) In case you're using aj only for androidTest variants I see a solution to explicitly specify the tests-only scope to avoid mutation of classpath of root module.
In additional I wanna say that progruard will cut unneeded dependencies (aj rt if you're not using it while building assembleRelease) out of apk.

@Archinamon FYI 3.0.0 from jitpack still behaves bad - consider re-releasing it =)

@Archinamon, waiting for review from you =)

One question left :)

Am i missing something? It seems complete. And i've created an issue #45 to make it separated from this changes.

pr merged


How to deploy this app on VPS?

Hey I am trying to deploy this app on VPS. I'm noob at this. Would appreciate someone guide through the process.

This depends completely what kind of VPS you have. Usually network is a issue there because these services are behind NAT.
You have to find public IP and local IP (command 'ip a') of your server and configure in server/config/config.js:
webRtcTransport :
{
listenIps :
[
{ ip: 'local IP', announcedIp: 'public IP' }

I think VPS could have global IP. We provide direct support only for education and research (NREN) community. Otherwise please go to mailinglist to get more support.


[release/1.6] Prepare release notes for v1.6.9

Release notes: https://gist.github.com/samuelkarp/154e92eb3b86df6c4e07f7e9c9c1c04a

Thanks for cutting the release!
/lgtm

samuelkarp force-pushed the release/1.6.9 branch from 084a1d7 to 7251726

I had missed updating version/version.go.


SQLite Cloud

Hi,
First of all let me tell you I love pocketbase. It is so convenient to use!
However I've seen it has recently been announced  https://sqlitecloud.io/ and I was wondering if it could be easily integrated in pocketbase.
I think it could be very interesting because in this way pocketbase could scale horizontally effortlessly, isn't it? But really I have no experience using both sqlite and go, I was just curious to hear your opinions.

This was discussed several times before. The database is not the reason why PocketBase can't scale horizontally.
It is just not designed to work in a multi-server setup because there is no synchronization mechanism out of the box for syncing the app event hooks between multiple instances and probably there never will be.
If your use case in reality requires horizontal scaling PocketBase is not suitable for it.

Yes, actually sorry I was not really meaning to scale the server horizontally but the db only, as for what I've read from docs etc writes are the only bottlenecks.
Actually my real goal was to use a small instance for the server in go and then let the DB to be managed by the cloud provider  SQLlite cloud because they promise more performance and reliability.
In fact this need came from the fact that I had computer instance on Google Cloud but it has happened to crash badly a couple of times when trying to upload files.


reverse proxy for webui not connecting

we are running an ipfs gateway on a server.
i'd like to be able to run the API behind a reverse proxy so that we can add basic authentication for the node but expose the gateway to the public. also, i'd like the url to resolve without having to type the ports when i want to check the gateway.
setup: ipfs with API on <IP_ADDRESS>:5001 nginx in front reverse proxying to ipfsc.erisbootstrap.sexy ... nginx is working properly for the gateway (see #3 ) and urls to ipfs.erisbootstrap.sexy (which is routed to the gateway port) all resolve fine.
problem: when i connect to ipfsc.erisbootstrap.sexy which is proxied to 5001, the webui loads fine but does not connect to the API properly. it is just a plain UI without any connection details. however when I connect via the IP:Port combo it resolves fine. links below:

url i'd like to use which won't connect to the api on the node: https://ipfsc.erisbootstrap.sexy/webui
url which i'm not keen to use which does connect to the api on the node: http://<IP_ADDRESS>:5001/webui

This is due to window.port not being defined when not present in the URL, with an undefined port the ipfs-api module defaults to 5001. You can see these request failing in your web console.
Checking for an undefined port and setting it to 80 prior to initalizing the ipfs-api should fix this issue


Is it possible to host my Power BI Report back in my VSTS dashboard?

James Elder on 05-Jun-2017 commented:
I'd like to host my PowerBI report back in my VSTS dashboard yet I can't figure out a way to do it.  Is it possible and I'm just missing something?  Or, if not, is that something that can be added?

No, it isn't currently possible. The biggest challenge here is with the authentication. VSTS would need to first figure out how to securely communicate with Power BI to make it happen.


advertising scan periodical

Summary
Hello,
I need to scan ble advertising permanently while i am not connected to my device to find it and know when connect to it (specific product). This scan is realized in foreground service to match 8.0 prerequisite.
To preserve a few battery, i want scan periodically (while respect the Android 7 limit of start amount/time). I see 2 differents implementations :

Start the scan each X seconds and be able to stop it after Y seconds, the wait time will be X-Y.

        Scan         Wait          Scan         Wait
|-------------|------|-------------|------|–––>
|---------X-------->|---------X-------->|-----
|-----Y------>          |------Y----->          |----

Start the scan for X seconds, wait for Y seconds, start the scan for X seconds etc..

        Scan            Wait           Scan         Wait
|--------------|-------|--------------|------|–––>
|------X----->|--Y-->|------X------>|--Y-->|---
I want to it with Rx style and not with simple timer (i am not an RX expert). I don't know what solution is better/easier to be develop.
This must be transparent for client and must keep the original RxAndroidBle working, subscribe = start the process and unsubscribe = stop the process.
Minimum code snippet reproducing the issue
I suppose i have to use "Obersable.interval" but i don't see how to manage this
Any snippet/exemple ?

Hello!
Thank you for using the library.
This is a general usage question and as such should be posted on stackoverflow with rxandroidble tag—it will be easier to find by other users.
Best Regards

Just for information if anybody needs help about this , thread and answer here : stackoverflow


:bug: WIP pulling line number out of variables in incident struct

fixes #186

currently, i am pulling the line number out of variables and putting it separately in the incident. im not sure if this is what is required. i may have to query the provider the line number and pipe it through for every incident but i am not sure how to do that.
i also need to figure out how to make sure that the {{lineNumber}} in rules message takes the line number which is now outside the variables.

I would mark this reviewable and i would update the demo-output but otherwise this looks good. Sonds like the pointer will be a followup. I am ok with it as long as it is a quick follow on. @Chanakya-TS can you create an issue and align it to Demo E?


STORM-1211 Added trident support for Cassandra connector.

Trident state and query support for Cassandra.

You need to provide a MapState implementation as well for this to be used with groupby. Most of the other connectors have a MapState implementation.

Filed https://issues.apache.org/jira/browse/STORM-1369 for implementing MapState for Cassandra. This PR is about making Update and Query support.

+1

Thanks @satishd merged into master.


Update constants imports with module level access #1172

This PR addresses issue #1172 by updating how constants are imported and used in the Hugging Face Hub codebase. It introduces module-level imports for better organization while maintaining backward compatibility.
Key changes:

Introduced module-level import from . import constants for improved code organization and maintainability.
Retained existing specific imports with # noqa: F401 comments for backward compatibility.

Hey @Wauplin, the required changes were done in this PR.
Though for ENDPOINT, both import styles were used to serve as a temporary workaround.
from . import constants
from .constants import ENDPOINT  # For backward compatibility
Because:

When I import ENDPOINT directly from .constants import ENDPOINT, the @patch decorator in test_hf_api.py might be successfully replacing the value of ENDPOINT within the hf_api module, leading to all the tests passing.

However, when I import the entire constants module from . import constants and access ENDPOINT as constants.ENDPOINT, the @patch decorator might not be able to correctly patch this attribute, resulting in 64 tests failing.

And... merged! Thanks @WizKnight for the work and sorry again for the back and forth! Next PRs should be easier now :)

It's alright, I got to learn a lot. Thanks for this opportunity @Wauplin :)
So, should I open a new PR and update all the instances of constants throughout the repository or Would you like to assign me another task??

So, should I open a new PR and update all the instances of constants throughout the repository or Would you like to assign me another task??

Now that you've already worked on this task, I think that yes it makes sense for you to update all the instances of constants throughout the codebase. Thanks!

Now that you've already worked on this task, I think that yes it makes sense for you to update all the instances of constants throughout the codebase. Thanks!

Alright then, I'm on it!!


Abort fetching component for route: "/[locale]" error when i transfrom to typescript

🐛 Bug Report
A clear and concise description of what the bug is.
To Reproduce
A minimal reproducible example.
A codesandbox example or similar
or at least steps to reproduce the behavior:
// Paste your code here

Expected behavior
A clear and concise description of what you expected to happen.
// Paste the expected results here

Your Environment

runtime version: i.e. node v14, deno, browser xy
i18next version: i.e. 19.5.3
os: Mac, Windows, Linux
any other relevant information

Sorry, I don't know what you mean.


typo: udpate

Used new anchor in document and switched to relative link

@nschonni : Thanks for your contribution! The author, @aczechowski, has been notified to review your proposed change.

Verified link correction.


本地local模式下执行成功，但是查询结果没有显示

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

在local模式下执行下列flinksql代码:

jdbcconfig:='connector' = 'jdbc',
'url' = 'jdbc:mysql://<IP_ADDRESS>:3306/dlink?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true',
'username'='dlink',
'password'='dlink',;
CREATE TABLE student (
sid INT,
name STRING,
PRIMARY KEY (sid) NOT ENFORCED
) WITH (
${jdbcconfig}
'table-name' = 'student'
);
INSERT INTO student VALUES (1, '小明');
select a.sid,a.name from student a
显示执行成功，但是没有查询结果

日志信息如下

dlink.log
What you expected to happen
求解答
How to reproduce
无
Anything else
No response
Version
0.6.0
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

删掉insert语句

感谢大佬回复


Bump Dependencies #10740654798

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/10740654798

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Redundant with: https://github.com/wso2/product-is/pull/21082


feat: net module instrumentation

Which problem is this PR solving?
net module instrumentation (fixes #291)
Short description of the changes

Instrumentation for Socket.connect (thus also providing instrumentation for net.connect and net.createConnection)
In case of successful TCP connections, the local socket attributes (host, port, ip) are added.
timeout event is not handled on purpose as this event is not related to connect. When connect fails with a timeout, it will emit an error instead (e.g. EATIMEOUT).

thx for all changes, I'm missing two final things:

a README.md with example usage
LICENSE - please copy it from any other instrumentation

Extra:
An image showing the span that is being added by this plugin would be a nice addition but it is not a blocker.

btw I tried to assign you the issue you worked on but it seems you have to comment on that before I can do it

Added a LICENSE and README.md.
For an example how this looks like in Zipkin when using an express application which is doing an outbound request:

Do note that the connect span is attached to the wrong parent, but this is an issue with the http instrumentation where it does not activate the correct context. It did once, but it was removed with https://github.com/open-telemetry/opentelemetry-js/issues/1479 (PR https://github.com/open-telemetry/opentelemetry-js/pull/1546) I think it was wrong to remove it and will create PR with a fix for http instrumentation.

This looks great, would you be open to accept a contribute to also add a span for the lookup event https://nodejs.org/api/net.html#net_event_lookup, which is generally useful to troubleshoot connection performance as especially k8s was prone to DNS timeouts?

@johanneswuerbach shouldn't this be handled by the dns instrumentation ?


Support OpenSearch

So I can just write npms+Tab in the URL bar to search npms directly from there.
Example:
<link title="Bower.io" type="application/opensearchdescription+xml" href="http://bower.io/opensearch.xml" rel="search">

http://bower.io/opensearch.xml
https://www.google.com/search?q=opensearch

Thanks we will do

@sindresorhus this was done in d5abe912d33358684b9fa01d89490941ca6ec1d3
Open search also supports JSON suggestions to be displayed as you type. Would that be something you would like or too intrusive?

That would be very useful.

Ok I will open a new issue in the API: https://github.com/npms-io/npms-api/issues/4


[Bug]: vms_txt_export does not work in the CI/CD

Contact Details
No response
What happened?
A bug happened!
Relevant log output
No response

Fixed by adding a line to the .gitignore in #29 that gets the .txt to the GitHub repo.


Some updates to handle different cases for e2e run

What
Changes that made the e2e tests work for me, these may not be universally applicable, so happy to cherry pick anything that is actually useful.
How

Typo in developer guide
Kustomization changes in e2e-fixtures/hello-world-ingress to remove bezek-hello-world-ingress-2 and set via config
e2e-fixtures/ingress-class 404 is HTTP/2 for me
The secrets keys don't seem to have NGROK prefix, unlike the environment variables they set
jq and yq weren't installed on this machine, added some bash to check for them up front. looks like josh is adding nix support though, so this may become irrelevant.
Changed the test for GOOGLE_CLIENT_ID to not error out if not defined, due to the set -eu -o pipefail
A message before the long sleep to make the lack of output more expected

Breaking Changes
N/A

So i was the only one using these for the most part and near the end of the sprints things changed heavily and these got out of date. They still have the old annoation system we had before we used crds https://github.com/ngrok/kubernetes-ingress-controller/blob/main/e2e-fixtures/route-modules/route-modules.yaml#L6-L11
We may want to chat with you and the team about if you find these useful or if there are some changes we can make to make things a bit better. I think these tests end up having various state problems and actually were hitting api rate limits quite frequently


[jsoncons] Update to version 0.159.0

Describe the pull request
Update to version 0.159.0

What does your PR fix? Fixes #

Fixes #284, #285, and #279.

Which triplets are supported/not supported? Have you updated the CI baseline?

All triplets are supported. CI baseline has been updated.

Does your PR follow the maintainer guide?

Yes

/azp run

Thanks @danielaparker !


Code Review: Adam Seddon, 26422486

The project appears to have full functionality as outlined in the task description, and doesn't produce any errors. The code is mostly well commented with good descriptions of what different parts do, however I believe the 'Riffle Shuffle' isn't as well commented as the 'Fisher-Yates Shuffle' and could benefit from a brief description of what it does in the same way as the other shuffle. I also don't think the Card class is fully commented.
Not too important but there is a spelling mistake in this comment in the Pack class:
// Onlt one pack, via singleton should exist.
Both range and type error handling is covered properly in all areas where its needed from what I can see.
I believe the Console messages in the testing class before demonstrating both the deal methods would make more sense being in the respective methods themselves. I don't really see anything else that needs adding apart from maybe allowing a user to choose shuffles and how many cards to draw etc, but this was never requested in the task description so not really needed.

Thanks Adam-Seddon,
I have fixed the type on the comment and added some better documentation on the 'Riffle Shuffle'.
And the console messages have been moved to their respective functions.
Thanks!


I want ask the different between the folders

Hello, I want ask what's the different between other folders?? like Misc data and Full -d and also the different between multi and multiclass 21 and 21 FS. Thankyou!

Hi,
I am doing my masters project in "Supervise Machine Learning to Detect Network Attacks" using these datasets. I've downloaded all four files and also run in WEKA, but I am confuse to choose the FS folder or other one? As I've created 2 separate folder for both FS and simple datasets and run about 9 different algorithms. If we talk about the results there is slightly difference between the results of both folders. please guide me which datasets to choose for my Project thanks in advance.


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 14:57:29 on 2023.06.02
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 0, errors out: 0
Original problem ID: 23145
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=23145

Problem has been resolved in 3m 2s at 15:00:31 on 2023.06.02
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 23145


Device Guard - Pre-Release Feature

"Device Guard management is a pre-release feature for Configuration Manager, and is subject to change."
I think this is not true anymore in CB 1806. Am I correct?

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

ID: 2082f138-28f2-d410-d607-4fcb1ddf12db
Version Independent ID: 7ce37b4e-9330-73d9-f3bb-2f0af4ec6073
Content: How to manage Windows Device Guard - Configuration Manager
Content Source: sccm/protect/deploy-use/use-device-guard-with-configuration-manager.md
Product: configuration-manager
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Hi @excelsi84, it is still a prerelease feature. If you follow the link to the list of pre-release features, it's not yet added as a full feature. I review this list with engineering with every release to ensure accuracy. I'm closing this issue as there's nothing actionable at this time.

Thanks for the hint!


Implement line weight representing interest strength

Implement 3-5 possible line weights that correspond to the strength of the interest represented by that line, where this information is given. Where it isn't given, the middle weight is used.

Small: At present line weights are applied based on the strength of ownership or control but through an arbitrary scale. I'll look at the suggestions above and investigate these options.

In recent visualisations I've taken a 3 or 5-grrade approach.
e.g. there are only 5 line weights available, no.3 is a "normal" weight, then there are 2 lighter weights for e.g. <25% and 50%, and 2 heavier weights.

@kd-ods @StephenAbbott @Convincible
For note, at present the tool has a 10 point system in which the line weight is either:
exact / 10
or
(minimum + maximum / 2) / 10
It would be good to know if we definitely want to move away from that towards a reduced 3 or 5 point system as suggested in this ticket.

Great to hear your thoughts on this question from @Lathrisk, @Convincible ☝

It's important that the default line has a sensible readable thickness. This is the line that should be used at the midpoint (50% interest), when interest strength is unknown, or if variable line width is disabled.
So we work backwards from here: decide the most comfortable line width for a "normal" line, then show a lighter line when interest is known to be less strong, or a heavier line when it is known to be stronger.
Something like:
// interestStrength: strength represented as a number between 0 and 1

const defaultLine = 2; // pixels/units, for example
const minLine = 1; // minimum line width, for example

lineThickness = ( interestStrength * 2 * (defaultLine - minLine) ) + minLine;
// multiply by 2 centres the range of thicknesses around the defaultLine thickness

// interestStrength = 0.01 will return minLine thickness
// interestStrength = 0.5 will return defaultLine thickness
// interestStrength = 1 will return defaultLine thickness plus the difference between min/default

Noting that when we have data where a 0% interest is specified, no line is displayed at all (which is fine, I think), but the arrow-head still appears.
        "interests": [
            {
                "type": "shareholding",
                "interestLevel": "direct",
                "beneficialOwnershipOrControl": false,
                "share": {
                    "exact": 0
                }
            }
        ]

@kd-ods perhap we should draw the minimum line value when this occurs so that some sort of relationship is conveyed? (cc @lgs85)

perhaps we should draw the minimum line thickness when this occurs so that some sort of relationship is conveyed?

@Lathrisk - the thing is, there are better ways in BODS 0.3 to represent a relationship about which there is no information. We do, though, need to work out the precise circumstances under which:

no line is drawn
a minimal line is drawn
a line is given some weight

I need to think about this a bit.
In the meantime can you let me know how the code handles multiple interests in the array? That is: how is line styling and weight determined at the moment in those cases?

My current thinking on this is that - for the moment- this should the how the visualiser renders edges:

no line is drawn

when the interests property doesn't exist in an ooc statement
when the interests value is an empty array
when there is a single interest in the array and share.exact == 0  (maximum & minimum are both 0)

a minimal line is drawn

in all other cases, although...

a line is given some weight

when interest.type is 'voting-rights' or 'shareholding' and the share value is not 0.

@Lathrisk @kd-ods thanks for flagging. This ultimately comes down to the discussion of to what extent we want to use the tool to highlight deficiencies in BODS data vs being forgiving of them. Despite the problems with it, I also lean towards drawing a line in the cases of missing/empty interests arrays, not least because i) AFAICS the interests array isn't listed as required in the BODS schema, and ii) in practise this will result in a lot of the public data being shown as visualisations consisting solely of floating nodes. I think that no line is probably fine in instances where only a 0% shareholding interest is provided, but think we'd need to clearly document this behaviour so it doesn't get mistaken for a bug

@Lathrisk and I agreed to go ahead with a plain black line in all 3 cases, for simplicity's sake.


[Bug]: CJIT Error init_channel_manager

Describe the bug
Not the first time this has happened, but isn't the same as recent issues (#1898, #1833). Unsure if related, but this occurred ~2 hours after high mempool delay warning.
Reproduce
I could reproduce this multiple times when speedrunning from wallet creation to first receive.

Reset wallet
Close and reopen the app
Create wallet
Quickly try to receive to spending balance

Screenshots / Recording
https://github.com/synonymdev/bitkit/assets/93796166/542b8adf-43f9-4619-935f-ee8b8d2db348
Operating system
iOS 17.5
Bitkit version
49d1359
Log output
No response

Thanks Matt for your feedback. You need to wait until you're properly connected, you're moving too fast between creating the wallet and initiating the request to open the channel.
To find out the status of the wallet: Settings > Support > App Status
The error msg has been updated.


Update specs2-core, specs2-mock to 3.10.0

Updates

org.specs2:specs2-core
org.specs2:specs2-mock

from 3.8.9 to 3.10.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

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

labels: semver-minor

Coverage remained the same at 88.312% when pulling 7bc0c6befc3442c2e7f1bc183c4dcbd655c475f2 on scala-steward:update/specs2-core-3.10.0 into cc3fea59e1fb99a3fb652edac4bbdbe7f14ea57f on iheartradio:master.


Android - Take frame from SurfaceView/VideoView

How to take a bitmap from a SurfaceView/VideoView Android?
Hello!
I can use in Android, a SurfaceView or a VideoView (indifferently) to display a live stream from an udp URL.
My question is: Can I take a bitmap from the SurfaceView/VideoView at a given instant? How?
I have tried to do the screenshot of the screen, with this code:
View v1 = getWindow().getDecorView().getRootView();
v1.setDrawingCacheEnabled(true);
Bitmap bitmap = Bitmap.createBitmap(v1.getDrawingCache());
but it take the screenshot without the status bar and the videoview is black.. If I use the classic key combination, the screenshot display the videoview correctly and the status bar etc...
How can I resolve this problem? How can do a completely screenshot (in Java) that take the videoview frame, status bar etc...?
Thank you very much!
Best Regards!

My guess would be to use GLES glReadPixels()


Support _since query parameter in $export operation

User story
As a customer, I want to be able to specify _since query parameter when calling $export operation so that I can limit the amount of resources being returned.
Acceptance criteria

Verify if _since parameter is specified, then only resources updated after this period are included.
Verify if _since parameter is not specified, then all resources are included.

Moved tracking of user story level items to Azure DevOps.


Athena connections broken in DBeaver 21.3.0

System information:

Windows 11
21.3.0
AWS Athena driver extension

Connection specification:

AWS Athena
Standard driver
No tunnels or proxies

Describe the problem you're observing:
Athena connections are broken by the following commit: https://github.com/dbeaver/dbeaver/commit/77ae18807fe7d07a3adaa8c2a16ff93ee4980c6b
This commit was included in DBeaver 21.3.0 via issue #13654.
Rolling back to DBeaver 21.2.5 allows me to connect to Athena. Rolling forward to 21.3.0 breaks it again with an "Invalid JDBC URL" message.
Steps to reproduce, if exist:
Install DBeaver 21.3.0
Attempt to connect to Athena
Receive a JDBC URL error
Include any warning/errors/backtraces from the logs
!ENTRY org.jkiss.dbeaver.model 4 0 2021-12-07 15:33:16.814
!MESSAGE Invalid JDBC URL: jdbc:athena://AWSRegion=us-east-1;
!SUBENTRY 1 org.jkiss.dbeaver.model 4 0 2021-12-07 15:33:16.814
!MESSAGE Invalid JDBC URL: jdbc:athena://AWSRegion=us-east-1;
!STACK 0
org.jkiss.dbeaver.model.exec.DBCException: Invalid JDBC URL: jdbc:athena://AWSRegion=us-east-1;
at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.openConnection(JDBCDataSource.java:219)
at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.openConnection(GenericDataSource.java:136)
at org.jkiss.dbeaver.model.impl.jdbc.JDBCExecutionContext.connect(JDBCExecutionContext.java:103)
at org.jkiss.dbeaver.model.impl.jdbc.JDBCRemoteInstance.initializeMainContext(JDBCRemoteInstance.java:100)
at org.jkiss.dbeaver.model.impl.jdbc.JDBCRemoteInstance.(JDBCRemoteInstance.java:59)
at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.initializeRemoteInstance(JDBCDataSource.java:111)
at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.(GenericDataSource.java:108)
at org.jkiss.dbeaver.ext.athena.model.AthenaDataSource.(AthenaDataSource.java:39)
at org.jkiss.dbeaver.ext.athena.AthenaDataSourceProvider.openDataSource(AthenaDataSourceProvider.java:57)
at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:898)
at org.jkiss.dbeaver.runtime.jobs.ConnectJob.run(ConnectJob.java:70)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Could you try to create a new Athena connection and test it?
Or just change something in existing Athena connection settings (this will re-generate URL) and try to connect?

@robmoss2k Can you check what URL Template you have in driver settings and if it is not like in you picture, try to reset it to default?

This doesn't work:
jdbc:athena://AWSRegion=us-east-1;
But this does:
jdbc:athena://AWSRegion={region};


Swift Compiler Error

Didn't have this problem last night. Not sure what cause this? Help, please.
/Spring-master/Spring/LoadingView.swift
/Spring-master/Spring/LoadingView.swift:40:99: 'AnyObject' is not convertible to 'UIView'; did you mean to use 'as!' to force downcast?
/Spring-master/Spring/Misc.swift
/Spring-master/Spring/Misc.swift:26:37: 'countElements' has been renamed to count
/Spring-master/Spring/Misc.swift:75:21: 'countElements' has been renamed to count
/Spring-master/Spring/DesignableTabBarController.swift
/Spring-master/Spring/DesignableTabBarController.swift:36:35: 'selectedImageTintColor' was deprecated in iOS version 8.0: Use tintColor
/Spring-master/Spring/DesignableTabBarController.swift:49:46: '?' must be followed by a call, member lookup, or subscript
/Spring-master/Spring/DesignableTabBarController.swift:50:53: '[AnyObject]?' is not convertible to '[UITabBarItem]'; did you mean to use 'as!' to force downcast?
/Spring-master/Spring/DesignableTabBarController.swift:58:47: '?' must be followed by a call, member lookup, or subscript
/Spring-master/Spring/DesignableTabBarController.swift:59:53: '[AnyObject]?' is not convertible to '[UITabBarItem]'; did you mean to use 'as!' to force downcast?
/Spring-master/Spring/DesignableTabBarController.swift:67:46: '?' must be followed by a call, member lookup, or subscript
/Spring-master/Spring/DesignableTabBarController.swift:68:53: '[AnyObject]?' is not convertible to '[UITabBarItem]'; did you mean to use 'as!' to force downcast?
/Spring-master/Spring/DesignableTabBarController.swift:76:47: '?' must be followed by a call, member lookup, or subscript
/Spring-master/Spring/DesignableTabBarController.swift:77:53: '[AnyObject]?' is not convertible to '[UITabBarItem]'; did you mean to use 'as!' to force downcast?
/Spring-master/Spring/DesignableTabBarController.swift:85:46: '?' must be followed by a call, member lookup, or subscript
/Spring-master/Spring/DesignableTabBarController.swift:86:53: '[AnyObject]?' is not convertible to '[UITabBarItem]'; did you mean to use 'as!' to force downcast?
/Spring-master/Spring/DesignableTabBarController.swift:95:39: '[AnyObject]?' is not convertible to '[UITabBarItem]'; did you mean to use 'as!' to force downcast?
/Spring-master/Spring/Spring.swift
/Spring-master/Spring/Spring.swift:450:35: Missing argument label 'completion:' in call

Fixed. Found on answer on Facebook group:)

Was this caused by the new Swift version?

Seem to be so.

There are several unmerged pull requests that would fix this issue.  This is caused by the update to Swift 1.2

#48 was merged earlier, the drop in method shall already fix the issue. We'll be putting up for Cocoapods soon.

@ajthechan I have the same issue with my app... could you tell me the name of the Facebook group which helped you with it.

https://www.facebook.com/groups/designcode/1577045382558585/?notif_t=group_activity


Fixing potential NullpointerException

If a MFA device has no attestation metadata (like WebAuthn via Android FIDO2 API), this leads to a NullpointerException when calling Account Management --> Multifactor Devices.
Registration of such devices is only possible via cas.authn.mfa.web-authn.core.allow-untrusted-attestation=true.

This change has no implications, so testing is not required.

The changeset here does break the cas build:
rror: cannot find symbol
        val vendor = Optional.ofNullable(acct.getAttestationMetadata()).orElseGet(Attestation::empty).getVendorProperties().orElseGet(Map::of);
                     ^
  symbol:   variable Optional
  location: class WebAuthnMultifactorDeviceProviderAction

It's no big deal; please be more careful next time. All changes have implications, so testing is usually preferred.

Ups, sorry. Just copy, pasted from my overlay and forgot to copy the imports :-(
Thank you, anyway!


Title: Initial Setup

Requirements

Create the task tracking HTML page that needs a:

Header
Main content area for the task list
Footer

Use the style sheet provided
Add functionality to the button to add tasks to the list

Can you assign this issue to me?

Can you assign this issue to me?


CU-1waj39z_ - add CORS docs

Not sure how this slipped through the cracks. It was definitely discussed and demoed at the sprint boundary.

Task linked: CU-1waj39z Update CORS policy for the SparQL service


tests: add hello_events unit tests

hello_events_c_fpgad_p.main2 seems to be failing even though it shows in ctest as passing? It fails with "Expected: (hello_events_main(3, argv)) != (0), actual: 0 vs 0".

Weird.. I just ran it again, and it shows as passing.

You mean in ctest or in the log? I see ctest reporting it as passing but looking at the log shows it as failing.


Develop a strategy to automatically tag historical and sensitive synonyms

As per the last Mondo outreach call (thank you @sierra-moxon), it became clear that we need a strategy for handling historical and socio-politically sensitive (offensive) synonyms. The easiest way to deal with this would be a dictionary based approach.

[ ] Find out from our clinical experts (or research yourself) if a table/textfile exists that has historical synonyms listed that can be used to automatically flag Mondo labels and synonyms as historical.
[ ] For each "harmful, historical, sensitive or derogatory" term, determine an ethical source stating that it is so and add source to QC check.
[ ] Decide how to fix: probably we should (1) request a synonym type for historical / derogatory / sensitive synonyms from OMO; (2) declare all these synonyms to have that type and (3) Lobby @jamesamcl and OLS to mark up such synonyms clearly for users of their services, and do so, also, on monarchinitiative.org.
[ ] Implement QC check #7250

I see documents like
https://www.ohsu.edu/sites/default/files/2022-10/OutdatedMedTerminology.pdf
ChatGPT says:

Certainly, the language used in medicine has evolved significantly over time, with many terms once commonly used now recognized as harmful, stigmatizing, or derogatory. It's important to note that these terms are no longer appropriate and are mentioned here only for educational purposes. They reflect a history of misunderstanding, prejudice, and discrimination in the medical field.

Idiot, Imbecile, Moron: These were once actual diagnostic terms used to describe people with intellectual disabilities or low IQs. They are deeply offensive today.
Hysteria: Originally used to describe a variety of psychological disorders or symptoms believed to be specific to women, derived from the Greek word for uterus. It reflected gender bias and misunderstanding of mental health.
Mongolism: An outdated term for Down syndrome. This term is offensive and has been replaced with Down syndrome.
Dwarfism: While still used in some medical contexts, it can be considered derogatory. "Short stature" or specific medical terms like "achondroplasia" are preferred.
Cretin: An old term for someone with cretinism, a condition resulting from a thyroid hormone deficiency. It is now considered derogatory.
Lunatic: Used historically for those with mental health issues, especially those thought to be influenced by the moon's phases. It's now seen as derogatory and insensitive.
Retarded: Once a clinical term for delayed or stunted intellectual development, it is now widely regarded as a derogatory insult.
Manic-Depressive: Previously used to describe what is now known as bipolar disorder. The old term is considered stigmatizing and simplistic.
Feeble-minded: An archaic and offensive term for someone with intellectual disabilities.
Addict: While still in common use, there is a growing movement in the medical community to use person-first language like "person with a substance use disorder" to reduce stigma.
Inebriate: An old term for someone addicted to alcohol, replaced by terms like "alcohol use disorder" or "alcoholism."
Invalid: A term historically used to describe a person with physical disabilities or chronic illnesses. It is now seen as demeaning and has been replaced with more specific medical descriptions.
Midget: A derogatory term for a person of unusually short stature, often replaced by "person with dwarfism" or specific medical diagnoses.
Deaf and Dumb/Deaf-Mute: Outdated and offensive terms for individuals who are deaf and do not speak. "Deaf" or "hard of hearing" are appropriate terms.
The shift away from these terms reflects a broader move in medicine and society towards more respectful, person-first language that recognizes individuals' dignity and worth. This change is part of an ongoing effort to reduce stigma and discrimination in healthcare and society at large.
We need a list we can use to get started.

From @twhetzel

For identifying sensitive synonyms in Mondo, I wonder if some of the text filters from AWS or Google to identify offensive text might work, e.g. AWS Comprehend or Google Moderate text.

another good resource: https://www.ohsu.edu/inclusive-language-guide (each section provides a list of hurtful terms).

CDC has lots of guidance on language to use when talking with people, but I wonder if some of it could be repurposed to show how not to label disease/phenotype states: https://www.cdc.gov/healthcommunication/Resources.html

@sierra-moxon @sagehrke and @matentzn have started a formal side-project on this and are excited. Monarch people can join us in the #non-inclusive-terminology channel in Monarch slack if they want to volunteer curation time.


Support for ECS

It would be great if the emitted structured log adhere to elastic common schema. This would enable the application to adopt ECS schema using this drop in replacement library with logbook encoder configuration changes. If everyone feels that would be a useful feature add, please feel free to provide your inputs/feedback/thumbsup :-)

ECS Dokumentation can be found here.

I agree. I am actually in the process of converting the pattern to match ECS, and it is quite time consuming. Would be nice if it matched the schema with 0 configuration.

Bumping this.
There is a separate ticket open on https://github.com/elastic/ecs-logging-java/issues/49.
Currently elastic's version of logback encoding is extremely limited and does not support custom key-value pairs at all.
This entirely defeats the purpose of the library as it only offers very basic support and doesn't allow additional fields to be logged in a way which can be indexed for monitoring/alerting in elastic.
There are are other libraries that support ecs log formatting such as quarkiverse extensions: https://github.com/quarkiverse/quarkus-logging-json/tree/main
Unfortunately these are only for applications in the quarkus framework and given how robust logstash-logback-encoder is it would be great to offer this adapter out of the box to configure with logback.

I agree. I am actually in the process of converting the pattern to match ECS, and it is quite time consuming. Would be nice if it matched the schema with 0 configuration.

@universalmind303 did you ever get around to converting the pattern to match ECS (elastic common schema).
If so would you be able to share a snippet of this?

@aaronrebak I was trying to make ECS APM agent working together with Marker supported in this project and managed to combine both.

Add both dependencies (see ECS APM java agent docs)
Use filebeat + encoder from ECS Java client to actually create logs
public class MarkerSupportingEcsEncoder extends EcsEncoder
(most importantly examine and copy encode method from the original encoder...
Adjust method serializeMarkers taking advantage of marker serialization from logback-logstash

@aaronrebak I was trying to make ECS APM agent working together with Marker supported in this project and managed to combine both.

Add both dependencies (see ECS APM java agent docs)
Use filebeat + encoder from ECS Java client to actually create logs
public class MarkerSupportingEcsEncoder extends EcsEncoder
(most importantly examine and copy encode method from the original encoder...
Adjust method serializeMarkers taking advantage of marker serialization from logback-logstash
Use the newly created encoder for your classic logback appender

@koszta5 sounds great!
Are you able to provide a snippet to show this working in practice for the community?

My code is a little specific to my use case but simply follow the approach above
1.
    <dependency>       <groupId>net.logstash.logback</groupId>       <artifactId>logstash-logback-encoder</artifactId>       <version>7.4</version>     </dependency>     <dependency>       <groupId>co.elastic.logging</groupId>       <artifactId>logback-ecs-encoder</artifactId>       <version>1.5.0</version>     </dependency>
2. Most of the code stolen from EcsEncoder; but here you can do your custom magic...
`public class MarkerSupportingEcsEncoder extends EcsEncoder
@Override
public byte[] encode(ILoggingEvent event) {
Marker runtimeCreatedMarker = mergeMarkerWithAdditionalFields(event);
StringBuilder builder = new StringBuilder(256);
EcsJsonSerializer.serializeObjectStart(builder, event.getTimeStamp());
EcsJsonSerializer.serializeLogLevel(builder, event.getLevel().toString());
EcsJsonSerializer.serializeFormattedMessage(builder, event.getFormattedMessage());
EcsJsonSerializer.serializeEcsVersion(builder);
this.serializeMarkers(runtimeCreatedMarker, builder);
EcsJsonSerializer.serializeServiceName(builder, this.serviceName);
EcsJsonSerializer.serializeServiceVersion(builder, this.serviceVersion);
EcsJsonSerializer.serializeServiceEnvironment(builder, this.serviceEnvironment);
EcsJsonSerializer.serializeServiceNodeName(builder, this.serviceNodeName);
EcsJsonSerializer.serializeEventDataset(builder, this.eventDataset);
EcsJsonSerializer.serializeThreadName(builder, event.getThreadName());
EcsJsonSerializer.serializeLoggerName(builder, event.getLoggerName());
EcsJsonSerializer.serializeAdditionalFields(builder, this.additionalFields);
EcsJsonSerializer.serializeMDC(builder, event.getMDCPropertyMap());
if (this.includeOrigin) {
StackTraceElement[] callerData = event.getCallerData();
if (callerData != null && callerData.length > 0) {
EcsJsonSerializer.serializeOrigin(builder, callerData[0]);
}
}
	this.addCustomFields(event, builder);
	IThrowableProxy throwableProxy = event.getThrowableProxy();
	if (throwableProxy != null) {
		if (this.throwableConverter != null) {
			EcsJsonSerializer.serializeException(builder, throwableProxy.getClassName(), throwableProxy.getMessage(), this.throwableConverter.convert(event), this.stackTraceAsArray);
		} else if (throwableProxy instanceof ThrowableProxy) {
			EcsJsonSerializer.serializeException(builder, ((ThrowableProxy)throwableProxy).getThrowable(), this.stackTraceAsArray);
		} else {
			EcsJsonSerializer.serializeException(builder, throwableProxy.getClassName(), throwableProxy.getMessage(), this.throwableProxyConverter.convert(event), this.stackTraceAsArray);
		}
	}

	EcsJsonSerializer.serializeObjectEnd(builder);
	return builder.toString().getBytes(UTF_8);
}

@NotNull
private Marker mergeMarkerWithAdditionalFields(ILoggingEvent event) {
Map<String, AdditionalField> additionalFields = new HashMap<>();
if (MarkerSupportingEcsEncoder.additionalFieldHolderRegistry != null) {
Optional holder = getHolder(event);
if (holder.isPresent()) {
additionalFields.putAll(holder.get()
.get()
.stream()
.filter(fld -> !fld.getKey().equals(AdditionalFieldsHolder.ADDITIONAL_FIELD.LOGGER.getFieldName()))
.collect(Collectors.toMap(AdditionalField::getKey, Function.identity(), (k1, k2) -> k2)));
}
}
if (isConnectorLogging(event)){
additionalFields.put(AdditionalFieldsHolder.ADDITIONAL_FIELD.PHASE.getFieldName(), new AdditionalField(AdditionalFieldsHolder.ADDITIONAL_FIELD.PHASE.getFieldName(),
Log.IN_PROCESS));
}
if (event.getMarker() != null) {
additionalFields.putAll(markersToAdditionalFields(event.getMarker()).stream()
.collect(Collectors.toMap(AdditionalField::getKey,
Function.identity(),
(k1, k2) -> k2)));
}
Marker runtimeCreatedMarker = new MapEntriesAppendingMarker(additionalFields.values()
.stream()
.collect(Collectors.toMap(AdditionalField::getKey,
AdditionalField::getValue,
(k1, k2) -> k2)));
return runtimeCreatedMarker;
}
// define all setters like this:
@Override
public void setServiceVersion(String serviceVersion) {
super.setServiceVersion(serviceVersion);
this.serviceVersion = serviceVersion;
}
`

Then to configure logback:

 <appender name="FILE"
              class="ch.qos.logback.core.rolling.RollingFileAppender">
        <file>${logFolder}/catalina.out</file>
        <encoder class="com.onsemi.middleware.ecs.logging.MarkerSupportingEcsEncoder">
        </encoder>

        <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
            <!-- rollover daily -->
            <fileNamePattern>${logFolder}/archive/catalina.out.%d{yyyy-MM-dd}.log.gz</fileNamePattern>
            <maxHistory>30</maxHistory>
        </rollingPolicy>
    </appender>


Revert "zed: Build Glance from StackHPC fork"

This reverts commit b3fd63a049f43bf9670fe7e68d619f9dc80c2ba0.

We still have some changes that are not upstream [1] are they not needed?
https://github.com/openstack/glance/compare/unmaintained/zed...stackhpc:glance:stackhpc/zed

They should go away once https://github.com/stackhpc/glance/pull/75 is merged. I was investigating tox failures, I think related to the absence of qemu-img. I will merge so we can verify this diff again.

We still have some changes that are not upstream [1] are they not needed? openstack/glance@unmaintained/zed...stackhpc:glance:stackhpc/zed

Check the diff again 😉


Unable to execute script at Line 145. Undefined is not an object

I tried removing all the layers, and render with a single layer to check from which layer the error is caused. But it didn't seem to help because all the layers showed the same error.
But it worked perfectly fine the previous the day.
Are there any limitations with bodymovin with reference to the usage of effects and scripts in AE?

hi, can you share the .aep project so I can take a look?

Family.aep.zip
@

I exported the project and it seems to work fine.
Did you try restarting AE?

Yes! I did it's still the same!!
Can you share the exported file?
What is the best frame rate that you suggest?
Is there a limit on the duration?

Yes I did!
Can you share the exported file?
On Tue, 31 Jan 2017 at 4:52 PM, hernan<EMAIL_ADDRESS>wrote:

I exported the project and it seems to work fine.
Did you try restarting AE?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bodymovin/bodymovin/issues/236#issuecomment-276338699,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALKsHIy0aWA5EVSOEZXlwdLS5229R0Toks5rXxmOgaJpZM4LyVwf
.

--
*Jackson *

I am getting this exact same error as well. Was there any progress on figuring out what was causing the error? Did you ever get the file exported?

Okay, looks like I already solved the issue. This file was crashing my Lottie Android player and I couldn't figure out why. When I removed all other comps in the scene, it started bugging out with the error above. I seem to have fixed it by checking the box "Extra Comps" in the settings dialogue for that file export in the bodymovin window and now it exported just fine and doesn't crash the Lottie Android player anymore. Any explanation?


update information

can any update doc for changing error message, changing success message dynamic. Also there is no option to stop loader after submit.

Closed due to no activity.


fix: Change registry to be the main npm registry. Nodejitsu registry …

The npm-registry module uses Nodejitsu's npm registry by default. This (and a whole heap of other mirrors) are 404'ing, and can't be accessed.
This was then erroring and preventing cartridge installations AT ALL! This code is to explicitly change the registry to the main Joyent npm URL. Getting this in and released will 'fix' cartridge, which is currently broken at the installation stage.
Work down the line could be done to add mirrors (options key to npm-registry) but I could only find 1 or 2 mirrors that actually worked :/

👍 :octocat: good with me, a 3rd opinion @bmds?


[5315] bulk qts homepage tiles

Context
Show bulk recommend badges on the sign-in home page
Changes proposed in this pull request
Guidance to review
"Available to do" badges should be shown

Important business

[ ] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[ ] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?
[ ] Do we need to send any updates to DQT as part of the work in this PR?
[ ] Does this PR need an ADR?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

 [M] Bulk QTS: homepage tiles

LGTM. Would suggest reformatting the file app/views/pages/home.html.erb - a few elements are out of alignment.
Also suggest adding Trello card number to each commit using [xxx] notation or squash and just add it once.

Thanks. I fixed the formatting. I'll squash the commit when I merge.

looks good to me!


Fixed #28690:  django.utils.http.parse_http_date two digit year check is incorrect

https://code.djangoproject.com/ticket/28690
This PR picks up from #9214 and adds regression tests in the first commit that pass without applying the fix and adds the fix with another test-case that only passes with the fix applied.

Closing due to inactivity in favor of #11212.


Feature for creation of VPC Peering connections

Description of your changes
Create VPC Peering Connections and approve the connection on AWS
Fixes #325
Replaces PR #689
Recreating old PR with changes applied to clean branch after recent v1alpha1 resources have been moved to manualv1alpha1 group
I have:

[x] Read and followed Crossplane's [contribution process].
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

make reviewable test
create VPC Peering connection
delete VPC Peering connection

Nice! This works well in tests. Successfully created both accepted and unaccepted peering connections. Successfully created connections using both VPCIDRef and explicit VPCID fields.
I have some last notes on the examples. These changes will enable the example to work with our automated conformance suite.

Added required changes @AaronME , feel free to re-review :)

Hi @AaronME,
Would please kindly share some info that when this change will be merged?
Thank you

Thank you @AaronME


Lab 6 PR

The users entry wasn't echoed back, nice. Everything was displaying correctly, and going into the database.  Initial migration was there as well.


⚠ Bofrost.lu has degraded performance

In 3592da1, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 876 ms

Resolved: Bofrost.lu performance has improved in 0f86117 after 14 minutes.


Add template types to Connection

Description
Making BaseConnection a generic type, thus extensions need to specify the type of the connection.
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[x] Conforms to style guide

Where did those abstract functions go?

They are actually defined by ConnectionInterface and unnecessarily duplicated as abstract public in BaseConnection.

I'll fix the conflicts once #6713 is merged.

Thanks for explaining (and extracting).


TestField shows error on the wrong field

I have put an event to test field on the Vendor record. The event is called on Vendor No. field validation from the Purchase Invoice card page. The vendor has the field "Fiscal Code" empty.
Expected behavior:
Error is shown on the "Vendor No." field
Actual behavior:
Error is shown on the field with the same name, but which wasn`t tested via the TestField.
Please see the example code and screenshots:
[EventSubscriber(ObjectType::Table, Database::"Purchase Header", 'OnBeforeValidateBuyFromVendorNo', '', false, false)]
    local procedure OnBeforeValidateBuyFromVendorNo(var PurchaseHeader: Record "Purchase Header")
    begin
        TestVendorInformation(PurchaseHeader."Buy-from Vendor No.");
    end;
    local procedure TestVendorInformation(VendorNo: Code[20])
    var
        Vendor: Record Vendor;
    begin
        Vendor.Get(VendorNo);
        Vendor.TestField("Country/Region Code");
            Vendor.TestField("Fiscal Code");
    end;

As an example of expected behavior see, Country/Region:

Note that if field is removed from the page code works as expected:

Why this is a problem?
The field is hidden deep below and users don`t understand where the "problem" mentioned in the error on the Vendor No field is.
Users try to change values on the Purchase Invoice card instead of the the Vendor Card and still left with an error.

I believe that in order to suppress this questionable behaviour, you can wrap the other Validate() in a TryFunction, then if an error occurs, rethrow it via Error('...'); IIRC for me this 'fixed' it to ensure the error was thrown at the original validated field, not an indirectly validated one.

Well, replacing TestField with a simple error actually fixed the problem for me. The issue seems to be with TestField itself, so I am curious about what it is
if Vendor."Fiscal Code" = '' then
   Error(FiscalCodeErr, Vendor.FieldCaption("Fiscal Code"), Vendor."No.");

I think it is simply that if a page is open, it detects the error from TestField or FieldError specifically, and tries to be helpful by rearranging/moving the location(s) where the error is reported.
I actually saw this going worse - when a field on the table threw such an error, it was attributed to a control for a different field on the page, that just happened to have the same name and/or caption (I can't remember which, guessing the latter) - which goes right out of the realm of 'trying to be helpful', firmly into 'bug'. Unfortunately I only have so much time to file bugs, and that one never made it anywhere more suitable yet :-)

Hi, this issue is out of scope of for this repository. This needs to go to the team that handles the actual running of AL code on the server. You should do one of the following:

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

As a reminder, this repository only handles issues to do with the compiler or VSCode development experience for AL.


Support for Yokozuna in 3.0

Hi @martinsumner, @Bob-The-Marauder,
The Solr seach feature is not compiled in the 3.0 packages. Are there any plans for alternative packages with the search feature on, or will this be only available when compiling from sources.
The release notes mention the possibility of data loss when upgrading from 2.9 to 3.0. Do these same issues apply if doing a riak-repl transfer of data from a 2.9 cluster to a new 3.0 cluster?
Thank your for all the effort in keeping Riak alive!

The primary problem of data loss in the upgrade is related to the incompatibility of the solr versions, as I understand it.  riak 2.9 to riak 3.0 is a big leap in solr versions.
You may be able to avoid this with more creative solutions, such as using repl as you suggest which seems like a reasonable idea.   However, no such ideas have been subject to testing, so you would have to plan and prove this yourself (or find a commercial support partner willing to work with you on it).
The primary issue overall with yokozuna is some failing riak_test tests - see comment thread on this PR.  These tests may reflect issues which aren't relevant to most people (e.g. changes to unicode handling) or they may be indication of fundamental issues,  Unfortunately, at this stage, no-one has had the time/motivation to work through these test failures and produce either updated code or an updated set of tests.  Without a sound test base it is hard to formally release a 3.0 with yokozuna, and commit to continuing to keep it up to date.
If you wish to make your own packages with solr, you can do this by including solr in rebar.config and running make package on your target platform.  It should work.

@martinsumner Thanks for the info which is enough to get me going. I'm interested in the search feature so I'll put some work into testing the repl approach as an upgrade path and having a go at the failing tests.


Improving the readme file

I would like to work on improving the readme file of this project making it engaging for the users and make it more expressive.

I would like to work on this issue, please assign this issue to me under GSSoC'23.

Hello @harshsingh32, What are the changes that you're suggesting.. will assign then

I would like to improve the readme file of this project using catchy phrases and expressive information about the project, increase the engagement of this project making it more expressive. This motivate the users to contribute to the project and collaborate with community.

Create an PR, Then will have a look and assign the level

I want to add the Steps in Read.Me file for " How To Contribute in this Project " For Beginners

No, We Already have an Contribution.md why to add an section for How To Contribute in this Project ?


[WIP]Support loading 64-bit dumps of 32-bit processes

Since 64-bit task manager always generates 64-bit dumps you often end up with those from users. It would be nice if clrmd could support those.

This works right now by just hardcoding a change of the effective processor architecture, so won't work on other architectures.
I have to figure out how to detect that the process is really a 32-bit process, and also where in the code that logic belongs.

So I did a bit of research. I don't think there is any direct way to see that the process is of a 32-bit process. I can see 3 solutions:

Get the main module (either through IDebugSystemObjects::GetCurrentProcessExecutableName by name or reading the $exentry pseudo-register), then check the PE header to see if is 32-bit. I don't think we are 100% guaranteed that this is included in the dump though.
Check if $teb[0] != null - this is a pointer to the TEB32 from Vista onwards. I don't know what happens if someone uses the native api to inject a pure 64-bit thread into a wow64 process though - maybe we just could check all the threads? Is this information guaranteed to be included in a minidump?
Delay the decision until we have found the runtime dll's - then we can just check the architecture of those. Seems like the most reliable way since we need to be able to find them to do anything at all anyways. However this requires some refactorization of the code.

@leculver What do you think?

@poizan42 Sorry for the delay, I'm just back from vacation.
Overall I'm generally fine with making this kind of corner case work, if it's possible.  I tend to look at this as "we have made a best-effort to make this unsupported scenario work, but it may be impossible to make all functionality work properly."
As long as it doesn't affect normal operation I'd accept a (completed) pull request for this kind of change.  FYI, task manager also tends to produce...strangely non-functional crash dumps.  Even when the architecture mismatch is accounted for.  I've never fully tracked down what's missing that's expected.  Maybe that's been fixed since I tested it out a long time ago...

@poizan42 I'm going to be forking the branch to build the next version of ClrMD before too long.  What's the status of this PR?  It will likely get quickly out of date in the next week or so.

The most useful part of it is already merged in #289. The bigger issue is in attempting to autodetect whether we have a 32 or 64-bit dump. Which I think might need some larger refactorizations to do reliably because it seems that the only sure way is to actually find the runtime dll first and then check the bitness of it. I might try to work on it sometime in the future, but feel free to close it for now.

Ok sounds good!  As I mention in Issue https://github.com/microsoft/clrmd/issues/311, I'm about to branch the codebase for ClrMD 2.0 and there will be major changes to the master branch as I move that project along.  Thanks!


The code is different from the paper

SCG-Net: Self-Constructing Graph Neural Networks for Semantic Segmentation
Where can I see the code of this paper?

We'll release it soon, probably by the end of this month or early next month. But from this repository, you could also find the core code related to the SCG module and GCN module in the file: /lib/net/scg_gcn.py


The docs suggests having empty config, but it doesn't work

Description
This quote from the README about supporting monorepos:

To support backwards-compatibility, monorepo features require multiple lint-staged configuration files present in the git repo. If you still want to run lint-staged in only one of the packages in a monorepo, you can either add an "empty" lint-staged configuration to the root of the repo (so that there's two configs in total), or alternatively run lint-staged with the --cwd option pointing to your package directory (for example, lint-staged --cwd packages/frontend).

Although when you have an empty config in the root, and another non-empty config in one of the packages, you get this error:
Error: Configuration should not be empty Failed to parse config from file "/<project-path>/.lintstagedrc.js".

Error: Configuration should not be empty

See https://github.com/okonet/lint-staged#configuration.

// .lintstagedrc.js
export default {};

// packages/my-package/.lintstagedrc.js
export default {
  '**/*.{json,md,yaml,yml}': ['prettier --write'],
  '**/*.ts': ['prettier --write', 'eslint --fix'],
};

Environment

OS: macOS 14.4.1
Node.js: 20.5.0
lint-staged: 15.2.0

Workaround:
// .lintstagedrc.js
export default {
  "*": [],
};

Thanks, do you want to open a PR for improving the documentation? I agree it's not very clear.

I tried this workaround and it didn't work for me :(


Failue when archiving

"react-native": "0.54.2",
"react-native-sound": "^0.10.9",
Platform: iOS
Whenever I try to archive my app in xcode to upload it I get the following error:
clang: error: no such file or directory: '/Users/user134811/Library/Developer/Xcode/DerivedData/RedPager-fiwbsrampqardnfiqojruokxexdf/Build/Intermediates.noindex/ArchiveIntermediates/RedPager/BuildProductsPath/Release-iphoneos/libRNSound.a'
React-native-sound linked then installed manually when that failed. The app builds and run when I do build it normally, it is specifically the archiving that fails. I also see that then file exists there but in a different place: /Users/user134811/Library/Developer/Xcode/DerivedData/RedPager-fiwbsrampqardnfiqojruokxexdf/Build/Intermediates.noindex/ArchiveIntermediates/RedPager/BuildProductsPath/Release-iphoneos/RNSound/libRNSound.a
I have been trying different things for 4 hours now... did anyone else get this? are there any solutions?
Thanks!

I have the same problem. 👎

What version of xcode are you using? @LCD344

Solved @LCD344 : When you make the manual linking on Build Phases -> Link Binary With Libraries you can choose between the Pod File of React Native Sound and the file of React Native Sound located on Node Modules. To solve this you can use the file of CocoaPods.

I'm having a similar issue when attempting to build my iOS app on Bitrise. Any solutions out there?


compiled application error

when I try to compile the application it gives this error
Compiler message:
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_advanced_networkimage-0.5.0/lib/src/provider/flutter_advanced_networkimage.dart:143:24: Error: The method 'AdvancedNetw
orkImage.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'.
  ImageStreamCompleter load(AdvancedNetworkImage key) {
                       ^
/C:/flutter/packages/flutter/lib/src/painting/image_provider.dart:403:24: Context: This is the overridden method ('load').
  ImageStreamCompleter load(T key, DecoderCallback decode);
                       ^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.

FAILURE: Build failed with an exception.

* Where:
Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 780

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 58s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done                      60,6s
Gradle task assembleRelease failed with exit code 1

my flutter doctor -v
[√] Flutter (Channel stable, v1.12.13+hotfix.9, on Microsoft Windows [versÃ£o 10.0.17763.1098], locale pt-BR)
    • Flutter version 1.12.13+hotfix.9 at C:\flutter
    • Framework revision f139b11009 (6 days ago), 2020-03-30 13:57:30 -0700
    • Engine revision af51afceb8
    • Dart version 2.7.2

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\mathe\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[!] Connected device
    ! No devices available

Hi @Matheus21012
flutter_advanced_networkimage is  a 3rd party plugin
you may want to open an issue in the dedicated github
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you


Make slice scenario description

Who What & Why
I'm as a slicing vendor can present slicing solution to customers in order to make brilliant presentation
Additional info
Restrictions
Acceptance criteria
Definition of done

[ ] Slicing scenario demo described
[ ] Decide how to use online monitoring tools during demonstration
[ ] Visual aids added

https://miro.com/app/board/uXjVPlO58Jc=/?moveToWidget=3458764559090406596&cot=14

Demonstration tools:

simple one - tcpdump at UPF
nice one - graphana's dashboard that represent PPS/throughput on each UPF to show via which UPF traffic is routed.


Question about "recently played" list on Alexa APP

Hi AVS team,
There is a question about music played history from Alexa APP.
Sometimes, it can click to play the song from the "recently played" list, but sometimes it's failed, it will show "Unable to play, please try again later".
Is it APP or cloud site issue, or AVS SDK not support it ?
Thanks,

Hi @zeusshuang, do you have any device logs when this issue occur?  Is this problem only happening to a particular music service provider?

Hi AVS team,
User mentioned he tried Amazon Music, Gaana, Humganma Music, and Jio Savn.
Gaana and Jio Savn cannot work.
It's India user.

Hi there, sorry for our late response on this. Are you still having problems?

Closing this due to inactivity. Please feel free to re-open if you encounter further problems. Thanks!