Feature request: overlay images with transparency (was: Resize, combine multiple images)

Hello,
I was wondering if I could get help if this is possible with this library. I've been looking at the documentation and the code but can't find any info for combining multiple images on top of each other.
I assume I'd to do something like resize them beforehand and save them to buffers, then actually joining them?
Thanks

@lovell I would be interested in blending two images of the different dimensions, perhaps taking advantage of an alpha transparency channel in the top image. I saw that vips has im_insert operation which could place one image over another at specified position. However, number of bands should be equal for both images or one of them should have one band.
This feature will let me fully switch to sharp and remove graphicsmagick fallback for this operation

Hi @oaleynik, libvips provides an [ifthenelse](http://www.vips.ecs.soton.ac.uk/supported/current/doc/html/libvips/libvips-Hi conversion.html#vips-ifthenelse) operator that could be used for this - the transparency layer could be extracted and used as the cond image.
The API might look something like:
var image1 = sharp('image1.jpg');
var image2 = sharp('image2.png');
image1
  .overlayWith(image2, top, left)
  .toBuffer(function(err, data) {
    ...
  });

In this example data would be in JPEG format as you're operating on image1. The top and left parameters could be made optional, where not providing them results in the images being centred.
Does this make sense?
(I'm planning to migrate to the new vips8 C++ API in 7.42.0+ later this year. This feature will be much easier to implement after doing so.)

@lovell looks awesome! Exactly what I need and I think it will be useful for others.

If I understand correctly, this would make watermarking images a breeze, and fits my use case perfectly
:+1:

+1 :smile:

FYI, I started exploring this and will try to report back on my progress later this week.

Great news, thanks @gasi!

@gasi Looking forward to it. Thanks!

@lovell: I have a proof-of concept and while it’s rough, I’d appreciate your feedback: https://github.com/gasi/sharp/blob/89e6dfbd3ce0fe776b85a768d0e9c809693a0af6/test/unit/composite.c
As stated in the PR (https://github.com/gasi/sharp/pull/2), I have a feeling there must be a more concise and potentially more performant approach using vips_ifthenelse, but I need to move forward to hit a deadline :smile:

Got it working using vips_ifthenelse but I am not sure it helps readability. However, I assume it’s faster (not tested yet), so probably the better long-term approach: https://github.com/gasi/sharp/commit/e18b5d3736af4e1f7e768c5cd622dfabae7a08c7

I started exploring how to integrate having two images being composited into the C++ extension. My guideline is your code snippet from above:
var image1 = sharp('image1.jpg');
var image2 = sharp('image2.png');
image1
  .overlayWith(image2, top, left)
  .toBuffer(function(err, data) {
    ...
  });

Would you like this to be part of the ResizeWorker or should this be a separate worker?

Thanks for your great start on this feature Daniel.
I'm also unsure if the use of vips_ifthenelse will be faster, but if it produces good-enough results with less code to maintain, that sounds like a suitable approach. When we move to the new vips8 C++ interface (see #152) all the object (de)referencing goes away which will significantly reduce complexity and LOC.
It's worth noting all these techniques assume linear RGB. JPEGs without a profile are usually in a non-linear sRGB space so gamma correction may be required. Don't worry about this for now - a possible future enhancement.
The ResizeWorker is increasingly misnamed; I consider it more of a general PipelineWorker these days. Encapsulating the overlay/composite logic in another method or class would, of course, be a good idea.
We'll need to vips_embed the image to be overlaid within a fully-transparent image of the output image size before vips_ifthenelse. vips_black can be used to help generate the transparency. We can stipulate/assume the image to be overlaid is the same size or smaller to keep this step as simple as possible.
I suspect the most common use of this feature will be for watermarks. This would suggest a good place to apply this operation is just before the final conversion to sRGB.
As for the JS API, we could start out more simply by supporting an experimental overlayWith(filename, top, left) rather than passing in a full-blown sharp instance to avoid dealing with things like waiting for multiple input Streams to be ready etc. right now.

First of all, thanks for all the helpful comments, @lovell. I have an end-to-end proof of concept of overlayWith inside sharp now. It currently does the minimum work we require for our use case (composite two PNGs of the same size without specifying top or left. My primary goal would be to take the existing approach and bring it up to sharp’s coding guidelines, so it could land in one of the next releases as experimental API. Depending on time and resources, I might add some of the other feature extensions outlined in this issue.

I'm also unsure if the use of vips_ifthenelse will be faster, but if it produces good-enough results with less code to maintain, that sounds like a suitable approach.

:+1:

When we move to the new vips8 C++ interface (see #152) all the object (de)referencing goes away which will significantly reduce complexity and LOC.

Excited for this! Indeed, I can’t wait to get rid of all these t[…] intermediate result references.

The ResizeWorker is increasingly misnamed; I consider it more of a general PipelineWorker these days. Encapsulating the overlay/composite logic in another method or class would, of course, be a good idea.

Agreed, PipelineWorker seems like a more appropriate name. As of now, I include my external composite function (should probably be Composite to match the rest) from composite.c. Let me know if that works or if there are benefits to having this in a .cc file like common.cc / sharp::IsJpeg, etc.

We'll need to vips_embed the image to be overlaid within a fully-transparent image of the output image size before vips_ifthenelse. vips_black can be used to help generate the transparency. We can stipulate/assume the image to be overlaid is the same size or smaller to keep this step as simple as possible.

As stated above, we currently don’t have the use case of embedding smaller images but if it’s easy enough, one of us could add it later on.

I suspect the most common use of this feature will be for watermarks. This would suggest a good place to apply this operation is just before the final conversion to sRGB.

Thanks for the tip! This is what I have done in my proof of concept.

As for the JS API, we could start out more simply by supporting an experimental overlayWith(filename, top, left) rather than passing in a full-blown sharp instance to avoid dealing with things like waiting for multiple input Streams to be ready etc. right now.

:+1: I simply implemented overlayWith(filename) for now.
I am calling it a night :night_with_stars: now but since you are in London, I thought I’d share my latest status. Please add your comments / thoughts to my pull request and I will try to address them tomorrow: https://github.com/gasi/sharp/pull/2
P.S. I have been playing around with ImageMagick’s compare and was wondering whether you’ve considered automating sharp’s unit tests by checking in the expected output images and algorithmically comparing them against the test output using compare?

It's worth noting all these techniques assume linear RGB. JPEGs without a profile are usually in a non-linear sRGB space so gamma correction may be required. Don't worry about this for now - a possible future enhancement.

As an amateur photographer, I have always heard about gamma but didn’t understand its meaning until I watched this video recommended by our intern Tony: https://www.youtube.com/watch?v=LKnqECcg6Gw&feature=youtu.be

Thank you @gasi, I've commented inline on your latest additions.
I've created the knife branch for v0.11.0 work-in-progress, of which this will be part, so please aim any Pull Requests in its general direction.
Containing this feature in a separate .c file makes a lot of sense right now as I will need to refactor/split ResizeWorker ahead of #152. This means your code will move into something like an Operations class as part of that.
Task #122 covers adding the use of perceptual (i.e. frequency-based) image hashing to test assertions - feel free to add ideas and comments there.

Thanks, @lovell. I rebased my work against knife, tightened it up, and submitted a PR against the knife branch: https://github.com/lovell/sharp/pull/207
I added some comments explaining my work and/or asking some questions. I’d appreciate if you could take a look and I will make sure to address your feedback :+1:

This means your code will move into something like an Operations class as part of that.
:+1:

Task #122 covers adding the use of perceptual (i.e. frequency-based) image hashing to test assertions - feel free to add ideas and comments there.

Good idea. For now, I went with a simple approach using gm.compare. Please let me know what you think.

I uploaded more changes to address your feedback, @lovell: https://github.com/lovell/sharp/pull/207

Update: building on @gasi's great work on this feature, commit https://github.com/lovell/sharp/commit/1091be374ed50da0904c80ca97195d3c35454e55 on the knife branch adds support for compositing any alpha-channel containing image (including 2 channel greyscale+alpha) over any image, even if that underlying image does not itself contain an alpha channel.

It currently still requires that the two images have the same dimensions.
For watermarking, I think all that remains is the ability to apply a gravity to the overlay image so its dimensions can differ from the underlying image.

Need to test PNGs with bit depths other than 8 - see #237

This feature is now in :shipit: territory. #239 created to track support of differing dimensions.

@lovell wonderful! Can't wait for it!

Now in master awaiting release.

What about combining more than 2 images (all of the same dimensions)?

@MPSinclair You'll need to make two passes to do this. Raw pixel input/output is supported so this will remain fast, albeit at the cost of having the whole uncompressed image in memory. Happy to provide more details in a new question/issue if required.


New template based in latex for cheatsheet

Hi @florisvdh, I've added new cheasheet template based on latex, I've been thinking that it's better to have a code based version for possible future changes and also quick to update.
Here is the final result in pdf or png format.
The size is based on Posit - Cheasheet requirements, I think that when the package is in CRAN this cheasheet should also be in posit.
What do you think?
qgisprocess.pdf

Nice @ambarja, I look forward to this approach! Good that you align with Posit and that we have a programmed interface now! Much easier to review and collaborate on.
I posted a few minor suggestions in a21c9df.

Hi @florisvdh I have recently modified some suggested views.
Please could you review the modified suggestions?
When this is 100% finished, I will create again a new cheasheet in spanish with the same format.

@florisvdh  maybe I have seen the last commit in qgisprocess repository and there are new functions, also I thinking in create two cheasheet in my free times.
Do you think it is necessary to have two cheatsheets?

Hi @ambarja you're totally free to keep the Spanish one up to date. Necessary? No, don't feel obliged. Added value? Absolutely, you're welcome to add the translation! The current mention of the Spanish not being up to date, is, as far as I'm concerned, just temporarily until you have added an update (since I wasn't sure how fast you'd be with that). That being said, don't feel obliged: choice of maintaining Spanish version or not (hence removing), is totally yours.
I will review a little later (hope tomorrow), now being tired from travelling to FOSS4G (which starts).

Ohhh you're welcome @florisvdh , at the moment both are up to date, rather successful in the foss4g 🚀 .

@florisvdh Of course, In this week I try edited and modified the final version of cheatsheet :3


[Refactor][meta-format-change] Change export job to json format

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[x] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:disappointed: fail : 2 / 52 (03.85%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/load/ExportMgr.java
0
21
00.00%
[366, 427, 428, 429, 430, 431, 432, 433, 434, 438, 440, 441, 442, 443, 445, 446, 447, 449, 452, 455, 456]

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
0
6
00.00%
[359, 360, 361, 373, 374, 375]

:large_blue_circle:
com/starrocks/load/ExportJob.java
1
22
04.55%
[1021, 1022, 1023, 1024, 1025, 1027, 1028, 1030, 1094, 1108, 1109, 1110, 1123, 1131, 1132, 1133, 1134, 1138, 1139, 1140, 1142]

:large_blue_circle:
com/starrocks/persist/EditLog.java
1
3
33.33%
[1390, 1392]

code conflicts

[FE PR Coverage Check]
:disappointed: fail : 36 / 53 (67.92%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
1
00.00%
[1428]

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
0
6
00.00%
[359, 360, 361, 373, 374, 375]

:large_blue_circle:
com/starrocks/persist/EditLog.java
1
3
33.33%
[1390, 1392]

:large_blue_circle:
com/starrocks/load/ExportJob.java
17
22
77.27%
[1094, 1108, 1109, 1110, 1123]

:large_blue_circle:
com/starrocks/load/ExportMgr.java
18
21
85.71%
[366, 446, 447]

[FE PR Coverage Check]
:disappointed: fail : 44 / 68 (64.71%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
1
00.00%
[1428]

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
0
6
00.00%
[359, 360, 361, 373, 374, 375]

:large_blue_circle:
com/starrocks/persist/EditLog.java
1
3
33.33%
[1390, 1392]

:large_blue_circle:
com/starrocks/load/ExportJob.java
25
37
67.57%
[1094, 1108, 1123, 1155, 1157, 1165, 1169, 1170, 1173, 1177, 1178, 1189]

:large_blue_circle:
com/starrocks/load/ExportMgr.java
18
21
85.71%
[366, 446, 447]

[FE PR Coverage Check]
:disappointed: fail : 44 / 68 (64.71%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
1
00.00%
[1428]

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
0
6
00.00%
[359, 360, 361, 373, 374, 375]

:large_blue_circle:
com/starrocks/persist/EditLog.java
1
3
33.33%
[1392, 1394]

:large_blue_circle:
com/starrocks/load/ExportJob.java
25
37
67.57%
[1094, 1108, 1123, 1155, 1157, 1165, 1169, 1170, 1173, 1177, 1178, 1189]

:large_blue_circle:
com/starrocks/load/ExportMgr.java
18
21
85.71%
[366, 446, 447]

@mergifyio rebase

[FE PR Coverage Check]
:disappointed: fail : 44 / 69 (63.77%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
1
00.00%
[1428]

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
0
6
00.00%
[359, 360, 361, 373, 374, 375]

:large_blue_circle:
com/starrocks/persist/EditLog.java
1
3
33.33%
[1392, 1394]

:large_blue_circle:
com/starrocks/load/ExportJob.java
25
38
65.79%
[1095, 1109, 1124, 1156, 1158, 1166, 1170, 1171, 1174, 1178, 1179, 1190, 1195]

:large_blue_circle:
com/starrocks/load/ExportMgr.java
18
21
85.71%
[366, 446, 447]

[FE PR Coverage Check]
:disappointed: fail : 44 / 69 (63.77%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
1
00.00%
[1432]

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
0
6
00.00%
[369, 370, 371, 383, 384, 385]

:large_blue_circle:
com/starrocks/persist/EditLog.java
1
3
33.33%
[1394, 1396]

:large_blue_circle:
com/starrocks/load/ExportJob.java
25
38
65.79%
[1095, 1109, 1124, 1156, 1158, 1166, 1170, 1171, 1174, 1178, 1179, 1190, 1195]

:large_blue_circle:
com/starrocks/load/ExportMgr.java
18
21
85.71%
[366, 446, 447]

[FE PR Coverage Check]
:disappointed: fail : 44 / 69 (63.77%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
0
1
00.00%
[1432]

:large_blue_circle:
com/starrocks/journal/JournalEntity.java
0
6
00.00%
[369, 370, 371, 383, 384, 385]

:large_blue_circle:
com/starrocks/persist/EditLog.java
1
3
33.33%
[1394, 1396]

:large_blue_circle:
com/starrocks/load/ExportJob.java
25
38
65.79%
[1095, 1109, 1124, 1156, 1158, 1166, 1170, 1171, 1174, 1178, 1179, 1190, 1195]

:large_blue_circle:
com/starrocks/load/ExportMgr.java
18
21
85.71%
[366, 446, 447]


2021 GLI

I uninstalled openpilot on comma two and now it will not reinstall
Describe the bug

How to reproduce or log data

Expected behavior

Device/Version information (please complete the following information):

Device: [e.g. EON/EON Gold/comma two]
Dongle ID: [e.g. 77611a1fac303767, can be found in Settings -> Device -> Dongle ID or my.comma.ai/useradmin]
Route: [e.g. 77611a1fac303767|2020-05-11--16-37-07, can be found in my.comma.ai/useradmin]
Timestamp: [When in the route the bug occurs (e.g. 4min 30s into the drive)]
Version: [commit hash when on a non-release branch, or version number when on devel or release2 (e.g. 0.7.6)]
Car make/model: [e.g. Toyota Prius 2016]

Additional context

I responded to #21370. Our github issues are not for software support, in fact we provide no software support. If there's a bug somewhere, you've provided nothing for us to look into. I just installed openpilot on a fresh device and had no issues.

@adeebshihadeh are you mad at me?


ProgressBar created in LightningModule.configure_callbacks does not override default ProgressBar

Bug description
Currently, the only way to truly override the default progress bar is to pass one to the Trainer.__init__ using the callbacks kwarg. When a progress bar is created via LightningModule.configure_callbacks, it does not override the default progress bar and instead co-exists with it. This likely happens because the Trainer does not call _callback_connector.configure_progress_bar when calling LightningModule.configure_callbacks.
How to reproduce

Create a LightningModule:

import pytorch_lightning as lightning

class MyModule(lightning.LightningModule):
    ...
    def training_step(self, batch, batch_idx):
        print("Callbacks:", list(self.trainer.callbacks))
        ...

    def configure_callbacks(self):
        return [ProgressBarBase()]

module = MyModule()

Train without passing additional callbacks:

trainer = pl.Trainer()
trainer.fit(module)

Both progress bars are in the callbacks as can be seen in the print we defined in training_step. Output will look something like this:

Callbacks: [TQDMProgressBar(), ProgressBarBase()]

Why is this a bug?
Passing multiple ProgressBars to Trainer.__init__ is prohibited with a MisconfigurationException. Having multiple ProgressBars in the way described above raises no error. It also causes weird output, because both progress bars are being updated.
cc @borda @awaelchli

Hey @LarsKue
The documentation says the following:

If a callback returned here has the same type as one or several callbacks
already present in the Trainer's callbacks list, it will take priority and replace them.

In your example, however, the types are not the same. There are two different ones: TQDMProgressBar and ProgressBarBase. This is the explanation of why this is happening. To replace the TQDMProgressBar in your specific example, you would have to return an instance of TQDMProgressBar from that hook.
So unless I missed something, this is not a bug because the behavior matches the documentation so far.
One could introduce a breaking change here, and make it so that a callback gets replaced if its type is a subtype of one of the callbacks in the Trainer's list. But it still wouldn't cover your use case, because you actually wanted to replace the specific class TQDMProgressBar with its super class type. I think this is a very strange use case, but I could be wrong.
I agree this part is a bug:

Passing multiple ProgressBars to Trainer.init is prohibited with a MisconfigurationException. Having multiple ProgressBars in the way described above raises no error.

We should add even more error checking to catch the nasty edge cases 🤣

Hi @awaelchli, do you have any updates on this?

Hello @LarsKue I don't have the capacity to work on this, but if someone wants to take this up I would be happy to review it. I'm not sure how it can be resolved without breaking changes though.


Increase precision for MySQL collector

The MySQL Collector uses the default precision of 0.  This ends up truncating many of the metrics to 0. For instance, you'd have to have at least 60 slow queries per minion to get a blip in Grafana. This PR sets a default precision of 4 when calling self.publish() and makes the exact precision settable in /etc/diamond/collectors/MySQLCollector.conf.  It also adds a couple extra Innodb parameters.  We've been using it in production for months with no issues.

This change is

This repo has moved to https://github.com/python-diamond/Diamond
Please open a new pull request there if this issue is not resolved with the current code there.
Thanks!


Error: unreachable trying to Make Either Field Required (but not voff)

Hi Prisma Team! The following command just crashed.
Command
generate
Versions

Name
Version

Platform
darwin-arm64

Node
v19.4.0

Prisma CLI
4.10.1

Engine
aead147aa326ccb985dcfed5b065b4fdabd44b19

Error
Error: unreachable

location String?
  latLong  LatLong?
  @@unique([location, latLong])

Folks can give a location string or LatLong:
type LatLong {
  lat Float
  long Float
}

I can reproduce this with the following Prisma schema:
generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "mongodb"
  url      = env("DATABASE_URL")
}

model Foo {
  id       Int      @id @map("_id")
  name     String
  location String?
  latLong  LatLong?
  @@unique([location, latLong])
}

type LatLong {
  lat Float
  long Float
}

Probably also the same: https://prisma-errors.netlify.app/report/14542

@janpio I confirm the report you linked is the same.
The actual error on Rust is:
RuntimeError: panicked at 'called `Option::unwrap()` on a `None` value', query-engine/prisma-models/src/internal_data_model.rs:64:14


VSCode Sticky scroll

Vscode sticky scroll only works on simple function but does not work on arrow function can you add that too?

Hi @Yarmuhammadtalpu, the lines which are stuck with sticky scroll are determined by the the model which you use to define the sticky lines. This can be configured in the setting: editor.stickyScroll.defaultModel. By default this setting takes in the value outline model which means it will use the outline model to determine which lines should be stuck by the sticky scroll. You may also choose the folding provider model (will use the folding ranges) or the indentation model (uses the indentation guides to stick the lines). These may not help you stick the arrow functions as you so wish. This is the reason why the following issue is open: https://github.com/microsoft/vscode/issues/168428. When the sticky scroll API is implemented, extensions will be able to provide their own sticky scroll outlines and, for example, also stick arrow functions.


Fixed managedappdefInline test Appliance to Application

Minor change to fix live test failing
Appliance -> Application
This checklist is used to make sure that common guidelines for a pull request are followed.
(see Authoring Command Modules)

Please also change the test method name. The current name: def test_managedappdefInline(self, resource_group): mixed the camel case with underlines. The PEP8 recommends function name to be lowercased and separate words with underlines. (https://www.python.org/dev/peps/pep-0008/#function-names)


please accept this pull request I want hactoberfest t-shirt . May God Bless You Update hello.c.txt

invalid commit!


ci: Also check generated HTML with the "vnu" validator

Because HTML Tidy apparently misses a bunch of errors. Also fix a bunch of those missed HTML errors.

@rjsparks once this one is merged, I'll use it to validate #3662.


Add channel strategy instance validation

Summary
If q-ctrl is passed in as the channel_strategy but the instance does not have it enabled, the following error will be raised:
IBMNotAuthorizedError: 'This account is not authorized to use ``q-ctrl`` as a channel strategy.'

Details and comments
Fixes #1176

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 11 (45.45%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall first build on check-qtrl-instance at 70.317%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit_ibm_runtime/api/clients/runtime.py
1
2
50.0%

qiskit_ibm_runtime/api/rest/runtime.py
1
3
33.33%

qiskit_ibm_runtime/qiskit_runtime_service.py
3
6
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
70.3%

Covered Lines:
2376

Relevant Lines:
3379

💛  - Coveralls


add link to behave-django and behave

These are alternatives to lettuce that are more actively maintained, which I use with splinter.

@nikolas thank you!


how to 'stop' the inverse scroll

Hello, I'am using this plugin to have a parallax horizontal effect with the elements on the background.
I am using Angular, and I change the pages using the ng-view directive. Actually, the parallax background is out the ng-view, so it's present in all the pages.
However, in some pages, I'd like to 'stop' the Inverse-plugin. Is it possible?
thank you

Hi, do you have a link to your project?
Best regards


Remove version: Scribus.Scribus version 1.6.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/scribus/files/scribus/1.6.0/scribus-1.6.0-windows-x64.exe/download
Status Code: 200
(Automated message - build 897)

Close with reason: Package still available.;


[Event Request] report 99001015 "Calculate Subcontracts" - OnDeleteRepeatedReqLinesOnAfterSetRequisitionLineFilters

local procedure DeleteRepeatedReqLines()
var
    RequisitionLine: Record "Requisition Line";
begin
    with RequisitionLine do begin
        SetRange(Type, Type::Item);
        SetRange("No.", ProdOrderLine."Item No.");
        SetRange("Prod. Order No.", ProdOrderLine."Prod. Order No.");
        SetRange("Prod. Order Line No.", ProdOrderLine."Line No.");
        SetRange("Routing No.", "Prod. Order Routing Line"."Routing No."); //A108B0077.n
        SetRange("Operation No.", "Prod. Order Routing Line"."Operation No.");
        OnDeleteRepeatedReqLinesOnAfterSetRequisitionLineFilters(RequisitionLine, ProdOrderLine, "Prod. Order Routing Line"); //A111F0000.Event20.01
        DeleteAll(true);
    end;
end;

[IntegrationEvent(false, false)]
local procedure OnDeleteRepeatedReqLinesOnAfterSetRequisitionLineFilters(var RequisitionLine: Record "Requisition Line"; ProdOrderLine: Record "Prod. Order Line"; ProdOrderRoutingLine: Record "Prod. Order Routing Line")
begin
    //A111F0000.Event20.01
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Join table with extra columns

Hello.
We are currently using join tables with extra columns and we had to use some workarounds with objection and objection-rest. I would like to suggest several changes to objection.js to improve support of such join tables. For example, let say that persons have ordered movie collections. It would be nice to be able to write something like:
movies: {
 relation: Model.ManyToManyRelation,
 modelClass: __dirname + '/Movie',
 join: {
  from: 'Person.id',
  through: {
   from: 'Person_Movie.personId',
   to: 'Person_Movie.movieId',
   extra: ['order']
  },
  to: 'Movie.id'
 }
}

so that:
person.$relatedQuery('movies')

automatically retrieves the order of each movie. It would be also be great to have something like:
person.$relatedQuery('movies').relate({id: 50, order: 5});
person.$relatedQuery('movies').unrelate().where('id', 50).where('order', 3);`

What do you think about this?
Manuel

Sorry for the delay.
Good idea! This is something that has been missing. Only thing I would change is the name of the extra property. Could we come up with something more descriptive? extraProperties? May be too long and still not descriptive. props? properties? This is the hardest part of programming :smile:
Naturally this would also work in these cases:
Person
  .query()
  .insertWithRelated({
    movies: [{
      name: 'The room',
      order: 1
    }]
  })

Movie
  .query()
  .insert({
    name: 'The room',
    order: 1
  })

Shouldn't there be a ModelClass associated with "through" instead of a list of columns ?

You can already accociate a model for a join table like this:
through: {
  from: 'foo.bar',
  to: 'baz.spam',
  modelClass: JoinModel
}

but where would you get the columns to join? From jsonSchema? I'd like to avoid making jsonSchema a mandatory part of the models since many people don't like to use it. It can even be argued that validation is not the job for an ORM.

Support for this would eliminate some very ugly code on my back-end I am looking forward to this future.

@kapouer I get your point though. Do you have any suggestion how this could be handled using the model class?
@Hnus- as you know,through describes the join table. In my mind related would imply that the given properties are somehow related to the join table but not the join table's own properties.
How about include or includeProperties?

yes, if one sets join.through.modelClass then person.$relatedQuery('movies') /should/ fetch all known properties from the join table (except the ones used in from and to) by default ?
Maybe what is needed here is more how to deal with column name conflicts ?
In the example given by @manubb
person.$relatedQuery('movies').relate({id: 50, "person_movie.order": 5});

i'm sure this idea of extra column could be a little more generic and coherent with objection.js style.

Consider that same example relation from the other direction: Movie has a list of Persons as actors relation. You would want to use the same model class for that relation also, but automatically joining the order for each actor would make little sense. I think we need to be able to control the joined properties per relation an not per join table. There are other cases also. I have written an N-way join table (where N > 2) many times, and it would't automatically make sense to join all the properties of the join table through each relation that uses it.
The reason I often create a model class for the join table is that I can create a REST API for the join model. This way you can achieve the same thing we are trying to solve here. For example relate is simply an insert to the join model. Insert can be achieved with a insertWithRelated operation to the join model and so on. For example:
// Relate a person 123 to a movie 567
PersonMovie
  .query()
  .insert({
    order: 1,
    personId: 123,
    movieId: 567
  });

// Insert a new movie and relate it to person 123
PersonMovie
  .query()
  .insertWithRelated({
    order: 1,
    personId: 123
    movie: {
      name: 'The room'
    }
  });

// Insert a new person and relate it to movie 567
PersonMovie
  .query()
  .insertWithRelated({
    order: 35,
    movieId: 567
    person: {
      firstName: 'Tommy',
      lastName: 'Wiseau'
    }
  });

Implemented in 0.5.0-rc.1. Run npm install objection@next to install. The property name in through object is the originally suggested extra.

A great feature, but I found a weakness in it: there's no means of coping with colliding column names between the join table and the target table. Now the join table values simply override the values in target table. The clearest solution might be to separate the join-object and the target-object somehow.


error when using a Groq LLM in a CrewAI setting

I get this error when using a Groq LLM in a CrewAI setting:
BadRequestError                           Traceback (most recent call last)
 in <cell line: 2>()
1 # Kickoff the Crew
----> 2 result = rag_crew.kickoff(inputs=inputs)

26 frames
/usr/local/lib/python3.10/dist-packages/openai/_base_client.py in _request(self, cast_to, options, remaining_retries, stream, stream_cls)
1018
1019             log.debug("Re-raising status error")
-> 1020             raise self._make_status_error_from_response(err.response) from None
1021
1022         return self._process_response(
BadRequestError: Error code: 400 - {'error': {'message': 'Organization has been restricted. Please reach out to support if you believe this was in error.', 'type': 'invalid_request_error', 'code': 'organization_restricted'}}
The error is :
Organization has been restricted
Is it Groq that causes this?
Please support for this error.

Hi,
I'm using groq without any problems in combination with crewAI.
Not sure what's causing the issue. I would guess, that the error message refers to the organisation in your groq account.

I have asked Groq itself about, but did not receive an answer yet.

any answer from Groq ?
As soon as I use the api for a while, I have this problem.
However, I respect the quotas per schedule.
I'm tired of creating new accounts.
They don't answer my company registration request.


UploadFileToAzureFile: The value of one of the HTTP headers is in the wrong format

Which version of the SDK was used?
v0.7.0
Which platform are you using? (ex: Windows, Linux, Debian)
Linux - Ubuntu 16.04
What problem was encountered?
I was following the example set forth here: UploadFileToAzureFile
I was attempting to upload a file to a blob container using the same exact code. The only changes I made was the https://%s.file.core.windows.net/myshare/BigFile.bin became a URL to my blob container: https://%s.blobl.my.domain.com/testcontainer/%s where %s was "storageAccountName" and "fileName".
Upon running my program, I get the following returned:
2020/05/27 20:59:32 -> github.com/Azure/azure-storage-file-go/azfile.newStorageError, /root/odev/pkg/mod/github.com/!azure/azure-storage-file-go@v0.7.0/azfile/zc_storage_error.go:42
===== RESPONSE ERROR (ServiceCode=) =====
Description=The value for one of the HTTP headers is not in the correct format.
RequestId:d049d666-8e3a-0c3a-6ffa-a9c151f89e08
Time:2020-05-27T20:59:50.6667928Z, Details:
  Code: InvalidHeaderValue
  HeaderName: x-ms-version
  HeaderValue: 2019-02-02
  PUT https://storageaccount.my.domain.name/testcontainer/README.md?timeout=61
  Authorization: REDACTED
  User-Agent: [Azure-Storage/0.7.0 (go1.13.10; linux)]
  X-Ms-Cache-Control: [no-transform]
  X-Ms-Client-Request-Id: [33d55b42-ad67-4364-7e59-26f5fe561775]
  X-Ms-Content-Disposition: []
  X-Ms-Content-Encoding: []
  X-Ms-Content-Language: []
  X-Ms-Content-Length: [114]
  X-Ms-Content-Type: []
  X-Ms-Date: [Wed, 27 May 2020 20:59:31 GMT]
  X-Ms-File-Attributes: [None]
  X-Ms-File-Creation-Time: [now]
  X-Ms-File-Last-Write-Time: [now]
  X-Ms-File-Permission: [inherit]
  X-Ms-Meta-Createdby: [REDACTED]
  X-Ms-Type: [file]
  X-Ms-Version: [2019-02-02]
  --------------------------------------------------------------------------------
  RESPONSE Status: 400 The value for one of the HTTP headers is not in the correct format.
  Content-Length: [328]
  Content-Type: [application/xml]
  Date: [Wed, 27 May 2020 20:59:50 GMT]
  Server: [Microsoft-HTTPAPI/2.0]
  X-Ms-Request-Id: [d049d666-8e3a-0c3a-6ffa-a9c151f89e08]

How can we reproduce the problem in the simplest way?
Not sure, follow the same example as the link posted above and then change the url to that of a blob container?
Have you found a mitigation/solution?
No, not yet.

Hi @jbmcfarlin31, to upload to the blob service, you need to use the azblob package instead.


Is it possible to support PyTorch 1.5?

+1, is PTAN going to be deprecated?

@thiagolcks Hey - I've come up with a temporary solution that seems to work for me. Here are the steps I took to allow it to work with the latest PyTorch and Torch-Ignite dist.
First, clone this repository, and unzip it (place it in any directory you'd like). When you're done, cd into ptan-master.
Next, activate your conda environment. You can do this by typing conda activate EnvName
Now, use a text editor (notepad will suffice), and edit requirements.txt and copy paste this into it
numpy
opencv-python
gym
atari-py
nose
torch
torch-ignite

When you're done, save the file and open setup.py, and replace the requirements list with requirements = ['torch', 'gym', 'atari-py', 'numpy', 'opencv-python']. Save the file when you're done.
Lastly, all you have to do now is go to your activate conda environment and type in python setup.py install, and it should be good. I'm using PyTorch 1.5.1, and it works just fine for me.

Answering the original question: yes, it should be fairly straightforward to support latest pytorch. It might even work out of the box, as ptan is quite lightweight and doesn't use any advanced pytorch machinery (but I haven't tested this statement :)) .
But it still recommended to stick to requirements.txt supplied with book's repo at least for the beginning, as new versions of pytorch might contains subtle bugs or "features" which make code less efficient and/or break completely. During preparation of the second edition (which includes torch 0.4.1 -> 1.3 upgrade) I've seen various kinds of issues, including lack of convergence and 10-100 times performance drops). But it is always a good thing to experiment! Especially if you already familiar with the code and know the baseline convergence of the method.
Solution suggested by @billbai0102 above is quite risky, as removing pinning of version means "install the most recent version of the packages", which might be completely incompatible with the code. Again, it might work (or seems to work), but contains different weirdnesses in behaviour.


Cannot ignore TCH004 via config file

Same behavior as https://github.com/astral-sh/ruff/issues/3472 with ruff 0.0.278.

A minimal code snippet that reproduces the bug.

from __future__ import annotations

import importlib.util
from typing import TYPE_CHECKING

if TYPE_CHECKING:
    import importlib.machinery

def from_spec(spec: importlib.machinery.ModuleSpec):
    return importlib.util.module_from_spec(spec)

The command you invoked (e.g., ruff /path/to/file.py --fix), ideally including the --isolated flag.

$ poetry run ruff test.py
test.py:7:12: TCH004 Move import `importlib.machinery` out of type-checking block. Import is used for more than type hinting.
Found 1 error.

The current Ruff settings (any relevant sections from your pyproject.toml).

[tool.ruff]
select = ["TCH"]
ignore = ["TCH004"]

The current Ruff version (ruff --version).

$ poetry run ruff --version
ruff 0.0.278

Thanks, sorry about that.


Consider changing registry servers

Current Behavior
Hello 👋
I was trying out shadcn-svelte for the first time and I found out there is a problem when downloading components:
npx shadcn-svelte@latest add button
Running the following command will overwrite existing files.
Make sure you have committed your changes before proceeding.

FetchError: request to https://www.shadcn-svelte.com/registry/index.json failed, reason:
    at ClientRequest.<anonymous> (file:///C:/Users/babak/AppData/Local/npm-cache/_npx/a9116f6e444a1e9e/node_modules/node-fetch/src/index.js:108:11)
    at ClientRequest.emit (node:events:514:28)
    at TLSSocket.socketErrorListener (node:_http_client:495:9)
oy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'ETIMEDOUT',
  code: 'ETIMEDOUT',
  erroredSysCall: undefined
}

The issue is that the servers are not accessible from my country (Iran). Is it possible to change servers to whatever GitHub uses?

UPDATE:
This issue isn't specific to this library or Vercel.
I don't know what GitHub does to make their servers to be available in Iran. Whatever it is, Vercel can't do it (I talked to them a while ago and they didn't have a solution if I don't misremember).
For almost all of the time that I use the Internet, I use a VPN called v2rayN. In this app, there is an option called "Tun Mode", which if turned on, the whole system uses the new IP and VPN stuff thing. So, this is how I get the VPN working in the console too.
If it's possible to add a note when the connection times out, we can add a link to redirect the users to a page that guides them on how to solve this issue. I can help with writing the guide.
If it is possible to change the servers or have an alternative that kicks in, I'd be happy to help check it out if it works or not.

We just need to add the proxy option to all the commands and it will work. At this time I'm not considering moving the registry to GitHub or elsewhere.

Sounds good.
I think adding a note about the proxy option on the installation page can help.
This package svelte-add works fine for me without needing to use a VPN or a proxy option. Maybe it's a good idea to take a look into how they do it later on.

If anyone has the cycles to tackle this, we just need to add the proxy options that currently exist for the add command to the init and other commands as well!

Hey. I can work on it 🤚

We just need to add the proxy option to all the commands and it will work. At this time I'm not considering moving the registry to GitHub or elsewhere.

@huntabyte I believe a better approach can be to use mirrors of the registry servers instead of proxies. If the registry servers don't need any dynamic server-side functionality, then any static web host can serve as a mirror. And the CLI would try these mirrors just in case the primary registry server fails.
A good static site hosting will be Cloudflare Pages, since Cloudflare is an edge-only network and has locations in almost every country, with peer-to-peer network with most ISPs of the world.

Guys, I found a better solution 😄.
I took the JSON registry content, moved it into a fresh SvelteKit project, and deployed it on Netlify. I replaced the registry URL in the CLI with https://inspiring-kheer-efb0f9.netlify.app, tested it out, and things just worked without needing a VPN.
If anyone else wants to test this out, do these steps:

Run git clone --depth 1 https://github.com/huntabyte/shadcn-svelte.git.
Open the project in your code editor.
Open this file packages/cli/src/utils/registry/index.ts, and replace const baseUrl = process.env.COMPONENTS_REGISTRY_URL ?? "https://shadcn-svelte.com"; with const baseUrl = "https://inspiring-kheer-efb0f9.netlify.app";.
Run cd packages/cli.
Run pnpm i.
Run pnpm dev (in the first terminal).
In a secondary terminal run pnpm start:dev init.
Done 🎉.

I think this means the whole website needs to be deployed on Netlify.
Maybe react with a 👍 if this works for you.

I experienced same. This is what I get
FetchError: request to https://shadcn-svelte.com/registry/index.json failed, reason: read ECONNRESET
at ClientRequest. (file:///C:/Users/JUMIA-4275/AppData/Local/pnpm/store/v3/tmp/dlx-7688/node_modules/.pnpm/node-fetch@3.3.2/node_modules/node-fetch/src/index.js:108:11)
at ClientRequest.emit (node:events:513:28)
at TLSSocket.socketErrorListener (node:_http_client:496:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
type: 'system',
errno: 'ECONNRESET',
code: 'ECONNRESET',
erroredSysCall: 'read'
}
ERROR: Failed to fetch components from registry.

Try switching network.
That resolved it for me

We're now running on Cloudflare so this issue should be resolved, if not, it won't be and you'll need to fork and maintain a deployed fork on a server that supports your location.

It works with no problems 👏👍

Hi,
You can proxy just by adding/exposing HTTP_PROXY to the shell. Please read this Docs: Outgoing Requests. Adding the proxy flag to every command was inconvenient because you could just use an environment variable.
Here are examples of how you can initialize your project with a proxy:
$ HTTP_PROXY=http://localhost:8080 npx shadcn-svelte@latest init
# Or
$ export HTTP_PROXY=http://localhost:8080
$ npx shadcn-svelte@latest init

This is a really late response, I'm sorry.


Add Repo Maintainers to CODEOWNERS file

Update CODEOWNERS to provide maintainers ownership of all files in their repos
Description:
Update this repositories .github/CODEOWNER file to ensure that the repository maintainer
group(s) have full control of the files in this repository.

We should modify .github/CODEOWNERS and include the catchall rule and the standard core rules.
The groups here should be:
@hashgraph/devops-ci
@hashgraph/release-engineering-managers
@hashgraph/developer-advocates
@hashgraph/platform-base
@hashgraph/platform-data
@hashgraph/platform-hashgraph

Platform has almost no interaction with protobufs.
SDKs, Block Node, Mirror Node, and Services are the primary entities that need to know when protobufs are changing and approve those changes.

Platform has almost no interaction with protobufs. SDKs, Block Node, Mirror Node, and Services are the primary entities that need to know when protobufs are changing and approve those changes.

Events are in protobuf, this is a platform concern


Fix overlap on title of inspiration component

Trello card
https://trello.com/c/L6SCrYsP/6676-fix-heading-styling-on-inspiration-navigation-cards?filter=member:spencerldixon
Context
We need to fix the heading styling so it doesn’t overlap when wrapping
Changes proposed in this pull request

Adds a little extra line height to prevent title from overlapping.

Guidance to review

looks good to me!


Scalatest is no longer added to External Libraries

Description of the issue. Please be specific.
When importing a project using rules_scala, scalatest is no longer added to the list of External Libraries.
What's the simplest set of steps to reproduce this issue? Please provide an example project, if possible.

Update IntelliJ Bazel Plugin to version 2<IP_ADDRESS>.1
Resynchronize your project with BUILD file
scalatest and its dependencies are removed from External Libraries, causing code highlighting and auto-complete error.

Version information
IdeaUltimate: 2019.2.4
Platform: Linux 5.3.13-zen1-1-zen
Bazel plugin: 2<IP_ADDRESS>.1
Bazel: 1.1.0

Any update on this? This is happening to me now with latest plugin, inelij and Bazel

Find this comment, doing partial resync and adding scalatest deps directly (not via custom tool chain) solved my issue 🤷


"Get git" section: no access to git commands in CMD after installing GitHub.

Tutorial says, that after installing GitHub I will have also installed git. But in Windows CMD there are no git commands available.

Hi! In the Readme I suggest using Git Shell for the console on Windows. You should have it on your computer after you've installed the GitHub desktop app.

Hope you had luck with Git Shell, CMD usually won't work.


make some little improvements

Yes you are right, I have removed that edit

Thanks for your contribution.
(Tests passed here)


Multiple Anomaly Detection Calls Valid?

Hi,
I am wondering if having multiple calls to anomaly detection functions within the same query step is valid. I see nothing in the documentation saying it is valid or invalid, and I haven't seen any examples in the documentation with more than a single function call. Additionally, I am using multiple calls within the same query step on live data and seeing strange results. I can elaborate further on the results I'm seeing if necessary. Here is a sample query to illustrate the use case:
WITH AnomalyDetection AS (
SELECT
    AnomalyDetection_ChangePoint(CAST(x AS FLOAT), 70, 120)
    OVER(LIMIT DURATION(minute, 2)) AS XAD,
    AnomalyDetection_ChangePoint(CAST(y AS FLOAT), 70, 120)
    OVER(LIMIT DURATION(minute, 2)) AS YAD
FROM InputSource
),
AnomalyUnpacked AS (
SELECT
    CAST(GetRecordPropertyValue(XAD, 'Score') AS float) AS
    XScore,
    CAST(GetRecordPropertyValue(XAD, 'IsAnomaly') AS bigint) AS
    XIsAnomaly,
    CAST(GetRecordPropertyValue(YAD, 'Score') AS float) AS
    YScore,
    CAST(GetRecordPropertyValue(YAD, 'IsAnomaly') AS bigint) AS
    YIsAnomaly
FROM AnomalyDetection
)

SELECT * INTO Output FROM AnomalyUnpacked WHERE YIsAnomaly = 1 OR XIsAnomaly = 1

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

ID: ff7b0ac6-60d5-7282-bbed-05b7f7dfb8ab
Version Independent ID: 4da38042-b8da-2ad5-c510-447f88869323
Content: Anomaly detection in Azure Stream Analytics
Content Source: articles/stream-analytics/stream-analytics-machine-learning-anomaly-detection.md
Service: stream-analytics
GitHub Login: @mamccrea
Microsoft Alias: mamccrea

Thanks for the ask  . At this time we are reviewing it and we will reply back as soon as we can .

Thanks @himanshusinha-msft !

Hi @jackt-moran. It is supported to have multiple A/D function calls in the same query. What results are you seeing?

@mamccrea thanks for getting back. I'm glad to hear it is supported.
I had a query that would infrequently detect anomalies in the data, on the order of about once a day. The query step had 7 A/D function calls and for every anomaly detected, all 7 A/D function calls returned IsAnomaly=1. While the 7 data points are indeed related, what was strange is they all returned true on exactly the same observation.
In any case, the data is fairly noisy and I'm still in the experimentation phase. Knowing my usage is supported is very helpful for both current and future analyses, so thank you for your confirmation.

Glad we could help! I will now proceed to close this issue. If you have any further questions, please reopen the issue.
#please-close


Update MCC codes and documentation

Hi Greg,
First of all, thanks for your work on this repo. It's been really useful to me so far.
I'm working on an MCC-ISIC code mapping so I wanted to make sure the codes were updated. I updated the CSV (I didn't generate the other files) and included a documentation folder:

Add missing codes. I went over the issue raised by jleclanche and compared three of the mappings he shared with the current list of codes. I incorporated missing codes from the official ISO list and VISA list (adding 49 codes).
Remove redundant variable. I removed the variable combined_description, since it was equal to edited_description, and renamed edited_description to mcc_description.
Create MCC category variable. I generated a new variable called mcc_category, incorporating the categories shared by jleclanche  and the categories found in the Citibank MCC code list. Categories described as "reserved" were omitted from this list.
Include documentation. Finally, I added a documentation folder with the Citibank, Mastercard and Visa PDFs with MCC codes.

Hope this is useful and tell me if any changes are needed.

I realized that there a few more MCC codes contained in the Citibank PDF that could be added to the list. I'm closing the pull request for now, but message me if you'd like me to do it again.

Sorry for the delayed response.

Seems great! Would love to have these.
I think another issue is already working on that. It seems like a good idea, though.
OK, yes, seems good.
I think we shuld include links, perhaps in the README, but not the actual files as I assume they are licensed in a way that doesn't allow copying and redistributing.


Kong 2.2.0 plugins don't update when changed after start up

Summary
After performing migration scripts from Kong 2.0.4 to Kong 2.2.0 the previous definitions work and so do plugins, however if any plugin is mutated, it stops to work and the service/route ignores the plugin in further interactions.
Steps To Reproduce

For a given service or route  add a plugin such as Request Termination with a message "Stop there"
Access the API endpoint and verify it works by seeing the message
Disable the plugin
Access the API endpoint to see it routes as expected to the service
Enable the plugin again and try changing the message
API continues to work and the Request Termination is no longer working
Restarting Kong makes the configuration to be pulled and works again, however dynamic changes are no longer working as before
Changes to Services/Route still propagate near real time

Additional Details & Logs
Used docker image kong:2.0-ubuntu with a PostgreSQL 11 Database which was used with the previous version
-Added extensive debugging to ensure that Kong was indeed pulling from the DB latest changes
-From PostgreSQL validated that Kong was pulling the latest cluster changes with proper timestamps
-Server and PostgreSQL are in the same UTC time with proper NTP updating them
-Try tweaking the DB_* parameters to try to account for any latency or change but as mentioned Services/Route changes are working so it seems to be plugin only related. Modifying the parameters didn't help, Logs still indicate that kong is pulling changes from the DB but they don't reflect on Routes/Services
-Querying the API shows in real time the changes made to the plugin

Thanks for your report, @johnsaturn. We'll take a deeper look into this.
Just to make it clear: you made the same test using 2.0.4 and the route behaved as expected, right?

Hello @locao :
Appreciated.
Yes, after rolling back to 2.0.4  all the plugins behaved as expected (that is, enabling them,  disabling them, re configuring  them, etc) worked instantaneously on the routes and services where they were applied.
This was applied to 4 isolated environments ,  3 of them Kubernetes and 1 of them VM centric hence it should be reproducible on your side  with the same executable versions. All of them behaved the same.

I tried this with:
http -f put :8001/services/bin url=http://bin.test/anything
http -f put :8001/services/bin/routes/bin paths=/
http :8000
http -f put :8001/services/bin/plugins/952ded6b-1345-4834-9122-322eabc09d93 name=request-termination
http :8000
http -f patch :8001/plugins/952ded6b-1345-4834-9122-322eabc09d93 enabled=false
http :8000
http -f patch :8001/plugins/952ded6b-1345-4834-9122-322eabc09d93 enabled=true config.messsage=dog
http :8000

And could not reproduce.

Hello @bungle
The trick/issue is not with newly generated  plugins but with those that exist AFTER the process is restarted with an existing plugin and then changed,, that's why it went ok through our initial smoke test but later checked with existin switches.
As part of our troubleshooting for this I noticed it does work eventually but it's taking way more time than with previous version, so I guess you can close the ticket and on our side we'll keep testing to see under which circumstances the delay happens . I appreciate your help for looking into it
See below where we have not only one process handling the config in memory but many instances connecting to a database to fetch the configuration:
C:\tmp>kubectl get pod -n kong
NAME                                   READY   STATUS      RESTARTS   AGE
kong-rc-6f4c8d45f9-n6t7n               1/1     Running     0          62s
kong-rc-6f4c8d45f9-tqkz2               1/1     Running     0          62s
kong-rc-6f4c8d45f9-v2nrc               1/1     Running     0          45s
REM Running the admin port of the first pod in my local
C:\tmp>start kubectl port-forward -n kong pod/kong-rc-6f4c8d45f9-n6t7n 8001:8001
REM Running the proxy port on the secod port in my local
C:\tmp>start kubectl port-forward -n kong pod/kong-rc-6f4c8d45f9-tqkz2 8000:8000
C:\tmp>curl  -X PUT http://localhost:8001/services/bin -d "url=http://httpbin.org/anything"
{"host":"httpbin.org","id":"fa9734c2-daee-4e9d-b8f0-14f23386f36b","protocol":"http","read_timeout":60000,"tls_verify_depth":null,"port":80,"updated_at":1605911598,"ca_certificates":null,"created_at":1605911598,"connect_timeout":60000,"write_timeout":60000,"name":"bin","retries":5,"path":"/anything","tls_verify":null,"tags":null,"client_certificate":null}
C:\tmp>curl  -X PUT http://localhost:8001/services/bin/routes/bin  -d "paths=/"
{"id":"63bd2f98-3079-4723-8bac-8863bda65f33","tags":null,"paths":["/"],"destinations":null,"headers":null,"protocols":["http","https"],"strip_path":true,"created_at":1605911606,"request_buffering":true,"hosts":null,"name":"bin","updated_at":1605911606,"snis":null,"preserve_host":false,"regex_priority":0,"methods":null,"sources":null,"response_buffering":true,"https_redirect_status_code":426,"path_handling":"v0","service":{"id":"fa9734c2-daee-4e9d-b8f0-14f23386f36b"}}
C:\tmp>curl http://localhost:8000/
{
"args": {},
"data": "",
"files": {},
"form": {},
"headers": {
"Accept": "/",
"Host": "httpbin.org",
"User-Agent": "curl/7.55.1",
"X-Amzn-Trace-Id": "Root=1-5fb8443b-3522c064771828dd1bae51f3",
"X-B3-Parentspanid": "aa10ea9da56a763f",
"X-B3-Sampled": "1",
"X-B3-Spanid": "034018544aaacd47",
"X-B3-Traceid": "686b592fb04a71c396510517e4563da9",
"X-Forwarded-Host": "localhost",
"X-Forwarded-Path": "/"
},
"json": null,
"method": "GET",
"origin": "<IP_ADDRESS>",
"url": "http://localhost/anything"
}
C:\tmp>curl  -X PUT http://localhost:8001/services/bin/plugins/952ded6b-1345-4834-9122-322eabc09d93  -d "name=request-termination"
{"created_at":1605911668,"id":"952ded6b-1345-4834-9122-322eabc09d93","tags":null,"enabled":true,"protocols":["grpc","grpcs","http","https"],"name":"request-termination","consumer":null,"service":{"id":"fa9734c2-daee-4e9d-b8f0-14f23386f36b"},"route":null,"config":{"status_code":503,"content_type":null,"body":null,"message":null}}
C:\tmp>curl http://localhost:8000/
{"message":"Service unavailable"}
C:\tmp>curl  -X PATCH http://localhost:8001/plugins/952ded6b-1345-4834-9122-322eabc09d93  -d "enabled=false"
{"created_at":1605911668,"id":"952ded6b-1345-4834-9122-322eabc09d93","tags":null,"enabled":false,"protocols":["grpc","grpcs","http","https"],"name":"request-termination","consumer":null,"service":{"id":"fa9734c2-daee-4e9d-b8f0-14f23386f36b"},"route":null,"config":{"status_code":503,"content_type":null,"body":null,"message":null}}
C:\tmp>curl http://localhost:8000/
{
"args": {},
"data": "",
"files": {},
"form": {},
"headers": {
"Accept": "/",
"Host": "httpbin.org",
"User-Agent": "curl/7.55.1",
"X-Amzn-Trace-Id": "Root=1-5fb8415e-38f098016feaae8d2b36e386",
"X-B3-Parentspanid": "dfa8904021962c02",
"X-B3-Sampled": "0",
"X-B3-Spanid": "f8a4e90a828c297a",
"X-B3-Traceid": "ca13a09593172a0b1829338e7b781061",
"X-Forwarded-Host": "localhost",
"X-Forwarded-Path": "/"
},
"json": null,
"method": "GET",
"origin": "<IP_ADDRESS>",
"url": "http://localhost/anything"
}
C:\tmp>curl  -X PATCH http://localhost:8001/plugins/952ded6b-1345-4834-9122-322eabc09d93  -d "enabled=true"
{"created_at":1605911668,"id":"952ded6b-1345-4834-9122-322eabc09d93","tags":null,"enabled":true,"protocols":["grpc","grpcs","http","https"],"name":"request-termination","consumer":null,"service":{"id":"fa9734c2-daee-4e9d-b8f0-14f23386f36b"},"route":null,"config":{"status_code":503,"content_type":null,"body":null,"message":null}}
C:\tmp>curl http://localhost:8000/
{"message":"Service unavailable"}
REM All Seems Ok, now let's kill the second pod and get a new one so it loads the existing plugin (Not a new one just created as before)
C:\tmp>kubectl delete pod -n kong kong-rc-6f4c8d45f9-tqkz2
pod "kong-rc-6f4c8d45f9-tqkz2" deleted
C:\tmp>kubectl get pod -n kong
NAME                                   READY   STATUS        RESTARTS   AGE
kong-rc-6f4c8d45f9-mvnz7               1/1     Running     0          48s
kong-rc-6f4c8d45f9-n6t7n               1/1     Running     0          6m23s
kong-rc-6f4c8d45f9-v2nrc               1/1     Running     0          6m6s
REM Running the proxy port on the secod port in my local
C:\tmp>start kubectl port-forward -n kong pod/kong-rc-6f4c8d45f9-v2nrc  8000:8000
C:\tmp>curl http://localhost:8000/
{"message":"Service unavailable"}
REM: First Change seems to work OK
C:\tmp>curl  -X PATCH http://localhost:8001/plugins/952ded6b-1345-4834-9122-322eabc09d93  -d "enabled=false"
{"created_at":1605911668,"id":"952ded6b-1345-4834-9122-322eabc09d93","tags":null,"enabled":false,"protocols":["grpc","grpcs","http","https"],"name":"request-termination","consumer":null,"service":{"id":"fa9734c2-daee-4e9d-b8f0-14f23386f36b"},"route":null,"config":{"status_code":503,"content_type":null,"body":null,"message":null}}
C:\tmp>curl http://localhost:8000/
{
"args": {},
"data": "",
"files": {},
"form": {},
"headers": {
"Accept": "/",
"Host": "httpbin.org",
"User-Agent": "curl/7.55.1",
"X-Amzn-Trace-Id": "Root=1-5fb842ae-0d0453a53424d5f65b8f40e5",
"X-B3-Parentspanid": "bb7008f10a8e6422",
"X-B3-Sampled": "0",
"X-B3-Spanid": "ba6a8af2e77d93b0",
"X-B3-Traceid": "02bcf297bcae501ea56c22be287c6768",
"X-Forwarded-Host": "localhost",
"X-Forwarded-Path": "/"
},
"json": null,
"method": "GET",
"origin": "<IP_ADDRESS>",
"url": "http://localhost/anything"
}
C:\tmp>curl  -X PATCH http://localhost:8001/plugins/952ded6b-1345-4834-9122-322eabc09d93  -d "enabled=true"
{"created_at":1605911668,"id":"952ded6b-1345-4834-9122-322eabc09d93","tags":null,"enabled":true,"protocols":["grpc","grpcs","http","https"],"name":"request-termination","consumer":null,"service":{"id":"fa9734c2-daee-4e9d-b8f0-14f23386f36b"},"route":null,"config":{"status_code":503,"content_type":null,"body":null,"message":null}}
C:\tmp>curl http://localhost:8000/
{"message":"Service unavailable"}
C:\tmp>curl http://localhost:8000/
{"message":"Service unavailable"}
**REM DOESN'T WORK ANYMORE. **
C:\tmp>curl  -X PATCH http://localhost:8001/plugins/952ded6b-1345-4834-9122-322eabc09d93  -d "config.message=dog"
{"created_at":1605911668,"id":"952ded6b-1345-4834-9122-322eabc09d93","tags":null,"enabled":true,"protocols":["grpc","grpcs","http","https"],"name":"request-termination","consumer":null,"service":{"id":"fa9734c2-daee-4e9d-b8f0-14f23386f36b"},"route":null,"config":{"status_code":503,"content_type":null,"body":null,"message":"dog"}}
C:\tmp>curl http://localhost:8000/
{"message":"Service unavailable"}


[flash_ctrl] Flash ctrl errors when programming a region with no protection enabled

Scenario:

mp_region_cfg* CSRs are programmed with random values, but the en bit is 0 (memory protection not enabled).
programmed flash_ctrl op: 1/10: '{partition:FlashCtrlPartitionData, op:FlashCtrlOpProgram, num_words:'h2b, addr:'h657a}

Issue:
The start addr for programming flash with 2b words ends up matching multiple regions, rather than falling into the default region. This is due to the logic below in flash_mp.sv:
      // region matches if address within range and if the partition matches
      region_match[i] = req_addr_i >= region_cfgs_i[i].base.q &
                        req_addr_i <  region_end[i] &
                        req_part_i == region_cfgs_i[i].partition.q &
                        req_i;

In the attached waveform, prog operation starts at marker M1 and ends at M2. The first write data arrives at the yellow mark. Since region_match[i] is not qualified with region_cfgs_i[i].en.q, it ends up selecting region 0 (region_sel[0] = 1), which has (en = 0, prog_en = 0). region_sel[8] should have been set instead. It ends up treating the programming op as erroneous.
Solution:
Qualify region_match with region_cfgs_i[*].en.q.

good catch, i'll submit a fix soon.

shall we close this issue if it's fixed?

Yes, this is fixed. Closing now.


[DO NOT MERGE] Include change history in content payload for guides

For context, this was previously attempted and then reverted, so this is a second attempt…


Safe exposure of Hash objects is failing

When using :expose and specifying the exposure as safe: true, objects of the type Hash seem to never get exposed. It does not matter whether the Hash contains a key that matches the attribute.
If i mark the :exposewith safe: false, the response does show the value of the Hash, but of course only as long as the Hash has such a key.
A quick lookup in the source showed me the valid_exposure? method in the entity.rb (around line 570) to be the issue. This is the current check:
(nested_exposures.any? && nested_exposures.all? { |a, o| valid_exposure?(a, o) }) || \
      exposure_options.key?(:proc) || \
      !exposure_options[:safe] || \
      object.respond_to?(self.class.name_for(attribute))

What I don't understand (I'm quite new to ruby and especially grape) is the third line, which actually says that safe exposures are not valid, unless they have nested elements or have a :proc block.
Nevertheless, similar to the fourth line, which checks for a method matching the attribute's name, I would have added a fifth condition that checks if the object is a Hash and does have a key matching the attribute's name:
object.is_a?(Hash) && object.key?(self.class.name_for(attribute))

This would resolve my issue and be more in line with the implementation of the primary output of the serializable_hash method, which does resolve the values of Hash objects.
Can s.o. please verify my issue?
Thank you all!

fixed by pull #110


404 when installing apache-arrow on npm (Solved)

Describe the bug, including details regarding any error messages, version, and platform.
Hi, I was working with apache arrow in node and yesterday it was working well, today I decided to start using npm workspaces so I could share my arrow schemas on different projects, however I can't install apache arrow anymore, could you please take a look?

Error 404:

https://www.npmjs.com/package/apache-arrow

As I was writing this issue and gathering proofs, I noticed that the response of https://registry.npmjs.org/apache-arrow changed from not-found (in json format) to an actual json object, so I tried installing again and it's working, the page above (screenshot) also came back to work.

Have a nice day, feel free to close this issue.
Component(s)
JavaScript, Packaging

Hi @giovannefeitosa thanks for reporting the issue. This seem like the npm website had some issues more than a specific Arrow issue.
I'll be closing this issue if you are ok with that. Thanks for notifying us of this upstream issues.


web bad css

Hi
when I have offline feed, all feeds are listed with red color

and when I switch to online feed all feeds are listed with white color, my guess you want have only offline feeds always with red color.

Hi,
This is the intended view. The full dropdown is in an error state, but I can understand the confusion. I will apply a change that will change the dropdown border to red instead of having the dropdown items be all colored red. This issue will be closed when that change has been committed.

thank you very much! 👍


Header - Search Funcionality

Search function in header doesn't work. When you enter a search query it doesn't return anything.

@bstopp the search box now allows you to enter search inquiries but it doesn't return results properly.
https://main--shredit--stericycle.aem.live/en-us/search?searchQuery=paper

The header submits to the search page - which is all it can do.
The Site Search block itself is captured in issue #85

@bstopp okay as long as the full functionality will be fixed with #85 this can be closed,

@bstopp sorry one more small thing here. The "x" doesn't show a clickable element. The mouse shoudl change to the finger pointer from the arrow pointer on hover as it does for the search icon.

not sure which browser you're using, but i don't get a hand pointer on the magnifying class nor the 'X', in FireFox or Chrome. 🤔

@bstopp it's happening on Chrome and Firefox on my end
When I hover over the magnifying glass it shows the hand pointer (desired behaviour). When I hover over the x it stays the classic pointer mouse (should be hand pointer to indicate it's a link/button)

@bstopp still seeing same thing on https://main--shredit--stericycle.aem.live/en-us.
When I hover over the magnifying glass it shows the hand pointer (desired behaviour). When I hover over the x it stays the classic pointer mouse (should be hand pointer to indicate it's a link/button)

Check https://bug-search-hover--shredit--stericycle.aem.page/en-us from #422 ?

@bstopp pointer is working as expected (hand cursor on hover on x and magnifying glass) on - https://bug-search-hover--shredit--stericycle.aem.page/en-us

I'll fix the full search functionality on the results page with a new PR and address #85


chore(linter): add commitizen & lint-staged

:tada: This PR is included in version 1.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Upload multiple file in directory

How to upload multiple file in a directory?
Eg: I have directory /home/mydirectory which have 4 file: file1.gz, backup.zip, image.jpg, someapp.bin
I'm using ubuntu 12.04. Thanks before.

I am using "gdrive upload -f FILE/FOLDERLOCATION -p DRIVE-PARENT-FOLDER-ID"
Or you can check out "-f" option by running gdrive -h

It worked for me with gdrive upload -f folder/*


need to disable portmaster ota update

after running with active wifi portmaster eant to update to new version(seems to not supported by trimuy).
Instead of pressing B its updating.
how to disable it. I dont want update portmaster by misclick

all ok when updating


Simplify FPS options

Triggered by https://css-tricks.com/screen-recording-utilities-for-macos/, let's simplify the FPS options.

File size control

It's a big strange. There is an FPS control buried in settings to adjust the frame rate, but then on the editing screen before you export, you only get to pick between 30 and 15, so it's not clear what happens if you've adjusted it in settings to something other than those.

We currently have two ways to specify FPS. In the Preferences and in the editor window. The one in Preferences is for specifying recording FPS, but that's not clear enough. The one in the editor is for specifying export FPS, but it lacks flexibility.

Proposal
We change the FPS option in the Preferences to just be a toggle of either 30 and 60 FPS. There's no good reason to have a lot of flexibility there. It won't improve export performance much by having lower recording FPS. And all Macs should be able to handle 30 FPS smoothly because it's hardware accelerated.
In the editor, we change the 15/30 toggle to be a dropdown/slider (Which one??) with the following values:

6 FPS
10 FPS
12 FPS
15 FPS
20 FPS
25 FPS
30 FPS
60 FPS

With the default being 15 FPS
The 60 FPS is only shown if the video was recorded in 60 FPS.
If the user tries to export a GIF/APNG with 60 FPS we'll show an error. That makes no sense and is probably a mistake.
If accepted, this replaces and closes #371.

@chriscoyier How does this sound?

I like that idea. I have to say I was confused initially about the fps slider in settings. Also, I think I'd rather go for a dropdown. It doesn't make sense to me for it to be a slider since you can't pick values like 28 or 29 etc

Showing an error when attempting to export a GIF/APNG at 60 FPS might not be the best experience, we should instead have good defaults and help people get to the best results.
Personally I wish we could get rid of the capture/recording FPS setting in preferences completely, as I believe all devices that runs macOS 10.12 or later can also capture at 60 FPS. If that's not the case, is it possible to detect that and dynamically tweak the setting without input?
Changing the FPS toggle in the Editor to a slider makes a lot of sense, having that many options in a dropdown would be cumbersome. I'll look into a design solution for it.

Showing an error when attempting to export a GIF/APNG at 60 FPS might not be the best experience, we should instead have good defaults and help people get to the best results.

But even if 60 FPS is the default, we still need a way to prevent exporting GIFs at 60 FPS. This is an edge-case though, so I think an error message is fine.
Though I'm starting to think that having the formats as separate buttons was a mistake. It means we can not customize the editor to the type of format. If we had individual Format and Export buttons, we could just not add 60 FPS to the dropdown when GIF is selected. This would also let us do GIF specific things, like show an estimated file size in the editor.

Personally I wish we could get rid of the capture/recording FPS setting in preferences completely, as I believe all devices that runs macOS 10.12 or later can also capture at 60 FPS. If that's not the case, is it possible to detect that and dynamically tweak the setting without input?

Careful about assumptions. It's not about the OS version, but rather hardware, and macOS 10.12 is still supported on pretty old hardware. We can detect when it's hardware accelerated, yes, but not in what situations it's used. What if the user wants to record playing a game session, which is very heavy and you want to use the least amount of extra processing power, or they're on battery and want to conserve power consumption. There are many reasons not to want 60 FPS. I think 60 FPS is really only for some pro-users, so we shouldn't punish normal users with it, but it's still useful as an option for those few power-users.

Though I'm starting to think that having the formats as separate buttons was a mistake. It means we can not customize the editor to the type of format.

@sindresorhus @skllcrn  What about a dropdown where the first option is Default? This would let the default for Gif and WebM be 15 fps. The default for Mp4 could be set to whatever the recording was captured in, to reduce the need for re-encoding.
That lets me not have to think about FPS for most cases while still providing flexibility.

We've implemented a toggle for the FPS setting in preferences, that'll be updated with a better description and a dropdown in an upcoming release. For now we're sticking with the current solution for the FPS options in the editor.

@skllcrn I still think we should have more FPS options in the editor. Only 15 and 30 are very limiting, especially for GIFs where you sometimes only need 10 FPS.

I think our best best if to implement a slider @sindresorhus, thinking a discrete slider going from say 10 to 60 FPS if enabled. Thoughts?

Would it be a slider with specific options? Or any options between the two?

I'd suggest one with specific options @karaggeorge https://material.io/design/components/sliders.html#discrete-slider

+1 most of the time, I need 5 or 10 fps for instructional clips that i export as GIFs 15/30 makes HUGE gifs, i like the drop-down approach, slider works also

I have recently turned to LiceCap just because of this. Github limitation to 10MB gifs makes it difficult to work with 30FPS

Right now you have the option to decrease the dimensions of the recording in addition to exporting at 15 FPS @VictorVelarde, but in the next version of Kap you'll have more granular control over the export FPS.

Also, a friendly reminder that WebM is a better format for anything more than just a few seconds that doesn't need to loop!


Edit exercises

Value proposition
As a user,
I want to edit my own exercises
so that I can fix typos or adapt them to my personal needs.
Description

Acceptance criteria

[ ] Screen 1: All cards that were created by users include an "edit" action icon.
[ ] "Edit" action icon leads to form page (Screen 2).
[ ] Form page has a title "Pausenübung ändern"
[ ] All inputs reflect the current content of the card.
[ ] All inputs can be edited or changed.
[ ] Button "Speichern" submits form.
[ ] Button "Zurück" leads user back to Screen 1, without submitting the form. Inputs are reset.
[ ] If form is submitted, Screen 3 is shown with updated exercise on top.

Tasks

[ ] Create new feature branch "edit"
[ ] Create component EditButton
[ ] Update component Card
[ ] Create component EditForm
[ ] Write tests

nice same as in US before -> i love it that you create or finish the CRUD :*
please add look at accessibility :)


[JIT Provisioning] [Consent Provision] When the "prompt for username, password and consent" is selected, user is redirected to the "Self Sign Up" page

Describe the issue:
When an IdP has selected to provide consent with prompt for username, password and consent, the user is redirected to the sign up page. And if the self sign up is disabled, the user is provided with this information only after entering the details.
How to reproduce:

Login to IS Console
Create an IdP
Enable JIT with provisioning scheme "prompt for username, password and consent"
Connect the IdP to an application
Login to the application
Provide the Idp information and verify the redirection > The user is redirected to the self sign up page.
Once the info is given , the user is prompted to the self sign up disabled page.

Actual Behaviour

The user is redirected to the self sign up page.

Screenrecording:
https://github.com/wso2/product-is/assets/106053688/24578c8b-72aa-41c3-9543-fd42d50de1c4
https://github.com/wso2/product-is/assets/106053688/a7a4ddb9-a223-4855-bbe0-5311c39c40fa
Expected behavior:
The mandatory attributes required to create the user should be prompted to add, rather than requiring the self sign up page. Further when self sign up is disabled, the user can't proceed - the reason for this being blocker.
This is working in IS 6.1.0 even without enabling self sign up. The user is provided the option of selecting the username and proceed to create an account where the details are populated. Better than what we are seeing in IS 7
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [e.g., IS 5.10.0, IS 5.9.0]
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Suggested labels:

Sending to the self-sign up page is expected, but values send in the url must be auto filtered expect the username and the password. The corresponding values for the field in the self sign up page are available as url params. Need to set them to relevant fields in UI.

This can't be the expected behaviour and the user is able to provision without the self sign up enabled in 6.1.0. What is the reason for the difference of behaviour here? Why do we need self sign up to provision a user?
cc: @thanujalk @malithie

This can't be the expected behaviour and the user is able to provision without the self sign up enabled in 6.1.0. What is the reason for the difference of behaviour here? Why do we need self sign up to provision a user?
cc: @thanujalk @malithie

In the 6.1.0 also we send the user to self-sign up page with fields already filled with the values comes from the IDP, to get the user consent. The issue here is, the fields are not already filled with the values comes from the IDP.

This can't be the expected behaviour and the user is able to provision without the self sign up enabled in 6.1.0. What is the reason for the difference of behaviour here? Why do we need self sign up to provision a user?
cc: @thanujalk @malithie

In the 6.1.0 also we send the user to self-sign up page with fields already filled with the values comes from the IDP, to get the user consent. The issue here is, the fields are not already filled with the values comes from the IDP.

As discussed, skipsignupenablecheck=true is not honored at processregistration.do. This should be expected to work as 6.1.0

In 6.1, this works as follows: when the "provision username, password and consent" is selected.

User logs in with the social account
User is provided with a page where he is prompted that he will be navigating to the sign up page
Once he confirms, he navigates to the sign up page.

 What is the reason for the difference of behaviour here? Why do we need self sign up to provision a user?
cc: @thanujalk @malithie

In the 6.1.0 also we send the user to self-sign up page with fields already filled with the values comes from the IDP, to get the user consent. The issue here is, the fields are not already filled with the values comes from the IDP.

As discussed, skipsignupenablecheck=true is not honored at processregistration.do. This should be expected to work as 6.1.0

Even if this property is sent in the self registration POST request as in [1], the API throws the following error.

org.wso2.carbon.identity.mgt.endpoint.util.client.ApiException: {"code":"20021","message":"Bad Request","description":"Self sign up feature is disabled","traceId":"eb1ff597-5fcd-4d06-b3df-7dc62e49ca30"}

[1] https://github.com/wso2/identity-apps/pull/4980

Even if this property is sent in the self registration POST request as in [1], the API throws the following error.

org.wso2.carbon.identity.mgt.endpoint.util.client.ApiException: {"code":"20021","message":"Bad Request","description":"Self sign up feature is disabled","traceId":"eb1ff597-5fcd-4d06-b3df-7dc62e49ca30"}

[1] wso2/identity-apps#4980

We cannot rely on the skipsignupenablecheck values comes from the MePost API call and create the user if it true. Because, then anyone can add that property to the POST API and create users even though the self registration is disable for org.
For other provisioning options, we do not user this POST API.
@pavinduLakshan  will check how we did this in IS-6.1 and other provisioning options from the fronted.

This is fixed in the latest pack.
https://github.com/wso2/product-is/assets/27746285/93fbd16b-7428-4e73-85df-46fc5b1caed1


Fix linux build error in alvr server

@zarik5 I believe the 'alvr_server' executable was removed in ea3ab930e868683153338a85c4cf710a6ab8196f . However, the code that copies this executable into the driver destination directory had not been removed

Oh thanks, I missed that.


Update package.json in docs to latest.

Addresses this issue:
https://github.com/angular/angular.io/issues/2486

I signed the CLA.


Autocomplete suggestions aren't clickable and don't always appear

I'm running into the same issue as #19, where autocomplete suggestions aren't clickable. The solution in that issue didn't work for me.
Additionally, I don't see any autocomplete suggestions when the name of a tag is partially typed, but then the autocomplete panel is opened.

Thanks for the great repo and the help :)

Hey @mfigdore
Thank you for reporting this and for your kind words about the repo! To better assist you, could you please provide a few more details:
Version Information: Could you confirm the version of the package you are currently using? This will help us understand if you have the latest updates where the issue was addressed.
Code Snippet: Could you share a snippet of how you're implementing the autocomplete feature in your setup? This will help us identify any potential misconfigurations or specific use cases.
Browser and Environment: Which browser and version are you using? Also, are you seeing this behavior in a specific environment (e.g., development, production)?
Error Logs: Are there any console errors when you attempt to use the autocomplete feature or when the issue occurs?
Any additional information or screenshots you could provide would be greatly helpful in diagnosing the problem more accurately.
Thanks for your cooperation!

I found the issue with the autocomplete suggestions not being clickable — this is because I’m using Emblor within a shadcn Dialog.
It looks like this could be the solution. Is it possible to add a property to the API to set modal={true}?
Regarding autocomplete suggestions not appearing, this happens in Emblor 1.4.0 and can be demoed using the autocomplete example on the website:

Remove a tag
Type the first 4 letters of the tag
Press the arrow to open the autocomplete menu

@mfigdore
The enhancements discussed in this thread have been addressed in the v1.4.2 release.


feat: Add Alibaba API credential and ChatAlibabaTongyi node

added ChatAlibabaTongyi node
added AlibabaApi Credentials

can we add the model to the list here: https://github.com/FlowiseAI/Flowise/pull/3179/files

can we add the model to the list here: https://github.com/FlowiseAI/Flowise/pull/3179/files

hello i have made the necessary changes, can you please approve? @HenryHengZJ

@HenryHengZJ Hello can you please add the hacktoberfest tag, so it can get accepted?


Java March 2020 Release

Contains high level release note for the March 2020 release for Java.

/azp run azure-sdk - ci

@kyle-patterson is the azure-sdk - ci pipeline supposed to be running for this PR? It looks stuck.


Publish raw H264 stream using a custom image_transport plugin

Old (rosmake) image_transport plugin: https://github.com/introlab/introlab-ros-pkg/tree/master/x264_image_transport

Good job hon :)
On Thu, Sep 10, 2015 at 2:45 PM, Mani Monajjemi<EMAIL_ADDRESS>wrote:

—
Reply to this email directly or view it on GitHub
https://github.com/AutonomyLab/bebop_autonomy/issues/1.

--
Shokoofeh Pourmehr
www.shokoofeh.me


Added Eval() and EvalString(string)

I have modified engine.go and engine_test.go adding an Eval() and EvalString().  I've included a minimal test for each.  Thanks, Robert

@rsdoiel Thx for your PR!
Why did you add Eval() and EvalString() method?

Good afternoon,
jid implements a nice interface for addressing ad-hoc JSON data. The eval
functions were just a convenient for the ultilities I am playing around
with. After several experiments I realized my use cases tend to be
evaluating strings passed in to the program from the program's parameters.
Really enjoyed playing with jiq to explore JSON responses from API.
All the best,
Robert
On Jan 21, 2017 11:01 PM, "simeji"<EMAIL_ADDRESS>wrote:
@rsdoiel https://github.com/rsdoiel Thx for your PR!
Why did you add Eval() and EvalString() method?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/simeji/jid/pull/56#issuecomment-274313417, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAKUPfm-EpZRwaHHJfO7QmIGsJCHj73xks5rUv6ugaJpZM4Ljuny
.


Fix console error on lookups

What is the context of this PR?
Theres a console error in lookups on staging. This was due to some missing required parameters for the input component
How to review
Check against the test_textfield schema and see that the error is fixed in the console
Checklist

[ ] New static content marked up for translation
[ ] Newly defined schema content included in eq-translations repo

 Lookup console error


update for v1.0.0 release

Another attempt at #3, #4. This time forking directly from parent repo.

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Checks are passing! Ready for a look @scopatz

@jsta this feedstock looks abandoned. Thanks for fixing it! Do you want to add yourself as a maintainer here in this PR?

@ocefpaf Done!

Excellent, thank you!


MODFQMMGR-214: adding dependencies

Purpose
Describe the purpose of the pull request. Include background information if necessary.
Approach
How does this change fulfill the purpose?
TODOS and Open Questions

[ ] Use GitHub checklists. When solved, check the box and explain the answer.

Learning
Describe the research stage. Add links to blog posts, patterns, libraries or addons used to solve this problem.

We should definitely try deploying this before merging, just to be safe (since we've been bitten before by messed up dependencies and we're soooo close to releasing, so it'd be an awkward time to get it wrong 😛)


This is awesome! But how do you use it?

Hey man, love this repo. By any chance do you know Will Fancher? He described something very similar to what you have here.
I am new to nix, and dont know much about nixops. You think you give me a breakdown of how I might be able to adopt and start using your config?

it's been a while, so I'm going to close this issue


[Crash] javax.crypto.AEADBadTagException

App crashes when try to export or import files in latest Galaxy OneUi 6.1 update.
I also removed the encrypt option but it happens same.
Could I get some help or updates on here?
Thank you.
FATAL EXCEPTION: main
Process: com.choidev.livegametracker.dev, PID: 14894
javax.crypto.AEADBadTagException
	at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:632)
	at javax.crypto.Cipher.doFinal(Cipher.java:2114)
	at com.google.crypto.tink.integration.android.AndroidKeystoreAesGcm.decryptInternal(AndroidKeystoreAesGcm.java:118)
	at com.google.crypto.tink.integration.android.AndroidKeystoreAesGcm.decrypt(AndroidKeystoreAesGcm.java:101)
	at com.google.crypto.tink.KeysetHandle.decrypt(KeysetHandle.java:919)
	at com.google.crypto.tink.KeysetHandle.readWithAssociatedData(KeysetHandle.java:804)
	at com.google.crypto.tink.KeysetHandle.read(KeysetHandle.java:785)
	at com.google.crypto.tink.integration.android.AndroidKeysetManager$Builder.readMasterkeyDecryptAndParseKeyset(AndroidKeysetManager.java:381
	at com.google.crypto.tink.integration.android.AndroidKeysetManager$Builder.build(AndroidKeysetManager.java:297)
	at androidx.security.crypto.EncryptedSharedPreferences.create(EncryptedSharedPreferences.java:169)
	at androidx.security.crypto.EncryptedSharedPreferences.create(EncryptedSharedPreferences.java:130)
	at de.raphaelebner.roomdatabasebackup.core.RoomBackup.initRoomBackup(RoomBackup.kt:286)
	at de.raphaelebner.roomdatabasebackup.core.RoomBackup.backup(RoomBackup.kt:336)

I've resolved this one by disabling the allowBackUp option to false in manifest.
But if there is other solution or any updates to use it with allowBackUp true, I'm happy to follow up for it!

I am facing the same issue, and changing the 'allowBackUp' option to false in manifest does not help.
Also switching OFF encryption does not help in my case.
The issue seems to be caused by a wrong encryption key in the backup-shared preferences (eg coming from a Google App restore)
Would it be possible to stop checking for encryption keys, if encryption is OFF?
My solution was to delete the relevant SharedPreference-file.

@Tiemichael please can you open a new issue for this and if you want also a pull request where you solved the problem


Convert Project From Hardhat to Foundry #206

This PR seeks to merge the following changes. #206

[ ] Complete replacement of Hardhat configurations and project setup to Foundry. - CONFIG

[ ] Incorporation of already implemented priceReset task into the updated  #project. #210

[ ] Update deployment scripts so that contracts will deploy on the local Foundry (Anvil) blockchain.

[ ]  Port all tests.

@george-shammar I suggest that you make this a draft PR until its ready. Once its ready you can assign me as a reviewer!

@george-shammar I suggest that you make this a draft PR until its ready. Once its ready you can assign me as a reviewer!

Okay. Thanks.

Why not rename test files with test in the name vs t?

Why not rename test files with test in the name vs t?

Using for example "Contract.t.sol" as against "Contract.test.sol" is a foundry convention. However, tests are still passing after adopting "Contract.test.sol" format. Going forward, I'll use the format.

Why not rename test files with test in the name vs t?

.t.sol and .s.sol are the formats foundry recommends. so I am ok to go with *.t.sol

Why not rename test files with test in the name vs t?

Using for example "Contract.t.sol" as against "Contract.test.sol" is a foundry convention. Same with deployment scripts e.g "Contract.s.sol". However, tests are still passing after adopting "Contract.test.sol" format. Going forward, I'll use the "Contract.test.sol" format.

Thank you for the response. Let's just stick with Foundry conventions then!


error running phala parachain in mainnet

Overview
error running phala parachain in mainnet
Steps to reproduce the behavior:

Run the phala parachain using the kurtosis package

Expected Behavior
phala parachain in mainnet should run
Actual behavior
phala para chain in mainnet is not running
Screenshots

in testnet also, phala parachain is not running

verified the issue and closing the bug as fixed


Proposal: Allow to target a specific point in Teaching Tip

TeachingTip currently allows only FrameworkElement as it's target.
But I think that it's a basic scenario to target a specific point of a relatively big FrameworkElement.

Hey @MuziburRahman currently teaching tip has a property Windows.UI.Xaml.Thickness PlacementMargin; which can be used to offset the position of the teaching tip.  Would this api satisfy your requirement? https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/dialogs-and-flyouts/teaching-tip#add-a-placement-margin
If not can you give us some more info about the scenario you have in mind that the api surface doesn't address?
@SavoySchuler FYI

Yes, this api satisfies my requirement.


feat: support vanilla k8s cluster

This PR add a --openshift flag to operator which instructs operator
to deploy components that are specific to openshift only if the flag is
set. This allows the operator to be run against a vanilla k8s cluster by
not setting this flag (which is the default).

@husky-parul this may help with running the operator against vanilla k8s. We will need a helm chart to install the operator.


Don't double quote AssemblyTestLog parameters

See https://github.com/serilog/serilog/issues/956

Is this what broke some of our tests?

I doubt this is what broke our tests. The double quoting was just annoying me.

Besides notifying Eilon, I think you need to update universe too. https://github.com/aspnet/Universe/blob/release/2.2/build/dependencies.props#L119

Sorry I'm not sure I understood - what's the ultimate motivation of updating the dependency? Is it due to test failures? Or just to help users get the latest Serilog? To fix a bug?

I think this is just for aesthetics and the double quotes were annoying @halter73.

That's a pretty weak-sauce argument 😄 Are there any other reasons to update? We do like to keep things fresh, but this is also a major version update of a dependency, so are there any Serilog breaking changes that we would be forcing users to deal with?

I didn't know we needed a version update when I originally reviewed the PR but as mentioned above, this package is only used in noship packages and test projects so I think updating the version is okay as long as all of our tests continue pass.

Oh it's not in anything we ship? I'll gladly approve that then, if someone can confirm that.


Will you consider implementing VISinger base on VITS?

VITS is the best TTS system, I think. So VISinger is attractive.
https://github.com/jaywalnut310/vits  is the path of VITS code.
https://zhangyongmao.github.io/VISinger/  is the demo of VISinger.

Many thanks for your suggestion! We are considering supporting GAN-based svs in our third iteration.
Here is a brief plan of the roadmap:

By end of March, we want to refine the current codebase and support more recipes (as well as vocoders from https://github.com/kan-bayashi/ParallelWaveGAN)
By end of May, we will start to merge the framework to ESPnet (you may find they are very similar) as a new sub-module ESPnet-Muskit
By June, we expect to support GAN-based SVS and other frameworks including

https://www.arxiv-vanity.com/papers/1903.10729/
https://github.com/SoonbeomChoi/BEGANSing
VISinger
HifiSinger
DiffSinger

If you have more suggestions or comments, please feel free to request upon issues. Given requests, we may also change the priorities.

good news


HAWKULAR-193 Upgrade frontend-maven-plugin version to fix 'missing cl…

…ass' error when installing npm

Looks like the error is just a transient error due to jboss repository timing out.
Thanks Gary!