[IO-744] FileWriterWithEncoding for an existing file no longer truncates the file.

Coverage decreased (-0.01%) to 89.097% when pulling c41c4b6c6798dbaf778b943d8cee9afd8a928409 on rbri:issue_IO-744 into 96e3df8a44d2c6baa0de90560cfef5aafba6b176 on apache:master.

@rbri
Thank you for your PR. See comments.


Added "http://" to redis.io link

Hi @TiagoSoczek, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

Looks good :shipit:

Thanks for the PR. Merged in 7ca17db65d0b7cb418009ee7ce46b4e1975a58c7


Use new quote API for cowswap oracle

markets API was deprecated

This is going to close https://github.com/safe-global/safe-eth-py/issues/440


The module 'exmol' has no attribute 'lime_explain'

In the notebook RF-lime.ipynb, the command
exmol.lime_explain(space, descriptor_type=descriptor_type)
gives a error module 'exmol' has no attribute 'lime_explain'
Please, let me know how to fix this error. Thanks.

lime_explain is available in the pre-release version. Use this command to install/upgrade it: pip install --pre --upgrade exmol

It worked. Thanks.
Another question.... How can I plot the image ECFP.svg using the notebook RF-lime.ipynb?
I used descriptor_type = "ECFP" but the image is different from the image used in the https://github.com/ur-whitelab/exmol main page.
It shows up with no substructures and no structure in the right. The y-axis in the figure shows up many numbers only (no substructures) .

@hgandhi2411 may answer better here, but I believe to display SVGs you need to use the command skunk.display(svg) by importing the skunk package import skunk. Also, the README page results are from the other notebook (RNN) I believe so you may not get the same results. I put the code from the other notebook below on how to plot the explanations:
svg = exmol.plot_descriptors(samples, descriptor_type='ECFP')
skunk.display(svg)

@andresilvapimentel use exmol.plot_descriptors() function as shown by @whitead to get descriptor plots. RF-lime.ipynb was used to create figure 3 in the paper and contains code only for that.


windows orb update set windows server 2022 as the default

Set windows server 2022 as defaut. Updated to windows orb version 4.2.

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/circleci/windows?version=dev:21a04e2b5fc6f2ae783b332862cb1f3e74b7671a


Allow use of OptunaSearchCV with cross_val_predict.

Motivation

#173  explained.
Description of the changes

Re-define some property (predict and related one) as method.
Environment

Optuna version:3.5.0
Optuna Integration version:3.5.0
Python version:3.11.6
OS:macOS-14.7-arm64-arm-64bit
scikit-learn version: 1.4.0

I've tested locally as follows;
import optuna
from sklearn.cross_decomposition import PLSRegression
from sklearn.datasets import make_regression
from sklearn.model_selection import cross_val_predict

X, y = make_regression(n_samples=100, n_features=10, bias=1, random_state=334)

ocv = optuna.integration.OptunaSearchCV(
    PLSRegression(),
    param_distributions=dict(n_components=optuna.distributions.IntDistribution(1, 10)),
    cv=5,
)
y_oof = cross_val_predict(ocv, X, y, cv=5)

and,
import optuna
from sklearn.tree import DecisionTreeClassifier
from sklearn.datasets import make_classification
from sklearn.model_selection import cross_val_predict

X, y = make_classification(n_samples=100, n_features=10, random_state=334)

ocv = optuna.integration.OptunaSearchCV(
    DecisionTreeClassifier(random_state=334),
    param_distributions=dict(max_depth=optuna.distributions.IntDistribution(1, 10)),
    cv=5,
    random_state=334,
)
y_oof = cross_val_predict(ocv, X, y, cv=5, method="predict_proba")

@yu9824
Thank you for the PR:)
But as explained in the last PR, I believe we cannot pass any additional parameters to predict_proba and any other methods as well.
Meaning that in your example, we cannot do ocv.predict_proba(x, **kwargs), which is the exact reason why I closed the last PR.
Could you address this issue as we cannot merge this PR as is?

@nabenabe0928
Thanks for your comment.

Meaning that in your example, we cannot do ocv.predict_proba(x, **kwargs), which is the exact reason why I closed the last PR.

I understand what the problem is. I will deal with it.
the following is my own opinion
As you mentioned above, predict_proba and related methods need to accept **kwargs to keep the work the same as the current one. But BaseSearchCV (the base class of skleran.model_selection.GridSearchCV) does not take any arguments except X, now.
So I believe that OptunaSearchCV should not take them likewise.
(Prior to scikit-learn < 0.16, GridSearchCV.predict_proba and related methods accepted arbitrary arguments because it is the same as the current `OptunaSearchCV' to define them).

https://github.com/scikit-learn/scikit-learn/blob/2068ff2fd94abe4f14b0334eb4372a64b268f6b4/sklearn/grid_search.py#L324-L334

Could you review it?
I've tested locally as follow;
import optuna
from sklearn.tree import DecisionTreeClassifier
from sklearn.datasets import make_classification
from sklearn.model_selection import cross_val_predict

X, y = make_classification(n_samples=100, n_features=10, random_state=334)

ocv = optuna.integration.OptunaSearchCV(
    DecisionTreeClassifier(random_state=334),
    param_distributions=dict(max_depth=optuna.distributions.IntDistribution(1, 10)),
    cv=5,
    random_state=334,
)
ocv.fit(X, y)
ocv.predict_proba(X, check_input=True)

@nabenabe0928 Could you review this PR?

Noted. I'll handle it.


Not compatible with pandas >= 0.19.0

fit.py uses pandas.Series.reshape, which, per the pandas docs has been deprecated since pandas 0.19.0:
https://pandas.pydata.org/pandas-docs/version/0.22/generated/pandas.Series.reshape.html

oh wild, where does it use it? probably the easiest fix is to convert to numpy before the reshape.

Thanks @pgkirsch. Do you have a simple test or example that produces this issue?

I was mistaken. fit.py doesn't use pandas.Series.reshape; this occurs when I use a pd.Series object as my input.
Example is if we make one of the input arrays for gpfit/examples/ex63.py a pd.Series:
from numpy import log, exp, log10, vstack
from gpfit.fit import fit
from numpy.random import random_sample
import pandas as pd
Vdd = pd.Series(random_sample(1000,) + 1)
Vth = 0.2*random_sample(1000,) + 0.2
P = Vdd**2 + 30*Vdd*exp(-(Vth-0.06*Vdd)/0.039)
u = vstack((Vdd,Vth))
x = log(u)
y = log(P)
K = 4
cstrt, rmsErr = fit(x, y, K, "ISMA")

yields
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
~/Optimization/gpfit/gpfit/examples/pd.py in <module>
     12 K = 4
     13
---> 14 cstrt, rmsErr = fit(x,y,K,"ISMA")

~/Optimization/gpfit/gpfit/fit.py in fit(xdata, ydata, K, ftype)
     78             fitdata["ub%d" % i] = exp(max(xdata.T[i]))
     79
---> 80     params = get_params(ftype, K, xdata, ydata)
     81
     82     # A: exponent parameters, B: coefficient parameters

~/Optimization/gpfit/gpfit/fit.py in get_params(ftype, K, xdata, ydata)
     23         return r, drdp
     24
---> 25     ba = ba_init(xdata, ydata.reshape(ydata.size, 1), K).flatten('F')
     26
     27     if ftype == "ISMA":

/opt/anaconda3/lib/python3.8/site-packages/pandas/core/generic.py in __getattr__(self, name)
   5137             if self._info_axis._can_hold_identifiers_and_holds_name(name):
   5138                 return self[name]
-> 5139             return object.__getattribute__(self, name)
   5140
   5141     def __setattr__(self, name: str, value) -> None:

AttributeError: 'Series' object has no attribute 'reshape'

I agree with @bqpd's suggestion to make sure all input arrays are numpy arrays as a pre-process step.

Or make it a ux change and raise an error if the input type isn't a numpy array.


Bulk remapping: allow remapping a whole document

Is your feature request related to a problem? Please describe.
Currently you have to select layers, before you can bulk remap your tokens. If you now want to replace all tokens in a document with for example different pages, there is no easy way to bulk remap all these tokens.
Describe the solution you'd like
Make it possible to bulk remap tokens in a whole document, without having to select the layers.
Additional context
Needs further shaping/design.

Would say we could add a checkbox to the Bulk remap
Remap across document (slow) which just performs the bulk remap on the Document.

Yes please!


[FR] Request ability to build prefab on apple silicon: fail to get a suitable JDK

Is your feature request related to a problem? Please describe.
I can't build prefab on Apple silicon.
this is the output I get:
$ ./gradlew installDist
Starting a Gradle Daemon, 2 incompatible Daemons could not be reused, use --status for details

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':cli:installDist'.
> Could not resolve all dependencies for configuration ':cli:runtimeClasspath'.
   > Failed to calculate the value of task ':cli:compileJava' property 'javaCompiler'.
      > Unable to download toolchain matching these requirements: {languageVersion=8, vendor=any, implementation=vendor-specific}
         > Unable to download toolchain. This might indicate that the combination (version, architecture, release/early access, ...) for the requested JDK is not available.
            > Could not read 'https://api.adoptopenjdk.net/v3/binary/latest/8/ga/mac/aarch64/jdk/hotspot/normal/adoptopenjdk' as it does not exist.

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

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

BUILD FAILED in 4s

I have tried with various JDK versions, including openjdk 20.0.1 installed via "brew install openjdk"
Describe the solution you'd like
I'd like the build to work.
Describe alternatives you've considered
I have tried building with openjdk installed via "brew install openjdk"
Additional context
Seems to be the similar to https://youtrack.jetbrains.com/issue/KTIJ-24695/Default-Kotlin-project-can-not-be-synced-on-Mac-M1
and maybe also https://youtrack.jetbrains.com/issue/KTIJ-25475/Up-kotlin-jvmToolchain-to-11-and-higher-only-for-aarch64

Can cherry-pick https://github.com/google/prefab/pull/167 if you want the fix before someone has a chance to review.


Paired Result Graph: Clicking legend of one graph affecting the graph another Graph

Describe the bug
Clicking the legend of one paired result in a graph affects another paired result present in the different graphs.
Looks like the issue is introduced in version 1.19.2. The previous version 1.19.1 is working fine.
Link to CodeSandbox
Use this template to reproduce the behavior.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: iOS
Browser: chrome

Additional context
Looks like the issue is introduced in version 1.19.2. The previous version 1.19.1 is working fine.

@ryanthemanuel, @mraplumb I have raised PR related to this issue : https://github.com/cerner/carbon-graphs/pull/224. Please review.

:tada: This issue has been resolved in version 2.4.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


General cleanup, more docs.

Rename typedefs FcBuilderFunc to InstanceBuilderCallback to be more meaningful.
cleanup more comments.
promote most classes in parse_route.dart (except ParseRouteTree) to be private. I still believe we should use Uri to parse the "url".
Added _RxImpl::refresh() in rx_impl.dart and added some comments/samples.
Some cleanup in rx_interface.dart, added more comments, missing types and move vars to the top.

LGTM, thanks for this


InfluxDB v0.9.0-rc31 on FreeBSD hangs after a while

Hello,
I have been testing InfluxDB on FreeBSD and in the last days its been hangs.
Currently I don't know if this is a FreebSD related problem or not, has anyone else seen this kind of isseu?
https://forums.freebsd.org/threads/cleaning-up-an-unkillable-process-influxdb.51783/

@syepes I haven't seen any other reports of an unkillable influxd process. I would guess it's likely specific to FreeBSD, especially since we haven't done any specific testing on FreeBSD or built any official packages for that OS.
What is in the InfluxDB logs?

What is in the InfluxDB logs?

I have another example that just happened this week-end this time I was running version e5e4b898
[broker] 2015/05/30 20:36:03 executing truncation check for 5 topic(s)
[srvr] 2015/05/30 20:36:04 retention policy enforcement check commencing
[broker] 2015/05/30 20:46:03 executing truncation check for 5 topic(s)
[srvr] 2015/05/30 20:46:04 retention policy enforcement check commencing
The strange thing is that this randomly and sometimes this happens event without inserting data.


B now reduces golds for traders form/to target by 4 (possible negative)

Might need to remove the ban for this treaty

Is it tested ?


How to change the gauge's unit of measurement?

Hi,
Is this library allow to change the gauge's unit of measurement from Km/h to another unit (like Volt or Ampere), I haven't found any infomation about it in the wiki pages.
Thanks.

just use app:sv_unit="Volt" Attribute, #26


DashR Multipage Financial Report

Issue for app: #[issue number here]
App pull request

[x] This is a new app
[ ] I am improving an existing app (redesigns/code "makeovers")

About

Playground deployment URL (new version):
Current gallery app URL: (delete this line if inapplicable)
Python app repository link: (delete this line if you are working on a Python app)

Workflow

[x] I have created a branch in the appropriate monorepo, and the
elements necessary for successful deployment are in place.
[ ] If the app is a redesigned and/or restyled version of an
existing gallery app, I've summarized the changes requested in the
appropriate Streambed issue and confirm that they have been applied.
[ ] If the app is on the Dash Gallery portal, I have added a link to
the GitHub repository for the source code in the portal description.
[ ] If the app is a reimplementation of a Python gallery app for the
DashR gallery, the app in this PR mimics, as closely as possible,
the style and functionality of the existing app.=
[ ] I have removed all Google Analytics code from the app's
assets/ folder.

The pre-review review
I have addressed all of the following questions:

[x] Does everything in my code serve some purpose? (I have removed
any dead and/or irrelevant code.)
[x] Does everything in my code have a clear purpose? (My code is
readable and, where it isn't, it has been commented appropriately.)]
[ ] Am I reinventing the wheel? (I have used appropriate packages to
lessen the volume of code that needs to be maintained.)

@rpkyle ready for your review :)

:hocho: apps/.DS_Store and .DS_Store

@Scott-Clone Have you had a chance to address the items we discussed last week?
The app is looking great, except for three things:

Legend needs to be repositioned on page 10, bottom right corner of page:

Table extends over page margin (unintentional cropping), final page:

Printing from the browser doesn't seem to work in Safari or Chrome?

Resolved @rpkyle

@Scott-Clone Sorry, still not fixed for me. The three issues remain. Please address and ping me when working, thanks!

Now resolved, uploaded wrong file


Dartium: Versions later than <IP_ADDRESS> up to current - Dart code path taken is wrong

To reproduce (in win7):

svn checkout URL of repository

https://svn.code.sf.net/p/galaxyv2/code/
Enter 'other/web_play'

Get dart IDE up and running

If you don't have JRE or JDK installed you can find it here
http://www.oracle.com/technetwork/java/javase/downloads/index.html

From http://www.eclipse.org/downloads/ download "Eclipse IDE for Java Developers"

Install by extracting it to any folder where you have write access

Download Dartium browser <IP_ADDRESS>
https://www.dartlang.org/downloads/archive/
(versions later than <IP_ADDRESS> up to 1.17.0-dev.2.0 did not work when
this was written - breakpoints gets ignored and other erratic bhv)

Unpack folder to the 'eclipse' folder and rename it to 'chromium'

Start the eclipse program

Select any empty folder as your workspace when asked

Install dart plugin
This also downloads dart-sdk and places it in eclipse/dart-sdk
Help -> Install New Software -> Add...
name     - dart_plugin
location - http://www.dartlang.org/eclipse/update/channels/stable/
click Next until the plugin has been installed, then Finish

Setup Dart
Window -> Preferences -> Dart -> SDK
click Upgrade SDK, OK

Make a clean copy of this folder (free from '.svn' folders)

Run project_clean_copy.bat
This will create 'web_play_work'.

Import project into eclipse workspace

In eclipse:
File -> Import -> General -> Existing project into workspace -> Next
Browse, Select 'web_play_work' created in step 3 -> Finish
Restart eclipse

Set a breakpoint

C_Collision.dart row 65

Build and run (as dart in chromium)

Right click on project, Debug as... '3 Dartium launch'
make the ship run into the wall - breakpoint hit, the ship explodes on resume

Close all eclipse and replace Dartium with version 1.13+
Repeat 6

breakpoint not hit, the ship does never explode (collision not working)

Both versions of the browser show 39.0.2171.0 as the version (chrome://chrome/ address)

Please try with Dartium 1.17.1 Stable or 1.18 Dev channel there was a fix for BP not being honored checked in

Dartium 1.17.1 is the same...

This should not be closed!
But I have found that it is not an issue of ignored BP, but rather an error in the code path taken where all versions after <IP_ADDRESS> is not working as expected. The way to reproduce the error is still valid.

@rh-galaxy , the Eclipse plugin has not been upgraded to use the latest version of the debugging protocol, which is why it does not work. You can use Intellij or the dev console for debugging in Dartium.


How can i download it? I Can`t see the jar file!

How can i download it? I Can`t see the jar file!
Please Help!

Github Actions


Logging job ID with engine.run

Context:
When using RemoteEngine.run for submitting jobs, it is desirable to also get the ID of the Job.
Description of the Change:

Adds a handler to logging in engine.py that allows messages appearing on the standard output and sets the logger to INFO level
Adds an INFO level message in RemoteEngine.run when the job is submitted

Benefits:
Users will receive a notice both when submitting a job with the job ID and when there is a job that failed.
Possible Drawbacks:
N/A
Related GitHub Issues:
N/A

@josh146  thank you so much for your review and comments! Your question about caplog made me realize that some tests were faulty due to the fact that trying to set the level logging.basicConfig(filename=test_file, level=level) will take no effect within the caplog context. This spiralled down into having to switch to a stricter logic and adjusting the tests!
Short summary
The has_level_handler function was made into the logging_handler_defined function, that checks for any handler that was defined (so far it only checked for the level set for handlers).
The entire process of creating a logger by default was made as strict as possible. If any user-defined logger configuration is found, then nothing is configured by SF when a logger is created internally.
More details
With the previous solution, we checked two things:

whether or not the level attribute was set for our module logger (this attribute is not set by default, has to be set explicitly)
there was a handler created along the ancestry chain that affects the logging level

These conditions, however, did not take into consideration, if logging configurations were added by the user not on the module level, but rather on the logging.root logger level. An example is having logging.basicConfig(filename=test_file, level=level), which essentially just creates a handler for logging.root and sets the level of the root logger (a subtlety here is that this sets the level for the logger and not simply for the handler itself). *
As the root logger has a WARNING level by default, any module-specific logger will inherit the same as effective level. The effective level is just a way of saying that even though a level might not have been set, we are still seeking a level value recursively from the ancestor loggers.
Therefore, the logger is configured if and only if the following are true:

the logger has WARNING as the effective level
the level of the logger was not explicitly set
no handlers were added to the logger

This overall is meant to describe, that provided that the user configured at least one piece of detail for the logger, then SF will not configure anything for them.
*Example:
import logging
import sys

assert logging.root.level == logging.WARNING
logging.basicConfig(stream=sys.stderr, level=logging.INFO)

assert len(logging.root.handlers) == 1
assert logging.root.handlers[0].stream.name == "stderr"
assert logging.root.level == logging.INFO
logging.root.handlers[0].level == logging.NOTSET


Tables in SSR are causing warning The client-side rendered virtual DOM tree is not matching server-rendered content

Version
2.4.4
Reproduction link
https://github.com/gwildu/v-html
Table component: https://github.com/gwildu/v-html/blob/master/components/Table.vue
Steps to reproduce
The git repo linked is a nuxt starter repo with additional table component. The data for rendering the table is static data.

run yarn
run yarn dev
open the browser: http://localhost:3000
open the console and check the Warnings / Errors

What is expected?
The server-side rendered markup should match the client-side markup and no warning should be shown. The table should be rendered in the browser
What is actually happening?
You get the following warnings / errors in the console:

Parent: table
Mismatching childNodes vs. VNodes: NodeList  tbody
Vue warn: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup

The table gets not rendered when loading the page from server

Inside the table component (/components/Table.vue) I also added a list for comparison. When you remove the table, the list is rendering without warning, by adding the table you get the warning again.

Thanks @gwildu  please refer https://ssr.vuejs.org/en/hydration.html
You need to write tbody  in your template.


.getSimInfo() method is giving null object error.

After creating an object of the
const simData = RNSimData.getSimInfo();
while accessing the method, the method returns
[TypeError: null is not an object (evaluating 'simData.simSerialNumber0')] error.
Permission has been given in AndroidManifest file
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />

@PoojaPanc Did you find any solution related to siminfo()?

I am facing the same issue. Does anyone has solve the issue.


Update contoso-migration-rehost-vm-sql-ag.md

@JungYeolYang : Thanks for your contribution! The author, @rayne-wiselman, has been notified to review your proposed change.

Verified the update. Thanks!


startup effect logging needs cleanup

sample output:
[HYPERIOND MAIN]  Hyperion started and initialised
INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
BLACKBORDER INFO: threshold set to 0.1 (26)
BLACKBORDER INFO: mode:default
started
[HYPERIOND MAIN]  Kodi checker created and started
Suggest just removing the cout statements around src/hyperiond/hyperiond.cpp:143:

another question, is it necessary that the blackborder info spams always his setting? This is something you could log one time at startup.

We should use new logger there and output those messages as Debug.

A todo replace all cout with new logger

the effect engine prints out every time a message, when an effect is set. This message is definitly a "Debug" message

can closed because this is a subset of #25


"az container logs" does not work in 2.28.0

Describe the bug
Command Name
az container logs does not work in 2.28.0. I works fine in 2.27.2
Errors:
The command failed with an unexpected error. Here is the traceback:
'ContainerInstanceManagementClient' object has no attribute 'container'
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 657, in execute
    raise ex
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 691, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 112, in handler
    client = self.client_factory(self.cli_ctx, command_args) if self.client_factory else None
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/container/_client_factory.py", line 18, in cf_container
    return _container_instance_client_factory(cli_ctx).container
AttributeError: 'ContainerInstanceManagementClient' object has no attribute 'container'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az container logs -g xxxx -n xxxx

Expected Behavior
Logs from the container should be shown.
Environment Summary
Linux-5.13.12-x86_64-with-debian-11.0, Debian GNU/Linux 11 (bullseye)
Python 3.6.10
Installer: DEB

azure-cli 2.28.0

Extensions:
portal 0.1.1
log-analytics 0.2.2
import-export 0.1.1

Additional Context

route to service team

I am also having this problem with the az container exec ... command. I get a similar error message:
The command failed with an unexpected error. Here is the traceback:
'ContainerInstanceManagementClient' object has no attribute 'container'
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 657, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 691, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/container/custom.py", line 609, in container_exec
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/container/_client_factory.py", line 18, in cf_container
AttributeError: 'ContainerInstanceManagementClient' object has no attribute 'container'
To open an issue, please run: 'az feedback'

I have also similar problem when using az container exec I installed az cli with windows installer.

As @NakagawaMakoto mention, after I downgrade to 2.27.2 exec command works nicely. Here is link for installer https://azurecliprod.blob.core.windows.net/msi/azure-cli-2.27.2.msi

+1
Plus MS have upgraded their MS hosted agents in Azure DevOps on 13th to this version so downgrading isn't easy.

+1
Indeed @guywood13 , I had the same issue yesterday. I have created a task to downgrade az cli to the previous version

- task: Bash@3
  displayName: 'Change version of Az CLI'
  inputs:
    targetType: inline
    script: |
      sudo apt-get update
      sudo apt-get install ca-certificates curl apt-transport-https lsb-release gnupg
      curl -sL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/microsoft.gpg > /dev/null
      AZ_REPO=$(lsb_release -cs)
      echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" | sudo tee /etc/apt/sources.list.d/azure-cli.list
      sudo apt-get update
      sudo apt-get install --allow-downgrades azure-cli=2.27.2-1~bionic

Nice @mhomm - thank you

@mhomm I am getting the below error when i tried to downgrade..  I also tried with 2.27.1 and got a similar error. Any idea?
E: Version '2.27.2-1~bionic' for 'azure-cli' was not found

I'm running az with docker for now:
$ cat az
#!/usr/bin/env bash

if [ ! -d ${XDG_DATA_HOME}/docker-az ] ; then
  echo "\${XDG_DATA_HOME}/docker-az does not exist. Aborting"
  exit 1
fi

docker run -u $(id -u):$(id -g) -v ${XDG_DATA_HOME}/docker-az:/home/az -e HOME=/home/az --rm -i mcr.microsoft.com/azure-cli:2.27.2 az "${@}"

Hope this helps someone!

@mhomm I am getting the below error when i tried to downgrade.. I also tried with 2.27.1 and got a similar error. Any idea?
E: Version '2.27.2-1~bionic' for 'azure-cli' was not found

You might need a different version, for me 2.27.2-1~focal worked. See the link below for other versions.
https://pkgs.org/download/azure-cli

Same issue here, with az container exec:
ContainerInstanceManagementClient' object has no attribute 'container

Fails both on my local linux machine and in the Azure cloud CLI.

there is a gigantic blocker if you are using AzureCli Task on Azure DevOps.
There is no way to specify to this task the version to be use, so latest is always used .

I'm getting the same error when doing az container attach

I'm also having this issue with azure-cli 2.28 on MacOS 10.15.7

Probably https://github.com/Azure/azure-cli/issues/19489?

@mhomm I am getting the below error when i tried to downgrade.. I also tried with 2.27.1 and got a similar error. Any idea?
E: Version '2.27.2-1~bionic' for 'azure-cli' was not found

Do this to get the correct package name:
apt-cache show azure-cli | grep 'Version: 2.27.2'

similar issue of az cli version in "az container ***" when using azure devops pipeline

I have the same error as well when I run both az container attach and  az container logs I attached some traceback
'ContainerInstanceManagementClient' object has no attribute 'container'
Traceback (most recent call last):
  File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 657, in execute
    raise ex
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 691, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/container/custom.py", line 740, in attach_to_container
    container_client = cf_container(cmd.cli_ctx)
  File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/container/_client_factory.py", line 18, in cf_container
    return _container_instance_client_factory(cli_ctx).container
AttributeError: 'ContainerInstanceManagementClient' object has no attribute 'container'

Confirming have the same issue with CLI 2.28.0.

if your use-case is delete, here is a decent  workaround that avoids downgrading the CLI
RESOURCE_GROUP=my-rg
ACI_CONTAINER_NAME=containername
SUBSCRIPTION_ID="xxxxxxxxxxxxxxxxxxxxxxxx"
az rest --method delete \
        --uri "/subscriptions/{subscriptionId}/resourceGroups/${RESOURCE_GROUP}/providers/Microsoft.ContainerInstance/containerGroups/${ACI_CONTAINER_NAME}?api-version=2019-12-01" \
        --subscription ${SUBSCRIPTION_ID}

Same here  "azure-cli": "2.28.0" on fedora 33

same here, ubuntu 21.04

Same here, ERROR: 'ContainerInstanceManagementClient' object has no attribute 'container'

same error on "AZ container Attach ..." command
cli.azure.cli.core.azclierror: The command failed with an unexpected error. Here is the traceback: az_command_data_logger: The command failed with an unexpected error. Here is the traceback: cli.azure.cli.core.azclierror: 'ContainerInstanceManagementClient' object has no attribute 'container' Traceback (most recent call last):   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 657, in execute   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 691, in _run_job   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 112, in handler   File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/container/_client_factory.py", line 18, in cf_container

Anyone resolved this issue.
I am also getting it

Along with this fix there should be an option to target a specific version on the azure cli used in azure devops. The only current workaround for me was to run the command locally using an older version of the cli.

same
The command failed with an unexpected error. Here is the traceback:
'ContainerGroupsOperations' object has no attribute 'delete'
Traceback (most recent call last):
  File "/usr/lib64/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 657, in execute
    raise ex
  File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 691, in _run_job
    result = cmd_copy(params)
  File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/core/commands/__init__.py", line 328, in __call__
    return self.handler(*args, **kwargs)
  File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/command_modules/container/custom.py", line 66, in delete_container
    return client.delete(resource_group_name, name)
AttributeError: 'ContainerGroupsOperations' object has no attribute 'delete'

Why is the latest installer linked to this broken version? MS, please downgrade on your website. I was trying the CLI for the first time yesterday and assumed I was doing something wrong. I finally found this thread and downgraded and everything is fine. I lost half a day because while you have known about this bug for a month you still direct people to the broken version. Literally the first thing I wanted to do with my first container was of course "az container exec". This issue is keeping people from adopting your tools.

Looks like version 2.29.0 works.


Added support for FB & Google

This PR enables the authentication via Facebook & Google.
It adds a settings.json, which is empty by default but is shared among us and should be filled when required to use these authentication methods.
If left to default, the app will still work fine, just if you try to login via the social methods it will throw a "bad app id" error

As @11galpid asked, I'm merging this PR to the master.


EntityPersisters should hold their own IdentityMap information.

Shouldn't this be hydrators? Why does the persister need an identity map?
On 2 Sep 2017 20:17, "Luís Cobucci"<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/doctrine/doctrine2/issues/6679, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJakPPdZAD6lIBb_pwkVCpaaXgchi3xks5seZuqgaJpZM4PK-Sg
.


Update scripts to work on Windows env

Not sure how to prioritize this ticket, could you add some more detail on what this is about and why it is needed?

I would close this for now as I haven't heard anything about the requirements of this ticket. @fernandomg please reopen and add more info in case this is required :)


documentation for database query in Vue

I've poured over the handsontable documentation, for both community and pro versions, searching for  examples of how to fetch data from a database in Vue. Unfortunately, there is very little information out there. Can you point out any online examples, if they exist?
The ideal would be Vue + Axios.

Hi @gbih
not sure if you'll find this one helpful https://docs.handsontable.com/pro/5.0.0/tutorial-load-and-save.html but it's an only example for database connection that we have


fix(lambda-edge) Adding Export Type CloudFrontResponse and CloudFrontConfig

CloudFrontResponse:

I simply forgot to export it. My apologies!

CloudFrontConfig:

At first, I thought it wasn't necessary. However, I found a sample online that requires it, so I've included it: https://www.withcoherence.com/post/aws-spa-routing-the-bad-the-ugly-and-the-uglier.

LGTM! Let's go!


Add group by feature to folders

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When there a lot of files and folders in a file, it is useful to have a group by feature which will group files and folders together just like in the window's default file explorer
Describe the solution you'd like
A clear and concise description of what you want to happen.
I want the files and folders in a directory to be grouped by a catogory.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here. Ex: What device type/UI layout and app version?

Thanks for the suggestion. Merging with #1874


With UniversalProximityPermission, minimumPixelLikeSeparation is incorrectly required

Traceback (most recent call last):
  File "/looptrace/bin/cli/run_processing_pipeline.py", line 348, in <module>
    main(sys.argv[1:])
  File "/looptrace/bin/cli/run_processing_pipeline.py", line 343, in main
    pipeline.run(start_point=opts.start_point, stop_after=opts.stop_after)
  File "/opt/conda/lib/python3.10/site-packages/pypiper/pipeline.py", line 319, in run
    stage.run()
  File "/opt/conda/lib/python3.10/site-packages/pypiper/stage.py", line 56, in run
    self(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/pypiper/stage.py", line 64, in __call__
    self.f(*args, **kwargs)
  File "/looptrace/bin/cli/detect_spots.py", line 101, in workflow
    return S.rois_from_spots(outfile=outfile)
  File "/opt/conda/lib/python3.10/site-packages/looptrace/SpotPicker.py", line 528, in rois_from_spots
    params = self.detection_parameters
  File "/opt/conda/lib/python3.10/site-packages/looptrace/SpotPicker.py", line 427, in detection_parameters
    minimum_distance_between=self.image_handler.minimum_spot_separation,
  File "/opt/conda/lib/python3.10/site-packages/looptrace/ImageHandler.py", line 201, in minimum_spot_separation
    return get_minimum_regional_spot_separation(self.config)
  File "/opt/conda/lib/python3.10/site-packages/looptrace/configuration.py", line 24, in get_minimum_regional_spot_separation
    return get_region_grouping_config(conf_data)[MINIMUM_SPOT_SEPARATION_KEY]
KeyError: 'minimumPixelLikeSeparation'

Experienced by @TLSteinacker


Migrations do not re-run if appdata is altered

Currently, we have an internal package called appdata where we set initial data to be added to a database. It was added to simplify support for multiple datastores.
The problem is that once a SQL migration runs, changing the initial data in appdata does not affect a database where migration already ran. Today this caused an issue when we removed the previous licensing public keys from appdata and added a new one. The public key was not added to the correct table.
Because we've now deprecated inmem and are only using a single backend, it makes sense to remove appdata and move all the initial state directly into migrations.
This is not a critical issue, but would be nice to get a fix when someone has some downtime, as it will cause bugs in the future.

This was completed some time ago. The migrations are now in https://github.com/kolide/fleet/tree/master/server/datastore/mysql/migrations/data.


Accessibility / Compatibility

FIX EVERYTHING (not actually everything)
@Media Screen not yet implemented, .recent-photo overlaps the About Me section head when viewed at mobile dimensions.
Research / Restudy responsive elements! -me, talking to myself

Done!
I did not use "@media screen"
flex seems to make it all fit.


Merge of dev into YawBrTVxyzp

This includes the manual merging of OutlistParameters.xlsx.
Between when this branch was created and now, we had merged in the TCF_mods2 branch into the dev branch which included significant changes to the outliists for HydroDyn and SubDyn. This looks like significantly more changes as a result, but in reality will make the PR into OpenFAST/dev very simple.
This would all be much simpler if git knew how to merge .xlsx files...

Sorry about the multiple pull requests to your branch. I thought I had found a better method, but the results are identical.

Sorry about the multiple pull requests to your branch. I thought I had found a better method, but the results are identical.


Bugs in render-json command?

It seems like the render-json command has a couple bugs:

It doesn't output any info about dependency blocks.
The locals map is null even when local vars are set.

I created a small repo to test with here: https://github.com/brikis98/render-json-bug-repro. To reproduce the issue, run terragrunt render-json in the root of that repo.
The output I get looks like this:
{
  "dependencies": null,
  "download_dir": "",
  "generate": {
    "provider": {
      "comment_prefix": "# ",
      "contents": "# This is just a test",
      "disable_signature": false,
      "if_exists": "overwrite",
      "path": "provider.tf"
    }
  },
  "iam_assume_role_duration": null,
  "iam_assume_role_session_name": "",
  "iam_role": "",
  "inputs": {
    "another": "baz",
    "baz": "blah",
    "foo": "bar",
    "from_root": "Hi"
  },
  "locals": null,
  "retry_max_attempts": null,
  "retry_sleep_interval_sec": null,
  "retryable_errors": null,
  "skip": false,
  "terraform": {
    "after_hook": {},
    "before_hook": {},
    "error_hook": {},
    "extra_arguments": {},
    "include_in_copy": null,
    "source": "./foo"
  },
  "terraform_binary": "",
  "terraform_version_constraint": "",
  "terragrunt_version_constraint": ""
}

Even though the module has a dependency block and local variables defined, I don't see either in the output.

Fix released in https://github.com/gruntwork-io/terragrunt/releases/tag/v0.38.5

That release seems to introduce this issue not solve it. I'm getting {"locals": null} on v0.38.5 and wasn't before..

@lachlankrautz do you have a minimum reproducible case we can use to debug the issue you are seeing? The latest version outputs the locals properly in the referenced repo from OP, and also in a few examples I have.

The new behavior is actually the desired behavior here, primarily because the locals should only show up in the context of where they are defined. Those locals are actually not available in the context of the child config because they are defined in the parent (e.g., if you did local.region_vars in the child config, it will fail).
The intention is for render-json to show what is in scope in the current config, as rendered, so it is more correct that it omits those because they are not accessible.
Hope that makes sense! If there is a need to see those locals from the parent, then I think this makes sense to add in the --with-metadata feature referenced in https://github.com/gruntwork-io/terragrunt/issues/2196
In the meantime, the workaround is to run render-json on the included config, which you should be able to identify from the include attribute.


GPU support on Windows?

Hello! Awesome app you have here...a few question.

I got it running fine with pip install docling. To enable GPU (CUDA) support all I need to do is run pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121 on top of that, right? So it will use the cura-enabled torch lib?
For very large (100 MB+) PDFs, is there a way to speed up or increase performance? os.environ["DEOMP_NUM_THREADSBUSSY"] = "8" didn't seem to have any impact.

Your point 1 is definitely the start. It will work with some models but not all of them yet.
We are working on enabling explicit settings (and good defaults) to correctly support accelerator devices (cuda, mps, etc).

We have a follow up issue to allow proper device selection in all models. We will follow up there.

We have a follow up issue to allow proper device selection in all models. We will follow up there.

Which issue is that?


Frontend

Frontend
Make sure, you have done de following before merging this pull request:

[X] Your code is documented using doc comments.
[ ] You added unit tests to all your implemented functions.
[X] You added the class descriptions of the classes you implemented in the latex document on overleaf.
Make sure to mark any changes you made to the design documents specification.

Are you going to fix your ci or going for a blind flight?


fix word typo in readme

Pull Request
Description
Fixes a word type of mirgration to migration
Issues

na
Improvements

na
Features

na

Additional notes

Suggestions

Checklist

[x] I have added/updated relevant documentation
[x] I have tested these changes locally.
[x] I have followed the code style and guidelines.
[x] I have updated CHANGELOG.md with my changes in the next section
[ ] I have run `dart format .`` on the project
[ ] I have run dart fix --apply on the project
[ ] I have run flutter test and flutter analyze and it passed successfully
[ ] I have run ./before-push.sh and everything is fine

Sounds good

Another thing, I think it's best to fix all the grammar in each code file because many code documentation have this improper grammar. It just creates a bad developer experience. Also, make sure to fix any word typos before pushing.

Another thing, I think it's best to fix all the grammar in each code file because many code documentation have this improper grammar. It just creates a bad developer experience. Also, make sure to fix any word typos before pushing.

Sure, we will do what we xan
We mostly focus on the code, not on the grammers this is why we made some mistakes
Programmers are not great at many things, documentation is one of them


[Bug] MAL login shows error

Device information

Tachiyomi version: preview r313
Android version: 10, realme UI 1.0
Device: realme 3 Pro

Steps to reproduce

Go to tracking menu and select MyAnimeList.
Try to log in. Despite correct credentials, some error prevents you from logging in.

Expected behavior
Should log in like normal so that chapters could be tracked.
Actual behavior
Despite correct credentials, some error prevents you from logging in.

Fixed in the latest release


Add timer with notification if no insight received

After 'Server first connected' event, start a timer.
If more than 30 minutes passed, show a notification with the following text:
'We noticed Digma hasn't received any data yet, do you need help with setup? "
Action should be link to "Troubleshoot"

please add an event when the user clicks the troubleshooting link
[Question] What will happen if IDE is not in focus? will the user get the notification once it gets focused?


Specification not serializable with WhereExpressions added

I am trying to build specifications in my Blazor WebAssembly client but cannot serialize them once I add an Where linq clause.   Should I be able to serialize Specifications or do I need to build them on the server?
here is my code:
var builder = new SpecificationBuilder<onca_user>(new saleSpecification<onca_user, string>());
builder.Include<onca_user>("onca_user_phone");
builder.Include<onca_user>("onca_user_email");
builder.Where<onca_user>(p => p.Id == "RUSSKAHLER");
var spec = (saleSpecification<onca_user, string>)builder.Specification;
        var text = JsonSerializer.Serialize(spec);

Serialization and deserialization of 'System.Type' instances are not supported and should be avoided since they can lead to security issues.

Hey @RussKahler1970,
How can I put this? The specifications are not designed to be used in this manner. You're way out of the comfort zone here 🙃
My first impression is that you're trying to use specifications as a replacement for GraphQL, or as a mechanism for OData. If you want my advice, don't 😄
Specifications contain a complex internal state (e.g. expressions), and they're not intended to be serialized. If you want your front-end side to pass the query information, you can make use of the idea of "filter" models. I think we provided few use cases in the sample app in this repository. Also, we talked on this subject during this stream.
Let me know if this makes sense.

We need to support dynamic filters from the client.  We don't want to build simple filters based on a static set of properties.   I don't think GraphQL will work for us as we need to support a multi-tenant environment with each client being in its own database but using the same application.   Do you know of any projects that work in blazor webassembly offering dynamic filtering, ordering etc. that could be used to build a Specification?

I do get your point. Since you're doing wasm, it means you have API endpoints on the other side. And that means you should gravitate toward minimizing the payload over the wire. Serializing complex objects and exchanging heavy information (which in most cases is not even needed) is never fun. We had similar models in the past and one way or another they all ended as a failure.
That said, your problem is not the specifications, or any other backend construct you might have. The real problem you have is the API design. Once you crack that down, the rest would follow naturally. Your requirement actually is designing queryable APIs. You not necessarily should implement it if you don't like it, but you can look and adopt some ideas from GraphQL. Also, OData is all about that, creating and consuming queryable and interoperable RESTful APIs. So, you certainly can steal whatever you like from those concepts.
Dynamic filters are much easier with dynamic languages and their corresponding frameworks (e.g. Express.js). This is somehow an issue in C#, and in any other strongly typed language. Yes, we do have model binding which makes life much easier, but still, we have to explicitly define our models which translates to defining explicit expectations in some form. The question here is what do you even mean by "dynamic filters". We tend to overgeneralize on many occasions. You might step back and think about within the scope of specific scenarios. Try to think and define the different endpoints in isolation. It might turn out that the requirements are not so generic and you can model them in a predefined way.
That's all I can say 😄
@ardalis any smart idea here?

Well that gives me a lot to think about.   I am not sure if I like where my API is going at this point.  You are probably right thinking I should look at some of the queryable type approaches.  Well food for thought that is for sure.   Thanks for your time.

Designing the API may seem a trivial thing, but in order to do it right, it requires careful planning. That's especially true in case of a larger app.
Should I close this issue? You're OK with the answers?

Yes you can close the issue.  Thanks for your help.  Yes, a strong API means everything and takes time to work through.


Add pre_commit to conda envs

Checklist

[ ] Enable and install pre-commit to ensure style-guides and code checks are followed.
[ ] Include documentation when adding new features.
[ ] Include new tests or update existing tests when applicable.

Thank you for the PR, @bonnland!


RabbitMQ offers as a plugin the x-consistent-hash exchange.

Because you sent in both a new feature and a lot of file movements, I've just copied the new feature in a seperate commit, because I didn't feel like reviewing the whole build process. Thanx for contributing.


fix the cli to solve the error report message problem

First-time contributors' checklist

[x] I've signed Contributor License Agreement that's required for repo owners to accept my contribution.

What is changed, added, or deleted? (Required)

fix the cli to close https://github.com/pingcap/docs-dm/issues/769.
Which DM version(s) do your changes apply to? (Required)

[x] master (the latest development version)
[x] v2.0 (TiDB DM 2.0 versions)
[ ] v1.0 (TiDB DM 1.0 versions)

What is the related PR or file link(s)?

This PR is translated from:
Other reference link(s):

Do your changes match any of the following descriptions?

[ ] Delete files
[ ] Change aliases
[ ] Need modification after applied to another branch
[ ] Might cause conflicts after applied to another branch

/remove-status LGT1
/status LGT2

/merge


fix: release assets upload

actions/python-versions#267 introduced a regression in asset upload.
The layout of the artefacts to upload has changed. They're now all flatten in the working directory whereas before that PR, only the hashes.sha256 file was directly in the working directory. The change in layout caused .toString() to be called on python archives which corrupts the data that gets uploaded (as can be seen by comparing sha256 in hashes.sha256 with the ones from other uploaded assets).
This commit ensures that a "flat layout" is used and that toString() is only called for hashes.sha256.

FYI: more debug runs in https://github.com/mayeut/python-versions/actions?query=branch%3Acheck-publish

superseded by #286


Insert line command

Insert line command does not work correctly.
Note to myself: Separate ecInsertLine and ecLineBreak commands.

Fixed.


Progress reporting should happen every X (milli)seconds

Add timed updates, perhaps inspired by #1571.

Per the discussion in discourse it was concluded that this was an optional feature to implement and there are alternatives to implement for applications which desire more frequent updates while having less impact of the many application which don't use progress.
For the default pool multi-threader, the current issue for smooth progress reporting, is the idle behavior for the invoking threaded after the first chunk. IMHO this should have a higher priority to address.


Group and Playlist management

Hi,
Thanks for the great efforts and providing simple and user friendlily web extension for Roon. I have installed it on my Linux PC with Roon Server. I can easily controller my zone via my Linux laptop. It will be better if group and playlist can also be managed, so there will be need to use mobile.

Creating Groups is fairly straightforward.
Collect the desired outputs and send then back to your core via:
group_outputs(outputs, cbopt)
//Create a group of synchronized audio outputs
https://roonlabs.github.io/node-roon-api/RoonApiTransport.html
Managing playlists, however, is another story. They haven't exposes any useful.methods for this yet.
Maybe in the next API update.


mo_unpack test skip

added mo_unpack test skipping

Surely we don't need to skip all of these tests if mo_pack is not installed!

Surely we don't need to skip all of these tests if mo_pack is not installed!

apologies, I misunderstood the failure modes.  This is indeed limited to a small number of tests, reapplied to affect these ones only

@rhattersley is this PR now suitable to merge?
thank you

How we maintain this going forwards, I do not know, but it looks good for now.


Two overlapping x-icons to close a window

Describe the bug
In the Dec-Bin-Hex-Converter and the BooleanLogicTable window, you can see 2 overlapping x-icons in the top-right corner of the window. Once, you hover over it, one of them becomes invisible.
To Reproduce
Steps to reproduce the behavior:

Go to https://circuitverse.org/simulator
Click on Tools in the menu bar on the top
Open either Combinational Analysis or Hex-Bin-Dec-Converter
Hover over the close (x) icon to better see the difference

Expected behavior
I don't think the one that gets invisible over hover was supossed to be there in the first place. It may have stayed there when the icons were changed.
Screenshots

On hover:

Device Information [optional]:

OS: Windows 10 Home v. 2004 build 19041.572
Browser: Firefox Developer Edition 83.0b3 (64-bit)

Are you working on this issue? (Yes/No)
I want to work on this issue.

I wanted to work on this issue, but I don't know Ruby on Rails.

@Logicless-Coder
It is an simple bug in CSS file. This is happening due to jQuery UI CSS. We can add embedded style (backgound-image:none) for all of the element which have this type of bug.
It will fix the issue.
@satu0king Sir, Give them if he would like to work or able to fix this issue. I am here also if any further help will be needed.

Check if the issue is present in https://beta.circuitverse.org/simulator. If not, please close this issue.

It is not present in new UI.


Error -  Unable to resolve service for type System.Net.Http.HttpClient

I am creating a typed HTTPClient in .net Core 2.1 as below
public class ScoreAPIClient : IScoreAPIClient
{
    HttpClient _client ;
    public ScoreAPIClient (HttpClient httpClient)
    {
          this._client = httpClient ?? throw new ArgumentNullException(nameof(httpClient));
    }

    public Score GetScore()
    {
       //impl
    }
}

public interface IScoreAPIClient
{
       Score GetScore();
}

//In my controller I inject IScoreAPIClient as below

[Route("api/[controller]")]
[ApiController]
public class ScoreAPIGatewayController : ControllerBase
{
    IScoreAPIClient _client;

    public ScoreAPIGatewayController (IScoreAPIClient scoreClient}
    {
        _client = scoreClient;
    }
}
//In startup i register the typed HttpClient as below

public void ConfigureServices(IServiceCollection services)
{
     services.AddHttpClient<ScoreAPIClient>();
     services.AddTransient<IScoreAPIClient , ScoreAPIClient >();
}

Wheh i run the above code i expect the DI to inject ScoreAPIClient into the controllers constructor and the HttpClient into the ScoreAPIClient constructor. However i get an error as below...
System.InvalidOperationException: Unable to resolve service for type System.Net.Http.HttpClient while attempting to activate ScoreAPIClient   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateArgumentCallSites(Type serviceType, Type implementationType, CallSiteChain callSiteChain, ParameterInfo[] parameters, Boolean throwIfCallSiteNotFound)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateConstructorCallSite(Type serviceType, Type implementationType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(ServiceDescriptor descriptor, Type serviceType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.TryCreateExact(Type serviceType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteFactory.CreateCallSite(Type serviceType, CallSiteChain callSiteChain)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.CreateServiceAccessor(Type serviceType)
   at System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetService(IServiceProvider sp, Type type, Type requiredBy, Boolean isDefaultParameterRequired)
   at lambda_method(Closure , IServiceProvider , Object[] )
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerActivatorProvider.<>c__DisplayClass4_0.<CreateActivator>b__0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()
   at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context
I am unable to figure out what am I doing wrong. Why is DI failing to create HttpClient ?

I resolved this by passing in ScoreAPIClient  into the constructor rather than IScoreAPIClient .

@PradeepLoganathan - You should also be able to register the service as follows...
public void ConfigureServices(IServiceCollection services)
{
     services.AddHttpClient<IScoreAPIClient, ScoreAPIClient>();
}

@stevejgordon Thanks for responding.  Unfortunately, that fails with a DI error. Not sure if I am doing anything wrong.  The error is as below -
System.InvalidOperationException: Unable to resolve service for type ;ScoreCard.ScoreCardGateway.Clients.ScoreCardAPIClient while attempting to activate  ;ScoreCard.CandidateGateway.Controllers.ScoreCardAPIGatewayController   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetService(IServiceProvider sp, Type type, Type requiredBy, Boolean isDefaultParameterRequired)   at lambda_method(Closure , IServiceProvider , Object[] )at Microsoft.AspNetCore.Mvc.Controllers.ControllerActivatorProvider.__DisplayClass4_0.<CreateActivator;b__0(ControllerContext controllerContext)   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>;c__DisplayClass5_0.g__CreateController|0(ControllerContext controllerContext)  at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State; next, Scope; scope, Objectstate, Boolean isCompleted)  at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State next, Scope scope, Object state, Boolean isCompleted)   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()  at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)   at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(HttpContext context)  at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
The code in ConfigureServices changed based on your suggestion to below --
public void ConfigureServices(IServiceCollection services)
{
     services.AddHttpClient<IScoreAPIClient, ScoreAPIClient>();
}

Nope my bad. I changed the controller to below and it worked. I had not reverted controller code from earlier. Thanks @stevejgordon . I have been following your post to get this done. :-)
public ScoreCardAPIGatewayController(IScoreAPIClient scoreClient)
{
       this._scoreClient= scoreClient;
}

Try this in Startup.cs
services.AddHttpClient<IScoreAPIClient , ScoreAPIClient >();


Cache implementation for inbound authentication

Description:
This is a subtask of https://github.com/ballerina-platform/ballerina-lang/issues/17652
Currently, JWT inbound authentication has a cache implementation.
All the other inbound authentication schemes (Basic auth, OAuth2, LDAP) should have their own implementation and those should be configured with user inputs.

Closing this issue since it is divided into few subtasks as referred above.


Preview feature

[https://tutumenezes.com/api/preview?secret=[SECRET]

Preview Mode Handling Links
https://tutumenezes.com/api/preview?secret=[SECRET]
[https://tutumenezes.com/api/clear-preview
https://blog.mude.fit/api/clear-preview


[UNDERTOW-2526] Rename DeploymentInfo methods dealing with async context timeout containing typo

https://issues.redhat.com/browse/UNDERTOW-2526
Note it is safe to rename these methods because original PR that introduced them wasn't back ported yet.

I wonder how should those be handled in lower branches. Might look ugly with two similar methods, but breaking binary compat is a bad thing.

This change wasn't backported yet to any branch @baranowb so we're lucky.


HeadGAN question

Hi Michail,
This is not an issue with your repo so please close this report.
Will you and your team release a pytorch implementation of your paper HeadGAN?
Fantastic work btw, absolutely jaw dropping results!

Free-HeadGAN too!


Ensure baremetal cap is not enabled without MachineAPI cap

Opening for discussion as to whether this is the right thing to do
We understand that the baremetal capability relies on the MachineAPI capability.
The API for capabilities means that, for any cluster that has defined None as the baseline capability set, on upgrade, any capability that is new to the cluster version (eg MachineAPI added in 4,14), it will be added to the status enabledCapabilities on upgrade.
So, if we add this validation, on upgrade, all existing clusters should pass the validation if they either have the baseline capability already added, or, want to add it at a later date.
For new clusters in 4.14, if the user wants the baseline set None, they are required to enable MachineAPI at cluster creation, so the validation should also pass for the create test cases.
One hitch that could come up, is the fact that, while CVO is doing the upgrade, is it possible that the CVO would update the ClusterVersion CRD, before it updates the list of enabledCapabilities? If it does, there's a period where the validation could fail for updates, until the CVO updates the status to include the new capabilities. I think we should E2E test this case.

/hold We need to discuss if this is the right approach and get an E2E upgrade completed for baremetal + none capability set

/hold cancel
This has been through QE and is working aside from when installing with older capsets, https://github.com/openshift/api/pull/1554 aims to fix that

/test integration
Seemed it timed out, might need to take a look at the timeouts

/test integration


Upgrade to .net 6.0

I guess we are not gonna multi-target both.
I guess we better migrate PPC soon ;).


XGMII interface needs to send control codes

Control codes cannot be sent out due to the _run requiring preamble to payload.  When a local fault occurs on the receive side, we must advise link partner and restart sync with a control code.
Add a way to transmit control codes.

What control codes do you want to send?  Ordered sets?
As far as I can tell, the local fault/remote fault ordered sets are only for indication, they have no effect over the actual link.  CDR and block lock is completely independent of the data being sent over the link.

When in local fault, the XGMII will output 0x0100009c with control mask 0x11.  The system must send 0x0200009c with control mask 0x11 (yes, it is 0x11; 01 and 02 are complementary data) to let the link partner that it is not ready yet and that resync is required.  Once local fault has been cleared, we can send the idle.

So you want to have the local fault/remote fault indication.  What's the purpose?  It has no effect on the operation of the actual link.

Ah sorry, I just realized this is the cocotbext-eth repo, not the actual HDL one.  I need to figure out the proper way of handing ordered sets, as they're not data and it doesn't really make sense to handle them as such, at least in terms of local fault and remote fault.


Remove the DropdownToolbar

Describe the desired behavior
Remove the DropdownToolbar component.
Describe the current behavior
At this point, the DropdownToolbar component will have been deprecated in version 5.4.0 so it's safe to remove.
Is this request related to a current issue?
#351
Additional Context

PR for this issue is merged. Closing this issue


Kubernetes READY column is empty

What happened?
READY column is empty instead of showing the status of the cluster
How can we reproduce it?
Create a DOK cluster.
kubectl get dokubernetesclusters

Output:
NAME         READY   SYNCED
a-team-dok           True

Hello! Thank you for this report. We should address this before the next release, and would be nice to use this as an opportunity to make some unit tests to make sure this works.


fix: update the default VSI image name to ibm-ubuntu-22-04-3-minimal-amd64-2

Update VSI image name variable defaults to ibm-ubuntu-22-04-3-minimal-amd64-2

/run pipeline

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

GitHub release
v5.3.1

Your semantic-release bot :package::rocket:


Test cases

Use test cases and table testing to fully test cover Exported functions. Stop writing huge tests that can be written in less line thanks to table testing.

Hey. I can take this one if you're OK I'm pretty new to Go (but I have experience in C#, Python, Ruby, JS).

Thanks!

Hi @AndreaM16. I'm sorry to admit the I won't have time to accomplish this on time or ever - too much load at my job and beyond. Please consider this issue free for any other dev to work on. If I can help you project via any kind of donation, please tell. Thanks for the understanding.

@vittorius I understand. Thanks for letting me know. Best of luck.


Reload only partial or canceled.

Emergency and Trauma Packs cause  reloading to cancel, even though the animation finishes. Use them before during or after reloading and you will only get a partial reload. Other people have this bug too and report med packs don't cause this bug.

Details
Latest version of the game.
Game Version
<IP_ADDRESS>
Language
English (EN)
New Game
Yes
Reproduction Steps
Shoot at the enemy and reload while using emergency or trauma packs.

This one may have been fixed officially, I have not been able to replicate it.


Use of hardcoded <IP_ADDRESS>/16 range

I don't see a reason why there is a need to hardcode the <IP_ADDRESS>/16 range and also consider that a bad practice. I think the IP range for the VMs/containers should be configurable.
Found at least one place in the code where this range occur:
https://github.com/nlf/dlite/blob/94751cc5c6807fdce70de33864d38799d9d74615/lib_route.go#L11

you're right, we'll make it configurable before the 2.0.0 final release


Add google service auth and identity plugin.

added google play service auth and identiy service on plugin.xml

Thanks!


07/11/2018 22:38 : Create Pull Request for branch prTesting_2018071122 -> master

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


CVE-2007-4559 Patch

Patching CVE-2007-4559
Hi, we are security researchers from the Advanced Research Center at Trellix. We have began a campaign to patch a widespread bug named CVE-2007-4559. CVE-2007-4559 is a 15 year old bug in the Python tarfile package. By using extract() or extractall() on a tarfile object without sanitizing input, a maliciously crafted .tar file could perform a directory path traversal attack. We found at least one unsantized extractall() in your codebase and are providing a patch for you via pull request. The patch essentially checks to see if all tarfile members will be extracted safely and throws an exception otherwise. We encourage you to use this patch or your own solution to secure against CVE-2007-4559. Further technical information about the vulnerability can be found in this blog.
If you have further questions you may contact us through this projects lead researcher Kasimir Schulz.

Thank you for the report. I believe it's less serious since the default download URL is definitely trusted. Nevertheless, the user of the library can override the url, so this should really be fixed.
I did read the report and it's cool you used an automatic fixer. For this particular code segment, it's not quite correct because the tarfile is created directly from a stream being downloaded (you can't do getmembers() followed by extractall() because the underlying stream cannot rewind/seek). I'll come up with a new fix soon.

Fixed in 0.1.6 with commit https://github.com/wbkang/ddb_local/commit/68df6f03052c436c9802045ce03f5c2c482c6c12


Memory growing issue

just install sample project. Run on an emulator. Open Memory Monitor. Scroll up and down with several times. Memory is growing. Sometimes GC start, but cannot release more memory. Always call GC.
Any idea on this issue?

To be clear, are you saying that the GC is being called but no memory is being released?


[perf] Set all:false in stats.toJson call

Summary
I noticed while upgrading a codebase from webpack v4 -> v5 that there seemed to be a significant increase in incremental build times.
From a local profile, the time seemed to be spent on a stats.toJson call originating from the loadable webpack plugin

Updating the toJson call so that it specifies all: false improves the time spent on this call from 40seconds -> 55ms (for the specific codebase i tested on)

I checked this change against webpack 4 on our codebase and it also reduced the time spent from ~9s -> 500ms

Test plan
I tested this change locally against both a webpack 4 build and webpack 5 build and loadable worked as expected in both cases.

Looking good to me, but I'm not a maintainer - would love to see this merged to close #709 :)

@theKashey hey just wanted to check in and see if there was anything else I can/should do to help get this merged.  Thanks!

Just waiting for the Easter break to go through all changes


Make Vec cloneType keep directions of elements

Fixes #893
The added tests test way more than just this fix, I just decided to test several (working) similar things with them

Related issue:

Type of change: bug fix

Impact: no functional change

Development Phase: implementation
Release Notes
Fix bug where Chisel might lose the direction of elements of Vecs

@ducky64, I did a quick scan through and cloneTypeFull appears to be used throughout the code base for obvious reasons. One issue with cloneType preserving binding data is that it used to have to be implemented in custom Bundles and still has to be implemented in custom Records. Since binding is an internal API, that would be a bit weird. Perhaps worth revisiting though

Right, I think rocket-chip still relied on the binding-clearing behavior of cloneType, which was why we couldn't make everything fully consistent. But it's basically an internal-only API (from a chisel3 point of view) anyways.


[MetadataImageOptimizer] Playnite crash during library update

Happens during library update

The process cannot access the file '...\optimize-queue' because it is being used by another process

MetadataImageOptimizer_crash_logs.zip

Thanks for reporting the issue.
I've pushed v1.5 that should prevent this from happening again.


Support Javascript

https://github.com/sebastienros/esprima-dotnet

https://github.com/ToCSharp/TypeScriptAST


Leave Page warning appears on journal pages if one leaves a page after saving as a draft

https://forum.inaturalist.org/t/leave-page-warning-on-journal-draft/45829

Start a journal post, or edit an existing journal post draft.
Save as draft
Navigate away from the draft page without changing anything to the text
See the "leave page" warning

That warning shouldn't appear if nothing has been changed since the journal post was saved as a draft.

Looking good on staging.


Failing clould build due to un-optimazed geojson

The following is build output from the build trigger;
``starting build "ea0cc91b-1c64-45c9-9178-0ea5a4aed9ca"
FETCHSOURCE
Fetching storage object: gs://866800468643.cloudbuild-source.googleusercontent.com/a18104c1b97c21ff55c668c2b8255e0dcdcbbd7e-baf06cc3-189d-4a4b-a942-aed65a524dba.tar.gz#1585350795512482
Copying gs://866800468643.cloudbuild-source.googleusercontent.com/a18104c1b97c21ff55c668c2b8255e0dcdcbbd7e-baf06cc3-189d-4a4b-a942-aed65a524dba.tar.gz#1585350795512482...
/ [0 files][    0.0 B/719.5 KiB]
/ [1 files][719.5 KiB/719.5 KiB]
Operation completed over 1 objects/719.5 KiB.
BUILD
Starting Step #0
Step #0: Already have image (with digest): gcr.io/cloud-builders/npm
Step #0:
Step #0: ><EMAIL_ADDRESS>install /workspace/node_modules/yorkie
Step #0: > node bin/install.js
Step #0:
Step #0: setting up Git hooks
Step #0: can't find .git directory, skipping Git hooks installation
Step #0:
Step #0: ><EMAIL_ADDRESS>postinstall /workspace/node_modules/core-js
Step #0: > node -e "try{require('./postinstall')}catch(e){}"
Step #0:
Step #0: Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
Step #0:
Step #0: The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
Step #0: > https://opencollective.com/core-js
Step #0: > https://www.patreon.com/zloirock
Step #0:
Step #0: Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
Step #0:
Step #0:
Step #0: ><EMAIL_ADDRESS>postinstall /workspace/node_modules/ejs
Step #0: > node ./postinstall.js
Step #0:
Step #0: Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)
Step #0:
Step #0: npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
Step #0: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
Step #0:
Step #0: added 1247 packages from 879 contributors and audited 27222 packages in 26.955s
Step #0: found 32 low severity vulnerabilities
Step #0:   run `npm audit fix` to fix them, or `npm audit` for details
Finished Step #0
Starting Step #1
Step #1: Already have image (with digest): gcr.io/cloud-builders/npm
Step #1:
Step #1: ><EMAIL_ADDRESS>build /workspace
Step #1: > vue-cli-service build
Step #1:
Step #1:
Step #1: -  Building for production...
Step #1: [BABEL] Note: The code generator has deoptimised the styling of /workspace/src/Data/botswana.geojson.js as it exceeds the max of 500KB.
Step #1: [BABEL] Note: The code generator has deoptimised the styling of /workspace/src/Data/botswana.districts.js as it exceeds the max of 500KB.
Step #1:  WARNING  Compiled with 3 warnings23:23:16
Step #1:
Step #1:  warning
Step #1:
Step #1: asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
Step #1: This can impact web performance.
Step #1: Assets:
Step #1:   js/app.2ab84e53.js (1.83 MiB)
Step #1:   css/chunk-vendors.66a9db12.css (287 KiB)
Step #1:   js/chunk-vendors.5f1f8032.js (509 KiB)
Step #1:
Step #1:  warning
Step #1:
Step #1: entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Step #1: Entrypoints:
Step #1:   app (2.6 MiB)
Step #1:       css/chunk-vendors.66a9db12.css
Step #1:       js/chunk-vendors.5f1f8032.js
Step #1:       css/app.f8dbb18d.css
Step #1:       js/app.2ab84e53.js
Step #1:
Step #1:
Step #1:  warning
Step #1:
Step #1: webpack performance recommendations:
Step #1: You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
Step #1: For more info visit https://webpack.js.org/guides/code-splitting/
Step #1:
Step #1:   File                                   Size              Gzipped
Step #1:
Step #1:   dist/js/app.2ab84e53.js                1871.62 KiB       578.07 KiB
Step #1:   dist/js/chunk-vendors.5f1f8032.js      508.69 KiB        134.39 KiB
Step #1:   dist/css/chunk-vendors.66a9db12.css    287.08 KiB        35.75 KiB
Step #1:   dist/css/app.f8dbb18d.css              0.10 KiB          0.10 KiB
Step #1:
Step #1:   Images and other types of assets omitted.
Step #1:
Step #1:  DONE  Build complete. The dist directory is ready to be deployed.
Step #1:  INFO  Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html
Step #1:
Finished Step #1
PUSH
DONE``

The error was caused by saving JSON data in a js file results in performance issues in the way JS files are processed in vue...


fix submodule url

ref. https://github.com/humanoid-path-planner/hpp-core/issues/256.
If someone prefer using another url scheme, git can globally be configured with eg.:
git config --global url."git@github.com:".insteadOf https://github.com/

Hi ! This project doesn't usually accept pull requests on master. If this wasn't intentionnal, you
can change the base branch of this pull request to devel (No need to close it for that). Best, a bot.


fix: Telemetry for Orchestrator R13

Description
Add OrchestratorDownloadStarted. OrchestratorDownloadCompleted, OrchestratorBuildStarted, and OrchestratorBuildCompleted as specified in 6340 for R13.
Task Item
fixes #6340

Had to move telemetry out of the worker to pass UT.  Probably safer overall too.


[SPARK-24536] Validate that limit clause cannot have a nullable expression

What changes were proposed in this pull request?
It proposes a version in which nullable expressions are not valid in the limit clause
How was this patch tested?
It was tested with unit and e2e tests.
Please review http://spark.apache.org/contributing.html before opening a pull request.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Ok to test

New to SQL, but it seems like the query
SELECT 1 LIMIT CAST('1' AS INT)
should work, right? I tried both on Spark without to your change and the W3Schools SQL tester and it's accepted in both, but I tried on your PR and it hits the new AnalysisException.
If this is indeed an issue, it can be avoided by having the case be e.eval() == null instead of e.nullable, although there's some duplicated work since the previous case also calls e.eval()

@NiharS yeah that makes sense. @mauropalsgraaf we missed this today (sorry about that). Can you add the null check (bonus points if you call eval() only once), add a test for this case?

Hey @mauropalsgraaf just wanted to check in on this. Have you run into any additional issues or have any questions for this fix?

Sorry for my absence, will look into it now

I've added a test case and now it works properly for the given example in the description. Regarding the comment: "make sure eval is only called once", is this what you ment?

Test build #93773 has finished for PR 21807 at commit c0eb690.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93773/
Test FAILed.

Merged build finished. Test FAILed.

@hvanhovell Do you know what this unknown error code, -9 means?

that means Jenkins build was halted unexpectedly. usually unrelated with some changes in a pr.

retest this please

Test build #93787 has started for PR 21807 at commit c0eb690.

Test build #93787 has finished for PR 21807 at commit c0eb690.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93787/
Test PASSed.

Merged build finished. Test PASSed.

Test build #93805 has started for PR 21807 at commit 60b9af3.

Test build #93805 has finished for PR 21807 at commit 60b9af3.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93805/
Test FAILed.

retest this please

Test build #93817 has started for PR 21807 at commit 60b9af3.

Test build #93817 has finished for PR 21807 at commit 60b9af3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93817/
Test PASSed.

@mauropalsgraaf Could you fix the PR title?

@mauropalsgraaf Do you have a JIRA ID? I can assign the ticket to you.


Implement priv_getLogs

Implement method and basic query system (no bloom filters)

Here is the plan:

[ ] Deprecate Private Transactions hash/getHash()
[ ] Store private transaction receipts using the PMT hash as key in the storage (and tweak prig_getTransactionReceipt to use it)
[ ] Implement priv_getLogs method


[DOC] Documentation for builtin gridSearch function

I have added the screenshots of the result in the shared google doc.

Hi @escher-m - thank you for working on this.

We can paste the results here itself. Copy paste the output though.
Get familiar with markdown syntax in GitHub comments. (Hint: Google this line!)

:smile_cat:

The Console output is very long. The following is a snippet of the main errors that came up
Caused by: org.apache.sysds.runtime.DMLRuntimeException: Function .defaultNS::lmPredict is not a builtin function.
Caused by: org.apache.sysds.runtime.DMLRuntimeException: ERROR: Runtime error in program block generated from statement block between lines 2 and 6 -- Error evaluating instruction: CP°extfunct°.defaultNS°m_gridSearch°7°2°X=_mVar67·MATRIX·FP64°y=_mVar69·MATRIX·FP64°train=lm·SCALAR·STRING·true°predict=lmPredict·SCALAR·STRING·true°params=_Var70·LIST·UNKNOWN·false°paramValues=_Var77·LIST·UNKNOWN·false°verbose=true·SCALAR·BOOLEAN·true°B°opt

Caused by: org.apache.sysds.runtime.DMLRuntimeException: error executing function .defaultNS::m_gridSearch
Caused by: org.apache.sysds.runtime.DMLRuntimeException: ERROR: Runtime error in function program block generated from function statement block between lines 22 and 74 -- Error evaluating function program block
Caused by: org.apache.sysds.runtime.DMLRuntimeException: PARFOR: Failed to execute loop in parallel.
Caused by: org.apache.sysds.runtime.DMLRuntimeException: PARFOR: Number of executed tasks does not match the number of created tasks: tasks 0/11, iters 0/75.

In addition to the function code, I took reference from test

Hi @escher-m, search for the commit related to gridsearch in this repository, in that commit you would find some test files in .dml

Meanwhile:
Figure out how to work with git from commandline. (Google this line!)

Hi @escher-m, search for the commit related to gridsearch in this repository, in that commit you would find some test files in .dml

Yes, I did that. I added the link to it in my last comment above.


clang: error: unknown argument: '-ftime-trace'

Scanning dependencies of target examples
[  0%] Building CXX object examples/CMakeFiles/examples.dir/main.cpp.o
clang: error: unknown argument: '-ftime-trace'
examples/CMakeFiles/examples.dir/build.make:81: recipe for target 'examples/CMakeFiles/examples.dir/main.cpp.o' failed
make[2]: *** [examples/CMakeFiles/examples.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:5071: recipe for target 'examples/CMakeFiles/examples.dir/all' failed
make[1]: *** [examples/CMakeFiles/examples.dir/all] Error 2
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2

dengolius@ryzen:/tmp/bsl/build$ uname -a
Linux ryzen 5.4.0-65-generic #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
dengolius@ryzen:/tmp/bsl/build$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"
NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.5 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

I tried to download fresh cmake and build from it
/tmp/cmake-3.19.4-Linux-x86_64/bin/cmake -DCMAKE_CXX_COMPILER="clang++"  -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON ..

You need clang 10+. On Ubuntu 18.04, that means you will need to update LLVM.

You need clang 10+. On Ubuntu 18.04, that means you will need to update LLVM.

Let me know if you still have problems and I can reopen this

I'v installed clang 11 from https://apt.llvm.org/ on ubuntu 20.04 and here is updates with another error...
dengolius@ryzen:~/projects/hypervisor/bsl$ export CXX=/usr/bin/clang++
dengolius@ryzen:~/projects/hypervisor/bsl$ /usr/bin/clang++
bash: /usr/bin/clang++: No such file or directory
dengolius@ryzen:~/projects/hypervisor/bsl$ /usr/bin/clang++-11
clang: error: no input files
dengolius@ryzen:~/projects/hypervisor/bsl$ sudo ln -s /usr/bin/clang++-11 /usr/bin/clang++
dengolius@ryzen:~/projects/hypervisor/bsl$ cmake -DCMAKE_CXX_COMPILER="clang++" ..
-- The CXX compiler identification is Clang 11.1.0
-- Check for working CXX compiler: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/dengolius/projects/hypervisor/bsl
dengolius@ryzen:~/projects/hypervisor/bsl$ make
Scanning dependencies of target mk_cross_compile
[  5%] Creating directories for 'mk_cross_compile'
[ 10%] No download step for 'mk_cross_compile'
[ 15%] No patch step for 'mk_cross_compile'
[ 20%] Performing update step for 'mk_cross_compile'
-- Checking for changes
[ 25%] Performing configure step for 'mk_cross_compile'
-- The CXX compiler identification is Clang 11.1.0
-- The ASM compiler identification is Clang
-- Found assembler: /usr/bin/clang++
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Configuring done
-- Generating done
-- Build files have been written to: /home/dengolius/projects/hypervisor/bsl/mk_cross_compile/build
[ 30%] Performing mk_cross_compile_cleanup step for 'mk_cross_compile'
[ 35%] Performing build step for 'mk_cross_compile'
Scanning dependencies of target kernel
[  4%] Building ASM object kernel/CMakeFiles/kernel.dir/src/x64/__stack_chk_fail.S.obj
[  8%] Building ASM object kernel/CMakeFiles/kernel.dir/src/x64/call_ext.S.obj
[ 12%] Building ASM object kernel/CMakeFiles/kernel.dir/src/x64/dispatch_esr_entry.S.obj
[ 16%] Building ASM object kernel/CMakeFiles/kernel.dir/src/x64/dispatch_syscall_entry.S.obj
[ 20%] Building ASM object kernel/CMakeFiles/kernel.dir/src/x64/fast_fail_entry.S.obj
[ 25%] Building ASM object kernel/CMakeFiles/kernel.dir/src/x64/get_current_tls.S.obj
[ 29%] Building ASM object kernel/CMakeFiles/kernel.dir/src/x64/mk_main_entry.S.obj
[ 33%] Building ASM object kernel/CMakeFiles/kernel.dir/src/x64/return_to_current_fast_fail.S.obj
[ 37%] Building ASM object kernel/CMakeFiles/kernel.dir/src/x64/return_to_mk.S.obj
[ 41%] Building ASM object kernel/CMakeFiles/kernel.dir/src/x64/return_to_vmexit_loop.S.obj
[ 45%] Building ASM object kernel/CMakeFiles/kernel.dir/src/x64/serial_write.S.obj
[ 50%] Building ASM object kernel/CMakeFiles/kernel.dir/src/x64/set_esr.S.obj
[ 54%] Building ASM object kernel/CMakeFiles/kernel.dir/src/x64/smap_guard_t.S.obj
[ 58%] Building ASM object kernel/CMakeFiles/kernel.dir/src/x64/vmexit_loop_entry.S.obj
[ 62%] Building CXX object kernel/CMakeFiles/kernel.dir/src/dispatch_esr_trampoline.cpp.obj
[ 66%] Building CXX object kernel/CMakeFiles/kernel.dir/src/dispatch_syscall_trampoline.cpp.obj
[ 70%] Building CXX object kernel/CMakeFiles/kernel.dir/src/fast_fail_trampoline.cpp.obj
[ 75%] Building CXX object kernel/CMakeFiles/kernel.dir/src/mk_main_trampoline.cpp.obj
[ 79%] Building CXX object kernel/CMakeFiles/kernel.dir/src/msg_halt.cpp.obj
[ 83%] Building CXX object kernel/CMakeFiles/kernel.dir/src/msg_stack_chk_fail.cpp.obj
[ 87%] Building CXX object kernel/CMakeFiles/kernel.dir/src/vmexit_loop_trampoline.cpp.obj
[ 91%] Building ASM object kernel/CMakeFiles/kernel.dir/src/x64/amd/intrinsic_t.S.obj
[ 95%] Building ASM object kernel/CMakeFiles/kernel.dir/src/x64/amd/promote.S.obj
[100%] Linking CXX executable kernel
Error running link command: No such file or directory
make[5]: *** [kernel/CMakeFiles/kernel.dir/build.make:286: kernel/kernel] Error 2
make[4]: *** [CMakeFiles/Makefile2:157: kernel/CMakeFiles/kernel.dir/all] Error 2
make[3]: *** [Makefile:130: all] Error 2
make[2]: *** [CMakeFiles/mk_cross_compile.dir/build.make:112: mk_cross_compile/stamp/mk_cross_compile-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:154: CMakeFiles/mk_cross_compile.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

@denisgolius You need to install LLD as well. sudo apt-get install lld. Note that on Ubuntu 20.04, Clang 10 works fine so you don't need to update to Clang 11. Just install Ubuntu 20.04, and run:
sudo apt-get install -y clang lld cmake

From there, you can set up the project using:
git clone https://github.com/bareflank/hypervisor
mkdir bsl/build && cd bsl/build
cmake -DCMAKE_CXX_COMPILER="clang++" ..
make

Finally, you can test using:
make driver_quick
make start
make dump
make stop

For a complete set up build instructions, you can look here, which is what we test to ensure everything builds properly using GitHub Actions:
https://github.com/Bareflank/hypervisor/blob/master/.github/workflows/ccpp.yml


update decRoutine() to check only bytes of file header

It is sufficient to decrypt only the file header (max 262 bytes supported by github.com/h2non/filetype) in decRoutine() to match the file type. If it matches we decrypt the whole file. This speeds up the process.

Hi, thanks for you PR.
It looked nice, but there might be problem if someone uses custom searching pattern. The pattern may not appear in header. Anyway, I will add an option for user to decide whether to use it. Good job!


R 4.X Compatibility

After updating to R 4.X, I cannot install arcgisbinding. Are there plans to make a new release of arcgisbinding for R 4.X? If not, is there a workaround?

@Hydr0Ge0Dude we recently updated arcgisbinding, the version for 4.0 support is v300.
Would you please try the snippet below:
install.packages("arcgisbinding", repos="https://r.esri.com", type="win.binary")

@Hydr0Ge0Dude The released v300 build has support for R 4.x, if you find issues with it let us know.


TryRefreshAsync does not handle the case when initial configuration load has failed

@jimmyca15 @zhenlan I'm thinking about updating the code to allow loading of initial configuration even when there are no refresh registrations. This will be helpful for scenarios where users don't intend to refresh any value, but still use the RefreshAsync method to try to recover from initial load failures. It basically allows them to catch failures during initial load, and then use refresh to trigger a retry. I can use the default 30 second refresh cache expiration here. Thoughts?


Change using posix-threads to utils-threads

PR changes:
Change posix threads to utils-threads in:

conditional_variable_test.cc
rwlock_test.cc
singleton_test.cc
message_queue_test.cc

Tests builds on LINUX & WINDOWS & QT platform

Related: APPLINK-24859

Please review: @anosach-luxoft , @dev-gh

@OHerasym
Reviewed