Add useful getLength and getArea methods to ol.proj

Useful linestring getLength and polygon getArea methods are added to ol.proj and the measure example is updated to use them.
The new methods give good answers in metres, pixels or other projection units whatever the latitude, and whatever the projection. Results in metres and metres squared are returned for EPSG:4326 and EPSG:3857. An optional ol.Sphere can be specified, which might be used for example, with non terrestrial mapping.
The custom getPointResolution function attribute of ol.proj is replaced with a boolean constantPointResolution attribute, with a getter and setter in ol.proj. constantPointResolution should be set true for projections such as UTM or EPSG:27700, which have nominally constant scale throughout their extent, either at construction time, or afterwards. constantPointResolution will default to false unless the projection's units are pixels or degrees, in which case it is set true. ol.proj.getPointResolution will return an unchanged resolution for constantPointResolution projections. When constantPointResolution is true and projection units are not degrees, length and area calculations can use simple, fast and accurate planar cartesian methods rather than spherical methods.
Documentation warnings are added to ol.geom getLength and getArea methods which for EPSG:3857 and EPSG:4326 do not return results in metres or metres squared. Also, a warning is added to the documentation of ol.geom.circle about the radius not being in metres.
Test for the new ol.proj methods are included.
I have had a go and squashing my commits into one but have failed - sorry.

A review of the earth radius used for the calculation of length and area on the earth represented as a sphere might be in order.
Leaflet and Google Maps V3 use 6378137 metres by default which is the WGS84 equatorial radius.
ol3 currently uses 6370997 metres in ol.sphere.NORMAL, 6378137 in ol.sphere.WGS84 and 6378137 in ol.proj.EPSG3857.RADIUS. I have defaulted to ol.sphere.NORMAL in the getLength and getArea methods submitted with this PR.
6378137 must be used for the EPSG:3857 projection. The  choice of radius to use for length and area calculations on a WGS84 equivalent sphere is not so obvious.
The 6370997 in ol.sphere.NORMAL is close, but not equal to, the WGS84 authalic (equal area) and mean radius which are 6371007 and 6371009 respectively either of which is probably a good candidate for calculations on an equivalent sphere.
Ideally projections would reference a geoid which could be represented by a sphere or an ellipsoid.
Proj4 projections could get semi-major radius 'a' and semi-minor radius 'b' or reciprocal flattening 'rf' form definition data and compute a mean radius for a sphere see https://en.wikipedia.org/wiki/Earth_radius. Its because of this that I have used an optional ol.Sphere attribute for the new getLength and getArea methods - it might one day become ol.Geoid or some such, and so support ellipsoidal calculations (Vincenty for getLength)
There is a an interesting article about the shortcomings of Web Mercator here
http://www.hydrometronics.com/downloads/Web Mercator - Non-Conformal, Non-Mercator (notes).pdf

Companion to the proposed getLength and getArea methods might be getRectangle and getCircle methods.
These would return a list of 2D coordinates. getRectangle would have parameters of centre, width and height in projection units or metres if the projection units are degrees. getCircle would have parameters of centre, number of steps and radius in projection units or metres if the projection units are degrees. Calculations would proceed as for the proposed getLength and getArea using simple maths for Pixel and constantPoint Resolution projections and the ol.Sphere.offset method for other projections.

I think the addition of ol.proj.getLength() and ol.proj.getArea() is worth considering.  But this would be easier to review without the extra documentation changes and extraneous history.

I was hoping that this would simplify things more, and remove confusion. Looking at the documentation, it seems to me that it adds more confusion than it removes. See my inline suggestions.

Here is my plan for progress on this. I still think its worthwhile to help some folk along the way to getting meaningful answers for length and area calculations.

Omit the documentation updates to the ol.geom method getLength and getArea methods and ol.geom.Circle for now.

Omit the comments in the updated measure example about the ol.geom methods not giving good answers for 3857 and 4326.

Change both the new getArea and getLength methods to accept an array of coordinates or an array of arrays of coordinates.

Leave the return units of the new methods as meters, for projections with units of degrees and projection units (including pixels) for all other projections. I believe this is the most useful compromise. I don't think that returning an answer in degrees, using the radius of ol.sphere.Normal or the optional ol.Sphere passed to the methods would be very useful. The alternative of always returning a length in meters does not fit well with Pixel projections.

Rename the setConstantPointResolution method to setHasConstantPointResolution and drop its check for 3857. Instead of the check, override the function getHasConstantPointResolution  in ol.proj.epsg3957_ to return false always.

Drop the comment added about the radius value to ol.sphere.NORMAL - though I would like to continue the discussion of the best value to use.

That should leave a change set of projection.js, epsg3857projection.js, olx.js, proj.jsdoc, proj.test.js plus the measure example.
I will have another go at squashing the commits (I may need some help with that) and resubmitting as above in a few days time.
Any further ideas/comments are still welcome.

@bill-chadwick:

Omit the documentation updates to the ol.geom method getLength and getArea methods and ol.geom.Circle for now.

Sounds good. Only add a {@see ol.proj.getLength} or {@see ol.proj.getArea} respectively.

Omit the comments in the updated measure example about the ol.geom methods not giving good answers for 3857 and 4326.

Sounds good.

Change both the new getArea and getLength methods to accept an array of coordinates or an array of arrays of coordinates.

For getArea() yes. But since there is no natural way to handle inner polygon rings when calculating the circumference of a polygon, I'd not do it for getLength().

Leave the return units of the new methods as meters, for projections with units of degrees and projection units (including pixels) for all other projections. I believe this is the most useful compromise. I don't think that returning an answer in degrees, using the radius of ol.sphere.Normal or the optional ol.Sphere passed to the methods would be very useful. The alternative of always returning a length in meters does not fit well with Pixel projections.

I'd be more in favour of always returning meters. And assert and document that ol.proj.getLength() and ol.proj.getArea() cannot be used with projections with pixels as units - also reference {@see ol.geom.Polygon#getArea} and {@see ol.geom.LineString#getLength}.

Rename the setConstantPointResolution method to setHasConstantPointResolution and drop its check for 3857. Instead of the check, override the function getHasConstantPointResolution in ol.proj.epsg3957_ to return false always.

Remove both the method and the config option. Just assume constant resolution when units are pixels or degrees. This will also help to untangle the documentation a bit. For projections such as UTM or EPSG:27700, ol.geom.Polygon#getArea() and ol.geom.LineString#getLength() will return the correct area and length anyway.

Drop the comment added about the radius value to ol.sphere.NORMAL - though I would like to continue the discussion of the best value to use.

Yes, drop it. If you want to discuss that value, you should do so on the MetaCRS list, because that's what's used in most OpenSource geospatial projects.

I think we may need either the proposed has constantPointResolution or the
existing custom getPointResolution function to properly handle UTM BNG ...
for accurate graticule/grid drawing for example.
The new ol.proj  getLength and getArea methods could document that the
ol.geom methods are good for UTM, BNG etc. but not 3857 and 4326
On 27 Oct 2015 08:00, "Andreas Hocevar"<EMAIL_ADDRESS>wrote:

@bill-chadwick https://github.com/bill-chadwick:

Omit the documentation updates to the ol.geom method getLength and
getArea methods and ol.geom.Circle for now.

Sounds good. Only add a {@see ol.proj.getLength} or {@see ol.proj.getArea}
respectively.

Omit the comments in the updated measure example about the ol.geom
methods not giving good answers for 3857 and 4326.

Sounds good.

Change both the new getArea and getLength methods to accept an array of
coordinates or an array of arrays of coordinates.

For getArea() yes. But since there is no natural way to handle inner
polygon rings when calculating the circumference of a polygon, I'd not do
it for getLength().

Leave the return units of the new methods as meters, for projections
with units of degrees and projection units (including pixels) for all other
projections. I believe this is the most useful compromise. I don't think
that returning an answer in degrees, using the radius of ol.sphere.Normal
or the optional ol.Sphere passed to the methods would be very useful. The
alternative of always returning a length in meters does not fit well with
Pixel projections.

I'd be more in favour of always returning meters. And assert and document
that ol.proj.getLength() and ol.proj.getArea() cannot be used with
projections with pixels as units - also reference {@see
ol.geom.Polygon#getArea} and {@see ol.geom.LineString#getLength}.

Rename the setConstantPointResolution method to
setHasConstantPointResolution and drop its check for 3857. Instead of the
check, override the function getHasConstantPointResolution in
ol.proj.epsg3957_ to return false always.

Remove both the method and the config option. Just assume constant
resolution when units are pixels or degrees. This will also help to
untangle the documentation a bit. For projections such as UTM or
EPSG:27700, ol.geom.Polygon#getArea() and ol.geom.LineString#getLength()
will return the correct area and length anyway.

Drop the comment added about the radius value to ol.sphere.NORMAL -
though I would like to continue the discussion of the best value to use.

Yes, drop it. If you want to discuss that value, you should do so on the MetaCRS
list http://lists.osgeo.org/listinfo/metacrs, because that's what's
used in most OpenSource geospatial projects.
—
Reply to this email directly or view it on GitHub
https://github.com/openlayers/ol3/pull/4311#issuecomment-151406655.

I think the proposed changes remove the issue, but in general I don't think it's a good idea for code to refer to specific EPSG codes. Agreed, 3857 is very widely used, but there are other codes based on Mercator, which will suffer from the same issues. Docs would be better saying 'projections such as 3857' or similar. Same applies to coordinate systems other than 4326.

The proposed ol.proj methods can be made to always return an answer in metres or metres*metres - the docs can note the only exception is that the answer will be in pixels for pixel projections.  Users can convert the returned metres to miles, yards, kilometers, nautical miles, degrees or whatever as they wish.
I guess one issue with a constantPointResolution projection attribute is that folk need to know when to set it ! If we don't have such an attribute, then I don't think its possible to create a best accuracy + performance, 'one stop shop' for getLength and getArea. The alternative is that users need to know that the ol.geom methods will give better answers  than the ol.proj methods for the kind of projections typically used for topographic mapping, such as UTM and BNG . Conversely users need to know that  the ol.geom methods are no good for 3857, 4326 and similar projections when the proposed ol.proj methods should be used instead. That information can of course be written into the documentation for both sets of functions.
I think it would make sense to add a scale bar control to the measure example.

I propose to delete this PR in favour of https://github.com/openlayers/ol3/pull/4372


No longer compatible with 2024.2

The plugin is disabled for 2024.2 EAP builds.  However, disabling and re-enabling the plugin makes it work again.  I think the supported version needs to be updated.

Yes, you're right. I haven't taken the time to update it, yet. I'll try to get this done today.

I updated this repo and submitted the updated version to JetBrains. They say it can take up to two business days, but it is usually done sooner.

Unfortunately, the update was rejected for a reason that I do not understand. I sent them an email asking for clarification. I will not have time to work on this until next week.

Unfortunately, the update was rejected for a reason that I do not understand. I sent them an email asking for clarification. I will not have time to work on this until next week.

I think the gradle version is outdated / deprecated.

It was rejected because it is using a recently-marked-as-internal API. I think I have it figured out, however, and will resubmit soon.

The initial verification came back successful, which means there are no more internal APIs. Hopefully it will get approved. I'll merge and mark this as completed if that happens.

The update was approved and released this morning.


Init a Nextjs project with TS

Hey team! Please add your planning poker estimate with Zenhub @Cameron933 @Iris99999 @jiayuu-u @LULIU-9 @Prom1s1ngYoung @RedRe4per @xzci @yunshen513


will not download microsoft/lenovo drivers I am on 7.2.2

I cannot get any Microsoft or Lenovo drivers to download.  The log file is nothing but:

BitTransfer: Job state is "Error Error Error Error Error Error"
BitsTransfer: Checking BITS background job
as far as the eye can see.  it also locks up the program.  I have let it sit for 5-10 minutes and it never changes.

This is because the information being called on for Microsoft is no longer accurate and needs to be updated.  I and a colleague of mine also have open issues on this.  The last update for pulling model info from Microsoft was 12.31.22.  I am unable to get Maurice to respond.  Since it has to be updated manually by him because it's not able to automatically pull this information from Microsoft like the Dell info, he will have to update this information in order for this tool to start working again with Microsoft.  Fingers crossed he reads at least one of these Issues and updates it.


Feature: List Nuget Packages

Feature request.
Adds a /packages entry point.
Prerequest: Packages config was copied to the outdir during compile and deployed with the application.
This new entry point scans the immediate directory for the presence of a packages.config.
If found it is parsed and the result is returned in an {Id,Version} format, much like the /dependencies entry point.
This feature allows a individual to extract both binary dependency version as well as package version for bug tracing / dependency mapping etc.

Looks good to me, please update the RELEASE_NOTES.md in the root directory to indicate the new feature @ChristianTrolleMikkelsen


develop

Add doc link: rspy::pathlib::PyPath::mkdir
Add rspy::enumerate (function way)
Bump version from v0.1.8 to v0.1.9

Codecov Report
Base: 93.93% // Head: 94.28% // Increases project coverage by +0.34% :tada:

Coverage data is based on head (26895fe) compared to base (b3213e2).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
+ Coverage   93.93%   94.28%   +0.34%
==========================================
  Files           4        4
  Lines          33       35       +2
==========================================
+ Hits           31       33       +2
  Misses          2        2

Impacted Files
Coverage Δ

src/enumerate.rs
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Support urls

This issue entails adding support for writing the urls field in pyproject.toml when it is defined statically in the setuptools configuration.

Based on the setuptools source code, it looks like when reading pyproject.toml directly, setuptools treats the urls field as equivalent to its own project_urls, and there is no pyproject.toml equivalent of the url field in setup.cfg. In practice, though, I'm sure a lot of projects have only one URL which is listed under url in setup.cfg/setup.py, and nothing set for project_urls, so we might want to do some kind of automatic conversion, and/or issue a warning. I'm not sure what makes the most sense.


--installDir option option not working properly

Hi,
I get following strange error:
$ /opt/sw-cli-tools/bin/sw install:release -r latest -d xxx -i /path/to/shopware -p xxx --username xxx --password xxx --name Administrator --mail<EMAIL_ADDRESS>result:
 [RuntimeException]
  Command failed. Error Output:
  checkdir:  cannot create extraction directory: path/to/shopware
             No such file or directory

/path/to/shopware exists. It seems that the installer is cutting the leading "/".
Following command works properly
cd /path/to/shopware && /opt/sw-cli-tools/bin/sw install:release -r latest -d xxx -i . -p xxx --username xxx --password xxx --name Administrator --mail<EMAIL_ADDRESS>

I've already fixed that problem but I haven't committed it yet because I need to test it first. I'll keep you up2date-

Nice to hear. If you want to attach the patch here, I can check it too.

Here you go ;) PR #62

Closed as PR #62 was merged.


[StaticDatePicker] Add className and slot to StaticWrapper (#29511)

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

This PR adds the className MuiStaticWrapper and slot root to the StaticWrapper component used by the StaticDatePicker.  The name does seem a bit generic, but the StaticWrapper is only used by the DatePicker components.  I couldn't find any other uses of the name StaticWrapper.

Cool, I'll make the change and push it back up today

We need to also update the components.d.ts and overrides.d.ts in https://github.com/mui-org/material-ui/tree/master/packages/mui-lab/src/themeAugmentation to make sure we won't have TypeScript issues.

@mnajdova Since I've switched the className to be more specific, I get this error: error  Expected name to be 'MuiStaticWrapper' but instead got 'MuiPickerStaticWrapper'  material-ui/mui-name-matches-component-name
If this is a firm rule, then it would have to be named MuiStaticWrapper.  Are there other cases where this rule is disabled?
Also, for testing.  What in particular are you thinking we should test.  It looks like describeConformance is what is needed?  The StaticDataPicker doesn't have one, but StaticDateRangePicker does.

@mnajdova Since I've switched the className to be more specific, I get this error: error Expected name to be 'MuiStaticWrapper' but instead got 'MuiPickerStaticWrapper' material-ui/mui-name-matches-component-name

Right.. I would say we need to rename this component, it is an internal component shouldn't affect developers. Would you be willing to do this? It would wider the scope fo the PR. @michaldudak what do you think about this rename?

If this is a firm rule, then it would have to be named MuiStaticWrapper. Are there other cases where this rule is disabled?

No, we keep the component names consistent with the keys, as I mentioned above in my opinion the component name is too generic in this case.

Also, for testing. What in particular are you thinking we should test. It looks like describeConformance is what is needed? The StaticDataPicker doesn't have one, but StaticDateRangePicker does.

Ensuring that describeConfromance pass would be great 👌

in my opinion the component name is too generic in this case.

100% agree. It may be internal but internal components are also maintained by human beings that sometimes may need some assistance in figuring out what the component is for 😉. Let's rename the component.

@mnajdova What's the next step?

@mnajdova What's the next step?

I've merged latest master, let's wait for the green build and merge :)

Great job @kkorach thanks for the contribution!


Problem with .env.example?

Description
In the recent commit, the first 58 lines of the .env.example file were deleted.
Steps to Reproduce the Bug

Go to the repository
Open the .env.example file
Check out commit cf555f8
Notice the first 58 lines are missing

Expected Behavior
The .env.example file should retain all lines, including the crucial environment setup details contained in lines 1-58.
Actual Behavior
When checking the .env.example file in the specified commit, lines 1-58 are absent, leaving the file incomplete.
Additional Context / Screenshots
No response
Operating System

[ ] Microsoft Windows
[ ] Apple MacOS
[ ] Linux
[ ] Android
[ ] iOS
[ ] Other

Python Version

[ ] Python <= 3.9
[ ] Python 3.10
[ ] Python 3.11

Environment Type - Connection

[ ] Local
[ ] Remote

Environment Type - Container

[ ] Using Docker
[ ] Not Using Docker

Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of Agent-LLM.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

Those lines were removed intentionally.  All of those settings have been moved to per agent settings and out of the .env.


add alert template expanding failure metric

@fabxc
Closes #4634

@simonpasquier thank you for the review. I've fixed the all.

Hi @simonpasquier ,
Is this PR OK. for you?

LGTM. cc @brian-brazil

I'm waiting for 2.5 to be out before merging this, as we're in a freeze right now.

Thanks!


Cody tab is eating up 200-400 CPU

A user reported on the marketplace that the Cody plugin is eating up 400% CPU and freezing. @pkukielka can repro (thread).
Possibly related feedback we've received at our<EMAIL_ADDRESS>email address:

CPU usage of ~1.7 cores on Goland is too high, I'm on an M1 Pro, so it's not old hardware

This is also being reported by a customer

I am experiencing the same issue.  As it stands Cody is unusable in PHP Storm.


sonarscan compliance=true when it should be false?

Over the weekend I updated the cyberdojo differ repo's branch rules.
I turned on require-status-checks and added the sonarscan job from the workflow.
GitHub automatically added another "built-in" status check for Sonar.
I'm guessing it recognised the GitHub Action sonarsource/sonarcloud-github-action@master ?
This built-in Sonarscan found a genuine security vulnerability in differ's Dockerfile:
  COPY --chown=nobody:nogroup . .
which should be
  COPY . .

[ ] This (long-standing) vulnerability should surely have been detected before now?

P.S. For now, I have now turned off require-status-checks, but the current PR was pushed with it
switched on so I'm guessing in that PR the status-checks will stay being required.
https://github.com/cyber-dojo/differ/pull/253
See SonarCloud Code Analysis at the bottom.
Click details to get here https://github.com/cyber-dojo/differ/pull/253/checks?check_run_id=31813109889
See, eg, a different security vulnerability in differ's second Dockerfile (for the client image the integration tests run inside)
P.P.S. There could easily be a reason for this, eg some checks not running in the free sonarscan,
but nevertheless, to pontificate for a moment...
There are two kinds of mistakes we can make in Kosli attestations:

we can say an attestation is compliant when it is not
we can say an attestation is not-compliance when it is

The first of these is much much worse than the second.
When we build new features I think it is very important that we focus on attestations that
we know are non-compliant, and make sure they are seen as non-compliant.

@JonJagger is this closed, done? or closed not required? Or should it not be closed?
Can you archive or move to the right place, please?


training error in Training using AN4 phoneme  with artic data

lua AN4CTCTrain.lua  [==================== 1000/1000 ==============>]  Tot: 10s819ms | Step: 10ms
[==================== 131/131 ================>]  Tot: 1s417ms | Step: 10ms
Training Epoch: 1
*** Error in `lua': realloc(): invalid next size: 0x00000001408cc890 ***73ms
Aborted (core dumped)

for the first iteration i am getting around [==================== 5/319 ==================>]
file in a batch
how to reduce this batch file is this the problem?

Sorry for the late reply, I've added a variable to the AN4CTCTrain script called maxSizeBatch. Setting this to 1 will make each batch 1 and hopefully let you train your model :)

yes now it is working,
Thank you
On Fri, May 6, 2016 at 2:07 AM, Sean Naren<EMAIL_ADDRESS>wrote:

Sorry for the late reply, I've added a variable to the AN4CTCTrain script
called maxSizeBatch. Setting this to 1 will make each batch 1 and hopefully
let you train your model :)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/SeanNaren/CTCSpeechRecognition/issues/20#issuecomment-217271063


0.25.3 released

When you build a new version of this component can you please bump the version to 0.25.3 so that it's in sync with the vue component?

Sure, we can do that. Just one thing: what should happen to the version numbers if for some reason the react component needs fixing on its own. In this case it would have a higher version number than the vue component.

Actually, I don’t know. I didn’t think of that!
I had to use another projects’ stuff last year and all the libs and docs were out of sync so it was impossible to tell if the various versions were in sync. Any thoughts on how to not have that problem but still let you do your own thing?
I’m blank.

I guess the react component will mostly follow the developments of the vue component. It would only be developed "ahead" in case of a bug, performance problem, updates of dependencies (eg. react) etc. But this will be rare.
We can have a synchronized workflow, so that if the react components needs to be updated without touching the vue component, you would still publish a new version of the vue component even if there were no code changes, just to make sure it is on par with the react version. As this will be hopefully a rare occasion, I think it will cause no problems.
What do you think?

Sounds like a good plan!

Ok. I updated the react package to 0.25.3 as well.


recorder bug

found a bug in the recorder
if you turn off the saving of audio files it doesn't transcribe

Thanks for the insight, will fix this in next update! Keeping this issue open until the update hits.

hey, just fixed this bug. transcription now works correctly whether you're saving audio files or not. it'll be in the next update (v0.7.0) coming out later today. thanks for pointing this out!


Update socket.io-client package

Description
This PR updates socket.io-client to the latest version.

Hey @jblz ! Thanks for the review!
It doesn't require a coordinated update on the server. Actually, the server is already using<EMAIL_ADDRESS>


Another similar block of missing content

I see we aren't picking up PageLayer3 in charlie_pics.html
This is quite similar to the anchor_pics.html issue, though this time there isn't a btnHist
Again, I see it has been identified in the Shopping list.  It is worth throwing a warning when we can't find an element to match an item in the shopping list?
Ooh, I see the page structure for this page is quite challenging (with the anchor sitting in a relative offset from the parent PicLayer) - I guess this is the pattern you were describing earlier.
If the structure of this file introduces difficult new challenges, then I'm happy to double-check the pattern actually appears in the target data.

That seems to work for me - I think the fix for #451 fixes this too. Have you tried the latest version from my PR?

Fixed in #450


Rename PHashTranslation to OptimizedTranslation

Part of  #16863.
Note: The suggestion was to rename it CompressedTranslation. However, although it does compress the translation, as the documentation indicates, it's an "Optimized Translation" that uses compression. This is supported by the implementation, which uses a struct to hold the compressed form. This PR includes renaming this struct to make this clear.

Rebased following merge of #46929.

Thanks!


I get PropertyNotSetInConstructor when extending the symfony Response class

Hi
I have this class:
<?php

declare(strict_types=1);

namespace Setono\SyliusGiftCardPlugin\Renderer;

use Symfony\Component\HttpFoundation\HeaderUtils;
use Symfony\Component\HttpFoundation\Response;

final class PdfResponse extends Response
{
    public function __construct(string $content, string $filename = 'gift_card.pdf')
    {
        parent::__construct($content);

        $disposition = HeaderUtils::makeDisposition(HeaderUtils::DISPOSITION_ATTACHMENT, $filename);
        $this->headers->set('Content-Type', 'application/pdf');
        $this->headers->set('Content-Disposition', $disposition);
    }
}

I am using v4.0.0 of this Psalm plugin and I get the following errors:
ERROR: PropertyNotSetInConstructor - src/Renderer/PdfResponse.php:11:13 - Property Setono\SyliusGiftCardPlugin\Renderer\PdfResponse::$headers is not defined in constructor of Setono\SyliusGiftCardPlugin\Renderer\PdfResponse or in any private or final methods called in the constructor (see https://psalm.dev/074)
final class PdfResponse extends Response

ERROR: PropertyNotSetInConstructor - src/Renderer/PdfResponse.php:11:13 - Property Setono\SyliusGiftCardPlugin\Renderer\PdfResponse::$content is not defined in constructor of Setono\SyliusGiftCardPlugin\Renderer\PdfResponse or in any private or final methods called in the constructor (see https://psalm.dev/074)
final class PdfResponse extends Response

ERROR: PropertyNotSetInConstructor - src/Renderer/PdfResponse.php:11:13 - Property Setono\SyliusGiftCardPlugin\Renderer\PdfResponse::$version is not defined in constructor of Setono\SyliusGiftCardPlugin\Renderer\PdfResponse or in any private or final methods called in the constructor (see https://psalm.dev/074)
final class PdfResponse extends Response

ERROR: PropertyNotSetInConstructor - src/Renderer/PdfResponse.php:11:13 - Property Setono\SyliusGiftCardPlugin\Renderer\PdfResponse::$statusCode is not defined in constructor of Setono\SyliusGiftCardPlugin\Renderer\PdfResponse or in any private or final methods called in the constructor (see https://psalm.dev/074)
final class PdfResponse extends Response

ERROR: PropertyNotSetInConstructor - src/Renderer/PdfResponse.php:11:13 - Property Setono\SyliusGiftCardPlugin\Renderer\PdfResponse::$statusText is not defined in constructor of Setono\SyliusGiftCardPlugin\Renderer\PdfResponse or in any private or final methods called in the constructor (see https://psalm.dev/074)
final class PdfResponse extends Response

ERROR: PropertyNotSetInConstructor - src/Renderer/PdfResponse.php:11:13 - Property Setono\SyliusGiftCardPlugin\Renderer\PdfResponse::$charset is not defined in constructor of Setono\SyliusGiftCardPlugin\Renderer\PdfResponse or in any private or final methods called in the constructor (see https://psalm.dev/074)
final class PdfResponse extends Response

ERROR: UninitializedProperty - src/Renderer/PdfResponse.php:22:9 - Cannot use uninitialized property $this->headers (see https://psalm.dev/186)
        $this->headers->set('Content-Type', 'application/pdf');

ERROR: PossiblyNullReference - src/Renderer/PdfResponse.php:22:25 - Cannot call method set on possibly null value (see https://psalm.dev/083)
        $this->headers->set('Content-Type', 'application/pdf');

ERROR: UninitializedProperty - src/Renderer/PdfResponse.php:23:9 - Cannot use uninitialized property $this->headers (see https://psalm.dev/186)
        $this->headers->set('Content-Disposition', $disposition);

ERROR: PossiblyNullReference - src/Renderer/PdfResponse.php:23:25 - Cannot call method set on possibly null value (see https://psalm.dev/083)
        $this->headers->set('Content-Disposition', $disposition);

Am I doing something wrong or why doesn't Psalm understand that these are invalid errors?

@loevgaard hello,
can you please try it like the following?
<?php

declare(strict_types=1);

namespace Setono\SyliusGiftCardPlugin\Renderer;

use Symfony\Component\HttpFoundation\HeaderUtils;
use Symfony\Component\HttpFoundation\Response;

final class PdfResponse extends Response
{
    public function __construct(string $content, string $filename = 'gift_card.pdf')
    {
        $disposition = HeaderUtils::makeDisposition(HeaderUtils::DISPOSITION_ATTACHMENT, $filename);

        parent::__construct($content, 200, [
            'Content-Type' => 'application/pdf',
            'Content-Disposition' => $disposition,
        ]);
    }
}

Yes, that works. I guess the other problem is actually a Psalm issue. When the parent::__construct() call is made it initializes the Response::$header property. I would've thought it could detect that or maybe there is a good reason.
Thanks anyways!

I was too fast. I forgot to clear the cache: Here are the errors I have after that change:
ERROR: PropertyNotSetInConstructor - src/Renderer/PdfResponse.php:11:13 - Property Setono\SyliusGiftCardPlugin\Renderer\PdfResponse::$headers is not defined in constructor of Setono\SyliusGiftCardPlugin\Renderer\PdfResponse or in any methods called in the constructor (see https://psalm.dev/074)
final class PdfResponse extends Response

ERROR: PropertyNotSetInConstructor - src/Renderer/PdfResponse.php:11:13 - Property Setono\SyliusGiftCardPlugin\Renderer\PdfResponse::$content is not defined in constructor of Setono\SyliusGiftCardPlugin\Renderer\PdfResponse or in any methods called in the constructor (see https://psalm.dev/074)
final class PdfResponse extends Response

ERROR: PropertyNotSetInConstructor - src/Renderer/PdfResponse.php:11:13 - Property Setono\SyliusGiftCardPlugin\Renderer\PdfResponse::$version is not defined in constructor of Setono\SyliusGiftCardPlugin\Renderer\PdfResponse or in any methods called in the constructor (see https://psalm.dev/074)
final class PdfResponse extends Response

ERROR: PropertyNotSetInConstructor - src/Renderer/PdfResponse.php:11:13 - Property Setono\SyliusGiftCardPlugin\Renderer\PdfResponse::$statusCode is not defined in constructor of Setono\SyliusGiftCardPlugin\Renderer\PdfResponse or in any methods called in the constructor (see https://psalm.dev/074)
final class PdfResponse extends Response

ERROR: PropertyNotSetInConstructor - src/Renderer/PdfResponse.php:11:13 - Property Setono\SyliusGiftCardPlugin\Renderer\PdfResponse::$statusText is not defined in constructor of Setono\SyliusGiftCardPlugin\Renderer\PdfResponse or in any methods called in the constructor (see https://psalm.dev/074)
final class PdfResponse extends Response

ERROR: PropertyNotSetInConstructor - src/Renderer/PdfResponse.php:11:13 - Property Setono\SyliusGiftCardPlugin\Renderer\PdfResponse::$charset is not defined in constructor of Setono\SyliusGiftCardPlugin\Renderer\PdfResponse or in any methods called in the constructor (see https://psalm.dev/074)
final class PdfResponse extends Response


Codeigniter throws 502 error CloudFlare while using session

Hi, I'm using the latest version of CodeIgniter
error reproduction
Login system with Ion_auth
config sessions

$config['sess_driver'] = 'database';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 2592000; //30 dias
$config['sess_save_path'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = $config['sess_expiration'];
$config['sess_regenerate_destroy'] = FALSE;
cloudflare / Crypto / flexible to access the site through https

start session on the web page and when I delete the sessions created directly from the table ci_sessions because they are created demaciadas is when the error 502 cloudflare occurs.
the only way i have found to fix it is to disable cloudflare redirect from https to http and wait a while and start loading the page
looking in google I find that apparently it is problem of the cookies are too large according to this article
https://stackoverflow.com/questions/31501972/codeigniter-throws-520-error-cloudflare-while-using-session
although I'm a rookie and I'm not sure. I appreciate any help.
if I delete my browser's cookies it also stops giving the error

You should post on our forums, we can't help you with this here.
P.S. The StackOverflow issue refers to a CI2 problem; CI3 session cookies only contain the session ID, which can never possible be too large.


Support for @nestjs/graphql major version 10

Hello, I have been using your amazing libraries for some years now.
Recently nestjs released a new version of their graphql implementation which breaks quite a lot of things.
As was recently brought up in PR #32 graphql-transport-ws is officially deprecated and fastify version 3 is not compatible with @nestjs/graphql version 8 which is the latest officially supported version of this package.
Anyway it is somehow currently possible to use this package with @nestjs/graphql version 9 to use graphql-ws as I have been doing in my projects.
As I need this package for my current projects, for the time being I forked this repo and updated the dependencies and integration myself. (https://github.com/GlCap/typegraphql-nestjs)
Just wanted to let you know, I am willing to publish a PR with my fork. However I have no need for the federation module, and honestly I have no idea how to implement an integration for it, as I never even used GraphQL Federation myself.
Thanks for your time.

😅 I haven't finished upgrading for the v8 and now it's even v10 🤯
Will take a look at your fork, maybe it won't be so hard to upgrade.
But first, TypeGraphQL v2.0 has to be published, glad you've found a workaround by yourself 🙌

@MichalLytek hi! is there any update on this? I understand you might be busy with some other work, but maybe you could give some approx timeframe for the compatible version with apollo gateway (there's already 2.x version) and nestjs (10.x)?
thank you

Closing as done in 3fc0038 🔒
Will publish new version on npm soon 🚀


Warm Chrome Custom Tabs when inserting messages with hyperlinks

https://developer.chrome.com/multidevice/android/customtabs#warm-up chrome to make pages load faster
Shows how embedded webviews can be loaded faster via "warming". The Android Rocket.chat client can perform this warming when a hyperlink is added to a conversation to result in really fast loading pages.

@bizzbyster which build version are you using?

My understanding is that Android client will soon use Chrome Custom Tabs to view clicked links as embedded in Rocket.chat. I heard this from @rafaelks in an offline conversation. When I mentioned warming to Rafael he agreed it was a good idea so I added this issue for tracking purposes. Does that answer your question?

But looking at the develop-2.x source code I'm not seeing anything that uses Chrome Custom Tabs in there yet so not sure where this stands.

That makes sense. It's was just trying to be certain we're not talking about the v1 since on the v2 we're still not using it. It's on the roadmap though. Thanks for keeping record of it.

We're already using this in 2.1.0.


make the html it returns properly formatted (to some degree)

Looks like it returns the proper string formatting... closing this now.


Add parallelEnabled and parallelWorkerCount to CJI spec which sets corresponding IQE vars.

There are two variables those were added to iqecore to handle the way we trigger tests in parallel, this would benefit the most with resource and time consuming UI tests.

@bsquizz added the two variables from IQE hopefully it works, do we also need updates in bonfire ?

Any pointers on why the check is failing ?

do we also need updates in bonfire ?

Yes, we would need an update in bonfire as well for the bonfire process-iqe-cji and bonfire deploy-iqe-cji commands to be able to set these 2 new options.

We'd need to update the IQE CJI template here to add the 2 new options:
https://github.com/RedHatInsights/bonfire/blob/master/bonfire/resources/default-iqe-cji.yaml#L23

Then add new click CLI arguments that allow you to change the values passed to the CJI template if desired:
https://github.com/RedHatInsights/bonfire/blob/6c639bec0716aae0594f0fb51f76c213219200cc/bonfire/bonfire.py#L547

Then add the new click args to these 2 functions:

https://github.com/RedHatInsights/bonfire/blob/6c639bec0716aae0594f0fb51f76c213219200cc/bonfire/bonfire.py#L1272
https://github.com/RedHatInsights/bonfire/blob/6c639bec0716aae0594f0fb51f76c213219200cc/bonfire/bonfire.py#L1314

Finally, you'll notice those 2 functions above call process_iqe_cji -- you'd want to pass the new click args on to that function. That is the function that handles running oc process on the template: https://github.com/RedHatInsights/bonfire/blob/6c639bec0716aae0594f0fb51f76c213219200cc/bonfire/processor.py#L128

This helps I will work on bonfire changes early next week

Small surface area and kuttl tests Looks good to me!


Twitter credentials

how do you get the twitter credentials?  The link doesn't tell you how.

you sign up and get them from 'my apps' at dev.twitter.com @ryanwtyler

Thanks for answering @tektonnic. Closing for now, let me know if you have any issues getting the Twitter demo set up.


Add subscribe account statuses endpoint

Closes: #747

Codecov Report
Attention: Patch coverage is 59.80392% with 41 lines in your changes missing coverage. Please review.

Project coverage is 52.25%. Comparing base (b87f9c7) to head (0c0934c).
Report is 1 commits behind head on master.

Files with missing lines
Patch %
Lines

access/grpc/convert/convert.go
0.00%
23 Missing :warning:

access/grpc/grpc.go
83.56%
8 Missing and 4 partials :warning:

access/grpc/client.go
0.00%
6 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #762      +/-   ##
==========================================
+ Coverage   51.45%   52.25%   +0.80%
==========================================
  Files          35       35
  Lines        5446     5548     +102
==========================================
+ Hits         2802     2899      +97
+ Misses       2288     2274      -14
- Partials      356      375      +19

Flag
Coverage Δ

unittests
52.25% <59.80%> (+0.80%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

added one small comment, but otherwise looks good

@illia-malachyn can you fix the conflicts, then this is ready to merge


Calculation Item/Group copy/paste

New feature: Ability to copy/paste Calculation Items and Groups to do bulk procedures.

Fixed in 2.8.2. Thanks for reporting!


Alias async docs to their sync counterparts

We can use https://blog.rust-lang.org/2020/11/19/Rust-1.48.html#adding-search-aliases to link the documentation of both versions together.

Search aliases look neat!
I’m not sure I understand what you want to alias here though. If I run:
cargo doc --all-features --no-deps --lib

and then search for something, all the relevant results seem to show up, sync or async:

In any case feel free to open a PR if there are items that you think are hard to find now and that the alias feature could make easier to discover.

Ah, so it works as intended even without the alias, should we still implement it?

should we still implement it?

If it works already, I don’t think we need an alias, but we should keep an eye out for the resulting documentation on docs.rs, when I’ll publish the next alpha release. There may be parameters to tweak or things that could warrant an alias.
FYI I’ll try to release a new version once #74 is fixed.

From what I see this change is useful only if the search names differ. They don't in our case so I don't think this change is necessary. I'll close this issue for now.


Adds migration to fix keys on unique index. Closes #743.

Coverage decreased (-0.1%) to 65.863% when pulling 1aa937a592b79e8c4614fa476aef6b1c0de206e7 on kevgliss:743-duplicate-key-constraint into 7257e791ff3aa9e4d02c051383b3320b2504afc9 on Netflix:master.


renderToComponent

renderToMarkup is fine, but people (me and Next.js) are using component even for HTML.
<html lang={currentLocale}>
  {/* yarn run favicon */}
  <Head>
    <link
      rel="apple-touch-icon"
      sizes="180x180"
      href="/static/favicons/apple-touch-icon.png"
    />
    <meta
      name="viewport"
      // kihlstrom.com/2015/shrink-to-fit-no-fixes-zoom-problem-in-ios-9
      content="width=device-width, initial-scale=1, shrink-to-fit=no"
    />
    <style dangerouslySetInnerHTML={{ __html: globalStyle }} />
    {styleMarkup??? I need component}
  </Head>

I don't want to wrap style with another element with dangerouslySetInnerHTML. What should I do?

Btw, do we have to call renderer.clear() or not?

Yea, I noticed that too. I am now using <head dangerouslySetInnerHTML={{ which is not ideal (not sure if you can even do it in your case) but @rofrischmann just introduced renderToSheetList, so you can map it to <style> nodes.
Since style nodes need to stay at the first level of <head>, we can't wrap them with a <div> wrapper, so it's not possible to introduce a React component yet (React 16 will allow it) but we could provide that mapping function in the meantime. PR welcome?

Exactly, I will have to add some tests before we can release that, but it should later work like that:
renderer.renderToSheetList().map(({ type, media, css }) => (
  <style data-fela-type={type} media={media}>{css}</style>
))

As soon as React 16 is officially released, we should reopen this issue and add the renderToComponent API that returns an array of react comps.

Today.


Default menu bar in new opened page

It's possible to disable default menu bar in new page?
If I open a new page (e.g social login page) the menu bar is set with edit, view, window, help, how I can remove that? In the main windows I used:
mainWindow.setMenu(null);

but in external page I can't do this.

The default menu will gone after you packaged your app into Electron, you can also use follow trick to remove the default menu too:
setImmediate(function() {
  app.setApplicationMenu(null);
});

Sorry, I do not have try to pack it.
thank you!


inspect: violation of min/max guidelines in image_processing/threshold.hpp

Actual behavior

The Boost inspect tool reports the following violations:
/mnt/d/boost.wsl/libs/gil$ inspect -text
Boost Inspection Report
Run Date: 19:46:33 UTC, Thursday 08 August 2019
...
Details:
  *M* uses of min or max that have not been protected from the min/max macros, or unallowed #undef-s
...
|include|
  include/boost/gil/image_processing/threshold.hpp:
    *M* violation of Boost min/max guidelines on line 156
    *M* violation of Boost min/max guidelines on line 233
    *M* violation of Boost min/max guidelines on line 234
    *M* violation of Boost min/max guidelines on line 448

Expected  behavior

The files should not upset the inspect tool :-)

Should I fix the tabs too?


[libshortfin] Fix python stub generation.

This brings pylance back to life for the native bindings. It was giving confusing error squiggles about not being able to use types that were variables, but the root cause was that the backing stubs were not generated properly for all of the module.
Includes a couple of other typing tweaks that were found to be helpful.

LGTM!
I was looking at the same thing today. Nanobind has a —recursive flag to do this automatically too, that i was using manually. Sadly the cmake support for it never landed wjakob/nanobind#463

Yeah, been on my list for a few days too. One more tweak coming in.


[Help] Problem installing React Chatbotify

Hello,
I am having some trouble testing one of your demos.
The error is the following:

The Css file is in the folder.

I tried using npm and pnpm and both give error. The commands I ran were:
npm install react-chatbotify
pnpm install react-chatbotify
In our React app, the import is:
import ChatBot from 'react-chatbotify';
Thanks

From what I can gather, the error you're facing seems to occur during the SSR process where Vite does not know how to handle the CSS file. That said, adding the following to your vite config should resolve the issue:
ssr: {noExternal: [ /\.css$/, /^react-chatbotify/ ]},

Note that once the above issue is resolved, you'll likely need this FAQ since you're using Remix: https://react-chatbotify.tjtanjin.com/docs/introduction/faq#q8-i-am-using-nextjs-and-running-into-referenceerror-window-is-not-defined-errors-how-can-i-fix-this
I'll update the documentation FAQ to include Remix as well. Thanks!

Hello @tjtanjin ,
Thanks for reply, I already configured ssr in my vite.config.ts.

What change can I make here to ensure that the component is client side rendered?
Thanks

Hello @tjtanjin ,
Thanks for reply, I already configured ssr in my vite.config.ts.  What change can I make here to ensure that the component is client side rendered?
Thanks

Read the second part of my previous reply again 😛

Hello @tjtanjin,
Thanks, it solved the problem, I can't see the chat bot yet but that is in my end now.
Please keep this open until I get this to work.
Thanks

Hello @tjtanjin,
Thanks, it solved the problem, I can't see the chat bot yet but that is in my end now. Please keep this open until I get this to work.
Thanks

No problem, let me know if you still need help!

Hello @tjtanjin,
I was able to incorporate React Chatbotify in our solution.

I have a few questions regaring customization:

Is it possible to remove the "Talk to me" part? If yes, how?
Is it possible to remove the message count part (the red zero at the begging of the chat)? If yes, how?
How can we change this image?

Is it possible for the chat when maximized to occupy the whole screen in mobile devices?
How can we change the chat title from "Tan Jin" to another title?
How can we change the icon of the chat?

How can we remove the "Powered by..." when the chatbot is maximized?

Thanks

Hey @miguelisidoro, most of the answers can be found on the documentation website here. For ease of your reference, here are the links to each of your bullet points:

Refer to tooltip
Refer to notification
Refer to [chatbutton[(https://react-chatbotify.tjtanjin.com/docs/api/bot_options#chatbutton) and chatbuttonstyle
Currently, the default behavior already maximizes the chatbot when opened on mobile
Refer to header
Refer to header
Refer to footer
I'm not familiar with Remix, but action/loader seems to be what you should look at
To get the user input within getResponse, you'll need to use params.userInput which is documented here and used repeated in this example

Strongly recommend to use the search function and live examples on the documentation website as well, but feel free to reach out if you need more assistance 😊

Hi @tjtanjin,
Thanks a lot, 8) and 9) are already working. About the others, I will take a look next week.
Have a nice weekend!
Thanks

No problem, feel free to close this issue once you've got the others sorted out 😊

Hello @tjtanjin,
How can we write a response to the chat interface?
My code is:
const flow = {
start: {
message: 'Hello! How can I help you today?',
path: 'loop'
},
loop: {
message: async (params: any) => {
const result = await getResponse(params.userInput);
return result;
},
path: 'loop',
}
};
return (
<>
{isLoaded && (
<Suspense fallback={Loading...}>
<ChatBot options={{theme: {embedded: false}, chatHistory: {storageKey: 'example_smart_conversation'}}} flow={flow}/>

)}
</>
);
Thanks

Hey @miguelisidoro! Could you clarify what you're trying to do? Based on your flow the responses should already be appearing in the chat window (you can do a quick test on the playground as well)

Hello @tjtanjin ,
You are right, I already accomplished to show a response coming from our API that is already being displayed in the chat window.
Thanks

Hello @tjtanjin,
I am getting the following message.

The hyperlinks are rendered as text, not as HTML.
How can I render the response as HTML?
Thanks

Hello @tjtanjin,
I am getting the following message from our API.

The hyperlinks are rendered as text, not as HTML. How can I render the response as HTML?
Thanks

Hey, you can look under botBubble that has dangerouslySetInnerHtml: https://react-chatbotify.tjtanjin.com/docs/api/bot_options#botbubble

Hello @tjtanjin ,
Thanks that was it!
My chatbot component is declared like this:
<ChatBot options={{theme: {embedded: false}, botBubble: {dangerouslySetInnerHtml: true}, chatHistory: {storageKey: 'ai-assistant-conversation'}}} flow={flow}/>
Is there a way to access chat history (a collection of messages sent by the user and its responses? What is chatHistory property for?
Thanks

Hello @tjtanjin ,
Thanks that was it!
My chatbot component is declared like this:
<ChatBot options={{theme: {embedded: false}, botBubble: {dangerouslySetInnerHtml: true}, chatHistory: {storageKey: 'ai-assistant-conversation'}}} flow={flow}/>
Is there a way to access chat history (a collection of messages sent by the user and its responses? What is chatHistory property for?
Thanks

The storage key can be used to access the stringified chat history in localStorage. If you want to manipulate the chatbot messages directly in your app, you can also use custom messages: https://react-chatbotify.tjtanjin.com/docs/examples/custom_messages

Hello @tjtanjin ,
Thanks for the reply.
How can we change the background color of the call to action image?

and how can we change the background color of the user message and the response?

Thanks

Hey @miguelisidoro! Those are all available in the bot options page: https://react-chatbotify.tjtanjin.com/docs/api/bot_options
In particular, you can look at the styles section for all the available props to modify the appearance of the chatbot.

Hello @tjtanjin ,
Thanks for the quick response.
About the user interface, we were thinking in something like this:

Is it possible to add a logo to the bot response, on the left of the response text? If yes, how?
Thanks

Hey @miguelisidoro! It's possible to adjust the avatar for the bot messages within botBubble. You'll find avatar and showAvatar in there.

Thanks, I will give it a try!

Hi @miguelisidoro, great to hear that! Unfortunately there's no such configuration, though that would certainly be useful to have. Perhaps you can make a suggestion for such a feature with more details?

Hello @tjtanjin,
Done.
Thanks

Great! Should this current issue be considered resolved?

Yes. If any other issue arises, I will open a new issue.
Thanks once again!


Chmod error while trying to run the default project

When I try to run the default project using flutter run, the gradle task "assembleDebug" fails because of a chmod command that cannot run.

logs
[  +79 ms] executing: [/home/alexandre/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +18 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] bbfbf1770cca2da7c82e887e4e4af910034800b6
[        ] executing: [/home/alexandre/snap/flutter/common/flutter/] git tag --contains HEAD
[ +129 ms] Exit code 0 from: git tag --contains HEAD
[   +1 ms] 1.20.2
[   +5 ms] executing: [/home/alexandre/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +2 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/home/alexandre/snap/flutter/common/flutter/] git ls-remote --get-url origin
[   +2 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +27 ms] executing: [/home/alexandre/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[  +24 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[   +7 ms] executing: /home/alexandre/Android/Sdk/platform-tools/adb devices -l
[  +21 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1
[   +8 ms] /home/alexandre/Android/Sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +17 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +130 ms] Generating /mnt/Data/Document/Flutter/example/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +15 ms] ro.hardware = ranchu
[  +10 ms] Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling software rendering with
           "--enable-software-rendering".
[  +21 ms] Starting incremental build...
[   +1 ms] Initializing file store
[   +7 ms] Skipping target: gen_localizations
[   +5 ms] complete
[   +2 ms] Launching lib/main.dart on Android SDK built for x86 in debug mode...
[   +3 ms] /home/alexandre/snap/flutter/common/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/home/alexandre/snap/flutter/common/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root
/home/alexandre/snap/flutter/common/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names
-Ddart.developer.causal_async_stacks=true --output-dill /tmp/flutter_tools.HKYBVH/flutter_tool.SCIKGK/app.dill --packages .packages -Ddart.vm.profile=false
-Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions
--enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/cache.dill.track.dill
[  +11 ms] executing: /home/alexandre/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +12 ms] Exit code 0 from: /home/alexandre/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           08-21 14:21:35.875 I/DeviceStateChecker( 2472): DeviceStateChecker cancelled
[        ] executing: /home/alexandre/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +11 ms] Exit code 0 from: /home/alexandre/Android/Sdk/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           08-21 14:21:35.875 I/DeviceStateChecker( 2472): DeviceStateChecker cancelled
[   +4 ms] <- compile package:example/main.dart
[   +6 ms] executing: /home/alexandre/Android/Sdk/platform-tools/adb version
[   +8 ms] Android Debug Bridge version 1.0.41
           Version 30.0.4-6686687
           Installed as /home/alexandre/Android/Sdk/platform-tools/adb
[   +1 ms] executing: /home/alexandre/Android/Sdk/platform-tools/adb start-server
[   +3 ms] Building APK
[  +13 ms] Running Gradle task 'assembleDebug'...
[   +1 ms] gradle.properties already sets `android.enableR8`
[   +2 ms] Using gradle from /mnt/Data/Document/Flutter/example/android/gradlew.
[        ] /mnt/Data/Document/Flutter/example/android/gradlew mode: 33279 rwxrwxrwx.
[   +5 ms] executing: /opt/android-studio/jre/bin/java -version
[  +36 ms] Exit code 0 from: /opt/android-studio/jre/bin/java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
           OpenJDK 64-Bit Server VM (build 25.242-b3-6222593, mixed mode)
[   +2 ms] executing: [/mnt/Data/Document/Flutter/example/android/] /mnt/Data/Document/Flutter/example/android/gradlew -Pverbose=true
-Ptarget-platform=android-x86 -Ptarget=/mnt/Data/Document/Flutter/example/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root
assembleDebug
[+2142 ms] > Task :app:compileFlutterBuildDebug FAILED
[        ] [ +104 ms] executing: [/home/alexandre/snap/flutter/common/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +24 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] bbfbf1770cca2da7c82e887e4e4af910034800b6
[        ] [        ] executing: [/home/alexandre/snap/flutter/common/flutter/] git tag --contains HEAD
[        ] [ +152 ms] Exit code 0 from: git tag --contains HEAD
[        ] [        ] 1.20.2
[        ] [   +6 ms] executing: [/home/alexandre/snap/flutter/common/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/beta
[        ] [        ] executing: [/home/alexandre/snap/flutter/common/flutter/] git ls-remote --get-url origin
[        ] [   +3 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +32 ms] executing: [/home/alexandre/snap/flutter/common/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] beta
[        ] [  +24 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [   +5 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [  +61 ms] Initializing file store
[        ] [  +12 ms] Done initializing file store
[        ] [  +31 ms] Skipping target: gen_localizations
[        ] [ +503 ms] Skipping target: kernel_snapshot
[        ] [ +317 ms] Skipping target: debug_android_application
[        ] [        ] Persisting file store
[        ] [   +7 ms] Done persisting file store
[        ] [   +5 ms] build succeeded.
[        ] [   +7 ms] "flutter assemble" took 962ms.
[        ] [   +2 ms] ensureAnalyticsSent: 0ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [   +2 ms] exiting with code 0
[        ] 1 actionable task: 1 executed
[   +1 ms] chmod: modification des droits de '/mnt/Data/Document/Flutter/example/build/app/intermediates/flutter/debug/flutter_assets': Opération non
permise
[   +2 ms] chmod: modification des droits de '/mnt/Data/Document/Flutter/example/build/app/intermediates/flutter/debug/flutter_assets/AssetManifest.json':
Opération non permise
[        ] chmod: modification des droits de '/mnt/Data/Document/Flutter/example/build/app/intermediates/flutter/debug/flutter_assets/FontManifest.json':
Opération non permise
[        ] chmod: modification des droits de '/mnt/Data/Document/Flutter/example/build/app/intermediates/flutter/debug/flutter_assets/fonts': Opération non
permise
[        ] chmod: modification des droits de
'/mnt/Data/Document/Flutter/example/build/app/intermediates/flutter/debug/flutter_assets/fonts/MaterialIcons-Regular.ttf': Opération non permise
[        ] chmod: modification des droits de
'/mnt/Data/Document/Flutter/example/build/app/intermediates/flutter/debug/flutter_assets/isolate_snapshot_data': Opération non permise
[        ] chmod: modification des droits de '/mnt/Data/Document/Flutter/example/build/app/intermediates/flutter/debug/flutter_assets/kernel_blob.bin':
Opération non permise
[        ] chmod: modification des droits de '/mnt/Data/Document/Flutter/example/build/app/intermediates/flutter/debug/flutter_assets/NOTICES': Opération
non permise
[        ] chmod: modification des droits de '/mnt/Data/Document/Flutter/example/build/app/intermediates/flutter/debug/flutter_assets/packages': Opération
non permise
[        ] chmod: modification des droits de
'/mnt/Data/Document/Flutter/example/build/app/intermediates/flutter/debug/flutter_assets/packages/cupertino_icons': Opération non permise
[        ] chmod: modification des droits de
'/mnt/Data/Document/Flutter/example/build/app/intermediates/flutter/debug/flutter_assets/packages/cupertino_icons/assets': Opération non permise
[        ] chmod: modification des droits de
'/mnt/Data/Document/Flutter/example/build/app/intermediates/flutter/debug/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf': Opération non
permise
[        ] chmod: modification des droits de '/mnt/Data/Document/Flutter/example/build/app/intermediates/flutter/debug/flutter_assets/vm_snapshot_data':
Opération non permise
[        ] FAILURE: Build failed with an exception.
[        ] * Where:
[        ] Script '/home/alexandre/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 671
[        ] * What went wrong:
[        ] Execution failed for task ':app:compileFlutterBuildDebug'.
[        ] > Process 'command 'chmod'' finished with non-zero exit value 1
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full
insights.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 2s
[ +296 ms] Running Gradle task 'assembleDebug'... (completed in 2,5s)
[+1916 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +1 ms] "flutter run" took 4 776ms.
[   +3 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:591:7)
           <asynchronous suspension>
           #2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:860:18)
           <asynchronous suspension>
           #3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:741:33)
           <asynchronous suspension>
           #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart)
           #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
           #6      _rootRun (dart:async/zone.dart:1190:13)
           #7      _CustomZone.run (dart:async/zone.dart:1093:19)
           #8      _runZoned (dart:async/zone.dart:1630:10)
           #9      runZoned (dart:async/zone.dart:1550:10)
           #10     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
           #11     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:730:20)
           #12     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
           #13     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:332:21)
           #14     _rootRunUnary (dart:async/zone.dart:1198:47)
           #15     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #16     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #17     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #18     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #19     Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #20     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
           #21     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
           #22     FlutterVersion.checkFlutterVersionFreshness (package:flutter_tools/src/version.dart)
           #23     _rootRunUnary (dart:async/zone.dart:1198:47)
           #24     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #25     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #26     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #27     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #28     Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #29     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
           #30     _rootRun (dart:async/zone.dart:1190:13)
           #31     _CustomZone.run (dart:async/zone.dart:1093:19)
           #32     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
           #33     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
           #34     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
           #35     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
           #36     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
           #37     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

[   +1 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[   +2 ms] Shutdown hooks complete
[        ] exiting with code 1

Steps to Reproduce

On linux Manjaro KDE 5.7.14, installed flutter using snapd
flutter doctor clear (see below)
create a new project using flutter create example
try to run project on emulator with flutter run

Logs

The log of doctor -v
[✓] Flutter (Channel beta, 1.20.2, on Linux, locale fr_FR.UTF-8)
    • Flutter version 1.20.2 at /home/alexandre/snap/flutter/common/flutter
    • Framework revision bbfbf1770c (il y a 8 jours), 2020-08-13 08:33:09 -0700
    • Engine revision 9d5b21729f
    • Dart version 2.9.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at /home/alexandre/Android/Sdk
    • Platform android-30, build-tools 30.0.1
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Android Studio (version 4.0)
    • Android Studio at /opt/android-studio
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (1 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 8.0.0 (API 26) (emulator)

• No issues found!

It's failing to chmod flutter_assets in the Flutter project directory (not the Flutter sdk)

The workaround I found is to use only android studio.. I can't explain why but it worked once I used the IDE


Consider using DBus signaling capabilties

Polling the dbus status of spotify does not work for me so I built this little script working with dbus signaling and based on a very minimal subset of your code.
You should also consider making python-docopt a hard dependency.
(blockify-minmal.txt)

Thanks for the suggestion!
You are the first person to report that the Spotify dbus session isn't working. Do have any idea why?
I am asking because if this problem is likely to occur for a wide range of systems I'd look at implementing this. Otherwise I'm putting it in my backlog for this project.

It works in the gui session but not in the terminal one (I think, according to the ini sample, that polling is done every 200 seconds or so).
When I was debugging this problem I read a little into dbus and one of the first things i saw was the event driven stuff. So I implemented it straight away simplifying and reducing the stuff you did. It completely avoids polling so it seems to be a good solution for all polling  related issues (cpu load, unknown timeouts of dbus (10 - 30 seconds! on a method call) and so on).


Subscription Feed Box displaying incorrectly.

It works when I disable the extension but it's a little annoying ;)
It's been a problem for a while I think since Google changed something, but I just want to make sure it's known about.
I'm using Maxthon v<IP_ADDRESS>0.
UPDATE: Well I just looked around and found a fix from 12 days ago. Adding ?flow=2 sets it to YouTube's typical listing, which YTC then seems to properly put into a grid.
I won't close it because, well... it is still an issue. Feel free to.

https://github.com/YePpHa/YouTubeCenter/issues/2105#issuecomment-158065694


YAML Editor

How would I extend the class to allow editing YAML?

How would I extend the class to allow editing YAML?

From the dash forum: you will need to change lines 6 and 36 in PythonEditor.react.js as well as prismjs plugin options in .babelrc


Is it possible to get list of current notifications?

I mean to be able to do something like this:
get notification
click on the app icon (not notification) as a badge appeared
get all available notifications with data (by resume event) to be able to handle same as notification click.
Also i would like to differ is app were opened by app icon click or by changing opened apps.

No, that's not possible, you should query your server to see the notifications sent but not opened


test: add unit test on timeSelect

Changes proposed in this PR:

unit test on timeSelect of the TimePicker component

[ ] I have followed (at least) the PR section of the contributing guide.
@90milesbridge/tigger

Pull Request Test Coverage Report for Build 4346

12 of 12 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.7%) to 84.452%

Totals

Change from base Build 4340:
2.7%

Covered Lines:
3090

Relevant Lines:
3579

💛  - Coveralls


Ran the descriptions through grammarly for simple

Some simple grammarly modifications to ensure quality of the list for all audiences.

Thanks! 😎 Most of these mistakes come from the original library descriptions, but there are ones made by me. Accepted and merged.


BuildInfoContributor exception with PublishSingleFile

https://github.com/SteeltoeOSS/Steeltoe/blob/master/src/Management/src/EndpointBase/Info/Contributor/BuildInfoContributor.cs is still using Assembly.Location
This causes the app to crash on startup when compiled with the -P:PublishSingleFile=true flag
It should get the versions without using the filesystem
Environment (please complete the following information):

Steeltoe Version 3.0.2
Platform: Pivotal Cloud Foundry & local (OSX)
OS: Mac OSX
.NET Version: Core 5.0.101

Screenshots
When publishing with the  -p:PublishSingleFile=true this causes the error
Unhandled exception. System.ArgumentException: The path is empty. (Parameter 'path')
at System.IO.Path.GetFullPath(String path)
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
The compiler produces the following warning:
warning IL3000: 'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'.
Additional context or links
This is the same behavior that was noticed in this bug (now closed)
https://github.com/SteeltoeOSS/Steeltoe/issues/520
but the closing PR https://github.com/SteeltoeOSS/Steeltoe/pull/536 didn't address all the Assembly.Location usage.

Looks like you're right and I missed that, thanks for pointing it out @gregolm - would you like to open a PR to fix it?

Looks like you're right and I missed that, thanks for pointing it out @gregolm - would you like to open a PR to fix it?


Pulling holocarp

You can pull holocarp, i think its not quite right. Holo carp is a hologram, yea? Am i right?
I think we should remove the Pullable component from it. 🤔

they are hologram right? they should not deal damage

#22489

I forgot that i made a PR for pulls...

they are hologram right? they should not deal damage

Its a hard to explain holocarp can ever live and move. But pulling a hologram is a bit weird, imo

they are hologram right? they should not deal damage

Its hard to explain holocarp can ever live and move. But pulling a hologram is a bit weird, imo
Holograms in the future are just built different

https://youtu.be/j19yayihDDo?si=RCmTQIy-ilJHVscT


Added Monitoring Capabilities (Observability-as-code)

Summary of the Pull Request
Added below capabilities that can be optionally disabled.

Azure Dashboard, alerts and diagnostic settings for DataFactory and Synapse, SQL DB's(MSSQL,MYSQL,MariaDB,PostgreSQL, Cosmos DB
Log analytics Workspace, Azure Data Factory Analytics Solution, Azure SQL Analytics Solution
Updated Portal Experience
Updated Doc

References
No reference

PR Checklist

[x ] Code of Conduct signed. If not, go to Code of Conduct.

Validation Steps Performed
Deployed manually

@sudivate Can you please check whether one of the requests has been considered?


Codegen UPDATE

This PR is for processing UPDATE within Codegen. The initial code has come from #656, and much of the code has been refactored and modified for a clean PR, e.g. the global runtime states introduced in the previous PR are all removed and localized, and a helper class like that in #687 has been introduced to accommodate many of the changes.
PerformUpdate() that contains the original executor logic has been touched for a clear code representation.  Although it is more readable now, it is not still in its best condition.  There is also serialization/deserialization for the target/direct_map lists while being passed through the translator, and this may need some attention to be improved near future.
In addition, a bug on handling VARCHAR in codegen has been fixed, which is not related to UPDATE.   The original peloton value system has been including null terminators in its VARCHAR's length value, but that of codegen has been changed to behave in the same way.

Coverage decreased (-11.9%) to 59.604% when pulling d390e0e2cbe50809b741cdb0303cca2f888545e3 on seojungmin:codegen-update into 03c1764d2cbb1087c3909d9b13dd95ec8d304ad1 on cmu-db:master.

The Coveralls program seemed to behave a little bit abnormally.  It reported that the coverage went down about 11%, which was unlikely considering the change that had been made in this PR.  @pmenon helped me to rerun the travis, and it seems to report the coverage correctly.

Coverage increased (+0.1%) to 72.671% when pulling c50ed460637c6a710e6a8157176be2f14d8b73d6 on seojungmin:codegen-update into 869952e4e59fb5d2b11d9149a255188bc57f10c4 on cmu-db:master.

Coverage decreased (-72.8%) to 0.0% when pulling 389fc198fa26c034b40edbdf6c4698ab5bf35e2b on seojungmin:codegen-update into 193060ea14fa130fe1d75affb6104b89fc5f5d4e on cmu-db:master.

Coverage increased (+0.1%) to 72.975% when pulling 0956d59962fabe18117edb0f538d5b064e70f1c9 on seojungmin:codegen-update into 193060ea14fa130fe1d75affb6104b89fc5f5d4e on cmu-db:master.

Coverage increased (+0.1%) to 72.971% when pulling 0dc883069cedabe5a31420440b5f7f0619e7e2c5 on seojungmin:codegen-update into 193060ea14fa130fe1d75affb6104b89fc5f5d4e on cmu-db:master.

Coverage increased (+0.2%) to 72.994% when pulling 8791ae2afb7177fde047592f892cbbc02fde8a12 on seojungmin:codegen-update into 193060ea14fa130fe1d75affb6104b89fc5f5d4e on cmu-db:master.

Coverage increased (+0.3%) to 73.106% when pulling 8b322fb82ef422d6d12c495424afb0b990ff2fc2 on seojungmin:codegen-update into 193060ea14fa130fe1d75affb6104b89fc5f5d4e on cmu-db:master.

Coverage increased (+0.3%) to 73.098% when pulling 37a6559e40e15a87d0094eefdb2fe1ebdbda3dd4 on seojungmin:codegen-update into 193060ea14fa130fe1d75affb6104b89fc5f5d4e on cmu-db:master.

Coverage decreased (-72.9%) to 0.0% when pulling 83775518c2ced99faf475b388393c3d1cc127afd on seojungmin:codegen-update into 1951a6cafe911a3ea869f6a1eef508f686c4f24e on cmu-db:master.

Coverage increased (+0.2%) to 73.087% when pulling 0ff23194badd9b19b1ac437abc43a784bf7ea922 on seojungmin:codegen-update into 1951a6cafe911a3ea869f6a1eef508f686c4f24e on cmu-db:master.

Coverage increased (+0.2%) to 73.208% when pulling 0dfb6d914d91d8c54a94fad770f2d226d57e99d4 on seojungmin:codegen-update into 1d450aa99e93e4bc778c11f6a3a9a5208975d30c on cmu-db:master.

I will rebase this, now.

Coverage increased (+0.1%) to 75.089% when pulling<PHONE_NUMBER>34312c74d0d246e441b9a8a4dc85a4 on seojungmin:codegen-update into 998d71aa7b045c5db56ada7c841aecbede4efdd7 on cmu-db:master.

This PR can be merged. Review comments are always welcome.

@seojungmin Can you provide high-level points on how this works? Also add comments in the code describing each component.

Coverage increased (+0.1%) to 75.081% when pulling d1225abfa5552419fa1858dd34da55b39b209ea3 on seojungmin:codegen-update into 998d71aa7b045c5db56ada7c841aecbede4efdd7 on cmu-db:master.

@pmenon Here are some high-level points. I added comments on the last commit.
This PR introduces two new modules, and also changes roles of some previous modules:
[New]

Update translator builds the information required for update and hand it over to the updater.
Updater is a helper for the update execution, and deals with updating with and without primary key.  It also calls TransactionRuntime to find out(or to acquire) the ownership of the tuple. Depending on the ownership it has different execution strategies.  The execution strategy is the same as before, but the code is clean up.

[Role Changes]

TransactionRuntime used to do all the execution work, but I moved these roles to Deleter and I only left helper APIs for acquiring ownership.
Deleter used to be only a bridge to TransactionRuntime, but it now has all the execution logic inside, which is consistent with Updater.

Since he update execution logic was so huge and complex, these separations and changes were inevitable.   After all, the translators do whatever codegen can do, and pass over to Updater/Inserter/Deleter which actually do the execution jobs that cannot be handled by codegen.

Coverage increased (+0.3%) to 75.276% when pulling efaa72381c14e7676823cbe524ce505f8c499713 on seojungmin:codegen-update into 998d71aa7b045c5db56ada7c841aecbede4efdd7 on cmu-db:master.

Coverage increased (+0.3%) to 75.301% when pulling efaa72381c14e7676823cbe524ce505f8c499713 on seojungmin:codegen-update into 998d71aa7b045c5db56ada7c841aecbede4efdd7 on cmu-db:master.


Please update the usage page to add this

After completing the configuration, go to the APP_Home folder and execute
./activator war  to generate the war file.

Thx! I updated https://github.com/play2war/play2-war-plugin/wiki/Usage.
Does it look good?

Yes... Looks good.


Add Vector4 class and use it where fitting

There's a vec4 type in GLSL that I'm sure we're all familiar with, so it's a little strange that libGDX has Vector, Vector2, and Vector3, but as of right now, no Vector4. This tries to change that. Vector4 is rather similar to Vector3, except for a few methods that require a lot of extra effort due to how 4D space is (setToRandomDirection() and isOnLine(), mainly). Where ShaderProgram already allows setting a uniform with a Vector3 or Color, it now can take a Vector4 (which acts identically to Color, setting four float components).
Most of the work in Vector4.java was done by Antz and largely follows in the footsteps of Vector2 and Vector3. There's some small changes in other Vector-related files -- idt() was present in Vector3 and now Vector4, but not Vector2, so I added it there to match the others. It's a very simple method to add. I improved existing docs in a few places, mostly fixing typos and capitalization mistakes. I changed some C-style array declarations in Vector3 to use the more conventional Java-style array declarations; this was easy to do automatically and I feel it makes this (Java) code more legible.
The tests could be better; let me know if you think something should be tested that isn't now.
Thanks Antz, and thanks in advance to anyone reviewing this!

Looks fine! 👍

I suggest, just merge it when you are ready! 👍


Consider replacing CMRmatroiddec{Rows,Columns}Parent by CMRmatroiddecChild{Rows,Columns}ToParent

This would be
    CMR_ELEMENT* CMRmatroiddecChildRowsToParent(CMR_MATROID_DEC* dec, size_t childIndex)
    CMR_ELEMENT* CMRmatroiddecChildColumnsToParent(CMR_MATROID_DEC* dec, size_t childIndex)

and could go along with corresponding changes in struct _CMR_MATROID_DEC:

Remove CMR_ELEMENT *rowsParent, *columnsParent
Also remove struct _CMR_MATROID_DEC* parent (it's almost unused)
Instead, add CMR_ELEMENT **childRowsToParent, **childColumnsToParent

This would enable structure sharing, e.g. for a 100-fold 1-sum of the same matrix

You mean to keep a mapping from node's rows/columns to that of the parent, but do not store it with the node but with the parent.

Yes, exactly.

Since the purpose would be to decouple a subtree from the remaining tree, would it make sense to introduce reference counted memory management for decomposition nodes?

Yes, that would make sense!


feat: There are finitely many lists of a fixed length

From LeanCamCombi

Isn't this basically Vector.finite?

Well spotted. Golfed


2669tor/89fe36095adcc8128f314b41b5e6fd22e94febb618464d117931b8cd3bdb80d4

89fe36095adcc8128f314b41b5e6fd22e94febb618464d117931b8cd3bdb80d4

89fe36095adcc8128f314b41b5e6fd22e94febb618464d117931b8cd3bdb80d4

Please add a description and rebase against the dev branch.
New PR-s are excpected to be oepened to dev (changed already).

bitcoin/address/bc1qwqdg6squsna38e46795at95yu9atm8azzmyvckulcc7kytlcckxswvvzej

closing this for lack of communication

0a2f6ffff49b1e633b34526597e03da8871c7ff95f87f0c9992e8fa5308c1a33


Is an authentication with id_token, but without access_token valid?

The condition here:
https://github.com/manfredsteyer/angular-oauth2-oidc/blob/3ba7303b5a6fdbae5ca214764c9191637cd00126/projects/lib/src/oauth-service.ts#L313
requires that there is an access_token AND an id_token.
However, that contradicts with the method comment, which says:
but only if there is no valid IdToken or no valid AccessToken.
Also from the code it seems that there needs to be only one of them.
I'm asking because my server only gives me an id_token and a state (but no access_token). It's working, but I want to doublecheck if that's a legit implementation.

Can anybody help with this one? I'm a bit worried, because we don't seem to get an access_token from our provider, only an id_token.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.11 to before v5.15.7",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1da81e5562fac8286567422cc56a7fbd0dc646d4",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=189c99c629bbf85916c02c153f904649cc0a9d7f"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "1da81e5562fac8286567422cc56a7fbd0dc646d4",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "189c99c629bbf85916c02c153f904649cc0a9d7f",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "serial: liteuart: Fix NULL pointer dereference in ->remove()\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.15.7 by commit 189c99c629bbf85916c02c153f904649cc0a9d7f, it was introduced in version v5.11 by commit 1da81e5562fac8286567422cc56a7fbd0dc646d4. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002580


Zeebe Hazelcast Exporter also stops exporting records when error is encountered in Zeebe Elasticsearch Exporter

Describe the bug

Zeebe Elasticsearch started facing issue (illegal_argument_exception : exceed total filed limit for index) while putting data into ES so no data was being inserted into ES
Along with this even simple monitor and Zeeqs stopped receiving data from Hazelcast exporter.
After increasing ES total field limit records started inserting in ES but still simple monitor and Zeeqs did not receive data from Hazelcast Exporter
When restarted simple monitor and Zeeqs individually to obtain new hazelcast connection only simple monitor started receiving data from Hazelcast exporter and Zeeqs did not receive any data
So restarted zeebe broker after that only Zeeqs started receiving data from Hazelcast exporter

To Reproduce

Start zeebe broker with both Elasticsearch exporter and zeebe-hazelcast-exporter enabled
Introduce anomaly in ES record insertion for zeebe ES exporter (for e.g any illegal_argument_exception)
Because of that error ES exporter will continuouly keep on trying to insert that record until success
Now deploy a sample workflow in zeebe now check its entry in simple monitor, it won't be updated.(Concluding even simple monitor stopped receiving data or zeebe hazelcast exporter stopped exporting data after error occurs in ES exporter even though simple monitor is not related anyhow to ES exporter)

Expected behavior

As both exporters are independent of each other Error in one exporter should not affect the working of other exporter
Hazelcast exporter should stop exporting records only if it itself faces some error while insertion
Zeeqs should have started receiving data after its own restart as it obtains a new connection (i.e broker restart should not have been required)

Environment:

OS: Kubernetes

Zeebe Version: 0.24.2

Configuration: (1 Standalone gateway and 1 Broker) , zeebe-elasticsearch-exporter, zeebe-hazelcast-exporter,

clusterSize: "1"

partitionCount: "1"

replicationFactor: "1"

cpuThreadCount: "2"

ioThreadCount: "2"

Setup Details - Zeebe Cluster  is deployed on Kubernetes cluster using Zeebe Cluster Helm chart. Enabled zeebe elasticsearch exporter as well as zeebe Hazelcast exporter on zeebe broker. Zeebe Elasticsearch exporter is being used to export data to our Elasticsearch endpoint and Zeebe hazelcast exporter is configured to export data to simple monitor as well as Zeeqs( Postgresql as underlying DB ).

Duplicate of https://github.com/zeebe-io/zeebe/issues/5438.
The behavior is caused by Zeebe itself and how exporters are handled. It is not specific to the Hazelcast exporter.

Duplicate of https://github.com/zeebe-io/zeebe/issues/5438.
The behavior is caused by Zeebe itself and how exporters are handled. It is not specific to the Hazelcast exporter.


session hangs when running df

resolution_fixed   |    by ibc599

Running the command df or listing files in /projects causes the current session to hang.
There seems to be a problem with one of the mount points?

Issue migrated from trac:64 at 2024-01-31 17:14:29 +1100

ibc599 commented

NCI seems to have fixed this now.

<EMAIL_ADDRESS>commented

Same thing is happening on Raijin ...
So not Accessdev specific.
Robin

<EMAIL_ADDRESS>commented

From raijin:/etc/motd:
Jan 23 (1045 - ) /g/data NOTICE
A hardware module in /g/data1 has failed and is being replaced.
Some data stored on the affected hardware may be temporarily unavailable.
Storage administrators are currently working on resolving the fault.

ibc599 changed resolution from `` to fixed

ibc599 changed status from new to closed

<EMAIL_ADDRESS>commented

Milestone Future deleted

<EMAIL_ADDRESS>removed milestone (was Future)


Upgrade to Postgres 12

The shared wallet component can be upgraded to using Postgres 12. In OCP4, the image is available as: "kind":"ImageStreamTag","name":"postgresql:12","namespace":"openshift"

Project has reached EOL.


Feature Idea: Ways to insert rows/columns at a certain position, or move via drag 'n' drop?

The "Add Row" and "Add Column" buttons add the new empty at the end of the current array. It would be great if there were some way to insert the row/column in a specific location, or move a row/column to a specific location after insertion.

For another package I'm been working on, users manage a dataset (kinda like a table), and they can then insert columns and rows at specific positions by activating a custom right click menu. I've thought about adding that to this package as well - but then again that requires a bit of time.
I've noticed that Umbraco 14 has moved away from right click menus as those are apparently considered bad practice since they replace the browser default right click action. I do however think they still have their place in a CMS.
Being able to move columns and rows also makes sense. I'm not sure how being able to drag can be supported in a good way in the UI, but moving columns and rows could also be supported via the right click menu.

A right-click option could work nicely, almost like Excel (with insert before/after, and delete options)
Or perhaps a "+" button in front of each row/column would be a simpler possibility? Since a delete button is already getting added, seems adding two buttons instead would be easy enough.
Dragging something might be the most obvious UI to move things around, though if the implementation for that is too difficult, there could be some other option like a "move" button, with a prompt asking where to move to, kind of like how the "move" option works for nodes in the tree. Though it might all be clearer if there were numbers or letters labelling rows and columns.


Move "Schedule" section out of Container tab & change replica to number only field

Section: Create Workloads

[ ] Change replica field for all Workloads to be numbers only (it should have the scrolls).  Also It should just be it's inherit width, it doesn't need call span or specific width.

[ ] Page: Create Deployment - Move Replicas out of Container tab to section above

[ ] Page: Create Cronjob - Move Schedule out of Container section to top

[ ] Page: Create DaemonSet, Job - Remove Schedule section (it's there with no fields in it)

[ ] Page: Create StatefulSet - remove Replicas & service name fields out of Container to top

@tfiduccia @mantis-toboggan-md added nancy as discussed on yesterday's call

Verified fixed