foreach error on 10.0.22-MariaDB

Executing this:
CALL foreach(
"SELECT TABLE_SCHEMA
FROM INFORMATION_SCHEMA.TABLES WHERE table_name LIKE 'devices'",
"SELECT username, group, acl_group_id FROM ${1}.users");
MySQL Version                 : 10.0.21-MariaDB ---> works fine
MySQL Version                 : 10.0.22-MariaDB ---> error:
1 queries executed, 0 success, 1 errors, 0 warnings
Query: CALL foreach( "SELECT TABLE_SCHEMA  FROM INFORMATION_SCHEMA.TABLES  WHERE table_name LIKE 'devices'", "SELECT  username, `grou...
Error Code: 1644
QueryScript error: [Unsupported token: "startg"] at 7: "SELECT
username, group, acl_group_id FROM abm.users "

Similar issue on my side:
CALL common_schema.foreach(
"SELECT table_schema FROM INFORMATION_SCHEMA.TABLES WHERE table_name = '<table_name>' ",
"UPDATE ${1}.<table_name> set ...... WHERE id =  ");

show warnings ;
Error Code: 1644 ;
Message : QueryScript error: [Unsupported token: "sleep-"] at 7: "UPDATE ... ";

MySQL version : Percona 5.6.23-72.1 -- no error ;
MySQL version : Percona 5.6.27-rel75 -- error ;

Do you know what it might be ?

I think we have the same error, see.
Do you have any suggestions @shlomi-noach?

I've tested this in 5.7 and gotten similar errors.
Looking more closely at 5.6, I tested each version of community server between 5.6.22 and 5.6.27, and 5.6.27 was the first version that started throwing the error.
So it appears to be a change between 5.6.26 and 5.6.27 that broke QueryScript.

I can also confirm:
master [localhost] {msandbox} (common_schema) > call run("foreach ($s: select TABLE_SCHEMA FROM INFORMATION_SCHEMA.TABLES WHERE table_name LIKE 'samplet') {select * from ${1}.samplet}" );
ERROR 1644 (91100): QueryScript error: [Unsupported token: "startet"] at 8: "foreach ($s: select TABLE_SCHEMA FROM INFORMATION_SCHEMA.TABLES WHERE t
master [localhost] {msandbox} (common_schema) > call run("foreach ($s: select TABLE_SCHEMA FROM INFORMATION_SCHEMA.TABLES WHERE table_name LIKE 'samplet') {select * from ${1}.samplet}" );
ERROR 1644 (91100): QueryScript error: [Unsupported token: "

I'm looking into this. I cannot see an obvious hint in http://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-27.html

master [localhost] {msandbox} (common_schema) > call run('select * from _sql_tokens');
ERROR 1644 (91100): QueryScript error: [Unsupported token: "startt"] at 7: "select * from _sql_tokens"
master [localhost] {msandbox} (common_schema) > call run('select * from _sql_tokens');
ERROR 1644 (91100): QueryScript error: [Unsupported token: "

We're also experiencing the problem in mysql 5.5 (5.5.46)

Seems like MySQL introduced a bug in local routine variables.
These variables:
    declare first_token text;
    declare first_state text;

Are assigned via:
SELECT level, token, state FROM _sql_tokens WHERE id = id_from INTO statement_level, first_token, first_state;```

With these legit values, `select`, `alpha` (first row):

+-----------+------------+----+-------+-------+--------+------------+
| server_id | session_id | id | start | level | token  | state      |
+-----------+------------+----+-------+-------+--------+------------+
|         1 |         19 |  1 |     7 |     0 | select | alpha      |
|         1 |         19 |  2 |     8 |     0 |        | whitespace |
|         1 |         19 |  3 |     9 |     0 | 1      | integer    |
|         1 |         19 |  4 |     9 |     0 |        | start      |
+-----------+------------+----+-------+-------+--------+------------+
and their values are _immediately_ corrupted.

I'm looking to see whether I can overcome this bug, but it is very disconcerting as this coding style is all over the place.

This seems to work around the problem:
      SELECT level, token, state FROM _sql_tokens WHERE id = id_from INTO @_statement_level, @_first_token, @_first_state;

      set statement_level=@_statement_level;
      set first_token=@_first_token;
      set first_state=@_first_state;

O-M-G this is everywhere. This bug is creepy and happens on multiple occasions of SELECT... INTO <local-variable>. I'm replacing all occurrences, but I'm doing so hastily at this time.
I will need to step back and do this orderly. Meanwhile I can throw in a hopefully mostly fixed deployment file.

Please find new sql file in https://github.com/shlomi-noach/common_schema/releases/tag/v2.3

Thanks @shlomi-noach

Is it confirmed the problem is solved on mentioned platforms?

I can confirm that the problem is solved on all mentioned platforms that I tested. The one I did not test is MariaDB 1.0.22.
I tested the following versions:
MySQL Community Server 5.5.46
Percona Server 5.6.27
Percona Server 5.7.10-3
MySQL Community Server 5.7.11
I was able to install common_schema 2.3 on all of those versions with no errors, and I was able to successfully run the following QueryScript test:
call common_schema.run("
foreach ($t: select TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES
WHERE table_schema = 'mysql')
{select count(*) from mysql.:${t} }
" );

I can confirm installation works too. Thank you for the fix. One little thing I mentioned is weird symbols in sql-file of release. Take a look for instance on line 13466.

Server version: 5.5.48-37.8 Percona Server (GPL), Release 37.8, Revision c8ae1b6

also works

@genuss thanks - can you kindly open a new issue for the strange chars? Probably my mac's version of html2text

thanks all, closing this issue


[6.0] Improve performance of precompiled module invalidation in incremental builds

Explanation: Simplify the explicit precompiled module invalidation algorithm for incremental builds so that it only visits each module in the graph once, avoiding a slowdown in the worst case where all/most modules in the graph are invalidated
Risk: Low. The changes are narrow in scope and covered by existing tests in the incremental build suite.
Testing: Existing incremental build correctness tests
Original PR: https://github.com/apple/swift-driver/pull/1626
Reviewer: @artemcm

@swift-ci please test


Is there a way to dynamically change the pdf?

Im trying to make a select box which dynamically change the pdf in the view any advice about how to achieve this ?

Not exactly sure of your use case, but sure you can amend the path $scope.pdfUrl upon a click, user input or anything else in the controller.


Time per instruction on pipelined machine

Hi, I was confused by this formula on page 31:
"Time per instruction on pipelined machine = Time per instruction on non-pipelined machine / Number of pipe stage"
My understanding is that the time per instruction is the same on pipelined machine or non-pipelined machine, since pipeline only improves the throughput but not the latency. If the "Time per instruction on pipelined machine" is decreased compared to non-pipeline machine, the only reason is that the frequency increases. Is there any misunderstanding here?

No, I think your understanding is correct. Pipelining helps improve the throughput, while the latency of a single instruction doesn't change. So it won't help when you have a dependency chain but will help if there is instruction-level parallelism.


Custom key on property subset

Using OrientDB 2.2.19 and remote storage ,set strictSql=false
I need to define index on part of property of type byte[] (from index 2 to 3 for example)
I tried to use Custom Key [http://orientdb.com/docs/2.2.x/Indexes.html Custom Keys]  and I faced an issue
when I create a custom index on remote database
I get exception : com.orientechnologies.orient.core.exception.OConfigurationException: Runtime index definition cannot find binary serializer with id=101. Assure to plug custom serializer into the server.
whereas I registered my custom serializer  server side by statement :
OBinarySerializerFactory.getInstance().registerSerializer(new ComparablePartialBinarySerializer(), null)
Currently to solve this issue, i forked class OBinarySerializerFactory to register my serializer.
but  I search a better solution to use custom key (without fork orientdb).
If custom key is not the good way,  is there a feature to create index on property subset.

Hi, @bplumejeau could you provide full stack trace which you get when registering binary serializer. I need to warn you that when we fix this issue you still will need to wait quite a while for the next 2.2.x release. Could you try 3.0.x version instead?

Closed because of no reply


Avoid unnecessary allocations on DependencyObjectExtensions.RegisterDisposableNestedPropertyChangedCallback

Overview
On the RegisterDisposableNestedPropertyChangedCallback we allocate an array and a SerialDisposable even when they aren't used. Moving the allocation inside the if will make sure we just allocate then if needed.

Not sure if will be a case where that if will be false, if don't feel free to close this PR.

PR Type
What kind of change does this PR introduce?

Improvements

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tested code with current supported SDKs
[ ] Docs have been added/updated
[ ] Runtime Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
[x] Contains NO breaking changes
[ ] Associated with an issue (GitHub or internal)
[x] Commits must be following the Conventional Commits specification.

Other information

Internal Issue (If applicable):

@Mergifyio backport legacy/3x


Cnv view calls issue

Hello @RCollins13 ,
Thank you for great work, I am trying to use this to plot CNV for bam generated from 10x longranger wgs pipeline
Using  following steps,  I take a random deletion start and end co ordinate from bedpe file (for trial run) and
Step1)
bedtools makewindows -b breakpoints.bed -n 100 -i winnum  > windows.bed
Step2)
bedtools coverage -a windows.bed -b sample.bam  > coverage.bed
And this is my output, (I just use first 4 columns for CNView)
21	36696996	36706838	80	1799	9842	9842	1.0000000
21	36037582	36047424	13	1366	9842	9842	1.0000000
21	36175370	36185212	27	1252	9842	9842	1.0000000
21	36303316	36313158	40	1278	9842	9842	1.0000000
21	36431262	36441104	53	1699	9842	9842	1.0000000
21	36569050	36578892	67	1510	9842	9842	1.0000000
21	36824942	36834784	93	1566	9842	9842	1.0000000
21	35929320	35939162	2	1581	9842	9842	1.0000000
21	35939162	35949004	3	1579	9842	9842	1.0000000
21	35958846	35968688	5	1581	9842	9842	1.0000000
modify for CNV (trial_1.bed)
Chr	Start	End	SampleA
21	36696996	36706838	80
21	36037582	36047424	13
21	36175370	36185212	27
21	36303316	36313158	40
21	36431262	36441104	53
21	36569050	36578892	67
21	36824942	36834784	93
21	35929320	35939162	2
21	35939162	35949004	3
Rscript  CNView.R 21 35919400 36903600 SampleA trial_1.bed sampleAexampleplot.pdf --title "exampleplot"
error:
+-------------------+
| CNView Visualizer |
|     (c) 2016      |
+-------------------+
Sample ID file 'SampleA' not found, assuming single sample ID provided
Filtering & loading coverage matrix... Complete
Compressing coverage matrix [29,526 bp bins]... Error in apply(df[, 4:ncol(df)], 2, function(vals, compression) { :
dim(X) must have a positive length
Calls: CNView -> rebin -> apply
Execution halted
not sure where am i  am going wrong ...
Thanks.
Frank

Hi @frankbioinfo,
Thanks for posting some example data and the error message. I hope I can help you out here.
CNView requires a coverage matrix of regularly-sized intervals that extend well beyond (recommended at least ±5Mb) the coordinates of the CNV you wish to plot. Typically, this is done with 100bp intervals. It looks like you've computed 9,842bp bins, which is ok, although I'd recommend dicing up those intervals into 100bp bins.
You will also want to extend this coverage matrix beyond the boundaries of the CNVs. An example of what this input should look like is available here:
https://github.com/RCollins13/CNView#getting-started
Give this a shot and let me know if you still run into issues.
Best,
Ryan


Python 3 Annotations are marked as syntax error

Python 3 annotations are not identified by sublimeLinter. Is there some settings that I need to add to get this working or is this not implemented yet ?

SublimeLinter doesn’t lint anything by itself. What linter are you using and have you tried looking at its documentation?

This really is specific to a specific linter.


PathKit method calls

This is more of a question than an issue. In your README documentation, whenever a PathKit method is called such as path.exists() it uses the () at the end as seems normal. But when I do it in the Xcode IDE, it doesn't like the () at the end. I have a check in my code:
if path.exists {
....
}
And that runs fine but with the parens:
if path.exists() {
...
}
it gives me a build error. Any idea why this is the case? It's not a big deal as I've figured how to make it work. Just curious as to whether I'm doing something wrong implementing PathKit.

It appears to be a case of the readme being out of date compared to the implementation. At somepoint we made those computed properties instead of functions.
Although, in retrospect I am not sure it was a good idea, but here we are today. They are computed.


Fracture Map Added

Hello fracture:)   Most significantly this uses a new way to generate the zones to make it quicker.   For adding maps.  I added the photoshop file with the template I fed in.  The background of it is what I started with.   Zone names are the official so renaming always a potential option.   Not sure if we want a manual zone across the middle for the ropes as you can kill and be killed on them.  Clearly no ability to differentiate when in tunnels vs on top. the x/y multiplier and x/y offset are just the official valorant-api.com values without manual tweaking.  They seem quite accurate.

Looks good - I wonder if the PSD should stay in the maps directory though? Maybe pull it out into a separate directory since the build script copies everything over.

done


Add new explorer routes to UI

Lineage is already implemented. The time interval filtering is only possible for files since they have a version based on time. Is there already a consensus for how the time machine for other nodes should work?

I have to agree on that :) Maybe during the next group meeting we have time to discuss this as well.


Change the master branch to main

Why
To follow Github's standard :D
https://stevenmortimer.com/5-steps-to-change-github-default-branch-from-master-to-main/
Who Benefits?
Contributer

We now have the main branch ✅


[SingleServerSupport] Migrate C# & HTML FAR to Razor Language Server

Today we rely on the HTML C# language server to power FAR for HTML/C# scenarios. This issue encapsulates what it means to migrate that logic to our single Razor Language Server layer.
Ultimately this fixes de-synchronization that can occur between our two language servers layers when requesting and responding to C# / HTML requests.

This is possibly blocked on the platform. At the very least we need to work out a solution for streaming results, which the middle layer doesn't support.

Finished with #8014


Potential overflow issue in ServerPlayNetworkHandlerMixin_TimerCheck.java

I've been messing around with your project on my anarchy server.
I have quite lax needs, just need an antifly and antielytra to save the tps, anything speed related is fine as long as its not too out of hands.
So I was looking around the src/main/java/org/samo_lego/golfiv/mixin_checks/C2SPacket/ServerPlayNetworkHandlerMixin_TimerCheck.java file and logging the packetRate value and I think there is a problem with the logic.
You expect a default packet rate of 50 and if everything is going well and the client timer is around 1 the packetrate will hover around 0 overall during cycles.
If you go over 1 then the packetrate will eventually go over 250 and an offense will be logged.
However you didn't account for the case where a client would set a timer to a value less than 1, and I think it would eventually overflow (packetRate will just keep growing in the negative) if a user managed to stay moving long enough with it for the counter to reach that point, and even if it doesnt overflow it just takes up extra memory for no real use.
I know it's a bit far fetched but I think it shows a problem with the current check (in my view at least). I'm making changes on my side anyways to allow people to use a timer up to x2 so that 50 number will have to go, I might make a PR if you are interested.

Humm, don't you think it might be simpler to check if rate is less than e.g. -1000 and then reset it to 0 / kick the player?
Using timer x2 is actually quite a lot imho ...

Humm, don't you think it might be simpler to check if rate is less than e.g. -1000 and then reset it to 0 / kick the player?
Using timer x2 is actually quite a lot imho ...


removed incorrect 'v' PackageVersion prefix (partial revert of #16683)

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Partially reverted #16683, reason explained therein.
Microsoft Reviewers: Open in CodeFlow

Ah, I see.
I'll fix the upstream installer. Will loop back here when we have a new release.

@ItzLevvie v0.11.0 released! Please let me know how to proceed :)

Hey @ErikBjare would you mind if i created the Manifest? then you can edit the Metadata if something is wrong/missing?


Blade Install agent command didn't support windows "" in path.

The blade  install agent command did't support user use windows style "" in path in windows system. It only support "/".

hey @simonjhy can you try to send a pull request to fix it?  thanks!

@simonjhy  you mean if the user types in a "" as the path in the argument?

greg, the path muste be as unix path, the "/" can be accept by blade
2016-02-04 6:15 GMT+08:00 Gregory Amerson<EMAIL_ADDRESS>
@simonjhy https://github.com/simonjhy you mean if the user types in a
"" as the path in the argument?
—
Reply to this email directly or view it on GitHub
https://github.com/gamerson/liferay-blade-tools/issues/67#issuecomment-179499768
.

this appears to be a problem with libg library as it is not expecting to see \ in the path names.  the fix would have to be there.

Can’t we do a string replace before we pass it in?
On Thu, Feb 4, 2016 at 12:31 PM, Gregory Amerson<EMAIL_ADDRESS>wrote:

this appears to be a problem with libg library as it is not expecting to
see \ in the path names. the fix would have to be there.
—
Reply to this email directly or view it on GitHub
https://github.com/gamerson/liferay-blade-tools/issues/67#issuecomment-179985997
.

--
David Truong
Product Manager
<EMAIL_ADDRESS>Liferay, Inc

I "think"  that in an "Options" class if we specify that we have a "File" argument, the libg framework will convert that "C:\windows\have\backslashses" and try to coerce it into a "File" object by calling
new File(stringWithBackslashes) and that is failing

so the fix would be in the libg framework here likely: https://github.com/bndtools/bnd/blob/master/aQute.libg/src/aQute/configurable/Configurable.java#L96

we could send a pull

@simonjhy can you tell us more exactly what is happening?  Can you debug blade jar and see if the agent install command is even getting invoked, if the failure is in our code or if it is in the libg code.  Also tell use exactly the string you are sending blade when it fails, thanks!

$ blade agent install -l D:\Liferay_Runtime\liferay-portal-7.0-ce-b3
Error
0. agent: Could not find modules dir at D:\dev java\liferay-blade-tools\com.liferay.blade.cli\generated\Liferay_Runtimeliferay-portal-7.0-ce-b3\osgi\modules
liferay@LIFERAY-PC /d/dev java/liferay-blade-tools/com.liferay.blade.cli/generated (master)
$ blade agent install -l D:/Liferay_Runtime/liferay-portal-7.0-ce-b3
Installed remote agent sucessfully. Please wait 5-10 seconds for remote agent to be autodeployed, then use the "blade sh ". At any time, uninstall the remote agent by using the "blade agent uninstall" command.

hey guys, I got the error:
C:\Users\liferay>blade agent install -l d:/master20160107
Error
0. [Macro.] aQute/libg/cryptography/Digester
any ideas ?

We need to include that package in blade jar.
On Friday, February 5, 2016, Andy Wu<EMAIL_ADDRESS>wrote:

hey guys, I got the error:
C:\Users\liferay>blade agent install -l d:/master20160107
Error
0. [Macro.] aQute/libg/cryptography/Digester
any ideas ?
—
Reply to this email directly or view it on GitHub
https://github.com/gamerson/liferay-blade-tools/issues/67#issuecomment-180246960
.

--
Greg Amerson
Liferay Developer Tools
Liferay, Inc. www.liferay.com

@AndyWu2015 do you have a windows machine that you could debug that line in the libg class?

I was trying to debug but it can't compile  , any ideas ?

yeah , @gamerson I've fix it and send the pr.

So I guess you were able to import the new gradle project?  Did that fix it?
On Mon, Feb 15, 2016 at 1:26 AM, Andy Wu<EMAIL_ADDRESS>wrote:

yeah , @gamerson https://github.com/gamerson I've fix it and send the
pr.
—
Reply to this email directly or view it on GitHub
https://github.com/gamerson/liferay-blade-tools/issues/67#issuecomment-184095642
.

--
Greg Amerson
Liferay Developer Tools
Liferay, Inc. www.liferay.com

you mean the bug about downloading gradle dist in buildship ? I think not

No this is a problem of "blade agent install" command didn't work on
windows.
On Mon, Feb 15, 2016 at 8:14 PM, Andy Wu<EMAIL_ADDRESS>wrote:

you mean the bug about downloading gradle dist in buildship ? I think not
—
Reply to this email directly or view it on GitHub
https://github.com/gamerson/liferay-blade-tools/issues/67#issuecomment-184476440
.

--
Greg Amerson
Liferay Developer Tools
Liferay, Inc. www.liferay.com

and now it works .

AgentCommand is gone now.


Fixed issue: Value was not being set when selecting with a mouse

This code was removed when it was forked, I noticed that it was bugging out for the single value select tags. I re-added it and it worked.

Please merge this, I have seen the same issue when selecting values with the mouse and this fixes it. Thanks @luaybs

@rdawson-hmrc Do you have any idea who I should add as a reviewer from the maintainers to check this out?

@luaybs I don't know, @ryanb-gds seems to be the last person to make changes and @tvararu is top of the committers list so tagging them here, maybe one will respond

Sure thing, will run the build tomorrow and update the PR! Thanks for your input, appreciate it


Add ForeignKey constraint type

Which issue does this PR close?

Closes #.
Rationale for this change

While toying around with Datafusion, I would like to use foreign key relationship metadata.
What changes are included in this PR?

Are these changes tested?
Extended Constraint with ForeignKey.
Added conversion from sqslparser's TableConstraint.

No, what would be a good place to add tests?
Are there any user-facing changes?

Yes.
It's now possible to mark columns as foreign keys to other tables.
Adding a new enum variant is a breaking change.

Thank you @simonvandel  -- the basic idea looks good to me. It seems we have a few CI failures on this PR

Thanks @simonvandel


Multilingual Mode - Bug when "url" defined in .md starts with / followed by language

What version of Hugo are you using (hugo version)?

hugo v0.85.0-724D5DB5 windows/amd64 BuildDate=2021-07-05T10:46:28Z VendorInfo=gohugoio

Does this issue reproduce with the latest release?
Yes

In Multilingual Mode, I face a problem while defining url of pages in .md files, when these url start by a slash followed by the same letters as the language.
For example, let's assume I have languages [es] and [co] defined
Inside my [es] content directory, i put:

In one .md file:
url: "/escuela/"

Another .md file:
url: "/test-escuela/"

Inside my [co] content directory, i put:

In one .md file:
url: "/correccion/"

Another .md file:
url: "/test-correccion/"

I have not defined the publishDir for any of the language, so I am expecting the files to be located in
/public/es/escuela/
/public/es/test-escuela/
/public/co/correccion/
/public/co/test-correccion/

Instead of that, I get
/public/escuela/
/public/es/test-escuela/
/public/correccion/
/public/co/test-correccion/

It works ok if I remove the slash at the beginning, but it complicates the navigation. I fixed temporarily the issue by changing my url so that they don't match the language code. But wondering what's happening.

Related to or duplicate of:

https://github.com/gohugoio/hugo/issues/8452
https://github.com/gohugoio/hugo/issues/7733
https://github.com/gohugoio/hugo/issues/7907

Good to know that it is identified and @exoton already wrote the patch. Hopefully it can be committed soon. Thanks!

Minimal example:
git clone --single-branch -b hugo-github-issue-8765 https://github.com/jmooring/hugo-testing hugo-github-issue-8765
cd hugo-github-issue-8765
rm -rf public/ && hugo && tree public

When building the site with v0.125.4:
public/
├── co/
│   └── index.html
├── correccion/
│   └── index.html
├── es/
│   └── index.html
├── escuela/
│   └── index.html
├── test-correccion/
│   └── index.html
├── test-escuela/
│   └── index.html
├── favicon.ico
└── index.html

This is the correct and expected output given that the front matter url fields have a leading slash. Per the documentation:

In a multilingual site:

A url value with a leading slash is relative to the baseURL.
A url value without a leading slash is relative to the baseURL plus the language prefix.

If I remove the leading slash from each of the url front matter fields, the output is also correct and expected as described above:
public/
├── co/
│   ├── correccion/
│   │   └── index.html
│   ├── test-correccion/
│   │   └── index.html
│   └── index.html
├── es/
│   ├── escuela/
│   │   └── index.html
│   ├── test-escuela/
│   │   └── index.html
│   └── index.html
├── favicon.ico
└── index.html


v1.34.0 breaks screen reader accessibility in firewall rules tables

Version 1.34.0 prevents a screen reader from properly reading and navigating the firewall rules tables. My specific use case is on NVDA using Google Chrome, though I believe the screen reader and web browser being used would be irrelevant to this particular issue.
To reproduce this, create a firewall and add some rules, either inbound or outbound should work for this. Using a screen reader, the only buttons accessible when arrowing through the tables will be labeled as View Details. Tabbing through the elements does seem to provide a bit more information and a few more buttons, which can't be activated with the screen reader, and the rule being viewed isn't visible to the screen reader.
With the firewall rules interface as it currently is, this makes things far more limited in their use, so far as accessible navigation with a screen reader goes.

@tiffwong Since firewalls are now out of beta, I thought I would see if there are any updates to fix this issue soon. Using the Linode CLI to edit firewall rules isn't always desired over the cloud manager, and as it is, it makes firewalls look unattractive to screen reader users with the lack of accessibility.

@tech10 Thanks so much for bringing this up again, we're prioritizing this and hope to have a solution soon!

#8735 does a good job of resolving this. It's definitely useable now, though the layout does look a bit different than the rest of the cloud manager. Also, when moving through the list with arrows using NVDA, in browse mode, the screen reader does tend to state the instructions for dragging continually with every option I move through.
Though it is useable as it is, it isn't perhaps as intuitive as it could be, since you have to enter focus mode before you're able to do anything, with NVDA, at least. This may not be quite as useable for some people as it is for me.
If this is to be the standard layout for the Firewall section, this issue can be closed. If not, and there's more work to be done to improve accessibility with screen readers, I would recommend keeping this issue open, for the time being. I would welcome any questions regarding possible accessibility improvements here.

@tech10 Thank you for letting us know that recent changes resolved the issues you were encountering. We also appreciate your feedback on the areas where there is still room for improvement. Some of the unintuitive behavior you have mentioned is built into the library we use for drag and drop functionality; while we don't have further improvements at this time, it's possible an update to that library could help us improve accessibility in the future.
I'm going to go ahead and keep this issue open until we follow up on another firewall accessibility issue we found when testing accessibility for #8735. Options in select drop downs in the Add Inbound/Outbound Rule form and the Edit Rule form are not correctly read out ("Blank") on Windows with an NVDA screen reader. We have an internal ticket created to address this so users know the firewall form field options available to them.


buildbot: hash mismatch

Issue description
It seems like some of the buildbot python modules were updated silently, without a change in the version number.
hash mismatch in fixed-output derivation '/nix/store/klp31bajf9ngfg6clxprpcnva98lyg62-buildbot-console-view-2.3.1.tar.gz':
  wanted: sha256:1yh8xij3wizz0f88chjpdijm7i35ql87g84ph3f76sqyr6aj6ckw
  got:    sha256:1y523hadw3398jwfpmi2f4g0s6dp9y191qzycrsbvbj147dp0qra

hash mismatch in fixed-output derivation '/nix/store/053sp3s749ldnl37g9xgyw5v3hp94vkc-buildbot-wsgi-dashboards-2.3.1.tar.gz':
  wanted: sha256:13lr7lzi9sv0s6xrfalq0dkcys6fp7hn0787rjhnz9gc7x83aqjv
  got:    sha256:1jhvq61x0bzh03nd2ac11swdjn0ndnx3ac7x9v3m3v0pgr08rc28

hash mismatch in fixed-output derivation '/nix/store/ikgybjqcys4csd5blmx90icpq52yd3x8-buildbot-waterfall-view-2.3.1.tar.gz':
  wanted: sha256:04iihy1s9r4n5jlk57pdjy3yvp6zym2iv2bgqjhw6fy0hff5j8ys
  got:    sha256:1prfr03igcmagydvxqhrh6k6wz16vk6fwgrm143jh3xmml6f16ll

and possibly more
Steps to reproduce
nix-shell -p python3.pkgs.buildbot-full
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.
pbb@onyx ~> nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.1.11, NixOS, 19.09pre183392.83ba5afcc96 (Loris)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2.2`
 - channels(root): `"nixos-19.09pre183392.83ba5afcc96, unstable"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

This is not seen on hydra https://hydra.nixos.org/job/nixpkgs/trunk/python37Packages.buildbot-full.x86_64-linux, the last update was back in May: f6d2df3f2ab4e7b52bc8b570ca79a1fc5cfe1435

Can reproduce locally:
 nix-build . -A python3Packages.buildbot-plugins.wsgi-dashboards.src
these derivations will be built:
  /nix/store/mxcl16dyy1z39sxgr03kifrdaar3p9c1-buildbot-wsgi-dashboards-2.3.1.tar.gz.drv
building '/nix/store/mxcl16dyy1z39sxgr03kifrdaar3p9c1-buildbot-wsgi-dashboards-2.3.1.tar.gz.drv'...

trying https://files.pythonhosted.org/packages/source/b/buildbot-wsgi-dashboards/buildbot-wsgi-dashboards-2.3.1.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  577k  100  577k    0     0  2662k      0 --:--:-- --:--:-- --:--:-- 6100k
hash mismatch in fixed-output derivation '/nix/store/053sp3s749ldnl37g9xgyw5v3hp94vkc-buildbot-wsgi-dashboards-2.3.1.tar.gz':
  wanted: sha256:13lr7lzi9sv0s6xrfalq0dkcys6fp7hn0787rjhnz9gc7x83aqjv
  got:    sha256:1jhvq61x0bzh03nd2ac11swdjn0ndnx3ac7x9v3m3v0pgr08rc28
error: build of '/nix/store/mxcl16dyy1z39sxgr03kifrdaar3p9c1-buildbot-wsgi-dashboards-2.3.1.tar.gz.drv' failed

cc @lopsided98 @nand0p @ryansydnor

This is not seen on hydra https://hydra.nixos.org/job/nixpkgs/trunk/python37Packages.buildbot-full.x86_64-linux, the last update was back in May: f6d2df3

why do you think this is not seen on hydra?
https://hydra.nixos.org/build/95015125/nixlog/2

Ah, I confused grey "x" (propagated build failure) with red "x" (cancelled build). Also missed the culprit: https://github.com/NixOS/nixpkgs/commit/038794dd731409aac1a7a066ea7d1e4f09f8f9cb

Fixed in 847f677b56642bdb9ae40280dab21bb72d0ecad8 and cd1bc951936d1648239d5fed19efaecebeaecdcd

I hope someone can do the work needed to do a proper upgrade to 2.3.1.
@FRidh Perhaps you could add buildbot, buildbot-pkg and buildbot-worker to your blacklist?

cc #63483

This is not the first time this has happened, and I asked that the package not be automatically updated, but I never got any response.
I should be able to correctly update it tonight.


Support for newer firmware releases

I have to HW1 that work with btchip-python, and two that don't.
The test I use is samples/getFirmwareVersion.py
The ones that work have firmware version 1.4.10  and  1.4.14
The ones that don't work are:

upgraded to the latest firmware with the chromium plugin a few days ago.
received per mail today and set up with Ledger Starter.

So it appears to me, the python lib doesn't support newer firmwares.

Which error do you get ?
The other parts should work fine, because I'm using them in Electrum.
On 10 February 2016 at 22:58, Richard<EMAIL_ADDRESS>wrote:

I have to HW1 that work with btchip-python, and two that don't.
The test I use is samples/getFirmwareVersion.py
The ones that work have firmware version 1.4.10 and 1.4.14
The ones that don't work are:

upgraded to the latest firmware with the chromium plugin a few days ago.
received per mail today and set up with Ledger Starter.

So it appears to me, the python lib doesn't support newer firmwares.
—
Reply to this email directly or view it on GitHub
https://github.com/LedgerHQ/btchip-python/issues/19.

--
Nicolas Bacca
CEO http://www.simulity.com/
Mobile +33 6 30 79 86 54 - Skype nicolas_bacca.pro

I have them at home. Will check in the evening.
The error was something to do with hdi.
I didn't check the transport. Could it be that they are still shipped with the old transport enabled, and I have to switch them to the new one?

I had to adjust the udev rules.
The old ones were:
2581:2b7c
and the new ones:
2581:3b7c

Since I will  make a new debian package with the revised udev rules, would it make sense to make a new release with the changes since v0.1.16?

I don't have pending changes for the time being. Probably some in a few
weeks for SegWit support.
On 11 February 2016 at 21:21, Richard<EMAIL_ADDRESS>wrote:

Since I will make a new debian package with the revised udev rules, would
it make sense to make a new release with the changes since v0.1.16?
—
Reply to this email directly or view it on GitHub
https://github.com/LedgerHQ/btchip-python/issues/19#issuecomment-183047656
.

--
Nicolas Bacca
CEO http://www.simulity.com/
Mobile +33 6 30 79 86 54 - Skype nicolas_bacca.pro

Ah, right. I thought there were some commits since the last release, but you're right.


[DROP DATABASE] org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed

I created a new Database with a new Class with a Lucene Text and a Spatial index.
CREATE DATABASE remote:localhost:2424/xLocation root qaz plocal graph;
CREATE CLASS Location EXTENDS V;
CREATE PROPERTY Location.searchBy string;
CREATE PROPERTY Location.lat double;
CREATE PROPERTY Location.lon double;
ALTER CLASS Location STRICTMODE=true;
CREATE INDEX Location.searchBy ON Location (searchBy) FULLTEXT ENGINE LUCENE;
CREATE INDEX Location.lat_lon ON Location(lat, lon) SPATIAL ENGINE LUCENE;
DROP DATABASE remote:localhost:2424/xLocation root qaz;
Everything goes OK.
Then I try to drop the database and I get an error. The server output and the server log shows nothing.
This is the full output of the script:
Creating database [remote:localhost:2424/xLocation] using the storage type [plocal]...
Connecting to database [remote:localhost:2424/xLocation] with user 'admin'...OK
Database created successfully.
Current database is: remote:localhost:2424/xLocation
orientdb {db=xLocation}> CREATE CLASS Location EXTENDS V
Class created successfully. Total classes in database now: 11
orientdb {db=xLocation}> CREATE PROPERTY Location.searchBy string
Property created successfully with id=1
orientdb {db=xLocation}> CREATE PROPERTY Location.lat double
Property created successfully with id=2
orientdb {db=xLocation}> CREATE PROPERTY Location.lon double
Property created successfully with id=3
orientdb {db=xLocation}> ALTER CLASS Location STRICTMODE=true
Class updated successfully
orientdb {db=xLocation}> CREATE INDEX Location.searchBy ON Location (searchBy) FULLTEXT ENGINE LUCENE
Creating index...
Created index successfully with 0 entries in 0.231000 sec(s).
Index created successfully
orientdb {db=xLocation}> CREATE INDEX Location.lat_lon ON Location(lat, lon) SPATIAL ENGINE LUCENE
Creating index...
Created index successfully with 0 entries in 0.084000 sec(s).
Index created successfully
orientdb {db=xLocation}> DROP DATABASE remote:localhost:2424/xLocation root qaz
Error: com.orientechnologies.orient.core.exception.OStorageException: Cannot delete the remote storage: xLocation
Error: com.orientechnologies.orient.enterprise.channel.binary.OResponseProcessingException: Exception during response processing.
Error: org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed

hi @simper66
Which version of orientdb?

Sorry, this is the enviroment:
OrientDB: OrientDB 2.1.0 GA Community Edition (downloaded from the web few week ago)
Lucene Plugin: 2.1. The one embebed in the distribution /plugin folder
SO: Windows7
JDK: Jdk 1.8.0_45
OrientDB Configuration: No special configuration. The one out of the box.
Mode: Standalone. server.bat

@simper66
I've got the same exception
i've just created this test
https://github.com/orientechnologies/orientdb-lucene/commit/85d99aeb85b1ba4900a1d5dcf6db687f83199b45
Both plocal and remote passes.
I will inspect further this exception


🐛 fix(bal-upload): Duplicated File Rejection not triggered correctly

Current Behavior
When uploading a file with a multi file upload and the same file immediately after that, the upload is blocked (as it should be to prevent double file uploads) but there is no Rejection for duplicated files triggered. When more than 1 file is uploaded and then a duplicated one, the event is triggered correctly.
Expected Behavior
The rejection for duplicated files should trigger when ever a duplicated file is uploaded.
Steps to Reproduce
Bug Case:

bal-upload width multiple attribute
upload File A
try to upload File A again
-> Rejection not triggered

Working Case:

bal-upload width multiple attribute
upload File A
upload File B
try to upload File A again
-> Rejection triggered

Version
13.4.4
Browsers
No response
Device
No response
Code Reproduction URL
No response
Additional Information
No response
Code of Conduct

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

/cib


bump: lottie-web

@mifi

Correct me if I'm wrong but I think your change doesn't effectively do anything? due to caret ^

@mifi it adjusts the new minimum. But additionally, I'd say that the '^' should be removed.

what's the benefit of a higher minimum version? what if some people are running an older version
I'm not sure pinning the version by removing ^ is the right thing to do, as many people like to be able to update their dependencies by running yarn upgrade and similar.

I was getting some errors in typescript due to this dependency, but I'll try to force it using npm 8's dependency forcing.


Expression not being able to edit

Describe the Bug with repro steps
Add a weather Get forecast for today action and use Seattle.
Add a compose action and write expression:
body('Get_forecast_for_today')['responses']['daily']['day']['cap']
it shows as an expression pill in the UX.

Now, Save the logic app, back out of the page/tab and come back to designer. you are not able to edit the expression.

What type of Logic App Is this happening in?
Consumption (Portal)
Are you using Preview Designer or GA Designer
Preview
Workflow JSON
No response
Screenshots or Videos
No response
Browser
Chrome
Additional context
No response

That's by design. it's not an expression, it's a token. Once it's saved and we parsed it, we'll be parsing it as a token even if it's placed through the expression editor.

AH! Gotcha- I have seen this before where essentially there is no clear way to distinguish dynamic content and expression and an expression resolves into a token. MVPs complained that many times, tokens do not show up so they have to write an expression and it resolves into a token and it won't let them edit.
From customer perspective, If they wrote an expression to represent the token (because there is no workaround as the corresponding token is not present in token picker), they should be able to edit the expression I wrote. This makes

If I wrote an expression, regardless of whether there existed the corresponding token in token picker list or if it resolves into a token later, I should be able to come back and edit the expression.

Is this technically feasible and how do you feel about this change?
Sincerely,
Kishor Subedi
From: Travis Harris @.>
Sent: Wednesday, May 10, 2023 3:07 PM
To: Azure/LogicAppsUX @.>
Cc: Kishor Subedi @.>; Author @.>
Subject: Re: [Azure/LogicAppsUX] Expression not being able to edit (Issue #2327)
That's by design. it's not an expression, it's a token. Once it's saved and we parsed it, we'll be parsing it as a token even if it's placed through the expression editor.

Reply to this email directly, view it on GitHubhttps://github.com/Azure/LogicAppsUX/issues/2327#issuecomment-1542872376, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVYNEZ3L4HP6TV7VUGXJH6TXFQGPRANCNFSM6AAAAAAX5I24E4.
You are receiving this because you authored the thread.Message ID: @.***>


throw catchable exception instead of exit in JSON response

Hi,
it would be awesome if the JSON response throws an exception on other response status codes instead of exit because then you can catch it and proceed with code execution.
Thanks

The XML response always throws an exception on error, the JSON response doesn't. If I have multiple requests and one will fail, then the application just exits and there is no way to prevent this. If it would throw an exception instead, you can respond to it:
try {
    $response = $timeModel->getByProject($projectId);
}catch (\Exception $e){
    ...
}

I know the user can do that but what if he doesn't?

How can anybody rely on a behavior on which you can't respond to?

good question. I will then just merge it like that and hope nobody will complain later on :D


Add non-absolute URL option to nsprc

This PR ( which is optional to merge ) adds a way for users to avoid rewriting the absolute URL in their nsprc config and instead just provide nap with the respective id

The Node Security Platform has been acquired by npm, Inc.
On April 10, 2018, the Node Security Platform joined npm, Inc., which operates the npm JavaScript package registry.
Learn more here.
The service remains operational for current users in its current state. No new features or fixes will be implemented.


Fixed an error:

code and appearance:

    db = SQLAlchemy()
    # Now db.app is None

    # at __init__ in class SQLAlchemy(),  self.app = None
    db.init_app(app)

    # when exe at:
    #     app = self.get_app(app) in _execute_for_all_tables()
    #     self.app is still None
    #     so mistakenly raise a raise RuntimeError(
    #                                                  'application not registered on db instance and no application'
    #                                                  'bound to current context')
    db.create_all()

self.app is supposed to be None if you use init_app since you might have more than one app.


pip list --outdated found outdated packages but pip-review didn't

What is the output of pip-review --help?

@dattienle2573 why did you close the issue?


doc(*): Update docs for helm-classic

This reflects many changes that have not been implemented yet, but I'd prefer to not be submitting a mammoth PR.  If this means the docs at the head of the master branch are temporarily incorrect, I believe that is acceptable.  I have removed the readthedocs webhook from this repository that so that these changes will not propagate to the original (not to be conflated with "classic") helm docs at http://helm.readthedocs.io/en/latest/

cc @kmala

Good work here. I had one comment but LGTM either way.


Why I need to setLayoutManager after setAdapter When use  the ExpandableItemAdapter？

In order to fit the expanded layout, the itemsize of each row and column may be dynamically changed.


fix(kube): Fixes nil panic with stateful set waiting

Sometimes the stateful set rollingUpdate field can be nil even when the strategy is a rolling update
Fixes #6174

oops, sorry for merging! Thanks @thomastaylor312 :)


Unify ThreadX and SMP for ARMv8-A.

PR checklist

[x] Updated function header with a short description and version number
[ ] Added test case for bug fix or new feature
[ ] Validated on real hardware

hello, ARMv8-A is hard to type... other projects refers it as armv8-a, gcc's compile option is -march=armv8-a, so why make a new name...

hello, ARMv8-A is hard to type... other projects refers it as armv8-a, gcc's compile option is -march=armv8-a, so why make a new name... when pass the armv8-a from a environment variable, you have to do one more step: translate armv8-a to ARMv8-A eg. if [ THREADX_ARCH == ARMv8-A ] CFLAGS += -march=armv8-a end of if

Thanks for the suggestion! But ports_arch is a folder for internal development only. Users should use files from ports, ports_module and ports_smp.


[VK] Fix playlist URLs

IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information

VK changed their playlist URLs from
https://vk.com/videosPAGEID?section=album_PLAYLISTID to
https://vk.com/video/playlist/PAGEID_PLAYLISTID,
which meant new URLs had to be rewritten to the old format by hand to work.
a70b71e85ad61c5f7c85ef920d72f949fb767d53 then removed support for the old version by changing the regex to fix another URL related issue.
This PR now restores playlist downloads by correctly parsing the new URL and indirectly restores support for the old format via an automatic redirect to the new page.
Fixes #2825
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

I'm still having problem with vk playlists links. I tested with several playslistas like this https://vk.com/videos-28532279?section=album_55889438 and this http://vk.com/video/playlist/-174476437_2 and it returns this error: ERROR: Unsupported URL: https://vk.com/badbrowser.php

Hi, thanks for answering me. I installed with pip. The version installed is 2022.10.04. And Python 3.9. It seems that it don't recognize as a vk link. It fall on Generic extractor: [generic] -174476437_2: Downloading webpage and then this error: ERROR: Unsupported URL: https://vk.com/badbrowser.php.

The current version (2022.10.04) does not include this fix here yet. You either have to wait (~2-3 weeks?) for the new version to include it, or build yt-dlp from source

ok. I'll wait then. Thanks

Hi, sorry to bother again. Now I'm having another problem when downloading vk playslists. I can't continue or start new download from a playlist. Tried different playlists and all have the same problem.
[vk:uservideos] Extracting URL: https://vk.com/video/playlist/261475876_2
[vk:uservideos] 261475876_2: Downloading webpage
[download] Downloading playlist: vk3
[vk:uservideos] 261475876: Downloading JSON metadata
ERROR: Unknown error
[vk:uservideos] Playlist vk3: Downloading 1 items of 0
[download] Finished downloading playlist: vk3

Yeah, their API changed again. The fix is pretty simple, so it should probably not take long to get merged.
In the meantime you should be able to somewhat fix it yourself by adding a section=playlist_ before the last number in your url.
https://vk.com/video/playlist/261475876_2
becomes
https://vk.com/video/playlist/261475876_section=playlist_2
You playlist is private, so I cant test it, but it should work. If not, you have to just wait for the real fix: https://github.com/yt-dlp/yt-dlp/pull/6122


Robust initial configuration

Implements #287
Initial setup changes:

Ensures branch existence before assigning to main and non-feature
Ensure non-feature branches can't be set to main branch
Moved all configuration into git town config --setup

It allows configuration without running a command as a side-effect

Show simple message if Git Town if not configured, and easily begin setup if desired. Ex:

> git sync
Git Town hasn't been configured for this repository.
Please run 'git town config --setup'.
Would you like to do that now? y/n

...

Configuration changes:

Added git town config --reset to completely remove all Git Town configurations for a given repo

@kevgo @charlierudolph

This is pretty much good to go from my end if all the comments are addressed.
Sorry for the late review, I've been down under on RMS... :tired_face:

@charlierudolph can you explain what this does?
  expect(unformatted_last_run_output.strip).to include(message), %(
    ACTUAL
    ***************************************************
<EMAIL_ADDRESS>'\n', "\n"}
    ***************************************************
    EXPECTED TO INCLUDE
    ***************************************************
    #{message.gsub '\n', "\n"}
    ***************************************************
  ).gsub(/^ {4}/, '')

So a normal expectation would just hae been
expect(unformatted_last_run_output.strip).to include(message)

And this just adds a custom error message by passing the extra argument.

Ready for another review

This is a really cool change, and its pretty much good to go. @allewun lets finish this up and then :sheep: it!

All comments addressed

Just that last couple comments. Then ready to :ship:


Compile all latex strings at once

You can compile all latexstrings at once. This produces a multipage pdf.
\documentclass[multi=env]{standalone}
\usepackage{amsmath}
\usepackage{standalone}

\begin{document}

\begin{env}
$x \in X$
\end{env}

\begin{env}
blaaaa
\end{env}

\begin{env}
$X \in XXX$
\end{env}

\end{document}

You can then get the respective page using
function pdf2svg(pdf::Vector{UInt8}; page=1, kwargs...)
     pdftocairo = Poppler_jll.pdftocairo() do exe
         open(`$exe -f $page -l $page -svg - -`, "r+")
     end

     write(pdftocairo, pdf)

     close(pdftocairo.in)

     return read(pdftocairo.out, String)
 end

This should speed up compilation at lot.

I do that already for vectors of latexstrings :) but because of the eager nature of the rendering, it's not so easy to batch them.  For example, axis tick labels are batched such that all x tick labels are compiled in the same document, and all y tick labels are compiled in a different document.


Proxy-Address should be a string

[Enter feedback here]
In the description of the command a  is expected for the parameters
New-AksHciProxySetting -name
-http
-https
-noProxy
But in the examples the parameters for "http", "https" and "noproxy" are not in a string format:
$proxySetting=New-AksHciProxySetting -name "corpProxy" -http http://contosoproxy:8080 -https https://contosoproxy:8443 -noProxy localhost,<IP_ADDRESS>,.svc,<IP_ADDRESS>/8,<IP_ADDRESS>/12,<IP_ADDRESS>/16
Running this example leads to an error "Cannot convert value to System.String"
When the above example is changed to
$proxySetting=New-AksHciProxySetting -name "corpProxy" -http "http://contosoproxy:8080" -https "https://contosoproxy:8443" -noProxy "localhost,<IP_ADDRESS>,.svc,<IP_ADDRESS>/8,<IP_ADDRESS>/12,<IP_ADDRESS>/16"
no error is thrown and the proxy setting is accepted.
This should be changed in all examples on the page...

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

ID: 2f0ee2ee-3726-8de5-f362-4b2cb086cb16
Version Independent ID: d94e1f9a-cb07-fef3-12e8-1d578c68fb70
Content: New-AksHciProxySetting for AKS on Azure Stack HCI - AKS-HCI
Content Source: azure-stack/aks-hci/reference/ps/new-akshciproxysetting.md
Service: azure-stack
Sub-service: aks-hci
GitHub Login: @mattbriggs
Microsoft Alias: mabrigg

@eszych
Thanks for the feedback! We will check and update the document accordingly.

@mattbriggs
Can you please check and add your comments on this doc update request as applicable.

@eszych Thanks for this detailed note. I will check and update.
#in-progress

updated.
#please-close


SAP HANA XS Advanced, Connecting to SAP Web IDE and cloning a Git Repository to begin development

Kindly help on Host number pleaseeeeeeeeeee
from where I got this  for XSadvanced.
Also, I have one web IDE account but it doesn’t show me XS advanced application creation or you can say No nodejs app creation etc. Kindly help me with missing info, Totally exhausted, Kindly HELP!!!
https://webide-p1942951835trial.dispatcher.hanatrial.ondemand.com/

Is it mandatory to install HANA XSA command line tool if yesfrom where i get this exactly with name please.

Hi, Ahmed,
I am not sure what the issue is here or which port number you are looking for. These tutorials are based on HANA Express editions and you seem to be using the Cloud trial. Node.js is not yet available there.
Here are some options for HANA Express: https://blogs.sap.com/2017/10/02/quick-deployment-options-for-hana-express-on-the-cloud/
Best,
Lucia.,

Hi Lucia,
I am using Google cloud platform only, My metadata is working fine on
another port but my app is looking for metadata on another port, is there
any way that i can ask my app to look metadata on the port i want.
With Best Regards,
Ahmed Ali Khan
SAP Consultant
Mob.: +919911380694
On Thu, Oct 12, 2017 at 4:32 AM, Lucia Subatin<EMAIL_ADDRESS>wrote:

Hi, Ahmed,
I am not sure what the issue is here or which port number you are looking
for. These tutorials are based on HANA Express editions and you seem to be
using the Cloud trial. Node.js is not yet available there.
Here are some options for HANA Express: https://blogs.sap.com/2017/10/
02/quick-deployment-options-for-hana-express-on-the-cloud/
Best,
Lucia.,
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SAPDocuments/Tutorials/issues/1962#issuecomment-335972960,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVCrCR68Q2vlvZS-FeyEfsdm54OKl9GTks5srUjugaJpZM4P1Qfk
.


Exit code 52

We are experiencing a failure of the iaas malware extension with exit code 52.
What could be the cause?
[2022-03-17T15:09:56.325Z] Executing: C:\Packages\Plugins\Microsoft.Azure.Security.IaaSAntimalware\<IP_ADDRESS>\AntimalwareConfig.exe -enable
[2022-03-17T15:11:01.118Z] Execution Complete.
######
Execution Output:
Microsoft Antimalware Configuration Utility
Version <IP_ADDRESS>
Please refer this TSG:
https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/iaas-antimalware-windows
- Current UTC time: 3/17/2022 3:10:00 PM
- Choosing Input type... 3/17/2022 3:10:00 PM
- JSON detected 3/17/2022 3:10:00 PM
- Getting InvalidOperationException when trying to find is MSMPSvc running, we will move on to check if WinDefend is running 3/17/2022 3:10:00 PM
- Trying to find is Defender installed... 3/17/2022 3:10:00 PM
- Getting Configuration 3/17/2022 3:10:00 PM
- Getting Configuration Schema Type 3/17/2022 3:10:00 PM
- Configuration settings file found: C:\Packages\Plugins\Microsoft.Azure.Security.IaaSAntimalware\<IP_ADDRESS>\RuntimeSettings\0.settings 3/17/2022 3:10:00 PM
- Getting json Configuration 3/17/2022 3:10:00 PM
- Deserializing Json Cfg 3/17/2022 3:10:00 PM
- Enabling antimalware 3/17/2022 3:10:00 PM
- Checking Is Defender or Camp Installed 3/17/2022 3:10:00 PM
- Trying to find is Defender installed... 3/17/2022 3:10:00 PM
- Defender Installed, ServiceName WinDefend 3/17/2022 3:10:00 PM
- Checking Is Service Running 3/17/2022 3:10:00 PM
- Getting InvalidOperationException when trying to find is MSMPSvc running, we will move on to check if WinDefend is running 3/17/2022 3:10:00 PM
- Service is not Running, start enabling steps 3/17/2022 3:10:00 PM
- Initializing CampEngine 3/17/2022 3:10:00 PM
- Creating Engine Configurator 3/17/2022 3:10:00 PM
- Start Enable AntiMalware for Engine Configurator WMI 3/17/2022 3:10:00 PM
- Antimalware engine starting up... 3/17/2022 3:10:00 PM
- Fail to EnableAntiMalware::System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
   at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
   at Microsoft.Azure.Security.EngineConfiguratorWmi.EnableAntiMalware(String ServiceName) 3/17/2022 3:11:01 PM
* ERROR: System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
   at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
   at Microsoft.Azure.Security.EngineConfiguratorWmi.EnableAntiMalware(String ServiceName)
   at Microsoft.Azure.Security.CampEngine.Enable(AntimalwareConfig newConfig)

Execution Error:

######
 Number of Tries: 1
Command C:\Packages\Plugins\Microsoft.Azure.Security.IaaSAntimalware\<IP_ADDRESS>\AntimalwareConfig.exe of Microsoft.Azure.Security.IaaSAntimalware has exited with Exit code: 52

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

ID: 08b1a2dc-7fa3-20d8-d6d9-990bf1cfe34d
Version Independent ID: 98c9a0f0-35bc-eacd-9aaf-acfd4b968fee
Content: Microsoft Antimalware Extension for Windows VMs on Azure - Azure Virtual Machines
Content Source: articles/virtual-machines/extensions/iaas-antimalware-windows.md
Service: virtual-machines
Sub-service: extensions
GitHub Login: @TerryLanfear
Microsoft Alias: terrylan

Thanks for the feedback! We are currently investigating and will update you shortly.

Hello @cveld,
#52 is the exit code for missing dependency
exit_code = 52
output = "Installation failed due to missing dependencies.
https://github.com/Azure/azure-marketplace/wiki/Extension-Build-Notes-Best-Practices#error-codes-and-messages-output-to-stderr
Error :
Fail to EnableAntiMalware::System.ServiceProcess.TimeoutException: Time out has expired and the operation has not been completed.
at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
at Microsoft.Azure.Security.EngineConfiguratorWmi.EnableAntiMalware(String ServiceName) 3/17/2022 3:11:01 PM
I further looked at the documentation and see that Microsoft Antimalware is supported on Windows Server 2008 R2, Windows Server 2012, and Windows Server 2012 R2 operating system families. I believe it should be supported on windows 10 client OS as well.
Also the document states, "The Microsoft Antimalware Client and Service is installed by default in a disabled state in all supported Azure guest operating system families in the Cloud Services platform. The Microsoft Antimalware Client and Service is not installed by default in the Virtual Machines platform and is available as an optional feature through the Azure portal and Visual Studio Virtual Machine configuration under Security Extensions.
Reference : https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/iaas-antimalware-windows
What customization did you add to this VM?
You could heck the Azure VM Agent Log, to look at the activity when your extension was being provisioned in C:\WindowsAzure\Logs\WaAppAgent.log.
Action Items :
If this extension shows in failed state in extension blade, remove it by following the steps from this document https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/features-windows#rerun-a-vm-extension.
Redeploy the extension using one of the deployment methods available at https://docs.microsoft.com/en-us/azure/security/fundamentals/antimalware#deployment-while-creating-a-vm-using-the-azure-portal.
Powershell : https://docs.microsoft.com/en-us/powershell/module/servicemanagement/azure.service/set-azurevmmicrosoftantimalwareextension?view=azuresmps-4.0.0
Note :
Additionally, I would like to mention this channel is for driving improvements towards MS Docs, for any product related questions/issues. I would recommend you to create a thread on the forums- Microsoft Q&A platform or Stack Overflow.
Closing this thread


Parse cli args

-d --dir : path to folder with export defs
-f --files : list of file paths of export def
-a -after-all: path to afterAll.js file
--dry-run: instead of writing to mongo, console.log what whould be written ( in format that could be piped to .json)
-c --cursor-size: default 2000

Since it's still missing sql and mongo connection params I think its better to define most params in p2m.config.json file. Maybe just have params that user might want to override quickly on cli. For instance just to run one of the exports.
For now:

-f --file-paths : list of file paths to export def
--dry-run


Im getting strange error when im adding the "editable" to the material table that goes this way: when i add editable its givving me an error: Element type is invalid: expected a string (for built in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined, or you might have mixed up default named imports.

when i add editable its giving me an error: Element type is invalid: expected a string (for built in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined, or you might have mixed up default named imports.is:issue is:open


Spring input: consider making the example bar vertical

I am talking about the bar on the bottom that shows the example spring:
https://user-images.githubusercontent.com/7217420/106356516-60326f80-6300-11eb-8fc2-411f745e681a.mov
It would make more sense if the bar was vertical and would correspond to the height of the curve. This way it can be easier understood.
Reference: GSAP Ease visualizer

True... problem is that it would take a lot of vertical space wouldn't it? Or we should make the controller way taller?

True... problem is that it would take a lot of vertical space wouldn't it? Or we should make the controller way taller?

No, If it follows the curve, it takes the same vertical space as the curve, here I made a design:

No, If it follows the curve, it takes the same vertical space as the curve, here I made a design:

I got that, I meant to say that the range of animation would be really small so you wouldn't get a clear grasp of how the spring actually feels. When using the width you do get a better sense of how the spring feels. To get the best of both, we would need to increase the height of the canvas. Could be done though, maybe we can have the spring in a less contrived space.

I got that, I meant to say that the range of animation would be really small so you wouldn't get a clear grasp of how the spring actually feels. When using the width you do get a better sense of how the spring feels. To get the best of both, we would need to increase the height of the canvas. Could be done though, maybe we can have the spring in a less contrived space.

Hmm, maybe it gets better if we add a visual indicator such as the circle in the GSAP Visualizer?

Hmm, maybe it gets better if we add a visual indicator such as the circle in the GSAP Visualizer?

Good idea let's start with this.

Good idea let's start with this.


March 2020 Guest OS page section contains broken links

This page: https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-guestos-msrc-releases in its "March 2020 Guest OS" section contains a table listing updates. Each update comes with a link to KB. All such links are broken - such as
https://support.microsoft.com/kb/4540694%C2%A0 <<< NOTE %C2%A0!!!

each link contains percent-encoded characters. Internet Explorer fails to follow such links. Firefox says "the page isn't redirecting properly" when I follow such links

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

ID: 3a8cc2c5-eb5f-edaf-f155-98e5ff1b252c
Version Independent ID: 8e1a1933-e037-d682-5ba0-50d0f85f12e8
Content: List of updates applied to the Azure Guest OS
Content Source: articles/cloud-services/cloud-services-guestos-msrc-releases.md
Service: cloud-services
GitHub Login: @raiye
Microsoft Alias: raiye

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

I'll take a look at it and get them repaired.

OK, got fix checked in, though not quite sure where/how it got there.  Something in the beginning of the article file was messing up the href links.  Had to copy-paste the first part of the article into notepad and then copy-paste the text back into the article and the links are working now.

We are currently cleaning up old issues and closing out items that are greater than 90 days old. If an issue is still present, please open a new feedback item on the document so we can prioritize correctly.
#please-close


Documentation for Gmail API error codes

Is there any documentation Gmail API error codes?

This github repo is only for the C#/.NET client libraries. We don't have any specific knowledge about any individual APIs.
CAn you give an example of an error code you're seeing? Is it an error beyond the standard HTTP errors (e.g. 401 Unauthorized)?

I have only seen this error when using batch request. My suspicion is it has to do something with batch request.


The Wayland switch

Note to self: Find a decent bspwm replacement.Fuck it. Sway it is. Not really great, but decent enough.

Note to self: Find a decent bspwm replacement.Fuck it. Sway it is. Not really great, but decent enough.

Be unique, choose hikari


Organise imports should be a refactoring/code action

re #46589
After the investment in code actions, the refactoring menu, and code action keybindings I was quite surprised to see that organise imports isn't a code action but a normal command. I think that makes it harder to discover and also encourages homegrown code action instead of the more stream lined approach.

This was my initial proposal too. However I now think that command makes more sense as organize imports is a file wide action (and will eventually be triggered on save)
However we could also surface this as a code action to improve discoverability. I've opened https://github.com/Microsoft/TypeScript/issues/22909 to track this

How is this upstream? It us surfacing the command and us to sell it - either as code action or as command?
The approach taken is wrong and reminds me of the formatting-via-command-story (not as provider)  for which we went great lengths to educate users. Now we set the same bad sample and even today things aren't working properly: in my install I have the Java extension which uses the same anti-pattern (mostly likely because code action weren't ready yet) and the assign keybinding always runs the Java-command, never the TypeScript command

formatting-via-command-story (not as provider) for which we went great lengths to educate extension authors.

For reference - we blogged about this and tracked down every single formatter-command-extension with issues/PRs

I’m still not convinced that code actions are the right ux. The intended usage of organize imports is very much like format in that it is independent of cursor position and run on the entire current document. And format—whether implemented using providers or actual commands—is a command from the user’s perspective.
I’ve already submitted a pr against java for this. I agree that having an organize imports command per lanague is not scalable but think we should look at other approaches, such as a new  provider type, if this ends up being a problem

I’m still not convinced that code actions are the right ux. The intended usage of organize imports is very much like format

Well, it will allow us to have something like Context Menu > Refactor > Organise Imports. I'd say that makes the feature way discoverable than the command palette with duplicate entries in which I need to scan language-prefixes (that hopefully exist, everybody could just call things 'Organise Imports').

And format—whether implemented using providers or actual commands—is a command from the user’s perspective.

Yes - everything is a command even IntelliSense but the point of well-know-thanks-to-api-commands is better UX integration. Now we have picked the worst in the face of a generic code actions infrastructure that would allow for better UI. What don't we add a new code action kind which about 'sugar', e.g. Format, Sort Members, Organise Imports, Align Whitespaces, Insert Copyright Header, etc.?

@johnnyreilly The lightbulb is controlled by the Omnisharp/C#-extension, so ultimately that must change. This issue is about show-casing how organise imports et all can be integrated into VS Code best. E.g. similar to how it is done in Eclipse (have a source and refactor menu)


Allow us to manually set open/close sensor for door state on lock card

As title, pretty much.
I have a Nuki Smart lock but don't use the built in open close sensor as it looks terrible having a magnet stuck to the door frame. I use Aqara sensors on all of my doors and windows. I would be great if we could manullay add our our open/close entity when setting up the lock card to show the state of the door as mine is currently stuck on 'open' all the time. If this is not possible could you add the ability to hide the state of the door but not the state of the lock?
Great work on these cards btw, they've take the world of HA by storm!

Similar situation here. Actually, it would be great to have a "Door" card, not a lock card.
A door combines two states: The state of the door, which is opened or closed, and the state of the lock, which is unlocked or locked.
This combines to "open", "closed", "locked" and "jammed (locked but open)"
Would be nice to have a card that allows for an entity that is not binary, but multiple states, or combines the states of two entities somehow.


Possibility to add a "0" option

Hi,
I have 3 options in my rangeslider:
1: "Disagree"
2: "Neutral"
3: "Agree"
This works fine. However, i want my users to select every question. So i added an "empty" value:
0: ""
1: "Disagree"
2: "Neutral"
3: "Agree"
This looks great / works fine, however: if i choose "Disagree" there is a line between nothing (0) and 1 (disagree).
Is there any way we can hide the first blue line?

Basically that's just a div so you can hide it with css. It has a class "tick" so you can do something like:
.tick:nth-child(1)
Should you have problems selecting first element only here is a little explanation on how to tackle this:
https://stackoverflow.com/questions/2717480/css-selector-for-first-element-with-class

So you basically would like to have your line to start from second marker.
If you just try to move and shorten the line via css I think this may cause some unexpected behavior.
You may try to cover unwanted portion of line with absolutely positioned div that has greater z-index.
However since what you basically want is to have an unselected/untouched state maybe it would be better to present it differently?
Instead of empty value maybe you could use some label like "Choose answer" or "Select value".
You could even hide the thumb altogether until the user clicks the slider for the first time (instead of adding a "dummy" marker).

I've also did a quick test and it seems that just moving the tumb's initial position to the left might do the trick. U can use css left property for that.
http://oi65.tinypic.com/ic70hw.jpg

Yes, a unselected/untouched state would also be helpful. I will checkout the css left property. If you have a code example; that would be nice.

Closing this one, future releases may include unselected state but for this one shifting to left does the trick.


Add formal support for idiomatic Kotlin

Feature Request
Add support for idiomatic Kotlin use of NATS.  This might entail creating a new repo nats.kotlin.
Use Case:
The primary use case is to leverage suspending functions wherever possible.  Another nice use case is a more native feel when writing a NATS project in Kotlin, especially with respect to null safety.
Proposed Change:
Either a new repository nats.kotlin, or an addition to this repo for the artifact.
Who Benefits From The Change(s)?
All Kotlin developers using NATS.
Alternative Approaches
Continue using the Java API implemented in this repository.

Writing a client from scratch is a pretty large undertaking. I think a compromise would be to write a thin Kotlin wrapper. We've had a similar idea for Scala. The difficulty would then only be keeping it up to date.


Added coding-platforms-for-practicing-competitive-programming

Checklist

Please note that in case of below checklist not updated accordingly, the maintainers have the right to immediately close your pull request.

[x] You created a branch from dev branch.
[x] You PR is raised on dev branch and not onmaster.
[x] Blog follows Blog Guidelines.
[x] You have read the Contribution Guidlines before creating this PR.
[x] Checked for any duplicate blog entry.
[x] Checked for all grammatical errors in the blog.
[x] You have not published the blog content anywhere else on the internet on platforms like medium, dev.to etc.
[x] The content is not copy-pasted from anywhere else on the Internet.

Description of change

Author Details for Blog Post Entry

Post content doesn't adhere to blog writing guidelines


Include User Balance in a Specific DAO on the page

Let a user know how much of a particular DAO's token they have when accessing the DAO - possibly somewhere either on the proposals area or DAO home.

As long as there is a connected wallet, the amount of tokens that the user owns in a particular DAO is shown.


feature: support sql tpye for at mode

[ ] I have registered the PR changes.

Ⅰ. Describe what this PR did
support mysql insert ignore,oralce ignore hint,insert select for at mode
Ⅱ. Does this pull request fix one issue?

fixes #4645
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews
设计文档.pdf

Codecov Report

Merging #4832 (fd100f7) into develop (0cdaa08) will increase coverage by 0.40%.
The diff coverage is 54.78%.

:exclamation: Current head fd100f7 differs from pull request most recent head 423845f. Consider uploading reports for the commit 423845f to get more accurate results

@@              Coverage Diff              @@
##             develop    #4832      +/-   ##
=============================================
+ Coverage      49.02%   49.43%   +0.40%
- Complexity      4091     4185      +94
=============================================
  Files            736      745       +9
  Lines          25818    26050     +232
  Branches        3184     3228      +44
=============================================
+ Hits           12657    12877     +220
+ Misses         11815    11795      -20
- Partials        1346     1378      +32

Impacted Files
Coverage Δ

...o/seata/rm/datasource/AbstractConnectionProxy.java
13.04% <0.00%> (-0.15%)
:arrow_down:

.../rm/datasource/exec/BaseTransactionalExecutor.java
54.90% <0.00%> (-1.02%)
:arrow_down:

...a/io/seata/rm/datasource/exec/ExecuteTemplate.java
4.00% <0.00%> (-1.56%)
:arrow_down:

...a/rm/datasource/exec/constant/SQLTypeConstant.java
0.00% <0.00%> (ø)

.../java/io/seata/rm/datasource/sql/struct/Field.java
68.96% <0.00%> (-21.95%)
:arrow_down:

...a/io/seata/rm/datasource/sql/struct/TableMeta.java
90.00% <0.00%> (-6.43%)
:arrow_down:

...parser/antlr/mysql/AntlrMySQLInsertRecognizer.java
0.00% <0.00%> (ø)

...core/src/main/java/io/seata/sqlparser/SQLType.java
0.00% <ø> (ø)

.../java/io/seata/sqlparser/druid/BaseRecognizer.java
75.00% <ø> (-1.75%)
:arrow_down:

...a/sqlparser/druid/mysql/MySQLInsertRecognizer.java
52.11% <0.00%> (-5.70%)
:arrow_down:

... and 49 more


Power BI Premium Capacity Metrics App - Failure to refresh app data

Yesterday I increased our Power BI Premium Capacity from P1 to P2 and since then I have been getting an error when refreshing the data in the Capacity Metrics app.
The error (as attached) states "There weren't enough elements in the enumeration to complete the operation. Table: MemeoryMetrics"

Please help as this app was crucial in troubleshooting errors we had been having with poor performance

In addition to this I am now getting this error

Thanks for your comment, @dsutherlandafex! Sounds like this is a product question, so please use the Product Feedback button in this article, or try the community, https://community.powerbi.com/.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Delete config should have a confirm modal

Possible package: https://github.com/jonatanklosko/material-ui-confirm

Better sol∆: delete in the backend when the worker is deleted


Update code-editor.blade.php to add dark mode styles

I'm adding styles to make the editor look good in dark mode.
I'm attaching screenshots.
Before:

After:

Would be nice to merge and up to date release.

Up

hi @sweebee
it would be awesome to have this soon 🙏
and thanks @lvloper for the suggestion 👍


fixes #2102 update git git.install git.portable to version <IP_ADDRESS>

Description
The following packages will be updated to the latest git version (version <IP_ADDRESS>). Released 21th of December 2022:

git
git.install
git.portable

Motivation and Context
See list of changes on git repository:
https://github.com/git-for-windows/git/releases/tag/v2.39.0.windows.2
How Has this Been Tested?

Screenshot (if appropriate, usually isn't needed):
N/A
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Migrated package (a package has been migrated from another repository)

Checklist:

[ ] My code follows the code style of this repository.
[ ] My change requires a change to documentation (this usually means the notes in the description of a package).
[x] I have updated the documentation accordingly (this usually means the notes in the description of a package).
[x] I have updated the package description and it is less than 4000 characters.
[x] All files are up to date with the latest Contributing Guidelines
[ ] The added/modified package passed install/uninstall in the chocolatey test environment.
[x] The changes only affect a single package (not including meta package).

Original Location
This PR fixes:

[ ] #2102

:x: Package verification failed, please review the Appveyor Logs and the provided Artifacts before requesting a human reviewer to take a look.

The updates submitted are all manual updates to the files. As these packages are all automatically updated through the update.ps1 script, this isn't how things are done in here. Please see this discussion.


Release v0.3.0

Features:

Network options
Reset provider

Fixes:

Use strict operator(strict equality)
Throw error if config undefined

Build:

Bump packages

Codecov Report

Merging #6 (f3f11e1) into main (498c748) will increase coverage by 13.88%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             main        #6       +/-   ##
============================================
+ Coverage   86.11%   100.00%   +13.88%
============================================
  Files           6         6
  Lines          72        79        +7
  Branches        8         9        +1
============================================
+ Hits           62        79       +17
+ Misses          8         0        -8
+ Partials        2         0        -2

Impacted Files
Coverage Δ

lib/config.ts
100.00% <100.00%> (+29.62%)
:arrow_up:

lib/provider.ts
100.00% <100.00%> (ø)

lib/connection.ts
100.00% <0.00%> (+16.66%)
:arrow_up:

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


Update project metadata (readme, licence, setup.py, etc)

The other PR (#8) became a bit of a mess, so I'm continuing here.

[x] Add license information
[x] Improve README
[x] Improve CONTRIBUTING
[x] Update setup.py

Hi @bouweandela , I addressed your comments! I believe this is ready to merge!


Unable to fetch a million record from DB : Java Heap Space error

Description:
Running ballerina locally, I am creating a Data Service to query the Database.
However, I am getting 'Java heap space' error while I am trying to fetch around a million records.
From #9806, I understand that there is a way to pass through the response back to the client but what if I want to do some filtering or operations on top of it? or as in the below code, fetching from the database itself throws the heap space error.
Code:
import ballerina/config;
import ballerina/http;
import ballerina/jsonutils;
import ballerina/log;
import ballerinax/java.jdbc;
jdbc:Client employeeDB = new ({
url: config:getAsString("MYSQL_URL"),
username: config:getAsString("MYSQL_USERNAME"),
password: config:getAsString("MYSQL_PASSWORD"),
dbOptions: {useSSL: false}
});
listener http:Listener employeeEP = new (9095);
@http:ServiceConfig {
basePath: "/testing"
}
service dbTransactions on employeeEP {
@http:ResourceConfig {
methods: ["GET"],
path: "/cat_extn/{offerid}"
}
resource function getEmployees(http:Caller caller, http:Request request, string offerid) {
    http:Response response = new;
    log:printInfo("The select operation - Select data from a table");
    var selectResult = employeeDB->select("SELECT * FROM prmrcusdb.prmr_catalog_attr_extn_tb limit 1000000;",()); // where offerid = ?", (), offerid);
    log:printInfo("The select operation - Query execution in progress...");
    if (selectResult is table<record {}>) {
        json jsonConversionResult = jsonutils:fromTable(selectResult);
        log:printInfo(jsonConversionResult.toString());
        response.statusCode = http:STATUS_OK;
        response.setJsonPayload(jsonConversionResult);
    } else {
        log:printError("Error occurred in querying data");
        response.statusCode = http:STATUS_NOT_FOUND;
        json responseJson = {"Failed": selectResult.reason()};
        response.setJsonPayload(<@untainted>responseJson);
    }

    var result = caller->respond(response);

    if (result is error) {
        log:printError("Error sending response to the client", err = result);
    }
}

}
OS, DB, other environment details and versions:
Ballerina version  = 1.0.1
I am running i5 on 8gb RAM.

@dhananjay41996
Ballerina inherently enforces the streaming behavior.
Neither following line
var selectResult = employeeDB->select("SELECT * FROM prmrcusdb.prmr_catalog_attr_extn_tb limit 1000000;",());

nor this,
json jsonConversionResult = jsonutils:fromTable(selectResult);

Would load the data into memory.
When you send the response here,
var result = caller->respond(response);

Data will be streamed out of the database, converted json and sent to the client piece by piece(as a stream).
Therefore passthrough scenario doesn't cause OOM as it won't really load the whole amount of data into memory at once.
However, in your code, you're printing the json value which results in OOM because its not streaming out the data(pass-through) but touching the content and loading it all to the memory.
log:printInfo(jsonConversionResult.toString());

To answer your question on how you'd perform some filtering operations on top of data, in other words - perform content-aware operations,
Well, you can't perform an operation and accumulate all the data - this would obviously cause OOM because the size of the data exceeds the available memory.
One thing you can do is have the size limitation at query level.

Understood the OOM and data pass-through issue. However, if I am to perform content-aware operations on some 300Mb of data (or let's say more than a million records), can I do that in batches in Ballerina(e.g. 100k at a time) because that won't be a burden on the memory either??
Since having a limit at the query level won't always be possible.

ATM there is no such feature. You can create a feature request (Git issue) so that we can consider the possibility of doing this in a future version.

Okay, thanks for your assistance.


Definition for rule 'import/newline-after-import' was not found.eslint(import/newline-after-import)

Hi, I encountered a problem when trying to use this rule. As far as I'm aware I think it should be included in the base eslint package.

You’ll have to elaborate, because it’s definitely been available for a long time. Do you have “import” in your plugins array?

Duh you're right, thanks so much!


How to find the Hamming distance of two vectors in ciphertext domain?

Hello, I want to know what the specific form of ciphertext is. Can we calculate the number of non-zero elements in the ciphertext vector after subtracting the two encrypted vectors so as to calculate the Hamming distance? Or can we directly use the method in NUMpy to solve the Hamming distance

Finding out if an element is non-zero (i.e. computing f(x) = (x != 0)) can be tricky under encryption. If the vector elements were already binary, then it's very easy, but otherwise, it's definitively an "advanced" thing to do.

Demo_8_HammingDist.py shows how to calculate the hamming distance in a well detailed script. As mentioned by @AlexanderViand , the main requirement is to encode vectors with binary values {0,1}*, in which case you can resort to arithmetic scalar product since XOR(a, b) = a + b - a*b.


Codeceptjs 3.0: Property 'message' doesn't exist

There is problem with plugin in codeceptjs v3.x. When test fails and hook _failed is called, test object doesn't contain an err property and err.message can't be read.  Fail results aren't sent to BrowserStack server (there is label UNMARKED instead of FAILED). I have tried to check Mocha.Suite object in _afterSuite hook and err.message is present there in suite.tests[]. It is probably added after _failed hook call.
Affected code (index.js, line 79):
await this._updateBuild(sessionId, { status: 'failed', name: test.title, reason: test.err.message });
Error message:
TypeError: Cannot read property 'message' of undefined

hey @Stanin84 could you try latest version 3.0.0 of this plugin, yes, it has been updated to be plugin instead of helper for flexibility to turn it on/off on the fly.

@PeterNgTr thank you for reaction. I've updated plugin to version 3, but getting following error:
Error: Could not load plugin BrowserstackHelper from module 'codeceptjs-bshelper': Cannot find module './lib/output'. I've checked folder node_modules/codeceptjs-bshelper and lib/output is not present there.

@Stanin84 sorry, my bad. I forgot to publish that folder to npm. Would you mind trying with 3.0.1 :)

@PeterNgTr hi, problem with lib/output is solved, but I still getting unmarked for results. I debugged code and after change condition in index.js at lines 115 - 123 to:
this._getSessionId = function () {
if (helper.helpers.WebDriver) {
return helper.helpers.WebDriver.browser.sessionId;
}
if (helper.helpers.Appium) {
 return helper.helpers.Appium.browser.sessionId;
}
throw new Error('No matching helper found. Supported helpers: WebDriver/Appium');
};

oh, nice, thanks for checking it out, @Stanin84. I'll push the latest version.

@Stanin84 please try 3.0.2 and if everything goes well for you, I'm so glad 😃


Ran for 0 files

Hi,
I wanted to use your tool for a library of my photos (5400) that I downloaded from Flickr.
I put the pics in media folder and json into meta folder. But after I run the tool it says
[Info] 0/0 sidecar .json files parsed
[Info] Writing tags for 0 files
[Info] Exiftool sucessfully ran for 0 files
What might be the problem?
Thank you

It also looks like downloaded images have different naming conventions and the only correct ids are in json files.

@mmvlad have you sorted the issue already?

@mmvlad have you sorted the issue already?

unfortunately I don’t have time to do that :)

"Almost" same here.
TLDR;
I run the tool and it seems to find the sidecars .json files but then nothing!
My process:
Note: I've first figured out that the README have minor errors.
Here are the steps to reproduce:
root@0eda40f19721:/photos# ls -1 media/ | wc -l
2067

root@0eda40f19721:/photos# ls -1 meta/ | wc -l
2067

root@0eda40f19721:/photos# flickr-takeway-processor media/ meta/
bash: flickr-takeway-processor: command not found

Wrong name for the command on the README, missing a a in away.
root@0eda40f19721:/photos# flickr-takeaway-processor media/ meta/
[Info] 0/0 sidecar .json files parsed
[Info] Writing tags for 0 files
[Info] Exiftool sucessfully ran for 0 files

Same error as mention in the current issue.
Oups!
Let's look at the help!
root@0eda40f19721:/photos# flickr-takeaway-processor
Process Flickr takeaway files

Usage: flickr-takeaway-processor META MEDIA [-t|--threads THREADS]

Available options:
  -h,--help                Show this help text
  META                     Directory containing photo_*.json files
  MEDIA                    Directory with media files
  -t,--threads THREADS     Maximum number of threads for I/O-bound operations

Params are on the wrong order!
root@0eda40f19721:/photos# flickr-takeaway-processor meta/ media/
[Info] 0/2067 sidecar .json files parsed
[Info] Writing tags for 0 files
[Info] Exiftool sucessfully ran for 0 files

root@0eda40f19721:/photos# flickr-takeaway-processor meta/ media/ -t 1
[Info] 0/2067 sidecar .json files parsed
[Info] Writing tags for 0 files
[Info] Exiftool sucessfully ran for 0 files

That's where I'm stuck now....
I'm looking at the code, but I'm just lost since I don't know Haskell at all :P ...

Woha I totally missed this whole thread – somewhy I had notifications switched off for my own repo 🙄
Let me try to run it myself, haven't tried it for a while. And I'm still on Flickr :D

[Info] 0/2067 sidecar .json files parsed

Just tried a fresh takeout archive, the issue is definitely a change in Flickr sidecar format:
λ> parseSidecar' (fromText "/Users/dmitrydzhus/projects/flickr-takeaway-processor/meta/photo_14034151995.json")
Left "Error in $.geo: parsing Geo failed, expected Object, but encountered Array"

This should no longer be a problem as of #3, please try a new version from master.


Add query-string package to whitelist

See PR https://github.com/DefinitelyTyped/DefinitelyTyped/pull/39197
proper-url-join depends on query-string

It's now in the production branch, so Definitely Typed's CI will get the new whitelist next time it runs.


[Feature] New option for staring a local registry

Description
A new option, --enable-registry, has been added for starting a local, private registry. This registry will be shared between all the k3d clusters created with --enable-registry. The registry container will be removed when the last of them is removed.
Two extra options, --registry-name and --registry-port, have been included for specifying the hostname and port where the registry will be available.

Hi there, thanks for your contribution!
I think this feature can be really useful (i.e. automating some manual steps) :+1:
One think I'm a bit afraid of is maintaining the containerd config template (to keep track with the one used in k3s), even though it might be quite stable.
Anyway, I will try to review this as soon as I have some more time :+1:

Hi there, thanks for your contribution!
I think this feature can be really useful (i.e. automating some manual steps)
One think I'm a bit afraid of is maintaining the containerd config template (to keep track with the one used in k3s), even though it might be quite stable.
Anyway, I will try to review this as soon as I have some more time

Thanks @iwilltry42 . I completely understand your concern about the containerd template, but I think this is a tradeoff between flexibility and usability. My mhe main concern would be if users create their clusters with an old k3s image (with the --image flag). In this case we could print a warning (ie, "hey, you are using --image with --registry and that can lead to some problems..."), or maybe we copuld try to be smarter and parse the image version and use a different template... not sure.

Maybe using the registries.yaml file, which is available as an option as of k3s v0.10.0 is, would be easier to handle than the whole containerd config?
See https://github.com/rancher/k3d/blob/master/docs/examples.md#step-2---option-1-use-registriesyaml-for-k3s--v0100

Maybe using the registries.yaml file, which is available as an option as of k3s v0.10.0 is, would be easier to handle than the whole containerd config?
See https://github.com/rancher/k3d/blob/master/docs/examples.md#step-2---option-1-use-registriesyaml-for-k3s--v0100

Oh, I didn''t know we could do that, and it looks much better. What about writing that file in getClusterDir()/registries.yaml instead of ${HOME}/.k3d/registries.yaml?

Updated for reading an optional, global ~/.k3d/registries.yaml file and then generating a cluster-specific registries.yaml file (see this).

Not sure why Travis is failing... any idea @iwilltry42 ?

Not sure why Travis is failing... any idea @iwilltry42 ?

no clue to be honest... we can re-run it, as it doesn't seem to be related to your changes.

What do you think: is it better to go your current way of mounting the registries.yaml into the container or should we rather copy it inside (similar to a docker cp) so that it will stay there permanently, even if one accidentally deletes the local file?

Not sure why Travis is failing... any idea @iwilltry42 ?

I think it's simply timing out because it takes too long to pull all the dependencies.
I just tried to build it locally and it fails because of kine's sqlite dependency:
$ make
CGO_ENABLED=0 go build -i  -tags '' -ldflags '-w -s -X github.com/rancher/k3d/version.Version=v1.4.0-3-gf38abc7 -X github.com/rancher/k3d/version.K3sVersion=v1.17.0+k3s.1' -o '/home/thklein/go/src/github.com/rancher/k3d/bin/k3d'
# github.com/rancher/kine/pkg/drivers/sqlite
../../../../pkg/mod/github.com/rancher/kine@v0.2.5/pkg/drivers/sqlite/sqlite.go:56:22: undefined: sqlite3.Error
../../../../pkg/mod/github.com/rancher/kine@v0.2.5/pkg/drivers/sqlite/sqlite.go:56:64: undefined: sqlite3.ErrConstraintUnique
make: *** [Makefile:62: build] Error 2
make  8.30s user 1.07s system 239% cpu 3.916 total

What do you think: is it better to go your current way of mounting the registries.yaml into the container or should we rather copy it inside (similar to a docker cp) so that it will stay there permanently, even if one accidentally deletes the local file?

Yes, I considered this solution. As you mentioned, it would be more resilient. But I would have to create the container, perform the copy and then start it, and I was not sure it was worth it. But I will give it a try...

It seems the docker.CopyToContainer is not working as I expected... trying to fix it.

docker.CopyToContainer() seems to fail when the parent destination directory does not exist. Maybe we could create that directory in the Dockerfile of the base images, or start the container, create the directory, perform the copy and then start the entrypoint... all these solutions are equally disgusting. Any suggestions?


Conflict with PyJWT

Hello,
There is a conflict between this package and the PyJWT (https://github.com/jpadilla/pyjwt), both packages are installed in the /dist-packages/jwt.
It could be good if the two teams could come up with some solution? Or can this package installed in a different way?
Kind regards
Attila

Thank you for bringing up your concern. We are aware of this name crash issue, but for now, we at @GehirnInc have decided not to fix it. See https://github.com/GehirnInc/python-jwt/issues/9#issuecomment-414175635.

Thank you for bringing up your concern. We are aware of this name crash issue, but for now, we at @GehirnInc have decided not to fix it. See https://github.com/GehirnInc/python-jwt/issues/9#issuecomment-414175635.


Adding new people: Weird behavior of the icons

Describe the bug
The icons replicate when I try to add a tutor, instructor, editor, or student
To Reproduce

Go to any course
Try to add a person as a tutor, instructor, editor, or student
Verify that as long as you type or delete characters, the icon on the side of the name is duplicating

Expected behavior
The icon should not be duplicated or showing multiple times.
Screenshots
https://github.com/ls1intum/Artemis/assets/88991954/9199958b-1de4-4cd6-a581-5d97d39eff8c
Which version of Artemis are you seeing the problem on?
7.4.1
What browsers are you seeing the problem on?
Chrome
Additional context
No response
Relevant log output
No response

I think this issue is already mentioned here #8938


Minor fixes for tutorial

change batch to streaming
change null to 0

Fixed in PR: https://github.com/delta-io/delta/pull/222


Docs: Fix Code Example for Arity of mapStateToProps

Related: #1413
Makes the code example for mapStateToProps consistent with Using React Redux > Connect: Extracting Data with mapStateToProps.
If the incoming value of ownProps is undefined, the default argument value will be used.

Thanks!


Use new Helm endpoint on hub.helm.sh

Use new Helm endpoint on hub.helm.sh

sorry about that @tomkerkhove, I completely forgot about that. Thanks for taking care of it.

Merged


0.105.0b2 Netatmo not possible to setup

The problem
Netatmo is not possible to setup using the integrations in 0.105. When trying to auth third party app Home Assistant on the https://auth.netatmo.com/en-us/access/ site. Nothing is happening when pressing the Yes I accepts button.  Only reloads the same site.
Environment
Home Assistant release with the issue:
0.105.0b
Last working Home Assistant release (if known):
0.104.3
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Integration causing this issue:
Netatmo

It’ll be part of the release notes (breaking changes) as it will only affect existing installations.
Apart from that, does everything work for you?

It’ll be part of the release notes (breaking changes) as it will only affect existing installations.

Good!

Apart from that, does everything work for you?

The integration is working perfectly fine without any problems so far. 👌

@MuppetOwl do you still experience this issue?

Working now with the correct settings :)