Lower volume with eqMac

I'm usually having a 3-4 bars of volume set when using my headphones.
With eqMac enabled (without tweaking EQ anyhow), I'd have to set the volume to around 6 bars to compensate for the difference in volume.
Is this some kind of driver constraint? Or is it possible to workaround?

Check in your Audio MIDI Setup utility app that both the master channel volumes are set to max:

Hey everyone 👋
I will be open sourcing the new version of eqMac, therefore, I am closing this issue and repository as I will be transfering nodeful/eqMac2 repo to bitgapp/eqMac
Please bear with me for the next couple of days as I setup that new repo. The eqMac2 code will be living in the old-eqMac2 branch if anyone is interested in referencing it for whatever reason.
Please try out the new version and report bugs to the new repo.
Thanks for using eqMac.


firefox NS_ERROR_FAILURE

Consider change below. This is because if protocol is registered but app is not there then firefox throws another error e.name==NS_ERROR_FAILURE
if (e.name == "NS_ERROR_UNKNOWN_PROTOCOL") {
            failCb();
}

to
if (e ) {
            failCb();
}

It would be better to only trigger the failure callback for exceptions related to protocols.  The successCb function may also throw an exception, so you wouldn't want to call failCb in that case.
} catch (e) {
// Catch errors for either unknown protocols or registered protocols where the associated application isn't installed
if (e.name == "NS_ERROR_UNKNOWN_PROTOCOL" || e.name == "NS_ERROR_FAILURE") {
failCb();
}
}

@edwardstumpf
Yes may be but NS_ERROR_FAILURE indicates protocol might be reigstered but app could not be launched for some reason ( may be exe was moved or does not exist at that path)
See another implementation here.
https://gist.github.com/aaronk6/d801d750f14ac31845e8
They put it in unknown callback for this reason

I agree that the failure callback should be triggered if the exception throw is NS_ERROR_FAILURE.  As you said, this indicates that the application associated with the protocol isn't at the expected location.  This could mean that there's an issue with the custom protocol (the wrong path for the application was used) or the application doesn't exist at that location (uninstalled, etc.)
I don't agree that all exception name checking should be removed.  The success callback could also throw an exception; this exception would have nothing to do with protocol checking, so the library shouldn't catch that exception.


Get epoch

Motivation
As requested by Consensus. Providing interface to lookup epoch number for any version, based on a newly introduced index table.
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
unit test
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

:umbrella: The latest upstream changes (presumably 9d510ae3717935dbd3f89cf6f880a7dca9ca80c4) made this pull request unmergeable. Please resolve the merge conflicts.

@bors-libra r+

:pushpin: Commit b238194 has been approved by msmouse

:hourglass: Testing commit b238194f4b83d486aa6c8b523a482566de70b322 with merge b1cbb9a5b8b7abdf8a8db751b52a3b31e24008a8...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: msmouse
Pushing b1cbb9a5b8b7abdf8a8db751b52a3b31e24008a8 to master...


Design API for managing graphs

Design the API to draw and manage graphs in Vispy.

Which class will be responsible for what? We probably will have a Graph visual, maybe a Graph Scene, and maybe more.
How to configure the used visuals, colors, labels
How to integrate NetworkX

Im in to help you on that topic. I already have some idea about it.

Ok sounds good! I'll try to finish the arrows as quick as I can, so we can start with this!

@jvtrudel Do you have some time this week writing out your ideas for the API? I think i'll be starting with this next week!

Maybe... I'll try to do it for you. Want do you have in mind for this API?

I suggest to work on one simple use case. Maybe a mindMap?

I think it would be important to concentrate on one specific exemple rather that trying to take into account all the possible type of graph representation. This strategy would allow us to rapidly have a ready (and easy) to use API while working on the design.
I propose the following milestones for this project:
Define the API's scope

[ ] Select one type graph representation to work on.
[ ] Define the intended user audience.
[ ] Define type of useCase that we want to be able to treat with this API.

Define the requirements

[ ] Exhaustive list of useCases we want to treat.
[ ] User interface examples, tutorial and documentation.
[ ] Requirements  or a list of statements about what this API should be able to do and able to.

Design the API

[ ] Define the data workflow from the user inputs to the final images (including interactivity).
[ ] List of needed components to efficiently achieve this workflow.
[ ] A set of relation between the components.

Specifications

[ ] Identify Vispy's class that correspond tho each component. Something is missing?
[ ] Check if designed interaction between components are currently supported.
[ ] Plan the needed changes (write specification) using vispy's development guidelines (I do not think such a thing exist yet!)
[ ] Validate the changes with core developers and with developers
[ ] Adjust the specifications according to others tips

Implementation

[ ] Code it! And document it while writing.
[ ] Test it.
[ ] Publish it.

Iterate the process with another type of graph

Most of the job should have been done previously.
New features needed by this other graph visualization method should be easy to implement.
If it is not the case, we should reevaluate the design.

Iterate the process with another type of graph

Thanks for your input, good ideas!
It's definitely worth to to think a good while on the design of the API, but I don't think I will do it as extensive as you describe. My experience is that I often get "paralyzed" thinking on an API design dilemma, while the answer often reveals itself when you are busy implementing it.
Anyway: let's continue in this issue: https://github.com/vispy/vispy/issues/990

My experience is that I often get "paralyzed" thinking on an API design dilemma, while the answer often reveals itself when you are busy implementing it.

That's exactly what my proposal aim to achieve. Forget the milestones proposed if you don't agree with this but stay focused on only one type of graph to begin with. Then adopt a user's point of view which have a very specific task to achieve.
I want to work in parallel of the vispy#990 reflexion but its sure I stay tune to it and I'll probably contribute if necessary. I'll work on a mindMap API as a test case for the more general graph API.
Do you want to work on this implementation with me @sh4wn ? Or do I continue by myself?


[Bug]: Whitelisting doesn't match example in whitelist-sample.txt

What happened?
Regex whitelisting no longer works, only basic bash globbing.
-    if [[ $1 =~ ${resource_value} ]]; then
+    # To set WARNING flag both values must be exactly the same
+    if [[ "${checked_value}" == *"${resource_value}"* ]]; then

3097ba6c667ba0e21a7923efac1c49c88abb117d
30ce25300f1f07a54ac889b1bfe4856adb84f42c
"==" limits bash to globbing.
Quoting the variable means to interpret the variable literally (ie "exactly the same")
How to reproduce it
Steps to reproduce the behavior:

What command are you running?
Create a bucket aws s3 mb s3://foobarbaz12345-logs
Run prowler with the sample whitelist and uncomment extra718 check
./prowler -w whitelist-sample.txt -r <region> -f <region> -c extra718

Environment you have, like single account, multi-account, organizations, etc.
Single account

See error
FAIL! <region>: Bucket foobarbaz12345-logs has server access logging disabled!

Expected behavior
This should be a warning as it matches the sample whitelist  "extra718:[[:alnum:]]+-logs"
From where are you running Prowler?
Please, complete the following information:

Resource: non-aws Linux server
OS: CentOS
AWS-CLI Version [aws --version]: aws-cli/2.4.22
Prowler Version Prowler 2.7.0-24January2022
Shell and version:
Others:

Additional context
Please either revert the change or update the documentation to remove references to regex.

Hi @wobblesprout we have reformulated the logic to include POSIX character classes, please check it out here prowler/pull/1061 and let us know if everything is ok

Thanks for following this up so quickly. I've added a comment to the PR.

Thanks for your suggestion ! It's the same coded in a different way
We have scheduled the reformulation of whitelisting logic, including this, we just have changed ignore_check_name to follow the same syntax as resource_value, please check it again and let us know if works like it should

We have been merged prowler-cloud/prowler#1061, please @wobblesprout feel free to reopen if a new error appears


graph ui delete dialog should offer to also remove the collections

via checkmark it should set the dropCollections property.
https://docs.arangodb.com/GeneralGraphs/Management.html#remove-a-graph

added in branch JHMH fae01d6c41898ac176b492ee007af40de9c4f652


Fixes typo CPPU

Fixes typo in, "Una CPPU necesita direcciones de memoria para obtener valores específicos de la RAM."

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


Fix multiple import

Description
While browsing through the Code and studying it for better understanding, I found minor bugs and anti-patterns that can be possibly improved to mitigate any potential bug. Since this is the first time, when I'm contributing to OWASP, I wanted to get a better understanding of the Codebase and make contributions on the same.
Changes Done
The following commits have been made on the Codebase:

Fixing the multiple error issue

I found the secure_smtpd package was imported twice in the same file. I fixed it according to the PEP8 standard. There were some more issues with respect to PEP8 formatting as per PyLint but I would like to know, if PEP8 is strictly enforced on the Codebase.

Hi Harsh,
Thank you for your contribution.
We are following PEP8 standards, flake8 linter is user for compliance check.
Could you please elaborate on the issues you find with respect to PEP8 formatting?

Hi Harsh,
Thank you for your contribution.
We are following PEP8 standards, flake8 linter is user for compliance check.
Could you please elaborate on the issues you find with respect to PEP8 formatting?

Hi Harsh,
Thank you for your contribution.
We are following PEP8 standards, flake8 linter is user for compliance check.
Could you please elaborate on the issues you find with respect to PEP8 formatting?

Hi @ChakshuGupta 👋
Thanks for the comment. I am yet to explore the whole Codebase, but PyLint caught these issues at first:

Wrong Import Order
Missing class docstring
Unnecessary "elif" after "return"
Unnecessary "else" after "raise"
Too Long Lines

Besides that, I noticed some general issues like:

Unnecessary Literals used at places
Unused Arguments in functions
Exception Caught being very general
Missing module docstrings

I guess they might be false positives or something that shouldn't be a concern because I have used Flake8 just once with this, so I would bank upon your opinion and decision about the same.
It would be great if you can review this PR as well and suggest the way forward 🚀

Hi Harsh,
Thank you for your contribution.
We are following PEP8 standards, flake8 linter is user for compliance check.
Could you please elaborate on the issues you find with respect to PEP8 formatting?

Hi @ChakshuGupta 👋
Thanks for the comment. I am yet to explore the whole Codebase, but PyLint caught these issues at first:

Wrong Import Order
Missing class docstring
Unnecessary "elif" after "return"
Unnecessary "else" after "raise"
Too Long Lines

Besides that, I noticed some general issues like:

Unnecessary Literals used at places
Unused Arguments in functions
Exception Caught being very general
Missing module docstrings

I guess they might be false positives or something that shouldn't be a concern because I have used Flake8 just once with this, so I would bank upon your opinion and decision about the same.
It would be great if you can review this PR as well and suggest the way forward 🚀

Hello @HarshCasper ,
Thank you for your PR.
you could raise a separate PR to fix the issues that you have mentioned above.

Hello @HarshCasper ,
Thank you for your PR.
you could raise a separate PR to fix the issues that you have mentioned above.

thanks for the contribution, I merged the PR.

thanks for the contribution, I merged the PR.

oh I merged it to master, we should have merge this to development branch.

oh I merged it to master, we should have merge this to development branch.

@HarshCasper please re-create your PR for "development" branch.

@HarshCasper please re-create your PR for "development" branch.


Feature Request: Implement Cookie Privacy Policy and Management

Request to develop a Cookie Privacy feature that informs users about the cookies used on the Crypto Tracker platform and provides options for managing cookie preferences.
Motivation:
As privacy regulations (like GDPR) require transparency about cookie usage, implementing a Cookie Privacy feature will help ensure compliance and enhance user trust.
https://github.com/user-attachments/assets/f62e98b8-0d9e-4233-8d52-64d901fc4ecf
i would like to work on it @vanshchauhan21

Request to develop a Cookie Privacy feature that informs users about the cookies used on the Crypto Tracker platform and provides options for managing cookie preferences.
Motivation: As privacy regulations (like GDPR) require transparency about cookie usage, implementing a Cookie Privacy feature will help ensure compliance and enhance user trust.
cookie.mp4
i would like to work on it @vanshchauhan21

Oky do it


Sync with master

Purpose

Sync jdk_11_migration branch with changes from master

Approach

Merge changes from master, resolve conflicts and fix build issues

Samples

N/A

Remarks

N/A

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

This is in this PR: https://github.com/ballerina-platform/ballerina-lang/pull/26171


Added preliminary GPIO Subsystem.

I have created a subsystem around the Zephyr GPIO driver.
It includes support for interrupt callbacks, individual pin manipulation and masked pin manipulation.
The API centers around PinGroups as I call them, This is simply a mask of pins with a common usage, and can be one pin. To allow for flexibility, the API allows merging them back if needed.
Right now these PinGroups are not fixed to a specific port however. A limitation puts some burden on the user when combining different pin groups and is something I would like to fix in  the future when I see a good way to implement that using the type system.
Any comments or feedback is welcome.

Thanks! GPIOs are a basic feature we've needed bindings for.
I'll give this a more thorough look soon, but my initial impression is we might want to separate the safe bindings from the more ergonomic pin group API. In the zephyr crate, we could just provide fairly direct, but safe access to the syscalls, and then maybe have the rest in another crate.
e.g. if gpio_pin_t can be greater than 32 depending on the gpio driver (I assume it can but I've never used Zephyr's GPIO interface), we should probably allow the user to supply a number directly as they would with the C API rather than constrain it to an enum at this level. Then if the enum-based wrapper is a better interface, that could be a layer above implemented in terms of the low-level safe bindings.

Thanks for taking a first look .

if gpio_pin_t can be greater than 32 depending on the gpio driver (I assume it can but I've never used Zephyr's GPIO interface)
The zephyr API uses a uint32 for the port pins, with each bit being a pin. Therefore it is constrained at 32 pins maximum.
The part where the enum based API could be somewhat constraining is with the GPIO flag settings; since I them separate enums. In the C API you can combine them almost as you with with the various calls. But that is also a problem, since some calls do not accept some flags by simply asserting that those are not set.

In general, my  intend for this API was to allow for the same functionality and flexibility as the zephyr API (not withstanding something I missed). That said, the pin group functionality does restrict you somewhat, in order to prevent obvious mistakes like calling set on en input pin etc.
Separating a basic API and the pin group should be easy enough though. My suggestion would be implementing the port based API on a lower level and wrapping that inside the pin group API. I would advise against moving away from the enums though, unless we encounter a situation where it clearly is constraining. It makes the possible inputs for the functions a whole lot clearer.

Is this PR still worked on? Or is GPIO support currently not planned?

@konradmoesch I don't personally have a need for GPIOs, so I haven't put in the effort to finish this up.


test: introduce dgoss tests & github actions

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@0a45b70). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master      #3   +/-   ##
========================================
  Coverage          ?   0.00%
========================================
  Files             ?      17
  Lines             ?     229
  Branches          ?      13
========================================
  Hits              ?       0
  Misses            ?     227
  Partials          ?       2

Continue to review full report at Codecov.

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


No Annoying Settings

No Annoying Settings

https://github.com/Luligabi1/NoAnnoyingSettings
This is a very simple, client-side only mod that will automatically disable auto-jump and Minecraft's Music every game restart. This is mostly targeted for modpacks and users of the vanilla launcher, as it erases your previous settings if you open an older version of Minecraft, but most likely can be used by anyone without any incompatibilities. If for any reason you want only one of the two to be disabled, you can use the config located at
If the user makes use of the Vanilla Minecraft Launcher, everytime they launch an older version of Minecraft, their options.txt file will be reset, creating annoyance with some of the questionable default settings minecraft uses. This mod slightly reduces this annoyance by ensuring every start that the music and auto-jump will always be turned off.

[ ] Performance optimization
[ ] Graphics optimization
[X] New feature
[ ] Optifine parity
[X] Fixes a bug/dependency
[ ] Replaces an existing mod

Hmm.
Judging by the description, it forces these two values at all times, which is a definite no, I'd rather do just a default options.txt or #25 instead.
Then comes the question of what options to change though, autojump may be disliked by many, but why music? What about GUI scale? Starting tutorial?
Since I aim for a vanilla-like experience, I must be very careful with the defaults I choose, they should be familiar enough for many people.

Continue in #30


chore: test support for other .NET versions

it is not working with ASP.NET MVC application with 4.7.2

You have any suggestions for that?

it is not working with ASP.NET MVC application with 4.7.2

One for @novakzaballa

it is not working with ASP.NET MVC application with 4.7.2

One for @novakzaballa

There is a separate issue open for this here. I will merge this PR and we can handle that issue separately as it requires more work to set up the test environment in .NET Framework.


source and license for JAR files

https://github.com/uccmawei/FingerprintIdentify/tree/1.2.6/FingerprintIdentifyLib/libs has binaries without source code nor license.
Can you provide that, please? They prevent apps from being open source.

邮件已收到


GSoC 2024 Task #1: Extend Notebook to PartitionedArrays.jl Tutorial

cc @fverdugo @amartinhuertas @oriolcg
In the meeting on 2024-05-27, the following steps were discussed to get started with the GSoC project:

[x] Familiarize with PartitionedArrays.jl package by working with Jacobi tutorial notebook
[x] add explanatory text and instructions to the notebook to create a tutorial
[x] create first issue and post link to it on social media platform

Meeting notes from 2024-05-30:

Resources to learn working with PartitionedArrays:

Notebook Sparse Vector-Matrix Product from Francesc
Jacobi tutorial
parallel distributed poisson tutorial: https://gridap.github.io/GridapWorkshopNCI2023/tutorials/T5_poisson_distributed/

How to run documentation locally: https://github.com/gridap/Gridap.jl/wiki/How-to-build-the-documentation-locally
embed images for documentation via assets folder
Final pull request previous GSoC: https://github.com/gridap/GridapMakie.jl/pull/24
Coding style guidelines: https://docs.julialang.org/en/v1/manual/style-guide/
Thesis AMG algorithms: Tobias Wiesner.pdf

Action points:

[ ] create gsoc branch and label
[ ] read PartitionedArrays documentation
[ ] add images from lecture & more explanations to Jacobi notebook
[ ] add Jacobi notebook to documentation
[ ] work with parallel distributed Poisson tutorial
[ ] work with sparse matrix vector product notebook
[ ] make an own toy project to get familiar with PartitionedArrays methods and types
[ ] start reading literature to get an understanding of aggregation algorithm

@GeliezaK I am glad that the project gets started. Looking forward!

@fverdugo @oriolcg @amartinhuertas
I have a question about how to achieve 1D and 2D block partitioning.
I would like to implement the 2D Jacobi method as a toy project. This is the code for partitioning the data into blocks of rows like this:

function jacobi_2d_par(n,niters,p)
    # Stip-wise block partition
    ranks = DebugArray(LinearIndices((p,)))
    ghost = true
    row_partition = uniform_partition(ranks, n+2, ghost)

    IJV = map(row_partition) do row_indices
        I,J,V = Int[], Int[], Float64[]
        for global_row in local_to_global(row_indices)
            for col in 1:n+2
                push!(I, global_row)
                push!(J, col)
                if global_row in (1,n+2)
                    push!(V,1)
                elseif col in (1,n+2)
                    push!(V,1)
                else
                    push!(V,0)
                end
            end
        end
        I,J,V
    end

    I, J, V = tuple_of_arrays(IJV)
    col_partition = row_partition
    A = psparse(I,J,V, row_partition, col_partition) |> fetch

    # Jacobi update
end

This code gives me the error "replace_ghost only makes sense for un-permuted local indices." Can you help me understand how to build this partition with ghost cells?
I'm also interested in building a 2D block partion like this:

Thanks a lot!

Hi @GeliezaK
For the 2d jacobi (5-point stencil) you don't need a sparse matrix. Just two vectors as in the 1d case. Think of these 1d vectors as the 1d representation of dense matrices. Another way of implementing this is by explicitly using distributed dense matrices, but there are not yet implemented in PartitionedArrays: see issue  #97. See my comments there.

Hi @GeliezaK,
let us talk tomorrow at the meeting about this.

Meeting notes from 2024-06-06:
@oriolcg @fverdugo
Attendees: @GeliezaK @amartinhuertas
Notes:

fixed point iterative linear solvers: update grid (Jacobi method) or update solution vector with residual (matrix operations) (lecture slides 1, lecture slides 2)
partitioning of grid vs. systems matrix
content of and differences between Project.toml and Manifest.toml
resources for introduction to AMG: An Introduction to AMG, A multigrid tutorial

Action points:

[ ] read thesis/other AMG resources and gain understanding of algorithms

[ ] remove Manifest.toml from pull request

[ ] continue implementation of Jacobi method with different types of partitioning

[ ] implement solution of 2d laplace equation to practice working with PSparse matrices


[ADLS] Fix casing-inconsistency of issue 4503

Fix casing-inconsistency of issue 4503

Automation for azure-sdk-for-js

Automation for azure-sdk-for-python

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-java

Can one of the admins verify this patch?

Automation for azure-sdk-for-go

must follow camelCase style


fix: freehand points

This PR addresses issues with freehand shapes.

https://github.com/excalidraw/excalidraw/issues/1935
https://github.com/excalidraw/excalidraw/issues/3502
https://github.com/excalidraw/excalidraw/issues/3774
https://github.com/excalidraw/excalidraw/issues/3955
https://github.com/excalidraw/excalidraw/issues/3564
https://github.com/excalidraw/excalidraw/issues/3564#issuecomment-927319627

There were actually several bugs at play here, which made the problem difficult to solve! But I do think I have all of them.
The algo was mishandling two-point lines
In perfect-freehand, a line with two points was being treated as a dot, regardless of how far apart those two points were. I've fixed that issue in the library.

The collision logic was mishandling two-point lines
The collision code (for hit-testing lines) was also treating a line with two points as a dot. This is now fixed.

We weren't marking lines as complete
The perfect-freehand algorithm renders lines differently if they're marked as complete (via the last option). When I implemented the new line here, I did not add a way to mark a line as complete, and so the last point was being rendered behind the actual last point. This is a deliberate choice for incomplete lines but it meant that fast / short lines weren't rendering propertly.
In this PR, I use the lastCommittedPoint as a flag for a complete line. This is a bit of a hack, so:

consider adding a proper "isComplete" property to a freehand shape.
consider a data migration where all existing lines are marked as complete.

The only lines that should not be complete are those that a user is actively drawing; if a document has any incomplete lines on load, they should be marked as complete.

There will still be problems with Scribble and palm rejection on iPads but this should improve the experience. :)

Hey there ! Thanks a ton for this PR !
Any thing we can do to help pushing it through ? Is there anything missing ?

Oops, sorry — we should definitely merge this!
I'll review later what exact issues can be closed by this and which one still need some final touches.


/tests/llamafy_qwen.py doesn't work with Qwen1.5 models

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
Description of issue
I get the error below when I try to convert the model Qwen/Qwen1.5-7B-chat It seems to be specific to the Qwen1.5 models as I don't encouter with any issues when LLaMAfying Qwen1 models.
KeyError: 'Unable to process key model.embed_tokens.weight'
Complete code
# Install the required libraries
!pip3 install huggingface-hub
!pip install hf-transfer

# Enable HF transfer
import os
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"

# Set the model
MODEL_ID = "Qwen/Qwen1.5-14B-Chat"
MODEL_NAME = MODEL_ID.split('/')[-1]

# Download model from Hugging Face
from huggingface_hub import snapshot_download
snapshot_download(repo_id=MODEL_ID, ignore_patterns=["*.bin", "*.h5"], local_dir='/content/Qwen1.5-7B-Chat')

# Install fire
!pip install fire

# LLaMAfy the model
!python llamafy_qwen.py --input_dir '/content/Qwen/Qwen1.5-7B-Chat' --output_dir '/content/Qwen1.5-7B-Chat-LLaMAfied' --shard_size 10GB

Expected behavior
Conversion of the the Qwen/Qwen1.5-7B-chat model to the LLaMA-2 format.
System Info
Google Colab High-RAM A100
Environment Summary:

Python Version: 3.10.12
Platform: Linux-6.1.58+ x86_64 with glibc2.35 (Ubuntu 22.04.3 LTS)
Transformers Version: 4.35.2
CPU: Intel(R) Xeon(R) CPU @ 2.20GHz, 12 processors (6 physical cores each)
Total Memory: 83.48 GB
MemAvailable: 85.57 GB
Python Environment: Jupyter Notebook

Jupyter Environment Details
IPython          : 7.34.0
ipykernel        : 5.5.6
ipywidgets       : 7.7.1
jupyter_client   : 6.1.12
jupyter_core     : 5.7.1
jupyter_server   : 1.24.0
jupyterlab       : not installed
nbclient         : 0.9.0
nbconvert        : 6.5.4
nbformat         : 5.9.2
notebook         : 6.5.5
qtconsole        : not installed
traitlets        : 5.7.1

Others
No response

this script is only for the qwen v1 models


[terra-clinical] enhance Keyboard Focus styles to pass '2.4.11 Focus Visible'

Feature Request
Description

WCAG 2.1 (Level AA) introduced criterion 2.4.11: Focus Visible (Enhanced) which raises the WCAG 2 (Level A) 2.4.7: Focus Visible criterion standard of when a user interface element displays a visible keyboard focus that it's color contrast ratio be at least 3:1 or thickness of at least 2 CSS pixels.
All interactive terra elements have a visible keyboard focus style present, but not tested to see if they meet automated AXE testing for the 2.4.7 /  2.4.11 criterion. All components in tera-core need to be audited and provide updated styling as needed, as well as adding any appropriate additional tests for confirmation of pass/fail.

.
Solution

Audit, Add testing, and UX to provide appropriate changes to all components in terra-clinical
Components affected:

[ ] TODO: list out each component needing update here...

Related Issues

terra-toolkit #443
terra-core #3174
terra-framework #1262
terra-application #93

Reference Context / Screenshots
see terra-core #3174 for reference screenshot

Keeping blocked on needing UX + A11Y input. Backlogging as future enhancement.


"Debug" mode support

I'm sure it would be useful in diagnosing LogBack issues.
All the details are there: http://logback.qos.ch/manual/configuration.html
As an idea:
Under certain conditions LogbackContextFactory could register OnConsoleStatusListener instance in the StatusManager.
Here is the example:
LogbackContextFactory.configLogbackContext() {
...
StatusListenerConfigHelper.addOnConsoleListenerInstance(context, new OnConsoleStatusListener());
...
}

Implemented. Controlling config property is log.debugLogback. Thanks for implementation hint.


Windows issue

Hi. Is there a way to fix this?
Collecting git+https://github.com/ohmeow/blurr.git
  Cloning https://github.com/ohmeow/blurr.git to c:\users\runner~1\appdata\local\temp\pip-req-build-gaye0t66
    ERROR: Command errored out with exit status 1:
     command: 'C:\Users\RUNNER~1\AppData\Local\R-MINI~1\envs\R-RETI~1\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\pip-req-build-gaye0t66\\setup.py'"'"'; __file__='"'"'C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\pip-req-build-gaye0t66\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\RUNNER~1\AppData\Local\Temp\pip-pip-egg-info-mpwpr2p4'
         cwd: C:\Users\RUNNER~1\AppData\Local\Temp\pip-req-build-gaye0t66\
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\RUNNER~1\AppData\Local\Temp\pip-req-build-gaye0t66\setup.py", line 42, in <module>
        long_description = open('README.md').read(),
      File "C:\Users\RUNNER~1\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\encodings\cp1252.py", line 23, in decode
        return codecs.charmap_decode(input,self.errors,decoding_table)[0]
    UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 13891: character maps to <undefined>

Github Actions: https://github.com/henry090/fastai/pull/58/checks?check_run_id=1367643542

Sorry but I currently don't support Windows (only Linux).
With that said, if you want to submit any PRs to make this Windows friendly
I'm all ears ... I just don't have the time to invest in it myself.
Thanks - wg
On Sat, Nov 7, 2020 at 11:54 PM Turgut<EMAIL_ADDRESS>wrote:

Hi. Is there a way to fix this?
Collecting git+https://github.com/ohmeow/blurr.git
Cloning https://github.com/ohmeow/blurr.git to c:\users\runner~1\appdata\local\temp\pip-req-build-gaye0t66
ERROR: Command errored out with exit status 1:
command: 'C:\Users\RUNNER~1\AppData\Local\R-MINI~1\envs\R-RETI~1\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\RUNNER~1\AppData\Local\Temp\pip-req-build-gaye0t66\setup.py'"'"'; file='"'"'C:\Users\RUNNER~1\AppData\Local\Temp\pip-req-build-gaye0t66\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\RUNNER~1\AppData\Local\Temp\pip-pip-egg-info-mpwpr2p4'
cwd: C:\Users\RUNNER~1\AppData\Local\Temp\pip-req-build-gaye0t66
Complete output (7 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\RUNNER~1\AppData\Local\Temp\pip-req-build-gaye0t66\setup.py", line 42, in
long_description = open('README.md').read(),
File "C:\Users\RUNNER~1\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 13891: character maps to
Github Actions:
https://github.com/henry090/fastai/pull/58/checks?check_run_id=1367643542
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ohmeow/blurr/issues/18, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAADNMBSNG2ATEHT7OBBWPTSOZFDFANCNFSM4TOFE4DQ
.

To be able to install on windows simply comment out these two lines in the setup.py:
#long_description = open('README.md').read(),
#long_description_content_type = 'text/markdown',

The README is what cuases the charmap error on windows.

Thanks for this.
Any way I can update the setup.py so you all don't have to comment that section out?  Glad to update it to make it easier for Windows folks to install the lib.  Lmk.

The better fix than commenting it out would probably be to add the encoding:
    long_description = open('README.md', encoding='utf-8').read(),
    long_description_content_type = 'text/markdown',
If this also works on linux that is

Just pushed a new release ... if you get a chance, can you try installing
the library and windows and lmk if all is kosher now?
Thanks - wg
On Tue, Jun 22, 2021 at 12:47 AM Leon Dummer @.***>
wrote:

The better fix than commenting it out would probably be to add the
encoding:
long_description = open('README.md', encoding='utf-8').read(),
long_description_content_type = 'text/markdown',
If this also works on linux that is
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/ohmeow/blurr/issues/18#issuecomment-865682305, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAADNMH3WKAMVHEODUZN4TDTUA52LANCNFSM4TOFE4DQ
.

Works great, thanks!


blocked well local property kinds

Codecov Report
Base: 78.50% // Head: 78.51% // Increases project coverage by +0.01% :tada:

Coverage data is based on head (ebd64d0) compared to base (ac17add).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #597      +/-   ##
==========================================
+ Coverage   78.50%   78.51%   +0.01%
==========================================
  Files         177      177
  Lines       30124    30087      -37
==========================================
- Hits        23648    23624      -24
+ Misses       6476     6463      -13

Impacted Files
Coverage Δ

resqpy/well/_blocked_well.py
84.00% <100.00%> (-0.02%)
:arrow_down:

resqpy/olio/simple_lines.py
40.16% <0.00%> (-0.49%)
:arrow_down:

resqpy/derived_model/_add_faults.py
91.58% <0.00%> (-0.47%)
:arrow_down:

resqpy/model/_forestry.py
78.83% <0.00%> (-0.22%)
:arrow_down:

resqpy/fault/_gcs_functions.py
62.86% <0.00%> (-0.14%)
:arrow_down:

resqpy/time_series/_from_nexus_summary.py
90.90% <0.00%> (-0.10%)
:arrow_down:

resqpy/olio/factors.py
97.05% <0.00%> (-0.09%)
:arrow_down:

resqpy/grid_surface.py
73.40% <0.00%> (-0.08%)
:arrow_down:

resqpy/olio/vdb.py
55.52% <0.00%> (-0.07%)
:arrow_down:

resqpy/well/well_utils.py
95.06% <0.00%> (-0.07%)
:arrow_down:

... and 16 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Updates to Install Vivado/Vitis page

Version 2020.2 is now in archive (https://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/vitis/2022-1.html). If it is not important which version is used, perhaps we should point to a newer version or simply say "find the section for the latest Vitis Core Development Kit - Full Product Installation"

I think we can continue to point to 2020.2.  Would you mind updating the link and creating a PR?


ffmpeg 3.0 / 3.3 support by using build tags

Resolves #38

WIP while fixing travis build

Codecov Report

Merging #41 into master will decrease coverage by 0.38%.
The diff coverage is 10.38%.

@@            Coverage Diff             @@
##           master      #41      +/-   ##
==========================================
- Coverage   33.72%   33.33%   -0.39%
==========================================
  Files           5        6       +1
  Lines        2583     2556      -27
==========================================
- Hits          871      852      -19
+ Misses       1664     1656       -8
  Partials       48       48

Impacted Files
Coverage Δ

avfilter/avfilter.go
25.16% <ø> (+0.32%)
:arrow_up:

avcodec/avcodec_33.go
0% <0%> (ø)

avformat/avformat.go
59.7% <100%> (+3.5%)
:arrow_up:

avcodec/avcodec.go
21.23% <57.14%> (-1.48%)
:arrow_down:

Continue to review full report at Codecov.

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

travis is happy now :-)

Updating the pr with changes from the review...
TODO:

use feature matrix in travis
restore support for golang 1.5 +

travis is now happy with the changes, building using the build matrix!

@martinlindhe LGTM. Now it's just a matter of making travis happy. When this happens, can you also rebase it into a single commit? Thanks

Great, thanks for looking over this!
Travis is now happy :-) the "x" on the build tools is codecov reporting coverage decrease.
Squashed the commits into a single one.

Great work @martinlindhe .
Thanks a lot and I'm waiting for more in the future!


DO NOT MERGE - Direct runner debugging

R: @tgroh

Converting all the executor services seems to have done the trick on the 60s delay. We should always uses the ones that take ThreadPoolBuilders! (Or actually implement the "one shared executor" task).

Added a bunch of debugging logs, finding many seconds of slowly removing timers. Maybe that's useful information?

Logs in this gist: https://gist.github.com/dhalperi/a8f96207040a790f98aa8168c47e0fae

Coverage increased (+0.02%) to 70.28% when pulling 0ee86d2f7f985647da9801d57490ad0885be8d75 on dhalperi:direct-runner-debug into db0ec9991722e4011e021ba85feb542793d57f3b on apache:master.


OpTestSwitchEndianSyscall: Change build path

We only needs switch_endian_test application so change the build path
to tools/testing/selftests/powerpc/switch_endian/ to avoid fixing
unnecessary compile errors.
Signed-off-by: Alvin Wang<EMAIL_ADDRESS>

We only needs switch_endian_test application so change the build path
to tools/testing/selftests/powerpc/switch_endian/ to avoid fixing
unnecessary compile errors.
Signed-off-by: Alvin Wang<EMAIL_ADDRESS>
What compile errors are you seeing? I'm not even sure why we have an op-test case for exercising a single system call. OPAL PRD uses the switch endian call extensively and we have a seperate test for exercising that already. Maybe we can remove this test, or replace it with something that runs a larger subset of the kernel self tests.


Adds social and build badges

Recently realized that there is no discord link in the repo.
While I was at it I removed the WIP message and also added a build badge.

Also added the latest release, because why not.


Pep8 cleanup

Here are some changes to help with flake8 checks. This also adds a Travis badge to the README. Should fix #9 and fix #8 . Try not to over analyze the comments too much or you might be on it for a while.

ping @somexpert @damonkelley

ping @damonkelley @gio

works for me :+1:

:thumbsup:


Problems with mstsc inside FreeRDP session

I faced with a pretty strange problem.
Here is a description of test case reqs:

FreeRDP (for Linux, latest from 1.1-stable branch)
connecting to Windows Server 2003R2 via FreeRDP
running mstsc inside FreeRDP session and trying to connect to any other Windows machine (I tried Win7, Server 2003R2 and Win8)
mstsc freezes at welcome screen and not responding at all, it only can be killed from task manager
and there is no such problem with nested mstsc's from Windows

I captured a little video describing this process.
You can download this video from here: https://www.dropbox.com/s/o0z4ixqh317vwlj/freerdp.rar

Closing due to being ancient.
If still an issue feel free to reopen.


Accept componentType property

What does this PR do?
Fixes the catalog data import.
This PR mitigates the problem that the component will fail when repository data provides the componentType property.
See https://github.com/giantswarm/github/actions/runs/5782821021/job/15670389308 for an example.
We don't do anything with the value yet.
What is the effect of this change to users?
CI runs for importing catalog data should succeed again.

FYI: go-test currently cannot work in this repo.


Align clarity-ui and clarity-core colors

Summary
Clarity Core had to make changes to the colors in tags and labels to support the WCAG 2.1 guidelines for graphical elements. These changes should be replicated in clarity-ui for consistency and accessbility.

What is the change?

See the following PR #4499
High level summary of changes
General

[ ] the warning-800 needs to change from hsl(41, 100%, 36%) to hsl(41, 100%, 34%)

Badges

[ ] orange badge bg-color changes from 500 to 1000
[ ] orange badge text color changes from 1000 to 0
[ ] light-blue badge bg-color changes from 300 to 500
[ ] light-blue badge text color changes from 1000 to 0
[ ] info badge bg-color changes from 600 to 800
[ ] warning badge bg-color changes from 300 to 1000
[ ] success badge bg-color changes from 700 to 800
[ ] danger badge bg-color changes from 800 to 900

Labels
Note that non-status labels use the bg-color variables for border colors. This is a problem with the legacy code.

[ ] the gray label text color should be 1000, not 700

[ ] the purple label text color should be 1000, not 700

[ ] the orange label bg-color (a.k.a. border color) should be 1000 not 500

[ ] the light-blue label bg-color (a.k.a. border color) should be 500 not 300

[ ] the info label border-color variable should be 800 not 400

[ ] the success label border-color variable should be 800 not 400

[ ] the warning label border-color variable should be 800 not 500

[ ] the danger label border-color variable should be 900 not 200

Why should it go in Clarity?

Consistency with clr-core and alignment with WCAG 2.1.

Does this change impact existing behaviors? If so how?

Only a visual change.

@mathisscott Update this to include the alert colors.

Started this issue. I have a branch that can incorporate the alert changes when they are ready.


Document system requirements

This was brought up by @stefanigel , we need to document the requirements for our software. It is still to be defined what we actually need to specify.
I could imagine that this might also go into the README instead of the docs.
When closing support contracts with our customers we should make clear what the minimum Requirements are to run

our operators or the "SDP Control Plane"
the data products / components
for every runtime env / k8s we support if there are differences ...

Background:
We do not want (to be liable to) to work on support tickets where customer runs a whole data platform on e.g. a single Rhaspberry Pie.
This is more for production use where we consider to have more subscriptions than for dev/test.
As this should be easily refered to from the contracts, there should be something like a "single landing page" for that. That page again can refer to further documentation somewhere.

Since stefan mentions contracts, this seems like it has at least some legal aspects to it. Does that document need to be versioned? if it's referenced from a contract, it should probably be sort of "static"
Content wise, I'll brainstorm a few things:

We don't want to restrict too much, it should run almost anywhere
Some low-spec hardware isn't going to be sufficient. How can we find exact limits? Are exact limits even required? Should we give something for all operators together (The whole platform) or on a per operator basis)?
Which k8s implementations can we support? Is there a feature set that we can say we need? (I.e. we need namespaces, a PV provider that can do read-write-many, ...)

Thera are no acceptance criteria, I suggest to add:
Acceptance criteria:

[ ] the documentation is versioned and refers to an actual release (starting from 22-06)
[ ] the documentation can be referenced from our GTCs and other contract documents
[ ] Stackable support team is willing to accept incoming support issues that run on the described configuration
[ ] the configuration describes supported versions of Operating System (at least for stackablectl), Kubernetes product and version (managed and on-prem products), data platform component versions

Maybe we should have sizing suggestions for a k8s cluster? Minimum 3 nodes, settings for k8s autoscaling because of resilience / failover, ... sizing of nodes etc.
How many nodes minimum depending on number of data products / components?

Maybe we should have sizing suggestions for a k8s cluster? Minimum 3 nodes, settings for k8s autoscaling because of resilience / failover, ... sizing of nodes etc. How many nodes minimum depending on number of data products / components?

Good points. Added under Cluster.


[move-prover] Align move-lang and spec-lang command line options

Prover team recently added command line options and logic to use a search path for finding sources for module dependencies.

if you specify --search_path  (short form -s ), the prover will try to find dependencies at the given path. It will only look at the direct directory provided, not recursively scan the directory. The flag can be repeated.

According to Bob, the same happened also recently for move-lang compiler:

We recently changed the Move compiler so that the -d option can specify either a file or a directory for dependencies, and if it is a directory, then it recursively searches there for all ".move" files.

For better user experience, those things should be aligned, probably based on the move-lang support.
@tnowacki @bob-wilson

No strong opinions here. I found the move-lang one being easier to use, as it just finds them all for you without an extra arg.
But I understand it could be a bit of a weird experience if it catches something by accident

Are there strong opinions from the Prover team? If not, I propose to change the Prover to use the same behavior for the -d option as the compiler. I can implement that if there are no objections.

Its probably also worth noting that project wide we're trying to use dashes - instead of underscores _ for binary names, and arg and option names.

Are there strong opinions from the Prover team? If not, I propose to change the Prover to use the same behavior for the -d option as the compiler. I can implement that if there are no objections.

No concerns from my side. I was mostly concerned making this recursive because this needs to do more than just look for files. It needs to scan each .move file to construct a ModuleName -> FileName mapping. If you feel this is OK, we can adopt this also for the prover.
Technically, there is a bunch of code in move-prover/src/lib.rs to handle this. I guess this would be removed and instead we use APIs from move-lang? Also note we currently have both -d for providing the name of a dependency, and -s for search path; those two options would need to be merged. I'm fine with having just -d like the compiler.

There is another discrepancy between these tools that I think we should fix. The compiler takes its input files via a --source-files option. The prover has the inputs as (non-optional) arguments, i.e., at the end of the command line without an option specifier. The prover's style matches what I've seen from various other compilers, so I would prefer to adopt that in the Move compiler as well.


[SPARK-19329][SQL]Reading from or writing to a table with a non pre-existing location should succeed

What changes were proposed in this pull request?
when we insert data into a datasource table use sqlText, and the table has an not exists location,
this will throw an Exception.
example:
spark.sql("create table t(a string, b int) using parquet")
spark.sql("alter table t set location '/xx'")
spark.sql("insert into table t select 'c', 1")

Exception:
com.google.common.util.concurrent.UncheckedExecutionException: org.apache.spark.sql.AnalysisException: Path does not exist: /xx;
at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4814)
at com.google.common.cache.LocalCache$LocalLoadingCache.apply(LocalCache.java:4830)
at org.apache.spark.sql.hive.HiveMetastoreCatalog.lookupRelation(HiveMetastoreCatalog.scala:122)
at org.apache.spark.sql.hive.HiveSessionCatalog.lookupRelation(HiveSessionCatalog.scala:69)
at org.apache.spark.sql.catalyst.analysis.Analyzer$ResolveRelations$.org$apache$spark$sql$catalyst$analysis$Analyzer$ResolveRelations$$lookupTableFromCatalog(Analyzer.scala:456)
at org.apache.spark.sql.catalyst.analysis.Analyzer$ResolveRelations$$anonfun$apply$8.applyOrElse(Analyzer.scala:465)
at org.apache.spark.sql.catalyst.analysis.Analyzer$ResolveRelations$$anonfun$apply$8.applyOrElse(Analyzer.scala:463)
at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan$$anonfun$resolveOperators$1.apply(LogicalPlan.scala:61)
at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan$$anonfun$resolveOperators$1.apply(LogicalPlan.scala:61)
at org.apache.spark.sql.catalyst.trees.CurrentOrigin$.withOrigin(TreeNode.scala:70)
at org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.resolveOperators(LogicalPlan.scala:60)
at org.apache.spark.sql.catalyst.analysis.Analyzer$ResolveRelations$.apply(Analyzer.scala:463)
at org.apache.spark.sql.catalyst.analysis.Analyzer$ResolveRelations$.apply(Analyzer.scala:453)

As discussed following comments, we should unify the action when we reading from or writing to a datasource or hive serde table with a non pre-existing locaiton:

reading from a datasource table: return 0 rows
writing to a datasource table:  write data successfully
reading from a hive serde table: return 0 rows
writing to a  hive serde table:  write data successfully

How was this patch tested?
unit test added

Test build #71803 has started for PR 16672 at commit 5ec7dd6.

Test build #71803 has finished for PR 16672 at commit 5ec7dd6.

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/71803/
Test PASSed.

Test build #71808 has started for PR 16672 at commit 2196648.

Test build #71808 has finished for PR 16672 at commit 2196648.

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/71808/
Test PASSed.

We also need to add a test case for in-memory catalog. Maybe we can wait until https://github.com/apache/spark/pull/16592 is resolved?
Actually, this fix is not right. We should create the directory when we set the location.

I test it in hive，alter table set location  does not create the dir ，when we insert data on，the dir createed

I am not very sure whether we should follow Hive in this case. The path might be wrong or no permission to create such a directory. Thus, it might be more user friendly if they can get the error of creating the directory when changing the location. cc @cloud-fan @yhuai @hvanhovell
This PR focues on the write path. How about the read path? What does Hive behave when try to select a table whose location/directory is not created? What is the behavior of our Spark SQL?

I'm wondering how hive read a table with non-existing path.

In hive:

read a table with non-existing path, no exception and return 0 rows
read a table with non-permission path, throw runtime exception

FAILED: SemanticException org.apache.hadoop.hive.ql.metadata.HiveException: Unable to determine if hdfs:/tmp/noownerpermission is encrypted: org.apache.hadoop.security.AccessControlException: Permission denied: user=test, access=READ, inode="/tmp/noownerpermission":hadoop:hadoop:drwxr-x--x
	at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:320)

write to a non-exist path ,it will create it and insert data to it, everything is ok

write to a non-permission path, it will throw an exception

alter table set location to a non-permission path, it is ok

If we create the location path when alter table by user A, maybe we use user B to run the job which have no permission to write data to the location, is't it also not friendly? Maybe throw an runtime Exception is properly, and don't create path when alter table.
@gatorsmile @cloud-fan @yhuai @hvanhovell

Test build #71898 has started for PR 16672 at commit abc57dd.

Test build #71898 has finished for PR 16672 at commit abc57dd.

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/71898/
Test PASSed.

It seems to me following hive is safer, any other ideas?

@gatorsmile could you give some suggestion? thanks very much!

ping @gatorsmile

retest this please

Test build #72746 has started for PR 16672 at commit abc57dd.

Could you please add the test cases for the scenarios (of non pre existing location) you explained above? Thanks!

The changes in this PR affects both read and write paths. Please update the PR description and title. Thanks!

Test build #72746 has finished for PR 16672 at commit abc57dd.

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/72746/
Test PASSed.

Test build #72759 has started for PR 16672 at commit c3439ff.

: ) success is a noun and exist is a verb.
insert/read data to a not exist location datasource table should success -> Reading from or writing to a data-source table with a non pre-existing location should succeed

More test cases for non pre-existing locations? For example, INESRT without an ALTER LOCATION? You can simply drop the directory. This scenario is reasonable when the table is external.

The test case also can check another INSERT mode. INSERT OVERWRITE? Also verifying the behaviors for Hive Serde tables?

yes, let me add these test

Test build #72759 has finished for PR 16672 at commit c3439ff.

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/72759/
Test PASSed.

Test build #72765 has started for PR 16672 at commit 542f86b.

Test build #72766 has started for PR 16672 at commit 2cbb9d6.

Test build #72775 has started for PR 16672 at commit c3e87d3.

Test build #72765 has finished for PR 16672 at commit 542f86b.

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/72765/
Test PASSed.

Merged build finished. Test PASSed.

Test build #72766 has finished for PR 16672 at commit 2cbb9d6.

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/72766/
Test PASSed.

Test build #72775 has finished for PR 16672 at commit c3e87d3.

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/72775/
Test PASSed.

SET LOCATION can also be done over individual partitions of the table. Are you planning to handle that as well in this PR ? If it already works, please add test case(s) for that.

How about creating a separate PR for Hive serde tables? This PR can focus on the issues of data source tables. Thanks!

ok, let me create a new pr for hive serde tables, and continue to finish this pr~

Test build #72804 has started for PR 16672 at commit 334e89f.

Could you move the test cases to DDLSuite.scala? This is not for Hive specific. Thanks!

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/72804/
Test FAILed.

Test build #72813 has started for PR 16672 at commit b238e8d.

Test build #72813 has finished for PR 16672 at commit b238e8d.

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/72813/
Test PASSed.

Test build #72814 has started for PR 16672 at commit dee844c.

Test build #72814 has finished for PR 16672 at commit dee844c.

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/72814/
Test PASSed.

Actually, I found another issue in CTAS with pre-existing location. Maybe you can take that too? https://issues.apache.org/jira/browse/SPARK-19583

Merged build triggered.

Merged build started.

@gatorsmile I'd like to take that. https://issues.apache.org/jira/browse/SPARK-19583 Thanks~

Test build #72855 has started for PR 16672 at commit 0d947a5.

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/72855/
Test FAILed.

retest this please

Merged build triggered.

Merged build started.

Test build #72869 has started for PR 16672 at commit 0d947a5.

Test build #72869 has finished for PR 16672 at commit 0d947a5.

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/72869/
Test PASSed.

@gatorsmile I have fixed some review issues. Could you help to continue to review this ?

LGTM

Thanks! Merging to master.

To backport https://github.com/apache/spark/pull/17097, we need to backport multiple PRs. This is one of it.
@windpiger Could you please submit a PR to backport it to Spark 2.1?

ok thanks，its my pleasure～


Problem with bower dependencies name

Hi. Wanted to add bower dependency but got a problem.
I've added dependency
"require": {
        ...
        "bower-asset/Sortable": "*"
       ...
    },

run composer update. But I've got dependency with name sortable not Sortable.

https://github.com/francoispluchino/composer-asset-plugin/issues/70


[codegen] Fixes enum codegen value cases

Summary:
Fixes #44632
Changelog:
[GENERAL] [FIXED] - [codegen] Fixes enum codegen value cases
Test Plan:
#44632

Thanks for the fix! Could you add unit test or make sure this scenario is captured in a snapshot?

@javache Thanks for the review. I added the snapshot test.


please change documentation link to http://web.archive.org/web/20191208040027/http://flipclockjs.com/

What about the latest version?

@Dror-Bar what do you mean with the latest version?
this issue is about that the documentation is not available at the known site and you have to go to the archive.org site to read the documentation.

@oweitman the documentation you linked to is showing FlipClock.js 0.8.0 Beta, but the latest version of FlipClock.js is already above 1.0.0.

Do you have the link to the documentation v1.0?


Angular 11

Support for Angular 11.

Hi Samuel,
If you add me as a collaborator to this repo, I can make the update.


why it's not possible to serialize c++11 enums directly

enum class Colors: short{ Red = 0, Green, Blue}
when trying to restore it like
Colors c = json["color"].get<Colors>() it's fails with

tools/libs/json.h:862:17: error: static assertion failed: could not find from_json() method in T's namespace

Right now, only enums are supported by default, you can add a from_json method though.
We could add enum class support, to behave like regular enums by default.

If we can support this out of the box, we should do it.

Fixed with #545.

Thanks


Refactor FP16 tensor creation to prepare for client tensorization and…

… preprocessing of images.

Looks good to me


Sorting not work with Nette\Database\Table datasource

Hi,
I am using Nette\Database\Table datasource and sorting is not working.
Request is sended by ajax and succeeded correctly back,
but data, what is loaded over json, is not sorted correctly.
Thank you for your help.

Here is working NDBT sorting: http://ublaboo.paveljanda.com/datagrid/export.
Can you show me please your code where you are creating NDBT selection?

this?
$grid->setDataSource($this->obec->getGridData());
obec->getGridData() is model with return of table:
public function getGridData() {       return $this->database->table($this->tableName);   }

default sort not work too: $grid->setDefaultSort(['obec' => 'DESC']);

Can you please show me whole code of your datagrid factory? I can not reproduce this error.

Main Factory:
`namespace App\Grids;
use Nette,
Ublaboo\DataGrid\DataGrid;
class GridFactory extends Nette\Object
{
/**
 * @return Grid
 */
public function create($presenter,$name)
{
	$grid = new DataGrid($presenter, $name);
$grid->setColumnsHideable();
$grid->setPagination(FALSE);
return $grid;
}

}`
Factory for Adresar
`namespace App\Grids;
use Nette,
App\Model;
class AdresarGridFactory extends Nette\Object
{
/** @var GridFactory */
private $gridfactory;
/** @var Model\Obec */
private $obec;

/** @var Model\Adresar */
private $adresar;

public function __construct(GridFactory $gridfactory, \Nette\Database\Context $database)
  {
	    $this->gridfactory = $gridfactory;
    $this->obec = new Model\Obec($database);
    $this->adresar = new Model\Adresar($database);
  }

public function create($presenter,$name)
{
    $grid = $this->gridfactory->create($presenter,$name);

  $grid->setDataSource($this->adresar->getGridData());

  $typ = ['' => 'Všetky', 'O' => 'Osoby', 'F' => 'Firmy'];

  $grid->addColumnText('typ', 'Typ')
      ->setReplacement($typ);

  $grid->addColumnText('priezvisko', 'Priezvisko, meno')
    ->setRenderer(function($item) {
  		return $item->priezvisko.', '.$item->meno;
  	})
    ->sortable();

  $grid->addColumnText('firma', 'Firma')
    ->sortable();

  $grid->addColumnText('obec_id', 'Obec')
      ->setReplacement($this->obec->getSelectData())
      ->sortable();

  $grid->addColumnText('email1', 'Kontakt')
    ->setRenderer(function($item) {
        return $item->tel1.", email1."'>".$item->email1."";
     })
    ->setTemplateEscaping(FALSE);

  $grid->addColumnText('deleted', 'Stav')
    ->setReplacement([0 => 'Aktívne', 1 => 'Neaktívne']);

  $grid->addFilterSelect('deleted', 'Stav', [
  		'' => 'Všetky',
      0 => 'Aktívne',
  		1 => 'Neaktívne'
  	]);

  $grid->addFilterText('priezvisko', 'Vyhľadávanie', ['priezvisko','meno']);
  $grid->addFilterText('firma', 'Firma', 'firma');
  $grid->addFilterText('email1', 'Kontakt:', ['email1', 'tel1']);
  $grid->addFilterSelect('typ', 'Typ:', $typ);

  $grid->addAction('edit','')
		  ->title('Upraviť')
      ->setIcon('pencil')
		  ->class('btn btn-xs btn-warning');

  $grid->addAction('delete','')
		  ->title('Zamazať')
      ->setIcon('trash')
		  ->class('btn btn-xs btn-danger')
      ->confirm('Naozaj vymazať položku?');
}

}`

Wasn't that due to your previous issue, where the scripts were not working correctly? Try it following this scripts structure: http://ublaboo.paveljanda.com/datagrid/#assets

Today I am include your scripts over fresh install of bower from actual manual, and grid shorting not work. Cache cleared.
PS: U have mismatch in inlude manual. You link css as script and script as css :)
PS2: on include is missing script bootstrap.min.js

Thanks, I will fix that.
bootstrap.min.js should not required. Where did you find usage of bootstrap.js?

If it was not included, dropdown menu in hide column and other not work for me.

And I dont know why, but after includes from your manual, filtering is not rendered over ajax.

Did you write this in some of your scripts?

It is required when using some nette scripts (netteForms.js or nette.ajax.js). I will add that to the documentation.

oh, sorry, filtering over no ajax request is, because I remove my included JS script, where I have nette init. sorry, I am new in Nette :)

But data sorting is not working,
I think, data is sorted in DataSource, right?
Because response data from server in payload is not sorted.
I will create new temp project for testing is this in clear install.
Thank you...

Did you create that temp project? You can upload it on github and i will look at it. Or you can paste it here as zip. It would be great to have a sql dump within the zip or repo.

@zemnet Is all clear to you by now? Or do you have still some problems?

Sorry, I has no time up to now, now I am work on test, 30 mins and I will have report...

in clear sandbox instalation with your component all work fine :(
but after that I dont know, where is the problem on other project.
For now I will compare versions of components...
thank you for your interest.

@paveljanda
I find where is the problem.
If I have disabled pagination $grid->setPagination(FALSE),
ordering not work....with enabled pagination all work well.

You're right, i will take a look at it.

And If I have enabled pagination, and I am set to view all lines in grid, ordering not work too....

@zemnet Thank a lot! I have fixed that behaviour in version 2.2.3.

thank you :) good luck


BIP-47 Support

fyi bitcoinj support is there

Where is my private key

What do you mean?  Thanks.

First time user of bitcoins. I've got a wallet on blockchain.com and  I dont recall seeing a private key to have saved. So confused

Its unspendable

Cool! We are not affiliated with blockchain.com but it appears they may have asked you to write down your backup phrase (which is used to generate your private key.
https://www.blockchain.com/learning-portal/security
If you don't remember doing that, I suggest you contact their support.
In the meantime, might I suggest this cool video on the different types of wallets that may help clarify what is going on to you:
https://www.youtube.com/watch?v=vnveaLsqeRc&feature=youtu.be
Feedback appreciated.  Thanks!


make the example code fit the screenshot

The original sketch works the same as the screenshot and the updated sketch? Can you explain how the original doesn't fit the screenshot?

You're right, I don't know how I missed this, I tried the example with background(200) first in draw function.


Updates fonts

Description

Adds Noto Serif Display
Adds Latin subset of Poppins VF Beta
Rebuilds front-end assets with npm run production

I can squash this down to one commit if you prefer. Thanks!

@mattstein assigned to you in case you have time before I do. 👹

Looks good to me, thank you @kennethormandy!


Can't join live share

You are running VS Code outside the Applications folder, so we cannot install support for joining sessions using a browser link. You can still join sessions manually.
Joining collaboration session: No vscode.env.uriScheme set.

Please file issue against the live share extension.


Support saving the remote kernel for reuse on next open

Add support for VSC Notebooks.
Note: We cannot add arbitrary data into the metadata as that would impact diffing of notebooks.
I.e. we cannot stick transient information into metadata, we need to use another store (map) for such things.

This is already implemented. It's stored in the global memento. Are you saying it doesn't work with VSC notebooks?

Yes


.*: remove useless limit check for Interpreters::Join

What problem does this PR solve?
Issue Number: close #xxx
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-sanitizer-test tsan

/run-sanitizer-test tsan

https://ci.pingcap.net/blue/organizations/jenkins/tiflash-ghpr-sanitizer/detail/tiflash-ghpr-sanitizer/61/pipeline/

https://ci.pingcap.net/blue/organizations/jenkins/tiflash-ghpr-sanitizer/detail/tiflash-ghpr-sanitizer/61/pipeline/

/tiflash/gtests_dbms JoinExecutorTestRunner.MultiJoin
/tiflash/gtests_dbms JoinExecutorTestRunner.JoinAgg
/tiflash/gtests_dbms JoinExecutorTestRunner.CrossJoinWithCondition
/tiflash/gtests_dbms JoinExecutorTestRunner.JoinWithTableScan
/tiflash/gtests_dbms JoinExecutorTestRunner.JoinWithExchangeReceiver
/tiflash/gtests_dbms JoinExecutorTestRunner.JoinWithTableScanAndReceiver

have been fixed.

/run-all-tests

/merge


disabled save wrong value

I'm using the switchinput as follows
	$form->field($model, 'Active',
	[
		'inputOptions' => [
			'value' => Yii::$app->formatter->asInteger($model->Active),
			'class' => 'form-control',
		],
		'labelOptions' => ['class' => 'control-label'],
		'horizontalCssClasses' => [
			'class' => '',
			'wrapper' => '',
		],
		'template' => '
{label}

{input}{error}
',
	])
	->widget(SwitchInput::classname(),
	[
		'options'=>[
			'tabIndex'=>'345',
		],
		'pluginOptions' => [
			'size' => 'small',
			'onText' => 'Yes',
			'offText' => 'No',
			'onColor' => 'success',
			'offColor' => 'danger',
		],
		'disabled' => (Yii::$app->user->can('Administrator') ? false : true),
	])

If the use is Administrator, everything works just fine, but, if not, then when the form loads, it displays the value correctly, but always saves all values as No/0, even if it was displaying Yes/1.
My workaround has been to add javascript before submit to enable all controls.

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

@DPineault If the input is "disabled" then any change to it is not submitted to the form.  I would suggest to use readonly instead of disabled.

Correct @craiglondon


Question on the locomotion results

Congrats on the great work!
I'm looking at the video demos on the project page [https://crossformer-model.github.io/] and having some questions on the locomotion results.

In the video, can you help to explain a bit what's the setting shown on the right half of the go1 locomotion video (it seems to be in simulator, is it a video of the the expert policy in sim)?

It reads from the paper "We collected the Go1 data by rolling out an expert policy trained with RL in simulation". Does it mean you train a policy in sim and deploy it in real and then collect data in real?
I'm also curious about the expert behavior in real. Can you provide some representative videos and info on the behaviors on the expert policy in real?

Thanks!

Hi, sorry for the late reply!
The simulated quadruped videos on the website show Crossformer rollouts in sim. This model was trained on data collected from an RL-trained expert quadruped policy in sim. Later, we also tried the same process in real. We used an RL-trained expert policy trained in the real world to collect real data. Then, we re-trained Crossformer with the real quadruped data. The real quadruped videos on the website show rollouts of this Crossformer model.
As you can see from the real quadruped videos, we did not learn the best walking gait in real (it doesn't make good use of its front legs etc.). This is likely because we used an expert policy that was trained a while ago and on a different robot. Thus, we didn't get the most optimal data when we rolled out the expert policy due to some distribution shift. The expert data actually looked quite similar to the rollout videos we show on the website. We used an expert policy trained using APRL (https://github.com/realquantumcookie/APRL) so I'd check out that repo if you're curious about the expert policy. In principle simply re-training our expert policy and collecting better data should give us a better walking gait.
Hope this helps!

@HomerW,  thanks a lot for the detailed explainations!


decision record: ids serializer implementation

What this PR changes/adds
Formulate a decision record for the further proceeding regarding the usage of an IDS serializer. Let's discuss!
Why it does that
As discussed with @jimmarino @mspiekermann, and @ronjaquensel, for maintenance reasons, we decide not to use the IDS serializer library that is currently being used by the DSC and other IDS connector reference implementations. Instead, we will continue using our own implementation to deserialize IDS objects.
Further notes
see the markdown file
Linked Issue(s)
Closes # <-- insert Issue number if one exists
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[x] added/updated relevant documentation?
[x] added relevant details to the changelog? (skip with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

@juliapampus Nothing to add from my side :)


Create collection structure

Create a collection structure as per Ansible documentation
Collection structure creation:
$ ansible-galaxy collection init arista.eos_avd

Collection build:
$ ansible-galaxy collection build arista/eos_avd

Local Installation for validation:
$ ansible-galaxy collection install arista-eos_avd-0.0.1.tar.gz -p collection/
$ tree collection -L 4
collection
└── ansible_collections
    └── arista
        └── eos_avd
            ├── FILES.json
            ├── MANIFEST.json
            ├── README.md
            ├── docs
            ├── plugins
            └── roles

6 directories, 3 files

Ansible version for build: 2.10.0
Ansible version for run with examples content:

2.8.3
2.10.0

resolve #21

As per Ansible issue tracker, moving to collection will require to use FQCN namespace and collection when calling any filter:
Issue #58629
Not working:
l3leafs.node_groups[l3leaf_node_group].nodes | natural_sort

Working:
l3leafs.node_groups[l3leaf_node_group].nodes | arista.eos_avd.natural_sort

So as it will impact all templates and probably break backward compatibility with ansible < 2.9, it is to be validated before moving forward.
@carlbuchmann do you have opinion on that ?

@titom73, I believe we would want to have support for backward compatibility - I'll schedule a meeting so we can brainstorm potential approach/solutions!

@titom73 can you address these conflicts and merge in the new base branch feature-ansible-collection-structure, and we will continue the work from that branch, as this might a larger effort!


Remove test for

The type datetime-local got removed from the final HTML5 specification for the <input> element and is also not included in the 5.1 spec. as far as I can see. So the test for it should be removed or at least marked as rejected and not give any points.
Sebastian

This is supported by Chrome and has just very recently been added by Microsoft Edge (useful for accessibility and sites on mobile use it). With two (recent) interoperable unprefixed implementations, I wouldn't support removing it.
It is also still in the spec: https://html.spec.whatwg.org/multipage/forms.html#local-date-and-time-state-(type=datetime-local)

Ok, I disregarded the WHATWG spec. So let's keep it then.
Sebastian


UI 1.0: Workflow

The editorial workflow provides a kanban board for organizing unpublished entries.
Prototype link TBA.

Updated in 1.0.


TypeError: Cannot read property '1' of undefined

I get this error when run

tslint -c tslint.json 'src\app***.ts'

The problem start after i made a npm install in my project. I just checked that tslint has updated to a break change (version 5.0.0 to be more exactly). But i can't say that this make the problem. My package's version:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
The error:
TypeError: Cannot read property '1' of undefined     at Rule.SelectorRule [as constructor] (R:\VIXTEAM\_Implementacao\6.1\teamaudit.frontend\node_modules\codelyzer\selectorNameBase.js:16:25)     at new Rule (R:\VIXTEAM\_Implementacao\6.1\teamaudit.frontend\node_modules\codelyzer\directiveSelectorRule.js:11:28)     at Object.loadRules (C:\Users\rodrigo.pimenta\AppData\Roaming\npm\node_modules\tslint\lib\ruleLoader.js:47:32)     at Linter.getEnabledRules (C:\Users\rodrigo.pimenta\AppData\Roaming\npm\node_modules\tslint\lib\linter.js:177:44)     at Linter.lint (C:\Users\rodrigo.pimenta\AppData\Roaming\npm\node_modules\tslint\lib\linter.js:76:33)     at Runner.processFiles (C:\Users\rodrigo.pimenta\AppData\Roaming\npm\node_modules\tslint\lib\runner.js:157:20)     at Runner.run (C:\Users\rodrigo.pimenta\AppData\Roaming\npm\node_modules\tslint\lib\runner.js:108:18)     at Object.<anonymous> (C:\Users\rodrigo.pimenta\AppData\Roaming\npm\node_modules\tslint\lib\tslint-cli.js:140:6)     at Module._compile (module.js:556:32)     at Object.Module._extensions..js (module.js:565:10)

I get the same error after updating tslint from 4.5.1 to 5.0.0. Reverting back to 4.5.1 works as expected. I'm using the same versions of typescript and codelyzer as first poster.

Thanks for reporting the issue. I will sync with the other folks from the Angular CLI team and decide how to proceed with the tslint upgrade.

@kensiprell Thanks, that fixed the issue for me as well.

This is technically not a problem in codelyzer since it has as peer dependency tslint^4.0.0. I'll open another issue for the upcoming upgrade to tslint^5.

I am getting the same error running:
codelyzer: 2.1.1 or 3.0.0-beta.4
tslint: 4.5.1
typescript: 2.2.2

same error from @froodley

Related https://github.com/angular/angular-cli/issues/5848
And yes, same issue here. Looks like everyone is passing the buck :-1:

I'm using angular 4.0.1 and gulp 4, possibly relevant

Same here :/

Just in case it helps anyone, I was experiencing this issue in WebStorm. I took the advice from the other thread; "use codelyzer 2.1.1 and tslint 4.5.1 and ng lint works", and sure enough ng lint worked but WebStorm still gave the error even after closing and opening the file again. When I restarted WebStorm the problem was gone.

You can also use<EMAIL_ADDRESS>with<EMAIL_ADDRESS>

 vscode-tslint: 'Cannot read property '0' of undefined' while validating: c:\Users\MaJu0001\project\current.component.ts stacktrace: TypeError: Cannot read property '0' of undefined
    at Rule.SelectorRule [as constructor] (userDir\project\modules\src\Debug\node_modules\codelyzer\selectorNameBase.js:17:24)
    at new Rule (userDir\project\modules\src\Debug\node_modules\codelyzer\directiveSelectorRule.js:12:28)
    at Object.loadRules (userDir\project\node_modules\tslint\lib\ruleLoader.js:47:36)
    at Linter.getEnabledRules (userDir\project\node_modules\tslint\lib\linter.js:168:44)
    at Linter.lint (userDir\project\node_modules\tslint\lib\linter.js:81:33)
    at doValidate (userDir\.vscode\extensions\eg2.tslint-0.15.0\server\server.js:378:20)
    at validateTextDocument (userDir\.vscode\extensions\eg2.tslint-0.15.0\server\server.js:295:27)
    at Delayer.d.trigger [as task] (userDir\.vscode\extensions\eg2.tslint-0.15.0\server\server.js:471:9)
    at completionPromise.Promise.then (userDir\.vscode\extensions\eg2.tslint-0.15.0\server\delayer.js:19:35)

Problem has returned with latest version.. looks very similar.
I'm on
TS 2.2.2
Codelyzer 3.0.1
TSLint 5.4.2
Do I have to upgrade TS to 2.3?


Updating sortBy causes RefinementList to forgets showMore state

🐛 Current behavior
When updating a RefinmentList sortBy value after it has been expanded, it "forgets" its showMore state, and returns to showing the amount of refinements specified in limit and not showMoreLimit if it has been expanded
🔍 Steps to reproduce

Go to the repro
Click "show more" and view 20 options
Click "sort by name"
Watch as it "collapses" to 5 options

Live reproduction
https://codesandbox.io/s/nervous-shtern-pt3vk8
💭 Expected behavior
The RefinmentList should stay expanded when sortBy is updated
Package version
<EMAIL_ADDRESS>Operating system
No response
Browser
No response
Code of Conduct

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

Thanks @Rana-Muhammad-Zeeshan66, nice workaround, it seems like it solves the issue :slightly_smiling_face:


Browse > Documents: Creation dates are not localized

Issue
Dates are not localized on the Browse > Documents. They should be localized in the same way we localize them on the Browse > Sites page.

This work is superseded by Huckleberry ticket #150.


Display errors of Accounts section

Description
1. The filter name "Select Role Type" does not appear fully in Russian.
Actual result: The filter name is not completely displayed
Expected result: The filter name is completely displayed
2. The number of IP addresses in accounts is not count. The error occurs in the "Details" and "Statistics" areas in the account's sidebar.
Steps to reproduce

Go to Accounts
Click on any account that has at least one VM

Actual result: The number of IP addresses is not count
Expected result: The number of IP addresses is count
3. Field names are truncated in Russian. The error occurs in the "Limits" and "Statistics" areas in the account's sidebar.
Actual result: Field names are not displayed completely
Expected result: Field names are displayed completely
4. "Copy" icons are missing in user's details on "Users" tab of account's sidebar. (Only IE browser)
Steps to reproduce

Go to Accounts
Click on account "develop"
Go to tab "Users"
Click to user "develop"

Actual result: "Copy" icons are missing
Expected result: "Copy" icons there are
Environment

Browser:
- [ ] Chrome version XX
- [ ] Firefox version XX
- [ ] Safari version XX
- [ ] Opera version XX
- [ ] IE version XX
- [ ] Edge version XX
Others:

Connected feature ID
account_list_filter
account_details_display
account_limits_display
account_statistics_display
account_user_apikey_copy
account_user_secretkey_copy
Screenshots

This is to discuss with @bwsw.
This is not a bug, see the original interface.
This is to discuss with PO.
Agree

The 4th problem wll be done in #1214

After discussion with PO:

The filter name "Select Role Type" does not appear fully in Russian - don't fix it, we leave it as it is.
Not a bug
Field names are truncated in Russian. The error occurs in the "Limits" and "Statistics" areas in the account's sidebar - move long titles to 2nd line

Test:
account_limits_display
account_statistics_display
Regressions:
account_user_apikey_copy
account_user_secretkey_copy
vm_NIC_display
account_details_display
account_limits_display
account_user_display
storage_diskoffering_display
volsnapshot_details_display
firewall_details_display

@HeyRoach
Tested on 1219


feat: make bdev share protocol argument as an option

Resolves https://mayadata.atlassian.net/browse/CAS-718
The protocol argument of mayastor-client bdev share is safer and easier to document as an option
-p nvmf style:
$ ./artifacts/pkgs/mayastor/bin/mayastor-client bdev share --help
mayastor-client-bdev-share
share the given bdev

USAGE:
    mayastor-client bdev share <name> -p <protocol>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -p <protocol>        the protocol to used to share the given bdev [default: nvmf]  [possible
    values: nvmf, iscsi]

ARGS:
    <name>

bors r+

bors merge

bors retry

bors try

bors merge

Hmmm:
[2021-03-02T19:20:58.684676970+00:00  INFO mayastor::core::env:env.rs:649] Total number of cores available: 1

[2021-03-02T19:20:58.693159923+00:00  INFO mayastor::core::reactor:reactor.rs:175] scheduled init_thread 0x55d3f9c15980 on core:0

[2021-03-02T19:20:58.693245966+00:00  INFO mayastor::core::reactor:reactor.rs:148] Init thread ID 1

[2021-03-02T19:20:58.693271795+00:00  INFO mayastor::core::env:env.rs:678] All cores locked and loaded!

[2021-03-02T19:20:58.697194158+00:00  INFO mayastor::bdev::nexus::nexus_module:nexus_module.rs:108] Initializing Nexus CAS Module

[2021-03-02T19:20:58.702420857+00:00  INFO mayastor::core::reactor:reactor.rs:175] scheduled mayastor_nvmf_tcp_pg_core_0 0x55d3fa4b9520 on core:0

[2021-03-02T19:20:58.737739973+00:00 ERROR mayastor::spdk:posix.c:504] bind() failed at port 4421, errno = 98

[2021-03-02T19:20:58.737831376+00:00 ERROR mayastor::spdk:tcp.c:723] spdk_sock_listen(<IP_ADDRESS>, 4421) failed: Address already in use (98)

[2021-03-02T19:20:58.737857616+00:00 ERROR mayastor::spdk:nvmf.c:664] Unable to listen on address '<IP_ADDRESS>'

[2021-03-02T19:20:58.738045982+00:00 ERROR mayastor::subsys::nvmf::target:target.rs:155] failed to listen on address Failed to create nvmf target failed to back target

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ()', mayastor/src/subsys/nvmf/target.rs:158:22

bors merge


Request: RSS feed

Is it possible to as an RSS feed for this?

The RSS feed link is at the bottom of the blog's main page, right next to the Archive link:
https://plainvanillaweb.com/blog/
If you run into trouble using that, feel free to reopen this issue or open a new one.


add support for aws_kms_grant

Codecov Report

Merging #49 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #49      +/-   ##
==========================================
+ Coverage   98.77%   98.77%   +<.01%
==========================================
  Files         138      138
  Lines        2358     2360       +2
==========================================
+ Hits         2329     2331       +2
  Misses         29       29

Impacted Files
Coverage Δ

terrascript/aws/r.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

It looks like this may be superseded by #51 ?

I believe this is also in #51 so I am closing this pull request. Thanks a lot anyway and sorry for the delay.


How select and copy in OUTPUT?

Sometimes, there is some message in OUTPUT. And I want to copy it. But the mouse selection is very strange. It always miss a few characters.
https://user-images.githubusercontent.com/41060790/172747768-8a5dfb80-abe2-4c56-88fa-c040bf4e8d31.mp4

related:

https://github.com/vscode-neovim/vscode-neovim/issues/912
https://github.com/vscode-neovim/vscode-neovim/issues/705

Mouse selection is indeed strange. I'm not sure if this is caused by the plugin or not though. If it is, looks like it tries to enable vim mode on the output buffer, which should probably be disabled.


Fixed autoupdate

Auto update is fixed now.
I also added a test case.
Sorry I hadn't tested it.

Fixed bug in #5

Cocoapod is also fixed.

LGTM. Just released 0.2.6.


Enable WriteCore feature for azurelargeinstance

We need to enable WriteCore feature to azurelargeinstance. Therefore add use-write-core: true and do a regen.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.Astro


Create Sort-PSReadLineHistory Utility

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 [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
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.

The Sort-Object cmdlet can already achieve this


Fix PR Builder failing to start

The PR builder is failing to even start the tests due to remote controller now requiring Java 17.
This is non-trivial to fix, as several other things have also broken in the meantime.
Force-merge required:
.github/workflows/build-pr.yml is configured to use use pull_request_target, rather than pull_request - to allow execution of the action on the target repository/branch, allowing it's secrets to be accessed.
The problem with this is what when these scripts contain an issue, even if modified in a PR, the existing scripts will still be executed - which will cause a deadlocking failure.
As such, I've executed this PR in a branch (over a fork) and amended this behavior, so that the execution of this PR build can be properly observed in a test run on a previous revision.
This PR will then require a force-merge.
Ideally this behaviour should change, but out-of-scope for this PR.
Limitations:
With this change, the tests start and execute however, there are some failures which I believe are existing behaviour:

OSX Debug builds fails

make[2]: *** [CMakeFiles/hazelcast-cpp-client.dir/hazelcast/generated-sources/src/hazelcast/client/protocol/codec/codecs.cpp.o] Error 1
make[1]: *** [CMakeFiles/hazelcast-cpp-client.dir/all] Error 2
make: *** [all] Error 2

All SSL test variants still fail and hang

INFO: [3495951168] hz.client_783[dev] [5.3] Trying to connect to Address[<IP_ADDRESS>:60000].
WARNING: [3495951168] hz.client_783[dev] [5.3] Exception during initial connection to Address[***:60000]: Connection refused [system:111]
WARNING: [3495951168] hz.client_783[dev] [5.3] Unable to get live cluster connection, retry in 1000 ms, attempt: 1 , cluster connect timeout: INFINITE , max backoff millis: 30000

Changes:

Centralised configuration where possible

Java version
Java distribution
Hazelcast version

Upgraded Java runtimes to Java 17
Upgraded Hazelcast dependency from 5.3.0-SNAPSHOT to 5.3.0

the SNAPSHOT is no longer available
this is the nearest (although now outdated) direct replacement (can and should be upgraded - separately)

Explicitly install the right Java / Maven versions on the runners, in favour of the bundled (outdated) versions
Refactor use of maven-dependency-plugin to specify a version

Currently implicitly uses the version bundled with Maven - but this has broken following Maven upgrade
Picks a version (not the latest!) that supports a custom download destination and a custom repository simultaneously

Fix permissions issue installing boost on OSX

Fixes: https://github.com/hazelcast/hazelcast-cpp-client/issues/1222, https://github.com/hazelcast/hazelcast-cpp-client/issues/1229, https://github.com/hazelcast/hazelcast-cpp-client/pull/1207, https://github.com/hazelcast/hazelcast-cpp-client/pull/1226

@ihsandemir are you able to take a look at this PR, please?


Gzip in fetch

Use hash() to save a line
Scale progress bar length by 4 when gunzip=True for more acurate times

Ugh, this introduces a serious bug. https://stackoverflow.com/questions/34330284/what-is-the-risk-of-collisions-when-relying-on-python-hash-function
You are no longer eligible for bounties.


API for reflecting function input/output shapes

Request description
The iree_vm_function_t set of reflection interfaces seem to be missing any way to determine the correct shape of input/output tensors.
For a trivial example, try loading mnist.vmfb (obtained from mnist.mlir). From looking at the model's source code, it's clear that it expects an input of rank 2, shape {28, 28} and delivers an output of rank 1, shape {10}. But it should be possible to somehow programmatically determine this given just the iree_vm_function_t.
My use case is that I want to provide a user-facing API which will allows users to load arbitrary models for image processing, in .mlir (or .vmfb) format, at runtime. I can trivially rescale my input image to the correct input/output size of the model, before passing the data through for inference. But to do this I need to know the correct size to scale it to!
What component(s) does this issue relate to?
Runtime
Additional context
No response

It's worth pointing out that this information clearly exists at runtime, because if you pass a wrongly sized tensor you will get the following error:
iree/runtime/src/iree/modules/hal/utils/buffer_diagnostics.c:221: INVALID_ARGUMENT; input 0 shape dimension 0 mismatch; expected 4 but have 5; expected shape `4`, actual shape `5`; while invoking native function hal.buffer_view.assert; while calling import;

The shape is probably due to the framework level there were knobs for batch and something else, and those were 1, and that just flowed through.
There is a recent ABI tag change from Ben and a pending reflection one from me that could be relevant (will head to computer to find).

https://github.com/openxla/iree/pull/13678 from Ben and https://github.com/openxla/iree/pull/13393 for WIP (although it might even be redundant with what Ben has done)

Generic reflection is not something we offer or that is useful beyond simple single-shot stateless and statically shaped inference models. One you have multiple entry points, state, optional inputs, dynamic shapes, or conditional execution generic reflection doesn't work. You can carry this information yourself based on what you can get from your inputs (highly dependent on compilation/execution/deployment model, framework, etc). Think of it like reflection in Java: you can tell that a function may take a List but there's no way to reflect what should be in that list as it could literally be anything.
For the simple cases we can provide a compiler flag to give you a json blob that you can figure out (we have this for the python side on one path) with a YMMV caveat. If you're building something you want to eventually use for more interesting programs I strongly suggest not basing your design on reflection.

@jpienaar Do you want to leave this open for documentation work or other?

@jpienaar Assigning to you as a P2 item - please delegate/edit as needed.

@jpienaar Maybe closed in favor of #13714 ?

I think this one has good context, I'll add a task list at top to mark the other issue as part of this one.


help~

Not found http://swaelo.com/files/ClientServerSettings.xml , is it available?
I made the following changes, but connecting to mmo-server will prompt an error. WebException: Error: NameResolutionFailure
string ServerIP = "ws://<IP_ADDRESS>:5500";// UseTestServer == "0" ? TestServerIP : ReleaseServerIP;
Debug.Log("Connecting to '" + ServerIP + "'");
ServerConnection = WebSocketFactory.CreateInstance(ServerIP);

ClientServerSettings.xml is not found now. You can put the file yourself at Client root directory, then modify source file like ServerSettingsDocument.Load("ClientServerSettings.xml");

But after I register and login, Unity report UnassignedReferenceException: The variable CameraTransform of LocalPlayerController has not been assigned..
It look like the LocalPlayer prefab lost many scripts reference.


all zero values on pageSize, pageToken (+ other req.) should be validated before use in grafeas api

verify that all grafeas call to the storage engine validate portions of the request where needed before passing the call to the storage engine.

reflect non-validated behaviour in the fakeStorage for the purpose of unit-testing

follow up on https://github.com/grafeas/grafeas/pull/458

fakeStorage modified to test that grafeas API uses validatePageSize for the List methods

WIP: check if any other parts of the request would need validation