Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled. (IDFGH-1681)

Environment
Hardwere: ESP32
IDE used: Clion
Operating System: Linux
Version of Amazon FreeRTOS: 201906.00_Major-225-g523c08a3
Build System: CMake
Power Supply: USB cable
Problem Description
Im trying to establish mqtt connection on my ESP based on this documentation. I found that some functions from mqtt_connect example are not working. When I run monitor it shows that AP connected successfully, expected address IS NOT: <IP_ADDRESS> but after Connecting... I get Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled. and then it reboots. After that ESP tries to connect once again but this this access point connection is failed, expected address is <IP_ADDRESS> and after few seconds I get Failed to establish new MQTT connection, error NETWORK ERROR. and Connect failure. Error 5
Code to reproduce this issue
MqttInit(void){
    IotMqttError_t status = IOT_MQTT_SUCCESS;

    status = IotMqtt_Init();
    if (status != IOT_MQTT_SUCCESS){
        ESP_LOGW(MQTT_TAG, "Init failure");
        return;
    }

    status = _MqttConnect();
    if (status != IOT_MQTT_SUCCESS){
        ESP_LOGW(MQTT_TAG, "Connect failure");
        return;
    }
}

IotMqttError_t _MqttConnect(void){
// Parameters to MQTT connect.
    IotMqttConnection_t mqttConnection = IOT_MQTT_CONNECTION_INITIALIZER;
    IotMqttNetworkInfo_t networkInfo = IOT_MQTT_NETWORK_INFO_INITIALIZER;
    IotMqttConnectInfo_t connectInfo = IOT_MQTT_CONNECT_INFO_INITIALIZER;
    IotMqttPublishInfo_t willInfo = IOT_MQTT_PUBLISH_INFO_INITIALIZER;
// Example network abstraction types.
    IotNetworkServerInfo_t serverInfo = AWS_IOT_NETWORK_SERVER_INFO_AFR_INITIALIZER;
    /*
    {
            .pHostName = clientcredentialMQTT_BROKER_ENDPOINT,
            .port = clientcredentialMQTT_BROKER_PORT
    };
    */
    ESP_LOGI(MQTT_TAG, "Host: %s, port: %d", serverInfo.pHostName, serverInfo.port);
    IotNetworkCredentials_t credentialInfo = AWS_IOT_NETWORK_CREDENTIALS_AFR_INITIALIZER;
    /*
    {
            .maxFragmentLength = 0,
            .disableSni = false,
            .pRootCa = NULL,
            .rootCaSize = 0,
            .pClientCert = keyCLIENT_CERTIFICATE_PEM,
            .clientCertSize = sizeof(keyCLIENT_CERTIFICATE_PEM),
            .pPrivateKey = keyCLIENT_PRIVATE_KEY_PEM,
            .privateKeySize = sizeof(keyCLIENT_PRIVATE_KEY_PEM)
    };
     */
    IotNetworkInterface_t networkInterface = {
            .create             = IotNetworkAfr_Create,
            .send               = IotNetworkAfr_Send,
            .receive            = IotNetworkAfr_Receive,
            .setReceiveCallback = IotNetworkAfr_SetReceiveCallback,
            .close              = IotNetworkAfr_Close,
            .destroy            = IotNetworkAfr_Destroy
    };
// Example using a generic network implementation.
    networkInfo.createNetworkConnection = true;
    networkInfo.u.setup.pNetworkServerInfo = &serverInfo;
    networkInfo.u.setup.pNetworkCredentialInfo = &credentialInfo;
#ifdef BLE_ENABLED
    networkInfo.pNetworkInterface = IOT_NETWORK_INTERFACE_BLE;
#else
    networkInfo.pNetworkInterface = IOT_NETWORK_INTERFACE_AFR;
#endif
// Set the members of the connection info (password and username not used).
    connectInfo.cleanSession = true;
    connectInfo.keepAliveSeconds = 300;
    connectInfo.pClientIdentifier = clientcredentialIOT_THING_NAME;
    connectInfo.clientIdentifierLength = sizeof(clientcredentialIOT_THING_NAME) - 1;
// Set the members of the will info (retain and retry not used).
    willInfo.qos = IOT_MQTT_QOS_1;
    willInfo.pTopicName = "will/topic/name";
    willInfo.topicNameLength = 15;
    willInfo.pPayload = "MQTT client unexpectedly disconnected.";
    willInfo.payloadLength = 38;
// Set the pointer to the will info.
    connectInfo.pWillInfo = &willInfo;
// Call CONNECT with a 5 second block time. Should return
// IOT_MQTT_SUCCESS when successful.

    uint32_t expectedIp = SOCKETS_GetHostByName( clientcredentialMQTT_BROKER_ENDPOINT );
    char expectedIpBuffer[16] = "";
    /* Convert to string. */
    SOCKETS_inet_ntoa( expectedIp, expectedIpBuffer );
    ESP_LOGI( MQTT_TAG, "expected ip: %s", expectedIpBuffer );

    ESP_LOGI(MQTT_TAG, "Connecting...");
    IotMqttError_t result = IotMqtt_Connect( &networkInfo,
                                             &connectInfo,
                                             5000,
                                             &mqttConnection );
    if(result != IOT_MQTT_SUCCESS){
        ESP_LOGE(MQTT_TAG, "Connect failure. Error %d", result);
    }
    return result;
}

// If your code is longer than 30 lines, GIST is preferred.
Debug Logs
I (3377) [ESP32_Kuba3][WiFi]: Connected to AP success
4 306 [main] [INFO ][MQTT][3060] MQTT library successfully initialized.
I (3387) [ESP32_Kuba3][MQTT]: Host: a24k1vf8fdqaq9-ats.iot.eu-central-1.amazonaws.com, port: 8883
I (3647) [ESP32_Kuba3][MQTT]: expected ip: <IP_ADDRESS>
I (3647) [ESP32_Kuba3][MQTT]: Connecting...
5 906 [main] [INFO ][MQTT][9060] Establishing new MQTT connection.
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC      : 0x4009346a  PS      : 0x00060a30  A0      : 0x80091599  A1      : 0x3ffd4950
0x4009346a: vListInsert at /home/jakub/CLionProjects/NS_Internship/prodlinesys_freertos/amazon-freertos/freertos_kernel/list.c:150 (discriminator 1)

A2      : 0x3ffc3b2c  A3      : 0x3ffd4d0c  A4      : 0x00001388  A5      : 0x3ffd4b50
A6      : 0x3fff2d9c  A7      : 0x3ffd4b54  A8      : 0x00000000  A9      : 0x3ffc3b34
A10     : 0x00000000  A11     : 0x00000018  A12     : 0x00000000  A13     : 0x401198b0
0x401198b0: _IotMqtt_ProcessSend at /home/jakub/CLionProjects/NS_Internship/prodlinesys_freertos/amazon-freertos/libraries/c_sdk/standard/mqtt/src/iot_mqtt_operation.c:832

A14     : 0x3ffe373c  A15     : 0x3fff2db8  SAR     : 0x00000008  EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0x00000000

Backtrace: 0x4009346a:0x3ffd4950 0x40091596:0x3ffd4970 0x40090e57:0x3ffd4990 0x40174e4e:0x3ffd49d0 0x40174e6f:0x3ffd4a10 0x40173a50:0x3ffd4a40 0x40173acf:0x3ffd4a80 0x40119321:0x3ffd4ae0 0x40118152:0x3ffd4b10 0x400d2c79:0x3ffd4b40 0x400d2cb8:0x3ffd4c20 0x400d2e0b:0x3ffd4c40 0x400d8d5a:0x3ffd4c60

and after reboot
W (2698) [ESP32_Kuba3][WiFi]: Connected to AP Fail
2 241 [main] [INFO ][MQTT][2410] MQTT library successfully initialized.
I (2708) [ESP32_Kuba3][MQTT]: Host: a24k1vf8fdqaq9-ats.iot.eu-central-1.amazonaws.com, port: 8883
I (13308) [ESP32_Kuba3][MQTT]: expected ip: <IP_ADDRESS>
I (13308) [ESP32_Kuba3][MQTT]: Connecting...
3 2501 [main] [ERROR][NET][25010] Failed to resolve a24k1vf8fdqaq9-ats.iot.eu-central-1.amazonaws.com.
4 2501 [main] [ERROR][MQTT][25010] Failed to establish new MQTT connection, error NETWORK ERROR.
E (25308) [ESP32_Kuba3][MQTT]: Connect failure. Error 5
W (25318) [ESP32_Kuba3][MQTT]: Connect failure

Thanks in advance!

@kuba1342  Could you decode the backtrace addresses using addr2line so that we can find where the program crashed?

@kuba1342 Would you please help share if any updates for the issue? Thanks.

Closing due to lack of update, please feel free to re-open if there is any update or more information available.


[docs] add example for using the children prop

Codecov Report

Merging #4 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master     #4   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines           2      2
  Branches        1      1
=====================================
  Hits            2      2

Continue to review full report at Codecov.

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

Remove the examples for the children prop. I don't want people to use children 😄


bwwidget: fix hash

as seen on https://hydra.nixos.org/build/116886094/nixlog/2
Motivation for this change
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

cc @matthiasbeyer

Why did you CC me?

It doesn't have a maintainer, but I saw a bump from you in 673b6d6d019210f01b4292a7e65377b5f7c2e004.


Release Kong 1.8.0 to next

What this PR does / why we need it:
Releases version 1.8.0 of the Kong chart, which integrates existing changes from next and updates image versions to the latest release.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] PR is based off the current tip of the next branch and targets next, not master
[x] Title of the PR and commit headers start with chart name (e.g. [kong])

 Issue #792: automate main to master replication


SAMZA-1175 - Removing CoordinationService from JobCoordinatorFactory interface

Removing CoordinationService from JobCoordinatorFactory interface

@sborya I have made the changes. Please review. Thanks!
@xinyuiscool : can you also review this ?

Due to INFRA-13775, I will verify "gradlew build" passes locally before committing.
Thanks!


Ironman Icon Issue

When speaking to my friend in private chat where the helmet would normally be im getting a <img=2> is this normal and is there any way to fix this

Hello,
I thought I had filtered out situations where it does that, hopefully it only shows up in private chat.
This is something I will have to fix on my end.
Thank you very much for bringing it to my attention. :)

Hello, I thought I had filtered out situations where it does that, hopefully it only shows up in private chat. This is something I will have to fix on my end. Thank you very much for bringing it to my attention. :)

i threw yah a screenshot just figured give yah a visual

That is helpful, thank you.

one last thing it seems to only happen in solely the "private chat tab" itself i created a "custom tab" with "private only" and it does not do it, nor will it do it in the "all" chat tab either so I'll just roll with the custom tab for now

Oh sweet, that's awesome to hear that it might me limited to the private chat tab. Thanks for narrowing that down for me. :)

Np! Awesome plugin in btw finally can hide chat in fixed mode and have that to side GENIUS!

I'm so glad to hear you like it, thank you so much! :)

Okay I was able to recreate and fix this issue. :D
Should be fixed when the next version comes out, not sure when that will be, there are a lot of new features haha.
I thought there was a reason I had PrivateChat (in) using event.getName(), but I guess not, seems to work great when it is uses the same CleanedName as everything else.
Sorry about this oversight and thanks so much for bringing it to my attention! :D

Good day!
Chat Panel has been updated to version 2.0, and I believe this issue to be fixed.
Thanks again for letting me know about this problem. :)


[5.3] I can't get authenticated user in constructor.

Laravel Version: 5.3.9
PHP Version: 7.0.1
Database Driver & Version: mariadb

Description:
Authenticated user can't call in constructor. It's always return null.
Constructor don't get 'web' middleware access.
Steps To Reproduce:
web.php
Route::get('test', 'testController@test');
testController.php
use Auth;

public function __construct()
{
      dd(auth()->user()); // return null
      //dd(Auth::user()); // return null
      //dd(auth()); // it's show auth() collections but not include 'web' middleware access
}

It's how the middleware is now loaded in 5.3. Check out the "Controller" section of the 5.3 upgrade guide or the following article for your answer. Either use a method that you call when needed (outside of the constructor), or use a Closure-based middleware in your constructor:
Article:
https://laravel-news.com/2016/08/controller-construct-session-changes-in-laravel-5-3/
Upgrade Guide (Controller Section):
https://laravel.com/docs/5.3/upgrade#upgrade-5.3.0


add introduction to Ada book

What does this PR do?
add a new Ada programming language book
Why is this valuable (or not)
There are not many free Ada book around.
How do we know it's really free?
It is released under the http://creativecommons.org/licenses/by/4.0/ license at the bottom of the site.
For book lists, is it a book?
It falls between a book and interactive tutorial (in this case, the audience can click a run button to evaluate a code example).
Checklist:

[x] Not a duplicate
[ ] Included author(s) if appropriate
[x] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

This is a super resource, and you're right about there not being a lot of Ada free resources.
As you write, this is between an interactive tutorial and a book. In deciding between the two, I'd put weight on how the resource describes itself ("a course"), so I'd put it in the interactive tutorials list.

@eshellman Hi, thanks for the review. May I know, where should I put this or what do I need to change if any?

@eshellman Hi, thanks for the review. May I know, where should I put this or what do I need to change if any?

Please do one of two things

revise the PR to add the resource to the interactive tutorials list
or
tell me you think this should REALLY be on the book list instead, and I'll merge the PR.

@eshellman I moved the former interactive tutorial into a separate PR - https://github.com/EbookFoundation/free-programming-books/pull/3227

Wow, thanks for the extra work!

:-)


Initialize miniwdl-slurm plugin

I am running into issues now with a maximum number of arguments. As well as seeing that using too much srun might degrade the performance of the SLURM scheduler (https://slurm.schedmd.com/srun.html#SECTION_PERFORMANCE). So I have to solve it differently.

I have done some further investigation. The SLURM documenation mentions exactly the same warning for sbatch: https://slurm.schedmd.com/sbatch.html#SECTION_PERFORMANCE. So srun can be used. This is by far the most easy way to integrate slurm into miniwdl.
@DavyCats could you review the plugin?


Decoding twice in validation step

See here: https://github.com/CUNY-CL/yoyodyne/blob/master/yoyodyne/models/base.py#L219
Previously, I did this so I could first predict with greedy search to get an accuracy, and then predict with teacher forcing to compute a loss taht is comparable to how the train loss is computed. Currently, we predict twice with whatever is in the batch from the validation dataloader. IIRC this should have the gold targets in it.
This means that we are making identical validation predictions twice, neither of which is greedy -- they both have access to the gold history and use teacher forcing. I think we probably want to compute validation accuracy without the gold history, for which we would need to pass the batch through with no targets on it.
Then, we can either keep predicting a 2nd time to compute a loss with teacher forcing, or just compute the loss directly from the greedy predictions (and thus only decode once during validation).
@kylebgorman thoughts on this?

My (possibly dated) understanding was that training w/ teacher forcing is very common. I recall in MT people used to sample the gold target with some probability (or else take the predicted token). I think the best way to train in morphological inflection may still be an open question (e.g. https://aclanthology.org/2020.coling-main.255.pdf).
Probably the simplest solution is to still train with teacher forcing, and to not pass the gold targets to the model forward method during eval, so that it defaults to greedy search. Then we can just compute both accuracy and loss from the greedy output.
We could consider adding a "student-forcing" option later.

This sounds like a good design to me.

Ok. I made the update but realized a few things:

When we added the Batch class, we lost the original way of deciding when to decode with teacher forcing or not. Now it is a bit clunky, and I think we might be using teacher forcing anytime there is a target col in the data config. I think it might be safer to just force the validate and predict steps on the model to ignore target tensors either by a) setting batch.target.padded to None in those steps, or b) setting a teacher_forcing flag that tells the model to use/ignore the targets (setting this flag will require updating all of the decode methods).
Computing eval loss from student forced predictions is slightly tricky in the current setup. This is because we get mismatches of predicted v.s. gold length. I think I can use the student forced predictions (and thus only predict once) by: removing the decode code that stops decoding early if everything in the batch has predicted an [EOS] (so we don't get predictions that are shorter than the targets), and truncating the ultimate prediction tensors to the target sequence length (so we don't get longer predictions than targets). Then I think I can compute loss like usual.

Thoughts on the above?

Re: (1) nulling it out is hackish but it'll do!
(2) sounds awesome.


Support hcl files

Is your feature request related to a problem? Please describe.
HCL is a format commonly used for hashicorp tools. It would be great to add direct support for them in dasel.
Describe the solution you'd like
Support HCL v2.
Describe alternatives you've considered
The alternative is not supporting HCL, which is currently the case :)
Additional context
I would like this so that I can add better support for Nomad in the Dokku PaaS.

In always open to supporting new file formats, as long as they play nicely with other implementations.
I will take a look at HCL 2 and get back to you on this soon.
Thank you for your interest in dasel 🙂

Hey @josegonzalez,
This looks like it will be a longer term feature since I'll need to write some logic to parse hcl documents into a generic map[string]interface{}.
Short term it looks like you can use a combination of dasel and hcl2json to read hcl documents with dasel.
I'll leave this issue open so I can work on it when I have the time.

@TomWright I've been using hcl2json with jq but hoped that I can use just one. HCL is widely popular in the DevOps world, so, it would great if it's natively supported.

Thank you @TomWright for looking into this. I very much appreciate it and realize that development of the functionality may not be forthcoming.

@nikolay I appreciate that and can see the benefit. I'm not saying it's not going to happen, just that I will have to work on it over time rather than a quick change now

It looks like I can import and directly use hcl2json from my code to make that conversion.
This will allow me to add select support relatively easily, but does not (to my knowledge) allow me to convert JSON -> HCL in order for put commands to work.

Maybe useful for turning a json byte array to hcl? https://github.com/hashicorp/hcl/blob/main/json/public.go#L20

That looks promising.
I also found this repo although it is a little out of data: https://github.com/kvz/json2hcl/blob/master/main.go
I'm not sure if it's for use with hcl v1 or v2.

That repo is hclv1. Maybe supporting either via a flag works.

By the way, there's a tool like jq just for HCL, but it also only supports v1 (for now): hcql.

Are we interested in HCL v1, v2 or both?

Thanks for all the feedback here.
I am currently reworking the encoding/decoding of all supported formats here: https://github.com/TomWright/dasel/pull/289
Once that is done I will use have a crack at implementing parsers for HCL V2.

Just stumbled upon this ticket again - needed the functionality at a new job.
I think supporting only hcl2 is fine as hcl1 support is going to or has been dropped from all other tools.

I'm looking at adding this to dasel v3 - it's the next thing on my list

OK I've got an early version of a HCL2 parser, only the reading aspect of things is done right now but I want to get some agreement on the format, as this will directly impact the query syntax used to interact with hcl documents.
Given an input doc of
io_mode = "async"

service "http" "web_proxy" {
  listen_addr = "<IP_ADDRESS>:8080"

  process "main" {
    command = ["/usr/local/bin/awesome-app", "server"]
  }

  process "mgmt" {
    command = ["/usr/local/bin/awesome-app", "mgmt"]
  }
}

We get a JSON representation of:
{
    "io_mode": "async",
    "service": {
        "listen_addr": "<IP_ADDRESS>:8080",
        "process": [
            {
                "command": [
                    "/usr/local/bin/awesome-app",
                    "server"
                ],
                "labels": [
                    "main"
                ],
                "type": "process"
            },
            {
                "command": [
                    "/usr/local/bin/awesome-app",
                    "mgmt"
                ],
                "labels": [
                    "mgmt"
                ],
                "type": "process"
            }
        ],
        "labels": [
            "http",
            "web_proxy"
        ],
        "type": "service"
    }
}

Does anyone have an example HCL file you're looking to parse? I'd love to test them out to ensure I've got all bases covered.

I've actually just found a spec: https://github.com/hashicorp/hcl/blob/main/json%2Fspec.md
I believe dasel should decode into this structure

I did some more work on this last night, attempting to follow the spec guidelines.
Command:
$ cat example.hcl | dasel -i hcl -o json > example.json

example.hcl:
io_mode = "async"

service "http" "web_proxy" {
  listen_addr = "<IP_ADDRESS>:8080"

  process "main" {
    command = ["/usr/local/bin/awesome-app", "server"]
  }

  process "mgmt" {
    command = ["/usr/local/bin/awesome-app", "mgmt"]
  }

  process "mgmt" {
    command = ["/usr/local/bin/awesome-app", "mgmt2"]
  }
}

example.json:
{
    "io_mode": "async",
    "service": {
        "http": {
            "web_proxy": {
                "listen_addr": "<IP_ADDRESS>:8080",
                "process": {
                    "main": {
                        "command": [
                            "/usr/local/bin/awesome-app",
                            "server"
                        ]
                    },
                    "mgmt": [
                        {
                            "command": [
                                "/usr/local/bin/awesome-app",
                                "mgmt"
                            ]
                        },
                        {
                            "command": [
                                "/usr/local/bin/awesome-app",
                                "mgmt2"
                            ]
                        }
                    ]
                }
            }
        }
    }
}

This appears to work well with duplicate block labels and correctly handles all of the values I've tested so far.

That looks amazing! I know HCL is somewhat tool-specific in the spec implementation, so I'm trying to think of what edge cases there might be...
What about this?
io_mode = "async"

service "http" "web_proxy" {
  listen_addr = "<IP_ADDRESS>:8080"

  process {
    command = ["/usr/local/bin/awesome-app", "server"]
  }

  process {
    command = ["/usr/local/bin/awesome-app", "mgmt"]
  }

  process {
    command = ["/usr/local/bin/awesome-app", "mgmt2"]
  }
}

@josegonzalez converting that HCL into JSON outputs the following:
{
    "io_mode": "async",
    "service": {
        "http": {
            "web_proxy": {
                "listen_addr": "<IP_ADDRESS>:8080",
                "process": [
                    {
                        "command": [
                            "/usr/local/bin/awesome-app",
                            "server"
                        ]
                    },
                    {
                        "command": [
                            "/usr/local/bin/awesome-app",
                            "mgmt"
                        ]
                    },
                    {
                        "command": [
                            "/usr/local/bin/awesome-app",
                            "mgmt2"
                        ]
                    }
                ]
            }
        }
    }
}

If you'd like to test things out yourself you are able to, as long as you can build dasel locally.
The V3 docs are here: https://daseldocs.tomwright.me/v3
Note that they are still very much a work-in-progress

Yeah that looks right! That was the only obvious oddity I could think of.

Ok great. I'll work on the HCL writer next and this will be included in the first V3 release 🎉

I've had a first attempt at the HCL writer and while at first glance it seems to be producing the correct values, I have little to no control over the formatting.
dasel
cat in.hcl | dasel -i hcl > out.hcl

in.hcl
io_mode = "async"

service "http" "web_proxy" {
  listen_addr = "<IP_ADDRESS>:8080"

  process "main" {
    command = ["/usr/local/bin/awesome-app", "server"]
  }

  process "mgmt" {
    command = ["/usr/local/bin/awesome-app", "mgmt"]
  }

  process "mgmt" {
    command = ["/usr/local/bin/awesome-app", "mgmt2"]
  }
}

out.hcl
io_mode = "async"
service {
  http {
    web_proxy {
      listen_addr = "<IP_ADDRESS>:8080"
      process {
        main {
          command = ["/usr/local/bin/awesome-app", "server"]
        }
        mgmt {
          command = ["/usr/local/bin/awesome-app", "mgmt"]
        }
        mgmt {
          command = ["/usr/local/bin/awesome-app", "mgmt2"]
        }
      }
    }
  }
}

I feel like its fine to not handle formatting. There is a fmt command in the nomad codebase that calls hclwrite.ParseConfig() on the content, which maybe is al dasel needs to do? Terraform is similar but not quite the same. I'd go with terraform's implementation if anything, just to be consistent with the more popular tool :)


Change country name to my language

Hi, how can I change the name of a country to my own language? Thanks

Currently, the library only support English, Indonesian, France, and Russian. To change the language programatically, please visit this link: https://stackoverflow.com/a/35617428.
You can help the translation by changing the values from these resources files:
https://github.com/joielechong/CountryCodePicker/blob/master/library/src/main/res/values/strings_country.xml
https://github.com/joielechong/CountryCodePicker/blob/master/library/src/main/res/values/strings.xml

@borjaruiz: I'll close this issue and expect that the problem is solved. Fee free to reopen this issue if the problem still persist.


Kraken Error with JSON: {"error": [], "result": {}}.

Getting this error while trying to add Kraken API  #key:
 Error with JSON: {"error": [], "result": {}}

HI @Insaned79,
Could you please show us the full log file? Just remove any information you think is sensitive (e.g. the balances on your accounts).
Thanks

--------------------------------------------
|   Blackbird Bitcoin Arbitrage Log File   |
--------------------------------------------

Blackbird started on 02/08/2016 17:13:29

[ Targets ]
   Spread Entry:  0.80%
   Spread Target: 0.30%

[ Current balances ]
<Kraken> Error with JSON: {"error": [], "result": {}}. Retrying...
<Kraken> Error with JSON: {"error": [], "result": {}}. Retrying...
<Kraken> Error with JSON: {"error": [], "result": {}}. Retrying...
<Kraken> Error with JSON: {"error": [], "result": {}}. Retrying...
<Kraken> Error with JSON: {"error": [], "result": {}}. Retrying...
<Kraken> Error with JSON: {"error": [], "result": {}}. Retrying...
<Kraken> Error with JSON: {"error": [], "result": {}}. Retrying...

Thank you @Insaned79. It looks like the Kraken implementation doesn't work correctly. I'll take a look to the code soon.

if it helps - I can give you (via email) my key to test (account is empty now)

@Insaned79 that would be helpful thanks (julien.hamilton@gmail.com). I'll tell you when I'm done so you'll be able to delete it and recreate a new one.

Issue fixed. Cause: Kraken returns an empty JSON object whenever all the accounts are empty (i.e. BTC=0.00, USD=0.00, EUR=0.00). I've contacted Kraken as I think they should return this:
{"error":[],"result":{"ZUSD":"00.0000","ZEUR":"0.0000","XXBT":"0.0000000000"}}

instead of this:
{"error": [], "result": {}}

This is how the other Bitcoin exchanges deal with empty accounts. Kraken shouldn't return an empty JSON object.
Anyway, Blackbird will now return 0.00 if the JSON object is empty when checking the balances on Kraken. Thanks @Insaned79 for the assistance.


Scroll sync should work from either MD file or Preview pane

Excellent extension and thank you for taking the time to build it!  I curious if you could make the scroll sync work whether I'm scrolling over the .md file OR the preview. Scrolling syncs fine when mouse is over the preview tab, but when I want to scroll thru for edits in the .md side the preview side remains static. Maybe I have this configured incorrectly or there is a setting? Any advice is appreciated!

I'm afraid that it's an upstream issue, see #19459. 😞
Currently, there are two available settings in vscode,
// Scrolls the markdown preview to reveal the currently selected line from the editor.
"markdown.preview.scrollPreviewWithEditorSelection": true,
// When the markdown preview is scrolled, update the view of the editor.
"markdown.preview.scrollEditorWithPreview": true,

As a workaround, when you click somewhere in the .md file, the preview will scroll to that point.

This is implemented with vscode v1.21.0


Add "New sub category" & "New item" buttons in the relevant pages.

Is your feature request related to a problem?
User should easily identify a button to add items & subcategories
Describe the solution you'd like
Make those button similar to "Add new category" button
Screenshot

But there's an already button called "Add". We don’t need another button to do this. I think you should remove that Add New Category button and try to find a way to improve that add button. @Gimhan-minion

@Gimhan-minion Change the issue title too


How to set proxy on the http-client for KinesisClient?

Currently there is no way to set proxy as ClientInner is private and cannot be mutated. Its a very common practice to use proxy in aws environment as most enterprises use private VPCs.

I haven't had a chance to play with proxies much. Some instructions on how to set up an environment with a proxy would be nice. Would squid work for that?

This should be possible with Rusoto today.
Essentially, you can construct a request dispatcher via the HttpClient::from_connector constructor.
This constructor needs to be an instance of hyper::client::Connect. There are packages like hyper-proxy that give you an instance of Connect (e.g. hyper_proxy::ProxyConnector) which supports connecting to an http/https proxy.
Once you have an instance of HttpClient, you can then use it with any ::new_with constructor that Rusoto offers you (e.g. S3Cloent::new_with).

This certainly isn't tidy enough for a demo, but I just put this together to work through a very specific use-case and it works fine. Just in case someone is looking for an example..
    use hyper::client::HttpConnector;
    use hyper_proxy::{Proxy, ProxyConnector, Intercept};
    use rusoto_core::request::HttpClient;
    use rusoto_core::credential::ChainProvider;

    let client = match env::var("HTTPS_PROXY") {
        Ok(proxy_uri) => {
            let proxy = Proxy::new(Intercept::All, proxy_uri.parse()?);
            let proxy_connector = ProxyConnector::from_proxy(
                HttpConnector::new(4), proxy
            )?;

            let http = HttpClient::from_connector(proxy_connector);
            S3Client::new_with(http, ChainProvider::new(), region)
        },
        Err(_) => S3Client::new(region)
    };

Thanks for the example, @ccakes ! Since we have a ticket for documenting this on https://rusoto.org I think we can close this.
Please reopen if there's still issues!

Hello,
It seems that the example above is no longer possible due to rusoto updates.
Is there an updated example somewhere ?
Thanks !

@Wykiki I just took @ccakes example and wrapped it in a macro:
use rusoto_dynamodb::{DynamoDb, DynamoDbClient, ListTablesInput};

macro_rules! aws_client {
    ($client:ty) => {{
        use hyper::client::HttpConnector;
        use hyper_proxy::{Intercept, Proxy, ProxyConnector};
        use rusoto_core::credential::ChainProvider;
        use rusoto_core::request::HttpClient;
        use rusoto_core::Region;
        use std::env;

        match env::var("HTTPS_PROXY") {
            Ok(proxy_uri) => {
                let proxy = Proxy::new(
                    Intercept::All,
                    proxy_uri.parse().expect("HTTPS_PROXY format is invalid"),
                );
                let proxy_connector = ProxyConnector::from_proxy(HttpConnector::new(), proxy)
                    .expect("failed to create proxy connector");

                let http = HttpClient::from_connector(proxy_connector);
                <$client>::new_with(http, ChainProvider::new(), Region::default())
            }
            Err(_) => <$client>::new(Region::default()),
        }
    }};
}

#[tokio::main]
async fn main() {
    let dynamo_client = aws_client!(DynamoDbClient);
    let list_tables_input = ListTablesInput::default();
    ...
}


Update to<EMAIL_ADDRESS>

Steps:

Update install-vscode script to use vscodeRef instead of vscode from monaco-editor package.json (it was changed on their side)
Update monaco-editor and @types/vscode AND update config.vscode.version in package.json, wait for vscode to be downloaded/built
Update code according to new vscode imported files, fix typescript errors
Test and fix runtime errors, may require to update polyfill.ts

@CGNonofr thank you. My time next week is limited, but I will look into it. If anyone from your side works on just publish your progress on the PR branch, please. 🙂


Sample Example for RTMP URL

Where I can find RTMP Client example for the same ?

RTMP url from another issue
You can use LiveVideoBroadcaster or Exoplayer to test. Links here


⚠ Samsung has degraded performance

In bf5688e, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2500 ms

Resolved: Samsung performance has improved in 6cc471f.


Check for joinable before attempting join in thread destructors

A spurious exception is thrown when shutting down TThreadedServer via drainDeadClients because threads are joined before being destroyed.

Thanks, Sorry for not being clear.  As you said the exception was being thrown and caught, there was no incorrect behavior, I was just annoyed that the normal control flow entered a block marked "// We're really hosed." when I was debugging an unrelated issue.  I'll be sure to follow the protocol next time, thanks for the advice.

boost has a join_if_joinable wrapper for this, but I don't know what version it showed up in.  It is better to avoid an exception when you can so this is good.


[bug]  Elements must only use allowed ARIA attributes

Which Component
rh-footer
Steps to reproduce
See the Initial RHDC Homepage Accessibility Evaluation - Deque Axe DevTools - Summary

@heyMP This one looks like a duplicate of #643 (captured by AXE tools) but captured again with Deque tools.

No longer an issue


support more one configmap config for doris

now doriscluster CR provide one configmap config in doris components. The configmap as file in read-only volume, for the application to read,  The files mount the point "/etc/doris/".
the files in "/etc/doris" for doris components starting. But, the plugins provided by doris also need configuration to start.  Doris Operator should provide the ability to add a config file for the plugin.

#135


this.options nolonger support in webpack 4

in src/loader.js line 205, this.options nolonger support in webpack 4.
it will come up as undefined and go error.
same bug in weex-vue-loader
`
const options = this.options.weex || {}
`
replace by
  const options = this._compiler.options.weex || {}
this will work in webpack 4 and older version

I just open the same issue in weex-vur-loader, and thanks for the solution.


Extension causes high cpu load

Issue Type: Performance
Extension Name: LiveServer
Extension Version: 5.5.1
OS Version: Linux x64 4.15.0-45-generic
VSCode version: 1.31.1

:warning: Make sure to attach this file from your home-directory: /home/balajisivakumar/ritwickdey.LiveServer-unresponsive.cpuprofile.txt :warning:
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Hello. few questions!!,
When you're getting this issue? after load of vscode or after clicking to Go Live ?
Is this happen every-time ? or random ?
Please reply here https://github.com/ritwickdey/vscode-live-server/issues/278
Duplicate of https://github.com/ritwickdey/vscode-live-server/issues/278

[Note: This issue is closed by a javascript code (written by me).
https://gist.github.com/ritwickdey/36682dabe4a992c57e4562c935bfbbdd ]

Thank You.


Possible error in tree section

Thanks for this really helpful guide! In your tree section, it says that "When you are asked to traverse a tree by level, use depth first search." In this case, should it be Breadth First Search? I remember doing a Level-Order traversal problem on LeetCode, and to solve it I used BFS with a queue. I think I may be misreading your statement too.

Good catch. The sentence should say "breadth first search" instead. Thanks!


[bug] webview sock5 proxy_url not activate on windows 11

Describe the bug
The following seems to be compatibility issues, which have been verified by macos 14 and are effective
1.
webview sock5 proxy_url not activate on windows 11, but macos 14 is activated.
Is it still not supported, or is there a special configuration for the windows plm.
import { getCurrent } from '@tauri-apps/api/window'
...
const webview = new Webview(getCurrent(),`${app.name}-webview`, {
	url: app.url,
	proxyUrl:'sock5://....'
	title: app.name,
	width:960
});

By the way, I would like to confirm
new WebviewWindow will crash in Windows system, But the console has no errors，
tauri://created Triggered
tauri://error Not triggered
Is it because the window API still doesn't support on wins plm?

Reproduction
No response
Expected behavior
Confirm support and plan
Full tauri info output
[✔] Environment
    - OS: Mac OS 14.5.0 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.77.0 (aedd173a2 2024-03-17)
    ✔ cargo: 1.77.0 (3fe68eabf 2024-02-29)
    ✔ rustup: 1.27.0 (bbb9276d2 2024-03-08)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 21.7.1
    - pnpm: 8.10.5
    - yarn: 1.22.17
    - npm: 6.14.17

[-] Packages
    - tauri [RUST]: 2.0.0-beta.22
    - tauri-build [RUST]: 2.0.0-beta.17
    - wry [RUST]: 0.40.1
    - tao [RUST]: 0.28.0
    - @tauri-apps/api [NPM]: 2.0.0-beta.13
    - @tauri-apps/cli [NPM]: 2.0.0-beta.20

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../../agent/gui
    - devUrl: http://localhost:1420/
    - framework: Vue.js
    - bundler: Vite

Stack trace
No response
Additional context
No response

This one is rather curious, I did some digging and here are some characteristics I've found so far:

wry's proxy support does work on Windows 11 for both http and socks5
However the window created with proxyUrl argument using tauri will immediately result in the window spawning and closing
Additional investigation shows this window created by tauri isn't closed properly, as crash callback isn't raised and additional attempt at creating the same window after the first one closes will result in the error "a webview with label my-label already exists"

https://github.com/tauri-apps/wry/pull/1006/files#diff-7134ef3789fee9def2afb1d6196ed5eff5f37b7bbad5eceaa5d85cbf3e3513de
I have reviewed wry's code and added socks5 and HTTP proxies for **webview2**, and the -- proxy server parameter is also officially supported by **Edge**
Ref: https://learn.microsoft.com/en-us/deployedge/edge-learnmore-cmdline-options-proxy-settings
I think just https://github.com/tauri-apps/tauri/blob/dev/core/tauri/src/webview/plugin.rs#WebViewConfig missing proxy_url definition

#[command]
async fn create_wry_webview(
	app: tauri::AppHandle,
	label: String,
	window_label: String,
	proxy_host: String,
	proxy_port: String,
	curl: String,
) -> Result<(),()> {
	unsafe {
		let window = app
		    .get_window(&window_label)
		    .expect("Failed to find window by label");
		// let event_loop = tao::event_loop::EventLoop::new();
		// let window = tao::window::WindowBuilder::new().build(&event_loop).unwrap();
		let proxy_config = wry::ProxyConfig::Socks5(wry::ProxyEndpoint {
			host: proxy_host,
			port: proxy_port
		});

		let builder = wry::WebViewBuilder::new_as_child(&window);
		let webview = builder
		  .with_url(curl)
			.with_proxy_config(proxy_config)
			.with_bounds(wry::Rect {
			    position: tauri::LogicalPosition::new(100, 100).into(),
			    size: tauri::LogicalSize::new(960, 800).into(),
			  })
		  .build()
		  .unwrap();
	}
	Ok(())
}

@dklassic When I tried to create a webview using wry(0.41.0) and set "with_proxy_config", I opened a blank window while running Win11. After a while, the window froze (it didn't immediately froze, it froze for a few seconds), and I ruled out other reasons. The froze was caused by with_proxy_config,
The test conclusion is that the with proxy_config did not take effect and caused the window to freeze
Cloud you help me check the code issue? Thanks

this is my code, it works on mac, but stuck on Windows, showing a white screen. tauri version is 2.0.0.rc-11 with macos-proxy enabled.
#[tauri::command]
fn openWindow(app: tauri::AppHandle, label: &str, title: &str, urlString: &str) {
let webview_window =
tauri::WebviewWindowBuilder::new(&app, label, tauri::WebviewUrl::App(urlString.into()))
.inner_size(800.0, 600.0)
.title(title)
.proxy_url(Url::parse("socks5://localhost:1080").expect("REASON"))
.build();
}

I would like to inquire whether the bug related to the use of SOCKS5 proxies in Tauri has been resolved.
@lucasfernog @liushuyu


Wip/split temp basals

Split temp basals based on basal profile changes to get more accurate IOB
Tests for basal logic
NOTE: REQUIRES moment.js; run npm install to use if on linked install
DO NOT MERGE YET

Coverage increased (+1.8%) to 36.619% when pulling 1f0a8f691f337e61459abaa9f848fe722410c9ca on sulkaharo:wip/split-temp-basals into 4920674d56bfc31b57385c600a77b3aadce9c081 on openaps:dev.

Coverage increased (+1.8%) to 36.619% when pulling 1f0a8f691f337e61459abaa9f848fe722410c9ca on sulkaharo:wip/split-temp-basals into 4920674d56bfc31b57385c600a77b3aadce9c081 on openaps:dev.

Coverage increased (+1.8%) to 36.619% when pulling 9336ad8ec44043b57d98d93d1852916017666980 on sulkaharo:wip/split-temp-basals into 4920674d56bfc31b57385c600a77b3aadce9c081 on openaps:dev.

Coverage increased (+1.8%) to 36.619% when pulling ae3abda43c4cedeed48aeb0c24fa1d6430babb28 on sulkaharo:wip/split-temp-basals into 4920674d56bfc31b57385c600a77b3aadce9c081 on openaps:dev.

Coverage increased (+1.8%) to 36.619% when pulling ae3abda43c4cedeed48aeb0c24fa1d6430babb28 on sulkaharo:wip/split-temp-basals into 4920674d56bfc31b57385c600a77b3aadce9c081 on openaps:dev.

Coverage increased (+1.9%) to 36.728% when pulling 0a018df6bef1674add681eedeb0135b23f6c08cb on sulkaharo:wip/split-temp-basals into 4920674d56bfc31b57385c600a77b3aadce9c081 on openaps:dev.

Coverage increased (+1.9%) to 36.728% when pulling 0a018df6bef1674add681eedeb0135b23f6c08cb on sulkaharo:wip/split-temp-basals into 4920674d56bfc31b57385c600a77b3aadce9c081 on openaps:dev.

Coverage increased (+2.1%) to 36.989% when pulling 3f70af98bf648c2d086ce53d4b98237dd6370d72 on sulkaharo:wip/split-temp-basals into 4920674d56bfc31b57385c600a77b3aadce9c081 on openaps:dev.

Coverage increased (+2.1%) to 36.989% when pulling 3f70af98bf648c2d086ce53d4b98237dd6370d72 on sulkaharo:wip/split-temp-basals into 4920674d56bfc31b57385c600a77b3aadce9c081 on openaps:dev.

Coverage increased (+1.8%) to 36.629% when pulling 1eb6ede7c41e80fa8987e0baad540fd8c1835552 on sulkaharo:wip/split-temp-basals into 4920674d56bfc31b57385c600a77b3aadce9c081 on openaps:dev.

Coverage increased (+1.8%) to 36.629% when pulling 1eb6ede7c41e80fa8987e0baad540fd8c1835552 on sulkaharo:wip/split-temp-basals into 4920674d56bfc31b57385c600a77b3aadce9c081 on openaps:dev.

Coverage increased (+2.0%) to 36.8% when pulling 4a5fe782da767e6fd7252533c7d76cbf97153dc5 on sulkaharo:wip/split-temp-basals into 4920674d56bfc31b57385c600a77b3aadce9c081 on openaps:dev.

Coverage increased (+2.0%) to 36.8% when pulling 4a5fe782da767e6fd7252533c7d76cbf97153dc5 on sulkaharo:wip/split-temp-basals into 4920674d56bfc31b57385c600a77b3aadce9c081 on openaps:dev.

Coverage increased (+2.0%) to 36.8% when pulling 60b1d39d10763651d0d5b25fa194aae8bac73936 on sulkaharo:wip/split-temp-basals into c3b227fc3e8574c39d695222fdbd5e31647b7400 on openaps:dev.

Coverage increased (+2.0%) to 36.8% when pulling 60b1d39d10763651d0d5b25fa194aae8bac73936 on sulkaharo:wip/split-temp-basals into c3b227fc3e8574c39d695222fdbd5e31647b7400 on openaps:dev.

IOB from this branch vs "original" oref0 vs mmhistorytools

Coverage increased (+2.0%) to 36.8% when pulling 988ba43e056bf81156070d9135c7de1a3ea4a005 on sulkaharo:wip/split-temp-basals into c3b227fc3e8574c39d695222fdbd5e31647b7400 on openaps:dev.

IMO this is now good to go. The IOB plot matches as expected (see above); tests pass. @jasoncalabrese or @scottleibrand you wanna do the honors?

I see some weird indentation that probably indicates a tabs vs. spaces mismatch, but otherwise LGTM.   @jasoncalabrese would you like to look over this and/or run it on a rig before we merge?

FWIW we've had this on the rig for 5 days now; so far behaving as expected.

Just pushed https://github.com/openaps/oref0/pull/202 to fix the inconsistent tab spacing.  I'm good to merge this via https://github.com/openaps/oref0/pull/202 as soon as someone else gives it a 👍 as well.


[Tests] Disable path lookup test for OS stdlib.

Path lookup needs the new stdlib.
rdar://107399270

This is a cherry pick of #64763.

@swift-ci Please test

@swift-ci Please test


make sure we don't create another subscription when matching a donation

Changes Unknown when pulling 8a64e43776f1b98a85b568341f5c7c5aca9ca1db on fixMatchingFund into ** on master**.


Use italic font to display comments in the SQL editor.

Good day, is it possible to use an italic font to display comments in the SQL editor?
I only managed to change the color...
I would like to get this result

DBeaver Version
Community Edition <IP_ADDRESS>403241413
Operating System
Windws 10

Thank you for idea


Missing assembly references

OS: Windows 7 SP2
Unity Version: 2020.3.15f2 Personal
IDE: Microsoft Visual Studio Community 2019 Version 16.9.4
with Visual Studio Tools for Unity <IP_ADDRESS>
Realtime CSG

Imported Version 1.562 via Assetstore/Package Manager
Imported latest realtime CSG from Github

Issue:
Most or all scripts cause errors "Missing assembly reference" in Visual Studio.
Visual Studio suggests to fix it: Add reference to 'Assembly-CSharp-Editor-firstpass' (never seen before, normally it would suggest "using ...")
This fixes the errors in VS, but the issue then persists in the Unity console. After restarting VS the errors appear there again aswell.
The Realtime CSG editor tools seem to work fine.
Error producing code (https://www.realtimecsg.com/documentation/brushMesh.html):
        BrushMesh cube = RealtimeCSG.Legacy.BrushFactory.CreateCube(Vector3.one);         BrushMeshInstance cubeMeshInstance = BrushMeshInstance.Create(cube, 1);
Errors:

Error	CS0234	The type or namespace name 'BrushFactory' does not exist in the namespace 'RealtimeCSG.Legacy' (are you missing an assembly reference?)
Error	CS0246	The type or namespace name 'BrushMesh' could not be found (are you missing a using directive or an assembly reference?)
Error	CS0234	The type or namespace name 'BrushMeshInstance' does not exist in the namespace 'RealtimeCSG.Foundation' (are you missing an assembly reference?)
Error	CS0234	The type or namespace name 'BrushMeshInstance' does not exist in the namespace 'RealtimeCSG.Foundation' (are you missing an assembly reference?)

i'm also running into this issue

If you are still having this issue, make sure you are only importing the Plugins/ directory, and not the entire repo.

If you are still having this issue, make sure you are only importing the Plugins/ directory, and not the entire repo.

Thank you Daniel, I will try that!

Did this work for you?

This should no longer be an issue as of #340. Should be a drop-in plugin now.


<IP_ADDRESS>/24 > <IP_ADDRESS>/24 in create-custom-waf-rules.md

Using <IP_ADDRESS>/24 in this scenario throws PowerShell validation errors. Changed to <IP_ADDRESS>/24, which is the same effective thing.

@ryanborMSFT : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


housekeeping tasks-0.0.0

created a folder called src which contains two sub-folders namely R and Python. The idea is scripts related to either R or Python will live in their respective folders.
changed previously committed files into their respective folders.
created an initial website data scraping script that will use the R package rvest.

No conflicts with the base branch. Ok to merge.


Suggestion: alias for a module

I have checked the module documentation and the aliases documentation.
It'd be awesome if we could do something like this
mod test ".config/commands/test.justfile"
alias t := test

And use it like just t test-recipe-in-test-justfile, i.e. alias the module itself. Previously, the hack around modules was as follows where you could do this:
alias d := docker
# Groups docker commands
docker recipe='' *ARGS='':
just -f ./config/commands/docker.justfile {{recipe}} {{ARGS}}

This seems totally reasonable to me!


Not working on IE11

Not working on IE11. it is giving syntax error in utils.js

Okay, will check

@chandrashekhar-racharla
It is already mentioned in README that this plugin is intended to be used in modern browser only.
Even though, I tried online IE emulators but none of them worked for me.
I have limited access to Windows machine, i use MacOS on work and Linux at home.
Can you share the exact error you see in console ?
Can you also share a screenshot of that.
Thanks.

just giving syntax error message.If I click on it it will goes to utils.js file

There is no utils.js file in this package.
It does have a util.js file.
https://github.com/ankurk91/vue-loading-overlay/blob/master/src/js/util.js but it should not be used by webpack.
webpack should be using this file from dist folder
<EMAIL_ADDRESS>This is a standalone file and it does not link back to any of js files.

inside the Component.vue using  import {removeElement, hasWindow, HTMLElement} from './util'.that cause the problem.
Please correct me if my understanding is wrong

How are you using this component?
You are not suggested to use the src folder.
Please install it via npm, you will see a dist folder.
If you are using webpack or laravel-mix then
import Loading from 'vue-loading-overlay';

should be ok, it will pick from dist folder.
I can not help you unless you you tell me about your platform.

Thanks for pointing me correct path .Now issue fixed
thank you very much for your support


fix py3.8 dict changed during iteration

Motivation
In python3.8, changing the key of a dictionary during iteration is forbidden.
BC-breaking (Optional)
None

"RuntimeError: dictionary changed size during iteration" is a common bug. see dictionary-iterators. It not a version-specific bug of py38.


'Requring invalid module "image!my-icon"' error when trying to include static image

When I try to require static assets as per http://facebook.github.io/react-native/docs/image.html#static-assets, I get the following error:
"Requring invalid module "image!my-icon". If you are sure the module is there, try restarting the packager."
Not sure if there are any steps I'm missing? I've included the asset in my Images.xcassets library

I don't know what is causing this issue, but ide in the irc told me to manually run:
node_modules/react-native/packager/packager.sh -assetRoots path/to/Images.xcassets

And that seems to work.

That didn't seem to do the trick unfortunately. Any other ideas of things I might have missed?

The above fixed worked, thanks!

published v0.2.1

Where should I put the static assets then? in iOS/Images.xcassets?

@amasad it seems like the fix in #286 was later reverted by 31c4ff0?
but fwiw I applied that diff manually to my packager and still couldn't get images to work. Inspecting the ReactPackager middleware to see if I can debug this further.

@pedro uggh that's clowny, I'll get it back shortly

brought this back in v0.3.1

That patch worked for me. @pedro did you do npm install react-native -g instead of npm install react-native -s by any chance?
@amasad It's a bit fragile, because node_modules can be pretty much anywhere relative to the xcode project.

@amasad has this bug definitely been closed ?
it originally didn't work, then worked for 2 days and now i've tried importing different images, on 3 different projects, and none work, even in the examples projects...
both launching default packager.sh and the command line where you specify assetRoots

Odd, still having issues here too. I have the react-native package installed locally with my app (under node_modules in the root folder).

ah, doh, was just using it wrong.
Not familiar with Images.xcassets, thought I needed to refer to images by the name of the group I defined in Xcode. But debugging the react-native packager I saw it still adds assets by the original image name, so using these instead works.

It should work now. But I know it's painful, working on making it a lot nicer.

I encountered the same issue today. Using the original image name worked but the name of the set didn't.

Hi,
Now I seem to be facing the same issue, referring to the images by the image name does not work. E.g.
I have Avatar.png<EMAIL_ADDRESS><EMAIL_ADDRESS>in my Images.xcassets, and I use require('image!Avatar') does not work.
Any clues?
I also used this to launch, also does not work...
$ node_modules/react-native/packager/packager.sh --assetRoots path/to/Images.xcassets

I am also facing this problem, can't seem to get it to work, any ideas?

What are the errors you're seeing?

@amasad I am getting the error at the title of the thread. I did a bit more reading and named the image set the same as the file name of the image, and that seems to have fixed it.

@amasad Nvm I had padding on the Image element which was invalid (although it worked). Removed the padding and added an inner view layer with the padding and the text component's transparency started to work.

Face the same problem....

@SatanWoo make sure you use the same name of the original filename as the name of your image set. That seemed to work for me.

same.. its not working. When you talk about
node_modules/react-native/packager/packager.sh --assetRoots path/to/Images.xcassets
where should u run it from ?

Can you follow the instructions in this comment: https://github.com/facebook/react-native/issues/521#issuecomment-96827744

Mine seems to work now. Thanks. Apparently I was trying to make it dynamic:
`var icon = 'Avatar';
require('image'+icon)`
That does not work.

@dickyj can you paste the error that's generated when you do it? We should probably improve the wording so that you don't have to open an issue each time :)

@vjeux its the same error message as the one here:
http://stackoverflow.com/questions/29308937/trouble-requiring-image-module-in-react-native
Its actually very misleading error message, since it says it cannot find "image!Avatar" but when I hard coded it, it works.

@josebalius  Amazing!!! I face the same issue 5 mins ago, then I saw your comment, instead of click + button to add a new image, I just dragged it to Images.xcassets.(Didn't change the name). It's working now.
Thx!!!

Same for me. Images.xcassets + with Import didn't worked, drag'n'drop solved the issue.

Local image loading doesn't work for me at all still.
 ...
        <Image
          style={styles.icon}
          source={require('image!xyz')}
        />
 ...

var styles = StyleSheet.create({
  icon: {
    width: 360,
    height: 360,
  }
});

message: Requiring unknown module "image!xyz". If you are sure the module is there, try restarting the packager."

Nothing suggested here works for me, nor does the linked Stackoverflow question. Can someone please definitively specify how to successfully require an image?

The solution worked for me is to change the name of your image to be the same as the name of Image Set.
For example, when you add a new image set named "fb", all images assigned to this set has to be named as "fb.png"

@ma94264 That worked for me as well, thanks for the tip.  The file name associated with the image set must match the image set name.

Thank you @ma94264!

your image file name must have the same name as imageSet name

I also have a problem just like this, could you help me out?
http://stackoverflow.com/questions/29308937/trouble-requiring-image-module-in-react-native/33472934#33472934

I'm experiencing the same problem still, exactly like @Creemli

I have a workaround, I am not proud of it but nevertheless, if you include the images in the top root of the applications with the filenames not dynamically generated (and hide them with height : 0 or something, you can then later in the application dynamically generate the names. Here is an example of my top node:
<React.View>
	<Image source={require('image!allowance')} style={[{height : 0}]}></Image>
    <Image source={require('image!logotype')}  style={[{height : 0}]}></Image>
    <Image source={require('image!savings')}  style={[{height : 0}]}></Image>
    <Image source={require('image!tasks')}  style={[{height : 0}]}></Image>
    {this.props.children}
</React.View>

and later down in the application in a render function:
<Image style={this.getStyles()} source={require(`image!${this.getImageName()}`)} />

@philipengberg  I have fixed this issue today. And the following is my situation:
if you are in rn project () you must make sure that the RCTImage in your peoject.
And if you are integrating with Existing Apps, you must add depends in  your podfile:
pod 'React', :subspecs => [
'Core',
'RCTImage',
'RCTNetwork',
'RCTText',
'RCTWebSocket'
]

My problem was that i was using 0.14. With 0.14 you can easily import images by just require('.myimage.png')

It should be mentioned that you don't have to put the images in Images.xcassets - you just put them in the project root and then just require('.myimage.png') as @anback wrote
Look at this SO answer and the pull it references

If we do not use the images.xcassets, does it mean that rn will not use the image loader of oc, and whether the performance is good?

They are added to assets.cer anyway, at least that's what I see when debugging bundled app.

I have a similar issue.
//This works perfectly:

 <Image
                source={require('../img/burguer-menu.png')}
                style={[{ width: 15, height: 15}]}/>

//This won't work for some reason:
// this.props.iconName = 'burguer-menu';
 <Image
                source={require('../img/' + this.props.iconName + '.png')}
                style={[{ width: 15, height: 15}]}/>

Any suggestion?

Same for me.  Using concatenated string or string variable doesn't work for me either in the "require()".  This makes my program more complex and I often needs to use variables for my images.   Now I have to do a switch() and hard code my string in the require().

What about svg images?

+1

+1

+1

We've managed to work around that (and works with 0.15 w/o issues) by:
const imagesMap = {statusA: require('...'), statusB: require('...')};

then, in component:
<Image src={imagesMap[`status${this.props.status}]`} />

Thank you, grabbou. You saved me with this solution.

I am using react-native 0.27.2 and image is not showing in released.apk but working fine in development any reason?

+1 same for me in 0.35 and 0.36. Works fine in debug when pulled from the server. Fails when looking in the APK. The unzippped APK does have the image in it with name mangling.
require("src/js/common/img/logo.png") <-- works in debug, not in release
Logcat Error: E/ReactNativeJS(13502): Requiring unknown module "src/js/common/img/logo.png"
APK file verified: /res/drawable-mdpi-v4/js_common_img_logo.png


Handle hup events as indicating read readiness

Using Linux's epoll(7) interface, a EPOLLHUP condition is
signalled for the reading end of a pipe or socket when the other end
is closed for writing. This may happen in combination with EPOLLIN
being signalled (if further data is available for reading), or without
EPOLLIN.
If EPOLLHUP is signalled without EPOLLIN it indicates an immediate
EOF condition, which will result in the next read() suceeding with 0
bytes read. It is thus not required to handle EPOLLHUP specially in
the reader, but we need to indicate readiness upon encountering it.
Looking at the kqueue and windows mio backends, they seem to be
turn a detected EOF and connection reset into mio::Ready::hup()
events, so it may be reasonable to speculate that this change is an
improvement for these platforms as well.

Thanks! Would it be possible to also add a test for this?

I'll try to come up something inspired by the tokio-process code.

It seems that epoll() signalling just EPOLLHUP, without including EPOLLIN for that FD as well, can be only triggered with pipes. I have now have a test that excercises that case, but it duplicates quite some code from alexcrichton/tokio-process#1. In particular, the duplicated code provides the machinery to wrap a Unix RawFd in a type implementing PollEvented.
This seems like something that makes sense to expose as Unix-specific API in tokio-core, but I'm not sure whether I'm going in the right direction with that idea, and probably would need some guidance on the API surface design, should I prepare a PR for that feature. So, if this is deemed a reasonable idea, I can prepare a rough pull request, and the API bikeshedding can start ;-). @alexcrichton Any ideas on that topic?

Note that I've now included a rough sketch of the test as a separate, preceding commit so it's clear what kind of code I'm talking about.

Besides the nix vs. libc issue, I consider this fit for merging now.

I touched up the test a bit but otherwise looks great to me, thanks again!


[DOCFIX] Tips for client-side logging

Make it explicit on how to enable client-side logging.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/17851/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/17863/
Test PASSed.

Merged build finished. Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/17880/
Test PASSed.


Description improvements

First of all, RecaulculateDescriptionPosition < ? Name needs to be fixed.
Second of all, stop formatting description constantly, only do it when an item is added the description is changed?

First of all, RecaulculateDescriptionPosition < ? Name needs to be fixed.

Talking about someone's code like that in no way motivates people to help you...

Talking about someone's code like that

I was leaving for school so ended up writing that without thinking, sorry.
What I meant really was that there is a mix between Ask forgiveness, not permission and "Let's leave the documentation for later". Usual problems for when you are learning how to code.

in no way motivates people to help you...

This is GitHub, so...


a warning for users of SLOBS

adding a note of incompatibility with SLOBS for the Kruiz Control Widget example

the reasoning here was given that the KC framework itself does support SLOBS, it may be necessary to explicitly warn readers the following integration example method will be incompatible.

I'll update the wording in the next update but I think this is a good notice to add. Thanks for the input!


Jack mint no wasm

Wasm ded
0.42.9
Jack's changes
Eliminiated superfluous default module

Closes
#27
#32

Awesome! thanks!
I don't think it closes #27 as @jackzampolin just pulled in the relevant files to code on.
The work itself still needs to be coded.

You're right.  And I can close this now that 0.43.0 is complete.


GitHub Actions for auto update

Hi, I think we should have a GitHub Action in this repository to automatically update the version when new versions is made available. I think this is possible and would save the author time updating the images manually. I could come up with a pr if you would like. And also, 6.0.37 is just out, 6.1.26 is out for about two days now.

Added GitHub actions for building. May look to extend them for automated version updates in the future.

That's good to see, since in my experience, GitHub actions builds way faster than docker hub. More over, it's possible to trigger multiple actions at once so building multiple images at once is possible, making it even faster.


[fix][test] Fix testLargeMessage doesn't respect the parameter clientSizeMaxMessageSize

Motivation
https://github.com/apache/pulsar/pull/14382 introduced the client-side maxMessageSize for the message chunking. But the parameter clientSizeMaxMessageSize in testLargeMessage is not respected in that PR. This PR fixes this issue.
Modifications

Respect the clientSizeMaxMessageSize. The clientSizeMaxMessageSize should not be too small because https://github.com/apache/pulsar/pull/14007 has included the metadata when calculating the chunk size.

Verifying this change
This change is already covered by existing tests, such as testLargeMessage.
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes

[ ] Dependencies (add or upgrade a dependency)
[ ] The public API
[ ] The schema
[ ] The default values of configurations
[ ] The threading model
[ ] The binary protocol
[ ] The REST endpoints
[ ] The admin CLI options
[ ] Anything that affects deployment

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: https://github.com/RobertIndie/pulsar/pull/8

Codecov Report

Merging #18452 (96153ed) into master (fdf86d3) will decrease coverage by 9.08%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master   #18452      +/-   ##
============================================
- Coverage     45.67%   36.58%   -9.09%
+ Complexity    10075     1937    -8138
============================================
  Files           693      208     -485
  Lines         67940    14385   -53555
  Branches       7273     1572    -5701
============================================
- Hits          31030     5263   -25767
+ Misses        33333     8536   -24797
+ Partials       3577      586    -2991

Flag
Coverage Δ

unittests
36.58% <0.00%> (-9.09%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...va/org/apache/pulsar/client/impl/ConsumerImpl.java
15.07% <0.00%> (-0.03%)
:arrow_down:

...apache/pulsar/client/impl/AutoClusterFailover.java
73.33% <0.00%> (-2.23%)
:arrow_down:

...g/apache/bookkeeper/mledger/util/StatsBuckets.java

.../prometheus/metrics/DataSketchesSummaryLogger.java

...he/pulsar/broker/loadbalance/LoadSheddingTask.java

...ar/broker/loadbalance/impl/BundleSplitterTask.java

.../org/apache/pulsar/broker/service/PulsarStats.java

...saction/timeout/TransactionTimeoutTrackerImpl.java

...ava/org/apache/pulsar/broker/admin/v1/Brokers.java

...sar/broker/loadbalance/impl/PulsarServiceUnit.java

... and 479 more

Thanks for taking care of this! Merging...


Video Grid on Success Stories Page

I have implemented a simple grid in the videos area to reduce page length, in response to issue #1597 . Videos can be full-screened so the small size shouldn't be an issue. I believe this to be responsive. I won't close the issue because it mentions other page action items.
Potential next steps I see for the videos area are:

record more vendor-neutral videos at Spinnaker Summit
access YouTube channel to add new videos and migrate existing videos to neutral space
update video embeds to refer to Spinnaker channel versions where applicable
add link to YouTube Channel to bottom of the videos-container
add any new (or old) videos we like and want showcased to the page
add more sophisticated CSS to divide video labels from videos (give labels their own grid spaces, perhaps in a different color?) I think more flexibility in title length would be helpful
implement the videos programmatically so they can be iterated through in index.html instead of repeating tags etc.

Thanks for looking!
Rosalind

Awesome job!


Add new project : Amazon Clone

Description : Create a amazon clone website using html and css and create a well formed Readme file.

Please assign me under this isssue.

Do it Happy coding.....

I want to work on this issue i had started making the webpage also.

Because You have assigned another issue on that time so I unassigned that now you can do it happy coding....


Revert "[data-plane]: Bump ch.qos.logback.version from 1.2.11 to 1.4.1 in /data-plane"

Reverts knative-sandbox/eventing-kafka-broker#2678
This breaks structured logging:
W0927 09:16:30.950136   34760 gcp.go:120] WARNING: the gcp auth plugin is deprecated in v1.22+, unavailable in v1.25+; use gcloud instead.
To learn more, consult https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
Picked up JAVA_TOOL_OPTIONS: -XX:+CrashOnOutOfMemoryError
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

/hold
for testing

/unhold


Change title to "Blogbook"

FIles to lookout
includes/header.php

I have opened a pull request. Updated title in header.php.

This issue is solve by commit caf3349bfb15777e23f6ea0236b583a87c71df04.
Shout out to @rmhassan for his commit.
This is the first contribution to this project as open source.

@chaitak-gorai Thanks.
This was my first commit as well to an open-source project. Looking forward to many more.

Good luck for your open source journey.

Create contributors.md file and add your name to the list.


support Portuguese

Summary of Changes
Fixes # (if applicable - add the number of issue this PR addresses)
Test Data or Screenshots
By submitting this pull request, you are confirming the following:

I have reviewed the Contribution Guidelines.
I have performed a self-review of my own code.
I have updated my repository to match the develop branch.
I have included test data or screenshots that prove my fix is effective or that my feature works.
I have checked that all tests work and swiftlint is not throwing any errors/warnings.

Hi, thanks for your participation in this project.
There are merge conflicts in this PR, could you please fix it before we move along?

@zmgl @yaroslavyaroslav I've fixed the conflicts but in a separate PR. I was unable to open a PR into a branch of @zmgl web3swift fork unfortunately.

@JeneaVranceanu I update the podspec, now the conflicts are fixed

@JeneaVranceanu I update the podspec, now the conflicts are fixed

There are still conflicts in your PR.

Oh, yes the problem is that you are editing a file that was deleted.
BIP39.swift moved from web3swift/KeystoreManager to Web3Core/KeystoreManager. Please move your changes to the new file and delete the old one. Thanks!
P.S. as you can see here there's no KeystoreManager directory: https://github.com/web3swift-team/web3swift/tree/develop/Sources/web3swift

@JeneaVranceanu Sorry, but seems that I broke this PR once again 😅

i merge develop to my branch.now it's worked @JeneaVranceanu


Access Control - general question (CON-1309)

Hello, I have a question regarding Access Control in matter.
I am not quite understanding how devices will get the permissions they need. From my understanding the controller delegates permissions under and after commissioning, but does a device advertise what permissions they need / offer.
I want to develop a monitoring device, so it needs read permissions of all (most) devices in the fabric. Does this mean that the user will have to manually update every ACL for other devices to allow my monitoring device to read attributes. Or what is the general procedure of updating ACLs, and how much does a user have control to configure specific permissions through their app?

Follow up question:
When I perform a read request from device1 to device2 where I don't have access on device2 access control list, I get an error: AccessControl: denied on device2. However the callback to device1 directly terminates to OnDone, but I would have guessed OnError would occur as well. This does not seem to happen, so does a device get notified when perform a request to a device with insufficient permissions?

Hello, I have a question regarding Access Control in matter.
I am not quite understanding how devices will get the permissions they need. From my understanding the controller delegates permissions under and after commissioning, but does a device advertise what permissions they need / offer.
I want to develop a monitoring device, so it needs read permissions of all (most) devices in the fabric. Does this mean that the user will have to manually update every ACL for other devices to allow my monitoring device to read attributes. Or what is the general procedure of updating ACLs, and how much does a user have control to configure specific permissions through their app?

Matter provides a simple way to manage the Access Control which is CASE Authenticated Tag (CAT), as a subject DN of NOC.
If the controller/commissioner's NOCs includes a CAT and that CAT is in the ACL of the end-device(The ACL can be initialized with that ACL during commissioning step of AddNOC command). the controller can access all the devices in the Matter Fabric without any additional modification of end-devices' ACL.

Follow up question:
When I perform a read request from device1 to device2 where I don't have access on device2 access control list, I get an error: AccessControl: denied on device2. However the callback to device1 directly terminates to OnDone, but I would have guessed OnError would occur as well. This does not seem to happen, so does a device get notified when perform a request to a device with insufficient permissions?

I didn't encounter this issue. I got E (404688) read_command: Response Failure: Error IM:0x0000057E when I use the controller to access am attribute which the controller didn't have the privilege. And Error IM:0x0000057E is the error UnsupportedAccess.

Matter provides a simple way to manage the Access Control which is CASE Authenticated Tag (CAT) (in SPEC <IP_ADDRESS>.2), as a subject DN of NOC.
If the controller/commissioner's NOCs include a CAT and that CAT is in the ACL of the end-device(The ACL can be initialized with that CAT during commissioning step of AddNOC command). the controller can access all the devices in the Matter Fabric without any additional modification of end-devices' ACL.

Is it then correctly understood that it is the commissioner that has full control over what CAT my monitoring device will get, if any? Ideally the monitoring device should not be a commissioner or an administrator, so it does not have any rights to manage the ACLs. So will it then fall upon the consumer include the monitoring device in a group / give the permissions to monitor devices. If there a way for my device to 'ask' for certain access?

Follow up question:
When I perform a read request from device1 to device2 where I don't have access on device2 access control list, I get an error: AccessControl: denied on device2. However the callback to device1 directly terminates to OnDone, but I would have guessed OnError would occur as well. This does not seem to happen, so does a device get notified when perform a request to a device with insufficient permissions?

I didn't encounter this issue. I got E (404688) read_command: Response Failure: Error IM:0x0000057E when I use the controller to access am attribute which the controller didn't have the privilege. And Error IM:0x0000057E is the error UnsupportedAccess.

Hm okay, I am running the lighting example on one esp device. On my other esp device I use my own class derived from ReadClient::Callback, just as the read_command component. I have defined the call back functions, and I can just see that the OnAttributeData only get called if I have permission to read the data, otherwise I get no response back. But maybe I have misconfigured something? Is the error received as a OnAttributeData call? in the case of reading attributes of course.

Is it then correctly understood that it is the commissioner that has full control over what CAT my monitoring device will get, if any? Ideally the monitoring device should not be a commissioner or an administrator, so it does not have any rights to manage the ACLs. So will it then fall upon the consumer include the monitoring device in a group / give the permissions to monitor devices. If there a way for my device to 'ask' for certain access?

If you don't want your monitoring device get too high permissions. you need to modify other end-devices's ACL to add an entry with manage or operate privilege CAT, and you can use UpdateNOC command of operationalcredentials cluster to update the NOC of your monitoring device to an NOC with that manage/operate CAT. Currently there is no such way to ask for the access. Does the updateNOC command work for you?

My issue is I can't seem to grasp how it would work for an end user. Is it correctly understood that it would be what ecosystem the user uses, which will be responsible for modifying end-devices ACL? etc. Google Home or HomeKit will have to modify the ACLs to add entries with manage/operate privilege.

which will be responsible for modifying end-devices ACL? etc. Google Home or HomeKit will have to modify the ACLs to add entries with manage/operate privilege.

I think they will modify the ACL to add entries with manage/operate privilege. But currently these ecosystems don't support to configure a client so I am not clear about the detail how they will manage the devices' ACLs.


Validate token in backend

How should I validate the token (CognitoUserSession.getAccessToken ()) in my backend? Is there a method in the type CognitoServerApi.validateUserToken Cognito () API?

No, we do not have any APIs to validate these tokens.
The tokens you get are JWT tokens which can be can be easily decoded for any custom validation. There are several JWT libraries available for different platforms which you can use. You can look at our documentation for more information about using the tokens that are vended.


Possible to show *'s when text entered in terminal

Hello! When using this library to prompt for a password, eg like rpassword::prompt_password_stdout("Password: "), there's nothing shown on the terminal when text is entered.
Is it possible to have something like ***'s be shown instead? Then it will be more clear to the user they have entered some text.
Thanks!

Hi @aharpervc, I appreciate your question. It is not currently possible to do that. I'm not inclined to add code to support this because:

the standard way on Unix to ask for passwords is not to show anything, which you can see when running commands like sudo su or ssh-keygen;
this would require time to develop and test properly, which at the moment I don't have.

Feel free to fork the repo and implement this if you really need it though! If you do, please share your fork here, maybe at some point we can reconcile both repositories.

Okay thanks for the response... I'll think about it


What's the best way to add a single page?

I would like to add a single html file as a standalone page -- not linked in the top menu bar, but linked in the About section. What is the best way to do this? My intent is to use this html file as a resume.

Hi @BoltzmannBrain,
I'm redirecting the questions to the gitter channel in order to keep the issues here clear and in order for the question to be answered more quickly 😉

Sorry, I'll keep my questions to the gitter channel from now on, thanks!

No worries!
Actually it was my fault.
I updated the issue template in order to notify the poster before opening the issue 👍
Cheers,
:panos


fix(bolt): correctly hash untracked files

Changes

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1048
#1047  👈
#1046
#1045
#1044
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @NathanFlurry and the rest of your teammates on  Graphite


Testing flask app

Codecov Report

Merging #12 into master will increase coverage by 9.75%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
+ Coverage   81.36%   91.12%   +9.75%
==========================================
  Files          12       16       +4
  Lines         263      338      +75
==========================================
+ Hits          214      308      +94
+ Misses         49       30      -19

Impacted Files
Coverage Δ

tests/ml/test_ml_model.py
100% <ø> (ø)

tests/apis/test_pipedesign.py
100% <100%> (ø)

tests/apis/test_model.py
100% <100%> (ø)

tests/conftest.py
100% <100%> (ø)

tests/infrastructure/test_blobhandler.py
97.67% <100%> (ø)

src/infrastructure/blobhandler.py
72.91% <100%> (-11.46%)
:arrow_down:

tests/apis/test_prediction.py
100% <100%> (ø)

... and 7 more

Continue to review full report at Codecov.

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


[go_router][url_launcher] migrate deprecated RouteInformation.location usage

As part of the work of https://github.com/flutter/flutter/issues/100624. The RouteInformation.location and other related API is deprecated.
Migration guide https://docs.flutter.dev/release/breaking-changes/route-information-uri
The affected package go_route and url_launcher currently use ignore to get around the deprecation. We should migrate them to new API once the flutter version is bumped

This has been migrated in go_router on this PR's branch.


High Availability for Istio Services

Describe the feature request
It is still not clear to me whether it is safe to run citadel, galley, and the sidecar injector with multiple pods? Also wondering why they don't have an HPA attached to them?
I am thinking of adding the following flags to the helm install, but not sure if it Is it safe:
--set sidecarInjectorWebhook.replicaCount=5 \
--set galley.replicaCount=5 \
--set security.replicaCount=5 \

I would hope this would raise sidecarInjector, galley, and citadel to each have 5 pods and still run with the same functionality as before.
Describe alternatives you've considered
Additional context

I believe there was a time when these did not handle multiple replicas, but they now do.
@myidpt and @ayj can confirm?

Galley and sidecar injector should run fine with multiple replicas. HPA is less critical given the amount of load these typically get.

What about citadel?

In previous versions citadel had issues with multiple replicas, I am fairly certain this is handled now

With new 1.5 release I'd like to ask this question once again - is it safe to deploy replicated control plane istio in one cluster? my goal is to have istio as high availability service in one shared cluster deployed to multiple zones. As I understand currently there is one monolithic's control plane service as opposed to multiple services - was this new combined control plane tested in multizone replicated in single cluster scenario as I described? Are there any components that cannot be deployed with multiple replicas?

Yes, with 1.5 you can deploy multiple replicas. I routinely tested 100+
replicas of the new Istiod in a single cluster
On Tue, Mar 10, 2020 at 5:58 AM padzikm<EMAIL_ADDRESS>wrote:

With new 1.5 release I'd like to ask this question once again - is it safe
to deploy replicated control plane istio in one cluster? my goal is to have
istio as high availability service in one shared cluster deployed to
multiple zones. As I understand currently there is one monolithic's control
plane service as opposed to multiple services - was this new combined
control plane tested in multizone replicated in single cluster scenario as
I described? Are there any components that cannot be deployed with multiple
replicas?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/18565?email_source=notifications&email_token=AAEYGXIX3TL3XYMCIECPUKDRGY2OPA5CNFSM4JH7GYAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOLJNEY#issuecomment-597071507,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXL7Z3QXWV5SFO3KFH3RGY2OPANCNFSM4JH7GYAA
.

Great! Thank you!

Ok, but how can I configure istiod's deployment to multiple replicas? In docs there are old configuration guidelines telling about configuring each component separately - https://istio.io/docs/setup/install/istioctl/#customizing-the-configuration - but in generated manifest there is only one control plane's component - istiod, that can be scaled (not counting prometheus, etc). However in profile dump there are still different replicaCounts settings for different components (galley, sidecarInjector, etc). I don't see any configuration for istiod in docs, so should I manually adjust istiod's deployment in generated manifest and then apply it, or do it in old way setting each component via command line parameters or yaml as in previous versions?

Any info about configuring istiod's deployment?

I've not tested this but I'd think this (scaling up istiod) would be as simple as adjusting the replicas of the istiod deployment, no? Not sure I understand the part about the ingress gateways as those scale on demand don't they?

The problem is there are no installation options regarding istiod - only that it is enabled. No replicaCount, no nothing. In docs there is no mention how to configure that. Control plane is now monolitic app and as such one deployment unit as I understand, but there are options to configure replicaCounts of istiod's components like pilot or mixer, which is strange - how can you configure scaling of part of monolithic app? So the only option I'm aware of now is to generate yaml manifest, which outputs istiod's deployment resource and manually configure it, but it is error prone, and my question is how to set that (and other options like hpa) without manually tampering with deployment files. I also would like to set replicaCount to ingressgateway, but also haven't found any option for doing that apart from manually correcting deplyment in yaml.

Right now, it seems that modifying the deployment manifest(s) is the only way to accomplish what you're asking. It's certainly a gap in both documentation and in [clear] configuration. There's already a related issue open for docs.

The pilot component will impact istiod. It needs to be better
documented/changed though
On Tue, Mar 17, 2020 at 8:23 AM John Pape<EMAIL_ADDRESS>wrote:

Right now, it seems that modifying the deployment manifest(s) is the only
way to accomplish what you're asking. It's certainly a gap in both
documentation and in [clear] configuration. There's already a related
issue https://github.com/istio/istio.io/issues/6303 open for docs.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/18565#issuecomment-600130745, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXLBLPROSPPWV3IISDDRH6IVXANCNFSM4JH7GYAA
.

Here is an example for Istio 1.5. As @howardjohn mentioned the pilot component impacts the istiod configuration.
-> https://github.com/neumanndaniel/kubernetes/blob/master/istio/istio-1.5.yaml

All components now have a PBD and HPA and are fully configurable, so I think this is fixed


route-href does not take into account the href on the route confi

I've got a route like this:
      {
        route: 'charts/:name',
        name: 'chart',
        title: 'Charts',
        moduleId: 'common/resources/custom-elements/chart',
        href: '#/some/data/'
      },

Notice the href there. In the view I have something like this:

${view.title}

${view.description}

The dataViews looks like this:
{
  description: "some chart"
  name: "some-chart"
  title: "Some Chart"
  type:"chart"
}

If I am on a deep URL like #/some/data/charts/[chart-name-here] and refresh the browser all the items in the list have a URL like #/charts/[chart-name-here] without the #/some/data/ prefix. If I navigate to the page via navigation links however, all the links in the list are generated properly.
If this a bug or am I missing something?

Is this with the latest release of the router? If so, can you see if it exists in the previous release?

This is a snapshot of my config.js file:
    "aurelia-router"<EMAIL_ADDRESS>    "aurelia-templating-binding"<EMAIL_ADDRESS>    "aurelia-templating-resources"<EMAIL_ADDRESS>    "aurelia-templating-router"<EMAIL_ADDRESS>
Not sure if this is the latest.

well, the reason I am trying to use the href on the route configs is because if I browser-refresh a "deep" url, none of the URL generation works. It looks like the whole context of the current route/router is lost and I am trying to get around that using the href which is not ideal but that doesn't work either.

This happens using the latest router release as well:
    "aurelia-router"<EMAIL_ADDRESS>    "aurelia-templating-binding"<EMAIL_ADDRESS>    "aurelia-templating-resources"<EMAIL_ADDRESS>    "aurelia-templating-router"<EMAIL_ADDRESS>    ```

Are you using push state?

No, not explicitly. I guess it's off by default.

Is this an issue with the router?

Ok, this seems like two issues here:

The refresh of a deep link isn't working.
The route-href doesn't use an explicit href is provided.

Issue one has only occurred when using push state in my experience, if the base and root aren't configured properly. Other than that, we can't reproduce that problem.
The second issue seems like an oversight in the route-generation code. I'll look into that.

@cosminonea We've had to make a change to the way this works, coming in tomorrow's release. When you want route generation to use a hardcoded href, on your route config, you need to set the property generationUsesHref: true


[Chore] Review browserlist options

This PR closes #328

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[oap-native-sql][WIP] use non-codegen for sort with one key

This pr changes sort with one key to non-codegen version.
fixes: https://github.com/Intel-bigdata/OAP/issues/1734

@zhztheplayer Here is an initial version, and it only works for asc and null first case. The gaps are:

In function FinishInternal, need to support different sort cases.
Need to support string type.
move Appender class to a new file.

@zhouyuan @xuechendi verified on TPC-H. TPC-DS queries are all runnable now but having result mismatch, see https://github.com/Intel-bigdata/OAP/issues/1751.

notes:

sort by multiple keys is using codegen code path
sort by single key but w/o payload is using inplace sort
sort by single key w/ payload is using non-codegen code path

The multiple keys sorting w/ different orders, w/ nulls first/last will be fixed in another PR


fix: table: adds type annotations and omits private transformColumns property

SUMMARY:
The Octuple Table was missing its type annotations. Also needed to omit a private transfomColumns property
JIRA TASK (Eightfold Employees Only):
ENG-29039
CHANGE TYPE:

[X] Bugfix Pull Request
[ ] Feature Pull Request

TEST COVERAGE:
N/A
TEST PLAN:
Run yarn and yarn storybook. Verify the Table stories behave as expected.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@0bb0072). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #363   +/-   ##
=======================================
  Coverage        ?   89.43%
=======================================
  Files           ?      481
  Lines           ?    12992
  Branches        ?     4372
=======================================
  Hits            ?    11619
  Misses          ?     1348
  Partials        ?       25

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

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


Bitstamp XRP/EUR Pair missing

For Bitstamp the pair XRP/EUR is missing and the EUR/XRP doesn't work since there is no api call for hat

@wattwurm My bot is using the xrp/eur pair on Bitstamp. How do you mean is missing ? Where is it missing ?


Z-index issue on virtual cards menu list

the z-index is wacky when you click on the ‘…’ view more next to a virtual card

the z-index is wacky when you click on the ‘…’ view more next to a virtual card

Hi i Would like to work on this issue . pls assign it to me .

This is resolved


onQueryTextSubmit call twice

I try to use seacrhview supported by ActionBarSherlock, but encount problem unexpected。
After i set OnQueryTextListener ,it call OnQueryTextListener twice in ZTE930 and samsung note2 but work fine in my moto!
I also try the fix :

if (event.getAction() == KeyEvent.ACTION_UP) {

         onSubmitQuery();

         return true;

      }

      return false;

but it never call onQueryTextSubmit again!
I don't kown why!
Is there anyone help me?
Thanks!

I also faced this problem with SearchView on Emulator while input Enter with my hard keyboard.

Thanks #futureer...its worked


Add feature, that count activity students

This pull request contains small naming fixes, example of dev-needed file and TODO.

Please add meaningful PR description

Done.

Can you please consider using JS module pattern for custom js code? http://www.adequatelygood.com/JavaScript-Module-Pattern-In-Depth.html

I added TODOs for all features and fixes. In future we wont make PR in master every bunch of code, just in secondary test-branches. TY.


Mirror Bufsize in OPT RR

When the Bufsize is set we use a larger buffer to capture the
return packet. We didn't add a OPT RR to advertise this larger
size to the remote server leading to all kinds of mayhem.
When no OPT RR is set, create one and set the Bufsize.
Fixes: #312

2 things

Default to 4k in Exchange() by default?
Maybe also check the OPT rr (if it is there) and double check the bufsizes?

I thought the behaviour of not adding an OPT was intentional. I wonder if changing this will catch anyone out.

[ Quoting<EMAIL_ADDRESS>in "Re: [dns] Mirror Bufsize in OPT RR ..." ]

I thought the behaviour of not adding an OPT was intentional. I wonder if changing this will catch anyone out.

True .. and this might not be the best way forward. It also modifies the
message which might lead to further problems.
Then we still need something (boolean?) to enable this. Still don't know of a
good name for such a flag.
Leaves the problem of Exchange() - which maybe can't be tackled by not fiddling
with it at all.
/Miek
--
Miek Gieben

Maybe a new abstraction is needed. Something that can be configured with a list of servers and optionally a UDP payload size, and that will then only take queries by Name and Type, returning answers or an error. Hiding away all the nitty-gritty of setting UDP payload sizes, retrying on timeout and retrying over TCP on truncation.

[ Quoting<EMAIL_ADDRESS>in "Re: [dns] Mirror Bufsize in OPT RR ..." ]

Maybe a new abstraction is needed. Something that can be configured with a list
of servers and optionally a UDP payload size, and that will then only take
queries by Name and Type, returning answers or an error. Hiding away all the
nitty-gritty of setting UDP payload sizes, retrying on timeout and retrying
over TCP on truncation.

I never liked this "Resolver" object like api, it is really handy for a one-off
query, but I've found it to become unwieldy when doing more serious work (when
for instance using net:dns in Perl or Ldns)
/Miek
--
Miek Gieben

Yeah fair enough. Otherwise I think the options available cover this task well for anyone familiar with the DNS. For those who aren't the API is probably intimidating, but I don't think that's something to fix within this project.


Can we have PathIterator.size?

In using the iterator API, I'm finding myself wanting to know how many commands there are in a path, so I can pre-allocate structures based on that info. Not sure if that API belongs on PathIterator or some other queryable object, but seems like an API that might be useful in general.

We could add this, the info is available internally. It would only be an issue when a path contains conic segments: we want to convert them to cubic which would affect the total count.

Done, added in 0.6.0. I added rawSize and size. The former returns the segment count without any conversion (conic->quadratic) and is fast, the second one returns the exact number of segments to iterate taking into account conversions, but is more expensive.


jenkinsfile cann't display in console

What is version of KubeSphere DevOps has the issue?
kse-3.4.alpha.2
How did you install the Kubernetes? Or what is the Kubernetes distribution?
No response
What happened?
jenkinsfile cann't display in console after upgrading kse-3.3.1 to kse-3.4-alpha.2 :

Relevant log output
No response
Additional information
No response