AKS cluster with managed identities

We like the use of managed identities over the creation of a service principal for an AKS cluster. https://docs.microsoft.com/en-us/azure/aks/use-managed-identity
However from this document it is not clear which managed identity you need to give the permissions. Can the document be updated. Thanks in advance.

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

ID: fa9616f3-f92d-fc28-dd35-ce9b559d5130
Version Independent ID: fb0ecd74-ea0d-1fb7-cace-536e587fef7c
Content: How to update Azure Monitor for containers for metrics - Azure Monitor
Content Source: articles/azure-monitor/insights/container-insights-update-metrics.md
Service: azure-monitor
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@BartVanBerkel, thank you for reaching out. We are looking into this and would get back to you soon on this thread.

I just contacted engineering directly regarding the question and asked they respond to this issue.

You need to assign MonitoringMetricsPublisher role to the user assigned MSI for the cluster scope created in the MC_ resourcegroup. The MSI will have the name omsagent in it.
But you do not need to do this manually unless somebody else created the cluster with MSI and did not have administrator access to the subscription in which this cluster is created.
Onboarding to monitoring via cli takes care of adding the necessary permissions.

Will clarify this in the article as part of this sprint (created work item).  #please-close. If this doesn't appropriately address the question, then please re-open it.


Added kabyle layout

Hi,
I added Kabyle layout for Futo keyboard project based on my work on Heliboard.
Regards,

Can you add kab to mapping.yaml?

Can you add kab to mapping.yaml?

@abb128 Added kab to mapping. I hope it is okay.

Wouldn't it be better to add all letters instead of hiding them behind long presses?
It also makes typing URLs or any ASCII data easier, without having to switch back to an English layout.

Wouldn't it be better to add all letters instead of hiding them behind long presses?  It also makes typing URLs or any ASCII data easier, without having to switch back to an English layout.

Thank you very much for your suggestion. Yes it could be a good variant.
I'm testing your suggestion but I have to ask our community.


Update cookies banner behaviour without Javascript

Changes
The banner was supposed to not show without Javascript. It did not
display in the component guide, but showed up on the frontend. However
we want the banner to still display, as there are other cookies that
may still be set by servers, and not Javascript.
We also don't show the "Hide this message" link without Javascript.
Screenshots
All are running without Javascript:
Before

After

 "Hide this message" should not display without Javascript.


Update docfx.json

@gewarren  see https://docs.microsoft.com/en-us/aspnet/mvc/overview/getting-started/introduction/adding-a-controller and other docs, no suggestions.


convert getFunctions to use fetchLogs

  mud:block-events-stream getting logs for blocks 1236112-1336111 (100000 blocks, 100000 max) +1ms
  mud:store getting store logs for world__ResourceAccess at 0x03be4bb8fb81928ecdcafafd387419d8e812c09a +1ms

 Error while attempting deploy

InvalidParamsRpcError: Invalid parameters were provided to the RPC method.
Double check you have provided the correct parameters.

URL: https://rpc.rhodolitechain.com
Request body: {"method":"eth_getLogs","params":[{"address":"0x03be4bb8fb81928ecdcafafd387419d8e812c09a","topics":["0x8dbb3a9672eebfd3773e72dd9c102393436816d832c7ba9e1e1ac8fcadcac7a9","0x7462776f726c6400000000000000000046756e6374696f6e53656c6563746f72"],"fromBlock":"0x12dc90","toBlock":"0x14c5b8"}]}

Details: query exceeds max block range 100000

according to the logs, we should be asking for block 1236112-1336111 (100,000 blocks) but if I convert the block range send to RPC, I see 1236112-1361336 (125,225 blocks)

ahh it's because deploy uses getFunctions which has not been converted to use fetchLogs


On Mac api_backend_dev startup throws DS_Store errors

What did you do?
Ran startup: ./scripts/api_backend_dev.sh --override
What did you expect to see?
Backend should start without errors
Similar PR from before: https://github.com/perses/perses/pull/1285
What did you see instead? Under which circumstances?
Errors:
Plugin .DS_Store will not be loaded: it is not a folder
WARN[0065] Plugin .DS_Store will not be loaded: it is not a folder

System information
Mac (M1 - Ventura 13.5.1)
Perses version
0.41.1
Perses configuration file
Default config

Logs
No response

@Nexucis @AntoineThebaud Do I need to do anything different to get the BE working after the security changes, if so, is that documented anywhere?

@sjcobb since we add the provisioning feature: https://github.com/perses/perses/pull/1486/files#diff-0a68894bb3ceab5affe56cf6b15947ecb6a022e999d9a711ac15d75d68b8b1b9, the creation of the local database doesn't use a script.
It is done when Perses is running.
So hopefully just running ./scripts/api_backend_dev.sh  should work. (the flag --override doesn't exist anymore)

and by looking at the logs you shared, it looks like it is just a warning and not an error. So hopefully the backend should have started right ?

and by looking at the logs you shared, it looks like it is just a warning and not an error. So hopefully the backend should have started right ?

Nah I couldn’t get the backend to start but yeahh, must not be related to that warning, I’ll try again without override and might just wipe my environment and start over—I think I have some old leftover gitignored code that might be causing issues


Send amount precision not limited based on chosen denomination

Issue description
When entering an amount to send, there is a limit to the precision of the number. Unfortunately it is possible to input numbers with a higher precision than the theoretical limit of 1 iota. See screenshot below for example. There is only 0.999999 MI, 0.999999999999999 MI shoud not be possible. Subsequently, you don't receive an error when pressing the send button.
Wallet version
Version 0.3.1
System specification
Windows 10
Is it a repeatable issue?
Y
Steps To reproduce the issue
Explain how the maintainer can reproduce the issue.

Create a transaction
Input the amount 0.999999999999999 MI
Press send

Expected behaviour
Input field precision should be limited to denomination. Conversion should occur when switching denominations from a field with a lower precision to a field with a higher precision. Field should be made empty or error should occur when moving from a denomination with more precision to a denomination with less precision.
Trying to send an impossible amount should result in an error.
Actual behaviour
Actual precision limit in field is unclear
Errors

duplicates/similar to #632

This should be fixed in the next version, please re-open if you still have issues


Mwpw 135027 aa tracking on accordion

Resolves: MWPW-135027
Before: https://stage--dc--adobecom.hlx.live/acrobat/online/pdf-to-ppt
After: https://mwpw-135027-aa-tracking-on-accordion--dc--adobecom.hlx.live/acrobat/online/pdf-to-ppt

Codecov Report

Merging #350 (06ec328) into stage (f889ef2) will decrease coverage by 0.46%.
The diff coverage is 75.43%.

@@            Coverage Diff             @@
##            stage     #350      +/-   ##
==========================================
- Coverage   94.69%   94.23%   -0.46%
==========================================
  Files          23       24       +1
  Lines        2581     2638      +57
==========================================
+ Hits         2444     2486      +42
- Misses        137      152      +15

Files Changed
Coverage Δ

acrobat/blocks/eventwrapper/eventwrapper.js
32.00% <44.00%> (+1.71%)
:arrow_up:

acrobat/scripts/alloy/accordion.js
100.00% <100.00%> (ø)

acrobat/scripts/contentSecurityPolicy/dev.js
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@zagi25 Please review the test fix and see if it matches your implementation.

@TsayAdobe Thanks a lot for the help !


Add Czech translation

I tested it by building Spot with gnome-builder, it seems to work just fine.

Thank you for your contribution! :)

@ondras12345 Just out of curiosity - why is there a 3rd msgstr for "Songs selected"?

Because Czech needs 3 plurals
https://github.com/xou816/spot/blob/8362d56234f84369fb4e2646a8dec3e00b0ee10d/po/cs.po#L18
https://github.com/xou816/spot/blob/8362d56234f84369fb4e2646a8dec3e00b0ee10d/po/cs.po#L98-L102


Added initial baseline Beacon Data Dictionary

Based on Beacon v2 model schema perceive as-is on
entities, their relationship and cardinality. There
will be discussion around some details-ness, upstream
Phenopackets alignment, etc. See:
https://github.com/ga4gh-beacon/beacon-v2/issues/12
https://github.com/ga4gh-beacon/beacon-v2-Models/issues/68
As-is Beacon model might be a bit normalised on realising
at Gen3 side. There are possibility we could flatten out
few leaf nodes into respective base entity. But this will
happen in "Beacon Super" model. Baseline Beacon retain for
upstream feature sync.
To tinker native Ontology data type support in Gen3
Still TODO Genomic Variation

/fyi @ohofmann @reisingerf @andrewpatto @mshadbolt

Demo data dictionary visualiser is here -- https://umccr.github.io/umccr-dictionary/


kind of typescript union members should be static

I'd like to branch on variant kind like below, but kind is an instance variable, not static, so the following doesn't work
switch (myEnumValue.kind) {
  case MyEnum.Swap.kind:
    ...
  case MyEnum.LP.kind:
    ...
}

Proposal
export class Swap {
  static readonly discriminator = 0        // <--- make these 2 fields static
  static readonly kind = "Swap"
  readonly value: SwapValue

  constructor(value: SwapFields) {
    this.value = [new types.SwapInfo({ ...value[0] })]
  }

  toJSON(): SwapJSON {
    return {
      kind: "Swap",
      value: [this.value[0].toJSON()],
    }
  }

  toEncodable() {
    return {
      Swap: {
        _0: types.SwapInfo.toEncodable(this.value[0]),
      },
    }
  }
}

If there's another more idiomatic way of doing this please let me know instead

Oh yea this should definitely be static. Must have slipped my mind when I was implementing. Good suggestion!
I was probably thinking something along the lines of:
if (myEnumValue instanceOf MyEnum.Swap) {
  ...
} else (myEnumValue instanceOf MyEnum.LP.kind) {
  ...
}

but switch is way more elegant.

Nice, thanks!
Left a little comment on #38


Assets not working

Hi, I was checking out this project on github pages, and the assets aren't displaying :(

Hi, thank you for your feedback! Assets is working already!


Spreadsheet cells coloring

We need to support cell-based coloring.
Currently we can set colors per-row only.
This will consume a bit more memory for results storage but it worth it.

verified


agent: Agent does not correctly add filled requests to the metrics

The agent will increment filled requests to the metrics whenever he processes a RequestFilled event. If the RequestFilled event cannot be processed it will increment it again on the next try. This will tamper the metrics.
We need to properly handle it.

We also have #718.

which is probably unrelated to this issue IMO


Support for finding inputs by value, i.e. Capybara find_field query options

Expected Behavior
If I have an element that represents an input element with a value, I should be able to wait for that element to be visible with a particular value like Capybara's find_field(id: 'someid', with: 'somefieldvalue')
E.g.
class MyPage < SitePrism::Page
element :my_input, '#input-id'
end
page = MyPage.new
page.load
page.wait_for_my_input_visible(with: 'somefieldvalue')
Actual Behavior
page.wait_for_my_input_visible(text: 'somefieldvalue') is the closest I can get and it does not work.

You would create the original element with whatever capybara finders you required. Then you would call page.wait_for_my_input_visible
class MyPage < SitePrism::Page
  element :my_input, '#input-id[value="something"]', other_locator: 'thing', text: 'yepoaw'
end

Thanks Luke. It would be very useful to be able to do this with an element that doesn't have the value specified so the number of elements I need to declare in the page doesn't increase with the number of values they might hold and supports values that are dynamic without having to parameterize the Page object itself.

You can create an element using an iVar, and then use an attr_reader/writer to set those values.
NB: Alter initialize at your peril. Do this as a standalone reader/writer, NOT on page initialization.
i.e.
class Page
  attr_writer :my_ivar

  element :dynamic_element, @my_ivar

page = Page.new
page.my_ivar = ".class-one"
page.my_ivar # ".class-one"
page.dynamic_element # Capybara::Node::Element


[Bug]: Chroma 0.5.5 not working on intel CPU macbook

What happened?
 collection.add(
                        documents=[article["content"] for article in batch],
                        metadatas=[article["metadata"] for article in batch],
                        ids=[f"{scraper.name}_{j}" for j in range(i, i + len(batch))]
                    )

Versions
0.5.5
Relevant log output
Error adding batch to collection: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running CoreML_368072560150139051_1 node. Name:'CoreMLExecutionProvider_CoreML_368072560150139051_1_1' Status Message: Error executing model: Unable to compute the prediction using a neural network model. It can be an invalid input data or broken/unsupported model (error code: -1).
Continuing with next batch...
2024-08-27 17:00:34.030829 [E:onnxruntime:, sequential_executor.cc:516 ExecuteKernel] Non-zero status code returned while running CoreML_368072560150139051_1 node. Name:'CoreMLExecutionProvider_CoreML_368072560150139051_1_1' Status Message: Error executing model: Unable to compute the prediction using a neural network model. It can be an invalid input data or broken/unsupported model (error code: -1).
Error adding batch to collection: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running CoreML_368072560150139051_1 node. Name:'CoreMLExecutionProvider_CoreML_368072560150139051_1_1' Status Message: Error executing model: Unable to compute the prediction using a neural network model. It can be an invalid input data or broken/unsupported model (error code: -1).
Continuing with next batch...
2024-08-27 17:00:34.066881 [E:onnxruntime:, sequential_executor.cc:516 ExecuteKernel] Non-zero status code returned while running CoreML_368072560150139051_1 node. Name:'CoreMLExecutionProvider_CoreML_368072560150139051_1_1' Status Message: Error executing model: Unable to compute the prediction using a neural network model. It can be an invalid input data or broken/unsupported model (error code: -1).
Error adding batch to collection: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running CoreML_368072560150139051_1 node. Name:'CoreMLExecutionProvider_CoreML_368072560150139051_1_1' Status Message: Error executing model: Unable to compute the prediction using a neural network model. It can be an invalid input data or broken/unsupported model (error code: -1).
Continuing with next batch...
Error adding batch to collection: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running CoreML_368072560150139051_1 node. Name:'CoreMLExecutionProvider_CoreML_368072560150139051_1_1' Status Message: Error executing model: Unable to compute the prediction using a neural network model. It can be an invalid input data or broken/unsupported model (error code: -1).
Continuing with next batch...

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

@allnash, can you share your MacOS and CoreML versions:
To get macOS from CLI:
sw_vers

For CoreML:
plutil -p /System/Library/Frameworks/CoreML.framework/Resources/Info.plist

@allnash, can you try this and let me know if it works for you:
from chromadb.utils.embedding_functions.onnx_mini_lm_l6_v2 import ONNXMiniLM_L6_V2
ef = ONNXMiniLM_L6_V2(preferred_providers=["CPUExecutionProvider"])
# rest of your code
collection = client.get_or_create_collection("<collection_name", embedding_function=ef)
collection.add(
    documents=[article["content"] for article in batch],
    metadatas=[article["metadata"] for article in batch],
    ids=[f"{scraper.name}_{j}" for j in range(i, i + len(batch))]
)

I suspect I have encountered the same issue. After using ONNXMiniLM_L6_V2(preferred_providers=["CPUExecutionProvider"]) it worked.
My result of sw_vers
ProductName:            macOS
ProductVersion:         13.6.9
BuildVersion:           22G830

and result of CoreML:
{
  "BuildMachineOSBuild" => "22A380017"
  "CFBundleDevelopmentRegion" => "en"
  "CFBundleExecutable" => "CoreML"
  "CFBundleIdentifier" => "com.apple.CoreML"
  "CFBundleInfoDictionaryVersion" => "6.0"
  "CFBundleName" => "CoreML"
  "CFBundlePackageType" => "FMWK"
  "CFBundleShortVersionString" => "1.0"
  "CFBundleSupportedPlatforms" => [
    0 => "MacOSX"
  ]
  "CFBundleVersion" => "14<IP_ADDRESS>.1"
  "DTCompiler" => "com.apple.compilers.llvm.clang.1_0"
  "DTPlatformBuild" => "22G417"
  "DTPlatformName" => "macosx"
  "DTPlatformVersion" => "13.6"
  "DTSDKBuild" => "22G417"
  "DTSDKName" => "macosx13.6.internal"
  "DTXcode" => "1430"
  "DTXcodeBuild" => "14E6097d"
  "LSMinimumSystemVersion" => "13.6"
}

@allnash, did using CPUExecutionProvider provider solve your issue too?

closing this, but @allnash would love to know the resolution!

Sorry for being MIA, yes it did solve it. Just tried this am

@jeffchuber - is the fix going to be delivered to ChromaDB?  I  am also using Mac with Intel chip.   Thanks!


Use latest release + Ubuntu 20.04

Note: The existing script attempts (and fails) to also install the device update client which isn't published for 20.04. I left it in b/c its harmless and so we don't have to remember to add it back in someday in the future.

Will do.


Remove conflicting private modifier [#775]

Fixes #775

@hotchemi any chance we can get this merged in and kick out a new release? Looks like this is affecting quite a few people here

Can we get this fix merged?

Can you merge that content?


Change of run path at end of README

At the end of the instructions, the run path needs to be changed accordingly or user will get a FileNotFoundException. There is no ../examples directory.

@SaltedCashew, thank for the contribution.  Can you please squash this change down into one commit and update the commit summary to be more specific which README.md is being updated and why in the body area?  Please see the CONTRIBUTING.md guideline with respect to commit messages if you have any questions.

@ericvw Thanks for the response. Changes merged to one commit with elaborated commit summary. New pull request submitted (#145).

@SaltedCashew, for future reference, there is no need to create a new PR.  Just make your changes and do a force push to the branch that you used to for this one.


[BUG]  Accessing KeyVault with ManagedIdentityCredential (using DefaultAzureCredential) for local development taking several minutes

Library name and version
Azure Identity 1.11.2
Describe the bug
When launching my ASP.NET API locally I'm accessing a KeyVault to fetch some configuration parameters. This is done using a plain (no options) DefaultAzureCredential instance. This has always been time consuming (around 40 sec to get the API up and running), but last week i started getting timeout errors on the request to the KeyVault. I am suspecting that the problem is related to ManagedIdentityCredentials being extremely slow.
Spinning up the API (with some workarounds to prevent timeouts) takes about 2 minutes and 50 seconds now. Additionally some other processes running in the background of the API relying on managed identity for authorization against other APIs have problems with requests timing out.
This seems like a problem that only affects a few of the developers, as most of the developers can still access the KeyVault in under a minute, it seems only me and a handful others are affected by this issue. Issues started last Thursday 2.5.2024.
Interestingly, sending the request through a proxy (Fiddler) makes the request go back to taking about 40 seconds again (but leads to different complications down the line that i consider unrelated to this issue)
Expected behavior
Accessing a keyvault using DefaultAzureCredential (ManagedIdentityCredentials) takes a reasonable amount of time and does not timeout without workarounds.
Actual behavior
Accessing a keyvault using DefaultAzureCredential takes up to 3 minutes and times out unless work arounds are present.
Reproduction Steps
Instantiating a DefaultAzureCredential to fetch API configuration from a KeyVault.
TokenCredential credential =  new DefaultAzureCredential() config.AddAzureAppConfiguration(options => {     options.Connect(new Uri(endpoint), credential)         .ConfigureKeyVault(kv =>         {             kv.SetCredential(new DefaultAzureCredential());         }); });
Environment
No response

Hi @erlingto - This should be fixed in https://www.nuget.org/packages/Azure.Identity/1.11.3

related #43825


feat(tier4_autoware_utils): add covariance util

Description
Add msg_covariange for tier4_autoware_util to hundle index of covariance.
After this PR is merged, I would change enum definition in each package like radar_fusion and radar_tracks_msgs_converter to enum of autoware_util.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[x] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@kenji-miyake
I add the link to related code :pray:


Inefficient Parquet Conversion with columnify compared to pyarrow

I am working on converting JSONL log files to Parquet format to improve log search capabilities.
To achieve this, I've been exploring tools compatible with Fluentd, and I came across the s3-plugin, which uses the columnify tool for conversion.
In my quest to find the most efficient conversion method, I conducted tests using two different approaches:

I created a custom Python script utilizing the pandas and pyarrow libraries for JSONL to Parquet conversion.
I used the columnify tool for the same purpose.

I used a JSONL file containing approximately 27,000 log lines, all structured similarly to the following example:
{ "stdouttype": "stdout", "letter": "F", "level": "info", "f_t": "2023-09-21T16:35:46.608Z", "ist_timestamp": "21 Sept 2023, 22:05:46 GMT+5:30", "f_s": "service-name", "f_l": "module_name", "apiName": "<name_of_api>", "workflow": "some-workflow-qwewqe-0", "step": "somestepid0", "sender": "234567854321345670", "traceId": "23456785432134567_wertjlwqkjrtljjjwelfe0", "sid": "", "request": "<stringified-request-body>", "response": "<stringified-request-body>"}

For both methods, I generated GZIP-compressed JSON and Parquet files. The image below illustrates the resulting Parquet files:
in the below image you can see 3 parquet files that are generated

main_file.log.gz.parquet (101KB) is generated by python script (pandas+pyarrow)
main_file1.columnify.parquet (8.7MB)  is generated by columnify

As shown, the Parquet file generated by columnify is significantly larger than the one created by the Python script.
Upon further investigation, I discovered that the default row_group_size and page_size settings differ between pyarrow (used in the Python script) and columnify (utilizing parquet-go):
In Pyarrow:
Default row_group_size: 1MB (maximum of 64MB)
Default page_size: 1MB
In columnify (parquet-go):
Default row_group_size: 128MB
Default page_size: 8KB
So, I adjusted the page_size for columnify to 1MB (-parquetPageSize 1048576), which reduced the file size from 8.7MB to 438KB. However, modifying the row_group_size option did not result in further size reduction.
I'm seeking help in understanding why the columnify-generated Parquet file remains larger than the one generated by the Python script using pyarrow.  Is this due to limitations in the parquet-go library ? or am I missing something in my configuration?
kindly give some insights, advice, or any recommendations on optimizing the Parquet conversion process with columnify.

LINKS
pyarrow doc ref. for page_size and row_group_size
pyarrow default row group size value
pyarrow default page_size
parquet-go row_group_size and page_size

In general, the optimal settings will vary depending on the workload. The default settings for converting to Parquet using fluent-plugin-s3 are not optimized, so you will need to experiment to find the best settings for your workload.
Here are a few quick tips:

Increase the chunk_limit_size setting in Fluentd. This will reduce the number of times that data needs to be buffered and flushed to disk.
Experiment with different values for the parquet_row_group_size setting. This setting controls the size of the chunks that are written to Parquet files.
Try different compression codecs for Parquet files. The default compression codec is gzip, but other codecs may be more efficient for your workload.

It is important to note that the Python script (pandas + pyarrow) is not a streaming process. This means that it will not be affected by the same performance bottlenecks as Fluentd + fluent-plugin-s3. Therefore, it is not a fair comparison.

Thanks for the reply.

All the tests I've done were in my local system, using the Columnify cmd line not directly in the Fluentd pipeline.
I tried with different parquet_row_group_size values but that didn't give much difference. but changing `page_size showed some better results (I've already mentioned it)
I did tests on 1GB data files as well. So not just the 33MB file I've mentioned above.

It is important to note that the Python script (pandas + pyarrow) is not a streaming process. This means that it will not be affected by the same performance bottlenecks as Fluentd + fluent-plugin-s3. Therefore, it is not a fair comparison

Could you please describe it more? I could not understand what you mean it's "unfair" comparison.

Columnify command vs. python script (pandas + pyarrow) is a fair comparison if they run on a local machine without Fluentd pipeline. I misunderstood.
I am not familiar with Python (pandas, pyarrow), but I assume that the default settings are optimized for maximum compression.
On the other hand, Columnify uses the default settings of the library it uses (parquet-go), so it is not specifically tuned. Therefore, users need to tune it themselves.
If the Parquet file generated by Columnify is larger than the Parquet file generated by Python (pandas, pyarrow) even when using the same compression codec, page size, and row group size, then it is a problem with parquet-go.


upgraded log4j version

Description
Add a description of your PR here.
A good description should include pointers to an issue or design document, etc.
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes
If you have tagged this as either backward-incompat or release-notes,
you MUST add text here that you would like to see appear in release notes of the
next release.
If you have a series of commits adding or enabling a feature, then
add this section only in final commit that marks the feature completed.
Refer to earlier release notes to see examples of text
Documentation
If you have introduced a new feature or configuration, please add it to the documentation as well.
See https://docs.pinot.apache.org/developers/developers-and-contributors/update-document

Fix in Pinot - https://github.com/apache/pinot/commit/af2858aff26e169f348605e61d0c5e21ddd73dd9

@suddendust Can we rebase against upstream?


Bnet message character size increase

Is your feature request related to a problem? Please describe.
Too many message send request API hits in a short period can get you throttled.
The community API and Battle.net whispers let you send messages that are as long as 4000 characters. WIM currently only supports 255.
Describe the solution you'd like
Increase the send message character limit for battlenet messages and battlenet community messages from the current cap of 255 to something larger, 400-800 would be great. May need testing to determine what the maximum range would be for it to still look and work acceptably but 400 should be no issue.
Describe alternatives you've considered
N/A
Disabling WIM isn't ideal as it still has many features I want such as unified character history.
Additional context
Statement: The community API and Battle.net whispers let you send messages that are as long as 4000 characters.
This is in contrast to the standard SendChatMessage which has always been limited to 255 characters. As an RPer having the ability to send longer messages would be massively beneficial even if only among bnet friends as at this point WoW's low chat limit size (compared to newer games for example FF14) is problematic for more in depth discussions as well as creative writing. I know WIM is very popular among the RP population for its history features among others.
This would also benefit many other non-RPers and it looks nicer to have less breaks in messages.
My suggestion is to check if the messages being sent are bnet whispers (or community messages but bnet whispers would get more use by far) and if so use separate logic to allow an increased size. This would require changing a number of checks in several modules (most of which are obviously connected and which I found just by searching "255" in the lua).
As to the size, there is the consideration that 4000 characters is likely far too big a value, it would make dealing with messages unmanageable as far as displaying or even scrolling through them and likely require extensive changes to WIM's scroll logic. It would also be overwhelming to the user. Instead I propose a raised but still reasonable character limit of 400-800 characters or else allowing the player to configure the limit themselves with a slider control (more work though...)
Looking at an addon in the same space called "emotesplitter" the author there chose 400 characters and receiving messages from those using that from others displays 400 character messages just fine in a WIM window (even I think in the default size) and presents no scroll issues.
As an example of how this benefits, let's say I send a message of 3100 characters in length. Not uncommon for some RP's I've had. With the present WIM limits that message would be broken up into 13 different small chunk messages. With my proposed 400 character size it would be only 8 messages. This /should/ help prevent throttling by hitting the server with fewer message send API requests at once when sending large messages (in particular I've noticed a tendency for the server at times to discard messages beyond 10).
It also simply looks nicer for longer writing/messages and also may mean many cases where instead of a say 300-400 character message being split into two, just using one message to do the same job.

Thanks for the explanation I will take a look

Try out the alpha and see if that works for you.


Change PushTxnQueue to TxnWaitQueue in 2.0 architecture docs

Fixes #2828

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/d3f63153b8fc7b0d6aea9ad04924160cdb6771d6/


A BIG problem with --opt.character and --data_filtering_off

I have trained a model on my custom dataset. My dataset contains about 88k images of words and labels. And once I saw that the model was training only on 40k images. The problem was my alphabet contain the special symbols, e.g. ][?!*^. As I saw later, part of the data was skipped, when data was loading. The reason is how works --data_filtering_off. It uses re.search function with pattern f[^{opt.character}]. And when you use the alphabet with special symbols for a regular expression, your data can be skipped. You also can't add '\' for any special symbols because then you have more num_classes than it be.

so comment out this line : "label = re.sub(out_of_char, '', label)" will fix it?

i my case, training without  --data_filtering_off and train, the model shows 60% ACC, training with  --data_filtering_off, the model shows 30% ACC ...

But I have improved my accuracy. But I have done not the same. I added '\' before every special symbol in opt.character, I didn't use --data_filtering_off flag. I don't guarantee that it's the correct way, because I could make a mistake with a specail symbol or there was incorrect behavior with num_class. But, I want to note, that before fixing the bug my model didn't predict correctly part of the alphabet. The predictions were bad even for another part of the alphabet. And accuracy was ~79%. After fixing the bug I had the accuracy ~82%, but the predictions were far better. Maybe, in your case, the model has accuracy less but has more correct predictions because the model knows more symbols than your penultimate model.

I have trained a model on my custom dataset. My dataset contains about 88k images of words and labels. And once I saw that the model was training only on 40k images. The problem was my alphabet contain the special symbols, e.g. ][?!*^. As I saw later, part of the data was skipped, when data was loading. The reason is how works --data_filtering_off. It uses re.search function with pattern f[^{opt.character}]. And when you use the alphabet with special symbols for a regular expression, your data can be skipped. You also can't add '' for any special symbols because then you have more num_classes than it be.

Authors mention that --data_filtering_off is for alphanumeric characters: check this link. And that's why your training skipped special characters

i my case, training without --data_filtering_off, the model shows 60% ACC, training with --data_filtering_off, the model shows 30% ACC ...

It's because, --data_filtering_off filters alphanumeric characters and ignore special characters


docs(Add/Remove hosts): fix wrong filepath to user-data.example

Thanks!

I'm on mobile but LGTM :)


Unable to install OKD on Azure - 4.6.0-0.okd-2021-02-14-205305

As the current version is having issues on Azure,
I've tried this one : 4.6.0-0.okd-2021-02-14-205305 that was confirmed to be working by others.
Getting a role assignment error [even though the SPN used for creation is an Owner] :

ERROR
ERROR Error: authorization.RoleAssignmentsClient#Get: Failure responding to request: StatusCode=404 -- Original Error: autorest/azure: Service returned an error. Status=404 Code="RoleAssignmentNotFound" Message="The role assignment '4bdaa316-cc68-f98f-978b-e4ba63eaebf1' is not found."
ERROR
ERROR   on ../../../tmp/openshift-install-470936866/main.tf line 161, in resource "azurerm_role_assignment" "main":
ERROR  161: resource "azurerm_role_assignment" "main" {
ERROR
ERROR
FATAL failed to fetch Cluster: failed to generate asset "Cluster": failed to create cluster: failed to apply Terraform: failed to complete the change <

This is reproducible.
-->
Version
4.6.0-0.okd-2021-02-14-205305 - Cloud Azure
How reproducible
100%
Log bundle
https://nadavstrg.blob.core.windows.net/logs/log-bundle-20210315174209.tar.gz

Please do not close this issue. Many are still experiencing it.

/lifecycle frozen


Impossible to drag n drop a transformer from a project to another

I haven't had this problem
Can you please give an example and provide any error messages shown in the JavaScript console?


segmentation fault, doesnt print driver information

Facing the following error. And I don't have Nvidia on my system. Could this run on CPU or on Intel® UHD Graphics 620 (Kabylake GT2)? Could you please guide me how to go about it. Thanks
root@swapnil-Lenovo-ideapad-530S-15IKB:/home/swapnil/dg/DeepMimic# python3 DeepMimic.py --arg_file args/run_humanoid3d_spinkick_args.txt
[swapnil-Lenovo-ideapad-530S-15IKB:11231] *** Process received signal ***
[swapnil-Lenovo-ideapad-530S-15IKB:11231] Signal: Segmentation fault (11)
[swapnil-Lenovo-ideapad-530S-15IKB:11231] Signal code: Address not mapped (1)
[swapnil-Lenovo-ideapad-530S-15IKB:11231] Failing at address: 0x10
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x3ef20)[0x7f84d1629f20]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [ 1] /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0(_ZN11GlobalError11PushToStackEv+0x59)[0x7f84a1fb52a9]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [ 2] /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0(_Z13pkgInitConfigR13Configuration+0xf92)[0x7f84a2039082]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [ 3] /usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so(+0x1a808)[0x7f84a22d6808]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [ 4] python3[0x5097cf]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [ 5] python3(_PyEval_EvalFrameDefault+0x449)[0x50b4a9]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [ 6] python3[0x507125]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [ 7] python3[0x5157d4]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [ 8] python3(PyCFunction_Call+0x13e)[0x56655e]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [ 9] python3(_PyEval_EvalFrameDefault+0x5682)[0x5106e2]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [10] python3[0x507125]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [11] python3[0x508fa0]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [12] python3[0x50999d]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [13] python3(_PyEval_EvalFrameDefault+0x449)[0x50b4a9]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [14] python3[0x508c69]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [15] python3[0x50999d]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [16] python3(_PyEval_EvalFrameDefault+0x449)[0x50b4a9]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [17] python3[0x508c69]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [18] python3[0x50999d]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [19] python3(_PyEval_EvalFrameDefault+0x449)[0x50b4a9]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [20] python3[0x508c69]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [21] python3[0x50999d]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [22] python3(_PyEval_EvalFrameDefault+0x449)[0x50b4a9]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [23] python3(_PyFunction_FastCallDict+0xf5)[0x508355]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [24] python3(_PyObject_FastCallDict+0x4f1)[0x5a4481]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [25] python3(_PyObject_CallMethodIdObjArgs+0xee)[0x5a54be]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [26] python3(PyImport_ImportModuleLevelObject+0x1ed)[0x4f622d]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [27] python3(_PyEval_EvalFrameDefault+0x22c6)[0x50d326]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [28] python3[0x507125]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] [29] python3[0x5157d4]
[swapnil-Lenovo-ideapad-530S-15IKB:11231] *** End of error message ***
Segmentation fault (core dumped)

I was getting a similar error (but I was getting address 0x25) on my Mac (High Sierra, 10.13.6, latest nVidia drivers (387.x), everything installed from brew). I finally loaded it up on a linux install (18.04, nVidia 390.x, everything built from source) and it worked. I wasn't getting segfaults without the drivers installed, I was getting Bullet library errors. Something wasn't linking properly like this issue: #82.
Not that this helps you, but it's interesting that you are also getting a seg fault error without nVidia drivers. I'm not smart enough to know what's happening, but maybe this info will help someone else. My best guess is that nVidia drivers bring something to the table.

Please let me know if you can use this code on Ubuntu 18.04 on CPU or on Intel® UHD Graphics 620 (Kabylake GT2)?

I found that I need Nvidia drivers for this. It needs GPU for simulation. The ideal solution would be if it can only run on the CPU completely. Please let me know if that can be possible.  Another possible way is to install Nvidea drivers on CPU and don't use Intel graphics but it's not an ideal solution because of not using intel graphics for everything.


Latency benchmarks

Hi! It would be interesting to see comparison of time to hash a short string (like in aHash README). Throughput is great, but since in many cases hashmap keys are short strings, time to hash 40 KB of data is less relevant then time time to hash some e.g. 16-byte strings. Plot of hashing time per key size would be really helpful IMO.

Hi @GoldsteinE!
This is exactly what is shown in the benchmarks https://github.com/ogxd/gxhash?tab=readme-ov-file#benchmarks.
What is displayed is throughput per input size. Throughput is just another way of viewing the performance. Throughput is in Gib/s, so if you want "latency". For instance, if we have a throughput of 8000 MiB/s for inputs of size 4 bytes, it means each 4 bytes hash takes 4 / 1014 / 1024 / 8000 s to compute or 4.8 nanoseconds.
I prefer talking in terms of throughput but if you prefer timings per hash you already have everything you need (without having to compute it from throughput):

The throughput_criterion bench shows both throughput and timings per hash (or iteration if you prefer) for each input size. This bench uses the hash function directly, which does not know in advance about the input size.
The hashshet bench shows the timings per hash for several string size but also some integer types. Integers size is known in advance so the Hash can use fewer steps a thus is a little performant than using the hash function directly in that situation.

Fyi there are some heavy changes ongoing https://github.com/ogxd/gxhash/issues/34 https://github.com/ogxd/gxhash/issues/44 so for now I recommend taking benchmark results with a grain of salt.

HashSet bench looks interesting, thanks! What I meant is “benchmarks on the small inputs” (as far as I understand, benchmarks in readme are on 40KB inputs, which is a pretty rare case for a HashMap).

as far as I understand, benchmarks in readme are on 40KB inputs

No, the input size is on the X-axis. It ranges from 4 bytes to 32768 bytes.

Oh, sorry then, I misread the plot. Thanks again!

Np! Here is the same bench but tweaked to output time per hash (and with a log scaling on the Y axis). It is maybe closer to what you expected in the first place. These are the results for my MacBook pro M1

Np! Here is the same bench but tweaked to output time per hash (and with a log scaling on the Y axis). It is maybe closer to what you expected in the first place. These are the results for my MacBook pro M1

How did you get results under 1ns? At my intel 1235u i get results not lower then 500ns. Maybe we have different code changes?
My cnahges is just
processor.on_result(len, throughput); -> processor.on_result(len, average_duration_s * 1_000_000_000.0);
and enabling log scale at result_processor, but I get completely different numerical results and slightly different shapes of the curves.


Use a Cookie object instead of SessionStorage

Change how the Authenticator and Strategy classes work to use a Cookie instead of SessionStorage.
This simplifies many things in the library, since strategies uses a plain cookie to store the intermediate state they may need (like OAuth state and PKCE values), then instead of Remix Auth handling how the user data is stored in the application session, that depends on the app.
Because of that the logout method was removed, all the sessionKey, etc. options were removed, the Strategy failure and success methods were removed and the successRedirect and failureRedirect methods were removed too.
The authenticate method will now return the user data returned by the strategy verify callback, or it will throw. Here it depends on the strategy as it may only throw errors or in case of OAuth2 based strategies it may need to throw a redirect.
This also brings from another important change, as Remix Auth itself only depends on the AppLoadContext and Cookie types from @remix-run/server-runtime, this will help simplify the upgrade to RRv7 and probably also support non-Remix or RR apps.

Hey @sergiodxa  - can we expect this to get merged? I am migrating to RR7 and remix-auth is one of the last hurdles. The peer dep on @remix-run/react is causing issues for me using pnpm

pnpm why react-router-dom gives me this:

and I am hitting runtime errors from things trying to import from react-router-dom


Bindings not correctly assigned in SQL exceptions

Laravel Version: 5.7.12 (but maybe in every versions)
PHP Version: 7.2.1
Database Driver & Version: MySQL 5.6.38

Description:
When an SQL exception is thrown, the bindings are not correctly assigned in the exception's message when one of the values contains a question mark ?.
Steps To Reproduce:
On a simple Laravel install, try to run the following in php artisan tinker :
App\User::create(['foo' => '?', 'email' => 'bar@example.com']);

You should have an Exception like this :
Illuminate/Database/QueryException with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'foo' in 'field list' (SQL: insert into `users` (`foo`, `email`, `updated_at`, `created_at`) values<EMAIL_ADDRESS>2019-04-17 12:51:12, 2019-04-17 12:51:12, ?))'

Here you can see that the value of email is in foo and that created_at is empty...

I've stumbled over this a while ago, but couldn't find a simple solution. Do you have an idea?
@driesvints This also affects the latest version.

Ok thanks for confirming it, I didn't really dug it so couldn't tell right now.
I'll try to take a look at it and maybe propose a PR...

I couldn't reproduce the error with laravel 5.7.28

@akiyamaSM You can also reproduce this by calling Str::replaceArray() directly:
dd(Str::replaceArray('?', ['foo?', 'bar'], '?, ?'));

// expected: foo?, bar
// actual:   foobar, ?

This "solves" it:
public static function replaceArray($search, array $replace, $subject)
{
    $placeholder = '##################$$example$$##################';

    foreach ($replace as $value) {
        $value = str_replace($search, $placeholder, $value);
        $subject = static::replaceFirst($search, $value, $subject);
    }

    return str_replace($placeholder, $search, $subject);
}

Essentially we check if the replacement text (i.e. foo?) contains our search string (i.e. ?), and if so substitutes it for some really long string that would be realistically never used in real life before we replace it in the main string.
Then we swap out any instances of holding text once everything else is done, giving us the intended string.
Seems to work. My main concern would be performance on a really large query or dataset.
Thoughts @staudenmeir before I submit it as a PR?

Results:
dd(Str::replaceArray('?', ['foo?', 'bar'], '?, ?'));
// expected: foo?, bar
// actual:   foo?, bar

and
App\User::create(['foo' => '?', 'email' => 'bar@example.com']);
gives:
Illuminate/Database/QueryException with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'foo' in 'field list' (SQL: insert into `users` (`foo`, `email`, `updated_at`, `created_at`) values<EMAIL_ADDRESS>2019-04-17 12:51:12, 2019-04-17 12:51:12))'

@laurencei I don't really like this approach, I think it's unnecessarily hacky. We can fix this in a "good" way using offsets, but it's a lot of code for such a minor issue. Looks like there is no simple and elegant solution.

I started doing offsets as a solution, but that actually makes the code much larger with more variables, counters etc.
Three lines of code solves it here 🤷♂
Placeholders are used in other parts of the framework when doing string replacement stuff - i.e. Parent views, so it's an approach that's been used before.

I'm not a big fan of those either ;-)
What if we use something obscure like two/three null bytes as a placeholder? That's short and shouldn't appear in real-life strings.

What about ĹáŕãƲēĺ?
There's no way that appears anywhere, and even if someone malisiciously did it, it's currently not different to putting my name (or anything) as "Laurence?".
The only remaining question is would the unicode chars cause an issue on any OS?

What about ĹáŕãƲēĺ?
There's no way that appears anywhere.
The only remaining question is would the unicode chars cause an issue on any OS or the str_replace function?

This sounds like a lot of work just to continue using replaceFirst instead of doing it properly.
public function replaceArray($search, array $replace, $subject) {
  $offset = 0;
  foreach ($replace as $value)
  {
    $position = strpos($subject, $search, $offset);
    if ($position !== false)
    {
      $subject = substr_replace($subject, $value, $position, strlen($search));
    }
    $offset = $position + strlen($value);
  }
  return $subject;
}```

```php
>>> replaceArray('?', ['??', 'foo?', 'bar', '????'], '?, ?, ?, ?');
=> "??, foo?, bar, ????"```

We can also split the string and glue it back together:
$segments = explode($search, $subject);

$result = array_shift($segments);

foreach ($segments as $segment) {
    $result .= (array_shift($replace) ?? $search).$segment;
}

return $result;

@36864 @staudenmeir - I tested both your solutions, and both work.
I then performance tested both, and on large datasets (with 100,000 iterations) the performance was similar.
On smaller datasets @staudenmeir was slightly faster.
So if either or both of you want to submit a PR and let Taylor decide? Either way we can get this issue fixed and closed 👍


Bug (maybe ?): Tortuosity filter inflection point

In the tortuosity filter, the isVectorBValid is never invalidated. This means that the computation of N from B can always happen even when it should not.

At this line: https://github.com/KitwareMedical/TubeTK/blob/master/Base/Filtering/itktubeTortuositySpatialObjectFilter.hxx#L301, we should probably add
vectorBIsValid = false;


Merge second half of the init state into measure

Trickery to start measurement sooner, so we can show the data with less delay

This idea is incompatible with timed measurements and would prevent entering the menu in that case.

We can provide this as a "quick startup" feature. Enabling would shorten the init screen's progress bar, transition into the measurement state sooner, keep the logo on while we're dropping data and display a text informing the user how to enter the menu.


Add JSONB to the Action Table

Currently we're writing both regular string messages and JSON to the action_result column in action. Unfortunately that field is capped at 2048, and because it's varchar, we lose all the ability to query and index the JSON that is generated by our application.
To that end, I would like us to add a JSONB field to action called action_result_json which will contain any JSON results from actions that are taken. We don't need to backfill this with older data, and the field will accept NULL for any action.
The biggest benefit here would be longer validation messages, like the ones @tlosbo is creating can be preserved in whole without being truncated.
Leave the old action_result column there, but the code should stop using it.   I don't think there's any code that currently uses action_result (its meant for human debugging), so no further work is needed.

Propose calling this new column action_response
Leave the old action_result but stop using it.  Remove it on some blissful future day.


Cannot leave HELP with EXIT nor F1-key, calculator stuck in HELP menu

Hello,
when I am in the HELP menu, I cannot leave it with EXIT-key or F1 key :-(. Not even auto-turn off helps. What now, is my DM42 bricked? I can only change to the original help file of DM42.
Mario.

Ok, somehow I provoked an error with pressing EXIT multiple times and it changed back to the program. Now I can leave the HELP with exit. Weird. Never mind,
Mario.

Hi emefff!
Sorry to hear about your troubles - but good to see that you solved it.
Can you describe more exactly what happened - did you view the iv42help.htm file with the internal browser?
At least it is always possible to reset the DM42 with the reset button (back side).
If you got intense troubles you can press the reset button AND hold the F1-key (till beep). And you are on the OS level (DMCP), where you can format the USB disk or load another program (*.prg).
This rescued me some times when I really got stuck because of a damaged USB disk, bad USB cable contact or programmed something forbidden at IV42 start.
Finally the OS (DMCP) seems to be very stable (better than Windows ;-) ).
Regards
deetee

Hello,
I am afraid, I can't describe it better: when viewing the help file on the DM42, pressing EXIT or F1 did not work for a few minutes. I waited for auto-turn off (after 5min or so) but after turning DM42 on, I was again in the help file. F3 worked, but only changing to another help file (DM42-file or wp34s-file) was possible. I doubt that both buttons F1 and EXIT did not work, that would be an unbelievable coincidence. After a few minutes, I was able to turn off the DM42 with EXIT (or shift EXIT I can't remember). However, after turning it on, I was in the normal screen of IV42 again. The top row showed 'Error'. Since then, I haven't had any trouble but this: when I execute a program named 'NEW1' with the XEQ button, the it seems, the name of this program was changed to 'XEQ' instead of showing the still valid name (when I enter program mode) 'NEW1'. Thus, I think the problem with menu-mode was maybe just some sort of hiccup.
I pull my hat to your  projects, IV is also great. Do you know about the wp34s port to DM42?
Mario.


Equivalent R code of the python script

im in need of the equivalent R script that works almost similar to the python script .

I was initially working on the R script , would love to know your opinion on it .

Sure !


Update repo in typings registry

The typings registry is currently configured to install from the https://github.com/types/env-electron repo. Once we're happy with our generated electron.d.ts, we should update the typings registry to point to https://github.com/electron-userland/electron-prebuilt
cc @miniak

Haven't heard about this causing confusion for anyone, so I'm closing.


GRPC does not increment AssemblyVersion on dotnet wrapper

What version of gRPC and what language are you using?
<IP_ADDRESS> <IP_ADDRESS> as per AssemblyVersion, en-us
What operating system (Linux, Windows,...) and version?
Windows 10 build 1809
What runtime / compiler are you using (e.g. python version or version of gcc)
.net + MSBuild with VS 2017 + nuget published grpc 1.20.1 artifacts
What did you do?

Create a new project
downloaded most recent GRPC package from Nuget. Nuget's Displayed version is 1.21.0

expected: AssemblyVersion (on DLL's manifest) is 1.21.0
actual: AssemblyVersion is <IP_ADDRESS>
continued with more passive-aggression than is really warranted, but hopefully understandable considering my trip through DLL hell

set your project up as an plugin to a huge old software's plugin framework (HugeOldSoft)
build and test your plugin outside of the plugin framework
deploy your application and test it with a live version of HugeOldSoft.

expected: HugeOldSoft smartly uses AppDomains to ensure your library loads its appropriate dependencies
actual: HugeOldSoft loads your library in its own AppDomain, and since HugeOldSoft has its own copy of GRPC (AssemblyVersion <IP_ADDRESS>, AssemblyFileVersion <IP_ADDRESS>), and my app depends on GRPC (AssemblyVersion <IP_ADDRESS>, AssemblyFileVersion <IP_ADDRESS>), I get HugeOldSoft's copy from the GAC, and a Type Not found: Grpc...Interceptor linkage error.
What did you expect to see?
the .net wrapper for GRPC should have AssemblyVersion attributes that match the AssemblyFileVersion attribute.
What did you see instead?
The GRPC wrapper is hard-coded to use an AssemblyVersion of <IP_ADDRESS>, for all versions of GRPC.

Anything else we should know about your project / environment?
The .net framework provides a number of tools for runtime dll version management. Speaking very naively, the "best" solution is probably simply to expose the most information (IE a high fedility version string, like <IP_ADDRESS>4) possible to that system, and leave it to fusion and binding-redirects provided by users to correctly find GRPC.

Alright so, I've basically decided I need to build this library from source rather than use the Nuget published artifact, and that seems do-able because as-of 7741e806a213cba63c96234f16d712a8aa101a49, grpc's build system seems quite nice.
What isn't nice is that BUILDING.md doesnt include instructions on how to build the C# wrapper in addition to the native code. Can such an update be made? In the mean time I simply opened VS and said "build solution", which gave me a host of targeting errors. it looks to me like I need to run MSbuild with some configuration --or I really do need all of .net core + .net standard + specific .net framework(s).

C# building instructions: https://github.com/grpc/grpc/tree/master/src/csharp#build-from-source
the assembly version is set as intended, see https://github.com/grpc/grpc/issues/6201 and the article linked from there for details.


Sync only on Entry Events

I got a Section with huge Entries with a matrix with hundreds of fields in 4 languages. I have another Section Routines that are indexed in algolia.
With scout-plugin enabled when I hit save on an entry in the huge-entry-section, the request takes 2minutes to resolve with hundreds of sql selects going on.
When I disable scout-plugin, the time to save huge entries goes down to 5 seconds.
I guess this is because scout listens to Elements::EVENT_AFTER_SAVE_ELEMENT on every field on the huge entry and ramps up hundreds of sql-selects to check if they fit the indexing-criteria.
How can I remove this behaviour and just have scout to action on Entry::EVENT_AFTER_SAVE so that it just adds one more query for criteria-matching to saving an entry instead of hundreds?
this is my scout.php creating four indices for four languages:
<?php
use modules\algoliamodule\services\AlgoliaModuleService;
use \rias\scout\ScoutIndex;
use \rias\scout\IndexSettings;

$INDEX_LOCALES = ['en', 'de', 'fr', 'nl'];

$reoutineIndex  = function($localeKey) {
    return ScoutIndex::create('routine_' . $localeKey)
        ->elementType(\craft\elements\Entry::class)
        ->criteria(function (\craft\elements\db\EntryQuery $query) use ($localeKey) {
            return $query->section('routine')->site($localeKey);
        })
        ->transformer(function (\craft\elements\Entry $entry) use ($localeKey) {
            return (new AlgoliaModuleService)->transformRoutine($entry, $localeKey);
        })
        ->indexSettings( IndexSettings::create()
            ->minWordSizefor1Typo(4)
            ->attributesForFaceting([
                0 => 'routineTopics',
                1 => 'painPoints',
                2 => 'sports',
                3 => 'trainingGoals',
            ])
        );
};

return [
    'sync' => true,
    'queue' => true,
    'connect_timeout' => 3,
    'batch_size' => 100,
    'application_id' => getenv('ALGOLIA_APPLICATION_ID'),
    'admin_api_key'  => getenv('ALGOLIA_ADMIN_API_KEY'),
    'search_api_key' => getenv('ALGOLIA_SEARCH_API_KEY'), //optional
    'indices' => array_merge(array_map($reoutineIndex, $INDEX_LOCALES)),
];

Hey @toyflish, good point, I can see how that would create an issue.
Maybe moving the events here:
https://github.com/studioespresso/craft-scout/blob/e7709b69d90dec7de870f6ff28e1505d8e1edf54/src/Scout.php#L142-L146
To the settings/config file with these as default. That way you could change them out as needed.
Seems like a pretty safe change.

@sjcallender 👍  Just talked it over with @janhenckens and I think he has a plan to address.

@toyflish @sjcallender Just released 2.4.2 which includes a new ShouldBeSearchableEvent, that should give you the option to bail out of the searchable behavior for anything that's not an entry. Docs can be found here. Could you give this solution a try and report back?
Kudos to @timkelty for the back and forth :)

Sweet. Thanks @janhenckens.
My main back-end dev is on vacation and I'm not a PHP/plugin dev, so what file would that snippet from the docs go into? Into a custom module?

Yes, in a module. You'd have to add some code to check the element in question too, just adding it like the example will result in nothing ever being searchable again so you don't want that :)

thanks @janhenckens,
when I save the page and check with is_a($event->element, 'craft\elements\Entry') for having a Entry-element, I get the event fired for all entries linked to the current Entry and all other entries in that structure (not 100% sure but looks like from the logs).
How can I access the entry that is currently edited in the cp from inside that event-hook to only return true if thats the one the event is currently fired for and only then return true?

@janhenckens - I'm a bit confused on how to implement the event too.
We have a homepage entry (id=2) that, currently, when saved, it triggers sync for all of its related products entries. We want to stop sync these products when the homepage entry is saved. We added the following to our module.
Event::on(
            SearchableBehavior::class,
            SearchableBehavior::EVENT_SHOULD_BE_SEARCHABLE,
            function (ShouldBeSearchableEvent $event) {

                if ($event->element->getId() === 2) {
                    $event->shouldBeSearchable = false;
                }
            }
        );

The above still syncs the products.
However, if change the conditional to the following, we're no longer syncing.
                if ($event->element->getId() !== 2) {
                    $event->shouldBeSearchable = false;
                }

As you can guess, this second conditional blocks all entries from being synced even when they are saved directly.
How should we be setting up our logic to prevent syncing of related entries only?

Got it working using the slug.
        // prevent syncing related entries
        Event::on(
            SearchableBehavior::class,
            SearchableBehavior::EVENT_SHOULD_BE_SEARCHABLE,
            function (ShouldBeSearchableEvent $event) {
                // after saving homepage entry
                if ($event->element->slug === 'homepage') {
                    $event->shouldBeSearchable = false;
                }
            }
        );

thanks @janhenckens,
when I save the page and check with is_a($event->element, 'craft\elements\Entry') for having a Entry-element, I get the event fired for all entries linked to the current Entry and all other entries in that structure (not 100% sure but looks like from the logs).
How can I access the entry that is currently edited in the cp from inside that event-hook to only return true if thats the one the event is fired for?

Hmm, fair point @toyflish. Sounds like you want to disable the updating of related events then?

only return true if thats the one the event is fired for

@janhenckens - That's what we're trying to do too.
In my code above, I'm realizing it works only if I'm not "applying" a draft, provisional or regular. Some guidance would be appreciated.

@sjcallender @toyflish  Sounds like not having related entries automatically indexed would fix it for you both?
I had intended the event to give you the option to check wether or not the element is an entry and not for example a matrix block, like it @toyflish's original question. I'll have a think on how to check for related entries.

@janhenckens Weighing in to also request disabling automatic indexing of related entries. We, too, have a very large database and would prefer to just push the entry being saved into Algolia for performance reasons. Related content will be pushed as those entries are saved.

Turns out Mr. @timkelty has done this already in #175 :). Would a config setting to simply disable syncing of related elements outright work in this case?

Would a config setting to simply disable syncing of related elements outright work in this case?

@janhenckens I think so, yes. We don't have any scenarios where we want to sync the related elements when syncing any one particular element. Related content would be indexed within that element's document, or indexed independently when it was saved. Thanks!

@janhenckens It works great! Thanks for this.


Add support for ULO rates

I don't think I see these in OEB's XML, but it'd be good to get a way to add ULO rates to Home Assistant.

Heya,
I wanted to give it a shot, but it looks like the Ontario Energy Board does not provide those rate in that XML document that is used to populate the values (or I failed to find them). The document is here: https://www.oeb.ca/open-data/current-electricity-rates-residential-rate-class
I contacted the OEB about this, let's see what happens,

Meanwhile, I made a quick template that seems to do the trick.
template:
  - sensor:
      - name: "Electricity Rate"
        unique_id: local_electricity_rate
        state: >
          {% if 7 < now().hour < 23 and is_state('binary_sensor.workday_sensor', 'off') %}0.074
          {% elif now().hour > 23 or now().hour < 7 %}0.024
          {% elif 7 < now().hour < 16 or 21 < now().hour < 23 %}0.102
          {% else %}0.24{% endif %}
        device_class: energy
        unit_of_measurement: 'CAD/kWh'

@eprochasson thanks for posting that stopgap, it does look like you're missing a couple <= and >=, this is what I modified it to:
      {% if 7 < now().hour < 23 and is_state('binary_sensor.workday_sensor', 'off') %}off_peak
      {% elif now().hour >= 23 or now().hour < 7 %}ulo
      {% elif 7 <= now().hour < 16 or 21 <= now().hour < 23 %}mid_peak
      {% else %}on_peak{% endif %}

Thanks!
By the way, the OEB responded that the rates will be made available on the open data files on November 1st.

Unfortunately it still looks like OEB hasn't updated its open data files :(

I asked the OEB again, they said they updated it this morning, and it is indeed in the XML document now. They updated the data dictionary as well. They updated the rates, too. It's more expensive now :(

Thanks @jrfernandes for merging #39 :)

Working fine for me. Thanks a ton!

Sorry to revive this, but I didn't think it was different enough to open a new thread. How do I enable the use of the ULO rates in the addon? I have selected the R1 entity for my region which is fine, but when I use it in the energy dashboard it only uses the old rates.

If you have the updated version (v0.3.6), you will see a new checkbox to enable ULO rates

[image: image.png]
On Fri, Nov 17, 2023 at 9:35 PM Diabu @.***> wrote:

If you have the updated version (v0.3.6), you will see a new checkbox to
enable ULO rates
[image: Screenshot from 2023-11-17 21-32-46]
https://user-images.githubusercontent.com/1985864/283967747-03cbff30-a8bd-43ce-bb27-dbfbb1a8a8a1.png
—
Reply to this email directly, view it on GitHub
https://github.com/jrfernandes/ontario_energy_board/issues/34#issuecomment-1817334824,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADDOZZESTMP6C7HNB4MOPLTYFANFTAVCNFSM6AAAAAA32MXDTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGMZTIOBSGQ
.
You are receiving this because you commented.Message ID:
@.***>

Where can I see the version? I'll try removing and reinstalling
On Fri, Nov 17, 2023 at 10:05 PM Julien Lemay @.***> wrote:

[image: image.png]
On Fri, Nov 17, 2023 at 9:35 PM Diabu @.***> wrote:

If you have the updated version (v0.3.6), you will see a new checkbox to
enable ULO rates
[image: Screenshot from 2023-11-17 21-32-46]
https://user-images.githubusercontent.com/1985864/283967747-03cbff30-a8bd-43ce-bb27-dbfbb1a8a8a1.png
—
Reply to this email directly, view it on GitHub
https://github.com/jrfernandes/ontario_energy_board/issues/34#issuecomment-1817334824,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADDOZZESTMP6C7HNB4MOPLTYFANFTAVCNFSM6AAAAAA32MXDTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGMZTIOBSGQ
.
You are receiving this because you commented.Message ID:
@.***>

ahhhhhhhhhhhhh I had forgotten this was in HACS so I wasn't getting my
updates done.... There you go. I knew it had to be something I was
overlooking. Thanks!
On Fri, Nov 17, 2023 at 10:07 PM Julien Lemay @.***> wrote:

Where can I see the version? I'll try removing and reinstalling
On Fri, Nov 17, 2023 at 10:05 PM Julien Lemay @.***>
wrote:

[image: image.png]
On Fri, Nov 17, 2023 at 9:35 PM Diabu @.***> wrote:

If you have the updated version (v0.3.6), you will see a new checkbox to
enable ULO rates
[image: Screenshot from 2023-11-17 21-32-46]
https://user-images.githubusercontent.com/1985864/283967747-03cbff30-a8bd-43ce-bb27-dbfbb1a8a8a1.png
—
Reply to this email directly, view it on GitHub
https://github.com/jrfernandes/ontario_energy_board/issues/34#issuecomment-1817334824,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADDOZZESTMP6C7HNB4MOPLTYFANFTAVCNFSM6AAAAAA32MXDTWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGMZTIOBSGQ
.
You are receiving this because you commented.Message ID:
@.***>


Folder with parenthesis in the name can't be watched

I've a folder called "/Users/Javier/Backup (2015)". I can't start a watcher to this folder because inside FSWatcher._getWatchHelpers, the library globparent transform that path to "/Users/Javier".
Is this a bug? How can I watch folders with special chars like pathensis, brackets...?
Thank you!

Duplicate of #300.
Yes it's a bug, but easiest resolution for now is to just rename your dir.


Feat(compilation): associate a file path to each rule for more precise error message

This should be done in the parsing phase. Next steps will be done with https://github.com/publicodes/tree-sitter-publicodes/


TransformCaching module try to collect cache every time I build bundle

Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
TransformCaching module try to collect cache every time I build bundle. _collectCacheIfOldSync method returns when Date.now() - lastCollected > GARBAGE_COLLECTION_PERIOD.
If the current behavior is a bug, please provide the steps to reproduce and a minimal repository on GitHub that we can yarn install and yarn test.
What is the expected behavior?
Shouldn't the judgment be Date.now() - lastCollected < GARBAGE_COLLECTION_PERIOD？
Please provide your exact metro-bundler configuration and mention your metro-bundler, node, yarn/npm version and operating system.

That makes sense to me as well, but let's double check with @jeanlauliac :)

No, the current code is correct afaik. We want to collect only after the delay between the last collection and now (Date.now() - lastCollected) is longer than the period/delay, not shorter. If we collect when it's shorter, then it collects all the time.
I may be wrong somewhere. Did you step-by-step debug and notice that it was collecting all the time?

  /**
   * When restarting packager we want to avoid running the collection over
   * again, so we store the last collection time in a file and we check that
   * first.
   */
  _collectCacheIfOldSync() {
    const {_rootPath} = this;
    const cacheCollectionFilePath = path.join(_rootPath, 'last_collected');
    const lastCollected = Number.parseInt(
      tryReadFileSync(cacheCollectionFilePath) || '',
      10,
    );
    if (
      Number.isInteger(lastCollected) &&
      Date.now() - lastCollected > GARBAGE_COLLECTION_PERIOD
    ) {
      return;
    }
    const effectiveCacheDirPath = path.join(_rootPath, CACHE_SUB_DIR);
    mkdirp.sync(effectiveCacheDirPath);
    collectCacheSync(effectiveCacheDirPath);
    fs.writeFileSync(cacheCollectionFilePath, Date.now().toString());
  }

Currently this function returns when the delay between the last collection and now (Date.now() - lastCollected) is longer than GARBAGE_COLLECTION_PERIOD. I think this isn't what you mean. This function will call collectCacheSync when the delay between the last collection and now (Date.now() - lastCollected) is shorter than GARBAGE_COLLECTION_PERIOD.

Yup, you're correct, I didn't realise it's an early-return condition. Would you mind sending a PR? ^_^

I've sent it.


Unsupported locale setting

This is what I got when I tried to run the app.
I can't seem to find what's stopping the program from booting.
BY the way this is my first raspberry pi project. :)
pi@raspberrypi:~/Downloads/Smart-Mirror-master $ python smartmirror.py
Traceback (most recent call last):
File "smartmirror.py", line 329, in
w = FullscreenWindow()
File "smartmirror.py", line 306, in init
self.clock = Clock(self.topFrame)
File "smartmirror.py", line 76, in init
self.tick()
File "smartmirror.py", line 79, in tick
with setlocale(ui_locale):
File "/usr/lib/python2.7/contextlib.py", line 17, in enter
return self.gen.next()
File "smartmirror.py", line 38, in setlocale
yield locale.setlocale(locale.LC_ALL, name)
File "/usr/lib/python2.7/locale.py", line 579, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting

By the way I'm 12 years old so sorry for any stupid questions.

I'm getting the exact same error on a Raspberry PI 3 B, would like to find a solution for it.
Also first project 😁


operators jaeger (1.35.0)

Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[x] Are you familiar with our contribution guidelines?
[x] Have you packaged and deployed your Operator for Operator Framework?

[x] Is your submission signed?
[x] Is operator icon set?

Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[x] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

mh...
    - time="2022-06-21T22:10:26Z" level=info msg="jaeger-operator.v1.34.1 replaced by jaeger-operator.v1.35.0"
    - time="2022-06-21T22:10:26Z" level=info msg="Processing olmConfig"
    - 'I0621 22:10:26.971164       1 event.go:282] Event(v1.ObjectReference{Kind:"ClusterServiceVersion", Namespace:"default", Name:"jaeger-operator.v1.35.0", UID:"1ac3d983-4ff6-4de3-b517-5d7fc6dda24a", APIVersion:"operators.coreos.com/v1alpha1", ResourceVersion:"2511", FieldPath:""}): type: ''Warning'' reason: ''InstallComponentFailed'' install strategy failed: Deployment.apps "jaeger-operator" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"name":"jaeger-operator"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable'
    - time="2022-06-21T22:10:27Z" level=info msg="checking jaeger-operator.v1.34.1"
    - time="2022-06-21T22:10:27Z" level=info msg="checking jaeger-operator.v1.35.0"
    - time="2022-06-21T22:10:27Z" level=info msg="jaeger-operator.v1.34.1 replaced by jaeger-operator.v1.35.0"

@frzifus are you able to upgrade from v1.34.1 bundle to v1.35.0 bundle locally? You can use operator-sdk and debug the issue.

Hi @J0zi, i will try it in a minute. But i expect it will not work. In 1.33.0 we introduced a new label app.kubernetes.io/name: jaeger-operator. Afterwards we notcied upgrading from 1.32 to 1.33 didnt work. To avoid issues while upgrading the productized version from 1.30 to 1.34 + patch we removed the label. (changelog)
The Deployment "jaeger-operator" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"[app.kubernetes.io/name](http://app.kubernetes.io/name)":"jaeger-operator", "name":"jaeger-operator"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable

Now here seems to be the other way around? :face_exhaling: I wonder that we didnt notice it during the 1.33.0 release.
    - 'I0621 22:10:26.971164       1 event.go:282] Event(v1.ObjectReference{Kind:"ClusterServiceVersion", Namespace:"default", Name:"jaeger-operator.v1.35.0", UID:"1ac3d983-4ff6-4de3-b517-5d7fc6dda24a", APIVersion:"operators.coreos.com/v1alpha1", ResourceVersion:"2511", FieldPath:""}): type: ''Warning'' reason: ''InstallComponentFailed'' install strategy failed: Deployment.apps "jaeger-operator" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"name":"jaeger-operator"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable'

Ive no clue how to solve this issue other then removing the label in older releases too. It would also solve our upgrade issue from 1.32 to 1.33. But what i also dont know, how will it affect people they already use 1.33 or 1.34.x?
In case we go that path, should we create an extra PR or just squash it in?
see: https://github.com/k8s-operatorhub/community-operators/pull/1366/commits/a5466d1bbb864cceaa09964f4117fab817a80115
What do you think @J0zi ?

mh.. another way could be to replace 1.32 instead of higher versions. That would just requiere a reinstall for 1.33 and 1.34.x.

@frzifus please test how it affects people who already use it and fix accordingly.

/merge possible

/merge possible

/merge possible

just for the record: previously it was not possible to upgrade from 1.32 to 1.33. Without changing the older bundles too, this would occur during an upgrade from 1.34 to 1.35 again.
Those kind of issues can be resolved using:
kubectl delete deployments.apps -n operators jaeger-operator

Now its only necessary in case 1.33 or 1.34 is already installed. In case its not detected, the worst consequence is that you will stuck on your operator version and not get an upgrade.
Logs:
time="2022-07-12T08:41:42Z" level=info msg="checking cert-manager.v1.8.0"
time="2022-07-12T08:41:42Z" level=info msg="checking jaeger-operator.v1.32.0"
time="2022-07-12T08:41:42Z" level=info msg="checking jaeger-operator.v1.33.0"
time="2022-07-12T08:41:42Z" level=info msg="jaeger-operator.v1.32.0 replaced by jaeger-operator.v1.33.0"
time="2022-07-12T08:41:42Z" level=info msg="Processing olmConfig"
time="2022-07-12T08:41:42Z" level=info msg="Processing olmConfig"
time="2022-07-12T08:41:42Z" level=info msg="Processing olmConfig"
time="2022-07-12T08:41:42Z" level=warning msg="reusing existing cert jaeger-operator-service-cert"
I0712 08:41:43.061567       1 event.go:282] Event(v1.ObjectReference{Kind:"ClusterServiceVersion", Namespace:"operators", Name:"jaeger-operator.v1.33.0", UID:"a19abef9-4ba8-4f8e-9037-145cab18b5ad", APIVersion:"operators.coreos.com/v1alpha1", ResourceVersion:"5238", FieldPath:""}): type: 'Warning' reason: 'InstallComponentFailed' install strategy failed: Deployment.apps "jaeger-operator" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/name":"jaeger-operator", "name":"jaeger-operator"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable
{"level":"error","ts":1657615303.1696794,"logger":"controllers.operator","msg":"Could not update Operator status","request":"/jaeger.operators","error":"Operation cannot be fulfilled on operators.operators.coreos.com \"jaeger.operators\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:311\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227"}
{"level":"error","ts":1657615303.267872,"logger":"controllers.operator","msg":"Could not update Operator status","request":"/jaeger.operators","error":"Operation cannot be fulfilled on operators.operators.coreos.com \"jaeger.operators\": the object has been modified; please apply your changes to the latest version and try again","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:311\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227"}
E0712 08:41:43.366777       1 queueinformer_operator.go:290] sync {"update" "operators/jaeger-operator.v1.33.0"} failed: Deployment.apps "jaeger-operator" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/name":"jaeger-operator", "name":"jaeger-operator"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable


Add possibility to customise colours of the icons

Hi there - I have made a minor tweak to the lua file, so that colours can be customised when printing the icons. Would you be interested in merging this?

Thanks for the contribution and interest. The idea is sound. I just wonder if the right way to do it is a little more careful (if someone else wants to add another style, then we'll have repeating style tags). Are you interested in building out a proper fix for this? We'll need a contributor agreement from you as well https://quarto.org/about.html#contribute

Thanks. I guess this makes sense - I am not sure whether I've reached the limit of my lua expertise, though --- I was simply adding very simple code to the existing one to update it for my specific needs. Understood that others may want to increase the customisation, though...

If you have a simple color need, it's possible that you can address it without changing the extension at all, instead simply wrapping the FA invocations in a div with a custom class, and then using CSS.

If I may, the easiest way to add colour or whatever styling would be to use spans, e.g.,
[{{< fa chess-pawn >}}]{style="color: #b22222;"}

I generally agree, and I think @mcanouil's solution with spans is good enough that we don't need a feature like this on the extension itself.


M03-Implementing GitHub Actions for CI/CD : GitHub Actions can't find the Web app that already been provisioned.

Contact Details
No response
What happened?
Github actions triggered and often get the error as shown the screen shot.
App Service Plan, App Services, all correct but it failed at this pointed too often before succeeding it.
Lab
Other
Relevant screenshots

Do you want to help us? 👏

[ ] Create a Pull Request by following this project's Contribution Guide

Had the same thing this week. 10 - 15 minutes was the wait time before it appeared.

Looks like the same issue that affects the Azure Pipeline task: https://github.com/microsoft/azure-pipelines-tasks/issues/15532. Solution for me was to use the command-line, which isn't affected by this issue. https://github.com/maartenvandiemen/TodoItems/blob/main/.github/workflows/main.nodocker.yml (line 86, 87).
If people agree I can make a PR to use the command-line instead of the out-of-the-box tasks.

@maartenvandiemen go for it

@yashints to start with I created PR: https://github.com/MicrosoftLearning/eShopOnWeb/pull/140. In webapps-deploy@v3 the upgrade mechanism is changed, so maybe this will fix the issue already. If not please give feedback and I will do the change as suggested above.

thanks, I will need to test these first

... to start with I created PR: MicrosoftLearning/eShopOnWeb#140. In webapps-deploy@v3 the upgrade mechanism is changed, so maybe this will fix the issue already. If not please give feedback and I will do the change as suggested above.

@maartenvandiemen,  I think the upgrade is helpful, however, I have my doubts that this will have any impact of the issue at hand. Azure/webapps-deploy@v3 was released in October of last year, and issues are still being raised as of February of the current year. In addition, nothing in the list of difference between v2 and v3 mention dealing with the caching issue of the API call. If you have the I think we would love to take a look at a CLI based deploy.

@rob-foulkrod thanks for the feedback. I will do the change next week and update the PR. For the other tasks I think it's good to keep them on the maximum major version.

PR approved. Closing the issue for now, let me know if you still see it.

@LuizMacedo @rob-foulkrod @yashints I didn't have time to update PR: https://github.com/MicrosoftLearning/eShopOnWeb/pull/140 with the CLI approach. But it's stil on my list. (In my opinion it's better to have it in separate PR's). I will leave it up to you to reopen this issue or not.

Thanks, @maartenvandiemen! I agree, a separate PR is good.

@LuizMacedo @rob-foulkrod @yashints created CLI based deployment in above PR. I haven't heard anyone who experienced this issue after the upgrade of Github tasks.

Thanks for the contribution @maartenvandiemen. I will take a look at it this weekend. And I agree, I have never had a problem pushing a site with the CLI tooling.


[REQUEST] Command line option to specify range for numeric fields

Is your feature request related to a problem? Please describe.
Numeric fields such as min_transfer_time require ranges for the validation process. These are by default set in the schema file. However, these default value are not always applicable for every agency which often leads to the generation of notices such as IntegerFieldValueOutOfRangeNotice that do not represent inconsistencies from the GTFS dataset to be validated.

To reproduce phenomemon, run this configuration:
-u https://openmobilitydata.org/p/sbb-cff-ffs/793/latest/download -z input.zip -i input -o output
Describe the solution you'd like
It should be possible to manually specify ranges for numeric fields such as min_transfer_time from the line command since this particular kind of information depends on the agency providing the GTFS.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

After discussion, we shall update the schema for now if the data is not obviously.


run time error

It seems by the right nano open that there's a typo in your as3992_api.py file.
It should be:
TTY_USB_WILDCARD = "/dev/ttyUSB*"
Like in the GitHub file.
Other than that, make sure that you copied the rest of the file, since every typo might affect

I think its working ..grate job ..thank you..

Hello, I have some problem with python coad
before uploading the code I got a simple and clear hello world message in my serial for restarting the connected device

this is my python code for reading data from antena through serial monitor

it runs smoothly first time.
after executing the code when I restart the connected device the serial monitor shows like that

this is the output of serial monitor minicom ...after I run python code and result the connected device ..
from that time when ever I run the same python code it shows an error

Can you take a screenshot of the as3992_api.py on your Raspberry Pi device?

hi .
its working now ,there is some connection cable problem arrive that time ..
one thinking arrive in my mind if you don't mind . what happen if port no  changed after switch of raspberry pi . so there is same time error arrived that time . so can we check witch port connect with pi then go through this port ..<i relay don't know vast about python code  >
next thing  "Can we collect reader data continue as a loop function."or when a new card in reader range  it print it easily ..

You can just open a pull request to fix that if you'd like 😄
And I'm glad it's working now!


changing config

It looks like you are attempting to push a change to the template repository, for help with deploying your own website please start a new thread in the discussions.


Carthage update not working for Xcode 11.4

I clone the project. It doesn't compile due to some errors.

Hi, I've the same problem with 0.9.5 ...

Hello,
The PR for Swift 5.2 update was merged 4 days ago (https://github.com/exyte/Macaw/pull/669), can please tag the commit and create the version?
This is only take few minutes for you and it will be really useful for us :)

Hi Thomas,
Master version is not stable yet, we'll create a new version once several issues will be fixed (hope it will happen soon). For now, please feel free to create, tag and use your fork of the master branch if it works fine for you.

Hello @ystrot,
I can't because i use Macaw not directly but by another dependency.
And to be honest and know why this is merged in master if it's not stable 🤔.

Just released 0.9.6 with Swift 5.2 support.


[bug] GPU needed?

I'm using a Windows notebook without a GPU. Is there a way to work?
When i'm running the command in powershell (cargo build --release --features cuda), i receive the following error.
(base) PS C:\Users\User001\Documents\Projetos\screenpipe> cargo build --release --features cuda
Compiling candle-kernels v0.7.2
Compiling fdeflate v0.3.5
Compiling zune-inflate v0.2.54
Compiling futures-executor v0.3.30
Compiling avif-serialize v0.8.1
Compiling swc_ecma_transforms_macros v0.5.5
Compiling swc_config_macro v0.1.4
Compiling anyhow v1.0.89
error: failed to run custom build command for candle-kernels v0.7.2
Caused by:
process didn't exit successfully: C:\Users\User001\Documents\Projetos\screenpipe\target\release\build\candle-kernels-bbe061176415e285\build-script-build (exit code: 101)
--- stdout
cargo:rerun-if-changed=build.rs
cargo:rerun-if-changed=src/compatibility.cuh
cargo:rerun-if-changed=src/cuda_utils.cuh
cargo:rerun-if-changed=src/binary_op_macros.cuh
cargo:info=["/usr", "/usr/local/cuda", "/opt/cuda", "/usr/lib/cuda", "C:/Program Files/NVIDIA GPU Computing Toolkit", "C:/CUDA"]
cargo:rerun-if-env-changed=CUDA_COMPUTE_CAP
--- stderr
thread 'main' panicked at C:\Users\User001.cargo\registry\src\index.crates.io-6f17d22bba15001f\bindgen_cuda-0.1.5\src\lib.rs:489:18:
nvidia-smi failed. Ensure that you have CUDA installed and that nvidia-smi is in your PATH.: Error { kind: NotFound, message: "program not found" }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

@baseadinho plz use cargo build --release without the --features cuda

tks, it worked


Instructions for linux not given / unclear

Publishing to Google playstore instructions not given for linux
The react native documentation contains steps for publishing application to play store.
However the steps are provided only for windows and macOs
My  request is to also provide steps for publishing for linux as well
https://reactnative.dev/docs/signed-apk-android
0.74

I get it that the documentation specifies that the signing can be done using keytool, but it is not explicilty mentioned for linux and hence is confusing. Might be better Idea  to explicitly mention it under Linux

@phadkesharan Linux should be similar to the macOS one. But agreed it should be there.


WIP add support for wildcard segment with children

@FranciscoSierra27 I appreciate the feedback! You are correct - the only real changes is the addition of the addChild func which keeps wildcard children at the end, and also removing the logic that prevented wildcards from being inserted. I plan to add more tests and clean everything up, as well as resolve a few existing bugs.


Add histogram visualization for hooked functions

This adds a new tab at the bottom-right of the Live view.
The histogram with an automatically chosen bin width
is shown there.
Test: manually profiling OrbitTest
Bug: http://b/218628491

Sorry for the large PR. At least, you can clone it and play around with the histograms if you wish.

Now it looks like this
https://screenshot.googleplex.com/8jrd46keCndjGZP.png

Now it looks like this https://screenshot/6EJu9odiE8NDTQa

please use the format suggested in https://go/stadia-orbit-open-source : http://screenshot/----------


chore(package): switch to Jest

WIP

@levithomason it's interesting, but Jest is much slower than our existing solution. I've pulled stardust and seen that there are same problems:
 PASS  test/specs/lib/eventStack/EventTarget-test.ts (8.016s)
 PASS  test/specs/lib/htmlInputPropsUtils-test.ts
 PASS  test/specs/lib/doesNodeContainClick-test.ts (11.209s)
 PASS  test/specs/lib/eventStack/eventStack-test.ts (11.271s)
 PASS  test/specs/lib/factories-test.tsx (11.314s)

I think that it's quite slow. Did I miss something?

Strange, I have no idea.  @davezuko?

Maybe a Windows issue? The test suite runs in 8s for me on a cold start, and 4.75 on subsequent runs.

I will try to update tests for views fully and then will followup again.
Our existing suite is running 02:26: https://circleci.com/gh/Semantic-Org/Semantic-UI-React/5649
Current suite (/lib only) runs 00:54: https://circleci.com/gh/Semantic-Org/Semantic-UI-React/5644
Current suite (/lib and /views) locally:
Test Suites: 5 failed, 60 passed, 65 total
Tests:       13 failed, 1789 passed, 1802 total
Snapshots:   0 total
Time:        92.138s (01:32)

There are many failed tests, but it looks very poorly.

Stardust
Test Suites: 24 passed, 24 total
Tests:       6 skipped, 351 passed, 357 total
Snapshots:   0 total
Time:        32.258s

Ubuntu 16.04
i7 2637m

Looks bad to me, too.

I'm worried that after switching to Jest, our tests will be performed substantially longer.

If I omit Babel and write code/tests in raw JS, tests are running blazing fast. Looks like Babel has a cold start on each test :thinking:

Codecov Report

Merging #2971 into master will decrease coverage by 32.28%.
The diff coverage is 84.92%.

@@             Coverage Diff             @@
##           master    #2971       +/-   ##
===========================================
- Coverage   99.96%   67.67%   -32.29%
===========================================
  Files         163       76       -87
  Lines        2743     1324     -1419
  Branches        0      229      +229
===========================================
- Hits         2742      896     -1846
- Misses          1      428      +427

Impacted Files
Coverage Δ

src/views/Feed/FeedLabel.js
100% <ø> (ø)
:arrow_up:

test/specs/commonTests/hasUIClassName.js
100% <100%> (ø)

test/setupTests.js
100% <100%> (ø)

test/specs/commonTests/tsHelpers.js
100% <100%> (ø)

test/specs/commonTests/implementsClassNameProps.js
100% <100%> (ø)

test/specs/commonTests/implementsCreateMethod.js
100% <100%> (ø)

test/specs/commonTests/classNameHelpers.js
100% <100%> (ø)

test/specs/commonTests/hasSubcomponents.js
100% <100%> (ø)

test/specs/commonTests/hasValidTypings.js
100% <100%> (ø)

test/specs/commonTests/rendersChildren.js
100% <100%> (ø)

... and 189 more

Continue to review full report at Codecov.

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


refactor: Update firebase_apis module

Changes:

update google api client
move client dependency to the common source of truth, which will allow to update client automatically

Test Plan

How do we know the code works?

No new logic introduced. Normal build + integration tests should be enough (will be handled by GH actions)

@flank-it

Codecov Report

Merging #1417 (c173ca2) into master (81cabb0) will increase coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1417      +/-   ##
============================================
+ Coverage     77.28%   77.32%   +0.04%
  Complexity      719      719
============================================
  Files           250      250
  Lines          4834     4834
  Branches        922      922
============================================
+ Hits           3736     3738       +2
  Misses          596      596
+ Partials        502      500       -2


Links in README result in 404 error

Just wanted to report that these two URLs which are linked from the README don't exist:
https://pythonhosted.org/Markdown/extensions/code_hilite.html
https://pythonhosted.org/Markdown/extensions/meta_data.html

Ahh, yeah, Python Markdown moved their documentation to GitHub pages.

I face 404 error also in LiveReload link on line 215

Yes, I will try to merge in the fix today or tomorrow.


Tensor Board Logging

We need to log the updates via tensor board, this will be an extension of the current logging #23

i can try this one..

Great @abhi-glitchhg you can take it up