Support Formatting and Staging Hunks

Source: https://github.com/prettier/prettier/issues/3555#issuecomment-355162242

I'd be happy if we could just configure it to abort if there are partially staged files.
I tried writing my own script to do that check, but have problems with exit codes on Windows :( https://stackoverflow.com/questions/48387948/exit-status-from-shell-scripts-in-npm-run-scripts-on-windows

Here's a workflow that will format all staged changes, add update the staged files. There is a side effect that unstaged changes will also be formatted, but I'm assuming people don't care about that.
Assuming a fully formatted code base to start.
# save a point to reset to
# 'git stash create' doesn't push things to the normal stash, which is ideal for scripts
BASE=$(git stash create "pre-commit hook reset point")

# Now any abort code path just needs to do
#   git reset
#   git checkout .
#   git stash apply $BASE
# Also need to keep track of how many things push onto the stash list, and drop those

# stash the unstaged changes. (there is no --keep-index flag for the 'create' command)
git stash push --keep-index --message A
# Stash = A@{0}

#####
# NOTE: I haven't included it because it would add unneeded complexity for the
# discussion, but we need to check every time we do a stash push, there may not
# be anything to stash, or even commit. If so stash apply/drop later in this
# script needs to be skipped, otherwise it could mess up the users workspace
#####

# Format all staged changes. If this fails abort.
npm run format
# All changes at this point should be staged
git add --update
# stash the staged changes, formatted
git stash push --message B
# Stash = B@{0} A@{1}

# grab A and format it
git stash apply stash@{1}
npm run format # if this fails, abort
# put the now formatted unstaged changes to the stash
git stash push --message AF
# Stash = AF@{0} B@{1} A@{2}

# Bring back the staged changes
git stash apply --index stash@{1}

# Bring back the unstaged changes
# This may fail. If so abort, with message to user that they need to format and
# re-add manually.
git stash apply stash@{0}

# If we're here, we succeeded. Need to clean up the stash.
git stash drop # AF
git stash drop # B
git stash drop # A

Thanks for bearing with me, that turned out longer than expected.

Footnote: I personally prefer that people have their editors set to auto-format on save and have my pre-commit hooks set to just error if there's any deviation. If people aren't using format on save, they're losing a bunch of benefit of prettier. (code will format = syntax valid)

I didn't take-on trying to format hunks. I did, however, try to make the default handling of partially staged files safer for users of git add -p / Git Gui.
From PR #29:

Partially staged files will not be re-staged after formatting and pretty-quick will exit with a non-zero exit code. The intent is to abort the git commit and allow the user to amend their selective staging to include formatting fixes.

That’s probably a good enough strategy. I’ll try to implement it in 🚫💩 lint-staged.

Going to close this as #29 has been merged. pretty-quick doesn't support formatting partially staged files, but it will no longer format them, which is a lot safer.
Open for further discussion.


Added intersection over union metric for bbox

Bounding Box should be in the format x1,x2,y1,y2. x1,y1 left upper corner of the box in the image and x2,y2 be the right  lower corner of the box in the image. This metric is very useful as it can be used in many object localization tasks.

Summary
Related Issues
PR Overview

[ ] This PR requires new unit tests [y/n] (make sure tests are included)
[x] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
[x] This PR is backwards compatible [y/n]
[x] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)

Thanks for the PR!
Our current plan for such metrics is to maintain API compatibility with tf.keras. This means that we will be adding a version of the IoU metric in keras-team/keras, based on a Metric base class, like here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/metrics.py
@pavithrasv is responsible for this part of the API. If this is something you would like to be working on, I'm sure @pavithrasv will have development items that you can take on.
We cannot merge this PR in the current state since it would conflict with our API sync plans. I'll let @pavithrasv explain what needs to be done :)


Feature category endpoints 1 3 17

Changes:

Adds slugs to both tags and categories to follow along with the use of friendly_id gem as posts is using.
Adds counter cache to categories on posts as this maybe needed and is a nice to have
Adds /categories.json endpoint to get all categories back
Adds /posts.json?category=:category_slug in order to get back all posts matching the category slug param. This includes using the existing pagination in place on the Posts#Index.

Testing:

cd into /spec/dummy
run rake db:drop && rake db:create && rake db:migrate
add categories into the database
check that http://<IP_ADDRESS>:3000/blog/categories.json brings you a json list of the categories
add posts to the database with different categories attached.
check that you can go to http://<IP_ADDRESS>:3000/blog/posts.json?category=:your_category and that you retrieve back the list of posts with that category.
check that on the headers you are still seeing Content-Range:0-1/2 for existing pagination
check that inputing a empty or non-existent category returns back the default from kaminari gem which is a 204 No Content.

Notes:
currently we only want to be able to search for posts by category although I went ahead and added slug support for tags incase we need to modify later we will already have slugs on all the tags.
The slug support was to make it easier on Kurt to be able to get a pre-defined category without first having to hit the categories endpoint to find the id.
Trello Link:
https://trello.com/c/z1rQdZqz/968-update-fuel-gem-to-allow-for-pagination-of-categories

Looks good, good work 👍


Reskin: Palette updates

@manuroe commented on Thu Feb 21 2019
Minor updates:

[x] links in blue (new links color in  https://app.zeplin.io/project/5c122fa790c5b4241ffa6be7/screen/5c619592daff2f1241d82e75)
[x] use notices colors for badges background in section headers (the 37 in https://matrix.org/_matrix/media/v1/download/matrix.org/MkkbPIYjaGAbtxTUuUbvUMiy)

Done


Can we get a version tag?  Maybe v0.1.0?

While not super important, I'd love to have a tagged version for this package.  v0.1.0 would be a fine starting point if the interface is still changing.

Hi @tekkamanendless,
This is long overdue but I finally added a v1.0.0 tag which should help with module versioning.

Sam


docs: localnet upgrade guide

Description
updated the localnet upgrade guide
What has Changed?
What specific problem were you aiming to address, and how did you successfully resolve it? If tests were not uploaded for this pull request or if coverage decreased, please provide an explanation for the change.

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] followed the guidelines for building modules
[ ] included the necessary unit and integration tests
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Deployment Notes
Are there any specific considerations to take into account when deploying these changes? This may include new dependencies, scripts that need to be executed, or any aspects that can only be evaluated in a deployed environment.
Screenshots and Videos
Please provide any relevant before and after screenshots by uploading them here. Additionally, demo videos can be highly beneficial in demonstrating the process.

@cosmic-vagabond As part of the step 6 could you please explain what types should exactly be updated? what are the specific folder containing them, if this is a manual task or automated, etc.
I was under the impression that this refactor was going to introduce a lot of type changes but you only removed one field here:
https://github.com/elys-network/elys/pull/435/files#diff-db67b28e480cae78b2e5a3e55372f235502dea0e921e0d0e068c57e143da2b81

If you find this hard to explain because it depends on specific migration, you could comment what's your thought process to approach this and maybe we can work together explaining it.

@cosmic-vagabond As part of the step 6 could you please explain what types should exactly be updated? what are the specific folder containing them, if this is a manual task or automated, etc.
I was under the impression that this refactor was going to introduce a lot of type changes but you only removed one field here:
https://github.com/elys-network/elys/pull/435/files#diff-db67b28e480cae78b2e5a3e55372f235502dea0e921e0d0e068c57e143da2b81

If you find this hard to explain because it depends on specific migration, you could comment what's your thought process to approach this and maybe we can work together explaining it.

@Wgil types.go uses the elys data structure types to convert to JSON the genesis state used to create localnet, but for some structure fields the ones that are using integer as a type, go struggles to convert them, that’s why you can see them overriden to JSON.Number, that’s pretty much all this file purpose is for.
Whenever the export step in upgrade-assure fails to parse the genesis JSON file it will return an error and as said it is mostly because of some integer fields that needs to be redefined to JSON.Number.


add missing inner World world to all examples

This is currently a bit of a problem coming from the new 3D coupling of the world. We hope to get this solved somehow so that in pure 2D models the 3D world is not needed. Until that I would not like to add these world models to the examples. Is this OK for you?

Is fine. We could probably add a patch for OpenModelica or make it add the inner automatically (even if the specification say "a tool may add a missing inner".

Since the world model has no been reworked and there are two version, this pull-request is now outdated. Anyway, thanks for pointing on this issue.

I made a patch for the library for our testing but I'll see if is still needed or not. Thanks!


DVX-152: Fixes handling of deleted custom metadata properties

I don’t think these test failures are related to my PR changes 🤔 👇
https://github.com/atlanhq/atlan-python/actions/runs/7409690204/job/20160434999?pr=209

Neither do I — looks like an ephemeral permissions problem. Should resolve by rerunning the failed action and/or pushing new commits — let me review first, then if any revisions there'll be a new commit and should run successfully from there 🤞


restore error: local package file does not exist - when it does.

I'm a nube to VS and probably screwed things up but this is what led to this issue:
nuget.org wasn't supported by the package manager (PM) out of the box so I went online and found what looked like a good REST URL for nuget.org and added that source to my package manager.
Browsing from that source didn't work.  I was getting 404 errors.
I went to nuget.org and downloaded the package I wanted and tried installing it via the PM console.
I later found the correct REST URL for nuget.org and got the browsing to work.
I then tried to install the package (sqlite v3.13.0) from the PM and it gave me this error:
Error   The local source '...AppData\Roaming\Packages\sqlite.3.13.0.nupkg' doesn't exist.
so I copied my nuget package I had downloaded elsewhere to this place:
Directory of ...\AppData\Roaming\Packages
12/24/2021  05:18 PM         5,092,972 sqlite.3.13.0.nupkg

Then I retried to install that package and got the same error again.
I have tried uninstalling and reinstalling VS 2019 - No luck.
Here is my version info for VS 2019 from the help->about menu item:
Microsoft Visual Studio Community 2019
Version 16.11.8
VisualStudio.16.Release/16.11.8+32002.261
Microsoft .NET Framework
Version 4.8.04084
Installed Version: Community
ASP.NET and Web Tools 2019   <IP_ADDRESS>318
ASP.NET and Web Tools 2019
Azure App Service Tools v3.0.0   <IP_ADDRESS>318
Azure App Service Tools v3.0.0
C# Tools   3.11.0-4.21403.6+ae1fff344d46976624e68ae17164e0607ab68b10
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
IntelliCode Extension   1.0
IntelliCode Visual Studio Extension Detailed Info
Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers
NuGet Package Manager   5.11.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
TypeScript Tools   16.0.30526.2002
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools   3.11.0-4.21403.6+ae1fff344d46976624e68ae17164e0607ab68b10
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools   16.11.0-beta.21514.6+b6c2c4f53ea3a08fa603ea93d6d2f808a62a21d1
Microsoft Visual F# Tools
Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Good luck and thanks!

I found that the problem is with my solution/project somewhere.
I created a new solution and Nuget works fine and I can use the installed packages including Sqlite and Microsoft.Data.Sqlite.
I messed with my project file, removing some of my changes from my git log and got Nuget to install SQLite so I then proceeded to install Microsoft.Data.Sqlite and it installed but I can't use it in my project.
Here are my non-source project files for help:
Non-code files for bug#2625.zip

The error message suggests that there's a nuget.config file somewhere that lists ...AppData\Roaming\Packages\sqlite.3.13.0.nupkg as a package source. If you run restore from the command line with "normal" verbosity (note that the dotnet cli defaults to minimal verbosity), it will list all the nuget.config files used, although some restore failures cause NuGet to exit-early, so won't list the files.
If you edited the package sources in Visual Studio's options window, this typically edits the user nuget.config, whose location is documented here.
The zip you attached won't have this problem, because it contains a nuget.config which contains a <clear/>, which prevents any inherited nuget.config files from contributing their configured package sources. The zip you attached doesn't contain enough files to run restore locally (you included your csproj.user file, but not the csproj itself), so I can't investigate further.

Thanks for trying.
I ended up building a clean solution, copying my source files into it and
loading the packages ok and am now working.
On Mon, Dec 27, 2021 at 3:39 PM Andy Zivkovic @.***>
wrote:

The error message suggests that there's a nuget.config file somewhere
that lists ...AppData\Roaming\Packages\sqlite.3.13.0.nupkg as a package
source. If you run restore from the command line with "normal" verbosity
(note that the dotnet cli defaults to minimal verbosity), it will list all
the nuget.config files used, although some restore failures cause NuGet to
exit-early, so won't list the files.
If you edited the package sources in Visual Studio's options window, this
typically edits the user nuget.config, whose location is documented here
https://docs.microsoft.com/en-us/nuget/consume-packages/configuring-nuget-behavior
.
The zip you attached won't have this problem, because it contains a
nuget.config which contains a , which prevents any inherited
nuget.config files from contributing their configured package sources. The
zip you attached doesn't contain enough files to run restore locally (you
included your csproj.user file, but not the csproj itself), so I can't
investigate further.
—
Reply to this email directly, view it on GitHub
https://github.com/NuGet/docs.microsoft.com-nuget/issues/2625#issuecomment-1001800427,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5N37IDUBWOVX7ULGZAIFTUTD2LBANCNFSM5KXKEEAA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Sandy (Sanford) Staab


Allow to set default plugin

Now it's possible to set default_plugin option in genie config file. If it's not set it still defaults to weave

We will review the changes and update you.

This is some feature we also wanted to support and mechanism is fine
Have below few points

Can we call default plugin function from parseCNIAnnotations itself so that it will take care of both add and delete network cases
We can add one sample genie conf file with default plugin usage for reference in sampleyamls folder

thanks @lukaszo

@sushanthakumar I moved calling default plugin.
About part 2, is sampleyamls folder a correct place to add an example file?

@lukaszo, You are right, may be we can have one folder sampleconfigs and place a sample genie config with default usage, in future can be used for any other new extensions

I've rebased PR

@lukaszo, sure, will review and accept it, thanks

@lukaszo looks like the build is broken somewhere. Could you please see if  PR #79 is possibly causing this?

@kshafiee fixed, my vim messed up something on write :/

LGTM

LGTM


Some Errors

How can I overcome the following problem? Can you help me?
Traceback (most recent call last):
File "/Users/......./Library/Python/3.9/bin/./delete-tweets", line 8, in
sys.exit(main())
File "/Users/......./Library/Python/3.9/lib/python/site-packages/deletetweets/main.py", line 54, in main
deletetweets.delete(args.file, args.since_date, args.until_date, filters, args.spare_ids,
File "/Users/......./Library/Python/3.9/lib/python/site-packages/deletetweets/deletetweets.py", line 59, in delete
with io.open(tweetjs_path, mode="r", encoding="utf-8") as tweetjs_file:
FileNotFoundError: [Errno 2] No such file or directory: 'tweet.js'

same here


Added hooks to transpile with serverless-webpack before starting serverless-offline.

This will allow us to combine serverless-webpack and serverless-offline to get the best of both plugins.
This will resolve #29 when the hooks are include in the serverless-offline plugin in a seperate pull request.

amazing! could you add an example to show a setup with both plugins?
also do you think that serverless webpack serve could be dropped at this point?

Think so, but depends how many users depends on serve at the moment.

Need to change the target branch for this pr.


Please update this page and the decision tree with more current Azure offerings (such as Azure Spring Cloud)

Please update this page and the decision tree with more current Azure offerings (such as Azure Spring Cloud). This other page has a more correct and up-to-date services: https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/ready/considerations/compute-options

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

ID: 510808e8-db5d-6b07-9a04-6edb743a2dfc
Version Independent ID: 20d098aa-ef31-cb26-d677-765cfc9a7164
Content: Choosing an Azure compute service - Azure Architecture Center
Content Source: docs/guide/technology-choices/compute-decision-tree.md
Service: architecture-center
Sub-service: guide
GitHub Login: @EdPrice-MSFT
Microsoft Alias: pnp

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 476341

@thoaingan  Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

This page should be updated within 24 hours to include more content in the diagram.  The sections below have not yet been updated to reflect the new items in the diagram.  That update will follow later.

@thoaingan - I responded to another thread you opened about this. I believe we've resolved the initial concern you raised. Thank you so much for your feedback!


lint: gometalinter has flags that fix the nasty find

Fixes: #735
Signed-off-by: Vincent Batts<EMAIL_ADDRESS>

still relevant?

On 21/08/19 07:57 -0700, Jonathan Boulle wrote:

still relevant?

don't think so

abandoning


Error while generating presigned url with new apikeys

When I generate a service API key, it has "-" in the string which fails the validation :
e.g. api key: ***********************V4kt4-OH4klr_qtoXsF
Stack trace:
aws_secret_access_key=config["cos_hmac_keys"]["secret_access_key"])
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/ibm_boto3/__init__.py", line 97, in client
    return _get_default_session().client(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/ibm_boto3/session.py", line 316, in client
    return self._session.create_client(
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/ibm_botocore/session.py", line 842, in create_client
    region_name = self._resolve_region_name(region_name, config)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/ibm_botocore/session.py", line 935, in _resolve_region_name
    validate_region_name(region_name)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/ibm_botocore/utils.py", line 1007, in validate_region_name
    raise InvalidRegionError(region_name=region_name)
ibm_botocore.exceptions.InvalidRegionError: Provided region_name '****EZV4kt4-OH4klr_qtoXsF' doesn't match a supported format.

I can see that the root cause is its validator method:
link: https://github.com/IBM/ibm-cos-sdk-python-core/blob/18e8a854a2a4fdca7fbb50d5b80fb666734def1f/ibm_botocore/utils.py#L1004
def validate_region_name(region_name):
    """Provided region_name must be a valid host label."""
    if region_name is None:
        return
    valid_host_label = re.compile(r'^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{,63}(?<!-)$')
    valid = valid_host_label.match(region_name)
    if not valid:
        raise InvalidRegionError(region_name=region_name)

Workaround:
comment out last two lines:
# if not valid:
# raise InvalidRegionError(region_name=region_name)

the validator needs to be updated as it is not accepting the new API key which has "-'' char in it.

Could you provide more detail or perhaps a code sample? Looking up the failure, this check is for validating the region name, not the API key used for authentication: https://github.com/IBM/ibm-cos-sdk-python-core/blob/18e8a854a2a4fdca7fbb50d5b80fb666734def1f/ibm_botocore/session.py#L752. Are you sure you are passing the correct values into the correct fields?

Below is the sample code for generating presigned URL which throws this error.
import ibm_boto3
myserviceapikey = "abcA6raWVUVEdfGXG4IpKC1EZV4kt4-OH4klr_qtoXyZ"
myendpointurl = "https://s3.us-south.cloud-object-storage.appdomain.cloud"
config = {"cos_hmac_keys": {}}
config["cos_hmac_keys"]["access_key_id"] = "1231104d3bd348c283c98f99fddf0xyz"
config["cos_hmac_keys"]["secret_access_key"] = "abc9fa48ee0e5e27e079d365c5aa3c19d6a48a2064669xyz"
mybucket = "mybucket"
myobject = "myfile.txt"
cos = ibm_boto3.client('s3', myserviceapikey, endpoint_url=myendpointurl, aws_access_key_id=config["cos_hmac_keys"]["access_key_id"], aws_secret_access_key=config["cos_hmac_keys"]["secret_access_key"])
theURL=cos.generate_presigned_url('get_object', Params = {'Bucket': mybucket, 'Key': myobject}, ExpiresIn = 3600)
print(theURL)

PS: I have replaced some sensitive characters with different ones.

Thank you for the sample. I can reproduce your issue using Python 3.9.6, version 2.10.0 of the SDK, and valid credentials. The problem has nothing to do with presigned URLs; the exception happens when creating the client. Your function call is populating region_name with myserviceapikey because it is the next argument in the function signature: https://github.com/IBM/ibm-cos-sdk-python/blob/master/ibm_boto3/session.py#L223. You want to pass that value to ibm_api_key_id= instead.
If this resolves your issue, please close this ticket.

Thank you. Closing th ticket.


failed to get token if the application is not installed

after installing application getting data in catch block without email
[Error: { NativeMap: {"email":"COULD_NOT_FETCH","userName":"dummy","userID":"1556678899","name":"dummy","authTokenSecret":"9Go1uee0sdJNCDmVzNVqIITigjlk8ghEqjI2l","authToken":"155662579447688529-yqWsJv9n9EhJTmF0"} }]
permission for accessing email is also enabled

same issue I am getting for android

how to resolve the "Could not find com.twitter.sdk.android:twitter:3.3.0." error in android


Fixed issue for the .fc files compilation with the size more than 91K…

…b. The root of problem was in WASM heap.

Hello, unfortunately i can't accept random binary blob. Can you make an instruction to build a wasm binaries instead?

https://github.com/ton-blockchain/ton/pull/618/files


Testing merge of newgp

retest this please

retest this please pretty please?

retest this please

Passes tests on Jenkins.

Ok, should we merge this into newgp? I'm trying to figure out where to do my code review.

I think I'll just do the code review here, and then we can merge this into master

Looking good! Take a look at #320, which can be merged into this, and address inline comments.

Ready for re-review!

How on earth do you find which test caused a Jenkins failure? Other than that I think we're good here.

I think the issues is it's not getting any test data, not that it's not running the tests. @galbramc ?

retest this please

I think it's occurring only on the cvxopt-only test machines (thank goodness we created those). I have a guess about the problem.
Here's the traceback
File "test.py", line 1, in <module>
import gpkit.tests; gpkit.tests.run(xmloutput=True)
File "/Users/jenkins/workspace/gpkit/buildnode/macys/optimizer/cvxopt/gpkit/tests/__init__.py", line 1, in <module>
from .run_tests import run
File "/Users/jenkins/workspace/gpkit/buildnode/macys/optimizer/cvxopt/gpkit/tests/run_tests.py", line 23, in <module>
from gpkit.tests import t_geometric_program
File "/Users/jenkins/workspace/gpkit/buildnode/macys/optimizer/cvxopt/gpkit/tests/t_geometric_program.py", line 319, in <module>
setattr(test, "ndig", NDIGS[solver])
KeyError: 'c'
Build step 'Conditional step (single)' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE

I think that, somewhere, the KeyError is coming from something along the lines of
In [2]: [x for x in "cvxopt"]
Out[2]: ['c', 'v', 'x', 'o', 'p', 't']

Like from here:
for testcase in TEST_CASES:
    for solver in settings["installed_solvers"]:
        if solver:
            test = type(testcase.__name__+"_"+solver,
                        (testcase,), {})
            setattr(test, "solver", solver)
            setattr(test, "ndig", NDIGS[solver])
            TESTS.append(test)

Parsing strings is hard.

retest this please

retest this please, please

It doesn't seem to be testing this...

Try asking one more time. I'm not on the white list that allows me to ask

The testing is setup to only check roughly every 5 min if you ask for a test. There is some randomness built on that 5 min interval as well

It tested! And passed. @whoburg, can we merge this?

CONGRATS!!


Feature: improve SARIF presentation in GitHub dashboard

For each SARIF "rule", we currently use the check name. There are some limitations to this approach:

For example, for the pinned-dependencies check, each result has the title Pinned-Dependencies. There are various "rules"/sub-checks within this check: pinned workflow dependencies, pinned docker file images, pip install, go install, curl | bash, etc.

It may be beneficial to update the title of each results to a more specific name, e.g. Pinned-Dependencies: workflows, Pinned-Dependencies: pip, etc. Today, a user needs to click on each Pinned-Dependencies result to see if it relates to pip, go, workflows, dockerfile, etc

Some checks like branch protection contain several settings. It may be beneficial to have a different result for each setting: this would allow users to decide which they want to fix or not. Currently, if a user clicks "Won't Fix" because they have fixed all settings they are about but don't want to fix, say, reviewCounts > 1 and dismissStaleReview, the results will never appear again in the dashboard even if some setting the users care about are later violated, e.g. force push is re-enabled.

Based on the two examples above, I think it would be beneficial to allow some checks to expose rules/sub-checks as first-class citizen in SARIF. The way we could implement it is to add a list of rules: to the checks.yaml, where a rule would contain a name, ID and one-line description:
CheckName:
 - rules:
   - ForcePush:
     - title: Force push settings
     - short: Enable users to push to ...

When we log using Warn3() function, we can add a RuleID to LogMessage in order to specify a rule. If left empty, it will be ignored. Otherwise, SARIF will use them to create rules and results.
Note1: I envisage the implementation described above as a temporary solution. Once we have separated checks and policy, I think each rule could be mapped to a policy "rule"; and we could use raw results + default policy to generate SARIF, instead of relying on the current non-raw results.
Note2: we currently output individual results for each log message if and only if there is a path that refers to an existing file. This is why the branch protection settings are are not displayed individually. Theoretically, we could change this behavior and display individual results for each detail. However, this approach leads to additional complications:

GitHub's logics differs w.r.t to result fingerprinting (e.g. a bug marked as "Won't Fix" should not affect other results) when there is no existing file to point to. I found a way to mitigate this problem by generating a unique filename for each setting/warn detail
Some checks, e.g. dependency-update-tool, logs warning for both dependabot and renovabot: do we actually want these to appear in different results? I'm tempted to say no, because we only want users to enable one or the other.

I've created a v2 action to test this out, see https://github.com/ossf/scorecard/issues/1074#issuecomment-1000606546 for steps to test. I've also created a PR for these changes https://github.com/ossf/scorecard/pull/1421. This seems to work, but let's see what everyone thinks. This would address point 2 above. To address point1, we'd still need to add the rules in the checks.yaml and add them to each Warn3().

cc @azeemsgoogle

chatted offline with @azeemsgoogle We will keep the current results as-is for the next release. Once we have the raw results, we will use them to have more granular "rules".


Removed node update controller

This PR contains the changes to remove node update controller as setting provider id for node will be handled by  Power VS Cloud provider

/cc @mkumatag

/hold

As https://github.com/openshift/cluster-cloud-controller-manager-operator/pull/179 is merged, This is PR is ready for review and upon that can be merged

/hold cancel


Stateless statefull update noah

Describe your changes
Follow up for #1731
Related issue number or link (ex: resolves #issue-number)
Checklist before opening this PR (put x in the checkboxes)

[x] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

Hi @iamNoah1
https://github.com/cncf/glossary/pull/2684#pullrequestreview-1769373067 updated the wordlist.txt
So, this PR does not need to include it. :)

thanks @nate-double-u and @hlipsig for the lgtm, @seokho-son I removed my changes on the wordlist again and merged main.


chat not found But user exists

As of today i receiving this error for existing users: "Bad Request: chat not found"
the user using my bot for 8 month , he didnt deleted his account and i dont think he blocked my by bot because the error message is different , how is this possible ?

Did user wrote to the bot in private? Then this shouldn't happen if the chat_id is correct and you send request using the correct bot token.

the chat is private and i have the user_id in my database for about 8 month, just want to let to you know this.


Send invitation emails

See #25

create an acceptation link from an invite
call an invite method that sends an email with an acceptation link (using a configurable django email backend https://docs.djangoproject.com/en/3.1/topics/email/#module-django.core.mail)

@GeOdin
The user management screen now sends invitation emails instead of adding users to the SSO. The invitation email has a link where users can accept the new roles.
There is still some work in progress in case users do not yet have an account. But it should already work for inviting existing users to get roles in a different organisation.
I tested this and it seems


segfault notes on polyfill

See examples here: https://github.com/uber/h3-py/issues/72

Codecov Report

Merging #2 into doc will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff         @@
##            doc     #2   +/-   ##
===================================
  Coverage   100%   100%
===================================
  Files         9      9
  Lines       177    177
===================================
  Hits        177    177

Impacted Files
Coverage Δ

src/h3/api/_api_template.py
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 7c978b0...bf950ff. Read the comment docs.


Add Slacks and Sunsfan ghost NPCs

After the mudgolems die they should become ghosts, so we need a flying ghost npc for them.

Seems like the idea was to kill of the NPCs first so we wouldnt need NPCs following the player so this is not actually needed. But if we have time we can always add this later.

Is it a problem to have the golems? We have the infrastructure for them already anyway.

Closing this for now as this wasn't planned. Can reopen later if we want to add it.


Added a safeguard for reading out invalid TOML files.

Hello @jopmiddelkamp, thank you for adding this improvement


Include :target pseudo class in modal documentation

Explain how it is being used

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Main 75 docker hub published

Fix dockerfile missing slowapi package + make .env able to overwrite the default number of workers in docker-compose.yml + Adding Docker Hub image + edit doc

Thank you for your contribution! I really appreciate the effort you've put into this, especially creating the Docker Hub image.
I've recently made some changes to the main-75 branch that overlap with your modifications, including adjustments to our library requirements. Also I have made a docker hub image. As a result, I'll be closing this pull request.
However, I want you to know that your work is valued. In the upcoming release (planned for this weekend), I'll be acknowledging your Docker Hub image as a community contribution in our installation options. I also add you to the list of contributors. Thanks again for your valuable input. Feel free to open new issues or PRs for any future improvements!


Colin McRae Rally 2.0

The game uses dx7, i've tried the Ddraw compatibility stuff, but it doesn't load further screens on the display, even if the game doesn't crash

Yeah, Colin McRae Rally both 1 and 2 require Direct3D.  I have just started adding Direct3D support.  None of the games that require Direct3D will work yet.

ok, thanks

Ok, I finally have a fix for this.  The latest build works correctly for this game.
Here is the latest build:  dxwrapper.zip

thank you, will try it as soon as i can and i'll report

Here is a build with performance profile testing logs.  Can you try playing the level with this build and send me the logs?  This should help me figure out why it is running slow.
dxwrapper.zip


Scientific Linux 7.9 support

This is my naive attempt at adding support for Scientific Linux 7.9.  Any guidance would be appreciated.

I should note that my goal here is to be able to upgrade Scientific Linux 7.9 to AlmaLinux 8.  Not sure if this is needed for that.

Yes these changes are required.
Have you tested them?

Starting to look at it.  preupgrade completes.  The only things that seem relevant here are:
Risk Factor: high
Title: Packages from unknown repositories may not be installed
Summary: 1 packages may not be installed or upgraded due to repositories unknown to leapp:
- kernel-uek (repoid: ol8-uek)
Remediation: [hint] Please file a bug in http://bugzilla.redhat.com/ for leapp-repository component of the Red Hat Enterprise Linux product.
Key: 9a2b05abf8f45fd7915e52542887bb334bb218ea

I don't seem to have kernel-uek or ol8-uek referred to in my system.
Risk Factor: high
Title: Packages not signed by Red Hat found on the system
Summary: The following packages have not been signed by Red Hat and may be removed during the upgrade process in case Red Hat-signed packages to be removed during the upgrade depend on them:
- conda
- elevate-release
- epel-release
....

This seems fairly normal though.
Risk Factor: low
Title: Some enabled RPM repositories are unknown to Leapp
Summary: The following repositories with Red Hat-signed packages are unknown to Leapp:
- sl-security
- sl-fastbugs
- sl-extras
- sl
And the following packages installed from those repositories may not be upgraded:
...

Is there something I should do to make these repos "known" to Leapp?

Also:
Error: Transaction test error:
  file /etc/os-release from install of almalinux-release-8.6-2.el8.x86_64 conflicts with file from package sl-release-7.9-1.sl7.x86_64
  file /etc/redhat-release from install of almalinux-release-8.6-2.el8.x86_64 conflicts with file from package sl-release-7.9-1.sl7.x86_64
  file /etc/rpm/macros.dist from install of almalinux-release-8.6-2.el8.x86_64 conflicts with file from package sl-release-7.9-1.sl7.x86_64
  file /etc/system-release from install of almalinux-release-8.6-2.el8.x86_64 conflicts with file from package sl-release-7.9-1.sl7.x86_64
  file /etc/system-release-cpe from install of almalinux-release-8.6-2.el8.x86_64 conflicts with file from package sl-release-7.9-1.sl7.x86_64
  file /usr/lib/systemd/system-preset/90-default.preset from install of almalinux-release-8.6-2.el8.x86_64 conflicts with file from package sl-release-7.9-1.sl7.x86_64

Error: Transaction test error:
  file /etc/os-release from install of almalinux-release-8.6-2.el8.x86_64 conflicts with file from package sl-release-7.9-1.sl7.x86_64
  file /etc/redhat-release from install of almalinux-release-8.6-2.el8.x86_64 conflicts with file from package sl-release-7.9-1.sl7.x86_64
  file /etc/rpm/macros.dist from install of almalinux-release-8.6-2.el8.x86_64 conflicts with file from package sl-release-7.9-1.sl7.x86_64
  file /etc/system-release from install of almalinux-release-8.6-2.el8.x86_64 conflicts with file from package sl-release-7.9-1.sl7.x86_64
  file /etc/system-release-cpe from install of almalinux-release-8.6-2.el8.x86_64 conflicts with file from package sl-release-7.9-1.sl7.x86_64
  file /usr/lib/systemd/system-preset/90-default.preset from install of almalinux-release-8.6-2.el8.x86_64 conflicts with file from package sl-release-7.9-1.sl7.x86_64

I believe this is a result of the above issue - Leapp attempts to install a known AlmaLinux "release" package over an unknown Scientific one - because it is not aware of the associated Scientific repository.
To make the repositories known to the upgrade process, you'll need to create a corresponding set of data files.
AlmaLinux stores them in this repository.
Take a look here, in the subdirectories. These are used to build corresponding leapp-data-* RPM packages you have probably seen before.
The files leapp_upgrade_repositories.repo.el8 and repomap.json.el8 are of the primary interest here - to list the repos Leapp should use during the upgrade, and to map the repos present on the system to them.
The format should be relatively simple to understand. Ask if you have any questions about it.

Thanks for merging this.  Any chance this will make it into a released rpm anytime soon?  Or is there somewhere I can collect a test version?


Span renders line break as zero

From @triniwiz on May 22, 2017 11:26
In 2.5.x i used the following to get a simple icon above some text design
<Button [nsRouterLinkActiveOptions]="{exact:true }" [nsRouterLinkActive]="['active']" [nsRouterLink]="item.menuLink" textWrap="true">
        <FormattedString>

        </FormattedString>
    </Button>

result

In 3.0.x it results in the following

tns 3.0.1
tns-ios 3.0.0
core-modules: 3.0.0  and next
Copied from original issue: NativeScript/NativeScript#4251

Hi @triniwiz,
Thank you for reporting this issue,
I tested this case on my side and indeed this is a real issue in NativeScirpt Angular 2 application. This problem is not reproducible in while using a pure NativeScirpt app.
As a workaround, you could use the below-attached code, where the check, if there is text available, is made on the second span.
Example:
<StackLayout class="page">
    <GridLayout rows="" columns="">
        <Button  textWrap="true">
            <FormattedString>

            </FormattedString>
        </Button>
    </GridLayout>
</StackLayout>

@tsonevn  I didn't want to open a new bug but it also happen in other variation with android.
Let's draw :
444
123

Code :

Result ( OK) :

Now let's add :

Problem :

It should be opened as it doesn't respect ngIf.

@tsonevn Hi . I didn't want to open a new bug but it also happen in other variation with android.
Let's draw :
444
123

Code :

Result ( OK) :

Now let's add :

Problem :

It should be opened as it doesn't respect ngIf.
Update :
seems that putting two ngIf does solve it :

REsult :

Additional Info

That *ngIf problem was exactly what I was facing. Your solution resolved it for me! Thanks!


Fatal error when testing OpenCL-enabled plugin in standalone mode

I've made a test case for my C++ plugin that uses the maya/MOpenCL* libraries. The usage of those OpenCL libraries is similar to your cvWrap plugin.
I can run the test case interactively (from the Maya GUI), and the test passes. However, if I run the test from Maya's standalone interpreter, the entire interpreter crashes with nothing more than the classic "Fatal Error" error. The crash occurs when my plugin invokes the clCreateBuffer command.
Have you been able to run any tests on your cvWrap plug-in, using the standalone mode? I would try, but I'm not sure what's involved with getting cvWrap to run.
Thanks for any thoughts!

I did some more digging into this. I haven't resolved the problem yet, but made some progress.
It seems that, in my plugin, invoking the clCreateBuffer command returns the error cl_invalid_context, which I suppose suggests that the context given by MOpenCL::getOpenCLContext() is invalid. I tried understanding why this error occurs but didn't get anywhere.
From there I tried running scripts/cmt/test/mayaunittest.py using mayaBatch.exe rather than mayaPy.exe. This gives the same error as above, so no real surprises there.
I then removed the dependency on the maya/MOpenCL* libraries altogether and instead rewrote my plugin using the CL/cl.h header (from the OpenCL SDK for my machine, which is the Intel one in my case). With this rewrite, I can successfully run my plugin using mayaBatch.exe; however, it still fails with the same error on mayaPy.exe.


Add webp support for GD driver

imagewebp was added in php 5.5, so add webp support for the GD driver (handles half of https://github.com/Intervention/image/issues/233).
There's a bit more code here than one might initially expect, as while webp support is now technically in GD, the way it's been implemented seems to be a little inconsistent in parts. So while processing functions like imagewebp and imagecreatefromwebp exist, there is no IMAGETYPE_WEBP constant, so functions like image_type_to_mime_type and getimagesize don't work as smoothly as with more traditional image types. Mime type detection reports a webp image as application/octet-stream. So we have to override the mime type to image/webp when we have application/octet-stream and either have loaded the image so recognise the webp magic bytes at the start of the file, or fall back to file extension checking.

Thank you. Will be included in the next release.

Hm, you have a good point. These constants are not all in GD and the mime functions neither.
I will see what I can do get them updated in 5.5+. Idea being to centralized all that in 7.

Hi guys,
thanks for this amazing library. Quick question:
what is the release date for the next version and will it include this code?
Thanks.

Any news on when PR will be merged?

@conroyp is it possible to support webp in ImageMagik? Should be easier than gd....?

See https://github.com/Intervention/image/issues/233


Where to write the Prompts

I Installed it using the webui and after restart I went to fractal zoom tab and I see this:

Where to write the Prompts?

Hello Tobe2d, I just started this project around 2 days ago and there is no fully working extension yet, I haven't even done a release even though my local version is quite close. Not sure how you found this project but I'll make sure to finish and publish a working version in the next few days.
Here is an example of the current version: https://imgur.com/a/edj2RYs
I need to fix the resolution degradation before I make a working release.

@juanigsrz the example looks Amazing!!!!
Cant wait ;-)

Any news on this?


Updated footer images to include the new IARC logo

To review:

Make sure the new IARC logo is in the footer.

There may still be some issues with the spacing/layout.  Worth checking in with Carolyn and on another screen size or two.


AttributeError, 'function' has no attribute 'devices'

Taking one of the examples of the readme, and replacing gpt-2 by gpt-3.5 that I found in one of the examples, results in an error on my device. Running MacOS 13.4, Python 3.10. Let me know if you need to know other dependencies. Or if I can help bugfix :) Reckon it's OS related given the torch dependency, but haven't dug in the code.
Code:
import outlines.models as models
import outlines.text.generate as generate

model = models.text_completion.openai("gpt-3.5-turbo")

prompt = "Is 1+1=2? "
unguided = generate.continuation(model, max_tokens=30)(prompt)
guided = generate.regex(model, r"\s*([Yy]es|[Nn]o|[Nn]ever|[Aa]lways)", max_tokens=30)(prompt)

print("unguided: ", unguided)
# Is 1+1=2?
#
# This is probably the most perplexing question.
# As I said in one of my articles describing how
# I call 2 and 1, there isn't

print("guided: ", guided)
# # Is 1+1=2? Always

Traceback:
Traceback (most recent call last):
  File "/exeriment_outline.py", line 10, in <module>
    unguided = generate.continuation(model, max_tokens=30)(prompt)
  File "/Users/n/miniconda3/envs/c/lib/python3.10/site-packages/outlines/text/generate/continuation.py", line 107, in continuation
    return Continuation(model, max_tokens, stop)
  File "/Users/n/miniconda3/envs/c/lib/python3.10/site-packages/outlines/text/generate/continuation.py", line 23, in __init__
    super().__init__(model, max_tokens)
  File "/Users/n/miniconda3/envs/c/lib/python3.10/site-packages/outlines/text/generate/sequence.py", line 22, in __init__
    self.device = model.device
AttributeError: 'function' object has no attribute 'device'

This seems to be related to the fact the the code assume the model is running locally, and not via a remote API

This appears to be a duplicate of #227.


hyper-util's auto conn cannot be used without h2

For axum I'd like to give users the choice to only use http1 or http2 to avoid pulling in extra dependencies such as the h2 crate. That is not currently possible since enabling hyper-util's server-auto feature unconditionally enables http1 and http2.

Ah yea, that seems like a mistake. Removing it now would be breaking, right?
I haven't thought it all the way through, but could we add some way to detect if the features weren't enabled specifically, and add a warning, and then "break" a few releases later?
Or we could release 0.2 on the quicker side.

I think we have to make some breaking changes to the API because it currently uses things like Http2ServerConnExec which are only available when h2 is. Haven't thought hard about it but not sure if we can somehow change the trait bounds depending on which features are enabled 🤔

As of hyper-util v0.1.2, it can be.


Before and After not working in handler groups

Actual behavior (the bug)
It seems like before and after handler are being ignored when you build the routes with the EndpointGroup.
Following example:
import io.javalin.Javalin;

import static io.javalin.apibuilder.ApiBuilder.*;
import static io.javalin.apibuilder.ApiBuilder.after;

public class Main {
    public static void main(String[] args) {
        final var javalin = Javalin.create();

        javalin.routes(() -> path("foo", () -> {
            before(ctx -> System.out.println("I am before"));
            get(ctx -> System.out.println("I am now"));
            after(ctx -> System.out.println("I am after"));
        }));

        javalin.start(8080);
    }
}

Calling the endpoint produces following output:
I am now

Expected behavior
Calling the endpoint should produce following output instead:
I am before
I am now
I am after

To Reproduce
Using the example code above:

javalin 4.6.0
java 17

Additional context
Add any other context about the bug here

It's not really a bug, but the way how before & after handlers works without the specified path. If you won't specify it directly, it's /* which means that it will be executed if subpath for the given path will be called. So:

localhost:80/foo will print I am now
localhost:80/foo/bar will print I am before and I am after, but not the I am now

If you'd like to change this behavior, you can move before & after handlers outside of the path("foo") or just bound those handlers to the / explicitly just like that:
    javalin.routes {
        path("foo") {
            before("/") { ctx -> println("I am before") }
            get { ctx -> println("I am now") }
            after("/") { ctx -> println("I am after") }
        }
    }
}

Thx for the explanation.
I will close this issue since it's not a bug.


Natalia's tasks

@Natalia-Taft please segment pelvic girdle.

Hi Murat! I have not used github in a minute, so I am responding to this issue as requested :)


Comments on Should I store my files in Microsoft Teams or in SharePoint? An understanding of behind the scenes

In the docs UI, there's an option to give a thumbs up or down and add a comment. Unfortunately, that content isn't available anywhere except through some @JoanneHendrickson hocus-pocus.
Here are the comments on Should I store my files in Microsoft Teams or in SharePoint? An understanding of behind the scenes:

what happens the other way 'round? if someone is more comfortable working in sharepoint and uploads to the sharepoint library, does that automatically pull through to the teams site files section?

@veronicageek

@PatD - Whenever I do Teams training to customers, I always show them the relationship with SPO. Most of them are oblivious to the reality and only know Teams. I feel like clarity needs to be made. But then, they see you as "too technical".... 🤷🏻♀  #sad

@sympmarc - Late for that one, but how do we answer to those comments? And then you can close the issues.

When we get comments like this, I think it's just useful to decide if the article needs any adjustment to help with the comment/question. Even though this happened a while ago, do you think any updates make sense? If not, feel free to close, or let me know you'd like me to.

@sympmarc - I believe the answer is in the "How do I access my files?" section, I also mention at the end that the changes are always reflected.
You can close the issue (I don't seem to have the right to do that) - Thanks.

Great. Closing for you...


Compatible with AFNetworking?

I use AFNetworking in my project, and with XLRemoteImageView i get alot of compiler errors. Is XLRemoteImageView and AFNetworking compatible with eachother?

now AFNetworking 3.0 comes and it's not working with that.


[Marketplace] Add an "Update extensions" button

📝 Provide a description of the new feature
Permit the user to update all of his extensions, themes, apps and snippets installed via the marketplace :

remove every extensions/themes/snippets/apps
remove every source files (except preferences)
re-download everything
and finally apply and reload

I don't know how the marketplace handles all this, but it could remember the github.com/USER/REPO address, and then re-download the manifest file to get the latest version.
➕ Additional Information
A little button in the marketplace, maybe even a service that checks in the background everything installed, fetches the manifest, and check if updates are needed. If it is the case, a button in the top-left corner (like Spicetify updates) asks the user to update everything. If there is nothing to update, still allow the user to manually re-download everything by the button in the Marketplace page.

Marketplace injects extensions/custom apps/themes with script tag which is using jsdelivr.com cdn. This button wouldn't make such sense since cache is on CDN end and there's not much we can do. The simple spotify restart (CTRL+R) should load the latest version available in cdn

Basically, we do not provide any API in spicetify to work with file system. Spotify have it disabled too. There was some conversation about saving this stuff in localStorage, however it's limited in size (5MB iirc), and that wouldn't allow on much since it's shared and other extensions/custom apps use it as well

It might be relatively simple but poses a lot of security issues. Also might be complex, either way not the best idea.

Ok, thanks for answering my (very) noob questions 😂 !


Package "@angular-devkit/build-angular" has an incompatible peer dependency to "typescript" (requires "~4.2.3 || ~4.3.2", would install "4.5.5").

[ ] new
[ ] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[X ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
I'm trying to upgrade my project from angular 12 to 13.
using the cmd provided from here:
npx @angular/cli@13 update @angular/core@13 @angular/cli@13
🔬 Minimal Reproduction
run:
npx @angular/cli@13 update @angular/core@13 @angular/cli@13
🔥 Exception or Error

D:\personal\angular\bulma-angular>npx @angular/cli@13 update @angular/core@13 @angular/cli@13
Using package manager: 'npm'
Collecting installed dependencies...
Found 38 dependencies.
Fetching dependency metadata from registry...
Package '@angular/cli' is already up to date.
                  Package "@angular-devkit/build-angular" has an incompatible peer dependency to "typescript" (requires "~4.2.3 || ~4.3.2", would install "4.5.5").
× Migration failed: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.
  See "C:\Users\ads\AppData\Local\Temp\ng-5qeRWy\angular-errors.log" for further details.

🌍 Your Environment

Angular CLI: 13.2.5
Node: 14.15.4
Package Manager: npm 8.3.0
OS: win32 x64

Angular: 12.1.5
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1201.4
@angular-devkit/build-angular   12.1.4
@angular-devkit/core            12.1.4
@angular-devkit/schematics      13.2.5
@angular/cdk                    12.2.13
@angular/cdk-experimental       12.2.13
@angular/cli                    13.2.5
@schematics/angular             13.2.5
rxjs                            6.6.7
typescript                      4.3.5

Anything else relevant?

If i run the commands separeately, I notice it's trying to install 14.0.0-next.3 instead
ng update @angular/cdk
Using package manager: 'npm'
Collecting installed dependencies...
Found 38 dependencies.
Fetching dependency metadata from registry...
                  Package "@angular-devkit/build-angular" has an incompatible peer dependency to "@angular/compiler-cli" (requires "^12.0.0 || ^12.1.0-next" (extended), would install "14.0.0-next.3").
                  Package "@angular-devkit/build-angular" has an incompatible peer dependency to "typescript" (requires "~4.2.3 || ~4.3.2", would install "4.5.5").
                  Package "@angular/cdk-experimental" has an incompatible peer dependency to "@angular/cdk" (requires "12.2.13", would install "13.2.4").
                  Package "@fortawesome/angular-fontawesome" has an incompatible peer dependency to "@angular/core" (requires "^12.0.0" (extended), would install "14.0.0-next.3").× Migration failed: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.
  See "C:\Users\ads\AppData\Local\Temp\ng-mcuH34\angular-errors.log" for further details.

Can you please share your package.json?

Hi,
I’ve resolved by first deleting node modules folder and lock file. Then updated local typescript, and finally reinstalled the packages then ran the update commands with the force flag.


Profile object is empty

When I run
from instascrape import * \n g = Profile("https://instagram.com/google/") \n g.__dict__
The output is: {'source': 'https://instagram.com/google/', 'url': None, 'html': None, 'soup': None, 'json_dict': None, 'flat_json_dict': None, 'scrape_timestamp': None}

You need to run g.scrape() first to actually pull the data, then it should work.
@chris-greening you can close this


Feature Request

Add parameter that ensures a check persists state on the dashboard for a certain amount of time in seconds.
Example using check-log.rb looking for "error" every minute but I want the alert to persist on the dashboard for 5-30 minutes even if the subsequent checks within that 5-30 minutes are OK.

@davpx you probably want to use the check definition attribute "auto_resolve": false, so the event will persist (not resolving) and show on the dashboard until someone resolves it manually.
https://github.com/sensu/sensu/blob/master/lib/sensu/server/process.rb#L354
This feature still need to be documented. We are creating an associated issue to have this done.

Please close this out if this works for you :+1:

Docs issue for this being tracked @ https://github.com/sensu/sensu-docs/issues/303

This should achieve the desired effect. I've turned this on for the checks I need to behave as such and will watch to see if it helps. I do think a configureable timespan would be beneficial to some. Or multi-level handlers perhaps, example: occurrences > 3 do this, occurrences > 10 do something else and so on.
Thanks for following up. I'll close this down.

This actually does not achieve the desired effect. The alert does indeed not auto resolve but when the user resolves the alert, it it not resolved at the handler.

Saw this working on another handler. Updated the problematic one and is working as needed. Thanks


Initial Project Setup

LGTM
Thanks @SBagaria2710
@nandita1 is there anything you'd like updated? If not, I'll go ahead and merge this

LGTM
Thanks @SBagaria2710
@nandita1 is there anything you'd like updated? If not, I'll go ahead and merge this

Yeah @akankshadharkar you can merge it


Update descriptions of preferences

Changed True to Boolean value true in the descriptions. Also changed description of jslint.options/stupid.
CC: @abose

Thanks for the quick fix. :cool:
@rawat11 I think you asked for one of the changed in this PR jslint.options/stupid


Refactor using implicit principal and vault based config

Use IConfiguration and IOptions to replace command line arg environment variable pointers with rich overloadable config system.  This allows users to specify config values as environment variables, command line args, and in json files.  It allows developers to use UserSecrets for secure dev-time overrides without worrying about committing the secrets to the repo.   It also allows developers to, instead of explicit values stored in environment variables, specify key vault secret uris in configuration that are resolved at runtime.

How many pipelines/codeowner lookups is this tool going to be doing per run? In some cases where we parse all pipelines, we have resorted to grabbing the entire github->msft alias mapping via one API call (which takes 10-15s) and caching that, rather than doing individual lookups.

How many pipelines/codeowner lookups is this tool going to be doing per run?

We're processing ~250 github aliases in 10-15s

In some cases where we parse all pipelines, we have resorted to grabbing the entire github->msft alias mapping via one API call (which takes 10-15s) and caching that, rather than doing individual lookups.

I'd like to see that api info if you have it


blufi error - not working anymore (IDFGH-2394)

C:\Users\filze\Desktop\esp-idf\examples\bluetooth\bluedroid\ble\blufi>idf.py build flash monitor
Executing action: all (aliases: build)
Running ninja in directory c:\users\filze\desktop\esp-idf\examples\bluetooth\bluedroid\ble\blufi\build
Executing "ninja all"...
[1/8] Performing build step for 'bootloader'
ninja: no work to do.
[6/6] Generating binary image from built executable
esptool.py v2.9-dev
Generated C:/Users/filze/Desktop/esp-idf/examples/bluetooth/bluedroid/ble/blufi/build/blufi_demo.bin
Executing action: flash
Choosing default port b'COM4' (use '-p PORT' option to set a specific serial port)
Running esptool.py in directory c:\users\filze\desktop\esp-idf\examples\bluetooth\bluedroid\ble\blufi\build
Executing "C:\Users\filze.espressif\python_env\idf4.1_py3.7_env\Scripts\python.exe C:\Users\filze\Desktop\esp-idf\components/esptool_py/esptool/esptool.py -p COM4 -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash @flash_project_args"...
esptool.py -p COM4 -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x8000 partition_table/partition-table.bin 0x1000 bootloader/bootloader.bin 0x10000 blufi_demo.bin
esptool.py v2.9-dev
Serial port COM4
Connecting......
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, BLK3 partially reserved, Coding Scheme 3/4
Crystal is 40MHz
MAC: 30:ae:a4:c6:8d:34
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Compressed 3072 bytes to 103...
Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (effective 202.0 kbit/s)...
Hash of data verified.
Compressed 25920 bytes to 15307...
Wrote 25920 bytes (15307 compressed) at 0x00001000 in 0.5 seconds (effective 440.5 kbit/s)...
Hash of data verified.
Compressed 974016 bytes to 603072...
Wrote 974016 bytes (603072 compressed) at 0x00010000 in 18.4 seconds (effective 424.5 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Executing action: monitor
Running idf_monitor in directory c:\users\filze\desktop\esp-idf\examples\bluetooth\bluedroid\ble\blufi
Executing "C:\Users\filze.espressif\python_env\idf4.1_py3.7_env\Scripts\python.exe C:\Users\filze\Desktop\esp-idf\tools/idf_monitor.py -p COM4 -b 115200 --toolchain-prefix xtensa-esp32-elf- c:\users\filze\desktop\esp-idf\examples\bluetooth\bluedroid\ble\blufi\build\blufi_demo.elf -m 'C:\Users\filze.espressif\python_env\idf4.1_py3.7_env\Scripts\python.exe' 'C:\Users\filze\Desktop\esp-idf\tools\idf.py'"...
--- idf_monitor on COM4 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
configsip: 0, SPIWP:0xeeboot:0x1e (SPI_FAST_FLASH_BOOT)
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:7172
load:0x40078000,len:14172
load:0x40080400,len:4472
0x40080400: _init at ??:?
entry 0x400806f0
I (71) boot: Chip Revision: 1
I (71) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (38) boot: ESP-IDF v4.1-dev-1543-g431066f16 2nd stage bootloader
I (39) boot: compile time 11:50:40
I (39) boot: Enabling RNG early entropy source...
I (45) boot: SPI Speed      : 40MHz
I (49) boot: SPI Mode       : DIO
I (53) boot: SPI Flash Size : 2MB
I (57) boot: Partition Table:
I (60) boot: ## Label            Usage          Type ST Offset   Length
I (68) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (75) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (83) boot:  2 factory          factory app      00 00 00010000 00100000
I (90) boot: End of partition table
I (94) boot_comm: chip revision: 1, min. application chip revision: 0
I (101) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x24a1c (150044) map
I (165) esp_image: segment 1: paddr=0x00034a44 vaddr=0x3ffbdb60 size=0x038a4 ( 14500) load
I (171) esp_image: segment 2: paddr=0x000382f0 vaddr=0x40080000 size=0x00404 (  1028) load
0x40080000: _WindowOverflow4 at C:/Users/filze/Desktop/esp-idf/components/freertos/xtensa_vectors.S:1778
I (172) esp_image: segment 3: paddr=0x000386fc vaddr=0x40080404 size=0x0791c ( 31004) load
I (193) esp_image: segment 4: paddr=0x00040020 vaddr=0x400d0020 size=0xa9a84 (694916) map
0x400d0020: _stext at ??:?
I (444) esp_image: segment 5: paddr=0x000e9aac vaddr=0x40087d20 size=0x141e4 ( 82404) load
0x40087d20: vhci_recv_end at vhci.c:?
I (496) boot: Loaded app from partition at offset 0x10000
I (496) boot: Disabling RNG early entropy source...
I (497) cpu_start: Pro cpu up.
I (500) cpu_start: Application information:
I (505) cpu_start: Project name:     blufi_demo
I (510) cpu_start: App version:      v4.1-dev-1543-g431066f16
I (517) cpu_start: Compile time:     Dec 18 2019 11:49:22
I (523) cpu_start: ELF file SHA256:  f4795d0699a9c763...
I (529) cpu_start: ESP-IDF:          v4.1-dev-1543-g431066f16
I (535) cpu_start: Starting app cpu, entry point is 0x40081290
0x40081290: call_start_cpu1 at C:/Users/filze/Desktop/esp-idf/components/esp32/cpu_start.c:276
I (0) cpu_start: App cpu up.
I (546) heap_init: Initializing. RAM available for dynamic allocation:
I (553) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (559) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (565) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (571) heap_init: At 3FFBDB5C len 00000004 (0 KiB): DRAM
I (577) heap_init: At 3FFCBDA0 len 00014260 (80 KiB): DRAM
I (583) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (589) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (596) heap_init: At 4009BF04 len 000040FC (16 KiB): IRAM
I (602) cpu_start: Pro cpu start user code
I (620) spi_flash: detected chip: generic
I (621) spi_flash: flash io: dio
W (621) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (631) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (737) wifi: wifi driver task: 3ffcf538, prio:23, stack:3584, core=0
I (737) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (737) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (767) wifi: wifi firmware version: 6f23db2
I (767) wifi: config NVS flash: enabled
I (767) wifi: config nano formating: disabled
I (767) wifi: Init dynamic tx buffer num: 32
I (767) wifi: Init data frame dynamic rx buffer num: 32
I (777) wifi: Init management frame dynamic rx buffer num: 32
I (777) wifi: Init management short buffer num: 32
I (787) wifi: Init static rx buffer size: 1600
I (787) wifi: Init static rx buffer num: 10
I (797) wifi: Init dynamic rx buffer num: 32
I (887) phy: phy_version: 4180, cb3948e, Sep 12 2019, 16:39:13, 0, 0
I (897) wifi: mode : sta (30:ae:a4:c6:8d:34)
I (897) BTDM_INIT: BT controller compile version [79dd6f1]
I (897) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (1227) BLUFI_EXAMPLE: BD ADDR: 30:ae:a4:c6:8d:36
I (1227) BLUFI_EXAMPLE: BLUFI VERSION 0102
I (1227) BLUFI_EXAMPLE: BLUFI init finish
I (53437) BLUFI_EXAMPLE: BLUFI ble connect
I (59287) BLUFI_EXAMPLE: BLUFI ble disconnect
I (59637) BLUFI_EXAMPLE: BLUFI ble connect
W (59737) BT_HCI: reassemble_and_dispatch found unfinished packet for handle with start packet. Dropping old.
E (60377) BLUFI_EXAMPLE: blufi_dh_negotiate_data_handler, blufi_sec->dh_param == NULL
E (60377) BLUFI_EXAMPLE: BLUFI report error, error code 6
I (65527) BLUFI_EXAMPLE: BLUFI ble disconnect
I (66077) BLUFI_EXAMPLE: BLUFI ble connect
W (66167) BT_HCI: reassemble_and_dispatch found unfinished packet for handle with start packet. Dropping old.
E (66767) BLUFI_EXAMPLE: blufi_dh_negotiate_data_handler, blufi_sec->dh_param == NULL
E (66777) BLUFI_EXAMPLE: BLUFI report error, error code 6
I (71917) BLUFI_EXAMPLE: BLUFI ble disconnect

Blufi example is not working anymore, its build and run, but when using the original blufi app to connect to it, always an error occur.
please advise.

found out, there was a complete change in blufi sdk, so, must update all codes to android 1.5 and new ios app code. After that, blufi work great again.


cppfront: init at unstable-2023-05-15

Description of changes
Quoting upstream

Cppfront is an experimental compiler from a potential C++ 'syntax 2' (Cpp2) to today's 'syntax 1' (Cpp1), to learn some things, prove out some concepts, and share some ideas. This compiler is a work in progress and currently hilariously incomplete... basic functions work, classes will be next, then metaclasses and lightweight exceptions.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 232736 run on x86_64-linux 1

1 package built:

cppfront

it now has the first tagged release https://github.com/hsutter/cppfront/releases/tag/v0.7.0


Redesign BQL

weeeep

This looks very fun, and with some VV integration it could be extremely powerful too-
Good job!

if it kills getentitieswithcomponent then good


Subnetwork support

Hello!
Please review this pull request for #164 issue.

@Temikus could you please review this pull request?
fog-google with subnetwork support has been released.
Rake test results (with this small fix) are below:
lkuntar@lkuntar-VirtualBox:~/workspace/forks/vagrant-google$ bundle exec rake
/usr/bin/ruby2.2 -S rspec test/unit/common/config_test.rb --color
.................................................................

Deprecation Warnings:

Use of rspec-core's `its` method is deprecated. Use the rspec-its gem instead. Called from /home/lkuntar/workspace/forks/vagrant-google/test/unit/common/config_test.rb:33:in `block (2 levels) in <top (required)>'.
Use of rspec-core's `its` method is deprecated. Use the rspec-its gem instead. Called from /home/lkuntar/workspace/forks/vagrant-google/test/unit/common/config_test.rb:34:in `block (2 levels) in <top (required)>'.
Use of rspec-core's `its` method is deprecated. Use the rspec-its gem instead. Called from /home/lkuntar/workspace/forks/vagrant-google/test/unit/common/config_test.rb:35:in `block (2 levels) in <top (required)>'.
Too many uses of deprecated 'Use of rspec-core's `its` method'. Pass `--deprecation-out` or set `config.deprecation_stream` to a file for full output.

`be_false` is deprecated. Use `be_falsey` (for Ruby's conditional semantics) or `be false` (for exact `== false` equality) instead. Called from /home/lkuntar/workspace/forks/vagrant-google/test/unit/common/config_test.rb:46:in `block (3 levels) in <top (required)>'.

If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.

45 deprecation warnings total

Finished in 0.45853 seconds
65 examples, 0 failures

Could someone review it please?
fog-google with subnetwork support has been released.
Rake test results (with this small fix) are below:
lkuntar@lkuntar-VirtualBox:~/workspace/forks/vagrant-google$ bundle exec rake
/usr/bin/ruby2.2 -S rspec test/unit/common/config_test.rb --color
.................................................................

Deprecation Warnings:

Use of rspec-core's `its` method is deprecated. Use the rspec-its gem instead. Called from /home/lkuntar/workspace/forks/vagrant-google/test/unit/common/config_test.rb:33:in `block (2 levels) in <top (required)>'.
Use of rspec-core's `its` method is deprecated. Use the rspec-its gem instead. Called from /home/lkuntar/workspace/forks/vagrant-google/test/unit/common/config_test.rb:34:in `block (2 levels) in <top (required)>'.
Use of rspec-core's `its` method is deprecated. Use the rspec-its gem instead. Called from /home/lkuntar/workspace/forks/vagrant-google/test/unit/common/config_test.rb:35:in `block (2 levels) in <top (required)>'.
Too many uses of deprecated 'Use of rspec-core's `its` method'. Pass `--deprecation-out` or set `config.deprecation_stream` to a file for full output.

`be_false` is deprecated. Use `be_falsey` (for Ruby's conditional semantics) or `be false` (for exact `== false` equality) instead. Called from /home/lkuntar/workspace/forks/vagrant-google/test/unit/common/config_test.rb:46:in `block (3 levels) in <top (required)>'.

If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.

45 deprecation warnings total

Finished in 0.45853 seconds
65 examples, 0 failures

Thanks for this @Wyosotis - looks good to me!

@erjohnso thank you for reviewing it.
May I know when approximately a new release would appear? Because the new features that have been merged since last release (e.g. SSH over private IP), considerably improve experience with vagrant-google in real tasks.

@Wyosotis So it looks like releasing a new version is not entirely trivial due to some dependency issues and the fact that bundler now disallows the hack that Vagrant uses to load up plugins in development.
I'll need some time to wrangle with it and do a prerelease.
I expect to address this sometime this/next week.

@Wyosotis Ok, this is even less trivial than I thought, it actually interferes with plugin loading itself so I cannot even do a rollback without breaking recent versions of vagrant it seems.
I'll spend more time figuring this out this Friday, hopefully I'll be able to find a workaround which doesn't require a lot of rewriting.


switched from goja to sobek, and upgraded k6 to v0.54.0

this extension stopped compiling with the latest k6, this should fix it.

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

Hi @bumberboy !
Thanks for the contribution! However, I am interested in your use case for this extension since the timers functionality is part of K6 and became globally available in K6 v0.51.0. So, no extensions are required to use them.
@mstoykov is that correct? should we also update the README and make this repo a public archive?

@olegbespalov is correct - this repository is no longer needed. I have added a warning with #11 and will now archive the repo.
Sorry for the confusion @bumberboy :bow:


Layers[152].output and Layers[92].output

Why layer index is 152 and 92? Does Layers of Model include Conv2d, BatchNorm and LeakyRelu? Thanks!

Same confuse here, have you figured it out?  @smalldroid

If you list all the layers out, you will see why. Basically, those are the two output layers of darknet model (for tiny yolo). For full yolo, the are 3 outputs of darknet model. Please refer to the paper for more explanation.


Proselint linting Vue files

I had Vue with pug/js/sass working well with ALE when I was using ESLint and a Vue plugin. After I added HTMLHint globally it started giving linting errors throughout the Vue file. With all linters removed it still gave errors, I figure it was using system Tidy, which for some reason wasn't used beforehand. Figured I should update Tidy since I can't remove it anyways.
I've tried changing syntax and filetypes in Nvim multiple times throughout the process, it helps but it's tedious manually changing those in each file and vim resets them anytime the buffer changes.
Added Proselint and it also jumps onto Vue files. Is this a Nvim/Vim issue ?

Could you paste the output of :ALEInfo?

 Current Filetype: vue.html.javascript.css
Available Linters: ['htmlhint', 'proselint', 'tidy', 'eslint', 'flow', 'jscs', 'jshint', 'standard', 'xo', 'csslint', 'stylelint']
  Enabled Linters: ['htmlhint', 'proselint', 'tidy', 'eslint', 'flow', 'jscs', 'jshint', 'standard', 'xo', 'csslint', 'stylelint']
 Linter Variables:

let g:ale_css_stylelint_executable = 'stylelint'
let g:ale_css_stylelint_options = ''
let g:ale_css_stylelint_use_global = 0
let g:ale_html_htmlhint_executable = 'htmlhint'
let g:ale_html_htmlhint_options = '--format=unix'
let g:ale_html_htmlhint_use_global = 0
let g:ale_html_tidy_args = '-q -e -language en'
let g:ale_html_tidy_executable = 'tidy'
let g:ale_javascript_eslint_executable = 'eslint'
let g:ale_javascript_eslint_options = ''
let g:ale_javascript_eslint_use_global = 0
let g:ale_javascript_flow_executable = 'flow'
let g:ale_javascript_flow_use_global = 0
let g:ale_javascript_jshint_executable = 'jshint'
let g:ale_javascript_jshint_use_global = 0
let g:ale_javascript_standard_executable = 'standard'
let g:ale_javascript_standard_options = ''
let g:ale_javascript_standard_use_global = 0
let g:ale_javascript_xo_executable = 'xo'
let g:ale_javascript_xo_options = ''
let g:ale_javascript_xo_use_global = 0
 Global Variables:

let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '%s'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_keep_list_window_open = 0
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 1
let g:ale_lint_on_save = 0
let g:ale_lint_on_text_changed = 1
let g:ale_linter_aliases = {}
let g:ale_linters = {}
let g:ale_open_list = 0
let g:ale_set_highlights = 1
let g:ale_set_loclist = 1
let g:ale_set_quickfix = 0
let g:ale_set_signs = 1
let g:ale_sign_column_always = 0
let g:ale_sign_error = '>>'
let g:ale_sign_offset = 1000000
let g:ale_sign_warning = '--'
let g:ale_statusline_format = ['%d error(s)', '%d warning(s)', 'OK']
let g:ale_warn_about_trailing_whitespace = 1
  Command History:

(finished - exit code 1) 'proselint /var/folders/n4/mk2_r9md1q1g24s3_pw00hr80000gn/T/nvimsCTIMP/3/home.vue'
(finished - exit code 1) 'tidy -q -e -language en -utf8 - < /var/folders/n4/mk2_r9md1q1g24s3_pw00hr80000gn/T/nvimsCTIMP/4/home.vue'
(finished - exit code 1) 'standard  --stdin /Users/cv/Desktop/spring-17/mobile-ii/source_and_extracted_packages/twitter-app/src/home.vue < /var/folders/n4/mk2_r9md1q1g24s3_pw00hr80000gn/T/nvimsCTIMP/5/home.vue'
(finished - exit code 1) 'proselint /var/folders/n4/mk2_r9md1q1g24s3_pw00hr80000gn/T/nvimsCTIMP/6/home.vue'
(finished - exit code 1) 'tidy -q -e -language en -utf8 - < /var/folders/n4/mk2_r9md1q1g24s3_pw00hr80000gn/T/nvimsCTIMP/7/home.vue'
(finished - exit code 1) 'standard  --stdin /Users/cv/Desktop/spring-17/mobile-ii/source_and_extracted_packages/twitter-app/src/home.vue < /var/folders/n4/mk2_r9md1q1g24s3_pw00hr80000gn/T/nvimsCTIMP/8/home.vue'

Aha, your filetype is set to vue.html.javascript.css. You'll be running all available linters for html because of that. You can change which linters are run for html files by creating a List for the 'html' key in g:ale_linters. See :help g:ale_linters.

We decided to revert the vue.html.javascript.css filetype to vue, so this is no longer a problem.
However, this leaves me with the question: where should we configure ALE to make eslint work in Vue files?
Should it be done in this repository or is it easier to add it in the vim-vue repository?
Eslint can work with Vue files through eslint-plugin-vue, so it could use the same configuration as javascript.

Using a plugin like that makes sense. I recommend using a similar strategy to the one described here: https://github.com/w0rp/ale#faq-jsx-stylelint-eslint

Add a plugin for supporting the new syntax in your new filetype.
Alias the new filetype to the existing one, and limit the tools you run for the original filetype, (In this case, vue), so you only use those linters.

See :help g:ale_linters and :help g:ale_linter_aliases.

I have a, I think. related question. In the case of setting a new filetype, like vue, is it possible to alias it to multiple filetypes? like
let g:ale_linter_aliases.vue = 'html.css.scss.javascript'
or
let g:ale_linter_aliases.vue = ['html, 'css, 'scss, 'javascript']
Actually, I've tried both and neither one worked. The first approach resulted on an empty list of available linters and the second one resulted on an error.
I couldn't find anywhere in the helps a solution for this.

That's not supported at the moment. I might implement that later.

would mind if I give it a try?

Go for it, especially if you add some tests.

Multiple filetype aliases are supported now, and the help above should answer the other questions.


specify a way to match url pathnames and avoid querystring issues

Greetings 👋👋
This is a mix of a README update and an inquiry for some advice on a problem I ran into.
problem: I make a route like routes.add('GET /', renderHomePage) but the link doesn't work when people add querystrings. This is typical when people use a platform like Buffer to share your link (Buffer adds a bunch of share meta data as a querystring parameter).
solution:  Though there a couple ways to handle this, the way that I feel is easiest to communicate is by only matching pathnames, rather than the whole req.url string.
example:
  var path = url.parse(req.url).pathname
  var match = patterns.match(req.method + ' ' + path);

Unless there is a better way to handle this that I'm missing.   I really like patterns and use it heavily (and recommend it to others).  Thanks for making it! 🌴

@jekrb Good idea 😃 Thanks you so much for the contribution!


Functionality request

Would you be able to add a xmr miner to the bot with a statistics page on the web panel?

Hey, we actually work on a better version of the client. So we think to add a crypto miner. Using a fork that download a simple miner from url and execute it .

Hey, we actually work on a better version of the client. So we think to add a crypto miner. Using a fork that download a simple miner from url and execute it .

Will it be on a new repo or updated on this one?

On this one
Le mer. 10 août 2022, 02:29, RaquisDawLn @.***> a
écrit :

Hey, we actually work on a better version of the client. So we think to
add a crypto miner. Using a fork that download a simple miner from url and
execute it .
Will it be on a new repo or updated on this one?
—
Reply to this email directly, view it on GitHub
https://github.com/PandeoF1/px_botnet/issues/10#issuecomment-1210020219,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN5LJN2CIFVRNSWNXO5FMVDVYLZVVANCNFSM55UTNTJA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


[Error] Script breaks

The script breaks when there's an item failed to add and the user continues to add new items. For example, the user added an "Air Strike" to the listing and it failed, when the user tries to add other new items to the listings, the script breaks with an error.
Error:
C:\Users\User\Desktop\tf2-automatic-gui-master\utils.js:292
if (pricelist[i].sku == items[j].sku) {
^
TypeError: Cannot read property 'sku' of undefined
at C:\Users\User\Desktop\tf2-automatic-gui-master\utils.js:292:42
at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
Press any key to continue . . .

Could you paste what you put in at first, and what you put in after, that caused the error.

This is another crash but I might just put it here as well. https://imgur.com/a/yRgP9a7

And update to the script break issue I mention above. It seems like it also happens when the user successfully add all the items, even without failed ones. The script will crash on the second attempt of adding new items. Screenshots: https://imgur.com/a/pTzcRRT

This should fix both of them, please test and let me know ^^

Working fine now but there're still some items failed to add for some reasons.

Which?

I don't really know tbh. I am adding 400+ listings at once and there're around 30 failed

Should only do that if its unable to get a price, will see about #3 later.


Highlighted new using statement

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

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

TTYL, DNFBOT;

:shipit:


Wrap sessionStorage try catch

Description
Apparently, some browsers error instead of returning null or undefined when accessing globalThis.sessionStorage. This prevents that from crashing.
Reviewer Guidance
The review process is outlined on this wiki page.

@CraigMacomber Can we make sure to go through all the code that is published via npm and make sure that there are no more instances of sessionStorage or localStorage without this check?

sessionStorage

@CraigMacomber Can we make sure to go through all the code that is published via npm and make sure that there are no more instances of sessionStorage or localStorage without this check?

The only other use of sessionStorage I can find is in local-driver, which can't work without it anyway.
gcSweepReadyUssageDetection directly accesses globalThis.localStorage which might be an issue if it behaves the same.

The gcSweepreadyUsageDetection is dead code after this PR - https://github.com/microsoft/FluidFramework/pull/14769. I will create an issue to fix or remove it nonetheless.

The gcSweepreadyUsageDetection is dead code after this PR - #14769. I will create an issue to fix or remove it nonetheless.

https://dev.azure.com/fluidframework/internal/_workitems/edit/3824


augustus: 2.0.1 -> 3.0.1

Motivation for this change
Version bump
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 124195 run on x86_64-linux 1

1 package built:

augustus

Duplicate of #123427


Eco mode

Is eco mode supported by the current implementation? I am unable to locate a configuration node that allows setting it.

Looks like Eco is supported as Away under the thermostat mode. The text doesn't say Eco but I am guessing this is an enumeration of standard ISY CLIMD options.


Disallow top-level def super and def previous_def

Because there is no way to call this.

Doubt. We can call such a top-level def super via a file private implicit module.
private def module_self
  self
end

def super
  p :super
end

module_self.super

But it seems like a bug because it does not compile if def module_self is public or protected.

Can't this be done in TopLevelVisitor instead? (FunDef does a similar check there.)


[HBASE-28364] Warn: Cache key had block type null, but was found in L1

Remove log Warn: Cache key had block type null, but was found in L1

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m  0s

Docker mode activated.

-1 :x:
docker
0m  3s

Docker failed to build run-specific yetus/hbase:tp-21070}.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/6068

JIRA Issue
HBASE-28364

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6068/1/console

versions
git=2.17.1

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 40s

Docker mode activated.

-0 :warning:
yetus
0m  5s

Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck

_ Prechecks _

_ branch-2.6 Compile Tests _

+1 :green_heart:
mvninstall
2m 58s

branch-2.6 passed

+1 :green_heart:
compile
0m 51s

branch-2.6 passed

+1 :green_heart:
javadoc
0m 26s

branch-2.6 passed

+1 :green_heart:
shadedjars
5m 40s

branch has no errors when building our shaded downstream artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 48s

the patch passed

+1 :green_heart:
compile
0m 51s

the patch passed

+1 :green_heart:
javac
0m 51s

the patch passed

+1 :green_heart:
javadoc
0m 25s

the patch passed

+1 :green_heart:
shadedjars
5m 40s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
201m 24s

hbase-server in the patch passed.

225m 52s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6068/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6068

JIRA Issue
HBASE-28364

Optional Tests
javac javadoc unit compile shadedjars

uname
Linux f47c8f12a839 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.6 / 89cbb9476374872ca725b7f05bdae31185bce5c0

Default Java
Eclipse Adoptium-17.0.11+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6068/1/testReport/

Max. process+thread count
4461 (vs. ulimit of 30000)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6068/1/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 56s

Docker mode activated.

-0 :warning:
yetus
0m  5s

Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck

_ Prechecks _

_ branch-2.6 Compile Tests _

+1 :green_heart:
mvninstall
2m 34s

branch-2.6 passed

+1 :green_heart:
compile
0m 39s

branch-2.6 passed

+1 :green_heart:
javadoc
0m 25s

branch-2.6 passed

+1 :green_heart:
shadedjars
5m 15s

branch has no errors when building our shaded downstream artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 18s

the patch passed

+1 :green_heart:
compile
0m 39s

the patch passed

+1 :green_heart:
javac
0m 39s

the patch passed

+1 :green_heart:
javadoc
0m 23s

the patch passed

+1 :green_heart:
shadedjars
5m 17s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
220m 21s

hbase-server in the patch passed.

243m 45s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6068/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6068

JIRA Issue
HBASE-28364

Optional Tests
javac javadoc unit compile shadedjars

uname
Linux 7cc6d38bfa1b 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.6 / 89cbb9476374872ca725b7f05bdae31185bce5c0

Default Java
Temurin-1.8.0_412-b08

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6068/1/testReport/

Max. process+thread count
4302 (vs. ulimit of 30000)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6068/1/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 19s

Docker mode activated.

-0 :warning:
yetus
0m  5s

Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck

_ Prechecks _

_ branch-2.6 Compile Tests _

+1 :green_heart:
mvninstall
3m  1s

branch-2.6 passed

+1 :green_heart:
compile
0m 51s

branch-2.6 passed

+1 :green_heart:
javadoc
0m 27s

branch-2.6 passed

+1 :green_heart:
shadedjars
5m 28s

branch has no errors when building our shaded downstream artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 52s

the patch passed

+1 :green_heart:
compile
0m 50s

the patch passed

+1 :green_heart:
javac
0m 50s

the patch passed

+1 :green_heart:
javadoc
0m 27s

the patch passed

+1 :green_heart:
shadedjars
5m 29s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

-1 :x:
unit
241m 14s
/patch-unit-hbase-server.txt
hbase-server in the patch failed.

265m 38s

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6068/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6068

JIRA Issue
HBASE-28364

Optional Tests
javac javadoc unit compile shadedjars

uname
Linux 7fa0093ca37e 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.6 / 89cbb9476374872ca725b7f05bdae31185bce5c0

Default Java
Eclipse Adoptium-11.0.23+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6068/1/testReport/

Max. process+thread count
4672 (vs. ulimit of 30000)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6068/1/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.


[typescript] Illustrate issue with ambiguous css class names

Adresses #12277. See this issuecomment for further explanation.

@eps1lon Well done!