Unlimited Recording and External Power?

Hello,
Thank you very much for the app development. Unlimited recording is quite useful.
One question, in my testing, I noticed that my RX100 IV and RX10 II can record unlimited with a battery in place, but if I use a dummy battery or USB power the cameras revert back to 30 min.
Is there a way to enable unlimited recording time while using external power?
Thanks!

Hello,
I just wanted to follow up on this.  Does anybody else see this behavior?
I do not know how much hacking is taking place but is there a way to get extended video record times while on USB power or using a dummy battery?  Sorry for being clueless!!

Where do u get the external power / dummy battery from ?

Hello,
I am using this from Ebay with a USB battery.  The USB has to have a 2.0 amp output to get unlimited record time.
NP-BX1 camera usb power adapter cable + DK-X1 dc coupler for Sony DSC-RX1 RX100 | eBay
|
|
|
|   $ 11.88   |    |
|
|
|
|    |
NP-BX1 camera usb power adapter cable + DK-X1 dc coupler for Sony DSC-RX1 R...
FOR Sony DSC-RX100, Sony Cybershot DSC-RX100, Sony Cybeshot RX100. FOR Sony DSC-RX100 II, Sony Cybershot DSC-RX1...  |   |
|
|
  From: Elvin Tan<EMAIL_ADDRESS>
To: ma1co/OpenMemories-Tweak<EMAIL_ADDRESS>Cc: Bassman2003<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Sent: Tuesday, April 11, 2017 2:36 AM
Subject: Re: [ma1co/OpenMemories-Tweak] Unlimited Recording and External Power? (#137)
Where do u get the external power / dummy battery from ?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Update django-oauth-toolkit to major version 3

Fixes

Fixes #3199 by @krysal
Description

Updates django-oauth-toolkit.
The migrations are part of changes present in major version 3. See the release notes for details.
Testing Instructions

CI should pass.
Checklist

[x] My pull request has a descriptive title (not a vague title likeUpdate index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[N/A] I added or updated tests for the changes I made (if applicable).
[N/A] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.
[N/A] I ran the DAG documentation generator (ov just catalog/generate-docs for catalog
PRs) or the media properties generator (ov just catalog/generate-docs media-props
for the catalog or ov just api/generate-docs for the API) where applicable.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@krysal there isn't, but I figure if it's an issue in the library, it doesn't make much sense for us to test it (we'd be testing the library)... unless you believe it's a problem with our integration of the library instead?


Catching an exception in sendbroadcast if service unexpectedly becomes u...

Regarding issue #59
Commit 9235325bcfa45fb2ab12733f4f705ec0c8c02f3e

@mrapitis we are starting to follow the GitFlow Workflow, which requires feature branches to be merged into the develop branch of the main project.  This PR is attempting to be merged into master, which is supposed to only contain releases.  Here's a good picture explaining the merge process.

Please re-create this PR and request to merge into develop instead of master.


Bare-bones example notebook

Added a new notebook that does a really simple test. The test is repeated using the same configuration in a .yaml file, because I noticed that could be done from looking at the code, but I'd never tried it before. It wasn't totally clear to me how to weave this notebook into the rest of the documentation, so that's the only change I made.

closing in favor of https://github.com/axiom-data-science/ioos_qc/pull/10


WIP: issue-3: changing logging to output to stderr

Tested:
$ NOMAD_ADDR=http://localhost:4646 SINK_TYPE=stdout ./build/nomad-firehose-darwin-amd64 nodes > /dev/null
INFO[0000] Trying to acquire leader lock
INFO[0000] Lock acquired
INFO[0000] Restoring Last Change Time to 0
INFO[0010] Writing lastChangedTime to KV: 6
^CINFO[0014] Caught signal, releasing lock and stopping...
INFO[0014] [sink/stdout] ensure writer queue is empty (0 messages left)
INFO[0014] Writing lastChangedTime to KV: 6
$ NOMAD_ADDR=http://localhost:4646 SINK_TYPE=stdout ./build/nomad-firehose-darwin-amd64 nodes 2> /dev/null
$ # no output
closes #3

Done
On Wed, Sep 6, 2017 at 1:36 PM, Christian Winther<EMAIL_ADDRESS>wrote:

@jippi commented on this pull request.
In main.go
https://github.com/seatgeek/nomad-firehose/pull/4#discussion_r137242057:

@@ -103,6 +103,7 @@ func main() {
log.Fatal(err)
}
log.SetLevel(level)

           log.SetOutput(os.Stderr)

can you go fmt the file so indentation is correct?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/seatgeek/nomad-firehose/pull/4#pullrequestreview-60881697,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABFW9SQwOKwZT0qUAmHzJoRcatXoH3Axks5sfoPWgaJpZM4POMID
.

Thank you! :)

np!
On Wed, Sep 6, 2017 at 2:33 PM, Christian Winther<EMAIL_ADDRESS>wrote:

Thank you! :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/seatgeek/nomad-firehose/pull/4#issuecomment-327469075,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABFW9b5-TYxBaHn4CXwyaFJoPxQLt6SKks5sfpEzgaJpZM4POMID
.


Error using ES i18n

Uncaught TypeError: Parsley.addMessages is not a function trying to use es.js

You must be using the corresponding release. Current one is 2.2.0-rc4.

Noticed, sorry. :flushed:


Tarball-build versioning

A couple of things came up when looking into the latest Mono tarball build with @directhex. I think these patches make sense in mainline.

Obsoleted by #4318


A question about training code

Dear author, I found the following characters missing when running the training code"from perlin_numpy import generate_fractal_noise_2d",Could you tell me where I can find this?thank you very much！

Apologies - I couldn't find that line originally - This is a python module stored online https://github.com/pvigier/perlin-numpy.
Should you wish to use the perlin alternative, you can pip install that module.
However I would recommend using the simplex alternative - I am in the process of pushing a commit which removes that module


Update create-file-share.md

Changed a couple of incorrect Azure AD sentences to AD.

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


[AIRFLOW-2568] Azure Container Instances operator

Add an operator to create a Docker container in Azure Container
Instances. Azure Container Instances hosts a container and abstracts
away the infrastructure around orchestration of a container service.
Operator supports creating an ACI container and pull an image from Azure
Container Registry or public Docker registries.
This PR takes the great work @NielsZeilemaker did with #3467 and fixes it to work
with the latest Azure SDK as well as adding an example DAG and some
minor correlating fixes.
Make sure you have checked all steps below.
Jira

[X] My PR addresses the following Airflow Jira issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-2568
In case you are fixing a typo in the documentation you can prepend your commit with [AIRFLOW-XXX], code changes always need a Jira issue.

Description

[X] Here are some details about my PR, including screenshots of any UI changes:
An Azure Container Instances operator which allows you to run/monitor containers on ACI

Tests

[X] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[X] My commits all reference Jira issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[X] In case of new functionality, my PR adds documentation that describes how to use it.

When adding new operators/hooks/sensors, the autoclass documentation generation needs to be added.

Code Quality

[X] Passes flake8

Codecov Report

Merging #4121 into master will decrease coverage by <.01%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master    #4121      +/-   ##
==========================================
- Coverage   77.52%   77.51%   -0.01%
==========================================
  Files         199      199
  Lines       16235    16238       +3
==========================================
+ Hits        12586    12587       +1
- Misses       3649     3651       +2

Impacted Files
Coverage Δ

airflow/utils/db.py
33.33% <0%> (-0.27%)
:arrow_down:

airflow/models.py
92.12% <100%> (-0.04%)
:arrow_down:

airflow/security/utils.py
26.92% <0%> (-2.71%)
: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 9c93eaa...eabb070. Read the comment docs.

Removed extra line and rebased onto master so it is all up to date. Thanks @Fokko

Apologies for the bad iteration after splitting out the files @Fokko . Everything should be up to date now and I have verified the docs are updated and verified the scenario works end-to-end. Let me know if there is anything else (particularly with the one remaining unresolved comment)

Noticed there were some merge conflicts in integration.rst since last week so I fixed that and pushed again

Flaky tests caused a build failure, could somebody with write access restart the job that failed? It passed in our forked repo so doesn't look like a code failure:
https://travis-ci.org/cse-airflow/incubator-airflow/builds/459789200
Otherwise I can close and re-open PR or rebase again once there are new commits

Rebased again to get a new build. @Fokko, please take a look when you get a chance, hope it is ready to go. Thanks!


dimensions not showing properly

i entered the following data in my product settings:
length 300
wide 150
height 100
but i get this output, seems like length is not being outputted correctly:
dimensions: 150.00x150.00x100.00 cm
edit: found the bug, fixed and commited it

Easy fix here: https://github.com/concrete5-community-store/community_store/commit/5d55455fdf79abe44a541072fa304ad33f136fc8


DSA <IP_ADDRESS> finding roots by newton's method

Description
Find the root of a number using Newton’s method
Task

[ ] Audio
[ ] Video
[ ] Documentation

Note

While requesting the issue to be assigned, please mention your NAME & BATCH NUMBER.
Mention the type of contribution you want to make.
Kindly refer to the Issue Guidelines.
Do not use the assign command for this issue. Follow the above procedure.
In case you see that the issue has already been assigned, try to request a different task within the same issue.
Changes should be made inside the DSA/directory & DSA branch.
Name of the file should be the same as the issue.
This issue is only for 'GWOC' contributors of the 'DSA' Domain.

Domain
DSA
Type of Contribution
Audio, Video, Documentation
Code of Conduct

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

I am Eswari Priya . I belong to dsa batch-2. I'd like to contribute to this issue via documentation. Pls assign this to me @vikhyatsingh123

Hey @vikhyatsingh123, I would like to work on this issue. Can you please assign me this issue.'
Name: Hassan Rahim
Batch: DSA Batch-2
Type: Documentation

/assign

/assign


clone url fixed

Changed somebee/imba.io.git to imba/imba.io

This has been resolved in https://github.com/imba/imba.io/pull/61
If you are looking for more issues to work on checkout these links
https://github.com/imba/imba/issues?q=is%3Aissue+is%3Aopen+label%3Ahacktoberfest
https://github.com/imba/imba.io/issues?q=is%3Aissue+is%3Aopen+label%3Ahacktoberfest
Thanks.

Hey @scanf can you please delete this request as I am making prs for hacktoberfst, this is getting counted in it.

I have added a Hacktoberfest label to your merged pull request.
I think that should be enough to see https://github.com/imba/imba.io/pull/61
The comment is fine as is so don’t see any need to delete it. If I misunderstood you feel free to link me to some official page that explains this.
Thanks.

hey @scanf what I am saying is, this closed pr is also counting in my hacktoberfest account, so how do I remove it? Since I accidentally requested twice for the same issue.

Ah, I see. Unfortunately I don’t have anyway to delete it. The normal workflow is to close the pull request and as far as I can see deleting a pull request is not supported.
You can ask GitHub<EMAIL_ADDRESS>if it’s important to you.


chore: refactors / cleans up code

In this PR we have applied several cleanup tasks suggested by an automated code analysis. This were the tasks done:

Moves C style array declaration to Java style (int name[] to int[] name)
Uses StandardCharset.UTF_8 instead of literal String "UTF-8"
Removes redundant toString() calls
Removes static modifiers from enums. Removes private modifier from enum constructors
Removes redundant modifiers from interfaces
Removes unnecessary semicolons
Removes redundant method throw clauses
Removes redundant calls to close methods
Optimises class imports
Removes dangling javadoc comment
Removes javadoc self-references
Refactors long literals (from 1l to 1L)
Removes octal integers
Simplify arithmetic expressions
Fixes malformed String.format calls
Removes ignored method call assignments
Compare Strings using .equals instead of ==
Simplifies test assertions
Removes redundant calls to String.format
Removes explicit types in diamond operators
Uses try with resources where possible
Replaces if block with switch statement
Uses enhanced for loop
Removes unnecessary boxing
Removes unnecessary unboxing
Refactors to use map.computeIfAbsent where possible

@olavloite sorry for the big PR, got carried away. This will be easier to review if we check each commit (they are self contained)


inline_diff_auto_scoll option should be inline_diff_auto_scroll

Looks like a typo. I have corrected it.
Thanks for reporting it.


Compose key not working on linux

The compose key is just ignored and the letters are being typed as is. Usually when you would input for example <compose> t m it would insert ™ but in osu it just types t and then m without composing.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Is this thing actually used by anyone?

Could you test with the latest osu version?

ah thanks for the reminder. Works now, nice


Trying to Run DotNetCoreTest using Nunit results in an error when test fails

What You Are Seeing?
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
X Test1 [38ms]
Stack Trace:
at Exercise.Tests.Tests.Test1() in E:[folder]\test\Exercise.Tests\UnitTest1.cs:line 20
Test Run Failed.
Total tests: 1
Failed: 1
Total time: 1.0561 Seconds
An error occurred when executing task 'Tests'.
Error: System.AggregateException: One or more errors occurred. (.NET Core CLI: Process returned an error (exit code 1).)
---> Cake.Core.CakeException: .NET Core CLI: Process returned an error (exit code 1).
at Cake.Core.Tooling.Tool1.ProcessExitCode(Int32 exitCode) in C:\projects\cake\src\Cake.Core\Tooling\Tool.cs:line 136    at Cake.Core.Tooling.Tool1.Run(TSettings settings, ProcessArgumentBuilder arguments, ProcessSettings processSettings, Action1 postAction) in C:\projects\cake\src\Cake.Core\Tooling\Tool.cs:line 121    at Cake.Common.Tools.DotNetCore.DotNetCoreTool1.RunCommand(TSettings settings, ProcessArgumentBuilder arguments) in C:\projects\cake\src\Cake.Common\Tools\DotNetCore\DotNetCoreTool.cs:line 64
at Cake.Common.Tools.DotNetCore.Test.DotNetCoreTester.Test(String project, DotNetCoreTestSettings settings) in C:\projects\cake\src\Cake.Common\Tools\DotNetCore\Test\DotNetCoreTester.cs:line 48
at Cake.Common.Tools.DotNetCore.DotNetCoreAliases.DotNetCoreTest(ICakeContext context, String project, DotNetCoreTestSettings settings) in C:\projects\cake\src\Cake.Common\Tools\DotNetCore\DotNetCoreAliases.cs:line 589
at Cake.Common.Tools.DotNetCore.DotNetCoreAliases.DotNetCoreTest(ICakeContext context, String project) in C:\projects\cake\src\Cake.Common\Tools\DotNetCore\DotNetCoreAliases.cs:line 527
at Submission#0.DotNetCoreTest(String project) in :line 926
at Submission#0.<>b__0_3() in E:[folder]\test\build.cake:line 34
at Cake.Core.CakeTaskBuilderExtensions.<>c__DisplayClass29_0.b__0(ICakeContext context) in C:\projects\cake\src\Cake.Core\CakeTaskBuilder.Execution.cs:line 26
at Cake.Core.CakeTaskBuilderExtensions.<>c__DisplayClass32_0.b__0(ICakeContext x) in C:\projects\cake\src\Cake.Core\CakeTaskBuilder.Execution.cs:line 83
at Cake.Core.CakeTask.Execute(ICakeContext context) in C:\projects\cake\src\Cake.Core\CakeTask.cs:line 125
at Cake.Core.DefaultExecutionStrategy.ExecuteAsync(CakeTask task, ICakeContext context) in C:\projects\cake\src\Cake.Core\DefaultExecutionStrategy.cs:line 87
at Cake.Core.CakeEngine.ExecuteTaskAsync(ICakeContext context, IExecutionStrategy strategy, Stopwatch stopWatch, CakeTask task, CakeReport report) in C:\projects\cake\src\Cake.Core\CakeEngine.cs:line 336
at Cake.Core.CakeEngine.ExecuteTaskAsync(ICakeContext context, IExecutionStrategy strategy, Stopwatch stopWatch, CakeTask task, CakeReport report) in C:\projects\cake\src\Cake.Core\CakeEngine.cs:line 361
at Cake.Core.CakeEngine.ExecuteTaskAsync(ICakeContext context, IExecutionStrategy strategy, Stopwatch stopWatch, CakeTask task, CakeReport report) in C:\projects\cake\src\Cake.Core\CakeEngine.cs:line 369
at Cake.Core.CakeEngine.RunTask(ICakeContext context, IExecutionStrategy strategy, CakeTask task, String target, Stopwatch stopWatch, CakeReport report) in C:\projects\cake\src\Cake.Core\CakeEngine.cs:line 284
at Cake.Core.CakeEngine.RunTargetAsync(ICakeContext context, IExecutionStrategy strategy, ExecutionSettings settings) in C:\projects\cake\src\Cake.Core\CakeEngine.cs:line 247
at Cake.Scripting.BuildScriptHost.RunTargetAsync(String target) in C:\projects\cake\src\Cake\Scripting\BuildScriptHost.cs:line 47
at Cake.Core.Scripting.ScriptHost.RunTarget(String target) in C:\projects\cake\src\Cake.Core\Scripting\ScriptHost.cs:line 191
at Submission#0.<>d__0.MoveNext() in E:[folder]\test\build.cake:line 44
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.CodeAnalysis.Scripting.ScriptExecutionState.RunSubmissionsAsync[TResult](ImmutableArray1 precedingExecutors, Func2 currentExecutor, StrongBox1 exceptionHolderOpt, Func2 catchExceptionOpt, CancellationToken cancellationToken)
at Microsoft.CodeAnalysis.Scripting.Script1.RunSubmissionsAsync(ScriptExecutionState executionState, ImmutableArray1 precedingExecutors, Func2 currentExecutor, Func2 catchExceptionOpt, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Cake.Scripting.Roslyn.RoslynScriptSession.Execute(Script script) in C:\projects\cake\src\Cake\Scripting\Roslyn\RoslynScriptSession.cs:line 136
at Cake.Core.Scripting.ScriptRunner.Run(IScriptHost host, FilePath scriptPath, IDictionary`2 arguments) in C:\projects\cake\src\Cake.Core\Scripting\ScriptRunner.cs:line 219
at Cake.Commands.BuildCommand.Execute(CakeOptions options) in C:\projects\cake\src\Cake\Commands\BuildCommand.cs:line 41
at Cake.CakeApplication.Run(CakeOptions options) in C:\projects\cake\src\Cake\CakeApplication.cs:line 45
at Cake.Program.Main() in C:\projects\cake\src\Cake\Program.cs:line 81
What is Expected?
The test to simply fail without an error being shown
What version of Cake are you using?
0.38.4
Are you running on a 32 or 64 bit system?
64
What environment are you running on?  Windows? Linux? Mac?
Windows10
Are you running on a CI Server?  If so, which one?
no
How Did You Get This To Happen? (Steps to Reproduce)
dotnet new tool-manifest
dotnet tool install Cake.Tool --version=0.38.4
dotnet new console -o
mkdir .Tests
cd .Tests
dotnet new nunit
dotnot add ..//.csproj
then adding #tool nunit runner to build.cake
setting a test task using DotNetCoreTest
Output Log
dotnet --info
.NET Core SDK (reflecting any global.json):
Version:   3.1.402
Commit:    9b5de826fd
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.19041
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.1.402\
Host (useful for support):
Version: 3.1.8
Commit:  9c1330dedd
.NET Core SDKs installed:
3.1.402 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.8 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Test Run Failed.
Total tests: 1
Failed: 1
Total time: 1.0561 Seconds

The test is failing, which will cause NUnit runner to return non-zero exit code, which will cause Cake to throw an exception. This is expected behavior.
Depending on what kind of behavior you want, please take a look at Error handling or just wrap the NUnit call in a try...catch.
Closing this.


Bug which prevent update of site in netbox

Hi, we found a bug which prevent that the side id is updated when you use a custom attributes rule to set the site on netbox export.
The bug is located in the netbox syncer.py on line 264 to 267
            if key.startswith('nb_'):
                key = key[3:]
            if key in payload:
                payload[key] = custom_rules.get(key)

custom_rules contains the new site id with the key nb_site but the key variables is set to the value site at that point.
This has the effect, dass the site value from payload is removed.
Hope this is enough descriptions for the problem case.

Thank you very much for finding and reporting. It is fixed now.
The Problem was with the manual attributes, everybody else seams to have used the sync :)


BUG: Add email pattern verification in contact us page.

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?
The email input in contact us page takes all kinds of emails as input which can lead to data breach sql infections or other issues.
I want to add email pattern verification and improve security of the contact us form.

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@SUGAM-ARORA Please assign this issue to me, I want to work on it.

@saketh-05 Issue assigned to you


python3Packages.Pyro4: Fix tests on darwin

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 108253 1

Result of nixpkgs-review pr 108253 1

This wasn't actually ready as the nixpkgs-review still hangs.

This wasn't actually ready as the nixpkgs-review still hangs.


Fix spaceless in amqp.html.twig for Twig 3

i have an error message: "Unexpected "spaceless" tag (expecting closing tag for the "block" tag defined near line 18)."

I agree the best solution is to just have no space between the span and img element in the first place.

Fixed in #57. Can be closed.


Fix crash in main, line 7

Version: 1.7.0 (2015.02.19) | net.artsy.artsy
Stacktrace
-;main;main.m;7
Reason
No reason found. Full stack trace includes QuartzCore, IOMobileFramebuffer, IOKit, CoreFoundation, GraphicsServices, UIKit, libdyld.dylib.
Link to HockeyApp

https://rink.hockeyapp.net/manage/apps/37029/crash_reasons/29284599

Not seen in 1.8.0


Frontend module

Thanks, I will review and merge on Tuesday. Please feel free to commit or make changes to the pull request as necessary in the meantime. Good work!

Ok, will do !!


Remove encryption elements that are not used

Except for the ones used for DRM already in use in WebM.

wrong repo :-P


H.264 raw data filter

Is there a way to get the raw data directly(I mean H.264).
Code with C# is better.
Because it costs too much to draw YUV or RGB.
If I can get the raw data, I can do it with DXVA2.
Sorry for bad English.

No it's not possible, the Google code doesn't offer direct access to compressed data.


update used gh actions ahead of node12 deprecation

Please merge this update today! node 12 support dropping tomorrow and these version updates to Github Actions get ahead of that. Resolves RELENG-144

Does not need to be backported.  It is just standardizing how we tag.


Add 8BITMIME support

Q
A

Bug fix?
no

New feature?
yes

Doc update?
no

BC breaks?
no

Deprecations?
no

Fixed tickets

License
MIT

It is not permitted to sent 8-bit content over plain SMTP. The 8BITMIME SMTP extension makes this.
This PR adds a new SMTP handler that adds support for 8BITMIME. This handler should be used e.g. when using Swift_Mime_ContentEncoder_PlainContentEncoder in 8bit mode.

Looks interesting. Can you add docs for this new feature?

I have added some documentation.
Also, I introduced a new alias, mime.textcontentencoder, to make it easier to switch the encoder.
I have added transport.8bitmimehandler as default SMTP handlers. I must admit that I don't know the full impact of adding this (and transport.smtputf8handler). Not all SMTP servers support transcoding, if a message is received from Swift Mailer using these extensions and should be delivered to a downstream server that does not support these. However, as long as the email itself does not contain 8-bit characters in the body and address, respectively, the server should be able to just ignore the presence of these extensions. But I don't know if some servers might simply reject the message (the RFC allows that).
So I guess the conservative position for a library such as Swift Mailer should be to omit these from the default configuration, so people can enable them explicitly, if their outbound SMTP server supports them including downgrading. Do you agree? In that case, I'll remove them.

I agree that we should be on the conservative side of things.

Done.

Thank you @c960657.


Roll engine 6675f71dfb22..f835789dd876 (1 commits)

https://github.com/flutter/engine/compare/6675f71dfb22...f835789dd876
git log 6675f71dfb22a0b4fdab6332e37843f78c33c9e6..f835789dd876ac419981ba4278b4ca7b48d4da70 --no-merges --oneline
f835789dd Roll src/third_party/skia d962070feb84..70d8f4f3acbb (1 commits) (flutter/engine#8405)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6508012775669760

Commit queue failed; closing this roll.


callbacks: Implement fsspec.callbacks

Resolves #668

I find the API of the callback objects confusing. I think it makes sense to have concrete methods:

Being able to delegate other objects' methods into a self-contained object is something that I find useful, especially considering the objective here (being able to support multiple plug in and out different implementations). I can observe that using strings when calling is a bit weird, and error-prone (typos) (but it is very unlikely that you will miss out this, since callbacks tend to be very interacted with the overall UI) but I'd prefer them over restricted methods in fsspec itself (since callbacks might vary depending on the filesystem).

set_size(func, args). Note that the length of a list/set/bytes is always fast, so I wonder where being lazy helps

For example you might want to make a set_size call on a cloud provider where you don't have immediate access to the object details, so you would waste an API call even if the hook is not set (the same goes to making a stat call). I'd agree on len() is cheap compared to others (e.g a stat call).

branch(path1, path2) ; I don't think we need the function too.

Would you mind expanding this further? branch() is very useful, and very simplifying for certain codepaths (e.g put/get) but is not a callback method, just a utility.

I assume you already have a tqdm callback in your code - can it be included? It should be possible to set the default callback to that instead of no-op. Or at least we should provide a dot-printing callback. If so, we need to try with all backends, to make sure we don't pass callback= to methods that don't expect it.

I don't think fsspec should display a progress bar by default. It would break a lot of assumptions about the side effects of those methods.

Quick answers:

Would you mind expanding this further? branch() is very useful, and very simplifying for certain codepaths

It feels like a method, since it introspects the callbacks attributes and compares to a specific value of the callback

I don't think fsspec should display a progress bar by default.

Sorry, that's not what I suggested; I thought we should provide the no-op callback and at least one more. The user should be able to specify which callback is the default using the config or even a function. They would now have to set the global module attribute.

It feels like a method, since it introspects the callbacks attributes and compares to a specific value of the callback

But it is not a callback by itself (as well as normalize_path), so I feel like they should be separated from the callback object. They are simply convenience utilities for filesystem developers.

Sorry, that's not what I suggested; I thought we should provide the no-op callback and at least one more. The user should be able to specify which callback is the default using the config or even a function. They would now have to set the global module attribute.

Right, it is a private variable now but we might make it part of the filesystem config to make it accessible by the users (maybe not on this PR directly, since it is huge as is).

@martindurant I've tried to address all the general points, let me know if there are any more comments (or directions that you want this patch take). I'd really love to pass this before 2021.7.0.

I think this is ready (except for the small conflict that's come up), I'll give it a once-over tomorrow, likely will merge.

So, I'm going to merge this now, as it doesn't have downsides for anyone. However, I think it needs a lot of documentation and examples for usage. How do we actually get a TDQM set of progress bars from this?
I also pushed alternative code for you to consider, along the lines of my previous comments. To my (possibly old-fashioned brain), my version seems a lot easier to understand.


didChangedWatchedFiles notifications lock up emacs on startup

I observed this in HLS <IP_ADDRESS>, but I'm pretty sure this is a ghcide issue, since this seems to be where we send the notifications.
When I start up a session in my (not ridiculously large) project, we send ~3k didChangedWatchedFiles notifications to the client. This locks up emacs completely until they are all processed, which it seems to do slowly, at a rate of ~10 responses a second (by tailing hie.log).
This is a pretty bad user experience. Clearly some of the fault is emacs' or lsp-mode's: 3k files to watch is really not that much, and I don't know how it's dealing with them so badly. Maybe we can do something upstream.
However, maybe we could do something to stress it out less. Some possibilities:

If the problem is large numbers of messages, we could debounce the notification queue and accumulate multiple watchers into a single didChangeWatchedFiles notification (it supports sending multiple watchers per notification). I suspect this would reduce the number of messages a lot.
If the problem is a large number of watchers, we might be able to use glob patterns to reduce the number of watchers a lot.

At least we seem to watch Foo.hs and Foo.lhs separately, which could be merged.
Doing <src>/**/*.hs for all the component's source folders might be an over-estimate, but it might be worth it if it's cheaper.

Try with ghcide HEAD, it should set much fewer watches

@michaelpj I think that lsp-mode indeed exacerbates it: the lsp--file-process-event function, which process each event created by a watcher, does a linear scan over the watchers (see the -any?) of each project to find out which workspaces are affected by the event.
Since I only use a single workspace, I removed the check and let my single workspace process it unconditionally:
(defun lsp--file-process-event (session root-folder event)
  "Process file event."
  (let* ((changed-file (cl-third event))
         (event-numeric-kind (alist-get (cl-second event) lsp--file-change-type)))
    (->>
     session
     lsp-session-folder->servers
     (gethash root-folder)
     (seq-do (lambda (workspace)
               (with-lsp-workspace workspace
                   (lsp-notify
                    "workspace/didChangeWatchedFiles"
                    `((changes . [((type . ,event-numeric-kind)
                                   (uri . ,(lsp--path-to-uri changed-file)))])))))))))

Without this change, ghcide + lsp-mode is unusably slow for me.

@mrBliss have you opened an issue with lsp-mode about this? It sounds like you've got a reasonable case there!

@mrBliss have you opened an issue with lsp-mode about this? It sounds like you've got a reasonable case there!

The reason I haven't is because I thought that mainly ghcide was to blame. If other language servers also created a watcher per file, other people surely must have encountered this problem when working on non-trivial projects.
Also, I don't immediately see how lsp-mode can fix it, if it still wants to forward the event only to the affected workspace. I think that letting ghcide watch <src>/**/*.hs for all the component's source folders, as you suggest, is a much easier solution.

The maintainers might have an idea! We should at least give them the opportunity to close it wontfix ;) At least it would be helpful to get a clear signal of "no really, don't do this", if that's the case.

I made an issue anyway, let's see what they say.

It doesn't seem to be better on newer versions of ghcide. Still getting lots of multi-minute hangs. Looking at the source, it looks like we're going to send a lot of messages in fileExistsFast: https://github.com/haskell/ghcide/blob/51907fe47a74308ff5c04f9eccd124d292bbaa5f/src/Development/IDE/Core/FileExists.hs#L143

I've noticed some further odd behaviour. It seems like if we look at a file <src1>/A/B.hs, we "look" in all the other source folders too, and send watch notifications for those too. So a single file lookup sends N notifications! Times 2 for the .lhs as well.
This renders emacs almost unusable for me after I've opened a few components.

That is how it works indeed. To resolve imported modules, ghcide has to consider all the possible locations where that module could exist, including all the import dirs and file extensions.
This is because Cabal/Stack cradles provide module targets that do not identify the path to the module. If you are lucky enough to be using a Bios cradle then do make sure to provide file targets; ghcide is smart enough to register only one watcher per file in most cases.
Changing the current behaviour to watch entire folders instead of specific files should be relatively easy to do, but it's not something I am planning to work on since my editor can handle the current behaviour with no problem at all.

Changing the current behaviour to watch entire folders instead of specific files should be relatively easy to do

Could you leave a few bullet points saying what you would likely try here? I might give it a go.

You will need to modify the GetFileExists rule, which lives in https://github.com/haskell/ghcide/blob/master/src/Development/IDE/Core/FileExists.hs
The current implementation registers a watcher the first time it is called for a file F.
You want to replace that with a workspace-wide watcher for the file extensions in https://github.com/haskell/ghcide/blob/master/src/Development/IDE/Types/Options.hs#L61
The workspace-wide watcher should probably be registered by fileExistsRules


RFE improve CLI clarity for obtain and publish images

I think that the current CLI lacks clarity between the pull and publish tasks
To obtain content I would run oc-mirror --config imageset.yaml file://output-dir but no where does this command say that I'm obtaining.
To publish content to a mirror I would run oc-mirror --from ./output-dir/file.tar registry:5000 but the command doesn't indicate what task I'm doing.
If the intention is to have obtain and publish as two separate tasks then we could make things a lot clearing by using CLI arguments for example:
oc-mirror obtain --config imageset.yaml  --dest file://output-dir
oc-mirror publish --source ./output-dir/file.tar --dest registry:5000
Additionally, why is the destination for obtaining images have the prefix file://.... but the prefix is not needed for publishing?
Thanks

@SDBrett Thanks for your comment! We have a requirement to support mirror to mirror use cases which is why we changed the UX to an oc-mirror [DEST] format. We are trying to change the perception from create and publish phases to mirroring to and from sources and destinations. For example, mirror to disk, mirror registry to registry, mirror from disk to registry. Are you suggesting we change the destination argument to a flag to clear up some confusion?

Only thing I would add here is that oc-mirror is a plug-in to oc, so the command would be executed as oc mirror --config path/to file://path/to/output. when called as a plug-in, mirror becomes the command verb.

https://github.com/openshift/oc-mirror/issues/183

Thanks for the info, I think the perception is playing a big part here as my view was obtain (or download) to as a cache, not mirrored to disk


LHN - Thread does not stay bold in LHN after marking message unread in thread

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.2-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4675159
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:

Open the app and log in
Open a thread with several messages from LHN or create one
Mark a message as unread
Navigate to the LHN

Expected Result:
The thread is bold in the LHN until it is opened again
Actual Result:
The thread is displayed bold briefly and gets read
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/cc68f6ae-f331-477f-80ec-c4e5e687b2bd

View all open jobs on GitHub
Issue OwnerCurrent Issue Owner: @akinwale

@kevinksullivan I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

We think this issue might be related to the  #vip-vsb

I have tested this on latest 9.0.2-4 and its not repro anymore.

https://github.com/Expensify/App/assets/36083550/18a7daae-bf4f-4cc4-a275-0a2600b0407b
Asked the QA team to retest but removing the blocker label https://expensify.slack.com/archives/C9YU7BX5M/p1719508587392919

Issue is fixed.
https://github.com/Expensify/App/assets/43996225/21e114e1-ddfa-4871-a0c4-0ca2374f0405

Thanks!


Unknown named parameter $sandbox

Hello! Have issue with adapter.
craftcms/cms: "4.5.10"
PHP 8.1.5 (cli) (built: Apr 12 2022 17:38:57) (ZTS Visual C++ 2019 x64)
Exception 'Error' with message 'Unknown named parameter $sandbox'.

What version of symfony/mailjet-mailer do you have in your composer.lock?

@boboldehampsink I am seeing the same error with symfony/mailjet-mailer locked at v6.0.19.

php: 8.2
craftcms/cms: 4.5.10
robuust/craft-mailjet: 1.0.4
symfony/mailjet-mailer: 6.0.19

Can you update symfony/mailjet-mailer? It must be at least version 6.3


Conflicting information

The prerequisite section of this documentation states that the subject name of the domain controller certificate should be the distinguished name, but the example domain controller template has this set to none. Which is the correct advice?

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

ID: 800b8090-65a9-da9f-a930-1f80dc9f2c2d
Version Independent ID: b4495b6a-4ca5-7aa1-7964-ef6e19275c4e
Content: Configure Hybrid Azure AD joined key trust Windows Hello for Business - Windows security
Content Source: windows/security/identity-protection/hello-for-business/hello-hybrid-key-whfb-settings-pki.md
Product: m365-security
GitHub Login: @mapalko
Microsoft Alias: mapalko

Investigation is needed

Hello @moderor ,
both will work, subject is optional there, DNS as SAN is mandatory.
I will create PR to fix it.
Thank you


Opacity resolves to 1% in production build

🐞 bug report
Affected Package

 I am not sure but I guess somewhere in the build process.
Is this a regression?

 Yes, the previous version in which this bug was not present was: 8.3.26
Description
 When building the application in production mode an element with an opacity of 95% is rendered as one with an opacity of 1%. In dev mode the opacity remains 95%. This happens when using scss for styling.
🔬 Minimal Reproduction

 https://stackblitz.com/edit/angular-issue-repro2-iglae5?file=src%2Findex.html

🔥 Exception or Error

 No warnings or errors are logged or shown.

🌍  Your Environment
Angular Version:

Angular CLI: 9.1.1
Node: 12.8.1
OS: win32 x64

Angular: 9.1.1
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.901.1
@angular-devkit/build-angular     0.901.1
@angular-devkit/build-optimizer   0.901.1
@angular-devkit/build-webpack     0.901.1
@angular-devkit/core              9.1.1
@angular-devkit/schematics        9.1.1
@ngtools/webpack                  9.1.1
@schematics/angular               9.1.1
@schematics/update                0.901.1
rxjs                              6.5.5
typescript                        3.8.3
webpack                           4.42.0

Also on:

Angular CLI: 9.0.7
Node: 12.8.1
OS: win32 x64

Angular: 9.0.7
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.900.7
@angular-devkit/build-angular      0.900.7
@angular-devkit/build-ng-packagr   0.900.7
@angular-devkit/build-optimizer    0.900.7
@angular-devkit/build-webpack      0.900.7
@angular-devkit/core               9.0.7
@angular-devkit/schematics         9.0.7
@angular/cdk                       9.1.3
@angular/material                  9.1.3
@ngtools/webpack                   9.0.7
@schematics/angular                9.0.7
@schematics/update                 0.900.7
ng-packagr                         9.0.3
rxjs                               6.5.4
typescript                         3.7.5
webpack                            4.42.1

Anything else relevant?

Hi @mrVanderWel,
On production build the css optimiser (cssnano) is rounding up the number to 1, which isn't correct. Since 95% is a valid value as per https://developer.mozilla.org/en-US/docs/Web/CSS/opacity
Please contact the author(s) of the cssnano project or file an issue on their issue tracker.


Update bot-builder-enterprise-template-deployment.md

Updated to latest deployment steps

@darrenj


NextLS crashes when booting

I am getting the following error when the NextLS server tries to initialize:
** (Mix.Error) Hex dependency resolution failed
    (mix 1.15.2) lib/mix.ex:577: Mix.raise/2
    (mix 1.15.2) lib/mix/dep/converger.ex:141: Mix.Dep.Converger.all/4
    (mix 1.15.2) lib/mix/dep/converger.ex:74: Mix.Dep.Converger.converge/4
    (mix 1.15.2) lib/mix/dep/fetcher.ex:16: Mix.Dep.Fetcher.all/3
    (mix 1.15.2) lib/mix/tasks/deps.get.ex:34: Mix.Tasks.Deps.Get.run/1
    (mix 1.15.2) lib/mix/task.ex:447: anonymous fn/3 in Mix.Task.run_task/5
    (mix 1.15.2) lib/mix.ex:874: anonymous fn/5 in Mix.install/2
    (elixir 1.15.2) lib/file.ex:1624: File.cd!/2
[Error - 09:14:20] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 09:14:20] The NextLS server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 09:14:20] NextLS client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097
[Error - 09:14:20] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097

I am having this exact same error in two different computers and both in my day job and in the NextLS repository.

I completely removed the elixir-tools extension folder in VSCode and reinstalled it from scratch but the error persists.

Just adding a +1. Linux, nvim, elixir-tools.nvim 0.7.2.

From lsp.log
[ERROR][2023-08-09 11:44:02] .../vim/lsp/rpc.lua:734    "rpc"   "/home/tres/.local/share/nvim/lazy/elixir-tools.nvim/lua/elixir/../../bin/nextls"       "stderr"     "** (Mix.Error) Hex dependency resolution failed
    (mix 1.15.4) lib/mix.ex:577: Mix.raise/2
    (mix 1.15.4) lib/mix/dep/converger.ex:141: Mix.Dep.Converger.all/4
    (mix 1.15.4) lib/mix/dep/converger.ex:74: Mix.Dep.Converger.converge/4
    (mix 1.15.4) lib/mix/dep/fetcher.ex:16: Mix.Dep.Fetcher.all/3
    (mix 1.15.4) lib/mix/tasks/deps.get.ex:34: Mix.Tasks.Deps.Get.run/1
    (mix 1.15.4) lib/mix/task.ex:447: anonymous fn/3 in Mix.Task.run_task/5
    (mix 1.15.4) lib/mix.ex:881: anonymous fn/5 in Mix.install/2
    (elixir 1.15.4) lib/file.ex:1624: File.cd!/2"

So yesterday, mix install basically stopped working and I think this is related, but the condition has worsened.
In 0.8 I am now distributing pre built binaries, I am just still getting the editor extensions updated.
I have a PR open in the neovim plug-in and will be tackling the vscode extension today.

Oh, this is not related to it not working.
This is because I have made the 0.8 GitHub release but haven't published it to hex pm, because I'm not going to do that anymore.

@treshenry if you update elixir-tools.nvim to v0.8.0, it should work again. it will prompt you to install nextls and download a pre-built binary from the github release
@crbelaus i'm still working on updating the vscode plugin

Going to close this as it is fixed in NextLS, but i'll open another issue in the vscode plugin

Woot! Just updated elixir-tools.nvim to 0.8.1 (auto-pulled by Lazy) and got a small install prompt. Everything looks great so far! No crashes and a basic kick-the-tires seems good. Gold star for you! ⭐


CDN for swiftclick

I'm interested on generating a CDN for swiftclick at cdnjs.
I have created a Pull Request for that (#9329). However, in that Pull Request, reviewers suggested to discuss with you the possibility to deploy both, the non-minified (swiftclick.js) and the minified (swiftclick.min.js) versions of swiftclick to the js/dist folder in order to facilitate the CDN generation.
This is a brief explanation of commits included in this Pull Request:

In the package.json file,  I have added grunt-contrib-copy into devDependencies.
In the Gruntfile.js file, I have added the copy task which basically copies the js/libs/swiftclick.js file to the js/dist folder.
In the Gruntfile.js file, I have added the copy task to the deploy task

@huhgawz, I read the documentation for the cdnjs repo, which states that you can automatically update files based on an npm package. So in this case, you can submit a PR directly within the cdnjs repo and specify the files from SwiftClick's npm tarball that you'd like deployed to the CDN – without the need to change any files in the SwiftClick repo. You can find instructions on how to do this here: https://github.com/cdnjs/cdnjs/blob/master/documents/autoupdate.md

@munkychop: You are right. npm auto update is preferred over git auto update.
As the reviewers of the Pull Request #9329 suggest, it would be great to include the non-minified version of swiftclick (js/dist/swiftclick.js) as part of the published swiftclick npm package. Currently, it is not being included since the js/dist folder is being ignored within the .npmignore file.
Would you allow me to remove the js/dist line from the .npmignore file in order to be able to generate the CDN for swiftclick? I will of course revert commit 1bc0c05.

@munkychop: Thank you very much! I will let you know once the CDN for SwiftClick is ready to be used. You may want to include the CDN in the documentation.

@munkychop: https://cdnjs.com/libraries/swiftclick


bugfix:修复个人在项目下新建tab名称重复的问题

Codecov Report

Merging #487 (79ed023) into v2.6.x_develop (21f070d) will decrease coverage by 0.00%.
The diff coverage is 55.55%.

@@                Coverage Diff                 @@
##           v2.6.x_develop     #487      +/-   ##
==================================================
- Coverage           62.68%   62.67%   -0.01%
==================================================
  Files                 441      441
  Lines               27243    27260      +17
==================================================
+ Hits                17077    17086       +9
- Misses              10166    10174       +8

Impacted Files
Coverage Δ

itsm/project/serializers.py
88.23% <50.00%> (-7.60%)
:arrow_down:

itsm/ticket/managers.py
41.37% <50.00%> (+0.04%)
:arrow_up:

itsm/ticket/serializers/ticket.py
70.40% <100.00%> (+0.09%)
:arrow_up:

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 21f070d...79ed023. Read the comment docs.


D3D12: Unhandled exception when creating more than 64 samplers

Describe the bug
On D3D12, creating more than 64 samplers will throw an exception in DescriptorAllocatorD3D12::alloc() on line device->CreateSampler(&sd, cpuHandle);
To Reproduce
Steps to reproduce the behavior:

Create at least 65 different texture samplers
Launch with D3D12 renderer
See error

I've forked and edited example 6-bump to reproduce the issue (https://github.com/falia18/bgfx/tree/d3d12-sampler-crash-example)
Clone the project and switch to branch d3d12-sampler-crash-example
Launch example 6-bump with --d3d12 and crash will occur after ~20 frames.
Expected behavior
Sampler creation proceeds without exception.
Additional context
Tested on Windows 10 with both NVIDIA and AMD GPU

Did you test it in debug build?

Release and debug, both crash

I've had time to look a bit through the code and I suspect the problem comes from the fact that m_numDescriptorsPerBlock is initialized with BGFX_CONFIG_MAX_TEXTURE_SAMPLERS in RendererContextD3D12::init().
Not sure what 'm_numDescriptorsPerBlock` is supposed to do but if initialized at 1 it seems to work as intended.

https://github.com/falia18/bgfx/commit/ef42e58579ccfc48986f5ca297da37f45a2445af

@falia18 this is partial fix... I'm still working on proper fix.


fix bug.

Describe what this PR does / why we need it
fix bug
Does this pull request fix one issue?

Fixes #35
Describe how you did it
Describe how to verify it
Special notes for reviews

Could you please add some PR description?


#292: Improve bulk operations

#292

"Share" feature works.

Bulk tags modification feature is awesome


FFmpeg Custom Class Ffcc has some memory leaks

If you cycle threw videos and watch memory usage in Visual Studio you can see the spikes going up when it loads something new. And it not come back down all the way. A new instance is created every time a new video is played. So the old one is leaving something behind.

I think I fixed a bunch of these. Might be some small ones remaining.
One of the big ones was the MemoryStream I used for audio didn't seem get released from memory. The new way I do audio seems to be much better on memory. I think I'll close this for now.


Is there a way to re-render the calendar?

Hello,
I'm using Litepicker with Laravel-livewire. Long story short, I use lockDaysFilter to understand which days are bookable.
I have an async call modifying the data I'm checking in lockDaysFilter. It works perfectly if I click somewhere in the page after triggering the change.
I'm looking for a way to trigger a re-render programmatically so the calendar updated availabilities.
Thanks for your help

I'm still struggling to find a solution to this issue. Anyone has an idea ? Thanks

use clearSelection() method of lite-picker this way. It worked for me.
this.litepickerCalendar.clearSelection();


Nullable primitives on a model

This is more related to an issue with the Swagger spec itself (https://github.com/swagger-api/swagger-spec/issues/229) but I thought it would be important to track here too. Right now there's no difference between a required field and a nullable field. Let's say I have a model that looks like this
class Product
{
    [Required]
    public int ProductId {get;set;}

    [Required]
    public string ProductName {get;set;}

    public string Description {get;set;}

    [Required]
    public int? SomeSuperValidReasonThisFieldShouldBeNullableAndRequiredBesidesBadDesignThatImMarriedTo {get;set;}
}

The best way to do this would be have the nullable field be "type" : ["number","null"]but alas swagger doesn't support that.
Right now I'm adding in custom mapping in the swaggerconfig for each of the main nullables and praying no one else does anything weird in the project to require other value types to be exposed as a nullable and putting a vendor extension of "x-nullable"

Also misses it on parameters. For example:
[Route("{secretName:alpha}/{version:int?}")]
[HttpGet]
public Secret GetSecret([FromUri] string secretName, [FromUri] int? version = null)

Shows version as required even though it has a default set and its set as optional in the route.

I'm going to close this as it's a Swagger limitation. It's worth noting that in a separate thread I'm proposing the introduction of a separate package that extends Swashbuckle with vendor extensions that are required for client generators such as AutoRest - #776


Adjust "days"

I noticed something.
If I do timeago().format(new Date("2017-08-09 18:00")) (it is 2017-08-11 12:39 right now) I get 1 day ago. But in human terms, thats wrong. For me it was actually 2 days ago, even if it weren't 48 hours. If you say 1 day ago I assume that it was yesterday, not the day before late in the night.

The same could be true for months, if I use timeago().format(new Date("2017-06-11 18:00")) I get 1 month ago.

Close to two days, but less than two days, so it was a day ago.

I know that it is "technically correct" (which is the best kind of correct) but it feels wrong.
I have a small blog and noticed that even google says in one of my entries "6 days ago" while timeago only say "5 days ago".

There are some truths.
But Google's index time is quite special, Google through the crawler to obtain the published time is not necessarily accurate time.
In addition, we can refer to github, gitlab, Facebook or wechat, and how they do with it?

The google indexer can't find my page before it was published... I hope. so their date difference is either equal (if they use my metadata) or lower (if they use the first index time).
To your question, If I understand correctly you want to check how others implement it?
Here is githubs implementation: https://github.com/github/time-elements/blob/v0.6.1/time-elements.js#L150
It's kind of wanky and not accurate at all, they round to the nearest value. 36 hours = 2 days.

github used Math.round, include the star count of project.

So, what now?
Is this rejected? Is this on the todo list? (I'd try to implement it if you agree with the behavior change)

This is a huge change. We must be careful, or will affect the user which has been used it.
Need to vote for it.
1. Accurate calculation
This is the current mode.

time diff
formatted string

61 seconds
1 minute ago

110 seconds
1 minute ago

170 seconds
2 minute ago

2. Human calculation
@Nemo64 's thoughts.

time diff
formatted string

61 seconds
1 minute ago

90 seconds
2 minutes ago

181 seconds
3 minutes ago

Means: when time diff >= n * 60 * 1.5, then formatted string will be n+1 minutes ago, or wil be n minutes ago.

Everyone can write your thoughts or just vote for 1 or 2. Thank you.

Can we implement this not by remaking current behavior, but by adding a new option to constructor to have ability to switch between formats?

I think it also can be solved by adding corresponding locale files. Every locale has access to diff, index, and total_sec. I think these data is enough to change returned time intervals. @Nemo64 Am I right?

@likerRr I honestly don't know, I don't see how that would work. Or do you mean it should be implemented that way?
In this case I'd rather be for a useful default. I mean what am i deciding on when using this library? Fuzzy dates or slightly different fuzzy dates. I'd have to think about what I really want and how should I know? If you put an options there I suspect 99% of installations won't use it simply because they don't know or care about it. I had trouble finding good examples here and someone who is using this library won't stop and think 15 minutes about what kind of fuzzy dates he wants.
I'd definitely prefer one implementation only and that should be the superior one. Which one that is: my opinion should be clear but If it's the current implementation than im fine with that.

@Nemo64
It can be implemented by customized locales, but it is not the perfect way.
We can only choose one mode from Accurate calculation and Human calculation which is the most suitable for timeago , but no matter which one, all the locales maybe rewrite or review.
And which one to choose is not only by our decision, it will has great influence on all the users, so if there is no strong objection of most users, my opinion is to keep the status quo, and implement it by customized locales temporarily.

@Nemo64 I meant it can be implemented using locale files.
But, @hustcc I tried to implement it with locales and honestly we cant do it at least because in locales we don't know in which side "ago" or "in" diff is directed. So to solve this we should pass agoin variable to locales function too. In this case we would be able to use locales to customize displaying of dates like @Nemo64 wants.
The example of updated lib and expected by @Nemo64 behavior: https://jsbin.com/yepabawevu/6/edit?js,console
It's just an example of how it could be done and it doesn't mean that we should do it this way, because it leads to additional calculations which can be expensive in some cases.
The only thing I changed in original lib is:
// was
return locales[locale](diff, i, total_sec)[agoin].replace('%s', diff);

// becomes
return locales[locale](diff, i, total_sec, agoin).replace('%s', diff);

This change doesn't require changes in other locales.

@Nemo64 I meant it can be implemented using locale files.
But, @hustcc I tried to implement it with locales and honestly we cant do it at least because in locales we can't change resulting number. So to solve this we should pass agoin variable to locales function too. In this case we would be able to use locales to customize displaying of dates like @Nemo64 wants.
The example of updated lib and expected by @Nemo64 behavior: https://jsbin.com/jebozacewo/1/edit?js,console
It's just an example of how it could be done and it doesn't mean that we should do it this way, because it leads to additional calculations which can be expensive in some cases.
The only thing I changed in original lib is:
// was
return locales[locale](diff, i, total_sec)[agoin].replace('%s', diff);

// becomes
return locales[locale](diff, i, total_sec, agoin).replace('%s', diff);

This change DOES require to update all the other locales by adding agoin:
// was
const regularEn = (number, index, diff) => {
  return [
    ...
  ][index];
};

// will become
const regularEn = (number, index, diff, agoin) => {
  return [
    ...
  ][index][agoin];
};

@likerRr Function humanyfy is really black technology. ^_^
Move agoin  into locale function is reasonable. I do not know why the parameter agoin is treated differently.

Function humanyfy is really black technology. ^_^

haha, yeah, It just parses diff time to the state it was before passing to locales method.
Also I found that formula:

Means: when time diff >= n * 60 * 1.5, then formatted string will be n+1 minutes ago, or wil be n minutes ago.

is not accurate. We should compare diff time with the nearest period multiple n plus half of nearest period. Nearest period is a result of multiply of [60, 60, 24, 7, 365/7/12, 12]. So basically nearest period is a second(s) or minute(s) or hour(s) and so on, which is lower then diff time.
So for example. Diff time is 151 seconds (2 minutes, 31 seconds). Here we know that n is 2 (minutes). We should decide what to show to user: 2 or 3 minutes. Nearest period will be 60, because 60*60 from this table [60, 60, 24, 7, 365/7/12, 12] > 150. Then we multiply nearest period with n: 60 * 2 = 120. 120 is a bottom representation of current period (minutes). And finally we add half of period in order to get a mark after which we should display n+1: 120 + 60 / 2 = 150. If the diff is higher or equals to that number, then we should display n+1. The rest of magic just makes sure that index is within locales array.
I tried to explain it as how I see it. If you have better options share them with us :)

I feel like the problem is not about rounding the difference up or down but more about how that difference is calculated in the first place. The original issue and first few comments relate specifically to days, because this is the most obvious case.
Let's say that it is now 2pm on Monday 11 December, and that I published an article three days ago, on Friday 8 December at 5pm.
var friday5pm = new Date(2017, 11, 8, 17);
console.log(ago(friday5pm));
// => 2 days ago

In human terms, Friday is 3 days ago, but s-ago shows "2 days ago" because the time difference is lower than 3 * 24h.
Could the way around this be to recompute the time difference but with the end of today as the reference point (or the start of tomorrow)? So instead of doing Monday 11 December @ 2pm <minus> Friday 8 December @ 5pm, do Tuesday 11 December @ 00:00am <minus> Friday 8 December @ 5pm. You then end up with a time difference greater than 3 * 24h, so "3 days ago".
The algorithm required for this to work for all periods is not too difficult to imagine: going through each unit of time starting with seconds, round now to the start of the next unit period (e.g. for minutes: round 14h 30m 05s to 14h 31m 00s) and compute the difference; if the difference is greater than the next unit (e.g. for minutes, greater than 60 min), then continue to the next unit.
I'm probably missing some subtleties here, but I hope the idea makes sense.

I used the timeago.register() custom locale API to implement more UX-friendly output for various awkward times ago where the default behavior is lacking. This includes:

Counting days ago based on the day the datetime occurred on relative to the current day; e.g.. if the datetime is from Wednesday, and it’s currently Friday, it will show “2 days ago”, regardless of when during the day it was and when during the day on Friday it is. I believe this addresses @axelboc’s suggestion and the desired behavior of the original poster (@Nemo64)
Showing “_ days ago” for datetimes that are clearly more than 1 week ago and less than 2 weeks ago, i.e. 9-12 days ago
Rounding “13 days ago” up to “2 weeks ago”

I built a codepen project that includes a configureTimeago function that implements the custom locale against v3.0.2. I named the local 'ux' for demonstration purposes, but if you name it 'en' and don’t import any other locales, I believe it will become the defacto default locale for your project. The app.js file builds out fixtures to demonstrate the customized functionality and its variations from the default behavior (using timeago-react for the fixtures): https://codepen.io/acusti/project/editor/AVazpg

In case the codepen project is too confusing, here’s just the custom locale:
const SECONDS = 60;
const MINUTES = 60;
const HOURS = 24;
const SECONDS_IN_DAY = HOURS * MINUTES * SECONDS;

timeago.register('en', (number, index, total_sec) => {
    // Between 105s - 120s, round up to 2 minutes
    // Won’t work for already mounted components because won’t update between 60-120s
    if (index === 2 && total_sec >= 105) {
        return ['2 minutes ago', 'in 2 minutes'];
    }

    // 1-6 days ago should be based on actual days of the week (from 0:00 - 23:59)
    if (index === 6 || index === 7) {
        // Calculate seconds since midnight for right now
        const now = new Date();
        const secondsSinceMidnight =
            now.getSeconds() + (now.getMinutes() * SECONDS) + (now.getHours() * MINUTES * SECONDS);

        // Subtract seconds since midnight from total_sec, divide by seconds in a day, round down
        // Result is off-by-one number of days since datetime (unless time was at midnight)
        const daysFloored = Math.floor((total_sec - secondsSinceMidnight) / SECONDS_IN_DAY);
        // If time was at midnight (00:00), it will divide evenly with SECONDS_IN_DAY
        // That will make it count as from the previous day, which we do not want
        const remainder = (total_sec - secondsSinceMidnight) % SECONDS_IN_DAY;
        const days = remainder >= 1 ? daysFloored + 1 : daysFloored;
        const noun = days === 1 ? 'day' : 'days';
        return [`${days} ${noun} ago`, `in ${days} ${noun}`];
    }

    // For 9-12 days ago, Convert “1 week ago” to “__ days ago”
    // For 13 days, round it to “2 weeks ago”
    if (index === 8) {
        const days = Math.round(total_sec / SECONDS / MINUTES / HOURS);
        if (days > 8) {
            return days === 13
                ? ['2 weeks ago', 'in 2 weeks']
                : [`${days} days ago`, `in ${days} days`];
        }
    }

    return [
        ['just now', 'right now'],
        ['%s seconds ago', 'in %s seconds'],
        ['1 minute ago', 'in 1 minute'],
        ['%s minutes ago', 'in %s minutes'],
        ['1 hour ago', 'in 1 hour'],
        ['%s hours ago', 'in %s hours'],
        ['1 day ago', 'in 1 day'],
        ['%s days ago', 'in %s days'],
        ['1 week ago', 'in 1 week'],
        ['%s weeks ago', 'in %s weeks'],
        ['1 month ago', 'in 1 month'],
        ['%s months ago', 'in %s months'],
        ['1 year ago', 'in 1 year'],
        ['%s years ago', 'in %s years'],
    ][index];
});

I'll be bit harsh here. But IMO, only so called "Human calculation" make sense in context of timeago libraries. Only we human need such a shortcuts when reasoning about time. Computer do not care.
But it's loosing it's purpose when trying to be exactly correct aka Accurate calculation. Because it forces me to think again, that if day ago is actually 1 or 2 days ago.

Can be solved by customize locale.


refactor!: unify FrontendOptions and DatanodeOptions by using GrpcOptions

I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
As mentioned in the comment at https://github.com/GreptimeTeam/greptimedb/pull/3957#issuecomment-2126260152, try to unify FrontendOptions and DatanodeOptions by using GrpcOptions.
PTAL @zyy17 @sunng87
What's changed and what's your intention?

move GrpcOptions to servers/src/grpc
refactor DatanodeOptions

Checklist

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

Most of the changes are look good to me, except:

It's an breaking changes and it's worth for it? Or we should make it compatible?
The PR failed the fuzz tests;

Most of the changes are look good to me, except:
1. It's an **breaking changes** and it's worth for it? Or we should make it compatible?

2. The PR failed the fuzz tests;

Yes, this change  seems affect cluster communication, so Distributed fuzz tests failed. I haven't found a solution yet. 😂

Since many people may already set the old rpc_addr, we might still keep these options but mark them as deprecated.

Since many people may already set the old rpc_addr, we might still keep these options but notify users that they are deprecated.

Yes, I'm aware of this, but still exist some other questions for fuzz tests within distributed mode. I'll ping again when everything is ready.

Since many people may already set the old rpc_addr, we might still keep these options but notify users that they are deprecated.

Yes, I'm aware of this, but still exist some other questions for fuzz tests within distributed mode. I'll ping again when everything is ready.

I guess some of the fuzz tests use the old rpc options.

Hi, all, please take a look when you have some free time.

It's an breaking changes and it's worth for it? Or we should make it compatible?

This PR moves GrpcOptions to servers/src/grpc and refactors the gRPC-related configurations of DatanodeOptions. Additionally, I have tagged rpc_addr, rpc_runtime_size, rpc_hostname, and rpc_max_recv/send_message_size as deprecated fields, setting them to None by default and printing a warning if they are set (The execution result example can be found in the description). Moreover, if the old RPC options are set, we read them first for compatibility.

The PR failed the fuzz tests;

It has been resolved. I guess the distributed fuzz tests failed previously because they were not compatible with the greptimedb cluster version used by CI.


Can't run example - missing flutter_angle package

Hello,
Your package looks like a game changer for flutter!
I was trying to run example but I stuck on pub get - I throws out:
Because every version of three_js from path depends on three_js_math from path which depends on flutter_angle from path, every version of three_js from path requires flutter_angle from path.
So, because flutter_angle from path doesn't exist (could not find package flutter_angle at "../../../../flutter_angle") and example depends on three_js from path, version solving failed.

Where should I look to find flutter_angle package?

Hi @obiwanzenobi,
Sorry for the issue. You have one of three options.

download https://github.com/Knightro63/flutter_angle and place it in the same location you unzipped three_js.
Change the yaml in three_js/packages/three_js_math to

  flutter_angle:
    git:
      url: https://github.com/Knightro63/flutter_angle.git

I will probably publish this on pub by next Friday.

Hope this helps.


Too much text at higher zoom levels.

In cities, higher zoom of 17 for example can lead to masses of labels. Need to figure out some spacing, but how to discard some.
Classes of place labels seem to be "settlement" and "settlement_subdivision", but not a lot of other clues...ideally could do with a population or something to help decide.

Have added label collision. Has a slight bit of jitter when moving, deciding which labels to show, but it's pretty good. Needs a bit of a tweak to keep existing labels as priority.


Feature/typescript definitions/rebind typings

Limitation:
Does not support method overloading (which would be useful for d3 style getter-setters)
Current understanding
Overloaded method types in Typescript are equivalent to intersection of function types
To be determined:
Question: Is it possible to map component method signatures in an intersection to new signatures
Example:
class Source {
    ...
    aGetterSetterExample(): boolean;
    aGetterSetterExample(value: boolean): Source;
    aGetterSetterExample(value?: boolean): boolean | Source {
        if (typeof value === "boolean") {
            this._value = value;
            return this as Source;
        } else {
            return this._value
        }
    }
}

Can determine the output type based on parameter
Here we have
type GetterSetterType = Source['aGetterSetterExample'];

and which is equivalent to
type GetterSetterType = {
    (): boolean;
    (value: boolean): Source;
}

Intended goal: Map this to a type of the form
type GetterSetterType = {
    (): boolean;
    (value: boolean): Target;
}

This may actually be impossible given the current type script featureset
Existing utility types such as Parameters and ReturnType don't interact well with overloaded method signatures:
type GetterSetterParameters = Parameters<GetterSetterType>;

will produce
[value: boolean]

or
[]

depending on the ordering of the overloaded signatures (the last signature is always the one considered).
The behaviour is similar for ReturnType
This makes it difficult (possibly impossible?) to perform the mapping described above in the general case
Workaround
The current implementation relies on non-overloaded method signatures
The return type of the source method should be e.g.
boolean | Source

and the this would result in the return type of the rebound method being
boolean | Target

Update: It is possible to explicitly allow the d3-style getter-setter pattern, though this would prohibit more general rebinding patterns https://github.com/moxon6/d3fc/pull/2


Temporary Docker-CE install steps for Fedora 30

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit b32baf3ddaf8d2e799250afc2f30dbf328cc0984
https://deploy-preview-8833--docsdocker.netlify.com


Need doc clarifying changes to container images between versions

Description
There isn't a list of what changed in microsoft/nanoserver or microsoft/windowsservercore images between Windows Server 2016, Windows Server, version 1709, or future releases. We need a page clarifying any differences in roles or users that could help developers choose the right image.
Link to doc: https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/version-compatibility

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


qt linking issue

Version and Platform (required):

Binary Ninja Version: 2.4.2487-dev (if version is stable, please also test the latest development build via the "Update Channel" option)
OS: Mac OS X
OS Version: Ventura
CPU Architecture M1

Bug Description:
When trying to use BNGetTextLineInput I get this error upon starting binary ninja:
_Plugin module '/Users/p/Library/Application Support/Binary Ninja/plugins/libbreakpoint.dylib' failed to load
dlerror() reports: dlopen(/Users/p/Library/Application Support/Binary Ninja/plugins/libbreakpoint.dylib, 0x0006): Symbol not found: _Z21qt_handleTouchEventv2P7QWindowPK15QPointingDeviceRK5QListI11QEventPointE6QFlagsIN2Qt16KeyboardModifierEE
Referenced from:  /opt/homebrew/Cellar/qt/6.4.0/lib/QtWidgets.framework/Versions/A/QtWidgets
Expected in:     <614CB2E9-9EE8-3E10-80EA-E6B862655056> /Applications/Binary Ninja.app/Contents/Frameworks/QtGui.framework/Versions/A/QtGui
Steps To Reproduce:
Please provide all steps required to reproduce the behavior:
Using a plugin with BNGetTextLineInput
Expected Behavior:
I would expect the plugin to load.
Screenshots:
I don't think that's needed.
Additional Information:
I have QT 6.4 stable installed.
edit: I needed QT 6.3.1 for this to work..

It looks like this was resolved by using Qt 6.3.1? Going to close this for now as a result, but please feel free to reopen if you still need help with this issue.


Bump 0.20.8

Valgrind and Asan are failing, and I don't have enough time to fix it before this bump. I'd rather go with it and revisit the failing pipelines later.


Fuse loops

https://github.com/llvm/llvm-project/blob/main/llvm/lib/Transforms/Scalar/LoopFuse.cpp

Is this different from #90 ?

Duplicate of #90


Notebook diff: cell font does not match usual font

diff:

font-family: Menlo, Monaco, "Courier New", monospace;
font-weight: normal;
font-size: 12px;

normal:

font-family: "Fira Code", Menlo, Monaco, "Courier New", monospace;
font-weight: normal;
font-size: 13px;

@bpasero I'm unable to repro this at my end.
Please can you verify this repros with a new profile.
Possible there are some other settings/extenion thats effecting this.

Never mind, managed to replicate and found a duplicate.
Duplicate of https://github.com/microsoft/vscode/issues/220049


Support Ubuntu Jammy 22.04 / 22.10

Is your feature request related to a problem? Please describe.
Currently, Ubuntu is supporting 3.4.x podman. And podman exporter errors out with
❯ podman run -it -e CONTAINER_HOST=unix:///run/podman/podman.sock -v $XDG_RUNTIME_DIR/podman/podman.sock:/run/podman/podman.sock --userns=keep-id --security-opt label=disable -u 1000 quay.io/navidys/prometheus-podman-exporter
2022/11/24 10:18:27 unable to connect to Podman socket: server API version is too old. Client "4.0.0" server "3.4.4"

But the api is accessible and works well.. may be some parts might not work in podman v3.4
e.g.
curl --unix-socket /run/user/1000/podman/podman.sock http://d/v4.3.1/libpod/info
Describe the solution you'd like
Allow to use podman-exporter even with ubuntu 22.04 / 22.10
Additional context
Add any other context or screenshots about the feature request here.

Hi @dharapvj
Unfortunelty not possible and the exporter is only supports podman v4.


I can't get inside the restaurant (android version)

If I try to get inside or a cutscene has to play in it, the game crashes
I tried this on a new save just in case and the same happens

Thanks for the report, I'll investigate this!

I've fixed the crash. This applied to all versions of the game and was not specific.
Thanks for your diligence in trying the game with a new save, and thanks for the bug report!


ZFIN-8995: Autocomplete, plus typescript, plus babel upgrade

Closing this in favor of a branch with no conflicts


[wip] add docker compose

The goal is to have a devenv working with only docker-compose up, it could even be used in the tests.
A few commands that work:
docker build . -t biggraphite

docker-compose up --force-recreate --no-start
docker-compose start

docker exec -i cassandra cqlsh < ./share/schema.cql
docker run --network="host" biggraphite bash -c /opt/venv/bin/bginit.sh

TODO:

[ ] Cleanup the Dockerfile
[ ] Make Dockerfile.dev work
[ ] Use supervisord (or systemd)
[ ] Apply the schema in docker-compose
[ ] Add logs, data and conf volumes

Coverage decreased (-0.2%) to 82.112% when pulling 2248c588f57e3246cc74bf4c5429899f454c4aee on iksaif:docker into a9009ba90a58e43f689b4a869530e7a0535bad6e on criteo:master.


Add user ban option

In light of the recent "Grincher" events with this player forcibly joining servers, a direct ban method would be nice to have using either the in-game system, or some custom solution if possible (as currently it seems he can join servers even when banned)

Need this ASAP... Just came here looking for the same thing. Having a dedicated server is now useless because he just joins after a few minutes of running it. We need a way to ban steam IDs or something.

Added player bans #10
v1.1.1 has everything added

Still having him join even when banned alongside a few others who seem to have discovered a way to  obfuscate their connection somehow to circumvent bans. Would there be a way to close these connections and sanitize their presence from the server?


No such module 'MicrosoftCognitiveServicesSpeech'

Describe the bug
iOS -> Archive -> 1.19 version will show No such module 'MicrosoftCognitiveServicesSpeech'
After rollback to 1.18.0, everything is fine

@ykying Thanks for the report, we need more information in order to proceed. Could you please provide more information on what is the iOS-> Archive ? And how you reproduce this ?
iOS -> Archive -> 1.19 version will show No such module 'MicrosoftCognitiveServicesSpeech'

@ykying This is probably the same problem as reported here https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/1320. We are making an update to pod file

closing this as duplicate as informed earlier, please let us know if there is problems


Setting prefetch size

Hi,
Do you know what the default prefetch size is set to for clients?  Is there a way to go about setting it that I'm just missing?
Thanks!

Nevermind, answered my own question here.  Appending ?jms.prefetchPolicy.all=10 to the connection URL will set the prefetch to 10.

Excellent, glad you were able to find the relevant option.


Support to update the pricing tier of existing app service plan

Remove PricingTierEnum and get the configuration as String to simplify codes and reduce checks. For issue #500 #543

Support to update the service plan before creating or updating the web app if users specify an existing app service plan. For issue #510

Codecov Report

Merging #650 into develop will decrease coverage by 0.28%.
The diff coverage is 0%.

@@             Coverage Diff             @@
##           develop     #650      +/-   ##
===========================================
- Coverage    35.23%   34.95%   -0.29%
===========================================
  Files           74       74
  Lines         2903     2927      +24
  Branches       409      412       +3
===========================================
  Hits          1023     1023
- Misses        1801     1825      +24
  Partials        79       79

Impacted Files
Coverage Δ

...webapp/handlers/artifact/ArtifactHandlerUtils.java
0% <ø> (ø)

...bapp/handlers/artifact/JarArtifactHandlerImpl.java
0% <ø> (ø)

...bapp/handlers/artifact/WarArtifactHandlerImpl.java
0% <ø> (ø)

...ers/runtime/PrivateRegistryRuntimeHandlerImpl.java
0% <ø> (ø)

...pp/handlers/runtime/WindowsRuntimeHandlerImpl.java
0% <ø> (ø)

...rs/runtime/PrivateDockerHubRuntimeHandlerImpl.java
0% <ø> (ø)

...zure/maven/webapp/handlers/HandlerFactoryImpl.java
0% <ø> (ø)
:arrow_up:

...bapp/handlers/runtime/LinuxRuntimeHandlerImpl.java
0% <ø> (ø)

...ers/runtime/PublicDockerHubRuntimeHandlerImpl.java
0% <ø> (ø)

...app/handlers/artifact/NONEArtifactHandlerImpl.java
0% <ø> (ø)

... and 11 more

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 e647764...3d8b414. Read the comment docs.


fix rollup warnings

Following warnings are seen when you install admin-bro v3
warning admin-bro ><EMAIL_ADDRESS>This package has been deprecated and is no longer maintained. Please use @rollup/plugin-commonjs.
warning admin-bro ><EMAIL_ADDRESS>This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained.
warning admin-bro ><EMAIL_ADDRESS>This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
warning admin-bro ><EMAIL_ADDRESS>This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.

it will be fixed in #614


SAK-44061: SAMIGO - Error while saving without From(Required) 'Feedback will be displayed to the student on specific dates'

@adrianfish Could you take a look and see if the changes requested are needed? Jesús has argued that they aren't. Thanks!

I think now it's ready to merge @adrianfish !!


release new version

There are a whole bunch of fixes but no new versions.

Yeah, I was waiting for someone else to confirm the rewrite doesn't affect them negatively, but I take it no news is good news. I'll put out a new (minor or patch) version, so feel free to depend on >= 5 < 6 and you'll get it automatically.

v5.0.1 is now released. ;-)


[FORMATTING] when set Indentation style to "Tabular, Right", it doesn't format "between...and" well.

SQL:
select * from andy.t_test where id between 1 and 5000;
When set Indentation style to "Tabular, Right", output from demo website:
select *
from andy.t_test
where id between 1.......and 5000;
Many thanks for your great work!

Hi, can you please provide a code snippet so we can see the input and expected outputs

Hi inferrinizzard,
In demo https://sql-formatter-org.github.io/sql-formatter/
Just input the following SQL:
select * from andy.t_test where id between 1 and 5000;
Then set Indentation style to "Tabular, Right".
You can see before "and", there are about 7 spaces.
Thanks.

Edited the original to use code blocks.

Fix now released in 9.0.0-beta4.


how to display a gauge

Hi all,
I'm trying to display a highcharts solidgauge and I'm getting error #17.
My typescript looks like this
import {CHART_DIRECTIVES}           from "angular2-highcharts/index";
...
constructor() {
this.options = {
chart: { type: 'solidgauge' },
series: [ { name: 'test', data: [1] } ]
};
}
and my html look like that
<chart [options]="options"></chart>
so nothing fancy.
BTW running these options in a JSFiddle from the Highcharts website works.
Any idea what I'm missing or doing wrong?
Thanks for the help!

so a bit more details, I'm using webpack and I forgot to add highcharts-more and the solid-gauge module in my vendor.ts file.
now my vendor.ts file looks like this
import 'angular2-highcharts/index';
import 'highcharts/highcharts-more';
import 'highcharts/modules/solid-gauge';
import 'highcharts/highstock';
import 'highcharts/modules/map';
import 'highcharts/modules/data';

When I build I can see that the solidgauge type is within my vendor.bundle.js file used by my application.
But when I run the application I get that same error again

any idea?
thanks a ton!

Did you try to plug modules like it is shown in readme ?

OK, I tried to figure out how to import modules from highcharts but I can't find a way to do it. When I look at your explanation  in the readme I can't find where the "Highcharts3d: come from. I looked at the highcharts-3d.src.js in the node_modules files and there is nothing there.
Also I can't find a proper syntax to import the highcharts-more and the solid-gauge module.
When I debug the error above inside ChartComponent.js file (line 43) I can go inside the initchart function and find the line where is throws the error:
if (!highchartsService.Highcharts[type]) {
        throw new Error(type + " is unknown chart type.");
}

If I look at the available types inside highchartsService.Highcharts gauge or solidgauge are not there...
Sorry I'm pretty new to this... Could you point me to the right direction?

so after a long fight I found a way to get it working. here is how (for those that would be in the same situation):
in the vendor.ts file you need to add those 2 lines
import 'highcharts/highcharts-more';
import 'highcharts/modules/solid-gauge';
right after the line where you import highchart (or highstock in my case)

Thanks for investigation.

Any idea how one would go about importing the solid gauge file when using systemjs? I've tried adding everything in my config file but it does not seem to work at all.

systemjs.config.js
var  map = {
   ...
   'angular2-highcharts':        'node_modules/angular2-highcharts',
   'highcharts/highstock.src':   'node_modules/highcharts/highstock.js',
   'highcharts/highcharts-more.js': 'node_modules/highcharts/highcharts-more.js',
   ...
}

#my.component.ts
import {CHART_DIRECTIVES} from 'angular2-highcharts';
import {Highcharts} from 'angular2-highcharts';

require('highcharts/highcharts-more.js')(Highcharts);

@Component({
   ...
})
export class CompareMeasureComponent implements OnInit {
   ...
}

it's work :)

I have the same problem , but this doesn't solve my problem , I get another problem : Uncaught TypeError: Cannot read property 'arrayMin' of undefined
I think that there is a problemin  the highcharts-more.js file  , I changed it but the error persist , any suggestions ?

filoucpp, I am also trying to show a "gauge" chart in my angularjs2 (using webpack) project.
I am able to show spline and simple chart without any problem. But gauge chart is not working.
I am getting angular2-highcharts/index has no exported member CHART_DIRECTIVES
could you please share some code snippet?

Hi,
the project I am working on has grown quite a lot and we decided to get rid of the angular2-highcharts library and use highcharts directly. This is way easier for us...
Sorry We made that changes a couple of months ago...

@maneeshmoota Here is the example of using highcharts module with webpack
https://github.com/gevgeny/angular2-highcharts/blob/master/examples/src/highchartsModuleExample.ts
https://github.com/gevgeny/angular2-highcharts/blob/master/examples/webpack.config.js

Hi, I want to use the Gauge chart, I have tried the above example didn't work for me, I have other charts working, line chart, pie etc I'm using webpack.
could you please share some code snippet?

@khraibani If you have Pie, Line and other charts working, this means that you correctly included HighCharts. Gauge however, is part of the HighChartsMore. To achieve this you need to import this "extra" within your project. It should be something similar with:

import { ChartModule } from 'angular2-highcharts';
import * as ChartModuleMore from 'highcharts/highcharts-more.js';
import HCSoldGauge from 'highcharts/modules/solid-gauge';
import * as Highcharts from "highcharts";
ChartModuleMore(Highcharts);
HCSoldGauge(Highcharts);

You should be focussing on lines 2, 4 and 5 (the above sample is being used within an Ionic2 + Angular 2 app). This is similar with https://github.com/gevgeny/angular2-highcharts/blob/master/examples/src/highchartsModuleExample.ts

@dndam thanks for pointing me into the right direction the above didn't work with webpack.
I had to use the below:
declare var require: any;
import { ChartModule } from 'angular2-highcharts';
import * as ChartModuleMore from 'highcharts/highcharts-more';
const HCSoldGauge = require('highcharts/modules/solid-gauge');
import * as Highcharts from "highcharts";
ChartModuleMore(Highcharts);
HCSoldGauge(Highcharts);

Hope that help someone else.

@dndam As you have answered my previous question, I wondered if you faced the below issue. (i am trying to get highmaps to work, using webpack)  I am getting  'node_modules/angular2-highcharts/index' has no exported CHART_DIRECTIVES
using http://plnkr.co/edit/AmDfKwhRhshFn3CPprkk?p=preview as a reference

Most likely you need to have
import { ChartModule } from 'angular2-highcharts';
on line 4.
If you could share your code, we might be able to help you more.

Most likely you need to have
import { ChartModule } from 'angular2-highcharts';
on line 4. Error states that angular2-highcharts is no longer exported as CHART_DIRECTIVES. Just (CTRL) click on your import and you should see how highchart is "exported"
If you could share your code, we might be able to help you more.

@dndam Thanks for the response I have created a stub project
https://bitbucket.org/hkhraibani/ng2-highcharts-webpack-demo

I all, I have the same issue, but with the Chart Type "gauge". I don't use angular-cli neither webpack, only using systemjs.config.js.
Here my app.module.ts:
import { ChartModule } from 'angular2-highcharts';

@NgModule({
  imports: [
    ChartModule.forRoot('highcharts'),
    ChartModule.forRoot('highcharts/highcharts-more'),
    ChartModule.forRoot('highcharts/modules/solid-gauge'),
  ]
})
export class AppModule {
}

And my sistemjs.config.js:
        packages: {
            highcharts: {
                main: './highcharts.js',
                defaultExtension: 'js'
            },
            'angular2-highcharts': {
                main: './index.js',
                defaultExtension: 'js'
            }
        },
     resolve: {
      alias: {
        // NOTE: You should set 'highcharts/highcharts.src.js'
        // if you are not going to use <chart type="StockChart"
        highcharts$: "highcharts/highcharts-more.src.js"
      }

What am I missing?

I am using
import { HighchartsChartModule} from "highcharts-angular";
and gauge chart is not working, any help?


can you please make a step to step guide or Youtube video for using your framework with Media Soup.

I wish I have free time to do that:)
Till then, please follow the provided example.

Step-by-Step Guide for Integrating SignalR and MediaSoup in a .NET MAUI App
Hi there,
I’m a web developer not professional, and I’ve recently downloaded the project from GitHub, but I’m encountering some difficulties. I’m not sure which files to run, and I’ve faced several errors along the way. Here’s what I’ve done so far:
Fixed the initial errors.
Try to run the SignalR server. // change ip my network
Try to run the MediaSoup server. // change ip my network
Ran the demo MAUI app on an Android device. // change ip my network
However, when I try to connect, I get an error, and I’m not sure what’s going wrong.
Could you please provide a detailed guide or a step-by-step YouTube tutorial to help me set everything up? I’d like to add a function to my MAUI app that allows Phone A to call Phone B.
Thank you so much for your assistance! 😊


Add support for asterisk CLI by using a web terminal (ttyd)

It would be nice if we would have access to the asterisk CLI inside the addon container by providing a web-based terminal emulator for it.
This would work the same way as the official HA SSH addon by using the daemon ttyd: https://github.com/tsl0922/ttyd
It seems to be really simple. See the examples here: https://github.com/tsl0922/ttyd/wiki/Example-Usage
Just start the following in the container:
ttyd asterisk -rvvvvddd

The exact same thing can be achieved by using the SSH addon, by executing:
docker exec -it addon_b35499aa_asterisk asterisk -rvvvvddd

Inside of the SSH addon. Perhaps we just need to document it?

Ok. I was not aware that the SSH addon support running docker CLI.
I think that this should be sufficient.
I will close this ticket.


Android. ANR when push received

The thread 'Unknown' (0x13) has exited with code 0 (0x0). 01-29 16:37:45.194 D/Mono    (10062): Assembly Ref addref  Xamarin.GooglePlayServices.Gcm[0x556a97b0e0] -> Xamarin.Android.Support.v4[0x556a96d670]: 5
01-29 16:37:45.243 W/art     (10062): JNI RegisterNativeMethods: attempt to register 0 native methods for md563bb5d7cd114ceda82ec85fb57ce3637.PushNotificationsReceiver Thread started:  #25
01-29 16:37:45.506 D/Mono    (10062): Assembly Ref addref PushNotification.Plugin[0x556a965290] -> Newtonsoft.Json[0x556a959b50]: 8
01-29 16:38:06.432 I/art     (10062): Thread[5,tid=10071,WaitingInMainSignalCatcherLoop,Thread*=0x556a8979a0,peer=0x32c070a0,"Signal Catcher"]: reacting to signal 3
01-29 16:38:07.080 I/art     (10062): Wrote stack traces to '/data/anr/traces.txt'
Stable reproduce in debug mode
"Xam.Plugin.PushNotification" version="1.1.5"

I am also getting the same error while receiving push notification. Device is registered successfully but getting error after that while receiving push.
The thread 'Unknown' (0x6) has exited with code 0 (0x0). 07-07 19:10:12.735 D/Mono    ( 3783): [0x9e3c6380] hill climbing, change max number of threads 2 07-07 19:10:18.465 I/GMPM    ( 3783): Tag Manager is not found and thus will not be used 07-07 19:10:33.631 D/Mono    ( 3783): Assembly Ref addref Xamarin.GooglePlayServices.Gcm[0xb3e9aa60] -> Xamarin.Android.Support.v4[0xb3e9a460]: 4 07-07 19:10:33.632 W/art     ( 3783): JNI RegisterNativeMethods: attempt to register 0 native methods for md563bb5d7cd114ceda82ec85fb57ce3637.PushNotificationsReceiver Thread started:  #8 Thread started:  #9 07-07 19:10:44.962 D/Mono    ( 3783): [0x9e3c7c80] worker finishing