fix transfer-04-event-consumer consumer-with-listener build.gradle.kts imports fixed

What this PR changes/adds
"transfer/transfer-04-event-consumer/consumer-with-listener/build.gradle.kts" modified:
"libs.edc.control.plane.api" added
"libs.edc.control.plane.api" duplication eliminated
Why it does that
We were running the guide examples and we wanted to reuse the connector.jar of "transfer-04-event-consumer" to all cases, but when we run the "Simple Provider push Http transfer flow" example we noticed that a 404 error appeared.
Comparing gradles we noticed that exists a duplicated and missing import in the 04 version. We copied the same imports from version 00 to 04 and all worked.
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

I tried to label this issue as a bug, but I guess I don't have the permissions.

Hi, thanks for the contribution, please follow the contribution guide, a PR should be preceded by an issue or an additional discussion beforehand:
https://eclipse-edc.github.io/docs/#/documentation/CONTRIBUTING
furthermore, the title of the PR is not valid, please verify the failing check.

Thanks for the comments. I will create a issue or discussions in a future contributions.
On the other hand, I changed the title using the following regex:
^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\(\w+((,|\/|\\)?\s?\w+)+\))?!?: [\S ]{1,80}[^\.]$


Support clang.exe/clang++.exe

CMake Tools should detect clang.exe/clang++.exe (clang that understands GNU arguments) as a kit, CMake now supports these compilers on Windows. Currently kit detection only creates a clang-cl.exe kit (clang that understands MSVC's cl.exe arguments).
Manually editing cmake-tools-kits.json to create a clang/clang++ kit works, CMake Tools should create this kit itself during "scan for kits".
CMake Tools incorrectly tries to use gdb for debugging when using the kit, it should use the same debugger it uses for the clang-cl.exe kit. The default vscode Windows C/C++ debug config in launch.json, with "program": "${command:cmake.launchTargetPath}" makes debugging work with my clang/clang++ kit.

@bobbrow I could look into this next. It seems easy enough. Do you have any specific requirements or recommendations about the implementation?

@Zingam I can't think of any special requirements for the implementation. That would be great if you had some time to look into this!

Just chiming in that I hit this and was fairly surprised by it. It would be nice to have.

This should be fixed in CMake Tools 1.5.0 which was published today.
Let us know if you encounter any issues with this release.


Update: SSCA Policies to SBOM Policies

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://664205047371430c81acee9a--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://664331608187c0cbddac764e--harness-developer.netlify.app


Get rid of resolution thing

Describe your bug here.
The resolution option breaks more than it benefits and its completely pointless, just do this
PsychEngine.exe > Properties > Compatibility > Change high DPI settings > Check both the things
Full resolution without window breaks
And a bug I got was mainly with the charting, the grid was misplaced
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Nope

On linux, this problem basically doesn't exist, from what I tested Psych on (Manjaro linux plasma) it seems to boot in full res automatically

The 4:3 resolution support is there because some people experienced issues on 16:9 that prevented them from playing the engine.

-- i'd say that's okay but the way it was implemented is genuinely really bad and doesn't improve the engine in the slightest, especially since now it restricts the engine to three resolutions god forbid someone wants to play windowed maximized or make the window smaller. what are some of these issues in 16:9?

They've fixed the bug it seems like. I guess it works

-- it was me i did it i fixed it


Create Reducer for Item Modal

Commit: https://github.com/johneastman/todo/commit/1f5929a672d05139b5db4187b34b42621ead3e7a


⚠ Bofrost.be has degraded performance

In d15a44b, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1702 ms

Resolved: Bofrost.be performance has improved in 23e8cdf.


Using on table element causes null reference

Note: for support questions, please use our Gitter channel. This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
bug
What is the current behavior?
Call function addClass on a null reference of scope.$dropzoneElems in function link in ui.tree module, directives/uiTree.js.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar.
Set 'ut-tree' attribute on table element.
What is the expected behavior?
Avoid null reference.
What is the motivation / use case for changing the behavior?
Bug fix.
Which versions of Angular, UI Tree and which browser / OS are affected by this issue? Did this work in previous versions of Angular, UI Tree? Please also test with the latest version.
<EMAIL_ADDRESS><EMAIL_ADDRESS>(latest)
Other information (e.g. stacktraces, related issues, suggestions how to fix)

I am having the same problem with last version 2.22.6
angular.js:14199 TypeError: Cannot read property 'addClass' of null
    at Object.link (http://localhost:3000/bower_components/angular-ui-tree/dist/angular-ui-tree.js:408:33)
    at

@cesterlizi    uiTree.js  line 45 add:
scope.$dropzoneElm = angular.element($window.document.createElement('div'));

I have the same issue

Same!

Same!

@kubohiroya 's proposed bug fix seemed to fix the issue for me.


How to serve a PDF file stored using CollectionFS in Meteor?

I am working on a Meteor application.
Currently, I have a few PDFs on my server. To serve these already existing PDFs directly to the client, I do it this way and it works very well:
Router.route("/file/:fileName", function() {
  var fileName = this.params.fileName;
  // console.log(process.env.PWD);
  var filePath = process.env.PWD + '/' + fileName;
  var fs = Meteor.npmRequire('fs');
  var data = fs.readFileSync(filePath);
  this.response.writeHead(200, {
    "Content-Type": "application/pdf",
    "Content-Length": data.length
  });
  this.response.write(data);
  this.response.end();
}, {
  where: "server"
});

I save these PDFs to Mongo using CollectionFS (Later, I shall generate PDFs and save them. For now, I am just directly saving these already existing PDFs to Mongo as I first want to get the Mongo part to work.).
testCollection = new FS.Collection("testCollection", {
    stores: [new FS.Store.GridFS("testCollection")]
});

testCollection.allow({
    'insert': function () {
        return true;
    }
});

var file = new FS.File(process.env.PWD + '/PDFKitExampleServerSide.pdf');
file.encoding = 'binary';
file.name('myPDF.pdf');
var document = testCollection.insert(file);
console.log(document._id);

My question is, after I save these PDFs to Mongo using CollectionFS (like I do above), how do I retrieve and serve these PDFs?
Router.route("/database/:pdfId", function() {
//need help here
}, { where: "server"});

After a lot of searching and trying, I've finally gotten it to work.
Router.route("/database/:pdfId", function() {
    var pdfId = this.params.pdfId;
    var file = testCollection.findOne({_id: pdfId});
    var readable = file.createReadStream("tmp");
    var buffer = new Buffer(0);
    readable.on("data", function(b) {
        buffer = Buffer.concat([buffer, b]);
    });
    var response = this.response;
    readable.on("end", function() {
        response.writeHead(200, {
            "Content-Type": "application/pdf",
            "Content-Length": buffer.length
        });
        response.write(buffer);
        response.end();
    });
}, {
    where: "server"
});


Strip spaces?

What is your position on removing leading and trailing spaces from field values?
In some of our files we get headers (method header) like this:
£
IG= ,FiPos=2,FiLiq=,FiTyp=,IE=0.844,<--snip-->
#

The IG code is defined as the application class (användningsklass) and should be an integer in the range [1-4], and the specification also says that you should specify 0 if another class is used(?!). So the actual range is [0-4]. Anyway, the problem is that the space character results in an exception:
Exception
could not convert string to float: '': IG= ,FiPos=2,FiLiq=,FiTyp=,IE=0.844,<--snip-->

I would consider this value as an error that should be ignored, rather than raise an exception.
Another case is a method data line with a trailing space:
D=15.825,A=0.471,<--snip-->,R=0,K=90,T=Avbruten utan stopp

The data T=Avbruten utan stopp  has a trailing space that I would like to remove.
I would submit a PR if you think it is OK to strip leading and trailing spaces from the data.

Regarding IG (and other numerical fields):
_RE_FLOAT already allows space on either side of the numerical value, and e.g. _conv(" 123    ") returns 123. The problem in your case is that the value is " ", which doesn't contain a number at all still matches _RE_FLOAT. The is a bug: you should have been left with a field containing a one-space string... If you have a bugfix for _RE_FLOAT / _RE_INT I'd be happy to merge it :)
As for pure string fields, like your T comment, I'm in two minds about stripping spaces in the library itself. On the one hand, these are fields entered by humans, and humans make mistakes like adding trailing spaces. On the other hand, these are humanly entered values with no known semantic, so assuming stuff about the content is a bit dangerous...
I'm planning to make a "normalization" function / set of functions (see Ed's ticket https://github.com/emerald-geomodelling/libsgfdata/issues/15) and this could easily do this kind of transformation too. Would this be good enough for your usage?


Add Ali to Authors and Contributors

As requested in the CONTRIBUTING.md file, I added my name and email to the AUTHORS and CONTRIBUTORS files.

Hi,
Thanks for your interest in Gonum.
We actually usually request PRs with somebody adding themselves to the A+C files after they have sent a code-related pull request (and after that PR went through our codereview process).
Unless I am mistaken (which I am known of) you haven't (yet!) contributed code to Gonum.
Or did you? (Could you point us to that?)
Cheers,
-s

That makes more sense. I was a little confused when I read this in the CONTRIBUTING.md file. Maybe some rewording is required.

Your First Code Contribution
If you are a new contributor, thank you! Before your first merge, you will need to be added to the CONTRIBUTORS and AUTHORS file. Open a pull request adding yourself to them. All Gonum code follows the BSD license in the license document. We prefer that code contributions do not come with additional licensing. For exceptions, added code must also follow a BSD license.

I am going to close the PR. Thanks


Cut a 1.9 release

We need to verify 1.9 is ready for release.

[x] #381
[x] #334
[x] Verify provider overrides work as expected.  Basically we want to verify pip's workflow will continue to work with parallels under 1.9.
[ ] Move releases back to master, breaking changes will go under a v2 branch.  Update documentation.
[ ] Verify readthedocs is pointed to the proper branch, which will be released to pypi.  Update readme rtd links as well.
[ ] Cut a 1.9 tag and release.

Are we checking with the other providers as well besides parallels?

Are we checking with the other providers as well besides parallels?

We already test virtualbox.  We just happen to have a few co-workers that use parallels, vmfusion, in a particular way, and want to be sure that doesn't break.

#390

Released to pypi.  https://pypi.python.org/pypi/molecule


lake build doesn't pick new build setup

I was trying to build a project that uses the FFI and there was a compilation error telling me to add -fPIC as a parameter. I tried to add it in many ways, including the right one: in the array of flags. Either way didn't work.
Turns out I just had to do lake clean before trying lake build again, which is a bit strange because I was expecting lake build to notice that I had a different build setup.
For more context: https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/C.20FFI.20usage/near/299865961

This is because your ffi.o is a custom target. In order to make it rebuild upon the changing of compile flags you need to include those flags in the trace of that build (e.g., via extraDepTrace on buildAfterDep). The builtin targets for module compilation already do this (see buildLeanO).

Reinterpreting this issue as a feature request, I suppose a generic buildO job capturing this common pattern would be a nice addition


NotEmptyCollection.size as extension

🔥 This is a breaking change!

Description
Convert the NotEmptyCollection.size property as an extension like so:
/** Returns the size of this collection. */
public val NotEmptyCollection<*>.size: StrictlyPositiveInt get() = TODO()

Checklist

[ ] Implement.
[ ] Test.
[ ] Refactor.
[ ] Check the documentation.
[ ] Check and update the public API binaries.
[ ] Update the Unreleased section in changelog.

We shouldn't implement this issue, because declaring the NotEmptyCollection.size property as an extension property produces boilerplate code for Java users that will have to call the NotEmptyCollectionKt.getSize(NotEmptyCollection) function.


Remove warn(prisma-client) This is the 10th instance of Prisma Client being started. warning in Edge (and potentially) other envs)

When running Prisma Client in Cloudflare Workers, it must be instantiated inside the handler:

that's where the DB URL env var is available which is needed to instantiate the driver adapter
I/O objects can't be shared across Worker instances

This is different compared to the recommendation typically given for using Prisma Client in Serverless environments where it's supported to be instantiated outside the handler.
Instantiating Prisma Client outside the handler enables reuse of the instance across different function invocations. This also helps prevent the warning: warn(prisma-client) This is the 10th instance of Prisma Client being started.
Since in CF workers, instantiating inside the handler is the only option, the warning is unavoidable and should be removed.

We fixed that with https://github.com/prisma/prisma/pull/24245 which is part of the next release, 5.15.0
Note from the private tracking issue: The "warn(prisma-client) This is the 10th instance of Prisma Client being started. Make sure this is intentional." occurring in @prisma/client warning was originally designed for avoiding excessive memory when using the binary query engine. This is not needed when using edge functions, and should be removed when we detect that an adapter is passed to the PrismaClient constructor.


YARN-11164. PartitionQueueMetrics support more metrics

Description of PR
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

@dineshchitlangia @brumi1024 @9uapaw If u have time, could u help check this feature? I think it's an improvement for node-label metrics.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 53s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
38m 58s

trunk passed

+1 :green_heart:
compile
1m 22s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
1m 12s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m  4s

trunk passed

+1 :green_heart:
mvnsite
1m 17s

trunk passed

+1 :green_heart:
javadoc
1m 12s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 55s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
2m 28s

trunk passed

+1 :green_heart:
shadedclient
23m  2s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m  1s

the patch passed

+1 :green_heart:
compile
1m  7s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
1m  7s

the patch passed

+1 :green_heart:
compile
0m 58s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
0m 58s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 48s
/results-checkstyle-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager: The patch generated 1 new + 103 unchanged - 4 fixed = 104 total (was 107)

+1 :green_heart:
mvnsite
1m  3s

the patch passed

+1 :green_heart:
javadoc
0m 50s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 47s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
2m 17s

the patch passed

+1 :green_heart:
shadedclient
22m 35s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
117m 34s
/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
hadoop-yarn-server-resourcemanager in the patch passed.

+1 :green_heart:
asflicense
0m 46s

The patch does not generate ASF License warnings.

221m 39s

Reason
Tests

Failed junit tests
hadoop.yarn.server.resourcemanager.scheduler.capacity.TestLeafQueue

hadoop.yarn.server.resourcemanager.scheduler.capacity.TestNodeLabelContainerAllocation

hadoop.yarn.server.resourcemanager.scheduler.capacity.TestCapacityScheduler

hadoop.yarn.server.resourcemanager.TestWorkPreservingRMRestart

hadoop.yarn.server.resourcemanager.scheduler.capacity.TestReservations

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4359/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4359

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 04ba19181e86 4.15.0-169-generic #177-Ubuntu SMP Thu Feb 3 10:50:38 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / e0cd243b3803d349dfa30dfa4f61134ff9b554e5

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4359/1/testReport/

Max. process+thread count
941 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4359/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

Gentle ping @dineshchitlangia @brumi1024 @9uapaw @slfan1989 @ashutoshcipher


How to unlock bootloader

How to unlock bootloader in realme c25s ui 3

When your phone still alive and have access to fastboot and recovery, use this https://github.com/dimaslanjaka/android-engineer/raw/refs/heads/master/RUI3 In-Depth.apk
When dead boot, you should go service center or flash it using UFI direct (i dont have it)

When your phone still alive and have access to fastboot and recovery, use this https://github.com/dimaslanjaka/android-engineer/raw/refs/heads/master/RUI3 In-Depth.apk
When dead boot, you should go service center or flash it using UFI direct (i dont have it)

Failed to submit
This phone model does not support deep testing
Device is RMX3197_11_C.13

Oh RMX3197, mine is RMX3195
try this

apk https://drive.google.com/file/d/1ZVGeuLRIUUW8obphKgsSdVi8EHmvHpem/view
windows realme tool https://drive.google.com/file/d/1ZPXDsUeek4VRLE2XGHx60bmB4nBMMsVQ/view

video tutorial https://www.youtube.com/watch?v=PGvwj3b86x8

the apk didnt installed
and can you give the password of this tool

developer of the software says password on https://t.me/TapinRecoveryInstraller

developer of the software says password on https://t.me/TapinRecoveryInstraller

after so much of try now phone is stock in bootloop and lk patch not working and also fastboot is gone current is RUI2.0
i want to flash stock rom
please help


Adding isSortable property

Adding the ability to exclude the sorting feature same way it's happening in carbon-components-react
Changelog
New

added new boolean property isSortable

:tada: This PR is included in version 1.14.0-prerelease.1 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Legend widget checkboxes

The model-driven legend widget needs to have the option of also being a filter widget that includes or excludes documents based on their membership in a style set. It should be possible to reproduce the functionality of old openlayers legend widget with checkboxes next to the "layers".
Note: This may be infeasible if based on style conditions and may require an atlas builder to structure models and filters accordingly so that the checkboxes are operating on specific filters and the styling is operating on specific results. Some exploratory work and discussion required.

I believe this was resolved with the new LegendWidget2 addition. @decheng-zhang can you confirm this can be closed?

Yes, it sounds like what widgetlegend2 is trying to achieve. I suggest to close this issue for now.


Kuberpult Calls streamOverview for every cart addition/deletion

bug
kuberpult is calling the streamOverview request on every modification to the cart.
expected behavior
streamOverview is only called once on loading / reloading

The call is very cheap on the backend. In some configurations, this is called every 30 seconds. I would not spend too much time on that as long as it doesn't cause problems.


Potential Error / mistmatch in Codes:

Hi I run this on an Interactive Hive cluster, but suppose should behave the same:

When I first run, all i can see is a /example/data   where data is NOT folder, but a blob file instead so nothing can happen
I created another /data folder, and upload my own csv, it works

It maybe that version of Interative Hive has no preloaded csv.... log...in example/data or
I dont understand still why the standard example/data is not available, as it is on every type of cluster.
I still have a question: Since i just load a csv and not using LOAD ..TABLE command... so if there are multple csv/text files... which one can mapped by hive table/view?

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

ID: 96391c09-d359-8fc3-ef80-732ef766b420
Version Independent ID: 87882832-5510-355f-81fd-c1fb66348506
Content: Use Ambari Views to work with Hive on HDInsight (Hadoop) - Azure
Content Source: articles/hdinsight/hadoop/apache-hadoop-use-hive-ambari-view.md
Service: hdinsight
GitHub Login: @JasonWHowell
Microsoft Alias: jasonh

Thanks for the feedback! We are currently investigating and will update you shortly.

@rhpoon I tried the procedure in the document and it works as stated.  For a continued discussion on your other questions, I would recommend starting a thread here:
https://social.msdn.microsoft.com/forums/azure/en-US/home?forum=hdinsight


Remove transpile instruction

MP 2 does not modify clientside.py so we can just give the javascript file.

We can keep it so that student is aware that clientside code can be found in Python file and can be read.


add pytest-runner as dependency

This will address the problem with the Bouncy devel jobs not picking up the pytest tests. Basically without it setup.py test doesn't find any tests.
This requires python3-pytest-runner to be available in Ubuntu Xenial (on all other platforms it is available out-of-the-box). I tried installing the Bionic Debian in a Xenial docker which worked without a problem. @tfoote Can you please import this Debian into our bootstrap repo.

@dirk-thomas It's in the bootstrap repo and imported to build.ros2.org: http://build.ros2.org/job/import_upstream/33/ It should be available on all arches.


TCP-IP Forwarding example in readme throws error

Describe the bug
I am currently trying to get the direct TCP tunnel from the readme to work.  Unfortunately I am getting the following error:
Cannot convert value of type '(UnboundedRange_) -> ()' to expected argument type '[any ChannelHandler]'

in this line:
proxyChannel.pipeline.addHandlers(...)

Reproducer Sample
        Task {
            let client = try? await SSHClient.connect(
                host: "example.com",
                authenticationMethod: .passwordBased(username: "root", password: "password"),
                hostKeyValidator: .acceptAnything(),
                reconnect: .never
            )

            let address = try SocketAddress(ipAddress: "fe80::1", port: 27017)
            let configuredProxyChannel = try await client?.createDirectTCPIPChannel(
                using: SSHChannelType.DirectTCPIP(
                    targetHost: "localhost",
                    targetPort: 27017,
                    originatorAddress: address
                )
            ) { proxyChannel in
              proxyChannel.pipeline.addHandlers(...)
            }
        }

I would really appreciate your help!
P.S. Also I would actually be interested in setting up a forwardedTCPIP tunnel instead of a direct one. Am I correct that Citadel currently doesn't support this?

@cpoetter that's right, you need to replace the ... with your channel handlers. That could be HTTP channel handlers, a MongoDB client or anything similar.

See these tutorials for more info
https://swiftonserver.com/using-swiftnio-channels/
https://swiftonserver.com/building-swiftnio-clients/

One more note @cpoetter , forwardedTCPIP is indeed not supported yet. It shouldn't be too much work anymore though


[PRM-400] - Added agent auth

https://github.com/hmrc/app-config-base/pull/5912
https://github.com/hmrc/app-config-qa/pull/12232
https://github.com/hmrc/app-config-staging/pull/8705
https://github.com/hmrc/app-config-production/pull/11926


Failure to start kernel

Following the installation instructions I managed to get JuliaBox running in VirtualBox VM environment (the simplest Single-user, Zero-authentication mode with the aim of offline usage).
Unfortunately when I open a notepad I get several error messages:

«I couldn't find a kernel matching Julia. Please select a kernel:»
I choose «Julia 0.3.11» and then
«The kernel has died, and the automatic restart has failed...»

I tried to launch kernel manually inside the Docker instance using
{
    "display_name": "Julia 0.3.11",
    "language": "julia",
    "argv": [
        "/usr/bin/julia",
        "-J",
        "/opt/julia_packages/jimg/stable/sys.ji",
        "-i",
        "-F",
        "/opt/julia_packages/.julia/v0.3/IJulia/src/kernel.jl",
        "{connection_file}"
    ]
}```

```root@juliabox:~# /usr/bin/julia -J /opt/julia_packages/jimg/stable/sys.ji
Segmentation fault (core dumped)```

but it is a binary file and I don't clearly see what causes the problem. Is there any way to see the cause of the crash?

Looks like precompiling resulted in a corrupted image. You can avoid this by opting out of precompiled image from the JuliaBox settings page.
Otherwise, rebuilding may fix it if there was some temporary issue:

remove the unbundled packages: rm -rf /jboxengine/data/packages/julia_packages
remove the package bundle: rm /jboxengine/data/*.tar.gz
rebuild: img_create.sh home /jboxengine/data

I confirm that rebuilding does solve the problem in this case. Thank you so much for the quick response!


Add rustfmt info to contributing guide

Pretty self explanatory.
CONTRIBUTING.md could probably use some reorganization once some of the draft_guides are deployed to the website. Maybe even formalize it into a contributor guide that itself is deployed to the website?

Maybe even formalize it into a contributor guide that itself is deployed to the website?

I'd like to have a "Diesel internals" guide that points contributors to where some common things live and how Diesel itself is organized. This will be hard to keep up-to-date, though. I'm not sure a meta-guide on how our issue tracker is organized or how to submit PRs will be good content for a full-blown guide, as it's more specific to the Github than the project itself.


Remove SharedDDP as it was deprecated from Transformers.

The use of SharedDDP was deprecated in Transformers, and because Optimum trainer relies on it, it must be removed from Optimum.
The transformers PR:
https://github.com/huggingface/transformers/pull/25702

Thanks for the review


App crashing

Not sure if there is an issue with my device but this happens when I try to implement tapdaq sdk

Android Version 4.4.2
Device Moto E
Also you should update Quick start page for arguments of this function
Tapdaq.getInstance().initialize(this, "<APP_ID>", "<CLIENT_KEY>", new TMInitListener(), config);
to
Tapdaq.getInstance().initialize(this, "<APP_ID>", "<CLIENT_KEY>", config, new TMInitListener());
Please ignore if I misunderstood anything.
Thank you

Ok I figured it out. There was no sim card in that phone so null for TMCarrier and parseInt gave that error. It worked fine when I added sim card.

Hi, Thanks for getting in touch. You're absolutely right. I'll update the docs and will fix the crash in our release next week.
Thanks,
Dominic

Hi @yourtushki
Sorry for the delayed reply, a fix for this was released with version 4.3.0. Please update the latest version.
Thanks,
Dominic


Cloud, Dashboard - Import dashboard fails with associated Label and Variable

Related Honeybadger Trace
https://app.honeybadger.io/projects/61122/faults/59612486
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.

Production : Version 2.0.0 (93c8a2a)
Create Dashboard with a Label and a Variable, export to file(created in Acceptance)
(In Production, where the Label and Variable don't exist) Import the Dashboard
"Failed to import dashboard:TypeError: Cannot read property 'id' of undefined"
(Refresh screen ... Dashboard is actually there)
Check Settings - Label has been created, but NOT Variable
Try to import Dashboard again SUCCEEDS

Expected behavior:
Expect the Import to create the Variable and Label before creating the Dashboard (?)
Actual behavior:
It appears to be a timing issue on the creation of the associated objects. The expected Variable doesn't exist so the Dashboard creation fails (could this be an issue with the way the Dashboard set of objects is being exported?)
Environment info:
Cloud - Version 2.0.0 (93c8a2a)

Logs:
Include snippet of errors in log.
Performance:
Generate profiles with the following commands for bugs related to performance, locking, out of memory (OOM), etc.
# Commands should be run when the bug is actively happening.
# Note: This command will run for at least 30 seconds.
curl -o profiles.tar.gz "http://localhost:8086/debug/pprof/all?cpu=true"
curl -o vars.txt "http://localhost:8086/debug/vars"
iostat -xd 1 30 > iostat.txt
# Attach the `profiles.tar.gz`, `vars.txt`, and `iostat.txt` output files.

this was closed by #16674


First Public {WG|IG} Note status is missing

Documented statuses are:
    ED: "Editor’s Draft"

    WD: "W3C Working Draft"

    FPWD: "W3C First Public Working Draft"

    LCWD: "W3C Last Call Working Draft"

    CR: "W3C Candidate Recommendation"

    PR: "W3C Proposed Recommendation"

    REC: "W3C Recommendation"

    PER: "W3C Proposed Edited Recommendation"

    WG-NOTE: "W3C Working Group Note"

    IG-NOTE: "W3C Interest Group Note"

    NOTE: "W3C Note" (unclear what this is used for)

    MO: "W3C Member-only Draft"

    UD: "Unofficial Proposal Draft"

    CG-DRAFT: "Draft Community Group Report"

    CG-FINAL: "Final Community Group Report"

Missing are FP-WG-NOTE and FP-IG-NOTE. This means the boilerplate is incorrect, and the pubrules checker complains that "Previous Version" is missing. While that can be corrected manually (and First Public notes have to be manually published, currently) it would be better if Bikeshed generated the correct stuff.

Also while I am here, please make any draft with status=MO emit a warning "are you sure you want to do this?"

An example of pubrules failures caused by the lack of FP-WG-NOTE

I think this was fixed by #2019.


Test Ledger usage in tests

Update: Use Test Ledger for Test Data
Currently, our test data sets are hardcoded within the tests themselves. To improve consistency and maintainability, we propose using the Test Ledger as the source of testing data across all tests.
Changes:

Replace hardcoded test data with data from the Test Ledger.
Ensure all tests are updated to fetch data from the Test Ledger.

This update will streamline our testing process and ensure a single source of truth for test data.

In order to  use the TestLedger class for testing account mirroring, we need to introduce a 'group' column in TestLedger 's account chart. We can derive the group information from comments in the csv account chart.
During our call yesterday, we created an example of such a group column. @AlexTheWizardL: If I recall right, we've created the example on your notebook. Please share it here if you still have the snippet.

Switching tests to TestLedger data will be easier once the automated addition of missing groups in is implemented.
I thus propose to implement #18 before tackling this issue.

We now use Base tests approach that implements the idea of this issue


[WIP] Goreleaser

Let's tag something tomorrow and push a version :)
   • running goreleaser 0.32.0
   • loading config file       file=.goreleaser.yml
   • publishing disabled in snapshot mode
   • SETTING DEFAULTS
   • GETTING AND VALIDATING GIT STATE
   • failed to retrieve current tag error=fatal: No names found, cannot describe anything.

   • releasing , commit 12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd
   • LOADING ENVIRONMENT VARIABLES
   • skipped                   reason=publishing is disabled
   • CHECKING ./DIST
   • BUILDING BINARIES
   • building                  binary=dist/kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_darwin_386/kubeaudit
   • building                  binary=dist/kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_linux_amd64/kubeaudit
   • building                  binary=dist/kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_darwin_amd64/kubeaudit
   • building                  binary=dist/kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_linux_386/kubeaudit
   • CREATING ARCHIVES
   • creating                  archive=dist/kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_linux_amd64.tar.gz
   • creating                  archive=dist/kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_darwin_amd64.tar.gz
   • creating                  archive=dist/kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_linux_386.tar.gz
   • creating                  archive=dist/kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_darwin_386.tar.gz
   • new release artifact      artifact=kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_linux_386.tar.gz
   • new release artifact      artifact=kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_darwin_386.tar.gz
   • new release artifact      artifact=kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_linux_amd64.tar.gz
   • new release artifact      artifact=kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_darwin_amd64.tar.gz
   • CREATING LINUX PACKAGES WITH FPM
   • skipped                   reason=no output formats configured
   • CREATING LINUX PACKAGES WITH SNAPCRAFT
   • skipped                   reason=no summary nor description were provided
   • CALCULATING CHECKSUMS
   • checksumming              file=kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_linux_amd64.tar.gz
   • checksumming              file=kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_linux_386.tar.gz
   • checksumming              file=kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_darwin_amd64.tar.gz
   • checksumming              file=kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_darwin_386.tar.gz
   • new release artifact      artifact=kubeaudit_SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd_checksums.txt
   • CREATING DOCKER IMAGES
   • building docker image     image=shopify/kubeaudit:SNAPSHOT-12293e50d068fd263ae6b9ef3e1b70f9e9bfa0dd
   • RELEASING TO GITHUB
   • skipped                   reason=--skip-publish is set
   • CREATING HOMEBREW FORMULA
   • skipped                   reason=--skip-publish is set
   • SUCCESS!

Do we want to add our code of conduct to the tar balls?

While giving binaries does Code of Conduct matters? Like it is for open source contributions. But may be Jon or Damian would be able to answer that question in a better way.

As a user I wouldn't expect the code of conduct to appear in the binary tars given its purpose is for development, not usage.
It's already included in the "Source code" tar and zip anyway.


Android Platform Views result in Failed to find sync

Steps to Reproduce
Clone https://github.com/SceneView/sceneview-android
Increase version to 0.10.0 and publish to maven local
Clone https://github.com/Perondas/scene_view_native_flutter
Run the example
Expected results: The native view is displayed in the flutter application
Actual results: Visually, nothing happens. In the error log "Failed to find sync for id=x" shows up multiple times.

Logs
[        ]  Running with sound null safety
[   +1 ms] An Observatory debugger and profiler on Pixel 6 Pro is available at: http://<IP_ADDRESS>:64431/CgARam9gdz4=/
[  +37 ms] The Flutter DevTools debugger and profiler on Pixel 6 Pro is available at: http://<IP_ADDRESS>:9102?uri=http://<IP_ADDRESS>:64431/CgARam9gdz4=/
[  +10 ms] E/SurfaceSyncer(18124): Failed to find sync for id=0
[+6748 ms] I/Filament(18124): FEngine (64 bits) created at 0xb400007abf59c310 (threading is enabled)
[   +1 ms] D/Filament(18124): Using ASurfaceTexture
[        ] I/Filament(18124): FEngine resolved backend: OpenGL
[   +6 ms] V/Filament(18124): [ARM], [Mali-G78], [OpenGL ES 3.2 v1.r36p0-01eac0.28ab3a577f105e026887e2b4c93552fb], [OpenGL ES GLSL ES 3.20]
[        ] V/Filament(18124): Feature level: 3
[        ] V/Filament(18124): Active workarounds:
[        ] V/Filament(18124): vao_doesnt_store_element_array_buffer_binding
[   +1 ms] V/Filament(18124): allow_read_only_ancillary_feedback_loop
[        ] I/Filament(18124): FEngine feature level: 3
[  +63 ms] D/Height  (18124): 0
[        ] D/Width   (18124): 0
[        ] I/PlatformViewsController(18124): Hosting view in a virtual display for platform view: 0
[  +32 ms] D/Height  (18124): 0
[        ] D/Width   (18124): 0
[  +19 ms] E/SurfaceSyncer(18124): Failed to find sync for id=0
[   +6 ms] D/Height  (18124): 1750
[        ] D/Width   (18124): 1750
[  +15 ms] D/Height  (18124): 1750
[        ] D/Width   (18124): 1750
[        ] E/BufferQueueProducer(18124): SurfaceTexture-0-18124-0 connect: already connected (cur=1 req=1)
[  +17 ms] D/Height  (18124): 1750
[        ] D/Width   (18124): 1750
[  +17 ms] E/SurfaceSyncer(18124): Failed to find sync for id=0
[        ] E/SurfaceSyncer(18124): Failed to find sync for id=1
[  +14 ms] E/BufferQueueProducer(18124): SurfaceTexture-0-18124-0 dequeueBuffer: BufferQueue has no connected producer
[ +143 ms] D/Done    (18124): Done

Analyzing example...
No issues found! (ran in 2.6s)

[√] Flutter (Channel stable, 3.3.7, on Microsoft Windows [Version 10.0.19044.2251], locale de-AT)
• Flutter version 3.3.7 on channel stable at C:\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision e99c9c7cd9 (12 days ago), 2022-11-01 16:59:00 -0700
• Engine revision 857bd6b74c
• Dart version 2.18.4
• DevTools version 2.15.0
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at C:\Users\mergt\AppData\Local\Android\sdk
• Platform android-33, build-tools 33.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.6)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.2.32630.192
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2021.3)
• Android Studio at C:\Program Files\Android\Android Studio
• 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.13+0-b1751.21-8125866)
[√] VS Code (version 1.73.1)
• VS Code at C:\Users\mergt\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.52.0
[√] Connected device (4 available)
• Pixel 6 Pro (mobile) • 22191FDEE004K4 • android-arm64  • Android 13 (API 33)
• Windows (desktop)    • windows        • windows-x64    • Microsoft Windows [Version 10.0.19044.2251]
• Chrome (web)         • chrome         • web-javascript • Google Chrome 107.0.5304.107
• Edge (web)           • edge           • web-javascript • Microsoft Edge 107.0.1418.42
[√] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!

Hi @Perondas
The goal of this Github repo is not to give assistance on personal code or the whole package/plugin project,
but to improve flutter reporting bugs or feature requests.
If you encounter behavior that you believe could be a Flutter bug, please provide a completed and minimal reproducible code sample that represents the problem. Also, the reproduction steps should be as minimal as possible.
Instead, if you think that the issue might depend on your implementation, please see flutter's community for resources and ask questions like this. You may also get some help if you post it on Stack Overflow and flutterhelp.
Thank you!

My problem is more, that the error Failed to find sync for id=0 is not helping me. I understand that my code probably has an issue within it, or it would work. But the error I am getting is not helping at all.

Hi @Perondas
Can your project run normally before? (With older Flutter versions or other devices).
If you believe it depends on the implementation, I recommend asking this question to the communities above (#help channel in Discord or Slack would be a better place)

It appears that the mistake was on the native side after all. However, the error message is still there, despite the widget functioning perfectly.

@Perondas
I'm not very familiar with publishing to Maven. I was executing this command gradle publishToMavenLocal but got this error:
> Task :arsceneview:signMavenPublication FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':arsceneview:signMavenPublication'.
> Cannot perform signing task ':arsceneview:signMavenPublication' because it has no configured signatory

Could you make the Steps to reproduce simpler by publishing maven to other maven repositories (not local) if possible? And then update the Flutter project accordingly with the change. Thanks!


Does it hurts SEO?

Hello, I know the goal is to discourage Bots, but on the other hand, couldn't it jeopardize my site's SEO? Thanks

It will, but you can specify a filter to exclude crawlers. How the filter should work depends on the crawlers you want to allow.


Fix disappearing category dropdown on new item form

Resolves #4674
Description
This change addresses the issue where the category dropdown disappears after submitting an invalid "New Item" form. The change ensures that the @item_categories variable is correctly populated even after an error occurs, allowing users to select a category without issues.
Type of change

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

How Has This Been Tested?
The following tests were conducted to verify the changes:

Log in as an organization admin.
Navigate to the "New Item" page.
Attempt to save a blank form.
Verify that the category dropdown remains accessible and functional after the error is triggered.

Fixes category dropdown disappearing after new item form error.

Note:  this is a PR on an issue that already had a PR on it.

@princekumarg12 There was already a PR in progress for this one, so I think we'll go with that one, if it works.


Spec Review: Input Validation

adding the first draft of Input Validation for review

I apologise, but I don't know how to reference the markdown file directly as others have done.
With respect to the Custom Validation UI, I'd love to see an attached property for UIElement controls added. I feel this would be less verbose than the sample linked above and also clearer to grok while reading the XAML. I do see value in supporting both methodologies.
What would be nice to see is something like
<TextBox ....>
    <TextBox.Validation DisplayValidationMessages="All|First|Last" Position="Right|Below">
        <DataTemplate x:DataType="ValidationError">
            <StackPanel Orientation="Horizontal" Spacing="5">
                <Border Background="Red" Margin="3" CornerRadius="10"
                        Width="12" Height="12" VerticalAlignment="Top">
                    <TextBlock Text="!" Foreground="White"
                               HorizontalAlignment="Center" VerticalAlignment="Center"/>
                </Border>
                <TextBlock Text="{x:Bind ErrorMessage, Mode=OneWay}" />
            </StackPanel>
        </DataTemplate>
    </TextBox.Validation>
</TextBox>

Being able to build a validation message as I've proposed above would allow the validation UI for each form element to be defined in the XAML tree for the relevant control.
I don't know whether attached properties allow attributes, but I feel that if possible those two attributes would be quite useful.

I think there needs to be some thought about the ErrorTextColor in both light and dark themes.
Looking at the iconography used by Windows defender, and across the OS - as well as the colours for the proposed Status Banner #913...
The Dark Theme error colour is a yellow colour, and light theme uses red.
Should the red, green, and yellow colours, used in these icons, not be added as theme resources, and used for error and confirmation validation?  They would then be consistent with Light and Dark themes?

Why only Mode=TwoWay. I would like to see errors for all modes.

Why only Mode=TwoWay. I would like to see errors for all modes.

Hmmm, I'm not sure if I understand the reason why you want it for all modes.
Normally you show errors to tell the user what they have to enter and in which form they have to enter the data. To allow a user to enter data, you have to use a TwoWay Data Binding -> assuming you're using Data Bindings to connect the UI to your Data/ViewModel.
What is the scenario to show errors in a User Interface where a user can't change anything, because there are for example only OneWay Data Bindings? This would be a readonly User Interface.

Why only Mode=TwoWay. I would like to see errors for all modes.

Hmmm, I'm not sure if I understand the reason why you want it for all modes.
Normally you show errors to tell the user what they have to enter and in which form they have to enter the data. To allow a user to enter data, you have to use a TwoWay Data Binding -> assuming you're using Data Bindings to connect the UI to your Data/ViewModel.
What is the scenario to show errors in a User Interface where a user can't change anything, because there are for example only OneWay Data Bindings? This would be a readonly User Interface.

In the current project, I have errors in the datagrid in oneway mode

@stevenbrix
A model with data can be checked not only by the user's water, but for example by a button. for example, we drive field a, then we drive field b, and we check field c for read-only, which is calculated on the basis of a and b.

Before committing to a final solution, please review the validation features that were present in Silverlight.  These worked very well in complex forms applications.  Also, I always wondered why Adorners were not added to Silverlight and now UWP.  An Adorner allows you to add a layer of functionality over an existing control, so could also be used for validation.


Inline Containerfile generation

This moves Containerfile generation from the operator to the Java request-processor (specifically the preprocessor step) so it can be reused outside of JBS.

/lgtm


Clean up unnecessary dictionary unpacking

Description:
Clean up unnecessary dictionary unpacking (** operator)
Checklist:
You should check all boxes before the PR is ready. If a box does not apply, check it to acknowledge it.

[x] ISSUE NUMBER. You linked the issue number (Ex: Resolve #XXX).
[x] PRE-COMMIT. You ran pre-commit on all commits, or else, you
ran pre-commit run --all-files at the end.
[x] USER CHANGES. The changes are added to CHANGELOG.md and the documentation, if they impact
our users.
[x] DEV CHANGES.

Update the documentation if this PR changes how to develop/launch on the app.
Update the README files and our wiki for any big design decisions, if relevant.
Add unit tests, docstrings, typing and comments for complex sections.

Can you rename the PR to something like clean-up for the merge message?


airr-tools rearrangement validation error

It seems that validating a rearrangement file with airr-tools produces the following error if the header has fewer fields than the record proceeding it:

Error occurred while validating AIRR rearrangement files: 'NoneType' object has no attribute 'endswith'

For example my_airr.txt produces this error when provided to airr-tools (version 1.3.0).
airr-tools validate rearrangement -a  my_airr.txt

Thanks for the report. We'll take a look at it.


Wasm IBC test ought not fail.

I ran TestWasmIbc on the main branch and got this error: "Error:  Should NOT be empty, but was"
                Error Trace:   /Projects/test/interchaintest/examples/ibc/wasm/wasm_ibc_test.go:173
                Error:          Should NOT be empty, but was
                Test:           TestWasmIbc

looks like it failed to reflect the account on juno2
full log:
ibc_test_log.txt

Thank you for the report! I will be taking a look into why this is occurring and moving it to our main testing CI suite to ensure it does not happen again

Calling in the CosmWasm calvary @kakucodes


IORING_TIMEOUT_ETIME_SUCCESS not supported on WSL2?

I'm trying to link an io_uring_prep_cancel() to a timeout but it seems like on WSL2, using IORING_TIMEOUT_ETIME_SUCCESS causes the CQE to return with -EINVAL. Looking at the test for timeouts, I see:
https://github.com/axboe/liburing/blob/4458aa0372738e844008397f71c062bd8bfadcac/test/timeout.c#L1305-L1307
i.e. if it returns with EINVAL, it's just not supported.
So, I'm left with a question, how do I get it supported? I'm using a relatively modern version of Ubuntu.
exbigboss@DESKTOP-08K7IHD:~/rust/rio$ uname -a
Linux DESKTOP-08K7IHD <IP_ADDRESS>-microsoft-standard-WSL2 #1 SMP Wed Nov 23 01:01:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

This is all an impl detail of implementing per-operation timeouts. I have 4 SQEs with 2 linked pairs:
io_uring_prep_connect() -> io_uring_prep_cancel(ud2)
io_uring_prep_timeout() -> io_uring_prep_cancel(ud1)

It seems like everything works just fine if I hard-link io_uring_prep_timeout() -> io_uring_prep_cancel(connect_user_data) but I don't find this particularly elegant.
Also, what's the semantic difference between io_uring_prep_timeout_remove() because it seems like prep_cancel() works equally well. So, no idea what I should do if I have a timeout linked to cancel request because I want to cancel any part of the chain in a uniform interface (which cancel() seems to incidentally do).

IORING_TIMEOUT_ETIME_SUCCESS arrived with kernel 5.16, so you're unfortunately just one revision behind it being available... 6.1 will be the next LTS kernel, so if you want to stick with those, then that should be available in ubuntu shortly I'd think.
There's no difference between using the specific poll cancel, or the generic cancel. We had poll removal/cancel before we had generic cancelations, and the generic one will find the poll one too. The poll specific one may be a bit more efficient as it will only look for poll requests, and on the other hand, the generic one has more options which may be important if you're trying to cancel more than one request at the time.

Ha, thanks for the reply! Good to know that I'm not doing anything wrong then!
Alright, I'll go ahead and close this issue as you've answered all my questions.
I'm so stoked that liburing comes with a built-in way of doing timeouts! Thank you so much!


[Request] Disable expansion of generic objects

Hi!
First I just want to say great job with this plugin, it is really handy! Keep up the good work!
My issue
I work a lot with Angular and therefore a lot with Observables from rxjs. When I hover on my observable type, the list gets very long since observable is a quite large object so I have to scroll quite far down.

This is the definition of UnmappedPdfs

I tried using the Skipped type names setting by adding Observable to the list but this did not have any effect and when I hovered again, the whole observable type still got expended.

I did notice however that when i changed the setting to the exact type it worked

However, this also disables the expanding of my own type UnmappedPdfs.
What I would like to achieve
It would be nice if I could in some way not have the observable be expended when I hover it. So instead of seeing all the observables properties I would instead see
Observable<{   pdfs: string[],   verified: boolean }>
How to solve this
I'm not sure how to solve this and you know the plugin better than me. Would perhaps allowing generic types in the skip type name be an option? I also saw issue #32, perhaps that could be a solution to the issue?
Let me know what you think and if you think that this would be a valuable feature or if it is beyond the scope of this plugin!
Cheers!

Hey @dakaza98!
Thanks for mentioning this.
Generics are absolutely a sore spot for this extension right now, the hardest part has been knowing when to show the "apparent" type (resolved generic), or when to do what you showed above.
Right now there is custom logic for Promises to unwrap the type argument but not the Promise type itself. I could turn that into another setting where items can be added. So if you added "Observable" to that list, it could display as you mentioned!
As a side note, I use Angular at work and have ran into how awful observables look with my extension as well, so definitely want to get this cleaned up! 😄

Wonderful!
Skip Generic Type Names, perhaps? Unwrap Arguments Type Names could also work.


Applicationset not refreshed after webhook event using matrix generator

As PR changes (e.g. change the label defined for the pr generator) on GitHub are not immediately picked up by ArgoCD, even though the webhook event is delivered oke according to GitHub, I did some investigating.
Timeline:
14:21:38Z: appset-controller log (no pr's labeled with 'preview' at this moment, so 0 apps is correct):
time="2021-12-20T14:21:38Z" level=info msg="generated 0 applications" generator="{<nil> <nil> <nil> <nil> <nil> <nil> 0xc000a00000 <nil>}"
time="2021-12-20T14:21:38Z" level=info msg="end reconcile" requeueAfter=3m0s

14:22:23Z: Webhook delivery (labeled one pr with 'preview'):
Content-Length: 0
Date: Mon, 20 Dec 2021 14:22:23 GMT
Vary: Accept-Encoding

14:22:23Z: Expected some webhook action here to trigger an appset refresh
14:24:40Z: appset-controller log (requeued reconcile expected at 14:21:38Z + 3mins ~ 14:24:38Z):
time="2021-12-20T14:24:40Z" level=info msg="created Application" app=my-app-pr-1-dir1 appSet=my-appset
time="2021-12-20T14:24:40Z" level=info msg="created Application" app=my-app-pr-1-dir2 appSet=my-appset

14:24:40Z: app-controller:
time="2021-12-20T14:24:40Z" level=info msg="Refreshing app status (spec.source differs), level (3)" application=my-app-pr-1-dir1

Based on the this code, I assume the webhook only works if the git or pr generators are used on their own, but not in combination with the matrix (or the new merge) generator.
I don't see the refesh log statement in the appset-controller logs, but there is no error either.
Example appset spec:
spec:
  generators:
  - matrix:
      generators:
      - pullRequest:
          github:
            labels:
            - preview
            owner: me
            repo: my-app
      - git:
          directories:
          - path: '*'
          repoURL: git@github.com:me/my-app-deployments.git
          revision: pr

Would it be possible to extend webhook support for 'nested' generators, like the matrix generator?

got the same issue with this setup:
  generators:
    - matrix:
        generators:
        - pullRequest:
            github:
              owner: me
              repo: test-pipelines
              tokenRef:
                secretName: github-token
                key: token
              # Labels is used to filter the PRs that you want to target. (optional)
              labels:
              - setup
            requeueAfterSeconds: 300
        - list:
            elements:
            - version: 1.4.0

Fixed via https://github.com/argoproj/argo-cd/pull/8998


[DON'T MERGE] [Autoscaler] autoscaler sends consumption to cplane

This must be merged after autoscaler is configured in the same way for staging eu-west-1.
This configures autoscaler to send consumption to cplane instead of directly to console.
https://github.com/neondatabase/cloud/issues/7144

This has since been deployed. See

439d5cfeb9d4617bff4e5a67acc1b506111f3f64
9877499b405c14678df006d29b34ec607c75f115
7c07431da9df73760991d2d2a2c9554c5e1abcbd
8e8914a25e030a249fbbcf4570449acb9541c9c9
b41afd10a6b3f597ba883656f9d3b655152179f5


Beta: Waypoint: Target a Specific Child of an Element Using jQuery - instructions don't match test

Challenge http://beta.freecodecamp.com/challenges/waypoint-target-a-specific-child-of-an-element-using-jquery
Instructions ask to "Make the first child in each of your well elements bounce."
But, test expects "The second element in each of your "well" elements should bounce."

This is being tracked in #1713


Add a Input / Output diagram to show Privacy and security behavior

:bulb: Idea

Enhance the documentation  with privacy and security relevant information and Warnings.
Add setup Wizard for the ntfy server that helps to properly setup ntfy and do not forget important details.

:notebook: Behind the Idea
I'm privacy driven. May a bit more than others. But Im a selflearner on Linux, Networking and currently on OpenWRT. I'm scepti on Google and microsoft. Cause of that, I play with the thought about using ntfy replacing Google push and using unified push.
therfore I have to grant ntfy Internet access.
While Playing around I miss the feeling that I configured everything properly.

Is only unly unified push accessible from internet? No login, no push message. Could I limit the network access to only accept more features from 192.168.. Or do I need a firewall for that?
There is the information, I could create an admin user. For me it is not clear why there is no default admin set up. It's irritating and I assume it could be more secure without it?
On the Android app I could setup the server, but It seems I do not get any information if the connection works or get an error information if not.

:computer: Target components
docs.ntfy.sh
ntfy server

UnifiedPush messages are just ntfy messages sent to a special topic in a special format. You cannot limit ntfy features by IP address (since there's little difference between a non-UnifiedPush message and a UnifiedPush message)
I'm not sure what you mean. There's no default admin because we don't know what you want the admin username/password to be. You don't even necessarily need an admin account at all (for example, if you set up the server default access as "read-write")
if the Android app has problems connecting to the server, you will see it says "reconnecting." You can also send a test notification from the 3-dot menu on a specific subscription page


Running pylance from node in WSL2

I am trying to figure out how to make pylance my lsp-mode server in Emacs, which is running in Ubuntu 20.04 under WSL2. To do that, I figure I should start the server either in WSL or in Win 10 itself. I wanted to run it from node, akin to pyright server, but npm does not seem to have pylance package.
How can I start pylance server without opening VS Code? I am aware that pylance uses pyright under the hood, but I want the additional functionality of pylance in my lsp server.

Pylance works only with VS Code.
You can use Pyright with other editors.


Analyze interaction

Is there a way to analyze an experimental setup that uses an interaction design? E.g.
 Time + Treatment + Time:Treatment
?

It should be possible, but would be a slightly more complicated usage. is time here an ordinal variable?


copy-save

Icon name
copy-save
Use cases

Saving a copy of a currently open file
This could be used for "save as" functions

Design ideas
I thought a merge of the copy-* icons style and the save icon should do the trick - when we're saving a new file, we're basically creating a copy of the open file and saving over that copy.
So, something like this:

?
Not sure if copy-save is the right name. Could also be copy-floppy-disk or save-as?
Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
[X] I have searched existing icons to make sure it does not already exist and I didn't find any.
[X] I am not requesting a brand logo and the art is not protected by copyright.
[X] I am not requesting an icon that includes religious, political imagery or hate symbols.
[X] I have provided appropriate use cases for the icon(s) requested.

We already have save-all, which looks practically identical.


inline-entry-points-all: forgets to delete names of Ids that go away

Inliner forgets to delete OpName targeting the inlined return value of a called function.
Example input is below. In particular, %foo_result is the name given to the result of the function call.
               OpCapability Shader
               OpMemoryModel Logical GLSL450
               OpEntryPoint Vertex %main "main"
               OpName %main "main"
               OpName %main_entry "main_entry"
               OpName %foo_result "foo_result"
               OpName %void_fn "void_fn"
               OpName %foo "foo"
               OpName %foo_entry "foo_entry"
       %void = OpTypeVoid
    %void_fn = OpTypeFunction %void
        %foo = OpFunction %void None %void_fn
  %foo_entry = OpLabel
               OpReturn
               OpFunctionEnd
       %main = OpFunction %void None %void_fn
 %main_entry = OpLabel
 %foo_result = OpFunctionCall %void %foo
               OpReturn
               OpFunctionEnd

After running the inliner I get:
               OpCapability Shader
               OpMemoryModel Logical GLSL450
               OpEntryPoint Vertex %main "main"
               OpName %main "main"
               OpName %main_entry "main_entry"
               OpName %foo_result "foo_result"
               OpName %void_fn "void_fn"
               OpName %foo "foo"
               OpName %foo_entry "foo_entry"
       %void = OpTypeVoid
    %void_fn = OpTypeFunction %void
        %foo = OpFunction %void None %void_fn
  %foo_entry = OpLabel
               OpReturn
               OpFunctionEnd
       %main = OpFunction %void None %void_fn
 %main_entry = OpLabel
               OpReturn
               OpFunctionEnd

We still have the OpName %foo_result but that Id is no longer defined, and this module fails validation:
error: 19: The following forward referenced IDs have not been defined:
3[foo_result]

It's a bug, yes, but I don't think this is particularly high priority since I only encountered it with a hand-coded assembly module.
Cc @greg-lunarg

Is the "before" shader valid? foo is defined as a void function but it is called with a return value. The spec says that void functions do not return a value, but there does not appear to be a way to call a function without a return value. So that means that %foo_result's type is void. Is that valid? There doesn't seem to be validation rule that rules out values or variables from having type void. Should there be? My code had (apparently naively) assumed there wasn't a return value for void functions.
It seems that glslang does not (often? ever?) name the return id of a call (or any "temp" ids), so this shouldn't occur that often, as you noted.
I would like to wait for a reading on the long-term viability of return values on void function calls before I make a fix. OK?

Calling a void function does generate an Id for its return value.  Yes, that's valid.  My example is strange only in that applies an OpName to it.
For example, given this vertex shader:
#version 150
void foo() {}

void main() { foo(); }

Glslang produces this when targeting Vulkan:
               OpCapability Shader
          %1 = OpExtInstImport "GLSL.std.450"
               OpMemoryModel Logical GLSL450
               OpEntryPoint Vertex %main "main"
               OpSource GLSL 150
               OpName %main "main"
               OpName %foo_ "foo("
       %void = OpTypeVoid
          %3 = OpTypeFunction %void
       %main = OpFunction %void None %3
          %5 = OpLabel
          %8 = OpFunctionCall %void %foo_
               OpReturn
               OpFunctionEnd
       %foo_ = OpFunction %void None %3
          %7 = OpLabel
               OpReturn
               OpFunctionEnd

But yeah, this issue of stripping away the name is low priority since it should be rare.

@s-perron is this still an issue?

@s-perron: ping.

This is still a problem.  I'll look into it.


https://osdm.io/spec/errors-warnings/ is returning an error 404 (page not found) at the moment

fixed (the page was renamed to errors-problems)


Log dnadiff from the private-cli, and call this via snakemake

Main points:

Expand https://github.com/pyani-plus/pyani-plus/blob/main/pyani_plus/private_cli.py with another function log_dnadiff (like the existing log_anim, log_anib, log_fastani) which will take the database, query FASTA, subject fasta, dnadiff output, and any parameters as argument. Test this.

Call this from snakemake in https://github.com/pyani-plus/pyani-plus/blob/main/pyani_plus/workflows/snakemake_dnadiff.smk (like the existing methods do), AND insert DB creation into https://github.com/pyani-plus/pyani-plus/blob/main/tests/snakemake/test_snakemake_dnadiff_workflow.py and confirm the final matrices match (like the existing snakemake tests)

I've been working on this on branch issue_131, and it made me wonder few things.

in method_dnadiff.py (and method_anim.py) there is code that I have written at earlier stages that I needed for testing, eg.:

class ComparisonResultDnadiff(NamedTuple):
    """A single comparison result for dnadiff."""

    qname: str  # query sequence name
    rname: str  # reference sequence name
    q_aligned_bases_with_gaps: int  # aligned base count of reference sequence with gaps
    avg_id: float  # average nucleotide identity (as a percentage)
    q_length: int  # total base count of query sequence
    r_length: int  # total base count of reference sequence
    alignment_gaps: int  # length of the gaps in the query alignment
    aligned_bases: int  # tota base count in an alignment
    q_cov: float  # query coverage

    def item(self, attribute: str) -> Any:  # noqa: ANN401
        """Return the value of the specified attribute."""
        try:
            return getattr(self, attribute)
        except AttributeError:
            msg = (
                f"Invalid attribute '{attribute}'. Valid attributes are: {self._fields}"
            )
            raise ValueError(msg)  # noqa: B904

or
def collect_dnadiff_results(
    mcoords_file: Path,
    qdiff_file: Path,
    indir: Path,
) -> ComparisonResultDnadiff:
    """Return a ComparisonResultDnadiff for a completed dnadiff comparison.

    The passed args should contain the Path to the mcoords and qdiff output files
    comparisons for a sungle run, and a set of input sequences.
    Files are parsed to obtain the count of aligned bases (with and without gaps)
    in the query, average nucleotide identity, and query genome coverage for each
    comparison.
    """
    files = {fasta.stem: fasta for fasta in indir.iterdir() if fasta.is_file()}

    rname, qname = mcoords_file.stem.split("_vs_")
    r_genome_length = get_genome_length(files[rname])
    q_genome_length = get_genome_length(files[qname])
    avg_identity, aligned_bases_with_gaps = parse_mcoords(mcoords_file)
    gaps = parse_qdiff(qdiff_file)

    return ComparisonResultDnadiff(
        rname=rname,
        qname=qname,
        avg_id=avg_identity,
        q_aligned_bases_with_gaps=aligned_bases_with_gaps,
        r_length=r_genome_length,
        q_length=q_genome_length,
        alignment_gaps=gaps,
        aligned_bases=aligned_bases_with_gaps - gaps,
        q_cov=(aligned_bases_with_gaps - gaps) / q_genome_length * 100,
    )

Since we don't use the above code to log our calculations/values to the database, and we test the congruence between the expected (matrices) and calculated values elsewhere, this code becomes somewhat repetitive. I think this could be removed.

While expanding the private-cli to record dnadiff comparisons in the database, I noticed a potential swap between the query and subject in log_anim. For example, it currently assumes that deltafilter.stem follows the format <query>_vs_<subject>.

# Allowing for some variation in the filename paths here... should we?
used_query, used_subject = deltafilter.stem.split("_vs_")

However, both delta and deltafilter actually follow the <subject>_vs_<query> format. In the rule_delta section of snakemake_anim.smk, we call the following, where genomeA is the subject and genomeB is the query, according to the delta-filter documentation:
USAGE: nucmer [options] <Reference> <Query>

Yes, I was going to suggest removing this soon
That's the niggle I had to tweak in #129 to match the expected matrix output, it may need some more variable renaming?

I note the calculation needs both qdiff and mcoords files (see #133), and https://github.com/pyani-plus/pyani-plus/blob/main/pyani_plus/workflows/snakemake_dnadiff.smk calculates those two separately with two different and independent rules which I think can be run in either order (as they just need the .filter input).
We could I think either:

make one rule depend on the other, and add the DB logging to that rule so that it have access to both files. e.g. Say mcoords needs the qdiff, and it will also do DB logging.
combine the two rules into one, and add the DB logging to it. i.e. A single rule which generates .qdiff and .mcoords and does logging - and from the point of view of snakemake the target would be the second file generated

In the later case, we might go even further and use a single rule which runs nucmer, delta_filter, show_diff, show_coords and the DB logging. It seems simpler to me (solving the snakemake DAG ought to be faster, perhaps important on large runs?).

So we're agreed on a single rule for dnadiff? Unlike say ANIb, there is nothing which is query specific (fragmenting FASTA files), nor reference specific (making BLAST databases), everything is specific to the pair 😄

I'm easy on this one. I will put all my trust in the process and we can combine the two rules (.qdiff and .mcoords). Is it something that you are working on just now? Because I will need to update the dnadiff snamekae file and associated tests to call private_cli.py.

Go for it. I'll have to add dnadiff to the public API at some point but that can wait.

We added dnadiff to the public API as part of #141.


filter on the basis of name not working

I have implemented search and filter together. the search is working fine but the filter is not. The URL is also being created correctly.
https://tenant/site/_api/v2.0/drives/id/root/view.search?q=test&filter=name eq 'abc.pdf'
but I do not get relevant document filtered.

Hi Swati,
Filter isn't supported with search api just yet. It is something we are looking to do in the future. For now, can you limit your result set by adding more keywords in your search query , e.g. q='test abc pdf'?
Kashif

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


Move guide folder under en folder

- What I did
Move the entirety of the guides folder under the en folder to have all English content exist under en.
- How I did it
Fetched the latest upstream on my private fork, git pull on local machine, simply move the guides folder under en, git push to fork, compare that fork to atsign.dev trunk.
- How to verify it
Check if the guide folder successfully moved under en folder and the PNG's are not corrupted.
- Description for the changelog
Move guides under en directory

@cpswan - did you want to review or should I go ahead and merge it?


Trakt Integration

Feature request
I'm submitting a proposal to ...

[x] new feature
[ ] change an existing feature

Describe your request

Great plugin!  Would love to be able to integrate Trakt.tv scrobbling/syncing with Netflix viewing in this Kodi Addon.
Describe the use case

Could be useful for anyone who likes to use Netflix and Trakt
Describe an alternative

Development tips

Unfourtunately I can't write code (yet), but am technical.
I could text on Linux, Mac, Windows, LibreELEC machines that I tinker on etc.
Additional details or screenshots (if appropriate)
Specific details

Screenshots

Trakt.tv integration works great with a plug-in from the kodi repository. Yes, it's one-sided -, but it works - the tract page shows you what you're watching right away.

If shows or movies are added to your collection (either automated or manual) the standard Trakt.tv plugin will even sync both ways. Also it will mark the series as collected when added to your library.
When you just watch through the plugin it will only scrobble and mark watched.
Please do note, in the settings from the TRAKT plugin, you have to disable "Exclude HTTP sources". I have configured the plugin a long time ago, so I'm not sure, I think it is enabled by default. This means by default it will not scrobble HTTP (Netflix) streams.

Thanks notoco and kidporpm.
I have the normal Kodi repository Trakt.tv plugin already, doesen't seem to be syncing.
I will have to tinker with the HTTP settings as you mention!

I do not provide support for Trakt
if you need help with it ask for help in the Kodi forum
thanks


Selection not set when using a RecordArray as content and a PromiseObject as value

I'm trying to build a select box to let the user choose a models.belongsTo property from a list of models retrieved through the store. While the selection process in general is working, the initial selection after reloading the page is not set.
x-select content=recordArray selection=model.belongsToRecord optionValuePath="content" optionLabelPath="content.title"
If I use recordArray.content and model.belongsToRecord.content, the initial selection is set properly, but the selection process stops working ( the model.belongsToRecord is not properly set anymore ).
Digging in with the Ember Inspector I can see that the value on the x-select component is a PromiseObject whereas the value of the x-option component is the resolved value of the Promise.
I guess the comparison between those two with an === operator is not working.

Same problem here, but calling content solved the initial selection problem keeping, as opposed to  @mphasize, selection process working.
{{#x-select value=model.belongsToRecord.content action="selectAction"}}
  {{#each recordArray as |item|}}
    {{#x-option value=item}}{{item.name}}{{/x-option}}
  {{/each}}
{{/x-select}}


Configure ALE for use with the Solargraph LSP

This would essentially require me to use Deoplete as a completion framework, and LanguageClient-neovim to configure the link with Solargraph. Can't say I'm wildly excited for two new plugins, but it would get rid of the coc.nvim blob.

So I've done some further study on both ALE and Coc's documentation, and some source code to see how things look under the hood. I need to understand how they work internally before I'll extensively probe them in vim itself.
Coc mainly exists for LSP autocompletion purposes, but it can be... well, everything. It also lints, it has refactoring tools provided by the LSP, and more. This is good, but it's also bad. It also has a Node.js dependency which runs a server along with vim, and provides its LSP integration through that. That's also... undesirable, but probably faster than a direct LSP connection. It's completion engine works well and is pretty much the same interface as YCM's. That said, I really don't like hidden dependencies (which is why I went looking for YCM alternatives and stumbled upon Coc two years ago in the first place) and least of all the bloated mess that is Node.
ALE exists for async linting. It runs external linting programs through a control interface in vim. This means syntax checks, inline code analysis, and formatting fixes. vim-airline hooks into it to provide feedback on the statusline. It also sports decent refactoring functions through its LSP support, and can even give autocompletion (for which you'll need the aforementioned Deoplete or another completer of choice). I like plugins that are made to do one thing well. It also has no external dependencies.
ALE's LSP connection is harder to configure than Coc, but that's no reason to choose one over the other, as long as it works well once configured.


VAE example, run TypeError: compile() takes at least 3 arguments (2 given)

https://github.com/keras-team/keras/blob/85f011df5a5c0fcf1f01b39eca338eb6b7e58401/examples/variational_autoencoder.py#L58
I take a look at keras/engine/training.py, and find that compile function do not need 3 arguments, so may be it's my version fault?
I simply change the line of code to
vae.compile(loss=None, optimizer='rmsprop')
Will this change do some harm or strange behavior?
My packages are listed below:
Python=2.7.13
Keras=2.1.2
tensorflow==1.4.1
tensorflow-gpu==1.4.1

There is a Keras blog post that references the code (2016), however the implementation is slightly different. The loss function implementation is different. I tried this:
# Compute VAE loss
def vae_loss(x, x_decoded_mean):
    xent_loss = original_dim * metrics.binary_crossentropy(x, x_decoded_mean)
    kl_loss = - 0.5 * K.sum(1 + z_log_var - K.square(z_mean) - K.exp(z_log_var), axis=-1)
    vae_loss = K.mean(xent_loss + kl_loss)

vae.compile(optimizer='rmsprop', loss=vae_loss)

However, I'm running into this traceback now:
Using TensorFlow backend.
Traceback (most recent call last):
  File "vae.py", line 50, in <module>
    vae.compile(optimizer='rmsprop', loss=vae_loss)
  File "/home/tristan/conda/lib/python3.6/site-packages/keras/engine/training.py", line 827, in compile
    sample_weight, mask)
  File "/home/tristan/conda/lib/python3.6/site-packages/keras/engine/training.py", line 439, in weighted
    ndim = K.ndim(score_array)
  File "/home/tristan/conda/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 606, in ndim
    dims = x.get_shape()._dims
AttributeError: 'NoneType' object has no attribute 'get_shape'

@doujiang-zheng I removed the error by editing this:
vae.compile(optimizer='rmsprop', loss=None)
The loss is set to be None, because we are already adding the loss in the line:
vae.add_loss(vae_loss).
Hope this helps


"Blazor component" isn't the formal name for components

cc: @Eilon ... I wish I would've pinged you in my discussions with DR on this several years ago. My bad.
The term "Blazor component" is merely the informal name of components and completely avoided in Blazor documentation. The formal name used 100% of the time is "Razor component."
Way back in Blazor preview days 👴, I initiated a discussion on the importance of component naming consistency with management, but I didn't reach out to other managers with the conclusion of that discussion. I also haven't been asked to review content outside of ASP.NET Core docs, so I haven't had a chance to head off this problem as new docs rolled out.
Consequently, MS content ... here in .NET MAUI docs ... Learn Modules ... blog posts ... elsewhere probably ... don't use the formal name, sometimes completely avoiding it. Making matters a little worse, most places don't link to the Blazor doc on Razor components. At this point, the community is left to draw the conclusion that Microsoft doesn't know what components are called by using TWO names for the same thing among doc sets 😵🙈.
I recommend that all Microsoft content use the formal name ...

Possibly cross-linking to the Blazor doc on the subject where mentioned ... [Razor components](/aspnet/core/blazor/components/).

If it's felt that term "Blazor component" is in wide use now and can't be avoided at least as a mention in content, I recommend qualifying it explicitly as the informal name ...

Components in Blazor are formally referred to as Razor components, informally as Blazor components.

... and then never mention "Blazor components" again in the content.

Anyway 😄 ... that's a lovely history, Professor Rex! 😆 ... but this issue is really just asking if "Blazor component" in this topic on BlazorWebView can be replaced with "Razor component," possibly with a cross-link? Here's a few cut-'n-pastes ...

Singular: [Razor component](/aspnet/core/blazor/components/)
Plural: [Razor components](/aspnet/core/blazor/components/)
Components in Blazor are formally referred to as [*Razor components*](/aspnet/core/blazor/components/), informally as *Blazor components*.

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

ID: 8de1a060-dbbb-c4a1-0407-b80f91b600be
Version Independent ID: 8de1a060-dbbb-c4a1-0407-b80f91b600be
Content: BlazorWebView - .NET MAUI
Content Source: docs/user-interface/controls/blazorwebview.md
Product: dotnet-mobile
Technology: dotnet-maui
GitHub Login: @davidbritch
Microsoft Alias: dabritch

I don't follow on the localization points. The naming isn't split across languages/cultures. It's different across doc sets. In some docs sets, they're called "Blazor components;" while in other doc sets (and the official Blazor docs), they're called "Razor components."
This inconsistency isn't necessary for any reason as far as I can tell ... except ... of course now, third parties have picked up on the "Blazor components" naming and incorporating that name into blog posts, products, and services. If something isn't done now, MS is probably doomed to having created two names for the same thing for no reason and resulting in confusion.
I recommend being allowed to do whatever I can today to stomp out the use of "Blazor components" wherever it lives in MS docs ... just a suggestion. If that's not desired, ok. I'll drop it and move on.
btw -- it's being discussed offline further at the moment as a side issue. I'll probably get @danroth27's final call on what I should do, if anything, shortly. I just wanted to make sure that I did what I could so that I can rest easy on it if a different direction is taken.

 Don't you know that I take this stuff VERY seriously?. ...... toooooo seriously perhaps. 🙈

"Razor component" is the official terminology and is used in our tooling. Informal use of "Blazor component" to refer to a Razor component is fine.


Start IPC channel as soon as the wallet BE socket is available

Issue Number

Overview

[x] I have revised the starting order and "dependencies" to make sure that the DaedalusIPC server is started as soon as we know the wallet server port, and before we try to setup the networking layer.

[x] reviewed the starting logic with Daedalus team who confirmed that they have error-handling mechanism in place to actually repeatedly poll the API server after a "Started" message is received via IPC. This is necessary since we'll now be starting the IPC channel much before the API is actually ready.

[x] Since we have disabled the IPC tests in CI, I've made sure they still pass locally.

Comments

bors r+


Update LICENSE.md

I need to have an official license on this library to include it in a project. I've forked it and added myself but thought it would make a good pull request :)

What makes you think this license if unofficial? Is my legalese insufficient for you? The MIT license has even more restrictions than my public domain dedication.

updated, this okay?

Talk to my client, dude!!

Tell your client that the only difference between the MIT license and this public domain dedication is that the MIT license requires attribution, whereas this does not.
Also "Eli pinky promises not to sue you"
If they insist on the MIT license, go ahead. The whole point of public domain is that you are

This is why I have gone down this route, to satisfy a demand without having to do work that's already been done.
Then figured I would fire off a pull request, just on the off chance. No bother

I've changed the license to something more explicit.

NPM throws a warning for "Public Domain", here is a pull to specify The Unlicense https://github.com/eligrey/classList.js/pull/56


npm ERR! notsup Unsupported platform for<EMAIL_ADDRESS>

An error occurred while deploying. What's wrong? Thank you very much!
log:
# github.com:[22](https://github.com/shink/blog/actions/runs/3172901675/jobs/5167901170#step:11:23) SSH-2.0-babeld-cf4f94f3
/usr/local/bin/hexo -> /usr/local/lib/node_modules/hexo-cli/bin/hexo
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/hexo-cli/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+<EMAIL_ADDRESS>added 59 packages from 51 contributors in 3.954s
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   linux
npm ERR! notsup Actual Arch: x64

npm ERR! A complete log of this run can be found in:
npm ERR!     /github/home/.npm/_logs/2022-10-03T09_05_44_763Z-debug.log

workflow:
name: Deploy to GitHub Pages

on:
  push:
    branches:
      - hexo-icarus

jobs:
  deploy:
    name: Deploy hexo blog to GitHub Pages
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
        with:
          ref: hexo-icarus
          submodules: true

      - name: Set up node.js
        uses: actions/setup-node@v3
        with:
          node-version: 16

      - name: Get npm cache directory
        id: npm-cache-dir
        run: |
          echo "::set-output name=dir::$(npm config get cache)"

      - name: Cache node modules
        uses: actions/cache@v3
        id: npm-cache
        with:
          path: ${{ steps.npm-cache-dir.outputs.dir }}
          key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
          restore-keys: |
            ${{ runner.os }}-node-

      - name: Install dependencies
        if: steps.npm-cache.outputs.cache-hit != 'true'
        run: npm ci

      - name: Set up Python
        uses: actions/setup-python@v4
        with:
          python-version: 3.7

      - name: Install pyyaml
        run: pip install pyyaml

      - name: Replace secrets
        run: |
          python bin/replace-secrets.py
        env:
          GITALK_CLIENT_ID: ${{ secrets.GITALK_CLIENT_ID }}
          GITALK_CLIENT_SECRET: ${{ secrets.GITALK_CLIENT_SECRET }}
          SHARE_THIS_URL: ${{ secrets.SHARE_THIS_URL }}

      - name: Deploy
        id: deploy
        uses<EMAIL_ADDRESS>        with:
          deploy_key: ${{ secrets.DEPLOY_KEY }}

I found a solution for this, hacky asf, but it works :tm:
Based on this article https://stackoverflow.com/questions/56103865/how-to-fix-unsupported-platform-for-fsevents1-2-9-wanted-osdarwin-arch you can change fsevents in package.lock (which you should never really do) but it gets around the issue.
  "os": [
    "darwin",
    "linux"
  ],


Allow schedule to be an array (keys: m, h, dom, mon & dow)

@joonaskaskisola Thanks for the PR. I don't do much PHP these days. Is this a standard somewhere? I don't see much value in adding another scheduling format unless it's widely used. The crontab syntax is very powerful and should suffice for any scenario.

Not a standard, more of a nice to have feature and I'd say somewhat easier to manage in some cases. Great tool btw!

Hi @joonaskaskisola - please check out my new library that I wrote specifically for making management of Jobby schedules a bit nicer and more expressive :)
https://github.com/garethellis36/crontab-schedule-generator

I think @garethellis36 has a good alternative for this.


Error parsing syslog stream UDP

What's wrong?
I have updated to grafana-agent-flow-0.38.0-rc.0-1.amd64.deb in order to have syslog via UDP working. This was fixed in https://github.com/grafana/agent/issues/5197
For the moment we are sending syslog messages from PFSense, Mikrotik and Unifi devices.
From Mikrotik and Unify devices we get the message in journald:
msg="error parsing syslog stream" component=loki.source.syslog.syslog err="expecting a version value in the range 1-999 [col 4]"
From PFSense we get the message:
msg="error parsing syslog stream" component=loki.source.syslog.syslog err="expecting a version value in the range 1-999 [col 5]
Steps to reproduce
Install grafana-agent-flow-0.38.0-rc.0-1.amd64.deb on a Debian12 VM with the config below and send remote syslog messages to the agent via UDP.
System information
Debian 12.2 x86_64 Linux
Software version
Grafana Agent 0.38.0-rc.0
Configuration
loki.relabel "syslog" {
  forward_to = []

  rule {
    source_labels = ["__syslog_message_hostname"]
    target_label  = "host"
  }
}
loki.source.syslog "syslog" {
  listener {
    address  = "<IP_ADDRESS>:5514"
    protocol = "tcp"
    labels   = { component = "loki.source.syslog", protocol = "tcp"}
  }

  listener {
    address  = "<IP_ADDRESS>:5514"
    protocol = "udp"
    labels   = { component = "loki.source.syslog", protocol = "udp"}
    use_rfc5424_message = true
  }

  relabel_rules = loki.relabel.syslog.rules
  forward_to = [loki.write.local.receiver]
}

loki.write "local" {
    endpoint {
        url = "http://<IP_ADDRESS>:3100/loki/api/v1/push"
    }
    external_labels = {}
}

Logs
Nov 17 15:26:07 logserver grafana-agent-flow[1308]: ts=2023-11-17T13:26:07.294962163Z level=warn msg="error parsing syslog stream" component=loki.source.syslog.syslog err="expecting a version value in the range 1-999 [col 4]"
Nov 17 15:30:08 logserver grafana-agent-flow[1308]: ts=2023-11-17T13:30:08.800809677Z level=warn msg="error parsing syslog stream" component=loki.source.syslog.syslog err="expecting a version value in the range 1-999 [col 5]"

Any update on this?  I need to ingest a large amount of RFC3164 logs and Alloy just isn't capable of this.

@rarrr I've made a PR for Loki to support such things, see: https://github.com/grafana/loki/pull/12810

Great to see the progress here!
@catap are you planning to propagate your change to alloy?
It seems like it would boil down to upgrading https://github.com/grafana/alloy/blob/main/go.mod#L89?

@sushain97 I can put it into my todo list but I have no promises when. Frankly speaking changes inside alloy should be quite trivial. Just integration of new version and some options to enable.

@catap opened https://github.com/grafana/alloy/pull/1556 based on your changes!

@catap opened #1556 based on your changes!

You’re much faster than me!

I see this change doesn't squeeze into v1.4.3 . Will it be included in the next release ?

Hello, yes it will be part of v1.5 which is planned for the end of next week


Update input warning and error text

Update all warning and error messages that can occur from specifying options when starting Besu. This does NOT include adding color.
The general formatting should follow this template:
WARNING:  has been set to  but .
If applicable, explain more about what can be done on a second line.
ERROR:  -  can not be set to  because of .
Solution: If a potential remedy exists, it goes here.
UX will support and help work through exceptions as needed.
Open Questions:
I'm assuming these messages should also appear in logs, right?
Acceptance Criteria:

Errors and warnings follow the structure outlined in the CLI style guide

Closing since I think we already do this?


Made all pages responsive with navbar

Thank you for your contribution to Bloody-Buddy 🤩🤩

Please mention the following in order to get PR merged  🙌🏻🙌🏻

Kind of change this PR introduce :
Made all the pages responsive to all devices and also fixed/responsive navbar with toggle switch

Issue it resolves : #77

GitHub page link please @ZaidKhan2002

Made another PR


Bump 2i2c shared cluster home directory storage

We were at 99% full.
Ref https://github.com/2i2c-org/infrastructure/issues/2992

I applied this already because if the disk fills up all our hubs on shared cluster stop working.

I'm going to merge this so it doesn't get overwritten


Question on tables

More of a question than a bug. I wrote a few tables with markdown and am using Martin Thompson's I-D template to generate html previews. In the html previews the tables have a nice looking style. However when I generated the xml and uploaded to ietf the tables were just ascii tables even in their html version.
Is this a known thing, am I missing some attributes or something like that? Or are tables with styles not supported by the ietf versions?

Hi Jose,
basic markdown tables (PHP markdown extra style) are supported by kramdown.  kramdown-rfc2629 has a few limitations because RFCXML v2 does not support full generality in headers.
I think what you are describing is the current publishing process for RFCs, which centers around plain text.  RFCs can have a PDF complement, but usually don't.  So when we look at "HTML" for an RFC or I-D, that is generated from the plain text format!
But maybe I don't understand your question -- please provide an example.

This is how the table looks on my html preview, hosted here https://phtal-org.github.io/internet-draft-phtal/draft-montoya-phtal.html

and this is what the ietf version looks like

Which is not the end of the world. The tooling has definitely been of great help, it was just very confusing to see this result. May have to reconsider using tables in general.

Also things like bold emphasis didn't work out well

ietf html version

Yes, you are experiencing the limits of the plain-text-centric RFCXMLv2 process.  This will be replaced by the new v3 process soon, which centers around the XML and not the plain TXT.  But for now, what you are seeing is exactly what you should see.

Understood! Thanks for the clarification, and for the tool itself.

If you upload the XML with the TXT, you can use Firefox (or, with limitations, one of the Webkit browsers) to look at the XML.  As in https://tools.ietf.org/id/draft-pusateri-dnssd-update-proxy-00.xml

Oh that is nicer, thanks! Do you have any links about RFCXMLv3? I'd like to know if it's in the near future or not.

Oh, you did!  https://tools.ietf.org/id/draft-montoya-phtal-00.xml
RFCXMLv3 is defined in RFC7991. There is a whole slew of RFCs around that.

Yeah I suppose I should drive the draft by the text versions instead of the HTML preview, at least for now. Also will have to read up on this new format and what that means for me.