Recognizing the new terminal as an application

Depending on what feature set is a available on a terminal, an application might want to act differently. For example, using emojis and such should be avoided in the old windows terminal. Is there some easy way, that applications can use to know they are running on the new version of the windows terminal? Whether this is possible or not, it would be great to mention this somewhere in /doc I assume.

Somebody just hinted me that the variable introduced with https://github.com/microsoft/terminal/pull/897 (WT_SESSION) could probably be used for this.

Applications should not attempt to detect whether they're running in WT. Any assumption they make will be invalidated with time. Any application that attempts to ascribe specific behavior to Windows Terminal will be wrong and cause unnecessary vendor lock-in when it inevitably fails to work on Hyper, Alacritty, Mintty, and ConEmu even though those terminals support all the same features.

For example, using emojis and such should be avoided in the old windows terminal.

This is only true today, and will not be true once the rendering engine in this repository converges with the one in Windows.
All of the code in this repository that pertains to the inbox console host eventually goes into Windows, and goes out into the "old" windows "terminal."
/dup #1060.

Sorry, I meant /dup #1040!


Index page

Landing screen

Beauty by Default
MyPaint v2.0.X
<Full release notes>, <User Manual>
<Downloads>

Tagline: Less is More

The biggest selling point is that it's either simple as hell, or that it simplifies complexity.
"Reject the Labyrinth"

"Complexity in interactions between tools, not quantity of tools"
"Focus on intuition"

No-Distraction Full screen UI
We still have Layers with group folders,vector layers and external application support.

Tagline: Work in Flow

Background: Something classy
Foreground: Motion
MyPaint was explicitly designed to remove small annoyances, which may not have been the case for Photoshop, GIMP, and Krita
"Measured in milliseconds"
"Focus on your art, not the tool you use to draw it with"
True Infinite Canvas.

Tagline: One Brush Engine to Rule Them All

Background: Something that looks more technical
Foreground: Technical diagram of MyPaint, or shot of UI
Customizable Brush Engine that emulates not only Traditional brushes but also more exotic ones.
Need to understand MyPaint's brush engine better for this. People seem to like it, though.

Who's Using MyPaint?

A random photo from:

Instagram, Twitter, Mastodon, DeviantArt

Should be vetted
Link to Forums

The landing screen is nice, what with the massive image and all that.
That being said, repeating that for multiple screens feels lazy.
In particular, I'd like a "features" section to be interactive. i.e. users should be able to click on a feature showcase button and have a visual of how it works presented to them.
The socials and contributing sections probably don't need a heroic image accompanying it, but what could keep up with such a powerful image in terms of background, gradients?

I'm going to close this for now, because it's "good enough" to publish.


[Feature] When will support run on ollama to drive Interval’s global reach?

Motivation
When will support run on ollama to drive Interval’s global reach?
Related resources
No response
Additional context
No response

We plan to complete the integration of ollama within October, thank you for waiting.


MatListOption & MatSelectionList docs incorrect

Bug, feature request, or proposal:
The docs for MatListOption list selectChange as an Output() property. The correct property name is selectionChange. The emitted type MatSelectionListOptionEvent is incorrect as well.
The source indicates this property is deprecated though, and the same property from MatSelectionList should be used instead. Perhaps this could be added to the docs and the property removed from MatListOption?
Maybe this can be rolled up into #8832.
What is the expected behavior?
Documentation should be up to date
What is the current behavior?
It's not
What are the steps to reproduce?
Docs here
What is the use-case or motivation for changing an existing behavior?
Outdated docs
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
N/A
Is there anything else we should know?
N/A

It seems like you've got some cache. Try open your browser in incognito.

@rafaelss95  Indeed, that was the case. I feel a bit silly about that.


Ignore unknown actions

This PR fixes the error reported in #8. Unknown actions are now just ignored when parsing the output of a testrun.

@damphyr and @peterzeller this should fix the issue with pausing and resuming tests in parameterized tests.
Please test and if it works for you I'll merge the PR and release v0.4.1.


tflite-micro model predictions differ to tflite model predictions

Hi!
I am working on a model based on TCN architecture. I trained the model and then, I quantized and converted it with TensorFlow Lite Converter, applying FULL INTEGER ONLY QUANTIZATION. So from input tensor to output tensor is all elements 8-bits quantized. Finally I converted TFLite model to C array with xxd.
I am using Arduino Nano 33 BLE Sense, and I wrote a firmware code for running the model with this board. For evaluation, I was interested in testing dataset inference. The input tensor has a lenght of 1000. So I wrote a Python script which takes a testing dataset sample and send it to the Arduino Nano by serial port communication using PySerial.
I took same considerations:

Using TensorFlow Lite model and TensorFlow Lite Interpreter, I loaded model input parameters, such input_zero_point and input_scale, and I quantized the dataset, form float to int8_t. Of course, then TFLM model does not quantized the input before invoke, because the sample is already quantized.
The samples are sent by batches of 50 elements, 50 bytes. So 20 batches are used in total.
A simple checksum system was implemented to verify communication is successful in each batch.
After the entire tensor was sent, from firmware side, the TFLM input tensor is read and sent again to python script, where is received and compared with the original sample. And this is working well too.

The problem is that the prediction result made with TFLM model in the microcontroller differs with the prediction of the TFLite model used with TensorFlow Lite Interpreter. The output tensor is just one neuron.
I have checked the communication process and I am confident that sample are load correctly in the input tensor. So, where the problem could be?? Have you got any suggestion??
I am using Arduino IDE. The TensorFlow_Lite libraary was built from source last year using tensorflow 2.5. And finally, I am using  static tflite::AllOpsResolver resolver;
Thanks in advance!
Martin
@petewarden do you have any suggestion? Thanks in advance!

When using the TFLite interpreter on x86 are you setting experimental_op_resolver_type=tf.lite.experimental.OpResolverType.BUILTIN_REF to use the reference kernels to check results against TFLM?

I also found this issue with an unfolded transformer model. The first 5 rows of inference result from TFLITE python kernel is:
000: -0x7e,-0x7f,-0x7f,-0x80,-0x17,-0x7d,-0x7d,-0x5e,-0x80,-0x7e,-0x7f,-0x7f,-0x7f,-0x80,-0x7a,-0x7f,-0x80,-0x7f,-0x80,-0x7e,-0x7e,-0x6a,-0x79,-0x7e,-0x80,-0x7e,-0x7a,-0x7f,-0x7d,-0x69,-0x80,-0x80,-0x80,-0x7f,-0x7f,-0x7e,-0x7c,-0x7f,-0x7f,-0x7c,-0x7b, argmax: 4
001: -0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x7f,-0x80,-0x7e,-0x80,-0x80,-0x80,-0x80,-0x7f,-0x80,-0x7f,0x76,-0x80,-0x7f,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80, argmax: 29
002: -0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x7d,-0x80,-0x80,-0x80,-0x80,-0x80,-0x7f,-0x80,-0x80,-0x80,-0x80,-0x7e,-0x7f,-0x7d,-0x7f,-0x7f,-0x80,-0x7f,-0x7c,-0x7f,-0x7d,0x6a,-0x80,-0x7f,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80, argmax: 29
003: -0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x7f,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x7f,-0x80,-0x7e,-0x80,-0x80,-0x80,-0x80,-0x7e,-0x80,-0x7f,0x75,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80, argmax: 29
004: -0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x7e,-0x7f,-0x80,-0x80,-0x7f,-0x7d,-0x80,-0x7e,0x71,-0x7f,-0x7f,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80,-0x80, argmax: 29

The first 5 rows of inference output from TFlite Micro is:
000: -0x80 -0x80 -0x7f -0x80 -0x10 -0x7f -0x7e -0x6a -0x80 -0x7f -0x7f -0x80 -0x7f -0x80 -0x7c -0x80 -0x80 -0x7f -0x80 -0x7b -0x7d -0x5a -0x7d -0x7e -0x80 -0x7e -0x7a -0x7f -0x7d -0x5e -0x80 -0x80 -0x80 -0x7f -0x7f -0x7f -0x7e -0x7f -0x7f -0x7e -0x7e  argmax: 4
001: -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x7d -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x7f -0x7f -0x7e -0x80 -0x80 -0x80 -0x7f -0x7d -0x80 -0x7f  0x6d -0x7f -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80  argmax: 29
002: -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80  0x52 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x7f -0x7e -0x80 -0x7f -0x80 -0x7f -0x80 -0x80 -0x7d -0x80 -0x7e -0x60 -0x7f -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80  argmax: 8
003: -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80  0x2b -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x7e -0x80 -0x7f -0x80 -0x7f -0x80 -0x7f -0x7f -0x80 -0x7d -0x38 -0x7f -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80  argmax: 8
004: -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x7f  0x3c -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x7f -0x80 -0x7f -0x80 -0x7e -0x80 -0x7f -0x7e -0x7f -0x76 -0x51 -0x7f -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80  argmax: 8
005: -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80  0x74 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x7f -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x7f -0x80 -0x7f -0x78 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80 -0x80  argmax: 8

Hi, @Burton2000 and @solderzzc!
@Burton2000, I apologize for not responding anymore.
@solderzzc, I'm glad to hear that someone else has the same problem.
@Burton2000, I couldn't test using the TFLite interpreter on x86. At that moment, I was really busy finishing my thesis where I was using tinyML, and afterward, I finished my thesis, decided to rest, and I didn't return to work with this issue.
I remember I made a quick change, like changing a parameter in the process of conversion but I don't remember well now. I had to review this. But it didn't solve the issue.

Hi, @focus-martin
Thanks for sharing details.
It seems a transpose layer output has -1 as zero point caused this issue:

When zero_point = -1, following code will raise exception, if comment out zero_point == 0 check, the inference will run, but prediction result is wrong.
    data->input_zero_point = input->params.zero_point;
    // Filter weights will always be symmetric quantized since we only support
    // int8 quantization. See
    // https://github.com/tensorflow/tensorflow/issues/44912 for additional
    // context.

    TFLITE_DCHECK(filter->params.zero_point == 0);
    if (filter->params.zero_point != 0){
      printf("(filter->params.zero_point != 0)\n");
    }

The filter is provided by transpose (location 120), the exception is raised by fully_connect_layer (location 121):

Will it help if add transpose into one of these quantization configuration:
def get_quantize_config(model):
    layer_param_dict = {}  # stores {Layer_Name: QuantizeConfig} pairs
    scope = {}  # stores all custom objects

    for layer in model.layers:

            if layer.name.startswith(('clip', 'minimum', 'minimum_scalar', 'maximum_scalar', 'cast', 'stop_gradient')):
                layer_param_dict[layer.name] = {'quantize_config': NoOpQuantizeConfig()}
                scope[layer.__class__.__name__] = layer.__class__

            elif 'grad_subtract' in layer.name or layer.name.startswith(('mat_mul', 'multiply', 'scalar_multiply', 'add',
                                                                         'scalar_add', 'slice', 'mean', 'subtract',
                                                                         'scalar_subtract', 'r_sqrt', 'relu')):
                layer_param_dict[layer.name] = {'quantize_config': TFOpQuantizeConfig()}
                scope[layer.__class__.__name__] = layer.__class__

            elif layer.name.startswith(( 'scale', 'centre', 'positional_embedding', 'token_embedding' )):
                layer_param_dict[layer.name] = {'quantize_config': WeightQuantizeConfig()}
                scope[layer.__class__.__name__] = layer.__class__

            # Make sure to quantise the encoder and decoder mask input layers so that they can be quantized to INT8

            elif layer.name.startswith(('encoder_masks', 'decoder_masks' )):
                layer_param_dict[layer.name] = {'quantize_config': MaskOpQuantizeConfig()}

            elif isinstance(layer, tf.keras.layers.Dense):
                layer_param_dict[layer.name] = {'quantize_config':DenseQuantizeConfig()}

            elif 'variance' in layer.name:
                layer_param_dict[layer.name] = {'quantize_config': VarianceQuantizeConfig()}
                scope[layer.__class__.__name__] = layer.__class__

Hi, @focus-martin Thanks for sharing details.
It seems a transpose layer output has -1 as zero point caused this issue:
When zero_point = -1, following code will raise exception, if comment out zero_point == 0 check, the inference will run, but prediction result is wrong.
    data->input_zero_point = input->params.zero_point;
    // Filter weights will always be symmetric quantized since we only support
    // int8 quantization. See
    // https://github.com/tensorflow/tensorflow/issues/44912 for additional
    // context.

    TFLITE_DCHECK(filter->params.zero_point == 0);
    if (filter->params.zero_point != 0){
      printf("(filter->params.zero_point != 0)\n");
    }

The filter is provided by transpose (location 120), the exception is raised by fully_connect_layer (location 121):
Will it help if add transpose into one of these quantization configuration:
def get_quantize_config(model):
    layer_param_dict = {}  # stores {Layer_Name: QuantizeConfig} pairs
    scope = {}  # stores all custom objects

    for layer in model.layers:

            if layer.name.startswith(('clip', 'minimum', 'minimum_scalar', 'maximum_scalar', 'cast', 'stop_gradient')):
                layer_param_dict[layer.name] = {'quantize_config': NoOpQuantizeConfig()}
                scope[layer.__class__.__name__] = layer.__class__

            elif 'grad_subtract' in layer.name or layer.name.startswith(('mat_mul', 'multiply', 'scalar_multiply', 'add',
                                                                         'scalar_add', 'slice', 'mean', 'subtract',
                                                                         'scalar_subtract', 'r_sqrt', 'relu')):
                layer_param_dict[layer.name] = {'quantize_config': TFOpQuantizeConfig()}
                scope[layer.__class__.__name__] = layer.__class__

            elif layer.name.startswith(( 'scale', 'centre', 'positional_embedding', 'token_embedding' )):
                layer_param_dict[layer.name] = {'quantize_config': WeightQuantizeConfig()}
                scope[layer.__class__.__name__] = layer.__class__

            # Make sure to quantise the encoder and decoder mask input layers so that they can be quantized to INT8

            elif layer.name.startswith(('encoder_masks', 'decoder_masks' )):
                layer_param_dict[layer.name] = {'quantize_config': MaskOpQuantizeConfig()}

            elif isinstance(layer, tf.keras.layers.Dense):
                layer_param_dict[layer.name] = {'quantize_config':DenseQuantizeConfig()}

            elif 'variance' in layer.name:
                layer_param_dict[layer.name] = {'quantize_config': VarianceQuantizeConfig()}
                scope[layer.__class__.__name__] = layer.__class__

Greating,
I encounter the same problem of fully_connect_layer without zeropoint == 0.
Have you solved this problem?


New sample: Show Device Location Using Indoor Positioning

Description
This PR is to add a new sample "Show Device Location Using Indoor Positioning" to the Maps and Scenes category
Links and Data
Devtopia issue: Link
What To Review

Since this is a pretty lengthy sample, review the code to make sure it is easy to follow like other samples on Android
README.md and README.metadata.json files

How to Test
The current IPS API doesn't have support for mocking data, the only option is to test while in a building with a working IPS environment. The sample was tested in Building L and was communicating with the IPS system as seen in the sample screenshot. Testing while not in an IPS environment: The sample should use GPS as the primary data source, and display location information seamlessly.

Thanks, Trevor for the helpful feedback. The sample is looking more kotlin-y haha. Here are two points I'll need to discuss with Ting for more info and I'll get back to you:

Rehost the data without credentials
Is it always the first attribute that has the ID that's the globalID?

I've added in the changes from the PR suggestions.

Updates on the questions on this PR:

We will use the current portal item with credentials. SM-U6 folks will re-survey building L and create a new map (March-April) which then would be a good time to switch to a public map.
Is it always the first attribute that has the ID that's the globalID? Tested in both Building M and Building L and that does seem to be the case.


Upgrades module produces plots in .pdf format

I ran the upgrades module and noticed that it produced 7 images as .pdf files. Is that what we want? Maybe that is best. I'm just wondering if it's better to make .png files. Should we aggregate all images into one file/report? Should any of this be customizable for the URBANopt integration? We haven't discussed any requirements about plots.

I'm open to the format of the figures. I created pdf since it maintains a good resolution, and we can zoom in if needed. So can be usable for any presentations.
Aggregating them into one file/report is a possible route we could take, to reduce the number of files produced.
I know we generally want to keep the number of output files as low as possible.
As for urbanopt, we can discuss with the team- I do think having plots would be a good capability to have. Can have a configurable parameter.

I think that aggregating the figures is something that makes sense to have as a user option. The most likely use-case for this would be multiple scenarios being aggregated into one report. Definitely agree that having  plots in UrbanOpt will be a good capability to have.

@tarekelgindy Let's be more clear about this. DISCO will only know about one scenario at a time. We could aggregate the images in a single scenario. We wouldn't be able to aggregate across multiple scenarios unless we added a new command to do this.
Options for aggregations across scenarios:

After all scenarios finish, URBANopt aggregates images from individual scenarios into one final report.
After all scenarios finish, URBANopt calls a DISCO command (passing all scenario names/paths) to perform the aggregation.

I'm not sure that DISCO would have the proper information to display the images across scenarios appropriately.

ahh right. In that case it might be better to just output the figures of single scenarios, and decide down the road if aggregating them across scenarios makes sense. My guess is we probably won't end up doing that.


Pre-release APKs fail to imstall

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App version
5.30x
Where did you get the app from?
Other
Android version
13
Device model
Pixel 6 pro
Steps to reproduce
I have 5.202 installed and working
APKPure shows an updated version (latest 5.307)
Try to install 5.30X fails
I don't recall if I installed K9 from APKPure or FDroid. APKPure is the only one that shows the pre-release.  I also tried downloading the APK from here (GitHub) and it did not install
Expected behavior
Install APK on mobile
Actual behavior
Apak install, for pre-release, fails
Logs
NA

That's a security feature. You can only upgrade an app if the APK is signed using the same key that was used to sign the initial version you installed. For historical reasons the F-Droid version is signed using a different key than the version on Google Play and GitHub. So you can't switch between those versions. If you initially installed from F-Droid you need to wait for updates to be available on F-Droid.
Even though Android checks signatures on app updates, you should avoid downloading APKs from random websites (e.g. APKPure).


ENH: Add "dev" mode such that modified scripts are run (when otherwise the checksum has changed and they do not run)

Hi,
I got an issue with the migration. I have 5 scripts:
R__update-sequences.sql
V1__permissions.sql
V2__dns-blaclist.sql
V3__root-account.sql
V4__test-application.sql

First time, all scripts has been processed with success. But I have edited the last script (V4__test-application.sql), and no migration has been done. The file is not processed.
I understand the choice to not allow edited scripts to be processed if are already processed in past. Maybe a boolean option to allow the migration of a script already migrated if it was edited. To enable this on "dev" mode and not in "production".

The fix for this is to add to MigrationConfig skipChecksum.
When this is set to true then the checksum checking is skipped.


Easypaisa not working

Easypaisa not working in live mode
I Give amountInCents: 2000
Still not getting any response
As for the JazzCash
It reduces user cash without them approving it.
Later on, they just refunded the money

You need to provide Mobile Number and email too in order to process the EasyPaisa payment.

But where is the email option??

You have to provide the email address in the Coding where you are processing the transaction.
You have to provide the User's Email address, Because the Easypaisa sends a Receipt to the Email.

billingData: PaymobBillingData(
email<EMAIL_ADDRESS>firstName: "Arshman",
lastName: "Afzal",
phoneNumber: "+921234567890",
apartment: "NA",
building: "NA",
city: "NA",
country: "Pakistan",
floor: "NA",
postalCode: "NA",
shippingMethod: "Online",
state: "NA",
street: "NA"),
                    Like this way???

billingData: PaymobBillingData( email<EMAIL_ADDRESS>firstName: "Arshman", lastName: "Afzal", phoneNumber: "+921234567890", apartment: "NA", building: "NA", city: "NA", country: "Pakistan", floor: "NA", postalCode: "NA", shippingMethod: "Online", state: "NA", street: "NA"),
                    Like this way???

Yes, but the email should be valid and the Phone number should also be valid, Phone number is optional.

What About JazzCash??
Why it's reducing user cash without users approving it then refund

When user's enter the MPIN then the amount is deducted from their account and it's on Jazzcash side we can not do anything about it before proceeding to a transaction Jazzcash holds the amount from the User's account and if the transaction fails due to some reason then the amount is refunded to the user's wallet otherwise the amount is paid to the merchant.

I have a dedicated backed team
what if My backed team handle all the API from backed
will i get the same result??

@rafsanopi The paymob payment Plugin is basically not dependent on your Backend server all the requests are being sent on the Paymob's server.
The iframe which is being displayed is also on the Paymob's Server.
You can check the Paymob implementation on the Paymob's website then you can get an idea how this is actually working.
I made this plugin to provide ease for the people that can't just totally implement the Payment Gateway from scratch and want simple plugin to just add and start accepting payments.

If you still face any issues and want more help from me just let me know we can have a meeting and i can explain all the stuff to you. That may clear all the queries on your side.
Regards,
Arshman Afzal

Thanks a lot for your time
It helped very much

You're most welcome.

Can we join for a meeting?
Actually My client is from Pakistan and insist to use the Backed to make the payment done. Can we go for a meeting to understand the whole process

@rafsanopi  Sure, let me know, You can contact me on LinkedIn, Profile url is in my Github bio.


Stuck updating requirements.txt

Expected Behavior
updates the items in requirements.txt
Actual Behavior
It's stuck saying this:
The plan is to install the git repository https://github.com/joelgreen/pgoapi.git/
Output when issue occurred
$ pip install -r requirements.txt
Requirement already satisfied (use --upgrade to upgrade): numpy==1.11.0 in c:\python27\lib\site-packages (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): networkx==1.11 in c:\python27\lib\site-packages (from -r requirements.txt (line 2))
Obtaining pgoapi from git+https://github.com/joelgreen/pgoapi.git/@b2927c5940a8d0febd41f006921d1c093542ddf8#egg=pgoapi (from -r requirements.txt (line 3))
git clone in c:\users\anthony\downloads\pokemongo-bot\src\pgoapi exists with URL https://github.com/keyphact/pgoapi.git
The plan is to install the git repository https://github.com/joelgreen/pgoapi.git/
Steps to Reproduce
run pip install -r requirements.txt
Other Information
OS:
Windows 10
Branch:
dev

Seems like they are changing the pgoapi to use the fork of @joelgreen

Same error im getting git+https://github.com/joelgreen/pgoapi.git/@b2927c5940a8d0febd41f006921d1c093542ddf8#egg=pgoapi 404 on this link

remove the / before the @ symbol
https://github.com/joelgreen/pgoapi.git@b2927c5940a8d0febd41f006921d1c093542ddf8#egg=pgoapi

what commit are you on?

commit 5b901241eacc5942bd8699721038b81bc086d2de
@k4n30

delete src/pgoapi and try pip install again.

I was experiencing the same issue.
Removing the src/pgoapi folder and running pip install worked for me.

@icecubeice closing, please reopen if fix above doesn't work


Upgrade to Python 3.7.4

Python 3.7.4 WORKING on Linux and Windows for release and debug.
Apple should not take much to fix _ctypes, if needed.
Next step: make the 3.7 changes backwards compatible.
Ex
config_3.c.in
-    {"_imp", PyInit_imp},
+    {"_imp", PyInit__imp}, /* 3.7 was single _ */

Need some #define incantations to work with previous python versions.

This pull shows as separate commits the changes needed to run 3.7.

Hmm, you've beaten my to it! I guess we need to compare and merge my PR #256 with yours...

Thanks for the contribution :pray:
Closing. Change integrated in #256


[Candidate 4v4 Umbrella Corps ZH v1] AI causes big stalls

Observed behavior
AI causes big stalls on this map. Tested with 4v4.
Expected behavior
AI does not stall much.
Screenshots

Not sure if this should be a blocker. It is playable, but not pleasant with many drops.

Is still suffering from performance drops.

sadly AI building and moving things than its proper mapped over all


lxd/db: UpdateImageLastUseDate is a ClusterTx method

@tomponline make doc-linkcheck does not complain on my side... what's wrong with the CI ?

@tomponline make doc-linkcheck does not complain on my side... what's wrong with the CI ?

Just temporary issue likely


Cannot publish app after publishing runtime

Describe the issue
I successfully publish a runtime. I then try to publish a standard app, i.e. non-runtime, using the exact same commands, but am hit with a, to me, nondescript error. Issue happens as regular user or admin.
One or more errors occurred.
This program location is thought to be unreachable. Array
at <ScriptBlock>, <No file>: line 12
One or more errors occurred.
This program location is thought to be unreachable. Array
At C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\<IP_ADDRESS>\ContainerHandling\Invoke-ScriptInNavContainer.ps1:37 char:13
+             Invoke-Command -Session $session -ScriptBlock $scriptbloc ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Publish-NAVApp], InvalidOperationException
    + FullyQualifiedErrorId : MicrosoftDynamicsNavServer$BC/nav-systemapplication,Microsoft.Dynamics.Nav.Apps.Management.Cmdlets.PublishNavApp
    + PSComputerName        : 2611f571476f8751d4a026f128d7da573badb95379d10adcc0fee1defc6f3d6b

Scripts used to create container and cause the issue
Publish-NavContainerApp -appFile  $file -skipVerification
Sync-NAVContainerApp -appName $name
Install-NavContainerApp -appName $name

Full output of scripts
NavContainerHelper is version <IP_ADDRESS>
NavContainerHelper is running as administrator
Host is Microsoft Windows Server 2019 Datacenter
Docker Client Version is 19.03.5
Docker Server Version is 19.03.5

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context

does it happen all the time? Yes
did it use to work? Yes

I have never seen that error before and if I google the error it seems to be some code analyzer giving the problem.
You are running a very old version of NavContainerHelper and I don't know what version of Business Central you are running, but it looks like you are running a very old VM, created by running http://aka.ms/getbc
My recommendation is to create a new VM, which would then switch to using artifacts and use the latest BcContainerHelper - then retry the things you are doing and if you get the same problem, then maybe I will be able to reproduce the steps or look at it.

I'm writing this over several hours of trying many many different thing.
Our automated builds happen via the artifacts. It had this issue, which is why I tried to do it manually. The VM I develop against just happened to be from an image. Didn't want to replace something that isn't broken, just eats time.
BC Version: Platform 15.0.36510.0 + Application 15.0.36560.0
Updated navcontainerhelper to <IP_ADDRESS>. Same result.
Tried building with the v4 vsix, same result.
So then I recreated the VM from artifacts. So now I'm running bccontainerhelper, but am still experiencing the same issue.
ModuleType Version    Name                                ExportedCommands

Script     1.0.7      bccontainerhelper
I created the VM brand new from aka.ms/getbc using "bcartifacts/onprem/15.0/w1/latest" which looks to have resolved to "https://bcartifacts.azureedge.net/onprem/15.0.36626.36675/w1".
Which creates the following:
Platform 15.0.36510.0 + Application 15.0.36626.36675
I tried installing the runtime, and then the my dependent app. Same error.
Tried installing a non-runtime version, and then my dependent app. Same error.
So now I am creating yet another VM from the image, to just double check.

I looked at the event log within docker as well.
Index Time          EntryType   Source                 InstanceID Message

 927 Oct 02 13:42  Error       Microsoft.Dynamic...            0 Type: System.Management.Automation.PipelineStop...
 926 Oct 02 13:42  Error       Microsoft.Dynamic...            0 Type: System.InvalidOperationException...
 925 Oct 02 13:42  Error       MicrosoftDynamics...          701 Server instance: BC...

(Get-Eventlog -index 927 application).message
Type: System.Management.Automation.PipelineStoppedException
WasThrownFromThrowStatement: False
Message: The pipeline has been stopped.
StackTrace:
at Microsoft.Dynamics.Nav.Management.NavCommand.WriteError(Exception exception, ErrorCategory category, Object targ
et, Boolean rethrow)
at Microsoft.Dynamics.Nav.Management.NavCommand.WriteError(Exception exception)
at Microsoft.Dynamics.Nav.Apps.Management.Cmdlets.PublishNavApp.PublishToService()
at Microsoft.Dynamics.Nav.Apps.Management.Cmdlets.PublishNavApp.InternalProcessRecord()
at Microsoft.Dynamics.Nav.Management.NavCommand.ProcessRecord()
Source: Microsoft.Dynamics.Nav.Management
HResult: -2146233087
StackTrace:
at Microsoft.Dynamics.Nav.Management.NavCommand.WriteError(Exception exception, ErrorCategory category, Object targ
et, Boolean rethrow)
at Microsoft.Dynamics.Nav.Management.NavCommand.WriteError(Exception exception)
at Microsoft.Dynamics.Nav.Apps.Management.Cmdlets.PublishNavApp.PublishToService()
at Microsoft.Dynamics.Nav.Apps.Management.Cmdlets.PublishNavApp.InternalProcessRecord()
at Microsoft.Dynamics.Nav.Management.NavCommand.ProcessRecord()
(Get-Eventlog -index 926 application).message
Type: System.InvalidOperationException
Message:
One or more errors occurred.
This program location is thought to be unreachable. Array
HResult: -2146233079
(Get-Eventlog -index 925 application).message
Server instance: BC
Category: Extensions
ClientSessionId: 3857e122-6e7d-4d9b-aaad-d4166bb3c953
ClientActivityId: cf00536d-08b9-417b-931c-ddd4f5ab85ff
ServerSessionUniqueId: 8921c54f-f455-4acb-a6a2-3adc48b08dc9
ServerActivityId: 1103481b-58a6-46e6-a4fc-671cc8b8c0c6
EventTime: 10/02/2020 19:42:29
Message One or more errors occurred.
This program location is thought to be unreachable. Array
ProcessId: 4460
Tag: 00001YW
ThreadId: 112
CounterInformation:
CustomParameters: 00000000-0000-0000-0000-000000000000

I'm closing this. It's a BC15 bug. https://github.com/microsoft/AL/issues/5528


first commit

I'd like the filenames to match the theme names whenever possible. Would you prefer to add the -dark prefix to the filenames, or to remove it from the css classes?

Oh, right. That's a remainder from base16-builder, removed it from the file classes!

 Should the same be done for the other files?

👍

All right. Merged as bc008c070f


Purging state on leave, with exceptions. Applied shfmt to the script.

Signed-off-by: Ivan Savcic<EMAIL_ADDRESS>

Rationale for Kubernetes: on StatefulSet scale down, persistent volumes remain, yet the pods have left the cluster. On subsequent scale up, those volumes are reused, and if there is state on them, they won't be able to join the cluster. For those purposes, we want to purge the state on leave, and double check on startup whether the state is clean when the pod ID is unknown to the cluster (ie. it had previously left). We are also checking if we're the last pod in the cluster, since we won't be able to migrate the data off in that case, so in that case we're just stopping VerneMQ and leaving the state as-is.

@isavcic thanks for the PR and the explanation!
I think this would be a clean solution for the 'leaving' case (highly improved on the existing script!), supposed the leaving node manages to replicate it's offline queues to the remaining cluster nodes in time.
If I'm correct, it does not resolve Pod re-scheduling, and this is currently the main issue in production: Kubernetes just terminates Verne nodes, and for those cases it would be cleaner and faster to just stop them, let them keep their state and then just restart them.

@ioolkos I believe I've also tackled that now with:
statefulset=$(curl -X GET --cacert /var/run/secrets/kubernetes.io/serviceaccount/ca.crt -H "Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)" \
    https://kubernetes.default.svc.$DOCKER_VERNEMQ_KUBERNETES_CLUSTER_NAME/api/v1/namespaces/$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace)/pods/$(hostname) | jq -r '.metadata.ownerReferences[0].name')

reschedule=$(curl -X GET --cacert /var/run/secrets/kubernetes.io/serviceaccount/ca.crt -H "Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)" \
    https://kubernetes.default.svc.$DOCKER_VERNEMQ_KUBERNETES_CLUSTER_NAME/apis/apps/v1/namespaces/$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace)/statefulsets/${statefulset} | jq '.status.replicas == .status.currentReplicas')

if [[ $reschedule == "true" ]]; then
    echo "Reschedule is true, not leaving the cluster"
    /vernemq/bin/vmq-admin node stop >/dev/null
else
    echo "Reschedule is false, leaving the cluster"
    /vernemq/bin/vmq-admin cluster leave node=$terminating_node_name -k && rm -rf /vernemq/data/*
fi

We are also testing this branch and will report back if anything on our side is not working as expected.

We are also testing this branch and will get back with anything that will not work for us as expected. Thanks @isavcic about it 🏅

@isavcic @angeloskaltsikis one thing that we need to reflect on is what to do with Swarm or plain Docker users because they can't call K8s API.

@ioolkos I think this won't be an issue as the kube_pod_names variable gets an invalid value assigned, which will certainly not match the following if clause.


Throw uncaught  Exception

I ask this question https://github.com/reactphp/promise/issues/63
In last reply

The code is probably wrapped into another promise which catches the exception. You must ensure that you call done() on any promise which you don't return for comsumption, eg. from a function. See done() vs. then().

I what to know where is the wrapper promise?
$request = my request object
$this->_channel->queueDeclare($request->getQueueName(), false, $request::PERSISTENT)->then(function () use ($request) {
                $this->publish($request);
            }, function (ClientException $e) {
                throw new \Exception();

            })->done();

Why react/promise/src/FulfilledPromise.php:26 catch my exception?

I've opened #37 which should fix this.

@socketman2016 I've merged @jsor's PR, can you try again with version from master?

I get with version from master , but not works?!! :frowning:
$request = my request object
$this->_channel->queueDeclare($request->getQueueName(), false, $request::PERSISTENT)->then(function () use ($request) {
                $this->publish($request);
            }, function (ClientException $e) {
               var_dump($e->getMessage());
                throw $e;

            })->done();

var_dump show me

string(118) "PRECONDITION_FAILED - inequivalent arg 'durable' for queue 'test' in vhost '/': received 'true' but current is 'false'"

but throw $e; catched!!

You must have already declared queue with the same name (test), however, with different arguments (as message says, the problem is different argument durable). RabbitMQ doesn't allow to redeclare queue with different arguments. You first have to delete given queue (either manually through RabbitMQ management GUI, or by calling queueDelete) and then declare it again.

I know , it is only a test , I just want to create an error case
I want to know , why is this error case I cannot throw an uncaught exception?
I have an uncaught exception handler that log any error in my system

Maybe you've wrapped the above code in another Promise yourself. I've setup a minimal reproducible test case and it throws the exception.
<?php

require __DIR__ . '/vendor/autoload.php';

$bunny = new Bunny\Async\Client();

$bunny
    ->connect()
    ->then(function (Bunny\Async\Client $bunny) {
        return $bunny->channel();
    })
    ->then(function (Bunny\Channel $channel) {
        return $channel->queueDeclare('issue36', false, true);
    })
    ->done()
;

$bunny->run();

When i change the third argument of queueDeclare()to false and run it again, it throws the exception.

Exception
```
PHP Fatal error:  Uncaught Bunny\Exception\ClientException: PRECONDITION_FAILED - inequivalent arg 'durable' for queue 'issue36' in vhost '/': received 'false' but current is 'true' in /Users/jsor/Code/bunny/src/Bunny/ClientMethods.php:1259
Stack trace:
#0 /Users/jsor/Code/bunny/vendor/react/promise/src/FulfilledPromise.php(39): Bunny\AbstractClient->Bunny\{closure}(true)
#1 /Users/jsor/Code/bunny/vendor/react/promise/src/Promise.php(51): React\Promise\FulfilledPromise->done(Object(Closure), NULL)
#2 /Users/jsor/Code/bunny/vendor/react/promise/src/Promise.php(156): React\Promise\Promise->React\Promise\{closure}(Object(React\Promise\FulfilledPromise))
#3 /Users/jsor/Code/bunny/vendor/react/promise/src/Promise.php(128): React\Promise\Promise->settle(Object(React\Promise\FulfilledPromise))
#4 /Users/jsor/Code/bunny/vendor/react/promise/src/Promise.php(169): React\Promise\Promise->resolve(true)
#5 [internal function]: React\Promise\Promise->React\Promise\{closure}(true)
#6 /Users/jsor/Code/bunny/vendor/react/promise/src/Deferred.p in /Users/jsor/Code/bunny/src/Bunny/ClientMethods.php on line 1259
Fatal error: Uncaught Bunny\Exception\ClientException: PRECONDITION_FAILED - inequivalent arg 'durable' for queue 'issue36' in vhost '/': received 'false' but current is 'true' in /Users/jsor/Code/bunny/src/Bunny/ClientMethods.php on line 1259
Bunny\Exception\ClientException: PRECONDITION_FAILED - inequivalent arg 'durable' for queue 'issue36' in vhost '/': received 'false' but current is 'true' in /Users/jsor/Code/bunny/src/Bunny/ClientMethods.php on line 1259
Call Stack:
0.0003     356808   1. {main}() /Users/jsor/Code/bunny/test.php:0
0.0107    1953352   2. Bunny\Async\Client->run() /Users/jsor/Code/bunny/test.php:18
0.0107    1953352   3. React\EventLoop\StreamSelectLoop->run() /Users/jsor/Code/bunny/src/Bunny/Async/Client.php:117
0.0170    2193880   4. React\EventLoop\StreamSelectLoop->waitForStreamActivity() /Users/jsor/Code/bunny/vendor/react/event-loop/StreamSelectLoop.php:198
0.0170    2194360   5. call_user_func:{/Users/jsor/Code/bunny/vendor/react/event-loop/StreamSelectLoop.php:232}() /Users/jsor/Code/bunny/vendor/react/event-loop/StreamSelectLoop.php:232
0.0170    2194360   6. Bunny\Async\Client->Bunny\Async{closure}() /Users/jsor/Code/bunny/vendor/react/event-loop/StreamSelectLoop.php:232
0.0178    2230136   7. React\Promise\Deferred->reject() /Users/jsor/Code/bunny/src/Bunny/Async/Client.php:170
0.0178    2230136   8. call_user_func:{/Users/jsor/Code/bunny/vendor/react/promise/src/Deferred.php:42}() /Users/jsor/Code/bunny/vendor/react/promise/src/Deferred.php:42
0.0178    2230136   9. React\Promise\Promise->React\Promise{closure}() /Users/jsor/Code/bunny/vendor/react/promise/src/Deferred.php:42
0.0178    2230136  10. React\Promise\Promise->reject() /Users/jsor/Code/bunny/vendor/react/promise/src/Promise.php:172
0.0178    2230192  11. React\Promise\Promise->settle() /Users/jsor/Code/bunny/vendor/react/promise/src/Promise.php:137
0.0178    2230192  12. React\Promise\Promise->React\Promise{closure}() /Users/jsor/Code/bunny/vendor/react/promise/src/Promise.php:156
0.0178    2230192  13. React\Promise\RejectedPromise->done() /Users/jsor/Code/bunny/vendor/react/promise/src/Promise.php:51
</details>

Oh my God!!! What happens?!!
I create a new test.php file and copy your code
first time I run it issue36 created durable , second time I change the third argument of queueDeclare() to false and  it throws the uncaught  exception and every thing is ok
but third time when third argument of queueDeclare() is false nothing happen! no exception thrown?! please try your self
I run test.php again and again but no exception thrown

I cannot reproduct your behaviour. I throws everytime i run the script with different arguments from the first run.

Where is my problem?
I use composer update bunny/bunny to get last version , compose told me updated to commit f81da29e8a279af2b9af80fa041b84497a26ddf8 Also I check vendor folder and I see changed then to done
Now I change your code to this , (I have a durable issue36 queue so this is error case)
<?php

require __DIR__ . '/vendor/autoload.php';

$bunny = new Bunny\Async\Client();

$bunny
    ->connect()
    ->then(function (Bunny\Async\Client $bunny) {
        var_dump('Connected');
        return $bunny->channel();
    })
    ->then(function (Bunny\Channel $channel) {
        var_dump('Channel is gotten');
        return $channel->queueDeclare('issue36', false, false);
    })
    ->done(function (){
        var_dump('Done');
    },function (\Bunny\Exception\ClientException $e){
        var_dump($e->getMessage());
        throw $e;
    })
;

$bunny->run();

every this result is

string(9) "Connected"
string(17) "Channel is gotten"
string(121) "PRECONDITION_FAILED - inequivalent arg 'durable' for queue 'issue36' in vhost '/': received 'false' but current is 'true

And no uncaught Exception
Why? what you think?!

@jsor , Can you send me zip of your working code
I am confusing and cannot understand where is my problem

I found the reason why it was working for me: I had react/promise v2.2.0 installed because i tested my PR with composer update --prefer-lowest and in this version the exception is thrown due to a bug we fixed in react/promise v2.2.1.
I'm still investigating this behaviour and i'm still not sure where the problem is. I first suspected it to be a bug in react/promise but i couldn't reproduce it as a test case.
I think now the exception must be trapped somwhere in the bunny code. There are still a lot of place where promise creating methods are called without calling done()on the promise.
One example is flushWriteBuffer() which is called often without returning and without calling done() on the promise (example). The problem is, that it only returns a promise for the async client.
To be honest, i'm not sure how to fix this atm :worried:

@jakubkulhan Please reopen issue
@jsor before var_dump($e->getMessage()); in my last code , I put echo debug_print_backtrace();
the result maybe help us to find problem

string(9) "Connected"
string(17) "Channel is gotten"

{closure}() called at [vendor\react\promise\src\RejectedPromise.php:39]
React\Promise\RejectedPromise->done() called at [vendor\react\promise\src\Promise.php:51]
React\Promise\Promise->React\Promise{closure}() called at [vendor\react\promise\src\Promise.php:164]
React\Promise\Promise->settle() called at [vendor\react\promise\src\Promise.php:142]
React\Promise\Promise->reject() called at [vendor\react\promise\src\Promise.php:185]
React\Promise\Promise->React\Promise{closure}() called at [vendor\react\promise\src\RejectedPromise.php:39]
React\Promise\RejectedPromise->done() called at [vendor\react\promise\src\Promise.php:51]
React\Promise\Promise->React\Promise{closure}() called at [vendor\react\promise\src\Promise.php:164]
React\Promise\Promise->settle() called at [vendor\react\promise\src\Promise.php:142]
React\Promise\Promise->reject() called at [vendor\react\promise\src\Promise.php:185]
React\Promise\Promise->React\Promise{closure}()
call_user_func() called at [vendor\react\promise\src\Deferred.php:42]
React\Promise\Deferred->reject() called at [vendor\bunny\bunny\src\Bunny\ClientMethods.php:1259]
Bunny\AbstractClient->Bunny{closure}() called at [vendor\react\promise\src\FulfilledPromise.php:39]
React\Promise\FulfilledPromise->done() called at [vendor\react\promise\src\Promise.php:51]
React\Promise\Promise->React\Promise{closure}() called at [vendor\react\promise\src\Promise.php:164]
React\Promise\Promise->settle() called at [vendor\react\promise\src\Promise.php:133]
React\Promise\Promise->resolve() called at [vendor\react\promise\src\Promise.php:182]
React\Promise\Promise->React\Promise{closure}()
call_user_func() called at [vendor\react\promise\src\Deferred.php:35]
React\Promise\Deferred->resolve() called at [vendor\bunny\bunny\src\Bunny\Async\Client.php:164]
Bunny\Async\Client->Bunny\Async{closure}()
call_user_func() called at [vendor\react\event-loop\src\StreamSelectLoop.php:240]
React\EventLoop\StreamSelectLoop->waitForStreamActivity() called at [vendor\react\event-loop\src\StreamSelectLoop.php:201]
React\EventLoop\StreamSelectLoop->run() called at [vendor\bunny\bunny\src\Bunny\Async\Client.php:117]
Bunny\Async\Client->run() called at [a.php:31]

string(121) "PRECONDITION_FAILED - inequivalent arg 'durable' for queue 'issue36' in vhost '/': received 'false' but current is 'true'"


dev_appserver.py: error: unrecognized arguments: --high_replication

Within product_search_python 's README.md it says to run dev_appserver.py --high_replication . but it errors with unrecognized arguments --high_replication

I am having the same issue.


Review My profile.

Portfolio(https://rootritesh.github.io/)
Github(https://github.com/rootritesh)

I think this should be open source review label?
Add resume review label if you have resume linked here
Improve your GitHub profile by adding GIF or any cool cover photo. You can look->awesome-github-profiles<- that you can use for inspiration.
Change your social media icon. It will be cool if it's visible in dark mode.

Thanks for your reviews.

thanks @vinzvinci I updated the labels 👍
Thank you for sharing your open source project, I will review on a link stream / video soon 🤓

Reviewed on live stream https://youtu.be/MrS_jAJ8l0o
Looks good 👍 , some thoughts

the animation of the circles look great 💥
tech stack pills/button seem clickable but do not do anything - suggest removing the cursor and click state
great blog post section, suggest having a link to the code from your website


Support repeatable subcommands going up the hierarchy (was: I have a question regarding the subcommands)

We are trying to implement this code
public class TestCommands {
    public static void main(String[] args) {
        args = new String[]{
                "-first",
                "-second", "-secondFirstSub", "-secondSecondSub",
                "-third", "-thirdFirstSub", "-thirdSecondSub", "-thirdThirdSub"
        };
        CommandLine commandLine = new CommandLine(new MainCommand());
        commandLine.parseArgs(args);
    }
}

@CommandLine.Command(
        subcommandsRepeatable = true,
        subcommands = {FirstCommand.class, SecondCommand.class, ThirdCommand.class}
)
class MainCommand {
}

@CommandLine.Command(name = "-first")
class FirstCommand {
}

@CommandLine.Command(name = "-second", subcommandsRepeatable = true, subcommands = {SecondFirstSubCommand.class, SecondSecondSubCommand.class})
class SecondCommand {
}

@CommandLine.Command(name = "-secondFirstSub")
class SecondFirstSubCommand {
}

@CommandLine.Command(name = "-secondSecondSub")
class SecondSecondSubCommand {
}

@CommandLine.Command(name = "-third", subcommandsRepeatable = true, subcommands = {ThirdFirstSubCommand.class, ThirdSecondSubCommand.class, ThirdThirdSubCommand.class})
class ThirdCommand {
}

@CommandLine.Command(name = "-thirdFirstSub")
class ThirdFirstSubCommand {
}

@CommandLine.Command(name = "-thirdSecondSub")
class ThirdSecondSubCommand {
}

@CommandLine.Command(name = "-thirdThirdSub")
class ThirdThirdSubCommand {
}

And we get the following error.

picocli.CommandLine$UnmatchedArgumentException: Unknown options: '-third', '-thirdFirstSub', '-thirdSecondSub', '-thirdThirdSub'

Could you tell us what solution may be for this

As far as I understand correctly it is a matter of not supporting "subcommands going up the hierarchy" that was asked about here: https://github.com/remkop/picocli/issues/454#issuecomment-580972877
If it is the case, would it be possible to enhance the picocli in a way that would allow for scenarios like the one posted above? It would be great to have this feature ;)

@JavaDev99, @r2mzes's comment is correct. Currently picocli's repeatable subcommands do not support this.
I will look into whether it is feasible to support this.

I have this need too : https://github.com/remkop/picocli/issues/2133

Must-Have Feature
I think a bit more about it and it seems to me that having a way to support subcommand going up the hierarchy is really a must-have feature.
You could answer that this is still possible to flattening the commands hierarchy  OR massively use options but this often lead to ugly CLI in complex use cases.
I feel this is like if GUI library doesn't allow you to create submenu (or submenu is allowed only as last element of menu)
and so the alternative was "put all action in same menu"
Something smelly with Current Behavior :
I really think that current behavior is counterintuitive :thinking: .
From CLI user perspective (I mean users who use CLI, not developers who use picocli library), it will be really hard to understand that he :

can do  toplevelcmd subcmd-A  subcmd-B subsubB
but can not do toplevelcmd subcmd-B subsubB subcmd-A

I feel it would be clearer to allow both OR forbid both.
Imagine you have an image transformation tool.
You can do :
// convert to grayscale then save
java -jar jimage.jar
  color -to-grayscale
  save "image_before_transformation.png"

// convert to grayscale then save, then rotate then mirror
java -jar jimage.jar
  color -to-grayscale
  save "image_before_transformation.png"
  transform rotate -degree 90
  transform mirror -vertical

But you can not do :
// convert to grayscale then save, then rotate then mirror, then save again.
java -jar jimage.jar
  color -to-grayscale
  save "image_before_transformation.png"
  transform rotate -degree 90
  transform mirror -vertical
  save "image_after_transformation.png"

@sbernard31 sorry but I’m too swamped to work on picocli at the moment.
For that last use case one idea is to add the save command as a subcommand to transform also…

sorry but I’m too swamped to work on picocli at the moment.

Of course as a user I am disappointed :disappointed:.
But I also manage an open source project, so  I totally understand that you could haven't time now.
Could I ask if that means : "there is no chance, I work on it in next week ? month ? or year ? or more ?"
I'm sorry if I seem too pushy but unfortunately users have only 1 power to impact project they depend on : discuss and provide argument hoping maintainer will agree.

For that last use case one idea is to add the save command as a subcommand to transform also…

Yep, but you need to :

make transform command subcommandsRepeatable=true (maybe you don't want to allow that)
AND each time you will add a new level 1 subcommand which as level 2 subcommand (like transform) you need to add all other level 1 subcommands to level 2 subcommands.... (and here there is only 2 levels)

Maybe you will succeed to have something OK from users point of view but now for sure your code is hard to maintain.

Hi, @remkop, any news about that ?

Hi @sbernard31, sorry but I cannot see myself working on this in the foreseeable future.

@remkop, ok I understand.
Eventually, if  could try to work on it, if I do :

is their any chance that you integrate the modification ? (or you didn't want to integrate that ?)
could you provide assistance ?
Should we try to implement this feature ? or should we try to find a way to make it possible to customize the behavior with code ?


refactor: changed indexing in component IcManageTokens

Motivation
To start generalizing its usage, we change the way that tokens are indexed in IcManageTokens component. Before they were using property ledgerCanisterId, that is unique for token of type IcrcCustomToken. However, we would prefer to use it for the more generic type that could be Token or a close child.
Changes
Changed indexing of modifiedTokens variable to use token ID and network ID, which combination is considered unique for any token in our list throughout the code.

This breaks the current feature - i.e. if I test the feature, I cannot save and edit the list of tokens. This will be fixed in another PR?

Wait, I tested it locally and it was not breaking it, can we see it in a call tomorrow?

my mistake sorry, I had forgot to adapt the last part of the code
please re-try now


Jameswtruher/travisdailybuild

enable daily test run support in travis
This also includes a number of test changes which need to be reviewed by the test owners
@lzybkr I've made changes in parser tests to support async execution to avoid test run hangs which have sporadically appeared. Now, if one of those tests hang, it (the test) will fail rather than the entire run.
@Francisco-Gamino, I've made changes to the help tests, counter and management tests
once this is merged, I'll have an addition PR to put the test run badge in the ReadMe.md (after I create the cron job to actually run the tests)

@lzybkr I don't seem to be able to follow up on your question about the timeout in place.
Currently, when one of the parser tests hang, the entire test run is killed after about 10 minutes of inactivity. The timeout code enables us to fail a single test and have the rest of the run continue. I agree that capturing a dump at that point would be fantastic, but I don't know how to do that. Can you provide instructions? I'll be very happy to add it.

@TravisEz13 an issue has already been created for the hanging behavior. https://github.com/PowerShell/PowerShell/issues/2748

I don't know, but a search of 'create linux core dump' suggests that gcore or kill may be capable of creating the core dump.

It seems it is impossible that hung process killed himself and unloaded a dump.
As I mentioned above the best way to get the dump is to ask Travis team add the new option to travis.yml They already control session timeout and may at this point easily take a dump and upload it in the specified (in travis.yml) location. This can be useful in the future to solve other problems.
Possible workarround http://jsteemann.github.io/blog/2014/10/30/getting-core-dumps-of-failed-travisci-builds/

will that provide you with what you need, given managed code? As you're the author/owner of these particular tests, shall I just open an issue for you to track?

In reply to: 271043086 [](ancestors = 271043086)

@Francisco-Gamino, @TravisEz13 my last commit should have addressed your request

@JamesWTruher
If I'm reading the logs correctly, the async changes didn't help at all, and most likely are a net negative right now.  See these logs:
https://travis-ci.org/PowerShell/PowerShell/jobs/195355364
Notice 10 minutes with no output - so we failed to kill the async test and did not get further results.
Also notice the error tests take ~250ms when they should really take about ~1ms or less.

The same https://travis-ci.org/PowerShell/PowerShell/jobs/195856711


Fix partial read response body

Support partial read response body in HTTP1 (HTTP2 is not supported currently)
Determine response body length as given read bytes, and ignore remaining bytes.
After partial read, the connection that was used is not reusable.
The connection has remaining bytes that did not consumed, so next request will be failed with throwing invalid protocol exception (unexpected response caused by remaining bytes).
If a user set the connection reset option as false, performance test will be stopped by error.

Could you explain how it works face to face?


Bump Jackson dependency, add OWASP dependency-check plugin

Bump dependencies to fix a security bug in Jackson.
Add OWASP dependency check plugin.

@lbalmaceda bump

Thanks. Please remove the owasp plugin as we're already using another service.


cmd/link: "readSym out of sync" flake

Observed in the darwin-amd64-10_14 in https://build.golang.org/log/2c4dfc954904829f5c15825b108b5d21e2108fe4:
# go/token.test
2019/08/26 10:19:55 readSym out of sync
ok  	go/printer	0.213s
ok  	go/scanner	0.013s
FAIL	go/token [build failed]

That line comes from here:
https://github.com/golang/go/blob/1a423bec00915fd45dc6f7ee67860abbfc2bbdb2/src/cmd/link/internal/objfile/objfile.go#L213

I hit this message on a Raspberry Pi Zero.
(go1.11.6 linux/arm)
After a reboot I got errors that looked like: /home/pi/.cache/go-build/63/638e72...-d(3): not an object file
I cleared the cache with rm -rf /home/pi/.cache, then it built fine


Setting Up TRELLIS in Colab

Made it work in Colab.
In short: we need CUDA tools 11.8 to build some of the packages.
P.S. Thank you for showing this. Fantastic work behind this wonderful package!
Here is my Colab config (works on A100)
https://gist.github.com/dr-vij/c3cae37344cf068e4528493ca7abccb4

Is free Colab's VRAM (T4 15GB) enough to run your notebook?

Unfortunately no, I tested with A100 version only


Error while visiting sentinel paths

Hi! I'm trying to use sentinel library. I've configured application using your configuration guide and sentinel_example project, but I'm getting errors when visiting paths like /login, /user/create and others provided by sentinel. Error looks this way: (UndefinedFunctionError) function :app.render/2 is undefined (module :app is not available). I will be very grateful for every suggestion.

That sounds familiar. I'll try to take a look at this shortly and let you know.

There's something wrong with the Config.layout option for sure. The default should be "app.html" (at least that's what works for me here https://github.com/lumenlunae/sentinel/commit/2c477793e490cb6516163859c199268ae554b2ca ) but also, setting my own layout value in my own config.exs doesn't seem to do anything for some reason.

Are you also setting the layout_view config @nbondarenko @lumenlunae ?
Looking at this today I can see it's not very explicit or clear that both need to be set.

I did, to my own .LayoutView
It might just be my limited knowledge with Elixir, but for the life of me Sentinel wasn't reading my own options for layout_view and layout, and was only using its own defaults, even though I had mine set in config.exs

I'll look into that more. Thanks for the feedback.
On Sat, Feb 25, 2017 at 16:05 Matthew Herz<EMAIL_ADDRESS>wrote:

I did, to my own .LayoutView
It might just be my limited knowledge with Elixir, but for the life of me
Sentinel wasn't reading my own options for layout_view and layout, and was
only using its own defaults, even though I had mine set in config.exs
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/britton-jb/sentinel/issues/33#issuecomment-282519175,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADoRIfOkKfFzgW7vnbe6l9A-LWYxYVCOks5rgLPTgaJpZM4MLLMG
.

Thank you all for your feedbacks. Layout view in my config file was set as it was described in a guide. I've dropped users table and model and retried all steps of configuration and all things work now. The reason was the user model and table. This problems appears if user model has been predefined and users table has been created before.

I'll add clarification to the docs about that. Thank you.
On Mon, Feb 27, 2017 at 02:23 Nataliya Bondarenko<EMAIL_ADDRESS>wrote:

Thank you all for your feedbacks. Layout view in my config file was set as
it was described in a guide. I've dropped users table and model and retried
all steps of configuration and all things work now. The reason was the user
model and table. This problems appears if user model has been predefined
and users table has been created before.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/britton-jb/sentinel/issues/33#issuecomment-282667981,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADoRIUlrFQEadS-gXt1W2kXa-TEjNtHmks5rgpX8gaJpZM4MLLMG
.

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!


#12210 Change to the screen markers plugin that now allows users to show/hid…

ISSUE-12210
Change to the screen markers plugin that now allows users to show/hide all screen markers.

Close #12210 if merged

Now using JToggleButton instead of JLabel


⚠ Visual-Crew_Builder has degraded performance

In 727e38e, Visual-Crew_Builder (https://visual-crew-builder.ai) experienced degraded performance:

HTTP code: 200
Response time: 1370 ms

Resolved: Visual-Crew_Builder performance has improved in 36eee00 after 6 minutes.


[TSC ERROR] Getting ElementRef error on latest angular upgrade 2.0.0-beta.17

Hi,
I am getting new error on latest ng2 upgrade.
It doesn't seem to like this.el
**color-picker.directive.ts line 40 **
this.dcl.loadNextToLocation(DialogComponent, this.el)
Severity	Code	Description	Project	File	Line	Suppression State Error	TS2345	Argument of type 'ElementRef' is not assignable to parameter of type 'ViewContainerRef'.   Property 'element' is missing in type 'ElementRef'.	TypeScript Virtual Projects	\views\service\color-picker\color-picker.directive.ts	40	Active

Hi,
Last version is updated for ng2 Beta 17:
https://github.com/Alberplz/angular2-color-picker/releases/tag/1.0.3


Update shorten url service

GraphvizOnline is a purely frontend solution, and its code is accessible to everyone. However, this openness has led to some confidential issues with the bit.ly shortened URL service. Someone exploited this by stealing the access token, resulting in numerous URLs being created on the first day of each month. These URLs appear to link to a random online shopping website. The shortened function is barely functional.
Since bit.ly is a commercial platform, It has limitations for open-source projects. I'll switch the shorten service to is.gd. It seems a more promising service. The capacity it offers should be sufficient for individual users. https://is.gd/usagelimits.php

resolved #42


Move Endpoint classes from the listener to the config package

Just the proposal IMO.
Any ...Endpoint classes and KafkaListenerContainerFactory look like fully configuration artifacts, so should be in the appropriate place.
From other side their implementations are already there.
Looks weird for me and should be fixed or explained.
Thanks

I see what you mean; but this is consistent with Rabbit.

At least it isn't so spiky after the review already.

I went ahead and did it - it helped with the tangles too.


Update rebuses.js

New Redbus
Associated Issue: #
Summary of Changes

change 1
change 2

Pull Request Test Coverage Report for Build 807

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.143%

Totals

Change from base Build 514:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls


Need help regarding attendance list.

Need to find out how I can provide meeting arrangers with attendance lists.

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

ID: 10fb912b-03c2-c982-1ebf-f4c81ad9a06b
Version Independent ID: 14117ead-4613-66c8-8c66-8d52c0c162d7
Content: Conference Detail Report in Skype for Business Server 2015
Content Source: Skype/SfbServer/manage/health-and-monitoring/detail-report.md
Product: skype-for-business-itpro
GitHub Login: @jambirk
Microsoft Alias: jambirk

Review the raw Participation or Modalities reports for a conference and manually create a list of attendees.


Generated entity missing required trait

After generating entities one of the generated files gave the following error:
error[E0599]: no method named `try_into` found for struct `entity::gripe::ActiveModel` in the current scope
   --> src/entity/gripe.rs:5:35
    |
5   | #[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
    |                                   ^^^^^^^^^^^^^^^^^
    |                                   |
    |                                   method `try_into` not found for this struct
    |                                   method not found in `ActiveModel`

importing TryInto at the top of the file fixed the issue.

On further inspection this is a result of the crate being misconfigured to use edition 2018. Would be nice to surface that error differently if possible but if there's not obvious fix for that this can be closed.


Creating some range controls shows the wrong theme

Operating system or device, Godot version, GPU Model and driver (if graphics related):
MacOS 10.13.1
Godot 3.0.beta
Issue description:

Creating some range controls shows the wrong theme, maybe they should not be created in the node list.
Steps to reproduce:

CC @djrm

i dont even know why you can have those nodes, logically the dont have theme elements, maybe the should be virtual classes.

@djrm They can be created.

with 2.1.4, we can't create ScrollBar, Slider node, like CanvasItem
I think this is a bug if these are can be created on scene.
maybe we should disallow Range node too?


issue with time zones in notifications.

We can implement some Accessors & Mutators as I did in the calendar. In this way, the dates are always saved in the database in UTC(or config('app.timezone')) and when the user reads them, they are transformed into their timezone.
https://github.com/Roskus/prospect-flow-crm/blob/56c096918f24beadb6ed63a5cb528d61401511c9/app/Models/Calendar.php#L59-L73

Can be useful but we need to modify the command for send the notification taking in consideration the timezone of the company i guess

we can study the way to do it by monicahq
https://github.com/monicahq/monica/blob/main/app/Helpers/DateHelper.php
refactor:
https://github.com/monicahq/chandler/blob/main/app/Helpers/DateHelper.php


[🐞] Version 1.5.3 build is broken: Cannot load native addon because loading addons is disabled

Which component is affected?
Qwik Rollup / Vite plugin
Describe the bug
Starting with v1.5.3 the vite build fails. This fails in a few different environments, including the official vite template for qwik. Check it out here.
Also, starting with this version, qwik doesn't respect custom rollup configs from vite properly, including custom dir, and entryFileName options.
NOTE: I'm working on a very big design system that supports all the major frameworks including qwik. For each one of them I build to dist. It would be great to be able to keep doing this for qwik.
Reproduction
https://stackblitz.com/edit/vitejs-vite-zyuten?file=package.json
Steps to reproduce
No response
System Info
System:
    OS: macOS 14.4.1
    CPU: (16) arm64 Apple M3 Max
    Memory: 8.46 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 21.7.2 - ~/.nvm/versions/node/v21.7.2/bin/node
    npm: 10.5.0 - ~/.nvm/versions/node/v21.7.2/bin/npm
    pnpm: 9.0.6 - ~/Library/pnpm/pnpm
    bun: 1.0.35 - ~/.bun/bin/bun
  Browsers:
    Chrome: 124.0.6367.119
    Safari: 17.4.1

Additional Information
No response

it might have been caused by
https://github.com/QwikDev/qwik/pull/6178
or
https://github.com/QwikDev/qwik/pull/6162
what do you think @wmertens

@ohkimur can you stay on 1.5.2 until we fix it

csr: true will be fixed in next release https://github.com/QwikDev/qwik/pull/6292

Ah and the dlopen issue is separate because now we ship a binary from Linux and it tries to use it in stackblitz.
So we need to be more careful about that.

What can I do here ?

@wmertens you can outline what @JerryWu1234 can do 🙌

@PatrickJS Do we have any update on this topic? I'm wondering if there's something I could help with. I see the vite-demo still is failing to compile. The same happens still when I update to v1.5.5.

@wmertens is the only one with enough context on what to fix here

This is a cosmetic error. It shows that and then it uses wasm instead. I have a fix already but it's in a PR that's blocked right now, I'll add it separately when I get a chance.

@wmertens Can you mention me in the PR? I'd like to take a look and understand the problem deeper if possible.

@ohkimur it's this commit https://github.com/QwikDev/qwik/pull/6326/commits/2b5384c66306f435c92bd8918d1d2f2b8f0cdfdf

@wmertens did you have a chance to look at this yet?

Sorry it wasn't a fix really, it is just a less ominous message.
The webcontainer looks like Linux so it tries to load the Linux binary optimizer.
It fails and then it falls back to wasm.
At best we can try to detect web containers

I'm going to close this, but if someone knows of a way to detect webcontainers I'm all ears.


There may be something wrong with the NC data in demo

Dear author ，When I magnified the map, I found that the wind field had obvious boundaries，I put in the latest data, and the wind show is smoother.but I still have a few questions.
1.As the map zooming in, the number of particles increases, can it be kept constant?
2.particles's pixel width is not a fixed pixel,when the map zooming in, the width will slowly increase.

The number of particles will not change unless you modify the parameter, but I limit all the particles in the visible area(i.e., the area camera can see) so that the computation of particles will not be wasted.

I think it is a bit difficult to keep the particle pixel size fixed, because it gets involved with geometry computation which is sort of complicate. For now I just simply modify the pixel size according to the distance from particle to camera

Thank you for your answer，now I  know why about question 1，and I am sure that the number of particles is not change, The illusion is only because fadeOpacity and speedFactor  not appropriate on a small scale。
but now I want to express the size in terms of speed,not colors,Do you have any suggestions? thank you!

and I didn't get it about how Cesium.PrimitiveType.TRIANGLES can Draw point or line

Do you have knowledge of WebGL ( or OpenGL)?
If not, I suggest you learn the basis before you start coding.
And for your question, two triangle can make a rectangle, and a line is just a group of long thin rectangle combined together. The knowledge about Computer Graphics and OpenGL can help you understand the rendering code more easily.
Modify a unfamiliar program is painful, so my suggestion is to understand it at first. For what you want, you can change the size dynamically by changing the GLSL code

I just started learning webgl for a short time，and I will accept your advice sincerely,Thank you very much!


python3Packages.torchmetrics: 1.1.2 -> 1.2.0

Description of changes

Fixed a missing dependency (lightning_utilities) and bumped the version.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Pinging the illustrious @SomeoneSerge for review :)


[brpc] Update to 1.10.0

Update brpc to the latest version 1.10.0.
Remove the override keyword to fix the following errors because there is no corresponding virtual function in the base class (the current version of protobuf in vcpkg does not have it).
vcpkg/buildtrees/brpc/src/1.10.0-6977522ae8.clean/src/brpc/serialized_response.h:56:9: error: ‘int brpc::SerializedResponse::GetCachedSize() const’ marked ‘override’, but does not override
   56 |     int GetCachedSize() const override { return (int)_serialized.size(); }
      |         ^~~~~~~~~~~~~
vcpkg/buildtrees/brpc/src/1.10.0-6977522ae8.clean/src/brpc/serialized_response.h:74:10: error: ‘void brpc::SerializedResponse::SetCachedSize(int) const’ marked ‘override’, but does not override
   74 |     void SetCachedSize(int size) const override;
      |          ^~~~~~~~~~~~~

No feature needs to be tested.

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[ ] ~The "supports" clause reflects platforms that may be fixed by this new version.~
[ ] ~Any fixed CI baseline entries are removed from that file.~
[ ] ~Any patches that are no longer applied are deleted from the port's directory.~
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Remove the override keyword to fix the following errors because there is no corresponding virtual function in the base class (the current version of protobuf in vcpkg does not have it).

I think upstream needs to see that. If they're expecting to control grpc's behavior and something in grpc changed that drops that on the floor they probably need to respond to it

I submitted an issue to upstream: https://github.com/apache/brpc/issues/2721

Upstream responded to my issue and submitted a PR https://github.com/apache/brpc/pull/2722 to fix this issue.
I have modified my patch same with upstream.


Stripe PHP Library not found. Be sure it is unpacked in app/Vendor/stripe directory. It can be downloaded from https://stripe.com/docs/libraries

Get error: Stripe PHP Library not found. Be sure it is unpacked in app/Vendor/stripe directory. It can be downloaded from https://stripe.com/docs/libraries
CakePHP 2.9
Stripe 3.14
Path to Stripe.php is app\Vendor\stripe\lib\Stripe.php

Please try to rename the stripe folder to Stripe, so the path will be app\Vendor\Stripe\lib\Stripe.php and see if it works

@aosh50 @hashmode
Replace the line: 4 code in component file:
$path = $base . 'lib' . str_replace('Stripe\\', DS, $class) . '.php';
with
$path = $base . DS . 'stripe' . DS . 'lib' . str_replace('Stripe\\', DS, $class) . '.php';


Theme Upload with no arguments should upload entire theme to Shopify

I was trying to upload the entire theme back to Shopify and nothing happened when I tried these:
theme upload
theme upload -env="development"
downloading the theme works just fine and uploading individual files works as well.  Just the uploading all files does not work. Is this supposed to work or is it a bug?

It's not supported at the moment.

I was asking around and everyone that I spoke with said it was based off of the theme gem and theme upload for all files works with that.  The reason I asked was because, I had over 25 files to upload and didn't want to do them individually. That would take way too much time and trying to remember which ones I did and all that. I also didn't want to use the theme watch as I needed to make multiple changes and didn't want that to get me into trouble uploading something I didn't intend.

Fixed in 0.2.3

Has there been a regression on this, just attempted the theme
theme upload

----------------------------------------------------------------
[ThemeKit - Shopify Theme Utilities v0.2.6 Author: Chris Saunders]
----------------------------------------------------------------

2015/07/06 08:52:13 invalid argument


I built a site with Eleventy!

don't cha know! ;-)

url: https://ffconf.org
source: https://github.com/leftlogic/ffconf

Thank you for an super static site generator 👍

Included in 36fe9203940f57ae1ff7db7436df5d667ff0aad9

please close this issue because the site already exists

Thanks!


Rendering the same form twice on the page gives a captcha already been rendered error

I have a form that appears on the page but might appear/get rendered again on the same page when a user clicks a modal button.
The problem is that I get the following error if that form is being rendered twice on the page:
Error: reCAPTCHA has already been rendered in this element at Object.Hr [as render]
How do I solve this?

Use elementID prop and give each captcha a different elementID. This will let you have multiple captcha instances on a page at the same time.

I had the errror when using with Gatsby in production mode. The solution was to not render the component in SSR mode.

@slorber 	Can you explain a bit more?

Hi
I just did {isBrowser & & <Recaptcha/>} and it solved my issue. Didn't investigate more

Thanks @slorber! That worked for me.


invoker: use locally available image if docker pull fails

I have a local OW setup using devtools docker-compose and provide my own container via --docker. Currently, the invoker will always do docker pull, and if that fails to resolve, will fail the invocation, even if the image is available locally.
This patch will still do a docker pull first, to try and get the latest image, but if that fails, will check if the image is present by calling docker inspect <image> and check for the exit code (non-zero if image is not found). If it's not present, it will fail as before, but if present, it will continue with docker run (new behavior).
Beware, I am not very familiar with Scala. I feel this can probably be done better. It was just a quick proof of concept.

This should include a unit test in DockerContainerTests.scala, but I am not quite sure how to write it in Scala.

Trying to understand the need for this - did you consider changing the manifest to inform the invoker of locally available images it should just use directly e.g., https://github.com/apache/incubator-openwhisk/blob/master/ansible/group_vars/all#L94

You can push your docker action to dockerhub  and then specify the image $user/myimage
You can also push to another registry and configure access to your local environment
If you don't want skip the pull all together then what @rabbah suggested should work
build your local image and tag it with the default prefix whisk
docker build . -t whisk/myblackbox
Then in the manifest add "myblackbox" as a blackbox image
If this doesn't work then we have a bug :-) and should fix

The need is local development with OpenWhisk and testing docker images (action containers) without having to publish them. It’s an unnecessary step to push and pull the (possibly large) image over the network after each change, and because it might be a proprietary image and setting up a private registry is extra work.
The suggestion with the manifest are also extra work and can’t be configured at runtime, i.e. if you have a new image or change its name, you’d have to redeploy the local OpenWhisk AFAIU.

@csantanapr I try the wisk/ prefix.
Another production problem I could see: if docker pull fails because of a temporary network error, the entire (cold) invocation will fail, even though the latest image is present locally, because it always does docker pull first from what I see.

I think adding a check for tags having the assumption that if image name contains a :tag the invoker can just do the docker CLI run if image is not already locally docker CLI will download and cache skipping the download on subsequent runs

The corner case is when the tag is not specified or using latest we delegate the checking band compare to the docker pull to do it

when the action gets updated is our indication that checking to see if there is a latest image is available and doing the docker pull is the route failing to use a probably old image might not be desired in some cases

Today Using manifest to specify set of local images should be easy
You can specify multiple in advanced like
Test1
Test2
Test3
Test4
Only the invoker needs to be redeploy if modifying that list  I believe
My proposal on using tag then the action can be created with image tag making the pull to be skipped but this is a proposal not implented currently

For local dev, tagging the image a whisk/ should suffice.

Yep I agree prefix whisk I think you meant, not tag
Yeah should be trivial if not clear we can provide example

Using a "whisk" prefix alone does not work, I get

Failed to pull container image 'wisk/proxyaction'

Looking at the invoker logs, I see it's still trying to do a pull first and bail out when that throws an error:
...[INFO] [#tid_10] [DockerClientWithFileAccess] running /usr/bin/docker pull wisk/proxyaction [marker:invoker_docker.pull_start:64]
...[ERROR] [#tid_10] [DockerClientWithFileAccess] code: 1, stdout: Using default tag: latest, stderr: Error response from daemon: pull access denied for wisk/proxyaction, repository does not exist or may require 'docker login' [marker:invoker_docker.pull_error:1578:1514]

FWIW, while I had a typo in my previous comment (wisk), using the correctly typed whisk as prefix fails as well.

You are right - and shame on me, I should have known because I changed this.
https://github.com/apache/incubator-openwhisk/blob/9be13e2c6d581f42b60351f05a11e4aa71ca31d9/common/scala/src/main/scala/whisk/core/entity/Exec.scala#L269 a container image is always pulled unless it's white listed in the manifest.

As I said earlier you need to update manifest also

Today Using manifest to specify set of local images should be easy
You can specify multiple in advanced like
Test1
Test2
Test3
Test4

@csantanapr  Sure, but fiddling with the manifest and having to restart OpenWhisk every time you make a change to the manifest can be a bit of a hurdle.
Is there anything problematic regarding production deployments that you see with this change, which is intended for development purposes?
As I can see, this fix might also help in case of temporary network errors or docker registry hiccups that would make docker pull fail, but would not make invocations fail unnecessarily as the image would be locally available.

A semantic change could be observed here - if an image is removed from docker hub, the pull will fail. However the action will continue to run in a particular invoker which has a previously pulled image, until that image is purged locally. This is a new behavior.
We should separate the convenience of local development from resilience to network partitions. An option for the former is to restore an implicit pull bypass if the image prefix matches the local registry prefix. This could be done with a feature toggle through ansible as well for added control.

An option for the former is to restore an implicit pull bypass if the image prefix matches the local registry prefix. This could be done with a feature toggle through ansible as well for added control.

I agree with the compromise @rabbah +1

I'm also OK with a more strict option in addition, to tell the invoker to not do any docker pull at all, to assume that any image required will be already available locally.
This is a theoretical  use case on a close down security deployment that no image should be pulled dynamically.

@alexkli what do you think about the compromise which would allow for the convenience for local testing but without changing the behavior more globally?

An easily configurable prefix would work as well.
I just generally find the notion of “check network first, if it fails, abort, and only then check locally” a bit weird. You’d expect the opposite, plus maybe some interval when it would check for new  versions. It would also save time when you avoid the docker pull done every time.
Also, I believe docker run will do a docker pull implicitly if an image is not found locally. So you’d only need docker pull for updates to existing images.

We break out the pull and the run for performance reasons: the pull can be independent of the run, and this pipelines requests better.
The issue with local first, network second is versioning and life cycle management. I'd rather we address this more systematically with an eager pull into a registry on wsk action create rather than dynamically at runtime.

eager pull into a registry on wsk action create rather than dynamically at runtime

Agree, that would be useful. You'd still need worry about not aborting with an error if the (2nd) pull at invocation time fails.
The question is also how much control the action developer (that uses a custom docker image) has about updates to the image.

Today an update to the action forces a docker pull. Otherwise the action will pull as needed to bring up a new container. So the versioning is very loosely coupled.
See #3052 for alternate fix for local development. If agreeable I suggest we close this patch.

Closing in favor of #3052 which was merged.


RWKV

System Info
Langchain ver 0.0.167, MacBook Pro 2018, Mac OS Ventura.
Who can help?
No response
Information

[ ] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
1.) Download a model.
2.) Download the tokens file.
3.) Run code.
from langchain.llms.rwkv import RWKV
Test the model
def generate_prompt(instruction, input=None):
if input:
return f"""Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
Instruction:
{instruction}
Input:
{input}
Response:
"""
else:
return f"""Below is an instruction that describes a task. Write a response that appropriately completes the request.
Instruction:
{instruction}
Response:
"""
model = RWKV(model="~/Downloads/Q8_0RWKV.bin", strategy="cpu 8bit", tokens_path="./rwkv.tokens")
response = model(generate_prompt("Once upon a time, "))
Expected behavior
I expect the sample to produce some text.
What I get is an error. It appears that the rwkv library is not installed, but it is...
Traceback (most recent call last):
File "/Users/John/Documents/Projects/langchainstufff/rwkv.py", line 29, in
model = RWKV(model="~/Downloads/Q8_0RWKV.bin", strategy="cpu 8bit", tokens_path="./rwkv.tokens")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.init
vectorstore: VectorStore,
pydantic.error_wrappers.ValidationError: 1 validation error for RWKV
root -> root
Could not import rwkv python package. Please install it with pip install rwkv. (type=value_error)

I encountered the same error when using it, and I printed out the error message on line 124 of the rwkv.py file. This error indicates that the torch library is not installed. You can try installing the torch library.

@alienatorZ I have successfully resolved my issue.

I encountered the same error when using it, and I printed out the error message on line 124 of the rwkv.py file. This error indicates that the torch library is not installed. You can try installing the torch library.

Was this the solution?


Please add BCMR data to BCH FT RAZACOIN1 test token

New Listing: SYMBOL

Identity Name: PROVIDE_NAME_OF_ASSET
Authbase: PROVIDE_TXID

Evidence Linking Authbase to Identity

Select one:

[x] Direct evidence: a chain-resolved registry at the authhead provides substantially equivalent metadata for this authbase. The Authhead TXID is provided below:
[ ] Indirect evidence: the identity is burned or provably locked within a covenant, so the authbase can safely be linked using indirect evidence. Details and two or more corroborating, third party-archived URLs of reputable sources vouching for this association are provided below:

Evidence Linking Identity to Authbase

Archived URL(s):

Evidence Linking Authbase to Categories

Select one:

[ ] Token category is equal to the authbase for all Identity Snapshots.
[ ] Evidence is provided for differing category values below:

Substantiation of Other Claims

Select one:

[ ] The submission (esp. the description) includes no claims requiring substantiation.
[ ] The claims in this submission can be corroborated with the following evidence:

Checklist

[x] I have reviewed the OpenTokenRegistry inclusion criteria, and this listing can be included in the registry.
[ ] The listing completes all required fields:

name

[ ] Objective, authoritative, and neutral tone
[ ] No longer than 20 characters; exceptions may be allowed for existing legal names (please provide evidence above including the jurisdiction(s) in which the legal name is established).

description

[ ] Objective, authoritative, and neutral tone
[ ] Descriptions is appropriate for use in user interfaces without a disclaimer by unaffiliated, neutral, third parties (wallets, block explorers, exchanges, etc.); no exclamations, calls to action, or disputable statements.
[ ] All claims are substantiated above.

token information (if applicable)

[ ] Token category is defined.
[ ] If fungible tokens exist for the category, decimals is defined.
symbol

[ ] Globally-unique base symbol, including among assets not listed in OpenTokenRegistry.
[ ] Valid symbol (regular expression: /^[A-Z0-9]+[-A-Z0-9]*$/)
[ ] Appropriate minimum length (For new, primarily-fungible base symbols: minimum of 4 characters; non-fungible base symbols: minimum of 6 characters; see Symbol Length Recommendations)
[ ] No longer than 13 characters for base symbols
[ ] No longer than 26 characters for full symbols

uris.icon

[ ] Uses IPFS (ipfs://)
[ ] Either SVG format OR 400px by 400px AVIF, WebP, or PNG

uris.web

[ ] Domain name is owned by the issuing project or organization
[ ] Either HTTPS protocol OR ongoing activity demonstrated via optional URI identifiers (described in Substantiation of Other Claims)

[ ] Includes relevant historical information in previous snapshots OR this token has never been rebranded, redenominated, or reissued
[ ] All static data (images, animations, videos, binary files, etc.) uses IPFS to ensure file integrity (ipfs://...).

this token is for testing purposes and does not merit listing on otr


Publication queue view unavailable to curators

It appears that the publication queue link is missing in the curator view. I can access this page https://civic.genome.wustl.edu/#/curation/sources however the link to that page is missing from the the oauth drop down menu.

Currently, this is available to Admins, unclear whether this view is available to Editors.


dpi.updateZIndex is undefined

On line 503, of the dialog-polyfill.js it calls the function  dpi.updateZIndex, which is undefined.

nevermind, I had accidentally deleted some code 😓


Onboard WIFI and Bluetooth do not work on RPI3B+.

Everyone use this feature in their products, why it`s not support ?

We are working to get RPi3B+ on Windows 10 IoT Core. Stay tuned.

Installed preview version on Rasberry pi 3b+.
But couldn't detect onboard wifi n bluetooth hardware.
Feeling helpless.


Update Rest Endpoint Sheet

Updated Rest Endpoint sheet
https://docs.google.com/spreadsheets/d/1JxaDu_yas92XGyYpKnn34_-oZPbSwf6RujRu_y8lmDs/edit#gid=0


[JENKINS-51986] - Add Java 11 support to documentation

Documents #34
https://issues.jenkins-ci.org/browse/JENKINS-51986

latest-jdk11 is setup but the other ones not yet

I will do that. I have access to DockerHub so I can configure the build accordingly

I'd be in favor to remove the alpine reference from this until we have a clear plan and availability of alpine based images.

there is alpine jdk-12 ea

LGTM :bee:

LGTM, but I would really like to rename this repo and all downstream things as needed.

If you have time to work on it, you are more than welcome to do that. Personally I want to completely rework the Docker agent release flow: https://issues.jenkins-ci.org/browse/JENKINS-54460 . It's IMHO more important for the project, and it would also resolve the image naming issue.

The main issue with https://issues.jenkins-ci.org/browse/INFRA-1105 is that we would need to rename images in documentation everywhere. So it is a bigger chunk of work than just creating a new DockerHub Repo. I would prefer to reserve jenkins/agent and jenkins/jnlp-agent for a proper release flow running on Trusted CI


Font Awesome Pro copy icons from custom kits

Description
I followed the procedure to copy Pro icons, but it seems the copying process doesn't support custom kits (subsets and custom icons) made on FontAwesome's website.
As far as I can tell, the sync process copies icons from node_modules/@fortawesome/fontawesome-* directories, but custom kits are installed in<EMAIL_ADDRESS>directory.
Now, as I see copying from Pro is different from copying from Kit, I don't actually know if this is a Feature Request or a Bug, so I left it as is.
Possible implementation
Maybe a new command might be needed, like:
php artisan blade-fontawesome:sync-icons --kit
Now, I don't know if there is a use case where multiple kits are downloaded and if those kits might overlap in icon sets.

This should only require the pro option to optionally have a kit-id passed through to it, so after installing the kit via NPM - boom.
I know this is really just an override but, I haven't put together a PR for it.
I've registered this in my bootstrap/app.php,
<?php

namespace App\Console\Commands\FontAwesome;

use DirectoryIterator;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\File;
use OwenVoke\BladeFontAwesome\Actions\CompileSvgsAction;

class SyncBladeIconsCommand extends Command
{
    protected $signature = 'blade-fontawesome:sync-icons
                          {directory? : The root directory containing the npm Font Awesome fonts}
                          {--free : Use the fontawesome-free npm package}
                          {--pro= : Use the fontawesome-pro npm package, or specify a specific kit}';

    protected $description = 'Synchronise Font Awesome icons from npm';

    public function handle(): ?int
    {
        /** @phpstan-ignore-next-line */
        $baseDirectory = (string) ($this->argument('directory') ?? base_path());

        $proSourcePath = "{$baseDirectory}/node_modules/@fortawesome/fontawesome-pro/svgs";

        if (is_string($kitId = $this->option('pro'))) {
            $proSourcePath =<EMAIL_ADDRESS>        }

        $freeSourcePath = "{$baseDirectory}/node_modules/@fortawesome/fontawesome-free/svgs";

        if ($this->option('pro')) {
            $fullSourcePath = $proSourcePath;
        } elseif ($this->option('free')) {
            $fullSourcePath = $freeSourcePath;
        } else {
            $fullSourcePath = collect([
                $proSourcePath,
                $freeSourcePath,
            ])->filter(fn (string $path): bool => is_dir($path))->first() ?? $proSourcePath;
        }

        if (! is_dir($fullSourcePath)) {
            $this->warn("Unable to find Font Awesome SVGs in '{$baseDirectory}'");

            return static::FAILURE;
        }

        $destinationPath = resource_path('icons/blade-fontawesome');

        if (! File::copyDirectory($fullSourcePath, $destinationPath)) {
            $this->warn("Unable to find Font Awesome SVGs in '{$baseDirectory}'");

            return static::FAILURE;
        }

        $sets = [];

        foreach (new DirectoryIterator($destinationPath) as $directory) {
            if ($directory->isDot() || ! $directory->isDir()) {
                continue;
            }

            (new CompileSvgsAction($directory->getPathname(), $directory->getPathname()))->execute();

            $sets[] = $directory->getBasename();
        }

        $this->info('Successfully updated Font Awesome SVGs');
        $this->line("- From: {$fullSourcePath}");
        $this->line("- To: {$destinationPath}");

        $this->line("\nSets copied: ".implode(', ', $sets));

        return static::SUCCESS;
    }
}

I think I'd prefer this as an additional --kit=<id> flag. That way it's more obvious. Feel free to PR this if you'd like to.