[Function Overload] COD 260 "Document-Mailing" : overload for SourceReference to SourceTables / SourceIDs

@JesperSchulz
The BC 18.1 base app contains new EmailFile procedures including SourceReference, to add a Source Document link to the email item (for mails to allow the 'Show Source' to work properly). The current SourceReference supports multiple source documents, since the recordref is looped.
procedure EmailFile(AttachmentStream: Instream; AttachmentName: Text; HtmlBodyFilePath: Text; EmailSubject: Text; ToEmailAddress: Text; HideDialog: Boolean; EmailScenario: Enum "Email Scenario"; SourceReference: RecordRef): Boolean
    var
        TempEmailItem: Record "Email Item" temporary;
    begin
        repeat
            TempEmailItem.AddSourceDocument(SourceReference.Number(), SourceReference.Field(SourceReference.SystemIdNo()).Value());
        until SourceReference.Next() = 0;

However, we'd like to provide the option to add multiple source documents, originating from different tables. With recordref, I don't see how this can be achieved. However, the SourceTables / SourceIDs approach would provide a solution.
procedure EmailFile(AttachmentStream: Instream; AttachmentName: Text; HtmlBodyFilePath: Text; EmailSubject: Text; ToEmailAddress: Text; HideDialog: Boolean; EmailScenario: Enum "Email Scenario"; SourceTables: List of [Integer]; SourceIDs: List of [Guid]): Boolean
    var
        TempEmailItem: Record "Email Item" temporary;
    begin
        TempEmailItem.SetSourceDocuments(SourceTables, SourceIDs); // Already supported in standard BC

Can you provide EmailFile overloads for all procedures using SourceReference in codeunit 260 "Document-Mailing" and provide support for passing multi-table source documents via new SourceTables / SourceIDs arguments?

Would you consider creating a pull request with the required API (more details on aka.ms/ChangeALModule)?

Sounds like something we could look into :-)

@fvet Thank you for your input. We're currently in the process of extending our use of source documents, which will include the ability to add multiple source documents from different tables. Stay tuned :)


firebase transport

Is it possible to use firebase as a transport?

anything can be used as transport - see for example: https://github.com/rjrodger/seneca-redis-transport
what is your use-case?

Closing for now, @yieme please reopen if there is still an outstanding question


ML 6.4: Perceptron (D)

Description
📌  Issues for Week 6
Welcome to 'ML' Team, good to see you here
:arrow_forward: This issue will helps readers in acquiring all the knowledge that one needs to know about ----
Perceptron.
:red_circle: To get assigned to this issue, add your Batch Numbers mentioned in the spreadsheet of "Machine Learning", the approach one would follow and choice you prefer (Documentation, Audio, Video). You can go with all three or any number of options you're interested to work on.
✔ Domain : Machine Learning
:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.

"Issue Title" and "PR Title should be the same. Include issue number along with it.

Changes should be made inside the Machine Learning/Machine_Learning/Dimensionality_Reduction_&_Neural_Networks Branch.

Follow Contributing Guidelines & Code of Conduct before start Contributing.

This issue is only for 'GWOC' contributors of 'Machine Learning' domain.

:white_check_mark: To be Mentioned while taking the issue :

Full name
Batch Number
GitHub Profile Link
Which type of Contribution you want to make :

[ ] Documentation

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎
Domain
Machine Learning
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

@jannatulferdaws  ?

Hey @jannatulferdaws  what's the update?

If this issue is still open, I would like to contribute to this issue. @abhisheks008
Name: Riya Srisailam Sailesh
Batch: 4
Profile link: https://github.com/riyasai22
Contribution type: documentation

@jannatulferdaws if you will not create the PR by tonight, this issue will be assigned to @riyasai22 .

@riyasai22 are you ready to take up this issue?

@abhisheks008 yes....i'll would like to take it up please.

Issue assigned to you @riyasai22


Update README.md

Some text Improvement.....

@Hsm7085
Thanks for contributing to the repo. We can surely improve as per your suggestions. But as per the HacktoberFest guideline, we will not be accepting minor text fixes as a PR. Please suggest and improve some quantifiable changes in the pull request to make your PR eligible for HacktoberFest and get free swag from Loginradius.


Bigtable support is no longer experimental.

If you'd like me to add a description of how time series are stored in Bigtable, or add a paragraph describing Bigtable (similarly as to how it's done for Cassandra), please let me know or propose text I should add.
Thanks.

Thanks, a description for Bigtable would be very useful.


[kickstart] Do not enable S3 deep sleep

This causes problems on devices that do not support it. It is also being phased out and not available on the latest hardware.

We have had reports both internally and from our Alpha 1 testers that sleep is broken on a lot of devices. When I first enabled this, I tested on my LCD Steam Deck (which does support it) and my laptop (which did not support it) and did not have issues. Now that I have more devices to test with, I have verified that some devices that do not support S3 deep sleep but have it enabled would basically freeze and crash when they went to sleep. Without S3 deep sleep, they now go to sleep as expected. AYANEO devices, for example, are affected by this.
The one downside is that devices that support this feature, such as the Steam Deck, will not have this enabled. Perhaps we could eventually add a script to enable it on specific devices? Or at least add documentation to our README.md explaining how to enable it?
Either way, short-term, we definitely need to disable this. AMD recommended against enabling S3 deep sleep for all devices, too, especially since all new devices coming out will recently no longer support this feature.


power-calibrate: init at 0.01.28

Motivation for this change
Tool to "calibrate" power consumption.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

(updated to quote homepage URL)


introduce a new new Input: FileInput

FileInput avoids the intermediate String parsing of PlainInput
FileOuput has the same signature of FileInput, but does not avoid the "intermediate String" (yet?)

TODO:

[ ] a better FileOuput, but jawn is only a parser, not a serializer...
[ ] bin compat? can we break it?
[ ] deprecate PlainInput?

tests are failing on windows... any help with those?

https://github.com/sbt/sbt/blob/develop/sbt/src/sbt-test/actions/previous/build.sbt
[info] Running actions/previous
[info] [error] java.lang.AssertionError: assertion failed: Expected 'a' to be 1, got 8
[info] [error] 	at scala.Predef$.assert(Predef.scala:223)
[info] [error] 	at $5e6b47047a4c8d8f03cb$.$anonfun$$sbtdef$3(C:\Users\appveyor\AppData\Local\Temp\1\sbt_19336570\build.sbt:30)
[info] [error] 	at $5e6b47047a4c8d8f03cb$.$anonfun$$sbtdef$3$adapted(C:\Users\appveyor\AppData\Local\Temp\1\sbt_19336570\build.sbt:26)
[info] [error] 	at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[info] [error] 	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[info] [error] 	at sbt.std.Transform$$anon$4.work(Transform.scala:67)
[info] [error] 	at sbt.Execute.$anonfun$submit$2(Execute.scala:282)
[info] [error] 	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
[info] [error] 	at sbt.Execute.work(Execute.scala:291)
[info] [error] 	at sbt.Execute.$anonfun$submit$1(Execute.scala:282)
[info] [error] 	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:184)
[info] [error] 	at sbt.CompletionService$$anon$2.call(CompletionService.scala:41)
[info] [error] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[info] [error] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[info] [error] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[info] [error] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[info] [error] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[info] [error] 	at java.lang.Thread.run(Thread.java:748)
[info] [error] (checkNext) java.lang.AssertionError: assertion failed: Expected 'a' to be 1, got 8
[error] x actions/previous
[error]  Cause of test exception: {line 6}  Command failed: checkNext failed

so for some reason clean didn't have the effect of clearing out the previous value?

fixed the windows error which was caused by https://github.com/typelevel/jawn/issues/109, however now the build fails in 2.13 because in 2.13 we use jawn 1.0...

finally tests are green

Hi @eed3si9n
I rebased this PR against 1.4.4 and compare these changes against it with https://github.com/jtjeferreira/sbt-multi-module-sample
I see some improvements in FileInput vs PlainInput (872 vs 1052 samples in the flamegraph), but no improvements in FileOutput vs PlainOutput (both around 240 samples in the flamegraph).
WDYT? should we merge? should we close? should we benchmark differently?

the flamegraphs can be found in this commit https://github.com/jtjeferreira/sbt-multi-module-sample/commit/c6a288f46978f220bc102e12e7b0c0e5b21a3f03

I see some improvements in FileInput vs PlainInput (872 vs 1052 samples in the flamegraph), but no improvements in FileOutput vs PlainOutput (both around 240 samples in the flamegraph).

Thanks for the candid assessment. As a general idea streaming bytes directly into files sounds like a good idea. What do you think about merging this to develop, targeting for sbt 1.5.0? (Planned to be out early 2021, as opposed to the normal year-long wait)

I see some improvements in FileInput vs PlainInput (872 vs 1052 samples in the flamegraph), but no improvements in FileOutput vs PlainOutput (both around 240 samples in the flamegraph).

Thanks for the candid assessment. As a general idea streaming bytes directly into files sounds like a good idea. What do you think about merging this to develop, targeting for sbt 1.5.0? (Planned to be out early 2021, as opposed to the normal year-long wait)
If that's ok, could you squash the commits plz?

looks good to me. the commits were squashed.


review prototype

A placeholder PR to review the current extension prototype of colcon-cache.
You can basically use the lock subverb to cache the current state of the packages in the workspace into lockfiles; either with dirhash, git, etc, depending upon what revision control system is detected using package augmentation extensions. Then when using build or test verbs, event handlers will update cache lock files for successful packages. The lock files also track dependency changes by default, making it simple to ensure upstream changes break downstream package caches. The package selection extensions enable users to filter packages by how the package source has changed, or if the current verb's cache for selected packages remain valid. See the Readme for example usage.
Preliminary feedback on extension architecture or suggestions for unit/system testing are welcome.

FYI I'll be doing a show an tell about this during tomorrow's Tooling Working Group meeting.
Context: https://github.com/colcon/colcon-package-selection/issues/25
CC'ing colcon contributors and perhaps interested parties in case you'd like to drop by:
@dirk-thomas @rotu @tfoote @cottsay @jacobperron @sloretz @mikaelarguedas @mikepurvis @emersonknapp @tylerjw

BTW, @SteveMacenski @nuclearsandwich, this is the extension I was envisioning to be able to cache entire colcon workspaces across CI runs, so CI Jobs could intelligently build and test only the packages that have changed from the target PR and/or previous run/commit.

@ruffsl I'm interested. Please invite me to the meeting.

@ruffsl I'm interested. Please invite me to the meeting.

@mikepurvis , Calendar invites for ROS working groups should be publicly accessable from the ROS events calendar:
https://docs.ros.org/en/rolling/Governance.html#upcoming-ros-events
The agenda for the Tooling WG is also viewable here:
https://docs.google.com/document/d/1UXWaEkT6ji0Z0uTtJJSni5Y6fiopM9qOOzv4ldeNaAM/edit?usp=drivesdk

Thanks for the ping. I'll do my best to join the show&tell tomorrow.


Django 1.10 compatibility for admin.py

Parameters for render() have changed (deprecated in 1.8, removed in 1.10):

dictionary was renamed to context
current_app was removed, instead request.current_app should be set.

I have not tested with older releases yet, but according to the docs, it should work down to 1.8 when the changes were introduced.

Hello @flesser, thanks for your work on this. Unfortunately we maintain backward compatibility with older versions of Django, so we cannot merge your changes the way they are now.
If you like, you can build off of some work I did  while back:
https://github.com/treyhunner/django-simple-history/compare/django110
Latest test run: https://travis-ci.org/treyhunner/django-simple-history/builds/149779056
I had the tests passing with 1.8 through 1.10. I think I was considering dropping support for 1.6 and 1.7, because the differences in how options in Django commands are defined become a bit of a pain.

Actually it should work on the django 1.7 version (the oldest version supported by django right now)
I just had a quick read on that but related to that, if you don't set it, it's gonna take the default one, it's what we want right?
https://docs.djangoproject.com/en/1.7/topics/http/urls/#topics-http-reversing-url-namespaces

Resolved in #259, including backward compatibility with 1.6 and adjusted tests.


Question & Suggestion

Hi, @mihar-22
I'm review your code and I can't understand why you do this:
do {
    for (const task of queue) {
        task();
        served.add(task);
        queue.delete(task);
    }
} while (queue.size > 0);

served.clear();

instead of this:
for (const task of queue) {
        task();
}

queue = new Set();

In depended code you use served.has(...), but you can use queue.has(...) instead in my suggestion.
Looks the same but "for of" without .add and .delete much faster.
Do I miss something important?

Hey @oleggrishechkin that area needs a rewrite. I'm trying to ensure:

Additional tasks added during a flush are not lost (currently I believe they are)
Prevent infinite loop

We satisfy 2 right now but I don't believe we have solved 1.

You're right that in the current code we can just delete everything and just use the queue set. I'm not sure if we can ensure constraint 1. mentioned above with a single set though.

What problem with 1?
"for of" will run for all Set items even the new added items while "for of" running.

Ah don't worry I was thinking about something related to the Maverick Observables library but it might be fine. I was worried that the same task with same reference (unique function) won't be included in the set and run (because it's already in the set). I realized it doesn't matter, my bad.
I'll clean up the implementation some time tomorrow. Thanks @oleggrishechkin!


Add face restore / colorize

I found these options to be very useful for my creative applications when restoring old photos.

The ability to do Image to Image.
An option for upscaling x2, x4, auto or not.
A face restore option.
An option to colorize photos would be handy too.

Image to image is done.

Upscaling is also in. (modulo some bugs we can open new issues for). Will rename this to face restore

while it is nice to have the upscaler as separate tab, it should eventually be merged into something like post-processing and hold all the options for that.
Also, regarding face restoration: this needs to have a checkmark in at least txt2img so it can be run automatically after each generation.

ah good point on the checkbox. What are the latest models for Face restoration ?

GFPGAN 1.3/1.4 and CodeFormer is still SOTA afaik. I'm not that into that topic, though.
But I know those work well.

codeformer

https://xinntao.github.io/projects/gfpgan

IMO they work best when used together.
I usually use only gfpgan, but give it another pass in codeformer when the output is too model like

found another interesting one:
DifFace

When do the face restoration will be availlable ?


Some experiment results take too long to retrieve, resulting in timeouts

Such experiments seem to store a large amount of data in each DB row.
Either limit the storage, make the retrieval more efficient, or increase the default timeout.

We can optimize DB queries by using preloading, e.g. in the function retrieve_all/0.
We can also use parallelization with libraries such as Flow.

Especially prominent is the issue on Heroku


:memo: Tiny fix for classic container example

Just swapped the syntax to actually be classic.

:+1: thanks


Support for projects in multiple different solutions.

It would be great if it was possible to, instead of adding a project the the solution, to just tell it to use a specific dll file instead of the nuget package, no matter where the dll file is located.

+1 for that. It would be great!


Really release 0.8

Got to many changes included in the previous PR (#545 ) so I merged that beforehand.

bors r+

Running cargo publish tomorrow morning on after this has merged


micro fix: bookmarks buttons

I have several bookmarks, the plugin shows only the first N of them, without any dropdown menu or link to the rest.
It would be great if it has dropdown menu for the rest.
(Can't attach a screenshot, because of https://github.com/edgafner/GIdeaBrowser/issues/87)

Yes please open a new issue  for this


Support of pip 18.1

Added shims for the move of InstallRequirement.from_line andInstallRequirement.from_editable to
constructors.install_req_from_line and constructors.install_req_from_editable.
Fixes #688
Changelog-friendly one-liner: Added support of pip 18.1.
Contributor checklist

[x] Provided the tests for the changes
[x] Requested (or received) a review from another contributor
[x] Gave a clear one-line description in the PR (that the maintainers can add to CHANGELOG.md afterwards).

PLEASE merge it!


Web-App Crashes when jumping to time

I am trying to run the simulation for the Leeds Map in the browser.
When I Jump to specific time, say 09:00 AM from the start of the simulation at 12:00 AM, the app crashes and goes non-responsive.
I get the following error message:
panicked at 'assertion failed: (left == right)
left: 6,
right: 5', map_model/src/pathfind/V2.rs:358:5

http://play.abstreet.org/0.3.32/abstreet.html?system/gb/leeds/scenarios/huge/background.bin
Here is the link. It's the Leeds entire area map

PathRequest(0.05m along Lane #542977... to 49.4204m along Lane #244420 for Car)
Hmm, the destination is an inbound border, this path should fail anyway


How to remove arrow from leaf node?

You shouldn't have an arrow if you set is-branch correctly on your tt-node element.
E.g <tr tt-node is-branch="node.type == 'folder'">
See https://github.com/GarrettHeel/angular-treetable/blob/master/example/example.html

Thanks for reply. It is working fine.


Nuxt3 gets confused between the CJS and EMS version of dependencies

To reproduce:

use this stackblitz project
remove build: { transpile: ['xstate'] } from nuxt.config.ts

Some reading: https://v3.nuxtjs.org/guide/going-further/esm
@szilarddoro I'm curious to get your opinion once you'll be back

I don't think that this is something that we can fix on our end. Although we should consider supporting native ESM in the future by creating .mjs files for our ESM builds, there is not much we can do about our direct dependencies other than reporting the relevant issues in their repositories.

This issue is no longer reproducible with<EMAIL_ADDRESS>Can you confirm @plmercereau?


Dockerfile ARG replacement doesnt remove quotes from strings

If you build a Dockerfile in your devcontainer.json that includes the following code:
ARG VARIANT="3.10"
FROM mcr.microsoft.com/devcontainers/python:0-${VARIANT}

or something similar where a string is used with quotes then you get the following error:
error: compile devcontainer.json: parse image from dockerfile: parse image ref "mcr.microsoft.com/devcontainers/python:0-${VARIANT}\r": could not parse reference: mcr.microsoft.com/devcontainers/python:0-"3.10"

Will fix!


Add graphics to rotate page

Redesigned the rotate page. Added a complete input form contained within a fragment.

Looks awesome!
I am seeing some bugs though
If you select a PDF, rotate it and save and select another the rotation goes out of allignment
Also can you fix the sizing so that it shows full horizontal images? instead i am getting

(Black is example content, it shows white on the bottom where there is no doc and cuts out rest of page on right)

This looks awesome though thanks!

@Frooodle I have fixed that bug and a and one other bug that I came across. I also fixed the merge conflicts.

Hi Sf298,
We are updating Stirling-PDF's license to MPL 2.0 (Mozilla Public License Version 2.0) to continue fostering our open-source commitment while introducing more flexible usage of the project.
What We Need From You:
In order to transition to the MPL 2.0 license, we need the explicit consent of all our contributors.

If you're comfortable relicensing your contributions for this specific PR under MPL 2.0, please respond with:
I, Sf298, grant permission to relicense my contributions from this PR to Stirling-PDF under the Mozilla Public License 2.0.
If you'd prefer to give blanket permission for all of your contributions to Stirling-PDF (be it through pull requests, commits, or any other form of contribution) rather than on a PR-by-PR basis, please respond with:
I, Sf298, grant permission to relicense all my contributions to Stirling-PDF under the Mozilla Public License 2.0.

What does this do and why?
As your old code was contributed under a different license it legally cannot move to a new license without your permission, and since we dont want to lose your code we wanted to reach out. Remember this project is remaining open-source!.
Deadline:
If we dont receive a response, or if you decline, unfortunately, we will have to remove your contributions from Stirling-PDF before the license change, which is scheduled  in coming months.
Thank You!
Your contributions are invaluable, and we hope to continue having them in Stirling-PDF under the new license. Feel free to ask if you have any questions or concerns about this change.
Best,
Frooodle
Stirling-PDF Maintainer


Changed name of podman-compose.yaml to compose.yaml

I propose changing the name of the podman-compose.yaml file to just compose.yaml, which ensures compatibility with both podman and docker. I tested it and it works out-of-the-box with both podman (v1.13.3) and docker on Windows.
I also propose replacing the podman-compose command with podman compose, as this seems to be the way to go according to the current podman documentation. Also, podman-compose did not work out of the box for me, whereas podman compose did work.
Finally, I propose adding the docker compose up command to the readme, to make it easier for non-podman users to get started.

I am open to other suggestions and/or feedback!

lgtm; thanks for the pointers about podman-compose <-> podman compose, seems as if RedHat is going through the same evolution as Docker Inc. did :D.
Thanks!


Block launcher not working

On my Droid Maxx 2, I try to open block launcher but when it does, it crashes and can't continue. On the past versions it worked fine but now it is not working...

If you updated to 0.15:
It has not been updated for 0.15. It takes time to re-hook into all the functions. It was stated on Twitter that the author is going to TRY to get it ported for 0.15 by the end of last week. Apparently it is taking longer.  Please close this issue as it is wasting the author's time. Instead of porting the program he is spending his time closing issue like this which are just fodder. Porting the program is going to happen, so again, please close this so you do not waste the author's time.


Fixes issue with Grafana not showing Components Metrics v2 dashboard

This should solve the problem occurred in issue #221 .
Added 'v2' to title and uid of the Components Metrics v2 dashboard.
Afterwards Grafana was able to load it.

Thanks @benjaminguttmann-avtq


Smart Card Log in issues with Win10

My Setup

Operating System: Windows 10
App Version: 3.2.x
Installation type: exe, msi

[x] I have tested with the latest version
[x] I can simulate the issue easily

Description

Version 3.2.x of the Windows Rocket.Chat client smart card functionality is not working. User is never prompted for PIN.
I have tested 3.2.1 and 3.2.2
Current Behavior

Click Login > select certificate... no prompt for PIN
Expected Behavior

Click Login > select certificate > prompt for PIN > enter PIN

Just tested v3.2.3 - Issue still on-going.

I've also encountered this, and I worked around it by adjusting the runtime properties of all but one certificate to disable the "Client Authentication" and/or "Smart Card Logon" properties from each cert's EKU.
Related to pull request #1511 possibly.

Possibly related to #2095 as well

Thanks @ajkerzner, is that done server or client side?

Thanks @ajkerzner, is that done server or client side?

It's done client-side. If you have a smartcard, you'd go into Control Panel for "Manage User certificates," then go to the Personal\Certificates folder. From there, you would want to look at the certificates with an "Intended Purpose" including "Smart Card Logon" and/or "Client Authentication" (I can't remember which is the critical one... maybe both are).
For all except the one you want to use for authentication: open each certificate, go to the "Details" tab, and click "Edit Properties". From "Certificate Properties", you just want to uncheck those two aforementioned purposes.
To most applications, only certificates with one/both of those purposes are considered. If RocketChat desktop client only sees one certificate that can be used, it won't prompt you to choose. (I've only seen this bug when you have to choose the certificate, so all of this is meant to bypass that certificate choice by limiting RocketChat desktop client to a single certificate choice.)
For certificates linked to a removable smartcard or other removable hardware device, the changes are temporary (I don't know if certs on a nonremovable media are the same) and lost when smartcard is disconnected/reconnected.

Please test if the lastest release (3.7.0) has solved this issue.

Hi, this still appears to be an issue with 3.7.0. Thank you.

Hello! We had fixed some issues that was happening in Windows that involved the integration with Electron.
Could you test our last release again? If the problem persists, could you help us on how to reproduce the problem locally? Then I can work in the issue more efficiently.
Thanks in advance!

Hi @jeanfbrito, I just tested the 3.7.5 MSI on two Windows 10 systems (one build 1909 and the other 20H2) with the same result.
To reproduce this issue, you will need a smart card or a least a soft certificate and a chat server that is configured to accept it.
After I add our chat server to the client, I click the "Sign in" (Cas) button which presents me with a "Select certificate" dialogue. Up until this point, everything is normal- all of the expected certificates are available here for selection. After choosing my certificate, the expected behavior is for another dialogue to appear to prompt me for the PIN associated with the certificate's private key. The PIN prompt never appears, so authentication goes nowhere.
I have two chat servers to test with and both behave similarly.
We use a smart-card driver/middleware called ActivClient by HID Global (version 7.2.1). I have tested Rocket.Chat with and without this software installed so I don't think it's a factor with this issue. I wanted to mention it because when ActivClient is installed, the expected PIN prompt comes from the ActivClient software. On a system without ActivClient, Windows 10 handles the PIN prompt natively.
I should also point out that the logon process works as expected when accessing these servers via Chrome/Edge from the same client computer.
Please let me know if there is anything else I can do to assist you. Until this is fixed, my organization is stuck with using the web apps!
Thank you

Hi @jeanfbrito, I just tested the 3.7.5 MSI on two Windows 10 systems (one build 1909 and the other 20H2) with the same result.
To reproduce this issue, you will need a smart card or a least a soft certificate and a chat server that is configured to accept it.
After I add our chat server to the client, I click the "Sign in" (Cas) button which presents me with a "Select certificate" dialogue. Up until this point, everything is normal- all of the expected certificates are available here for selection. After choosing my certificate, the expected behavior is for another dialogue to appear to prompt me for the PIN associated with the certificate's private key. The PIN prompt never appears, so authentication goes nowhere.
I have two chat servers to test with and both behave similarly.
We use a smart-card driver/middleware called ActivClient by HID Global (version 7.2.1). I have tested Rocket.Chat with and without this software installed so I don't think it's a factor with this issue. I wanted to mention it because when ActivClient is installed, the expected PIN prompt comes from the ActivClient software. On a system without ActivClient, Windows 10 handles the PIN prompt natively.
I should also point out that the logon process works as expected when accessing these servers via Chrome/Edge from the same client computer.
Please let me know if there is anything else I can do to assist you. Until this is fixed, my organization is stuck with using the web apps!
Thank you

@sagansapien I spend some days researching about this to see if I can found any solution, but without success.
Would be possible to have access to one machine that has this installed so I can debug where is the problem?
I dont have any smartcard that could be used to simulate the workflow.
If you could reach me in open.rocket.chat my user is jean.brito. There we could talk about and try to found a solution.

@sagansapien please, I need more information about your server. What kind of authentication are you using? Is SAML?
I will need to know what are the configurations to reproduce the server here in local.

@jeanfbrito apologies for the delay. I don't manage the servers, not sure if it's SAML or not. I know one is a KeyCloak server that authenticates against Active Directory.

@jeanfbrito apologies for the delay. I don't manage the servers, not sure if it's SAML or not. I know one is a KeyCloak server that authenticates against Active Directory.

Could you find info about the server configuration with the manager? I would need to know what configurations are being used to reproduce the server locally.

@sagansapien we fixed a problem on the selection of certificates on the version 3.8.6. Please test if the behavior of the smartcard has changed.


Clarify variable hierarchy in README.md

Reason for Change

The load hierarchy and what overrides what is confusing!

Changes

Add a table to help minimize confusion.

@adarsh thank you for the contribution.


Resizing doesn't change render area on mobile

On mobile, a full-page game does not render correctly after changing the orientation of the phone.
I tested this in Chrome for Android, and Chrome for PC using the "mobile" inspector (device toolbar enabled).
Code/How to reproduce:
https://codepen.io/TicknorN/full/BxvBWW
Visit that page (full page mode) in mobile or in Chrome Mobile Inspector in portrait mode (use a set resolution and not "responsive mode"), then refresh the page. If you switch to landscape mode on either, the render area does not correctly resize, even when Chrome is switched back to normal PC view.
This issue is experienced via both the WebGL & Canvas render methods.

Looking at your code I can't see anywhere where the camera bounds are updated after the resize (see this example for one way to do it): http://labs.phaser.io/view.html?src=src\game%20config\game%20resize.js

Oh you're right; that fixed it.
I'm sorry; I thought I had already looked through the camera documentation and ruled it out.
Any idea why this only happens on mobile?

It'd happen on desktop too, but maybe you don't notice it because the initial camera bounds were large enough that after resizing they're still displaying anything. I.e. if you load with a really tiny browser window, then resize it bigger, I would expect it to still appear cut-off (without the camera bounds fix obviously) even on desktop.


Bigint backend contd: Move conversion to TS

Auxiliary PR to run CI for https://github.com/o1-labs/o1js-bindings/pull/139 and its successors
Every commit bumps the submodule by one bindings PR, so we're checking that each bindings PR passes CI

this was just for running CI, closing


No distinction between different versions of taxonomy when creating an annotation job

Issue came from UAT
Preconditions:

At least one category with attribute of type “taxonomy” exists.
At least two versions of the taxonomy exist

Steps to reproduce:

Start creating a new annotation job.
Select some documents for labeling. Go to the next page.
Enable the category with associated taxonomy for labeling. A new widget appears for taxonomy selection.
Try to select a taxonomy for the category.
There are as many choices for it as versions with no possibility of distinguishing between versions.
Select any of them and reopen the widget.

Result:
All choices are marked as selected.

An error is displayed after choosing the taxonomy version.
https://user-images.githubusercontent.com/98399603/217794281-58e6f2bc-9c95-4216-9ea5-39fe78579eea.mp4


MacOS is not supported by Flutter Blue

With Flutter 1.12 adding macos target as beta, it would be great to have macos support in flutter blue.

I tried this quickly and this is actually easy to add.
The whole iOS code can be reused to run on macOS
Instructions:

Copy/paste the ios folder in a macos folder
In FlutterBluePlugin, change the import <Flutter/Flutter.h> to <FlutterMacOS/FlutterMacOS.h>
Change the flutter section in the pubspec.yaml  to:

flutter:
  plugin:
    platforms:
      android:
        package: com.pauldemarco.flutterblue
        pluginClass: FlutterBluePlugin
      ios:
        pluginClass: FlutterBluePlugin
      macos:
        pluginClass: FlutterBluePlugin

In the target application project, open the macos folder in XCode and in Runner > Signing & Capabilities > App Sandbox > check Bluetooth.

can we please have this as a PR?

Since macOS will be able to run iOS apps coming this Fall I'm not sure if it's actually needed anymore...

So if you have this problem, first of all, turn on the swtich under Developer Mode on windows 10 system version


Where to store Secrets

Where to store secrets like mongoUri, server API, Google API keys? What is the best practice for create-react-native-app?

Hi! That's a very good question, and unfortunately it's not something that CRNA can help very much with. You shouldn't ever store secrets in a client that is running on a user's device, unless you're OK with the user having access to those secrets. Here's an excerpt from some excellent docs at Facebook on the subject (they are specifically talking about FB App Secrets, but this applies to any secret that you don't want your users to have):

... the App Secret or an App Access token should never be included in any code that could be accessed by anyone other than a developer of the app. This applies to all methods of code that are not secured like client-side code (such as HTML or Javascript) or native apps (such as iOS, Android or Windows desktop apps) that could be decompiled.

...

We recommend that App Access Tokens should only be used directly from your app's servers in order to provide the best security.


multi dimensional array(geoJSON) in response gets parsed as generic object and toString() of that object is returned in the response

Summary
multi dimensional array gets parsed as generic object and toString() of that object is returned in the response:
I have a multi dimensional array containing geoJson data of a house. No matter what I do in my response this array is getting parsed as a generic object and a string is getting returned (returned by toString method of that object) in the response:
Description
The structure of data in the query response:
{
 .....
 .....
 .....
 .....
"boundary": {
            "type": "Polygon",
            "coordinates": [
              [
                [
                  -122.213648094587,
                  38.4062644361016
                ],
                [
                  -122.213614681217,
                  38.406252301868
                ],
                [
                  -122.213584424141,
                  38.4062358195175
                ],
                [
                  -122.21355822815201,
                  38.40621548193219
                ]
              ]
            ]
}
}

But when I'm debugging the data returned, this array is coming in this form:boundary=com.apollographql.apollo.response.CustomTypeValue$GraphQLString@3e60401
the property boundary is described in schema as:
          {
            "name": "boundary",
            "description": "",
            "type": {
              "kind": "SCALAR",
              "name": "GeoJSON",
              "ofType": null
            },
            "defaultValue": null
          }

Version
1.0.0-alpha5

1.0.0-alpha5

You should probably try the latest version.
Also you have to setup custom scalar type mapping. If you want your GeoJSON  to be mapped into some data structure please follow the guides how to setup custom scalar type mapping.

Hi Sav007 I tried mapping it to an array but that was causing parse error, as of now I'm converting the whole data to string.


Uncaught Error: ENOENT, open 'D:\My\testapp\test\test.html'

[Enter steps to reproduce below:]

...
...

Atom Version: 0.188.0
System: Microsoft Windows 7 Enterprise
Thrown From: Atom Core
Stack Trace
Uncaught Error: ENOENT, open 'D:\My\testapp\test\test.html'
At events.js:94

Error: ENOENT, open 'D:\My\testapp\test\test.html'
  at Error (native)

Commands
     -1:12.6 snippets:next-tab-stop (atom-text-editor.editor)
     -1:12.6 snippets:expand (atom-text-editor.editor)
     -1:12.6 editor:indent (atom-text-editor.editor)
     -1:12.4 core:backspace (atom-text-editor.editor)
     -1:12.2 snippets:next-tab-stop (atom-text-editor.editor)
     -1:12.2 snippets:expand (atom-text-editor.editor)
     -1:12.2 editor:indent (atom-text-editor.editor)
 14x -1:11.8 core:backspace (atom-text-editor.editor)
     -1:05.3 advanced-new-file:toggle (atom-text-editor.editor)
  7x -1:02.7 core:backspace (atom-text-editor.editor.mini)
     -0:49.2 core:move-down (atom-text-editor.editor.mini)
     -0:42.8 advanced-new-file:toggle (atom-text-editor.editor)
     -0:40.1 core:confirm (atom-text-editor.editor.mini)
     -0:31.6 application:new-file (ul.list-inline.tab-bar.inset-panel)
  2x -0:25.7 advanced-new-file:toggle (atom-text-editor.editor)
     -0:06.6 core:confirm (atom-text-editor.editor.mini)

Config
{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ],
    "disabledPackages": [
      "tortoise-svn",
      "filetype-color",
      "fancy-new-file"
    ]
  },
  "editor": {
    "invisibles": {},
    "fontSize": 14
  }
}

Installed Packages
# User
advanced-new-file, v0.3.3
atom-color-highlight, v3.0.8
atom-ternjs, v0.5.8
autocomplete-plus, v2.7.0
color-picker, v1.5.0
editorconfig, v0.3.3
emmet, v2.3.4
file-icons, v1.5.2
hex, v0.5.0
linter, v0.12.0
minimap, v4.6.0
react, v0.10.1
set-syntax, v0.2.1
sync-settings, v0.2.2
web-browser, v1.4.2

# Dev
No dev packages

Hi @Epanum, could you please share some steps to reproduce this error?  What were you doing when it happened?


Update TT with lower depth if bound is better.

Because http://chess.grantnet.us/test/30475/ failed, there is some indication that overwriting higher depth entries with lower depth ones is useful if the lower depth ones have a better bound quality.
Extend this idea to fail high vs fail low entries, where we may add a best move.
ELO   | 5.92 +- 4.54 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=64MB
LLR   | 2.95 (-2.94, 2.94) [0.00, 5.00]
GAMES | N: 12848 W: 3779 L: 3560 D: 5509

Thanks.


random crash when using this query "return isar.logs.where().anyDate().sortByDateDesc().findAll();"

Steps to Reproduce
i am not 100% sure but you can try to make a collection and query it with this line "return isar.logs.where().anyDate().sortByDateDesc().findAll();"  , it will have a date field mine has an imbedded list of objects also.
Code sample
Future<List<Log>> getAllLogs() {

    try {
      return isar.logs.where().anyDate().sortByDateDesc().findAll();
    } on Exception catch (e, s) {
      // TODO0
      print(e);
      print(s);
      return Future.value([]);
    }
  }

when i export my collection data to json and reimport it back the issue will go away , and if i remove the .anyDate() the issue also go away .
Details

Platform: android 9 , android 11 , windows native .
Flutter version:Flutter 3.16.8 • channel stable
Isar version: 3.1.0+1

[yes ] I searched for similar issues already
[ yes] I filled the details section with the exact device model and version
[x ] I am able to provide a reproducible example

You don't need to use both anyDate&sortByDate, because the date is a index,  when you call anyDate , the result are automatically sorted.

ok thanks


SPARKC-95: Java API cleanup

Thanks for porting in the remaining Scala apis into Java!
A few things need to be tweaked,
JavaApiDemo Code/Visitability
A few things should be looked into but are not critical
Style - Params/ Indentation and New lines
But I'm really happy that we can keep the standard api almost identical for end users

@RussellSpitzer i applied changes.
For the problem that you do not see the demo app when compiling with Scala 2.10 - I don't know - could you retest? I tried show discoveredMainClasses and it this demo app was listed there.

Overall looks much better than it was before
+1

Retested
commit<PHONE_NUMBER>c7ca345e4a342aa3e061b3b7b1b6f9
Author: Jacek Lewandowski<EMAIL_ADDRESS>Date:   Wed Mar 25 15:40:24 2015 +0100

SPARKC-95: Addressed reviewer comments

8:39:30 ➜  ~/repos/spark-cassandra-connector git:(SPARKC-95) ✗ ./sbt/sbt simple-demos/run
Launching sbt from sbt/sbt-launch-0.13.8.jar
[info] Loading project definition from /Users/russellspitzer/repos/spark-cassandra-connector/project
Scala: 2.10.4 [To build against Scala 2.11 use '-Dscala-2.11=true']
Scala Binary: 2.10
Java: target=1.7 user=1.7.0_60
[info] Set current project to root (in build file:/Users/russellspitzer/repos/spark-cassandra-connector/)
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
Multiple main classes detected, select one to run:
[1] com.datastax.spark.connector.demo.AkkaStreamingDemo
[2] com.datastax.spark.connector.demo.BasicReadWriteDemo
[3] com.datastax.spark.connector.demo.SQLDemo
[4] com.datastax.spark.connector.demo.TableCopyDemo
[5] com.datastax.spark.connector.demo.WordCountDemo
Enter number:

@RussellSpitzer I don't really know how it is possible:
[info] Loading global plugins from /Users/jlewandowski/.sbt/0.13/plugins
[info] Loading project definition from /Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/project

  Scala: 2.10.4 [To build against Scala 2.11 use '-Dscala-2.11=true']
  Scala Binary: 2.10
  Java: target=1.7 user=1.7.0_60

[info] Set current project to root (in build file:/Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/)
 SBT   SPARKC-95  root  clean
[success] Total time: 0 s, completed Mar 25, 2015 6:15:19 PM
 SBT   SPARKC-95  root  package
[info] Updating {file:/Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/}root...
[info] Done updating.
[info] Updating {file:/Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/}demos...
[info] Done updating.
[info] Compiling 11 Scala sources to /Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/spark-cassandra-connector-embedded/target/scala-2.10/classes...
[info] Compiling 128 Scala sources and 1 Java source to /Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/spark-cassandra-connector/target/scala-2.10/classes...
[warn] Class org.apache.cassandra.io.util.DataOutputPlus not found - continuing with a stub.
[warn] Class org.apache.cassandra.io.util.DataOutputPlus not found - continuing with a stub.
[warn] non-nullary method overrides nullary method
[warn] three warnings found
[info] Packaging /Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/spark-cassandra-connector-embedded/target/scala-2.10/spark-cassandra-connector-embedded_2.10-1.2.0-SNAPSHOT.jar ...
[info] Done packaging.
[info] Packaging /Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/target/scala-2.10/root_2.10-1.2.0-SNAPSHOT.jar ...
[info] Done packaging.
[info] Packaging /Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/spark-cassandra-connector-demos/target/scala-2.10/demos_2.10-1.2.0-SNAPSHOT.jar ...
[info] Done packaging.
[info] Packaging /Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/spark-cassandra-connector/target/scala-2.10/spark-cassandra-connector_2.10-1.2.0-SNAPSHOT.jar ...
[info] Done packaging.
[info] Compiling 4 Scala sources and 12 Java sources to /Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/spark-cassandra-connector-java/target/scala-2.10/classes...
[info] Compiling 1 Scala source to /Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/spark-cassandra-connector-demos/kafka-streaming/target/scala-2.10/classes...
[info] Compiling 3 Scala sources to /Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/spark-cassandra-connector-demos/twitter-streaming/target/scala-2.10/classes...
[info] Packaging /Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/spark-cassandra-connector-java/target/scala-2.10/spark-cassandra-connector-java_2.10-1.2.0-SNAPSHOT.jar ...
[info] Done packaging.
[info] Packaging /Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/spark-cassandra-connector-demos/kafka-streaming/target/scala-2.10/kafka-streaming_2.10-1.2.0-SNAPSHOT.jar ...
[info] Done packaging.
[info] Packaging /Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/spark-cassandra-connector-demos/twitter-streaming/target/scala-2.10/twitter-streaming_2.10-1.2.0-SNAPSHOT.jar ...
[info] Done packaging.
[info] Compiling 7 Scala sources and 1 Java source to /Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/spark-cassandra-connector-demos/simple-demos/target/scala-2.10/classes...
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list
[info] Packaging /Users/jlewandowski/Projects/OpenSource/spark-cassandra-connector/spark-cassandra-connector-demos/simple-demos/target/scala-2.10/simple-demos_2.10-1.2.0-SNAPSHOT.jar ...
[info] Done packaging.
[success] Total time: 41 s, completed Mar 25, 2015 6:16:01 PM
 SBT   SPARKC-95  root  simple-demos/run
[warn] Multiple main classes detected.  Run 'show discoveredMainClasses' to see the list

Multiple main classes detected, select one to run:

 [1] com.datastax.spark.connector.demo.AkkaStreamingDemo
 [2] com.datastax.spark.connector.demo.BasicReadWriteDemo
 [3] com.datastax.spark.connector.demo.JavaApiDemo
 [4] com.datastax.spark.connector.demo.SQLDemo
 [5] com.datastax.spark.connector.demo.TableCopyDemo
 [6] com.datastax.spark.connector.demo.WordCountDemo

Enter number:


[Menu][Joy] Improve UX of Menu usage demo

Right now whenever user wants to test different variants of props for Menu they have open menu everytime and remember old version and current version to compare. I belive this process has lot of friction, so i kept Menu open all the time, so that user need not to open Menu everytime they want to try different variants of props.
before:
https://github.com/mui/material-ui/assets/60743144/621744b0-9996-4073-aac1-02ffc6452958
after:
https://github.com/mui/material-ui/assets/60743144/6df02666-d666-428e-be85-683fd07f236c

[x] I have followed (at least) the PR section of the contributing guide.

@sai6855 👍 Thanks for the improvement!


Remove JS-IS-JSX and related parts, no longer required

Fixes #9, Fixes #10

Makes sense, since it's included in 0.10.10 (February 2016)
Thanks!


'cf-abacus-dbserver' is not in the npm registry

Trying to install abacus using the readme instructions.
Failed after 'npm run cfpush'
$ cat /Users/ba25714/Development/bluemix_sandbox/cf-abacus/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ 'node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'owner',
1 verbose cli   'ls',
1 verbose cli   'cf-abacus-dbserver' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose node symlink /usr/local/bin/node
5 silly mapToRegistry name cf-abacus-dbserver
6 silly mapToRegistry using default registry
7 silly mapToRegistry registry https://registry.npmjs.org/
8 silly mapToRegistry uri https://registry.npmjs.org/cf-abacus-dbserver
9 verbose request uri https://registry.npmjs.org/cf-abacus-dbserver
10 verbose request no auth needed
11 info attempt registry request try #1 at 22:01:25
12 verbose request id 8a4afe2bcbbdc0f3
13 http request GET https://registry.npmjs.org/cf-abacus-dbserver
14 http 404 https://registry.npmjs.org/cf-abacus-dbserver
15 verbose headers { server: 'CouchDB/1.5.0 (Erlang OTP/R16B03)',
15 verbose headers   'content-type': 'application/json',
15 verbose headers   'cache-control': 'max-age=0',
15 verbose headers   'content-length': '51',
15 verbose headers   'accept-ranges': 'bytes',
15 verbose headers   date: 'Sat, 25 Jul 2015 05:01:13 GMT',
15 verbose headers   via: '1.1 varnish',
15 verbose headers   age: '0',
15 verbose headers   connection: 'keep-alive',
15 verbose headers   'x-served-by': 'cache-sjc3124-SJC',
15 verbose headers   'x-cache': 'MISS',
15 verbose headers   'x-cache-hits': '0',
15 verbose headers   'x-timer': 'S1437800473.309144,VS0,VE89' }
16 silly get cb [ 404,
16 silly get   { server: 'CouchDB/1.5.0 (Erlang OTP/R16B03)',
16 silly get     'content-type': 'application/json',
16 silly get     'cache-control': 'max-age=0',
16 silly get     'content-length': '51',
16 silly get     'accept-ranges': 'bytes',
16 silly get     date: 'Sat, 25 Jul 2015 05:01:13 GMT',
16 silly get     via: '1.1 varnish',
16 silly get     age: '0',
16 silly get     connection: 'keep-alive',
16 silly get     'x-served-by': 'cache-sjc3124-SJC',
16 silly get     'x-cache': 'MISS',
16 silly get     'x-cache-hits': '0',
16 silly get     'x-timer': 'S1437800473.309144,VS0,VE89' } ]
17 error owner ls Couldn't get owner data cf-abacus-dbserver
18 verbose stack Error: 404 Not Found: cf-abacus-dbserver
18 verbose stack     at CachingRegistryClient. (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:245:14)
18 verbose stack     at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:170:14)
18 verbose stack     at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:360:22)
18 verbose stack     at Request.emit (events.js:110:17)
18 verbose stack     at Request. (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1202:14)
18 verbose stack     at Request.emit (events.js:129:20)
18 verbose stack     at IncomingMessage. (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1150:12)
18 verbose stack     at IncomingMessage.emit (events.js:129:20)
18 verbose stack     at _stream_readable.js:908:16
18 verbose stack     at process._tickCallback (node.js:355:11)
19 verbose statusCode 404
20 verbose pkgid cf-abacus-dbserver
21 verbose cwd /Users/ba25714/Development/bluemix_sandbox/cf-abacus
22 error Darwin 14.3.0
23 error argv "node" "/usr/local/bin/npm" "owner" "ls" "cf-abacus-dbserver"
24 error node v0.12.2
25 error npm  v2.7.5
26 error code E404
27 error 404 Not Found: cf-abacus-dbserver
27 error 404
27 error 404 'cf-abacus-dbserver' is not in the npm registry.
27 error 404 You should bug the author to publish it (or use the name yourself!)
27 error 404
27 error 404 Note that you can also install from a
27 error 404 tarball, folder, http url, or git url.
28 verbose exit [ 1, true ]

I'm planning to push the Abacus modules to the npm registry sometime next week. In the meantime, the push to CF should still work with the following steps:
# install all the node dependencies as well as the dependencies on Abacus local modules
# which are not in the npm registry yet
npm install

# push to CF
npm run cfpush

These two steps are described in the README but in separate sections, so I just committed 4dce896 to add that npm install step to the 'Deploying to Cloud Foundry' section as well.
Does a local npm install before npm run cfpush fix the issue for you?

I did do npm install before the cfpush, no it does not fix the issue.  i can see the cf-abacus modules including cf-abacus-dbserver.
$ npm list | grep cf-abacus-dbserver
├─┬<EMAIL_ADDRESS>$ npm run cfpush

<EMAIL_ADDRESS>cfpush /Users/ba25714/Development/bluemix_sandbox/cf-abacus
bin/cfpush

cd lib/utils/dbserver
npm run cfpush

<EMAIL_ADDRESS>cfpush /Users/ba25714/Development/bluemix_sandbox/cf-abacus/lib/utils/dbserver
../../../tools/packapp/packapp && cf push

FAILED
Error reading manifest file:
Expected environment variable NODE_MODULES_CACHE to have a string value, but it was a bool.

Looks like the push is going further this time and failing with a new error in the CF CLI:

Expected environment variable NODE_MODULES_CACHE to have a string value, but it was a bool.

caused by this line in the Abacus CF app manifests:
NODE_MODULES_CACHE: true

What version of the CF CLI (cf --version) are you using?
Does changing lib/utils/dbserver/manifest.yml to NODE_MODULES: "true" help?

$ cf --version
cf version 6.1.1-homebrew
$ cat lib/utils/dbserver/manifest.yml
applications:
- name: cf-abacus-dbserver
  host: cf-abacus-dbserver
  path: app.zip
  instances: 1
  memory: 1G
  disk_quota: 1G
  env:
    NODE_MODULES_CACHE: "true"

I had to edit the following with the same change:
lib/stubs/account/manifest.yml
lib/stubs/provisioning/manifest.yml
lib/metering/collector/manifest.yml
Was able to get everything deployed after making those edits.  The cf-abacus apps all started but had this health check failure:
-----> Uploading droplet (34M)

0 of 1 instances running, 1 starting
0 of 1 instances running, 1 starting
1 of 1 instances running

App started

Showing health and status for app cf-abacus-dbserver in org GAP / space dev as ...
FAILED
Error performing request: Get https://api.sr1.us-south.bluemix.net/v2/apps/42e8499a-6cf4-48d6-9132-352e694dacd9/summary: EOF

I had to edit the following with the same change:
lib/stubs/account/manifest.yml
lib/stubs/provisioning/manifest.yml
lib/metering/collector/manifest.yml

I'm also thinking about removing that NODE_MODULES_CACHE altogether anyway. It helped at some point when we were debugging and wanted to make sure that no older version of a module from that cache would get in the way, but it's probably not needed anymore, at least not in the default manifest.yml for those apps.
I also noticed that you set it to "true" which I believe is the default value, so removing it wouldn't hurt. I'll try to push that change today.
About that error:
Showing health and status for app cf-abacus-dbserver in org GAP / space dev as ...
FAILED
Error performing request: Get https://api.sr1.us-south.bluemix.net/v2/apps/42e8499a-6cf4-48d6-9132-352e694dacd9/summary: EOF

Do you have enough memory in your Bluemix account (I believe the default is 2GB) to deploy all those apps?
What does cf logs (or cf-logs --recent after the fact) show you for that app?

I believe all the abacus apps are starting ok now.
$ cf apps |grep cf-abacus
cf-abacus-usage-reporting     started           2/2         512M     1G     cf-abacus-usage-reporting.sr1.us-south.mybluemix.net
cf-abacus-usage-meter         started           2/2         512M     1G     cf-abacus-usage-meter.sr1.us-south.mybluemix.net
cf-abacus-usage-collector     started           2/2         512M     1G     cf-abacus-usage-collector.sr1.us-south.mybluemix.net
cf-abacus-account-stub        started           2/2         512M     1G     cf-abacus-account-stub.sr1.us-south.mybluemix.net
cf-abacus-usage-aggregator    started           4/4         512M     1G     cf-abacus-usage-aggregator.sr1.us-south.mybluemix.net
cf-abacus-usage-accumulator   started           4/4         512M     1G     cf-abacus-usage-accumulator.sr1.us-south.mybluemix.net
cf-abacus-dbserver            started           1/1         1G       1G     cf-abacus-dbserver.sr1.us-south.mybluemix.net
cf-abacus-provisioning-stub   started           2/2         512M     1G     cf-abacus-provisioning-stub.sr1.us-south.mybluemix.net

The modules are now in the npm registry, so that should make them easier to use.
See abacus-dbserver for example.


v2 Contributor Console PROD - broken links in header

Summary
When a contributor comes to the contributor console from a github pull request, the links in the head for "Project Login", "CLA Manager Login", and "Developer" are broken.
Expected behavior

[x] Project Login should link to https://projectadmin.lfx.linuxfoundation.org/

[x] CLA Manager Login should link to https://member.lfx.linuxfoundation.org/

[ ] Developer  - currently linking to broken docs link, could go to https://docs.linuxfoundation.org/lfx/easycla/contributors

@amolsontakke3576 this one is for you...

Pushed @amolsontakke3576 changes to DEV, STAGING, and PROD.  Ready for QA.

@WillsonHG  please verify it.

Hi @amolsontakke3576  The Docs are going to a page not found. You can use the link I provided https://docs.linuxfoundation.org/lfx/easycla/contributors

I have raised PR for this.

This is deployed to DEV, Staging & PROD.

confirmed this is fixed in prod


Template + automation for Python packages installed with pip

Details
Code used by packages with tools installed with pip:
    VM-Pip-Install $toolName

    $executablePath = "$(where.exe $toolName)"
    $arguments = "--help"

    VM-Install-Shortcut $toolName $category $executablePath -consoleApp $true -arguments $arguments

Example: magika.vm
Create a package template, issue template & automation for this package type.

With #1083, the installation code is now very simple:
VM-Install-With-Pip -toolName $toolName -category $category

The function supports arguments, that can be used if https://github.com/mandiant/VM-Packages/issues/1082 is implemented.

I think we should start fixing the version of the tools installed with Pip (as we have done with magika in https://github.com/mandiant/VM-Packages/pull/1179 and plan to do with ida.plugin.capa.vm as discussed in https://github.com/mandiant/VM-Packages/issues/1173). This should be addressed as part of this issue by adding the version to the package and issue templates.


Shift + Up/Down doesn't work anymore

When I try to do Shift + Up/Down to select a line, suddendly Micro doesn't do anything. For some reason, Shift + Left/Right works fine.
What am I missing?
Commit hash: c2cebaa3
OS: EndeavourOS
Terminal: Xfce-terminal

Is the Shift-Up/Down consumed by your xfce-terminal? Can you please try the raw mode of micro to test the key code received by your terminal?
You should receive something like that:
EventKey: Shift-Down: "\x1b[1;2B"
EventKey: Shift-Up: "\x1b[1;2A"

No, I can confirm that while it does receive Shift + Left/Right, nothing happens when I press Shift + Up/Down.

So you mean, that in the mentioned raw mode nothing will be printed by micro when you press Shift-Up/Down? If yes, then this is an indication that your terminal consumes this combination (for his own hot-keys/functionalities) and doesn't forward it into micro.
In case of that I suggest to search for this keyboard shortcut inside the Xfce(-terminal) settings and re-assign it to something different. Here it's mentioned that it's used to search/scroll within the command history.

 I reassigned it and now it works.
Thank you so much.

Hey, sorry to reopen this, but the same thing happens with Shift + Click, it should select  text right? It doesn't do anything though and in raw mode nothing happens. Problem is that I can't find any shortcut set for Shift + click in xfce-terminal, so I can't solve this in the same way I did earlier. Do you have any idea what I could do?

Unfortunately I've the same "problem", but I assume again, that the related sequences are caught by our terminals (I use Gnome Console) or the whole desktop environment.

Maybe someone of the community available at the Discussions, Gitter or Discord can help more than me, since I wasn't bothered much enough by this to test more terminals. :)


ROX-16969: Make ProcessesListeningOnPortsTest multi-arch compliant

This PR intends to add multi-arch support for the ProcessesListeningOnPortsTest QA test.
Test images used in respective test are changed to use alternate multi-arch images which support 3 platforms viz. x86_64, ppc64le and s390x.
Changes are verified manually using ./gradlew test --tests=ProcessesListeningOnPortsTest
This PR intends to fix ROX-16969

/test ocp-4-10-qa-e2e-tests
/test ocp-4-12-qa-e2e-tests

/test ocp-4-12-qa-e2e-tests


Can I use this plugin on the ios side?

I followed the guide to add this plugin to the project, but prompted the error ' Runner[65246:1178582] [VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: MissingPluginException(No implementation found for method showDropIn on channel braintree_payment)' on ios

I am also getting the same error :(

Hi I solved it. There was googleEnabled as true. Just make it false and it will work :)


Proposal: Use the OCI Descriptor as a payload format

https://github.com/opencontainers/image-spec/blob/master/descriptor.md
All the other payload formats I've seen look roughly like this one with slightly different names and structures. We already have this one standardized with library support, why not use it directly?
{
  "mediaType": "application/vnd.oci.image.manifest.v1+json",
  "size": 7682,
  "digest": "sha256:5b0bcabd1ed22e9fb1310cf6c2dec7cdef19f0ad69efa1f392e94a4333501270",
  "urls": [
    "https://example.com/example-manifest"
  ],
  "annotations": {
    "foo": "bar"
  }
}

The fields from this proposal can all be mapped in: https://github.com/notaryproject/nv2/tree/prototype-1/docs/signature
References can be placed in the "urls" field, and claims can be placed in the annotations field.
The only limitation is that annotations is string-string rather than an arbitrary JSON object. That's still sufficient for me, and I'd propose that if we actually need richer data here we extend the OCI spec rather than make a new one.

Hey,
Any interest in this? We're looking into firming up the payload/attestation format soon in sigstore and would like to use the descriptor. We'd really like to use the same thing as other efforts though.
What does it take to ratify something like this?

The urls field has a very specific meaning in OCI (its for alternate locations, for foreign layers), and I don't think its appropriate to re-use it.
I do wish annotations were at least lists not strings, it means you can't eg have a list of references, which is why the proposal does have a list for references.

Actually looking at the usage in the current example, the references field is only used for x509 cert validation. I think that can actually just be dropped rather than reused. If a client wants to do things like inside the location of an image into the signed payload, that should be an annotation rather than a top level field.
I don't think I follow about the list/string part.

Currently you can't use an annotation to provide a list of values (like the references/URLs) without inventing some microformat, as you can only use each label to provide a single value.

Ah I get it. So instead of list[string-string] you mean object{}, or at least list[list[string]-string]. That would be nice.

I think going to object might be too much, but at least having (in effect) repeated headers is better.

@jonjohnsonjr WDYT?

The thing I care about most is that it conforms to the mediaType, size, digest descriptor fields. It would be convenient if everything could be stuffed in annotations, but I imagine we'd want more structure than that, which seems fine to add.

I think based on the last few meetings it sounds like we are heading this direction. Is there a good document location in here to update the status with?

I'm not following what this issue is about. Is this issue still relevant and if so, could you please provide a little more context to help me understand?


Missing Direct/Forwarded TCP IP Examples

Hello,
I was playing around with the library, and while the client example is good and shows how to establish a simple SSH connection, I can't quite figure out how to configure a direct TCP connection. I was able to change the example to open a channel of directTCPIP type, but it seems to be ignoring the originatorAddress, which I am assuming would be a port on my computer (just like when I call ssh -NL) but I am probbaly wrong.
I probably am not being able to figure it out as I haven't tried Swift NIO before, but an example on those kinds of connections would be helpful to me and probably to many others. :)
Thanks in advance!

Hey @edualm thanks for filing this issue!
NIOSSH is substantially lower level than you might be expecting. In this instance, it's giving you the pieces of the wire protocol, but it isn't giving you the equivalent application logic to implement them as you're expecting. This is intended behaviour: we want you to be able to do anything with a directTCPIP channel, not only to use it in the straight-line SSH forwarding mode where you actually create a listening port. This means when you create your directTCPIP channel, NIO does not start listening on any port for you. In fact, it does nothing at all beyond creating that channel in the SSH connection.
To create this example we'd need to flesh the code out a lot, in order to use things like a server bootstrap for the listening port. I've thrown together an extension to the example client in #55. This roughly shows how you would implement the traditional port forwarding code, by gluing together an inbound connection and an SSH channel.

Hey @Lukasa,
Thank you so much for taking some time out of your day doing this.
The example is all I could have asked for, and is more than enough for me to start hacking something.
Hope it benefits others and not just me!


docs: Accessibility improvements of examples

On which page do you see this issue?
No response
Describe the issue
It would be really nice if the code examples on the documentation would include all relevant aria attributes, roles and anything concerning accessibility. This would mean people can just copy paste the examples with such attributes/best practices already set in place. Are there plans to do this?
What browsers are you seeing the problem on?
All browsers

I really think there's no priority concerns about this yet, I was concerned about this as well. Thank you for coming up with this idea.

include all relevant aria attributes, roles and anything concerning accessibility

Not all, but I'm positive with including only the necessary ones.
However a lot of times the aria attributes is part of the content or they should be implemented based on the context of your own page. For example aria labels should include a label that you provide based on your content. If I put a dummy text there, copy pasting it would be even worse because with a dummy text aria label, your code editor/linter/etc will not warm you to fix the dummy text I wrote for you but without an aria label, your editor will warn you and guides you to add it.

Just started using DaisyUI and are having the same concerns. It seems that the docs are suggesting somewhat dubious implementations from an accessibility perspective.
For instance, the Drawer should at least use an aria-expanded attribute.
Also, it doesn't seem like best practice to use checkboxes and empty Label-tags.

@MikaelJohnAndersson There's no way for daisyUI (as a CSS file to add/remove aria-expanded attribute conditionally) but you can add/remove that using JS based on your framework syntax.

Aria attributes added for alert, modal, tab, btm-nav, pagination and drawer examples in docs.
(Most elements, being native HTML elements, are already accessible both with screen readers and keyboard navigation. For example, the toggle is native HTML checkbox. Some JS component libraries use <div>s to recreate that visual which would need role="checkbox" or role="switch".)
If there are still missing attributes on docs examples, please create new issues for each one.


Minor TextField fixes

Description

Spread rest-props last
Spread rest-props to NumberFormat component as well
Remove ariaDescribedBy prop, this can instead be set with aria-describedby
NumberFormat component previously triggered onChange on rerender as well, which caused issues since we were trying to overwrite the value on the event.target which would be null on rerender. Now we only trigger onChange if the source of the change is from an event.
Update peerDependency to require React 18. This was not introduced in this PR, but we have been using React 18 features for a little while now, but forgotten to update this requirement.

Related Issue(s)

https://github.com/Altinn/app-frontend-react/pull/328

Verification

[ ] Your code builds clean without any errors or warnings
[x] Manual testing done (required)
[x] Relevant automated test added (if you find this hard, leave it and we'll help out)
[ ] All tests run green

Codecov Report

Merging #80 (031a9d2) into main (79f330d) will increase coverage by 0.93%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #80      +/-   ##
==========================================
+ Coverage   96.81%   97.74%   +0.93%
==========================================
  Files          12       15       +3
  Lines         157      222      +65
  Branches       36       58      +22
==========================================
+ Hits          152      217      +65
  Misses          5        5

Impacted Files
Coverage Δ

src/components/TextField/Icon.tsx
100.00% <100.00%> (ø)

src/components/TextField/TextField.tsx
100.00% <100.00%> (ø)

src/components/TextField/utils.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Updates?

What happened, where is new versions?
For now last version is 2.50.0

Feel free to provide pull requests with the newest version if you feel the selenium version provided is outdated.


Rework defaults with profiles and easier command-line specification

This is a proposal of how to rework defaults to be more flexible and easier to deal with on the command line.
Part of this proposal is the concept of "profiles". The addition of profiles would absorb and expand upon the functionality of defaults. There would also be the option during unlock to override the default name for profiles, potentially making it defaults again.
In the most basic case, profiles can work exactly how defaults currently work:
profiles:
  - /path/to/config1
  - /path/to/config2

In this case, all of the values from the specified sub-configs are brought into the highest level of the main config just as they are with defaults.

The first additional behavior that comes with this construct is the ability to specify multiple named profiles.
profiles:
  profile1:
    - /path/to/config1
    - /path/to/config2
  profile1:
    - /path/to/config3
    - /path/to/config4

In essence, this is just two different sets of defaults that can be switched between via the command line. The syntax for specifying profile on the command line would look something like python main.py --profiles profile1 or potentially python main.py profile1.
This raises the question of which profile to select by default. It would be trivial to simply select the first profile specified sequentially, however, this may be somewhat opaque and not in line with the conceptualization of key-value maps as unordered. Alternatively, there could be a special profile called default or something similar which would be the same as other profiles except for the fact that it is the one selected when none are specified.
Additionally, the user will be able to specify configs on the command like to add to the set used. That might look something like python main.py --profiles profile1 "/path/to/config4", in which case the values from the sub-config, onfig4, would be brought in on top of all of the sub-configs brought in from profile 1.

Additionally, the user can optionally name the configs brought in from a given profile to enable easier overriding from the command line. Here is an example of what that may look like in an ML pipeline.
profiles:
  train:
    model: train/model.yaml
    dataset: train/dataset.yaml
  debug:
    model: debug/model.yaml
    dataset: debug/dataset.yaml

In this case, the user could specify the mode to use while also bringing in individual components from the other mode.
python main.py --profiles train debug.dataset. Which would select the train profile, but also bring in the debug dataset sub-config.
It is possible that specifying in a sub-config with a given name from another profile would prevent that sub-config of the current profile with the same name from being brought in at all instead of just overriding its values. That behavior may be useful in some ways as there could be keys specified in, for example, train/dataset.yaml that aren't specified in debug/dataset.yaml. It would be polluting the config's namespace to include such values from the train dataset when the debug dataset is overwriting it. Those values would go unused or maybe even get in the way. However, this would require the user to maintain consistent naming between corresponding sub-configs in different profiles, and such correspondents might not be so simple in practice.
This behavior also potentially allows the user to treat the profiles as groups/folders of sub-configs rather than bespoke modes if that makes the workflow easier. For example, one could create profile called models in addition to train and debug. While, models would not be a sensible profile to specify by itself, one could use it to hold a list of easily addressable sub-configs. python main.py --profiles train models.lstm where the values from model.lstm override any model-related values specified by the train model. This demonstrates the ways in which this construction is conceptually flexible and can be thought of and used in various ways depending on the needs of the particular use case.
It is important to note that naming sub-configs does not stop a sub-config from being brought in by path.

It might also be possible to have lists of sub-configs as a named set in a profile. For example, one could place several config paths within train.model as a list, which would indicate that each of those sub-configs should be brought in when train.model is brought in.
Additionally, sub-profiles could allow more fine-grained control of combining aspects of profiles. Consider if the model key had two sub-keys, backbone and head. Each of these may have one or more sub-config paths specified. Whenever a profile is specified, all sub-configs from every sub-profile (and sub-sub-profile etc.) are also brought in.
Here is an example that exhibits both of these potential behaviors
profiles:
  train:
    model:
      head: train/head.yaml
      backbone: train/backbone.yaml
    datasets:
      - train/dataset1.yaml
      - train/dataset2.yaml
  debug:
    model:
      head: debug/head.yaml
      backbone: debug/backbone.yaml
    datasets:
      - debug/dataset1.yaml
      - debug/dataset2.yaml

A command for such set of profiles might look like python main.py --profiles train debug.model.head which indicates that the training pipeline should be run, but that the model head should be the debug version.
This sub-profile behavior may get somewhat complex. It is flexible and useful, but implementation and usage might have high cognitive load. In particular, should something like debug.model.head prevent the train.model.head from being brought in or just override the values it brings in? There may be unintentional name collisions in such complex cases that lead to more difficult-to-predict behavior.

Even assuming everything in this proposal is accepted, there are a number of questions to be answered.

Is profiles the best default keyword or is there some more sensible default?
Which should the syntax be for specifying a profile on the command line and/or should both options be possible.
How should the default profile be selected? Should it be the sequentially first profile or some specified default profile?
When specifying a named sub-config from another profile, how should that corresponding sub-config from the current profile be dealt with? Should it prevent the corresponding sub-config from inclusion entirely, or should it simply override its values as if it were specified afterwards.
Should sub-profiles be allowed or are the repercussions to complex?

I think profiles is a sensible name for this feature.
I am ok with both options being available to the user.
We maybe should have some way of specifying that a profile should be considered the default and included without specificaiton. We use the ? and the $ tags for flags and environemnt variables. Maybe we could use ! for including a profile as a default when the yaml is parsed.
If there is a key in the current profile that matches the key in another profile that you are specifying from the command-line, then whatever is last should overwrite. For example, python pipeline.py train debug.model should overwrite the model key in the train profile. Also, python pipeline.py train debug.model train.model should overwrite the debug overwrite. Also, python pipeline.py train debug should include all keys in train and overwrite all those keys with debug. Also, any keys in the main config should be overwitten by the addition of a profile.
I am leaning towards subprofiles being allowed. But maybe we add that later.


App is navigating to the initial route twice on load of ejected app

I'm having an issue for the first time using react-navigation.
Using a stack navigator I'm getting the initial route being loaded twice.
This is an expo kit react native ejected app. I tried to make a new app without ejecting it and seen that it was working perfectly fine, but as soon as I ejecting it and loaded it back up, it started doing the same thing as my other ejected app.
What it's doing is mounting the initial component and then navigating to the same initial component immediately. It even will allow me to go back which is the exact same component I was on.

Yes, this is correct. I tried it with a plain react native app after ejecting and it works as it should be. I guess I should post this issue over in Expo then?

Have the exact same issue with ejected app, it does not happen on android but it happens on ios (simulator)

Yes, @murad-aghakishiyev there is a workaround. Apparently, it's a known issue.
Kind of Homebrewy, but it works!
https://github.com/react-community/react-navigation/issues/2599#issuecomment-337845786

@AhadCove the link you posted seems to be broken :/ Anyway yeah I think you should close it here and post it on Expo's repo.

Oh sorry about that, just fixed the link. Okay closing now

Thanks for the fix, I still think it's worth creating an issue on Expo's repo to understand why it happens only for apps that get ejected :/

Yeah, I agree. This is the only response I received when I posted it over there. But, I am interested in wanting to know why. I will ask and see if I get a response


Remove stale branches

Branch 1-alpha is stale and has been merged in some way to main, so it can be deleted now.
On the similar note, when pulling repo locally I noticed that there still exists master branch which was used in the past. The existence of both master and main can be confusing, as one has to check which one of them is actively used.

We should remove notes about the branch, but we should not delete it, since some projects might still have that branch in their dependencies. And we don't want to break those builds unnecessarily.


Python packages fixes

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

Success on aarch64-linux (full log)
Attempted: python
Partial log (click to expand)
/nix/store/imv54r70hay2sjrbjiw9l5hhmq3zdkkx-python-2.7.15

Success on x86_64-darwin (full log)
Attempted: python
Partial log (click to expand)
/nix/store/s9mj8zzg7b0zj7s0k4rx3hdsiayr3ckn-python-2.7.15

Success on x86_64-linux (full log)
Attempted: python
Partial log (click to expand)
/nix/store/6b6lzbq74g95j8qlbrdjzkn2ghh81mgy-python-2.7.15

@FRidh Can you revert the shippai update 0bca28c89078ddc25aca0c1f8c50d3bafdd36412?  This breaks vdirsyncer.

@gebner done f26e5b5

python-jose/moto/botocore is quite a pain to solve

Might have to revert the botocore/boto3 bumps, and let awscli "vendor" different versions.

A propos pytest-fixture-config, should we just set doCheck = false?

Rebasing onto latest staging-next so the fixes in master are taken into consideration.

@FRidh Do you have the rights to restart a Hydra job? Pyparted builds fine for me.

@dotlambda no I cannot

Apparently that error happens in Hydra's cloud instances and not elsewhere: https://hydra.nixos.org/build/80376351#tabs-buildsteps  (for me it always succeeds locally, too)

Waiting for something before merging to staging-next?


redirectUrl for installedApp

What am i supposed to pass as redirectUrl when creating a Credentials object?

Client ID is in green
secret is in red, but if the type of app you created is "installed app" then reddit will NOT provide a secret in your app preferences screen. Only the client ID will be available.
Redirect URL is what you're looking to pass in to JRAW

Thanks! I didn't know about <IP_ADDRESS>/localhost


Change var name from examplesClient to client in get_info_from_existing_database.go example

Describe the bug
All examples are using client for an instance of cloudantv1.Service, but get_info_from_existing_database is using examplesClient.
Expected behavior
Change var name to client for docs consistency

The reason for using a different name for the example in get_info_from_existing_database is because that client must be different to read a real and existing database.
While in the first example the client connects to the https://examples.cloudant.com/ service URL, in the other cases the client connects to a user-owned URL.

What do you mean "must"? It can be different client, it can be the same client switching to the different service programmatically, there is no hard requirement on having an client instance per service.
This is orthogonal here though, because there is no other client in that one example, all the examples are separate files with own main block, so they are different programms and each one is initiating independent client, so there is no reason to use a different variable name in just one of them.

What do you mean "must"? It can be different client, it can be the same client switching to the different service programmatically, there is no hard requirement on having an client instance per service.

We wanted to show an easy example here, and not make things more difficult e.g. by switching to different services programmatically. examplesClient shows us it is a different client than the client. It was all about to stick to the easiness. The animaldb can be read by any user, maybe it encourages people to use this library if they see first an example that does not need backend settings.

This is orthogonal here though, because there is no other client in that one example, all the examples are separate files with own main block, so they are different programms and each one is initiating independent client, so there is no reason to use a different variable name in just one of them.

You are right. There are some missing pieces I’ve forgotten about. When this was written we agreed that the code snippets should be copy-pasted under each other without any problem by the user, that is why I created a separate client for the examples host. Then it turned out we should show the imports in a separate block of code.
What I missed is I introduced the embedmd and due to the formatting I did not want to separate the code anymore for imports and the examples in a separate code block, because I did wanted to upload a working code and regardless embedmd can be used to have a special range of code lines in the markdown, but it cannot handle the indentations.
Another thing, if we want to have the client then it should be corrected in all of the repos.

Right, I see the historic reasons for the difference, but is it still valid? I don't see where embedmd used to create the README, as for examples, as they are right now, they are not valid to be copy-pasted under each other without editing, e.g. there is a reassignment of document variable in update and delete docs files.

is it still valid

No, it is not. I agree now with your modification.

True, but this is outside of scope of this issue.

It wanted to be just a warning.


Add WZ10

Hi Rik,
Can you add WZ10 to the small helo marker please.
Cheers

This ICAO already goes to a small heli marker.


hyperline covers my terminal content

as the picture, see the last line

Same here.

@BirkhoffLee Could you try this in your ~/.hyper.js: padding: '12px 14px 18px 14px'

We'll implement a new design in the new version. I'll make sure it's fixed 👍

@timneutkens Adding padding: '12px 14px 18px 14px' to ~/.hyper.js is working. Thanks for the workaround.

@BirkhoffLee 👍

I'm keeping this open for people having the same issue / as a reminder till I fix it 👍

just ran into this issue. The padding at the bottom varies depending on the configured font + font-size.

@littleStudent You're right, unfortunately. I find that padding: '.5rem .5rem 1.2rem .5rem' is 100% safe but kinda ugly.
padding: '.5rem .5rem .8rem .5rem' is more reasonable.

Should not the markup be placed in the  ?

@BirkhoffLee
Fix created in #111
🎉

@basedjux tried updating and I still get it o_O

Really, @nemo?
Hmm. Can you post a screenshot of the issue, please? Thanks 😄


spec: some "base type" (of pointer types) occurrences are not used consistently

From the three occurrences:

A pointer type denotes the set of all pointers to variables of a given type, called the base type of the pointer.

Two pointer types are identical if they have identical base types.

ignoring struct tags (see below), x's type and T are unnamed pointer types and their pointer base types have identical underlying types.

I can get a conclusion that only unnamed pointer types can have a base type.
So I think the following occurrence of "base type" should be "underlying type" instead.
// The method set of the base type of PtrMutex remains unchanged,
// but the method set of PtrMutex is empty.
type PtrMutex *Mutex

Any pointer type can have a base type; it's the type of the object the pointer points to. But named pointer types are rare and probably should be avoided in the first place.
The example comment here is correct, but arguably in this case it would make more sense to talk about the underlying type. I'll rephrase.

@griesemer

Any pointer type can have a base type; it's the type of the object the pointer points to.

If this is true, then the following line in spec is problematic:

Two pointer types are identical if they have identical base types.

But two named pointer types will never be identical.

@go101 https://tip.golang.org/ref/spec#Type_identity is very clear about type identity. There's no need to be overly pedantic and repeat this in every section.

sorry, I didn't notice the above paragraph. :)


"No Local Position" error on takeoff with plane (SITL Gazebo) (log attached)

I am flying the master branch, however I have seen the same behaviour with release v1.6.5.
Link to log file
I am seeing a variety of failures shortly after take off, starting with a failsafe due to 'no local position'.
Here is my process (running ubuntu 16.04):

Set environment variables to define the home position for the SITL sim.

export PX4_HOME_LAT=42.0
export PX4_HOME_LON=-71.0
export PX4_HOME_ALT=98.0

Start gazebo_plane simulator

make posix gazebo_plane

Connect QGCS to monitor
Within the PX4 terminal, command it to takeoff

pxh> commander takeoff

The aircraft starts to take off, but shortly after lift off it triggers a failsafe event due to no local position.
Terminal readout:
INFO  [logger] logger started (mode=all)
pxh> INFO  [logger] Start file log
INFO  [logger] Opened log file: rootfs/fs/microsd/log/2017-11-02/18_11_46.ulg
[Wrn] [msgs.cc:1655] Conversion of sensor type[imu] not suppported.
INFO  [mavlink] partner IP: <IP_ADDRESS>
[Wrn] [msgs.cc:1655] Conversion of sensor type[imu] not suppported.
INFO  [lib__ecl] EKF aligned, (pressure height, IMU buf: 15, OBS buf: 14)
[Wrn] [Publisher.cc:140] Queue limit reached for topic /gazebo/default/plane/motor_speed/4, deleting message. This warning is printed only once.
INFO  [lib__ecl] EKF GPS checks passed (WGS-84 origin set)
INFO  [lib__ecl] EKF commencing GPS fusion
INFO  [commander] home: 41.9999999, -71.0000001, 98.11
INFO  [tone_alarm] home_set

pxh>
pxh> commander takeoff
pxh> INFO  [tone_alarm] positive
INFO  [commander] home: 41.9999998, -71.0000000, 97.92
INFO  [tone_alarm] arming
INFO  [commander] Takeoff detected
WARN  [commander_tests] Failsafe enabled: no local position
INFO  [tone_alarm] fast_bat
WARN  [navigator] Global position failure: fixed bank loiter
WARN  [lib__ecl] EKF GPS fusion timeout - reset to GPS
INFO  [commander] Landing detected
WARN  [lib__ecl] EKF GPS fusion timeout - reset to GPS

I do not see this behavior when I fly the simulator in the stock home location (Switzerland). I have tried a few locations in the USA, and they have demonstrated a similar failure.
I have tried flying my plane with a pixracer running the same software in Massachusetts (close to where I am starting the simulator), and I have seen similar error messages, occurring right after takeoff:
0:01:10 WARNING: [commander_tests] NOT ARMING: Press safety switch first!
0:01:10 WARNING: [commander] Arming not possible in this state
0:04:01 WARNING: [lib__ecl] EKF bad yaw corrected using GPS course
0:04:21 WARNING: [lib__ecl] EKF GPS fusion timeout - reset to GPS
0:04:28 WARNING: [lib__ecl] EKF GPS fusion timeout - reset to GPS
0:04:35 WARNING: [lib__ecl] EKF bad yaw corrected using GPS course
0:04:35 WARNING: [lib__ecl] EKF GPS fusion timeout - reset to GPS

The yaw errors are leading me to believe that there is some magnetometer problem, however I am not sure. Another interesting note is that when I start the gazebo simulator in Switzerland (stock location), GQCS indicates that the plane is pointed directly East, at 90deg. When I start the simulation in MA, USA, gazebo still indicates that the plane should be pointed East, however QGCS shows a heading of ~58 degrees. I tried setting the EKF declination to -14.5, which is the declination in my area, however it seemed to have no effect on this startup discrepancy and the take off failsafe behaviour.

I believe this is a duplicate of #6843
This seems to fix it for me: PX4/sitl_gazebo#96

Thanks for the heads up, I will try that fix and report back.

Confirmed that that declination reverse fixed it.


Azure Reference Architecture - Windows N-tier application on Azure with SQL Server- deployment error

Hi,
I'm working through setup of n-tier app reference architecture at the following Docs address:
https://docs.microsoft.com/en-ca/azure/architecture/reference-architectures/n-tier/n-tier-sql-server
following through the steps of documentation and initiating the deployment after a series of resources are created it throws out an internal error on DSC which is not internal to the VM setup..
`Deployment failed. Correlation ID: c3d1da83-9522-4f1d-ad89-d368511734b9. {
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",
"details": [
{
"code": "Conflict",
"message": "{\r\n  "status": "Failed",\r\n  "error": {\r\n    "code": "ResourceDeploymentFailure",\r\n    "message": "The resource operation completed with terminal provisioning state 'Failed'.",\r\n    "details": [\r\n      {\r\n        "code": "VMExtensionProvisioningError",\r\n        "message": "VM has reported a failure when processing extension 'AOSetup'. Error message: \"DSC Configuration 'SQLServerDBDsc' completed with error(s). Following are the first few: The system cannot find the path specified. The related file/directory is: F:\\Backup.  The related ResourceID is [File]BackupDirectory. The SendConfigurationApply function did not succeed.\"."\r\n      }\r\n    ]\r\n  }\r\n}"
}
]
}
]
}
}
Appreciate the help.
Thanks,
Mohammad
`

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

ID: 142dd377-b9db-b526-d4f2-51310cf6a926
Version Independent ID: 954769a7-e6cf-ed89-e9cc-5c2e63f9890e
Content: Windows N-tier application with SQL Server - Azure Reference Architectures
Content Source: docs/reference-architectures/n-tier/n-tier-sql-server.md
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @MikeWasson
Microsoft Alias: pnp

@myaesubi Thank you for your feedback! We will review and provide an update as appropriate.

@myaesubi Thanks, we're working on a fix for this.

We released an update to the deployment that should fix this issue.


Test with alkiln v3 action-controlled workflow only

This uses only the workflow file to trigger ALKiln tests. Removed package.json and other npm files and files for local development as the ALKiln will manage these now. References the ALKiln v3 branch to keep up with updates to that branch.
The tests now aren't running on push and we're working that out separately, but I am manually triggering this action and the tests passed.

Ready for new review, @BryceStevenWilley. How do these discussions affect the other reviews? Do you think we should keep the alkiln .gitignores in those? The plan was for the setup interview to stop making those. Do you think we should add them back in instead?