flutter build apk --release error on version:4.2.0

1.flutter doctor

E:\products\small\tiny-secret\tiny_secret>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.22000.434], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[√] Chrome - develop for the web
[√] Android Studio (version 2020.3)
[√] VS Code (version 1.63.2)
[√] Connected device (3 available)

• No issues found!

2.flutter build apk --debug   is ok!
E:\products\small\tiny-secret\tiny_secret>flutter build apk --debug
The plugins `flutter_ffmpeg, get_version, real_rich_text, screen` use a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

Building without sound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety

Plugin project :soundpool_web not found. Please update settings.gradle.
Plugin project :soundpool_macos not found. Please update settings.gradle.
ע: ĳЩ�����ļ�ʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: ĳЩ�����ļ�ʹ����δ�������ȫ�Ĳ�����
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣
Running Gradle task 'assembleDebug'...                             54.3s
√  Built build\app\outputs\flutter-apk\app-debug.apk.

3.flutter build apk --release  error
E:\products\small\tiny-secret\tiny_secret>flutter build apk --release --no-tree-shake-icons
The plugins `flutter_ffmpeg, get_version, real_rich_text, screen` use a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

Building without sound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety

Plugin project :soundpool_web not found. Please update settings.gradle.
Plugin project :soundpool_macos not found. Please update settings.gradle.
ע: E:\products\small\tiny-secret\dependencies\amap_location\android\src\main\java\com\jzoom\amaplocation\AmapLocationPlugin.javaʹ�û�����ѹ�ʱ�� API��
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:deprecation ���±��롣
ע: E:\products\small\tiny-secret\dependencies\amap_location\android\src\main\java\com\jzoom\amaplocation\AmapLocationPlugin.javaʹ����δ�������ȫ�Ĳ�����
ע: �й���ϸ��Ϣ, ��ʹ�� -Xlint:unchecked ���±��롣

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':agora_rtc_engine:mergeReleaseResources'.
> Could not resolve all files for configuration ':agora_rtc_engine:releaseRuntimeClasspath'.
   > Could not resolve io.flutter:flutter_embedding_release:1.0.0-d3ea636dc5d16b56819f3266241e1f708979c233.
     Required by:
         project :agora_rtc_engine
      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-d3ea636dc5d16b56819f3266241e1f708979c233.
         > Could not get resource 'https://dl.bintray.com/umsdk/release/io/flutter/flutter_embedding_release/1.0.0-d3ea636dc5d16b56819f3266241e1f708979c233/flutter_embedding_release-1.0.0-d3ea636dc5d16b56819f3266241e1f708979c233.pom
'.
            > Could not HEAD 'https://dl.bintray.com/umsdk/release/io/flutter/flutter_embedding_release/1.0.0-d3ea636dc5d16b56819f3266241e1f708979c233/flutter_embedding_release-1.0.0-d3ea636dc5d16b56819f3266241e1f708979c233.pom'. Re
ceived status code 502 from server: Bad Gateway

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4m 4s
Running Gradle task 'assembleRelease'...                          246.0s
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
Plugin project :soundpool_web not found. Please update settings.gradle.
Plugin project :soundpool_macos not found. Please update settings.gradle.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':amap_location:mergeReleaseResources'.
> Could not resolve all files for configuration ':amap_location:releaseRuntimeClasspath'.
   > Could not resolve io.flutter:flutter_embedding_release:1.0.0-d3ea636dc5d16b56819f3266241e1f708979c233.
     Required by:
         project :amap_location
      > Could not resolve io.flutter:flutter_embedding_release:1.0.0-d3ea636dc5d16b56819f3266241e1f708979c233.
         > Could not get resource 'https://dl.bintray.com/umsdk/release/io/flutter/flutter_embedding_release/1.0.0-d3ea636dc5d16b56819f3266241e1f708979c233/flutter_embedding_release-1.0.0-d3ea636dc5d16b56819f3266241e1f708979c233.pom
'.
            > Could not HEAD 'https://dl.bintray.com/umsdk/release/io/flutter/flutter_embedding_release/1.0.0-d3ea636dc5d16b56819f3266241e1f708979c233/flutter_embedding_release-1.0.0-d3ea636dc5d16b56819f3266241e1f708979c233.pom'. Re
ceived status code 502 from server: Bad Gateway

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2m 54s
Running Gradle task 'assembleRelease'...                          175.9s
[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
Gradle task assembleRelease failed with exit code 1

seem like your gradle config is wrong, why download from https://dl.bintray.com/umsdk?


[iOS] Update SwiftGen XCFileLists

Kind (Required)

Improvement

Overview (Required)

Currently, Localizable.strings input/output statement is not specified.
Please add Localizable.strings input/output statement to current XCFileList files.

How to fix this

Run make run-swiftgen-generate-xcfilelists only.

Two files will change ( XCFileLists/SwiftGenInput.xcfilelist and XCFileLists/SwiftGenOutput.xcfilelist)

Links

Can I try this? 🙋

Yes! Of course!
Thanks! Assigned 👍🏼


This closes #1807, calculation engine support date and formula type cell

PR Details

Description

Related Issue

Motivation and Context

How Has This Been Tested

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

This closes #1807, calculation engine support date and formula type cell

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a258e3d) 99.06% compared to head (7336bcc) 99.20%.
Report is 1 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1810      +/-   ##
==========================================
+ Coverage   99.06%   99.20%   +0.14%
==========================================
  Files          32       32
  Lines       28616    23851    -4765
==========================================
- Hits        28349    23662    -4687
+ Misses        177      101      -76
+ Partials       90       88       -2

Flag
Coverage Δ

unittests
99.20% <100.00%> (+0.14%)
:arrow_up:

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

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


Remove default runtime mode argument from init overload, again

Apologies, I was off by one in #5103. On top of that hpx::start did not need any change...

On top of that hpx::start did not need any change...

Why's that? I always assumed for the two APIs to have similar overloads.

On top of that hpx::start did not need any change...

Why's that? I always assumed for the two APIs to have similar overloads.

On top of that hpx::start did not need any change...

Why's that? I always assumed for the two APIs to have similar overloads.

Good question. I assumed so too, which is why I made the initial change on both sides instinctively. It must've been overlooked at some point...

On top of that hpx::start did not need any change...

Why's that? I always assumed for the two APIs to have similar overloads.

Good question. I assumed so too, which is why I made the initial change on both sides instinctively. It must've been overlooked at some point...


offpunk: 2.2 -> 2.3

Description of changes
https://lists.sr.ht/~lioploum/offpunk-users/<171965817460.7.3946186525031985671.367314699%40ploum.eu>
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 323352 run on x86_64-linux 1

2 packages built:

offpunk
offpunk.dist


Backend handling expired jwt tokens

Issue
If cookie is still sent with the request, but token has been expired.
2023-09-05T08:38:40.065+02:00 ERROR 36408 --- [io-8080-exec-20] c.w.a.w.security.jwt.AuthEntryPointJwt   : Unauthorized error: message An error occurred while attempting to decode the Jwt: Jwt expired at 2023-09-01T11:53:11Z
Backend return 401, even for publicly available endpoints such as api/auth/signin or api/test/all
Currently one way to solve the issue is to clear the browser's history.
Thoughts
Is it possible that cookie and token does expire to a different point in time?

Fixed by guaranteeing expiration date of cookie and jwt are the same. see TokenService#COOKIES_LIFESPAN


Cannot open template (absolute path)

Hello,
I have the problem calling the script from outside its folder:
python3 /Users/nicola/Downloads/CRITERIA-master/criteria.py ontology Person_Actor_Relations.ttl Person_Actor_Relations.mmd
I received the following errors
Traceback (most recent call last):
  File "/Users/nicola/Downloads/CRITERIA-master/criteria.py", line 268, in <module>
    main(args.Type, args.rdf, args.mmd)
  File "/Users/nicola/Downloads/CRITERIA-master/criteria.py", line 252, in main
    ontology(rdf, mmd)
  File "/Users/nicola/Downloads/CRITERIA-master/criteria.py", line 201, in ontology
    template = open("./src/templates/ontology.mmd", "r", encoding="utf-8")

The error seems to be connected with the possibility to load the template ontology in  ./src/templates/ontology.mmd
If I move the corresponding file in the folder where I want to launch the script, everything works.
It is not critical, but I wanted to report the issue :-)

Hi Nicola, thank you for raising the issue.
You are right that all files paths that hardcoded in the script are relative to the script folders. It's simply a script and not a full-scale package module so it's unfortunately limited.
So there are two options:

move the whole Criteria folder to where you want to launch the script
use full path for your input (rdf) and output (mmd) so you can call them from wherever you launch the script.

I hope that helps.

Thanks, I just moved the src/ folder and it works perfectly :-)


various testing enhancements

The resume test caught two bugs (one in master, one in my new branch); I should have gotten to it sooner!

Noice, good changes


Update to Vale2

Pull Request Description

Update submodule and config to use new Vale2 guidelines checking tool.
fix errors raised by this new version

Fixed Issue(s)

see PegaSysEng/Misc#29

Additional changes look good

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Fix  E2E tests

update provider versions to resolve perma-diff in CloudSQL
Update test case for project quotas

Checklist

I applicable, I acknowledge that I have:

[ ] Read the contributing guide
[ ] Ran terraform fmt on all modified files
[ ] Regenerated the relevant README.md files using tools/tfdoc.py
[ ] Made sure all relevant tests pass

E2E run


Java SDK: getQuery overload that enables RPC call does not make jobId available to caller

Is your feature request related to a problem? Please describe.
When using the com.google.cloud.bigquery.BigQueryImpl#query(com.google.cloud.bigquery.QueryJobConfiguration, com.google.cloud.bigquery.BigQuery.JobOption...) overload, the randomly generated jobId is not available to the caller.  This means that, in practice, the caller can't cancel this job without using reflection.
The version of query that accepts the jobId parameter (meaning, the caller can supply it) can't use the RPC/fast path.
Describe the solution you'd like
Either the query overload accepting the jobId should allow the RPC/fast path, or else the generated jobId should be made available somehow to the caller via the TableResult (perhaps a .getJobReference method).
Describe alternatives you've considered
Using reflection to access private methods or fields that would be necessary to implement cancellation behavior on the caller side.
Additional context
We would like to be able to both cancel queries (to save user cost/resources) and use the fast RPC path.

Hi, thank you for the feedback. We definitely do not plan on exposing jobId to the user since not all query operations are jobs -- only long running ones will have a jobId/jobReference generated. We are working on a set of query API changes (sneak peak). The cancel method will be on the Connection interface. That should address this problem. It will be coming soon!


Filter or catch NAs in file (gene/ref/alt) in annotation module (bcftools-csq complains and then stops)

NAs in gene_IDs /ref/alt in input file to annotation module may fail. This may be due to merging issues/off target sites in the input file.
Could handle by filtering and logging  the input file and removing the relevant sites before running

Done.


This forces the vmaf comparison colorspace, otherwise its assume the …

…source colorspace is rec601 (I think).
I'm not 100% sure we want to do it this way, but I'm pretty sure this is wrong since otherwise ffmpeg will treat any sourceimages as having the wrong colorspace.

I've been assuming that since both source's color spaces should match, that the vmaf would be able to compare properly, but haven't spent much time looking into this.
It makes sense to provide the color space though.


Return result as anonymous object issue.

Hi ,
I have ran into the following issue: when I execute query that return result in anonymous object :
var query = this.GraphClient.Cypher
.Match($"(e:{SystemNodeLabelEnum.Product.ToString()} {{AccountId: "{accountId}"}})")
.Return(e => new { SystemNode = e.As<SystemNode>() })
.OrderBy("e.ProductDistributorId")
.Skip(offset)
.Limit(limit);
this query throw exception:
Exception:
Exception has been thrown by the target of an invocation.
Inner exception:
Conversion of ZonedDateTime to INode is not supported.
at Neo4j.Driver.V1.TemporalValue.System.IConvertible.ToType(Type conversionType, IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) in //src/System.Private.CoreLib/shared/System/Convert.cs:line 377
at System.Convert.ChangeType(Object value, Type conversionType) in //src/System.Private.CoreLib/shared/System/Convert.cs:line 315
at Neo4j.Driver.V1.ValueExtensions.As[T](Object value)
at Neo4jClient.StatementResultHelper.Parse[T](IRecord record, String identifier, IGraphClient graphClient)
When i have changed the return type to be the concrete object (not anonymous ) as following:
public class SystemNodeContainer
{
public SystemNode Node { get; set; }
}
the same query execute properly and return the correct result.
var query = this.GraphClient.Cypher
.Match($"(e:{SystemNodeLabelEnum.Product.ToString()} {{AccountId: "{accountId}"}})")
.Return(e => new SystemNodeContainer { SystemNode = e.As<SystemNode>() })
.OrderBy("e.ProductDistributorId")
.Skip(offset)
.Limit(limit);
Could you please advise?

One of the properties in my custom class SystemNode is of type DateTime and in the neo4j database the relevant property is of type datetime and lookes like that : "2020-02-13T09:29:20.4700000"
I have debugged the BoltGraphClient source code and found that when ParseAnonymousAsDynamic method from  StatementResultHelper class in client attempt to parse the datetime property from database throw the exception  described in the post above.
When i have changed the type of datetime  property in the neo4j graph ti string the problem  was solved and anonymouse parser work properly.
Could you please advise me what should be the type of datetime property in neo4j database to work properly the deserializer.

Hey - sorry for the delay in replying, can you provide the SystemNode class - or just how the property that is failing is defined?
It's possible that PR #392 solves this?

Hey - sorry for the delay in replying, can you provide the SystemNode class - or just how the property that is failing is defined?
It's possible that PR #392 solves this?


Input simulation docs

Overview
User documentation for Input Simulation features.
Changes

Fixes: # .

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: lukastoenneMS sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Regarding @cre8ivepark's changes, it would probably be good to not have large files checked in
https://robinwinslow.uk/2013/06/11/dont-ever-commit-binary-files-to-git/
But since then it looks like maybe we can use LFS to manage these instead
Maybe in the interim can we just upload these videos to youtube or something until we have our large file hosting story figured out?

Regarding @cre8ivepark's changes, it would probably be good to not have large files checked in
https://robinwinslow.uk/2013/06/11/dont-ever-commit-binary-files-to-git/
But since then it looks like maybe we can use LFS to manage these instead
Maybe in the interim can we just upload these videos to youtube or something until we have our large file hosting story figured out?

I'm going to delete the videos and replace links once we decide where we can host them instead (commits will be squashed in the end, so no binaries in the history).

* Could you please move the images to /External/Documentation/Images folder for consistency? We place images for the README files there too. (/External/ReadMeImages/)

Done.

Videos have been replaced with YouTube links now.

/azp run


Remove fetching the repository

Doing the fetching ourselves means we need to either forward a lot of options to the actions/checkout action or make this action very inflexible.
The main point of this action is to provide some common configuration that all repositories will use by default.

In other actions the amount of inputs is getting a bit out of hand, and for private repos we need to add auth too, so we would need to "forward" the username/password and user name/e-mail from the gh-action-setup-git action if we want to provide auth out of the box, so it seems more sensible to leave fetching out of other actions.


Where is local.properties?

Hi, so I want to build the app but I do not where local.properties is?

If you open this project with Android Studio, local.properties is automatically created. Or you can manually create it.


Development progress

Hi everyone,
I hope you’re all doing well. I wanted to provide an update on the current status of the project.
As some of you may be wondering about the next update, I wanted to share that it’s going to take a little while. Recently, I’ve been feeling quite burned out from working on the project, and I’ve decided that it’s best for me to take a break. This decision was not easy, but I believe it’s the right one for the long-term health of both myself and the project.
Rest assured, the project is not abandoned. Updates will come in the future, although I can’t specify exactly when. It could be a month or it might be six months – it all depends on when I regain my motivation and energy.
The goal of this project has always been to bring home streaming to users on OSX and Linux, and I believe we have made significant progress in that area. However, as the number of users has grown, so has the complexity and the number of edge cases, which has become increasingly challenging to manage. While I’m eager to address all issues and continue improving the software, the fun of implementing new features has been overshadowed by the need to fix reported bugs.
I want to take this time to gain a fresh perspective on the project and find renewed enjoyment in developing it. I appreciate your understanding and patience during this period.
Your support and contributions have been invaluable, and I encourage you to continue engaging with the project and with each other. Community involvement is one of the project’s greatest strengths, and your continued participation is crucial.
Thank you for your understanding and for being part of this journey.
Cheers!

Take care, and thanks for the efforts!


getMacAddress always return null

Tested on iOS both simulator and real device and it seems the getMacAddress function always return null, I’ve seen that ARPData only return values for MacOS, Windows and Linux, can you confirm this function is not interned to be used on mobiles?

Yes getMacAddress only works for Desktop as it is written here in readme - https://github.com/osociety/network_tools


fix(subnav): lightdom styles

What I did

Added rh-subnav-lightdom.css to reduce layout shift before the element is defined

Closes #777
Testing Instructions

View the deploy preview demo on a slow 3G network.

Notes to Reviewers
Simulate a slow 3G network in the networks tab of the browser inspector.  Should be little to no layout shift as the page loads.

Identifying the issue and making the PR in one morning.... Impressive!


ERROR: PILI_RTMP_ReadPacket, failed to read PILI_RTMP packet header

Hey,
I started testing LFLiveKit with the code example and I have this error:
ERROR: PILI_RTMP_ReadPacket, failed to read PILI_RTMP packet header
What's PILI RTMP ?
I would like to stream to YouTube, I use this code to start streaming:
let stream = LFLiveStreamInfo()
stream.url = "rtmp://a.rtmp.youtube.com/live2"
stream.streamId = "xxxx-xxxx-xxxx-xxxx"
session.startLive(stream)

Configuration:
Xcode 8
Swift 3
iOS 10

Thanks,
Remi.

only need let stream = LFLiveStreamInfo()
stream.url = "xxxx"

To stream on YouTube I need to specify a stream url and a stream name/key.
I supposed that the stream name/key was streamId here. Is it use for that ?

sample url : rtmp://live.hkstv.hk.lxdns.com:1935/live/stream153
this streamid  is  stream153

Ok if I directly append the streamid to the url it works. Thanks.

将 url 改为 rtmp://<IP_ADDRESS>:1935/live/VC000051

The reason is that the connection failed.You can try to change the URL to the URL of your own server; or try this:（rtmp：//<IP_ADDRESS>：1935 / live / VC000099） Note that ”VC000099“ is custom，Don't repeat it with others。Recommend two software for testing:OBS、VLC

I am also facing same issue while connecting with rtmp server
ERROR: PILI_RTMP_ReadPacket, failed to read PILI_RTMP packet header


trouble with log scales and clean_figure

clean_figure() seems to break when using log-scales.
import matplotlib.pyplot as plt
import tikzplotlib

fig, axes = plt.subplots(1)
ax = axes
ax.plot(range(1,100), range(1,100))
ax.set_yscale('log')
tikzplotlib.clean_figure()
fig.show()

output (console):
/home/name/.venv/neuro/lib/python3.8/site-packages/tikzplotlib/_cleanfigure.py:613: RuntimeWarning: divide by zero encountered in log10
  yData = np.log10(yData)
/home/name/.venv/neuro/lib/python3.8/site-packages/tikzplotlib/_cleanfigure.py:1001: RuntimeWarning: invalid value encountered in true_divide
  v = v / np.linalg.norm(v)

output (image): https://i.imgur.com/n6S42ly.png
when I comment out the line tikzplotlib.clean_figure(), don't get any console output (as expected) and the axes are scaled correctly: https://i.imgur.com/EAsrGqM.png

Perhaps @theRealSuperMario has an idea what may be causing this.

There is a fairly simple implementation: Back when the feature was requested, I only implemented log-log plots ( x AND y).
this is a semilogplot and therefore not working yet

Gonna fix this over the weekend, stay tuned.

Sorry for the huge delay - gonna fix it today.

@bjuergens @Peiffap @nschloe

PR incoming


Add native provider version bump reusable workflow

Description of your changes

This PR adds a workflow to check for the latest version of the hashicorp/google Terraform provider and opens a version bump PR if a newer version of it is found.
I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Looks like we will need a scraper fix before we can bump hashicorp/google version to 4.53.1.


tools/refresh.sh --help

The help text output from tools/refresh.sh --help do not see to correctly described the current behavior of this tool.  I imaging the tools/README.txt should t updated as well(?)
Specifically,  tools/refresh.sh --silent --prompt board:config no longer works as described by the script's help message.

This reason for this is:
if ! $CMPCONFIG $DEFCONFIG defconfig; then
...

So if no logical content of the defconfig has changed then it will not be updated.  That means if the ordering of elements changes so that there is a lexical content changes, it will not be updated and the user will not be prompted.
Is that good?  It is certainly not as bad as my original perception.

I'm closing this issue.  I don't think that there is any real problem that needs fixed.  There is some change in functionality which is probably not desirable, but neither is it a bug or a problem.

This reason for this is:
if ! $CMPCONFIG $DEFCONFIG defconfig; then
...

So if no logical content of the defconfig has changed then it will not be updated. That means if the ordering of elements changes so that there is a lexical content changes, it will not be updated and the user will not be prompted.

But I think the root cause is that cmpconfig ignore the order difference. We should replace with diff command instead.

Is that good? It is certainly not as bad as my original perception.

No, it isn't good, I will fix this problem.

So if no logical content of the defconfig has changed then it will not be updated. That means if the ordering of elements changes so that there is a lexical content changes, it will not be updated and the user will not be prompted.

But I think the root cause is that cmpconfig ignore the order difference. We should replace with diff command instead.

The use case where I experienced this was as follows:

I use find and sed to modify a configuration setting name.  This is a dangerous practice because it can create an invalid configuration.

I use refresh.sh to fix this:  It will create a valid defconfig and, if the change was innocuous, it will not show any differences.  However, it may result in a re-ordering of defconfig setting, putting them back in alphabetic order.

In either case, you would like to see what is different and be able to save the updated defconfig with the configs in the correct order.  The old version of refresh.sh used tools/compconfig and it might show no differences in this case.  However, it still allowed the opportunity to save the defconfig file, even if there were no differences.

So if no logical content of the defconfig has changed then it will not be updated. That means if the ordering of elements changes so that there is a lexical content changes, it will not be updated and the user will not be prompted.

But I think the root cause is that cmpconfig ignore the order difference. We should replace with diff command instead.

The use case where I experienced this was as follows:

I use find and sed to modify a configuration setting name.  This is a dangerous practice because it can create an invalid configuration.
I use refresh.sh to fix this:  It will create a valid defconfig and, if the change was innocuous, it will not show any differences.  However, it may result in a re-ordering of defconfig setting, putting them back in alphabetic order.
In either case, you would like to see what is different and be able to save the updated defconfig with the configs in the correct order.  The old version of refresh.sh used tools/compconfig and it might show no differences in this case.  However, it still allowed the opportunity to save the defconfig file, even if there were no differences.

Yes, the real difference is that the order change will show to the end user now. The behaviour change is minor, but simplify how we implment the github action.


add package json to npm install the library

in response to issue #7 ;)

should be fixed now

hm, is agorlov and E Gorlov the same person :D ???


Produce: Package an ADO dependency

This articles show how to package a library from a private repo on Azure DevOps.

Thanks, looking through this PR now.
Initial reaction: Please include the new article in the ToC file as well so it shows up there.


Introducing-Turtlesim seems not to work (Beginner's problem solved?)

https://docs.ros.org/en/rolling/Tutorials/Beginner-CLI-Tools/Introducing-Turtlesim/Introducing-Turtlesim.html
I had trouble to get the example to work in a ros2 docker image.
The problem was that on the web page the
sudo apt install ros-rolling-turtlesim
addresses the wrong version. (For me)
This can be solved by simply replacing this line with:
sudo apt install ros-${ROS_DISTRO}-turtlesim
I know that for you it is obvious that the beginner is in the wrong version of the documentation.
But for a beginner, it is much easier to copy and paste the universal line above and continue playing without any problems.
What do you think?

What ROS 2 distribution are you using? The expectation is that you're using the version of the docs corresponding to the distro you're using. For example, if you look at the Jazzy version of the tutorial, it uses ros-jazzy-turtlesim: https://docs.ros.org/en/jazzy/Tutorials/Beginner-CLI-Tools/Introducing-Turtlesim/Introducing-Turtlesim.html

I know that for you it is obvious that the beginner is in the wrong version of the documentation.
But for a beginner, it is much easier to copy and paste the universal line above and continue playing without any problems.

We cannot really have one version of a tutorial (or any page) that works for all distros. That would be too complex to maintain.

And for ${ROS_DISTRO} to be set, you need to source the right file, so it would be tricky to include the source ... command everywhere in the docs.

Since this is unfortunately not how the docs are set up, there is nothing to do, so I'll close this.


Correction for raw affiliation Simon Fraser University , CA

Correction needed for raw affiliation Simon Fraser University , CA
raw_affiliation_name: Simon Fraser University , CA
new_rors: 0213rcc28
previous_rors:
works_examples: W4383478030
contact: aff342e8f23b9ef9e29f35767365b746:afbc63d1 @ ourresearch.org

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Still won't compile under Windows...

$ make
g++  -Wsuggest-override -std=c++11  -DSLUG=SchmickleWorks-NoteTaker -fPIC -I../../include -I../../dep/include -DVERSION=0.6.0 -MMD -MP -g -O3 -march=nocona -ffast-math -fno-finite-math-only -Wall -Wextra -Wno-unused-parameter -DARCH_WIN -D_USE_MATH_DEFINES -c -o build/src/NoteTakerDebug.cpp.o src/NoteTakerDebug.cpp
In file included from src/NoteTakerDebug.cpp:1:
src/NoteTaker.hpp: In member function 'bool NoteTaker::setSelectStart(unsigned int)':
src/NoteTaker.hpp:161:14: error: 'insertButton' was not declared in this scope
if (!insertButton->ledOn) {
^~~~~~~~~~~~
src/NoteTaker.hpp:161:14: note: suggested alternative: 'bndToolButton'
if (!insertButton->ledOn) {
^~~~~~~~~~~~
bndToolButton
make: *** [../../compile.mk:65: build/src/NoteTakerDebug.cpp.o] Error 1

Same error here on Win10

Not the same...in the first issue the last line was: make: *** [../../compile.mk:65: build/src/NotesPlugin.cpp.o] Error 1...

Let me know if a3d32f2c4a57960b053ac5342e6c39ef234b5609 works for you

I'm setting up a Mac, so I will test there as well to see if I can make this work

Compiles under Win10.
Crashes VCV rack adding module to patch

Can you run 'make debug' and paste the output here?

I can repro the crash adding the module. Working on it.

I can add the module without crashing, but VCV Rack still crashes when I exit. It looks like I am writing off the end of a vector somewhere. This fooled me into thinking it was a font problem but that's not the issue. Still working on it.

Now it crashes on Windows when I click on the RUN button, but works fine on Mac. I verified, on Mac, I can download source from github, make dist, copy zip to Rack plugins, create NoteTaker module, and use it.
If you know a way to debug memory corruption on MSYS2 MinGW I'd love to hear about it.

Thanks... will try it tonight... regards...
Obtenez Outlook pour iOShttps://aka.ms/o0ukef

De : cclark2a<EMAIL_ADDRESS>Envoyé : jeudi, février 7, 2019 13:52
À : cclark2a/SchmickleWorks
Cc : caecos; Author
Objet : Re: [cclark2a/SchmickleWorks] Still won't compile under Windows... (#3)
I can add the module without crashing, but VCV Rack still crashes when I exit. It looks like I am writing off the end of a vector somewhere. This fooled me into thinking it was a font problem but that's not the issue. Still working on it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/cclark2a/SchmickleWorks/issues/3#issuecomment-461550996, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AeRig3xkHOvV4cz9QOl70c6FWL0eYpMJks5vLHXQgaJpZM4ambsA.

all, including memory corruption, should be fixed now


fix: speed up go algorithm

You use int and it is converted to int64 in most of the machines which requires a lot RAM.
I changed it to int32 and here are the results.
Before: ~10.5s.
Now: ~2.8s in 4 runs on my local.
I didn't change the algorithm at all.
P.S. it is also possible to change it to uint32.

Good job 👍


No C++ when not needed

The first patch ("Cpp include is not required and must be header guarded") is the only one really needed, because it prevent using the CineForm SDK being used in a C program.
The other two are just here because they are C++ files without C++, so why not leave them be builded as the other file from the Codec/ directory? I can split the pull request if you need.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

I thought this was fine. Unfortunately it fails the Visual Studio builds.  Need more investigation.

No worries I'll send updated patches today.

OK so when building DemoasicFrames and lutpath in C, StdAfx.h is included, and includes atlbase.h, which cause some kind of failure when not builded in C++? Anyway I resent only the first patch, the other one where not important...


Hello, how can I use this map for navigation? Can you open source this part of the code? Look forward to your reply, thank you!

Hello, how can I use this map for navigation? Can you open source this part of the code? Look forward to your reply, thank you!

Thanks for your interest in our work. We have proposed a new software-optimized predictor and its navigation framework. I will open source all of this new prediction code and navigation code this month. I will let you know when I do.

Ok, look forward to your update, thank you very much!

Update codes are available at prediction code and navigation code.


cpu temperature and battery information missing

I am trying to get the data of my cpu temperature in my linux machine and I get the following error Os { code: 2, kind: NotFound, message: "No such file or directory" }
Note:- Linux is running in Virtual Machine
I believe this error is causing due to the fact i am running this in a virtual machine ,I am not sure yet
And for the battery information I get this error Custom { kind: Other, error: "Missing battery information" }
Rest all works as intended , only these 2 functions are not performing

That is working as intended, if the kernel does not have the information we cannot magically conjure it out of thin air.
Yes, CPU temperature is usually not available in VMs. Battery info is passed through by some hypervisors but not always.

ahhkk, thanks!


fix(fiat-api): fix usage of removed method from Permissions

updates (again) to fiat 1.7.1

fixes the breakage that #615 addressed


Release 1.0 in November

Take 1 month and if no issues found release 1.0.

I've been using it extensively since and just found inadvertantly that little template error, I think this is ready

I am in doubt about theme switch button. Currently, it shows the next theme in the chain, not current. Looks like it is a bit confusing. Does it make sense to show current theme icon?

I am in doubt about theme switch button. Currently, it shows the next theme in the chain, not current. Looks like it is a bit confusing. Does it make sense to show current theme icon?

I have to admit I didnt know that there was a theme switcher, after looking at it I think it's more natural to display current vs next, but that's a matter of taste I suppose, nothhing that should prevent a release :)

Done! Time to open a few beers :)

well deserved it's been a pleasure to develop with it !


Nesting MaterialApps should not assert

Turns out we weren't managing focus correct between navigator routes because we
were missing a Focus widget above the routes. However, adding this widget
caused us to explode at startup because the initial route was trying to move
focus during the build phase.
This patch teaches Focus to have an initiallyFocusedScope, which can be use to
initialize the child focus scope.
Fixes #4065

@Hixie

I was going to say we'll probably need more elaborate tests for this stuff, but since travis found some test failures already, maybe not. ;-)


Compatibility for SXA Showcase project

Is this version compatible with the latest available version of SXA (1.7) and is this showcase still actively developed?

This site is maintained by Sitecore internally. You can reach out to me so I can organize access..


HADOOP-19208: [Backport to 3.4][ABFS] Fixing logic to determine HNS nature of account to avoid extra getAcl() calls

Jira: https://issues.apache.org/jira/browse/HADOOP-19208
PR merged to trunk: https://github.com/apache/hadoop/pull/6893
Original Description of PR
ABFS driver needs to know the type of account being used. It relies on the user to inform the account type using the config fs.azure.account.hns.enabled. If not configured, driver makes a GetAcl Head Call call to determine the account type.
Expectation is getAcl() will fail with 400 Bad Request if made on the FNS Account.
If succeeded or fails with any other error code, it means it's an HNS Account.
Current Implementation:
Today when someone tries to create a new file system, getAcl is called to determine HNS/FNS account. This call fails with 404 as file system is not yet created. Then another getAcl is needed to determine HNS/FNS post filesystem creation. Leading to redundant getAcl calls.
New Implementation

If getAcl fails with 400 then only we will determine the account as HNS disabled. For any other error code including 404, we will infer the account as HNS enabled. getAcl call will continue to throw exception in cases where it fails with non 400 error code as earlier.
In case of 404, getAcl() will still fail as always but store will capture the HNS enabled/disabled to avoid further calls. File system init will not fail for 404 as per the design.
In case of error apart from 400, 404 like 5xx or others, getAcl() will still fail leading to file system initialization failure. Any inference made on account type here won't be used further.

This PR also fixes a test case failing on trunk. testGetAclCallOnHnsConfigAbsence(org.apache.hadoop.fs.azurebfs.ITestAzureBlobFileSystemInitAndCreate)
How was this patch tested?
New test around the production code changes, and existing test suite ran to validate the patch.
Test Suite Results
Metric related tests are fixed in the the https://github.com/apache/hadoop/pull/6847

:::: AGGREGATED TEST RESULT ::::
============================================================
HNS-OAuth
[WARNING] Tests run: 141, Failures: 0, Errors: 0, Skipped: 2
[WARNING] Tests run: 623, Failures: 0, Errors: 0, Skipped: 76
[WARNING] Tests run: 414, Failures: 0, Errors: 0, Skipped: 57
============================================================
HNS-SharedKey
[WARNING] Tests run: 141, Failures: 0, Errors: 0, Skipped: 3
[WARNING] Tests run: 623, Failures: 0, Errors: 0, Skipped: 28
[WARNING] Tests run: 414, Failures: 0, Errors: 0, Skipped: 44
============================================================
NonHNS-SharedKey
[WARNING] Tests run: 141, Failures: 0, Errors: 0, Skipped: 9
[WARNING] Tests run: 607, Failures: 0, Errors: 0, Skipped: 268
[WARNING] Tests run: 414, Failures: 0, Errors: 0, Skipped: 47
============================================================
AppendBlob-HNS-OAuth
[WARNING] Tests run: 141, Failures: 0, Errors: 0, Skipped: 2
[WARNING] Tests run: 623, Failures: 0, Errors: 0, Skipped: 78
[WARNING] Tests run: 414, Failures: 0, Errors: 0, Skipped: 81
Time taken: 56 mins 45 secs.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
7m 10s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ branch-3.4 Compile Tests _

+1 :green_heart:
mvninstall
34m  7s

branch-3.4 passed

+1 :green_heart:
compile
0m 25s

branch-3.4 passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
compile
0m 18s

branch-3.4 passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
checkstyle
0m 16s

branch-3.4 passed

+1 :green_heart:
mvnsite
0m 28s

branch-3.4 passed

+1 :green_heart:
javadoc
0m 24s

branch-3.4 passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
0m 20s

branch-3.4 passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
spotbugs
0m 43s

branch-3.4 passed

+1 :green_heart:
shadedclient
20m 46s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 17s

the patch passed

+1 :green_heart:
compile
0m 17s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javac
0m 17s

the patch passed

+1 :green_heart:
compile
0m 15s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
javac
0m 15s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 11s

the patch passed

+1 :green_heart:
mvnsite
0m 20s

the patch passed

+1 :green_heart:
javadoc
0m 16s

the patch passed with JDK Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2

+1 :green_heart:
javadoc
0m 16s

the patch passed with JDK Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

+1 :green_heart:
spotbugs
0m 42s

the patch passed

+1 :green_heart:
shadedclient
22m 52s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
1m 52s

hadoop-azure in the patch passed.

+1 :green_heart:
asflicense
0m 22s

The patch does not generate ASF License warnings.

93m 32s

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6946/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6946

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux d79aeadf5017 5.15.0-106-generic #116-Ubuntu SMP Wed Apr 17 09:17:56 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.4 / 596fa98d7662794510a5c21d1de4ed78465a38e7

Default Java
Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.23+9-post-Ubuntu-1ubuntu120.04.2 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_412-8u412-ga-1~20.04.1-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6946/1/testReport/

Max. process+thread count
553 (vs. ulimit of 5500)

modules
C: hadoop-tools/hadoop-azure U: hadoop-tools/hadoop-azure

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6946/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Refactor lang -> language

The lang name for application property isn't good enough and may clash with ENV var or System property.
Change the property to the language back.
The future story with the global common prefix for apps should fix similar confuse.

LGTM


chore: provide better logging when no globalConfig.json

Codecov Report

Merging #329 (c01f954) into main (68aa84b) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #329      +/-   ##
==========================================
- Coverage   79.48%   79.47%   -0.02%
==========================================
  Files          28       28
  Lines        1867     1866       -1
==========================================
- Hits         1484     1483       -1
  Misses        383      383

Impacted Files
Coverage Δ

splunk_add_on_ucc_framework/__init__.py
76.98% <100.00%> (-0.06%)
:arrow_down:

Continue to review full report at Codecov.

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

:tada: This PR is included in version 5.9.0 :tada:
The release is available on:

v5.9.0
GitHub release

Your semantic-release bot :package::rocket:


Remove unnecessary headers from all-clusters-app main.

These got added along with code in initial drafts of
https://github.com/project-chip/connectedhomeip/pull/11058 but then
the code was removed without removing the now-unnecessary headers.
Problem
Extra headers added that are not needed.
Change overview
Remove them.  Addresses https://github.com/project-chip/connectedhomeip/pull/11058#discussion_r745162379
Testing
File compiles fine.

fast track: small patch, clean removal of headers, CI passes


Changing lng and lat at runtime in Vanilla JS

Do you have an example of how to change lng and lat in Vanilla JS based on values in input fields?
Thanks.

Seems attributeChangedCallback is not implemented...?

Hi @ChristianWeyer
I didn't had the requirements to be able to modify on the fly the position of the center or the markers, therefore, that's probably why it isn't possible yet.
If your goal is to modify lat and long on the fly, then it probably needs a Watch on these property to set a new setCenter on the map
If the goal is to add some more or less markers, then it probably needs a new watch on such property to redraw these
But just some spontaneous ideas...

Makes sense, thanks.

Btw. I'm not against this idea at all @ChristianWeyer
If you would like to extend the component and provide a PR I'm of course happy to assist and help!
Have a good weekend


How to change lidar points color

Am trying to change the color of lidar points in below way but it's not taking effect in the front end. All points color are showing in black. If I change 'point_color_mode' to 'elevation' then different colors are coming for points. I want to make all the points in the same color. Is it possible?
 const xviz_style = {       '/tracklets/objects': [{         name: 'highlighted',         style: {fill_color: '#ff8000aa'}       }],       '/lidar/points': [{         style: {           point_color_mode: 'default',           radius_pixels: settings.dotSize,           fill_color: '#ff8000aa'         }       }]     }
I followed with the reference https://github.com/uber/xviz/blob/master/docs/protocol-schema/style-specification.md#point
Please suggest.
Thank you

Can you try here: https://avs.auto/playground/
Setting the color in the metadata here works for me.  Setting the color on the object does not seem to work :(
// frame
const timestamp = 1000;

function rnd(max) {
    return Math.random() * max;
}

function randomPoints(n) {
    const points = new Array(n).fill([])
    points.forEach((_, i, arr) => arr[i] = [0, 0, 0].map(v => Math.random() * 10))
    return points;
}

xvizBuilder
  .pose('/vehicle_pose')
  .timestamp(timestamp)
  .mapOrigin(-122.4, 37.8, 0)
  .orientation(0, 0, 0)

xvizBuilder
  .primitive('/points')
  .points(randomPoints(100), 1);

// metadata
xvizMetadataBuilder
  .startTime(1000)
  .endTime(1005)

  .stream('/vehicle_pose')
  .category('pose')

  .stream('/points')
  .category('primitive')
  .type('points')
  .coordinate('VEHICLE_RELATIVE')
  .streamStyle({
    radius_pixels: 5,
    fill_color: [255, 0, 0]
  })

I was able to use colors with an array that matches the given size:
xvizBuilder
  .primitive('/points')
  .points(randomPoints(4), 1)
  .colors([[20, 100, 20],[20, 100, 20],[20, 100, 20],[20, 100, 20]])

According to the style spec point styles only apply when applied at the stream level not went sent with the object.  I think we should consider fixing this.

Is there a way to change the point cloud colors in the frontend after conversion?
I'm trying to use Deck.gl PointCloudLayer but the data format picked up from my converted pointcloud stream does not line up.


Accessibility - Settings - Rows

📲 What
Flags common settings cells as a button for Voice Over.
🤔 Why
Better indicates that there's an action linked to these cells for visually impaired users.
🛠 How
Simply setting accessibilityTraits = .button.
✅ Acceptance criteria
on all the following: iOS 10, iOS 11 & iOS 12
with Voice Over turned ON

[x] All cells in Settings (except App version) now have button trait (i.e. Account - button, Log out - button, etc.)
[x] All cells in Settings > Account now have button trait
[x] All cells in Settings > Help now have button trait
[x] All cells in Settings > Help now show disclosure indicator (except Contact which is presented modally) - based on discussion with @dannyalright

 Audit Settings Accessibility


CI: CodeCov results only submitted successfully on pull requests

Looks like something is still not quite right with CodeCov on the main branch, perhaps the CODECOV_TOKEN is no longer correct? I don't see anything in the CI logs, but results only appear to get uploaded from pull requests, where uploads happen without a token.
@sondrelg Thanks for taking a look at this when you find the time.

@sondrelg Looks like the CodeCov action is now actually loudly failing on the main branch. Don't know if it is the same issue or if it's something unrelated.


Do not fail if cloudinit iso is not found

I have this error in my reconciler,
E0822 14:41:42.914961     116 controller.go:324] "Reconciler error" err="cannot delete vm with id 105: 500 volume_size_info on 'local:iso/user-data-105.iso' failed" controller="proxmoxmachine" controllerGroup="infrastructure.cluster.x-k8s.io" controllerKind="ProxmoxMachine" ProxmoxMachine="default/proxmox-test-control-plane-86mrg" namespace="default" name="proxmox-test-control-plane-86mrg" reconcileID=7ebc73fd-79c5-45ce-9197-eb711535a2b7

which seems that the cloudinit iso was deleted, but the vm.Delete() is failing cause it has the cloudinit tag.
This will make the Delete to not fail, if the iso is not found.

excellent find! merging and cutting a release shortly


Merge block_token._root_node and span_token._root_node into a single object

This is a proposed refactoring to clean up the state management during parsing a tiny little bit. Instead of having separate _root_node references in the block_token and span_token modules, we merge the two into one and move it to a module already referenced by both of them: token.py.

Nice DRYing, thank you. :)


Unable to resize vm volume

Hi there,
I followed the instructions in the readme and tried to increase the vm volume to 16G by:
dd if=/dev/null of="${VMCTLDIR}/ubuntu/disk.img" bs=1g count=0 seek=16
I can see that in my vm folder the disk.img size increase to 16G
total 3171224
-rw-r--r--  1 ctsai  staff<PHONE_NUMBER>4 Sep 13 10:51 disk.img
drwx------  3 ctsai  staff           96 Sep 12 15:00 screen
-rw-r--r--  1 ctsai  staff           13 Sep  7 11:17 0.ipaddr
-rw-r--r--  1 ctsai  staff          128 Sep  7 10:25 vm.conf
drwxr-xr-x  7 ctsai  staff          224 Sep  7 10:20 ubuntu
-rw-r--r--  1 ctsai  staff           13 Jun 14 08:54 0.macaddr
-rw-r--r--  1 ctsai  staff          851 Jun 14 08:53 user.yaml
-rw-r--r--  1 ctsai  staff     27621838 Jun 14 08:52 initrd
-rw-r--r--  1 ctsai  staff     13672704 Jun 14 08:52 vmlinux
but when I start the vm I only see 1.4G storage:
Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-117-generic x86_64)

Documentation:  https://help.ubuntu.com
Management:     https://landscape.canonical.com
Support:        https://ubuntu.com/advantage

System information as of Tue Sep 13 17:53:47 UTC 2022
System load:             0.05
Usage of /:              98.9% of 1.40GB
Memory usage:            9%
Swap usage:              0%
Processes:               109
Users logged in:         0
IPv4 address for enp0s1: <IP_ADDRESS>
IPv6 address for enp0s1: fd73:e176:203:8e05:4c8c:42ff:fe46:31b8
=> / is using 98.9% of 1.40GB
0 updates can be applied immediately.
The list of available updates is more than a week old.
To check for new updates run: sudo apt update
Last login: Mon Sep 12 22:00:34 UTC 2022 on hvc0
Can anyone point me in the right direction here?
Thanks

If you resize the VM after the VM has been already booted, you'll need to manually resize the fs. Usually sudo resize2fs /dev/vda will do.

This worked for me, thanks a lot!


[ADP-2585] resubmissions for new submissions store

factor out resubmission act into a new DbPendingTxs field
add implementation for the new submissions store based on a composition of its operations

[ADP-2585]

bors r+


Enqueue Export Channel w/ Celery

Use Celery with Redis as a broker to parallelize calls to exportchannel management command when users "publish" from the channel edit page.
-Added an optional flag to exportchannel management command for --email which is a boolean (default false) but if set true will send an email to all editors and viewers of the channel.
-Changed the modal prompt after publishing a channel to say the channel is processing and will send an email when it is done.
NOTE:
I didn't update the requirements.txt file because there was a lot of diff after I ran pip freeze on my environment, but the only two dependencies I remember installing were:
celery==4.1.0
redis==2.10.5
Not sure if it is good UX to be sending an email to all editors and viewers of a channel when the channel undergoes any change and gets published. I could imagine this to be very spamy
The pop-up modal here is (in my opinion) awkward with the wording and I'm not sure if the ID should still be included anymore since it is also sent in the email.

The email message looks something like this: (not sure if 'Content Workshop' is correct)

Can you add those two requirements as well? Usually the other extra ones are just dependencies of both.

Oh, and merge conflict!

Can you add a Makefile entry for running a worker? You can omit the dev settings entry, as that's set in production.

@aronasorman I fixed the merge conflicts and overrode the existing vagrantceleryworkers in Makefile because it appeared to be doing nothing to spawn a celery worker


kubectl kots install <app--channel> fails with default app and unstable channel

Description
Unable to run kubectl kots install <app--channel> following the getting started guide: https://docs.replicated.com/vendor/tutorial-installing-with-existing-cluster
Note that the app/release was created with the default files only and I am unable to start the admin console:
Enter the namespace to deploy to: dev4devs-unstable
  • Deploying Admin Console
    • Creating namespace ✓
    • Waiting for datastore to be ready ✓
Enter a new password to be used for the Admin Console: ••••••••••
    • Waiting for Admin Console to be ready ⠦Error: Failed to deploy: failed to deploy admin console: failed to wait for web: timeout waiting for deployment to become ready. Use the --wait-duration flag to increase timeout.

Environment

go 1.19.2
kind v0.16.0
k8s 1.25

Hello @camilamacedo86! This seems to indicate that some of the admin console resources failed to become ready during the installation.  Performing a kubectl describe on any of those resources may point to a root cause (feel free to share those outputs here).
Also, we have a Support Bundle utility that will collect this kind of information from the cluster automatically.  Here's a link to our docs for steps on how to generate one: https://docs.replicated.com/enterprise/troubleshooting-an-app#generating-a-bundle-using-the-cli.  If you do generate one, you can provide the generated .tar.gz archive here as well.

Hi @cbodonnell,
Thank you a lot for your time and attention 🙏  .
Following the outputs:
Note that I am creating a new app, a new release without any change just to test it out
The error is   Warning  FailedScheduling  3m9s  default-scheduler  0/1 nodes are available: 1 node(s) didn't match Pod's node affinity/selector. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling. and I have only 1 node, see:
$ kubectl get node
NAME                 STATUS   ROLES           AGE   VERSION
kind-control-plane   Ready    control-plane   11m   v1.25.2

I will troubleshoot to find out what node Affinity criteria which it is not matching.
$ kubectl describe node/kind-control-plane
Name:               kind-control-plane
Roles:              control-plane
Labels:             beta.kubernetes.io/arch=arm64
                    beta.kubernetes.io/os=linux
                    kubernetes.io/arch=arm64
                    kubernetes.io/hostname=kind-control-plane
                    kubernetes.io/os=linux
                    node-role.kubernetes.io/control-plane=
                    node.kubernetes.io/exclude-from-external-load-balancers=
Annotations:        kubeadm.alpha.kubernetes.io/cri-socket: unix:///run/containerd/containerd.sock
                    node.alpha.kubernetes.io/ttl: 0
                    volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp:  Wed, 26 Oct 2022 18:38:40 +0100
Taints:             <none>
Unschedulable:      false
Lease:
  HolderIdentity:  kind-control-plane
  AcquireTime:     <unset>
  RenewTime:       Wed, 26 Oct 2022 18:54:30 +0100
Conditions:
  Type             Status  LastHeartbeatTime                 LastTransitionTime                Reason                       Message
  ----             ------  -----------------                 ------------------                ------                       -------
  MemoryPressure   False   Wed, 26 Oct 2022 18:50:26 +0100   Wed, 26 Oct 2022 18:38:37 +0100   KubeletHasSufficientMemory   kubelet has sufficient memory available
  DiskPressure     False   Wed, 26 Oct 2022 18:50:26 +0100   Wed, 26 Oct 2022 18:38:37 +0100   KubeletHasNoDiskPressure     kubelet has no disk pressure
  PIDPressure      False   Wed, 26 Oct 2022 18:50:26 +0100   Wed, 26 Oct 2022 18:38:37 +0100   KubeletHasSufficientPID      kubelet has sufficient PID available
  Ready            True    Wed, 26 Oct 2022 18:50:26 +0100   Wed, 26 Oct 2022 18:39:03 +0100   KubeletReady                 kubelet is posting ready status
Addresses:
  InternalIP:  <IP_ADDRESS>
  Hostname:    kind-control-plane
Capacity:
  cpu:                5
  ephemeral-storage:  263899620Ki
  hugepages-1Gi:      0
  hugepages-2Mi:      0
  hugepages-32Mi:     0
  hugepages-64Ki:     0
  memory:             12249368Ki
  pods:               110
Allocatable:
  cpu:                5
  ephemeral-storage:  263899620Ki
  hugepages-1Gi:      0
  hugepages-2Mi:      0
  hugepages-32Mi:     0
  hugepages-64Ki:     0
  memory:             12249368Ki
  pods:               110
System Info:
  Machine ID:                 578f01a3d92a440cb41ce30c8209912c
  System UUID:                578f01a3d92a440cb41ce30c8209912c
  Boot ID:                    42edd258-91f0-4309-adac-b07363ee04fc
  Kernel Version:             5.15.49-linuxkit
  OS Image:                   Ubuntu 22.04.1 LTS
  Operating System:           linux
  Architecture:               arm64
  Container Runtime Version:  containerd://1.6.8
  Kubelet Version:            v1.25.2
  Kube-Proxy Version:         v1.25.2
PodCIDR:                      <IP_ADDRESS>/24
PodCIDRs:                     <IP_ADDRESS>/24
ProviderID:                   kind://docker/kind/kind-control-plane
Non-terminated Pods:          (11 in total)
  Namespace                   Name                                          CPU Requests  CPU Limits  Memory Requests  Memory Limits  Age
  ---------                   ----                                          ------------  ----------  ---------------  -------------  ---
  kube-system                 coredns-565d847f94-dknfs                      100m (2%)     0 (0%)      70Mi (0%)        170Mi (1%)     15m
  kube-system                 coredns-565d847f94-k87xs                      100m (2%)     0 (0%)      70Mi (0%)        170Mi (1%)     15m
  kube-system                 etcd-kind-control-plane                       100m (2%)     0 (0%)      100Mi (0%)       0 (0%)         15m
  kube-system                 kindnet-d5r2m                                 100m (2%)     100m (2%)   50Mi (0%)        50Mi (0%)      15m
  kube-system                 kube-apiserver-kind-control-plane             250m (5%)     0 (0%)      0 (0%)           0 (0%)         15m
  kube-system                 kube-controller-manager-kind-control-plane    200m (4%)     0 (0%)      0 (0%)           0 (0%)         15m
  kube-system                 kube-proxy-jxv2h                              0 (0%)        0 (0%)      0 (0%)           0 (0%)         15m
  kube-system                 kube-scheduler-kind-control-plane             100m (2%)     0 (0%)      0 (0%)           0 (0%)         15m
  local-path-storage          local-path-provisioner-684f458cdd-9qv5n       0 (0%)        0 (0%)      0 (0%)           0 (0%)         15m
  test-python                 kotsadm-minio-0                               50m (1%)      100m (2%)   100Mi (0%)       512Mi (4%)     15m
  test-python                 kotsadm-postgres-0                            100m (2%)     200m (4%)   100Mi (0%)       200Mi (1%)     15m
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource           Requests     Limits
  --------           --------     ------
  cpu                1100m (22%)  400m (8%)
  memory             490Mi (4%)   1102Mi (9%)
  ephemeral-storage  0 (0%)       0 (0%)
  hugepages-1Gi      0 (0%)       0 (0%)
  hugepages-2Mi      0 (0%)       0 (0%)
  hugepages-32Mi     0 (0%)       0 (0%)
  hugepages-64Ki     0 (0%)       0 (0%)
Events:
  Type    Reason                   Age                From             Message
  ----    ------                   ----               ----             -------
  Normal  Starting                 15m                kube-proxy
  Normal  NodeHasSufficientMemory  16m (x5 over 16m)  kubelet          Node kind-control-plane status is now: NodeHasSufficientMemory
  Normal  NodeHasNoDiskPressure    16m (x5 over 16m)  kubelet          Node kind-control-plane status is now: NodeHasNoDiskPressure
  Normal  NodeHasSufficientPID     16m (x4 over 16m)  kubelet          Node kind-control-plane status is now: NodeHasSufficientPID
  Normal  Starting                 15m                kubelet          Starting kubelet.
  Normal  NodeAllocatableEnforced  15m                kubelet          Updated Node Allocatable limit across pods
  Normal  NodeHasSufficientMemory  15m                kubelet          Node kind-control-plane status is now: NodeHasSufficientMemory
  Normal  NodeHasNoDiskPressure    15m                kubelet          Node kind-control-plane status is now: NodeHasNoDiskPressure
  Normal  NodeHasSufficientPID     15m                kubelet          Node kind-control-plane status is now: NodeHasSufficientPID
  Normal  RegisteredNode           15m                node-controller  Node kind-control-plane event: Registered Node kind-control-plane in Controller
  Normal  NodeReady                15m                kubelet          Node kind-control-plane status is now: NodeReady

Following all outputs:
$ kubectl get all -n test-python
NAME                          READY   STATUS    RESTARTS   AGE
pod/kotsadm-d74669fc9-rpj7r   0/1     Pending   0          2m20s
pod/kotsadm-minio-0           1/1     Running   0          2m46s
pod/kotsadm-postgres-0        1/1     Running   0          2m46s

NAME                       TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)    AGE
service/kotsadm            ClusterIP   <IP_ADDRESS>   <none>        3000/TCP   2m20s
service/kotsadm-minio      ClusterIP   <IP_ADDRESS>     <none>        9000/TCP   2m45s
service/kotsadm-postgres   ClusterIP   <IP_ADDRESS>    <none>        5432/TCP   2m45s

NAME                      READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/kotsadm   0/1     1            0           2m20s

NAME                                DESIRED   CURRENT   READY   AGE
replicaset.apps/kotsadm-d74669fc9   1         1         0       2m20s

NAME                                READY   AGE
statefulset.apps/kotsadm-minio      1/1     2m46s
statefulset.apps/kotsadm-postgres   1/1     2m46s

$ kubectl describe pod/kotsadm-d74669fc9-rpj7r -n test-python
Name:             kotsadm-d74669fc9-rpj7r
Namespace:        test-python
Priority:         0
Service Account:  kotsadm
Node:             <none>
Labels:           app=kotsadm
                  kots.io/backup=velero
                  kots.io/kotsadm=true
                  pod-template-hash=d74669fc9
Annotations:      backup.velero.io/backup-volumes: backup
                  pre.hook.backup.velero.io/command: ["/backup.sh"]
                  pre.hook.backup.velero.io/timeout: 10m
Status:           Pending
IP:
IPs:              <none>
Controlled By:    ReplicaSet/kotsadm-d74669fc9
Init Containers:
  schemahero-plan:
    Image:      kotsadm/kotsadm-migrations:v1.88.0
    Port:       <none>
    Host Port:  <none>
    Args:
      plan
    Limits:
      cpu:     100m
      memory:  100Mi
    Requests:
      cpu:     50m
      memory:  50Mi
    Environment:
      SCHEMAHERO_DRIVER:     postgres
      SCHEMAHERO_SPEC_FILE:  /tables
      SCHEMAHERO_OUT:        /migrations/plan.yaml
      SCHEMAHERO_URI:        <set to the key 'uri' in secret 'kotsadm-postgres'>  Optional: false
    Mounts:
      /migrations from migrations (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-vvrx9 (ro)
  schemahero-apply:
    Image:      kotsadm/kotsadm-migrations:v1.88.0
    Port:       <none>
    Host Port:  <none>
    Args:
      apply
    Limits:
      cpu:     100m
      memory:  100Mi
    Requests:
      cpu:     50m
      memory:  50Mi
    Environment:
      SCHEMAHERO_DRIVER:  postgres
      SCHEMAHERO_DDL:     /migrations/plan.yaml
      SCHEMAHERO_URI:     <set to the key 'uri' in secret 'kotsadm-postgres'>  Optional: false
    Mounts:
      /migrations from migrations (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-vvrx9 (ro)
  restore-db:
    Image:      kotsadm/kotsadm:v1.88.0
    Port:       <none>
    Host Port:  <none>
    Command:
      /restore-db.sh
    Limits:
      cpu:     1
      memory:  2Gi
    Requests:
      cpu:     100m
      memory:  100Mi
    Environment:
      POSTGRES_PASSWORD:  <set to the key 'password' in secret 'kotsadm-postgres'>  Optional: false
    Mounts:
      /backup from backup (rw)
      /tmp from tmp (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-vvrx9 (ro)
  restore-s3:
    Image:      kotsadm/kotsadm:v1.88.0
    Port:       <none>
    Host Port:  <none>
    Command:
      /restore-s3.sh
    Limits:
      cpu:     1
      memory:  2Gi
    Requests:
      cpu:     100m
      memory:  100Mi
    Environment:
      S3_ENDPOINT:           http://kotsadm-minio:9000
      S3_BUCKET_NAME:        kotsadm
      S3_ACCESS_KEY_ID:      <set to the key 'accesskey' in secret 'kotsadm-minio'>  Optional: false
      S3_SECRET_ACCESS_KEY:  <set to the key 'secretkey' in secret 'kotsadm-minio'>  Optional: false
      S3_BUCKET_ENDPOINT:    true
    Mounts:
      /backup from backup (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-vvrx9 (ro)
Containers:
  kotsadm:
    Image:      kotsadm/kotsadm:v1.88.0
    Port:       3000/TCP
    Host Port:  0/TCP
    Limits:
      cpu:     1
      memory:  2Gi
    Requests:
      cpu:      100m
      memory:   100Mi
    Readiness:  http-get http://:3000/healthz delay=10s timeout=1s period=10s #success=1 #failure=3
    Environment:
      SHARED_PASSWORD_BCRYPT:     <set to the key 'passwordBcrypt' in secret 'kotsadm-password'>              Optional: false
      AUTO_CREATE_CLUSTER_TOKEN:  <set to the key 'kotsadm-cluster-token' in secret 'kotsadm-cluster-token'>  Optional: false
      SESSION_KEY:                <set to the key 'key' in secret 'kotsadm-session'>                          Optional: false
      POSTGRES_PASSWORD:          <set to the key 'password' in secret 'kotsadm-postgres'>                    Optional: false
      POSTGRES_URI:               <set to the key 'uri' in secret 'kotsadm-postgres'>                         Optional: false
      POD_NAMESPACE:              test-python (v1:metadata.namespace)
      POD_OWNER_KIND:             deployment
      API_ENCRYPTION_KEY:         <set to the key 'encryptionKey' in secret 'kotsadm-encryption'>  Optional: false
      API_ENDPOINT:               http://kotsadm.test-python.svc.cluster.local:3000
      API_ADVERTISE_ENDPOINT:     http://localhost:8800
      S3_ENDPOINT:                http://kotsadm-minio:9000
      S3_BUCKET_NAME:             kotsadm
      S3_ACCESS_KEY_ID:           <set to the key 'accesskey' in secret 'kotsadm-minio'>  Optional: false
      S3_SECRET_ACCESS_KEY:       <set to the key 'secretkey' in secret 'kotsadm-minio'>  Optional: false
      S3_BUCKET_ENDPOINT:         true
      HTTP_PROXY:
      HTTPS_PROXY:
      NO_PROXY:                   kotsadm-postgres,kotsadm-minio,kotsadm-api-node
      KOTS_INSTALL_ID:            xxxxxxxxxx
    Mounts:
      /backup from backup (rw)
      /tmp from tmp (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-vvrx9 (ro)
Conditions:
  Type           Status
  PodScheduled   False
Volumes:
  migrations:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:     Memory
    SizeLimit:  <unset>
  backup:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
  tmp:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
  kube-api-access-vvrx9:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   Burstable
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason            Age   From               Message
  ----     ------            ----  ----               -------
  Warning  FailedScheduling  3m9s  default-scheduler  0/1 nodes are available: 1 node(s) didn't match Pod's node affinity/selector. preemption: 0/1 nodes are available: 1 Preemption is not helpful for scheduling.

See as well the report with troboolshoting (but that does not bring any new/helpful info):
$ cat /Users/camilamacedo/support-bundle-results.txt
Check PASS
Title: Required Kubernetes Version
Message: Your cluster meets the recommended and required versions of Kubernetes

------------
Check PASS
Title: Container Runtime
Message: A supported container runtime is present on all nodes

------------
Check FAIL
Title: Pod test-python/kotsadm-c668dc485-f7vdv status
Message: Status: Pending

------------
Check FAIL
Title: test-python/kotsadm Deployment Status
Message: The deployment test-python/kotsadm has 0/1 replicas

------------
Check FAIL
Title: test-python/kotsadm-c668dc485 ReplicaSet Status
Message: The replicaset test-python/kotsadm-c668dc485 is not ready

------------
Check PASS
Title: Node status check
Message: All nodes are online.

------------
camilamacedo@Camilas-MacBook-Pro ~/tmp $

Hi @camilamacedo86, I believe the following could be the issue (from the describe node):
System Info:
  Machine ID:                 578f01a3d92a440cb41ce30c8209912c
  System UUID:                578f01a3d92a440cb41ce30c8209912c
  Boot ID:                    42edd258-91f0-4309-adac-b07363ee04fc
  Kernel Version:             5.15.49-linuxkit
  OS Image:                   Ubuntu 22.04.1 LTS
  Operating System:           linux
  Architecture:               arm64

The kotsadm deployment has a node affinity applied so that it will only be scheduled on linux os and will not be scheduled on arm64 architecture (see this spot in the code).  If you would like, you can edit the deployment and remove this, but I cannot guarantee that things will work since we don't support this combination at this time.
The support bundle command should have also generated a .tar.gz archive.  This will contain lots of information about the cluster and it's resources that will assist with troubleshooting.
I hope this is helpful!

Hi @cbodonnell,
Thank you for your help to understand the issue.
About support arm64
It seems that it will not work out by removing the tolerant criteria, see: https://github.com/replicatedhq/kots/issues/896. It shows that the for we are able to support arm64 the images used must also be built for arm64.
Therefore, I open a new issue for it: (RFE) https://github.com/replicatedhq/kots/issues/3360
Also, I am prosing we add the info into the README for now so that we can avoid others facing the same, see: https://github.com/replicatedhq/kots/pull/3362/files
Node Affinity criteria also seem that would not work on kind by default
I believe that after solving that I might fail on another issue as well. See that when I change the kind for 3 nodes I faced the warning FailedScheduling 71s default-scheduler 0/3 nodes are available: 1 node(s) had untolerated taint {node-role.kubernetes.io/control-plane: }, 3 node(s) didn't match Pod's node affinity/selector. preemption: 0/3 nodes are available: 3 Preemption is not helpful for scheduling. which seems to come from: https://github.com/replicatedhq/kots/blob/c597a4aebbf5caead94419b860c3d2311146d702/pkg/kurl/join_cert.go#L208-L229
Then, note that kind nodes do not have the label node-role.kubernetes.io/master which would also make it fail. So, to see if we could also change that to allow kots to work on vendors like the kind I created the issue: https://github.com/replicatedhq/kots/issues/3361
About support bundle command should have also generated a .tar.gz archive
I could find it really thank you. But, in this case, that does seem too much help either. I mean, by knowing that arm64 is not supported then we can know the reason for the problem but it has not a check like "validate cluster platform".


Track last-written LSN in a more fine-grained fashion, for bulk updates

One lesson we've learned from the prefetching work is that the prefetching is not effective for VACUUM, when wal_log_hints=on. We have it turned off in captest and prodcution, so that's fine. However, for the same reason, I believe the prefetching is ineffective for bulk UPDATEs and DELETEs. And VACUUM if it had some real work to do.The reason is that when you're doing a bulk update, where you scan a table sequentially and dirty every page, you are evicting dirty pages and reading pages close to each other. For example, if the ring buffer is 32 buffers, you will evict page 100, then read page 132, then evict 101, read 133, and so forth. But the "chunk size" in the last-written LSN cache is 8 MB, so every eviction updates the last-written LSN  of the same chunk as what you're reading. That causes the prefetched buffers to be thrown away.That could be an issue even without prefetching. It causes every GetPage request to use a very recent LSN, which could cause unnecessary waits in the pageserver, to wait for the recent WAL to arrive.
To fix that, we could track the last-written LSN in a more fine-grained fashion, for individual pages. For example, for the last 1000 least-recently evicted pages.

Seems similar to this bug https://github.com/neondatabase/neon/issues/2585 but the duplicate requests I'm seeing are for the same LSN. Is it possible that maintaining the last written LSN doesn't completely solve it? I'll try to write a test that uses the read trace.


fix #59: wrong language displayed

The 'en' key was used twice in the instructions objects for a couple of levels. The second use was the Czech translation for those levels. This pull request fixes that.

Commit message obviously referred to the wrong issue. Should have been #59.

Thanks for the fix!


NullReferenceException when setting ManipulationHandler.ConstraintOnRotation early

Describe the bug
For some application we have to add the ManipulationHandler component via code, when proceeding to set the necessary property values a NullReferenceException is thrown when setting ConstraintOnRotation.
Looking at the source a null check seems to be missing as there is just a couple lines further down for the UseLocalSpaceForConstraint property.
To reproduce
Steps to reproduce the behavior:

Add ManipulationHandler via script
Immediately set ConstraintOnRotation to some value
Observe exception being thrown

Expected behavior
No exception being thrown and constraint being set successfully.
Your setup (please complete the following information)

Unity 2020.3.6f1
MRTK 2.7.2

Target platform (please complete the following information)

HoloLens 2

Additional context
This might be a duplicate of #7463, I could not understand what kind of exception was happening in that issue or whether this was only an Android issue. This one is cross-platform.

Hi there @hermann-noll ! I wanted to check to make sure this issue is actually about ManipulationHandler, as we've deprecated this class and completely replaced it with ObjectManipulator. At this time, we won't be making any improvements or fixes to ManipulationHandler because it's been entirely subsumed by the new + improved ObjectManipulator.
If it's possible, I'd recommend migrating to ObjectManipulator as soon as possible, and see if your issue is resolved.

Migrating did help with that bug ( and some other shortcoming with constraints).
Nevertheless it would have been an easy fix whilst ManipulationHandler is still available and advertised (in the docs)


sct_image: -copy-header should use -o as output file

Closes #2505

Oups I broke the interface without changing the tests. On it.


ML 4.1: Introduction to RL: Definition and Types (V)

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

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

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

Changes should be made inside the Machine Learning/Machine_Learning/Reinforcement_Learning Branch.

Follow Contributing Guidelines & Code of Conduct before start Contributing.

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

✅ To be Mentioned while taking the issue :

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

[ ] Video

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

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

@Isha307
I want to work on this issue
I am from ML batch 1

@Isha307 Please add a hacktoberfest label after assigning me this issue

@PurviBhoyar21 One issue at a time.


removes shlex and uses the argparse built-in solution

Looks good. I wasn't aware of argparse's Remainder, but that looks like a better parser than shlex


Remove the custom deploy stuff for moq-pub.

It should be in a separate repo/image.
@englishm if you have a chance, could you also move the fly stuff into a separate repo/image? I think this repo should just provide compiled binaries without deploy/cloud gunk included.
 That doesn't make any sense to be included in a generic moq-rs image, as it's very specific to the hosting in GCP.


Serialize LocalDateTime to string always. Fixes #284

is this compatible with jackson?

yes it is what Jackson does

Jackson does support also serializing LocalDateTime into a two dimension array of numbers, but it seems kind of pointless & niche to me to support that


Windows Line Endings throws "No such file or directory" during Execution

If the ScriptArtifact contains windows line endings the execution throws the following error.
�[36mengine-ia-jdk8_1        |�[0m sudo: unable to execute /virtual-Raspberry-Software-Minimal_w1-wip1.csar/artifacttemplates/http%253A%252F%252Fwww.example.org%252Ftosca%252Fartifacttemplates/virtual-ECU-Software-Configure_configure-w1-wip1/files/configure.sh: No such file or directory

The error is missleading since the file actually exists but bash can not process it correctly.
We need to discuss how to mitigate this problem.
We could clean the script before execution using e.g. sed -i -e 's/\r$//' scriptname.sh.
This only applies to shell scripts.
What is about Python scripts etc.
See https://stackoverflow.com/a/39527986 for more information.
We could improve logging so that its clear during debugging that the file actually exists and that the problem might indicate a line endings problem.
We could warn the user in winery that the uploaded script has windows line endings.
What do you think?

Git can be configured to use the correct line endings even on windows with a .gitattributes file in the repository (https://www.git-scm.com/docs/gitattributes#_end_of_line_conversion). The winery could automatically create such a file if it is missing.

We decided to add a dos2unix transformation when transfering the file to the target.


fastlane init --skip-itc ?

New Issue Checklist

[y] Updated fastlane to the latest version
[y] I have read the [Contribution Guidelines]

Issue Description
When running fastlane init, it forces to create an iTC item. Is it an intended behaviour? I think it makes sense to create only AppID and hold up with creating iTC item (for apps intended only for enterprise deployment, for example).
Complete output when running fastlane, including the stack trace and command used
[00:43:28]: Detected iOS/Mac project in current directory...
[00:43:28]: This setup will help you get up and running in no time.
[00:43:28]: fastlane will check what tools you're already using and set up
[00:43:28]: the tool automatically for you. Have fun!
[00:43:28]: Created new folder './fastlane'.
[00:43:29]: $ xcodebuild -showBuildSettings -project ./FastlaneTest2.xcodeproj
[00:43:30]: Your Apple ID (e.g. fastlane@krausefx.com<EMAIL_ADDRESS>[00:43:41]: Verifying that app is available on the Apple Developer Portal and iTunes Connect...
[00:43:41]: Starting login with user<EMAIL_ADDRESS>
+----------------+--------------------------------------+
|                    Detected Values                    |
+----------------+--------------------------------------+
| Apple ID       |<EMAIL_ADDRESS>                   |
| App Name       | FastlaneTest2                        |
| App Identifier | com.xxx.FastlaneTest2            |
| Project        | /Users/adam/Documents/xcode/Project  |
|                | s/FastlaneTest2/FastlaneTest2.xcode  |
|                | proj                                 |
+----------------+--------------------------------------+

[00:43:51]: This app identifier doesn't exist on iTunes Connect yet, it will be created for you
[00:43:51]: This app identifier doesn't exist on the Apple Developer Portal yet, it will be created for you
[00:43:51]: Please confirm the above values (y/n)
n
[00:44:05]: Falling back to manual onboarding
[00:44:05]: App Identifier (com.krausefx.app):

Environment

✅ fastlane environment ✅

### Stack

| Key                         | Value                                       |
| --------------------------- | ------------------------------------------- |
| OS                          | 10.12                                       |
| Ruby                        | 2.2.4                                       |
| Bundler?                    | false                                       |
| Git                         | git version 2.11.0 (Apple Git-81)           |
| Installation Source         | ~/.fastlane/bin/bundle/bin/fastlane         |
| Host                        | Mac OS X 10.12 (16A323)                     |
| Ruby Lib Dir                | ~/.fastlane/bin/bundle/lib                  |
| OpenSSL Version             | OpenSSL 1.0.2g  1 Mar 2016                  |
| Is contained                | true                                        |
| Is homebrew                 | false                                       |
| Is installed via Fabric.app | false                                       |
| Xcode Path                  | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version               | 8.3.2                                       |

### System Locale

| Variable | Value       |   |
| -------- | ----------- | - |
| LANG     | en_US.UTF-8 | ✅ |
| LC_ALL   | en_US.UTF-8 | ✅ |
| LANGUAGE | en_US.UTF-8 | ✅ |

### fastlane files:

**No Fastfile found**

**No Appfile found**

### fastlane gems

| Gem      | Version | Update-Status |
| -------- | ------- | ------------- |
| fastlane | 2.36.0  | ✅ Up-To-Date  |

### Loaded fastlane plugins:

**No plugins Loaded**

Loaded gems

| Gem                       | Version      |
| ------------------------- | ------------ |
| CFPropertyList            | 2.3.5        |
| addressable               | 2.5.1        |
| babosa                    | 1.0.2        |
| bigdecimal                | 1.2.6        |
| bundler                   | 1.14.6       |
| claide                    | 1.0.1        |
| colored                   | 1.2          |
| colored2                  | 3.1.2        |
| commander-fastlane        | 4.4.4        |
| domain_name               | 0.5.20170404 |
| dotenv                    | 2.2.0        |
| excon                     | 0.55.0       |
| faraday                   | 0.12.1       |
| faraday-cookie_jar        | 0.0.6        |
| faraday_middleware        | <IP_ADDRESS>     |
| fastimage                 | 2.1.0        |
| gh_inspector              | 1.0.3        |
| google-api-client         | 0.9.28       |
| googleauth                | 0.5.1        |
| highline                  | 1.7.8        |
| http-cookie               | 1.0.3        |
| httpclient                | 2.8.3        |
| hurley                    | 0.2          |
| io-console                | 0.4.3        |
| json                      | 1.8.1        |
| jwt                       | 1.5.6        |
| libxml-ruby               | 3.0.0        |
| little-plugger            | 1.1.4        |
| logging                   | 2.2.2        |
| memoist                   | 0.15.0       |
| mime-types                | 3.1          |
| mime-types-data           | 3.2016.0521  |
| mini_magick               | 4.5.1        |
| minitest                  | 5.4.3        |
| multi_json                | 1.12.1       |
| multi_xml                 | 0.6.0        |
| multipart-post            | 2.0.0        |
| nanaimo                   | 0.2.3        |
| nokogiri                  | 1.5.6        |
| os                        | 0.9.6        |
| plist                     | 3.2.0        |
| power_assert              | 0.2.2        |
| psych                     | 2.0.8        |
| public_suffix             | 2.0.5        |
| rake                      | 10.4.2       |
| rdoc                      | 4.2.0        |
| representable             | 2.3.0        |
| retriable                 | 2.1.0        |
| rouge                     | 1.11.1       |
| rubygems-update           | 2.5.2        |
| rubyzip                   | 1.2.1        |
| security                  | 0.1.3        |
| signet                    | 0.7.3        |
| slack-notifier            | 1.5.1        |
| sqlite3                   | 1.3.13       |
| terminal-notifier         | 1.7.1        |
| terminal-table            | 1.7.3        |
| test-unit                 | 3.0.8        |
| tty-screen                | 0.5.0        |
| uber                      | 0.0.15       |
| unf                       | 0.1.4        |
| unf_ext                   | <IP_ADDRESS>      |
| unicode-display_width     | 1.1.3        |
| word_wrap                 | 1.0.0        |
| xcodeproj                 | 1.4.4        |
| xcpretty                  | 0.2.6        |
| xcpretty-travis-formatter | 0.0.4        |

*generated on:* **2017-06-06**

There is no such flag currently, but when you're asked if you want to create the app, you can just say no 👍


Switch main repository branch from master to main

Description of the bug:

Reproduction Steps:

Error Log:

Environment:

Framework Version:
OS:

Other:

This is :bug: Bug Report

Keep


chore(main): release 0.1.22

Auto generated release
0.1.22 (2024-06-28)
Continuous Integration

merge lint and static analysis workflow to a dedicated ci workflow (#74) (e7d5e6d)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.1.22
:sunflower:


Installation problem

Steps to reproduce the problem:
I'm trying to install mitmproxy for the first time. I'm following the instructions in the README. I get an error when executing dev.sh.
./dev.sh
Creating dev environment in venv using Python
New python executable in /home/michael/git/mitmproxy/venv/bin/python
Installing setuptools, pip, wheel...done.
Command "/home/michael/git/mitmproxy/venv/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-6zqJFA/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-cxdZr7-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/michael/git/mitmproxy/venv/include/site/python2.7/cffi" failed with error code 1 in /tmp/pip-build-6zqJFA/cffi/

Operating System: Ubuntu 16.04
Python version:
python --version
Python 2.7.11+

pip version:
pip --version
pip 8.1.2 from /usr/local/lib/python2.7/dist-packages (python 2.7)

Nevermind, my intention is to simply use the program, not contribute changes. The instructions [here] (http://docs.mitmproxy.org/en/stable/install.html) seem to be working. I suspect I was missing some libraries which had to be apt-get installed.
It wasn't obvious to me from the README that a casual user of the program should refer to the mitmproxy.org docs =/


⚠ Secret Website 3 has degraded performance

In b63bf32, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 27828 ms

Resolved: Secret Website 3 performance has improved in 69da83e.


Use shellcheck on Bash completion file

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

#11086

Review period will end on 2021-04-13 at 00:00:00 UTC.

@nandahkrishna Thanks made the necessary changes. Can you try testing now?

Thanks @GauthamGoli. It seems fine now.
My understanding right now is – if someone were to make a change in bash.erb, their workflow would be somewhat complicated as they'd have to run brew man and brew style, fix changes in bash.erb and commit the changes after running brew man. Is this right and is there a way to make this simpler?

Yes, that seems to be the way to do it.

@MikeMcQuaid Which versions of bash do we support? I tested this out on the latest version only.

@GauthamGoli Whatever version ships with macOS (3.x) and whatever version brew install bash installs.

Review period ended.

Great work, thanks @GauthamGoli!


Google Drive SDK OAuth2 doesn't remember account selection

If a user has several accounts in their Google, the Account Choose window appears and the user has to choose an account everytime the web is refreshed as it doesn't remember which account the user chose previously.
I have managed to make an OAuth2 authentication using these codes and the configurations guided from here
this.authenticate = function(){
    gapi.load('client:auth2',authorize);
}
function authorize(){
    gapi.client.setApiKey(API_KEY);
    gapi.auth2.init({
        client_id: CLIENT_ID,
        scope: SCOPES
    }).then(function(authResult){
        var auth2 = gapi.auth2.getAuthInstance();
        auth2.signIn().then(afterSignIn);
    });
}
function afterSignIn(){
    console.log('authenticated successfully');
    $rootScope.authenticated = true;
    gapi.client.load('drive', 'v3',function(){
        $rootScope.$broadcast('authenticated');
    });
}

I have tried these options of GoogleAuth.signIn():
auth2.signIn({
            'prompt': '**promtOption**'
  })...

none : it doesn't authenticate
login: does the same as select_account
consent: does the same as select_account, it additionally asks for offline use permission...
select_account: same problem as signing in without options
How can I make the program remember the user selection?

@phuwin when gapi.auth2 initializes, it will automatically load the previously signed in user. If you call signIn, this is expected that the user is prompted to select an account. Also, you should call signIn synchronously after a user interaction (such as a click) otherwise some browsers will block the popup.
Please refer to the doc for more information: https://developers.google.com/identity/sign-in/web/listeners

Closing this bug as working as intended.


feat!: flow cli for  distributed

I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
What's changed and what's your intention?
Add command line options for flownode, but didn't add FrontendInvoker for it now since PR size is alreay too large
Please explain IN DETAIL what the changes are in this PR and why they are needed:
Summary

Breaking change: make all cli option no longer accept metasrv-addr as option but only metasrv-addrs(docs change at https://github.com/GreptimeTeam/docs/pull/1030)
refactor FlownodeBuilder
add cli options for flownode
impl flownode build for flownode cli options

NOTE: flownode service is still not working, since the FrontendInvoker is not yet set, so the flow's computing result will not be send back to frontend yet, this is planned in a future PR
Checklist

[ ] I have written the necessary rustdoc comments.
[ ] I have added the necessary unit tests and integration tests.
[x] This PR requires documentation updates.

Summary by CodeRabbit

New Features

Enhanced error handling with new error variants for starting and shutting down servers, initializing meta clients, and parsing addresses.
Improved heartbeat functionality with new start and shutdown methods.

Refactor

Renamed key structures and constants for better clarity and alignment with new functionality (e.g., FlownodeManager to FlowWorkerManager).
Updated server setup and initialization logic.

Enhancements

Reorganized import statements and updated field structures for better code maintainability.
Modified command line arguments for the runner environment for better configuration flexibility.

Good job! After this PR, can we add some integration tests for flow into tests-integration?

Will add some tests&docs update after impl FrontendInvoker and make flownode actually runnable in next PR