Fix for #4106

Leave full debug logging by default only on DITA OT provided Java packages.
Signed-off-by: Radu Coravu<EMAIL_ADDRESS>Description
Avoid debugging Java code from third party plugins on full debug.
Motivation and Context
Fixes #4106
How Has This Been Tested?
No automatic tests.
Type of Changes

Bug fix (non-breaking change which fixes an issue)

Documentation and Compatibility
No doc
Checklist

My code follows the code style of this project.

https://github.com/dita-ot/dita-ot/wiki/Java-Coding-Conventions
https://github.com/dita-ot/dita-ot/wiki/XSLT-Coding-Conventions
https://github.com/dita-ot/docs/wiki/coding-guidelines

I have updated the unit tests to reflect the changes in my code.

@raducoravu could you add a short example of log messages before and after this change? So what will still be shown and what is not?

@raducoravu could you add a short example of log messages before and after this change? So what will still be shown and what is not?

Let's say I run the DITA OT with the "-v" flag.
A DITA OT containing the base plugins will output the same logging information as it did before this change.
If the DITA OT contains a third party plugin which has Java extensions containing logger.debug messages, the DITA OT used to output by default all these debug messages of the third party plugin to the console. After this change, the logger.debug messages from the third party plugin will no longer be shown in the console output by default. They can be shown if someone explicitly modifies their logback.xml.
The logger.error/warn/info messages from the third party plugin's Java code will still be shown by default in the console output.

Seeing that the DITA OT code actually uses its own slf4j implementation "DITAOTAntLogger" I assume the way in which it interprets debug levels is not at all related or controlled by the "logback.xml" file to I could probably also remove these lines from the logback.xml file as well:
<logger name="org.dita" level="DEBUG"/>
<logger name="org.ditang" level="DEBUG"/>
<logger name="com.idiominc" level="DEBUG"/>
<logger name="com.suite" level="DEBUG"/>


Create Chinese Translation

Thanks for translating, all are added to the translation section of the Clutter page.


Missing file in csp.lib for websocket

_websocketadapterimpl is missing from csp.lib.
The examples from examples/03_using_adapters/websocket tries to import it but cannot find it in the path and causes an error.
To reproduce, install csp and run either examples for the websocket adapters.

@johnmatters03 Can you please include the following information:

What OS are you running on
What version of csp you have installed

@robambalu The OS I am running on is Windows 11 Home, with Python version 3.12.4.
The csp I installed is version 0.0.4.
It seems like the basic examples work just fine.

Thanks for that.  IT looks like websocket support on windows didn’t make the 0.0.4 cut, but its available in main
I’ll cut a release shortly, 0.0.5 should have it
From: John Matters @.>
Sent: Wednesday, June 26, 2024 7:51 AM
To: Point72/csp @.>
Cc: Ambalu, Robert @.>; Mention @.>
Subject: Re: [Point72/csp] Missing file in csp.lib for websocket (Issue #298)
@robambalu The OS I am running on is Windows 11 Home, with Python version 3. 12. 4. The csp I installed is version 0. 0. 4. It seems like the basic examples work just fine. — Reply to this email directly, view it on GitHub, or unsubscribe. You
@robambaluhttps://urldefense.com/v3/__https:/github.com/robambalu__;!!K_TC0FI_KA!tuDTNsZfTtRafgMyW-Qd1iI32lEvSonnRQdwV_UU1ui3tr8EvOQkI756Exf7GhOqQH7BUM9_zBBxGKsPoXQb5wfgQ-w8xg$ The OS I am running on is Windows 11 Home, with Python version 3.12.4.
The csp I installed is version 0.0.4.
It seems like the basic examples work just fine.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/Point72/csp/issues/298*issuecomment-2191498592__;Iw!!K_TC0FI_KA!tuDTNsZfTtRafgMyW-Qd1iI32lEvSonnRQdwV_UU1ui3tr8EvOQkI756Exf7GhOqQH7BUM9_zBBxGKsPoXQb5wdMQTwHvg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AG22D7H7FGQPC4HWU5TUXVTZJKTL7AVCNFSM6AAAAABJ42RKKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRGQ4TQNJZGI__;!!K_TC0FI_KA!tuDTNsZfTtRafgMyW-Qd1iI32lEvSonnRQdwV_UU1ui3tr8EvOQkI756Exf7GhOqQH7BUM9_zBBxGKsPoXQb5wf855Hqlw$.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>DISCLAIMER: This e-mail message and any attachments are intended solely for the use of the individual or entity to which it is addressed and may contain information that is sensitive, confidential, legally privileged or otherwise protected under applicable law. No confidentiality or privilege is waived or lost by transmission error. If you are not the intended recipient, you are hereby notified that any disclosure, dissemination, distribution, copying or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and permanently delete this message and any attachments.
Point72 reserves the right, to the extent required and/or permitted under applicable law, to monitor electronic communications, including telephone calls with Point72 personnel. This message is subject to the Point72 Terms of Use (https://point72.com/terms-of-use/) and our Global Privacy Policy (https://point72.com/global-privacy-policy), which describe your rights and how we handle personal and other data. If you cannot access these links, please notify us by replying to this message and we will send the contents to you.
Point72 does not warrant this e-mail message or any attachments is virus-free and is not liable for any losses or responsibilities arising from any virus being transmitted by this communication. E-mail communication is not a secure method of communication, can be intercepted and cannot be guaranteed to be error free.
By communicating with Point72 you acknowledge that you have read, understood and consented, where legally required and permitted, to the Disclaimer above, including the Point72 Terms of Use and the Global Privacy Policy referenced therein.

Thanks for the fix!

fyi, 0.0.5 is out now


Feature: QDoRA

Made the DoRALinear layer work with QuantizedLinear
Tests for DoRALinear
bug fix for recalculating the magnitude (self.m) when changing the linear layer of the DoRALinear instance

Fine tuning Llama 3 with 1 layer and the default 2 keys using DoRA:
 Loading configuration file adapter_config.json
Loading pretrained model
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Loading datasets
Training
Trainable parameters: 0.001% (0.112M/8030.261M)
Starting training..., iters: 112164
Iter 1: Val loss 2.108, Val took 77.962s
Iter 10: Train loss 2.875, Learning Rate 2.000e-05, It/sec 0.460, Tokens/sec 478.967, Trained Tokens 10402, Peak mem 17.474 GB
Iter 20: Train loss 2.898, Learning Rate 2.000e-05, It/sec 0.488, Tokens/sec 447.622, Trained Tokens 19583, Peak mem 17.474 GB
Iter 30: Train loss 2.511, Learning Rate 2.000e-05, It/sec 0.428, Tokens/sec 385.508, Trained Tokens 28584, Peak mem 21.233 GB
Iter 40: Train loss 2.101, Learning Rate 2.000e-05, It/sec 0.262, Tokens/sec 316.188, Trained Tokens 40666, Peak mem 21.359 GB
Iter 50: Train loss 2.020, Learning Rate 2.000e-05, It/sec 0.211, Tokens/sec 295.234, Trained Tokens 54680, Peak mem 26.664 GB
Iter 60: Train loss 1.928, Learning Rate 2.000e-05, It/sec 0.243, Tokens/sec 317.582, Trained Tokens 67724, Peak mem 26.664 GB
Iter 70: Train loss 1.807, Learning Rate 2.000e-05, It/sec 0.250, Tokens/sec 336.838, Trained Tokens 81204, Peak mem 26.664 GB
Iter 80: Train loss 1.754, Learning Rate 2.000e-05, It/sec 0.252, Tokens/sec 342.972, Trained Tokens 94793, Peak mem 26.664 GB
Iter 90: Train loss 1.636, Learning Rate 2.000e-05, It/sec 0.199, Tokens/sec 340.777, Trained Tokens 111876, Peak mem 26.664 GB

Hi @awni , I was wondering if there's any feedback or additional information needed for this contribution? I'm eager to help improve the library and am happy to make any necessary adjustments.

Sorry for the delay! Will plan to review this and share feedback shortly.

This is a nice addition! Apologies for the delayed review.
Could you rebase and address the comments and then we can merge it? Thank you!


help? pls

having this in my console
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder".
SLF4J: Defaulting to no-operation MDCAdapter implementation.
SLF4J: See http://www.slf4j.org/codes.html#no_static_mdc_binder for further details.
[main] INFO JDA - Login Successful!
[JDA MainWS-ReadThread] INFO WebSocketClient - Connected to WebSocket
[JDA MainWS-WriteThread] ERROR WebSocketClient - WebSocket connection was closed and cannot be recovered due to identification issues
CloseCode(4014 / Disallowed intents. Your bot might not be eligible to request a privileged intent such as GUILD_PRESENCES or GUILD_MEMBERS.)
yeah I know its  SLF4J but when I tried to download it and I don't know how there is no download button or anything ... this isn't a BUG but I need a direct download or smth pls
here's my download page https://prnt.sc/wkpxaf
NVM IM STUPID LOL

See the Troubleshooting Guide

See the Troubleshooting Guide


plan for making breaking changes

leave existing master / pipeline as is
create new branch (dev?) and put all new code there
create a DockerHub automated build and create a docker tag with the new code
at some point in the future, notify users and merge that branch to master

Thoughts?
/cc @dpb587

Sounds practical. Alternatively, just keep breaking change PRs unmerged until you/users have had enough notice and time to test.
Do you have a preference for DockerHub automated build vs building from a Concourse pipeline? In my PR pipeline I had been creating the image and testing it before promoting it to DockerHub.
Noticed an issue with my PR in showing AWS errors that ought to be fixed first. Haven't gotten back to that yet.


Issue Building ReactiveUI with a pure VS2017 machine (NO VS2015 ever)

Note: for support questions, please ask on StackOverflow: https://stackoverflow.com/questions/tagged/reactiveui . This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
Contributers Issue
What is the current behavior?
Will open and build using VS2015 with correct Android SDK's installed and Win Mobile 8.1 SDK.
However when opened on a Windows 10 machine with only VS2017 Enterprise + all relevant add-on's fails to build all Andriod projects, ReactiveUI.Blend_WinRT, and ReactiveUI.Blend_Net45 project
execute Build.bat and get a failed build on a machine without VS2015 installed
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
What is the expected behavior?
Open with VS2017 restore packages and Build resulting in a successful build
Open with VS2015 restore packages and Build resulting in a successful build
execute Build.bat and get a successful build
What is the motivation / use case for changing the behavior?
VS2017 is going to be released on March 7th, it has many beneficial features and support for C#7, there is also a Mac version of this (I don't personally own a Mac but... I am starting to see a need to have one even if I only use it for testing)
Which versions of ReactiveUI, and which platform / OS are affected by this issue? Did this work in previous versions of ReativeUI? Please also test with the latest stable and snapshot (http://docs.reactiveui.net/en/contributing/snapshot/index.html) versions.
Source code
Other information (e.g. stacktraces, related issues, suggestions how to fix)

Possible fix for some of the issues would be to add a nuget package Microsoft.Xaml.Interactivity.Unofficial for the ReactiveUI.Blend_WinRT project and System.Windows.Interactivity.WPF package for the ReactiveUI.Blend_Net45 project.
The Andriod project issues need more investigation as I am not certain what version of the SDK is meant to be in use. I may not have the correct versions installed if someone can identifiy the correct version I can update this issue with the new status of the Andriod projects with VS2017

@ChrisPulman I think this should now be resolved on the top of develop, with the process of reworking to the new style csproj files.

Can confirm that this is fixed in develop


Rhmap 20442

JIRA:
https://issues.jboss.org/browse/RHMAP-20442
WHAT:

Add lock dependencies file (npm-shrinkwrap.json)
Add licenses
Add scripts to update the licenses automatically

WHY:
It is a RedHat pre-requirement.
Steps to test:
Check if the CI process finalized with success.

Coverage decreased (-0.01%) to 74.969% when pulling c588a5ff3f5182dbe881b81eaf9c41fd67e176fc on camilamacedo86:RHMAP-20442 into cbd257acb4809f6f9073e579afc6d8c2085c4a1c on feedhenry:master.

Coverage decreased (-0.01%) to 74.969% when pulling c588a5ff3f5182dbe881b81eaf9c41fd67e176fc on camilamacedo86:RHMAP-20442 into cbd257acb4809f6f9073e579afc6d8c2085c4a1c on feedhenry:master.

Closed as won't do.


Part 1 Step 26 should omit reporting on some PGNs

Comments indicate there are PGNs which don't need to be evaluated.  This evaluation includes the broadcast period and values provided.
Current wording indicates the broadcast period should be evaluated for any Supported SPN.  Does the documentation need to change?

Notes from Meeting on 1/7 with Eric, Joe and Bob.

Report on PGNs which are Supported SPNs or Required SPNs (from Table A1) - in Broadcast Validator. Group by PGN
DS Request SPNs which are missing from the Broadcast Data stream OR were provided at Not Available in the Broadcast Data Stream.
Add List of PGNs from Module with SPNs expected at the start of Step 26
Remove second Broadcast Scan from Step 26.

Notes from Meeting on 1/7 with Eric, Joe and Bob.

Report on PGNs which are Supported SPNs or Required SPNs (from Table A1) - in Broadcast Validator. Group by PGN
DS Request SPNs which are missing from the Broadcast Data stream OR were provided at Not Available in the Broadcast Data Stream.
Add List of PGNs from Module with SPNs expected at the start of Step 26
Remove second Broadcast Scan from Step 26.


Unexpected behavior when seeking and receiving messages in the first batch of the topic

In the dotnet client, when forcing 100 messages to be put into the same batch, and then seek the middle one like 50, it will start receiving from the first message. If batch sending is not enabled or forced to send one by one, it works normally.
This problem seems to only appear in the first batch of the topic.
Example codes:
const string serviceUrl = "pulsar://localhost:6650";

var client = await new PulsarClientBuilder()
    .ServiceUrl(serviceUrl)
    .BuildAsync();

var topicName = "public/default/topic-" + Guid.NewGuid().ToString("N");
logger.WriteLine(topicName);

var producer = await client.NewProducer()
    .Topic(topicName)
    .EnableBatching(true)
    .BatchingMaxPublishDelay(TimeSpan.FromSeconds(3))
    .CreateAsync();

var consumer = await client.NewConsumer()
    .Topic(topicName)
    .SubscriptionName("test-subscription")
    .SubscribeAsync();

// Act
int num = 100;
List<MessageId> msgs = new List<MessageId>(num);
List<Task<MessageId>> tasks = new List<Task<MessageId>>();

// When uncomment this, it will send the first batch, and the problem will not appear in the following batches.
// await producer.SendAsync(Encoding.UTF8.GetBytes("first-batch-message"));

for (int i = 0; i < num; i++)
{
    tasks.Add(producer.SendAsync(
        Encoding.UTF8.GetBytes($"[{i}]")));
}

await Task.WhenAll(tasks); // Force 100 messages to be sent in the same batch.
foreach (var task in tasks)
{
    msgs.Add(await task);
}

await consumer.SeekAsync(msgs[50]);

for (int i = 0; i < 10; i++)
{
    var reMsg = await consumer.ReceiveAsync();
    String msg = Encoding.UTF8.GetString(reMsg.Data);
    logger.WriteLine(msg);
}

Running these codes will output:
public/default/topic-215bd2ac57be47729b233b77695e2eb7
[0]
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]

When uncommenting the line await producer.SendAsync(Encoding.UTF8.GetBytes("first-batch-message")); to send the first batch first. It will output the expected result.
Expected output:
public/default/topic-215bd2ac57be47729b233b77695e2eb7
[51]
[52]
[53]
[54]
[55]
[56]
[57]
[58]
[59]
[60]

Hi, @RobertIndie! Have you enabled batch index acknowledgement on server side?

Hi, @RobertIndie! Have you enabled batch index acknowledgement on server side?

Do you mean acknowledgmentAtBatchIndexLevelEnabled in broker.conf? I have set it as the default value false.

Nevermind, I initially though this has something to to with acknowledgmentAtBatchIndexLevelEnabled, but the issue is that SeekAsync happens after messages were sent from broker to consumer, but before they landed in internal queue. I'll see how to do the workaround, but I think that Java client must be vulnerable to this as well.

I have tested it in the Java client, and the same code does not have such a problem in the Java client.

In java the it works by pure luck :) There messages appear in the queue before the moment seek response is done, this is because in Java internal queue is not blocked while waiting for the seek response. In 99.9% it will work fine, but sometimes can fail.

I've just published 2.0.2, it should fix the issue

Thank you! It works.

@RobertIndie Nice to hear! Please don't forget to star the project if you find it useful :)

In java it works by pure luck :) There messages appear in the queue before the moment seek response is done, this is because in Java internal message queue is not blocked while waiting for the seek response, so messages usually win during this race condition. In 99.9% cases it will work fine, but sometimes can fail.

Hi, do you know where the race condition is in the java client? Can we fix this problem?

@RobertIndie, the process is the following

User calls Seek method
Client sends Seek request
Client receives Seek response
Client clears incoming messages queue
Client returns Seek result to User
Client receives Reconnect message and starts reconnecting.
I see two possible issues here:

If message is received by Client before step 4 it will be processed by User even though the Seek is in progress.
If message is received by Client between 5 and 6 steps we'll see exactly the same issue as you posted here.
The fix that I made is set startMessageId on step 4, so messages that arrive before Reconnect are ignored - this is a shortest way to fix it, but a bit hacky. Another way I can imagine the fix - to compare incoming messages not just with startMessageId, but with seekMessageId as well.

Thanks for your replying.
In the java client, it has already reset the startMessageId when reconnecting to the broker. (in https://github.com/apache/pulsar/blob/935cedaac9cc6d501bb50ff6c65e8ecf328485c4/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java#L820 and https://github.com/apache/pulsar/blob/935cedaac9cc6d501bb50ff6c65e8ecf328485c4/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerImpl.java#L705).
It seems to be able to achieve the same effect as you have fixed.

@RobertIndie Yes, I'm aware of that :) That's why I wrote "If message is received by Client between 5 and 6 steps", which is before that logic happens


sink(ticdc): Add DDL query into schema.json file

What problem does this PR solve?

Issue Number: ref #6797 close #7847
What is changed and how it works?

Add DDL query into schema.json file to facilitate the implementation of the consumer.
Add table definition version into schema.json in case of the file structure change in the future.
Properly handle date change when generating DML data file path.

Check List
Tests

Unit test
Integration test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/cc @3AceShowHand

/run-all-tests

/verify

/run-verify

/merge

/run-all-tests

/run-integration-test

/needs-cherry-pick-release-6.5

/cherry-pick release-6.5


Set isExecuting to true before yielding the execution task

There was a very brief time when a QueuedTask would start executing but isExecuting was still sent to false. This caused the preparationTask.isExecuting check in SemanticIndexManager.prepare to fail after we did start preparation, causing the preparation of LibB in testDontStackTargetPreparationForEditorFunctionality to be cancelled, which wasn’t intended. Thus, the expected preparation tracker got out of sync and the test would fail.
rdar://136570212

@swift-ci Please test


Rbac ids

MiqSchedule#target_ids needs to return ids not objects. Change Rbac.filtered to reverse_merge the options to let the caller override.

The line was too long and rubocop was complaining
So I removed useless deprecation:

Rbac.filtered(nil) is not called in any of our code, remove the deprecation.
Rbac.search(:targets => []) - the 1 caller of interest was removed.

/cc @gtanzillo

👍 LGTM


Join slurm data to the sonar jobs data

When sonar reports on a slurm job it is with the slurm job ID, and the sonar sample data and the slurm sacct data are complementary.  For example, the slurm data supplies information about the request, here are some random data:
$ sonalyze sacct -cluster fox -job 996178 -fmt v1default,NodeList,Partition,Wait,ReqMem,ReqNodes,ReqCPUS,ReqGPUS,State
JobID   JobName          User         Account  RelativeCPU  RelativeResidentMem  NodeList  Partition  Wait  ReqMem  ReqNodes  ReqCPUS  ReqGPUS     State
996178  train_video_gat  ec-xxxxxxxx  ec395    65           53                   gpu-7     accel      16    80      1         20       a100=1,*=1  COMPLETED

Not all jobs printed by the jobs report have slurm data because they are run on interactive nodes or are still running when the jobs report is printed, but when they do we should surface it.  And we would want for it to be possible to query by those data, eg, jobs by partition.
It's possible to do the joining on the client side (whether we think of that as the dashboard, an ad-hoc report, or in the sonalyze client) but this feels like a fairly fundamental idea - after all the sonar "jobs" data are themselves synthesized.

Probably the most sensible thing is to incorporate selected slurm fields into the job report (those that do not duplicate the fields already there).  I'm thinking in particular: Submit, JobName, State, Account, Layout, Reservation, Partition, ReqGPUS, AveDiskRead, AveDiskWrite, AveRSS, AveVMSize, MaxRSS, MaxVMSize, SystemCPU, UserCPU, ReqCPUS, ReqMem, ReqNodes, Suspended, TimeLimitRaw, ExitCode, ExitSignal.  (The memory and CPU readings duplicate the sample data but are probably more accurate.)  We could also take data that are more precise than the Sonar data: Start and End.
I don't yet know how to incorporate array and het jobs into this and how to do job steps.  (See #675.)
Most sensibly all of those fields should be queryable as part of the job filter (as should all the fields in the existing report, really) - we'll want a simple generic solution for that.
The end state here is that we get to eg sonalyze jobs -cluster fox -u ec-xxxxxxxx -select Partition=accel -from 4w (with -select being a generic thing usable even on existing fields, -select 'Duration>1h').

Still, the high value is probably to be able to select on a few of those fields, such as partition, account, state, jobname.  So important to focus on those and not get bogged down in generalities: Having -partition xxxx like we have -command xxxx is likely enough.

Starting to look OK:
$ ./sonalyze jobs -data-dir ~/sonar/data/fox.educloud.no -u - -fmt std,Partition,Reservation,State,Account -host 'gpu-*' -completed
jobm    user             duration   host    Partition   Reservation  State      Account
992455  ec-dhananjt       0d 2h25m  gpu-1   accel_long               COMPLETED  ec35
992456  ec-dhananjt       0d 2h50m  gpu-2   accel_long               COMPLETED  ec35
992457  ec-dhananjt       0d 5h30m  gpu-7   accel_long               COMPLETED  ec35
992458  ec-dhananjt       0d 5h10m  gpu-8   accel_long               COMPLETED  ec35
992459  ec-dhananjt       0d 7h 0m  gpu-8   accel_long               COMPLETED  ec35
992460  ec-dhananjt       0d10h 5m  gpu-2   accel_long               COMPLETED  ec35
992462  ec-dhananjt       0d10h55m  gpu-11  ifi_accel                COMPLETED  ec35
992463  ec-dhananjt       0d16h20m  gpu-7   accel_long               COMPLETED  ec35
994067  ec-matan          0d19h15m  gpu-4   ifi_accel                CANCELLED  ec35
995315  ec-eirikeg        0d 1h 0m  gpu-1   accel                    COMPLETED  ec395
...

Looking even better:
$ ./sonalyze jobs -data-dir ~/sonar/data/fox.educloud.no -u - \
  -fmt std,Partition,State,RequestedGpus,GpuAvgPct,RequestedCpus,CpuAvgPct \
  -host 'gpu-*' \
  -completed \
  -partition accel \
  -min-runtime 12h
jobm    user        duration   host   Partition  State      RequestedGpus  GpuAvgPct  RequestedCpus  CpuAvgPct
996963  ec-xxxxxxx   0d12h45m  gpu-8  accel      TIMEOUT    a100=1,*=1     14         20             1639
996966  ec-xxxxxxx   0d13h 5m  gpu-7  accel      TIMEOUT    a100=1,*=1     16         20             1617
996968  ec-xxxxxxx   0d13h10m  gpu-8  accel      CANCELLED  a100=1,*=1     15         20             1615
996972  ec-xxxxxxx   0d17h40m  gpu-9  accel      TIMEOUT    a100=1,*=1     15         20             1594
996974  ec-xxxxxxx   0d13h10m  gpu-2  accel      CANCELLED  a100=1,*=1     14         20             1640
996975  ec-xxxxxxx   0d13h10m  gpu-7  accel      CANCELLED  a100=1,*=1     12         20             1664
996964  ec-xxxxxxx   0d12h45m  gpu-1  accel      TIMEOUT    a100=1,*=1     14         20             1632

Main patch landed but still want to do cleanup in TODO list at top.


qmlbook - chapter two (pt)

adding chapter two to the repository (pt). needing reviewal before merging

Will you continue with the polish translation?

Hi,
I just merged a larger change to restructure all chapters and use the online translation tool transifex. Please read https://github.com/qmlbook/qmlbook/blob/master/TRANSLATION.md.
Translation is now done using a different system. Sorry for not being able to merge these changes. But I hope this will make the translation much smoother in the future. Cheers!


Publish on AMO

Unlike Chrome, Firefox will only install extensions that are in the store (addons.mozilla.org or AMO) or uploaded to Mozilla to be signed. Is there a plan to get this extension in the store? (It's free)

The extension is submitted to the addons store already and is awaiting review. When it passes, it'll be at https://addons.mozilla.org/en-US/firefox/addon/tasks-for-canvas/


Methods PoC

Hello. Thank you for this amazing project! Where I can exactly find methods to look on exploits PoC directly? All code is looks very huge and difficult to understand. For example I want to know how exactly 52 method works. I've not found it here Source/Akagi/methods. I'm also wanted to know - do this all methods written to return elevated to current handle? So every method in Source/Akagi/methods will result in returning elevated privs to process which calls it?

See readme.txt, methods list, "Implementation" for each function name. Final payload of each func is elevated cmd.exe instance by default or elevated executable supplied as optional parameter for akagi.exe

figured out, thanks!


feat: create/edit unpublished source datasets ui (#130)

Draft PR only.

Duplicate of https://github.com/clevercanary/hca-atlas-tracker/pull/149


Remove upperbound constraint on ActionMailer, Rails 6 support

Instead of updating the gemspec with every release we can be less
conservative. As a result makes master check on CI mandatory

Let me know if are okay with route instead of updating the upperbound to 6.0

Thanks @KaanOzkan, but since major Rails upgrades only happen ever so often, I'm fine with bumping it once people confirmed that it is working with the new version.
I'd be open for a PR that changes < 6 to < 7 😉


the background of the selected day disappears

When the month view slides to the next month, the background of the selected day disappears! And the selected day cannot be clicked.

+1

+1

When the month view slides to the next month, the background of the selected day disappears! And the selected day cannot be clicked.

Have you solved it?


update alpine and ejs with updates to layout file to support new version

Some minor updates. I hope you find them useful!

Built and tested locally.

Thanks for the PR - but some questions

alpine 3.15 uses new Nodejs 16 - how much have you tested it and everything is working with the new release?
The current container uses Nodejs12 and we ourself use 14 a lot, therefore know its working with these release - meaning an update to Alpine 3.14 at max is save...
nodejs12 has support for next half a year, therefore no update needed by now but has to be plannend (and done) within this timeframe
regarding the update to ejs, i hoped for a newer 3.x version without all these new dependencies (2.7 has no dependencies) but it seems there will be no explicit ejs-cli package to remove all these unneeded deps. And the one security warning in ejs 2.7 for some render parameter does not apply to redis commander as far as i can see.

Thanks for the PR - but some questions

alpine 3.15 uses new Nodejs 16 - how much have you tested it and everything is working with the new release?
The current container uses Nodejs12 and we ourself use 14 a lot, therefore know its working with these release - meaning an update to Alpine 3.14 at max is save...
nodejs12 has support for next half a year, therefore no update needed by now but has to be plannend (and done) within this timeframe
regarding the update to ejs, i hoped for a newer 3.x version without all these new dependencies (2.7 has no dependencies) but it seems there will be no explicit ejs-cli package to remove all these unneeded deps. And the one security warning in ejs 2.7 for some render parameter does not apply to redis commander as far as i can see.

All good points. Thanks for taking a look!
In regards to your points ..  ejs, I updated because of the security warning, your intuition is correct there. alpine update was to get to the node version I am using. Not a huge technical reason.
In terms of testing, tested locally and it seemed to perform about the same.
That said, redis-commander is a a new tool for me so there is a good chance I missed something so I understand the hesitation.
If you do not think these are useful changes please feel free to decline. No issues here .. just trying to help.

Thanks for the help - and good to hear it is working on your side with Node16. There where problems between some Node releases in the past. And because an update to the alpine images is needed within the next months it would be good to just go to the last version if possible. I will have a deeper look into it over the week.
For ejs - we need to do something to - seeing the security warning by all scanners (even if its not vulnerable) is nothing for the long run. Will decide there too.

Thank you and I understand. I will also continue using and testing from my side and report back any issues I see.


Generating report can take a long time

Right now they are opened in a separate tab. The administrator needs to make sure that the server timeouts do not restrict the time needed to generate the reports. The users only sees a browser spinning wheel on the new tab to indicate that there is report generation activity. Perhaps this workflow can be made more user-friendly, e.g. when a report request is initiated, run the code needed to feed the report in a background job. Send a notification to the user when its ready. Only open and output to a new tab when the data is ready to be fed into the report.

Report generation should be done asynchronously.

Possible rough implementation of moving report generation to Celery tasks:

Add alert system based on user session
Instead of opening a new tab, show an alert when a report has been requested
Show some sort of "results" tab when past/present jobs exist for the user session
An SQLlite DB table can be used to keep track of report tasks
SQLlite columns to add to the table: report parameters, report type, user session ID, and results
An SQLite TEXT field can be used to store report results (up to 2GB of data)

Another idea suggested is to look at using Elasticsearch to index fetch-derived data which seems like it could work.

Long-running reports have been changed to draw data from a Typesense index which should solve the speed issue (along with running AIPscan with MySQL as the primary data source).


[camera] ImageStream ImageFormatGroup is Ignored in iOS

In the camera plugin, even though I have specified yuv420 as the imageFormatGroup, the data retrieved by startImageStream is the same as that of bgra8888.
Steps to Reproduce

Execute flutter run on the code sample
Looking at the log, there are some strange things going on, such as the byte size being too large, even though the format is yuv.

Expected results:
flutter: format: ImageFormatGroup.yuv420
flutter: planes: 2
flutter: bytes: 2088960
flutter: width: 1080
flutter: height: 1920
flutter: bytesPerRow: 1088

Actual results:
flutter: format: ImageFormatGroup.yuv420
flutter: planes: 1
flutter: bytes: 8355840
flutter: width: 1080
flutter: height: 1920
flutter: bytesPerRow: 4352

Code sample
import 'package:camera/camera.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  CameraController? controller;

  Future<void> init() async {
    final cameras = await availableCameras();
    if (cameras.isEmpty) return;
    controller = CameraController(
      cameras.first,
      ResolutionPreset.veryHigh,
      enableAudio: false,
      imageFormatGroup: ImageFormatGroup.yuv420,
    );
    await controller!.initialize();
  }

  @override
  void initState() {
    init().then((_) {
      setState(() {});
    });
    super.initState();
  }

  @override
  void dispose() {
    controller?.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: controller == null ? Container() : CameraPreview(controller!),
      floatingActionButton: FloatingActionButton(
        onPressed: () {
          controller?.startImageStream((image) {
            print('format: ${image.format.group}');
            print('planes: ${image.planes.length}');
            print('bytes: ${image.planes.first.bytes.length}');
            print('width: ${image.width}');
            print('height: ${image.height}');
            print('bytesPerRow: ${image.planes.first.bytesPerRow}');
          });
        },
        child: const Icon(Icons.camera),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

flutter doctor -v

[✓] Flutter (Channel stable, 2.5.3, on macOS 12.0.1 21A559 darwin-arm, locale ja-JP)
    • Flutter version 2.5.3 at /Users/zuvola/Documents/Tools/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (5 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/zuvola/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio
      Preview.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.1, Build version 13A1030d
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.62.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.28.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.45

I see the same results as OP.
Labeling for further insights.

logs
`iOS`
Launching lib/main.dart on Nexus’ IPhone in debug mode...
Found saved certificate choice "Apple Development: Dean Li (DXB2HBHNAA)". To clear, use "flutter config".
Signing iOS app for device deployment using developer identity: "Apple Development: Dean Li (DXB2HBHNAA)"
Xcode build done.                                           14.2s
(lldb) 2021-11-18 08:59:58.033940+0000 Runner[43618:12571452] Writing analzed variants.
[VERBOSE-2:FlutterObservatoryPublisher.mm(101)] Failed to register observatory port with mDNS with error -65555.
[VERBOSE-2:FlutterObservatoryPublisher.mm(103)] On iOS 14+, local network broadcast in apps need to be declared in the app's Info.plist. Debug and profile Flutter apps and modules host VM services on the local network to support debugging features such as hot reload and DevTools. To make your Flutter app or module attachable and debuggable, add a '_dartobservatory._tcp' value to the 'NSBonjourServices' key in your Info.plist for the Debug/Profile configurations. For more information, see https://flutter.dev/docs/development/add-to-app/ios/project-setup#local-network-privacy-permissions
[VERBOSE-2:FlutterObservatoryPublisher.mm(101)] Failed to register observatory port with mDNS with error -65555.
[VERBOSE-2:FlutterObservatoryPublisher.mm(103)] On iOS 14+, local network broadcast in apps need to be declared in the app's Info.plist. Debug and profile Flutter apps and modules host VM services on the local network to support debugging features such as hot reload and DevTools. To make your Flutter app or module attachable and debuggable, add a '_dartobservatory._tcp' value to the 'NSBonjourServices' key in your Info.plist for the Debug/Profile configurations. For more information, see https://flutter.dev/docs/development/add-to-app/ios/project-setup#local-network-privacy-permissions
Connecting to VM Service at ws://<IP_ADDRESS>:50995/rWbeyn61UvM=/ws
fopen failed for data file: errno = 2 (No such file or directory)
Errors found! Invalidating cache...
fopen failed for data file: errno = 2 (No such file or directory)
Errors found!
Exited (sigterm)

android
Launching lib/main.dart on M2007J20CG in debug mode...
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
✓  Built build/app/outputs/flutter-apk/app-debug.apk.
W/FlutterActivityAndFragmentDelegate(13459): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.
Connecting to VM Service at ws://<IP_ADDRESS>:52091/KGT9o-yeX6k=/ws
I/CameraManagerGlobal(13459): Connecting to camera service
W/CameraManagerGlobal(13459): [soar.cts] ignore the status update of camera: 100
W/CameraManagerGlobal(13459): [soar.cts] ignore the status update of camera: 101
W/CameraManagerGlobal(13459): [soar.cts] ignore the status update of camera: 21
W/CameraManagerGlobal(13459): [soar.cts] ignore the status update of camera: 22
W/CameraManagerGlobal(13459): [soar.cts] ignore the status update of camera: 25
W/CameraManagerGlobal(13459): [soar.cts] ignore the status update of camera: 61
W/CameraManagerGlobal(13459): ignore the torch status update of camera: 100
W/CameraManagerGlobal(13459): ignore the torch status update of camera: 21
W/CameraManagerGlobal(13459): ignore the torch status update of camera: 22
W/CameraManagerGlobal(13459): ignore the torch status update of camera: 61
W/com.example.cam(13459): type=1400 audit(0.0:776278): avc: denied { read } for name="u:object_r:vendor_persist_camera_prop:s0" dev="tmpfs" ino=10204 scontext=u:r:untrusted_app:s0:c248,c257,c512,c768 tcontext=u:object_r:vendor_persist_camera_prop:s0 tclass=file permissive=0 app=com.google.android.dialer
E/libc    (13459): Access denied finding property "persist.vendor.camera.privapp.list"
E/CameraManagerGlobal(13459): Camera 61 is not available. Ignore physical camera status change
I/Camera  (13459): startPreview
W/BpBinder(13459): Slow Binder: BpBinder transact took 331ms, interface=android.hardware.camera2.ICameraDeviceUser, code=6 oneway=false
I/Camera  (13459): Updating builder settings
D/Camera  (13459): Updating builder with feature: ExposureLockFeature
D/Camera  (13459): Updating builder with feature: ExposurePointFeature
D/Camera  (13459): Updating builder with feature: ZoomLevelFeature
D/Camera  (13459): Updating builder with feature: AutoFocusFeature
D/Camera  (13459): Updating builder with feature: NoiseReductionFeature
I/Camera  (13459): updateNoiseReduction | currentSetting: fast
D/Camera  (13459): Updating builder with feature: FocusPointFeature
D/Camera  (13459): Updating builder with feature: ResolutionFeature
D/Camera  (13459): Updating builder with feature: SensorOrientationFeature
D/Camera  (13459): Updating builder with feature: FlashFeature
D/Camera  (13459): Updating builder with feature: ExposureOffsetFeature
D/Camera  (13459): Updating builder with feature: FpsRangeFeature
I/Camera  (13459): closeCaptureSession
W/BpBinder(13459): Slow Binder: BpBinder transact took 353ms, interface=android.hardware.camera2.ICameraDeviceUser, code=14 oneway=false
W/BpBinder(13459): Slow Binder: BpBinder transact took 318ms, interface=android.hardware.camera2.ICameraDeviceUser, code=6 oneway=false
I/Camera  (13459): startPreviewWithImageStream
I/Camera  (13459): Updating builder settings
D/Camera  (13459): Updating builder with feature: ExposureLockFeature
D/Camera  (13459): Updating builder with feature: ExposurePointFeature
D/Camera  (13459): Updating builder with feature: ZoomLevelFeature
D/Camera  (13459): Updating builder with feature: AutoFocusFeature
D/Camera  (13459): Updating builder with feature: NoiseReductionFeature
I/Camera  (13459): updateNoiseReduction | currentSetting: fast
D/Camera  (13459): Updating builder with feature: FocusPointFeature
D/Camera  (13459): Updating builder with feature: ResolutionFeature
D/Camera  (13459): Updating builder with feature: SensorOrientationFeature
D/Camera  (13459): Updating builder with feature: FlashFeature
D/Camera  (13459): Updating builder with feature: ExposureOffsetFeature
D/Camera  (13459): Updating builder with feature: FpsRangeFeature
W/com.example.ca(13459): Long monitor contention with owner main (13459) at void android.hardware.camera2.impl.CameraDeviceImpl.waitUntilIdle()(CameraDeviceImpl.java:1304) waiters=0 in void android.hardware.camera2.impl.CameraDeviceImpl$4.run() for 684ms
W/com.example.ca(13459): Long monitor contention with owner main (13459) at void android.hardware.camera2.impl.CameraDeviceImpl.waitUntilIdle()(CameraDeviceImpl.java:1304) waiters=1 in void android.hardware.camera2.impl.CameraDeviceImpl$CameraDeviceCallbacks.onCaptureStarted(android.hardware.camera2.impl.CaptureResultExtras, long) for 662ms
I/flutter (13459): format: ImageFormatGroup.yuv420
I/flutter (13459): planes: 3
I/flutter (13459): bytes: 921600
I/flutter (13459): width: 1280
I/flutter (13459): height: 720
I/flutter (13459): bytesPerRow: 1280
I/flutter (13459): format: ImageFormatGroup.yuv420
I/flutter (13459): planes: 3
I/flutter (13459): bytes: 921600
I/flutter (13459): width: 1280
I/flutter (13459): height: 720
I/flutter (13459): bytesPerRow: 1280
I/flutter (13459): format: ImageFormatGroup.yuv420
I/flutter (13459): planes: 3
I/flutter (13459): bytes: 921600
I/flutter (13459): width: 1280
I/flutter (13459): height: 720
I/flutter (13459): bytesPerRow: 1280
W/System  (13459): A resource failed to call release.

Exited (sigterm)

flutter doctor -v
[✓] Flutter (Channel master, 2.6.0-12.0.pre.757, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.6.0-12.0.pre.757 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 1ba81373ee (6 hours ago), 2021-11-17 22:01:34 -0500
    • Engine revision a3ef1d5351
    • Dart version 2.16.0 (build 2.16.0-20.0.dev)
    • DevTools version 2.8.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.62.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.28.0

[✓] Connected device (3 available)
    • Nexus’ IPhone (mobile) • 00008020-001875E83A38002E • ios            • iOS 15.0.2 19A404
    • macOS (desktop)        • macos                     • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)           • chrome                    • web-javascript • Google Chrome 96.0.4664.45

• No issues found!

[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.5.3 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (5 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.62.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.28.0

[✓] Connected device (3 available)
    • Nexus’ IPhone (mobile) • 00008020-001875E83A38002E • ios            • iOS 15.0.2 19A404
    • macOS (desktop)        • macos                     • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)           • chrome                    • web-javascript • Google Chrome 96.0.4664.45

• No issues found!

Side note: I see similar values for android, but I'm not entirely sure what is happening here as I'm not very familiar with the image formats and what the expected values should be as such I won't be applying any platform-specific labels.

Here is a brief description of the logs for bgra8888 and yuv420.

bgra8888
32-bit BGRA.
One plane is 32 bits, so 1 pixel = 4 bytes, and the following equation is valid
1088 pixel * 4 byte = 4352 bytesPerRow
The 8 pixels larger than the width is thought to be padding.

flutter: format: ImageFormatGroup.bgra8888
flutter: planes: 1
flutter: bytes: 8355840
flutter: width: 1080
flutter: height: 1920
flutter: bytesPerRow: 4352

yuv420(iOS)
There are two planes, and Y data (luminance) is in the first plane.
Since Y is 8 bit, 1 pixel = 1 byte and width ≈  bytesPerRow.
You can see in the actual result that the display is yuv420 and the content is bgra8888.

// Expected results:
flutter: format: ImageFormatGroup.yuv420
flutter: planes: 2
flutter: bytes: 2088960
flutter: width: 1080
flutter: height: 1920
flutter: bytesPerRow: 1088
// Actual results:
flutter: format: ImageFormatGroup.yuv420
flutter: planes: 1
flutter: bytes: 8355840
flutter: width: 1080
flutter: height: 1920
flutter: bytesPerRow: 4352

yuv420(Android)
It is almost the same as iOS, but there are three planes.
You can see that 1 pixel = 1 byte.
The width and height inversion can be corrected in "deviceOrientation" of the camera.
I need to investigate why the resolution is the same as "high" even though I specified "veryHigh".

I/flutter (13459): format: ImageFormatGroup.yuv420
I/flutter (13459): planes: 3
I/flutter (13459): bytes: 921600
I/flutter (13459): width: 1280
I/flutter (13459): height: 720
I/flutter (13459): bytesPerRow: 1280


General Question about adding apps in the list

First of all thank you for this module.
i have a question, to add other apps in the list , I just need to add it to detach.txt and flip the toggle off on then reboot or i have to make the process of reinstalling and rebooting?
🙏 thank you

most simple way to add new apps:
1- add apps in the detach.txt
2- reflash the module
no need for a reboot or disabling/uninstalling module

Thank you


EndOfStreamException in debugging

Hi.
I am recieving an exception below when I assign breakpoint in debugger an code debugging.
What is meaning this exception?
RtspClientSharp.Rtsp.RtspClientException: Receive error ---> System.IO.EndOfStreamException: End of TPKT stream
at RtspClientSharp.Tpkt.TpktStream.d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RtspClientSharp.Tpkt.TpktStream.d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RtspClientSharp.Rtsp.RtspClientInternal.d__33.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RtspClientSharp.Rtsp.RtspClientInternal.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RtspClientSharp.RtspClient.d__14.MoveNext()
--- End of inner exception stack trace ---
at RtspClientSharp.RtspClient.d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

It means that connection was closed by RTSP server because you program was suspended by debugger

Thanks. I understood.
Is the recieve timeout  a server option? Can it be assign on the client side?

I saw parameters in ConnectionParameters class:
ConnectTimeout
ReceiveTimeout
CancelTimeout
It seems that this is what I need.

Thanks. I understood.
Is the recieve timeout a server option? Can it be assign on the client side?

No. That timeouts should be adjusted on server side.

I saw parameters in ConnectionParameters class:
ConnectTimeout
ReceiveTimeout
It seems that this is what I need.

It's your (client) timeouts, not server.

It's your (client) timeouts, not server.
Ok, thanks.


sink(cdc): only check sink stuck for MQ sinks

What problem does this PR solve?
Issue Number: close #9736 .
What is changed and how it works?
Other sink categories like Txn or CloudStorage can handles table sink progress callbacks good enough: callbacks won't be lost forever if sink factory fails internally. Otherwise an error will be reported instead, which can cause sink factory re-established correctly.
We only have met the callback lose issue for MQ sinks, so only check sink stuck for MQ sink is enough.
Check List
Tests

Unit test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

/test cdc-integration-mysql-test

/test cdc-integration-mysql-test


Missing part on header buttons onhover

Icon and text in the header button should move 1px upwards in the state hover, as is the case with the button.
Figma-Link:
https://www.figma.com/file/9r6xSfNmEfCFxl1yFYedrj/Lyne-Components?node-id=5185%3A306782&t=Xy6SqXbplNZnMUej-1

https://github.com/lyne-design-system/lyne-components/pull/1585
pull request opened


Mar3hc/feat/uds

Hello Thomas,
The PR updates the UDS keyword to resolve an issue in the pipeline.
Additionally, it includes an example of a Robot Framework file that was successfully tested on a test bench.
The PR also contains updates to the documents.
Thank you,
Tri


Specific Python version for Tox for building documentation on Windows

Following the setup of tox for live building the documentation gives this error message upon tox -e docs:
ERROR: InterpreterNotFound: python3.6
Reason: Named versions for the python interpreter like python3.6.exe are typically not created on Windows with conda. Instead, one only has python.exe, and conda manages the Python version of an environment.
The Tox configuration, however, specifies basepython=python3.6 to ensure that the docs are built with the same version that is used for LiberTEM. This means Tox will execute python3.6 for the python interpreter and throws an error if that is not found in the %PATH%.
Solution: Make sure that python3.6 is in the %PATH% and executes the right python interpreter. Put a simple python3.6.bat file in the conda environment base folder where the python.exe of that environment is located. Typically that can be found at %LOCALAPPDATA%\conda\conda\envs\<envname>\
@echo off
REM @echo off is vital so that the file doesn't clutter the output
REM execute the python.exe of the environment with the command line of this script
@python.exe %*

See also: http://tox.readthedocs.io/en/latest/developers.html#multiple-python-versions-on-windows

This is now documented in https://libertem.github.io/LiberTEM/contributing.html#on-windows


MSPSDS-559: Fix document description update

Pull Request Test Coverage Report for Build 1184

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.752%

Totals

Change from base Build 1180:
0.0%

Covered Lines:
2329

Relevant Lines:
2458

💛  - Coveralls


Give option for Y-up Normal Vector

Multimesh instances are defaulted to be the normal of the terrain. Should provide an option (boolean export var) to use Y-up vector instead (0, 1, 0). I have a local change that I can post as a PR when I get the time but wanted to see if this project is still active first
Edit: this is useful for things like trees where they don't grow out of a normal vector to the ground, they basically grow straight up (some random rotation helps, which works fine)

The project is not active, but I can gladly merge your changes if they are beneficial:)
Maybe an option to specify the normal vector instead of a boolean export variable would maybe be better?

Agreed, that totally makes sense. I dropped in a PR. Thanks for creating this tool, by the way! It's awesome

Thanks 👍


⚠ Bofrost.at has degraded performance

In c94a025, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1073 ms

Resolved: Bofrost.at performance has improved in d2758d7.


Add flags about need for lint subcmd

Signed-off-by: yxxhero<EMAIL_ADDRESS>add flags about need for lint subcmd

@mumoshu ok. I will do as you say in next PR.


Livestream: Auto Playback of YouTube livestream didn't start on mobile devices

Description: A YouTube livestream doesn't start automatically on mobile devices like smartphones or tablets. The user must manually start the livestream.
Reproduction:

Open a meeting
open settings > livestream > add a YouTube livestream in Livestream URL
open the meeting on a mobile device and check the livestream

What should happen:
The YouTube Livestream should start automatically after user login or after it is setup by an admin.
My two cents:
I guess, the issue can hardly be solved, beacuse from my point of view mobile devices have disabled autoplayback by default. Therefor I dont' labeled this issue with the bug-tag but with needs discussion, if it is not fixable.

I don't think this is possible.
https://developers.google.com/youtube/iframe_api_reference#Autoplay_and_scripted_playback


Add printing of OPCODEs in forge tests

Component
Forge
Describe the feature you would like
One feature that is missing in the tooling would be to print the opcodes that re hit when testing contracts.
For example https://github.com/zemse/hardhat-tracer has the option for you to set if you want to print SLOADs, MLOADs and other OPCODES when testing and also their gas usage. This would be beneficial of gas analysis & gas optimizations.
I know with the debugger you can see the opcodes but its hard to navigate and you can't filter only specific opcodes there

This maybe can be added as a verbosity level 6 or another way where you can specify which opcodes you want printed.
Additional context
No response

I think the current state of this is that the renderer has support for rendering OPCODEs (added in https://github.com/paradigmxyz/revm-inspectors/pull/157) but we still require an implementation of it, correct @klkvr?


icon-x() & icon-arrow()

per #213, a little more semantically named with room for future additions

:+1:


Changelog is redundant

We don't need a change log since we're creating annotated tagged releases. If people want a change log file, it should be auto generated from the releases.

I agree, also for glyphsets and lang repo, would be nice to have it automated.


Fix for Pablos PR

What does this PR do?
pylint Fixes
What issues does this PR fix or reference?
Previous Behavior
Remove this section if not relevant
New Behavior
Remove this section if not relevant
Tests written?
Yes/No
Please review Salt's Contributing Guide for best practices.

@meaksh


make log view better

Description
Some of log tables alignment with space, pre-wrap make it shows better.

Thanks @helloyou2012
@scherler could you PTAL?

ping @i386 @scherler

@michaelneale not sure what the effect is - will rely on @scherler to tell me :)

@helloyou2012 @i386 @michaelneale the notification for this must have been gone down the spam folder. Sorry about it. Will have a look now.

@helloyou2012 I do not see any difference, what so ever. Can you provide a before and after screen shot?

Before:

After:

Oh I see. Nice one 👍

NICE
👍 👍 👍 👍 👍 👍 👍 👍

@scherler @sophistifunk can we get this in some time?

This seems pretty clearly a win to me 🐝

This is a really great change 🍾


Add rcodesign installation to golang-builder

Preparation for code signing OSX builds, will help fixing issues like https://github.com/prometheus/node_exporter/issues/2539.
See https://github.com/indygreg/apple-platform-rs/tree/main/apple-codesign#rcodesign-cli for more info.

@SuperQ did you have any feedback for this?


Caught exception reported in sound mode

I'm not sure if this is a bug or not since the docs on sound mode is a little light, but the source code indicate that caught exceptions should not return a may throw error. However:
julia> using JET

julia> h() = try
           error()
       catch
           nothing
       end;

julia> @report_call mode=:sound h()
═════ 1 possible error found ═════
┌ @ REPL[2]:2 error()
│┌ @ error.jl:42 error()
││ may throw: Base.throw(Base.ErrorException((Base).string::typeof(string)(s::Tuple{}...)::String)::ErrorException)
│└───────────────

julia> h() # no error

This is intentional, I intentionally made JET report whatever problematic code no matter if it may be caught, e.g. since I'd like to get a report in this kind of case:
julia> function trycallsin(a)
           try
               sin(a)
           catch err
               nothing
           end
       end
trycallsin (generic function with 1 method)

julia> @report_call trycallsin("julia")
═════ 1 possible error found ═════
┌ @ REPL[3]:3 sin(a)
│ no matching method found `sin(::String)`: sin(a::String)
└─────────────

(though the default mode ignores explicit throw calls within try block since it might be an intention of user).

Okay thank you!


add more gpu info

Changes

add the usedCard details to the deployment dialog
add the card model to the name while selecting the card

Related Issues

https://github.com/threefoldtech/tfgrid-sdk-ts/issues/771
https://github.com/threefoldtech/tfgrid-sdk-ts/issues/756

Preview

Converting to draft, until fix loading while getting the node cards


Expires auth tokens after 3 hours and deactivates old tokens

Expire token after n hours where n is derived from config.token_ttl in application.rb and thusly can be configured via env variables. Defaults to 3 hours if this value hasn't been set.
De-activates previous tokens for that user once a new token has been requested.

Does token_ttl also need to be set in moj_peoplefinder?

Actually, forget I asked: I see that there's a sensible default.

@himal-mandalia This will have negative consequences for API use, as tokens will expire after three hours.

@threedaymonk Thanks for the heads up. I put the API endpoint in for consumption by the 2nd line support dashboard, to provide details for the duty roster ("who's on duty"). We didn't end up using the endpoint, so feel free to remove/disable the API for now. I probably jumped the gun on this and should have left you guys to put in an API at your convenience (hint: It would be very handy to have).

Rebased, squashed, and merged.


Schema could not be fetched when running using local build

Hi @Glavin001 I was trying to use a local copy of your repo but I am getting this error whenever I import directly from the dist/src folder.
Schema could not be fetched.
Please check if the endpoint 'http://localhost:4000/graphql' is a valid GraphQL Endpoint.

Here are the steps

I cloned the repo to a folder
run "npm run all"
on my personal project I use
import { getSchema } from '../graphql-sequelize-crud/dist/src'
open localhost:4000/playground

my index.js
import express from 'express'
import graphqlHTTP from 'express-graphql'
import { getSchema } from '../graphql-sequelize-crud/dist/src'
// import { getSchema } from 'graphql-sequelize-crud'
import { db as sequelize} from './sql/connector'

const expressPlayground = require('graphql-playground-middleware-express').default

const app = express();

sequelize.sync({
    // force: true
}).then(() => {

    const schema = getSchema(sequelize)

    app.use('/graphql', graphqlHTTP({
        schema,
        graphiql: true
    }));

    app.get('/playground', expressPlayground({ endpoint: '/graphql' }));

    const port = 4000;

    app.listen(port, () => {
        console.log(`Listening on port ${port}`)
    })

})

when using the npm package everything works as expected. The error is shown only when using a local build.
Is there anything that I missed? Why am I getting this error?
BTW this is a great library.. I will try to contribute soon if my issue is fixed.

successfully got it working!
A different version of graphql is used by other packages in the node_modules directory which causes this problem. My bad'
I solved this issue by creating another tsconfig.json file that will have a different outDir. And in my index.js I import the getSchema method from that directory...

If you have any changes to this library, please feel free to submit a Pull Request! Glad it is working for you now.


[hotfix] Do not add slice_name when slice doesn't exist

Issue: https://github.com/airbnb/superset/issues/2261
Bug:
for a new slice, slice is null, slice_name can't be accessed
After:
https://github.com/airbnb/superset/pull/2265
@ascott

lgtm


cargo init no longer handles pre-existing source files nicely

#3004 broken it a bit.
Previously Cargo looked for files like main.rs, src/main.rs, lib.rs, src/lib.rs, projectname.rs and src/projectname.rs and created [[bin]] and/or [lib] sections in Cargo.toml automatically if source files located unusually.
Now it does look for those files, but fails to use this information meaningfully and just creates src/main.rs or src/lib.rs instead of using sections in Cargo.toml even if a usable source file outside src already exists, making the "hello world" lib or app while previously it used pre-existing source code.
What shall be done? Options:

Remove any auto-detection code. Rely only on explicit --lib/--bin. Don't look at any files except of src/{main,lib}.rs
Implement insertion of [[bin]] and [lib] again (when --template is not in use)
Make Cargo move pre-existing source file to the appropriate location in cargo init, e.g myapp/myapp.rs becomes myapp/src/main.rs.

cc @ehiggs, mind taking a look?

My gut would say that we should preserve the original behavior, inserting [[bin]] and [lib] but perhaps only when --template isn't specified.

Hi.
I guess I misinterpreted the code and thought it was only trying to avoid clobbering the existing files. I hope I at least preserved that aspect of the behaviour.

My gut would say that we should preserve the original behavior, inserting [[bin]] and [lib] but perhaps only when --template isn't specified.

Is this based on the flag used on the command line or is there any possibility that the code is grepped for fn main()?

Yes, code was indeed grepped for fn main in some cases.
The idea is/was that user can begin playing with Rust without cargo, just with rustc myprog.rs && ./myprog, then may want to add a dependency. Only now he things about (or even discovers) Cargo and now wants a Cargo project, not just myprog.rs. cargo init was designed to seamlessly allow cargo test or cargo run without user manually arranging their source code for Cargo's convention or reading docs to find out [[bin]] or whatever sections.
The algorithm approximately like this:

Detect project name from directory. If bad name then err.
Look for src/main.rs, src/lib.rs, src/<projectname>.rs, main.rs, lib.rs, <projectname.rs.
If nothing found, create src/lib.rs (or src/main.rs if --bin).
If it is <projectname>.rs or src/<projectname>.rs and no --bin specified then grep for fn main.
Determine if a file is located by conventions. If not, create [[bin]] or [lib].
If both lib.rs and src/lib.rs exist, fail and refuse to create any project.

The scheme may be improved: if nothing of [src/]{main,lib,<projectname>}.rs exists but there is just one *.rs source file in the entire project, it can be used as basis. More notices can be printed to user if source directory scheme is confusing or non-standard. Like Source source file .... is named and located ..., but guidelines recommend it to be src/main.rs. [[bin]] section was added automatically to Cargo.toml to accommodate to this.. There may be --move option of cargo init to allow moving source files around. There may be helpful message like A dummy source file created at src/lib.rs. Please overwrite it with some of your actual source code in case of there are existing sources, but Cargo's heuristics failed to determine what should be the root of the project.

There may be --move option of cargo init to allow moving source files around.

Based on my reading of the git log, there has never been a --move option to init. My understanding was that this issue is to fix the regression. New features should go in a new issue, imo.
So, I guess the issue is that in init the following from patch 800172fbe713670edab4d8c486b2e1e67d3a1038 was removed:
+
+    let mut cargotoml_path_specifier = String::new();
+
+    // Calculare what [lib] and [[bin]]s do we need to append to Cargo.toml
+
+    for i in &opts.source_files {
+        if i.bin {
+            if i.relative_path != "src/main.rs" {
+                cargotoml_path_specifier.push_str(&format!(r#"
+[[bin]]
+name = "{}"
+path = {}
+"#, i.target_name, toml::Value::String(i.relative_path.clone())));
+            }
+        } else {
+            if i.relative_path != "src/lib.rs" {
+                cargotoml_path_specifier.push_str(&format!(r#"
+[lib]
+name = "{}"
+path = {}
+"#, i.target_name, toml::Value::String(i.relative_path.clone())));
+            }
+        }
+    }
+
+    // Create Cargo.toml file with necessary [lib] and [[bin]] sections, if needed

Yes. The tests were testing that the project is buildable after cargo init, but didn't test that it is uses the pre-existing source file instead of newly generated.

@ehiggs yeah the intention here was to just pick up what exists (if possible) and otherwise fill in gaps that are missing.
Do you think it'd be a small change to reinstate the existing behavior?

There should be additional tests to prevent similar breakage in future, so the change is not going to be trivial.

I agree with @vi.

@ehiggs , Are you planning on resolving the issue yourself or I should [someday] prepare my own pull request?
Further advancements for cargo init's existing code detection should probably be out of scope for this issue and come in a separate PR.

I'm sorry I was unresponsive this week. I've been very busy. I can take a look.
First, the test. What test is needed here? At least three to prevent further regressions:

Create src dir with src/main.rs and make sure that cargo init creates a Cargo.toml with a [[bin]] section.

Create src dir with src/lib.rs and make sure that cargo init creates a Cargo.toml with no [[bin]] section.

Create src dir with src/foo.rs with fn main() {} in it and make sure that cargo init creates a Cargo.toml with a [[bin]] section.

@ehiggs , Yes.
"3." -> And also not create src/main.rs.
"4." -> And also not create src/lib.rs.
The same for source code without src/ that just neighbouring newly created Cargo.toml.

@vi, please review #3767 when you get a chance. Thanks

Checked c7d904a61dab69eef11d708f701d249a4d14d0e2.
@ehiggs , Outstanding issues:

It still prints Created library project even if it auto-detected a bin project and added the section.
Likewise Created binary (application) project is printed if one issues cargo init --bin in a directory with source code suggesting a library.

Otherwise looks OK. Fortunately Cargo.lock presence in .gitignore does not depend on --bin.
Future ideas about cargo init (out of scope for this issue):

Automatic license-file: if COPYING or something like that is found
More versatile heuristic detection for existing source code (e.g. not limiting to just three variants). Detecting project name based on source file name instead of directory name (especially if directory name is bad like 123).
Auto-creation of an example for library projects.

Likewise Created binary (application) project is printed if one issues cargo init --bin in a directory with source code suggesting a library.

This seems like correct behaviour. The user explicitly specified a bin project but hasn't written a main function. That seems like a bad idea to override.

It still prints Created library project even if it auto-detected a bin project and added the section.

Ok, we can fix this. In line with the above, I think the detection step should only take place if there was no explicit --lib. Ignoring the user's explicit directions is bad UI imo.

It may be reasonable to avoid adding any [lib] or [[bin]] in base of --lib or --bin and creating template src/lib.rs or src/main.rs (unless they already exist), ignoring other non-standard source locations.

I took a look at fixing this final issue with the output. I thought the best way to fix it would be to return the Workspace from ops::init and ops::new and then ask the Workspace if there are any binary targets:
// In impl Workspace:
    pub fn has_binary_targets(&self) -> bool {
        self.packages.packages.values()
            .any(|ref mp| {
                match *mp {
                    &MaybePackage::Package(ref p) => {
                        p.targets().iter().any(|t| { *t.kind() == TargetKind::Bin })
                    },
                    _ => false,
                }
            })
    }

But this doesn't work because Cargo is somehow a target for every project. If I put in a print statement in the above check for TargetKind, I get the following when I run my tests (see gist, below):
other output:
`Manifest Target: Target { kind: Lib([Lib]), name: "cargo", src_path: "/Users/ehiggs/src/download/cargo/src/cargo/lib.rs", required_features: None, tested: true, benched: true, doc: true, doctest: true, harness: true, for_host: false }
Manifest Target: Target { kind: Bin, name: "cargo", src_path: "/Users/ehigg90120/src/download/cargo/src/bin/cargo.rs", required_features: None, tested: false, benched: true, doc: false, doctest: false, harness: true, for_host: false }
`', /Users/ehiggs/.cargo/registry/src/github.com-1ecc6299db9ec823/hamcrest-0.1.1/src/core.rs:31

Is that correct? Should Cargo be a binary target for every workspace?
To reproduce, I have a patch here: https://gist.github.com/ehiggs/bd120ef8c9fe5cee89dea9c4223758d9

Returning the workspace seems fine yeah, but I wonder if that's just a bug in cargo's tests? (i.e. how cargo runs its own tests in a subdir of itself)

Templates have been removed pending an RFC. There is a pre-RFC thread here. I think this can be closed for now.

Thanks @ehiggs!


Update Python Extension

[ ] Extension name: Python
[ ] Extension GitHub or homepage: https://github.com/microsoft/vscode-python

The version installed by code-server is v2020.5.86806, but the most recent version is 2020.10.332292344.
I'm making this request because the copy/paste doesn't work in Jupyter Notebooks (.ipynb files).  The ctrl+c and ctrl+v shortcuts do not interact with the clipboard, and I wonder if it's because the version is old.

Yes, we need to make python extension work in the editor. I can't even install it.

Thank you for reporting this. It seems that the repo name shifted around a bit. We've updated our marketplace with the most recent version.


COVER ATTRIBUTE NOT WORKING

I am running the latest Home Assistant version on Home Assistant Blue - Home Assistant 2022.8.7, Supervisor 2022.08.5, Operating System 8.5, Frontend 20220802.0.
I have a KNX integration for the cover entities and I am not able to assigne a different attribute for the tilt position for the slider. So, the slider perfectly shows the vertical position cover with invert (KNX 0 open -100 % closed cover), however I cannot assign to slider different attribute about tilt position.
So, one button slider is about the vertical position, and another one for the tilt position...
type: custom:slider-button-card
entity: cover.p_roleta_prozor
attribute: current_tilt_position
slider:
direction: top-bottom
background: striped
use_state_color: true
use_percentage_bg_opacity: false
show_track: false
toggle_on_click: false
force_square: false
invert: true
attribute: current_tilt_position
show_name: true
show_state: true
compact: false
icon:
show: true
use_state_color: true
attribute: current_tilt_position
tap_action:
action: more-info
action_button:
mode: custom
icon: mdi:power
show: true
show_spinner: true
attribute: current_tilt_position
tap_action:
action: toggle
name: P|Prozor Krilca


Release 2.13

Last scheduled release of the Quarkus 2x line.
This is done in preparation for the Quarkus 3 migration work.

needs to come from own repo

Last scheduled release of the Quarkus 2x line. This is done in preparation for the Quarkus 3 migration work.

We will continue to release for 2.x as necessary, we just need a separate branch to do so.


Support for FreeBSD

dotnet 6.0 & dotnet 7.0  work fine on FreeBSD. It would be nice to have F# ionide support on FreeBSD.

Hi, can you clarify a bit for me? If dotnet supports this platform, what is blocking Ionide?

When i install the plugin in vscode or vscodium on FreeBSD, the plugin does nothing.
Possible reasons, an essential dll is missing, or some code default to Linux as O.S. detection which is not always the right thing as there are differences.
Can i enable some logging to a window or to file  , to see what is going wrong and collect more information. Currently i have no additional information in the editor windows ...

@devosalain you should be able to check the Output logs in VS code for the 'extension host' category, as well as the logs for the F# category. You can also enable verbose logging in the setting for ionide via the FSharp.verboseLogging settings - this will make the F# output channel log much more information. Finally, you can set FSharp.trace.server to verbose to get the raw LSP json messages between VSCode and the underlying F# language server (FSAC).

I had a look at log-files and performed additional tests for dotnet on FreeBSD.
I many cases in the libraries build on top of dotnet it is hard-coded "Operating System not supported".
This same message can be found in my vscode-ionide logs.
I have no answer to this problem.
As it's is impossible to ask for each dotnet-library maintainer, hey please add support for FreeBSD O.S.
[ Examples of libraries where it is hardcoded OS. not supported : plotly , xplot , gtksharp, ... dependencies of ionide ...]


Flow plugin

The idea behind this PR is to create a Flow plugin. We will keep the idea of separating it to multiple plugins.
One of the reason behind these plugins is to test new methods to write Codegen plugins.
We are testing the visit method of graphql to see if we can use this to transform the AST into an output. Still not sure it's perfect and matches all our needs.
We would also like to test the option to use Pick instead of generating new types for the client side, and this way to create types aliases to the original GraphQL types. If it will work as expected, we'll also need to change the packages to be: flow-types (merge server and common, because now client will also need the original typings) and flow-client. (Suggested in https://github.com/dotansimha/graphql-code-generator/issues/713)
Tasks:

[x] flow-common: input types, enums and scalars.
[ ] flow-server: types, interfaces, unions
[ ] flow-resolvers: resolvers signature
[ ] flow-client: GraphQL operations and fragments

We can use $Pick utility to build the selection, that also means that we don't really need to separate it to 3 packages. We can use flow (all schema parts) and flow-documents (documents, based on the types declared in flow plugin).


Automatically add floating joint

Right now the user has to manually add floating joints to the urdf. We can easily use Pinocchio's buildFromUrdf function to choose the root joint type.

#47


pull request for e2e test at 01/09/2017 21:56:13

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Added two new classes(rows and columns) to data, but model is able to train only for column, not learning rows.

The original base model is trained for bordered, borderless and cells. If I add my custom invoice data with labelled data for these three classes it works very well, I am able to extend the model for my data. However if I add two more classes(rows and columns) to data model is able to train only for column, it is not learning rows.
borderless, row, col and bordered ----> If I train for these classes, it is able to learn column(upto 98% confidence) and tables(upto 98% confidence) well, but it fails for rows. The score for row does not go more than 20%. Here is an example for row prediction:
{'l': 0, 't': 3508, 'r': 83, 'b': 3508, 'confidenceScore': '19.895745813846588', 'class': 'row'}.
For tables and columns :
{'l': 1616, 't': 1333, 'r': 1936, 'b': 1571, 'confidenceScore': '99.99583959579468', 'class': 'column'}
{'l': 248, 't': 1337, 'r': 664, 'b': 1544, 'confidenceScore': '99.9913215637207', 'class': 'column'}
{'l': 2047, 't': 1331, 'r': 2414, 'b': 1567, 'confidenceScore': '99.99083280563354', 'class': 'column'}
{'l': 129, 't': 1343, 'r': 260, 'b': 1530, 'confidenceScore': '99.45705533027649', 'class': 'column'}
{'l': 0, 't': 3508, 'r': 83, 'b': 3508, 'confidenceScore': '19.89872008562088', 'class': 'column'}
{'l': 95, 't': 1342, 'r': 2471, 'b': 1537, 'confidenceScore': '99.66540336608887', 'class': 'borderless'}
I am smudging the image and training, using mmdetection v2. Has anyone else faced similar problem. If more info/data is needed to help understand this, please let me know I will add.

How did u make it run? Which version of pytorch, cuda are you using? Which version of python are you using?

are you using windows or linux?

torch==1.7.0+cu110 torchvision==0.8.1+cu110 torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html

mmcv-full==1.4.0 -f https://download.openmmlab.com/mmcv/dist/cu110/torch1.7.0/index.html

I am using ubuntu.

Made changes in config file to accomodate 4 classes

After create following data folder
coco
trainval.json
test.jsom
VOC2007
Annotations : this contains xmls
JPEGImages : This contains smudge images
ImageSets
Main
text.txt
trainval.txt

I ran using this command: python tools/train.py <config_file_location>

I know this is really unorthodox but is it possible that we can do an online meeting? I have been stuck on this problem for the past 2 months now and I am unable to solve it. I would be grateful if you can show me the changes.

Hi Folks, greetings of the day to y'all.
I have successfully tried to run the code in the notebook with adding few other functionality to it and it works fantastic on colab.
However, now I want this to run on my local machine with VScode IDE as modules. Please guide me through this. It would be deeply appreciated.

Can you please share the Colab link?


how to ignore  and its nodes inclusively?

I'm only interested in retrieving the <body> and its content and not <head>. How can I ignore <head> and its content inclusively?

You can use custom converters to do this:
toMarkdown('<html>…</html>', {
  converters: [
    {
      filter: ['html', 'body'],
      replacement: function (innerHTML) {
        return innerHTML
      }
    },
    {
      filter: 'head',
      replacement: function () {
        return ''
      }
    }
  ]
})


LinkImportsTransformation erroneously tries to link virtual methods

Virtual methods aren't imported directly from libraries since they're accessed via the vtable, as such they shouldn't be getting handled by this transformation.
Since an error gets attached to the TranslatedFunction, this bug means using this transformation indirectly ends up removing all virtual methods.

Upon further investigation: Virtual methods can be exported (even though you don't usually need to import them), so we shouldn't skip virtual methods entirely.

Upon further investigation: Virtual methods can be exported (even though you don't usually need to import them), so we shouldn't skip virtual methods entirely.

I changed the behavior to ignore virtual methods by default for ErrorOnMissing. I added a second ErrorOnMissingVirtualMethods in case an advanced scenario arises where virtual methods are expected/needed to be exported.

I changed the behavior to ignore virtual methods by default for ErrorOnMissing. I added a second ErrorOnMissingVirtualMethods in case an advanced scenario arises where virtual methods are expected/needed to be exported.


Module example

Questions
Answers

Description?
Adds a readme to develop-a-module, and illustrate module development with a volume/mount

Type?
new feature

BC breaks?
no

Deprecations?
no

Thanks a lot!


pyn5 data

Add another N5 implementation to the pile!  If it's appriopriate, as it doesn't support zarr.
https://github.com/pattonw/rust-pyn5
The core implementation is in rust, but it's generally used from python.

Add another N5 implementation to the pile! If it's appriopriate, as it doesn't support zarr.

Sure still fine, any implementation is good to have.

I think this was closed by #10?

Yeah I think so. Thanks Greg! @clbarnes if there are still missing things, please let us know 🙂


Getting 400 Bad Request With RobotFramework+AppiumLibrary and WinAppDriver

Hello
I have been trying to use a combination of WinAppDriver, RobotFramework+AppiumLibrary to automate the testing of a Windows app (developed in-house). I managed to follow the examples and got the sample test to run (Calculator test runs with all PASS). However, when I plug in the app that I am trying to test, I am encountering an issue where WinAppDriver complains about HTTP/1.1 400 Bad Request and Status:100, invalid argument, Illegal characters in path. Normally the sessionId will be shown if the app (Calculator) is successfully detected, however, in my case, I get the "status:100, invalid argument". See screenshot below:

Below is my RobotFramework script, which has the correct syntax.  I believe the 400 Bad Request error started at the Test Setup step.
*** Settings ***
Library  AppiumLibrary

Test Setup  Open Application  ${REMOTE_URL}  platformName=Windows  deviceName=mymachine  app=${APP}  automationName=appium
Test Teardown  Close Application

*** Variables ***
#DO NOT PUT /wd/hub in the REMOTE URL!!!
${REMOTE_URL}     http://<IP_ADDRESS>:4723
${APP}   "C:/temp/myapp/setup.exe"

*** Test Cases ***
Initialize
    Sleep  3s
	Click Element    xpath=//ListItem[contains(@Name,'Management Services Installation')]
	Click Element    xpath=//Button[starts-with(@Name,'Next >')]

This is the output from Inspect.exe of the Install dialog:
How found:	Mouse move (394,313)
hwnd=0x002C08FA ??bit class="WindowsForms10.Window.8.app.0.34f5582_r6_ad1" style=0x16C80000 ex=0x50101
ChildId:	0
Interfaces:	IEnumVARIANT IOleWindow IAccIdentity
Impl:	Local oleacc proxy
AnnotationID:	01000080FA082C00FEFFFFFF00000000
Name:	[null]
Value:	"Management Services"
Role:	title bar (0x1)
State:	focusable (0x100000)
Location:	{l:266, t:312, w:468, h:23}
Selection:
Description:	"Displays the name of the window and contains controls to manipulate it"
Kbshortcut:	[null]
DefAction:	[Error: hr=0x80020003 - Member not found.]
Help:	[null]
HelpTopic:	""
ChildCount:	5
Window:	0x2C08FA
FirstChild:	"Close" : push button : normal
LastChild:	"Close" : push button : normal
Next:	"Management Services" : client : focusable
Previous:	[Error: hr=0x80004005 - Unspecified error]
Left:	[Error: hr=0x80004005 - Unspecified error]
Up:	[null]
Right:	[null]
Down:	"Management Services" : client : focusable
IsContentElement:	false
Other Props:	Object has no additional properties
Children:	"IME" : push button : invisible
"Minimize" : push button : invisible
"Maximize" : push button : invisible
"Context help" : push button : invisible
"Close" : push button : normal
Ancestors:	"Management Services" : window : moveable,focusable
"Desktop" : client : focusable
"Desktop" : window : focusable
[ No Parent ]
My environment:
Windows 10 x64
Python 2.7.13
WinAppDriver running on Administrator console
Robot Framework 3.0.2
AppiumLibrary <IP_ADDRESS>
Also, I noticed that most examples are Windows apps developed by Microsoft (Notepad, Calculator), is there some real world examples of different Windows apps, like ones created using MMC?

found out that this was actually caused by quotes around the {$APP} variable.


[kustomize_deploy] Refactor controlplane deployment and variables files

control plane deployment has been refactored to include changes from architecture [1]
tasks file aren't ordered with a numeric prefix anymore
install_dataplane.yml tasks file has been added but not yet enabled in main.yml

[1] https://github.com/openstack-k8s-operators/architecture/pull/88
As a pull request owner and reviewers, I checked that:

[x] Appropriate testing is done and actually running
[x] Appropriate documentation exists and/or is up-to-date:

[x] README in the role
[x] Content of the docs/source is reflecting the changes

recheck

recheck

recheck
RETRY_LIMIT

recheck

recheck

recheck

recheck

recheck

recheck

/approve

/lgtm
ci_gen_kustomize_values will need some changes to match those ones and get converging parameter names I think.


Request to add Dev TrustCor CA roots

Request to add the development roots for TrustCor's Dev CA to Sectigo's Dodo CT log server

@neildunbar I'll confirm once Dodo's servers have been updated.

@neildunbar These roots are now accepted by Dodo.


Rename mode enum and strip list entry per review feedback

Can one of the admins verify this patch?


NOAA OISST Zarr is now on IPFS - next steps w/ Filecoin?

Thanks to @sheriflouis-FF, @jnthnvctr, and @d70-t, the NOAA OISST Zarr store is now on IPFS, and openable with xarray:
https://gist.github.com/cisaacstern/de5b5d0a17bc3dadb372997f43e79a42
A few notes:

This dataset was copied to IPFS from our Open Storage Network (OSN) S3 bucket. IIUC, Tobias's ipfsspec is currently read-only so there is not a direct path currently for writing directly to IPFS from pangeo-forge-recipes.

The opening time of 4+ minutes is obviously slow, and could be accelerated by:

Running a local IPFS gateway. ipfsspec gives preference to a local gateway, and falls back to a remote gateway if a local one is not found. I am still unclear what the recommended simplest method is for running a local gateway.
Removing chunking from the time dimension. The Zarr store from which this was copied was written to OSN prior to https://github.com/pangeo-forge/pangeo-forge-recipes/pull/210, which I believes resolves this issue.
Tobias is working on an async implementation of ipfsspec which would also help.

Now that we have a minimal working example on the read-only side, I'm opening this issue to solicit input from @pangeo-forge/dev-team as well as the IPFS crew (please tag others if I've missed someone!) regarding next steps with his project. What milestones should we focus on?

The issue with why IPFSSPEC is readonly is because ZARR needs to know the keys before it starts writing, i.e. we need to figure out a way to generate the CIDs before creating the DAG (Direct Acyclic Graph).
I wanted to break down the issues with IPFS node + gateway as there are two layers
First: When a root CID is pinned to an IPFS node, the default behavior is to advertise the whole tree to the IPFS network, root CID and its children. This makes finding CIDs by IPFS pretty fast.
When this is done on Estuary, it doesn't advertise the whole children, only the root. This is why every file and directory within the dataset will need to be advertised or pinned. This also gives more control on the traffic generated by an IPFS node, and is the recommended path for busy IPFS nodes.
1- If retrieving a CID took more than one minute, that usually means IPFS had to go through it is distributed hash table (DHT) and peers to find the CID.
2- If the retrieval took a few seconds that would point to a high latency within the gateway. We are currently working on scaling this and thus improving the overall performance.

@sheriflouis-FF regarding the pinning. I think for the particular case of ZARR, the finest level accessed directly via CID (i.e. without any path) might well be the level of an zarr array (i.e. a folder containing a file called .zarray). Likely everything below will (for now) always be accessed using a path (identifying the chunk) based off that folder. So it might be a good tradeoff to advertise CIDs down to that level, but maybe not further.
If at some point in time we would be able to trace the chunk CIDs through computation (as briefly mentioned here), this might however change.


Wrong bower

Bower file need to point to the needed files for automations tasks, so the needed files will be included automatically PR #39

Fixed, thanks!