Switch to faster micromatch lib

Why switch to micromatch?

Native support for multiple glob patterns, no need for wrappers like multimatch
10-55x faster and more performant than minimatch and multimatch. This is achieved through a combination of caching and regex optimization strategies, a fundamentally different approach than minimatch.
More extensive support for the Bash 4.3 specification
More complete extglob support
Extensive unit tests (approx. 1,300 tests). Minimatch fails many of the tests.

See: https://github.com/jonschlinkert/micromatch#why-switch-to-micromatch

Check out https://github.com/micromatch/glob-fs and https://github.com/micromatch/bash-glob, both created by micromatch's author.

No.
There are several cases where micromatch does not implement bash semantics as faithfully as this library requires.  These are explained in detail on the readme.  Also, the benefit of using minimatch is that I maintain it, so when it needs to change to support glob, that's very easy for me to do.  Both of these would be dealbreakers anyway.
Furthermore, please be aware that benchmarks must be read very carefully, and can easily be misleading, even if the creator of those benchmarks isn't intending them to be.
The actual matching of glob is (a) not the slow part, and (b) not significantly improved by using micromatch's patterns rather than minimatch's.  Micromatch creates patterns faster, but that happens exactly 1 time per pattern per glob operation.  The n for a glob operation is the number of files it has to test, the number of directories that need to be read, etc.  If a module can generate a million patterns per ms, that's not significantly different than a module that can only generate 1 pattern per ms, because the glob walk takes tens (or in large folder trees with complicated patterns, hundreds) of ms to complete, with variance well above ±1ms.
I had wondered if maybe minimatch's anchoring and dot-preventing lookaheads imposed a performance penalty.  Towards that end, I've tested extensively how this impacts the actual glob performance, if there's some benefit to using the regular expressions generated by picomatch or micromatch.  There really isn't.  Even just running them in a tight loop calling pattern.test(path) over and over again, it's not measurably different.  (There is often a difference but it's owing to noise; it is inconsistent and not statistically significant.)
Also, since the most common patterns, by far, in use in glob expressions are **, *.<some extension>, *, and some number of question marks followed by an extension, minimatch now has fast-path shortcuts for those patterns in particular.  Meaning, in a very practical sense, using minimatch with glob is both more correct, and faster, than using micromatch or picomatch, even though those libraries are faster when used directly.

Thank you for your answer.
I wonder why these statements are made then?
May I ask you to provide concrete sources?
https://github.com/micromatch/micromatch#why-use-micromatch

More complete support for the Bash 4.3 specification than minimatch and multimatch. Micromatch passes all of the spec tests from bash, including some that bash still fails.
Fast & Performant - Loads in about 5ms and performs fast matches.
Accurate - Covers more scenarios https://github.com/yarnpkg/yarn/pull/3339

How does micromatch handle security concerns?

Safe - Micromatch is not subject to DoS with brace patterns like minimatch and multimatch.

I'm not really the one to ask about those statements, since I didn't make them ;)
The differences between Bash and micromatch/picomatch that I've found are explained in some detail in the readme on this repo, under the "Comparisons with Other JavaScript Glob Implementations" heading.  (One point that's missed there, the POSIX standard classes are actually not as accurate as they are in minimatch, for example [[:alpha:]] won't match 'é'.  But minimatch having support for those at all is a very recent development.)  It passes the spec tests in bash 4.3's test suite, but there are clear examples where it doesn't behave the same as bash, as evidenced by the extensive test suite that minimatch and glob use, which submit bash 5 to a battery of extreme examples and verifies that they all are handled the same way.  Minimatch isn't exactly 100% correct either, though; there are some edge cases that are just nearly impossible to do well in a regular expression, but it's much closer.
Micromatch is faster, as I said, but not in any way that matters for glob's use case.  If you're evaluating a lot of patterns to essentially test once and throw away, especially if it's in a hot path, yeah, it'll be worthwhile to use micromatch or picomatch if the bash coherence isn't a dealbreaker for you (and there are a lot of cases like that).  But glob doesn't do that, it parses the pattern one time in way less than 1ms (whether using micromatch or minimatch), then spends absolute ages by comparison doing a ton of file system operations.
So I'm not saying one is "better" than the other, just that the tradeoffs of using minimatch make it a much better, um, match for this library.

Alright.
Thank you for taking the time to give an thorough answer.


Single Field Tables Fail

I know this is nitpicking because it makes no sense to have a table with nothing in it but a primary key, but I ran into this odd bug during some testing:

Obviously the workaround is to make sure one includes at least one meaningful field besides the primary key or any that are being ignored. I don't know if this could even be considered a bug other than the fact that it is conceivable to have tables with nothing but primary keys that link together others.
Thanks again for this great tool.

Thanks for the report on this.  Usually if it's a primary and foreign key it would be unlikely to require an update.  We did make some changes lately to allow it to be inserted properly if it's not an auto-incremented key.
This one might be hard to solve since the c.Handle that is passed would be both the lookup and the updated field so it would be a noop or error in the WHERE clause.  Maybe in these cases we should omit the Update method altogether?

Yeah, that would probably be the easiest. That way at least the code will
compile.
Rob Muhlestein
@SkilStak http://twitter.com/skilstak, Inc.
<EMAIL_ADDRESS>704-310-6778
@robmuh http://twitter.com/robmuh
On Sun, Apr 9, 2017 at 4:29 PM, James Culbertson<EMAIL_ADDRESS>wrote:

Thanks for the report on this. Usually if it's a primary and foreign key
it would be unlikely to require an update. We did make some changes lately
to allow it to be inserted properly if it's not an auto-incremented key.
This one might be hard to solve since the c.Handle that is passed would be
both the lookup and the updated field so it would be a noop or error in the
WHERE clause. Maybe in these cases we should omit the Update method
altogether?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/knq/xo/issues/96#issuecomment-292810702, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ADk0y2simYfBvooFXxQEMr2VR94y2xb0ks5ruT-NgaJpZM4M4DFI
.

This is not difficult to fix, but it does beg the question what would be the purpose of fixing this? Fixing this in the base templates would end up cluttering up the templates pretty badly, especially since the Go template syntax is not the most elegant thing in the world. Is there an absolute requirement to fix this? In many ways, this exposes a problem/mistake that the database developer has made...
I haven't tried it, but can you even do a SELECT * against a table with NO FIELDS? Or can you do a SELECT without specifying a single field? Additionally, will the various databases even "parse" UPDATE TABLE as correct? Because there's no "select clause" in the update statement.

I just tried this in PostgreSQL -- you can have an empty field list in the SELECT, but there is NO way that I can see to craft an UPDATE statement that is valid with a table that has no fields:
booktest=> create table t;
ERROR:  syntax error at or near ";"
LINE 1: create table t;
                      ^
booktest=> create table t();
CREATE TABLE
booktest=> select * from t;
--
(0 rows)

booktest=> select from t;
--
(0 rows)

booktest=> update t;
ERROR:  syntax error at or near ";"
LINE 1: update t;
                ^
booktest=> update t set;
ERROR:  syntax error at or near ";"
LINE 1: update t set;
                    ^
booktest=> update t set();
ERROR:  syntax error at or near ")"
LINE 1: update t set();
                     ^
booktest=>

For the record, I'm willing to fix this, but I literally don't know how this even makes sense. What's the point of generating code with xo that generates a single empty struct that has no fields, no retrieval methods, and no update/delete methods?

While it is definitely extremely rare, I could see a use case for a table
with nothing but a single primary key (in fact I have one). However, an
update to such a table row seems impossible. For example, with delete
cascade this could be used to remove all other linked entities. Since the
work-around for xo is to simply add ANY other field I can make that work. I
personally consider it a bug that there is any case in which xo creates
code that prevents my application from compiling. I tend to agree with the
notion of not including the Update code in such an (edge) case, but I am
equally ok with it being an acceptable behavior with a caveat raising the
issue somewhere for folks to see.
Rob Muhlestein
@SkilStak http://twitter.com/skilstak, Inc.
<EMAIL_ADDRESS>704-310-6778
@robmuh http://twitter.com/robmuh
On Sun, Apr 9, 2017 at 11:08 PM, Kenneth Shaw<EMAIL_ADDRESS>wrote:

For the record, I'm willing to fix this, but I literally don't know how
this even makes sense. What's the point of generating code with xo that
generates a single empty struct that has no fields, no retrieval methods,
and no update/delete methods?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/knq/xo/issues/96#issuecomment-292839396, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ADk0y1z1UaFDFwvjQYJNDnJFf6sgFTE0ks5ruZ0egaJpZM4M4DFI
.

I can take a look at this.  There is a related problem in a more common scenario where we only have two primary keys in a table that is not autoincrement (e.g. many-to-many link table). In those cases it doesn't make sense to do updates on the table either. For that we will also need to support multiple PK's and can solve both of these issues.

Thanks guys.

You're welcome.


Precise if ChatGPT plugin for FL can be used for ChatGPT users with no paying subscription

In the doc of this ChatGPT plugin, there is no mention (or reference) to the fact that you need to have a paying subscription to ChatGPT. Can you please add this ?
For information, I have a non free ChatGPT subscription and when I try this FL plugin for ChatGPT I have the following error message:
An error occurred  You exceeded your current quota, please check your plan and billing detail...
It was my 1st ChatGPT search, so no quota was exceeded. Unless it is only for ChatGPT paid users. Sadly there is no mention about this the ChatGPT plugin for Flow Launcher support page.

Hi @oeloo, thanks for the feedback! I've been a paying subscriber on OpenAI from the start, so I wasn't aware of this. I'll make sure to update the documentation


Evaluate Shelly EIDs

Here is the current state of the Shelly EIDs.
EIDs for the following products have been created

Shelly H&T (Gen1, Cloud-RESTAPI, MQTT)
Shelly 1 (Gen1, Local-RESTAPI, Cloud-RESTAPI)
Shelly 1PM (Gen1, Local-RESTAPI, Cloud-RESTAPI)
Shelly 3EM (Gen1, Local-RESTAPI, Cloud-RESTAPI)
Shelly TRV (Gen1, Local-RESTAPI, Cloud-RESTAPI)
Shelly Plus1 (Gen2, Local-RESTAPI, Cloud-RESTAPI)
Shelly Pro 1PM (Gen2, Local-RESTAPI, Cloud-RESTAPI)
Shelly Pro 3EM (Gen2, Local-RESTAPI, Cloud-RESTAPI, MQTT)
Shelly Pro 4PM (Gen2, Local-RESTAPI, Cloud-RESTAPI)

APIs
The Gen1 local REST API is well documented and should work.
The Gen2 local REST (JSON-RPC) API is also well documented.
The Gen1/Gen2 cloud API has not been tested with real devices yet. Also, the documentation is not so clear about URLs and request paths.
The MQTT API is partially documented. It seems that MQTT topics can be configured by the customer; there is no "standard".
Verification

[ ] Gen1 local REST API
[ ] Gen1 cloud REST API
[ ] Gen2 local JSON-RPC API
[ ] Gen2 cloud JSON-RPC API
[ ] MQTT API

@ArndGerns please add to this issue when you are checking the Shelly EIDs


Warning message due to file unreadable

When I ran CaffeNet inference sample after following the installation steps in https://github.com/ROCmSoftwarePlatform/hipCaffe/blob/hip/README.ROCm.md, I observed the following warning message. I obtained the same result with the example on the hipCaffe quick start guide. Could you please let me know if this warning can be ignored?
MIOpen(HIP): Warning [ReadFile] File is unreadable.
It looks the warning is caused by failure in access to /opt/rocm/miopen/share/miopen/db/gfx803_16.cd.pdb.txt which does not exist. There are only following files under /opt/rocm/miopen/share/miopen/db/ in my environment.
gfx803_64.cd.pdb.txt gfx900_64.cd.pdb.txt
System configuration
GPU: RX-560
OS: Ubuntu 16.04.3
Package versions:
rocm-dkms/rocm-libs 1.7.60
hip_base 1.4.17494
hcc 1.1.17493
miopen-hip 1.2.0-a9949e3
miopengemm 1.1.5-3c3145b

@tdsk108 Thanks for the comment. The issue here is that you are running on a GPU for which MIOpen is not optimized for; MIOpen is optimized for 36/64CUs (compute units) for the gfx803 architecture. However, you are running a 16 CU GPU hence, the warning.
The easiest workaround is that you can copy the gfx803_64.cd.pdb.txt file and create a file called gfx803_16.cd.pdb.txt in the same location. This will enable decent performance on your GPU.
In the future, we will be tuning MIOpen for a 16 CU GPU as well.

@dagamayank Thank you. I understand reason of the warning and could remove the warning by the workaround.

Hello there,
I encountered the same problem but instead of gfx803_16.cd.pdx.txt I have  gfx803_8.cd.pdx.txt
MIOpen(HIP): Warning [FindRecordUnsafe] File is unreadable: /opt/rocm/miopen/share/miopen/db/gfx803_8.cd.pdb.txt
I have a Radeon E9171 MCM  and Fedora 28, and I'm using using the docker rocm/tensorflow.
Is there a way I can get the gfx803_8.cd.pdx.txt file ?
Thanks in advance,


Task/create election record

Issue
Link your PR to an issue
Fixes #___
Description
Please describe your pull request.
Testing
Describe the best way to test or validate your PR.

cleaning up branches


Added stop button

Hey! Found your progress dialog the best. But it's missing one important thing others (MRProgress and etc) have - stop indicator / button. So I've added one. Please check my changes and consider them for integration. Thanks!

Hello @kronik, it is a very good idea! :)
I will integrate/merge your changes tomorrow (GMT+1)
:+1:

Any updates?

I merged your changes. I did add some customization for the stop button in an extra commit (c744240d6bdfd7933b8fbe32cbd9be41655eb000):
/**
 * Tells wether the stop squared button will be shown in the middle of a progress circle or not.
 * @remark If no tapBlock is configured, showStop will have no effect.
 * tapBlock is executed when the stop button is pressed.
 * @see tapBlock
 */
@property (nonatomic, getter = doesShowStop) BOOL showStop;

/** Relative height of the stop squared button. Between 0 and 1. For example: 0.3 will display a square that has 30% de size of the circle. */
@property (nonatomic) CGFloat stopRelativeHeight;

Thanks to you!

Cool! Cheers 👍🏼


Update docker & ghcr login macro

Updates ghcr.io login to not require a custom PAT anymore.
See: https://github.com/apache/arrow/pull/13244#issuecomment-1152252713

Added in https://github.com/apache/arrow/pull/13244/commits/379cd2e73e69f5aad981b75d84bea526c377adbb


Use type/2 with window functions

Environment

Elixir version (elixir -v): 1.7.4 OTP 21
Database and version (PostgreSQL 9.4, MongoDB 3.2, etc.): PostgreSQL 10.5
Ecto version (mix deps): 3.0.0
Database adapter and version (mix deps): postgrex 0.14.1
Operating system:

Current behavior
Doing avg(d.production) by default returns a %Decimal{}, to have it return a float I usually do type(avg(d.production), :float) or use fragment, both work fine.
However, I've tried multiple ways of having the same behavior while using window functions:

over(type(avg(d.production), :float), :interval) throws unknown window function type/2. See Ecto.Query.WindowAPI for all available functions
type(over(avg(d.production), :interval), :float) throws type(over(avg(d.production()), :interval), :float) is not a valid query expression.

Expected behavior
The select returns that value as float

Sorry I think this belongs to ecto itself


Support startblock fetching for graph add

Do we have a way today to add tests to existing suite?

Im unsure about that. Don't think there is

@incrypto32 can you rebase this and we can get this out


On iOS pump version number I always get .plist file not found

First it prints out the .plist file correctly and afterwards  on the PlistBuddy command it can not find the .plist file anymore.
logs:
2018-02-15T09:14:58.5770190Z [command]/usr/libexec/PlistBuddy -c Print CFBundleVersion /Users/vsts/agent/2.127.0/work/4/s/Mobile Commerce RELEASE/Mobile_Commerce.iOS/Info.plist
2018-02-15T09:14:58.5798550Z File Doesn't Exist, Will Create: /Users/vsts/agent/2.127.0/work/4/s/Mobile
2018-02-15T09:14:58.5818890Z Invalid Arguments
2018-02-15T09:14:58.5826430Z
2018-02-15T09:14:58.6065670Z [command]/usr/libexec/PlistBuddy -c Set :CFBundleVersion 1 /Users/vsts/agent/2.127.0/work/4/s/Mobile Commerce RELEASE/Mobile_Commerce.iOS/Info.plist
2018-02-15T09:14:58.6090190Z File Doesn't Exist, Will Create: /Users/vsts/agent/2.127.0/work/4/s/Mobile
2018-02-15T09:14:58.6108770Z Invalid Arguments

Does the info.plist file exist there?
Mobile Commerce RELEASE/Mobile_Commerce.iOS/Info.plist
Does that look correct?  Did you pick it inside of VSTS?

Yes because it gets printed out before with your task and the print option.
It is really strange that afterwards with the plist buddy command it can
not find the file anymore...
James Montemagno<EMAIL_ADDRESS>schrieb am Fr. 16. Feb. 2018 um
22:24:

Does the info.plist file exist there?
Mobile Commerce RELEASE/Mobile_Commerce.iOS/Info.plist
Does that look correct? Did you pick it inside of VSTS?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jamesmontemagno/vsts-mobile-tasks/issues/11#issuecomment-366362349,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AhYx2--Qvk2i-FWl_u6AHRzCzGSjpAntks5tVfHwgaJpZM4SGiJL
.

Perhaps it is because there are spaces in the folder path....
Try to remove the spaces in the path perhaps?

Yes this is the issue, looking into a resolution here.

Thanks for the reply and nice that you found the problem.
James Montemagno<EMAIL_ADDRESS>schrieb am Mo. 19. Feb. 2018 um
21:16:

Yes this is the issue, looking into a resolution here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jamesmontemagno/vsts-mobile-tasks/issues/11#issuecomment-366793376,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AhYx2z-FRO8UzuV3lAbl6Kd51KMr75mAks5tWda7gaJpZM4SGiJL
.

once I wrote my own app version pump script. It is not written in a nice way but maybe it helps you.
echo "Argument 1: $1"
echo "Argument2: $2"
echo "Argument3: $3"

infoPlistPath=$BUILD_SOURCESDIRECTORY"/Mobile_Commerce.iOS/$3.plist"
echo "Infoplistpath: $infoPlistPath"
oldBundleVersion=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion " $infoPlistPath)
echo "oldBundleVersion: $oldBundleVersion"

oldBundleShortVersion=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString " $infoPlistPath)
echo "oldBundleShortVersion: $oldBundleShortVersion"

PLISTBUDDY="/usr/libexec/PlistBuddy"

${PLISTBUDDY} -c "Set :CFBundleShortVersionString $1" "${infoPlistPath}";
${PLISTBUDDY} -c "Set :CFBundleVersion $2" "${infoPlistPath}";

newBundleVersion=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion " $infoPlistPath)
echo "newBundleVersion: $newBundleVersion"

newBundleShortVersion=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString " $infoPlistPath)
echo "newBundleShortVersion: $newBundleShortVersion"

Yeah, this happened in the conversion from bash to typescript to make it a cross-platform task for VSTS.
I have the fix in place and will be publishing an update to the task in the next 24 hours. I will close this once it is live.

Nice!
James Montemagno<EMAIL_ADDRESS>schrieb am Di. 20. Feb. 2018 um
17:14:

Yeah, this happened in the conversion from bash to typescript to make it a
cross-platform task for VSTS.
I have the fix in place and will be publishing an update to the task in
the next 24 hours. I will close this once it is live.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jamesmontemagno/vsts-mobile-tasks/issues/11#issuecomment-367029190,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AhYx2-D6mPIQXsJoqvKAWuhsf1wDK4ONks5tWu9CgaJpZM4SGiJL
.

Pushed out 0.6.1, you may have to remove and re-add the extension. Should be fixed now.


Tech debt: add from __future__ import annotations in the Event Handler OpenAPI feature

Why is this needed?
Reference: https://github.com/aws-powertools/powertools-lambda-python/issues/4607
Add from future import annotations to all files, including examples
Which area does this relate to?
Static typing
Suggestion
No response
Acknowledgment

[X] This request meets Powertools for AWS Lambda (Python) Tenets
[ ] Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET

Closed as complete.


Won't install on linux (Nobara 40) [Bug]

Describe the bug
I followed the steps but get this error: bash: line 13: wine64: command not found
(Even sudo doesn't work)
To Reproduce
Steps to reproduce the behavior:

I ran curl -sSf https://raw.githubusercontent.com/vrcx-team/VRCX/master/Linux/install-vrcx.sh | bash in the terminal.
Then it gave me the error.

Expected behavior
To install and work
Screenshots

What version you are running
Whatever the installer is gonna install.

https://github.com/vrcx-team/VRCX/tree/master/Linux

You will require Wine >= 9.0 due to CEF and winetricks for corefonts.

you need to install Wine.

Wait what, Nobara supposedly ships with Wine (32 and 64) and winetricks? How did we get here?
What's the output for which wine?

Can't repro your exact output on 39, on here it complains about the Wine version which is correct.
I'm going to go out on a limb and say your Wine installation is broken in some way, since Nobara should have it by default but your shell doesn't find it. I haven't found a binary for 40 either, so I can't repro on your exact version.

Found out later you upgrade onto 40, Nobara ships with Wine Staging so it definitely isn't out of date, it simply doesn't have the wine64 binary.
I wasn't able to get a proper graphical session in a VM, so I only managed to get until VRCX boots until it fails.
@Jakeh9777 Try curl -sSf https://raw.githubusercontent.com/regalialong/VRCX/master/Linux/install-vrcx.sh | bash, it's the same script with a fix to use wine instead.


Migration process and pain points

I am working on converting just the Redis commands to use Knack.  The process, as best I can tell, is something like this:

wrap the contents of commands.py in a RedisCommandsLoader(CLICommandsLoader) class. Move the registration statements inside an overridden load_command_table method.
Add self. to each cli_command entry
Add client_factory= to every command because this is now a kwarg instead of a positional arg.
Extend the load_arguments method and move all the statements from the _params.py file to this method.
Add self. to each register_cli_argument entry
Add cli_ctx as an argument to the signature of most (all?) client factory methods and most custom methods.
Update all references to get_sdk or supported_api_version to use a CLI context object.  This prevents importing a bulk of symbols outside  a command (for example at the top of the file). This also prevents using default enum values in custom command signatures.

Relative impacts:

Moderate. Requires that any changes made to a command's command.py fille be copied over to the new class.
Minimal.
Minimal.
Moderate. Requires that any changes made to a command's params.py file be copied over to the new class.
Minimal
Moderate. Starts getting into "Rebase Hell" territory.
Major.

I've removed the milestone as I don't see anything actionable here but will continue to monitor this issue...
Some of the pain points are due to Knack not having a global application object that can just be imported directory like was the case in Azure CLI.

Very true. This need not be tied to any milestone. I am making some simplifications in the CLI that will likely be worth porting over into knack.

Closing issue but still comments welcome / new issues can be created.


fix: Issues with JS toggle

Description

Remove JS toggle from the following properties since we can already write JS in those fields

Datepicker

firstDayOfWeek

Progress Widget

Progress
Number of steps

Divider widget

thickness

Updated tests to add this condition

Fixes #14954
Fixes #15064
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manual

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

No JS toggle is seen for the above mentioned widget's properties. Working as expected. Moving to done.

/ok-to-test sha=6f4e159


[PRODX-21534]: Added spinner to AddCloudInstance component

While we're at it, please also test the error case (i.e. what happens if Cloud.connect() or ExtendedCloud.fetchData() fails. We need to make sure we have good error handling and show an error message to the user. Probably something like, "An error occurred while connecting to the management cluster and retrieving its projects. Click on the Connect button to try again."

Thank you for suggesting that need to add an error message. I attached screenshot how it looks.

While we're at it, please also test the error case (i.e. what happens if Cloud.connect() or ExtendedCloud.fetchData() fails. We need to make sure we have good error handling and show an error message to the user. Probably something like, "An error occurred while connecting to the management cluster and retrieving its projects. Click on the Connect button to try again."

Thank you for suggesting that need to add an error message. I attached screenshot how it looks.

And thanks for adding! But I think we should make it an error notification instead of putting the error message in the UI. So the spinner should disappear, and the error notification should appear (Lens will show it in the top/right corner of the window). See https://github.com/Mirantis/lens-extension-cc/blob/master/src/renderer/renderer.tsx#L169 for an example.

While we're at it, please also test the error case (i.e. what happens if Cloud.connect() or ExtendedCloud.fetchData() fails. We need to make sure we have good error handling and show an error message to the user. Probably something like, "An error occurred while connecting to the management cluster and retrieving its projects. Click on the Connect button to try again."

Thank you for suggesting that need to add an error message. I attached screenshot how it looks.

And thanks for adding it! But I think we should make it an error notification instead of putting the error message in the UI. So the spinner should disappear, and the error notification should appear (Lens will show it in the top/right corner of the window). See https://github.com/Mirantis/lens-extension-cc/blob/master/src/renderer/renderer.tsx#L169 for an example.

Added error message to Notification instead of UI block


Some search results contain markup

E.g. https://docs.microsoft.com/en-us/dotnet/api/?view=netframework-4.7&term=ImeProcessedKey
shows the following in the description:
Gets the keyboard key referenced by the event, if the key will be processed by an [!INCLUDETLA#tla_ime].
which includes something I think shouldn't be part of the search result.

⚠ Idea migrated from UserVoice
Created By: Anonymous
Created On: 2018/02/26 13:30:08 +0000
Votes at Migration: 1
Supporters at Migration: 1

#log-suggestion @dend

🚀 ATTENTION: Internal request logged.

@mairaw can we update the documentation page above to use a string instead of a token?

Given that there are no immediate plans to change this behavior, I am closing this issue as by-design


Add postcss warning when color function cannot be parsed

When processing an invalid value css-color-function will throw errors.
This change catches those errors and turns them into postcss warnings.

Thanks!


Unable to upgrade to Nhost Pro

Not able to upgrade my project plan.

Apologies, could you try again?

Yes, it's working now. Thank you @dbarrosop


[Editor] Correctly update the current drawing when zooming

We were trying to update the drawing on the current page but if the drawing is an another page then it wasn't updated.

/botio integrationtest


The app crashes on Android 13 with SecurityException about android.permission.BLUETOOTH_CONNECT

E/AndroidRuntime( 6031): FATAL EXCEPTION: main
E/AndroidRuntime( 6031): Process: dev.csaba.track_my_indoor_exercise, PID: 6031
E/AndroidRuntime( 6031): java.lang.SecurityException: Need android.permission.BLUETOOTH_CONNECT permission for android.content.AttributionSource@6ab3fe6a: AdapterService getRemoteName
E/AndroidRuntime( 6031): 	at com.android.bluetooth.Utils.checkPermissionForDataDelivery(Utils.java:457)
E/AndroidRuntime( 6031): 	at com.android.bluetooth.Utils.checkConnectPermissionForDataDelivery(Utils.java:489)
E/AndroidRuntime( 6031): 	at com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder.getRemoteName(AdapterService.java:3019)
E/AndroidRuntime( 6031): 	at com.android.bluetooth.btservice.AdapterService$AdapterServiceBinder.getRemoteName(AdapterService.java:3010)
E/AndroidRuntime( 6031): 	at android.bluetooth.IBluetooth$Stub.onTransact(IBluetooth.java:1219)
E/AndroidRuntime( 6031): 	at android.os.Binder.execTransactInternal(Binder.java:1298)
E/AndroidRuntime( 6031): 	at android.os.Binder.execTransact(Binder.java:1252)

The funny thing is that android.permission.BLUETOOTH_CONNECT is specified in the AndroidManifest.xml.

The interesting thing is that the Flutter Blue Plus example app has the exact same permissions as me. One difference between the manifests is that I removed the BLE feature (<uses-feature android:name="android.hardware.bluetooth_le" android:required="true" />) #299 because Huawei AppStore required me to remove it so the app can even start without Bluetooth being available (pretty unreasonable request BTW). Now I'm adding back that feature, but I still get the crash.

Refs: https://github.com/boskokg/flutter_blue_plus/issues/434 https://github.com/boskokg/flutter_blue_plus/issues/409 https://github.com/boskokg/flutter_blue_plus/issues/370 https://github.com/boskokg/flutter_blue_plus/issues/332

The crash doesn't happen if I remove android:usesPermissionFlags="neverForLocation" from the <uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation" />. However in that case the scan doesn't return anything. So I need to experiment more.

Whatever the solution will be the unreasonable Huawei requirement of no Bluetooth function (#299) will require extra attention.
I discovered that the Flutter Blue Plus example project uses permission_handler plugin before starting the app:
[
  Permission.location,
  Permission.storage,
  Permission.bluetooth,
  Permission.bluetoothConnect,
  Permission.bluetoothScan
].request().then((status) {
  runApp(const FlutterBlueApp());
});

I have a feeling that is the key to the solution.

Not sure if related, but it's not 100% reproducable, saw it on various Android version when I was testing the fix (permission_handler calls) for this: sometimes I get
D/[FBP-Android](17987): [FBP-Android] onMethodCall: discoverServices
I/flutter (17987): PlatformException(discoverServices, device is disconnected, null, null)
I/flutter (17987): trace:
I/flutter (17987): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652:7)
I/flutter (17987): #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:310:18)
I/flutter (17987): <asynchronous suspension>
I/flutter (17987): #2      FlutterBluePlus._invokeMethod (package:flutter_blue_plus/src/flutter_blue_plus.dart:296:19)
I/flutter (17987): <asynchronous suspension>
I/flutter (17987): #3      BluetoothDevice.discoverServices (package:flutter_blue_plus/src/bluetooth_device.dart:156:7)
I/flutter (17987): <asynchronous suspension>
I/flutter (17987): #4      DeviceBase.discover (package:track_my_indoor_exercise/devices/gadgets/device_base.dart:213:18)
I/flutter (17987): <asynchronous suspension>
I/flutter (17987): #5      FitnessEquipment.discover (package:track_my_indoor_exercise/devices/gadgets/fitness_equipment.dart:673:21)
I/flutter (17987): <asynchronous suspension>
I/flutter (17987): #6      FitnessEquipment.connectOnDemand (package:track_my_indoor_exercise/devices/gadgets/fitness_equipment.dart:519:21)
I/flutter (17987): <asynchronous suspension>
I/flutter (17987): #7      FindDevicesState.goToRecording (package:track_my_indoor_exercise/ui/find_devices.dart:784:21)
I/flutter (17987): <asynchronous suspension>
I/flutter (17987): #8      FindDevicesState.build.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:track_my_indoor_exercise/ui/find_devices.dart:984:29)
I/flutter (17987): <asynchronous suspension>
D/[FBP-Android](17987): [FBP-Android] onMethodCall: discoverServices
I/flutter (17987): PlatformException(discoverServices, device is disconnected, null, null)
I/flutter (17987): trace:
I/flutter (17987): #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:652:7)
I/flutter (17987): #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:310:18)
I/flutter (17987): <asynchronous suspension>
I/flutter (17987): #2      FlutterBluePlus._invokeMethod (package:flutter_blue_plus/src/flutter_blue_plus.dart:296:19)
I/flutter (17987): <asynchronous suspension>
I/flutter (17987): #3      BluetoothDevice.discoverServices (package:flutter_blue_plus/src/bluetooth_device.dart:156:7)
I/flutter (17987): <asynchronous suspension>
I/flutter (17987): #4      DeviceBase.discover (package:track_my_indoor_exercise/devices/gadgets/device_base.dart:222:20)
I/flutter (17987): <asynchronous suspension>
I/flutter (17987): #5      FitnessEquipment.discover (package:track_my_indoor_exercise/devices/gadgets/fitness_equipment.dart:673:21)
I/flutter (17987): <asynchronous suspension>
I/flutter (17987): #6      FitnessEquipment.connectOnDemand (package:track_my_indoor_exercise/devices/gadgets/fitness_equipment.dart:519:21)
I/flutter (17987): <asynchronous suspension>
I/flutter (17987): #7      FindDevicesState.goToRecording (package:track_my_indoor_exercise/ui/find_devices.dart:784:21)
I/flutter (17987): <asynchronous suspension>
I/flutter (17987): #8      FindDevicesState.build.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:track_my_indoor_exercise/ui/find_devices.dart:984:29)
I/flutter (17987): <asynchronous suspension>
[GETX] OPEN DIALOG 854862702
[GETX] CLOSE DIALOG 854862702

I wonder if https://github.com/boskokg/flutter_blue_plus/issues/501 is related to this last "device is disconnected" PlatformException

Disconnect reason is now added: https://github.com/boskokg/flutter_blue_plus/issues/498

So apparently others have this same SecurityException about BLUETOOTH_CONNECT, and it can be solved without permission_handler: https://github.com/boskokg/flutter_blue_plus/issues/497 https://github.com/boskokg/flutter_blue_plus/commit/5b7d1840be117f3783bc196a1a7c664477276825


Update flash version

This patch won't work. If you update the version, then the SHA hash of the downloaded files must be adopted, too.

Updated the hash.

@peti I've updated the hash and travis still seems to be failing, but for unrelated reasons.

Looks good.


feat(service-info): Split up address into components

Instead of using just 1 text field to describe the address, it is now split up in multiple fields (street, number, postal code, place and country)
This makes it easier to format the address later.
Also reduces usage of places api because it's very expensive.

https://github.com/our-city-app/mobicage-backend/pull/270


[Feature Request]: Grab Version From Cargo.toml For Gradle

Currently, build.gradle requires a copy of versionCode and versionName to be specified in the file itself. As I want to only have to specify the version number in one place, I'd like to have that data pulled from Cargo.toml.

forgot to close this report. feature was implemented long ago


OpenTracing implementation on top of OpenCensus trace

Many frameworks have already been instrumented with OpenTracing. Building an OpenTracing implementation on top of OpenCensus would give us compatibility with these frameworks.

I've written a few open tracing implementations so I'd be happy to do this.  There are a couple of incompatibilities that I'd love some guidance on:

OT has a concept of baggage, strings key values that are set on a span and passed to all child spans.  I'm assuming we would just document this is not supported.
OT has logging integrated.  My suggestion here is that the OC OT implementation allow for an optional logger interface to be provided.
OT tags are string => interface{} which is much broader than an attribute.  Presumably this would be another one to document.

The primary behavior that will be odd for people using the OC OT implementation imho is that log messages which previously contained baggage would now just contain the log message (plus attributes).  I know we put things like tenantID and userID into the baggage so losing these would be a showstopper.

If I put my marketing hat on.  If you really want OC to be widely adopted, perhaps a parallel approach would be to write native OC implementations for those other frameworks.  Otherwise, there's really no reason to use OC directly if you can always use the OT adapter.

We are worried that having two trace recording APIs in this repo will cause confusion for users. We are looking for an appropriate place to put this work.

Fair enough.  Let me know what you'd like me to do.

@savaki we are going to create an "opencensus-contrib" organization to put all the integrations (including exporters) and I think this can go there. You can keep the PR open for now if you like or publish it to a repo in your account that we can then clone to the new org once it has been created. It should be created this week.

Would love to see this (the OpenTracing vs OpenCensus debate is making my head spin) - is there a connector somewhere for this today? I can't seem to find anything anywhere, did the previous work just disappear?

hi, happy to see this issue. is there possible that opencensus provide a opentraing api. a bridge. I am using opencensus, you guys are doing great!

I'm looking for a solution as well. Although it would be great to see OC adoption instead of using bridges, when using third party stuff (eg. Traefik), we don't really have a choice.

This will be addressed in upcoming OC - OT merging. keeping the issue open untill we haver merged api available.


Support for Kotlin

Describe the use-case for this feature
we'd like to support kotlin in our plugin, and in order to do that we need to obtain some info about the used sdk in the project
What do you propose
in the near future we will create a kotlin extension and PR with changes, probably we will need only additional data field with sdk info, and maybe some info about relationship between targets (are they in the same kotlin module - e.g. bazel associates https://bazelbuild.github.io/rules_kotlin/kotlin.html#kt_jvm_library) (but we need to investigate it a bit anyway)
I've checked to make sure there isn't already a way to support this in the current protocol

[X] I've checked the existing protocol and there isn't a way to do this currently

Maintainer approval (This is for the maintainers)

[ ] Jetbrains
[ ] Metals
[x] Scala Center

Is the Kotlin extension spec here?  And is that pretty much final?
Also - what exactly is in the associates field and how does it differ from BuildTarget#dependencies.  The Go embed link seems to suggest it's packaging related - so is this for some kind of fat jar setup?  And how would a BSP client use this information - I would have thought that would all be hidden in the build tool/server and the client wouldn't care.

@abrams27

associates means that the targets will be compiled together in one "module" so you can use symbols with internal visibility (https://bazelbuild.github.io/rules_kotlin/kotlin#kt_jvm_library) on the client side this info is required (at least in intellij) since we map 1-1 build targets so it's required to handle internal visibility properly

This is interesting. How do you provide associates to the Kotlin compiler? I maintain a Kotlin plugin for Mill, and I'm not aware of such option.

Yeah, I guess I'm actually more interested in the server side then. It looks a bit strange to me to control the friendship between modules via a keyword from the one side, but via a compiler setting from the other.

yes but there are cases when it's a "fictional" thing - for example library and test, in bazel it's impossible to compile them together, but the test in the same package should be able to see the symbols, and the "module" split caused by the design of bazel should not block it (it's similar in gradle support in intellij)

@abrams27 Yeah, that makes sense. Out of curiosity: Do you need to explicitly mark those associate modules in Bazel or it this some implicit setup for tests? Can you share an example? If this is some automatic thing, it might make sense to also implement it in mill-kotlin.

you need to set it explicitly,
we have a bit of them in our tests: https://github.com/JetBrains/bazel-bsp/blob/ec256a99f85e1df882439308a6dbeb6951e28cd2/executioncontext/workspacecontext/src/test/kotlin/org/jetbrains/bsp/bazel/workspacecontext/BUILD#L7


Unify configs

@Intel-Media-SDK/infrastructure-write need to discuss changes around release -> Release :)

Works with: https://github.com/Intel-Media-SDK/infrastructure/pull/70


feat(@embark/blockchain): Add parity module

Add parity module in to the refactored code.
Some feedback regarding the blockchain modules in the refactor: https://notes.status.im/ehYGKk0pTbi_W0KDkjC2_Q

@jrainville @andremedeiros - I agree with both of you and I'd also like to see some stuff abstracted out (which was done in the blockchain plugins PR based off of the v5 config branch: https://github.com/embark-framework/embark/pull/1741), but there is a view point that too much abstraction can be bad. We could (in my opinion -- should) have a broader discussion on this topic.
A discussion around this exact topic occurred in DMs and are being put here for transparency's sake, with the goal to serve as a means of sharing knowledge and potentially spark a discussion:

I definitely understand the ideas sandi metz lays out in terms of duplication being cheaper than abstraction. However, I think there is probably a base layer of abstraction that we can utilise for ALL blockchains without the need for future devs to duplicate so much code.
The abstracted pieces, IMO that we should consider, are the common pieces that the blockchain config abstracts for us. The config should be the detminant of abstraction because it's common to embark and the blockchain plugin. Without that assumption, we are assuming that future blockchain plugins will be including a way for DApp devs to configure them that is not the blockchain config.
The way i worked through the blockchain plugin previously was to separate:

interactions with embark
interactions with the custom chain (this is the only part the developer would need to implement)

Both #1 and #2 worked under the assumption they had access to the blockchain config
If we take the node check as an example. The node check relies on the endpoint or protocol://host:port from the config saying "this is how embark can connect to the blockchain". If a plugin dev creates a custom blockchain check, they obviously have needs that do no include pinging just one blockchain endpoint. [This means the blockchain plugin will require some other form of config so that the plugin knows how to check an endpoint]. So, the [Embark] blockchain config at this point is useless, as the blockchain plugin has other needs and will most likely need to be configured by the DApp dev in some way that does not include the embark blockchain config. And the rest of the embark components may have invalid info coming from the blockchain config. So, what do we do?
Maybe one option is that we could have the blockchain plugin be modular, in that a blockchain plugin dev could add modules to the blockchain plugin, and only customise the modules that need it. Embark maybe could include a few Ethereum modules by default to run geth and parity:

blockchain check
blockchain account management
blockchain process - init + start
miner

The modules themselves could be plugins, so that plugin devs could open source these modules.
just brainstorming ideas here...
More blockchain refactor feedback (didn't fit in 2000 character limit): https://notes.status.im/ehYGKk0pTbi_W0KDkjC2_Q

Responded with:

I'm concerned that we think we know what is a good abstraction for "ALL blockchains" when in fact we don't because we have only worked with ethereum based ones so far.
-- for e.g some blockchains don't even use json-rpc, or websockets, or have no account new cmd, or init gensis with a command, and can do things very differently.
-- for the record It was me who did attempt before this common adapter between geth and parity, I think I did a mistake and it's far less complex to just separate them all together. not to mention one can then change something without having to worry about breaking the other
The abstractions so far (e.g blockchain  and storage) suffered from badly attempting to unify that different tech did yet with a lot of hardcoded "if swarm then this if ipfs then that" all over the place which is not the way adapters should be done, and also suffered from some circular dependencies (for e.g embark-ipfs used embark-storage which in turned used embark-ipfs again for the process part)
Both this reasons is why I'm worried about doing too many adapters that might just complicate things unnecessarily. I think however for the processes part itself, we seem to have some duplication there that feels somewhat unnecessary  (we have process launcher, storage launcher, blockchain launcher)
I'm not sure I understood what you mean by the blockchain config and iterations, the way it's being setup in the refactor is that there is a provider, then the plugin does whatever they want with it, the iteration with the custom chain is made by the developer through a plugin. This seems to +- what you're saying
for the check, if each plugin is responsible for launching their own process, that they will perfectly aware of where to ping. it's then a matter of registering with embark w here to forward requests. the blockchain config wouldn't matter for the plugin in the sense that it configures the proxy itself not the client, unless that config also includes custom config for the client itself (I'm talking about the new config here)
the thing in the engine is temporary,, it's again a missunderstanding of the components, we have 3 types of components core, stack, plugins. blockchain-client is a stack component while ethereum-blockchain-client is a plugin. the components will always be loaded in the core -> stack -> plugins order (although that's not currently reflected in the branch, due to being WIP)

rebased & merged


Suggestion: Recategorize rock-big and rock-huge as "resources" instead of "others"

They contain large amounts of stone and coal, which makes them a very strong alternative to mining by hand.

Referenced in pull request #51


BitCoin locked in my wallet

Wallet-Id f4001d241-4416-450a-8c49-26c3e4f4d9a9
Why are 1,563201 BTC locked in my wallet?
I do not have any open transactions?
pls. investigate and send a feedback
kind regards
Werner Obritzberger

what happen , what app you use ??

I have the same issue using bitpay ios wallet.  Have you found a solution yet?

Please read https://github.com/bitpay/copay/wiki/COPAY---FAQ#why-creating-a-transaction-proposal-lock-my-balance-and-is-significantly-higher-than-the-proposal-amount

Thank you for your response,  i am confused as it is a brand new wallet, no transactions other than the initial deposit of bitcoin.  Is there a way to unlock the balance.
Thanks

On 2 Mar 2018, at 12:25 pm, Gabriel Edgardo Bazán<EMAIL_ADDRESS>wrote:
Please read https://github.com/bitpay/copay/wiki/COPAY---FAQ#why-creating-a-transaction-proposal-lock-my-balance-and-is-significantly-higher-than-the-proposal-amount https://github.com/bitpay/copay/wiki/COPAY---FAQ#why-creating-a-transaction-proposal-lock-my-balance-and-is-significantly-higher-than-the-proposal-amount
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/bitpay/copay/issues/8127#issuecomment-369907692, or mute the thread https://github.com/notifications/unsubscribe-auth/AjRq8WtAdQ2sqs7aY96vz0pnLKFZcDKnks5taTo0gaJpZM4SWJ2T.

What do you mean by lock ? could you share some screenshots with me ?

after depositing btc into wallet I attempted to make a btc payment which stated failure to get response from server, below is screenshot of the lock I mean.

do you make some back up ??

yes

Could you check if you have a pending transaction proposal in your wallet ? Also, upgrade to the last version 3.15.1

I still have pending transaction which is now out of time, shall i delete it?
I am on version 3.15.1

Yes ! your funds are locked for that transaction, try to re broadcast or deleted and do it again

@WernerObri send me a screenshot from the same view that berkka sent, so I could help you

Ok, just deleted transaction and then attempted to send a new one, Server issue again??

Could you confirm you are in version 3.15.1 ?

yes

Thanks for the detail information. We will check your issue.

So there is no fix at this time?

No. I'm sorry

Okay, so how/when do i get this resolved?

waiting for this too, hopefully value doesnt doesnt go down by the time this is fixed

try with backup

In my sotuation there was a pending transaction
Deleted this and everything ok
An additional option is to delete the cache
You can do this
Settings - personal wallet - additional options - transaction history - delete cache
Hopefully this helps you too

Am 04.03.2018 um 01:04 schrieb SACBALLZ<EMAIL_ADDRESS>waiting for this too, hopefully value doesnt doesnt go down by the time this is fixed
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi guys just wondering if you can advise me how to fix the following issue: I have 1 BTC in my wallet on my Galaxy S8 Bitpay app. I am trying to sell my BTC on my linked Coinbase account, as I have many times before, but this weekend it is saying, "connecting to coinbase", then, "error. Unknown error." I have asked both Bitpay and Coinbase for support but that might take a while! The only change I have made since the last time I sold BTC is I increased the security on my Coinbase due to having funds in there and releasing those funds to my Bank acc. Would this make a difference to selling BTC on the app? I also looked at what happens when I try to buy BTC. It says "Access token is invalid". Does anyone have any ideas whats gone wrong?

Can you send some screen shot of yoir error

Hello @berkka  . Could you provide us more information about your wallet?

Thank you.

@botcoin101
@berkka
I can recover your wallet if you want need help send me email<EMAIL_ADDRESS>


Can I use ng-repeat in bsp-select as I use in select?

I try to use ng-repeat. The data that I need to add in the select is coming from the web api. any idea?

{{category.name}}

Best Regards
Hank

I never tried out. Don't it work in your context?


Correction for raw affiliation Faculty of Computer Science, 550 Windsor Street, Fredericton, NB, E3B 5A3, Canada

Correction needed for raw affiliation Faculty of Computer Science, 550 Windsor Street, Fredericton, NB, E3B 5A3, Canada
raw_affiliation_name: Faculty of Computer Science, 550 Windsor Street, Fredericton, NB, E3B 5A3, Canada
new_rors: 05nkf0n29
previous_rors:
works_examples: W3121601982
contact: 69f29f4307e50440d490ded919d37aaf:dcf9136c @ ourresearch.org

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Better "bootstrap experience"

This issue sums up some feedback shared by @arun-gupta:
He likes Jib a lot. He also thinks the “bootstrap experience” can be improved a lot.
What can improve to make jib work better the first time someone’s using it.
Issues he shared are:

Why do we have to install a credential helper if all we do is push to the docker hub and everything is properly setup in ~/.docker/config.json?
Can we print some feedback on progress when an image is being pushed? Especially the first time since it’s obviously going to take longer than subsequent times.
Should the image really be pushed by default? Let’s say you are trying Jib without the auth being configured, it’s really annoying that the build is failing.

That summarizes the experience very well. Thanks @dgageot
Wondering if @chanezon has played with this and have ideas on how to simplify the docker login experience?

Thanks for the feedback.
You don't need to install a cred helper if everything is set up in ~/.docker/config.json. If it is not working, it is a bug.
Regarding the push, we should consider that a lot of people are using Jib primiarly because there is no docker installed locally (or in a CI/CD pipeline).

You shouldn't need to do anything for Docker Hub.  I tried from a dummy account:
$ docker logout
Warning: failed to get default registry endpoint from daemon (Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.38/info: dial unix /var/run/docker.sock: connect: permission denied). Using system default: https://index.docker.io/v1/
Not logged in to https://index.docker.io/v1/

$ ls ~/.docker
ls: /Users/dummy/.docker: No such file or directory

$ cd examples/hellowworld

$ git diff
diff --git a/examples/helloworld/pom.xml b/examples/helloworld/pom.xml
index 22e8e3c..60bd911 100644
--- a/examples/helloworld/pom.xml
+++ b/examples/helloworld/pom.xml
@@ -37,6 +37,7 @@
         <artifactId>jib-maven-plugin</artifactId>
         <version>${jib-maven-plugin.version}</version>
         <configuration>
+         <from><image>openjdk:11-slim</image></from>
           <to>
             <image>gcr.io/REPLACE-WITH-YOUR-GCP-PROJECT/image-built-with-jib</image>
           </to>

$ mvn compile jib:buildTar -Dimage=jdk11based
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------------< example:helloworld >-------------------------
[INFO] Building helloworld 1
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ helloworld ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ helloworld ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- jib-maven-plugin:0.10.0:buildTar (default-cli) @ helloworld ---
[INFO]
[INFO] Containerizing application to file at '/private/tmp/jib/examples/helloworld/target/jib-image.tar'...
[INFO] Getting base image openjdk:11-slim...
[INFO] Building dependencies layer...
[INFO] Building resources layer...
[INFO] Building classes layer...
[INFO] The base image requires auth. Trying again for openjdk:11-slim...
[INFO] Retrieving registry credentials for registry.hub.docker.com...
[INFO] Finalizing...
[INFO]
[INFO] Container entrypoint set to [java, -cp, /app/resources:/app/classes:/app/libs/*, example.HelloWorld]
[INFO] Building image to tar file...
[INFO]
[INFO] Built image tarball at /private/tmp/jib/examples/helloworld/target/jib-image.tar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 35.990 s
[INFO] Finished at: 2018-11-15T08:57:21-05:00
[INFO] ------------------------------------------------------------------------

The message you see about auth is about authorization: registry.hub.docker.com requires fetching an authorization token even to pull.

And the push to Docker hub should also work with ~/.docker/config.json without a cred helper.

Should the image really be pushed by default? Let’s say you are trying Jib without the auth being configured, it’s really annoying that the build is failing.

We do offer jib:dockerBuild to build to the configured docker daemon and jib:buildTar to build to a tar file.

Provding progress on pulling and pushing is definitely an area for improvement.  The experience of pushing to the same registry would be faster with #169.

@arun-gupta could you share the contents of your ~/.docker/config.json?

@arun-gupta sorry I haven't tried it yet.

UPDATE: We've released v1.0.0-rc1 with added progress bar feedback during the build!


Change admin dashboard in Orchard

Hello everyone
I want to change Orchard admin dashboard but I could not to do that. I've added this code in a .CS file
public class AdminOverride : IThemeSelector
{
public ThemeSelectorResult GetTheme(RequestContext context)
{
if (AdminFilter.IsApplied(context))
{
return new ThemeSelectorResult { Priority = 111, ThemeName
= "NewAdminTheme" };
}
    return null;
}

}
and I have added this line to Theme.txt
BaseTheme: TheAdmin
but nothing works for me I'm beginner in Orchard and unfortunately I could not find a tutorial that helps me. Thanks a lot in advance

Yes

Have you "activated" the theme in the list of themes then? It can be enabled but not set as the active one.


ASP Solver for coloring problem binded to the library

Using clingo library, we solve coloring problem using answer set programming paradigm. coded with the support of @eadietz
It gives very good performance in the coloring benchmark examples.
A new plotting function for coloring solution has also been implemented and used in several existing scripts.

Hi @nhuet i added a test, though it was already tested in tests/coloring/test_coloring.py/test_solvers(), because ASP solver is listed in the coloring_solvers module


训练输出结果 没有config.json文件

我的训练输出目录如下：

里面没有config.json文件，导致我融合模型的时候报如下的错误：

你好，麻烦展示一下运行指令方便我们定位问题，谢谢。

Hello, could you please show the execution command for us to locate the issue more easily? Thank you.

This issue has been marked as stale because it has not had recent activity. If you think this still needs to be addressed please feel free to reopen this issue. Thanks


Add default logging

Currently, all errors/exceptions are swallowed up and not logged anywhere. This is incredibly frustrating when trying to debug issues. This commit adds monolog and uses the built in silex provider. Default path will add log to "log/app.log". Log level and log path can be overriden in the environment config files.

Looks good. Thanks for the work. Could you add the config setting to the development dist and testing configs?

@mdwheele updated.

Thanks!


improve search input design

use bootstrap input-group & input-group-addon : http://getbootstrap.com/components/#input-groups-basic

BTW … thank you …


Update room members search sort

It also fixes
-> open the "people" room settings when selecting the "room details" menu entry
-> some permission requests were not triggered so the bug report logs were not sent or the medias backup failed.

https://github.com/vector-im/vector-android/commit/790fab69b27c407802f674a11814f0d30595ffc8


feat(startProcessInstance): add the text field to set up variables when starting a new process instance

This is a Camunda Platform part of #2437. There will be the Camunda Cloud/Zeebe part of #2437.
I decided to move all logic to the StartInstanceTool right before calling Camunda REST API. I'm not sure about it 🤷🏻♂.

Note that machine-generated error is not super helpful:

UX review:

Variables are optional. This should be clear by adding the information to the label: Variables (optional)
We cannot add example data as value. This would lead to the unintended creation of a variable or would force the user to manually delete it each time when starting an instance. Better: put the example outside of the field and let the field empty.
If we have a textarea component, we should use it here. A single-line text input might be insufficient.

Please consider these changes.
As inspiration, this is the solution in Camunda Cloud:

Link target in screenshot: Variables

Note that machine-generated error is not super helpful:

As the first iteration of this topic, I believe a JSON validation that just returns just true/false is okay.

@aivinog1 Are you willing to implement the suggestion left by @andreasgeier? If so, please let us know. Otherwise, we will probably close this PR but you can get back to it when you have time.

Cool, then I keep it open :)

@aivinog1 will you continue to work on this or shall I close this PR?

@MaxTru Please, do not close this, I'll look at it on 16th October 🙂

@MaxTru Please, do not close this, I'll look at it on 16th October slightly_smiling_face

Sure - will leave it open. I assume you mean November 16? :-)

Hey @MaxTru @barmac @andreasgeier! Finally, I've found time to look at this. Can you check this out, please? :)

I have two comments:

For me this still does not work, it complains that even simple strings are not valid JSONs. Do I miss something:?

The UI looks a bit broken (see Screenshot above). @andreasgeier maybe you can advice?

For me this still does not work, it complains that even simple strings are not valid JSONs. Do I miss something:?
JSON uses double quotes. So it should be{"a":"b"} in your example.

For me this still does not work, it complains that even simple strings are not valid JSONs. Do I miss something:?

JSON uses double quotes. So it should be{"a":"b"} in your example.

Ups. Yeah indeed it works that way.
Implementation wise this looks good! Thanks for this contribution.
I think the UI needs some cleanup:

The PR breaks the UI of "deploy" => there is now a horizontal scroll bar?

This looks broken. @andreasgeier maybe you can advice?

@aivinog1
Cool to see your progress! Feedback from product design:

avoid breaking the layout of the dialog (horizontal scrollbar)
avoid bold text and links within labels

Suggestion:
[Label:] Variables (optional)
[Textarea in full width]
[Description:] Must be a proper JSON object. Learn more about variables.

Hey @MaxTru @andreasgeier! I've fixed all your review comments, can you check this out, please? :)

@andreasgeier Screencast for you

Looks good!
Some minor things:

Could you please fix the linting errors? (e.g. run npm run lint)
Could we please give the textArea a min and max width to avoid something like this:

The link provided by @andreasgeier pointed to the Cloud docs, but we should use Platform docs here. I suggest to use: https://docs.camunda.org/manual/latest/reference/rest/process-definition/post-start-process-instance/#request.
@andreasgeier I think the description should be more explicit to educate the user that it needs to be a JSON object according to the structure described in the docs. So what about.

[Description:] Must be a proper JSON variables object. [Learn more and find an example for variables](https://docs.camunda.org/manual/latest/reference/rest/process-definition/post-start-process-instance/#request).

By the way @aivinog1 => this really looks great already. If you want, I can take over the final polishing things. Please let me know.

@MaxTru It is done. Can you check again, please? :)

Nice! Merged.
Thanks for the contribution <3


Changed font-size to 9.5vw from 5.5vw in heading class for GameZone

issue #3887
PR Description 📜
This change increases the font size of the GameZone heading to ensure better visibility and impact. The previous size of 5.5 vw was deemed too small, and the new size of 9.5 vw will enhance the prominence of the heading, making it more noticeable and visually appealing. Other style properties such as margin, font, alignment, color, and padding remain unchanged.
Mark the task you have completed ✅

[X] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[X] I have performed a self-review of my own code or work.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] My changes generates no new warnings.
[X] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[X] I have added screenshot for website preview in assets/images
[X] I have added entries for my game in main README.md
[X] I have added README.md in my folder
[X] I have added working video of the game in README.md (optional)
[X] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @TARUN2K3 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @TARUN2K3 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


(PDB-3077) Upgrade to lein-ezbake 1.1.2, fix Debian startup problems

This commit upgrades the lein-ezbake dependency from 1.0.0 to 1.1.2.
This is needed to fix problems with the PuppetDB service not starting
properly on Debian-based platforms due to a permissions issue around the
use of the service rundir.  The rundir problem was previously introduced
by the bump to lein-ezbake 1.0.0.
In the newer ezbake release, subcommands run with a umask of 027.  This
commit includes a couple of explicit chmod calls in the migration and
ssl-setup subcommands which ensure that any modified config files are
still world-readable.  World-readability is required for these files in
order for the puppetdb service, running as user puppetdb, to be able to
still read the config files, which are owned by root:root.

Test PASSed

CLA signed by all contributors.


coverity 1022003 : add check for null value

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/529/

clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/519/

AU check failed! https://ci.trafficserver.apache.org/job/autest-github/516/

Intel CC build failed! https://ci.trafficserver.apache.org/job/icc-github/645/

FreeBSD11 build failed! https://ci.trafficserver.apache.org/job/freebsd-github/2212/

Linux build failed! https://ci.trafficserver.apache.org/job/linux-github/2108/

clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/773/

CacheRead.cc: In member function 'int CacheVC::openReadMain(int, Event*)':
CacheRead.cc:672:21: error: 'frag' was not declared in this scope
if (fragment && frag)


Endpoint is not available after deployment

Behavior: endpoint is not available after deployment
Cause: for time to time iap-enabler,  backend-updater, and cloud-endpoints-enabler workloads fail to finish IAP setup due wrong timing.

Fixed in v1.6.0


Is it feasible to use population-level SNP instead of individual sample's variant information?

Hi,
I am trying to count allele specific expression from RNA-seq data, beacuse I am working with specific cell model, I am not have paired SNV infomation, is it feasible to use population-level SNP instead of individual sample's variant information?
Regrads.
Zhang

Hi Zhang,
There's not really anyway to do this with the WASP. It is possible to obtain genotypes directly from ATAC-seq or RNA-seq, however, and those genotypes could be used by WASP. E.g. you could try to identify heterozygotes by running GATK haplotype caller on the RNA-seq reads. You could also check out the  QuASAR tool by Harvey et al. 2015 (doi: 10.1093/bioinformatics/btu802).
Hope this helps.

Hi @McVicker,
Thank you so much for quick response and useful infomations, but I still have a bit confusing, In fact, I known WASP is a wide known tools and been widely accepted for a long time, I also noticed many works run WASP with common SNP database, for example, dbSNP or 1kg SNP panel (such as He et. al., 2022, https://doi.org/10.1038/s41398-022-01913-1 and Quach et. al., 2016, https://doi.org/10.1016/j.cell.2016.09.024). So despite my reservations about doing so, I was a little surprised when I learned from your answer that such a scheme is not feasible. Is there a mistake in my understanding?
Regrads

------------------ Original ------------------
From: "Graham McVicker";
Date: 2024年1月13日(星期六) 凌晨5:08
To: "bmvdgeijn/WASP";
Cc: "zhangjy859"; "Author";
Subject: Re: [bmvdgeijn/WASP] Is it feasible to use population-level SNP instead of individual sample's variant information? (Issue #121)

Hi Zhang,
There's not really anyway to do this with the WASP. It is possible to obtain genotypes directly from ATAC-seq or RNA-seq, however, and those genotypes could be used by WASP. E.g. you could try to identify heterozygotes by running GATK haplotype caller on the RNA-seq reads. You could also check out the  QuASAR tool by Harvey et al. 2015 (doi: 10.1093/bioinformatics/btu802).
Hope this helps.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


onUnselectAll event not working

http://plnkr.co/edit/xnwbrItgiJaaS14JTs15?p=preview

The event is onDeselectAll, and not onUnselectAll


i think is error

hello in FabrikChain3D.java
on solveIK  Backward pass
end GLOBAL_HINGE and LOCAL_HINGE have
Utils.approximatelyEquals(cwConstraintDegs , FabrikJoint3D.MAX_CONSTRAINT_ANGLE_DEGS, 0.01f)
but should be
Utils.approximatelyEquals(cwConstraintDegs , -FabrikJoint3D.MAX_CONSTRAINT_ANGLE_DEGS, 0.01f)

Yup - you're absolutely correct, good eyes! =D
I've added those missing minus signs and pushed the changes.
Cheers!


Error: EPERM: operation not permitted, scandir

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS:
- Continue:
- IDE:
- Model:
- config.json:

Description
Error: EPERM: operation not permitted, scandir
'C:\Windows\Temp'
I'm operating in a government environment and this path is locked down.
Would there be a way to configure it to point this to another directory?
To reproduce
No response
Log output
No response

@hung135 thanks for bringing this up. I'm looking into where exactly we write to tmp in the first place: is there any chance you can share the logs? My guess is there's a stack trace that will make the problem quite clear

I had the same issue. Here's the log:
   INFO Started local extension host with pid 22316.
   ERR Extension 'ms-vscode.cpptools' appears in product.json but enables LESS API proposals than the extension wants.
package.json (LOSES): terminalDataWriteEvent, lmTools
product.json (WINS): terminalDataWriteEvent
  WARN [twxs.cmake]: Cannot register 'cmake.cmakePath'. This property is already registered.
 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
mountTo @ workbench.desktop.main.js:3368
 Overwriting grammar scope name to file mapping for scope source.dart.
Old grammar file: file:///c%3A/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/extensions/dart/syntaxes/dart.tmLanguage.json.
New grammar file: file:///c%3A/Users/mac/.vscode/extensions/dart-code.dart-code-3.102.0/syntaxes/dart.json
register @ workbench.desktop.main.js:1312
 Overwriting grammar scope name to file mapping for scope source.dart.
Old grammar file: file:///c%3A/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/extensions/dart/syntaxes/dart.tmLanguage.json.
New grammar file: file:///c%3A/Users/mac/.vscode/extensions/dart-code.dart-code-3.102.0/syntaxes/dart.json
register @ textMateTokenization…er.workerMain.js:29
  INFO Settings Sync: Updating due to initialize
  INFO Settings Sync: Updating authentication providers. Authentication Providers from store: Array(2)
  INFO Settings Sync: Authentication providers updated Array(0)
  INFO Settings Sync: Updating authentication providers. Authentication Providers from store: Array(2)
  INFO Settings Sync: Authentication providers updated Array(1)
  INFO Settings Sync: Updating authentication providers. Authentication Providers from store: Array(2)
  INFO Settings Sync: Authentication providers updated Array(1)
log.ts:419  INFO Settings Sync: Updating authentication providers. Authentication Providers from store: Array(2)
log.ts:419  INFO Settings Sync: Authentication providers updated Array(2)
log.ts:419  INFO Settings Sync: Updating authentication providers. Authentication Providers from store: Array(2)
log.ts:419  INFO Settings Sync: Authentication providers updated Array(2)
log.ts:419  INFO Settings Sync: Updating authentication providers. Authentication Providers from store: Array(2)
log.ts:419  INFO Settings Sync: Authentication providers updated Array(2)
log.ts:419  INFO Settings Sync: Updating due to declared authentication providers changed
log.ts:419  INFO Settings Sync: Updating authentication providers. Authentication Providers from store: Array(2)
log.ts:419  INFO Settings Sync: Authentication providers updated Array(2)
log.ts:419  INFO Settings Sync: Updating due to declared authentication providers changed
log.ts:419  INFO Settings Sync: Updating authentication providers. Authentication Providers from store: Array(2)
log.ts:419  INFO Settings Sync: Authentication providers updated Array(2)
log.ts:419  INFO Settings Sync: Updating due to declared authentication providers changed
log.ts:419  INFO Settings Sync: Updating authentication providers. Authentication Providers from store: Array(2)
log.ts:419  INFO Settings Sync: Authentication providers updated Array(2)
log.ts:419  INFO [perf] Render performance baseline is 84ms
log.ts:439   ERR [Extension Host] (node:22316) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `Code --trace-deprecation ...` to show where the warning was created)
console.ts:137 [Extension Host] (node:22316) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `Code --trace-deprecation ...` to show where the warning was created)
uGi @ console.ts:137
abstractTaskService.ts:2087 Timed out getting tasks from  typescript
(anonymous) @ abstractTaskService.ts:2087
abstractTaskService.ts:2087 Timed out getting tasks from  typescript
(anonymous) @ abstractTaskService.ts:2087
log.ts:419  INFO Settings Sync: Updating authentication providers. Authentication Providers from store: Array(2)
log.ts:419  INFO Settings Sync: Authentication providers updated Array(2)
console.ts:137 [Extension Host] [node.js fs] readdir with filetypes failed with error:  Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
	at async Object.readdir (node:internal/original-fs/promises:950:18)
	at async g2 (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:88638)
	at async Object.Bh (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:88567)
	at async ch.readdir (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:166:14588)
	at async Object.readDirectory (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:7116)
	at async DFSWalker.listDirForWalking (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136181:25)
	at async DFSWalker.walk (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136140:35)
	at async walkDirAsync (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136115:3)
	at async walkDir (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136108:20)
	at async Promise.all (index 0)
	at async FileContextProvider.loadSubmenuItems (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:182271:25)
	at async c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:598617:25
	at async c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:640577:20
	at async mh.value (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:605657:32)
uGi @ console.ts:137
console.ts:137 [Extension Host] [node.js fs] readdir with filetypes failed with error:  Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
	at async Object.readdir (node:internal/original-fs/promises:950:18)
	at async g2 (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:88638)
	at async Object.Bh (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:88567)
	at async ch.readdir (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:166:14588)
	at async Object.readDirectory (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:7116)
	at async DFSWalker.listDirForWalking (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136181:25)
	at async DFSWalker.walk (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136140:35)
	at async walkDirAsync (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136115:3)
	at async walkDir (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136108:20)
	at async _VsCodeIde.listFolders (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:638945:24)
	at async FolderContextProvider.loadSubmenuItems (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:522214:25)
	at async c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:598617:25
	at async c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:640577:20
	at async mh.value (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:605657:32)
uGi @ console.ts:137
log.ts:439   ERR [Extension Host] Error handling webview message: {
  "msg": {
    "messageId": "fa29e104-2cfb-4cff-9afb-c5c70b494c76",
    "messageType": "context/loadSubmenuItems",
    "data": {
      "title": "file"
    }
  }
}

NoPermissions (FileSystemError): Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
console.ts:137 [Extension Host] Error handling webview message: {
  "msg": {
    "messageId": "fa29e104-2cfb-4cff-9afb-c5c70b494c76",
    "messageType": "context/loadSubmenuItems",
    "data": {
      "title": "file"
    }
  }
}

NoPermissions (FileSystemError): Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
uGi @ console.ts:137
notificationsAlerts.ts:42 Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
c @ notificationsAlerts.ts:42
log.ts:439   ERR [Extension Host] Error handling webview message: {
  "msg": {
    "messageId": "ed908393-d446-4df2-87c0-27d9861a8da8",
    "messageType": "context/loadSubmenuItems",
    "data": {
      "title": "folder"
    }
  }
}

NoPermissions (FileSystemError): Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
console.ts:137 [Extension Host] Error handling webview message: {
  "msg": {
    "messageId": "ed908393-d446-4df2-87c0-27d9861a8da8",
    "messageType": "context/loadSubmenuItems",
    "data": {
      "title": "folder"
    }
  }
}

NoPermissions (FileSystemError): Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
uGi @ console.ts:137
notificationsAlerts.ts:42 Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
c @ notificationsAlerts.ts:42
console.ts:137 [Extension Host] [node.js fs] readdir with filetypes failed with error:  Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
	at async Object.readdir (node:internal/original-fs/promises:950:18)
	at async g2 (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:88638)
	at async Object.Bh (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:88567)
	at async ch.readdir (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:166:14588)
	at async Object.readDirectory (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:7116)
	at async DFSWalker.listDirForWalking (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136181:25)
	at async DFSWalker.walk (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136140:35)
	at async walkDirAsync (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136115:3)
	at async walkDir (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136108:20)
	at async Promise.all (index 0)
	at async FileSearch.initializeFileSearchState (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:632625:25)
uGi @ console.ts:137
index.js:1226 Error loading items for file: Object
(anonymous) @ index.js:1226
index.js:1226 Error loading items for folder: Object
(anonymous) @ index.js:1226
console.ts:137 [Extension Host] [node.js fs] readdir with filetypes failed with error:  Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
	at async Object.readdir (node:internal/original-fs/promises:950:18)
	at async g2 (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:88638)
	at async Object.Bh (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:88567)
	at async ch.readdir (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:166:14588)
	at async Object.readDirectory (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:7116)
	at async DFSWalker.listDirForWalking (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136181:25)
	at async DFSWalker.walk (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136140:35)
	at async walkDirAsync (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136115:3)
	at async walkDir (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136108:20)
	at async Promise.all (index 0)
	at async getAllSuggestedDocs (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:597740:19)
	at async c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:598995:33
	at async c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:640577:20
	at async mh.value (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:605657:32)
uGi @ console.ts:137
log.ts:439   ERR [Extension Host] Error handling webview message: {
  "msg": {
    "messageId": "86a8fa95-b79c-43e1-b8c5-a48d48981c1c",
    "messageType": "docs/getSuggestedDocs"
  }
}

NoPermissions (FileSystemError): Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
console.ts:137 [Extension Host] Error handling webview message: {
  "msg": {
    "messageId": "86a8fa95-b79c-43e1-b8c5-a48d48981c1c",
    "messageType": "docs/getSuggestedDocs"
  }
}

NoPermissions (FileSystemError): Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
uGi @ console.ts:137
notificationsAlerts.ts:42 Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
c @ notificationsAlerts.ts:42
console.ts:137 [Extension Host] rejected promise not handled within 1 second: NoPermissions (FileSystemError): Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
uGi @ console.ts:137
console.ts:137 [Extension Host] stack trace: NoPermissions (FileSystemError): Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
	at Ji.e (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:9238)
	at Object.readDirectory (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:7197)
	at async DFSWalker.listDirForWalking (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136181:25)
	at async DFSWalker.walk (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136140:35)
	at async walkDirAsync (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136115:3)
	at async walkDir (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136108:20)
	at async Promise.all (index 0)
	at async FileSearch.initializeFileSearchState (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:632625:25)
uGi @ console.ts:137
mainThreadExtensionService.ts:78 [Continue.continue]Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
$onExtensionRuntimeError @ mainThreadExtensionService.ts:78
mainThreadExtensionService.ts:79 NoPermissions (FileSystemError): Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
	at Ji.e (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:9238)
	at Object.readDirectory (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:7197)
	at async DFSWalker.listDirForWalking (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136181:25)
	at async DFSWalker.walk (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136140:35)
	at async walkDirAsync (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136115:3)
	at async walkDir (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136108:20)
	at async Promise.all (index 0)
	at async FileSearch.initializeFileSearchState (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:632625:25)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:79
console.ts:137 [Extension Host] [node.js fs] readdir with filetypes failed with error:  Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
	at async Object.readdir (node:internal/original-fs/promises:950:18)
	at async g2 (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:88638)
	at async Object.Bh (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:30:88567)
	at async ch.readdir (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:166:14588)
	at async Object.readDirectory (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:7116)
	at async DFSWalker.listDirForWalking (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136181:25)
	at async DFSWalker.walk (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136140:35)
	at async walkDirAsync (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136115:3)
	at async CodebaseIndexer.refreshDirs (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:597453:28)
	at async Core.refreshCodebaseIndex (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:599077:26)
uGi @ console.ts:137
console.ts:137 [Extension Host] rejected promise not handled within 1 second: NoPermissions (FileSystemError): Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
uGi @ console.ts:137
console.ts:137 [Extension Host] stack trace: NoPermissions (FileSystemError): Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
	at Ji.e (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:9238)
	at Object.readDirectory (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:7197)
	at async DFSWalker.listDirForWalking (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136181:25)
	at async DFSWalker.walk (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136140:35)
	at async walkDirAsync (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136115:3)
	at async CodebaseIndexer.refreshDirs (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:597453:28)
	at async Core.refreshCodebaseIndex (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:599077:26)
uGi @ console.ts:137
mainThreadExtensionService.ts:78 [Continue.continue]Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
$onExtensionRuntimeError @ mainThreadExtensionService.ts:78
mainThreadExtensionService.ts:79 NoPermissions (FileSystemError): Error: EPERM: operation not permitted, scandir 'c:\Users\mac\AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5'
	at Ji.e (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:9238)
	at Object.readDirectory (file:///c:/Users/mac/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:114:7197)
	at async DFSWalker.listDirForWalking (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136181:25)
	at async DFSWalker.walk (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136140:35)
	at async walkDirAsync (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:136115:3)
	at async CodebaseIndexer.refreshDirs (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:597453:28)
	at async Core.refreshCodebaseIndex (c:\Users\mac\.vscode\extensions\continue.continue-0.8.61-win32-x64\out\extension.js:599077:26)
$onExtensionRuntimeError @ mainThreadExtensionService.ts:79

thanks @macote, and what is the workspace directory path that you have open in your IDE when this happens?

C:\Dev\GitHub\macote\hshchk


Teach aws.html to link to variant-specific templates

A little ugly (the list says variant. Single Master), but good enough / the template page works now. And the Open DC/OS doesn't really change.


Argument for validation method changed according to the conventions

A minor thing I noticed during reading the code.
All parameters are passed to the validation accompanied with their actual name as a string.

Thanks @OzMolaim!


[Steve Fox] Adding Link to Day 1 Solution

Hi @uofifox!
Once you have the challenge result, you will compare it to the challenge you created. And after make all the necessary changes in your code, we will close this PR.
Remember that all challenges must be developed in your repository. That's why is very important to fork this repository.
And thank you for your awesome contribution @uofifox !

@glaucia86 are we supposed to put our answers within the forked repo?  Or within our own separate repository.

We checked out your repository. We're thrilled to say your solution is now listed in our Hall of Fame
Thank you for your contributions!
This PR is now closed! 🎉


WIP: Use an existing vpc

What this PR does / why we need it:
This adds support for deploying into an existing VPC.
Enable by adding annotations to network in your tarmak.yaml like:
  network:
    cidr: <IP_ADDRESS>/16
    metadata:
      creationTimestamp: null
      annotations:
        tarmak.io/existing-vpc-id: vpc-xxxxxxxx
        tarmak.io/existing-public-subnet-ids: subnet-xxxxxxxx,subnet-xxxxxxxx
        tarmak.io/existing-private-subnet-ids: subnet-xxxxxxxx,subnet-xxxxxxxx

Fixes #29.

/lgtm

/lgtm cancel

Tested and successfully completed a build using this VPC:
provider "aws" {}

data "aws_availability_zones" "available" {}

resource "aws_vpc" "main" {
  cidr_block = "<IP_ADDRESS>/16"
  enable_dns_support   = true
  enable_dns_hostnames = true

  tags {
    Name = "test_vpc"
  }
}

resource "aws_eip" "nat" {
  vpc = true
}

resource "aws_subnet" "public" {
  count             = "${length(data.aws_availability_zones.available.names)}"
  vpc_id            = "${aws_vpc.main.id}"
  cidr_block        = "${cidrsubnet(cidrsubnet(aws_vpc.main.cidr_block, 3, 0), 3, count.index)}"
  availability_zone = "${data.aws_availability_zones.available.names[count.index]}"

  tags {
    Name = "public_${data.aws_availability_zones.available.names[count.index]}"
  }
}

resource "aws_subnet" "private" {
  count             = "${length(data.aws_availability_zones.available.names)}"
  vpc_id            = "${aws_vpc.main.id}"
  cidr_block        = "${cidrsubnet(aws_vpc.main.cidr_block, 3, count.index + 1)}"
  availability_zone = "${data.aws_availability_zones.available.names[count.index]}"

  tags {
    Name = "private_${data.aws_availability_zones.available.names[count.index]}"
  }
}

resource "aws_internet_gateway" "main" {
  vpc_id = "${aws_vpc.main.id}"
}

resource "aws_nat_gateway" "main" {
  depends_on    = ["aws_internet_gateway.main"]
  allocation_id = "${aws_eip.nat.id}"
  subnet_id     = "${aws_subnet.public.1.id}"
}

resource "aws_route_table" "public" {
  vpc_id = "${aws_vpc.main.id}"
}

resource "aws_route" "public" {
  route_table_id         = "${aws_route_table.public.id}"
  destination_cidr_block = "<IP_ADDRESS>/0"
  gateway_id             = "${aws_internet_gateway.main.id}"
}

resource "aws_route_table" "private" {
  vpc_id = "${aws_vpc.main.id}"
}

resource "aws_route" "private" {
  route_table_id         = "${aws_route_table.private.id}"
  destination_cidr_block = "<IP_ADDRESS>/0"
  nat_gateway_id         = "${aws_nat_gateway.main.id}"
}

resource "aws_route_table_association" "public" {
  count          = "${length(data.aws_availability_zones.available.names)}"
  subnet_id      = "${aws_subnet.public.*.id[count.index]}"
  route_table_id = "${aws_route_table.public.id}"
}

resource "aws_route_table_association" "private" {
  count          = "${length(data.aws_availability_zones.available.names)}"
  subnet_id      = "${aws_subnet.private.*.id[count.index]}"
  route_table_id = "${aws_route_table.private.id}"
}

@kragniz can we get that example terraform into a doc and some instructions (with a big warning that this is experimental), otherwise looking good to me

I added some basic docs and a release note.

Thanks a lot for that @kragniz
/approve
/lgtm


blade upgrade command

should work on mac, linux, and windows...

Just started reviewing :) :octocat: Sent from GH.

Pull request submitted to https://github.com/gamerson/liferay-blade-tools/pull/55. See changes here. :octocat: Sent from GH.