Data from Kafka are not imported.

I am using Clickhouse <IP_ADDRESS> and when the Kafka topic lag increases, no more data are imported. For importing data, I need to reset the topic offset and then reimport them. As soon as the lag is small, CH starts importing data properly.
The CH Kafka Consumer settings are defined as follows:
Kafka SETTINGS kafka_broker_list = '<IP_ADDRESS>:9092',
               kafka_topic_list = 'topic',
               kafka_group_name = 'topic-group',
               kafka_format = 'JSONEachRow',
               kafka_num_consumers = 3,
               kafka_row_delimiter = '\n',
               kafka_skip_broken_messages = 1

These are the following Kafka Consumer Group settings:
TOPIC   PARTITION  CURRENT-OFFSET  LOG-END-OFFSET  LAG             CONSUMER-ID                                              HOST              CLIENT-ID
topic   1          32416794        39991572        7574778         ClickHouse <IP_ADDRESS>-86393ea9-0eb5-4b0a-9e48-7366f494842f /<IP_ADDRESS>    ClickHouse <IP_ADDRESS>
topic   2          32419989        39991572        7571583         ClickHouse <IP_ADDRESS>-d756928d-b08c-4147-acd2-181aa962cbba /<IP_ADDRESS>    ClickHouse <IP_ADDRESS>
topic   0          32420018        39991572        7571554         ClickHouse <IP_ADDRESS>-5615e032-59ae-47e0-a860-8b0cd3f80536 /<IP_ADDRESS>    ClickHouse <IP_ADDRESS>

Maybe is related to #4631

@CurtizJ This issue occurred on version <IP_ADDRESS> too.

@CurtizJ I have made an observation regarding the issue. The documentation in EN mentions:

kafka_skip_broken_messages – Kafka message parser mode. If kafka_skip_broken_messages = 1 then the engine skips the Kafka messages that can't be parsed (a message equals a row of data).

Which I have interpreted as a boolean value for skipping or not invalid messages. With the value set to 1, any parsing exception from deeper levels bubbled up to StorageKafka::streamThread(). There, the exception is caught and logged and since the Stream is not canceled it won't reschedule itself in order to reconnect (see here). Since @vavrusa implemented this it might be the case that he is able to shed more light.
However by checking the code, I have realized that kafka_skip_broken_messages is of size_t type (aka unsigned int). With that in mind, the parameter kafka_skip_broken_messages is the tolerance to broken messages that might occur. Using this approach, I was able to import the data from Kafka to CH by setting a number big enough to consume the data.
If the kafka_skip_broken_messages number is reached then the connection to Kafka will be dropped. This might explain the behavior observed by here and here that after some time the symptoms return.

It looks like that's the intended behavior https://github.com/yandex/ClickHouse/commit/89ffb577b1a1cff5af8b98f48d3a44b810ee0807 and the documentation should not say it's like a boolean.

There, the exception is caught and logged and since the Stream is not canceled it won't reschedule itself in order to reconnect (see here).

It's the other way round. It will reschedule itself UNLESS the stream is cancelled. The stream is cancelled when you drop or detach the table.

If an issue still persists, then can you provide any related logs to see actual error messages?

I seem to have the same problem. Version 19.11. The consumer is connected (this is seen on the Kafka side), but the lag increases. At the same time on version 19.7.3 this problem is also there, but it is not so common. Data in the JSON topic. Tried to catch something in the logs, but there is silence.

@k0st1an are you able to reproduce the problem with docker compose?

Play does not work. Nearby stood two versions of 19.7 and 19.11. 19.11 the problem were found much more often in almost all the topic. After rollback to version 19.7 no problems so far.

Should be fixed in 19.14+. Possibly was backported to 19.13 and 19.11


Update readme.md with local set up.

FALAE_IMAGES_PATH environment variable needs to be set before database setup.


How did you get the audio for "datasets/srcdata/msrvtt/audios"?

The original msrvtt folder structure is the below.
msrvtt
├── annotation
│      ├── MSR_VTT.json
├── high-quality
│      ├── structured-symlinks
│      │       ├── jsfusion_val_caption_idx.pkl
│      │       ├── ... many other files....
├── structured-symlinks
│      ├── jsfusion_val_caption_idx.pkl
│      ├── ... many other files....
├── videos
│      ├── all
│      │       ├── video1.mp4
│      │       ├──  ....
│      │       ├── video9999.mp4
│      ├── tmp
│      │       ├──MSRVTT.zip
│      ├── vids
│      │       ├──data
│      │       │      ├── MSRVTT.zip
However, there is no audios for msrvtt.

How did you get the audio?
Is there specific way to extract the audio for example, bitrate, sample rate, audio channel, type of codec.
Any kind of audio file is valid?

"datasets/src/data/msrvtt/videos" == "msrvtt/videos/all" ?

ffmpeg video.mp4 -ac 1 -ar 16000 audio.wav
I use this options to convert into audios. but it still has other error.

I've used the script in https://github.com/TXH-mercury/VAST/blob/410ca47acf40d4ab098e345b76159df66bc42239/utils/offline_process_data.py to extract the audio.
As for still getting no audio errors. I think some of the videos don't contain any audio, and  those errors are expected.


pkg-config doesn't allow for conda environment

Hi there,
I've spent some time trying to sort this, but it seems that pkg-config won't work with environment like anaconda. However, I am developing other libraries that required specific versions of boost and eigen and therefore I cannot afort to install libraries in my main /usr/ folder!
Is there something I am supposed to do so pkg-config will find the dependencies installed in CMAKE_INSTALL_PREFIX?
Thanks!

Dear @pariterre,
With @lesteve, we are putting some similar efforts in the same direction than you.  See https://github.com/conda-forge/staged-recipes/pull/8820 for instance.
We are making a first trial for EigenPy and we will try Pinocchio next.
To help you, we would need some specific output of your current bugs?
In the meantime, I will add the generation of eigenpyConfig.cmake and pinocchioConfig.cmake to these projects.
Thanks again for your interest in Pinocchio,
Best,
Justin

Hi @pariterre
You can install those libraries anywhere. You just need to set PKG_CONFIG_PATH afterwards, eg.:
export PKG_CONFIG_PATH=~dev/lib/pkgconfig if you want to install your eigen / boost in ~/dev.

Thanks for your answer
In the mean time, I removed locally the "pkg" calls and changed them for find_package() and it sets the cmake properly (wrong path for boost though, because Boost_INCLUDE_DIRS is indeed not defined, but that is an easy fix)
Thanks for the workaround @nim65s . So far, I was unsuccessful using export for finding Eigen and Boost, but it did find eigenpy (compiled by hand, I didn't notice there was a conda-forge version!)
Suggestion : you could find if the user is on UNIX, and set for them the environment variable of PKG_CONFIG_PATH using ```set(ENV{PKG_CONFIG_PATH} ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)````

Inside a conda environment, it should be reasonably straightforward. For example this works for me for eigenpy:
# create conda environment
conda create -n test-eigenpy eigen cmake pkg-config -y
conda activate test-eigenpy

# get eigenpy source
git clone https://github.com/stack-of-tasks/eigenpy
cd eigenpy
git submodule update --init --recursive
mkdir build
cd build

# compile
PKG_CONFIG_PATH=$CONDA_PREFIX/share/pkgconfig cmake .. \
               -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$CONDA_PREFIX \
               -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX
make
make install

Note:

PKG_CONFIG_PATH is needed for eigen which puts its .pc in a different place than other packages (at least inside a conda environment). The default location for .pc inside a conda environment is $CONDA_PREFIX/lib/pkgconfig and packages there are found automatically.
some problems have been fixed quite recently for pinocchio (e.g. compilation with boost 1.70 or Python 3) so you may need to try the devel branch. For eigenpy, everything should be fixed in the last release of eigenpy (1.5.4) should be fine.

Hi!
From the suggestion of @lesteve, I could actually making things work. However, there is no need to set by hand the PKG_CONFIG_PATH by hand. The relevant lines are :
conda activate $NAME_ENVIRONMENT
conda install pkg-config

That is to say that pkg-config must be install inside the environment (one must not use the pkg-config installed on the root) AND the environment must be activated while running cmake. Like this, pkg is properly configured to find Eigen3 without other workaround. I suggest that it is added to your doc, but since it is not in any way related to your code, but from the conda-user's knowledge on how to use pkg-config in the conda environment, maybe this is not necessary...
FYI - I am still getting the following error raised from SEARCH_FOR_BOOST from the devel branch:
 CMake Error at
 /home/pariterre/Programmation/miniconda3/envs/pinocchio/lib/cmake/Boost-1.70.0
 /BoostConfig.cmake:95 (find_package):
   Found package configuration file:

 /home/pariterre/Programmation/miniconda3/envs/pinocchio/lib/cmake/boost_filesy
 stem-1.70.0/boost_filesystem-config.cmake

   but it set boost_filesystem_FOUND to FALSE so package "boost_filesystem" is
   considered to be NOT FOUND.  Reason given by package:

   No suitable build variant has been found.

 Call Stack (most recent call first):

 /home/pariterre/Programmation/miniconda3/envs/pinocchio/lib/cmake/Boost-1.70.0
 /BoostConfig.cmake:124 (boost_find_dependency)
   /usr/share/cmake-3.12/Modules/FindBoost.cmake:261 (find_package)
   cmake/boost.cmake:104 (FIND_PACKAGE)
   CMakeLists.txt:179 (SEARCH_FOR_BOOST)

boost was install from conda-forge channel.
I don't think it is relevant on this thread though... Do you want me to close this issue and start a new one?
Thanks for your time!

Your error looks like you are not using the pinocchio devel branch, it seems very similar to the one I was having a few weeks ago before things got fixed on devel (a few days ago roughly).
Things to try:

git submodule --update --init --recursive to make sure the cmake-related things utilities have the fixed version
I am a cmake newbie so I don't know whether there is a nicer way to do it but I do git lean -xdf to make sure I start the build from scratch (cmake seems to be caching some steps)

And good point about having pkg-config installed, you don't need PKG_CONFIG_PATH anymore, thanks for this, this will simplify the conda recipe.

I am using GitKraken which initiate submodules automatically. But in one of my projects (biorbd, ezc3d) I actually run the submodule initiation command if the user didn't run it themselves while they run CMake. I think this is a nice way to ease things to people :)
I am on commit id : 0853bfe732fdf83c17405b919f07871ce3ea9ee8
Do you actually build cmake and run it from the external dependencies? I tried running cmake from the conda-forge channel, but I get the same error message.

I am on commit id : 0853bfe

This commit is 6 days ago (maybe a copy and paste problem from you part). Can you try the latest commit on the devel branch i.e. (at the time of writing) https://github.com/stack-of-tasks/pinocchio/commit/0bc84d286cf47afbff7e246fa35271392f77ee60.
To try to tackle a slightly simpler problem, does the snippet I posted for you for eigenpy (rather than pinocchio) in https://github.com/stack-of-tasks/pinocchio/issues/831#issuecomment-511692617 work for you?

To try to tackle a slightly simpler problem, does the snippet I posted for you for eigenpy (rather than pinocchio) in #831 (comment) work for you?

Silly suggestion since boost seems to be the issue and eigenpy is not using boost. Anyway if you still have problems, it would be great if you can post a reproducible snippet similar to https://github.com/stack-of-tasks/pinocchio/issues/831#issuecomment-511692617.

Using
conda activate pinocchio
cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX

works for eigenpy
For the commit, I forgot that I forked pinocchio and that I was on my fork. I am having trouble with Git right now, so in few minutes, I will test using the latest version of pinocchio

Allright,
So with your last commit, everything seems to work :)
I tried using eigenpy compiled by hand (didn't tried the conda-forge channel)
You can close the issue!

Sounds great.
Thanks for using Pinocchio and your user feedback.

I install pkg-config in the conda environment, and all problems go away...

@wilderfield note pinocchio is available from conda-forge:
conda install -c conda-forge pinocchio

so you don't have to compile pinocchio yourself unless of course you have a good reason to (for example, you care about some features in the devel branch).

I install pkg-config in the conda environment, and all problems go away...

This is what I observed as well, e.g. I install pkg-config in the conda environment in  https://github.com/stack-of-tasks/pinocchio/issues/831#issuecomment-511692617.


[BUG] Bloxstrap Exception

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[x] My answer given in the checkbox above is a lie.

What problem did you encounter?
i was opening BloxsTrap to Play roblox but its not coming and here is the log FLIE
BullseyeCoverageError.txt

You've sent a log file from a completely unrelated app - Bloxstrap's logs should be in %localappdata%/Bloxstrap/Logs.

https://github.com/pizzaboxer/bloxstrap/wiki/Roblox-crashes-or-does-not-launch

[x]  My answer given in the checkbox above is a lie.

Thanks for that. I'll reopen this once you've confirmed that you've read this: https://github.com/pizzaboxer/bloxstrap/wiki/Roblox-crashes-or-does-not-launch


First item not added to list via button

I have boiled down a bug into a simple repo case:
Foo.cs
using FullInspector;
using System.Collections.Generic;
using UnityEngine;

public class Foo : BaseBehavior
{
    public List<Bar> bars;

    [InspectorButton]
    public Bar AddBar()
    {
        var _gameObject = new GameObject();
        _gameObject.transform.parent = transform;

        var _bar = _gameObject.AddComponent<Bar>();
        bars.Add( _bar );

        return _bar;
    }
}

Bar.cs
using FullInspector;

public class Bar : BaseBehavior
{
}

In this example, when you add Foo to a game object, there is an "Add Bar" button. When you click on it, it will run the code within, but the list will remain empty. The game object will be created but not added to the list. If you hit it again, another object will be created but this time it will be added to the list.
I've tried to initializing the bars variable in the declaration and via a reset method but neither seem to fix the problem.

How strange. Later tonight or tomorrow I'll be able to take a deeper look into the issue. It also happens when you just press the 'add' item button in the list editor itself.
If you reply with your email address or send me an email, then I'll send you a fixed build when I fix the issue.

Thanks! That will be awesome. My email is<EMAIL_ADDRESS>

Can you change FullInspector2\Core\fiISerializedObjectUtility.cs line 177ish (right above the return success) to
obj.IsRestored = true;
return success;

I can also send you a build.
Let me know if that fixes it, thanks!

I tried this but didn't seem to change anything on my end.

Ok, I've sent a build to you - can you see if that one resolves the issue? Thanks

It works! Cheers for fixing this


feat: adjust default timeout with slowMo

Closes #36

This adaptive design is nice but it made me confused because I didn't know about this feature (just by reading README). I was trying to modify default timeout. I used "setDefaultOptions({ timeout: 1 })" (an unrealistically small timeout) and expected tests to fail so that I could make sure my modification work, but the tests passed unexpectedly (due to this adaptive design). Now I find this pr and understand why.
Hope this can be a heads-up to other users.


あそうわんで浅海湾が無い

浅海湾がない

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 25 Mar 2012 at 6:31

Original comment by<EMAIL_ADDRESS>on 1 Apr 2012 at 2:25

Added labels: Type-Conversion
Removed labels: Type-Defect

Original comment by<EMAIL_ADDRESS>on 1 Apr 2012 at 2:29

Added labels: OpSys-All


Dump to JSON

I commonly want to transform ION to JSON because it can be more readable, and works well with jq.
Today, I was trying to test whether sending data to DynamoDB as an ION string is more or less efficient than using DynamoDB JSON. Turns out in my case l, DynamoDB JSON is better.

Thanks for the feature request! While we intend to eventually add support for downconversion to JSON, it's not something we're actively working on right now. Are you interested in contributing to this feature?
We're always interested to learn more about the pain points that people have when using Ion. When you say that JSON is more readable, do you mean from a human perspective or from a system interoperability perspective? Would you be willing to share more details about your use case where JSON is more efficient (and what you are using as your measure of efficiency)?

Good clarification. It is more readable from system interoperability perspective.
The use case for JSON being more efficient is solely based on DynamoDB storage, not the size on (my) disk. I'll remove that from the description because it is misleading.

It is more readable from system interoperability perspective.

Yes. JSON is ubiquitous, and we do recognize the need to convert to JSON to integrate with other systems.

The use case for JSON being more efficient is solely based on DynamoDB storage

No need to remove it—this is interesting. The difference in storage size is going to be affected by the data that you are storing and the way you choose to model it in DynamoDB. If your data is more than a single primitive or an empty collection, then we would expect that an Ion binary blob stored in a DynamoDB B value would be smaller than storing a JSON string as a DynamoDB S value. However, if you are converting from JSON to DynamoDB JSON, then there may be some optimizations in the DynamoDB storage layer that make it smaller to use DynamoDB JSON.
I'm also curious—would it be valuable for you to be able to go straight from Ion to DynamoDB JSON without needing to use "regular" JSON as an intermediate step? (For example, JSON can lose precision on numbers, whereas DynamoDB JSON encodes numbers as strings to avoid any potential precision loss, so you may have better fidelity if you are converting from an Ion decimal directly to a DynamoDB number.)

Normal JSON is best. DynamoDB JSON would be cool too.

As far as I understand it this is resolved by #44  (I remembered this issue when reviewing #54 ).


Fails on nested dictionaries/sets

All of the following create syntax errors when compiled:
my_dict = {
    "a": {1, 2, 3}
}

my_dict =  {
    "b": {"c": 5}
}

x = {{1, 2, 3}, 4, 5}

@xXCrash2BomberXx please fix soon, it really breaks my workflow

So the immediate issue I see with the first one is the lack of a comma. Since the language now uses braces as context specifiers, the comma declares it as a dictionary/set instead of a context meaning it must be written as follows
my_dict = {
    "a": {1, 2, 3},
}

The same with the second
my_dict =  {
    "b": {"c": 5,},
}

And the third is both a bug with the build I had and a syntax error with Python meaning it has to be written as below since sets can only contain serializable data
x = [{1, 2, 3}, 4, 5]

Overall, appreciate the bug report and the most recent version should fix the issue. If you find anything else, let me know!

Thanks

So the immediate issue I see with the first one is the lack of a comma. Since the language now uses braces as context specifiers, the comma declares it as a dictionary/set instead of a context meaning it must be written as follows
my_dict = {
    "a": {1, 2, 3},
}

The same with the second
my_dict =  {
    "b": {"c": 5,},
}

And the third is both a bug with the build I had and a syntax error with Python meaning it has to be written as below since sets can only contain serializable data
x = [{1, 2, 3}, 4, 5]

Overall, appreciate the bug report and the most recent version should fix the issue. If you find anything else, let me know!

Thanks, stuff works great now. Do you also think you could fix/change #3 too?


Added ability to use custom receive handler

Added ability to use custom receive handler to receive custom messages in own app, in this case all messages other than the download messages will be forwarded to own receive handler

Thanks for sharing this. This is a nice addition but I am not sure we want to add this in the example at the moment, just to keep things as simple as possible.
I will keep your PR open and I will discuss this with my colleague to see what would be the best way to share that with everyone.

ok, cool! I think it's very useful as otherwise you are not able to receive any messages from JS...

I did this the other way around: don't touch the netDL code, instead use the fact that app_message_set_x_handler returns the old callback to chain in additional ones (which defer to that old callback if the message is uninteresting). Much cleaner IMO.

Ok, that sounds interesting! Do you have an example to look at? I've seen nothing about that in the documentation...

It's documented -
https://developer.getpebble.com/docs/c/Foundation/AppMessage/#app_message_register_inbox_received
static AppMessageInboxReceived netdl_received_handler;
// ...
static void in_received_handler(DictionaryIterator *iter, void *ctx) {
  if (dict_find(iter, ...)) {
    // Do things
  } else {
    // Pass to netDL
    netdl_received_handler(iter, ctx);
  }
}
// ...
static void init(void) {
  netdownload_initialize(...);
  netdl_received_handler =

app_message_register_inbox_received(in_received_handler);
}
On Tue, May 19, 2015 at 8:06 AM, Jack<EMAIL_ADDRESS>wrote:

Ok, that sounds interesting! Do you have an example to look at? I've seen
nothing about that in the documentation...
—
Reply to this email directly or view it on GitHub
https://github.com/pebble-examples/pebble-faces/pull/13#issuecomment-103462242
.

It's documented -
https://developer.getpebble.com/docs/c/Foundation/AppMessage/#app_message_register_inbox_received and could work something like this:
static AppMessageInboxReceived netdl_received_handler;
// ...
static void in_received_handler(DictionaryIterator *iter, void *ctx) {
  if (dict_find(iter, ...)) {
    // Do things
  } else {
    // Pass to netDL
    netdl_received_handler(iter, ctx);
  }
}
// ...
static void init(void) {
  netdownload_initialize(...);
  netdl_received_handler = app_message_register_inbox_received(in_received_handler);
}

Hmm, not bad, that could also be a solution for ntDL itself... What about the error handler? Is there also an better solution?


Crash on adding a new server

Steps to reproduce

Open DNSecure
Tap "+" button

Version
DNSecure 1.1.0 (8) (TestFlight beta)

This issue can't reproduce in DNSecure 1.0.3.


Tweak the timer command format

As of right now, the timer shows as Xhours X minutes X seconds (where X is a number), and that is not particulary neat to look at.
Suggestion : show the remaining time as XX:XX:XX (with leading 0s, so "6 seconds" won't show as XX:XX:6 but rather as XX:XX:06)
If you have any other suggestions on how the timer's remaining time should look like, feel free to discuss about it here.

Format as already been changed, closing issue.


Clarification on hidden_layers_sizes

My first question:
If I use the following code below, is deepsurv indeed running without any hidden layers?:
hyperparams = {
    'n_in': 25,
    'learning_rate': 0.0001,
    'hidden_layers_sizes': None,
    'lr_decay': 0,
    'momentum': 0.9,
    'L2_reg': 0.0,
    'L1_reg': 0,
    'activation': 'rectify',
    'dropout': 0,
    'batch_norm': False,
    'standardize': False,
}
network = deepsurv.DeepSurv(**hyperparams)

I can train the model:
python log = network.train(train_data, valid_data, n_epochs = 1300)
This results in a good concordance value. I just want to verify what is being passed. What were your predefined ranges you used for Optunity?
My second question is when I specify hidden_layers_sizes:
When I run the model with hyper-parameters as above, but with hidden_layers_sizes specified,
hyperparams = {
   ...
    'hidden_layers_sizes': [14,2],
   ...
    'activation': 'rectify',
   ...
}

Then I get the error:
/home/spark/anaconda2/envs/theano-fips/lib/python2.7/site-packages/lasagne/layers/dense.pyc in get_output_for(self, input, **kwargs)
    122         if self.b is not None:
    123             activation = activation + self.b
--> 124         return self.nonlinearity(activation)
    125
    126

TypeError: 'str' object is not callable

It's only when I comment out the activation does it model actually attempt to train. But the code should regardless be running rectify, correct?

I believe the default value for activation is lasagne.nonlinearities.rectify:
In[]:  ?deepsurv.DeepSurv
Init signature: deepsurv.DeepSurv(self, n_in, learning_rate, hidden_layers_sizes=None, lr_decay=0.0, momentum=0.9, L2_reg=0.0, L1_reg=0.0, activation=<function rectify at 0x10da18488>, dropout=None, batch_norm=False, standardize=False)
Docstring:      <no docstring>
Init docstring:
This class implements and trains a DeepSurv model.
Parameters:
    n_in: number of input nodes.
    learning_rate: learning rate for training.
    lr_decay: coefficient for Power learning rate decay.
    L2_reg: coefficient for L2 weight decay regularization. Used to help prevent the model from overfitting.
    L1_reg: coefficient for L1 weight decay regularization
    momentum: coefficient for momentum. Can be 0 or None to disable.
    hidden_layer_sizes: a list of integers to determine the size of each hidden layer.
    activation: a lasagne activation class.
        Default: lasagne.nonlinearities.rectify
    batch_norm: True or False. Include batch normalization layers.
    dropout: if not None or 0, the percentage of dropout to include after each hidden layer. Default: None
    standardize: True or False. Include standardization layer after input layer.
File:           //anaconda/lib/python2.7/site-packages/deepsurv/deep_surv.py
Type:           classobj

@baharian Thanks. I think I confused myself because I was using the pypi version of deepsurv (updated last year) yet was reviewing the code on the master branch here (updated just a few months ago).  The default activation changed from lasagne.nonlinearities.rectify to "rectify"


Json Floating Point Encoding

Hey,
To facilitate the encoding of float numbers, developers need to store fields of type 'struct json_obj_token' in their structures instead of directly using float variables. However, this approach can be inconvenient, especially when dealing with multiple float variables within the struct. In such cases, developers are required to maintain temporary auxiliary char buffers for each float variable, converting the float values to strings. Additionally, if there is a requirement to process these values, they can be utilized directly as float numbers without any conversion from 'struct json_obj_token' to float. Consequently, it is advisable to modify the function name from "float_ascii_encode" to "float_encode," which invokes the "snprintk" function with the format "%f" and apparently another changes required.

Was anything done on this? I believe this is something that is indeed missing.

Hey,
you can apply the patch I've created—it hasn't been upstreamed.
json_float_support.patch

Thanks, I was also thinking along the same lines.


chore(blockifier): impl deserialize for versioned_constants

[!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

#2838  👈 (View in Graphite)
#2514 : 1 other dependent PR (#2818 )
#2359 : 1 other dependent PR (#2501 )
#2327
#2247
#2188
#2067
main

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

crates/blockifier/src/versioned_constants.rs line 458 at r2 (raw file):
Previously, meship-starkware (Meshi Peled) wrote…
Is the keccak fix in the next PR? I think it should be before this PR or in this PR.

In the next PR. It is not really matter as long as the os_constants are still in the json.

crates/blockifier/resources/versioned_constants_0_13_0.json line 106 at r5 (raw file):
Previously, noaov1 (Noa Oved) wrote…
Next time- better to do it in a separate PR :)

It was. Meshi merged it into this one.

crates/blockifier/src/versioned_constants.rs line 459 at r5 (raw file):
Previously, noaov1 (Noa Oved) wrote…
What does 180000 represent?

It is the only object in the syscall_gas_costs that does not have a parallel in the os_resources. So I just give it the appropriate value.
In the next PR we add KeccakRound in the OsResources, and then I change this line as well to be as the others.


Improve error message related to analyzer crash

Related issues:

https://github.com/dart-lang/sdk/issues/49281
https://github.com/dart-lang/sdk/issues/50594

I am currently facing a crash when running dart analyze (see CI logs: https://github.com/invertase/dart_custom_lint/actions/runs/3849267491/jobs/6558063709):
dart analyze
  shell: /usr/bin/bash -e {0}
  env:
    FLUTTER_ROOT: /opt/hostedtoolcache/flutter/stable-[3](https://github.com/invertase/dart_custom_lint/actions/runs/3849267491/jobs/6558063709#step:10:3).3.10-x6[4](https://github.com/invertase/dart_custom_lint/actions/runs/3849267491/jobs/6558063709#step:10:4)
    PUB_CACHE: /home/runner/.pub-cache
Analyzing dart_custom_lint...
../../runtime/vm/message_snapshot.cc: [5](https://github.com/invertase/dart_custom_lint/actions/runs/3849267491/jobs/6558063709#step:10:5)7[6](https://github.com/invertase/dart_custom_lint/actions/runs/3849267491/jobs/6558063709#step:10:6): error: expected: !lib.IsNull()
version=2.18.6 (stable) (Tue Dec 13 21:15:14 2022 +0000) on "linux_x64"
pid=218[7](https://github.com/invertase/dart_custom_lint/actions/runs/3849267491/jobs/6558063709#step:10:8), thread=222[8](https://github.com/invertase/dart_custom_lint/actions/runs/3849267491/jobs/6558063709#step:10:9), isolate_group=main(0x563b3[9](https://github.com/invertase/dart_custom_lint/actions/runs/3849267491/jobs/6558063709#step:10:10)a1f800), isolate=main(0x563b39d58800)
isolate_instructions=563b3732f580, vm_instructions=563b3732f580
  pc 0x0000563b3759457c fp 0x00007f8626a7b3[10](https://github.com/invertase/dart_custom_lint/actions/runs/3849267491/jobs/6558063709#step:10:11) dart::Profiler::DumpStackTrace(void*)+0x7c
  pc 0x0000563b3732f734 fp 0x00007f8626a7b3f0 dart::Assert::Fail(char const*, ...) const+0x84
  pc 0x0000563b37505a5a fp 0x00007f8626a7b450 /opt/hostedtoolcache/flutter/stable-3.3.10-x64/bin/cache/dart-sdk/bin/dart+0x20a7a5a
  pc 0x0000563b374fea04 fp 0x00007f8626a7b4b0 dart::MessageDeserializer::Deserialize()+0x244
  pc 0x0000563b374ff999 fp 0x00007f8626a7b610 dart::ReadMessage(dart::Thread*, dart::Message*)+0x159
  pc 0x0000563b374d0de8 fp 0x00007f8626a7bba0 dart::IsolateMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message> >)+0xc8
  pc 0x0000563b374fa59d fp 0x00007f8626a7bc10 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)+0x14d
  pc 0x0000563b374fac7f fp 0x00007f8626a7bc60 dart::MessageHandler::TaskCallback()+0x1df
  pc 0x0000563b3761d6b8 fp 0x00007f8626a7bce0 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)+0x148
  pc 0x0000563b3761db0d fp 0x00007f8626a7bd10 dart::ThreadPool::Worker::Main(unsigned long)+0x6d
  pc 0x0000563b37590758 fp 0x00007f8626a7bdd0 /opt/hostedtoolcache/flutter/stable-3.3.10-x64/bin/cache/dart-sdk/bin/dart+0x2[13](https://github.com/invertase/dart_custom_lint/actions/runs/3849267491/jobs/6558063709#step:10:14)2758
-- End of DumpStackTrace
Bad state: The analysis server crashed unexpectedly

My understanding from the linked issues is that this is probably a bug caused by the SendPort changes.
But the issue with this error is that it's so cryptic, there's no way for me to move forward. With this error, I have no clue whether the problem is in my code or not, and if so what piece of code.
If this is indeed caused by not being able to send a LinkedHashMap to SendPort.send, could the error be updated to be more helpful?
Some ideas:

Have a nice error message explaining that LinkedHashMap was sent
have a stacktrace which points to the SendPort.send that failed.
Have the error message include a toString of the failing object (to have some context about what caused this)

@rrousselGit the issue AFAIK should have been fixed by @rmacnak-google in a8fe399c79eedd1e0bce072719bd142f25138f70 - instead of assertion failure you should be getting an exception now.
Could you try on bleeding edge or dev channels?

@mraleph For reference, my crash happened on the "stable" channel of Flutter. So afaik the SendPort changes shouldn't even be involved, right?


detach is now fixed

Fixes such comments as:

oh god why is that in there

and

and why did the tests not catch it

It'll never live up to the PR in which Andrej called me a hero, but maybe this comes a close second.

I don't see the comments in the fixes?

Comments were made offline, and I'm preserving the privacy of the person who made them :P

Oh I got confused, sorry.


[aarch64] enable acl linking for cpu xla for mkl_aarch64_threadpool config

this option is already present for "mkl_aarch64" but missing from "mkl_aarch64_threadpool".

cc: @nSircombe @milpuz01


Implement memory pools on workers

I think the memory waiting code need to be reworked.

updated

looks good


Unable to the load the Custom Application (.sppkg file) on SharePoint Pages and Microsoft Teams Application

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
other (enter in the "Additional environment details" area below)
Developer environment
Windows
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[X] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version
-Microsoft Edge : 102.0.1245.44 (Official build) (64-bit)

Chrome-102.0.5005.115 (Official Build) (64-bit)

SPFx version : 1.14.0

Node.js version : 14.16.0

etc

Describe the bug / error
Uploaded the .sppkg file to SharePoint App Catalog and added the app to the SharePoint Pages.
The error is as shown in the Attached File:

Error Message:
Something went wrong
If the problem persists, contact the site administrator and give them the information in Technical Details.
TECHNICAL DETAILS
[SPLoaderError.loadComponentError]:
Failed to load component "023bf4aa-bc08-4534-a8ca-4dbefbe3e1b2" (DwpWebPart). Original error: Failed to load URL 'https://publiccdn.sharepointonline.com/dtwipro.sharepoint.com/sites/appcatalog/ClientSideAssets/24a68d9a-a909-4f00-afd1-24bc3cf71a9d/dwp-web-part_c010bd1660160519832e.js' for resource 'dwp-web-part' in component '023bf4aa-bc08-4534-a8ca-4dbefbe3e1b2' (DwpWebPart). There was an error requesting the file.
INNERERROR:
Failed to load URL 'https://publiccdn.sharepointonline.com/dtwipro.sharepoint.com/sites/appcatalog/ClientSideAssets/24a68d9a-a909-4f00-afd1-24bc3cf71a9d/dwp-web-part_c010bd1660160519832e.js' for resource 'dwp-web-part' in component '023bf4aa-bc08-4534-a8ca-4dbefbe3e1b2' (DwpWebPart). There was an error requesting the file.
CALLSTACK:
Error
at t [as constructor] (https://res-1.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_6b3ba9b92f0aab063b870bb4542f59a7.js:70:214899)
at new t (https://res-1.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_6b3ba9b92f0aab063b870bb4542f59a7.js:71:7680)
at e.buildErrorWithVerboseLog (https://res-1.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_6b3ba9b92f0aab063b870bb4542f59a7.js:71:44944)
at e.buildLoadComponentError (https://res-1.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_6b3ba9b92f0aab063b870bb4542f59a7.js:71:41035)
at https://res-1.cdn.office.net/files/sp-client/chunk.systemjs-component-loader_en-us_dc58eaaa7aaff14eda18.js:1:6012
Steps to reproduce
Case 1:

Generate a build using Teams Toolkit
Upload the .sppkg file to the SharePoint App Catalog
Add the app to any SharePoint Page
The error message is shown : Something Went Wrong

Case 2:

Generate a build using Teams Toolkit

Upload the .sppkg file to the SharePoint App Catalog

Click on Sync To Teams Option

The Error Code : 400 is as shown in the screenshot below:

Also, Error is shown when trying to open the application on Microsoft Teams Application -

Expected behavior
The App should launch without any errors in both the SharePoint Pages and Microsoft Teams Custom Application

@sandhyar66 - thank you for reporting the issue!
Could you please check few things?

if you use SPFx Yeoman Generator instead of Teams toolkit - does the error exist?
Could you please check your O365 CDN configuration (what origins are allowed, what file types are allowed): https://docs.microsoft.com/en-us/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide#set-up-and-configure-the-office-365-cdn-by-using-the-sharepoint-online-management-shell?

@AJIXuMuK, Thank you for your response.

The Custom Application started working after repeating the package generation process using both the Teams Toolkit and SPFx Yeoman Generator options for 2 to 3 times.
The Origins allowed includes:

*/MASTERPAGE
*/STYLE LIBRARY
*/CLIENTSIDEASSETS

The File Types - Public allowed includes:

IncludeFileExtensions: CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,WOFF2
ExcludeRestrictedSiteClassifications:
ExcludeIfNoScriptDisabled: False

Please do let me know if additional details are required.
Also, Kindly let me know what could be the root cause for this Issue, if you have analyzed any of them.

@sandhyar66 - As it started working I may assume you were trying to load the application right after deploying it.
CDN often takes time to make new bits available.

@AJIXuMuK
Yes, Certainly you are right.
But I have also tried to load the application after a duration of 48 hours of Deployment. The error was still the same.
It is then, I have raised a concern regarding this issue.
So, trying to understand the root cause so that it could be resolved easily the next time we face similar issues.

@sandhyar66 - thanks for the details.
One additional question - was it the first ever version of this app uploaded to the app catalog? Or was it upgrade?

@AJIXuMuK, it was an upgraded version of the app.

@sandhyar66 - in that case I assume it can be something cache-related.
if you experience such an error in future - please, try adding ?sw=bypass and check if that solves the issue. And then open a new bug here so we could investigate.
I believe we can close it for now as you're unblocked.

@AJIXuMuK , sure. We can close the issue.
As you suggested, will open a new one if the issue shows up again.
Thanks for the information provided so far.


378 implement ide model with more compartments

Merge Request - GuideLine Checklist
Guideline to check code before resolve WIP and approval, respectively.
As many checkboxes as possible should be ticked.
Checks by code author:
Always to be checked:

[x] There is at least one issue associated with the pull request.
[x] The branch follows the naming conventions as defined in the git workflow.
[x] New code adheres with the coding guidelines
[x] Make sure that the pre-commit linting/style checks pass.

If functions were changed or functionality was added:

[x] Tests for new functionality has been added
[x] A local test was succesful

If new functionality was added:

[x] There is appropriate documentation of your work. (use doxygen style comments)

If new third party software is used:

[x] Did you pay attention to its license? Please remember to add it to the wiki after successful merging.

If new mathematical methods or epidemiological terms are used:

[x] Are new methods referenced? Did you provide further documentation? Has the glossary been updated?

The following questions are addressed in the documentation if need be:

[x] Developers (what did you do?, how can it be maintained?)

[x] For users (how to use your work?)

[x] For admins (how to install and configure your work?)

For documentation: Please write or update the Readme in the current working directory!

Checks by code reviewer(s):

[ ] Is the code clean of development artifacts e.g., unnecessary comments, prints, ...
[ ] The ticket goals for each associated issue are reached or problems are clearly addressed (i.e., a new issue was introduced).
[ ] There are appropriate unit tests and they pass.
[ ] The git history is clean and linearized for the merge request. All reviewers should squash commits and write a simple and meaningful commit message.
[ ] Coverage report for new code is acceptable.

Closes #378
Closes #504

Codecov Report
Patch coverage has no change and project coverage change: -1.23 :warning:

Comparison is base (036bd24) 90.20% compared to head (b1cfecd) 88.97%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #494      +/-   ##
==========================================
- Coverage   90.20%   88.97%   -1.23%
==========================================
  Files          91       95       +4
  Lines        7002     7491     +489
==========================================
+ Hits         6316     6665     +349
- Misses        686      826     +140

Impacted Files
Coverage Δ

cpp/models/ide_secir/model.cpp
0.00% <0.00%> (ø)

cpp/models/ide_secir/parameters.h
0.00% <0.00%> (ø)

cpp/models/ide_seir/model.cpp
0.00% <0.00%> (-79.37%)
:arrow_down:

cpp/models/ide_seir/parameters.h
0.00% <0.00%> (-100.00%)
:arrow_down:

cpp/models/abm/simulation.h
50.00% <0.00%> (-50.00%)
:arrow_down:

cpp/models/abm/simulation.cpp
87.50% <0.00%> (-12.50%)
:arrow_down:

cpp/memilio/io/epi_data.cpp
85.71% <0.00%> (-4.29%)
:arrow_down:

cpp/models/ode_secir/parameters_io.h
93.70% <0.00%> (-3.30%)
:arrow_down:

cpp/models/ode_secirvvs/parameters_io.h
97.29% <0.00%> (-0.08%)
:arrow_down:

... and 26 more

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

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


wrong http return code when writing to a not existing database

Bug report
System info: InfluxDB >= v0.12.0, ubuntu 14.0.4
Steps to reproduce:

try to write to a database which is not existing

Expected behavior: expecting to get a HTTP error code 404 like described in the docs
Writing a point to a database that doesn't exist:
 curl -i -XPOST 'http://localhost:8086/write?db=atlantis' --data-binary 'liters value=10'
returns:

 HTTP/1.1 404 Not Found
[...]
database not found: "atlantis"

Actual behavior: getting HTTP error code 500
[http] 2016/04/26 14:55:29 <IP_ADDRESS> - - [26/Apr/2016:14:55:29 +0200] POST /write?db=atlantis HTTP/1.1 500 75 - - 278aef33-0bae-11e6-8001-000000000000 379.617µs

Additional info: -
Please note, the quickest way to fix a bug is to open a Pull Request.

Would you want a 404 when trying to query a db that doesn't exist?
Currently I get a 200 with a response
{
  "results": [
    {
      "error": "database not found: mydb2"
    }
  ]
}

The documentation to me indicates before the examples it should be a 200 response in both cases. So is this a code change or is this a doc change?

Believe this has been resolved by
https://github.com/influxdata/influxdb/commit/ced79acac5ed533f88decbc14a0f428fc0caf298
The removal of the Err from the interface means the nil check happens and follows through as expected to give a 404. That's the current behaviour on master for me

This appears to have been fixed. I'm going to close this issue.


use https instead of ssh for google/re2 repository

re2 is the only submodule which uses ssh instead of https. As ssh always requires key configuration, https is the better choice is you simply want to clone the repo.

@nicolasnoble

All 47 checks have passed!


Add default log implementations for all levels

This commit adds default implementation in NetnsController base class for all log levels.

Codecov Report

Merging #55 into master will decrease coverage by 1.54%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
- Coverage   34.60%   33.06%   -1.55%
==========================================
  Files          36       36
  Lines        3866     3759     -107
==========================================
- Hits         1338     1243      -95
+ Misses       2528     2516      -12

Impacted Files
Coverage Δ

silk/device/netns_base.py
32.47% <50.00%> (+1.28%)
:arrow_up:

silk/node/wpan_node.py
55.45% <0.00%> (-10.28%)
:arrow_down:

silk/utils/jsonfile.py
33.33% <0.00%> (-8.89%)
:arrow_down:

silk/tools/wpan_table_parser.py
34.69% <0.00%> (-6.70%)
:arrow_down:

silk/node/base_node.py
46.61% <0.00%> (-6.37%)
:arrow_down:

silk/utils/signal.py
66.66% <0.00%> (-4.07%)
:arrow_down:

silk/utils/process.py
35.41% <0.00%> (-1.32%)
:arrow_down:

silk/tools/deadline.py
26.31% <0.00%> (-1.28%)
:arrow_down:

silk/tools/watchable.py
40.40% <0.00%> (-0.60%)
:arrow_down:

silk/node/fifteen_four_dev_board.py
27.87% <0.00%> (-0.21%)
:arrow_down:

... and 2 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 3787d85...719e141. Read the comment docs.


Fix index out of bounds panic in int64Decoder

Code was missing a check for when we did not have anymore bytes to decode
so it panic when we tried to decode the empty slice.

:ship: on :green_apple:


update proxy of master to raftstore-proxy

What problem does this PR solve?
Issue Number: ref #4982
Problem Summary:
update proxy to raftstore-proxy
Proxy PR:
Including:\nSubmodule contrib/tiflash-proxy e1b8e44c6..5761dfb82:

Introduce clippy to more modules (#215)
Refactor some tests and enable clippy in engine_store_ffi (#214)

What is changed and how it works?
Check List
Tests

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

Side effects

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

Documentation

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

Release note

None

/cc @breezewish @lidezhu @hehechen

/merge


[Experimental] <ContainerQuery /> component

⚡ This PR lifts all listeners for screen size to the root provider, improving performance for Web.
📏 Wrap your content with ContainerQuery, and any components under it will use its width, rather than the screen width. This is useful for layouts that have a sidebar, for instance. You only want to account for the width of the actual View that has content, not the entire screen.

Try it
yarn add dripsy@canary

Sample
<Screen>
  <Sidebar />
  <Main>
    <ContainerQuery>
       <Content />           // <- this content is responsive based on ContainerQuery's width
    </ContainerQuery>
  </Main>
</Screen>

Now, every component inside of Content is responsive based on ContainerQuery's width, rather than the screen's width.
Props
fallback
You can provide a fallback component to show before the ContainerQuery has measured its width.
return (
  <ContainerQuery fallback={<View />}>
    <Content />
  </ContainerQuery>
)

initialWidth (recommended)
If you know the width of the view wrapping the ContainerQuery ahead of time, use the initialWidth parameter. This removes the need for an initial measurement, improving rendering speed.
It is recommended to use this if you can.
For example, say you know that this component will be 80% of the screen's width. Then you should pass the initialWidth prop.
const dimensions = useWindowDimensions()

return (
  <Screen>
    <Sidebar width={dimensions.width * 0.2} />
    <Main>
      <ContainerQuery initialWidth={dimensions.width * 0.8}>
        <Content />
      </ContainerQuery>
    </Main>
  </Screen>
)

React Navigation Example
A more realistic example is with react-navigation's drawer. Chances are, on big screens, you set drawerType: 'permanent', which makes the drawer dock to the side of the screen.
import { useResponsiveValue } from 'dripsy'
import { useWindowDimensions } from 'react-native'

export const useIsDrawerDocked = () => {
  return useResponsiveValue([false, false, true])
}

export const useDrawerScreenContentWidth = () => {
  const screen = useWindowDimensions()
  const drawerWidth = 320 // this is the react-navigation default
  const isDrawerDocked = useIsDrawerDocked()

  return {
    drawerWidth,
    screenWidth: isDrawerDocked ? screen.width - drawerWidth : screen.width
  }
}

Then, in your drawer:
const { drawerWidth } = useDrawerScreenContentWidth()
const isDrawerDocked = useIsDrawerDocked()

return (
  <Navigator
    screenOptions={{
      drawerType: isDrawerDocked ? 'permanent' : 'front',
      drawerStyle: { width: drawerWidth }
    }}
  />
)

And finally, use the ContainerQuery component with the screenWidth we set earlier:
// screen
const { screenWidth } = useDrawerScreenContentWidth()
return (
  <ContainerQuery initialWidth={screenWidth}>
    <Screen />
  </ContainerQuery>
)

fallbackStrategy
render | opacity
<ContainerQuery fallbackStrategy="opacity">
  <Content />
</ContainerQuery>

Customize the strategy that should be used before the container query has determined its breakpoint.
By default, the container will render the fallback prop (or null) until it has determined the container's width.
However, you might not want this; it's possible that you still want to render the children, but just hide them.
If this is the case, you can set this prop to opacity. In that case, children will still render, but they will just be visually hidden.
This may be desired if you want to run network requests and other effects as children of this component, without waiting for the width to get determined.
Default: render

I overrode initialWidth with width. If you provide this prop, there will be no measurement (very preferred)


Decouple group search from authentication protocol

Our auth providers conflating user/group lookup with authentication. This creates a problem when the the authentication protocol does not have a built-in function for looking up users.
So for example, with SAML-based auth providers, we effectively dont support user or group searching. It would be helpful to the user if we decoupled these two so that an admin could still enable a SAML based provider, but, for example, configure an LDAP server as the place to search for users or groups.

Fully decoupling might be overkill. We might just need to add explicit lookup and search configuration for saml specifically.

Initial requirements:

Existing SAML users can add an AD/LDAP configuration to support group search.
New SAML users can optionally pass the AD/LDAP configuration for group searching.
Authentication is only conducted by the SAML provider.
If needed an administrator needs to describe how to link the SAML groups to AD/LDAP groups.
Rancher admins and membership assignment roles should be able to search groups against the AD/LDAP configuration.

Acceptance:

Needs to work with AD and OpenLDAP initially.
Users who have never before logged into Rancher via SAML should be able to access clusters and projects based on their group assignments.
A user with a membership assignment role, should be able to assign access to a group they are not a member of.
When entering a group into the box, search and autocomplete should be available in the text box.
Terraform Provider needs to be able to handle the added configuration.

reqs and accepatance loo good @cloudnautique. Once question:

Terraform Provider needs to be able to handle the added configuration.

Is this your  line in the sand for engineering (Dev and QA) officially taking over the Terraform Provider and fully supporting it?
cc @sangeethah @deniseschannon

We will first work on getting Ping/OpenLDAP working before implementing other providers.

ADFS could also be good to start with since it for sure only uses AD whereas Ping supports AD and openldap both


”Suseni”, ”Unciuc”, ”Valea Dâljii” are listed in the drop-down menu

Description:
When user writes ”Suseni”, ”Unciuc”, ”Valea Dâljii” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 3
Write in the search bar "Unciuc"

Expected results
The location appears in the drop-down menu as "Sat Unciuc, HUNEDOARA (Râu de Mori)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Valea Dâljii"

Expected results
The location appears in the drop-down menu as "Sat Valea Dâljii, HUNEDOARA (Râu de Mori)".


Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Hi!
I'm trying to use Buildalyzer in my project. Here is the code:
var solutionFile = new FileInfo(@"c:\Projects\LiveSharp\XamarinFormsTest.sln");
var manager = new AnalyzerManager(solutionFile.FullName, new AnalyzerManagerOptions
{
    LoggerFactory = new LogFactory()
});
var ws = manager.GetWorkspace();

The build output is following
Started process 30872: "dotnet" "C:\Program Files\dotnet\sdk\2.2.102\MSBuild.dll" /noconsolelogger /restore /target:Clean;Build /property:ProvideCommandLineArgs="true";GenerateResourceMSBuildArchitecture="CurrentArchitecture";DesignTimeBuild="true";BuildProjectReferences="false";SkipCompilerExecution="true";DisableRarCache="true";AutoGenerateBindingRedirects="false";CopyBuildOutputToOutputDirectory="false";CopyOutputSymbolsToOutputDirectory="false";SkipCopyBuildProduct="true";AddModules="false";UseCommonOutputDirectory="true";GeneratePackageOnBuild="false";NonExistentFile="__NonExistentSubDir__\__NonExistentFile__";SolutionDir="c:\Projects\LiveSharp" /l:BuildalyzerLogger,"C:\Projects\LiveSharp\src\LiveSharp.Workspace\bin\Debug\net472\Buildalyzer.Logger.dll";1868;False "c:\Projects\LiveSharp\test\XamarinFormsTest\XamarinFormsTest\XamarinFormsTest.csproj"

The "LiveSharp.Build.PlatformCheckTask" task could not be loaded from the assembly c:\Projects\LiveSharp\build\LiveSharp.Build.dll. Could not load file or assembly 'Microsoft.Build.Utilities.v4.0, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
Process 30872 exited with code 1

LiveSharp.Build.PlatformCheckTask is my custom task that references Microsoft.Build.Utilities.
    <Reference Include="Microsoft.Build.Framework" />
    <Reference Include="Microsoft.Build.Utilities.v4.0" />

Is this expected behavior or am I missing something?

Ok, I fixed it by passing Preference = EnvironmentPreference.Framework to Build
If I understand the issue correctly, it is difficult to always correctly guess if it's a dotnet or MSBuild.exe build, right? How does VS decide which toolset to use?
Thanks!

Great - glad you got it working!

it is difficult to always correctly guess if it's a dotnet or MSBuild.exe build, right?

You have no idea 🤣. That's why the most recent version of Buildalyzer actually shells out to the CLI and captures logging events over a pipe - it was just too hard to try and reverse engineer where all the MSBuild libraries should come from for a given build and if it should use the Framework vs. Core versions.
Even then Buildalyzer has to guess which CLI command to run. Here's where that happens: https://github.com/daveaglick/Buildalyzer/blob/c83a348678931e6931449254a602abb2aa4cb252/src/Buildalyzer/Environment/EnvironmentFactory.cs#L39-L52.

How does VS decide which toolset to use?

Thanks for the explanation!
I might be wrong, but it seems like currently VS defaults to MSBuild and using Core when Core-specific target frameworks are encountered (netcoreapp*). Maybe we should ask someone from MS to comment on that.

The code around platform identification has continued to mature since this issue was discussed and I think it's either resolved or no longer relevant. Please comment or open a new issue if that's incorrect and you're still having trouble.


Supporting web-sys and other packages with generated bindings

Auto generated bindings such as those in web-sys don't show up in auto complete.
So, for example: if you typed:
fn main () {
  web_sys::WebG
}

You'd expect the auto completion to suggest WebGlRenderingContext, but it doesn't suggest anything.

Here are some related issues in intellij-rust (I include them because my uneducated assumption is that rust-analyzer has the same challenge. If they're unrelated I'd be happy to remove the links!)
https://github.com/intellij-rust/intellij-rust/issues/1908
https://github.com/intellij-rust/intellij-rust/issues/3131

Cheers!

I think this issue related to following things RA is missing right now:

proc_macro
allow register internal macro in ra_mbe , related rustc code : link
Support target/......../out directory in ra_vfs ?!
how to handle std::env ? It is quite tricky..

Re: env!(...)/std::env... how would one even go about that? Does cargo expose that information in any way?

how would one even go about that?

We should have a white-list of environmental variables that are exposed to analyzer as an input:
#[salsa::input]
fn env_var(&self, crate: CrateId, name: SmolStr) -> SmolStr

Note that we have a CrateId parameter there as well: env vars could be different for various crates.

Are there any open issues related to some of the things that are necessary for this to be possible that I can follow?
Thanks so much!

@chinedufn I guess https://github.com/rust-analyzer/rust-analyzer/issues/1428 wouldn't hurt here.

Let's close this in favor of more specific #1964

This is still relevant, I think #4150 is the most recent issue that is related to this.


Update manifests/t/Tencent/TencentVideo/11.74.5370.0/Tencent.TencentVideo.locale.en-US.yaml

Fixes an issue where this package has multiple different monikers
Microsoft Reviewers: Open in CodeFlow

[Policy] Reset Labels


use standard builder-base image as the base for golang prow jobs

Issue #, if available:
Description of changes:
We're building images with buildkit in the Go prow jobs, and will require more functionality than simply using the EKS Go base image provides.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm


Improve testing on UniqueApplicantList and UniqueJobList

Codecov Report

Merging #280 (2c81954) into master (2582472) will increase coverage by 0.06%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #280      +/-   ##
============================================
+ Coverage     68.86%   68.93%   +0.06%
- Complexity      809      811       +2
============================================
  Files           131      131
  Lines          2897     2897
  Branches        376      376
============================================
+ Hits           1995     1997       +2
+ Misses          774      772       -2
  Partials        128      128

Impacted Files
Coverage Δ

...u/address/model/applicant/UniqueApplicantList.java
88.63% <0.00%> (+2.27%)
:arrow_up:

...in/java/seedu/address/model/job/UniqueJobList.java
93.18% <0.00%> (+2.27%)
:arrow_up:

Continue to review full report at Codecov.

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


⚠ Bofrost.at has degraded performance

In 9768f2d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2135 ms

Resolved: Bofrost.at performance has improved in 46f9847 after 23 minutes.


fix: 8336 updated isLoading property in all widgets

Description

Add an Animate Loading property for all widgets

Fixes #8336
Type of change

New feature (non-breaking change which adds functionality)

Checklist:

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

/ok-to-test sha=42e146b

/ok-to-test sha=bbeb6f1

@techbhavin Verified this PR and please find the testing status below,
Issue 1 - Disabling the loading toggle for button widget and OnClick is binded to execute an API - Still the loading animation is displayed for button widget
https://www.loom.com/share/c379da8ba7dd42e993182b6b67150f9f
Issue 2 - Loading animation does not happen for most of the widgets - ButtonGroup Widget, Icon Widget, Menu Button Widget, Image , Select , MultiSelect, MultiTreeSelect, TreeSelect, Switch, Radio, Ratting Widget
https://www.loom.com/share/1e5b2d63d8864e32897c74ed16f4da62

/ok-to-test sha=1760f25

/ok-to-test sha=718a6c4

/ok-to-test sha=f32fd32

@techbhavin Tested this PR and please find the testing status below,
Issue 1 - Not a valid scenario,
Issue 2 - Not a valid Scenario,
New issue:
Issue 3 - when the button group widget any of the button label name is binded with {{Query1.data.length}} and the same query is executed by clicking on the button widget - Button widget OnClick is binded to execute {{Query1.run()}} the animate loading is not happening for the button group widget.
https://www.loom.com/share/b4a599f520d44edcbbf57da057b29dfa
Note : The above issue happens for Button group widget, Menu Widget
Issue 4 - Animate loading toggle is not available for Switch group widget

/ok-to-test sha=c3d6de2

@hetunandu  @YogeshJayaseelan
issue 3: loading UI is not supported for Button group widget and Menu Widget
issue 4:   done

/ok-to-test sha=953e76d

@techbhavin Verified the fix and it is working as expected and we can proceed further


Spec licensing

Hello! I am collecting TLA+ specs for the examples repo and am wondering what license these are under, could you please add one when you have time? Thank you!

Hi @lorin just wondering whether you'd be able to quickly confirm these specs are licensed under MIT or something similarly permissive! Just replying here in this issue will suffice.

Hi @ahelwer,
Apologies for not seeing this until now. I just explicitly added an MIT license to this.


Face Privacy and Anonymization

Is your feature request related to a problem? Please describe.
To protect individuals' privacy, face anonymization techniques can be applied to blur or remove identifiable facial features from images or videos.
Describe the solution you'd like
I want to add a feature that allows me to protect my face from being recognized by unwanted parties. It would be awesome if the app could automatically detect and blur or mask my face in any photo or video I upload or share. This way, I can enjoy my online presence without compromising my privacy and identity.
Describe alternatives you've considered
I have yet to think of alternative ideas for solving this problem.
Approach to be followed (optional)

Choose accurate face detection algorithms to identify the facial regions in the data.
Choosing effective methods to blur the facial features, ensuring that the identity cannot be discerned.
Techniques for preserving the overall context and structure of the image or video while concealing the facial details.

Hi @akshitagupta15june , I'm a GSSoC'23 contributor. I would like to work on the above-mentioned project. Kindly assign me this. Thank you.


Add Queryable component to show a green add circle icon for the queryable UI elements

https://user-images.githubusercontent.com/2502080/143855611-1100b0a0-8d73-474f-8a23-9ec82b7b5472.mp4

@mertyildiran The tooltip looks a bit messy IMO, I would remove it and use only the + icon. In addition, I would put a small delay (300ms for example) before showing the tooltip on element hover

Updated the screenshots in cheatsheet.


what is the difference between your dynamic implemetion of rnn and tf.nn.dynamic_rnn function ?

https://www.tensorflow.org/versions/r0.10/api_docs/python/nn.html#dynamic_rnn

@	underspirit, Thanks for your important question. There are not much difference from their dynamic rnn. But their implementation is faster and perfect than this one. It is for learning purpose, how you create dynamic model with tensorflow. Suppose when you want to build your own model dynamically, you can not implement others API. I suggest anyone to use tenosrflow API rather than mine to implement exisitng models. My repo is for learning how to implement it. Tensorflow did not support dynamic sequence length before like theano, so it was problematic then for many of us, to implement new models with new equations dynamically with tensorflow. So my implementations shows you how you can handle those challenges.  I hope it helps you.

Thanks a lot for for your explanation and your repo.

Thanks for your implement. It help me a lot how to build a custom RNN.
I still have a question, how can I define sequence length to force tensorflow stop more calculate and return exact last output instead of last fixed index.
tf.nn.dynamic_rnn has attribute sequence_length to do this. How can I implement it myself?


doppelgreener: Blacklist energytehran.co

doppelgreener requests the blacklist of the website energytehran.co. See the Metasmoke search here

This keyword can also be removed from the list of watched keywords if this pull request is approved.

!!/approve


very wrong results

<IP_ADDRESS> is in UA, not PL
<IP_ADDRESS> is in TM, not DE
<IP_ADDRESS> is in TM, not AT
<IP_ADDRESS> is in TM, not RU
<IP_ADDRESS> is in MD, not AT
geolite2 and free ipinfo.io got them right

These results are expected, if you know what the project does and what it doesn't do.
Also, the project is discontinued.

please update your readme with "accuracy is very low, the project is discontinued"

"Again, you need to understand what the project does and what it doesn't do."
so please update your readme with more clear information, i still don't get why accuracy isn't mentioned. amount or location of your servers doesn't say anything to me.
someone is just going to use it and break their application


Fixes inout error

This error appears when installing kitura via docker
/root/Kitura/Packages/Kitura-net-0.3.5/Sources/KituraNet/BufferList.swift:88:27: warning: 'inout' before a parameter name is deprecated, place it before the parameter type instead
    public func fillArray(inout buffer: [UInt8]) -> Int {

Hey @ArtSabintsev, this actually has already been fixed on the develop branch. You should see it in the docker image now. For future reference, you should submit any PRs to develop. In addition, before we can accept any PRs from you, you'll need to fill out a CLA as outlined here: https://github.com/IBM-Swift/Kitura/blob/master/CONTRIBUTING.md

Thanks for the update! I'll look at the CLA momentarily.


Startup error after upgrading to 1.21.1

Issue Summary
Ghost fails to start after upgrade.
Steps to Reproduce
ghost start
✔ Checking current folder permissions
✔ Validating config
✔ Checking folder permissions
✔ Checking file permissions
Running sudo command: systemctl start ghost_freelancehunt-com
? Password [hidden]
Running sudo command: systemctl stop ghost_freelancehunt-com
✖ Starting Ghost
A GhostError occurred.

Message: Ghost did not start.
Suggestion: journalctl -u ghost_freelancehunt-com -n 50

Debug Information:
    OS: linux, v4.14.12-x86_64-linode92
    Node Version: v6.12.2
    Ghost-CLI Version: 1.5.1
    Environment: production
    Command: 'ghost start'

Additional log info available in: /home/ghost/.ghost/logs/ghost-cli-debug-2018-02-10T12_10_33_156Z.log

Try running ghost doctor to check your system for known issues.

cat  /home/ghost/.ghost/logs/ghost-cli-debug-2018-02-10T12_10_33_156Z.log
Debug Information:
    OS: linux, v4.14.12-x86_64-linode92
    Node Version: v6.12.2
    Ghost-CLI Version: 1.5.1
    Environment: production
    Command: 'ghost start'
Message: Ghost did not start.
Suggestion: journalctl -u ghost_freelancehunt-com -n 50
Stack: Error: Ghost did not start.
    at connectToGhostSocket.then.catch (/usr/lib/node_modules/ghost-cli/lib/utils/port-polling.js:92:32)
    at process._tickCallback (internal/process/next_tick.js:109:7)

Original Error Message:
Message: connect ECONNREFUSED <IP_ADDRESS>:2369
Stack: Error: connect ECONNREFUSED <IP_ADDRESS>:2369
    at Object.exports._errnoException (util.js:1020:11)
    at exports._exceptionWithHostPort (util.js:1043:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1090:14)

No config changes has been done before the upgrade and it contains different IP for ghost:
"server": {
    "port": 2369,
    "host": "<IP_ADDRESS>"
  },
``

No other service is listening on port 2369 and ghost is not running. Running `ghost run` works fine.

### Technical details:

* Ghost Version: 1.21.1
* Ghost-CLI version: 1.5.1
* Node Version: v6.12.2
* Browser/OS: CentOS 7

Message: Ghost did not start.
Suggestion: journalctl -u ghost_freelancehunt-com -n 50

You have to run this command to get the reason why Ghost was not started. Please try to read the error message more carefully in the future.

Please use our slack community - https://slack.ghost.org for any questions or raise a bug in the Ghost CLI repository. Thanks!

Hi Katharina, I did not attach the output of this command because it was empty.
journalctl -u ghost_freelancehunt-com -n 50
No journal files were found.
-- No entries --

Cross-linking to https://github.com/TryGhost/Ghost-CLI/issues/639


Add ASTC test images (KTX and KTX2)

This was a completed task from the board view. Closing as complete.


README.md : Firefox setup information added

Updated the README.md mentioning how to setup the add-on for development purpose on Firefox
fixes #72

Thanks @djmgit


Removed -Wl argument for C builds in FFI Docs

See https://github.com/denoland/dotland/issues/1825

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


feat(watermark): Clean state in DynamicFilter by watermark in right side

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?

Summarize your change (mandatory)
Clean state in DynamicFilter by watermark in right side
How does this PR work? Need a brief introduction for the changed logic (optional)
Do range delete by cached watermark among corresponding vnodes on barrier
Describe clearly one logical change and avoid lazy messages (optional)
Buffer and state table will both be cleaned
BarrierAlign is modified
Describe any limitations of the current code (optional)
If comparator is LessThan, it will not be cleaned

Checklist

[x] I have written necessary rustdoc comments
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
#6472

Is there a way to add some unit tests based on watermark and check the behaviour? (maybe we can read directly from storage to see if the watermark is deleted, and also check the range cache's range is updated.

Is there a way to add some unit tests based on watermark and check the behaviour? (maybe we can read directly from storage to see if the state below watermark is deleted, and also check the range cache's range is updated).

I have just added a unit test.

Can this be mergerd now?

I have no objection. plz ask others which is active in this thread


Move to react?

Hi can i move that project to react?

Hey, I thought about it too a while ago. If you're up for it, I'll gladly assign it to you.

I would like to do it. Could you assign it to me

If @DoWh hasn't started working on it already, I could assign it to you @ShahIsCoding

Yeah sure

@gabrysia694 sorry, was on vacation, if @ShahIsCoding has already started working on it, then it's ok. I can check after to find bugs or optimization ideas

that's alright! I guess it's all yours @ShahIsCoding then


Feature request/support: How can I set the color of the title/border on a vBox?

The theme documentation is a bit lacking in terms of what can and can't be themed, so I'm having trouble figuring out how to do this. I'd be definitely willing to submit a little pullreq if you want some documentation written around this.
I'm working off the chat example right now, and I have a sidebar for clients, but I want to set the theme for that. It's a vBox, how can I set the color for the vBox's label and for it's border. Is this possible, or is it something that's coming?
That, and along with it, is there a reference for what selectors work with theme.SetStyle()?

Okay, I figured out how to set it, but it sets the box as a whole, title and all, the same color. Can the title be set separately?

Color/theming is one of the more underdeveloped parts of tui-go at this moment, hence the poor documentation :) However, I am starting to feel increasingly happy with the decision to go with selector-based theming for tui-go and documentation should probably reflect that.
Currently, the border is not treated differently than any other text. This makes it difficult to style them separately. On the top of my head, I see a couple of approaches to solve this:
Border as selector:
theme.SetStyle("box", tui.Style{Fg: tui.ColorDefault, Bg: tui.ColorDefault})
theme.SetStyle("box.border", tui.Style{Fg: tui.ColorBlue, Bg: tui.ColorDefault})

Border as style attribute:
theme.SetStyle("box", tui.Style{Fg: tui.ColorDefault, Bg: tui.ColorDefault, Border: tui.ColorBlue})

The latter would probably be more intuitive to someone with CSS experience, but it suggests that you could set a border on all widgets. Since only boxes, grids and tables have borders this might lead to unnecessary frustration.
The first one should be a easy-pick, changing [this] call to WithStyle into two calls with separate style names.

I would lean more towards the second one, because Fg/Bg/Border are optional (correct?) so if you don't include them, and have an example in the documentation without having that attribute set, then people would understand.

Sorry for the late response!
You might be right, and I would actually happily accept a PR with either solution as I unfortunately won't be able to work on this myself anytime soon.

I just want to mention that implementing the border-as-style-attribute approach would involve quite substantial changes to how the Style is used, so for now I've decided to go with the first approach. I'm open to revisiting this in the future.


az synapse workspace-package upload-batch command results in TypeError: LibraryOperations.append() missing 1 required positional argument: 'content'

This is autogenerated. Please review and update as needed.
Describe the bug
az synape workspace upload command does not produce the same result as when ran on azure-cli 2.40.0. It no longer uploads the provided packages to the sparkPool in the Azure Synapse Workspace. Instead it fails with the below traceback. Pipelines used to work, now they don't because of this bug introduced in either 2.41.0 or 2.42.0.  Locally the same error arises. The first package it tries to upload, will fail and result in a 'Provisioning Status' equal to 'Incomplete' in Synapse.
Command Name
az synapse workspace-package upload-batch
Errors:
The command failed with an unexpected error. Here is the traceback:
LibraryOperations.append() missing 1 required positional argument: 'content'
Traceback (most recent call last):
  File "/opt/az/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
    raise ex
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/synapse/manual/operations/artifacts.py", line 425, in workspace_package_upload_batch
    results.append(upload_workspace_package(cmd, workspace_name, source_file, progress_callback))
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/synapse/manual/operations/artifacts.py", line 397, in upload_workspace_package
    client.append(package_name, data)
  File "/opt/az/lib/python3.10/site-packages/azure/core/tracing/decorator.py", line 73, in wrapper_use_tracer
    return func(*args, **kwargs)
TypeError: LibraryOperations.append() missing 1 required positional argument: 'content'

To Reproduce:
Azure Synapse environment with a sparkPool set-up is required. To reproduce in a local environment. Make sure to be permitted to connect to Synapse from local. Have the packages in a local dir and provide the path alongside the workspace name to az synapse command.

az synapse workspace-package upload-batch --source {} --workspace-name {} --subscription {}

Expected Behavior
To succesfully upload the workspace packages to the Synapse workspace.
Environment Summary
Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.31, Ubuntu 20.04.5 LTS
Python 3.10.8
Installer: DEB

azure-cli 2.42.0

Extensions:
azure-devops 0.25.0

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Additional Context
Colleague confirmed that the bug does not occur when using azure-cli 2.40.0. If any additional information is required, please feel free to contact me.

route to CXP team

Closing as Duplicate of https://github.com/Azure/azure-cli/issues/24718

Closing as Duplicate of #24718

How is this a duplicate when this issue was raised a day before https://github.com/Azure/azure-cli/issues/24718?


Error in installation

I am following the README steps to install the library but I couldn't. I installed the dependencies that are necessary. Also I added these packages:
sudo apt-get install binutils-hermit newlib-hermit pte-hermit-rs gcc-hermit libhermit-rs
apt-get install qemu-system-x86
And finally, I checked that I have installed the library that It gives error:
libmpfr-dev - multiple precision floating-point computation developers tools
libmpfr4 - multiple precision floating-point computation
libgmpv4-dev - Multiprecision arithmetic library developers tools (GCC 4.x compatible)
libmpfrc++-dev - multi-precision floating point number class for C++
Anyway, I receive this error:
carlosb@carlosb-UX530UX ~/Desktop/tools/libhermit-rs/build $ cmake ..
-- The ASM_NASM compiler identification is NASM
-- Found assembler: /usr/bin/nasm
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The Fortran compiler identification is unknown
/opt/hermit/libexec/gcc/x86_64-hermit/6.3.0/cc1: error while loading shared libraries: libmpfr.so.6: cannot open shared object file: No such file or directory
-- Check for working C compiler: /opt/hermit/bin/x86_64-hermit-gcc
-- Check for working C compiler: /opt/hermit/bin/x86_64-hermit-gcc -- broken
CMake Error at /home/carlosb/Desktop/tools/cmake-3.11.3-Linux-x86_64/share/cmake-3.11/Modules/CMakeTestCCompiler.cmake:52 (message):
  The C compiler

    "/opt/hermit/bin/x86_64-hermit-gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /home/carlosb/Desktop/tools/libhermit-rs/build/CMakeFiles/CMakeTmp

    Run Build Command:"/usr/bin/make" "cmTC_9ee17/fast"
    /usr/bin/make -f CMakeFiles/cmTC_9ee17.dir/build.make CMakeFiles/cmTC_9ee17.dir/build
    make[1]: Entering directory '/home/carlosb/Desktop/tools/libhermit-rs/build/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_9ee17.dir/testCCompiler.c.obj
    /opt/hermit/bin/x86_64-hermit-gcc -Wl,--gc-sections    -o CMakeFiles/cmTC_9ee17.dir/testCCompiler.c.obj   -c /home/carlosb/Desktop/tools/libhermit-rs/build/CMakeFiles/CMakeTmp/testCCompiler.c
    /opt/hermit/libexec/gcc/x86_64-hermit/6.3.0/cc1: error while loading shared libraries: libmpfr.so.6: cannot open shared object file: No such file or directory
    CMakeFiles/cmTC_9ee17.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_9ee17.dir/testCCompiler.c.obj' failed
    make[1]: *** [CMakeFiles/cmTC_9ee17.dir/testCCompiler.c.obj] Error 1
    make[1]: Leaving directory '/home/carlosb/Desktop/tools/libhermit-rs/build/CMakeFiles/CMakeTmp'
    Makefile:126: recipe for target 'cmTC_9ee17/fast' failed
    make: *** [cmTC_9ee17/fast] Error 2

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  cmake/HermitCore.cmake:96 (enable_language)
  CMakeLists.txt:4 (include)

-- Configuring incomplete, errors occurred!
See also "/home/carlosb/Desktop/tools/libhermit-rs/build/CMakeFiles/CMakeOutput.log".
See also "/home/carlosb/Desktop/tools/libhermit-rs/build/CMakeFiles/CMakeError.log".

Finally, I tried the docker to apply a clean installation, but in the middle of the installation process I receive this:
   Compiling raw-cpuid v3.1.0
   Compiling hermit-rs v0.3.0 (file:///home/projects/libhermit-rs/librs)
error[E0432]: unresolved import `alloc::heap`
  --> src/mm/allocator.rs:36:12
   |
36 | use alloc::heap::Layout;
   |            ^^^^ Could not find `heap` in `alloc`

error[E0432]: unresolved import `core::alloc::Opaque`
  --> src/mm/allocator.rs:37:32
   |
37 | use core::alloc::{GlobalAlloc, Opaque};
   |                                ^^^^^^ no `Opaque` in `alloc`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0432`.
error: Could not compile `hermit-rs`.

Which operating systems do you use? I tested the packages only on Ubuntu 18.04.
Do you use the latest Rust version (nightly build)?

@carlosb1 I revised my scripts (https://github.com/hermitcore/hermit-toolchain) to build the complete toolchain for  the Rust-based version of HermitCore. Following steps should work on all Linux-based systems:
$ git clone -b path2rs git@github.com:hermitcore/hermit-toolchain.git
$ ./toolchain.sh x86_64-hermit /home/user/tmp

Afterwards you will find the toolchain in the directory /home/user/tmp.

I am going to check it. Also, I am in the slack channel

I just updated the master branch. I have forgotten to update the Rust compiler on my system. For our kernel we have to use the compiler from the nightly channel. My code wasn't working with latest version. Now, it should work.

It seems that I ran in the docker image... I will play a little with the project to test it. Does it exist any project roadmap?

Yes, this is missing. I have to cleanup our internal documents. Maybe it is a good starting point for a clear roadmap.


Use of 'async' variable name breaks erequests on 3.7 and later

Traceback (most recent call last):
  File "eve.py", line 18, in <module>
    import erequests
  File "/mnt/d/Users/Peter/Desktop/scrape_site/testing/git/eve/venv/lib/python3.7/site-packages/erequests.py", line 101
    async = AsyncRequestFactory
          ^
SyntaxError: invalid syntax

What’s New In Python 3.7
Backwards incompatible syntax changes:
async and await are now reserved keywords.

https://docs.python.org/3/whatsnew/3.7.html
Should be a simple find/replace to fix.

It's slightly more annoying than that, alas: the API currently exposes the methods in that async namespace. erequests.async.get() for example. I think it would be a good idea to get rid of the async there altogether and say that the methods exposed by this library are async, period.
If you feel like sending a patch, PRs are welcome :-)

Oh derp, I hadn't actually looked at the async functions. Don't submit issues at 1 AM, kids.
I'm not sure exactly what you'd want from a PR. I don't see any way to avoid breaking the API for the async functions, but leaving the non-async ones intact would hopefully minimize the damage. Would removing the async references and just replacing them with a bunch of get_async etc. methods work for you?

Yeah, that would work!


Issue List Page Size

Feature Description
It would be nice if the list under Repo->Issues would either load dynamically more pages when scrolling down, or the default page size would be a bit higher or configurable.
10 is quite annoying if you search for something, especially as search only matches full words.
Screenshots
No response

https://github.com/go-gitea/gitea/blob/main/custom/conf/app.example.ini
;; Number of issues that are displayed on one page
;ISSUE_PAGING_NUM = 10

while I think the default value should be larger. 10 is too small indeed.


Inspector can not detect the web elements for a hybrid app

This is great tool, thanks a lot ! I would like to use it, but I had a problem with our app.
Firstly, I have no any issue with the selendroid sample apk using version of 0.15, all of them were downloaded from selendriod.io website. that means the environment is OK.
Second, for my AUT, it seems that selendroid inspector fails to detect the web elements, please see the screen shot ,

from the screen shot, you can see ,all the elements in CloudWebView (including user, pwd, and login button) cannot be detected.
could you please let me know if there is a workaround to get those elements ?
Thanks,
Baichao

Correct me if I'm wrong, but that Cloudwebview should have the html source basically there. It is basically a website. Which means you get the whole code there.
For hybrid apps i tend to use Chrome Remote Debugging more. Though to that to work, the app has to have some permissions. You can try it.  Open the app on an android device 4.4 or higher. Make sure it is connected with an usb.  Go to chrome://inspect/#devices with the chrome browser. That should give you the source of the website and you can see the item that you are highlighting in the code.

You can select webview object and click on Html source option below the object inspector. It will display the html code of the web page. You can copy the code and save as .html file. Rest is like normal selenium automation.
Good luck!!!

Seems this was answered. Closing. :)


Is this only for PDF rendering? Paragraph is skipped when docx

First of all, my best wishes for 2020!
Is it possible that awesomebox isn't working at all when rendering to a .docx file?
Here is my markdown sample:
# test awesomebox

Paragraph 1

\notebox{Paragraph 2}

Paragraph 3

(file called index.md)
Paragraph 2 is rendered with a notebox style when pandoc is used to generate a PDF but totally forgotten when the output format is docx. (And this is very annoying since the real documentation is no more correct!)
For the pdf rendering, I'm using this command:
pandoc .\index.md -H .\awesomebox.tex --standalone --from=markdown --pdf-engine xelatex -o .\test.pdf

Result is correct, as expected:

For the docx rendering, here is my command:
pandoc .\index.md -H .\awesomebox.tex --standalone --from=markdown -t docx -o .\test.docx

Result is wrong, the paragraph 2 has disappear.

If that's how it should work, it's really annoying since the really important paragraphs (such as warningbox or importantbox) contain information that should be in the generated documentation. As a result, I couldn't use awesomebox if I want to be able to generate anything other than pdf.
Thanks for any tips.

Hello
Do you have any tips please? I need to also convert documents to Word (since our Translation teams work with an external tool which only support .docx).
The current situation: if I use awesomebox tags in my markdown content; it's ok for PDF rendering but I loose the paragraph when exporting to DOCX which is thus a major issue.
If no solution can be found, I'll have no choice and will abandon your tool; unfortunately
Thanks

Hi @cavo789
You know some times people are off for various reasons and anyway, libre open-source software are developped only on spare time. Thus you cannot expect such a quick answer in less than a week.
To answer your issue, I think you try to achieve an impossible goal. My LaTeX library works with pandoc when converting from a markdown documents to a pdf because pandoc use LaTeX as an intermediary format to produce the final pdf file. In the contrary, pandoc generate directly docx files from markdown documents.
My library is solely expected to run with latex or xelatex document preparaton system. It won't works with any other systems. Thus yes, I'm afraid you'll be obliged to switch to another tool to have this kind of block in your docx document. You should focus only on the docx rendering, as it is easy to produce a pdf from a docx: that way you'll be sure your docx and pdf will have the same rendering. I'm absolutely not an expert of microsoft product, thus I can't help more than that.
Have a good day

Bonjour Étienne
Si tu as ressenti de l'agressivité dans mon message; je te prie de m'excuser; ce n'était pas l'intention ! Juste que j'ai besoin de savoir si je peux garder l'outil awesomebox ou pas.
Back to english for any other readers...
Ok, thanks for the explanation; I wasn't aware that pandoc was using latex before rendering in PDF and not when rendering to Word.
Damned! This is annoying... I was really happy to find after a very, very long trip on Google your tool. Because I need to be able to generate docx/pdf, I couldn't use it.
(for info, I'm also an Open Source developer with a lot of repos and I perfectly know that this is done and maintained by people on their free time; this is my case too).
Have a nice day.

Hello
Because it would be a real shame to do without Awesomebox, I developed a little work-around
So I've a markdown file with a content like (file source.md)
# test awesomebox

Paragraph 1

\notebox{Paragraph 2}

Paragraph 3

In a bash file, I make a copy of that file to f.i. temp.md.
When my generation isn't for a PDF file, so I need to remove awesomebox tags.
Such tag is like \importantbox{Ipso lorem} i.e.

A new paragraph
Starting by \
Followed by a work with box as the three last letters
Followed by {
Then a text (one one paragrah}
Followed by }
And a carriage return.

The regex is here below. The idea is to match the content and remove the tag.
sed will update the temp.md file, remove awesomebox tags and, now, I can use pandoc on temp.md to generate my Word document.
sed -i -E 's/^\\[a-z]*box\{(.*)\}$/\1/g' temp.md;

(a long story for a one line regex ;) )
Hope this can help someone.
Thanks Étienne for your tool.

Glad you find a solution for your problem :)


Selected field does not scroll into view

Describe the bug
With modeler v5.24.0 we now scroll to elements that are focused in the properties panel. This logic does not seem to be done consistently:

Steps to reproduce
Approach 1

create outputs
scroll up (output list above + button)
add new output
element will be scrolled to, but hidden by outputs overlay

Approach 2

create C7 diagram
create task
create execution listener
create field injections
See that new field injection is not scrolled to

Expected behavior

Element is scrolled to, and always in view

Environment

OS: Linux
Camunda Modeler Version: v5.24.0
Execution Platform: Any
Installed plug-ins: None

Additional context
No response

Let's wait for users to report this.


Error destroying ASG providing instance profile

Hi,
I've got this error when I am trying to destroy the AWS ASG using this module:
Error: Error getting instance profiles: NoSuchEntity: Instance Profile fs-test-eks-cluster-workers-profile cannot be found.
	status code: 404, request id: b5020704-2009-4d4e-97f1-099e49aa4aa6

  on .terraform/modules/ng-mix-2/main.tf line 166, in data "aws_iam_instance_profile" "default":
 166: data "aws_iam_instance_profile" "default" {

Here is my config for this module:

module "ng-mix-2" {
  source     = "git::https://github.com/cloudposse/terraform-aws-eks-workers.git?ref=tags/0.13.0"
  namespace  = var.namespace
  stage      = var.stage
  name       = var.name
  attributes = var.attributes

  vpc_id     = module.vpc.vpc_id
  subnet_ids = module.subnets.private_subnet_ids

  use_custom_image_id        = var.use_custom_image_id
  eks_worker_ami_name_filter = var.eks_worker_ami_name_filter
  health_check_type          = "EC2"

  cluster_name                       = module.eks.eks_cluster_id
  cluster_endpoint                   = module.eks.eks_cluster_endpoint
  cluster_certificate_authority_data = module.eks.eks_cluster_certificate_authority_data
  cluster_security_group_id          = module.eks.eks_cluster_managed_security_group_id
  use_existing_security_group        = true
  workers_security_group_id          = module.eks.eks_cluster_managed_security_group_id

  use_existing_aws_iam_instance_profile = true
  aws_iam_instance_profile_name         = aws_iam_instance_profile.eks_worker_profile.name

  associate_public_ip_address = false
  enable_monitoring           = true

  instance_type = "t3.medium"
  min_size      = 1
  max_size      = 5

  mixed_instances_policy = {
    override = [
      {
        instance_type     = "t3.medium"
        weighted_capacity = 2
      }
    ]

    instances_distribution = {
      on_demand_allocation_strategy            = "prioritized"
      on_demand_base_capacity                  = 1
      on_demand_percentage_above_base_capacity = 10
      spot_allocation_strategy                 = "lowest-price"
      spot_instance_pools                      = 2
      spot_max_price                           = "0.015"
    }
  }

Thank you very much in advance

@dipietro-salvatore is this still an issue you're running into with newer versions of the module? Trying to understand if we should keep this open or not -- let me know, thanks!

@dipietro-salvatore
You are setting the instance profile here
  use_existing_aws_iam_instance_profile = true
  aws_iam_instance_profile_name         = aws_iam_instance_profile.eks_worker_profile.name

and the error is that this module cannot find the profile with this name. This can sometimes happen if you are also creating this instance profile in your module: there can be a short delay between when the profile is created and when it can be found by name. This is a general problem with Terraform and AWS and not something we can solve in this module. Hopefully this has been solved already by Terraform and the AWS provider, but if not, they are the ones who need to fix it.


⚠ GitLab Server has degraded performance

In 2daa81e, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 11799 ms

Resolved: GitLab Server performance has improved in ff3e38a.


refactor: Moving link to repo#373

Description
Moved GitHubLink to header
Also changed CSS rules to fit the header...
screenshots

I also added aria-label & title to GitHubLink

Can i ask you to make the theme toggle to be same size as gitub icon? Currently it is much smaller...

Sure! I was not sure if I should make it in this PR, but I think I should:)

Maybe we should also add aria-label & title to the theme toggle?

well done!