Enable funlen linter (part 6)

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[x] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: 934
What is the new behavior?

Other information

Codecov Report
Attention: Patch coverage is 65.38462% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 42.40%. Comparing base (b7a9b51) to head (14fcd5c).
Report is 212 commits behind head on master.

Files
Patch %
Lines

internal/conn/conn.go
0.00%
8 Missing :warning:

internal/decimal/decimal.go
75.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1248      +/-   ##
==========================================
+ Coverage   40.80%   42.40%   +1.60%
==========================================
  Files         309      261      -48
  Lines       32747    24063    -8684
==========================================
- Hits        13361    10203    -3158
+ Misses      18959    13431    -5528
- Partials      427      429       +2

Flag
Coverage Δ

go-1.20.x
42.40% <65.38%> (?)

go-1.21.x
?

go-1.22.x
?

macOS
42.40% <65.38%> (+2.10%)
:arrow_up:

ubuntu
?

unit
42.40% <65.38%> (+1.60%)
:arrow_up:

windows
?

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

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


Allow passing nest application options

I have recently used this lib and faced a problem where we can't enable cors in the lambdas doing:
app.enableCors()
It is possible to enable in each individual controller by specifying a middleware, I think being able to pass a NestApplicationOptions object as a parameter would be very helpful.
I just added an additional field to the Options interface:
  ...   fastify?: {     options?: any;     binaryTypes?: string[];   },   nestOptions?: NestApplicationOptions }
Note: It may be a good idea to allow an app factory(like the bootstrap function) function, so the user may be able to instantiate the app and configure global middlewares, swagger, etc. as usual.

Hi @shoxsz ,
Thanks for your contribution and I agree with you thats good idea pass nestjs options
Not few weeks ago I was thinking adding some life cycle as well before and after module's init
Plz, check if you agree with the idea
{
  engine: 'express' | 'fastify',
  warmup?: {
    source: string;
  }
  fastify?: {
    options?: any;
    binaryTypes?: string[];
  },
  nestjs: {
    options: NestApplicationOptions,
    onBeforeInit: (app: INestApplication): void,
    onAfterInit: (app: INestApplication): void
  }
}

The $.nestOptions would become $.nestjs.options
If you agree plz - add the new parameters description in README.md and increase the version in package.json and package-lock.json
No need to do the implementation of $.nestjs.onBeforeInit and $.nestjs.onAfterInit unless you feel like it :D - for now just renaming the options is fine if you agree of course

Oi @shoxsz ,
Obrigado novamente pela contribuição, nova versão 1.1.0 disponível no npmjs
A conversa foi rápida que nem percebi que você tbm é do Brasil :smile:
vlw 👍

Valeu @rennanboni sou do Brasil hehe, eu que agradeço, espero topar voce em outros commits abs.


kie-issues#594: fix seed author literal

Fixing a erroneous fragment originated during initial repo transfer preparations.
This should resolve apache/incubator-kie-issues#594 .

@baldimir when you have a minute.


fix: gsheet query UI doesnt load on change of command fixed

Description
This PR fixes a UI issue where Google Sheets query form does not show correct inputs until unselecting and reselecting the entity [row, sheet, spreadsheet]

Fixes #32349
or
Fixes Issue URL

[!WARNING]
If no issue exists, please create an issue first, and check with the maintainers if the issue is valid.

Automation
/ok-to-test<EMAIL_ADDRESS>:mag: Cypress test results

[!CAUTION]
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/8556996922
Commit: 75e427498a74caf8d6ab0c3f6a4b2c5799cdfe50
Cypress dashboard:  Click here!
The following are new failures, please fix them before merging the PR:
cypress/e2e/Regression/Apps/PgAdmin_spec.js
cypress/e2e/Regression/ServerSide/GenerateCRUD/MongoURI_Spec.ts
cypress/e2e/Regression/ServerSide/GenerateCRUD/Mongo_Spec.ts
cypress/e2e/Regression/ServerSide/GenerateCRUD/MySQL1_Spec.ts
cypress/e2e/Regression/ServerSide/GenerateCRUD/Postgres1_Spec.ts
cypress/e2e/Regression/ServerSide/GenerateCRUD/Postgres2_Spec.ts
cypress/e2e/Regression/ServerSide/GenerateCRUD/S3_Spec.js
cypress/e2e/Regression/ServerSide/QueryPane/Mongo1_spec.ts
cypress/e2e/Regression/ServerSide/QueryPane/Mongo_Spec.js
cypress/e2e/Regression/ServerSide/QueryPane/Postgres_Spec.js
cypress/e2e/Regression/ServerSide/QueryPane/S3_1_spec.js
To know the list of identified flaky tests - Refer here

/build-deploy-preview skip-tests=true

Tested. It works as expected .


Maximum capacity to infinity issue

Hi folks, here I  have given the maximum value of the power plant a very high number- where I want to say the potential is infinity for heat pump and electric boiler. Is that correct? and how do I say the current installed capacity is zero?
Thanks in advance for any input.
from oemof.solph import (Sink, Source, Transformer, Bus, Flow, Model,
EnergySystem, processing, views)
from oemof.thermal.compression_heatpumps_and_chillers import calc_cops
from oemof.tools import economics
from oemof import solph
import pandas as pd
my_index = pd.date_range('1/1/2019', periods =8760, freq='H' )
My_system = EnergySystem(timeindex = my_index)
data = pd.read_excel(r"C:\Users\Dev\Desktop\BBH mastearbeit_files\data_malla.xlsx",  sheet_name = 'Timeseries')
#create and components to Energysystem
b_electricity = Bus(label='b_electricity', balanced= False)
b_heat= Bus(label='b_heat', balanced= False)
My_system.add(b_electricity,b_heat)
#calculating annuities
epc_pv = economics.annuity(capex=1300, n=20, wacc=0.04)
epc_heat_pump = economics.annuity(capex= 1600, n = 20, wacc= 0.04)
epc_elec_boiler= economics.annuity(capex = 70, n= 20, wacc= 0.04)
#Sources
My_system.add(Source(label='source_electricity', outputs = {b_electricity: Flow(variable_costs= 0.46, emission_factor= 0.489)}))
My_system.add(Source(label ='re_roof_pv', outputs = {b_electricity: Flow(fix = data['sun_availability [-]'], investment= solph.Investment(ep_costs=epc_pv), nominal_value= None)}, maximum = 56, existing= 0))
#Demands
My_system.add(Sink(label='demand_elctricity', inputs = {b_electricity : Flow(fix = data['demand_electricity [kW]'], nominal_value= None, variable_costs=0)}))
#excess and shortage variable to avoid infeasible problems
My_system.add(Sink(label='excess_power', inputs={b_electricity:Flow(variable_costs = -0.115)}))
#calculating cops
data['COP_heat_pump']   = calc_cops(mode='heat_pump', temp_high= data['temperature of heating system [°C]'], temp_low=data['ambient_temperature [°C]'], quality_grade=0.45)
My_system.add(Transformer(label='t_heatpump', inputs = {b_electricity : Flow()},
outputs= {b_heat:Flow(nominal_value = None,
investment= solph.Investment(ep_costs=epc_heat_pump))},
conversion_factors= {b_electricity: data['COP_heat_pump']}, maximum = 100000000,
existing=0))
#Electric boiler
My_system.add(Transformer(label='tr_electric_boiler', inputs= {b_electricity : Flow()},
outputs = {b_heat:Flow(nominal_value = None,
investment = solph.Investment(ep_costs = epc_elec_boiler))},
maximum=10000000, existing=0))
#Heat Demand
My_system.add(Sink(label='demand_heat', inputs= {b_heat: Flow(variable_costs=0, fix = data['demand_heat [kW]'])}))
#create optimization model based on energy system
optimization_model = Model(energysystem=My_system)
#solve Problem
optimization_model.solve(solver = 'cbc', solve_kwargs = {'tee' : True})

Hi Dev, you can set your code in three back ticks to make it more readable:

https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks

Best too to specify "python" to improve the syntax highlighting. HTH, R.

This is a cross-post from the openmod forum. As I think this is more of a forum topic then an issue with oemof-examples, I'll close this one in favour of a discussion at openmod.


underlying transport error

I don't know what to know for this question, can someone help me solve it??

I have solved it by changing the port I used


AlluxioFileInStream#positionedRead is not thread safe

Alluxio Version:
2.8.1
Describe the bug
AlluxioFileInStream implements alluxio.client.PositionedReadable, which requires the implementation be thread safe. The current implementation delegates reading to BlockInStream, which again delegates to DataReader, and some implementation of DataReader e.g. LocalFileDataReader is not thread safe.
https://github.com/Alluxio/alluxio/blob/da543a5b604cae9703d55dad4102996ab685c3b1/core/client/fs/src/main/java/alluxio/client/block/stream/LocalFileDataReader.java#L163-L171
LocalFileDataReader.Factory caches a LocalFileBlockReader and uses reference counting to track the reader's usage. If concurrent reads to AlluxioFileInStream tries to create two LocalFileDataReaders, they will share a LocalFileBlockReader, and trips a precondition check.
To Reproduce
Create a AlluxioFileInStream and read from it concurrently from two or more threads.
Expected behavior
The implementation should be thread safe.
Related: https://github.com/Alluxio/alluxio/issues/14645

@apc999 I see your reply in #14645. This causes applications which access Alluxio through the HDFS API to make false assumptions about thread safety. Do we plan to fix this?


feat: add nvim-dap-ui extension

Add nvim-dap-ui extension

You need to mention the extension in README.md with other extensions

You need to mention the extension in README.md with other extensions

OK, I added the Available extensions in README.md

I am not using dap-ui can you give a screenshot with this extension being used ?

I am not using dap-ui can you give a screenshot with this extension being used ?

lgtm, I think we can merge this now.


Bug 2175641: Add volume from existing PVC not working

📝 Description
creating a volume from the 'use existing PVC' in Add volume modal dialog is creating a non functional PVC due to missing annotation to bind CDI to the DV
🎥 Demo

/lgtm

/bugzilla refresh


Rethink how we exclude / skip tests in the Quarkus Platform

Description
If we encounter test issues in the Quarkus Platform, typically this is resolved by modifying the Camel member configuration and adding a <skip> option. E.g like here:
https://github.com/quarkusio/quarkus-platform/blob/main/pom.xml#L397-L400
Unless all of the tests for a specific extension are broken, then <skip> is perhaps not the best strategy.
Maybe it would be better to configure things so that any tests that do still work can continue to be executed. E.g via the jvmIncludes or jvmExcludes config. There is equivalent config for native (nativeExcludes etc).

+1, thanks for suggesting it, I did not know those options even exist. There is even an example in the Platform POM: https://github.com/quarkusio/quarkus-platform/blob/4419cececb8ff48e475e122ac83162b9b4692905/pom.xml#L244-L250


chore(main): release 0.2.0

:robot: I have created a release beep boop
0.2.0 (2024-06-21)
Features

work with union and const type parameter (#15) (58a6550)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.2.0
:sunflower:


Doc/metadata: add my ORCID to the CITATION.cff file

@Czaki reminded me that my ORCID is missing from the CITATION.cff file, for some reason or another. This PR just adds it.

Please change the title to more descriptive in context of changelog

@Czaki actually I tried to make it as descriptive as possible — showing that this only changes documentation, and in which file it adds it... What information would you like included? My username instead of in 1st person?

For me, using jni or full name in place of my will be more readable when reading a changelog.  But maybe I'm wrong, so I only put a suggestion.


qpdf: INTERNAL ERROR: QPDFWriter::generateID has no data for deterministic ID.

qpdf: INTERNAL ERROR: QPDFWriter::generateID has no data for deterministic ID.  This may happen if deterministic ID and file encryption are requested together.

This error happens when adding the flag --deterministic-id, and qpdf generates an empty file.
The document is pretty big (over 9MB), and not public, but is not encrypted.
Since any constant string could be a valid id, why not use a fallback value instead of aborting?
(eventually leave the warning)
Got the error with qpdf version 11.9.1 packaged in debian

Sorry, the document is encrypted (I need to check what it actually means as I do not need to enter a password to see the content).
Nevertheless, I see little reason for --deterministic-id to fail in this situation.

Current workaround is to use --decrypt together with --deterministic-id.
I'm not interested in the encryption, and --decrypt does not lead to an error if the file is not encrypted.
Nevertheless, it would be better if --deterministic-id would work without --decrypt

I agree that qpdf should not throw an internal error in this situation, nor should an empty file be produced. Thanks for reporting this.

Since any constant string could be a valid id, why not use a fallback value instead of aborting?

Producing a constant string would not be conformant with the PDF specification and therefore is not an option. qpdf has the option --static-id which essentially does what you are suggesting, but this option must only be used to create files for testing purposes and never to produce real life PDF files.

Sorry, the document is encrypted (I need to check what it actually means as I do not need to enter a password to see the content).

A brief introduction can be found at https://qpdf.readthedocs.io/en/latest/encryption.html

Nevertheless, I see little reason for --deterministic-id to fail in this situation.

The difficulty arises from the fact that ids have to be unique. To achieves this, deterministic-id has to fingerprint the file in order to ensure that ids for different files don't clash, and therefore can only be generated after all the significant parts of the output file have been written. On the other hand, the id is required to generate encryption keys and therefore (for encrypted files)  is required before writing can start. This leaves us with a chicken and egg situation.

An example document can be found here
https://uwaterloo.ca/onbase/sites/ca.onbase/files/uploads/files/samplesecured_256bitaes_pdf.pdf

deterministic-id has to fingerprint the file in order to ensure that ids for different files don't clash

Just thinking out loud, an alternative could be to fingerprint the input parameters (and thus also the referenced files) of qpdf, instead of the output.

On the other hand, the id is required to generate encryption keys and therefore (for encrypted files) is required before writing can start.

Again, thinking out loud: create a file without encryption, then encrypt it.
Not nice as it means to create two files, but also not necessary if the id is based on the input.

Fix is discussed at https://github.com/qpdf/qpdf-dev/discussions/9

@fekir , out of interest, what is your aim of using --deterministic-id?

an alternative could be to fingerprint the input parameters (and thus also the referenced files) of qpdf

This might work, but the effort would be disproportionate. The only way I can see this happening is if you submit a PR with your implementation.

create a file without encryption, then encrypt it

I don't think this would work for a number of reasons, including that it would not guaranteed unique ids, which is a show-stopper. Also,  an implementation limitation of qpdf's writer is that it does not support writing a QPDF object more than once.

As hinted at https://github.com/qpdf/qpdf/issues/1165 - reproducible builds (the PDF is an artifact, and I want it to be reproducible)
In this particular case, I wanted to reduce the size of some files, I think I used something similar to
qpdf --recompress-flate --compress-streams=y --object-streams=generate --remove-unreferenced-resources=yes --coalesce-contents

Those files are synchronized between different devices (and some might end in some archives) I want to know quickly if two files are equal or not, before synchronizing them.
If the compression algorithms will ever be improved (for example though https://github.com/qpdf/qpdf/issues/1164), and I'm going to try to reduce the size of the PDF files again, I want to see in a diff only the list of files that changed, but not because the internal id changed and the rest of the file not.
Sure, I could use a smart diff; verify if the content is different or not, but it would be too slow after a certain amount of files, and if I need to inspect files archived somewhere else.
Personally, I have no interest in encrypted files; I was not even aware that some of my files where encrypted, thus using --decrypt was not an issue; on the contrary.
To sum it up: I do not believe most people will be affected by this, and there are multiple workarounds.

it would not guaranteed unique ids

Well, no algorithm will guarantee that.
Especially as anyone can edit manually a document to match another, it should thus be a "best-effort".
Out of curiosity; is there any system that relies on such id to be unique?

Fix is discussed at qpdf/qpdf-dev#9

I think we should discuss the fix here, not on a separate issue in qpdf-dev.

Out of curiosity; is there any system that relies on such id to be unique?

I don't know. The beauty of standards is that I do not need to know what everybody else is doing. All conformant tools will play together nicely. If we pick and choose which parts of the standard we like, some of the tools will play together some of the time, to some degree.

The deterministic ID feature was implemented as a specific request from Google, who, at the time, used qpdf to linearize files when you exported them from Google Docs. qpdf won an open source award from Google for this enhancement. A few years ago, they stopped doing this, so Google Docs exported PDF files no longer pass through qpdf. The reason they wanted deterministic ID was not to use the ID for any purpose itself but because having an identical PDF generated from two exports of an unchanged Google Doc made caching work better.
I am not personally aware of any system that relies on ID being unique. Relying on this would be unwise as it would rest upon all the PDFs you see having been generated by people who didn't make a mistake about ID generation, and there are a vast number of incorrect PDFs out there. Also, ID is optional per the spec. And, in theory, you can have has collisions, though the probability is low without explicit attempts to exploit broken MD5.
Anyway, none of this is to say that IDs shouldn't be unique. The intention is that they are probably unique, and as m-holger says, we have no way to know or no need to know how people use or misuse these. If someone tried to rely on ID being unique and had a relatively consistent collection of relatively valid PDFs, as long as they tolerated the occasional collision, they would probably do just fine.

Or, to quote @jberkenbilt

In general, one should adhere strictly to a specification when writing but be liberal in reading. This way, the product of our software will be accepted by the widest range of other programs, and we will accept the widest range of input files.


Add Ingress Helm templates for policy-reporter and Kyverno plugin

Hello, we run policy-reporter in multiple clusters and view all policy reports via a central UI.
We currently have to create custom Ingress resources for policy-reporter and Kyverno plugin in the external clusters, so that UI can reach them. It would be awesome if the Helm chart supported creation of these Ingresses out of the box, similarly to how UI has it.
Would it please be possible to add Ingress templates for policy-reporter and Kyverno plugin into the Helm chart?

hey, thanks for your request.
I will add templates for both components in the next release, thanks for mentioning. It didn't make sense before the external cluster feature, but you are right that there is a use case for it now.

Cool, thank you :)

@Balsir the new ingress templates for the KyvernoPlugin and Core App are released today with v2.18.0

Thank you, works like a charm!


Project Page

The dummy home page is more or less ready for passing it ahead to the react team.
We need a dummy projects page too!
Those interested do comment below.

Interested.

Surely


SignalR deadlocks client on internal server-side exceptions during nested InvokeAsync call

As title says when client makes nested call to InvokeAsync (inside ConnectionHub.On() handler), server can throw InvalidDataException if message is larger than a limit. This results in ClosedMessage being received by client and then client tries to close connection. Few instructions later client awaits other currently processing calls before closing connection.
Unfortunately this await waits our own InvokeAsync, which was the cause of error. And this InvokeAsync never receives any exceptions from server, looks like because Dispatcher wasn't called, and there is no one who can send proper error to the client, like DefaultHubDispatcher does on exceptions in Hub methods.
As result, client waits for response from server, server already responded with disconnection message, but client cannot call ConnectionHub.Disconnected event because of deadlock few lines before.
If we use SendAsync everything is ok, cause obviously await finished right after message was sent, so there is no unprocessed messages to wait during connection closing phase.
If this is "by design", it should be at least documented somewhere in docs about InvokeAsync/SendAsync that you must not await InvokeAsync inside message handlers.
To Reproduce
Client:
public class FooClient
{
    private readonly HubConnection _connection;
    private readonly TaskCompletionSource<bool> _tcs;
    private readonly int _size;

    public FooClient(string url, int size)
    {
        _tcs = new TaskCompletionSource<bool>();
        _connection = new HubConnectionBuilder().WithUrl(url).Build();
        _size = size;
    }

    public async Task<bool> Do()
    {
        _connection.On("SendMessage", SendMessageHandler);
        _connection.Closed += ClosedHandler;

        await _connection.StartAsync();
        await _connection.SendAsync("Prepare");

        var result = await _tcs.Task;
        await _connection.StopAsync();

        return result;
    }

    private async Task SendMessageHandler()
    {
        try
        {
            var msg = new byte[_size];
            await _connection.InvokeAsync("Do", msg);

            // never get here if msg is big
            _tcs.SetResult(true);
        }
        catch (Exception ex)
        {
            // get here if msg is small
            _tcs.SetException(ex);
        }
    }

    private Task ClosedHandler(Exception ex)
    {
        // never get here if msg is big
        if (ex != null)
            _tcs.SetException(ex);
        else
            _tcs.TrySetResult(false);

        return Task.CompletedTask;
    }
}

Hub on server:
public class FooHub : Hub
{
    public async Task Prepare()
    {
        await Clients.Caller.SendAsync("SendMessage");
    }

    public async Task Do(byte[] msg)
    {
        // emulate some hard work
        await Task.Delay(1000);

        //this ends ok if msg is small
        throw new Exception("Exception in Finish");
    }
}

If you pass size like 10mb client waits forever on await _tcs.Task, end never receives neither Closed event not exception in SendMessageHandler catch(). Change InvokeAsync to SendAsync and Closed event is fired as intended.
I've tested on ASP.NET Core 3.0, but should be the same in 3.1

Triage Notes: We should take a look at this. We don't think this is intentional or by design.

There's a bug here, I took a look. We should move the message processing wait after we close the connection. It would properly terminate all pending invocations.

That's about what we came up with while taking a quick look in Triage.


Doesn't work in instanced areas

When i stand outside Bandos and make the immersive ground markers inside the room, they disappear once i enter the room as an ironman cause you get sent to an instance.  When you shift right click on the tile you marked, you get a promt get remove the marker but you cant, so there is some sort of bug going on there. I also tried to use the ground marker in my house to see if that worked, but unfortunately same bug happens. Once you create a ground marker it's invisible and the option to remove it again doesn't work.
Hope this helps. The only reason im writing this is because i'm deeply passionate about an immersive ground marker plugin and i would LOVE to see this work to it's full capacity! Keep it up :)

I just did some research myself and can see that the instance bug is already being worked on, ill just close this for now 👍


Rename rule UnusedImports to UnusedImport

Fixes https://github.com/detekt/detekt/issues/6363

Warnings

:warning:
This PR is approved with no milestone set. If merged, it won't appear in the detekt release notes.

  Generated by :no_entry_sign: dangerJS against da8e16baaef3b484a4b663fd6051e9c26a7f7d94


Updates for Exercise 4 and 5

@szihai can you review this?

Yeah, since the master has changed both need to resolve conflicts. Otherwise they look good.

@Nadine2016 can you resolve the conflict?  I'll merge after that.

@linsun @szihai merge conflicts are resolved. I do not have write access to merge. can you please do it?


HTML

#HTML
User Story
As a bootcamp student
I want the preworknotes to be structed on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Givt and JavaScript with associated notes listed

Closed


Bring specs up to date

With the strict addition (for fixing infinite recursion) many new tests were ignored.

Also fix AstExamples... They're not right


Make ConvertTo-Json detect circular references

The current way to deal with circular references is the Depth parameter. Its default value is too low and increasing it doesn't address a usual use case where the object is deep and doesn't contain any circular reference.
Add a CircularDetection switch parameter.
Once a circular reference is detected, throw an exception. If the switch is not present, cap the object by the depth limit.

Currently no exception is thrown when the depth limit is reached. This easily propagates the error and may remain undetected until the collected data is evaluated. One option to consider is to make the detection default. The switch can be changed to -DisableCircularDetection which enables the current behavior. This is a breaking change for some users.
Unaffected groups of users:

Those who use the Depth parameter.
Those who use shallow objects falling bellow the depth limit.
Those who use deep objects without circular references, but are not aware of or affected by the silent error.

Affected groups of users:

Those who use objects with circular references while the very low depth limit doesn't affect them.

Defailt values is
        private int _depth = 2;
        private const int maxDepthAllowed = 100;

.Net Core 3.1 and later support this. I hope we will resolve issue after moving to .Net Core 5.0.
For reference #11198.


Upgrade FastExpressionCompiler

Replace embedded code with nuget package;
Upgrade FastExpressionCompiler to version 2.0.

Is there a reason for this? I don't know that the new version helps anything, and I'd prefer to keep it internal to MT.

I upgraded the internal cs to the latest. Closing this, I don't want the Nuget ref.

Hi, sorry for late reply.
Main reason is to simplify update tracking, especially for bug fixes and performance improvements.
Another reason mainly in my case - if my application also uses FastExpressionCompiler, avoid duplicate code.

Yeah, I hear you. I'm not willing to bring it in as a NuGet package though, sorry.

Got you. If it's not broken, don't fix it 🙂


Changed all British spellings to American spellings, in the changelog.txt file.

This pull request resolves #10608
I have changed all British spellings to American spellings in the changelog.txt file, to be in sync with the documentation release notes.

Looks great. Thank you again @Buraah

I had a good time and experience working on this.


Add Boyer-Moore filter optimization to ZNG scanner

This implements steps 6 and 7 of #681.
Attempt to improve filter performance for the ZNG scanner performance
with a Boyer-Moore string search over compressed value message blocks.
The Boyer-Moore string search algorithm itself is implemented in
zio/zngio/search.go, a copy of Go's src/strings/search.go with minimal
modifications.

thanks. In that case, should we perhaps add header value length to
BytesRead for zngScanner.scanOne calls, and do so here as well? Would that
make scanner stats at least consistent between any zng based sources?
On Thu, Aug 13, 2020 at 3:52 PM Noah Treuhaft<EMAIL_ADDRESS>wrote:

@nwt commented on this pull request.
In zio/zngio/scanner.go
https://github.com/brimsec/zq/pull/1080#discussion_r470291805:

@@ -59,6 +133,16 @@ func (s *zngScanner) Pull() (zbuf.Batch, error) {
}

func (s *zngScanner) scanUncompressed() ([]*zng.Record, error) {

if s.stringFinder != nil {

buf := s.reader.uncompressed.Bytes()

if s.stringFinder.next(byteconv.UnsafeString(buf)) == -1 {

	// We know s.reader.uncompressed cannot contain any

	// records matching s.filter.

	s.reader.uncompressed = nil

	// xxx stats

No, I'm referring to the header on each value message. It's added here.
https://github.com/brimsec/zq/blob/a1a817e0a3d2e1781807df51533bd7794d97d8f7/zio/zngio/writer.go#L82-L90
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/brimsec/zq/pull/1080#discussion_r470291805, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFMDMI7HNJ6V37PG2LZW43SARVDPANCNFSM4P2PE6BA
.

Will #1128 add direct testing of BufferFilter results?

@alfred-landrum: I think so.


NotFound: No such file or directory

> rustc --version
rustc 1.54.0-nightly (c1e8f3a58 2021-05-30)

> cargo install --git https://github.com/eliaperantoni/Koi
...
warning: 3 warnings emitted

    Finished release [optimized] target(s) in 2m 23s
  Installing /home/user/.asdf/installs/rust/nightly/bin/koi
   Installed package `koi v0.1.0 (https://github.com/eliaperantoni/Koi#caa13f7b)` (executable `koi`)

/home/user/tmp/koi/examples(master)> asdf reshim
/home/user/tmp/koi/examples(master)> koi
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/main.rs:67:75
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
/home/user/tmp/koi/examples(master)> koi import.koi
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/interp/mod.rs:150:60
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

strange
/home/user(master)> koi tmp/koi/examples/import.koi
4
5
/home/user(master)> cd tmp/koi/examples/
/home/user/tmp/koi/examples(master)> koi import.koi
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/interp/mod.rs:150:60
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

~/build/koi/examples > RUST_BACKTRACE=1 ../target/debug/koi import.koi
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/interp/mod.rs:150:60
stack backtrace:
   0: rust_begin_unwind
             at /rustc/e4a60327063e82413eed50a10df3b7d19b77bda0/library/std/src/panicking.rs:515:5
   1: core::panicking::panic_fmt
             at /rustc/e4a60327063e82413eed50a10df3b7d19b77bda0/library/core/src/panicking.rs:92:14
   2: core::result::unwrap_failed
             at /rustc/e4a60327063e82413eed50a10df3b7d19b77bda0/library/core/src/result.rs:1355:5
   3: core::result::Result<T,E>::unwrap
             at /rustc/e4a60327063e82413eed50a10df3b7d19b77bda0/library/core/src/result.rs:1037:23
   4: koi::interp::Interpreter::run_stmt
             at /home/user/build/koi/src/interp/mod.rs:150:30
   5: koi::interp::Interpreter::run
             at /home/user/build/koi/src/interp/mod.rs:55:13
   6: koi::main
             at /home/user/build/koi/src/main.rs:78:5
   7: core::ops::function::FnOnce::call_once
             at /rustc/e4a60327063e82413eed50a10df3b7d19b77bda0/library/core/src/ops/function.rs:227:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Hi @whoizit, the first call to koi fails because it expects a source file path when -s is not used.
The following errors are 100% legit and I hope to have fixed them in release v1.7.1.
~/code/koi > koi examples/import.koi
4
5
~/code/koi > cd examples/
~/code/koi/examples > koi import.koi
4
5
~/code/koi/examples > cd /
/ > koi /home/elia/code/koi/examples/import.koi
4
5

I'm closing the issue for now but feel free to reopen it if you encounter more issues with the import system.


Not Native Wayland Compatible Yet ?

I am using hyprland (wayland compositor) and in this altho app is functional and working fine but the gui is overall blurry and since app gui is already kinda old style with that it makes things much more ugly in my opinion so i have doubts regarding wayland compatibility.
In my hyprland other apps are working fine as they are using wayland natively but this app is using xwayland which i think is the cause of this issue so is there anyway to force it run in wayland mode ? I tried with different environmental variable changes to force it to use wayland but still issue present so if possible do guide me on this.
Thankyou very much for this awesome open source project :-)

We wouldn't really be controlling anything at the wayland level...that kind of things come from the JDK itself.  Maybe play with these values in launch.properties?
https://github.com/NationalSecurityAgency/ghidra/blob/22ddbc3f4b7363ad3694879038adeceb12ca96c6/Ghidra/RuntimeScripts/Common/support/launch.properties#L18-L25

@Greatz08 the problem of JDK with Wayland is a long term project, and currently some JetBrains developers are leading the way. It would take couple more years probably to get new JDK released then propagated in all distributions and systems to solve this:

https://youtrack.jetbrains.com/issue/JBR-3206
https://wiki.openjdk.org/display/wakefield/Pure+Wayland+toolkit+prototype
https://wiki.openjdk.org/display/wakefield/Work+breakdown


Links with escaped characters

Came up in https://github.com/quantecon/lecture-source-jl/pulls/384
In particular, we have wikipedia links like
`field <https://en.wikipedia.org/wiki/field_\(mathematics\)>`_

Which work fine in the generated Jupyter, but it looks like the trailing ) is missing in the HTML (see the generic_programming lecture for an example).
cc @jlperla @natashawatkins

Thanks. So the generated output in the notebook has the extra ) but it looks well formed in the raw md. It looks like markdown is capturing the wrong bracket when rendering.
Thinking back to the mathematical motivation, a [Field](https://en.wikipedia.org/wiki/Field_(mathematics)) is an Ring with a few additional properties, among them

> - a multiplicative inverse: $ a^{-1} $
- an inverse operation for multiplication: $ a / b = a \cdot b^{-1} $

and the rendering

I think the only solution here is to replace ( with %28 in the notebook

The following PR will fix the bracket issue https://github.com/QuantEcon/sphinxcontrib-jupyter/pull/151 in links. Markdown uses the first ) so they have been replaced with %29 etc.


T329 integrate book page

Description
Integration de toute la book page + le restart, je vous invite à testé

/!\ faut reload la DB
add: book page …
add: material-ui/lab library
update: styles
add: player controller for book
fix: lobby style and user card
remove: useless comment …
add: spacing
fix: style of bookdrawing element …
fix: style of booksentenceelement
fix: style of book
fix: bug when you start with alredy finished file
fix: bug when an impair number of people is on the party
fix: the javascript error on autosave
fix: theme responsive
fix: warning for  label
Checklist

[x] My Pull Request point to sprint branch
[x] I move my Issue to Review in progress
[x] I add tests if necessary.

👏🏻


Added -u, -k and -K flags

-u	Path Prefix
-k	Key Prefix
-K	Key Name

I had some time to do the PR before leaving for vacation tonight.
I've tested it, and this command now works as expected:
./HLS-Stream-Creator.sh -i video.mp4 -s 4 -o tmp -b 512 -K keyfile  -e -k https://google.com -u https://example.com
I haven't tried to display a video with this, but I haven't changed anything in the processing.

Sorry I missed the notification of the original pull!
Looks good to me, merging


Add TX DMA implementation for SPI3

DMA2 channel 2 was selected after referring to the "DMA request mapping"
section of the reference manual (section 13.3.7).
Tested locally with a large number of LEDs and works well.
Closes #263.

Looks good, thanks!


Internal act command to rewrite parts of a litmus test header

The current approach (using act-c dump-header, an external script, and act-c replace-header) works ok, but if we solve #142 by doing header surgery it's going to become very cumbersome to keep emitting and consuming JSON.  Adding this as another tool will make things a bit simpler, and the fact that it'll be used for two different operations IMO makes it worthwhile.

Forgot to close; this is now act-c modify-header.


Chronograf Alerting Issue using two different influxdb database

Hi,
I’m running TICK setup in my system. where I can send alerts using own( influxdb installed along with TICK setup) influxdb databases and see the alerted logs in my screen.
with same TICK setup, I can add different influxdb databases( installed in different system), I can connect the influxdb databases and can create alert using measurements. but alerts are not generated with different influxdb databases.
Could please explain me about “is there any restriction or any workaround on this?”
Thanks!

Hi @MuruganChandrasekar ,
Thanks for reaching out. We're trying to determine the best place to land this issue. Can you give us more details on your entire setup?

@noramullen1,
I'm using default configuration in the TICK setup. I didn't change anything in the configuration.
As I said earlier, the alerts from Chronograf is working only for influxdb databases( running with TICK setup ).
but the alert is not generating for other influxdb databases ( running on other servers ). Also I can connect the influxdb databases and can create alert using measurements


[Minor] modify eagle-dev/merge-eagle-pr.py, changing urls from incubator-eagle…

modify eagle-dev/merge-eagle-pr.py, changing urls from incubator-eagle to eagle

LGTM


SAK-45110 Library CSS Performance tuning

https://jira.sakaiproject.org/browse/SAK-45110

Add node/npm to library project in order to ...
Upgrade from libsass to dartsass
Add eslint to library project
Refactor color palette generation to use HEX instead of HSL colors, also use less characters in each color name
Replace color classes with @include sakai-colorize(sakai-red-60, sakai-red-10) works with one or two arguments
Add watch-sass profile to speed up CSS development. The watch-sass profile does not currently work with -Dcustomization.file and only SCSS changes from files included in tool.scss or properties.scss will be reflected
Add an eslint profile to aide JS development
Add custom js lib and main files to aide those managing multiple skins
Add stylelint to help prevent codacy errors in library PRs

This is  big PR but the vast majority of the changes are just adding the package-lock.json so don't be too daunted :)

Is there a way to have codacy use the configs we have in the codebase? I've added a .stylelintrc.json which is the config file for stylelint, the linter codacy uses for SCSS but it didn't pick up that configuration in it's check.

Docs say that Codacy will look for it once it's committed: https://docs.codacy.com/repositories-configure/configuring-code-patterns/
We can also add a linter to the Github Actions build steps which would prevent any non-confirming new code to be rejected

I don't know how many languages that would work for, but I'd be happy to work on moving SCSS, CSS, and JS from Codacy to github actions with stylint and eslint if others like the idea. I did some work on Cypress for Conversations testing earlier this month, would be open to exploring that with Github Actions as well.

@profmikegreene what's the fundamental reason for leaving libsaas behind? Is it just not maintained well?

Yea, libsass is depreciated and not getting new features. It hasn't caused us much issues yet but I think it'll only get harder as time goes on. Any new/upgraded ui libraries that need to be built with SCSS will most likely require dartsass moving forward, bootstrap 5 has already done that.
It may be that a maven package will be created for dartsass directly, i didn't see one a few months ago when I began down this path. Since so much frontend workflows are built around node and we already had node in /webcomponents, this approach seemed viable but it is definitely a large change worth pausing on.
I also use a containerized dev environment that was running into permission issues at the start because maven was building as root, definitely want others to verify this builds with their config.

for reference
https://sass-lang.com/libsass
https://getbootstrap.com/docs/5.1/getting-started/contribute/#sass

Thanks for the links. I agree this is the best path.

Upgrading to npm 7 to match what was recently put in the components project has broken something. converting to draft to explore options.

I bumped the npm version back down to 6 to resolve the build issues. Also added some more documentation and some sample mvn builds in the compile-skin.md

I don't know if I'll have time to split this apart before the branch is cut. I agree there's multiple things accomplished in this PR that should be split if given time.
My rationale for pushing it through for 22 was out of concern for back merging stuff from 23 knowing that Bootstrap 5 requires dartsass to compile. Undoubtedly, library will change completely between 22 and 23 as a result of the trinity work, so that rationale may be moot anyway.
Assuming we move forward with the strategy of creating a trinity branch for that work in the next couple weeks, would you prefer to hold this change until then and put this work there?

Agreed if this is trinity work we need NOT to merge this at this time. For others looking at this Trinity is a project for a 23 release. Lets keep this as a Draft.


FAQ: What is the minimal WOPI host required to implement?

Answer: CheckFileInfo and GetFile

I would make it clear:

View: CheckFile and GetFile
Edit: CheckFile, GetFile PutFile, Lock, Unlock, UnlockAndRelock, RefreshLock.

Also, GetFile is not really necessary, because you can use DirectReadURL on CheckFile response to make Office Online boot without doing a GetFile request.
btw. DirectReadURL is not documented.

Also, GetFile is not really necessary, because you can use FileURL on CheckFile response to make Office Online boot without doing a GetFile request.

Not to spec - GetFile is required per spec, and it's required since we aren't 100% sure we use FileUrl in all possible cases.


[20.03] libnvidia-container: 1.0.0 -> 1.0.6

(cherry picked from commit 9e315b98a21bb9e05b0254c321086b832c17f2be)

Motivation for this change
Cherry pick of 9e315b98a21bb9e05b0254c321086b832c17f2be
Closes #83713
Credit to @averelld
CC: @tomberek @tbenst
Things done

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

[x] 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
[x] Fits CONTRIBUTING.md.

Tested on NixOS 20.09pre2222444.22a3bf9fb9e on a p3.2xlarge

Result of nixpkgs-review pr 86098 1

1 package built:
- nvidia-docker


Additional login methods using firebase auth

In this PR I have added

Integrate Additional Providers with proper Icons
-> Github
-> Facebook
-> Microsoft

Register Route

Login Route

2.Update Firebase Configuration

Videos Logging in with Different Providers
Github
https://github.com/user-attachments/assets/fbe3a7e2-16d4-4b01-bf4c-aed19c5d5991
Facebook
https://github.com/user-attachments/assets/ceb4fc30-5142-4101-b35a-f1839f25aaa4
Microsoft
https://github.com/user-attachments/assets/d489b9eb-b260-49a1-be54-6da67ec639d7
Handling Cases where User has same email in different Providers.
Over here user with the email has already been there with Facebook provider and he try's to login with GitHub now.
https://github.com/user-attachments/assets/a3b4df93-5677-4cb9-89d7-37a1593307cb
3.Made .gitignore centralized
3.Removed .env files to maintain security
solves #4

Hi,
@VishalTheHuman please review this PR

Nice work @adofm! 🚀

Nice work @adofm! 🚀

Thanks

/bounty 80 @adofm


Use css classes, and css file for most styling

Closes #14

Wait for Mozilla Addons to approve before merge


Use random port instead of unix sockets

Polish testing with embed etcd: UDS is abandoned.

Please hold this PR till 0.1.0 is released.


[improve](group commit) Group commit support chunked stream load in flink

Proposed changes
Issue Number: close #xxx
When use group commmit and chunked stream load, because chunked stream load does not has content length, we can estimate the wal size, so we skip group commit in the original way.
This pr allow it.
How to avoid large wal will be solved in later pr.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


new lesson: Subarrays

⭐ Request Type
Add notes for the lesson Subarrays.
you can start your contribution from this file
Topic:

Introduction
some problems on subarrays
Two Pointers Algorithm
Sliding Window

💻 Location
This file is at:
section: 4
lesson: E
order: 4E
file-name: subarrays.md
❌ Additional Info
No response

Hey, I would like to contribute to this issue.

This one is already taken by someone please work on the other issues I'll be opening more, don't worry!

Hey @Utkarsh1504 assign me this issue please.


Removing bind and adding a functional component in react

@iFlameing I don't have time to review this and also not enough deep react knowhow.
So I trust you that the change is ok. Please revert if I'm wrong.


Farsi texts are not rendered correctly on non-windows machines

Describe the bug
Farsi or Arabic texts (I didn't test other languages to see if they have the same problem) were not rendered correctly and fell apart in badges. For example سلام دنیا will be rendered in badge something like this ا ی ن د م ا ل س but in the worst shape and the characters placed inside each other.
To Reproduce
Steps to reproduce the behavior:
Any Persian or Arabic text in link or title badges:
badgify.thex.solutions/api/badge/link?title=سلام%20دنیا&icon=github
badgify.thex.solutions/api/badge/title?title=سلام%20دنیا
Screenshots
On Ubuntu OS, Chrome browser:

On IOS 15.2.1, Safari browser:

But on Windows OS, Chrome browser, everything is Ok:

So I wanted to be sure this was an OS-related problem, and I checked the badges with the Firefox browser on my Ubuntu OS. And suddenly everything was OK again :|


how to get the tenant id

is tenant id get passed as an environment variable?

Hey @qwudssd , if you're talking about accessing the Tenant ID from your Docker container yes, the Tenant ID is passed as an environment variable of the form TENANT_ID.
You can view all the environment variables currently passed to Application Service docker containers by viewing the ECSTaskDefintion resource in the tenant-onboarding-app.yaml CloudFormation template.
Next time, please start a Q&A discussion so the answer can be left for others to find!


[EXECUTOR PR REVIEW]: send container network traffic metrics via logging client

Please review: https://github.com/cloudfoundry/executor/pull/83

PR Merged


Transparent card background

Thanks for the great package!
I have a login screen with an image as a background which I would like to render the different inputs over, like this.
      <Wallpaper>
        <Logo />
        <Navigation
          cardStyle={{ backgroundColor: 'transparent', shadowOpacity: 0 }}
          hideNavBar
        >
          <Card cardStyle={{ backgroundColor: 'transparent', shadowOpacity: 0 }} exact path="/login" render={_UserSection} />
          <Card cardStyle={{ backgroundColor: 'transparent', shadowOpacity: 0 }} path="/accounts" render={() => <AccountSelect />} />
          <Card cardStyle={{ backgroundColor: 'transparent', shadowOpacity: 0 }}  path="/password" render={() => <PasswordSection />} />
        </Navigation>
      </Wallpaper>

However, I am not able to get rid of a light grey background which seems to have appeared after using react-router-navigation. So, in the first case, Is it possible to have transparent backgrounds on the cards? If so, does anyone know of any way of removing this grey background from the app.
What is the current behavior?

Not able to remove grey background colour on cards.

Added cardStyle={{ backgroundColor: 'transparent' }} on every <Navigation />
Checked all the styles in my app. Yet, I haven't found where this background grey is coming from.
I also have the same problem in this gif. Which was in a previous issue.

Although I am not able to change cardStyle properties.
I am trying to achieve something like @CharlesMangwa login screen,

Environment (include versions) Vscode

Device: iPhone 6 (Sim)
OS: IOS
React-Native (version): 0.53.3
React-Router (version): 4.2.0
React-Router-Navigation (version): 1.0.0-rc.4

Same here. Any solution?

@skyskysky11
No sorry, I ended up creating a custom animation wrapper using LayoutAnimation which I wrapped around each route in a switch.

Should work with https://github.com/LeoLeBras/react-router-navigation/pull/68 😎

This should be fixed in 1.0.0-rc.5


Resource name constraints (4)

xref: #17969, #19099, #18746

/hold
Pending #19106

/hold cancel

Page previews:
https://deploy-preview-19121--kubernetes-io-master-staging.netlify.com/docs/concepts/workloads/controllers/replicationcontroller/
https://deploy-preview-19121--kubernetes-io-master-staging.netlify.com/docs/concepts/services-networking/endpoint-slices/
https://deploy-preview-19121--kubernetes-io-master-staging.netlify.com/docs/concepts/services-networking/service/
https://deploy-preview-19121--kubernetes-io-master-staging.netlify.com/docs/concepts/configuration/secret/
https://deploy-preview-19121--kubernetes-io-master-staging.netlify.com/docs/concepts/architecture/nodes/
https://deploy-preview-19121--kubernetes-io-master-staging.netlify.com/docs/concepts/policy/resource-quotas/

/lgtm

/approve


OTel semconv: First stab at events

Event proposal

Closing in favor of https://github.com/open-telemetry/semantic-conventions/pull/980


type 'double' is not a subtype of type 'BorderRadiusGeometry?'

when i try to change border radius , its showing error type 'double' is not a subtype of type 'BorderRadiusGeometry?'
the goal is i want to make borderRadius 0
this my code
   AnyLinkPreview(
                                  link: metadata,
                                  titleStyle: TextStyle(fontSize: 14, color: Colors.black, fontWeight: FontWeight.w400),
                                  bodyStyle: TextStyle(fontSize: 12, color: Colors.black.withOpacity(0.5)),
                                  borderRadius: 0,
                                  displayDirection: UIDirection.UIDirectionHorizontal,
                                  cache: Duration(hours: 1),
                                  bodyMaxLines: 3,
                                  boxShadow: [BoxShadow(color: kChacaYellowColor)],
                                  backgroundColor: kChacaYellowColor,
                                  errorWidget: Container(
                                    color: Colors.grey[300],
                                    child: Text('Oops!'),
                                  ),
                                  errorImage:
                                      'http://4.bp.blogspot.com/-GZEA28juPQ4/Urrv36Bp-4I/AAAAAAAAAOk/InvzgxJCr3s/s1600/error.png',
                                ),

thanks~

Hi @echomartha
This issue is fixed in the package version 1.0.8
Thanks!

Hi @sur950 Thanks for your response
when i update Package version to 1.0.8 there have issue
depends on any_link_preview ^1.0.8 which depends on url_launcher ^5.7.10, url_launcher ^5.7.10 is required.

Hey @echomartha
Yep, I need to use latest version of url_laucher package in-order to support this for Desktop.
If you have any dependencies with the same package & needed to use old version of url_launcher. Let me know, I will try to find a way. (But updating url_laucher to latest version in your project might not break things).
Thanks!

Thanks for using it @echomartha


Appearance of :Lspsaga hover_doc

Describe the bug

NOTE: I also tried it with other themes.
Steps to reproduce
Just install this plugin and use :Lspsaga hover_doc.
Expected behavior
The appearance should be the same as it shows on the showcase.
Neovim version (nvim -v)
0.9.0 and nightly
lspsaga commit
c7cc005ba2600c3eaf2bddb2b631ecc9d63b2ba8
Terminal name/version
Windows terminal 1.16.230126001

install treesitter markdown and markdown_inline parser please run :checkhealth

I reinstalled the two parser. It's not totally the same, but it's better than before.

run command twice jump into the hover window then :setlocal conceallevel?  and :setlocal concealcursor what's the output of these two commands

looks like you dont install tree-sitter

:setlocal conceallevel? -> 2
:setlocal concealcursor -> niv
Oh, I see that must be the reason. Thanks anyways.

I Installed tree-sitter-cli through npm, but still the same.

nvim-treesitter checkhealth report is what ? the code block should be hide by conceal ..

And it didn't detect any errors.

everything looks good . it should works fine.  jump to hover window and try :set filetype=makrdown :set conceallevle =2 :set concealcursor=niv then how it change?

Still the same :(

not relate terminal i think .

I tried a min config only lspsaga and nvim-lspconfig it works fine.

maybe it's still showing because even in a markdown file it's still visible.

override by other plugin or something else ?  you need debug your config i think . when :set conceallevel =2 it should hide some symbols.

Then I'll disable my other plugins and find who causes it.

Sadly, other plugins aren't the cause.

This is a weird issue.


Remove TokenManager as req to log identity_id

Fixes #1496

@aslakknutsen snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1497-1

BTW when testing this PR locally I faced unrelated test failures: https://github.com/fabric8-services/fabric8-wit/issues/1499


Adding a stop music button

It is not a good experience for a user that the music is still playing even if you are entering another promt , so there should be a stop music button so that user could stop it , as many users may not where an earphone or something

i could solve it , please assign me the issue.

hello , i have already worked on this project . As i have also my version of this project . Can you assign me this task.

@SadanandMiskin @sanketshinde3001  You may raise issues for PRs
In SWOC, here is everything first come first serve basis
If he fails to do so, I will assign you


Compose applyMiddleware dispatch once.

compose(middleware(methods), store.dispatch) was happening on each dispatch, this pr updates applyMiddleware to only compose the dispatch method once.

@acdlite Can you take a look?

This looks great to me but just to make sure.

Thanks again. Pretty sure this is good to go.


Update the go-uuid library to latest version

Fixes #

release-note

thx for the update
/lgtm
/approve


[BUG] nifikop fails to scale down nifi cluster due to a crash in the middle of reconcileNifiPod()

Bug Report
We find that nifikop will never be able to scale down the nificluster successfully if it crashes in the middle of reconcileNifiPod() and later restarts.
More concretely, inside reconcileNifiPod(), nifikop does the following:

check if the desired pod exists. If not, it does the following
create the pod
set status.nodesState[nodeId].configurationState of the nificluster cr to ConfigInSync
set status.nodesState[nodeId].gracefulActionState.actionState of the nificluster cr to GracefulUpscaleSucceeded

If nifikop crashes between 3 and 4 and later restarts, it results in an intermediate state, where the nifi pod is created (with ConfigInSync) but the corresponding actionState is not set. Note that given the pod already exists, nifikop will not run the above steps 2, 3, 4 again.
Later if the user wants to scale down the nificluster, this pod is supposed to be offloaded and deleted gracefully. Inside reconcileNifiPodDelete, nifikop checks whether the corresponding actionState of the pod is GracefulUpscaleSucceeded or GracefulUpscaleRequired. If so, it will add the pod to nodesPendingGracefulDownscale and later offload and delete the nifi node (pod). However, since the corresponding actionState is not set due to the previous crash, the graceful downscale will never happen.
What did you do?
Scale down a nificluster from 2 nodes to 1 node.
What did you expect to see?
The second nifi pod should be deleted successfully.
What did you see instead? Under which circumstances?
The second nifi pod never gets deleted.
Environment

nifikop version: https://github.com/konpyutaika/nifikop/commit/1546e0242107bf2f2c1256db50f47c79956dd1c6

go version: go1.13.9 linux/amd64

Kubernetes version information: v1.18.9

Possible Solution
One potential solution is to switch the order of 3 (set configurationState to ConfigInSync) and 4 (set actionState to GracefulUpscaleSucceeded). If nifikop crashes before ConfigInSync is set, reconcileNifiPod() will later deletes and recreates the pod.
Additional context
We are willing to help fix the bug.
The bug is automatically found by our tool Sieve: https://github.com/sieve-project/sieve

Duplicate with https://github.com/konpyutaika/nifikop/issues/49.

Hi @juldrixx Thanks for the reply.
This issue is kinda similar to #49 as both of them are triggered by a crash at a particular point. However, we believe they are different issues and should be handled in different ways.
First, the triggerings are different. #49 happens when a crash happens between (1) updating the config object and (2) setting ConfigOutOfSync in Reconcile() in resource.go. But this issue is triggered when a crash happens between (1) setting ConfigInSync and (2) setting GracefulUpscaleSucceeded in reconcileNifiPod () in nifi.go.
Second, the consequences are different. For #49, once the issue is triggered nifikop cannot successfully restart the pod to load the new configuration. For this isues, once triggered nifikop cannot scale down the nifi cluster.
Regarding the fix, from a high-level both of them could be fixed by carefully changing the order of certain updates. But the concrete fix would be different as the triggerings are different.


block in with_polling_events

I started getting these errors, a subsequent build fixes it, just wondering if you have insight why this may be occurring.
thanks!
/usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/eb_environment.rb:100:in block in with_polling_events': Elasticbeanstalk instance provision failed (maybe a problem with your .ebextension files). The original message: [Instance: i-281ca0d5] Command failed on instance. An unexpected error has occurred [ErrorCode:<PHONE_NUMBER>]. (RuntimeError) 	from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/event_poller.rb:33:in block (3 levels) in poll'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/event_poller.rb:32:in each' 	from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/event_poller.rb:32:in block (2 levels) in poll'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/event_poller.rb:56:in fetch_events' 	from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/event_poller.rb:17:in block in poll'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/event_poller.rb:16:in loop' 	from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/event_poller.rb:16:in poll'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/eb_environment.rb:94:in with_polling_events' 	from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/eb_environment.rb:76:in update_eb_env'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/eb_environment.rb:25:in deploy' 	from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/deployment_strategy/blue_green.rb:18:in deploy'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/default_component.rb:16:in deploy' 	from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/environment.rb:32:in block in deploy'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/environment.rb:31:in each' 	from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/environment.rb:31:in deploy'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer.rb:212:in deploy' 	from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer.rb:255:in cli'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/bin/eb_deploy:11:in <top (required)>' 	from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/bin/eb_deploy:23:in load'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/bin/eb_deploy:23:in <main>' 	from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/bin/ruby_executable_hooks:15:in eval'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/bin/ruby_executable_hooks:15:in `'

Hi Paolo,
It suggests "Elasticbeanstalk instance provision failed (maybe a problem
with your .ebextension files". Have you been able to deploy with the
current .ebextension files before? If not maybe take another look at what
they contain.
Some examples on what they should contain
https://github.com/lapygithub/eb_config_examples.
Let us know if you are still not able to get this working.
Thanks,
Sudhindra.
On Tue, Apr 14, 2015 at 10:24 AM, Paolo Vaca<EMAIL_ADDRESS>wrote:

I started getting these errors, a subsequent build fixes it, just
wondering if you have insight why this may be occurring.
thanks!
/usr/local/rvm/gems/ruby-2.0.0-p598@bamazon
/gems/eb_deployer-0.4.9/lib/eb_deployer/eb_environment.rb[image: :100:]in block
in with_polling_events': Elasticbeanstalk instance provision failed (maybe
a problem with your .ebextension files). The original message: [Instance:
i-281ca0d5] Command failed on instance. An unexpected error has occurred
[ErrorCode:<PHONE_NUMBER>]. (RuntimeError)
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon
/gems/eb_deployer-0.4.9/lib/eb_deployer/event_poller.rb:33:inblock (3
levels) in poll'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/event_poller.rb:32:in
each'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon
/gems/eb_deployer-0.4.9/lib/eb_deployer/event_poller.rb:32:inblock (2
levels) in poll'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/event_poller.rb:56:in
fetch_events'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon
/gems/eb_deployer-0.4.9/lib/eb_deployer/event_poller.rb:17:inblock in
poll'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/event_poller.rb:16:in
loop'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon
/gems/eb_deployer-0.4.9/lib/eb_deployer/event_poller.rb:16:inpoll'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/eb_environment.rb:94:in
with_polling_events'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon
/gems/eb_deployer-0.4.9/lib/eb_deployer/eb_environment.rb:76:in
update_eb_env'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/eb_environment.rb:25:in
deploy'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon
/gems/eb_deployer-0.4.9/lib/eb_deployer/deployment_strategy/blue_green.rb:18:in
deploy'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/default_component.rb:16:in
deploy'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon
/gems/eb_deployer-0.4.9/lib/eb_deployer/environment.rb:32:inblock in
deploy'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer/environment.rb:31:in
each'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon
/gems/eb_deployer-0.4.9/lib/eb_deployer/environment.rb:31:indeploy'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/lib/eb_deployer.rb:212:in
deploy'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon
/gems/eb_deployer-0.4.9/lib/eb_deployer.rb:255:incli'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/gems/eb_deployer-0.4.9/bin/eb_deploy:11:in
<top (required)>'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/bin/eb_deploy:23:inload'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/bin/eb_deploy:23:in
'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon
/bin/ruby_executable_hooks:15:ineval'
from /usr/local/rvm/gems/ruby-2.0.0-p598@bamazon/bin/ruby_executable_hooks:15:in
`'
—
Reply to this email directly or view it on GitHub
https://github.com/ThoughtWorksStudios/eb_deployer/issues/38.

--
Sudhindra.
@sudhindraRao

Thanks for the reply, Subhindra. Yes, we have been able to deploy with our current .ebextension files. We've opened a ticket with AWS.
It could be unrelated, but we've seen the following in the system logs for instances that have experienced this problem.
udevd[1180]: failed to execute '/lib/udev/input_id' 'input_id /devices/platform/i8042/serio0/input/input0': No such file or directory

udevd[1270]: failed to execute '/lib/udev/input_id' 'input_id /devices/virtual/input/mice': No such file or directory

growroot: NOCHANGE: disk=/dev/xvda partition=1: size=16773086, it cannot be grown

Caleb
(I work with Paolo)

We heard back from AWS:
"It seems that there is currently a timing issue that occurs when a rolling deployment takes place alongside an auto scaling "scale up" event.
In some cases the additional instance(s) are receiving deployment commands out of sequence. The result is the additional instances may or may not come up running the latest version. We are working on a fix, but this may take some time to properly correct.
There are two workarounds that we can suggest until we fix this issue:

You previously mentioned that you are using a blue/green deployment model. We would like to ask that you continue using blue/green deployments to update your application as this issue should not arise when using the following deployment procedure:

-Create a clone environment,
-Deploy the new version of the software to the new environment,
-Test the application to ensure proper functionality
-Perform a CNAME swap to move the traffic over.
When you use your blue/green deployment strategy described above do you still experience this error?

If wish to use an in-place version update model, then you should turn off auto scaling scale ups
via the auto scaling console or CLI, perform the rolling update and then turn scale ups back on."


Update badges in README.md

@lucabello for some reason when I updated the branch from the browser, github generated a non-signed commit.
Mind forcepushing?

Done! :)


Avoid creating duplicate items

I'd love to see the system be smart enough to avoid duplicating child links that it already created.
Example Scenario:

User clicks one-click-child links to add items to various stories
Admin adds more templates
User wants to run one-click-child links again to fill in the missing items without creating duplicates of the originals.

Possibly this could be implemented by flagging child links when they are added somehow with a reference to the template they were created from.

Hi all,
I would also be interested in this feature or maybe a workaround that would enable it - support "child exists" / "child does not exist" sort of sub-conditions for applywhen function (so that template could prevent creation if a child with the same Title or Tag already exists)...


GPUImage Support?

Hello,
Has anyone got any idea how to implement GPUImage [https://github.com/BradLarson/GPUImage] as an Optional ImageTool for more advanced image filters and manipulations. I've been trying for the last week to implement this feature, to little success.
Any response is greatly appreciated.
Christopher

Hello i am adding GPUImage in my project but i can't add "CLGPUImageVignetteFilter" .
I am adding this code
#import "CLFilterBase.h"

(NSDictionary*)defaultFilterInfo
{
@"CLGPUImageVignetteFilter"    : @{@"name":@"CLGPUImageVignetteFilter",         @"title":[CLImageEditorTheme localizedString:@"CLGPUImageVignetteFilter_DefaultTitle" withDefault:@"Vignette"],     @"version":@(6.0), @"dockedNum":@(14.0)}

}
@interface CLGPUImageVignetteFilter : CLDefaultEmptyFilter
@end
@implementation CLGPUImageVignetteFilter
@end
the output image is nill.
Can you explain step by step please how to add  "CLGPUImageVignetteFilter"
Thank you.


[Bug]: prepare-environment fails

Installation method
Own AWS account
What happened?
I tried this lab https://www.eksworkshop.com/docs/fundamentals/managed-node-groups/
AWSReservedSSO_AWSAdministratorAccess_f927e76eb8ab9447:~/environment $ prepare-environment fundamentals/mng
Refreshing copy of workshop repository from GitHub...

Resetting the environment, please wait
Waiting for application to become ready...
Cleaning up previous lab infrastructure...
Creating infrastructure for next lab...
bash: line 128: EKS_DEFAULT_MNG_MIN: unbound variabl
AWSReservedSSO_AWSAdministratorAccess_f927e76eb8ab9447:~/environment $
AWSReservedSSO_AWSAdministratorAccess_f927e76eb8ab9447:~/environment $ eksctl get nodegroup --cluster $EKS_CLUSTER_NAME --name $EKS_DEFAULT_MNG_NAME
Error: flag needs an argument: --name

What did you expect to happen?
The list of node groups should have been displayed, but in fact the command was an error!
How can we reproduce it?
This will occur if prepare-environment is run after the Introduction step is completed.
Anything else we need to know?
No response
EKS version
v1.25.6

Hi @panicboat , did you run the use-cluster command prior to this? It should be something like:
use-cluster eks-workshop

@niallthomson Thanks, I ran use-cluster and it worked.
I will make sure to run use-cluster every Step.


DO NOT MERGE User-space implementation of js.{Any,ThisFunction}.fromFunctionN.

Depends on #3233. Only the last 2 commits are part of this PR.
Previously, those methods were primitives. They did have a user-space body, but it was not used. This was done because most JS functions were the result of applying those implicit conversions. However, now that we have SAM support in all the versions of Scala for our library, we can get away without them being primitives.
If the user's codebase has SAM support, this commit changes virtually nothing. If it doesn't (it uses Scala 2.11 without -Xexperimental), then this commit produces slightly worse code than before (there is a useless double-box of functions), but it is still correct.
If we assume that most end-user codebases should use Scala 2.12 anyway, we are not losing much. We could also improve the optimizer to remove the double-box in the future, if necessary. This commit does not do that, however.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/4445/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/6007/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/4448/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/6010/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/4449/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/6011/
Test PASSed.


Fix serialization of texture transform extension for normalTexture

Texture transforms weren't serializing because the normalTexture uses a different type from other textureInfo properties.

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

Thanks @agrittmsft and @chriche-ms for reviewing! LGTM.


LEGO: Pull request from juno/hb_dd8dbf7b-874d-49f2-9313-853dd6e34f6c_20210702191236165 to main

LEGO: Pull request from juno/hb_dd8dbf7b-874d-49f2-9313-853dd6e34f6c_20210702191236165 to main with localized lcls

Codecov Report

Merging #234 (701c4fa) into main (cb0c484) will decrease coverage by 0.41%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #234      +/-   ##
==========================================
- Coverage   89.59%   89.18%   -0.42%
==========================================
  Files          87       87
  Lines        6008     6008
==========================================
- Hits         5383     5358      -25
- Misses        625      650      +25

Impacted Files
Coverage Δ

....Composition.AppDomainTests/OpenGenericExport`1.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...mposition.AppDomainTests/ExternalExportOnMember.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...mposition.AppDomainTests/ExternalExportWithLazy.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...osition.AppDomainTests2/CustomMetadataAttribute.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...dTypeReceiver/PartThatImportsLazyOfEmbeddedType.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...rtThatLazyImportsExportWithMetadataOfCustomType.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...atLazyImportsExportWithTypeMetadataViaTMetadata.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...tLazyImportsExportWithTypeMetadataViaDictionary.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...ft.VisualStudio.Composition/LazyMetadataWrapper.cs
68.71% <0.00%> (-3.07%)
:arrow_down:

...soft.VisualStudio.Composition/ReflectionHelpers.cs
69.28% <0.00%> (-1.37%)
: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 cb0c484...701c4fa. Read the comment docs.


Build on AWS EC2 doesn't work

code-server version: latest
OS Version:
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.3 LTS
Release:	18.04
Codename:	bionic
CloudProvider:AWS
Node:10.16.0

Description
yarn run v1.19.1
$ yarn && yarn runner build 1.39.2 development
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
success Already up-to-date.
$ cd ./scripts && node --max-old-space-size=32384 -r ts-node/register ./build.ts build 1.39.2 development
[build] Not running inside VS Code
[build] rootPath is "/home/ubuntu/code-server"
[build] outPath is "/home/ubuntu/code-server"
[build] arch is "x86_64"
[build] target is "linux"
[build] vscodeVersion is "1.39.2"
[build] codeServerVersion is "development"
[build] Installing code-server dependencies...took 545ms
[build] Using existing VS Code clone
[build] Using existing VS Code node_modules
[build] Building default extensions...failed
Command failed: yarn gulp compile-extensions-build --max-old-space-size=32384
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'gulp-bom'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/ubuntu/code-server/source/vscode-1.39.2-source/build/lib/compilation.js:10:13)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
error Command failed with exit code 1.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Steps to Reproduce

git clone
yarn build 1.39.2 development

did you run yarn first before doing build steps?

Duplicate of #1094


mono to stereo

Hi, when i run
$ amixer
I obtain this:
Simple mixer control 'PCM',0   Capabilities: pvolume pvolume-joined pswitch pswitch-joined   Playback channels: Mono   Limits: Playback -10239 - 400   Mono: Playback -25 [96%] [-0.25dB] [on]
It's possible evolve it from mono to stereo?
Another question, sometimes audio pick/sick. I use raspberry 3 model B+ and I have connect it to yamaha rx-v571 by hdmi and I stream with OnePlus 7 by bluetooth.
Thank you

Can you test if the audio is really mono? As far as I know the output you mention only applies to the mixer (so both channels are adjusted equally when setting the volume). Do you try to play audio through the Raspberry's 3.5mm jack, or through HDMI?

As for the audio glitches: do you use the internal Bluetooth and the internal WiFi? If so, try disabling the WiFi connection while playing via Bluetooth by uncommenting the two ifconfig lines in /usr/local/bin/bluetooth-udev.
To achieve the best result, you might need to use a Bluetooth USB dongle (like the CSR 4.0 / CSR8510) and a USB or I2S audio adapter.

I test my system with youtube video ( https://www.youtube.com/watch?v=MkObqRUvpRY ) and work in stereo mode and work fine. I use HDMI under bluetooth.

I try with 5.1 test ( https://www2.iis.fraunhofer.de/AAC/multichannel.html first HE-AAC ) but doesn't work fine, I think the sound in downgraded to Stereo.

Oh, I‘m not sure if BlueAlsa (or even Bluetooth Audio with SBC at all) supports more channels than Stereo...


Cognitive Services API always returns error: {code: "404", message: "Resource not found"}

The cognitive services API is always returning error: {code: "404", message: "Resource not found"}. I have tried everything but I can't get it to work. Any help would be appreciated.
My code (from https://docs.microsoft.com/en-us/azure/cognitive-services/Computer-vision/quickstarts/javascript-analyze):

My Azure Resource:

My Network Headers:

Thank you in advance for any assistance with this issue.

@lisenkaci Thank you for the valuable feedback,we are investigating the issue.

Thank you! Let me know if you need any more information.

@lisenkaci Hi, could you please try to change as following: var uriBase =
"https://canadacentral.api.cognitive.microsoft.com/vision/v2.0/analyze";
It works for me well.

That worked thank you! where can I find the correct API base to use in the docs? In the Azure portal resource it was different. I just want to understand for the future. Thank you!

@lisenkaci Hi, glad to know it helped! So the end point you find is correct. But there are a lot of product under cognitive services so you need to add suffix of the product.

As the document:

Basically you just need to change the region. OR you can refer to the Request URL in every API references.
https://westus.dev.cognitive.microsoft.com/docs/services/5adf991815e1060e6355ad44/operations/56f91f2e778daf14a499e1fa
Regards,
Yutong

@lisenkaci
We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.

I am getting issues with Translate API
I am using
'https://eastus.api.cognitive.microsoft.com//translate?api-version=3.0&to=de&to=it'

@kartikaynigam Hi, this thread is too old. Could you please open a new one?  Thanks.


Draft: Detox android fix smoke tests

Summary
 Fixes latency related tests, when running tests locally.
Ticket Link

Checklist

[ ] Added or updated unit tests (required for all new features)
[ ] Has UI changes
[ ] Includes text changes and localization file updates
[ ] Have tested against the 5 core themes to ensure consistency between them.

Device Information
This PR was tested on:
Screenshots

Release Note

Successfully triggered e2e mobile testing!
https://git.internal.mattermost.com/qa/mobile-e2e-testing/-/pipelines/311167


Add update to T&C in the 1.4.2 release notes

The T&C were last updated on 13th January 2021.
https://hexawallet.io/terms-of-service/
for
This Agreement may be amended by BitHyve without providing you advance notice of any proposed change. If you do not agree to the amended agreement then your sole remedy will be to stop using the Services, including any Wallet.
Added word "without".

@antuz123  - FYI

@antuz123  - FYI

Text on the release notes:
The T&C was last updated on 13th January 2021.
https://hexawallet.io/terms-of-service/

Text on the release notes:
The T&C was last updated on 13th January 2021.
https://hexawallet.io/terms-of-service/


Edit source code of drawio

Execute, how can I edit the source code of drawio. For example, I wanna edit shapes (make a new list, add, remove shape)
.
Where should I start? (Javascript source is min file?)

See https://stackoverflow.com/questions/45205746/draw-io-is-there-non-minified-source


Rename some symbols

Summary by CodeRabbit

Refactor

Renamed RoundTripQueues to MockTransport for improved clarity and naming consistency within the project.

@coderabbitai review


refactor: use hook to utilize i18n

Description
refactor i18n by using it with hooks
Resolve: https://github.com/Magickbase/ckb-explorer-public-issues/issues/435

Please resolve the conflicts and merge


add ubuntu desktop notifacation function

Add Ubuntu notice
like this

@yhx5768 Hi yhx5768, here is the updated. I am appreciated if you test it on ubuntu and to check if it causes any issue. Thanks.
        if sys.platform == 'darwin':
            # macos desktop notification
            subprocess.run(['terminal-notifier', '-title', '🍅', '-message', msg])
            subprocess.run(['say', '-v', 'Daniel', msg])
        elif sys.platform.startswith('linux'):
            # ubuntu desktop notification
            subprocess.Popen(["notify-send", '🍅', msg])
        else:
            # windows?
            # TODO: windows notification
            pass

@coolcode I tested notify-send in other linux distribution.
It is supported in Ubuntu and CentOS 8.1. And not supported in debian-kde, debian-gnome and deepin.
Other distributions have not had time to test. But I think it will work in other Ubuntu derivatives. And will not work in other debians.
I will look for alternatives in other distributions.

@yhx5768 Thanks so much.


brain-score.org submission (user:386) | (public:False)

Plugin-only changes from brain-score.org submission. Generated via Jenkins job create_github_pr, build 247. Plugins added: models: [eBarlow_lmda_001_3]

already added


Fix issues with jupyter notebooks

This PR fixes minor issues with jupyter notebooks failing, and also includes automatic checks that they work in github actions.

It's not necessary to do some extensive review, this is mostly some minor fixes so notebooks are runnable, as well as adding automatic check for future. If none of you have issues, I will merge it.


Consider Making update-domain-association Less Destructive

Is your feature request related to a problem? Please describe.
It's hard to tell by the naming of this command that you can't just update one entry of the domain associations rules. If you only try to update the one association you want, you end up wiping out the other associations that exist for that project. This seems too aggressive for an update. And is not well documented enough to prevent unsuspecting users from potentially bringing down their prod site because they would wipe out that association with this command.
Describe the solution you'd like
Update update-domain-association to only update the --sub-domain-settings that are passed and preserve the existing associations not passed to the command.
At the very least, just update the documentation so that users know what kind of outcomes to expect from this command.
Additional context
https://github.com/aws-amplify/amplify-console/issues/196#issuecomment-548053431
https://docs.aws.amazon.com/cli/latest/reference/amplify/update-domain-association.html

@jhoffmcd, your feedback is highly appreciated. We will look into this.

Is this currently being worked on? Because I can't seem to use create_domain_association as well.

not well documented enough to prevent unsuspecting users from potentially bringing down their prod site

✋ As an unsuspecting user, I can confirm that the docs are not clear even a little about being destructive. Managed to bring down production with this for a few panicked minutes.
With the current Amplify console heckery around domain configuration, I'd hoped update-domain-association would be reliable while that gets sorted out.
Are we to understand the process is to dump the current config, change the one subdomain, and push the whole config back up? 🤨


Sends emails to publishers for all issues & comments

All admins & editors. But for only configured sample of publishers, while we test it out.

This is in lieu of #42 or some other tie in with activity stream, which would be much harder work, and may not be appropriate/necessary.


Hl 403/validate dates in calculator

Description :sparkles:

Use real data for salary calculator
Validate date fields

Issues :bug:
Testing :alembic:
Screenshots  :camera_flash:

Additional notes :spiral_notepad:

Codecov Report

Merging #746 (758115e) into develop (d83ad5b) will decrease coverage by 59.13%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #746       +/-   ##
===========================================
- Coverage    63.39%   4.26%   -59.14%
===========================================
  Files          777      23      -754
  Lines        19491     258    -19233
  Branches      1883      27     -1856
===========================================
- Hits         12357      11    -12346
+ Misses        6770     220     -6550
+ Partials       364      27      -337

Impacted Files
Coverage Δ

frontend/kesaseteli/handler/next.config.js
0.00% <0.00%> (ø)

...esaseteli/handler/src/components/header/Header.tsx
0.00% <0.00%> (ø)

...ndler/src/__tests__/utils/backend/backend-nocks.ts
0.00% <0.00%> (ø)

...r/browser-tests/index-page/indexPage.components.ts
0.00% <0.00%> (ø)

...c/__tests__/utils/components/get-index-page-api.ts
0.00% <0.00%> (ø)

...components/applicationReview/ApplicationReview.tsx

...ymentAppliedMoreView/EmploymentAppliedMoreView.tsx

...entAppliedMoreView/useEmploymentAppliedMoreView.ts

...view/employmentAppliedMoreView/utils/validation.ts

...efitCalculatorView/SalaryBenefitCalculatorView.tsx

... and 749 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 d83ad5b...758115e. Read the comment docs.


Improve whilePresent description

See #386

This conflicts with changes made in #433, solving the same issue.

Fixed in #433


StackSetCodeBuildRole permissions

The Codepipline step 'CloudformationResource' is unable to compare the currently deployed stackset instances with the cloudformation templates supplied in the custom-control-tower-configuration.zip file.
The sm_execution_manager.py script fails to execute the 'compare_template_and_params()' function. A cloudtrail event 'DescribeStackSet' with Error code AccessDenied is logged.
This is because the IAM Role 'StackSetCodeBuildRole' is lacking permissions for this action.
The pull request adds the necessary permissions.
As this allows the 'compare_template_and_params()' function to work correctly, the deployed stacks under a stackset are not being updated when there is no change in the template nor parameters, thereby drastically reducing the overall deployment time.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

wrong commit