How to execute a long calculation (server side)?

Hi almarklein,
I'm looking for a way to execute a long calculation and not freeze the application.
Here is the situation: I have a website where I can drop an excel file which is transferred to my server to be analysed. Once the server (PyWidget) receives the file, it does an analysis and then returns the results to the client in the form of a graph.
So my analysis function is in a @event.reaction('input.filecontent') in my Main(PyWidget). But as the analysis takes a long time, the flexx app feezes and loose the connection (on the client side who sees the server as unresponsive).
Can I start a thread to do the work on the server and if so how can I get the result back into an event or a reaction so results get transferred back to the client? Any suggestion/examples?
Thanks,

Yes, I would probably do the work in a separate thread. When it's done, you can let it call an action to bring the result back into the main threads event system. This can be e.g. an action on that pyWidget.

See https://flexx.readthedocs.io/en/stable/event/api.html#flexx.event.action for details.

Thank you almarklein. Sadly I was not able to call the @event.action function directly (could not figure it out). I rather found another way that seem simpler.
I added the following within my Main(PyWidget), it is triggered by the reception of content of an excel file from the client browser:
@event.reaction('input.filecontent')
def __source_changed(self, *events):
    if "allow_reconnect" not in events[0]: # skip the first one
        pos = self.input.filecontent.find("base64,")
        content = base64.b64decode(self.input.filecontent[pos+7:])
        with tempfile.NamedTemporaryFile(prefix="motor_", suffix=".xlsx", mode='wb', delete=True) as f:
            n=f.write(content)
            temp2 = open(f.name, "rb", opener=os_ex.temp_opener)

        mm = mmap.mmap(temp2.fileno(), 0, access=mmap.ACCESS_READ)

        motor = ExcelFileParser(mm)

        percent = motor.CalculateEfficiencyLevelPercentage()

        def thread():
            # do the calculations
            mem_file = io.BytesIO()
            zoom=0.5
            PlotMotorEfficiencyWithDots.plot(motor, mem_file, figsize=(int(16*zoom),int(8*zoom)), format='png')
            plot_data = base64.b64encode(mem_file.getvalue()).decode('utf-8')

            def report():
                # report on results
                self.graph.set_html(f'<img src="data:image/png;base64,{plot_data}" alt="broken" />')
                self.tab.set_current(self.graph)

            event.loop.call_soon(report)

        threading.Thread(target=thread).start()

The Main(PyWidget) contains the graph and tab properties that are changed withing the report function.
It maybe worth it to add the event.loop.call_soon(...) to the documentation as this function can be called safely within a thread to change PyWidget properties.

Right, that should also work :)  That function is documented here, but it's part of the flexx.event subpackage, so perhaps easy to overlook.


rework settings migration to be mysql compliant

fixes #1524

I think I found an easier solution without the custom . I think that was just pebkac. o_O

we take #1541 and close this pr


Navigate to main section anchors via subheader

I WANT to reach different content for a specific project
SO I can easily find the right information for a specific problem I have

GIVEN I am in the 'overview' of a project
WHEN I click on a tab from the subheader
THEN I am redirected to the specific page

We've redesigned the website completely and this issue does not apply anymore.


[BXMSPROD-1796] setup Nexus repository group as rhba-7.13-nightly

JIRA: https://issues.redhat.com/browse/BXMSPROD-1796

How to retest a PR or trigger a specific build:

* a pull request please add comment: Jenkins retest this

jenkins retest this please


Broken link inside documentation

Not really an issue, but I noticed a broken link inside the documentation, at the
Overriding A Component Style chapther here. The "their styling documentation" link is broken
anyway AMAZING job!

Can you send us a pr ?

#715 should fix it

Fixed by #715


Insecure Randomness for the useof Math.random() in shuffle API (security vulnerability)

Since  Math.random could potentially return the same value twice and it is not cryptographically secure causing the insecure randomness when we scan the code in the fortify tool.
Please confirm if there is any future plan to remove Math.random and use cryptographically secure code for getting random values.
just by using crypto API
const myArray = new Uint32Array(10);
crypto.getRandomValues(myArray);

https://github.com/d3/d3-array/blob/main/src/shuffle.js#L1

You can pass a source of your liking to d3.shuffler.
Same issue as https://github.com/d3/d3-random/issues/45


mangadex tries to download beyond last chapter

Tried:
pipenv run manga-py --cbz --zero-fill --rename-pages --destination Manga/ https://mangadex.org/manga/23040/monster-no-goshujin-sama

Works OK, but tries to download beyond last chapter and raises this:
 File "~/.local/share/virtualenvs/0_bin-S-IZrhuG/lib/python3.5/site-packages/manga_py/provider.py", line 147, in get_archive_path
    _path = remove_file_query_params(self.get_archive_name())
  File "~/.local/share/virtualenvs/0_bin-S-IZrhuG/lib/python3.5/site-packages/manga_py/providers/mangadex_com.py", line 11, in get_archive_name
    idx = self.get_chapter_index().split('-')
  File "~/.local/share/virtualenvs/0_bin-S-IZrhuG/lib/python3.5/site-packages/manga_py/providers/mangadex_com.py", line 15, in get_chapter_index
    return self.chapter[0].replace('.', '-')

Oh.
I fixed it. Thank you.
Also added the language of the chapter to the file name.

Version 1.3.3 available now.

works OK in 1.3.3 :+1:


ResponsiveMixin throws an exception if no breakpoints are set on componentWillUnmount

Uncaught (in promise) TypeError: Cannot read property 'forEach' of undefined
at ResponsiveMixin.componentWillUnmount (webpack:///./~/react-slick/~/react-responsive-mixin/index.js?:22:34)

@hannesj Can you give little more details of your problem?? How can we reproduce this??

Hi @vramana,
Currently the slider.jsx uses react-responsive-mixin. If you create a react-slick component without any breakpoints and later on try to unmount it, it tries to remove all media handlers, but as none have been created, the array it tries to loop though doesn't exits, thus throws the error.


Publish as 2.0.0 without M2 suffix?

I maintain legacy lib ScalaSwingContrib and are publishing for 2.12. Was surprised to find only a milestone builds for 2.12.x.
Seems there isn't any likely prospect of much more work on Swing lib, so could we re-publish as 2.0.0? The M2 suffix suggests expected changes coming...
Testing Ive done with M2 on 2.12:
Unit tests for ScalaSwingContrib plus manual testing of its 3 demos all look good
 [1] scalaswingcontrib.test.ColorChooserDemo
 [2] scalaswingcontrib.test.TreeDemo
 [3] scalaswingcontrib.test.group.GroupLayoutDemo

SGTM — I think a PR on this would be accepted.
also, would you like to be a community maintainer of this repo? (@andy1138 are you still involved?)

Hi Ben (and always Seth)
It would be great if you wanted to be a community maintainer, one of the
biggest problems I've had is that I get to code review and help other
people add changes but when I want to change something then its really hard
to find somebody else to do a code review or 'do you think this is a good
idea' conversation with. This is one of the reasons why very little has
happened to swing (along with a lot of the other problems are really
hard/impossible to do)
I will spend some time over the weekend and get a build without the M2
suffix.
And then we can get the others into the swing lib ( I know ColorChooserDemo
is already in scalaswing as it has a truly awesome author, but it would be
good to add Tree and GroupPane :-) )
On 14 November 2016 at 19:41, Seth Tisue<EMAIL_ADDRESS>wrote:

SGTM — I think a PR on this would be accepted.
also, would you like to be a community maintainer of this repo? (@andy1138
https://github.com/andy1138 are you still involved?)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scala/scala-swing/issues/51#issuecomment-260440162,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAbxqFRgqTVTljZ9hz0HDLvTUQ84kCTCks5q-Ll9gaJpZM4KwlZj
.

--
Tanis Systems Limited is a company registered in England and Wales.
Registered number: 5464771. Registered office: 2 Avondale House, 264
Croydon Road, Caterham, CR3 6QJ, VAT 238866167

My view is that Swing is a legacy platform. Most users will have existing
systems that they need to keep running. As I see it, thats the "target
audience". So I envisage its mainly about merging bug fixes and small
tweaks, plus getting releases out each time scala breaks binary compat.
If that aligns with your expectation, then yes Id be happy to be a
community maintainer.
On Tue, Nov 15, 2016 at 6:41 AM, Seth Tisue<EMAIL_ADDRESS>wrote:

SGTM — I think a PR on this would be accepted.
also, would you like to be a community maintainer of this repo? (@andy1138
https://github.com/andy1138 are you still involved?)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/scala/scala-swing/issues/51#issuecomment-260440162,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAF05JlKte-HMSmc8SGbrnFixs7854ctks5q-Ll9gaJpZM4KwlZj
.

yes, that sounds fine. someone else would still be free to come along and take a more active/aggressive approach to improving the library, but what you describe is perfectly acceptable ambition level to qualify as a maintainer.

I've sent you an invite for https://github.com/orgs/scala/teams/community-maintainers — once you've accepted, may I suggest you send a PR adding yourself to the readme?

Hi ben, great to see you've joined and I've already pulled the first code
change.
I've done a pull request to remove gitter. I also thing haveing this is
'overkill' and just gives a chance  to 'kick the tires' and check if things
work.
Guess the first thing is to just removed the M2 and get a build using 2.12
out :-)
On the admin side, the only thing is that anyone who adds code has to sign
the scala CLA and there is a little url to check this at
http://www.lightbend.com/contribute/cla/scala/check/benhutchison  (I may be
wrong but dont think the build process checks)
On 16 November 2016 at 19:10, Seth Tisue<EMAIL_ADDRESS>wrote:

I've sent you an invite for https://github.com/orgs/scala/
teams/community-maintainers — once you've accepted, may I suggest you
send a PR adding yourself to the readme?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scala/scala-swing/issues/51#issuecomment-261041511,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAbxqGtdE4eUpnIpWzeMkb_ubh4Jmedfks5q-1UfgaJpZM4KwlZj
.

--
Tanis Systems Limited is a company registered in England and Wales.
Registered number: 5464771. Registered office: 2 Avondale House, 264
Croydon Road, Caterham, CR3 6QJ, VAT 238866167

I may be
wrong but dont think the build process checks

you are correct. it's https://github.com/scala/scala-dev/issues/269

@benhutchison still interested?

@SethTisue Yes, still interested.
AFAICT steps to resolve this are:
1 Scala version update https://github.com/scala/scala-swing/pull/56
2 Person with Scala's sonatype credentials edits build.sbt locally changes version            := "2.0.0"
3 That person then sbt +publishSigned followed by maven repo release (manually I guess? ..Ive always use https://github.com/xerial/sbt-sonatype myself).
4 After publish do they then increment the version to version            := "2.0.1-SNAPSHOT" ?
As a committer I only do the first part (I think?). Does that fit with your expectation? Or if otherwise, is there some maven release doc for scala artifacts you could point me at?

publishing is tag based — you push a release tag, Travis does the rest (almost, see below). the version number comes from the tag rather than from the sbt setting. this stuff is provided by scala-module-plugin. the necessary sonatype credentials are already in .travis.yml, encrypted. see also admin/build.sh which is what actually does the publishing.
the only part you need the Scala team for is when you ask us to (perhaps after doing a last sanity check of our own) manually close and release the staging repos on sonatype, to allow the artifacts to proceed to Maven Central

P.S. I'm sorry there isn't better documentation on this. there are only a handful of you module maintainers, so we've been a bit lazy and just helped people one at a time, like we did here. I've opened a ticket about it here: https://github.com/scala/sbt-scala-modules/issues/16

Hi Seth, Andi,
just FYI Im doing the v2.0.0 release now.
The release build seems good [
https://travis-ci.org/scala/scala-swing/builds/192266254] but I dont seem
able to access any of the staging artifacts, either un-authenticated or
using my personal sonatype creds (user 'benhutchison'). So I cant sanity
check the jars etc are good.
On Wed, Jan 11, 2017 at 5:49 AM, Seth Tisue<EMAIL_ADDRESS>wrote:

P.S. I'm sorry there isn't better documentation on this. there are only a
handful of you module maintainers, so we've been a bit lazy and just helped
people one at a time, like we did here. I've opened a ticket about it here:
scala/sbt-scala-modules#16
https://github.com/scala/sbt-scala-modules/issues/16
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scala/scala-swing/issues/51#issuecomment-271662093,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAF05HDXlZVsHpL7qY0WSPFL-BbKQuY5ks5rQ9KugaJpZM4KwlZj
.

hmm, looks like the repo has to be closed before it becomes accessible
so, I closed it in the web UI, and it's now accessible at https://oss.sonatype.org/content/repositories/orgscala-lang-1388/ for you to do pre-release sanity checking

Sanity check pass. @Seth Please release
On Wed, Jan 18, 2017 at 5:31 AM, Seth Tisue<EMAIL_ADDRESS>wrote:

hmm, looks like the repo has to be closed before it becomes accessible
so, I closed it in the web UI, and it's now accessible at
https://oss.sonatype.org/content/repositories/orgscala-lang-1388/ for you
to do pre-release sanity checking
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scala/scala-swing/issues/51#issuecomment-273256246,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAF05L5oIc6o1ZF5OMDsNGh4pUL2NQNrks5rTQjlgaJpZM4KwlZj
.

released via Sonatype web UI. the artifacts should show up on Maven Central soon

would you like to submit a scala/scala PR bumping the scala-swing version there...?

https://github.com/scala/scala/pull/5678 thanks!

afaik, the only missing piece before we can close this ticket is adding release notes to https://github.com/scala/scala-swing/releases/tag/v2.0.0

@benhutchison ping

Apologies for dropping the ball. Ive added a line in the notes "2.0.0 is
built for Scala 2.11.8 and 2.12.1", IIRC building against a released
version of Scala 2.12 was the key difference vs the earlier -M1 build..
On Wed, Aug 2, 2017 at 10:54 PM, Seth Tisue<EMAIL_ADDRESS>wrote:

@benhutchison https://github.com/benhutchison ping
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scala/scala-swing/issues/51#issuecomment-319663379,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAF05GxeMS1iPVoN5_wBEhiuY_Ze2XPOks5sUHGRgaJpZM4KwlZj
.

thx!

I'm a bit afraid people will think that 2.0.0 works only with those specific Scala versions, so I changed it to just "2.11 and 2.12"


ESLint fixes in tests

First noticed in #198 Travis-CI builds.

Coverage remained the same at 97.363% when pulling e46b7d5df8ea96ede3280e4b3b2f4a23dab70d7d on eslint-fixes into 9c3123991771455ab826e69ac7ee807ece7ba394 on master.


nixos/os-release: make default_hostname distribution default

Motivation for this change
The current implementation of DEFAULT_HOSTNAME in version.nix does not account for cases where networking.hostName is an empty string. This can lead to incorrect or unexpected behavior in scenarios where networking.hostName is unset or explicitly set to an empty value, even when networking.domain is defined.
In such corner cases, fqdnOrHostName can produce inconsistent results or cause runtime errors due to assumptions about hostName always being set. By explicitly checking for an empty hostName, we can ensure that DEFAULT_HOSTNAME only propagates valid values.
Changes Made

Updated the DEFAULT_HOSTNAME definition in nixos/modules/misc/version.nix to:DEFAULT_HOSTNAME = optionalString (config.networking.hostName != "") config.networking.fqdnOrHostName;

Impact
This change ensures that configurations with networking.hostName = ""; do not inadvertently propagate invalid or unexpected values for DEFAULT_HOSTNAME. It also prevents potential errors when hostName is empty but domain is defined, as fqdnOrHostName may behave unpredictably in such cases.

Things Done:

[x] Updated nixos/modules/misc/version.nix to handle empty networking.hostName.
[x] Built and tested NixOS system configurations with different networking.hostName and networking.domain settings to verify behavior.

Testing:

[x] Built on platform(s):

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[x] Tested nixos-rebuild with varying configurations:

networking.hostName = ""; networking.domain = null;
networking.hostName = ""; networking.domain = "example.com";
networking.hostName = "example"; networking.domain = "example.com";
networking.hostName = null; networking.domain = null;

Submission Checklist:
Make sure you’ve followed the Nixpkgs contribution guidelines:

[x] Followed the [commit message guidelines](https://nixos.org/manual/nixpkgs/stable/#sec-writing-good-commit-messages).
[x] Squashed any unnecessary commits.
[x] Included a clear and concise explanation of the change.

I accept your changes and have also updated the PR title. My only concern is whether this change can be backported, as the regression exists in 24.11

@jopejoe1: While you're here, might I persuade you to take a look at this related PR?

Sure


License file?

This is a wonderful website, I want to know how I may use the code here for myself. You haven't included licence file.
The following is written on the github open source licensing page :

You're under no obligation to choose a license. It's your right not to include one with your code or project, but please be aware of the implications. Generally speaking, the absence of a license means that the default copyright laws apply. This means that you retain all rights to your source code and that nobody else may reproduce, distribute, or create derivative works from your work. This might not be what you intend.
Even if this is what you intend, if you publish your source code in a public repository on GitHub, you have accepted the Terms of Service which do allow other GitHub users some rights. Specifically, you allow others to view and fork your repository within the GitHub site.
If you want others to use, copy, modify, or contribute back to your project, we strongly encourage you to include an open source license.

I'm really keen to build a church website making use of your wonderful work here. Seeing as you haven't included a licence but it is on Github I can fork it, but I would much prefer to do that within your wishes.

Thanks!

Thank you so much Adam, I really appreciate it. Will be sure to keep a clean master so that I can send pull requests your way for any changes we make that are still compatible.

Awesome. I would love to see what you do with it.

Don't expect too much :)

Something interesting:
https://github.com/SimonBiggs/lifestonechurch/blob/gh-pages/index.html
I've made it so that the welcome message can be pulled from a google spreadsheet. I plan to set it up so that all text can be done the same way. That way the website can be updated without needing me :).
Let me know if you want me to put this into a pull request for you.
Cheers,
Simon

Once I've worked out what I'm doing I'll copy the site across to another repo and make the changes over there. Then I'll refork and make a few branches including each little feature added. You can then choose to take them or leave them. Will let you know :)

Cool. One thing I've been meaning to add is a way to automatically show Facebook events on the site.


[BUG] EcsTextFormatter 8.6.0 throws an exception when Enrich.WithElasticApmCorrelationInfo() is used

ECS integration/library project(s) (e.g. Elastic.CommonSchema.Serilog):
Elastic.CommonSchema.Serilog 8.6.0
Elastic.Apm.SerilogEnricher 8.6.0
Elastic.Apm.NetCoreAll 1.22.0
ECS schema version (e.g. 1.4.0):
8.6.0
ECS .NET assembly version (e.g. 1.4.2):
8.6.0
Elasticsearch version (if applicable):
8.8.2
.NET framework / OS:
.net 7 / Windows 10
Description of the problem, including expected versus actual behavior:
Expected behaviour: Logs with serilog in ECS format
Actual behaviour: No logs generated (because of silent exceptions explained below)
When logging through Serilog sinks with EcsTextFormatter and APM enricher WithElasticApmCorrelationInfo(), the EcsTextFormatter  throws an exception when converting the log while trying to read the service details.
This appears to be because Agent.Config.ServiceNodeName is null, and is being added as null to the event property ElasticApmServiceNodeName rather than not added at all by the enricher extension WithElasticApmCorrelationInfo().
Method GetService() of LogEventConverter will try to find property ElasticApmServiceNodeName which is set as a null value, and therefore fails with a null reference error. LogEventConverter line 80:

Steps to reproduce:

Create .net 7 app with packages Elastic.CommonSchema.Serilog, Elastic.Apm.SerilogEnricher, Elastic.Apm.NetCoreAll
add a serilog Console Sink with EcsTextFormatter, and add Enricher WithElasticApmCorrelationInfo()
add APM host.UseAllElasticApm();

create a test log _logger.LogInformation("my name is {name}", "joe");

At this point, you will see that the log will not be printed to console.
If we add ourselves the value of ServiceNodeName through config ElasticApm:ServiceNodeName like the following and do the test again, we will manage to print the log:

What is the reason for Agent.Config.ServiceNodeName being null?

Also experiencing this issue. Interestingly it's fine with our app running on Windows, but this problem is present on Linux including debugging in WSL. Also interestingly it's not all log messages that fail - we get a handful of startup messages before this happens, and then all log entries are dropped.

@nathangiuliani you probably manage to get startup logs because at that Point APM is not initialised, meaning the ECS formatter will not even try to append the APM related fields to the log document

@ventii fair point, you're right there.
With some more playing i actually got this working - the problem doesn't seem to be in this library, but one of the other elastic or apm libraries that I originally updated at the same time as this one. I'd imagine it's the APM libraries which we have at 1.19.

Update, it happens when Elastic.Apm.SerilogEnricher is updated from 1.5.3 to 8.6.0.

@nathangiuliani yes exactly, as that package will enrich the log with 3 new fields

ElasticApmServiceName
ElasticApmServiceVersion
ElasticApmServiceNodeName

however, ElasticApmServiceNodeName is being saved as null value.
This in turn causes Elastic.CommonSchema.Serilog to fail when updated to 8.6.0, as it tries to read and parse ElasticApmServiceNodeName, which is saved, but as null.

I believe this was fixed in: https://github.com/elastic/ecs-dotnet/pull/306 will do a 6.0.1 release today.


24479: Create Carousel sprinkle

We need to use Carousel component in Drupal side to show a group of cards as was required in a task (24479)
The problem I found is the component needs its sprinkle to load the component properly in Drupal and be functional.
Due to the list of items we need to display are part of Drupal side I have to pass the data using children prop and the only way I found was using  dangerouslySetInnerHTML  (I think this is not ideal but what it is needed here).
I also think we Carousel should be extended to with a prop to pass children as HTML and allow the developer use  dangerouslySetInnerHTML or not , based on needs.
I'm not sure what;s the best approach here.

Hmm... actually I'm leaning towards adding a childHTML prop on the <Carousel /> component as you suggested in our Teams chat.


#8 Added SelectedTitle property

What's new?

Added public access to SelectedTitle property

Closes: #8

@christianhelle does the CI automatically publishes the nuget package?

@christianhelle does the CI automatically publishes the nuget package?

No, I manually start a release from Azure Pipelines. I had a continuous delivery setup previously but I once had some garbage merged into master and that automatically got published to nuget.org so I disabled auto publishing

@christianhelle does the CI automatically publishes the nuget package?

No, I manually start a release from Azure Pipelines. I had a continuous delivery setup previously but I once had some garbage merged into master and that automatically got published to nuget.org so I disabled auto publishing

Seems like a strategy, cool!

Hmmm the build still fails
https://dev.azure.com/christianhelle/ScrollableSegmentedControl/_build/results?buildId=2553&view=logs&j=275f1d19-1bd8-5591-b06b-07d489ea915a&t=298bf322-c6d7-5231-9614-c0e9bc17313e
Do you have any problems building from your machine? I probably need to make some updates to the build pipeline since I haven't touched this project in 16 months

Your changes should be good enough. I'll fix the build pipelines from another branch


Make bs-fetch a peerDependency.

This PR attempts to make bs-fetch a peerDependency for reason-urql. bs-fetch is solely used to type a few fields on the Client and the combinedError, but otherwise isn't actually used. It needs to be there to support the compiler in these modules, but in order to prevent our dep from conflicting with a user's own version of bs-fetch, we don't want to actually ship our dependency on bs-fetch.
cc/ @gugahoa I haven't yet ported this over to the examples, but let me know if you're able to apply this patch to see if it can help fix your issues! I think it'd be a win for the lib overall if we could remove this dependency. Will follow up on the examples tomorrow, just a bit late here in London!

Sweet, glad it worked @gugahoa! Looks like the build just passed. I'll get this merged and publish v1.0.1 with this change. Thanks!

Released in v1.0.1.


Feat: More plugins

[x] In App Browser plugin
[x] Zip plugin
[x] Cordova Calendar Plugin
[ ] TestFlight plugin
[ ] Web Intent plugin
[ ] iBeacon plugin
[ ] Drifty CameraRoll Plugin
[ ] Native Navigation plugin
[ ] Native Page Transitions
[ ] In App Purchase
[ ] Network Discovery
[ ] Background Service
[ ] MapKit
[ ] Estimotes
[ ] Streaming Media

Hi @pbernasconi, do you have any idea if the there has been any progress or update on implementing the In App Purchase plugin previously discussed here:
https://github.com/driftyco/ng-cordova/issues/361
It would be awesome to have this as part of ngCordova!
Thanks so much

Insomnia please!
https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin/

+1 for https://github.com/j3k0/cordova-plugin-purchase

cordova-plugin-purchase must have for ionic platform.

Hey is anyone working on ibeacons? Do they need any help?

PRs are always welcomed :grin:

1 for In App Purchase

+1 for In App Purchase


apps: Change default for external traffic policy to local

[!warning]
This is a public repository, ensure not to disclose:

[ ] personal data beyond what is necessary for interacting with this pull request, nor
[ ] business confidential information, such as customer names.

What kind of PR is this?
Required: Mark one of the following that is applicable:

[ ] kind/feature
[x] kind/improvement
[ ] kind/deprecation
[ ] kind/documentation
[ ] kind/clean-up
[ ] kind/bug
[ ] kind/other

Optional: Mark one or more of the following that are applicable:

[!important]
Breaking changes should be marked kind/admin-change or kind/dev-change depending on type
Critical security fixes should be marked with kind/security

[x] kind/admin-change
[ ] kind/dev-change
[ ] kind/security
[ ] kind/adr

Release notes
Default external traffic policy is now set to local. If your infrastructure doesn't support this, please set .externalTrafficPolicy.local to false.
Platform Administrator notice
Default external traffic policy is now set to local. If your infrastructure doesn't support this, please set .externalTrafficPolicy.local to false.

What does this PR do / why do we need this PR?

...

Fixes #

Information to reviewers

Checklist

[ ] Proper commit message prefix on all commits

Change checks:

[ ] The change is transparent
[ ] The change is disruptive
[ ] The change requires no migration steps
[ ] The change requires migration steps
[ ] The change upgrades CRDs
[ ] The change updates the config and the schema

Documentation checks:

[ ] The public documentation required no updates
[ ] The public documentation required an update - [link to change](set-me)

Metrics checks:

[ ] The metrics are still exposed and present in Grafana after the change
[ ] The metrics names didn't change (Grafana dashboards and Prometheus alerts are not affected)
[ ] The metrics names did change (Grafana dashboards and Prometheus alerts were fixed)

Logs checks:

[ ] The logs do not show any errors after the change

Pod Security Policy checks:

[ ] Any changed pod is covered by Pod Security Admission
[ ] Any changed pod is covered by Gatekeeper Pod Security Policies
[ ] The change does not cause any pods to be blocked by Pod Security Admission or Policies

Network Policy checks:

[ ] Any changed pod is covered by Network Policies
[ ] The change does not cause any dropped packets in the NetworkPolicy Dashboard

Audit checks:

[ ] The change does not cause any unnecessary Kubernetes audit events
[ ] The change requires changes to Kubernetes audit policy

Falco checks:

[ ] The change does not cause any alerts to be generated by Falco

Bug checks:

[ ] The bug fix is covered by regression tests

Did you miss making the change in this file? Or did you leave it as is on purpose?

Did you miss making the change in this file? Or did you leave it as is on purpose?

I assume that this is required to run the local cluster, but to be honest I didn't check.
I'll see if this is the case


[Class index table] regenerate SSO labels

For data before February, the distinction between roid=2 and roid=3 is false. Ideally, we should include the computation of roid in the classification. This should be combined with #144

Done (reprocessing of raw data)


Singularity: make file names consistent

Enforce consistent use of filenames, either _ or -
Add filetype suffix


Replace Unused suggestion causes code to not compile

This is in QuickInfoProvider.fs.

Though one could argue whether or not this is the responsibility of the code fix, generally code fixes should not suggest something which won't compile.

Yeah, it's a corner case. I think we have two definition locations for same symbol here.

Fixed in https://github.com/Microsoft/visualfsharp/pull/2914


Script Cannot Download Driver.

I thought I broke something in it, so I redownloaded from the latest release (1.15.3) and still end up with this error without modifying anything.
Checking for script update...

        Current script version:         1.15.3
        Latest script version:          1.15.3

Detecting GPU and driver version information...

        Detected graphics card name:    GeForce RTX 3080
        Current driver version:         535.98

Ready to download the latest driver installer to "C:\Users\[username]\AppData\Local\Temp\NVIDIA\install.exe"...

Do you want to download and install the latest driver?
[Y] Yes  [N] No  [?] Help (default is "Y"): Y

[17:00:41] Downloading latest driver installer...
Get-WebFile : Cannot validate argument on parameter 'Url'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
At E:\NVUpdate\nvidia-update.ps1:692 char:13
+ Get-WebFile $driverDownloadUrl $driverDownloadPath
+             ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Get-WebFile], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Get-WebFile

[17:00:41] Extracting driver files...

ERROR: The system cannot find the file specified.
C:\Users\[username]\AppData\Local\Temp\NVIDIA\install.exe

System ERROR:
The system cannot find the file specified.
Get-Content : Cannot find path 'C:\Users\[username]\AppData\Local\Temp\NVIDIA\driver\setup.cfg' because it does not exist.
At E:\NVUpdate\nvidia-update.ps1:716 char:55
+ ... tup.cfg" -Value (Get-Content -Path "$($extractDir)\setup.cfg" | Selec ...
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\[username]\...river\setup.cfg:String) [Get-Content], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetContentCommand

Set-Content : Could not find a part of the path 'C:\Users\[username]\AppData\Local\Temp\NVIDIA\driver\setup.cfg'.
At E:\NVUpdate\nvidia-update.ps1:716 char:2
+     Set-Content -Path "$($extractDir)\setup.cfg" -Value (Get-Content  ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\[username]\...river\setup.cfg:String) [Set-Content], DirectoryNotFoundException
    + FullyQualifiedErrorId : GetContentWriterDirectoryNotFoundError,Microsoft.PowerShell.Commands.SetContentCommand

[17:00:42] Installing driver...

UAC prompt declined or an error occurred during installation.

Also, it seems like there is no check to see if the download was successful. Notice how it still attempted an installation even though the download failed.

Strange, checked again today just now and now it is working as normal even though nothing changed.
I'll leave it open in case this is still something that needs to be fixed.

Yes thanks, I will look into it next weekend. I haven't had much time to work on this lately. I'll add some validation after the download function returns.


The total number of test cases in conformance_log.xml is inconsistent with the number in the openxr_conformance.xml

In v<IP_ADDRESS>, we found that the total number of test cases is inconsistent with the number in the openxr_conformance.xml.
For example, we run non-interactive test cases on the Android platform.
Test options:
   graphicsPlugin: OpenGLES
   formFactor: Hmd
   hands: both
   environmentBlendMode: Opaque
   viewConfiguration: Stereo
   enabledAPILayers:
   enabledInstanceExtensions:
   invalidHandleValidation: no
   fileLineLoggingEnabled: yes
   debugMode: no

The number of test cases is 61 in conformance_log.xml, but the number of test cases listed in openxr_conformance.xml is 57.
The below 4 test cases are executed in conformance_log.xml, but they are not listed in openxr_conformance.xml.

XR_KHR_convert_timespec_time  //It is enabled(or disabled) by macro XR_USE_TIMESPEC
XR_KHR_headless //It is enabled(or disabled) by macro XR_KHR_headless
XR_EXT_performance_settings //It is an empty test case.
XR_EXT_local_floor

We checked the source code and found that this is caused by statistical rules.  The current test report openxr_conformance.xml is prone to confusion.  From our perspective,  it will be better if we use the defined macro SKIP to do some optimization.
Here is the detailed analysis:

The rule that the test case will be written in openxr_conformance.xml:

Has assertions or
stdOut is not empty or
stdErr is not empty.
https://github.com/KhronosGroup/OpenXR-CTS/blob/3d02d70eab669b72429cb6065e65b817ba34c1dd/src/conformance/framework/catch_reporter_cts.cpp#L217

For test case XR_KHR_convert_timespec_time, the macro XR_USE_TIMESPEC is not defined, it is the equivalent of an empty test case, so it doesn’t meet the rule that writes in openxr_conformance.xml.

Proposal:
TEST_CASE("XR_KHR_convert_timespec_time", "")
{
    bool executed = false
    #ifdef XR_USE_TIMESPEC
            ......
            ......
    executed = true
            ......
            ......
    #endif  // XR_USE_TIMESPEC
    If (!executed) {
        SKIP("XR_KHR_convert_timespec_time not supported");
    }
}

For test case XR_KHR_headless,  the macro is not defined, it is the equivalent of an empty test case, so it doesn’t meet the rule that writes in openxr_conformance.xml.

https://github.com/KhronosGroup/OpenXR-CTS/blob/3d02d70eab669b72429cb6065e65b817ba34c1dd/src/conformance/conformance_test/test_XR_KHR_headless.cpp#L32
Proposal:
TEST_CASE("XR_KHR_headless", "")
{
    bool executed = false
    #ifdef XR_KHR_headless
            ......
            ......
    executed = true
            ......
            ......
    #endif  // XR_KHR_headless
    If (!executed) {
    SKIP("XR_KHR_headless not supported");
    }
}

For test case XR_EXT_performance_settings, it is an empty test case, so it doesn’t meet the rule that writes in openxr_conformance.xml.

https://github.com/KhronosGroup/OpenXR-CTS/blob/3d02d70eab669b72429cb6065e65b817ba34c1dd/src/conformance/conformance_test/test_XR_EXT_performance_settings.cpp#L22
Proposal:
TEST_CASE("XR_EXT_performance_settings", "")
{
    // XrResult xrPerfSettingsSetPerformanceLevelEXT(XrSession session, XrPerfSettingsDomainEXT domain,
    //              XrPerfSettingsLevelEXT level);
    SKIP("XR_EXT_performance_settings not supported");
 }

For test case XR_EXT_local_floor, it is the equivalent of an empty test case if not supported,  it doesn’t meet the rule that writes in openxr_conformance.xml.
https://github.com/KhronosGroup/OpenXR-CTS/blob/3d02d70eab669b72429cb6065e65b817ba34c1dd/src/conformance/conformance_test/test_XR_EXT_local_floor.cpp#L33
Proposal:

TEST_CASE("XR_EXT_local_floor", "")
{
    GlobalData& globalData = GetGlobalData();
    if (!globalData.IsInstanceExtensionSupported(XR_EXT_LOCAL_FLOOR_EXTENSION_NAME)) {
        SKIP(XR_EXT_LOCAL_FLOOR_EXTENSION_NAME  " not supported");
        return;
    }
        ......
        ......
        ......
}

Thanks for this report. Some of the issues you identified (always empty tests) are resolved in the <IP_ADDRESS> release just published. The next release will have a few more small fixes.

This has been fixed in the <IP_ADDRESS> release. A newer release is now the latest, I accidentally missed closing this issue when releasing <IP_ADDRESS>.


Fix: Team Message

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


Update ZSSRichTextEditor.m

1.fix viewController not delloc;
2.fix after pasting a paragraph of html text, the style is not displayed. The callback block method "contentUpdateCallback" was called back twice.

fix issues #233


Formatted value treated as formula

I'm using sheet_add_aoa to add an array of already formatted values. ["$1.23", "$1.56"]
It seems the cell value was being treated as formula instead of currency, hence when I want to apply sum on the exported excel sheet, it won't work.
Any suggestions?

String values are serialized as string cells.  To generate currency values, pass number cell objects with the relevant format:
XLSX.utils.sheet_add_aoa(ws, [
  [ { t: "n", v: 1.23, z: "$0.00"}, { t: "n", v: 1.56, z: "$0.00"} ]
], opts);


camelCaseNames

Python uses style with _ separator, so suggestion (optional)- maybe change such names?
def do_PreCloseFile(self, editor):
    global fnConfig
    global reloadSettings
def ApplyProfileSettings(self, editor, caller):

Tkx


Add swagger-to-sdk for automatic PRs

I guess we'll need to modify our gen.go file, but this would be really useful.

Once we have a resolution to #517, it'll be easier to make progress here. In general, the more granular the repositories that we can get, the more sense automatic PRs will make.


Bump OTel Java SDK to 1.0.x for sample apps

Description
Bump OTel Java SDK to 1.0.x for sample apps
Test
local run

LGTM Just some style issues (btw: I didn't run it locally to validate the code ...)

Thanks, Addressed the style issue


Allow setting alignment for CameraPreview

First let me say Congratulations for your work. The package is amazing! This was so need from the community keep up the good work.
I was trying build a design using CamerAwesome when I found a limitation. I was not able to have widgets that controlled the state of the camera outside of the CameraPreview space.

Here is an example of what I'm trying to acheive

As you can see the buttons are outside of the camera preview.

If let the preview expand, and set BoxFit.contain then the preview stays the same size, but it has black paddings on top and bottom like this:
Container(
  height: null, // No height (fill parent)
  padding: const EdgeInsets.symmetric(horizontal: lateralPadding),
  color: Colors.black,
  child: CameraAwesomeBuilder.custom(
    previewFit: CameraPreviewFit.contain,
    ...
  ),
),

Example with black paddings

It always centers the preview within the boundaries

You can see how it's centering itself with the yellow arrows
This is how it looks with the UI on top

But I try to size the preview to my liking the widgets can no longer be "outside" of the preview
Container(
  height: screenSize.width * aspectRatio, // Set a specific height
  padding: const EdgeInsets.symmetric(horizontal: lateralPadding),
  color: Colors.black,
  child: CameraAwesomeBuilder.custom(
    previewFit: CameraPreviewFit.contain,
    ...
  ),
),

Example with set height

Now my custom UI is on top of the preview
But I want it to be just under as in the first image

Since the buttons depend on the CameraState and this is only accessible from the builder method inside of the CamerAwesomeBuilder.custom constructor, I can not use a Stack to place them outside of the preview.
So I propose 2 options/solutions:

Allow the developer to select how to position the Preview within it's boundaries like so:

CamerAwesomeBuilder.custom(
  previewAlignment: Aligment.topCenter
  ...
);

Allow the dev to pass the CameraConfiguration or a controller object to the CamerAwesomeBuilder widget, so it can control the state of the camera outside of the function. Like this:

CamerAwesomeBuilder.custom(
  controller: cameraController,
  cameraConfig: config,
  ...

the dev will be able to access the state stream outside of the builder method so they will be able to stack on top of the preview anything they like. I was thinking of something like this cameraController.setFlashMode() or config.setFlashMode() to acces config and CameraAwesome.of(context).state$ to access its state

Ideally, all of your camera UI should stay in the builder method.
I already planned to try to implement the first solution in a future PR, among other things. :)
I'll let you know when there are news on that area !

Alright sounds good thanks a lot for the quick response. I'll be looking forward for your PR

I've got the preview alignment working on PR #228
I also added a previewPadding parameter. It should let you position better your UI around the preview if needed.
There is still some work to do on the PR itself before it lands, so if you want to try it earlier you can depend on it and share your thoughts :)
dependencies:
     camerawesome:
       git:
         url: https://github.com/Apparence-io/CamerAwesome.git
         ref: ui_customization

PS: awesome() constructor is now way more customizable and might fit your needs.

I've got the preview alignment working on PR #228
I also added a previewPadding parameter. It should let you position better your UI around the preview if needed.
There is still some work to do on the PR itself before it lands, so if you want to try it earlier you can depend on it and share your thoughts :)
dependencies:
     camerawesome:
       git:
         url: https://github.com/Apparence-io/CamerAwesome.git
         ref: ui_customization

PS: awesome() constructor is now way more customizable and might fit your needs.

I found some problems on this branch with aspect ratios, I'll update you again when it's fixed. Don't try this PR yet as it's still buggy, sorry!

Preview aspect ratio should be fixed now, you can try it if you want :)

Great news! I'll try it tomorrow then :)

Hey @apalala-dev I've been testing it. It seems to work as expected. Now I'm not too sure how to properly use the PreviewSize & PreviewRect values to properly place my UI.

Closing this since 1.3 is out with this feature.
You might want to take a look at the updated documentation.
PreviewSize and PreviewRect are a bit more detailed in the barcode example (Scan area part).
For most use cases, I think they are not really needed thanks to previewAlignment and previewPadding.
If you still struggle to position your UI, feel free to share your screen (with dummy widgets if you'd like) so we can take a look at what you want to do. 👌

What does it mean - CameraPreviewFit.cover?
Please add a description to this enum!


Chinese character problem

already referenced issues https://github.com/anseki/readline-sync/issues/48

system info
bersion	Windows 10 Professional
versionCode	20H2

Hi @tnnevol, thank you for the comment.
It seems that you did that in something that is not console (e.g. IDE such as VS Code).
If so, try that in console such as  Cmder, PowerShell, etc.

Hi @tnnevol, thank you for the comment.
It seems that you did that in something that is not console (e.g. IDE such as VS Code).
If so, try that in console such as Cmder, PowerShell, etc.

This is the vscode editor. The terminal uses the Windows powershell. I just installed a terminal skin plugin（oh-my-posh），Even if you don't install it, it's garbled code

You misunderstood it maybe.
Please read this again: https://github.com/anseki/readline-sync/issues/48
As I said, that is a way to add fonts to Cmd.exe.

You misunderstood it maybe.
Please read this again: #48
As I said, that is a way to add fonts to Cmd.exe.

The font of CMD has been changed and the character set is 65001. I'll show you again tomorrow

You misunderstood it again.
You changed the font of CMD, but you don't use CMD, you use VS Code.
If you want to use VS Code, you have to change font of VS Code, not CMD.

You misunderstood it again.
You changed the font of CMD, but you don't use CMD, you use VS Code.
If you want to use VS Code, you have to change font of VS Code, not CMD.

After changing the font, both the windows CMD, PowerShell, vscode terminal and webstorm terminal are in the same situation. I'm very sorry that I'm using a translation tool, which may not express well.

Ok. :smile:
So, could you close this issue if it was solved?

windows terminal PowerShell

windows CMD

windows PowerShell

my local environment can output chinese, but "readline-sync" always outputs garbled characters

You have to specify Unicode font.
Try to change the font.

No reply came, then this abandoned issue is closed.

我算是搞明白了，这老哥只想关闭问题，我一直以为是我的字体字符集不支持，后来我发现vue-cli的 vue create 从来没有乱码呀，然后我就换成了https://github.com/SBoudrias/Inquirer.js，真香

Thank you :smile:


Wrong metatags

Looks like https://images.guide/ has some wrong metadata tags, shows up as "summary_large_image" on Quora and I can imagine other sites too.

Okay, I have had this laptop for at least 4 years I think and this is my first time delving this deep within it. I just began taking a coding class approximately three weeks ago. This is new, I'm fearful, and need patience and understanding. I seem to have some issues here, however, so I don't create a big boo boo, I am going extremely slow about doing anything. (lol) I fear making changes, but it is nice knowing what all of this stuff mean, makes it tick, and much more. I am on a learning expedition here people.


Fastnlight: Watch picsartapkm.com

Fastnlight requests the watch of the watch_keyword picsartapkm\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

picsartapkm\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by VLAZ in Charcoal HQ


ISSUE: Angular2 With Laravel-AdminLTE

Hi,
When i give url path in adminlte.php then entire page is  reloaded. below are the image for you reference.
I am using (Laravel , AdminLTE and Angular2).

Thanks and Regards,
Umesh B. K

You could customize the templates to achieve this behavior. See the README on how to customize templates.


Add I2C transaction api

Still untested at the moment but I've added eh1 and eh0.2 I2C transaction API to the I2C peripheral, this can also be used to implement proper write_read (see https://github.com/esp-rs/esp-hal/pull/848).
Some notes:

I'm currently not pre-filling the FIFO like is done in the perform_write
Command and data parts are split up because of the blocking nature of filling/emptying the FIFOs, could make it harder to debug issues but from the command API it seems like you aren't supposed to gradually load commands while it's being processed; let me know if that's a wrong assumption.
I've not validated that all the commands are like the I2C events contract yet
I've used the structure from https://github.com/stm32-rs/stm32f4xx-hal/blob/master/src/i2c.rs#L566 although it ended up very different in the implementation.

Must

[x] The code compiles without errors or warnings.
[?] All examples work.
[ ] cargo fmt was run.
[ ] Your changes were added to the CHANGELOG.md in the proper section.
[ ] You updated existing examples or added examples (if applicable).
[ ] Added examples are checked in CI

Nice to have

[x] You add a description of your work to this PR.
[ ] You added proper docs for your newly added features and code.

Hey @i404788, just checking in; are you able to completing this PR, or would you like us to try to find somebody to wrap it up instead?

Thank you regardless for your contribution, but I am going to close this PR for now. Please feel free to revive it or open a new one if you manage to find some time to come back to this, otherwise hopefully somebody else can carry on with this work in the future.


Kebab menu is not aligned correctly

The kebab menu (for items in the list view) is not aligned correctly, according to specs. The triangle connecting the menu to the icon should be directly below the kebab icon, with the menu flowing down and to the left.
Incorrect Implementation:

@mindreeper2420 this bug is resolved. Please confirm

LGTM - verified on prod-preview


Brokers: Config: Implement sorting

Key, source columns
via https://github.com/provectus/kafka-ui/issues/3161

Hey @Haarolean , I would like to work upon this issue.

@malavmevada to answer your question in https://github.com/provectus/kafka-ui/issues/3161#issuecomment-1674753673: If the search query is changed, it's common to reset the pagination selection and start from zero, the first page. Let me know if there's any other issues with this.
Also, we have a discord server with a dedicated channel for contributors. If you wish to join us, please ping me there so I can grant you the role for the past contributions. The link is available in readme.

@Haarolean , Okay sure. Thank you.

Hey @Haarolean , I'm not able to ping you on discord server.


Does lark warn about conflicts in LALR?

Lets take grammar:
start: as as
as: a*
a: 'a'

I believe there is shift/reduce conflict when building LALR for this grammar, but Lark constructs a parser without any warning.
Is there a switch to make lark warn about conflicts? It would be very helpful, for me at least ;)

You're right. I pushed a new fix to master that restores the collision warnings. Call Lark with Lark(..., parser='lalr', debug=True) to see them (make sure your logging level is also at logging.DEBUG)

Yep, now I get tons of shift/reduce conflict warnings. Thanks for the fix and example code.

One more improvement would be to add instructions on how to get shift/reduce conflict warnings to docs. Maybe I'll do it soon.


views drop

Is there an existing issue for this?

[X] I have searched the existing issues

I'm submitting a ...

[ ] bug report
[ ] feature request
[ ] support request --> Contact me over mail for support https://github.com/MShawon

Description
views are dropping is there a way to non drop views
Environment
- OS : windows
- Python : 3.9
- Script version : 1.6.7

config.json
{
    "http_api": {
        "enabled": true,
        "host": "<IP_ADDRESS>",
        "port": 5000
    },
    "database": true,
    "views": 100,
    "minimum": 85.0,
    "maximum": 95.0,
    "proxy": {
        "category": "f",
        "proxy_type": false,
        "filename": false,
        "authentication": false,
        "proxy_api": false,
        "refresh": 0.0
    },
    "background": false,
    "bandwidth": true,
    "playback_speed": 1,
    "max_threads": 5,
    "min_threads": 2
}

I have this problem too. I use premium proxy and i follow all the guideline except that i use it for just 1 video. @MShawon


FEAT-#4144: Implement dataframe exchange protocol for pandas storage format

Signed-off-by: Igoshev, Yaroslav<EMAIL_ADDRESS>
What do these changes do?

[ ] commit message follows format outlined here
[ ] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] signed commit with git commit -s
[ ] Resolves #4144
[ ] tests added and passing
[ ] module layout described at docs/development/architecture.rst is up-to-date
[ ] added (Issue Number: PR title (PR Number)) and github username to release notes for next major release

Let's keep the spec in a single file, vendored as-is from the repo. We should make the changes there and mirror them here, adhering to leader->follower idea to ease the following updates of the spec.

The spec is being introduced as a single file as part of #4246.

LGTM besides #4150 (comment) - I still feel we can shorten the implementation and gain a little bit of better readability, let's discuss in that comment I linked.

done


expat

Pull Request Test Coverage Report for Build 4

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 69.943%

Totals

Change from base Build 3:
0.0%

Covered Lines:
854

Relevant Lines:
1221

💛  - Coveralls


chore(release): 2.55.0

See CHANGELOG

Hadn't confirmed merge for the PR, gotta start over

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 764384ff543212b5ef5df1381fac8bf92df706e0
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: bbc4a89d4e62db29496d1b9a89117cee66ef6150
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Built-in search in mandarin config throw error

To Reproduce

use latest auto start template to create a docs project.
config mandarin search by this steps in docs.
start dev server
enter some words input search input.
see dev server output.

Current vs. Expected behavior
throw orama tokenizer type error, and without any search results.
<EMAIL_ADDRESS>(130:1) @ eval
TypeError: tokens is not iterable
    at eval (./app/api/search/route.ts:17:94)
  128 |                 const tokens = tokenizer.tokenize(value, language, prop, false);
  129 |                 implementation.insertDocumentScoreParameters(index, prop, internalId, tokens, docsCount);
> 130 |                 for (const token of tokens) {
      | ^
  131 |                     implementation.insertTokenScoreParameters(index, prop, internalId, tokens, token);
  132 |                     node.insert(token, internalId);
  133 |                 }

Provide environment information
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.1.0: Thu Oct 10 21:02:45 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8112
  Available memory (MB): 24576
  Available CPU cores: 8
Binaries:
  Node: 20.17.0
  npm: 10.8.2
  Yarn: N/A
  pnpm: 9.12.3
Relevant Packages:
  next: 15.0.3 // Latest available version is detected (15.0.3).
  eslint-config-next: 15.0.3
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.7.2

Which area(s) are affected? (Select all that apply)
Core
Additional context
No response

I found that it's a upstream problem caused by invoking tokenizer.tokenize without await, they made insert methods sync but it's not compatible with tokenizer, will report it to Orama later.

any updates?

Orama team responded but no updates from them so far, I think we can only downgrade to older Orama versions to fix the bug.
Otherwise, it may only work using English tokenizer, but that means a Chinese query will have no results.

Downgraded on the latest release, it should be working fine now

Better to hear that fixed.

Hi Riccox and Fuma, @riccox @fuma-nama
I have similar issue but my issue is I can't get the search result.
Do I need to config any i18n in the Fumadocs project ?

yarn create fumadocs-app
use config mandarin search by this steps in docs.
yarn dev
no error message in the console, however no search result either.

Did i miss any configuration to enable the chinese search function ?
Thanks.


O-table example for selection doesn't work for Vue3

Good day, I've been try to implement the example shown of the o-table for selections and it's not working for me. Is this for Vue2 only or is it compatible with Vue3? When I click on a row, the whole table gets a greenish border.

    <o-button
        variant="danger"
        :disabled="!selected"
        icon-left="times"
        @click="selected = null">
        Clear selected
    </o-button>

Selection: {{ selected }}

    <o-table v-model:selected="selected" :data="data" focusable>
        <o-table-column
            v-for="(column, idx) in columns"
            :key="idx"
            v-slot="{ row }"
            v-bind="column">
            {{ row[column.field] }}
        </o-table-column>
    </o-table>

Appreciate any tips or ideas, thanks

@calicoder77 Can you give a more detailed example? I can't reproduce your problem. The docs page works as expected.
The border is part of a theme. Which theme are you using?


SelectFilter2: remove inaccurate comment

There is no addevent.js file in the django repository, so SelectFilter2
doesn't depend on it.

I guess we could add jQuery to that list?

merged in 275d11fbc5e8f664552a458ce141d4394fa70e1f, thanks.


Compare screenshots with main on PRs

Objective

Compare screenshots for a few examples between PRs and main

Solution

Send screenshots taken to a screenshot comparison service
Not completely sure every thing will work at once, but it shouldn't break anything at least
it needs a secret to work, I'll add it if enough people agree with this PR
this PR doesn't change anything on the screenshot selection (load_gltf and breakout currently), this will need rendering folks input and can happen later

What happens when there's a failure? does ci just fail or are you able to see the diffs somewhere?

What happens when there's a failure? does ci just fail or are you able to see the diffs somewhere?

it should log an url like https://pixel-eagle.vleue.com/project/b25a040a-a980-4602-b90c-d480ab84076d/run/1335/compare/1327 that will let you see the issues

job is currently failing because the secret is not set

Maybe we should put the flight helmet into the lighting scene. Or just put together a test scene which has a whole bunch of features enabled all at once to catch differences.

Maybe we should put the flight helmet into the lighting scene. Or just put together a test scene which has a whole bunch of features enabled all at once to catch differences.

Since https://github.com/bevyengine/bevy/pull/11904, the flight helmet makes rendering crash in CI on Windows

@mockersf I'm happy to merge this: looks like it needs you to add a secret first?

this should be ready to be merged, but can't be unless we remove the job run-examples-macos-metal from the required checks: I needed to move it to a pull_request_target trigger for it to be able to access secrets, which means it runs from its definition on the base branch of the PR, and this job in this workflow doesn't exist yet there

I'm on board with that plan: please feel free to do that and merge.

remove the required check, merged the pr, added the required check back, notice the screenshot upload failed 😭
https://github.com/bevyengine/bevy/pull/15894 should fix it


Overlapping item of gridster when use maxRows

When I set the maxRows property on options of gridster and resize a item to down it's overlapping with the existing item.
PS: I see that "avoid_overlapped_widgets" property may never be implemented, it's really? How do I solve this problem?

Any?

Hello Lucas,
I am facing the same issue.Did you find any solution for this issue?


Attachments

I've checked the code, it looks like it currently supports messages. Will attachments also be supported?
I've tried getting it to work by manually crafting the JSON response but haven't been successful.
Thanks for the great library!

@hillelcoren I'll look into adding more of the Skype endpoints once I'll get back from vacation 😄  .. somewhere around mid-end of August.

Awesome, enjoy your vacation!
I managed to get it working, I was using the v2 endpoint and needed to change to v3.

@hillelcoren feel free to create a PR with this improvement. Tx

I haven't been using your library, if you're interested you can see my (in progress) code here:
https://github.com/invoiceninja/invoiceninja/blob/develop/app/Http/Controllers/BotController.php


GraalVM Hint Processors added

GraalVMHints added to replace manual graalvm configs
Remove manual hard coded JSON files configurations for GraalVM native-image, and replace them with type-safe, better options that is full compile time processing annotation processors, that allow for better readability, type-safety and project manageability
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@msailes just updated resource hint as per main branch you had

Hi @GoodforGod,
Thank you for the PR, I think this is a really useful library which helps to simplify the developer experience for GraalVM native-image.
I recommend working with Аlina Yurenko to see how this could be incorporated into the GraalVM project instead of being a separate 3rd party offering.
I think this would help give it the impact and use it deserves.
Thanks,


Adding support for JUnit 5 and extra test modules

I added the support for JUnit 5, very similar to JUnit 4. Originally, I planned to implement it in the following way: https://github.com/junit-team/junit5/wiki/Testing-with-Jigsaw - however, it turned out to be harder than I thought, so I just left room for someone else to implement it.
The pull request also adds another missing feature - the configuration of extra test modules. Without it, it is not possible to use e.g. Mockito.

Please use the Java Module support in Gradle 6.4+


DER signatures are missing last byte

The DER encoding in fr.acinq.bitcoin.Crypto#encodeSignature is missing the last byte (sighash).
Format: 0x30 [total-length] 0x02 [R-length] [R] 0x02 [S-length] [S] [sighash]
Expceted behaviour
The signatures are valid according to fr.acinq.bitcoin.Crypto#isDERSignature.
Actual behaviour
The length checks in fr.acinq.bitcoin.Crypto#isDERSignature will indicate an error because [sighash] is missing.
Maybe this is just a bitcoin-lib behaviour.
I am validating the query params before passing them down the chain and one check has been isDERSignature calls for "sig" query params.
I can skip this check since the signature is subsequently checked with Crypto.verifySignature - which succeeds!
Hope someone can shed some light on this.

Sorry.. I guess this is just a bitcoin-lib thing. I will add the missing byte before invoking isDERSignature manually.


Hauler failed to get manifests after 3 tries

2024-03-22T17:03:25.470Z	INFO	combustion/elemental.go:36	Skipping elemental registration component, configuration is not provided
2024-03-22T17:11:10.317Z	FATAL	build/build.go:95	An error occurred building the image: configuring combustion: configuring component "embedded artifact registry": configuring embedded artifact registry: populating hauler store: populating hauler store: exit status 1:
github.com/suse-edge/edge-image-builder/pkg/cli/build.Run
	/src/pkg/cli/build/build.go:95
github.com/urfave/cli/v2.(*Command).Run
	/go/pkg/mod/github.com/urfave/cli/v2@v2.27.1/command.go:279
github.com/urfave/cli/v2.(*Command).Run
	/go/pkg/mod/github.com/urfave/cli/v2@v2.27.1/command.go:272
github.com/urfave/cli/v2.(*App).RunContext
	/go/pkg/mod/github.com/urfave/cli/v2@v2.27.1/app.go:337
github.com/urfave/cli/v2.(*App).Run
	/go/pkg/mod/github.com/urfave/cli/v2@v2.27.1/app.go:311
main.main
	/src/cmd/eib/main.go:19
runtime.main
	/usr/lib64/go/1.22/src/runtime/proc.go:271

5:03PM INF syncing [content.hauler.cattle.io/v1alpha1, Kind=Images] to store
5:03PM INF added 'image' to store at [registry.k8s.io/e2e-test-images/agnhost:2.39]
5:03PM INF added 'image' to store at [index.docker.io/rancher/shell:v0.1.22]
5:04PM INF added 'image' to store at [registry.opensuse.org/isv/suse/edge/metal3/ironic/2023.2/containerfile/suse/ironic:<IP_ADDRESS>]
5:04PM INF added 'image' to store at [registry.opensuse.org/isv/suse/edge/metallb/images/metallb-controller:v0.14.3]
5:06PM ERR Error (attempt 1/3): error adding image to store: exit status 1, output: Error: signed entity: GET https://quay.io/v2/auth?scope=repository%3Ajetstack%2Fcert-manager-cainjector%3Apull&service=quay.io: unexpected status code 502 Bad Gateway
main.go:74: error during command execution: signed entity: GET https://quay.io/v2/auth?scope=repository%3Ajetstack%2Fcert-manager-cainjector%3Apull&service=quay.io: unexpected status code 502 Bad Gateway

5:08PM ERR Error (attempt 2/3): error adding image to store: exit status 1, output: Error: signed entity: GET https://quay.io/v2/: unexpected status code 502 Bad Gateway
main.go:74: error during command execution: signed entity: GET https://quay.io/v2/: unexpected status code 502 Bad Gateway

5:11PM ERR Error (attempt 3/3): error adding image to store: exit status 1, output: Error: signed entity: GET https://quay.io/v2/jetstack/cert-manager-cainjector/manifests/v1.14.2: unexpected status code 502 Bad Gateway
main.go:74: error during command execution: signed entity: GET https://quay.io/v2/jetstack/cert-manager-cainjector/manifests/v1.14.2: unexpected status code 502 Bad Gateway

Error: operation failed after 3 attempts
Usage:
  hauler store sync [flags]

Flags:
  -f, --files strings      Path to content files
  -h, --help               help for sync
  -k, --key string         (Optional) Path to the key for signature verification
  -p, --platform string    (Optional) Specific platform to save. i.e. linux/amd64. Defaults to all if flag is omitted.
      --products strings   Used for RGS Carbide customers to supply a product and version and Hauler will retrieve the images. i.e. '--product rancher=v2.7.6'
  -r, --registry string    (Optional) Default pull registry for image refs that are not specifying a registry name.

Global Flags:
      --cache string       Location of where to store cache data (defaults to $XDG_CACHE_DIR/hauler)
  -l, --log-level string    (default "info")
  -s, --store string       Location to create store at (default "store")

5:11PM ERR operation failed after 3 attempts

I guess we can try a few more times (?)

The three attempts logic is built into the hauler sync/add command. The current implementation won't allow for us to add additional retries as we do a sync on a hauler manifest that contains every image so a retry would redownload every image. Down the line, the hauler logic may be changed a bit to both implement caching and allow for more retries.

We defer to the underlying tools for their retry logic. In this case, we leave it to hauler to have determined the best retry approach and will leave it to them.


inotify: support truncate and close calls

Summary
a1b14df
IN_MODIFY event should occur on file modification, which includes truncate. This is consistent with the inotify usage on Linux.
7f2858a
Close operation on file should lead to IN_CLOSE_WRITE or IN_CLOSE_NOWRITE notifications. This commits adds the notification support. Notifying on close is a little bit trickier as a lower layer may not have the full file path after successful close and inode release. Calling notification before close is not a solution since close might
not end successfully.
The solution is to obtain and buffer the path before calling close and then pass the buffered path to the notify_close. This required the change in notify_close function arguments: filep is no longer required, path and oflags are passed instead.
Impact
Inotify now reports notification on close and truncate operations.
Testing
Tested on SAMv7 custom board.

[Experimental Bot, please feedback here]
The PR does a good job of summarizing the changes and their impact. However, it's missing some key information required by the NuttX PR guidelines.
Here's a breakdown of what's missing and how to improve the PR:
Summary:

What functional part of the code is being changed? - The summary mentions IN_MODIFY event and notify_close function, but doesn't explicitly state that the changes are within the inotify subsystem.  It should be clearly stated that these changes are related to the inotify functionality in NuttX.
Related NuttX Issue reference:  -  If this PR addresses a specific issue raised in the NuttX issue tracker, provide a link to that issue.  Example: "Fixes #1234" or "Related to #1234".

Impact:

The impact section is too brief. While it correctly identifies that inotify now reports notifications on close and truncate operations, it needs more detail for each category:

Is new feature added? -  Yes,  support for IN_CLOSE_WRITE, IN_CLOSE_NOWRITE and truncate within IN_MODIFY are new features.
Impact on user: - YES. Users can now rely on inotify to receive notifications for file close and truncate operations.  Describe any specific actions users might need to take to utilize these new events.
Impact on build:  - Potentially YES if the changes require modifications to Kconfig options or build dependencies related to inotify. Specify any changes to the build system.
Impact on documentation: - YES. Documentation needs to be updated to describe the new events and their usage. Specify if the documentation updates are included in this PR or will be addressed separately.

Testing:

Build Host(s): Specify the operating system, CPU architecture, and compiler used for building NuttX.
Target(s):  While you mention testing on a SAMv7 board, specify the board name and configuration.
Testing logs before change: This section is empty. Provide snippets of logs demonstrating the behavior before your changes.
Testing logs after change: Include log snippets demonstrating the correct behavior after your changes, specifically showing the new events being generated as expected.

To improve the PR:

Expand the summary to explicitly mention the inotify subsystem and link any related NuttX issues.
Provide more detail in the impact section for each category, specifying YES or NO and explaining the impact.
Include complete build host and target information in the testing section.
Add "before" and "after" testing logs that clearly demonstrate the changes in functionality.


added Player::stopAnimation()

Added Player::stopAnimation to server types.
https://wiki.rage.mp/index.php?title=Player::stopAnimation

stopAnimation currently in Vehicle interface)))


Set field defaults for dictionaries and records

Proposed change

Set field defaults for dictionaries and records to avoid having to cast them later.
The api may not return a certain field such as SonarrSeries when calling async_get_calendar. include_series might not be set to True. This will just throw an attribute error, not a type error.
Disable default repr for dataclass, don't think this is needed
Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (which adds functionality)
[ ] Breaking change (fix/feature causing existing functionality to break)
[x] Code quality improvements to existing code or addition of tests

Additional information

This PR fixes or closes issue: fixes #
This PR is related to issue:
Link to documentation pull request:

Checklist

[x] The code change is tested and works locally.
[x] Local tests pass.
[x] There is no commented out code in this PR.
[x] The code has been formatted (make lint)
[x] Tests have been added to verify that the new code works.

repr prob doesnt hurt though. when printing out objects for debug in like tests you get to see all attributes in logs vs needing something like asdict


[Bug] Gateway API - Envoy not receiving replies - Connection timeout

Is there an existing issue for this?

[x] I have searched the existing issues

Version
equal or higher than v1.16.0 and lower than v1.17.0
What happened?
I am running Cilium v1.16.3 on Talos Linux and wanted to use the Gateway API, but unfortunately it does not work. I can see correctly generated envoy configs and endoints configuration, but the client always gets a connection timeout.
upstream connect error or disconnect/reset before headers. reset reason: connection timeout

When I do a tcpdump within the nginx container that is behind the httproute/service I can see that incoming traffic is correctly being forwarded to the container. It tries to send the ack back but never gets the answer.
How can we reproduce the issue?

Deploy Talos Linux in version v1.18.1 and cilium on top with the following values:

k8sServiceHost: localhost
k8sServicePort: 7445
debug:
  verbose: ""

cgroup:
  hostRoot: /sys/fs/cgroup
  autoMount:
    enabled: false

gatewayAPI:
  enabled: true
  externalTrafficPolicy: Local

envoy:
  enabled: true
  securityContext:
    capabilities:
      keepCapNetBindService: true
      envoy:
      - NET_ADMIN
      - NET_BIND_SERVICE
      - PERFMON
      - BPF

loadBalancer:
  #acceleration: best-effort
  l7:
    backend: envoy

hubble:
  enabled: true
  relay:
    enabled: true
  ui:
    enabled: true

routingMode: native
autoDirectNodeRoutes: true
ipv4NativeRoutingCIDR: <IP_ADDRESS>/16
kubeProxyReplacement: true

bpf:
  masquerade: true
ipMasqAgent:
  enabled: true
maglev:
  tableSize: 1021
  hashSeed: t2hrEio4Xm0RN6sO
endpointRoutes:
  enabled: true
nodeIPAM:
  enabled: true
ipam:
  mode: multi-pool
  operator:
    autoCreateCiliumPodIPPools:
      default:
        ipv4:
          cidrs:
          - <IP_ADDRESS>/16
          maskSize: 27

securityContext:
  capabilities:
    ciliumAgent:
    - CHOWN
    - KILL
    - NET_ADMIN
    - NET_RAW
    - IPC_LOCK
    - SYS_ADMIN
    - SYS_RESOURCE
    - DAC_OVERRIDE
    - FOWNER
    - SETGID
    - SETUID
    cleanCiliumState:
    - NET_ADMIN
    - SYS_ADMIN
    - SYS_RESOURCE

Create the Gateway:

apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
  name: cilium-gateway
  namespace: kube-system
spec:
  infrastructure:
    annotations: {}
  gatewayClassName: cilium
  listeners:
  - name: http
    port: 80
    protocol: HTTP
    allowedRoutes:
      namespaces:
        from: All

Create any deployment + service and expose it with an httproute

apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: nginx
  namespace: default
spec:
  parentRefs:
  - group: gateway.networking.k8s.io
    kind: Gateway
    name: cilium-gateway
    namespace: kube-system
  rules:
  - backendRefs:
    - kind: Service
      name: nginx
      port: 80
      weight: 1
    matches:
    - path:
        type: PathPrefix
        value: /

Cilium Version
Tried multiple version almost all v1.16 and I belive, though not entirely sure, v1.15.3
Kernel Version
6.6.54-talos
Kubernetes Version
Happened on v1.30.3 and also v1.31.1
Regression
No response
Sysdump
cilium-sysdump-20241025-230127.zip
Relevant log output
tcpdump in container:
/ # tcpdump -vnni eth0
tcpdump: listening on eth0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
20:41:33.545783 IP (tos 0x0, ttl 64, id 21152, offset 0, flags [DF], proto TCP (6), length 60)
    <IP_ADDRESS>.42789 > <IP_ADDRESS>.80: Flags [S], cksum 0x1629 (incorrect -> 0x4edc), seq<PHONE_NUMBER>, win 62720, options [mss 8960,sackOK,TS val<PHONE_NUMBER> ecr 0,nop,wscale 7], length 0
20:41:33.545803 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
    <IP_ADDRESS>.80 > <IP_ADDRESS>.42789: Flags [S.], cksum 0x1629 (incorrect -> 0x7c5b), seq<PHONE_NUMBER>, ack<PHONE_NUMBER>, win 62636, options [mss 8960,sackOK,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>,nop,wscale 7], length 0
20:41:34.552855 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
    <IP_ADDRESS>.80 > <IP_ADDRESS>.42789: Flags [S.], cksum 0x1629 (incorrect -> 0x786c), seq<PHONE_NUMBER>, ack<PHONE_NUMBER>, win 62636, options [mss 8960,sackOK,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>,nop,wscale 7], length 0
20:41:34.552867 IP (tos 0x0, ttl 64, id 21153, offset 0, flags [DF], proto TCP (6), length 60)
    <IP_ADDRESS>.42789 > <IP_ADDRESS>.80: Flags [S], cksum 0x1629 (incorrect -> 0x4aec), seq<PHONE_NUMBER>, win 62720, options [mss 8960,sackOK,TS val<PHONE_NUMBER> ecr 0,nop,wscale 7], length 0
20:41:34.552877 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto TCP (6), length 60)
    <IP_ADDRESS>.80 > <IP_ADDRESS>.42789: Flags [S.], cksum 0x1629 (incorrect -> 0x786c), seq<PHONE_NUMBER>, ack<PHONE_NUMBER>, win 62636, options [mss 8960,sackOK,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>,nop,wscale 7], length 0
/ # ip nei
<IP_ADDRESS> dev eth0 lladdr c6:2f:f5:57:25:0e used 0/0/0 probes 0 STALE
<IP_ADDRESS> dev eth0 lladdr c6:2f:f5:57:25:0e ref 1 used 0/0/0 probes 1 REACHABLE
/ # ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
^C
--- <IP_ADDRESS> ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
/ # # No neighbor entry populated? eBPF magic?
/ # ip nei
<IP_ADDRESS> dev eth0 lladdr c6:2f:f5:57:25:0e used 0/0/0 probes 0 STALE
<IP_ADDRESS> dev eth0 lladdr c6:2f:f5:57:25:0e ref 1 used 0/0/0 probes 1 DELAY

Hubble:
~ : hubble observe -f | grep ":80 "
Oct 25 21:05:59.074: <IP_ADDRESS>:44281 (ingress) -> default/test-77bf9966d9-8ngzc:80 (ID:3730) to-endpoint FORWARDED (TCP Flags: SYN)
Oct 25 21:05:59.074: <IP_ADDRESS>:44281 (ingress) <- default/test-77bf9966d9-8ngzc:80 (ID:3730) to-network FORWARDED (TCP Flags: SYN, ACK)
Oct 25 21:06:04.075: <IP_ADDRESS>:39360 (ingress) -> <IP_ADDRESS>:80 (world) http-request FORWARDED (HTTP/1.1 GET http://<IP_ADDRESS>/)
Oct 25 21:06:04.075: <IP_ADDRESS>:39360 (ingress) <- <IP_ADDRESS>:80 (world) http-response FORWARDED (HTTP/1.1 503 5001ms (GET http://<IP_ADDRESS>/))
Oct 25 21:06:05.176: <IP_ADDRESS>:44281 (ingress) <- default/test-77bf9966d9-8ngzc:80 (ID:3730) to-network FORWARDED (TCP Flags: SYN, ACK)

Envoy:
[2024-10-25 21:10:28.263][14][debug][pool] [external/envoy/source/common/conn_pool/conn_pool_base.cc:145] creating a new connection (connecting=0)
[2024-10-25 21:10:28.263][14][debug][connection] [external/envoy/source/common/network/connection_impl.h:98] [Tags: "ConnectionId":"8"] current connecting state: true
[2024-10-25 21:10:28.263][14][debug][client] [external/envoy/source/common/http/codec_client.cc:57] [Tags: "ConnectionId":"8"] connecting
[2024-10-25 21:10:28.263][14][debug][connection] [external/envoy/source/common/network/connection_impl.cc:1009] [Tags: "ConnectionId":"8"] connecting to <IP_ADDRESS>:80
[2024-10-25 21:10:28.263][14][debug][connection] [external/envoy/source/common/network/connection_impl.cc:1028] [Tags: "ConnectionId":"8"] connection in progress
[2024-10-25 21:10:28.263][14][debug][filter] [cilium/l7policy.cc:129] cilium.l7policy: PAUSING until upstream connection has been established

Anything else?
No response
Cilium Users Document

[x] Are you a user of Cilium? Please add yourself to the Users doc

Code of Conduct

[x] I agree to follow this project's Code of Conduct

Any ideas?

I just tried with k0s:v1.31.2+k0s, gateway-api v1.2.0 and upcoming cilium version 1.17.0-pre.2 and did not run in to upstream connect error or disconnect/reset before headers. reset reason: connection timeout errors any more. You could try that. Or you could try to set bpf.hostLegacyRouting: true as a workaround. See https://github.com/cilium/cilium/issues/30510.

Hi I struggled with this issue for the past week. I finally fixed it in my system, hoping this may work for others.
My Environment Setup
I have a single node of RockyLinux 9.5, with firewalld service turned on by default.
I initialized the kubeadm cluster with the following CIDR:
sudo kubeadm init --pod-network-cidr=<IP_ADDRESS>/16

Solution That Worked for Me
In my case, I had to stop the firewalld service and disable it, before installing Cilium
sudo systemctl stop firewalld
sudo systemctl disable firewalld

Then, I installed Cilium Gateway CRDs:
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.1.0/config/crd/standard/gateway.networking.k8s.io_gatewayclasses.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.1.0/config/crd/standard/gateway.networking.k8s.io_gateways.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.1.0/config/crd/standard/gateway.networking.k8s.io_httproutes.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.1.0/config/crd/standard/gateway.networking.k8s.io_referencegrants.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.1.0/config/crd/standard/gateway.networking.k8s.io_grpcroutes.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/gateway-api/v1.1.0/config/crd/experimental/gateway.networking.k8s.io_tlsroutes.yaml

Then I installed Cilium with the following helm command:

SIDE NOTES:

Used --set operator.replicas=1 because I have only a single node.
Enabled monitoring of prometheus + grafana + hubble ui

helm install cilium cilium/cilium --version 1.16.4 --namespace kube-system --set ipam.mode=kubernetes --set securityContext.capabilities.ciliumAgent="{CHOWN,KILL,NET_ADMIN,NET_RAW,IPC_LOCK,SYS_ADMIN,SYS_RESOURCE,DAC_OVERRIDE,FOWNER,SETGID,SETUID}" --set securityContext.capabilities.cleanCiliumState="{NET_ADMIN,SYS_ADMIN,SYS_RESOURCE}" --set ipam.operator.clusterPoolIPv4PodCIDRList=<IP_ADDRESS>/16 --set prometheus.enabled=true --set operator.prometheus.enabled=true --set hubble.enabled=true --set hubble.metrics.enableOpenMetrics=true --set hubble.metrics.enabled="{dns,drop,tcp,flow,port-distribution,icmp,httpV2:exemplars=true;labelsContext=source_ip\,source_namespace\,source_workload\,destination_ip\,destination_namespace\,destination_workload\,traffic_direction}" --set gatewayAPI.enabled=true --set kubeProxyReplacement=true --set gatewayAPI.hostNetwork.enabled=true --set operator.replicas=1 --set envoy.securityContext.capabilities.keepCapNetBindService=true --set envoy.securityContext.capabilities.envoy="{NET_BIND_SERVICE,NET_ADMIN,SYS_ADMIN}" --set loadBalancer.l7.backend=envoy --set hostFirewall.enabled=true --set externalIPs.enabled=true --set envoy.enabled=true --set bpf.masquerade=true --set debug.enabled=true --set debug.verbose=flow --set hubble.relay.enabled=true --set hubble.ui.enabled=true

I created a gateway namespace:
kubectl create ns gateway

I created a gateway:
gateway.yaml:
apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
  name: gateway
  namespace: gateway
spec:
  gatewayClassName: cilium
  listeners:
  - protocol: HTTP
    port: 80
    name: http-1
    allowedRoutes:
      namespaces:
        from: All

kubectl apply -f gateway.yaml

I created a demo HTTPRoute for Hubble UI:
http-route-hubble-ui.yaml:
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  name: hubble-ui
  namespace: kube-system
spec:
  parentRefs:
  - name: gateway
    namespace: gateway
  hostnames:
  - "hubble-ui.cilium.rocks"
  rules:
  - matches:
    - path:
        type: PathPrefix
        value: /
    backendRefs:
      - name: hubble-ui
        kind: Service
        port: 8081

kubectl apply -f http-route-hubble-ui.yaml

Then when I tried to access the hubble-ui.cilium.rocks I got this this 503 Service Unavailable issue with that error message.
And I found out that when I exposed the service as a LoadBalancer type it finally worked out:
kubectl expose deployment.apps/hubble-ui --type=LoadBalancer -n kube-system --dry-run=client -o yaml | kubectl replace -f -

And that resolved my issue:

So from now and on, I set all my services as LoadBalancer type for the services that I want to be accessed via the gateway.

Update for https://github.com/cilium/cilium/issues/35559#issuecomment-2552891997
I made a clone of my machine, uninstalled Cilium and Kubernetes.
Then tried to follow through my installation steps, and this did not work out.
I still have the old good clone of my machine, if you want me to execute some commands on it to print logs to investigate.
On the new machine, these are the problematic logs from cilium-envoy:
[2024-12-25 03:19:35.262][17][debug][http] [external/envoy/source/common/http/conn_manager_impl.cc:1130] [Tags: "ConnectionId":"1437","StreamId":"9561180451705422794"] request end stream
[2024-12-25 03:19:35.262][17][debug][connection] [external/envoy/source/common/network/connection_impl.h:98] [Tags: "ConnectionId":"1437"] current connecting state: false
[2024-12-25 03:19:35.262][17][debug][filter] [cilium/l7policy.cc:135] cilium.l7policy: downstream decodeHeaders()
[2024-12-25 03:19:35.262][17][debug][filter] [cilium/ipcache.cc:110] cilium.ipcache: <IP_ADDRESS> has ID 2
[2024-12-25 03:19:35.262][17][debug][filter] [cilium/l7policy.cc:200] cilium.l7policy: Ingress from 2 policy lookup for endpoint <IP_ADDRESS> for port 80: ALLOW
[2024-12-25 03:19:35.262][17][debug][router] [external/envoy/source/common/router/router.cc:515] [Tags: "ConnectionId":"1437","StreamId":"9561180451705422794"] cluster 'gateway/cilium-gateway-gateway/kube-system:hubble-ui:8081' match for URL '/'
[2024-12-25 03:19:35.262][17][debug][filter] [cilium/ipcache.cc:110] cilium.ipcache: <IP_ADDRESS> has ID 54252
[2024-12-25 03:19:35.262][17][debug][filter] [cilium/network_filter.cc:171] [Tags: "ConnectionId":"1437"] cilium.network: Policy ALLOW on id: 54252 port: 8081 sni: ""
[2024-12-25 03:19:35.262][17][debug][router] [external/envoy/source/common/router/router.cc:746] [Tags: "ConnectionId":"1437","StreamId":"9561180451705422794"] router decoding headers:
':authority', 'hubble-ui.cilium.rocks'
':path', '/'
':method', 'GET'
':scheme', 'http'
'user-agent', 'curl/7.76.1'
'accept', '*/*'
'x-forwarded-for', '<IP_ADDRESS>'
'x-forwarded-proto', 'http'
'x-envoy-internal', 'true'
'x-request-id', 'c80635d6-a3d4-4ccd-9aac-5b13a50dcfd3'

[2024-12-25 03:19:35.262][17][debug][pool] [external/envoy/source/common/http/conn_pool_base.cc:78] queueing stream due to no available connections (ready=0 busy=0 connecting=0)
[2024-12-25 03:19:35.262][17][debug][pool] [external/envoy/source/common/conn_pool/conn_pool_base.cc:291] trying to create new connection
[2024-12-25 03:19:35.262][17][debug][pool] [external/envoy/source/common/conn_pool/conn_pool_base.cc:145] creating a new connection (connecting=0)
[2024-12-25 03:19:35.262][17][debug][connection] [external/envoy/source/common/network/connection_impl.h:98] [Tags: "ConnectionId":"1438"] current connecting state: true
[2024-12-25 03:19:35.262][17][debug][client] [external/envoy/source/common/http/codec_client.cc:57] [Tags: "ConnectionId":"1438"] connecting
[2024-12-25 03:19:35.262][17][debug][connection] [external/envoy/source/common/network/connection_impl.cc:1021] [Tags: "ConnectionId":"1438"] connecting to <IP_ADDRESS>:8081
[2024-12-25 03:19:35.262][17][debug][connection] [external/envoy/source/common/network/connection_impl.cc:1040] [Tags: "ConnectionId":"1438"] connection in progress
[2024-12-25 03:19:35.262][17][debug][filter] [cilium/l7policy.cc:129] cilium.l7policy: PAUSING until upstream connection has been established
[2024-12-25 03:19:39.449][7][debug][main] [external/envoy/source/server/server.cc:241] flushing stats
[2024-12-25 03:19:40.262][17][debug][pool] [external/envoy/source/common/conn_pool/conn_pool_base.cc:803] [Tags: "ConnectionId":"1438"] connect timeout
[2024-12-25 03:19:40.262][17][debug][connection] [external/envoy/source/common/network/connection_impl.cc:149] [Tags: "ConnectionId":"1438"] closing data_to_write=0 type=1
[2024-12-25 03:19:40.262][17][debug][connection] [external/envoy/source/common/network/connection_impl.cc:281] [Tags: "ConnectionId":"1438"] closing socket: 1
[2024-12-25 03:19:40.262][17][debug][client] [external/envoy/source/common/http/codec_client.cc:107] [Tags: "ConnectionId":"1438"] disconnect. resetting 0 pending requests
[2024-12-25 03:19:40.262][17][debug][pool] [external/envoy/source/common/conn_pool/conn_pool_base.cc:495] [Tags: "ConnectionId":"1438"] client disconnected, failure reason:
[2024-12-25 03:19:40.262][17][debug][router] [external/envoy/source/common/router/router.cc:1363] [Tags: "ConnectionId":"1437","StreamId":"9561180451705422794"] upstream reset: reset reason: connection timeout, transport failure reason:
[2024-12-25 03:19:40.262][17][debug][http] [external/envoy/source/common/http/filter_manager.cc:1077] [Tags: "ConnectionId":"1437","StreamId":"9561180451705422794"] Sending local reply with details upstream_reset_before_response_started{connection_timeout}
[2024-12-25 03:19:40.262][17][debug][filter] [cilium/l7policy.cc:246] cilium.l7policy: downstream encodeHeaders()
[2024-12-25 03:19:40.262][17][debug][http] [external/envoy/source/common/http/conn_manager_impl.cc:1838] [Tags: "ConnectionId":"1437","StreamId":"9561180451705422794"] encoding headers via codec (end_stream=false):
':status', '503'
'content-length', '91'
'content-type', 'text/plain'
'date', 'Wed, 25 Dec 2024 03:19:40 GMT'
'server', 'envoy'

Update for https://github.com/cilium/cilium/issues/35559#issuecomment-2561635687
I resolved this, by installing Cilium without the --set hostFirewall.enabled=true option:
helm install cilium cilium/cilium --version 1.16.4 --namespace kube-system --set ipam.mode=kubernetes --set securityContext.capabilities.ciliumAgent="{CHOWN,KILL,NET_ADMIN,NET_RAW,IPC_LOCK,SYS_ADMIN,SYS_RESOURCE,DAC_OVERRIDE,FOWNER,SETGID,SETUID}" --set securityContext.capabilities.cleanCiliumState="{NET_ADMIN,SYS_ADMIN,SYS_RESOURCE}" --set ipam.operator.clusterPoolIPv4PodCIDRList=<IP_ADDRESS>/16 --set prometheus.enabled=true --set operator.prometheus.enabled=true --set hubble.enabled=true --set hubble.metrics.enableOpenMetrics=true --set hubble.metrics.enabled="{dns,drop,tcp,flow,port-distribution,icmp,httpV2:exemplars=true;labelsContext=source_ip\,source_namespace\,source_workload\,destination_ip\,destination_namespace\,destination_workload\,traffic_direction}" --set gatewayAPI.enabled=true --set kubeProxyReplacement=true --set gatewayAPI.hostNetwork.enabled=true --set operator.replicas=1 --set envoy.securityContext.capabilities.keepCapNetBindService=true --set envoy.securityContext.capabilities.envoy="{NET_BIND_SERVICE,NET_ADMIN,SYS_ADMIN}" --set loadBalancer.l7.backend=envoy --set externalIPs.enabled=true --set envoy.enabled=true --set bpf.masquerade=true --set debug.enabled=true --set debug.verbose=flow --set hubble.relay.enabled=true --set hubble.ui.enabled=true


gfauto: add support for different framebuffer sizes

If a test carries out loads of calculations, it's sometimes necessary to reduce the framebuffer size to prevent timeout occurring. Gfauto should have an option for this.

Hi would you please tell me more about this issue.


Issues with cmsplugin_cascade migrations

As part of upgrading django-shop, we also need to update cmsplugin-cascade, but the migrations are failing. Full details in the issue below:
https://github.com/jrief/djangocms-cascade/issues/386

I'm closing this, because it's related to djangocms-cascade.


Google login with offline access to calendar api in asp.net website (NOT MVC)

Which Google API and version (e.g. Google Tasks API version 1)?
Calendar API v3
Google Plus

What should the sample demonstrate (e.g. using OAuth2, using a specific
feature of that API)?

New user login and using google calendar api - CRUD events

Platform (e.g. Windows, Mono, Silverlight, WP7)?
windows, asp.net

External references, such as API reference guide?

Please provide any additional information below.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 9 Jan 2014 at 12:05

Closing out as stale.


How to enable log in Android

I failed to run all models except SqueezeNet on my Android device. Either it's stuck in Predictor intialization or during predicting. I've also noticed some other guys having the same issue but there is no solution yet:
issue1,issue2,issue3.
Since I cannot see any log from logcat, I cannot figure out what's going on. So anyone knows how to trigger logs so that I can see things via logcat?

Thanks for posting and linking related issue.
@bwasti Do you know what's going on here?

Hi @pietern, can you ask someone else to give an answer to this since several days have been gone? Even a negative one would help. Thanks.

@pietern gentle ping. This issue has already been open for 5 months.


add a support matrix for backup, volumetypes, incremental

Why the changes were made
We need document and distinguish our support across backup types, volume types and incremental backup support.
How to test the changes made
READ!

Plugin Native Snapshots sounds clearer..
Both Plugin Native Snapshots and CSI Snapshot could trigger snapshot at the Cloud Provider natively.

/lgtm


SOLR-16853 Upgrade Lucene to 9.7.0

https://issues.apache.org/jira/browse/SOLR-16853

Description
Upgrade Lucene to 9.7.0
Solution
Please provide a short description of the approach taken to implement your solution.
Tests
Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[x] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[x] I have run ./gradlew check.
[ ] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

running the tests again for good measure

this is failing but due to unrelated changes
> Task :solr:core:compileTestJava
/home/runner/work/solr/solr/solr/core/src/test/org/apache/solr/handler/admin/api/CoreReplicationAPITest.java:88: warning: [ClassCanBeStatic] Inner class is non-static but does not reference enclosing class
  class CoreReplicationAPIMock extends CoreReplicationAPI {
  ^
    (see https://errorprone.info/bugpattern/ClassCanBeStatic)
  Did you mean 'static class CoreReplicationAPIMock extends CoreReplicationAPI {'?
error: warnings found and -Werror specified

> Task :solr:core:compileTestJava FAILED

thank you @alessandrobenedetti for the review!
build is failing due to unrelated changes. rebased and pushed again. added changes.txt entry.
is there anything specific we need to add to Solr startup script for enabling vector support?

reading the lucene change log, the following needs to be added to Solr startup
Applications started with command line parameter "java --add-modules jdk.incubator.vector" on exactly Java 20 or 21 will automatically use the new vectorized implementations if running on a supported platform

Yes, but let's keep that as a separate Ticket & PR.
This should be good to go.

I've created https://issues.apache.org/jira/browse/SOLR-16869 to track the vector optimizations


add interactivity shell

I implemented this feature according to my own ideas. Here is the modified code. If you think it's acceptable, I will submit a pull request. Thank you.
https://github.com/gaojy62/learn.nuxt.com/commit/c217511ca102a2871e24556beff1e4411adc6660

This implementation does indeed affect the main program. My understanding is that most operations in the shell will impact the main program, such as installing/uninstalling packages. Perhaps my perspective is somewhat one-sided, and I look forward to your more refined implementation. Thank you.


Add the abitlity to drag and drop variables in the debugging panel to the watch

In the debugging panel, I think it could be useful to have the ability to drag and drop variables from the "variables" part to the "watch" part, and/or at least to autocomplete when writing them there.

As an example, on the picture above, I had to write these expressions by hand, I think it could have been better to drag and drop the variables (and then modify them to have the indexes I need etc.) or to autocomplete them.

Currently you can Right Click -> Add to Watch for this functionality.
Though Drag and Drop is a fair feature request, thus assigning to Backlog as we have no immediate plans to work on this.

Currently you can Right Click -> Add to Watch for this functionality.
Though Drag and Drop is a fair feature request, thus assigning to Backlog as we have no immediate plans to work on this.

Currently you can Right Click -> Add to Watch for this functionality.
Though Drag and Drop is a fair feature request, thus assigning to Backlog as we have no immediate plans to work on this.

Okay actually I didn't even notice, so thank you!
But yes of course it is absolutely not a priority request, it can wait.

Currently you can Right Click -> Add to Watch for this functionality.
Though Drag and Drop is a fair feature request, thus assigning to Backlog as we have no immediate plans to work on this.

Okay actually I didn't even notice, so thank you!
But yes of course it is absolutely not a priority request, it can wait.