Weird Prerequisites

The Prerequisites states:
"Network infrastructure in place to reach your on-premises domain controller. If the machines are external, this can be achieved using any VPN solution."
But I cannot find any need for reaching the on-prem DCs from external devices.
Is this requirement strange, or am I missing something?

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

ID: 43c175ce-52a4-8b46-716f-106b4d55106c
Version Independent ID: 374a7e9d-6e4f-f188-328b-4ca2651a9481
Content: Configure Azure AD joined devices for On-premises Single-Sign On using Windows Hello for Business - Microsoft 365 Security
Content Source: windows/security/identity-protection/hello-for-business/hello-hybrid-aadj-sso-base.md
Product: w10
GitHub Login: @mapalko
Microsoft Alias: mapalko

The purpose of this guide is to enable SSO to on-premises resources, for example an on-prem network file share. In order to get a TGT to access on-prem resources, the device will need to have line of sight to the DC and to the on-prem resource.

@erottier : I notice that a lot of people overthink that statement and make it more complicated than it is. It is meant to be a simple preparation step, not any elaborate infrastructure change. After all, it is more or less about a transition from a normal existing local network, via a set of preparations, to become ready to join Azure Active Directory.

The purpose of this guide is to enable SSO to on-premises resources, for example an on-prem network file share. In order to get a TGT to access on-prem resources, the device will need to have line of sight to the DC and to the on-prem resource.

Is it really true?
When I open Outlook I get WhfB instead of my on-prem authetication window. Understandable, but it's not a requirement that I need a VPN per sé.
Also, @illfated, as I understand this, you could use a AAD-joined laptop within the org building to access on-prem file servers, then also no VPN needed.
So my conclusion is, that VPN is simply NOT a prerequisite, but a nice to have to access on-prem resources from outside of the company. But that was always the case anyway!

I am not an expert on this topic, so I don't know if I can answer your topical question correctly.
Please review the related discussion about this very same page in issue ticket #8172 to see if your question is better answered there.

Oh, and yes. That much is true. VPN is not a requirement per se, just a "nice to have" feature in relevant cases.

@erottier Please let us know if you still have any question regarding the issue you have raised initially.
The issue is being closed since your question seems to be answered. Feel free to re-open this issue if you feel that it hasn't been answered or that there are further suggestions to improve the documentation itself.
Thanks.


High memory consumption using just two languages

Hi @pemistahl  I am trying to use lingua in my project. But the problem is it is taking too much heap memory for just prediction among two languages.
detector = LanguageDetectorBuilder.fromLanguages(Language.ENGLISH,
            Language.GERMAN).build();

This instanciation is taking about 22 MB. Now  I am giving a sentence for prediction since lingua loads models lazily on first prediction now  when  I checked the memory using jv-mon I see a memory usage of 170MB and it keeps on increasing in idle state without any further sentence given for prediction. But the total language models size is just about 3 MB  for each language.
So I would expect something around 22 MB +  6 MB  total heap memory usage. Also when loading all languages it jumps to 1.5 GB whereas the total language models size is about 200 MB. Am I missing something why is this happening. Apologies for the naive issue.
Thank you.

Hi @Raghava14, thank you for evaluating my library.
Well, I would consider the memory consumption to be normal. Lingua's language models are much bigger than those of the other language detection libraries. So they necessarily consume more memory. If you think that memory consumption is too high, then please take a look at your JVM configuration. When loading all languages, Lingua needs at least 4GB Xmx to operate properly without throwing OutOfMemoryException.
Apart from that, what kind of project are you trying Lingua within? Are two languages already too much for your environment?

Lingua needs at least 4GB Xmx to operate properly without throwing OutOfMemoryException.

For me after I got the prediction results the memory kept increasing in idle state ( from 1.5 GB when the prediction result comes to around 2 GB till it saturates in idle state ) when loading all languages. The 4GB Xmx is it bound to increase as well or is there a guarantee of stable memory usage after 4GB when no predictions are made or when subsequent predictions are made. Also since 4GB is the "least" required memory is there any upper bound on the maximum memory it can use.

For me after I got the prediction results the memory kept increasing in idle state ( from 1.5 GB when the prediction result comes to around 2 GB till it saturates in idle state ) when loading all languages.

Memory consumption is handled by the JVM, not by my library. Lingua tries to allocate as little memory as necessary. Is it possible that other parts of your applications consume some of the memory? I'm not a JVM expert, perhaps the JVM pre-allocates memory in advance when in idle state for performance reasons. What kind of application are you running anyway?

The 4GB Xmx is it bound to increase as well or is there a guarantee of stable memory usage after 4GB when no predictions are made or when subsequent predictions are made.

No, there is no guarantee at all. By adding support for more languages over time, memory usage will increase if you build LanguageDetector from all built-in languages. That's why it is recommended to restrict the subset of possible languages by investigating your input data. As I said, memory management is handled by the JVM and also depends on your personal JVM configuration. This is nothing that Lingua aims to influence, nor is it able to do so.

Also since 4GB is the "least" required memory is there any upper bound on the maximum memory it can use?

No, the upper bound is limited by the maximum amount of memory your JVM is allowed to allocate. This has nothing to do with my library.

@Raghava14 I've just made some significant improvements regarding memory reduction and runtime performance with commit 571cafe. Perhaps you want to check out branch v1.0.0-wip and do your benchmark again. I think it performs better now.


docs: switch config examples to use direct writes mode.

Recommending setting a LOGICAL_PUBLISHER_HOST complicates the examples compared with just setting ELECTRIC_WRITE_TO_PG_MODE=direct_writes because this way you don't need to worry about having your docker electric addressable from Postgres.

FYI we're planning to remove the logical_replication mode but with no committed timeline yet - https://github.com/electric-sql/electric/pull/1343.


Update tag-support.md

need either clarification or correction. Does it refer to Azure AD or Azure AD Domain Services? If AADDS, tags are not supported, hence the need to clarify to which component it refers to or to correct innacurate information.
** marks the intended section

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

@TioKeno - Azure AD Domain Services supports tags through the API, although it currently does not show those tags through the portal. Because it technically does support tags, we will keep the documentation as is.

#please-close


STORM-3133: Extend metrics on Nimbus and LogViewer

This PR is based on #2743, #2771 , #2787 , and #2788 and implements the following metrics:
LogViewer:

[x] Time to complete one clean up loop Time. (timing on blocking calls)
[x] Search request Cnt: By category - search (non-archived only) vs deep search (archived/non-archived)
[x] Search Request - Response time - search vs deep search (both timing on blocking calls)
[x] Search Request - 0 result Cnt - search vs deep search

[x] Search Result - open files (scanned files, deep search only, manually tested)

[x] File Download request Cnt/ And Size served (round to MB)
[x] Failures/exceptions.

Does not track common IO exceptions thrown by File#getCanonicalFile/File#getCanonicalPath(), as it's common but does not actually try to open or read file content
Does not track meta file IO exception

[x] File partial read count
[x] Disk usage by worker logs
[x] Disk free-up from each LogCleaner routine

Nimbus:

[x] File upload time.
[x] Nimbus launch/relaunch count
[x] Nimbus loss of leadership

[x] meter marking when a nimbus node gains or loses leadership

[x] Scheduling latency (both distribution (as histogram) and maximum (as gauge, including current scheduling iteration))
[x] Scheduling throughput

One thing that is worthy of noticing: Storm UI currently interweaves different search API regarding searching functionalities and it's kind of confusing.
Specifically:

For the search button at the homepage it uses a single deep search API to search for all ports (server side process), both archived and non-archived.
For non-archived search at a specific topology page, it invokes search API on each port inside a loop (client side process).
For archived search at a specific topology page, it invokes deep search API (search-archived=on) on each port inside a loop (client side process)

As a result, metrics for these APIs may not accurately reflect how many searches are invoked from client's perspective.

The metrics of IO exceptions on logviewer is kind of fuzzy as I go through the call stack manually and eyeballed all thrown exceptions. I'm not sure if it's complete or if it will over-count. It'd be great if you can help review it especially.

All nits should have been addressed as of now.

+1. Please squash and we can merge.


Suboptimal jax.lax.associative_scan, potentially from re-computed subarrays

Description
I have a version of associative_scan that is the same algorithm but is consistently 20-25% faster across all problem sizes. I have not done an ablation on the jax implementation, but I suspect it is due to recomputation of the lines
https://github.com/google/jax/blob/69a29318307b56d0e2c83ed80d40182ab845421f/jax/_src/lax/control_flow/loops.py#L1865
and
https://github.com/google/jax/blob/69a29318307b56d0e2c83ed80d40182ab845421f/jax/_src/lax/control_flow/loops.py#L1875
Wasn't sure whether to file it as a bug or feature request, but I suppose it could be an XLA bug since this type of re-use should be eliminated by CSE? (If these two lines are indeed the culprit)
What jax/jaxlib version are you using?
No response
Which accelerator(s) are you using?
No response
Additional system info
No response
NVIDIA GPU info
No response

For cross-referencing purposes, see internal bug b/266986634.


Right align numbers, left align strings.

ala excel/spreadsheets etc.
Fixes #1745

Code looks good. I reluctantly accept right-aligned PIDs because top does it, too. And there is a certain time-component in the PID order.

LGTM
Uptime is left aligned, but that's ok.


Library not found for -lDoubleConversion Build failed

Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
https://i.stack.imgur.com/8VbEV.png
ALREADY TRY THIS

https://stackoverflow.com/questions/50562596/library-not-found-for-ldoubleconversion

https://stackoverflow.com/questions/55239646/ld-library-not-found-for-ldoubleconversion-react-native-0-59

here is what i did

I clean and rebuild
rm -f ~/Library/Developer/Xcode/DerivedData/cache
also add remove flags from Other Linker Flags
also try to add .a file in Link Binary With library under build phase

Still Not get Success
React Native version:
Run react-native info in your terminal and copy the results here.
System:
OS: macOS 10.15.5
CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
Memory: 96.62 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.4.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 6.14.5 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK:
API Levels: 23, 26, 27, 28, 29
Build Tools: 28.0.3, 29.0.2, 29.0.3
System Images: android-29 | Google APIs Intel x86 Atom, android-R | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 3.6 AI-192.7<IP_ADDRESS>92135
Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_252 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.2 => 0.63.2
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

After Upgradtion (but Im able to run it but some how it crash I don't no why)

Expected Results
Make successful Build

Hi @Osamasomy upgrade issues have been moved to https://github.com/react-native-community/upgrade-support. Could you check out if this was solved or create a new issue there? Thanks!


Update test cov

test cov
Signed-off-by: Wenqi Qiu<EMAIL_ADDRESS>

Codecov Report

Merging #35 (b58554c) into main (b75a2a6) will decrease coverage by 0.13%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
- Coverage   64.63%   64.49%   -0.14%
==========================================
  Files         295      296       +1
  Lines       43838    43842       +4
==========================================
- Hits        28335    28277      -58
- Misses      13219    13273      +54
- Partials     2284     2292       +8

Flag
Coverage Δ

kind-e2e-tests
50.98% <ø> (-0.11%)
:arrow_down:

unit-tests
44.34% <100.00%> (+0.05%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/cov.go
100.00% <100.00%> (ø)

...ver/registry/controlplane/nodestatssummary/rest.go
54.54% <0.00%> (-45.46%)
:arrow_down:

pkg/agent/openflow/pod_connectivity.go
66.85% <0.00%> (-16.30%)
:arrow_down:

pkg/agent/nodeportlocal/k8s/annotations.go
84.44% <0.00%> (-15.56%)
:arrow_down:

pkg/agent/controller/networkpolicy/reject.go
71.18% <0.00%> (-14.69%)
:arrow_down:

pkg/agent/openflow/service.go
72.82% <0.00%> (-10.87%)
:arrow_down:

pkg/controller/externalippool/controller.go
84.82% <0.00%> (-6.25%)
:arrow_down:

pkg/agent/route/route_linux.go
46.37% <0.00%> (-2.20%)
:arrow_down:

pkg/agent/cniserver/ipam/antrea_ipam.go
74.02% <0.00%> (-1.74%)
:arrow_down:

pkg/ovs/openflow/ofctrl_packetin.go
72.15% <0.00%> (-1.27%)
:arrow_down:

... and 13 more

/test-all


Pixiv: handle videos

Add some text to notify the user that it's a video

Resolved in 2886930d197047f1277af4cc107218ccd72b673a


gdal::raster::rasterband::RasterBand::band_type still returns a GDALDataType::Type

There seemed to be a change of replacing the GDALDataType with a crate enum GdalDataType.
However, the RasterBand still returns the u32: https://github.com/georust/gdal/blob/3eefd647a9d9fdd6d8a11d914f68657800c6fc9f/src/raster/rasterband.rs#L479
Was is intended or forgotten?

@ChristianBeilschmidt Forgotten 😞 Thanks for catching this. :)


In the Android 12 environment, the plug-in still reports an error that the Bluetooth permission cannot be obtained when the permission is obtained

In the Android 12 environment, the plug-in still reports an error that the Bluetooth permission cannot be obtained when the permission is obtained

Had the same issue. https://github.com/boskokg/flutter_blue_plus solves the issue.

I think u just use above plugin flutter_blue_plus
I tested the flutter_blue_plus ^1.1.3 version in Android 11, 12 Version for BLE Connection.
And, I checked that it worked well.
Apply the plugin and just change the code.
ex)
FlutterBlue flutterBlue = FlutterBlue.instance ->FlutterBluePlus flutterBlue = FlutterBluePlus.instance;
That's all.

I have used flutter_blue_plus but finally I put back flutter_blue because it works fine on android 12 as long as you ask for permissions:
Future<int> getAndroidSdk() async {
    DeviceInfoPlugin deviceInfo = DeviceInfoPlugin();
    AndroidDeviceInfo androidInfo = await deviceInfo.androidInfo;
    return androidInfo.version.sdkInt ?? 30;
  }

  Future<bool> requestBluetoothAccess() async {
    Future<bool> permStatus;
    if (Platform.isAndroid && await getAndroidSdk() > 30) {
      permStatus = _requestAccess(Permission.bluetoothScan)
          .then((isGranted) => _requestAccess(Permission.bluetoothConnect))
          .then((isGranted) => isGranted);
    } else {
      permStatus = _requestAccess(Permission.bluetooth);
    }
    return permStatus;
  }

and I am using the following manifest:
<!-- New Bluetooth permissions in Android 12 -->
    <uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation"/>
    <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE"/>
    <uses-permission android:name="android.permission.BLUETOOTH_CONNECT"/>
    <!-- Request legacy Bluetooth permissions on older devices. -->
    <uses-permission android:maxSdkVersion="30" android:name="android.permission.BLUETOOTH"/>
    <uses-permission android:maxSdkVersion="30" android:name="android.permission.BLUETOOTH_ADMIN"/>

    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" tools:ignore="ScopedStorage" />
    <uses-feature android:name="android.hardware.bluetooth_le" android:required="true"/>


Fix Context.registerReceiver() calls to specify export behavior

See https://developer.android.com/about/versions/14/behavior-changes-14#runtime-receivers-exported

Yes. I added the backport label now.


Title color is not set to grey when no options are selected

I have a dropdown box like this
<select id="box" title="Select" class="selectpicker form-control">
  <option value="">Option 1</option>
  <option value="user">Option 2/option>
</select>

My issue is that the title is not greyed out when no option is chosen, like this example shows. What am I doing wrong?

What mine looks like:

This has been resolved, thanks to an answer from SO I needed to hard code like this in my stylesheet
.bootstrap-select > .dropdown-toggle[title='Select'],
.bootstrap-select > .dropdown-toggle[title='Select']:hover,
.bootstrap-select > .dropdown-toggle[title='Select']:focus,
.bootstrap-select > .dropdown-toggle[title='Select']:active { color: grey; }

You are most likely not using the most recent version of bootstrap-select, which includes placeholder styling.

@caseyjhol I am using v1.10.0. Which version supports custom styling?

@alexcasella Placeholder styling was added in v1.11.0.


Typescript definitions don't allow for config to be passed into the start function

export declare const start: () => Promise<void>;

This is missing the config option.

Solved in release 0.5.2.
Thank you 💪


Getting rid of agas::response and agas::request

Removed hpx::agas::stubs::component_namespace
Removed hpx::agas::stubs::locality_namespace
Removed hpx::agas::stubs::symbol_namespace
Removed hpx::agas::stubs::primary_namespace
Turned all service requests into seperate actions
Splitted implementation of component_namespace and locality_namespace
into bootstrap and hosted side

Flyby: fixing binpacking distribution policy

@sithhell Do you plan to rebase this branch so we could go ahead with merging?

Am 14.08.2016 8:38 nachm. schrieb "Hartmut Kaiser"<EMAIL_ADDRESS>
:
@sithhell Do you plan to rebase this branch so we could go ahead with
merging?

Yes, that's the plan.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@sithhell Do you plan to rebase this branch so we could go ahead with merging?

Yes, that's the plan.

I should have asked whether you need help with that...


Are there any guidelines for loading a CPT (continued pre-training) model and retraining it on a different data set?

Can I load a model trained by unsloth's CPT (continued Pre-Training) method, change only the saved Lora parameters to learnable parameters, and then proceed with CPT on a different data set? In other words, I want to continue the Lora parameters of the model trained by CPT on a different data set. Are there any reference documents or guidelines? If I run the code below to continue CPT on a different data set, won't the Lora layers be created overlapping? I want to use the Lora layers created in the previous CPT step as they are.

model, tokenizer = FastLanguageModel.from_pretrained(
    model_name = "my_cpt_model",
    max_seq_length = max_seq_length,
    dtype = dtype,
    load_in_4bit = load_in_4bit,

)
model = FastLanguageModel.get_peft_model(
    model,
    r = 128,
    target_modules = ["q_proj", "k_proj", "v_proj", "o_proj",
                      "gate_proj", "up_proj", "down_proj",

                      "embed_tokens", "lm_head",],
pretraining
    lora_alpha = 32,
    lora_dropout = 0,
    bias = "none",

    use_gradient_checkpointing = "unsloth",
    random_state = 3407,
    use_rslora = True,
    loftq_config = None,
)

@daegonYu Yes that should work (I think) - The continued pretraining notebook does train on the same LoRA adapters twice - https://colab.research.google.com/drive/1tEd1FrOXWMnCU9UIvdYhs61tkxdMuKZu?usp=sharing so it should function (hopefully)

If I load the Lora model from outside and train it with UnslothTrainer without get_peft_model(), I can train it with the previously generated Lora parameters. Thank you for your answer.

Additionally, I have a question. When learning a decoder model, I understand that when the Instruction part is input to the model, only the Response part is learned by calculating the loss, but in the colab you suggested, it is entered as learning data without such distinction. Can the model learn effectively even if it is learned like this? Also, can you tell me about a blog or paper that includes an explanation of this?

@daegonYu You might be interested in our conversational notebook which masks out the instruction - https://colab.research.google.com/drive/1T5-zKWM_5OD21QHwXHiV9ixTRR7k3iB9?usp=sharing
Also see https://github.com/unslothai/unsloth/wiki#train-on-completions--responses-only-do-not-train-on-inputs

Oh this is what I was looking for. thank you!

One thing I'm wondering about while researching this is, is it okay to assume that using DataCollatorForCompletionOnlyLM(response_template, tokenizer=tokenizer) and using DataCollatorForSeq2Seq(tokenizer = tokenizer) with train_on_responses_only(
trainer,
#instruction_part = "<|start_header_id|>user<|end_header_id|>\n\n",
response_part = "<|start_header_id|>assistant<|end_header_id|>\n\n",
) will have the same effect?
Here's a more detailed example code.

from transformers import AutoModelForCausalLM, AutoTokenizer
from datasets import load_dataset
from trl import SFTConfig, SFTTrainer, DataCollatorForCompletionOnlyLM

dataset = load_dataset("lucasmccabe-lmi/CodeAlpaca-20k", split="train")

model = AutoModelForCausalLM.from_pretrained("facebook/opt-350m")
tokenizer = AutoTokenizer.from_pretrained("facebook/opt-350m")

def formatting_prompts_func(example):
    output_texts = []
    for i in range(len(example['instruction'])):
        text = f"### Question: {example['instruction'][i]}\n ### Answer: {example['output'][i]}"
        output_texts.append(text)
    return output_texts

response_template = " ### Answer:"
collator = DataCollatorForCompletionOnlyLM(response_template, tokenizer=tokenizer)

trainer = SFTTrainer(
    model,
    train_dataset=dataset,
    args=SFTConfig(output_dir="/tmp"),
    formatting_func=formatting_prompts_func,
    data_collator=collator,
)

from trl import SFTTrainer
from transformers import TrainingArguments, DataCollatorForSeq2Seq
from unsloth import is_bfloat16_supported

trainer = SFTTrainer(
    model = model,
    tokenizer = tokenizer,
    train_dataset = dataset,
    dataset_text_field = "text",
    max_seq_length = max_seq_length,
    data_collator = DataCollatorForSeq2Seq(tokenizer = tokenizer),
    dataset_num_proc = 2,
    packing = False, # Can make training 5x faster for short sequences.
    args = TrainingArguments(
        per_device_train_batch_size = 2,
        gradient_accumulation_steps = 4,
        warmup_steps = 5,
        # num_train_epochs = 1, # Set this for 1 full training run.
        max_steps = 60,
        learning_rate = 2e-4,
        fp16 = not is_bfloat16_supported(),
        bf16 = is_bfloat16_supported(),
        logging_steps = 1,
        optim = "adamw_8bit",
        weight_decay = 0.01,
        lr_scheduler_type = "linear",
        seed = 3407,
        output_dir = "outputs",
    ),
)

from unsloth.chat_templates import train_on_responses_only
trainer = train_on_responses_only(
    trainer,
  #instruction_part = "<|start_header_id|>user<|end_header_id|>\n\n",
    response_part = "<|start_header_id|>assistant<|end_header_id|>\n\n",
)

max_seq_length

May I ask why during the DPO training  , when initialize model from the SFT model,    as follows:   model, tokenizer = FastLanguageModel.from_pretrained(
model_name = f"{args.ckpt_name}",
max_seq_length = max_seq_length,
max_seq_length = 4096?         But in SFT trainer, this arg is 2048, what is the relation between max_seq_length and the args used in intilizing the DPO trainer, eg,     max_length, max_prompt_length = prompt_length ;

@Candice1995 Apologies on the delay - DPO has a prompt, then 2 other fields - the accepted or rejected answer to the prompt. These fields have varying lengths, and so we have to truncate or specify the lengths for each. Unsloth's max_seq_length is the total maximum sum length of all the fields


[Bug] Chart dashboard uses delta on counters

Kyverno Version
1.8.2
Description
The dashboard included in the chart currently make uses of delta on counters. For example. https://github.com/kyverno/kyverno/blob/5557d6c85d7e1866ebd3bed5c1c3a4c9d55a3881/charts/kyverno/grafana/dashboard.json#L2816
I believe delta is meant to be used for gauges. In this situation this can cause problem because delta does not take counter resets into account. This means that you can end up with negative values of admission requests, for example:

I believe increase is probably the proper function here since it takes counter resets into account:

See https://prometheus.io/docs/prometheus/latest/querying/functions/#delta and https://prometheus.io/docs/prometheus/latest/querying/functions/#increase
Slack discussion
No response
Troubleshooting

[X] I have read and followed the documentation AND the troubleshooting guide.
[X] I have searched other issues in this repository and mine is not recorded.

To my knowledge the dashboard used by the chart is this one : https://github.com/kyverno/kyverno/blob/main/charts/kyverno/grafana/dashboard.json
Which is in the kyverno/kyverno repo and not kyverno/grafana-dashboard (hence why I originally created the issue over there). That dashboard is still making use of delta.
@realshuting could we get some clarifications on the purpose of those 2 different dashboards and confirmation of which one is used in the chart? If that is indeed the one from kyverno/kyverno being used, than this issue should probably still be open and moved back to its original kyverno/kyverno location.

You can ignore my previous message. I talked with Chip on slack and he created https://github.com/kyverno/kyverno/issues/5597 to fix on the helm chart side.


fix(statutory): only allow applications from valid bodies

Fixes MA-123, and also implements that you auto-select your primary body, and not just the first body in the list
Should be merged together with statutory-#422

@LeonVreling don't forget to rename this PR to match commits schema

Woops, I just did that

:tada: This PR is included in version 1.19.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

Okay, so this did not work 100%. It only works when you create the application, but not when you edit it. @LeonVreling will make a new PR to fix this


Time series data with DICE?

Hi everyone,
I am still quite new to machine learning coding. I managed to do a few things with DICE, although I was wondering how do you manage time series data for a general model?
The idea is that the counterfactual explainer has to be able to respect time ordering when generating counterfactuals. The only idea I have till now is to just post-filter counterfactuals after they are generated... Any suggestion or better ways (if this simple way is ok)?

This is a great question and depends on the causal relationships between features. We had some preliminary work on this but it may take some time to be integrated fully with DiCE.
I think your post-filtering step is simple and effective. As long as you generate enough number of CFs, post-filtering on them should return the desired CFs.
In the future, we may actually implement a function for specifying these kind of constraints. To help design it, can you share what would be ideal for you? Would you want to provide the two variables and which one causes the other? Or some other kind of constraint that you have in mind?

@amit-sharma  thanks for your reply! Yes, I am aware of that work, although it does not seem to deal directly with time series. Maybe one with some manipulation could make it work.
For me it would be ideal to choose the constraints, plus respect causality among features for a fixed time, plus causality along time.
I do not have for now specific constraints in mind (but if I come I will let you know).
For now, I was running this example https://machinelearningmastery.com/feature-selection-time-series-forecasting-python/ , to see how time series prediction can be done in Python, and then I ran Dice on top of it.
Basically, after some feature engineering for time series data, you have [t-12, t-11, ...., t-2, t-1, t] lag variables, and you want to predict t from the other ones. After training I run Dice for counterfactuals to obtain what I could change in my lagged variables (although this probably is more a what-if analysis, rather than what I can do, in general, as one changes variables of the past).
The big picture would be to run on stores data for example, like here https://www.kaggle.com/kyakovlev/m5-lags-features/notebook, although I have still to try there.
One last thing. For now, I will generate tons of CFs and check which ones make sense. Although, how much is safe to run lots, like 10 or 20, of CFs? Did you see this paper on robustness of generation of CFs  https://arxiv.org/pdf/2106.02666v1.pdf (Counterfactual Explanations Can Be Manipulated)? I might open another issue to discuss this, seems quite important.
Thanks, and hopefully I will have something more concrete in the future.

@amit-sharma sorry to disturb you again, but would you have any idea if DICE will support time series?

Hi @amit-sharma is there any update on having support for time series?

Hi @amit-sharma. Was thinking if we should introduce feature lags as new features to deal with time series data. What I mean is if we have feature A,B, C, do you think we should add A, B, C, A_lag1, B_lag1.... until a certain lag and then perform CF reasoning?
Or please let us know if you have any updates?

Or was wondering should we use a model in the model parameter which takes into account temporal dependencies?

yeah, the feature lags is the best solution currently in DiCE.

Oh thank you :)


Pagination

Hello Colby! This is absolutely amazing!!
I was wondering whether I could implement pagination to this and couldn't find a solution for this.
Thank you very much!

hey @shunsuke-bold can you be a little more specific? what are you referring to here?

Thank you for the quick turnaround.
Currently, the top page loads all posts from Wordpress. It would be cool if the post feed came up with pagination to display the specific amount of articles.

are you referring to https://spacejelly.dev/? yeah i have a View All link at the bottom but it could definitely be more efficient, just a matter of having time to work on it :)


Support nas installation

test pypi:
python3 -m pip install nni==1.4.2003040926 --user

Just had a look at the unpacked wheel. I'm not sure whether it's okay to include all these source maps (.js.map) in production build. Since they are not large in volume, I'm fine with both keeping and ejecting.

Just had a look at the unpacked wheel. I'm not sure whether it's okay to include all these source maps (.js.map) in production build. Since they are not large in volume, I'm fine with both keeping and ejecting.

webui package also include the .js.map files, I think it ok to keep them.


dayjs doesnt load anymore

This code is out-of-date. I will update now with the production code


Address follow up tasks from CRD conversion: LICENCES

/sig multicluster
This PR addresses the LICENSES follow up task in #229 (figure out what needs to be done with LICENSES).
Follow up tasks will explore and hopefully implement the test to verify kubebuilder generated code and  the integration tests in /test/... being run before each PR.

@onyiny-ang Your changes look good, but can you rebase this against HEAD?

@perotinus done. Will try to get to the other cluster-registry follow up tasks this week!

Thanks, @onyiny-ang!
/ok-to-test
/lgtm
/approve


dospath external url

:hammer: 変更内容 / Details of Changes
Adding a dospath query variable to fetch daa from external url
:bookmark: 関連Issue, 変更理由 / Related Issues, Reason for Changes
To simplify danoni plus upgrade I would love to have data from external web service.
Upgrading the code is then possible with deployment as data is external
for instance : http://localhost:8080/danoni/danoni0.html?dos=hello.txt&dospath=https://localhost:8081/
:pencil: その他コメント / Other Comments
if that PR idea is approved I believe similar things should be done for : songs, settings, customs, skins.... :)

I am making a change to test a fix.
on chrome if I deploy the code I have the following error :
danoni:1 Refused to execute script from 'https://toto.titi/danoni/dos/0001_ThrustUp.txt?1694415559700' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.

text file can not be execute with newest security policies. The fix is to rename the dos file from txt to js to correct.

Thanks for PR!

text file can not be execute with newest security policies. The fix is to rename the dos file from txt to js to correct.
That's true. But that specification is not compatible for current version...
Some people uses text file as a js file when they put their charts.
For the time being, if there is no extension in "dos" setting, it should be treated as if there is ".txt".

I think "dosPath" is a good idea. It could be used when you want to do a different chart or setting on a test basis.

Thanks for your feedback

text file can not be execute with newest security policies. The fix is to rename the dos file from txt to js to correct.

I see 2 ways to implement this : you check if there is a file extension in the dos name query string.
But my prefered version solution would be to add a variable in danoni_setting.js :
dos_extension="txt" as default.
People can then overide the settings and change to js :
dos_extension="js"
It looks more flexible and less exposed to regression for existing deployed solution.

Thanks for comment.
Hmm... in that case, I think both are needed.
This is because it is difficult to make changes all at once when there are many files.

If there is no extension in "dos" setting, it should be treated as if there is ".txt".
If there is a file extension setting in danoni_setting.js (e.g. g_presetObj.dosExtension), the file name is added that extension.

If both 1 and 2 are satisfied, priority is given to 1.

Do you want me to update the PR or do you prefer to take care of it yourself ?


Feel free to grab our list!

https://github.com/atmire/COUNTER-Robots

Thanks....yes, we're actually already grabbing your list, but it is via the Making Data Count project (https://github.com/CDLUC3/Make-Data-Count/tree/master/user-agents/lists) which has the list split into robots and machines since we need it for both research data metrics usage and plain COUNTER usage stats.

Actually, @bram-atmire, could you clarify under which license your list is released? In the repo I don't find anything about it (perhaps I'm just blind :-))

MIT license - the information is now in place.


Accessibility: A11y_Live Chat Widget_Upload File_Keyboard: When we try to move the mouse to the tool tip then the tool tip disappears.

Copied from VSTS #1750218.

1750218_A11y_Live Chat Widget_Upload File_Keyboard.zip
“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
Environment Details:
Application Name: Live Chat Widget
#URL:https://xxx.blob.core.windows.net/portals/democ2occatest4.html
Browser Versions: Microsoft Edge Version 80.0.361.54 (Official build) (64-bit)
Windows Version: Windows10
Chrome Version: Version 80.0.3987.149 (Official Build) (64-bit)
Repro Steps:
1)Launch the application url : https://xxx.blob.core.windows.net/portals/democ2occatest4.html
2)welcome to live chat support Screen get open.
4)Navigate to "Chat Now button" and click on it.
5)"Chat Form" screen get open.
6)Fill all the mandatory detail and then Click on "Submit" Button
7)now "Chat Window" get open.
8)Navigate to "Upload File Button" .
9)Hover over the mouse on the "Upload" button  and try to move the focus of mouse to the tool tip
Actual:
when we try to move the mouse to the tool tip then the tool tip disappears.
Expected:
when we try to move the mouse to the tool tip then the tool tip shouldn't disappear
User Impact:
Mouse users will not be able to see the content of the tool tip when the focus of mouse goes to tool tip.
Recommendations:
Please refer to below URL which is repository for accessibility bug fixes.
https://microsoft.sharepoint.com/teams/msenable/mas/pages/browse-fixes.aspx
MAS Reference:
MAS Reference:
MAS 1.4.13
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/Doc.aspx?sourcedoc={60121EB2-D1C5-4525-931F-322A940799EF}&file=MAS 1.4.13 – Content on Hover or Focus.docx&action=default&mobileredirect=true&cid=d6f4d0c2-be3b-449a-a603-3e1c5efbcd4f

Repro steps

Move the mouse on upload button
Wait until tooltip appear
Move the mouse over tooltip

Expected
Tooltip to continue "hoverable".

According to MAS 1.4.13, browser tooltip is an exception to this rule.


Add ability to copy cell data in edit data

SQL Operations Studio Version:

Steps to Reproduce:

@anthonydresser if you select the cell text and press CTRL-C or use the Copy content menu item the cell value is copied to the clipboard.  Could you please provide details on additional copy mechanisms you'd like to see?

I was talking about adding it to the context menu so you can do it while editing a different cell

@anthonydresser The experience here is a bit weird in that you get two different context menus clicking on cell depending on if the cell is currently being edited or not.  If the cell is being edited you'd get the menu below which includes Copy.  Probably right-clicking on a cell should select the cell for editing and pop-up the textbox standard context menu, though we should think this through (specifically how to get to the Row context menu).


fix: support sparse indicies

fix - we did not support sparse indices as keys could not be optional
fix - query key tuple should require the partition

Sparse indices allow optional fields to be used in global or local index keys.
export const counter = entity("counter5", {
  attributes: {
    n: z.number(),
    namespace: z.union([
      z.literal("different"),
      z.literal("default"),
      z.literal("another"),
    ]),
    id: z.string(),
    optional: z.string().optional(),
  },
  partition: ["namespace", "id"],
});

export const countersByOptional = counter.index("countersOrderedByNamespace", {
  partition: ["id"],
  sort: ["optional"],
});

Good question. My plan was to not generate the attribute when any part was undefined. This part is missing from the PR...
The other option is to allow undefined in they query keys, but the behavior would be different when all vs part of the key is missing.

How about empty string? So two back to back delimiters? Let's look up what they recommend in the dynamodb guide? https://www.dynamodbguide.com/

How about empty string? So two back to back delimiters? Let's look up what they recommend in the dynamodb guide? https://www.dynamodbguide.com/

Creating a non-empty value would defeat the purpose of a sparse index.
In the case when you have a one part key type, the item would not show up in the index.
ex:
I have a deploymentId as the partition key, but not all items have a deployment ID. I can query by deploymentId
await deploymentIdIndex.query({ deploymentID: "123" });

I wouldn't want an partition of all things without a deploymentId. (if I did, I would just make a special value).
Or lets say I want to sort by endTime, but not all items are complete yet.
const endTimeIndex = myEntity.index({
   sort: ["endTime"]
});

await endTimeIndex.query({ somePartition });

I would not want to have items with no end or start time inserted in somewhere.
So in the case of a multi-attribute key part with an optional attribute?
const deploymentIdIndex = myEntity.index("deploymentIdIndex ", {
   partition: ["orgName", "deploymentId"]
});

await deploymentIdIndex.query({ orgName: "something", deploymentID: "123" });

Here it doesn't make sense to have an "OrgName#undefined" partition because we don't support undefined partitions in keys and the case you would a prefix vs an undefined key would be ambigous. It would also force all items without a deploymentId into a single partition, making it impossible to leverage sparse indices.
undefined Sort index part would be worse because the undefined values would always be at the top.
Creating a value would also change the behavior between a single attribute and a multi-attribute key, where a single can be sparse and a multi cannot.
I argue that we don't generate a key for any generated attribute that is missing part of it.

We can always add an option to fill a default value later
Users can put default values in place if they want this behavior ( deploymentId: "" )

I don't understand. Don't we use delimiters to query. What about the case where the sort key is a composite and the first value is optional.
sort: ["a", "b"]
.query({
a: undefined,
})

I don't understand. Don't we use delimiters to query. What about the case where the sort key is a composite and the first value is optional.
sort: ["a", "b"]
.query({ a: undefined, })

Updated so the query key and the result of the query/scan will reflect that the key attributes are no longer optional.


Added Egress uid and renamed Resource id to uid

Signed-off-by: Francesco Guardiani<EMAIL_ADDRESS>Part of #279
As proposed in https://github.com/knative-sandbox/eventing-kafka-broker/compare/master...slinkydeveloper:issues/279_part_2, I wish to modify the reconciliation logic to use uid as index more than the hash of the wrapper resources themselves. This adds uid to Egress (because consumer group may not be always the same as kube uid) and renamed Resource.id to Resource.uid to clarify that the id is unique and relates to kube uid.

Proposed Changes

Added uid field to egress
Renamed id field of Resource to uid to clarify it (and make it consistent with egress uid)

Release Note

Docs

Can you update codegen?
/approve

the lint doesn't pass for the trailing whitespace :)

I have a PR open to fix it: https://github.com/knative-sandbox/.github/pull/63/files

That's weird, the config map is there (I'm looking here https://00f74ba44b977ed75f1f1c180f01ae3cbf82d82e75-apidata.googleusercontent.com/download/storage/v1/b/knative-prow/o/pr-logs%2Fpull%2Fknative-sandbox_eventing-kafka-broker%2F310%2Fpull-knative-sandbox-eventing-kafka-broker-integration-tests%2F1318185319446614016%2Fartifacts%2F9f9b608a-1210-11eb-8ffa-c2dc0fa0ae6d%2Fk8s.dump-e2e-tests.sh.txt?jk=AFshE3XfW9ZKvmKtvFa8WK8TNaF8wkl6DBP3ng4YbtTeDfV9pL8LPmIIbWkTbVXoE6nwVZs1v30izmrSy-1aMMZxNPwI9MhBW5FlWMfVjgoioGGfVhecIlrjDv6SmkONBHJ9H-ezhzFxxEuf4POPzDQO9Bln3n4nJNd9cN61TKpqAZXZbD2Gqaj0Ie6Tz9FllsPer3m-oOjoZ20m6KwDZu8Np8OfuIHfZ6JSBMsB4wDm2OJmmpLNRgo6wXzxYKWIzrn2s82u3GghnHwfr1cmf25_AWLcrDPAiMhAZvk2bDaAh-dMWmETdSvLG_cUQ4b7uIT8mBc-fOsgq5bPmqawCWsAQT5AJB-KkQKTkFDPYR8JBX_MNZEaW_WoGgKLAwYsuNhOSwrTCBuDYYi_RalLhLaWn-279CcWgJ1ttCN5g2pVDTtqRjBbk55QhORy2fLW0gEDFm0rgPR7iNZ8mFIcJD3qYUlGrebZju69iTCQz29f1hsfM0tJe_qwAY5fD_f9Qr7ZquSBxSUN8e3_CniUvRsiW1F5JfBOd8KVE-i8WkXKvlffv3tU--UvPyXE2XDvcAXrVpBL413I5xMJP28h0QPF1I3NiqJH8N0tw4y6W3e15k6ZZkGad9qnm6BzG8DMbVBW8a1HY0OKHPY1RReY8qopboL0eNVrnHsl-QHGo6lM9_wsK2vfst4wpECLtvyjmz2SxSnKDe94aoROhGmljdMsiOwKLOrK67XBdiNMpSoMn6Xq5LKgcjBH6bWIjZbWrw0YPfw9lOSsO5ntd9Njcx66pzLmwsFcWYA0vxFbRReBZRhXAaqW-ZigkdL58UGUa2gz-7w7GFfKGrjvV4bZIGxmHLsGel-vUbglR90bkQ1MEFDuqfRLVtaYm0m86qfPAFykiSxzS4sZwdekWHNDfR5cclNyloXQ1YKYPCV04nIHpoWBQh-Lqe-hFnrJP8MDIzuQbYd3PeiSkcVOjL0kIEE6PVTuPbKPgBjMHX2ZkM2iU8NLAKkYI-mXTRFPrOrglKvp90g4NyJxdE-1tJKHpph5yPWM-fu1vHaEYKxWqPN5eowZupFHXBrJTNQCVLOjmpZwIxQErioE_1sXrrXymsTAHVo0ZuQVtrOGuK_Vvk0h061uLCRJ963LAT5SpewIpD8W6X-brL5OMg&isca=1)


The last execution field is not refeshed when the risk session is run (v0.1.0)

When you run the risk session (multi-layer) clicking the button "Run now" is not refreshed. If you leave the form and enter again, the date is correct.

mentioned in issue #65


Remove sphinx dependency

Intended more as a proposition
Only a handful of functions in sphinx are used by the bot code, specifically it's used for fetching inventories for the doc cog; but sphinx is a large package with the used code being a tiny portion of it.
Benefits
The benefits of removing it I can think of would  be

The code could be changed to be fully async (currently uses requests ran in executors)
Can get rid of behaving as a sphinx app with mocks having to be created to work
No more breaking changes from updating sphinx (#727)
Removing one of the largest dependencies from the bot

Drawbacks
The bot has been using it directly for a long time, mostly without issues and requires almost no maintenance on this side which could be required if it's removed

Probably having to copy most, or at least some, from sphinx to be compatible
Code will need to be maintained if the format is changed and sites adopt it

The drawbacks here are minimal, but also are the benefits; any thoughts on whether it's worth bringing some of the code over while getting rid of sphinx to get our own async handling of the requests?
Their license should allow copying the base of the code if I understood it correctly. It's almost a copy of BSD 2-clause, with some format changes and the All rights reserved. text added which I don't know the exact meaning of

Depends on how much new code we'd need to maintain. Something like 200 lines is reasonable, but if it's in the thousands then probably not.

A drop in replacement code I tried that copied the needed functions is exactly 200 lines including their longer sphinx docstrings and some comments so it should be manageable to maintain,

Fine by me then.

I've put together a quick implementation at https://gist.github.com/Numerlor/e57096cedd06dd536cdddff86be2661f, since we have control over the output there I've decided to simply ignore the information we don't need during the parsing.
Should we also handle version 1 inventories? The implementation is simple (although I haven't tested it) but none of the bot's current inventories use that version and I've only managed to find one when searching.

Should we also handle version 1 inventories?

I don't mind it; it's not a lot of extra code.

I'll go ahead and push this into #1014 in the near future if there's nobody against it.
Should the sphinx license be handled like in #886 with the same file?

in the near future if there's nobody against it.

Fine by me. As I said, I'm not against it. Haven't had input from anyone else unfortunately.

Should the sphinx license be handled like in #886 with the same file?

Yes, in my opinion. I haven't heard any negative feedback about this so far.


PowerShell fails to install on Debian-9

Steps to reproduce
Try installing PowerShell on Debian-9 using the instructions for Debian-8.
Expected behavior
Not sure. :) I just wanted to draw attention to the fact that it doesn't install, in case you hadn't gotten around to testing it yet.
Actual behavior
The following packages have unmet dependencies:
 powershell : Depends: libssl1.0.0 but it is not installable
              Depends: libicu52 bit it is not installable

For libssl, Debian stretch has libssl1.0.2 installed. I'm not sure about the other library though.
Environment data
root@myserver:/# cat /etc/debian_version
9.0

Looks like it's libicu57 for Debian 9.

This seems to also be the case for Kali. The install instructions here don't work. Missing libicu55, only libicu57 is in the repos.
Installing the Ubuntu libicu55 package works to make it install, but the PowerShell process segfaults after running for a few seconds. Also confirmed on Debian 9. The trick of installing Ubuntu libicu55 package worked prior to beta.

Try to pull the network cable. Not even kidding. Powershell tries to communicate with <IP_ADDRESS>. When it finds it, it fails getting a certificate from <IP_ADDRESS> and libcrypt or something like that crashes.

@KonstMisch Wow! That is kind of funny, but yeah I can confirm that unplugging the network cable fixes the issue for me.

Debian 9 has libcurl3 libssl1.0.2 libunwind8 libicu57 and PowerShell needs libssl1.0.0 and libicu55 in case of the Ubuntu 16.04 LTS deb Package.
You can install this package by changing the dependencies in the deb archive like this:
https://serverfault.com/questions/250224/how-do-i-get-apt-get-to-ignore-some-dependencies#answer-383958
Just change to the version in Debian (e.g. libssl1.0.2 libicu57) and install using dpkg -i package
It is a shame, there isn't a package for Debian 9 Stretch which is now current stable branch.

/cc @TravisEz13 Could you please look the Issue?

I assume you are referring to #3961

That IP address is AppInsights which is used to send startup telemetry.  You can just follow the instructions to disable telemetry rather than pulling the network cable.

And libicu60 in Debian testing...

Just edit your apt sources:
cat /etc/apt/sources.list.d/microsoft.list
deb [arch=amd64] https://packages.microsoft.com/debian/stretch/prod stretch main

that does not help, the same issue on debian9

@melezhik Please open new issue with repo steps.

Have been facing the same problem.
And even tried to install manually disabling the dependencies(this approach makes PowerShell works
but makes apt-get not usable😊)
After some research found out that  the  Debian 9 repos don't include  libicu57
so the next solution worked for me:
sudo add-apt-repository "deb http://ftp.de.debian.org/debian stretch main"
sudo apt-get update

sudo apt install powershell

I'm unable to get PS 7.0.2 to 'install' in my container's Dockerfile, based on Debian 9. I've tried @stadub 's suggestion, and one from: https://github.com/WhitewaterFoundry/Pengwin/issues/502
The following packages have unmet dependencies:
 powershell : Depends: libssl1.0.2 but it is not installable
              Depends: libicu57 but it is not installable
E: Unable to correct problems, you have held broken packages.

Dockerfile snippet
FROM mcr.microsoft.com/dotnet/core/sdk:3.1

# Add repository for missing dependencies
#&& add-apt-repository "deb http://ftp.de.debian.org/debian stretch main" \
&& add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/debian/10/prod buster main" \
&& apt-get update \

Any other ideas, please?
T. I. A.

@arcotek-ltd Do you follow https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/docs-conceptual/install/Installing-PowerShell-Core-on-Linux.md#debian-9?

@iSazonov  Yes. It doesn't work.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 powershell : Depends: libssl1.0.0 but it is not installable
              Depends: libicu55 but it is not installable
E: Unable to correct problems, you have held broken packages.

My OS is debian:buster-slim.

@michaelsync Do you follow the note?

[!NOTE] The dpkg -i command fails with unmet dependencies. The next command, apt-get install -f resolves these issues then finishes configuring the PowerShell package.

@iSazonov Sorry. I missed that out. The issue was that I don't have those libraries pre-installed. Not sure if apt-get-install -f will install those dependenceis.
I have used the following steps that don't require me to apt-get install -y powershell and it works for me.
# install the requirements
sudo apt-get install -y \
        less \
        locales \
        ca-certificates \
        libicu63 \
        libssl1.1 \
        libc6 \
        libgcc1 \
        libgssapi-krb5-2 \
        liblttng-ust0 \
        libstdc++6 \
        zlib1g \
        curl

# Download the powershell '.tar.gz' archive
curl -L  https://github.com/PowerShell/PowerShell/releases/download/v7.1.0/powershell-7.1.0-linux-x64.tar.gz -o /tmp/powershell.tar.gz

# Create the target folder where powershell will be placed
sudo mkdir -p /opt/microsoft/powershell/7

# Expand powershell to the target folder
sudo tar zxf /tmp/powershell.tar.gz -C /opt/microsoft/powershell/7

# Set execute permissions
sudo chmod +x /opt/microsoft/powershell/7/pwsh

# Create the symbolic link that points to pwsh
sudo ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh

# Start PowerShell
pwsh


python-restrictedpython: fix downloading during do_compile

During do_compile if setup.py finds that pytest-runner - which is
declared as a setup dependency in setup.py - isn't available it was
attempting to download it from pypi, which is problematic if you are
behind a proxy because the environment for do_compile isn't set up for
that. Add an appropriate native dependency to prevent this situation.
Signed-off-by: Paul Eggleton<EMAIL_ADDRESS>

Acked.

Thanks


Expand ApplicableUnits annotations

Updates QUDT to a more recent version; uses skos;broader hierarchy to find applicable units within QUDT. Also switching to QUDT.CelsiusTemperature for our Temperature quantities because this gets us DEG_C in addition to the usual units.

@shreyasnagare to address the other issue you noted in #305 I am deriving the units for some shapes from the Brick quantities themselves, so at least they will be internally consistent.

@shreyasnagare @jbkoh would you be able to get feedback to me on this PR soon? I'd like to merge so that I can finish up the v1.2.1 release


derive R.take and R.drop from R.slice

R.slice works on strings as well as arrays, since we dispatch to a slice method if present:
> R.slice(0, 3, [1, 2, 3, 4, 5])
[ 1, 2, 3 ]
> R.slice(0, 3, 'Ramda')
'Ram'

One can define take in terms of slice. If one does so take also works on strings:
> var take = R.slice(0)
undefined
> take(3, [1, 2, 3, 4, 5])
[ 1, 2, 3 ]
> take(3, 'Ramda')
'Ram'

drop can be defined similarly:
> var drop = R.slice(R.__, Infinity)
undefined
> drop(3, [1, 2, 3, 4, 5])
[ 4, 5 ]
> drop(3, 'Ramda')
'da'

take and drop are derivable from slice. I suggest we update the implementations of R.take and R.drop to use this approach. We could then deprecate R.substringTo and R.substringFrom.

hmmm. i like the idea of dropping string functions. OTOH i am afraid of creating the impression that we treat strings like [char]. 'cuz i don't want to fulfill that tacit promise.

and take and drop should be dispatchable, but that is just a note, i don't think that would block this idea.


TCP Connection Failed: (null)

in iOS10 & xcode8.3.3, console print error as follow:
CFNetwork Diagnostics [1:125] 19:34:07.062 {
TCP Connection Failed: (null)
error: 61 [61]
why tcp connection failed? need setting what & where?
thanks

+1

+1

+1

+1

I'd like to know the answer to this too

+1

+1

+1, iOS 11, Xcode 9.2

Still an issue which is just mind blowing.
Ive had so many issues with trying to get my application running on High Sierra VM.
Also get 'Loading dependency graph, done.' stuck every time I launch from XCode itself.


Unable to compile on Ubuntu 14.04

I've managed to work through a bunch of compile errors by installing several other requirements not mentioned in your documentation, but I have come to a point where I can't find a solution. We are running Ubuntu 14.04. Any help would be very much appreciated.
This is the very long error message:
error: failed to run custom build command for librocksdb-sys v5.14.2
process didn't exit successfully: /home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-7a8e65a237a57e67/build-script-build (exit code: 101)
--- stdout
cargo:rerun-if-changed=build.rs
cargo:rerun-if-changed=rocksdb/
cargo:rerun-if-changed=snappy/
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
DEBUG = Some("false")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "snappy/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DSNAPPY=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-1366b337e61dd3f0/out/rocksdb/cache/clock_cache.o" "-c" "rocksdb/cache/clock_cache.cc"
exit code: 0
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
DEBUG = Some("false")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "snappy/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DSNAPPY=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-1366b337e61dd3f0/out/rocksdb/cache/lru_cache.o" "-c" "rocksdb/cache/lru_cache.cc"
exit code: 0
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
DEBUG = Some("false")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "snappy/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DSNAPPY=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-1366b337e61dd3f0/out/rocksdb/cache/sharded_cache.o" "-c" "rocksdb/cache/sharded_cache.cc"
exit code: 0
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
DEBUG = Some("false")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "snappy/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DSNAPPY=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-1366b337e61dd3f0/out/rocksdb/db/builder.o" "-c" "rocksdb/db/builder.cc"
exit code: 0
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
DEBUG = Some("false")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "snappy/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DSNAPPY=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-1366b337e61dd3f0/out/rocksdb/db/c.o" "-c" "rocksdb/db/c.cc"
exit code: 0
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
DEBUG = Some("false")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "snappy/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DSNAPPY=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-1366b337e61dd3f0/out/rocksdb/db/column_family.o" "-c" "rocksdb/db/column_family.cc"
exit code: 0
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
DEBUG = Some("false")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "snappy/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DSNAPPY=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-1366b337e61dd3f0/out/rocksdb/db/compacted_db_impl.o" "-c" "rocksdb/db/compacted_db_impl.cc"
exit code: 0
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
DEBUG = Some("false")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "snappy/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DSNAPPY=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-1366b337e61dd3f0/out/rocksdb/db/compaction.o" "-c" "rocksdb/db/compaction.cc"
exit code: 0
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
DEBUG = Some("false")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "snappy/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DSNAPPY=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-1366b337e61dd3f0/out/rocksdb/db/compaction_iterator.o" "-c" "rocksdb/db/compaction_iterator.cc"
exit code: 0
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
DEBUG = Some("false")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "snappy/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DSNAPPY=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-1366b337e61dd3f0/out/rocksdb/db/compaction_job.o" "-c" "rocksdb/db/compaction_job.cc"
exit code: 0
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
DEBUG = Some("false")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "snappy/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DSNAPPY=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-1366b337e61dd3f0/out/rocksdb/db/compaction_picker.o" "-c" "rocksdb/db/compaction_picker.cc"
exit code: 0
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
DEBUG = Some("false")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "snappy/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DSNAPPY=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-1366b337e61dd3f0/out/rocksdb/db/compaction_picker_universal.o" "-c" "rocksdb/db/compaction_picker_universal.cc"
exit code: 0
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
DEBUG = Some("false")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "snappy/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DSNAPPY=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-1366b337e61dd3f0/out/rocksdb/db/convenience.o" "-c" "rocksdb/db/convenience.cc"
exit code: 0
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
DEBUG = Some("false")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "snappy/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DSNAPPY=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-1366b337e61dd3f0/out/rocksdb/db/db_filesnapshot.o" "-c" "rocksdb/db/db_filesnapshot.cc"
exit code: 0
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXX_x86_64-unknown-linux-gnu = None
CXX_x86_64_unknown_linux_gnu = None
HOST_CXX = None
CXX = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
DEBUG = Some("false")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CXXFLAGS_x86_64-unknown-linux-gnu = None
CXXFLAGS_x86_64_unknown_linux_gnu = None
HOST_CXXFLAGS = None
CXXFLAGS = None
running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "snappy/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DSNAPPY=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-1366b337e61dd3f0/out/rocksdb/db/db_impl.o" "-c" "rocksdb/db/db_impl.cc"
cargo:warning=c++: internal compiler error: Killed (program cc1plus)
cargo:warning=Please submit a full bug report,
cargo:warning=with preprocessed source if appropriate.
cargo:warning=See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
exit code: 4
--- stderr
rocksdb/include/rocksdb/c.h:48:9: warning: #pragma once in main file [-Wpragma-once-outside-header], err: false
thread 'main' panicked at '
Internal error occurred: Command "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "rocksdb/include/" "-I" "rocksdb/" "-I" "rocksdb/third-party/gtest-1.7.0/fused-src/" "-I" "snappy/" "-I" "." "-Wall" "-Wextra" "-std=c++11" "-Wno-unused-parameter" "-DNDEBUG=1" "-DSNAPPY=1" "-DOS_LINUX=1" "-DROCKSDB_PLATFORM_POSIX=1" "-DROCKSDB_LIB_IO_POSIX=1" "-o" "/home/ubuntu/canvas-data-loader/target/release/build/librocksdb-sys-1366b337e61dd3f0/out/rocksdb/db/db_impl.o" "-c" "rocksdb/db/db_impl.cc" with args "c++" did not execute successfully (status code exit code: 4).
', /home/ubuntu/.cargo/registry/src/github.com-1ecc6299db9ec823/cc-1.0.23/src/lib.rs:2253:5
note: Run with RUST_BACKTRACE=1 for a backtrace.

Hey @goodfront ,
Sorry to hear you had to install extra dependencies, can you let me know what those are?
As for this issue it seems like you don't have a valid C++11 compiler installed. If this isn't shipped with your ubbuntu version, you should just be able to run: sudo apt-get install build-essential. Which should give you a gcc version that works.

That is one of the things I had to run for earlier errors. So I have installed the build-essentials, but I had installed Rust before, so I may need to run it again. But this should give me something to go off of.

So I've removed and re-installed everything and did a reboot. I have hit an error which I may have handled incorrectly last time. It's basically the same as the above error with a couple lines different. The different lines are this:
error: toolchain 'stable-x86_64-unknown-linux-gnu' does not have the binary rustfmt
Custom { kind: Other, error: StringError("Internal rustfmt error") }
Last time I handled it by running this (which I had found on a different forum):
rustup component add rustfmt-preview
And where I run it again I get the error I entered before. Perhaps that was a wrong component?
I am sorry to say that I have no experience with Rust and very little with C++ and compiling in general. So any direction you could give would be very helpful.
Thanks!

Our server didn't have enough ram. I enabled a swap and that did the trick.


[Feature Request] Add Lazy Loading to Courses in Degree Requirements

Currently, the requirements in the degree requirements sidebar get cut off after 20 ish requirements. This is confusing to people; we should just lazy load them instead and show all of them.

Moved to https://nebula-labs.atlassian.net/browse/NP-71.


Integration test issue.

Failed integration-test with docker.
The reason, can't access, <IP_ADDRESS> endpoint.

I believe this is fixed now.


A plant community was still visible after delete, delete option yielded "null" name in the popup, on completion two plant communities were deleted.

Couldn't replicate. Maybe a slow connection issue?

@LisaMoore1 Can't seem to replicate the delete issues. The name appearing as "null" is a separate issue though.

@calebissharp I thought maybe the name as null happened because it actually had deleted so when it went looking for a field to display there wasn’t one. I’ve had that happen in FileMaker before. The not being replicable part was why I handed the comment about slow connection.  Wondered if it was still “processing” the delete when I though it hadn’t happened yet and did it again. I think we had something else (maybe the create amendment) where we needed to add an indicator that the process was still happening so I didn’t keep trying while it was in process.  The battle with connections is real — especially in rural areas.


Lidar .las data in Kaolin

Hi,
Is there a way to download .las data from the airborne laser scan?
Thanks

Sorry, we do not plan to support this


feat: skip networkIdle event

New feature
New form field skipNetworkIdleEvent to drastically improve Chromium conversions speed. It may not be suitable for all HTML documents, as some may not be fully rendered until this event is fired.
Thanks @rreynier!

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (4e5c1ab) 93.11% compared to head (3651312) 93.13%.

:exclamation: Current head 3651312 differs from pull request most recent head 66db9ca. Consider uploading reports for the commit 66db9ca to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #749      +/-   ##
==========================================
+ Coverage   93.11%   93.13%   +0.01%
==========================================
  Files          40       40
  Lines        3124     3133       +9
==========================================
+ Hits         2909     2918       +9
  Misses        136      136
  Partials       79       79

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Confused of 'rowHasChanged'

Hi, there is a issue during my developing.
I use 'AsyncStorage' to render the page firstly, then use the new data. But if the new data just modified a little( rowHasChanged has already return true), the row wasn't re-render.
eg: { 		"data": { 			"banner": "AppStore/083df49ad9f51643c4859484b54bf7ae76b426ca1", 			"subjectId": 2303 		}
only modi bannerUrl, won't work, but if I replace the whole data item.

Thanks for your question!
We want to make sure to keep signal strong in the GitHub issue tracker – to make sure that it remains the best place to track issues that affect the development of React Native.
Questions like yours deserve a purpose-built Q&A forum. Would you like to post this question to Stack Overflow with the tag #react-native? We'll be happy to answer there. Post a link to your Stack Overflow question here, so that we don't lose track of it.


Apply for Reviewer Role

I would like to nominate myself as a reviewer of KubeVela.
I'm contributing to VelaUX in expanding its database drivers for MySQL and PostgreSQL as a part of LFX mentorship program. And I'm also interested in other components of KubeVela and hope to keep contributing in the KubeVela community.
These are my contributions :

https://github.com/kubevela/velaux/pull/841
https://github.com/kubevela/velaux/pull/825
https://github.com/kubevela/velaux/pull/797
https://github.com/kubevela/velaux/pull/711
https://github.com/kubevela/velaux/pull/821
https://github.com/kubevela/velaux/pull/836
https://github.com/kubevela/velaux/pull/849
https://github.com/kubevela/kubevela.github.io/pull/1239

great job! Thanks for your contributions!
+1

Nice job! Welcome to community!
+1

LGTM! Thanks for the contribution!

@NeerajGartia21 You can open a PR in community repo and add yourself to reviewers like https://github.com/kubevela/community/pull/172


doc: document release criteria

Overhaul of release criteria and bug labeling. Introducing severities
and blocker bugs as well as defining board tiers.
WIP: more content based on previous discussions and TSC decision to come.
Signed-off-by: Anas Nashif<EMAIL_ADDRESS>

@nashif, when you were describing the way coverity classifies issues found in the release readiness meeting you used the term "impact" which got me thinking. Maybe we should consider using the same term when classifying issues instead of "priority". This might be why I get so caught up with the general terminology of when you define an additional property of "blocker", which to me is just priority 0 (if 1, 2, 3 are high, medium, low).

we use severity in this PR, which is synonym to Impact. I am fine using Impact instead of severity, priority is something else, and a blocker is neither as we have already discussed somewhere else.

(tagging DNM since it's flagged as WIP in the comment)

These lines on the Tier criteria setting a priority also confuse me. Especially since line 134 of this document states:
Bug priorities can be used by owners of bugs in an area or subsystem to manage
their workflow and priorities.

But here (and in the lower Tier definitions) the document is specifically stating a priority for the bug/issue filed. Is s/priority/severity needed here?

We should be able to use the term priority without having a label for it, to avoid any confusion maybe use urgency?

Anyhow, I think first we need to agree a basic terminology, and be consistent with it, because right now this text seems to be using its own terms with different meanings.

Agreed. Terms first then consistent usage with rest of document

Anyhow, I think first we need to agree a basic terminology, and be consistent with it, because right now this text seems to be using its own terms with different meanings.

what own terms with what different meanings, can you please elaborate? This text is trying to solve a problem we have right now. Severity of a bug should not be set based on who uses the feature and how popular a feature is, it needs to apply to the  context of where the bug. This is the only way we will have a general view of what systems and platforms need attention and have problems. If we set severity based on usage and poplarity, then we end up with an unbalanced picture where most bugs are marked as minor (the same way we have those marked with low priority right now).
Setting severity of a bug will also become a function of who sets the label and how much they care about a certain subsystem.

what own terms with what different meanings, can you please elaborate?

The difference of meaning would seem to be in statements like:
"Severity shall be used to classify bugs based on impact to users and community in general."
"Severity: The extent to which an issue or defect can affect the software and defines the
impact that a given defect has on the system."  (i.e. overall severity to the project)
"Severity shall be set based on the context of the bug and not in relation to the
overall impact on the codebase."

This text is trying to solve a problem we have right now. Severity of a bug should not be set based on who uses the feature and how popular a feature is, it needs to apply to the context of where the bug. This is the only way we will have a general view of what systems and platforms need attention and have problems.

Should we, then, try to be more explicit with what we mean and call it "impact on the feature" instead of "severity". (or whatever other wording you'd prefer)

If we set severity based on usage and popularity, then we end up with an unbalanced picture where most bugs are marked as minor

We should also reflect with some label during triagging what is the overall priority of the bug for the project as it is very relevant. We could keep using "priority" for those.
Say a "minor" bug that affects all platforms and apps even if not critically, may warrant more attention than, say, a crash that only triggers in some not-common platform when an obscure combination of features is used.
I'd state in the documentation something conceptually like:
"Each bug has an overall project priority, which we quantize as high,medium or low. This overall project priority should be estimated as the bug impact on the feature weighted by the importance of the affected feature(s) and by the  importance of the affected platform(s)."
"This bug overall project priority is estimated during bug triaging, and guides the overall focus and priority the project will have to fix the bug, as well as its impact on the release criteria"

@nashif ping


Kubernetes-Workers charm install hangs On HP dl580 with netxen firmware hang detected. Reboot completes installation

Trying to juju deploy CDK bundle to a maas cluster. 5 Dell servers and one HP dl580G7 with an installed Nvidia GTX-760 GPU. The HP machine has a GPU tag to direct one K8s worker be deployed there. The HP box will hang once the worker charm starts deploying docker. Juju status shows Installing docker.io from universe when the system hangs. The console shows:
Net: enp4s0f0 Firmware hang detected
.
.
.
netxen_nic enp4s0f0 device initialization failed
.
.
error repeats for each of the 4 ports.
The device is an HP NX3031 4 port 1g ethernet adapter. Problem occurs with or without GPU installed.
If I swap tags with other machines I can successfully deploy the K8s-master, load-balancer, and easy-rsa on the hp node with no issues.
I tried deploying with flannel and canal, with no difference. I then tried deploying the worker charm by itself to the same node with the same result, and finally I tried deploying the docker charm by itself with the same result. Installing Docker for some reason interferes with the NIC.
Ran cdk-field-agent, but hung when collecting kubernetes-worker, since the node was down, so I power cycled the node, field agent completed, and the worker charm continued on with the installation. I attached to agent dumps, one immediately after the reboot, and the second after installation completion.
results-2018-02-19-08-56-54.tar.gz
results-2018-02-19-08-28-56.tar.gz
uname -a
Linux gpu-server 4.13.0-32-generic #35~16.04.1-Ubuntu SMP Thu Jan 25 10:13:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
ethtool -i enp4s0f0
driver: netxen_nic
version: 4.0.82
firmware-version: 4.0.596
expansion-rom-version:
bus-info: 0000:04:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no
dmesg |grep netxen
[ 3.284815] netxen_nic 0000:04:00.0: 2MB memory map
[ 3.537593] netxen_nic 0000:04:00.0: Gen2 strapping detected
[ 3.537682] netxen_nic 0000:04:00.0: using 64-bit dma mask
[ 3.828914] netxen_nic: NX3031 Gigabit Ethernet Board S/N \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff Chip rev 0x42
[ 3.828918] netxen_nic 0000:04:00.0: Driver v4.0.82, firmware v4.0.596 [legacy]
[ 3.829102] netxen_nic 0000:04:00.0: using msi-x interrupts
[ 3.829105] netxen_nic 0000:04:00.0: non ULA adapter
[ 3.829372] netxen_nic 0000:04:00.0: eth0: GbE port initialized
[ 3.850279] netxen_nic 0000:04:00.1: 2MB memory map
[ 3.850489] netxen_nic 0000:04:00.1: using 64-bit dma mask
[ 4.080327] netxen_nic 0000:04:00.1: Driver v4.0.82, firmware v4.0.596 [legacy]
[ 4.080588] netxen_nic 0000:04:00.1: using msi-x interrupts
[ 4.080874] netxen_nic 0000:04:00.1: eth1: GbE port initialized
[ 4.132499] netxen_nic 0000:04:00.2: 2MB memory map
[ 4.132707] netxen_nic 0000:04:00.2: using 64-bit dma mask
[ 4.188596] netxen_nic 0000:04:00.2: Driver v4.0.82, firmware v4.0.596 [legacy]
[ 4.192717] netxen_nic 0000:04:00.2: using msi-x interrupts
[ 4.196837] netxen_nic 0000:04:00.2: eth2: GbE port initialized
[ 4.317290] netxen_nic 0000:04:00.3: 2MB memory map
[ 4.321319] netxen_nic 0000:04:00.3: using 64-bit dma mask
[ 4.388142] netxen_nic 0000:04:00.3: Driver v4.0.82, firmware v4.0.596 [legacy]
[ 4.392254] netxen_nic 0000:04:00.3: using msi-x interrupts
[ 4.396445] netxen_nic 0000:04:00.3: eth3: GbE port initialized
[ 4.403938] netxen_nic 0000:04:00.2 enp4s0f2: renamed from eth2
[ 4.524474] netxen_nic 0000:04:00.0 enp4s0f0: renamed from eth0
[ 4.564541] netxen_nic 0000:04:00.1 enp4s0f1: renamed from eth1
[ 4.600619] netxen_nic 0000:04:00.3 enp4s0f3: renamed from eth3
[ 19.290490] netxen_nic: enp4s0f0 NIC Link is up
[ 21.606695] netxen_nic: enp4s0f1 NIC Link is up
Last thing in syslog before nics crash:
Feb 17 19:08:57 gpu-server systemd[1]: Started ACPI event daemon.
Feb 17 19:08:57 gpu-server systemd[1]: Starting Docker Socket for the API.
Feb 17 19:08:57 gpu-server systemd[1]: Listening on Docker Socket for the API.
Feb 17 19:08:57 gpu-server systemd[1]: Starting Docker Application Container Engine...
Feb 17 19:08:58 gpu-server dockerd[18889]: time="2018-02-17T19:08:58.032297862Z" level=info msg="libcontainerd: new containerd process, pid: 18913"
Feb 17 19:08:59 gpu-server kernel: [ 327.615084] audit: type=1400 audit(1518894539.111:43): apparmor="STATUS" operation="profile_load" profile="unconfined" name="docker-default" pid=18928 comm="apparmor_parser"
Feb 17 19:08:59 gpu-server kernel: [ 327.662287] aufs 4.13-20170911
Feb 17 19:08:59 gpu-server dockerd[18889]: time="2018-02-17T19:08:59.358149475Z" level=info msg="Graph migration to content-addressability took 0.00 seconds"
Feb 17 19:08:59 gpu-server dockerd[18889]: time="2018-02-17T19:08:59.358893722Z" level=warning msg="Your kernel does not support swap memory limit"
Feb 17 19:08:59 gpu-server dockerd[18889]: time="2018-02-17T19:08:59.359058327Z" level=warning msg="Your kernel does not support cgroup rt period"
Feb 17 19:08:59 gpu-server dockerd[18889]: time="2018-02-17T19:08:59.359106384Z" level=warning msg="Your kernel does not support cgroup rt runtime"
Feb 17 19:08:59 gpu-server dockerd[18889]: time="2018-02-17T19:08:59.360798923Z" level=info msg="Loading containers: start."
Feb 17 19:08:59 gpu-server kernel: [ 327.889472] Bridge firewalling registered
Feb 17 19:08:59 gpu-server kernel: [ 327.924904] nf_conntrack version 0.5.0 (65536 buckets, 262144 max)
Feb 17 19:08:59 gpu-server dockerd[18889]: time="2018-02-17T19:08:59.456778799Z" level=info msg="Firewalld running: false"

Also reported here: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1750176

Update,
I powered down the cluster and when I powered the nodes up, the HP server in question hung with the same error. Had to power cycle the node again, and then came up successfully.