v0.2.0 plugin errors

Just updated and the logs are filled with plugin errors and ingresses do not resolve. Rolling back to previous version fixes.
logs
[INFO] plugin/k8s_gateway: Building k8s_gateway controller
[INFO] plugin/k8s_gateway: GatewayAPI CRDs are not found. Not syncing GatewayAPI resources.
[INFO] plugin/k8s_gateway: Starting k8s_gateway controller
.:1053
[INFO] <IP_ADDRESS>:57272 - 33036 "HINFO IN<PHONE_NUMBER>865849624.6631760172766430674. udp 57 false 512" NOERROR - 0 0.000028511s
[ERROR] plugin/errors: 2<PHONE_NUMBER>865849624.6631760172766430674. HINFO: plugin/loop: no next plugin found
[INFO] plugin/reload: Running configuration MD5 = 4de2454b8067b23156eec571e008b5b5
CoreDNS-1.8.3
linux/amd64, go1.16.13, 1ef6d2c
[INFO] plugin/k8s_gateway: Waiting for controllers to sync
[INFO] plugin/k8s_gateway: Synced all required resources
[INFO] <IP_ADDRESS>:33378 - 488 "NS IN . udp 17 false 512" NOERROR - 0 0.000037287s
[ERROR] plugin/errors: 2 . NS: plugin/loop: no next plugin found
[INFO] <IP_ADDRESS>:34698 - 59050 "NS IN . udp 17 false 512" NOERROR - 0 0.000009432s
[ERROR] plugin/errors: 2 . NS: plugin/loop: no next plugin found
[INFO] <IP_ADDRESS>:48821 - 9460 "NS IN . udp 17 false 512" NOERROR - 0 0.00000736s
[ERROR] plugin/errors: 2 . NS: plugin/loop: no next plugin found
[INFO] <IP_ADDRESS>:46148 - 29352 "NS IN . udp 17 false 512" NOERROR - 0 0.000007447s
[ERROR] plugin/errors: 2 . NS: plugin/loop: no next plugin found
[INFO] <IP_ADDRESS>:45872 - 15683 "NS IN . udp 17 false 512" NOERROR - 0 0.000006294s
[ERROR] plugin/errors: 2 . NS: plugin/loop: no next plugin found
[ERROR] Recovered from panic in server: "dns://:1053"
[INFO] <IP_ADDRESS>:38670 - 60566 "NS IN . udp 17 false 512" NOERROR - 0 0.000076398s
[ERROR] plugin/errors: 2 . NS: plugin/loop: no next plugin found
[INFO] <IP_ADDRESS>:46664 - 55158 "NS IN . udp 17 false 512" NOERROR - 0 0.000037465s
[ERROR] plugin/errors: 2 . NS: plugin/loop: no next plugin found
[INFO] <IP_ADDRESS>:41221 - 61769 "NS IN . udp 17 false 512" NOERROR - 0 0.000037325s
[ERROR] plugin/errors: 2 . NS: plugin/loop: no next plugin found
[INFO] <IP_ADDRESS>:58622 - 1452 "NS IN . udp 17 false 512" NOERROR - 0 0.000032213s
[ERROR] plugin/errors: 2 . NS: plugin/loop: no next plugin found
[INFO] <IP_ADDRESS>:52451 - 4375 "NS IN . udp 17 false 512" NOERROR - 0 0.000031436s
[ERROR] plugin/errors: 2 . NS: plugin/loop: no next plugin found
[ERROR] Recovered from panic in server: "dns://:1053"
[ERROR] Recovered from panic in server: "dns://:1053"
[ERROR] Recovered from panic in server: "dns://:1053"

helm values
nameOverride: k8s-gateway
domain: domain.tld
ttl: 1
service:
  type: LoadBalancer
  port: 53
  externalTrafficPolicy: Local
  loadBalancerIP: <IP_ADDRESS>

@jr0dd this is fixed in master and in will be in 0.2.1 later today

@jr0dd this is fixed in master and in will be in 0.2.1 later today.
thanks for reporting

Woot! That fixed it up. thanks!


Fix withValue on record column type

This PR fixes issue #87 where WithValue() wasn't unmarshaling the record.

Closes #87


Code Cleanup

There are (likely) some unused types, there's commented-out code, bad indentation or ignored linter's suggestions. Definitely the larger files, like worker.go can use a cleanup.

Hi, please assign me this issue

HEyyyyy.. can i take this issue ?

@peterjan I would like to work on this issue, assign it to me

Assigned to @ShatilKhan for now since they asked first.

@ShatilKhan @Prtm2110 @dbarnwal there is probably enough stuff for everyone if you want to divide and conquer this issue.

I've unassigned you @ShatilKhan to keep the issue open for others to contribute.


Fr/migrate to curried

I'm opening this PR as a POC to track #200
Migration list:

[x] Alt
[x] Alternative
[ ] Applicative
[ ] Apply
[ ] Array
[ ] Bifunctor
[ ] Chain
[ ] ChainRec
[x] Comonad
[ ] Console
[ ] Const
[ ] Contravariant
[ ] Either
[ ] EitherT
[ ] Exception
[ ] Extend
[x] Field
[ ] Filterable
[ ] Foldable
[ ] Free
[ ] Functor
[ ] HKT
[ ] IO
[ ] Identity
[ ] IxIO
[ ] IxMonad
[x] Monad
[x] Monoid
[ ] Monoidal
[ ] NaturalTransformation
[ ] NonEmptyArray
[ ] Option
[ ] OptionT
[x] Ord
[x] Ordering
[ ] Pair
[x] Plus
[ ] Profunctor
[x] Random
[ ] Reader
[ ] ReaderT
[x] Ring
[x] Semigroup
[x] Semigroupoid
[x] Semiring
[x] Setoid
[ ] State
[ ] StateT
[ ] Store
[ ] StrMap
[ ] Task
[ ] These
[ ] Trace
[ ] Traversable
[ ] Tuple
[ ] Unfoldable
[ ] Validation
[ ] Witherable
[ ] Writer
[ ] function

@raveclassic may I help somehow?

@gcanti Would be great! I'm a bit stuck with Functor, Applicative and Foldable, can't curry them properly, get some wierd errors about HKT

@gcanti Seems like I cannot change source branch to this repo instead of my fork. I'm going to close this in favour of another PR in this repo.


ManualValidation comments as output variable

Note
Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Feature
Enter Task Name: ManualValidation
list here (V# not needed):
https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/ManualValidationV0
Issue Description
Manual validation task provides field for comments in UI.

I would like to use this value inside next tasks/jobs/stages in pipeline.
It is not returned as output variable or it is not documented.

@ds-ms please assign it appropriately

Any update?

Yes please, it would be great to get this information, to be able to archive it in the following step.
Also, once you rerun a rejected manual validation job, the comment disappears and you can no longer read the reason as to why it got failed in the first place.

We recently moved from Classic Releases to Multi-Stage YAML pipelines in our PR workflows. Ideally, we'd like to take the comments from the Manual Validation task and write them back to the PR that triggered the pipeline if the Manual Validation was rejected.

any update on this?
i would also like this feature. Also i would like to get the user that clicked the resume button.

I too have been looking for a way to use this value in a report.
It could also help if it was exposed in a rest api against the run.

Any update on this?
We are also looking for this feature to pass the details from Manual Validation to next stage to track down every information.

I added a step to the build that uses the web api to read the details.
https://gist.github.com/wyrdfish/a68c678dc344c554ebbb69e61754993b
based on this https://blogs.blackmarble.co.uk/rfennell/getting-the-approver-for-release-to-an-environment-within-an-azure-devops-multi-stage-yaml-pipeline/

Any update? This feature would be very useful. Or any way to enter additional data during the pipeline execution.

@wyrdfish workaround is great, but the task should output at least the user and the comment.

Any Updates on this ?


Default depth doesn't apply to GQL fields

Bug Report
Setting default depth in payload config doesn't apply to relevant fields in GQL queries, like richtext or upload.
To make it work we have to explicitly set depth as a field argument on EVERY field of the relevant type. Which is lengthy and prone to forgetting when writing additional queries.
First I thought of FE solution to this, unfortunatelly I did not find any way to apply default field arguments in Apollo client.
Current Behavior
The prop doesn't alter GQL behavior.
Expected Behavior
Should apply to all gql fields that take depth field. Or introduce additional prop gqlDepth, keeping original prop applied to REST only. Any argument passed in query would override the default option.

<EMAIL_ADDRESS>

Hey @chladog thank you for the report! You're right. But I actually only see that this applies to the richText field, right? I fixed just now in that scenario. It will be released shortly in an upcoming patch version.
Thanks again!

Hi @jmikrut
perfect!
You are right, sorry I confused the topic with richtText / upload as I meant to say upload and relationship elements IN the richText.


Simple IoC Support for swaggerRouter

At the moment the swaggerRouter assumes that all required() modules are object-returns, with slots for each controller method. This means that you cannot effectively pass-in test control flags, value substitutions or pluggable modules (such as database providers).
This is leading some fairly evil brain-surgery type hacks in code that implement this, such as hooking into the controllers collection and dynamically rebuilding it with different instances loaded from different folders.

:+1:
This would allow for more flexible design patterns. However with #335, do alternatives such as sway provide such functionality?

Could folks not use sway to just build the injected value? I've submitted a PR for this feature, but didn't realise VScode accidentally checked in 3 build outputs. But it's there to see if you want to look.
Sent from my iPhone

On 4 Feb 2016, at 20:32, James Mortemore<EMAIL_ADDRESS>wrote:
This would allow for more flexible design patterns. However with #335, do alternatives such as sway provide such functionality?
—
Reply to this email directly or view it on GitHub.

IoC seems to be outside the scope of this middleware.  If we need it, I'm for it but in all honesty, swagger-router already provides a way for you to programmatically create the route handler map so for testing, you could generate this as part of your test setup.  The swagger-router documentation says that if options.controllers is an object, it will be used as the route handler mapping instead of generating one based on the on-disk controller files.
I use this exact feature in swagger-tools' router tests to simplify things.  Is this not enough?

How do you validate the real route handler calls the  right implementations from outside your app, with a dummy back end.
For any sizeable app, there's a lot more going on than just your route handler and reaching into connects brain to swap out a link in the middleware chain is fairly yucky.
Sent from my iPhone

On 5 Feb 2016, at 04:36, Jeremy Whitlock<EMAIL_ADDRESS>wrote:
IoC seems to be outside the scope of this middleware. If we need it, I'm for it but in all honesty, swagger-router already provides a way for you to programmatically create the route handler map so for testing, you could generate this as part of your test setup. The swagger-router documentation says that if options.controllers is an object, it will be used as the route handler mapping instead of generating one based on the on-disk controller files.
I use this exact feature in swagger-tools' router tests to simplify things. Is this not enough?
—
Reply to this email directly or view it on GitHub.

I'm not disagreeing, I'm just saying that this has nothing to do with Swagger so I question whether swagger-tools should be involved.
Let me look at your PR to see what it's doing so I can have a better idea of the picture.  Keep the conversation going, I'm not pushing back for anything more than to better understand so I make the right decision.

Essentially the problem I'm having is that by having the controller class effectively a parameterless singleton, you can't then readily use faked 'thing' it talks to. You can work around this by having the controller responsible for creating the dependencies - but then you end up with:

a quantity of untestable code in those real controllers
the repetition of dependency code in every controller
can't test app-level behaviour with supertest without effectively mirroring the entire server root module and surrounding code where I build up the middleware.

Does that make it a little clearer? If there's some way to achieve an equivalent outcome I missed, would appreciate the nudge in the direction. The straight up controller = require seems to be the lynchpin of the issue.
Sent from my iPhone

On 5 Feb 2016, at 05:12, Jeremy Whitlock<EMAIL_ADDRESS>wrote:
I'm not disagreeing, I'm just saying that this has nothing to do with Swagger so I question whether swagger-tools should be involved.
Let me look at your PR to see what it's doing so I can have a better idea of the picture. Keep the conversation going, I'm not pushing back for anything more than to better understand so I make the right decision.
—
Reply to this email directly or view it on GitHub.

How do you do this now?  It sounds like you have some sort of initialization process for controllers and/or route handlers.  Can I see an example?

I can't post actual examples as its work code: Ill mock an example when I'm at my desk in 90 minutes (it's 5am here ;)). The PR is basically clean-roomed at home.
The controller has code at the top that has to run creating dependencies - which has to be called, then return before the module finishes initialising. You then can't test controller because those dependencies are 'for life' and created on a path from require().
To address this you can make every method swap it's dependencies based on an externally shared state (process.env....) and go and flush the require() function internal state and cache. That was fairly evil though.
I did experiment with just hooking require() at test startup, but you find that measuring coverage with gulp-istabnbul gets very problematic because it also just flat out rewrites require to ensure the instrumented code is written, and changes paths.
Sent from my iPhone

On 5 Feb 2016, at 05:33, Jeremy Whitlock<EMAIL_ADDRESS>wrote:
How do you do this now? It sounds like you have some sort of initialization process for controllers and/or route handlers. Can I see an example?
—
Reply to this email directly or view it on GitHub.

Here's an es6'd controller, for example:
    thing-doer.js
        class ThingDoer {
            constructor(widget) {
                this.widget = widget;
            }
            handlePutWidget(req, res) {
                    if (!this.widget.exists(req.swagger.params.widgetKey.value))
                        this.widget.throb(req.swagger.params.widgetValue);
            }
        }
        module.exports = ThingDoer;

    somecontroller.js
        const ThingDoer = require('thing-doer');
        module.exports = function generator(injected) {
            return new ThingDoer(inejected.widget);
        }

With this pattern I could literally build my instances using any external IoC container (or just pass in some simple instances as keys for example). To use an IoC container, you'd pass that through as an injected property and then your generator function is actually just asking the IoC container to build your instance, instead of pulling out members - but its all application-level selectable because people can do whatever they want in their generators.

I was also going to put in some ES6 promises support, but I suspect that's possibly going to muddy the waters - for example, if my controller needed to wait for MongoDB to come up. I've worked around this by putting a 'status' operation on things, so I can test if it's up/down. That'll provide a load balancer health-test point too. Maybe one for the rewrite? :)

Why not make your controllers created via a factory?  Then async and dependencies are not an issue.  And then you could also drive the options.controllers feature of swagger-router.  Just a thought.

Hmm. Could do that doh. It'll trade in the ability to do dynamic discovery of modules though.

I'll continue to think as well.

The issue I'm having with the 'controllers' approach is that it expects inputs to be a function map of all resolved actions, so you can't just pass in a single controller and have the operations mapped to that. Effectively I need to build my instance, walk the functions, generate a map of controllerName_functionName to (req, res) => instance.functionName(req, res)
Am I missing something?

I understand but that is how the routing middleware was written.  The current approach for swagger-tools' routing middleware is to be capable of creating a route handler map based on controllers that exist in a configurable location and that export route handler functions.  But, knowing that this isn't the only pattern out there, swagger-tools also allows you to compute your own route handler map.  The goal was to make the simple case a configuration thing, or something we can figure out by convention, but still allow you to do things your own way with the chance that you could still use the routing middleware.  I don't think it works for every case out there and I'm not sure it's possible to achieve such a thing.  Here is a simplified example:
var MyController = require('./controllers/my').init(myDependencies);

app.use(middleware.swaggerRouter({
  controllers: {
    getAllUsers: MyController.getAllusers
  }
});

I'll just leave a possible solution to this issue. Needed some way to override the default controller/action routing mechanisms since this wouldn't work out in a framework I'm currently building.
Swagger routing controllers option makes it possible to pass an object that map _ to action methods, it's possible to use the Proxy pattern such that the routing is totally customised.

function controllerLoader = (controller) => {
//... locate controller module, require it, initialise it, do any custom logic.
// return new (require(locateControllerModule(controller)))(Inject Something);
};

let router = new Proxy({ }, {
    get(target, propertyKey, receiver) {
        let controllerAction = propertyKey.split('_'),
             controller = controllerLoader(controllerAction[0]);

        // return an action callback from the controller
        return controller[controllerAction[1]].bind(controller);
    }
})

// ... validate swagger document, setup middlewares
app.use(middleware.swaggerRouter({
  controllers: router
});

Hope this will be of some use.


Documentation - States content

Explain how the different states of the Utility Framework work.
Note: Add a sidebar category for "responsive layouts" and "states" links.

I'm estimating this as a 3, but it could potentially be more work than that.


Synchronisation error - Invalid or corrupted pad block

Describe the bug
Sometimes after key creation the synchronisation fails with following error:
I/flutter (30031): SEVERE|2022-10-11 02:54:02.704061|EncryptionUtil|Error while decrypting value: Invalid argument(s): Invalid or corrupted pad block
I/flutter (30031): SEVERE|2022-10-11 02:54:02.708559|NotificationServiceImpl|Failed to decryptData caused by
I/flutter (30031): Failed to decrypt @baboon9blue:@baboon9blue:shared_key@81bored7@81bored7 caused by
I/flutter (30031): Invalid argument(s): Invalid or corrupted pad block

No further indication of the error
Steps to reproduce

Create a key and put it to local storage
Have keys synchronized

Expected behavior
Keys are synchronised as they are
Screenshots
No response
Smartphones

Device: Emulator
OS: Android

Were you using an atApplication when the bug was found?
None
Additional context
No response

From the logs, the shared_key has been appended by the atsigns twice.( @baboon9blue:@baboon9blue and @81bored7@81bored7) which is incorrect.
The correct syntax of the key is as follows

Here murali is the sharedWIth atsign and sitaram is the sharedBy atsign

Root cause of the issue:
On the sender side, a sharedKey (AES key) is generated and is encrypted with the receiver's public key and the resultant which is encryptedSharedKey is notified to the receiver's atsign. On the receiver side, when a notification related to sharedKey arrives, it is treated a SharedKey and SharedKeyDecryption is performed; which means the encryptedSharedKey is decrypted with the original sharedKey which leads to the corrupted pad block error.
Below is the screenshot which show the encryptedValue and the encryptedSharedKey has a same value.

The issue is fixed and changes are merged to trunk branch

The changes are published in v3.0.42. Hence marking the issue as fixed.

Thanks @kalluriramkumar ... did you look into why the error message says Failed to decrypt @baboon9blue:@baboon9blue:shared_key@81bored7@81bored7 instead of Failed to decrypt @baboon9blue:shared_key@81bored7 ?

Thanks @kalluriramkumar ... did you look into why the error message says Failed to decrypt @baboon9blue:@baboon9blue:shared_key@81bored7@81bored7 instead of Failed to decrypt @baboon9blue:shared_key@81bored7 ?

Yes, @gkc. In the update_verb_handler.dart, we prefix and append the sharedWith and sharedBy to the key before sending the notification. So, the key in the notification looks like "@bob:phone@alice"; when logging the key, we have an atKey.toString which will again add sharedWith and sharedBy to the key. Hence the atsign's are shown twice.

Great - have you created a ticket to track fixing that bug?

Great - have you created a ticket to track fixing that bug?

I remember seeing a similar bug. I will go through the bugs list. If there is no issue, will create one and update the git issue here.

Thanks @kalluriramkumar ... did you look into why the error message says Failed to decrypt @baboon9blue:@baboon9blue:shared_key@81bored7@81bored7 instead of Failed to decrypt @baboon9blue:shared_key@81bored7 ?

Created a git issue to the bug: https://github.com/atsign-foundation/at_client_sdk/issues/772

Closing this ticket as fixed. There is another issue with decryption reported by @ralfeus which I will be looking into this week


PROV: check for memory allocation failure in digest _dupctx.

Fixes #10481

There is one more of this pattern in sha3_prov.c

Thanks @slontis, I've added a fix for that one.
Re-review needed @levitte.

Done

Merged to master.  Thanks all.


Not showing up in com.google.android.gms:play-services-oss-licenses

HI Great Library
This is not showing up in com.google.android.gms:play-services-oss-licenses
Please fix.
Thxs in advance.

This is most likely because this library did not set its license metadata correctly.
My PR #755 should have fixed this, but there was no new release in the meantime. I'm currently facing the same problem and would suggest to just release a new minor version with just the updated license information in place.

We moved to TouchImageView as a drop-in replacement. No regrets so far.


Can create AHTabBarController without storyboard

Shouldn’t break code for existing implementations.  Opens up a way to
override the default storyboard implementation in AHTabBarController by
overriding viewControllerForSubItem returning a view controller created
in code.
Let me know if you have suggestions for a more appropriate implementation.

Thanks for taking the time and providing some code for supporting view controllers from code. As you said you've created an AHTabBarController subclass for implementing this functionality, but it would be much better if this could be implemented directly into the AHTabBarController class.
I propose creating an AHTabBarControllerDelegate which contains the method -viewControllerForIdentifier: which a class like the AppDelegate could implement so that the developer can return his/her own view controllers.


SCV Telephony-Provider-Name header on requests to Salesforce

According to Salesforce’s documentation, we’re supposed to include a Telephony-Provider-Name in the headers of requests to Salesforce for SCV.
Check the following documentation:
https://developer.salesforce.com/docs/atlas.en-us.voice_developer_guide.meta/voice_developer_guide/voice_rest_voicecalls_create.htm
This hasn’t manifested as a problem, yet, everything seems to be working just fine without the header.
What's the impact of adding the Telephony-Provider-Name header and what value does it expect. Is there any list of allowed telephony provider names that we can reference?

There is no impact on your end, it's just used for internal purposes. You can use any value as long as it's consistent (a good option is the salesforce domain name)


Use minimal config and fix finality check

What was wrong?
finality is not reached in test_demo.py
How was it fixed?
Use minimal config and fix finality check in test_demo.py
To-Do

[ ] Clean up commit history

[ ] Add entry to the release notes

Cute Animal Picture

for the record, we do not check any justification and finality during epochs (written as offsets from GENESIS_EPOCH) 0 or 1. we do check for justification and finality from epoch 2 onward.
in epoch 2, we justify the current epoch. this epoch is in fact finalized but we do not recognize it in the protocol due to an artifact of the construction of the genesis state (using the "zero" value for Checkpoint type).
in epoch 3, we have the previous justified checkpoint at the prior current justified checkpoint (so GENESIS_EPOCH + 2) and we justify this current epoch. we check finality here and see that we finalize the prior justified checkpoint at epoch 2.
given the way we handle epoch processing (i.e. process a given epoch at the start of the next epoch), we need to transition through 4 * SLOTS_PER_EPOCH worth of slots to include the processing of epoch 3.


Add ci

This PR adds a ci stage for linting and building on main and pull requests, similar to https://github.com/GalactechsLLC/dg_fast_farmer/pull/7
Note: the macos build fails, this is addressed in a followup pr: https://github.com/GalactechsLLC/dg_xch_utils/pull/26

#26 was already merged, which included this commit


Short title for running head?

I'm using the new style files for a paper with a long title.  The way the example is set up, it tries to put the long title in the running head, where it doesn't fit.
Perhaps in ex_shared.tex we should illustrate this by adding:
% Replace \TheTitle by shorter version if full title is too long for running header:
\newcommand{\ShortTitle}{\TheTitle}

% Sets running headers as well as PDF title and authors
\headers{\ShortTitle}{\TheAuthors}

This comment was helpful for me. I think it would be great to add it to ex_shared.tex


No syntax error highlighting

Environment data
dotnet --info output:
.NET SDK:
 Version:           8.0.101
 Commit:            6eceda187b
 Workload version:  8.0.100-manifests.2fd734c4

Runtime Environment:
 OS Name:     arch
 OS Version:
 OS Platform: Linux
 RID:         arch-x64
 Base Path:   /usr/share/dotnet/sdk/8.0.101/

.NET workloads installed:
 Workload version: 8.0.100-manifests.2fd734c4
There are no installed workloads to display.

Host:
  Version:      8.0.1
  Architecture: x64
  Commit:       bf5e279d92

.NET SDKs installed:
  8.0.101 [/usr/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.NETCore.App 8.0.1 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  Not set

global.json file:
  Not found

VS Code version:v1.86.2
C# Extension version:v2.15.30 (Newer versions don't work  #6842  )
Expected  behavior
Underline errors
Actual behavior
No visible response on error
(Installed from .vsix btw https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-dotnettools/vsextensions/csdevkit/1.4.2/vspackage?targetPlatform=linux-x64)
C# Extension output (Trace level)
Dotnet path: /usr/share/dotnet/dotnet
Activating C# + C# Dev Kit...
Starting server at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.LanguageServer
Server arguments --logLevel Trace --extension /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslynDevKit/Microsoft.VisualStudio.LanguageServices.DevKit.dll --sessionId f326ecb8-a883-4f07-aab6-9545d001cfd2 --telemetryLevel off --extensionLogDirectory /home/dkfl/.config/Code - OSS/logs/20240223T142752/window1/exthost/ms-dotnettools.csharp
waiting for named pipe information from server...
[stdout] trce: Program[0]
      .NET Runtime Version: .NET 8.0.1
[stdout] dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.ExternalAccess.AspNetCore.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.Razor.Compiler.Mvc.Version2_X.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler.dll added to workspace.
[stdout] dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.CSharp.Workspaces.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.Scripting.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.Elfie.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.Razor.Compiler.Mvc.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.Razor.Compiler.CSharp.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.CSharp.Features.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.AnalyzerUtilities.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.Features.dll added to workspace.
[stdout] dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.Workspaces.MSBuild.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.Razor.Compiler.Mvc.Version1_X.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.Razor.Compiler.Language.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.CSharp.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.Remote.Workspaces.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
      Solution-level analyzer at /home/dkfl/.vscode-oss/extensions/ms-dotnettools.csharp-2.15.30/.roslyn/Microsoft.CodeAnalysis.Workspaces.dll added to workspace.
[stdout] {"pipeName":"/tmp/756039a5.sock"}
received named pipe information from server
attempting to connect client to server...
client has connected to server
[Info  - 2:33:48 PM] [Program] Language server initialized
[LanguageServerHost] [01:33:48.163][Start]initialize
[LanguageServerHost] [01:33:48.259][End]initialize
[LanguageServerHost] [01:33:48.263][Start]initialized
[LanguageServerHost] [01:33:48.337][End]initialized
[LanguageServerHost] [01:33:48.338][Start]textDocument/didOpen
[LanguageServerHost] didOpen for untitled:Untitled-1
[LanguageServerHost] [01:33:48.347][End]textDocument/didOpen
[LanguageServerHost] Could not find 'untitled:Untitled-1'.  Searched Host
[LanguageServerHost] [01:33:48.409][Start]textDocument/diagnostic
[LanguageServerHost] PublicDocumentPullDiagnosticsHandler(category: , source: ) started getting diagnostics
[LanguageServerHost] previousResults.Length=0
[LanguageServerHost] Processing 1 documents
[LanguageServerHost] [01:33:48.424][Start]workspace/diagnostic
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:48.426][Start]textDocument/codeAction
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:48.426][Start]textDocument/inlayHint
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:48.427][Start]textDocument/semanticTokens/range
[LanguageServerHost] PublicWorkspacePullDiagnosticsHandler(category: , source: ) started getting diagnostics
[LanguageServerHost] previousResults.Length=0
[LanguageServerHost] Processing 0 documents
[LanguageServerHost] Closing workspace/diagnostics request
[LanguageServerHost] Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicWorkspacePullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost] [01:33:48.451][End]workspace/diagnostic
[LanguageServerHost] [01:33:48.458][End]textDocument/inlayHint
[LanguageServerHost] Found 0 diagnostics for DocumentDiagnosticSource: untitled:Untitled-1 in Miscellaneous Files
[LanguageServerHost] Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost] [01:33:48.549][End]textDocument/diagnostic
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:48.595][Start]textDocument/foldingRange
[LanguageServerHost] [01:33:48.635][End]textDocument/foldingRange
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:48.664][Start]textDocument/codeLens
[LanguageServerHost] [01:33:48.678][End]textDocument/codeLens
[LanguageServerHost] [01:33:48.707][End]textDocument/semanticTokens/range
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:48.719][Start]textDocument/inlayHint
[LanguageServerHost] [01:33:48.720][End]textDocument/inlayHint
[LanguageServerHost] [01:33:48.763][End]textDocument/codeAction
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:48.834][Start]textDocument/semanticTokens/range
[LanguageServerHost] [01:33:48.839][End]textDocument/semanticTokens/range
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:49.063][Start]codeLens/resolve
[LanguageServerHost] [01:33:49.063][Start]codeLens/resolve
[LanguageServerHost] codeLens/resolve - Canceled
[LanguageServerHost] [01:33:49.124][End]codeLens/resolve
[LanguageServerHost] codeLens/resolve - Canceled
[LanguageServerHost] [01:33:49.131][End]codeLens/resolve
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:49.160][Start]textDocument/inlayHint
[LanguageServerHost] [01:33:49.160][End]textDocument/inlayHint
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:49.264][Start]textDocument/semanticTokens/range
[LanguageServerHost] [01:33:49.265][End]textDocument/semanticTokens/range
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:49.490][Start]textDocument/codeLens
[LanguageServerHost] [01:33:49.492][End]textDocument/codeLens
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:50.084][Start]codeLens/resolve
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:50.084][Start]codeLens/resolve
[LanguageServerHost] [01:33:50.168][End]codeLens/resolve
[LanguageServerHost] [01:33:50.204][End]codeLens/resolve
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:50.373][Start]textDocument/inlayHint
[LanguageServerHost] [01:33:50.374][End]textDocument/inlayHint
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:50.416][Start]textDocument/diagnostic
[LanguageServerHost] PublicDocumentPullDiagnosticsHandler(category: , source: ) started getting diagnostics
[LanguageServerHost] previousResults.Length=1
[LanguageServerHost] Processing 1 documents
[LanguageServerHost] Diagnostics were unchanged for DocumentDiagnosticSource: untitled:Untitled-1 in Miscellaneous Files
[LanguageServerHost] Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost] [01:33:50.430][End]textDocument/diagnostic
[LanguageServerHost] [01:33:50.456][Start]workspace/diagnostic
[LanguageServerHost] PublicWorkspacePullDiagnosticsHandler(category: , source: ) started getting diagnostics
[LanguageServerHost] previousResults.Length=0
[LanguageServerHost] Processing 0 documents
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:50.798][Start]textDocument/codeLens
[LanguageServerHost] [01:33:50.800][End]textDocument/codeLens
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:51.363][Start]codeLens/resolve
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:51.364][Start]codeLens/resolve
[LanguageServerHost] [01:33:51.367][End]codeLens/resolve
[LanguageServerHost] [01:33:51.368][End]codeLens/resolve
[LanguageServerHost] [01:33:58.787][Start]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] [01:33:58.792][End]workspace/buildOnlyDiagnosticIds
[LanguageServerHost] untitled:Untitled-1 found in workspace MiscellaneousFiles
[LanguageServerHost] [01:33:58.945][Start]textDocument/diagnostic
[LanguageServerHost] PublicDocumentPullDiagnosticsHandler(category: , source: ) started getting diagnostics
[LanguageServerHost] previousResults.Length=1
[LanguageServerHost] Processing 1 documents
[LanguageServerHost] Diagnostics were unchanged for DocumentDiagnosticSource: untitled:Untitled-1 in Miscellaneous Files
[LanguageServerHost] Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost] [01:33:58.946][End]textDocument/diagnostic

@dkflRus it looks like there isn't a project / solution being loaded.  Since you're using C# devkit, can you check that the solution explorer shows your project being loaded?

If there is nothing there, can you open a project / solution manually via the open solution command?

Additionally the devkit logs would be useful here

Contents of the 'C# DevKit' output window
Contents of the 'Projects' output window (if any)

Closing, this is not actionable without the additional information requested.


"pachctl deploy storage" requires pachd restart to be effective

What happened?:
I performed a pachctl deploy storage to add credentials to ingress and egress from an S3 bucket.  I attempted to put a file into a repo from an S3 bucket and I got the error message "amazon-region not found".
I deleted the pachd pod, the replication controller restarted it, and then I was able to access storage.
What you expected to happen?:
I expected the deploy storage would do the restart for me.
How to reproduce it (as minimally and precisely as possible)?:

deploy some storage credentials.
put a file from a bucket accessible from those credentials
Watch it fail with "amazon-region not found"
Kill the pachd pod and let it restart
put the file again, watch it succeed.

Anything else we need to know?:
This may just be a doc bug; if we make it clear in the doc that pach must be restarted that may be all that's necessary.
Environment?:

Kubernetes version (use kubectl version): docker-for-desktop
Pachyderm CLI and pachd server version (use pachctl version): 1.9.3
Cloud provider (e.g. aws, azure, gke) or local deployment (e.g. minikube vs dockerized k8s): docker-for-desktop
OS (e.g. from /etc/os-release):macos
Others:

@svekars note doc aspects.  I can show you where in the source to change this, if you'd like to...

Dupe of #2678

Ah, we should note the wait period in docs, or recommend killing the pod. That may be why I never noticed it before.

@pappasilenus where in the docs is the appropriate place to add this?

After discussing this with @pappasilenus, it seems like this should be a part of a section that describes how to transition from a local test cluster to a production deployment. The instructions need to explain how to use the backup and restore/extract to move your cluster to production. The same credentials must be used for all buckets. A use case with a multi-cloud option that presumes that you might be running Pachyderm in let's say an AWS environment while consuming the data from an S3 storage from another provider must be described as well.

This no longer relevant since pachctl deploy has been deprecated.


Build and Travis are failing!

Could someone tell me, why build and travis are failing for last couple of pull requests??
Thanks in advance.

It works now!

@davscro we fixed it yesterday 👍

hei @timneutkens
thank you, cheers. 🍻


updating niworkflows to 0.3.1

Getting a weird error
Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.6/site-packages/sphinx/cmdline.py", line 306, in main
    app.build(opts.force_all, filenames)
  File "/usr/local/miniconda/lib/python3.6/site-packages/sphinx/application.py", line 339, in build
    self.builder.build_update()
  File "/usr/local/miniconda/lib/python3.6/site-packages/sphinx/builders/__init__.py", line 329, in build_update
    'out of date' % len(to_build))
  File "/usr/local/miniconda/lib/python3.6/site-packages/sphinx/builders/__init__.py", line 342, in build
    updated_docnames = set(self.env.update(self.config, self.srcdir, self.doctreedir))
  File "/usr/local/miniconda/lib/python3.6/contextlib.py", line 89, in __exit__
    next(self.gen)
  File "/usr/local/miniconda/lib/python3.6/site-packages/sphinx/util/logging.py", line 240, in pending_warnings
    memhandler.flushTo(logger)
  File "/usr/local/miniconda/lib/python3.6/site-packages/sphinx/util/logging.py", line 206, in flushTo
    logger.handle(record)
  File "/usr/local/miniconda/lib/python3.6/logging/__init__.py", line 1447, in handle
    self.callHandlers(record)
  File "/usr/local/miniconda/lib/python3.6/logging/__init__.py", line 1509, in callHandlers
    hdlr.handle(record)
  File "/usr/local/miniconda/lib/python3.6/logging/__init__.py", line 854, in handle
    rv = self.filter(record)
  File "/usr/local/miniconda/lib/python3.6/logging/__init__.py", line 713, in filter
    result = f.filter(record)
  File "/usr/local/miniconda/lib/python3.6/site-packages/sphinx/util/logging.py", line 380, in filter
    raise SphinxWarning(location + ":" + message)
sphinx.errors.SphinxWarning: /root/src/fmriprep/docs/usage.rst:38:Failed to import "get_parser" from "fmriprep_docker"

Not sure how this could be related to minor update to niworkflows. Ideas?


No JSON object could be decoded

Hello, i'm using youtube-dl with SinusBot.
Version - 2<IP_ADDRESS>
I've got errors when trying to play some music from music.yandex.ru
2015-11-30T00:14:53+03:00 youtube-dl[err] ERROR 2663612: Failed to parse JSON (caused by ValueError('No JSON object could be decoded',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
2015-11-30T00:14:03+03:00 youtube-dlquit
2015-11-30T00:14:03+03:00 youtube-dl[err] ERROR 18061610: Failed to parse JSON (caused by ValueError('No JSON object could be decoded',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
2015-11-30T00:07:50+03:00 youtube-dlquit
2015-11-30T00:07:50+03:00 youtube-dl[err] ERROR 18061610: Failed to parse JSON (caused by ValueError('No JSON object could be decoded',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
2015-11-30T00:07:31+03:00 youtube-dlquit
2015-11-30T00:07:31+03:00 youtube-dl[err] ERROR 3931702: Failed to parse JSON (caused by ValueError('No JSON object could be decoded',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Log from sinusbot (with links of resources):
2015-11-30T00:18:04+03:00 TS |INFO |ClientUI |1 |Ignored text message by V-S Music Bot: Downloading https://music.yandex.ru/users/music.partners/playlists/1245
2015-11-30T00:18:04+03:00 PRIVATE-CHAT [V-S Music Bot] Downloading https://music.yandex.ru/users/music.partners/playlists/1245
2015-11-30T00:18:04+03:00 CHAT 1 [support @ TS3 Support [Voice-Server.ru]] < !yt [URL]https://music.yandex.ru/users/music.partners/playlists/1245[/URL] > / OK
2015-11-30T00:18:04+03:00 PRIVATE-CHAT [TS3 Support [Voice-Server.ru]] !yt [URL]https://music.yandex.ru/users/music.partners/playlists/1245[/URL]
2015-11-30T00:18:04+03:00 TS |INFO |ClientUI |1 |Ignored text message by TS3 Support [Voice-Server.ru]: !yt [URL]https://music.yandex.ru/users/music.partners/playlists/1245[/URL]
2015-11-30T00:14:52+03:00 TS |INFO |ClientUI |1 |Ignored text message by V-S Music Bot: Downloading https://music.yandex.ru/album/2663612
2015-11-30T00:14:52+03:00 PRIVATE-CHAT [V-S Music Bot] Downloading https://music.yandex.ru/album/2663612
2015-11-30T00:14:52+03:00 CHAT 1 [support @ TS3 Support [Voice-Server.ru]] < !yt [URL]https://music.yandex.ru/album/2663612[/URL] > / OK
2015-11-30T00:14:52+03:00 PRIVATE-CHAT [TS3 Support [Voice-Server.ru]] !yt [URL]https://music.yandex.ru/album/2663612[/URL]
2015-11-30T00:14:52+03:00 TS |INFO |ClientUI |1 |Ignored text message by TS3 Support [Voice-Server.ru]: !yt [URL]https://music.yandex.ru/album/2663612[/URL]

This is not SinusBot issue tracker. Read bug report guideline and open a new issue with all the required information.

and this is not sinusbot problem - this is youtube-dl problem


Why is Jquery always loaded?

I wasn't able to find anything in documentation concerning the addition of the Jquery script tag when loading static HTML files. Perhaps I missed something, or this is the wrong place to address the issue. Currently in version 4.14.0 this script tag is always added. Consider this example:
var express = require('express')
var http = require('http')
var app = express()
var server = http.createServer(app)
app.get('/test', function(req, res){
	res.sendFile(__dirname+'/test.html') })
server.listen(8080)

test.html:
t

When requesting http://localost:8080/test the HTML is turned into
t

any thoughts on what I may have missed and how to change this so that jquery is not automatically loaded?

It's not related to Express - Express is only running on the server-side and won't change your HTML. You can check the network requests to verify. I'd guess you have a browser plugin injecting it. Can you check if it appears on other pages?

maybe it`s from chrome plugins

digging into this and yes, I'm suspecting it's something with firefox. Installing a different browser now to confirm

@blakeembrey it's on other pages. So this is an issue with a browser plugin. Sorry for the distraction. Thanks for the help


autoware units

Please, I would like to confirm the units system used in Autoware. Is it the SI units system (meters, gradians) ?
Regards.

@dlounis Autoware uses meters for length and radians for angles.


Added additional logisticaix360 wrappers in the existing lale codebase

Created additional Logisticaix360 , added  notebook comparing the Prejudice remover|Logistic regression| Logisticaix360 notebook and added  testcases .

It looks to me like this PR is for the same thing as PR #860 so I suggest keeping only the one that you might finish and closing the other one.

Duplicate PR


Where are advanced scripting code and BPA rules stored

I will be getting a new PC soon (switching companies) and have lots of custom code snippets and BPA rules set up.  Is it correct that the JSON files in the folder: Local Disk --> Users --> me --> AppData --> Local --> TabularEditor are the ones I should backup so I can quickly get set up on my new machine?

Correct, this is documented here: https://docs.tabulareditor.com/Best-Practice-Analyzer.html#best-practice-analyzer


Update request: discourse 3.2.0-beta1 → 3.2.0

Package name: discourse
Latest released version: 3.2.0
Current version on the unstable channel: 3.1.0
Current version on the stable/release channel: 3.2.0-beta1
[x] Checked the nixpkgs pull requests

Notify maintainers
@talyz
https://meta.discourse.org/t/discourse-version-3-2/278584

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

PR downgrading to 3.1.0: https://github.com/NixOS/nixpkgs/pull/291587

Updated in #299269


bug when removing and flipping glyph-level measurements

in the Measurements tool, when flipping or removing glyphs, the list reverts back to its preview state
probable cause: the internal cache dict is not being updated

fixed in 47c64e52446532b5bf8cdd15c68c4e8b482e6ecb


License

Hello.
Thank you for providing this implementation.
Could you add the license under which the code is published?
Looking forward to your reply!

Thank you for adding the license!


add ROS Sugar package to rosdistro

Please add sugar to be indexed in the rosdistro
Package name:
sugar
Package Upstream Source:
https://github.com/automatika-robotics/ros-sugar.git
Purpose of using this:
sugar  is a meta-framework that provides a whole lot of syntactic sugar for creating event-driven multinode systems in ROS2, using an intuitive Python API
Checks

[x] All packages have a declared license in the package.xml
[x] This repository has a LICENSE file
[x] This package is expected to build on the submitted rosdistro

Iron Irwini is already in its final sync hold

Thanks @sloretz, I removed the package from Iron's distribution

@clalancette , I updated the package name as suggested

New package review:

[x] At least one of the following must be present

[x] Top level license file: https://github.com/automatika-robotics/ros-sugar/blob/main/LICENSE

[x] License is OSI-approved: MIT
[x] License correctly listed in package.xmls

[x] automatika_ros_sugar: https://github.com/automatika-robotics/ros-sugar/blob/main/package.xml#L9 @mkabtoul the license field is usually an SPDX license identifier rather than a Copyright declaration as well.

[x] Public source repo: https://github.com/automatika-robotics/ros-sugar/tree/main
[x] Source repository contains ROS packages and each package meets REP-144 naming conventions

[x] automatika_ros_sugar


Update upgrading-log-shipping-to-sql-server-2016-transact-sql.md

Missing space between Server and service.

@NuNn-DaDdY : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@jborsecnik : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Confirmed correction; thanks!


[Android] ExoPlayer audio continues playing after Video component is unmounted

Bug
[ExoPlayer Only] When the Video component gets re-mounted, it's possible that the previously destroyed video player is still playing audio. Can be reproduced in 5.2.0, 5.2.1 and 6.0.0-alpha.
Using the old Android MediaPlayer is fine.
Platform
Android ExoPlayer
Environment info
React native info output:
System:
    OS: macOS 12.6
    CPU: (10) arm64 Apple M1 Pro
    Memory: 104.66 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v16.14.0/bin/yarn
    npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.2 - /opt/homebrew/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1
    Android SDK:
      API Levels: 30, 31, 32
      Build Tools: 30.0.2, 30.0.3, 31.0.0, 32.0.0, 32.1.0
      System Images: android-30 | Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play ARM 64 v8a, android-32 | Google APIs ARM 64 v8a
      Android NDK: Not Found
  IDEs:
    Android Studio: 2021.1 AI-211.7628.21.2111.8193401
    Xcode: 14.1/14B47b - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.15 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.1.0 => 18.1.0
    react-native: 0.70.4 => 0.70.4
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Library version: 5.2.0 (Can also be reproduced in 5.2.1 and 6.0.0-alpha)
Steps To Reproduce

Clone https://github.com/mk-nickyang/react-native-video-exoplayer-zombie-audio
Follow README to set up the repo and ExoPlayer
3 seconds after the video starts playing, setKey will force <Video> component to re-mount, listen for duplicate audio streams
Press the 'Unmount' button to unmount  component and observe how audio steam is still playing despite there being no active video player

Expected behaviour
No lingering audio after the Video component is unmounted
Reproducible sample code
https://github.com/mk-nickyang/react-native-video-exoplayer-zombie-audio
Video sample (volume up)
https://user-images.githubusercontent.com/29244509/200119368-6f2ca051-c556-435c-b9a5-2aa3651d4898.mov

I have fixed with this component:
import React from 'react'
import RNVideo from 'react-native-video'

let ref: RNVideo | null

const Video = (props: RNVideo['props']) => {
  return <RNVideo
    ref={r => {
      if (!r) {
        // @ts-ignore setNativeProps does not exist on 'Video' .. but it does!
        if (ref?.setNativeProps) ref.setNativeProps({ paused: true })
      } else {
        ref = r
      }
    }}
    {...props}
  />
}

export default Video

Any new issues ?
We still have the bug of the audio still playing even though the player component is well unmounted on the js side.

Seeing this one as well on 5.2.1 and 6.0.0-beta.3

this patch should fix the issue: https://github.com/react-native-video/react-native-video/pull/3629

I tried to reproduce it on emulator, I didn't reproduce the issue.
To be retested with 6.0.0-beta.7


fit_to_quantile legend

Hi,
I just changed the legend for the time when the user specifies kword fit_to_quantiles=True, so it is explicit in the fit now.
See example results.
Default:

QQ in the legend (also regression changes, of course):

The tests are failing (in my laptop) because of some dask stuff, even in the master, but has no relation with this change.
This is just a change in a string.


Add HashiCorp Sentinel syntax highlighter

Could you add https://marketplace.visualstudio.com/items?itemName=hashicorp-sentinel.sentinel to the list of extensions discoverable from inside this tool?

Adding now.

Added!

Awesome.  Thanks @kylecarbs

However, when I tried installing it into my local VCScode editor, I got this message:
"Unable to install 'hashicorp-sentinel.sentinel' extension because it is not compatible with the current version of VS Code (version 1.41.1)"
Would that be because it is only available in newer versions based on how you added it?  or because of the version that the author (one of my co-workers) used when building it?

Seems like it has a minimum version requirement: https://github.com/glenngillen/vscode-sentinel/blob/master/package.json#L9
Try using the latest v3.0.0 prerelease, and you should be good!

My colleague who created the extension changed the min version to 1.41.0.  My lab environment is using 1.41.1, but I still see the same warning.  Is it possible that you need to add his extension back after he modified it so that it will allow 1.41.0?

Yup! I'll try updating it now.

Just re-added it. Should be good to go!

That did the trick.  Thanks so much @kylecarbs
By the way, I live in a neighborhood in Westchester, NY with a Carberry family.  wonder if you're related to them?

Haha unlikely. I'm from Saskatchewan, Canada and so is most of my family (to my knowledge). 😄


"No such file or directory" on installation

When I run http://mydomain/install.php and I hit install I get:
No such file or directory
Is this known as there is no PHP-error shown it's Jquery.
Thanks!

Are you shure that you have copied the complete folder and not only install.php?
If so, can you please supply a log of the requests done to the server. You can export this e.g. from the developer options of firefox.

Yes all files are copied.
I just see a post and that is about it, need to check what I see more.

OK  I checked and I only see thr JSON post and that's it... all info is there, I'm not sure where it goes wrong.
On the stable version, this is master, I got this with mysqli enabled:
PHP Fatal error:  Call to a member function bind_param() on a non-object in /var/www/html/api/install.php on line 126

What is the HTTP return code of the POST request?
You should probably use the stable version. But current stable 1.2.1 should currently be the same as master.
What is you Operating System, and which versions of PHP and MySQL do you use?

I just get back this:
{"status":"error","message":"No such file or directory"}
PHP 5.5.9-1ubuntu4.19 (cli) (built: Jul 28 2016 19:31:33)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
mysql  Ver 14.14 Distrib 5.5.43, for debian-linux-gnu (x86_64) using readline 6.3

This seems to be a problem with your setup of mysql. Have you moved the location of the mysql socket? Then you should also reflect this change in the php config.
You can also try not to use localhost as Hostname but <IP_ADDRESS> to force php to use a tcp connection instead of unix domain.

It's just a working setup where I used dnsshop before, this used localhost also.
I have apt-get upgrade the whole box and now get again:
PHP Fatal error:  Call to a member function bind_param() on a non-object in /var/www/html/api/install.php on line 126,
Same issue happens with <IP_ADDRESS>

Are you familiar with PHP?
You can add an additional debug output on api/install.php at line 117. This is the place where I assume your error occurs, as this is the only place an error message is added to the result JSON.
In line 113 is the initialization of the MySQL connection, which uses the parameters  supplied in the POST reqest.

OK, my fault it was a create permssion error for tables.
It might be nice to add such rights check.


tf.reshape() of a tensor with an unknown dimension (None) does not seem to work

What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
https://github.com/fchollet/keras/issues/4302
Environment info
Operating System: Mac (CPU)
If installed from binary pip package, provide:

A link to the pip package you installed:
The output from python -c "import tensorflow; print(tensorflow.__version__)".
0.12.1

If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)
`input = tf.placeholder(dtype=tf.float32, shape=(None, 2, 3))
input_flattened = tf.reshape(input, shape=[input.get_shape()[0].value, -1])
with tf.Session() as sess:
init = tf.global_variables_initializer()
sess.run(init)
input_val, input_flattened_val =
sess.run([input, input_flattened], feed_dict={input: np.random.random(24).reshape(4, 2, 3)})
print input_val
print input_flattened_val`
TypeErrorTraceback (most recent call last) in ()
1 input = tf.placeholder(dtype=tf.float32, shape=(None, 2, 3))
----> 2 input_flattened = tf.reshape(input, shape=[input.get_shape()[0].value, -1])
3
4 with tf.Session() as sess:
5     init = tf.global_variables_initializer()
/Users/adeoras/tensorflow/lib/python2.7/site-packages/tensorflow/python/ops/gen_array_ops.pyc in reshape(tensor, shape, name)
2446   """
2447   result = _op_def_lib.apply_op("Reshape", tensor=tensor, shape=shape,
-> 2448                                 name=name)
2449   return result
2450
/Users/adeoras/tensorflow/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.pyc in apply_op(self, op_type_name, name, **keywords)
491           except TypeError as err:
492             if dtype is None:
--> 493               raise err
494             else:
495               raise TypeError(
TypeError: Expected binary or unicode string, got None
What other attempted solutions have you tried?
None
Logs or other output that would be helpful
(If logs are large, please upload as attachment or provide link).

tf.reshape takes a tensor of ints as the shape argument.  You are passing None, so it doesn't work.  Maybe you want to replace x.get_shape()[0] with tf.shape(x)[0]?

Does that mean doing reshaping with variable batch size is not possible then? Often I have input of shape [None, other_dims] and if I want to reshape the "other_dims" into a different shape I cannot do it?

tf.shape(x)[0] gives a scalar tensor with the variable batch size.  Try passing it to reshape.

using tf.shape(x) worked for me! Thanks.

It is also possible to use tf.stack to convert a list into a tensor

I have successfully used tf.shape()[0] to flat a  tensor with  none dim  as a vector, thanks

tensor_vector = tf.reshape(tensor=some_tensor, shape=(-1, tf.shape(some_tensor)[1]*tf.shape(some_tensor)[2])

however , I want to connect a full connected layer behind the  tensor_vector, so I have to define the weight matrix's shape, then the contradiction is occurred ,because when I　using the wshape = (tf.shape(some_tensor)[1] *tf.shape(some_tensor)[２] , 1000) to define the weight matrix , the error is that the dim of the weight matrix must be an integer not a tensor,  however ,the dim I have to use tf.shape(some_tensor) to get which is a tensor ,so ,how can I　solve it ?

Group normalization in keras with tf backend need to handle the reshape consists of None dimension.

tf.reshape takes a tensor of ints as the shape argument. You are passing None, so it doesn't work. Maybe you want to replace x.get_shape()[0] with tf.shape(x)[0]?

Thanks a lot. tf.shape() works for me

def generator(x):
  weights['gen_inp'] = tf.Variable(xavier_init([100, 256]))
  bias['gen_inp'] = tf.Variable(xavier_init([256]))

  inp = tf.nn.relu(tf.add(tf.matmul(x, weights['gen_inp']), bias['gen_inp']))
  print(inp.shape,)

  inp = tf.reshape(inp, shape=tf.TensorShape([tf.shape(inp)[0], 16, 16, 1]))

  conv_1 = tf.nn.relu(gen_new_conv_layer(x, num_input_channels = 1, filter_size = 4,\
                                     num_filters = 1024, name='gen_conv_1', weights_dict = weights, bias_dict = bias))

  conv_2 = tf.nn.relu(gen_new_conv_layer(conv_1, num_input_channels = 1024, filter_size = 8,\
                                     num_filters = 512, name='gen_conv_2', weights_dict = weights, bias_dict = bias))

  conv_3 = tf.nn.relu(gen_new_conv_layer(conv_2, num_input_channels = 512, filter_size = 16,\
                                     num_filters = 256, name='gen_conv_3', weights_dict = weights, bias_dict = bias))

  conv_4 = tf.nn.relu(gen_new_conv_layer(conv_3, num_input_channels = 256, filter_size = 32,\
                                     num_filters = 128, name='gen_conv_4', weights_dict = weights, bias_dict = bias))

  gen_output = tf.nn.tanh(gen_new_conv_layer(conv_4, num_input_channels = 128, filter_size = 64,\
                                         num_filters = 3, name='gen_conv_5', weights_dict = weights, bias_dict = bias))

  return gen_output

z_input = tf.placeholder(tf.float32, [None, z_noise_dim], name='NoiseInput')
x_input = tf.placeholder(tf.float32, [None, img_wid, img_hei, input_channels], name='RealInput')

with tf.name_scope('Generator') as scope:
  output_gen = generator(z_input)

is giving error as,
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-27-27084685abe1> in <module>()
     48
     49 with tf.name_scope('Generator') as scope:
---> 50   output_gen = generator(z_input)

4 frames
/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/tensor_shape.py in __init__(self, value)
    191       raise TypeError("Cannot convert %s to Dimension" % value)
    192     else:
--> 193       self._value = int(value)
    194       if (not isinstance(value, compat.bytes_or_text_types) and
    195           self._value != value):

TypeError: int() argument must be a string, a bytes-like object or a number, not 'Tensor'


update filename_format ProfilerMiddleware

there is a error when formating string(default-file-name),  like this:
Traceback (most recent call last):
  File "werkzeug/middleware/profiler.py", line 119, in __call__
    time=time.time()
ValueError: Unknown format code 'd' for object of type 'float'

fixes #1511

I messed up and didn't notice that you'd committed to your master branch. Try to avoid doing that, as any pushes I make as maintainer will mess up your repo. You'll want to delete your fork and recreate it if you want to contribute again.
I'll create a separate PR with your commits, so you'll still get the credit for this.


feat(recent-searches): support search and templating

This PR is a new architecture of our Plugins API and of the Recent Searches Plugin that allows search and templating in the Recent Searches plugins. It also unlocks different Autocomplete use cases (same-page experience and redirect-page experience), as well as hooking other storages to Recent Searches.
Features
Storage abstraction
The storage is now abstracted and the Local Storage becomes one implementation that we support.
In the long run, we want to supported other storages to be able to sync Recent Searches on different devices (desktop, laptop, mobiles, etc.).
There's no conditional in the plugin itself, because the storage drives which items are returned. We therefore share a single plugin implementation for all plugins, only the storage differs.
Searching in Recent Searches
This new storage abstraction has allowed to export two distinct plugins:

createLocalStorageRecentSearchesPlugin: the plugin that we've known so far. It displays Recent Searches on empty query, and nothing when there's a query.
createSearchableLocalStorageRecentSearchesPlugin: the plugin that also display Recent Searches when there's a query, and searches in them. The search is currently only a startsWith check and doesn't support highlighting.

Again, the only difference between this two plugins are the storage implementation.
Shared limit between Recent Searches and Query Suggestions
The way results are shared between Recent Searches and Query Suggestions got more clever. They're now supporting "grouping limit".  I created a Data Plugin API called getQuerySuggestionsHitsPerPage that allows to retrieve a number of "RS + QS" hitsPerPage value.
This feature avoid jumping UI and provides a seamless RS + QS integration:

Templating
Since the logic about conditional displaying in now only on the storage, we can share templating options to all kinds of Recent Searches plugin.
We now support a getTemplates API that allows to override the template displayed by the plugin. This getTemplates API is used internally to provide the default template. The prop onRemove is passed so that our logic remains internal and doesn't leak (reminder: internally, it calls store.remove and refresh).
Here's a preview using Preact:
 const recentSearches = createSearchableLocalStorageRecentSearchesPlugin({
  key: 'recent',
  getTemplates({ onRemove }) {
    return {
      item({ item, root }) {
        render(<Item onRemove={onRemove}>{item.label}</Item>, root);
      },
    };
  },
});

This new API covers the second Recent Searches experience we wanted to unlock: redirect-page results. You can now provide a link to wrap your item in.
import {
  createSearchableLocalStorageRecentSearchesPlugin,
  getTemplates,
} from '@algolia/autocomplete-plugin-recent-searches';

const recentSearches = createSearchableLocalStorageRecentSearchesPlugin({
  key: 'recent',
  getTemplates({ onRemove }) {
    const originalTemplates = getTemplates({ onRemove });

    return {
      item({ item, root }) {
        const link = document.createElement('a');
        link.href = `https://google.com?q=${item.query}`;

        originalTemplates.item({ item, root: link });

        root.appendChild(link);
      },
    };
  },
});

Future API changes

subscribed.onSelect should not be called when the current source is selected

After syncing with @Haroenv we decided on a few changes that'll make the API more flexible—see 1d7e6bf2a8e7b9a752f977a21df865bbb028566d.
Exporting createRecentSearchesPlugin
createRecentSearchesPlugin contains the logic around the Autocomplete plugin. It accepts two options:

storage
getTemplates

If its source.getItems (which calls storage.getAll(query)) returns no items, we do add the source to Autocomplete.
We exports createLocalStorageRecentSearchesPlugin which is an implementation of it.
createLocalStorageRecentSearchesPlugin searches in RS by default
By default, the local storage plugin searches in the local storage, you can bail-out of this behavior with the search option.
Introducing the search method on createLocalStorageRecentSearchesPlugin
To remove the search feature:
const recentSearches = createLocalStorageRecentSearchesPlugin({
  key: 'recent',
  limit: 3,
  search({ query, items }) {
    if (query) {
      return [];
    }

    return items;
  },
});

To implement your own search strategy:
const recentSearches = createLocalStorageRecentSearchesPlugin({
  key: 'recent',
  limit: 3,
  search({ query, items }) {
    return items.filter((x) => x.query.includes(query));
  },
});

Next steps
We'll work soon on highlighting in another PR.


How to make mtmproxy as a "normal proxy" without middle man mode with https connection?

thks.

Please take a look at http://docs.mitmproxy.org/en/stable/features/passthrough.html! :)


Using gg in visual mode

The following command should select from the current line to the top of the file:
Vgg

However, it strips the selection.
Conversely,
VG

works as expected. I've added some test cases in https://github.com/squarefrog/XVim/commit/ba958ff3fbf766c29ad46ed126a5b6cd0fffe451 but I'm afraid I don't know how to implement the functionality.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11952537-using-gg-in-visual-mode?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github).

Hi squarefrog.  I took a look at this and got it working for the most part.  There is an issue still (see https://github.com/J-Fields/XVim/commit/58d56066938c5f38bee436eb7cd03e49a94e987a) but please feel free to take a look at it and see if you can help me out with it.

I took a look, and it does fix one of the failing tests which is great. There are two failures remaining:

vggU - this mostly works, but using gg doesn't position the cursor at line 1 column 1.
``vGU` - again, this is almost there, but it should select up to the first non-whitespace column on the last line.

Onto your jump issue - I'm afraid I have no idea why that is happening. What is interesting, is if you do v9Gj the command works as expected. When prefixed by a number, G and gg should be exactly the same.
It is only when there is no numerical prefix that G (last line)  and gg (first line) differ.

Digging around - it seems like the behaviour should be as follows:

When using g or G, after moving to the line specified, or the default line, the cursor should then move to the first non-blank character on the current line.

This behaviour is matched in Vim. It is only the standard motion (j, k etc) that preserves the current column.

@squarefrog
I'm fixign #865. It seems jumping into line without characters by command like 1G doesn't work now because of your commit about gg G behaviour improvement.
The code that cause this problem is this.
            // TODO: Preserve column option can be included in motion object
            if (self.selectionMode == XVIM_VISUAL_BLOCK && self.selectionToEOL) {
                r.end = [self.textStorage xvim_endOfLine:r.end];
            } else if (XVim.instance.options.startofline) {
                // only jump to nonblank line for last line or line number
                if (motion.motion == MOTION_LASTLINE || motion.motion == MOTION_LINENUMBER) {
                    r.end = [self.textStorage xvim_firstNonblankInLineAtIndex:r.end allowEOL:NO];
                }
            }

The problem is xvim_firstNonblankInLineAtIndex could return NSNotFound whne you specify NO to allowEOL. My question is if you remember the reason you specified NO here instead of YES.
It seems this change will fix the problem in #865.

@JugglerShu As far as I remember, theres no specific reason why I chose that. As long as the tests still pass its all good :+1:

OK. Thanks


Update gax-nodejs version

grpc version minimum to 1.2
fixes on paged iterations

Codecov Report

Merging #127 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #127   +/-   ##
======================================
  Coverage    92.3%   92.3%
======================================
  Files          11      11
  Lines        1300    1300
  Branches      267     267
======================================
  Hits         1200    1200
  Misses        100     100

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 f649776...cd92312. Read the comment docs.


mat-table: Rows and table elements widths don't grow according to cell widths

Bug, feature request, or proposal:
Bug.
What is the expected behavior?
Rows and table elements widths grow according to cell widths so cells don't overflow them.
What is the current behavior?
Rows and table elements widths don't grow according to cell widths and cells overflow them.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-table-min-width
The width of the viewport must be less than 1000px (combined cells' width) in order to see how cells overflow row and table elements.
What is the use-case or motivation for changing an existing behavior?
It creates tricky issues especially when you deal with horizontal scrolling.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Material 5.2.0.
Is there anything else we should know?

This is tricky using the flex table, but fortunately as of v6 you can use the native table which makes handling columns widths much better.

Could you elaborate on what is exactly tricky here?
It's just a mat-table where one or a few columns have min-width set and a viewport doesn't have enough width (maybe user  scaled page too much).

Flex itself is tricky when trying to solve this issue. I've tried many ways to get the <mat-table> to play nice with horizontal scrolling but there doesn't seem to be a great solution except to set a min-width on the row itself.
This was one of the primary reasons why we invested in getting <table mat-table> to work since the native HTML table is great at adjusting size especially based on content

The following workaround worked perfectly for me. It made my table re-sizable
`.mat-table__wrapper .mat-table {
min-width: auto !important;
width: 100% !important;
}
.mat-header-row {
width: 100%;
}
.mat-row {
width: 100%;
}`
And for every column add this with the percentage and min-width you need
.mat-column-{colum-name} {
flex: 0 0 25% !important;
min-width: 104px !important;
}
I hope that work for you guys!

@luisfbp your solution worked ..thank you!

@andrewseguin native html tables indeed solve this issue, but we lose the ability to add angular animation...

You cannot use CSS with dynamically created columns. The solution works only if you for some crazy reason do every datatable by hand, writing each column by hand.

Was having the same issue. The sticky columns are collapsing and there's weird spacing between columns caused by the sticky attribute. This means when you scroll across the table, there's an accordion effect on sticky column sizes and the content on the lower/non sticky scrolling column is showing up under the top/sticky columns.
Solution:
Set min-width and max-width on each sticky column to be the same value - I used px.


When changing site attributes, they are not applied if the site already exist

I would expect the site to have the attributes I specify, even if the site existed already

@smurawski should this be closed?


Remind Command fully implemented

Able to update UserPrefs and initialise reminder settings upon app start up.
JUnit test 0 errors and 0 failures.
Remind Command:
remind 10 minute/6 hour/3 day/...week/month/year
Sets reminders to be i.e. 6 hour before events and deadlines
NOTE: Do not put 's' behind the time unit

Changes Unknown when pulling 52829db9274fa77bdd0add94d1b422c6c6a8150b on chishien:master into ** on CS2103JUN2017-T4:master**.


Activity Indicator on Button Element Issue

Issue #56
Accepts the following new props.

loading: PropTypes.bool
activityIndicatorStyle: PropTypes.any
loadingLeft: PropTypes.bool

By default the activityIndicator shows up on the right side
It also uses the small prop from the button

@Jeanmsilva89 Thanks so much for the pr! Question: should !loadingLeft instead be on the right of the Text component or am I missing something ( still not fully awake ).

@dabit3 Oops. You're actually awake, I'm the one who must've been sleeping.
The prop should actually be loadingRight instead. I made the loading component to be on the left by default. Unless you think it should be on the Right by Default. If you think that will be more standard if we add this other components.
I'll update when I get a break at work today.

No this looks great. Once you update it I will merge it and get to releasing a new version :) Thanks again for the pr @Jeanmsilva89


How can I replicate all partitions from source cluster to destination cluster?

Hi,
I was used uReplicator running on Docker
version: '3'
services:
    devenv:
      image: devenv
      ports:
        - "2181:2181"
        - "9093:9093"
        - "9094:9094"
      container_name: devenv

    controller:
        image: ureplicator
        ports:
            - "9000:9000"
        expose:
            - "9000"
        command: "controller \
            -enableAutoWhitelist true \
            -patternToExcludeTopics test \
            -mode customized \
            -port 9000 \
            -refreshTimeInSeconds 10 \
            -srcKafkaZkPath devenv:2181/cluster1 \
            -zookeeper devenv:2181 \
            -destKafkaZkPath devenv:2181/cluster2 \
            -helixClusterName testMirrorMaker"
        links:
            - devenv
        container_name: controller

    worker:
        image: ureplicator
        command:  "worker \
            -consumer_config example/example-consumer.properties \
            -producer_config example/example-producer.properties \
            -helix_config example/example-helix.properties"
        links:
            - devenv
            - controller
        depends_on:
            - controller
        container_name: worker

Created a new topic which name is "test1" has 3 partitions and 1 replication-factor in cluster1
$KAFKA_HOME/bin/kafka-topics.sh --create --zookeeper localhost:2181/cluster1 --topic test1 --partitions 3 --replication-factor 1
Produce data
$KAFKA_HOME/bin/kafka-console-producer.sh --topic test1 --bootstrap-server localhost:9093
Check data
$KAFKA_HOME/bin/kafka-console-consumer.sh --bootstrap-server localhost:9094 --topic test1

After then, data was successfully copied to destination cluster, but when I saw in cluster2, it just haved 1 patition and 1 replica in destination cluster.
$KAFKA_HOME/bin/kafka-topics.sh --describe --zookeeper localhost:2181/cluster1 --topic test1

Topic: test1    PartitionCount: 3       ReplicationFactor: 1    Configs:
Topic: test1    Partition: 0    Leader: 0       Replicas: 0     Isr: 0
Topic: test1    Partition: 1    Leader: 0       Replicas: 0     Isr: 0
Topic: test1    Partition: 2    Leader: 0       Replicas: 0     Isr: 0

$KAFKA_HOME/bin/kafka-topics.sh --describe --zookeeper localhost:2181/cluster2 --topic test1

Topic: test1    PartitionCount: 1       ReplicationFactor: 1    Configs:
Topic: test1    Partition: 0    Leader: 1       Replicas: 1     Isr: 1

How can I replicate all partitions from source cluster to destination cluster?

If I create 1 topic with 3 partitions in source cluster and create the same topic and partitions in destination cluster.
How can I replica data from source cluster partition 0 to destination cluster partition 0 and partition 1 to partition 1 ?

set -topic_partition_count_observer=true for uReplicator Worker could enable the partition mapping.

Hi,
I still can not mapping partitions from source to destination cluster.
I set -topic_partition_count_observer=true in worker.
command:  "worker \
-consumer_config example/example-consumer.properties \
-producer_config example/example-producer.properties \
-helix_config example/example-helix.properties \
-topic_partition_count_observer true"

Please help to check is there anything missing in my current setting?
Thanks.

to further debug the issue:
1: please make sure source topic and destination topic has the same partition count.
2: please try to search your log for "Starting TopicPartitionCountObserver" and "Add topic= to check partition count"

Yes, they have same partition count.
I didn't find "Starting TopicPartitionCountObserver" or "Add topic= to check partition count" in worker log, I tried to find "TopicPartitionCountObserver" and "Add" in worker log

docker logs worker | grep TopicPartitionCountObserver
INFO Disable TopicPartitionCountObserver to use round robin to produce msg. (com.uber.stream.ureplicator.worker.WorkerInstance)

docker logs worker | grep Add
ERROR Add instance to helix cluster failed. helixCluster: testMirrorMaker (com.uber.stream.ureplicator.worker.helix.ControllerWorkerHelixHandler)
INFO Added listener: org.apache.helix.messaging.handling.HelixTaskExecutor@2b71e916 for type: MESSAGES to path: /testMirrorMaker/INSTANCES/testHelixMirrorMaker01/MESSAGES (org.apache.helix.manager.zk.ZKHelixManager)
INFO Adding topic: test1, partition 2, starting offset -1 (com.uber.stream.ureplicator.worker.WorkerInstance)
INFO Adding topic: test1, partition 0, starting offset -1 (com.uber.stream.ureplicator.worker.WorkerInstance)
INFO Adding topic: test1, partition 1, starting offset -1 (com.uber.stream.ureplicator.worker.WorkerInstance)
INFO Add fetcher thread for partitions test1-0 finished (com.uber.stream.ureplicator.worker.FetcherManager)
INFO Add fetcher thread for partitions test1-2 finished (com.uber.stream.ureplicator.worker.FetcherManager)
INFO Add fetcher thread for partitions test1-1 finished (com.uber.stream.ureplicator.worker.FetcherManager)

Any idea?  Thanks.

-producer_config example/example-producer.properties needs to contain zookeeper.connect for partition discovery. Default example/example-producer.properties only has bootstrap.servers which is for producing.

I add zookeeper.connect in example/example-producer.properties , and it works!
zookeeper.connect=devenv:2181/cluster2
bootstrap.servers=devenv:9094
client.id=kloak-mirrormaker-test

Thanks so much.


QGIS install docs

@Huite mentioned these improvements in #1627

The current Install docs don't mention QGIS very explicitly: https://deltares.github.io/Ribasim/install.html
Maybe add a section there?
I would also suggest adding a note in the README.md of the repo. There's a link to download the plugin there.

I would suggest to keep it short by adding a QGIS version pre-condition in your download section: e.g.
QGIS plugin (3.34 LTR or higher): ribasim_qgis.zip

Fixed by #1691


haiku: Correct typo

@bors: r+

:pushpin: Commit c9b276f has been approved by alexcrichton

:hourglass: Testing commit c9b276f1ce368668d51f57e784f79de5ec0f7150 with merge 33873fa92b3b8d499669316e0f744be775733e8d...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 33873fa92b3b8d499669316e0f744be775733e8d to master...


What does this project do differently?

There has been a project (which is already available in pip) : https://github.com/jbohnslav/opencv_transforms . What does this project aim to do differently?

There has been a project (which is already available in pip) : https://github.com/jbohnslav/opencv_transforms . What does this project aim to do differently?

Firstly, I build this project just for personal practice. Besides that, a few functions in jbohnslav's project are partly still based on PIL("adjust_saturation" for example),and mine are fully based on opencv or numpy.What's more, I debug the affine transform and add affine6 instead, and some new image process method are also included in my lib (some functions about adding noise for example)

:+1:


[Feature] Polish app information (Jira issues: 1034, 1066)

Checklist

[x] Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
[ ] If this PR comes from a fork, please Allow edits from maintainers
[x] Set a speaking title. Format: {task_name} (closes #{issue_number}). For example: Use logger (closes # 41)
[ ] Link your Pull Request to an issue (if applicable)
[ ] Create Work In Progress [WIP] pull requests only if you need clarification or an explicit review before you can continue your work item.
[x] Make sure that your PR is not introducing unnecessary reformatting (e.g., introduced by on-save hooks in your IDE)

Description

Removed AppInformationViewController from storyboard
Wrote code for AppInformationViewController manually
Simplified code
Added missing entries
Updated assets
Polished texts for available screens

The bottom UILabel for version was changed in design. This was aligned with the design team and should be of type footnote and color .textPrimary2.


[DRAFT] Support sample weights for retrieval models trained with contrastive task

try to fix #789
This draft PR shows an example of setting sample weights for positive and sampled negative candidates.

closing this PR as a new one is opened here and includes an updated version of the SampleWeight block


Packages to be installed for grabbit setup

I am using AEM 5.6 and Grabbit 3.0.5
There are many paths as below which are to be sync'ed from one repository to another
/apps/i18n
/apps/abcd-ie/i18n
/apps/abcd-sso-ie/i18n
/apps/xyz-ie/i18n
/etc/globalvariables
My Query is:
As per the instructions, i have installed below packages on both the repositories

grabbit.zip
Sun-Misc-Fragment-Bundle-1.0.0.zip
Is it enough to copy above mentioned paths from one repository to another??????

i understood that, these packages are enough for only content sync
but in order to copy the above mentioned paths, Do I need any extra packages to be installed on repositories??????
Please help me. Thanks a million.

Few more paths as mentioned above
/etc/stepplan
/etc/designs/abcd/components
/apps/abcd/i18n/sk
/etc/tags
/etc/stepplan
/apps/abcd/i18n
/etc/lists

After installing those packages on the client (receiver) and server (source) machines, you start the copy jobs by making some REST calls to the client. See Running docs and the stand-alone CLI for more information.

I understood that. and I did it already.
My Question is:
Do i have to install any extra packages in order to copy the code in the above mentioned paths???

I assume you meant "copy the content in the above mention paths". If not, I'm afraid I have no idea what you're trying to say.
grabbit.zip and Sun-Misc-Fragment-Bundle-1.0.0.zip are the only packages you need. To copy content from one server to another, you create copy job configuration files, per the directions referenced above. They are sent to the client, and the job configurations have the paths, server connection information, etc.

Actually, the above mentioned paths contains some jar files. (some code related stuff)
but NOT content files like (images/pdfs/videos)
Actually, i heard from SagarSane some time back that, some extra packages are required in case if we copy the code related stuff.
i really dont know whether i heard correctly or whether i understand it correctly.
please clarify and through some light on it
My only concern is, when i use Grabbit tool, there should not be any harm to the existing environment.
That is why i am asking all the queries in detail.
Sorry to bother you.

Grabbit is just moving bytes around, and as far as the JCR is concerned, content is content, regardless of whether its jars, jsps, pngs, etc. While the protocols and the like are very different, as far as the JCR is concerned you can think of it very much like vault, with Node transactionality, etc.
On the server, reading the nodes is just a read operation. And of course the nodes that you are explicitly writing on the client (using essentially the same JCR APIs as vault). Otherwise the only writing that Grabbit does is to /var/grabbit to keep track of its jobs.
I'll let @SagarSane comment if he wants of "extra packages", but hopefully all of that makes sense, @akiranmutnuru.

That's right. @akiranmutnuru you don't need any more Grabbit packages to move over code. But of-course if you are unsure, I would suggest testing the code copy using Grabbit on you local or something to make sure everything goes alright 😄

Thank you so much @sagarsane and @jdigger


support for Azure ML endpoints

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: Windows
- Continue: v0.8.22
- IDE:VS Code

Description
I am looking into integrating the LLM models hosted in Azure ML studio. However, i could not find the provider configuration for Azure ML Studio. I tried changing the Azure OpenAI configuration and replacing the Azure ML Endpoint, however, it doesn't work.

To reproduce
Open config.json
configure Azure ML Studio endpoint, specify provider as "openai"
Try to do a chat testing.
Log output
notificationsAlerts.ts:42 HTTP 424 Failed Dependency from https://visagan-continue-poc-heati.eastus2.inference.ml.azure.com/openai/deployments/codellama-7b-python-hf-6/chat/completions?api-version=2023-07-01-preview  {"detail":"Not Found"}

@visagansanthanam-unisys we have a bit of extra documentation here about how to setup with Azure OpenAI Service. Let me know if that doesn't end up being the solution to your problem and I'll take a look right away!
In either case, we can look at how documentation/setup experience might be improved

@sestinj I am trying to connect self-hosted models like llama, starcoder in Azure ML Studio and connect to Continue plugin. Do we have a provider for open-source models hosted in Azure ML Studio?

@visagansanthanam-unisys I believe that models deployed via Azure ML Studio all have different input formats, which means there is no good way for us to have built-in support, though it is possible to build a CustomLLM using config.ts.
Are there constraints that led you to choose Azure ML Studio over other options which might more easily be integrated?


Can't run librespot-java in a VM

I will first say that librespot-java works flawlessly for spotify audio and metadata and I appreciate the effort put into the project.
I previously reported this issue at https://github.com/spocon/spocon/issues/46 .
I am running spocon in a virtualbox VM.  Initially it took me a day or two to figure out why spotify could not see librespot-java.
It looks like this code excludes running VMs, possibly for no apparent reason. I changed the x08 to x06the MAC in the VM settings and now spotify connects to spocon.
Can this code be removed or modified so that librespot-java works out of the box in a VM?  At the very least could a warning/workaround be put into the readme install instructions?
https://github.com/librespot-org/librespot-java/blob/dev/lib/src/main/java/xyz/gianlu/librespot/ZeroconfServer.java
...
public class ZeroconfServer implements Closeable {
public static final String SERVICE = "spotify-connect";
private final static int MAX_PORT = 65536;
private final static int MIN_PORT = 1024;
private static final Logger LOGGER = LoggerFactory.getLogger(ZeroconfServer.class);
private static final byte[] EOL = new byte[]{'\r', '\n'};
private static final JsonObject DEFAULT_GET_INFO_FIELDS = new JsonObject();
private static final JsonObject DEFAULT_SUCCESSFUL_ADD_USER = new JsonObject();
private static final byte[][] VIRTUAL_INTERFACES = new byte[][]{
new byte[]{(byte) 0x00, (byte) 0x0F, (byte) 0x4B}, // Virtual Iron Software, Inc.
new byte[]{(byte) 0x00, (byte) 0x13, (byte) 0x07}, // Paravirtual Corporation
new byte[]{(byte) 0x00, (byte) 0x13, (byte) 0xBE}, // Virtual Conexions
new byte[]{(byte) 0x00, (byte) 0x21, (byte) 0xF6}, // Virtual Iron Software
new byte[]{(byte) 0x00, (byte) 0x24, (byte) 0x0B}, // Virtual Computer Inc.
new byte[]{(byte) 0x00, (byte) 0xA0, (byte) 0xB1}, // First Virtual Corporation
new byte[]{(byte) 0x00, (byte) 0xE0, (byte) 0xC8}, // Virtual access, ltd.
new byte[]{(byte) 0x54, (byte) 0x52, (byte) 0x00}, // Linux kernel virtual machine (kvm)
new byte[]{(byte) 0x00, (byte) 0x21, (byte) 0xF6}, // Oracle Corporation
new byte[]{(byte) 0x18, (byte) 0x92, (byte) 0x2C}, // Virtual Instruments
new byte[]{(byte) 0x3C, (byte) 0xF3, (byte) 0x92}, // VirtualTek. Co. Ltd.
new byte[]{(byte) 0x00, (byte) 0x05, (byte) 0x69}, // VMWare 1
new byte[]{(byte) 0x00, (byte) 0x0C, (byte) 0x29}, // VMWare 2
new byte[]{(byte) 0x00, (byte) 0x50, (byte) 0x56}, // VMWare 3
new byte[]{(byte) 0x00, (byte) 0x1C, (byte) 0x42}, // Parallels
new byte[]{(byte) 0x00, (byte) 0x03, (byte) 0xFF}, // Microsoft Virtual PC
new byte[]{(byte) 0x00, (byte) 0x16, (byte) 0x3E}, // Red Hat Xen, Oracle VM, Xen Source, Novell Xen
new byte[]{(byte) 0x08, (byte) 0x00, (byte) 0x27}, // VirtualBox
new byte[]{(byte) 0x00, (byte) 0x15, (byte) 0x5D}, // Hyper-V
};
...
Thanks,
iVolt

Hello,
Are you still able to capture metadata, etc as of yesterday?

I haven't updated or changed anything in quite a while, but librespot-java is working and sending metadata.

I use this project that is built on librespot-java and it appears to have went down.
https://github.com/entriphy/sp-playcount-librespot
I wasn’t sure if it’s the librespot project that broke it.  I tried deploying my own instance and something also is working. I’m trying to figure out where the issue lies 😔
Sent from my iPhone

On Apr 22, 2022, at 8:58 AM, iVolt1 @.***> wrote:

I haven't updated or changed anything in quite a while, but librespot-java is working and sending metadata.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.

Hi devgianlu,
This issue still exists even in the latest releases of librespot-java.  I have gotten stuck in a troubleshooting loop a few times when after many months I have had to move my librespot-java/owntone environment to a different vm and the librespot-java server device doesn't appear in spotify.  I eventually remember that the code excludes those mac addresses and have to go into the vm settings and fake the mac address.
Is there a reason to exclude librespot-java from running in a vm such as a spotify licensing issue?  librespot-java runs runs great for me in hyper-v and VirtualBox so it would be nice if that code could be removed in the future.
I currently run the librespot-java/owntone environment in the HomePod Connect addon on Home Assistant and works Home Assistant dashboard which is probably the best whole house audio arrangement anywhere, even in a vm.
It looks like this code excludes running VMs, possibly for no apparent reason. I changed the x08 to x06the MAC in the VM settings and now spotify connects to spocon.
Thanks for the great project,
ivolt1
@jpgrovy I think you posted in the wrong thread, but your project looks promising.

I think this issue reported by @dolanjp was also a vm exclusion issue:
https://github.com/librespot-org/librespot-java/issues/716


added several features & fixed a bug

As I really wanted to be able to assign permissions to users as requested in #46 I took some time to implement that. Because it wasnt that hard to fix, I also implemented #58. If the $roleId passed to assignRole/revokeRole is not numeric, it will lookup the role by its slug.
While I was busy I noticed there was a bug with the can method. If you checked for permissions from multiple roles, the can method would always fail as it would only check the permissions per role. This PR also fixes that issue, mostly due to the addition of user permissions.
I also added some tests to make sure I didnt introduce any regressions (but if I missed a test case I still might have). Install the dev deps and run composer test. I also added a phpcs config to test for code-style errors, run composer cs to run phpcs

Btw, I also added a kebab_case conversion for the magic methods in ShinobiTrait. This was you can eg have a slug as backend-admin and call isBackendAdmin().