Update syslog-ng.conf from Ubuntu 20.04

Fixes https://github.com/phusion/baseimage-docker/issues/589
Update syslog-ng.conf from /etc/syslog-ng/syslog-ng.conf installed by syslog-ng 3.25.1-3.
This resolves the following warnings:

WARNING: Configuration file format is too old, syslog-ng is running in compatibility mode. Please update it to use the syslog-ng 3.25 format at your time of convenience. To upgrade the configuration, please review the warnings about incompatible changes printed by syslog-ng, and once completed change the @version header at the top of the configuration file; config-version='3.13'

WARNING: With use-dns(no), dns-cache() will be forced to 'no' too!;

WARNING: log-fifo-size() works differently starting with syslog-ng 3.22 to avoid dropping flow-controlled messages when log-fifo-size() is misconfigured. From now on, log-fifo-size() only affects messages that are not flow-controlled. (Flow-controlled log paths have the flags(flow-control) option set.) To enable the new behaviour, update the @version string in your configuration and consider lowering the value of log-fifo-size().;

CI is failing due to the image pull being rate-limited.
docker build --no-cache -t phusion/baseimage:master-arm64  --build-arg QEMU_ARCH=aarch64 --platform arm64 --rm image

Sending build context to Docker daemon   1.71MB

Step 1/8 : ARG BASE_IMAGE=ubuntu:20.04

Step 2/8 : FROM $BASE_IMAGE

toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit


glances: fix license

Motivation for this change
Glances is actually licensed under the LGPLv3.
Things done

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

[ ] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Thanks!


Add custom file-system loader for templates

Currently, we can't do relative imports for the templates (see https://github.com/pallets/jinja/issues/1533),
but we use a custom loader to support them (see https://github.com/saltstack/salt/pull/47490).
This lets us define templates next to pages that can then be included without needing the whole path.

A filesystem loader won't work, as we won't know the path of the parent template when we come to load the include. We therefore implement this in 05c4c86dda using an extension that filters the template tokens. If we see an include token where the path starts with a . then we convert this to an absolute import.
Closed in 05c4c86dda


The nested Grid component cannot be added to ArgumentAxis in Chart

Issue Type
Bug Report
Description
The nested Grid  component cannot be added to ArgumentAxis
Steps to Reproduce
Open the example and see that the grid lines are not rendered
Current Behavior
The following markup doesn't work:
 <ArgumentAxis             valueMarginsEnabled={false}                       discreteAxisDivisionMode={'crossLabels'}           >             <Grid visible={true}/>           </ArgumentAxis>
Expected Behavior
This logic should work
Demo
https://codesandbox.io/s/70389nol1
Environment Details

devextreme version: 18.2.x
devextreme-react version: 18.2.x
react version: 16.x

Fixed here:
https://github.com/DevExpress/devextreme-react/pull/223
https://github.com/DevExpress/devextreme-react/pull/211
You can use a simple Label component now.


UserWarning and TypeError when using Keras v2.x+

Environment Info
Operating Hardware: local Workstation with Nvidia 1080ti
Operating System: Ubuntu 16.04 LTS
Installed CUDA / CuDNN: (doesn't matter, but just in case)

CUDA: 8.0
CuDNN: 6.0

pip packages

Keras 2.1.1
Tensorflow 1.4.0,

Problem:

When I install ba-dls-deepspeech with instruction following along, certain errors arises if I execute train.py.

Main Reason:

This is when I use up-to-date Keras which has partially changed for layer functions used in model.py.

How I solved:

Fixed certain layer arguments used in model.py

Log:
Using TensorFlow backend.
WARNING (theano.tensor.blas): Using NumPy C-API based implementation for BLAS functions.
2017-12-19 14:10:19,570 INFO    (data_generator) Reading description file: ba_ds_ETRI_train_corpus.jsonl for partition: train
2017-12-19 14:10:19,888 INFO    (data_generator) Reading description file: ba_ds_ETRI_test_corpus.jsonl for partition: validation
2017-12-19 14:10:21,062 INFO    (model) Building gru model
/media/clab/1TB_HDD/baidu_deepspeech/model.py:109: UserWarning: Update your `Conv1D` call to the Keras 2 API: `Conv1D(1000, 11, activation="relu", padding="valid", kernel_initializer="glorot_uniform", strides=2, name="conv1d")`
  activation='relu')(acoustic_input)
Traceback (most recent call last):
  File "train.py", line 155, in <module>
    args.sortagrad)
  File "train.py", line 123, in main
    model = compile_gru_model(recur_layers=3, nodes=1000, batch_norm=True)
  File "/media/clab/1TB_HDD/baidu_deepspeech/model.py", line 111, in compile_gru_model
    output = BatchNormalization(name='bn_conv_1d', mode=2)(conv_1d)
  File "/home/clab/.local/lib/python3.5/site-packages/keras/legacy/interfaces.py", line 30, in wrapper
    args, kwargs, converted = preprocessor(args, kwargs)
  File "/home/clab/.local/lib/python3.5/site-packages/keras/legacy/interfaces.py", line 446, in batchnorm_args_preprocessor
    raise TypeError('The `mode` argument of `BatchNormalization` '
TypeError: The `mode` argument of `BatchNormalization` no longer exists. `mode=1` and `mode=2` are no longer supported.

Log2:
Using TensorFlow backend.
WARNING (theano.tensor.blas): Using NumPy C-API based implementation for BLAS functions.
2017-12-19 15:39:07,863 INFO    (data_generator) Reading description file: ./corpus/train_100_corpus.jsonl for partition: train
2017-12-19 15:39:07,952 INFO    (data_generator) Reading description file: ./corpus/validate_clean_corpus.jsonl for partition: validation
2017-12-19 15:39:08,551 INFO    (model) Building gru model
/media/clab/1TB_HDD/baidu_deepspeech/model.py:109: UserWarning: Update your `Conv1D` call to the Keras 2 API: `Conv1D(1000, 11, padding="valid", kernel_initializer="glorot_uniform", activation="relu", name="conv1d", strides=2)`
  activation='relu')(acoustic_input)
/media/clab/1TB_HDD/baidu_deepspeech/model.py:118: UserWarning: Update your `GRU` call to the Keras 2 API: `GRU(1000, kernel_initializer="glorot_uniform", return_sequences=True, activation="relu", name="rnn_1")`
  return_sequences=True)(output)
/media/clab/1TB_HDD/baidu_deepspeech/model.py:118: UserWarning: Update your `GRU` call to the Keras 2 API: `GRU(1000, kernel_initializer="glorot_uniform", return_sequences=True, activation="relu", name="rnn_2")`
  return_sequences=True)(output)
/media/clab/1TB_HDD/baidu_deepspeech/model.py:118: UserWarning: Update your `GRU` call to the Keras 2 API: `GRU(1000, kernel_initializer="glorot_uniform", return_sequences=True, activation="relu", name="rnn_3")`
  return_sequences=True)(output)
/media/clab/1TB_HDD/baidu_deepspeech/model.py:125: UserWarning: Update your `Dense` call to the Keras 2 API: `Dense(29, activation="linear", kernel_initializer="glorot_uniform", name="dense")`
  output_dim, name='dense', activation='linear', init=initialization,
/media/clab/1TB_HDD/baidu_deepspeech/model.py:127: UserWarning: Update your `Model` call to the Keras 2 API: `Model(inputs=Tensor("ac..., outputs=Tensor("ti...)`
  model = Model(input=acoustic_input, output=network_output)
2017-12-19 15:39:12,264 INFO    (model) Building train_fn
Traceback (most recent call last):
  File "train.py", line 155, in <module>
    args.sortagrad)
  File "train.py", line 126, in main
    train_fn = compile_train_fn(model)
  File "/media/clab/1TB_HDD/baidu_deepspeech/model.py", line 35, in compile_train_fn
    network_output = network_output.dimshuffle((1, 0, 2))
AttributeError: 'Tensor' object has no attribute 'dimshuffle'

AttributeError: 'Tensor' object has no attribute 'dimshuffle' is not related with Keras, but rather with tensorflow's Tensor module.

Here are the codes I fixed on model.py:

(Line 10)

from tf.keras.layers import (BatchNormalization, Conv1D, Dense,
                          Input, GRU, TimeDistributed)

(Line 111)

    if batch_norm:
        output = BatchNormalization(name='bn_conv_1d')(conv_1d)

(Line 116)

    for r in range(recur_layers):
        output = GRU(units=nodes, activation='relu',
                        name='rnn_{}'.format(r + 1),
                        kernel_initializer=initialization,
                        return_sequences=True)(output)

(Line 121)

        if batch_norm:
            bn_layer = BatchNormalization(name='bn_rnn_{}'.format(r + 1))

(Line 126)

    network_output = TimeDistributed(Dense(
        units=output_dim, name='dense', activation='linear',
        kernel_initializer=initialization,
    ))(output)
    model = Model(inputs=acoustic_input, outputs=network_output)


Hello World Tutorial

I have created a Hello World tutorial on create.pawbyte.com .
It is effectively a first draft and has a combination of screenshots, text and code. Please check it out and review any grammatical or formatting issues. Gracias.
http://gamepencil.pawbyte.com/2017/10/26/hello-world-tutorial/

I've made my initial edits and have published my revisions. Hopefully they make sense.

Okay I made a few small changes to the "Start Page" image and also the 1st paragraph. I was told it was too preachy on IRC.

Okay, will also include in new releases of GPE too.


nvcc fatal: Unsupported gpu architecture 'compute_86' ninja: build stopped: subcommand failed

I configured the environment to run on RTX3090 with this "nvcc fatal: Unsupported gpu architecture 'compute_86' ninja: build stopped: subcommand failed. "I want to ask how to solve this?

Hi, this issue should be related to Cuda rather than our code. You might need to change the Cuda version in your system. You may find some solutions here and here.


#488 Concepts section of Keptn Docs

This is a PR in progress and addresses issue #488.
The structure of the Concepts section looks as follows:

Use Cases

[x] Scriptless Progressive Delivery (JE)
[x] Quality Gate (JE)
[x] Test Automation (JE)
[x] Automated Operations (JB)

Architecture

[ ] Kubernetes native
[ ] Event-based Automation
[ ] Seperation of Concerns
[ ] Tool Integration
[ ] Built-in Observability
[ ] GitOps

Glossary

The sub-sections for the architecture of Keptn are not documented in this PR and moved to the issue:
Architecture:

[ ] Kubernetes native
[ ] Event-based Automation
[ ] Seperation of Concerns
[ ] Tool Integration
[ ] Built-in Observability
[ ] GitOps


Use google cloud function for inserts

Added support for handle_tests_results and insert_rows to use a new insert_rows_method method called gcp-cloud-function which calls a UDF to push results into BigQuery via Pub/Sub rather than direct insert queries.  This significantly increases Elementary's capacity to insert records/test results when using BigQuery.

Hi @jordanwillifordcruise,
This looks like a great contribution!
Do you mind sharing an example of how it's configured? In particular curious what are the expected values of insert_rows_udf and insert_rows_topics.

Hi @jordanwillifordcruise, This looks like a great contribution! Do you mind sharing an example of how it's configured? In particular curious what are the expected values of the insert_rows_udf and insert_rows_topics vars.

Here is an example configuration.  You identify a UDF that publishes to a topic (first argument of SELECT), and then define 3 pubsub topics to send data to.  Those topics are defined to pass records straight to BigQuery, which is a simple option.  I did also define schemas for those tables (all of this is created in Terraform) which is not ideal, it means this is coupled to schema/code changes for those tables.
  # This is to prevent BQ from exceeding the query size limit, specifically used to prevent errors writing Elementary metadata.
  insert_rows_method: gcp-cloud-function
  insert_rows_udf: "_project.dataset.publish_to_pubsub_function_"
  insert_rows_topics: {
    "data_monitoring_metrics": "projects/_project_/topics/elementary-monitoring-metrics-topic",
    "test_result_rows": "projects/_project_/topics/elementary-test-result-rows-topic",
    "elementary_test_results": "projects/_project_/topics/elementary-elementary-test-results-topic"
  }
  query_max_size: 100000


A temporary file creation just to test/run program files to check for runtime/compiletime error's

It often occurs that we just need to create a temporary file (similar to notepad ) where we  write code and run/ check for error. I do agree we have new file creation that creats file instantly but that fails to run  unless saved in a specific folder. I wish we can have temp file that will i can run while I test code and don't have to look back at 100+ files that i made just for this reason

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


can not use @minecraft/server-net - 1.0.0-beta module

well when import the @minecraft/server-net -1.0.0 module it shows:
[Scripting][error]-Plugin [My script behavior pack by towrabbit - 0.0.1] - [main.js] ran with error: [ReferenceError: Module [@minecraft/server-net] not found. Native module error or file not found.]

[Scripting][warning]-Plugin [My script behavior pack by towrabbit] - module [My script behavior pack by towrabbit - 0.0.1] depends on unknown module [@minecraft/server-net - 1.0.0].

and set it in manifest to
{
  "module_name": "@minecraft/server-net",
  "version": "1.0.0-beta"
}

not work either
minecraft version is 1.19.51
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 7ba652b9-82f1-d9c5-6cb1-210a0e9f50f7
Version Independent ID: 7ba652b9-82f1-d9c5-6cb1-210a0e9f50f7
Content: minecraft/server-net Module
Content Source: creator/ScriptAPI/minecraft/server-net/minecraft-server-net.md
Product: gaming
GitHub Login: @JakeShirley
Microsoft Alias: jashir

This module can only be used on Bedrock Dedicated Server.


More efficient implementation of NonEmptyList

Similar to my comments on Reddit :)
Notice a few things:

NonEmptyList only holds one reference.
NonEmptyList.equals() is much more efficient than current main branch implementation. The main implementation is creating a new list every single time someone checks equality.
the head, tail constructor does one allocation instead of two.
All of the plus operators do less work. Some do significantly less work (e.g., List.plus(value): NonEmptyList).
Since plus operations will only ever increase the size of the list, there is no need to use the "safe" constructor- which also helps the performance gains mentioned above.
The plus operations that involve a NonEmptyList intentionally unwrap it so that we don't end up with a deeply nested object after many plus operations. This would be a space leak.

The same approach could be applied to the other collections, but I wanted to just PR this one first before wasting my time :)

Really nice! Feel free to open PRs for sets and maps too

I'll see about the other two tonight.
Cheers


Where to begin contributing?

I'm a fairly new Lisp hacker but I want to write notes as I learn and possibly turn them into parts of this book along the way as I research various topics for everyone's profit.
Where do I begin contributing to this though? LLTHW's webpage marks almost all chapters as pending review or incomplete. I'd also like some pointers from someone who's already working on the book so we don't duplicate each other's effort or otherwise miss each other's ideas and thoughts.

Thanks for your interest in Learn Lisp The Hard Way! We are not currently accepting new contributors, as the third draft is well under way and will be posted online once it is completed in full.
That being said, we are advocating both an "active reading" methodology and a greater emphasis on drills in the third draft, so you are certainly on the right track.  Feel free to post your notes and related research on your blog and let us know where to find them!

Which exactly blog is on your mind? Do I have any default GitHub blog I'm oblivious of?

thanks!

No problem! Please also give me a ping whenever the new draft goes online at the official WWW.

Thanks for your interest in Learn Lisp The Hard Way! We are not currently accepting new contributors, as the third draft is well under way and will be posted online once it is completed in full.

I hereby express doubt in the latter part of the sentence after more than a year has passed without a single commit in this repository.
What's going on?

I've been working on it. Perfection takes time, but anything less isn't worth posting.

At least please let us know that this project isn't dead - and preferably post some information about progress.

Okay. I think I now know where to begin contributing.
Thanks, and sorry for my impatience when I was young and stupid.


[Bug?]: how to prerender *404 page?

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
when i prerender /about it creates a about/index.html file correctly. but when i prerender "/*404" it generates nothing.
Expected behavior 🤔
No response
Steps to reproduce 🕹
import { defineConfig } from "@solidjs/start/config";

export default defineConfig({
  server: {
    preset: "cloudflare-pages",
    prerender: { routes: ["/*404"] },
  },
});

Context 🔦
No response
Your environment 🌎
No response

I dont think this is possible with Nitro? I'm not sure this is a SolidStart problem?

I dont think this is possible with Nitro? I'm not sure this is a SolidStart problem?

well, since solidstart uses nitro, it is a solidstart problem even if it originates from nitro

using the code provided with these versions
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
cloudflare-pages

but you probably don't need it for this preset as workers can already serve a 404 page
cloudflare-pages-static
import { defineConfig } from '@solidjs/start/config';

export default defineConfig({
  server: {
    preset: 'cloudflare-pages-static',
    prerender: {
      // crawlLinks: true, // required for `cloudflare-pages` preset
      autoSubfolderIndex: false,
      routes: ['/404'],
    },
  },
});

This might be what you want which also generates a redirect rule /* /404.html 404 which for some reason
is not supported yet
But 404.html will be detected and will be used as 404 redirection expcept for /404 which returns 200

I would expect you to be able to put /404 and have it work because it doesn't exist. The thing is 404 page doesn't exist so to make it exist you need to put it in the list. And it should match the star route. From there you can set up your redirect rules in your provider to point to that page.


Backport idle timeouts

Backport https://github.com/apache/cassandra/commit/0240a46 from Cassandra 3 for added security: clusters can now optionally set native_transport_idle_timeout_in_ms to specify a timeout in ms after which idle cqlsh sessions should be logged out automatically
The only differences from the Cassandra 3 implementation is that it has been moved later in the pipeline due to netty changes (and as a result, the first IdleStateEvent fired counts from the beginning of the connection and does not factor in later read/writes, which is also handled by this implementation), and another test case has been added

superseded by https://github.com/palantir/cassandra/pull/476


(maint) Support for a few more SSH options

These commits will prevent host key checking / host file littering when accessing the VMs and also adds support to specify an SSH key via environment variable.

@underscorgan hey apologies that this has sat around for a while. I've been out of the country and haven't even opened a laptop in a few weeks. I'll look at this later this week :)

@briancain no worries, thanks!

Closing this PR, haven't had time to work on it and haven't been using the workflows where I was running into these issues any more.


生产和开发环境下如何正确引入组件及css？

Version
0.1.1-rc3
Android or iOS, which browser?
both
Your Codes
Expected behavior and actual behavior.
Steps to reproduce the problem

第一个问题，按照文档中的第二种方式引入，在vux文件夹下没有此文件。如下图:

和

第二个问题，按照文档中第一种方式引入，less提示找不到文件。

import PopupPicker from 'vux/src/components/popup-picker'
import Group from 'vux/src/components/group'
import Picker from 'vux/src/components/picker'
import XButton from 'vux/src/components/x-button'

@import '~vux/dist/vux.css';

装过less-loader和添加过配置
；
在npm run dev时报如下错误:

模板用的都是vue-cli 的webpack版本。
指导一下，谢谢啦~

I forgot to update css path.
Vue's webpack template doesn't include less-loader, so you have to install it yourself.

i have already install less-loader，but no ues.

also have errors:

ok ,thank you very much.
it's run ok.
last question,what's the differences between import Components form src/ and dist/

@zhuqiuyang
Using src/component/*.vue will reduce the js bundle size after building and you don't need to include each component's style.

@airyland oh,it's cool. I know.

@zhuqiuyang
使用 src 引入还是出现问题，你是怎么解决的？


Preliminary HTTP binding

This is an initial cut of a HTTP binding with a POST sender and a Handler receiver.
It does not yet have all the features of the transport/http (response events, long poll etc.) I expect to add them as alternative impls of Sender/Receiver/Requester.

Looking....

I have made a mistake. I merged #253 already because it looked good. 😬

closing, https://github.com/cloudevents/sdk-go/pull/253 was a superset of this PR. Alan as +1'ed this idea.


Event request on table 37

I need an event on table 37 on functions:
Amount - OnValidate
"VAT Calculation Type"::"Sales Tax":
BEGIN
SalesHeader.TESTFIELD("VAT Base Discount %",0);
"VAT Base Amount" := ROUND(Amount,Currency."Amount Rounding Precision");
"Amount Including VAT" :=
Amount +
SalesTaxCalculate.CalculateTax(
"Tax Area Code","Tax Group Code","Tax Liable",SalesHeader."Posting Date",
"VAT Base Amount","Quantity (Base)",SalesHeader."Currency Factor");
OnSalesTaxCalculateTaxValidateAmount(Rec,SalesHeader,Currency); // I nedd this event
IF "VAT Base Amount" <> 0 THEN
"VAT %" :=
ROUND(100 * ("Amount Including VAT" - "VAT Base Amount") / "VAT Base Amount",0.00001)
ELSE
"VAT %" := 0;
"Amount Including VAT" := ROUND("Amount Including VAT",Currency."Amount Rounding Precision");
END;

[IntegrationEvent] OnSalesTaxCalculateTaxValidateAmount(VAR SalesLine : Record "Sales Line";SalesHeader : Record "Sales Header";Currency: Record "Currency")
And on function: UpdateVATAmounts
"VAT Calculation Type"::"Sales Tax":
BEGIN
Amount := ROUND(CalcLineAmount,Currency."Amount Rounding Precision");
"VAT Base Amount" := Amount;
"Amount Including VAT" :=
TotalAmount + Amount +
ROUND(
SalesTaxCalculate.CalculateTax(
"Tax Area Code","Tax Group Code","Tax Liable",SalesHeader."Posting Date",
TotalAmount + Amount,TotalQuantityBase + "Quantity (Base)",
SalesHeader."Currency Factor"),Currency."Amount Rounding Precision") -
TotalAmountInclVAT;
OnSalesTaxCalculateTaxUpdateVATAmounts(Rec,SalesHeader,Currency); // I need this event
IF "VAT Base Amount" <> 0 THEN
"VAT %" :=
ROUND(100 * ("Amount Including VAT" - "VAT Base Amount") / "VAT Base Amount",0.00001)
ELSE
"VAT %" := 0;
END;
[IntegrationEvent] OnSalesTaxCalculateTaxUpdateVATAmounts(VAR SalesLine : Record "Sales Line";SalesHeader : Record "Sales Header";Currency: Record "Currency")

Should be posted in ALAppExtensions: https://github.com/Microsoft/ALAppExtensions/issues


add Skeleton ui toolkit to UI libraries

Please see this pull-request to add the awesome Skeleton ui toolkit to the list: https://github.com/TheComputerM/awesome-svelte/pull/86
The list of UI libraries does contain some abandoned ui toolkits. I like to add Skeleton to the list, because it is actively maintained and really awesome. I am using Skeleton for some days now and sure that my future project will make use of it. In my opinion, it could move up the UI libraries list a bit. If you think so, too, I can adapt my pull-request accordingly.

That's fine, I also plan to add a not maintained tag to the entries.

Closing as PR is merged


Proof search

Proof Search in 0.19？？

Proof Search in 0.19？？


WIP: Make examples ESM and add ESM to node-ble

Changed package.json type for both matter-node-ble.js and matter-node.js-examples to "module".
Added missing .js file extension for matter-node-ble.js.
Added require that works in both CJS and ESM using Node.js package.json. Other better ways?

I need to check the exports on a big screen (just mobile right now) but yes that require thingy seems to be that way as only available option. Will check latest tomorrow.

I am thinking about importing the dual format require with relative path as well, what do you think?

@vilicfor the "require": We could also simply make the "loading"methdod async and use await import?

@Apollon77 Yes but that would introduce noticeable changes. Currently both bleno and noble usages are synchronized, as top level await is only supported in esm (actually relatively recent esm).

wait ... look deeper ... bleno and noble requires ia both "lazy" in a method, e,.g. https://github.com/project-chip/matter.js/blob/main/packages/matter-node-ble.js/src/ble/BlenoBleServer.ts#L31 so it is not top level :-)
so when we make this "Initialize" method async then all should be fine

Yes, I mentioned top-level await because if that could be done, there's nothing need to change elsewhere.
And asynchronousness is contagious, I took some reference looking up, and there might be a tree to update. I'll do whatever you want. ;)

Yes, I mentioned top-level await because if that could be done, there's nothing need to change elsewhere.

I think given the migration to ESM top-level await is fine, desirable even in this case.

SO tehe question is still if we should use this "extra exposed require" or if we just switch the "Inititialize" methdos to async and use an await import there ... then we do dnot need this requiets special stuff

Switching to async initialization would be ideal but I'd leave up to @vilic since he's doing the work. :)  Could also accept with the require and add a TODO for swapping to async.
@vilic FWIW we've dealt with "cascading async refactors" before and they aren't usually too terrible since a lot of our initialization code is already async.

@lauckhart  I'll leave the PR as-is then. 😄
I just tried the "cascading async refactor" (nearly finished) but as it changes some API (e.g. Ble) and I don't feel good changing the API for compatibility with legacy versions of runtimes.
Also, there are some issues with Bleno initialization refactor that might require putting things in different places which I think would require aligning with your preferences.
I think it's better to be done by you guys so you can make sure there's no unnecessary compromises.

I know it's a bit late :-) But "npm run bundle-device" in the examples directory no longer works:
[ERROR] Could not resolve "dist/cjs/examples/DeviceNode.js"
Is that a result of this change?

@JimBuzbee Seems to be caused by this PR. You may temporarily fix this by replacing all cjs in packages\matter-node.js-examples\package.json with esm. Will submit another PR to fix.

@JimBuzbee I have submitted a PR fixing this, please check it out.

Fix released as new Nightly

@vilicvane  - Thanks for the quick response - works for me now.

Next nightly is also on it's way, sorry


Predefinded devices

Issue type
[X] Feature request
[ ] Bug report
[ ] Documentation

Environment

Python version:
NetBox version:

Description
It would be nice to have a collection of device types (e.g. EX-3300-24P, CAT6840, ...)  already included in Netbox so you don't have to add all kinds of devices yourself.

This request directly contradicts the decision made in #451


Error: [ERROR] not-found: Unable to find a document with the given identifier for the provided collection path

Received incident alert for checkAndRemoveBlockingContributor Cloud Function instance  Oct 11, 2023, 9:59:04 PM UTC.

severity: very low
environment: production
clound function: checkAndRemoveBlockingContributor
incident alert link: https://console.cloud.google.com/monitoring/alerting/incidents/0.n3a73tt8m8g8?authuser=3&project=pse-p0tion-production
Former cases
It happended twice before:

This was caused by a manual cleanup of a participant doc, which was not removed from the currentContributor field of the circuit, hence why the checkAndRemoveBlockingParticipant failed as there was no doc for this user in the participant collection.


Passing a configure option containing spaces

I want to run ./configure cppflags="-DYJIT_FORCE_ENABLE -DRUBY_PATCHLEVEL_NAME=test" for building CRuby with ruby-build.
That configure command works fine if you run it directly, but if you try to do the same thing on ruby-build, it fails:
$ RUBY_CONFIGURE_OPTS='cppflags="-DYJIT_FORCE_ENABLE -DRUBY_PATCHLEVEL_NAME=test"' ruby-build 3.3.0-dev ./install
To follow progress, use 'tail -f /tmp/ruby-build.20231005150224.182880.log' or pass --verbose
Cloning https://github.com/ruby/ruby.git...
Installing ruby-master...

BUILD FAILED (Ubuntu 22.04 using ruby-build 20230912-1-gc6e924e)

Inspect or clean up the working tree at /tmp/ruby-build.20231005150224.182880.m5ijeM
Results logged to /tmp/ruby-build.20231005150224.182880.log

Last 10 log lines:
/tmp/ruby-build.20231005150224.182880.m5ijeM /tmp
Cloning into 'ruby-master'...
/tmp/ruby-build.20231005150224.182880.m5ijeM/ruby-master /tmp/ruby-build.20231005150224.182880.m5ijeM /tmp
configure: error: unrecognized option: `-DRUBY_PATCHLEVEL_NAME=test"'
Try `./configure --help' for more information

bash seems to be splitting the environment variable with spaces regardless of the quotes. So I believe it's impossible through RUBY_CONFIGURE_OPTS or any environment variables.
WDYT about accepting configure options on command line arguments, e.g. ruby-build <definition> <prefix> -- <configure opts>? You'd be able to properly propagate those arguments to ./configure as an array using "$@".

It's true that it's not possible to pass quoted values with spaces via RUBY_CONFIGURE_OPTS since quote-splitting a string in bash is non-trivial without the use of eval (which is not safe).

WDYT about accepting configure options on command line arguments, e.g. ruby-build <definition> <prefix> -- <configure opts>? You'd be able to properly propagate those arguments to ./configure as an array using "$@".

I like this idea. However, note that during a ruby-build operation, multiple different software might be compiled; most typically OpenSSL and then Ruby. I suspect that configure args given as ruby-build ... -- <args...> should only apply to Ruby ./configure invocation but not OpenSSL?

I suspect that configure args given as ruby-build ... -- <args...> should only apply to Ruby ./configure invocation but not OpenSSL?

Yes :+1:
Thank you so much for adding that feature quickly!


Some questions and feature suggestion

This is a great project, thanks to you guys for introducing me to vuejs. Learned quite a few things.
Last weekend spent few hours and crafted an android app using Cordova, vuejs, framework7 and very happy with the results.  Borrowed most of the code from this project. Hopefully, you don't have any issue with that?
Also added a couple of new features in this app, like filter object with version( very handy to see what's new stuff in the latest release). See related objects( like list all kind of pies on Cooked Berry Pie page).
This Android app has reused components from this project but the overall layout of the app is very different from this project. Now if we want "version filter" and "related objects" features here, ill love to send the PR. Thoughts?

Awesome, yeah no worries, I consider the code in this repo to have inherited the philosophy @jasonrohrer takes towards the game code itself (effectively public domain, I will certainly not be complaining if anyone uses anything in it for whatever purposes).
I'm not sure about the version filter, I believe we are sorting by version on the front page to achieve a similar effect.
For the related objects, that sounds like an interesting idea, as long as it is powered off data that can be generated automatically and doesn't rely on handmade lists.

Sounds awesome @naveed-ahmad.

I'm not sure about the version filter, I believe we are sorting by version on the front page to achieve a similar effect.

I recently changed the sort order to use object id (descending) since it roughly follows the version and further groups similar objects. I have some further ideas on showing differences between versions but not certain how much it will be worth it.
Regarding related objects, I considered adding this but thought it would overlap too much with the transitions to/from the object. I'd love to see some examples of this in action though.

Sorting by version number works great for home page listing, but it doesn't answer "which new objects were released in version X". User have to go through each object to see its version, for mobile devices it goes worst.
Sorry that's my openion, and I'm fine we don't want this feature here.
For related object, i've added related_objects field and these values are calculated based on object category.
{
"id":"645",
"name":"Fed Grizzly Bear",
"related_objects":["654","632", "631","628"],
"transitionsToward"::...
}

631: Hungry Grizzly Bear
628: Grizzly Bear
632: Shot Grizzly Bear
654: Shot Grizzly Bear - Attacking
Then showing the related object as simple list when user click on "Info" icon( simple fontawesome icon but we need a better icon for related objects). ill start moving some code from this android app and send PR in few days.

Do you have any screenshots of the app? I'd love to see how the version information and related objects are presented.

Closing this since it is covering multiple issues.
@naveed-ahmad could you create a separate issue for each suggestion? This way we can discuss them separately. Thanks!


Adding article about moving to hugo

 You should sign our Contributor License Agreement in order to get your pull request merged.

Great article!  Thank you @abhi1010!
Committed as 8e68a64 (master) and f874b13 (v0.14.docs).


chore: commitizen interactive only if message not delivered

The interactive commitizen

will be triggered only if the commit message is not provided
git commit

For other cases like git commit -m "message" , npm run release, git merge the message is only linted.

I'll give it a go with Otomi Cloud using the git extension in vs code as well as making a traditional commit with CLI just to cover every case

LGTM


Reading Kindle Books

This is separate from reading pre-recorded Audible audiobooks.
I ask Alexa to read a kindle book from my library, which doesn't have an Audible option, using branch https://github.com/lennysh/AlexaPi/tree/lennysh-music-patch-1.  She says "reading Kindle book _____", then perhaps will open a commercial for Audible (or perhaps not), then nothing.
Debug log yields (this one didn't include a commercial):
Recording... Recording Finished. Sending Speech Request... Processing Request Response... JSON String Returned: {"messageHeader":{},"messageBody":{"directives":[{"namespace":"SpeechSynthesizer","name":"speak","payload":{"contentIdentifier":"amzn1.as-ct.v1.EBottsClientId#ACRI#DeviceTTSRendererV4_b0b1becb-76e8-4e64-8479-c3197d7ee90a","audioContent":"cid:DeviceTTSRendererV4_b0b1becb-76e8-4e64-8479-c3197d7ee90a_1989703376"}},{"namespace":"AudioPlayer","name":"play","payload":{"audioItem":{"streams":[{"streamUrl":"https://tinytts.amazon.com/1/37621e17-7a5d-4a82-b812-717680f6598d-082bed/2/1458944820817/2930c6b9a2c10c8faa375db567ba559e912687590e789b18120b5098d38b33e7/resource.mp3","offsetInMilliseconds":0,"expiryTime":"2016-03-24T22:28:00+0000","progressReport":{"progressReportDelayInMilliseconds":0,"progressReportIntervalInMilliseconds":0},"progressReportRequired":false,"streamId":"amzn1.as-ct.v1.EBottsClientId#ACRI#url#ACRI#f034aa51-14cf-4c53-affb-5d064e6b44e4:5362"}],"audioItemId":"ebotts_audio_resource_group_id"},"navigationToken":"amzn1.as-ct.v1.EBottsClientId#ACRI#url#ACRI#f034aa51-14cf-4c53-affb-5d064e6b44e4:5362","playBehavior":"REPLACE_PREVIOUS"}}]}} navigationToken: amzn1.as-ct.v1.EBottsClientId#ACRI#url#ACRI#f034aa51-14cf-4c53-affb-5d064e6b44e4:5362 streamUrl: https://tinytts.amazon.com/1/37621e17-7a5d-4a82-b812-717680f6598d-082bed/2/1458944820817/2930c6b9a2c10c8faa375db567ba559e912687590e789b18120b5098d38b33e7/resource.mp3 playBehavior: REPLACE_PREVIOUS Play_Audio Request for: response.mp3 [0x1b72798] inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 [0x1b72798] main interface error: no suitable interface module Player State: State.Opening Player State: State.Playing Player State: State.Ended Play_Audio Request for: https://tinytts.amazon.com/1/37621e17-7a5d-4a82-b812-717680f6598d-082bed/2/1458944820817/2930c6b9a2c10c8faa375db567ba559e912687590e789b18120b5098d38b33e7/resource.mp3 [0x1c2f270] inhibit interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 [0x1c2f270] main interface error: no suitable interface module Player State: State.Opening [0x1c5ff78] gnutls tls client error: TLS handshake error: A TLS fatal alert has been received. [0x1c5ff78] main tls client error: TLS client session handshake error [0x1c60038] access_http access error: cannot establish HTTP/TLS session [0x1c025c8] main input error: open of https://tinytts.amazon.com/1/37621e17-7a5d-4a82-b812-717680f6598d-082bed/2/1458944820817/2930c6b9a2c10c8faa375db567ba559e912687590e789b18120b5098d38b33e7/resource.mp3' failed
[0x1c025c8] main input error: Your input can't be opened
[0x1c025c8] main input error: VLC is unable to open the MRL 'https://tinytts.amazon.com/1/37621e17-7a5d-4a82-b812-717680f6598d-082bed/2/1458944820817/2930c6b9a2c10c8faa375db567ba559e912687590e789b18120b5098d38b33e7/resource.mp3'. Check the log for details.
Player State: State.Error
`

That appears to be an mp3 link. Hmmm, wondering why it wouldn't play it? The issue appears to be with VLC, so might need to change the code a little bit to gey it to play remote mp3 files.

Just tried it again, and it works now!
Alexa will read any "eligible" (i.e. not graphic novel or something, and not blocked by the publisher) book you have in your Kindle library, via Text to Speech.


Changed hover color on cards

fixed issue #313
changed color while hovering on cards in why choose section.

Thank you @SoundaryaKoutharapu for you valuable contribution 🎉


New measurement type 'Illumination'

The addition of the measurement type 'ILLUMINATION' is necessary to be able to support lux sensors.
"ILLUMINATION" should be added to IEnumMeasurementType.
Example:
export declare type IEnumMeasurementType = "POSITION" | "TEMPERATURE" | "HUMIDITY" | "PRESSURE" | "SPEED" | "ONOFF" | "FORCE" | "FUEL_CONSUMPTION" | "DEPTH" | "ACCELERATION" | "MAGNETISM" | "ANGULAR_VELOCITY" | "VOLTAGE" | "CURRENT" | "POWER" | "ENERGY_CONSUMPTION" | "TRAWL_TENSION" | "SCALE" | "RPM" | "ROUTE" | "SPATIAL_AXES" | "ILLUMINATION";

I'm closing this issue as ILLUMINATION is also in #39


Integrating with Bazel / Nogo

I am struggling to integrate nilaway with bazel. Can the documentation be updated to include an example of how to use nilaway with Bazel / Nogo?

My quick and dirty hack with gazelle.
// Package nilaway_import exists solely to have gazelle manage the dependencies
// for "nogo" to use Uber's "nilaway" analyzer
package nilaway_import

import _ "go.uber.org/nilaway"

nogo(
  # ...
  deps = TOOLS_NOGO + ["@org_uber_go_nilaway//:nilaway"] + ...
  #
)

I too would appreciate a less hacky implementation in the documentation.

@alex-mcleod, the README is now updated with instructions for using NilAway with Bazel/nogo. I am closing this issue now. Feel free to re-open it if you face any problems.


Add New Function to AuthMiddleware to Use Either, not Option, for Determining Response

Attempts to provide a somewhat cleaner way to address https://github.com/http4s/http4s/issues/2560.
I've intended to show a use case via the unit test that I added.

I closed, then re-opened, to restart the build. I think it failed due to a flaky test.

I'm figuring this change isn't worthwhile to add, so I'll close this one, @rossabaker.


Specialized MBID Types

Do you mean something like this?
https://github.com/Holzhaus/helicon/blob/3dfb7318dd415694beeddff0412cbe73b2ba0405/src/musicbrainz.rs#L280

Not an enum, but actual structs. Could help specify types for functions, so that you need to specify that it's a recording mbid and not an artist one.
This is kinda NonZeroU32 type of pedantic, but that's my level of pedantic.

I mean you could always use https://crates.io/crates/uuid.

Uuid is too generic. I just really want a special type for it so it can be clear when passing it through a function that I want a specific MBID, not just a UUID nor String. I did something similar here but it could be useful upstream.
For now I don't need it but I prepared the issue in advance

I didn't mean using a raw UUID, rather wrap it like this:
struct MusicBrainzId(uuid::Uuid)

Then you know that the MB ID is actually a valid UUID.


When will it be available for production?

I saw this project status is beta?
so, when will it be available for production?

Kafka Lag Exporter has always been a community project. There isn't much of a roadmap beyond what what was contributed in the first few months following the first release.  Since then it's evolved considerably and a number of users have battle tested and hardened it with bug fixes.
I'm not sure I'll ever be comfortable saying it's "ready for production" since this isn't actually a supportable Lightbend project. However I am open to to changing the "project status" wording in the README and replacing it with "This is a community maintained project", with all the usual caveats that includes.

Along these same lines, are there any data points for the size of deployment Kafka Lag Exporter can handle?  For example, maximum number of consumer groups and data points that can be consecutively monitored?
I have also been trying to see if there is any way to "scale out" Kafka Lag Exporter to give confidence with large Kafka deployments but haven't found anything along those lines yet.

I haven't performed any scaled benchmarking of Kafka Lag Exporter.  FWIW, it's implemented in Akka, and will take advantage of multiple threads based on the settings of the default Akka thread dispatcher.  It theoretically could handle a large number of partitions and could be tuned by allocating more resources (if in a containerized environment) to it as needed.
There are ways to filter the topics that are reported in order to limit how many API calls it makes to the Kafka cluster.  You may also define the minimum interval that Kafka Lag Exporter polls the cluster to reduce load that way as well.


Images do not render while in a poetry shell.

Hi, I have noticed that images do not render while in a poetry shell. There is no issue when the virtual environment is created without poetry.

I still have the issue with this minimal neovim config
local plugins = {
  {
    "3rd/image.nvim",
    dependencies = {
      'leafo/magick',
    },
    config = true
  },
}

-- bootstrap lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    "--branch=stable", -- latest stable release
    lazypath,
  })
end
vim.opt.rtp:prepend(lazypath)
local opts = {}
require("lazy").setup(plugins, opt)

I use kitty with arch linux.

It's weired. In my case, image shows up, but image size was incorrect.

I created simple script (based on kitty's code) to get terminal and pixel size and did some experiment.
It seems that in poetry shell or pipenv shell etc, new pseudo terminal is allocated for the shell.
In that pseudo terminal, kitty cannot get correct terminal pixel sizes and fail to render image in appropriate sizes.

MacOS 13.7 and KItty version is 0.36.4.

I guess it's not something we can / should handle, right?

The essential problem seems that we cannot get correct terminal size in pixels with ioctl() inside environment like poetry shell. image.nvim also use ioctl() for getting terminal size in pixel.
https://github.com/3rd/image.nvim/blob/25676deed3d5cba3d8dda0f2a0e9c0b71a4aaab6/lua/image/utils/term.lua#L34
Eventually image_rows (renderer.lua) becomes inf, and I guess it leads incorrect image size or complete disappearance of images.
https://github.com/3rd/image.nvim/blob/25676deed3d5cba3d8dda0f2a0e9c0b71a4aaab6/lua/image/renderer.lua#L14
We cannot change ioctl() behavior in this plugin code, so basically we can not handle this problem, I think.
Possible workaround is to get terminal size in some different way.
There is a control sequence (\x1b[14t) to get terminal size in pixels. (c.f. xterm control sequences)
It seems that this control sequence can correctly get size in pixels even when I am in poetry shell environment.

I'd say it's out of scope, thanks for the investigation @sankantsu!


angular-yammer feed webpart

Q
A

New sample?
yes

What's in this Pull Request?
This new sample angular-yammer feed webpart displays the yammer feeds for the given group id and domain.

@sprider,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

thx Joseph, this is unfortunately targeted now to master branch and typically we would ask to resubmit, but will do cross sync for now, so that we get this included in our March release notes. In the future would appreciate if you would target by default dev branch. Thx.

Sure @VesaJuvonen.
Thank you.


Need to enable HTTPS for Insilico for Stripe

Need to enable HTTPS for Insilico for Stripe integration. Some users are reporting issues with loading the stripe payment portal.

Also site is not secure for some people, not sure how to fix that

Are you sharing the https:// link? if you share just http://insilicotrading.info that'll result in a "non secure site"

I can't replicate the issue on my terminal, please let me know:
To Reproduce
Steps to reproduce the behavior:

The exact link the user is clicking
User e-mail
The package he/she's attempting to buy

if on Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]

if Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]

@FloodThinkingUSD

Are you sharing the https:// link? if you share just http://insilicotrading.info that'll result in a "non secure site"

Even accessing the site this way is not triggering a non SSL alert, just tested on Chrome and Edge.

Can you force https redirect? People can still access the http version

I've added a middleware to redirect any person getting into http:// so it sends them back to https://
This is a blind fix as I was unable to replicate the issue, so lmk if it does persist

Ya and https://www.insilicotrading.info/ works, but https://insilicotrading.info/ doesn't

Thanks !

Will get to work on it, couple minutes more.
I'm apologise the whole password reset took me so long, I messed it up when adding the email templates.

No problem man

Should be working already.

when you just type in insilicotrading.info it is a non https website. Any way to redirect this?

Right, it stopped working when I added the non "www" redirection. Give me some more time so I can get both working at the same time


Add alias -c | --config for tsc command line tool

Search Terms

config configuration implicit typescript tsc tsconfig tsconfig.json tsconfig.*.json commandline cli command-line specify project-specific build
Suggestion

Took a while to figure out that -p | --project accepts a config file. We should include -c | --config alias, to be explicit.
Use Cases

Prevent human suffering and additional open issues.
Examples

// Imagine that "server" and "client" have incompatible dependencies.
tsc --config .tsconfig.server.json --outDir ./dist/server/
tsc -c .tsconfig.client.json --outDir ./dist/client/

// Without this, you have to make config backflips, or move all your directories around, or execute builds from different paths, etc.
Related issues:

https://github.com/Microsoft/TypeScript/issues/5858 -- closed without explanation (the given explanation, "doesn't support currently" is circular logic, not a valid explanation).
https://github.com/microsoft/TypeScript/issues/2869
https://github.com/microsoft/TypeScript/issues/5705

Checklist
My suggestion meets these guidelines:

[X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[X] This feature would agree with the rest of TypeScript's Design Goals.

It already exists as --project or -p. Compiler options.

@j-oliveras -- so is the tsc workaround just to always assume config based on the directory? If so, it might work for most use cases, but it's not the same thing and it's unusual behavior for a compiler.

Looking through the config, I realized that the -p|--project flag also accepts a config file! The parameter name is just so confusing. This is probably why so many issues have been opened on this subject. Honestly, the flag -c | --config should be added to prevent further human suffering, I can't think of a reason not to add this. Thanks for the help @j-oliveras.

Re-opened with the updated feature request topic.

From tsc --help:

Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'.

From https://www.typescriptlang.org/docs/handbook/compiler-options.html:

The argument can be a file path to a valid JSON configuration file, or a directory path to a directory containing a tsconfig.json file.

This is made very clear in the documentation.  What made you think "project" was necessarily synonymous with "directory"?

Please don't crowd the CLI with useless options.

@fatcerberus — every other CLI on earth

To be clear, the issues you referenced are for people asking for the ability to do the thing that you didn't realize you could do.
It doesn't seem like creating two flags with different names that do the same thing is going to help the problem of "People who don't read the documentation are confused".


error in the script

NodeJS is complaining there's an error in your script when I try to run it:
events.js:141
throw er; // Unhandled 'error' event
^
Error: listen EACCES <IP_ADDRESS>:80
at Object.exports._errnoException (util.js:837:11)
at exports._exceptionWithHostPort (util.js:860:20)
at Server._listen2 (net.js:1218:19)
at listen (net.js:1267:10)
at Server.listen (net.js:1363:5)
at Object. (C:\Users\Adam24\AppData\Roaming\Twister\twister-proxy
-master\twister-proxy.js:209:24)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)

Hi Adam, Node.js doesn't allow normal users to start services on port numbers lower than 1024 (such as standard HTTP port 80) for security reasons. There are two ways to resolve it:
1 - Edit settings.json and change "http_port": 80 to a higher number. It will then run under any user.
or
2 - If you want to use standard HTTP port, run the server as root: sudo node twister-proxy.js &
This is already explained in the readme file, but I forgot to handle the exception and display a meaningful message there so that the "listen EACCES" doesn't confuse people, thanks for reminding me.

But how would I run as root on the Windows command prompt?
On Sunday, September 27, 2015, digital-dreamer<EMAIL_ADDRESS>wrote:

Hi Adam, Node.js doesn't allow normal users to start services on port
numbers lower than 1024 (such as standard HTTP port 80) for security
reasons. There are two ways to resolve it:
1 - Edit settings.json and change "http_port": 80 to a higher number. It
will then run under any user.
or
2 - If you want to use standard HTTP port, run the server as root: sudo
node twister-proxy.js &
This is already explained in the readme file, but I forgot to handle the
exception and display a meaningful message there so that the "listen
EACCES" doesn't confuse people, thanks for reminding me.
—
Reply to this email directly or view it on GitHub
https://github.com/digital-dreamer/twister-proxy/issues/8#issuecomment-143528660
.

--
--Adam Robertson-- (write back)


graalvm8-19.0.0: minor fixes

Motivation for this change

Just came back from launch, will merge, but wont test locally for now. Let's see what ofborg does!


gcsbackupstorage: change bucket.List to bucket.Objects

The List method is deprecated and is going away soon.
I confirmed that this compiles, but I cannot test. When I
run "go test" in the parent dir, I get an error message about
pkg_config that I don't understand.

LGTM
Thanks for the PR.
The Travis test is currently failing because the new dependency is not added to vendor.json yet.
Can you please do that?

Install govendor if you don't have it yet.
go get github.com/kardianos/govendor

make sure you're in the root of our repository

vendor the new package
govendor fetch google.golang.org/api/iterator

if necessary: update the vendored version of the storage package as well.
govendor fetch cloud.google.com/go/storage

Add the updated vendor file to your commit:
git add vendor/vendor.json
git commit --amend

re: tests. We currently do not have tests for this code.
I'll verify it manually using our Kubernetes Getting Started guide once the change is committed.
Thanks!

Jonathan, thank you for the fix of the vendors file!
I've minimized the changes a bit.
I've merged this now and will do the manual test with our Kubernetes images on GCE.


Update gitignore

Not sure if the pfx file should get added back, but the rest are local user files

No problem, feel free to fix internally

ok will do thanks!


Meson command needs more dependencies

When I try to use the meson command in the step 3, gives me a problem with two dependencies, you need to install uthash with sudo pacman -S uthash and asciidoc with sudo pacman -S asciidoc. If you havent It gives you this two errors:
man/meson.build:3:1: ERROR: Program 'uthash' not found or not executable
man/meson.build:3:1: ERROR: Program 'a2x' not found or not executable

Tysm for this! I guess uthash was missing from the readme, added!


Add Chain Blog post

We can only merge this when Cats 1.3.0 is released, I'll also need to do some proofreading.

@kailuowang I was going to add some more technical documentation including how exactly it works under the hood :)

Finally, Typelevel has a blog chain. :laughing:


test-branch/execute-job/quoted-authorization/a954c481-4c49-4d54-b378-5cec8c406b91

PR for testing c5fbf2f95339443cc6ec1d1824fa9546f4af3dd6

/canonical/self-hosted-runners/run-workflows c5fbf2f95339443cc6ec1d1824fa9546f4af3dd6


implement nexthop/arp refreshing

We need a way to keep the nexthop cache up to date by sending periodic arp requests.

Fixed in 778bd652b3edca5d3e27cfe35722e657e094e138


[Feature]: allow default for unlabeled PRs

Please describe new feature
I'd like to be able to automatically handle unlabeled PRs.
If all PRs are unlabeled it will bump minor/patch based on config.
Environment

OS:

Anything else?
No response

@lukasz-mitka
That's a good idea.
Thank you for good one.

@lukasz-mitka
We no longer maintain patch labels.
If it cannot find a matching label in the major and minor labels, it treats as a patch version increase.
Thank you for your opinions.

Works for me. Thank you very much for implementing this!

@lukasz-mitka
Thank you for checking changes.

Apologies, I wasn't clear. I meant the solution is ok. Didn't test it yet.


Update branch.

该 PR 相关 Issue / Involved issue
Close #
完整路由地址 / Example for the proposed route(s)

Done.


⚠ CodePush has degraded performance

In 9d3faef, CodePush (https://codepush.appcenter.ms/v0.1/public/codepush/update_check?deployment_key=Fzqu71x4FXhOaKcAiwpqXkFQddjgYl2dIUW2K&app_version=4.4.1) experienced degraded performance:

HTTP code: 200
Response time: 10786 ms

Resolved: CodePush performance has improved in 97658b0.


Error: incorrect header check at Zlib.zlibOnError [as onerror]

Version or commit hash:
3.6.4
Explanation of issue:
error with zlib when going to certain sites.
Example code to reproduce:
require('snekfetch').get('http://www.gibson.com/News-Lifestyle/Features/en-us/10-Power-Ballads-Fueled-by-Gibson-Guitars.aspx')
	.then(console.log)
	.catch(function(error) {
		console.log('Trying to catch the error, but I cant!')
		console.error(error)
	})

Issue occurs in node

fixed in f22d100724d9156cfe2658aac976d4663d39b7d0

@devsnek It wasn't actually fixed. I feel like its from the Unzip object from CreateUnzip and not the stream.

@MichaelPriebe it actually is attached to the unzip... so whatever your issue is it isn't from that.

I mean installing 4.0.0 and doing the code above gets me the same error.

@MichaelPriebe the changes haven't been published to npm yet...


ci: update pip constraints and pre-commit config

Automated changes by create-pull-request GitHub action

Will be closed by #345


improvement/GEODE-8002 Refactor: Extract class to encapsulate concurrent execution

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, check Concourse for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

@pivotal-jbarrett @dschneider-pivotal i'd appreciate an eye on this!


Disable search for FHIR Binary

Future work:

Track and add Binary resources in $export operation

I'm not sure how valuable this is in current form, because we currently do not export Binary contents anyway
Internally, Medplum stores Binary contents in a BinaryStorage (i.e., AWS S3 or the file system)
The FHIR Bulk Export API does not mention anything about how to handle this case
We could try to jam it into Binary.data as a base64 encoded string
But we routinely process massive 1GB+ files, which would not work at all
We could try to set some kind of threshold?

Review behavior of includeIds in Project/{id}/$clone operation

The existing API assumes that IDs are unique across resource types
That is true today, but we are actively preparing for that not to be true

One thing, can we get a test for getBinaryIds() for coverage? 😄

@ThatOneBro  ✅


Keras callback - on_batch_end uses all training data instead of current batch

I am trying to create a custom callback that saves the model predictions and targets for each training batch. However, the model is not using the current batch for prediction, but the entire training data.
How can I hand over only the current training batch to the Callback?
And how can I access the batches and targets saved in self.predhis and self.targets during training?
callback_list = [prediction_history((self.x_train, self.y_train))]

self.model.fit(self.x_train, self.y_train, batch_size=self.batch_size, epochs=self.n_epochs, validation_data=(self.x_val, self.y_val), callbacks=callback_list)

class prediction_history(keras.callbacks.Callback):
    def __init__(self, train_data):
        self.train_data = train_data
        self.predhis = []
        self.targets = []

    def on_batch_end(self, epoch, logs={}):
        x_train, y_train = self.train_data
        self.targets.append(y_train)
        prediction = self.model.predict(x_train)
        self.predhis.append(prediction)
        tf.logging.info("Prediction shape: {}".format(prediction.shape))
        tf.logging.info("Targets shape: {}".format(y_train.shape))

Looks like this has been answered on SO: https://stackoverflow.com/questions/47079111/create-keras-callback-to-save-model-predictions-and-targets-for-each-batch-durin


Metadata early initialization

Helllo!
here https://github.com/DamienHarper/DoctrineAuditBundle/blob/master/src/DoctrineAuditBundle/AuditConfiguration.php#L114
Metadata initialization very early and its break my loadClassMetadata listener, because there are no listernes in eventManager at this moment and metadata initialized once..
what about change direct access to AuditConfiguration::$entities and use AuditConfiguration::getEntities() everywhere and make update entities list by annotation loader once here?
or may be make service are lazy but lazy params dont work in my hands:(
what do you think ?

#117 one of possible solution

I close this issue since #117 has been merged.


Source

Hi!
What do u need, where are u looking for, what do u know and have already?
Maybe i can help.....

not much info rn,
currently, i only have info. (checkout the wiki)
right now I need a dump of the firmware, if you want to try to dump yours, i can help.
BUT
you will need soldering skills, to dump it. so if you have a mig switch, you can help... but its pretty risky.
wait... an easier way
(but the mig switch dumper may (most likely) will require no soldering. (a usb connection, and esptool.py, to get it into flash mode). the usb connection is assuming the port is connected to the esp32 (for usb-cdc).
overall
yea, only help if you can, you understand what can happen (if this is team executer, they may brick it when dumped), and you really want to.

I have both..and have lot of solderingskills..

ok, contact me at @dumbbutskilleddev on discord, ill probally get back with you in 2 hours (i got stuff going on).
and whats your discord username (asuming you have it, if you dont ill figure somthing out)

Its @Poseidon_1987NL  ive send u a friend request

contact me when your ready!


Memcached support?

Do you have plans to add memcached? I have tried to add it but it doesnt seem to work. I would love to see that implemented.

@1hakr sure, in a day or two I'll add it.

@arash16 thanks a lot! Eagerly waiting for it.

@1hakr just published it, let me know if everything works as expected.

I tried i but i'm getting this error
 ERROR  Cannot read property 'isCacheableValue' of undefined                                                                                17:58:01

  at MemcachedClient.isCacheableValue (node_modules/cache-manager-memcached-store/index.js:143:20)
  at node_modules/cache-manager/lib/multi_caching.js:228:22
  at node_modules/async/lib/async.js:181:20
  at Object.async.forEachOf.async.eachOf (node_modules/async/lib/async.js:233:13)
  at Object.async.forEach.async.each (node_modules/async/lib/async.js:209:22)
  at Object.setInMultipleCaches (node_modules/cache-manager/lib/multi_caching.js:220:15)
  at node_modules/nuxt-ssr-cache/lib/middleware.js:69:17
  at process._tickCallback (internal/process/next_tick.js:68:7)

Also i see you have not added any test cases.

@1hakr sorry I didn't have time to write tests.
However I did test it with a live beta version of our site and it was working fine.
Could you provide some code, so that I can reproduce that error?

  cache: {
    useHostPrefix: true,
    store: {
      type: 'multi',
      stores: [
        {
          type: 'memory',
          max: 2000,
          ttl: 3600
        },
        {
          type: 'memcached',
          options: {
            hosts: ['<IP_ADDRESS>:11211']
          }
        }
      ]
    },
    pages: ['/']
  }

The error was happening only when using multiple stores

@1hakr it's a bug with underlying library that I have used.
I have fixed it for now and opened a pull request with that library to be fixed.

Awesome, its working. Thanks a ton @arash16


zellij: 0.20.0 -> 0.20.1

Motivation for this change
upstream update
going to staging-next because 0.20 update is on staging-next
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[X] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 145388 run on x86_64-linux 1

1 package built:

zellij


Preferences window freezes after clicking on a button

Describe the bug
I have a button in my preferences and whenever I press it, the preferences window just freezes.
Expected behavior
I expect it to not freeze, but continue working.
Screenshots
Machine (please complete the following information):

OS: Windows 10
Electron version: 18.2.3
electron-preferences version: 2.6.0

Additional context
Add any other context we should know

I also want to ask if there is option for lists/arrays to have maximum size

I have a hunch this is something simple, but my spare time is all but nil

Hi @MKstudio-Tech
Could you share your preferences object and (part of) the code which makes the button freeze?
Once we can reproduce the issue it'll probably indeed be a simple fix.
Thanks!

Hello @pvrobays , I created an issue for maximum list size and I will post my code here as soon as i can.

Hello,
I wrote wrong version of electron up there. The corect is 19.0.3
Thanks in advance for your help

Hi @MKstudio-Tech
By taking a quick look in the code I noticed we do the button IPC call synchronous. IMO this should be async as we're not interested in the result of the call. I presume that'll freeze the window. When I find the time I'll try it out and get back to you.
FYI, looking at your code, you might have issues with setting contextIsolation: false. Preferences depends on context isolation, which is the most secure option to use.

Hello,
when I tried setting contextIsolation: true the IPC stopped working and the preferences window still freezes on button press. In my preferences I have two buttons, one of them also has a listener in main.js. The windows freezes even if I press the button without listener specified, so I'm not sure that this is the issue.
Thanks in advance for your help

Well contextIsolation must be enabled for the preferences window (which is done by default). Otherwise the preload scripts would fail. For security reasons I would advice you to enable it everywhere within your application. More info about can be found in the electron docs.
Meanwhile I've found the time to test this myself. The freeze is indeed an issue. Further investigation pointed to the sendButtonClick being an ipcRenderer.sendSync call. As the called method in the main process returns immediately it shouldn't be an issue. However, as the functionality of sendButtonClick doesn't expect a return result, I would suggest adapting it to an async IPC call.
I'll create a PR to fix this.


Check if virus_properties is really a good source for this use case

See this comment by @AngieHinrichs which even contains an alternative.
Thanks a lot for your detailed explanation! I'm trying to move this over here so it's easier to find for me.
(Also, if the comment thread over at pange-designation gets locked down after too many "off topic" comments, I won't be able to comment there at all. Already happened in other issues.)

And  @svn_phd recommended that I take a look at outbreak.info for mutation prevalences.
Currently I have problems with it, neither the website nor the API seems to work properly at the moment, but I will check back later.

I suggest to look at covspectrum too.
Maybe you could open an issue there  asking them (@chaoran-chen) to add a tool there to download mutations list in machine readable format.
The advantage with Cov-Spectrum would be you can choose country and period restricting the mass of mutations to the ones really circulatimg in that determined place and period.

Hi everyone. I was just reading this issue here. Do the following APIs look useful to you?
Mutations of BA.1 globally:
https://lapis.cov-spectrum.org/open/v1/sample/nuc-mutations?pangoLineage=BA.1*&minProportion=0.01
Pango lineage with the C25708T mutation:
https://lapis.cov-spectrum.org/open/v1/sample/aggregated?nucMutations=C25708T&fields=pangoLineage
You can also further filter by region, dates (and much more). For example:
https://lapis.cov-spectrum.org/open/v1/sample/nuc-mutations?pangoLineage=BA.1*&minProportion=0.01&dateFrom=2022-01-01&region=Europe
Here is the documentation:
https://lapis.cov-spectrum.org/

Thanks a lot, that looks perfect!

I've been working on cov-spectrum integration yesterday. It's not yet finished, but looks promising!
Also, I've been ignoring deletions and insertions until now, because they are not present in virus_properties.json and are also ignored by some other tools. Looks like cov-spectrum handles deletions just like any other mutation, which I might do as well. @chaoran-chen is there a way to also get the insertions of a lineage from cov-spectrum?
And @CorneliusRoemer, I saw your comment there. My code (not yet pushed, will do it in the evening) currently can get current mutations lists form cov-spectrum and either generate a virus_properties.json with mostly the same syntax as your file:
 "21K": [
            "G21989-",
            "T13195C",
            ...

or it can also include the prevalence for each mutation:
        "21K": [
            {
                "mutation": "G21989-",
                "proportion": 0.9401410657729306,
                "count": 764958
            },
            {
                "mutation": "T13195C",
                "proportion": 0.9829978750416327,
                "count": 799829
            },

I don't have a use for the absolute count, so I could also break it down to:
        "21K": {
           "G21989-": 0.9401410657729306,
           "T13195C": 0.9829978750416327,
           ...

Does any of this seem useful for your work on Nextclade?

@chaoran-chen is there a way to also get the insertions of a lineage from cov-spectrum?

Unfortunately not yet. It will be possible eventually, but I don't know yet when I will be able to implement it.

Unfortunately for SARS-CoV-2 sequences there are many genome assembly pipelines in use that do not do a good job with indels, so it may be just as well to skip them.  I've seen cases where expected deletions are filled in with Ns, back-filled with reference sequence, or partially filled with read alignments that extend a bit into the deleted part of the reference genome sometimes causing false "substitutions" in the deleted region.  There is definitely enough information in the substitutions alone to distinguish between the Nextstrain clades.  (Although if properly assembled sequences with reliable indels are available, I suppose including indels could provide a more precise estimation of the breakpoint.)

Support for LAPIS / cov-spectrum is now released! The repo contains a pre-built virus_properties.json which can be updated with --rebuild-examples.
Deletions are disabled / ignored by default, but can be enabled with --enable-deletions. I'm not perfectly happy with how it works right now, but I think it's a good start:
Without deletions

With deletions

Thanks a lot for your input!

@lenaschimmel

Does any of this seem useful for your work on Nextclade?

This is pretty much how I started creating the virus_properties.json before switching to Nextclade data because covSpectrum doesn't have our clades

I just pushed an update with the new --mutation-threshold paramter. See [https://github.com/lenaschimmel/sarscov2recombinants/issues/8#issuecomment-1072895470](this comment) for more details.
I think this finally addresses @AngieHinrichs' original suggestion.

Thanks @lenaschimmel, --mutation-threshold should do the trick!
I think another tweak might be needed for --rebuild-examples, however.  In the latest virus_properties.json, and after running --rebuild-examples, the lists for 21I and 21J are empty:
        "21I": [],
        "21J": [],

-- is that perhaps because all of their defining mutations are now in 21A because of the new minimum of 0.05 when rebuilding?
21J grew much larger than 21I (almost 10x as many genomes per quick stats on the UCSC/UShER tree), so the allele frequencies in 21A are heavily skewed towards 21J.
When I run on the GenBank sequences from cov-lineages/pango-designation#471 (471.genbank.aligned.fa.gz), the label for Delta is "Delta (B.1.617.2 / 21A)" but the mutations are more like 21J because they include 4181T, 6402T, 7124T, 8986T, 9053G and so on.  Since the proposed recombinant is from 21J (like most would be by chance since 21J was so much more common than 21I, probably especially by the time Omicron was around though I have not checked dates), the recombination picture comes out perfect except for the '21A' label:

I believe there are very few Delta sequences that are 21A but not 21I or 21J, so the quickest fix might be to simply skip 21A, although I'm not sure what that would mean for mutations shared by 21I and 21J.
It should be pretty straightforward to transform my file of not-masked-for-UShER Nextstrain clade mutations to the virus_properties.json format.  I will give that a try.

There are indeed not that many Deltas (lately) that are neither 21I nor 21J. They do exist, there are a few pango lineages, but for identifying current recombinants, one can drop 21A without having to worry too much.

There's an update on #10 which is also relevant to this issue. See my comment here.


fix: autoplay interval bug

What:
Fixes #252
Automatically pause "autoplay" (isPlaying) when the user changes slides using one of these HOC control components:

<ButtonNext />
<ButtonBack />
<ButtonFirst />
<ButtonLast />
<Dot />

This mirrors the existing behavior where autoplay is paused when the user interacts with the Slider (i.e. drags on mobile).
Why:
Currently, the isPlaying interval timer doesn't reset when the user visits a slide using one of these buttons. The end result (as defined in #252) is that a user could progress to a slide and then immediately be progressed to another slide. I don't see why the user would EVER want this to happen.
How:
Set isPlaying: false in the CarouselProvider state in the onClick handler for each of the aforementioned HOCs.
Checklist:

[ ] Documentation added/updated (N/A)
[ ] Typescript definitions updated (N/A)
[x] Tests added and passing
[x] Ready to be merged

I meant to create a bugfix/* branch in my repo to merge in but accidentally committed to Master instead; NBD.

@ZLevine just so I understand from what I am reading: If a user clicks the back, next, or dot button - the timer isn't reset, it just pauses autoplay?

Correct—this mirrors the existing behavior where it pauses autoplay when a user swipes to a new slide on mobile or otherwise interacts with the slider.
I think this makes sense because, if the user is using one of the navigation arrows or clicking individual slides, they probably want to read and control the slider without it progressing on them.

@allcontributors please add @ZLevine for code

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

I think this merge resulted in a minor bug #314 . Is there a workaround?


Fix build against rustc 1.0.0-nightly (44a287e6e 2015-01-08 17:03:40)

Hello, apparently box_syntax is needed to use box.

Thanks!


fix issue #2093

Run SimpleVideoFilter demo test on iOS9 Device.
Before

After

I checked the detail log, failed reason is gem install cocoapods failed, because cocoapods need ruby >= 2.2.2, but CI worker use 1.0.1


Serialize features as JSON

This changes the implementation of save_features and load_features to
use JSON instead of pickling. This will give us greater control over
version changes, and also makes it easier to inspect the saved data.
At the top level the JSON object has the following keys:

schema_version: the version of the features schema. During
deserialization if the saved version is greater than the current
version an error will be raised.
ft_version: the version of featuretools.
entityset: the entityset metadata (all features must be associated
with the same entityset).
feature_list: an array of the names of the features.
feature_definitions: an object where the keys are feature names and
the values are objects with the data for the corresponding feature.
This may include features which were not included in the given list
but are dependencies of the features in the list.

Each feature object has the following keys:

type: the name of the class of this feature.
dependencies: a list of the names of features which this feature
depends on.
arguments: an object storing the data necessary to construct this
feature. This is generated by feature.get_arguments during
serialization, and passed to feature_class.from_dictionary during
deserialization to construct the new feature.

Primitives may be included as arguments of features, and have the
following keys:

type: the name of the primitive class.
module: the name of the module the primitive class is defined in.
arguments: an object storing the data necessary to construct this
primitive. This is built by reflecting on the signature of the
primitive's constructor and for every parameter getting the attribute
with the same name.

Since primitives classes may come from different modules or be defined
dynamically they are found by searching the descendants of
PrimitiveBase.
Other changes:

Move featuretools.__version__ to its own module. This allows it to be
imported into other featuretools modules without creating a circular
dependency.
Add EntitySet.to_dictionary() to get the entity set metadata as a
dictionary.
Add feature.unique_name(), which includes the entity id. get_name()
may not be unique in a list of features because features on different
entities could have the same name.
Add Timedelta.get_arguments() and from_dictionary.

@rwedge this is ready for review. Thanks!

Current untested scenarios:

Trying to deserialize an unknown feature class
Trying to deserialize an unknown primitive class


#11844: Add dispatch_s for asynchronously sending go signals

Ticket
https://github.com/tenstorrent/tt-metal/issues/11844
Problem description
A second dispatcher (dispatch_s) is needed to send go signals asynchronously and overlap dispatcher execution with program execution on workers.
What's changed

Second dispatcher, that is controlled by the main dispatcher and is responsible for sending go signals to workers asynchronously
Add a Launch Message Ring Buffer on the workers, to allow the main dispatcher to write launch messages and kernel config independent of worker execution
Write pointer for ring buffer managed on host. Read pointer managed on workers
All Tensix cores share the ring buffer state. All Eth cores share the ring buffer state. Tensix and Eth cores can have independent states.
This is done by sending a go signal to every tensix core for a tensix only program and every eth + tensix core for a CCL program. Program workers increment the read pointer each time a go signal is seen (kernels only initialized and run if the launch message at the current pointer is valid -> enables !=0).
Unblocks further work on Zero Latency Dispatch, allowing the main dispatcher to run ahead of workers and overlap dispatch latencies with Program Execution
3 Variants:

dispatch_s on BRISC and main dispatcher on NCRISC (tensix dispatch)
dispatch_s and dispatch_d on 2 different Eth cores (1 CQ Eth dispatch)
dispatch_s and dispatch_d in same kernel (2 CQ Eth dispatch)

This change introduces a performance regression for program dispatch, since go signals are no longer sent with the launch msg (longer path through dispatch_s used to get go signals to workers, once launch message is written by main dispatcher)
Next steps are to reduce the effects of this regressions by:

Overlapping kernel initialization on workers with go signal latency
Using stateful NOC APIs to send the go signal through dispatch_s

Misc changes
The following tools were changed to account for launch messages being placed in a ring buffer:

Watcher: During a device dump, this tool will read the launch message at the current worker read pointer, instead of reading a message at a single address. This ensures that watcher can dump the latest device state. To ensure that stale state in the ring buffer is correctly managed, workers will clear their launch message and kernel ids when they update their read pointer (this is only done when watcher is enabled).
Device Profiler: Add 2 new APIs
DeviceConditionalZoneScopedMainN
DeviceConditionalZoneSetCounter
These are used to profile the RISC FW event loops only when a valid launch message is seen.  To retain the previous behaviour, profiler should only report an iteration if a valid launch message is seen at the current slot.

Checklist

[ ] Post commit CI passes
[ ] Blackhole Post commit (if applicable)
[ ] Model regression CI testing passes (if applicable)
[ ] Device performance regression CI testing passes (if applicable)
[ ] New/Existing tests provide coverage for changes

Passing Post Commit: https://github.com/tenstorrent/tt-metal/actions/runs/11021718815
Passing T3K Unit Tests: https://github.com/tenstorrent/tt-metal/actions/runs/11021194588
Passing T3K Frequent Tests: https://github.com/tenstorrent/tt-metal/actions/runs/11021191428
Passing Device Perf: https://github.com/tenstorrent/tt-metal/actions/runs/11021198957
Blackhole Post Commit being run locally, since CI is broken


Minor grammar fix in setup.py

Coverage remained the same at 75.54% when pulling b6832919dca563b21ac8fcee356e03a51a1ae169 on guidow:grammar_fix_in_setup into 9de89671fc70ef91bb5fcdbfc14be15ff395a53b on pyfarm:master.

Coverage remained the same at 75.54% when pulling b6832919dca563b21ac8fcee356e03a51a1ae169 on guidow:grammar_fix_in_setup into 9de89671fc70ef91bb5fcdbfc14be15ff395a53b on pyfarm:master.

Oops my bad, sorry about that.  Merging.


Improved folders

Overview

I have created a folder with the intention of organising my files.

My intention was to organise my files in folders afterwards.

I didn't know how to do it and I consulted the guide.

In the guide it explains where the function to create folders is located, but it does not explain that you can only add files after creating it.

It would be very interesting to be able to organise files in folders that are already uploaded.

Thank you so much for reporting this, Eli! I'll work on this starting next week.


Table headers should be repeated for better UX

Page: https://www.thedigitalstandard.org/the-standard
There is a header at the top which has Test Name, Criteria, etc.
If someone is halfway down the page (it is quite long), they might forget what each column is for, resulting in a poor experience while trying to learn the standard.
For example:

Which column is which? Perhaps we could repeat the table header after each large green heading. I apologize if this is the wrong repository. I could not find where the actual website files are.

Thanks for the input!  You're right, that would help with readability.
I'll pass it along to the folks who are responsible for the website format
& maintenance.
-Sarah
On Sun, Nov 26, 2017 at 8:38 PM, John Jago<EMAIL_ADDRESS>wrote:

Page: https://www.thedigitalstandard.org/the-standard
There is a header at the top which has Test Name, Criteria, etc.
If someone is halfway down the page (it is quite long), they might forget
what each column is for, resulting in a poor experience while trying to
learn the standard.
For example:
[image: screenshot_2017-11-26_19-30-49]
https://user-images.githubusercontent.com/19847480/33247061-cf84ff46-d2e0-11e7-8f6b-8e793d6ab921.png
Which column is which? Perhaps we could repeat the table header after each
large green heading. I apologize if this is the wrong repository. I could
not find where the actual website files are.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/TheDigitalStandard/TheDigitalStandard/issues/61, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AQipjoBXhy9jK6b9KJaGS27udOcy6O-rks5s6hKngaJpZM4QrBP8
.

This should be fixed.


License?

What is license this demo?
Can I use this demo for develop another OSS?

Thanks for reporting @mainyaa ! I just added an MIT license

Thanks for fast response! :D


Implement 'ok' subcommand

Initial draft for the 'ok' subcommand, which probes the processor, sysfs, and KVM for SEV enablement and support. I've yet to test on SEV hardware, so some details could change this week. I'd just like some initial thoughts/critiques on code quality. Also, if there are additional features anyone would like to see added, feel free to reach out.

Your first commit subject doesn't share the same imperative voice that your other commits do. Please update it to something like "Add initial boilerplate for sevctl-ok"
Right now, all of the results are flattened, and there's no way to understand which tests depend on which tests. I would suggest arranging the tests in a tree like structure so that you can update the code that prints the tests and their results to be formatted according to their dependencies. This makes it easier to change how the results are displayed as opposed to a line, a blank line, ... etc
Just for example:
[ OK ] AMD CPU
[ OK ] - AMD SEV
[ OK ]   - /dev/sev readable
[ OK ]   - /dev/sev writable
[ OK ]   - SEV enabled in kernel
...

and so on, so forth.
Or
[ FAIL ] AMD CPU
[ SKIP ] - AMD SEV
[ SKIP ]   - /dev/sev readable
...

Also: don't forget to document this new feature.
We generate the README with cargo-readme. This means you have to update the crate doc comment in src/main.rs. Then you run cargo readme > README.md and commit the change.
You'll have to cargo install cargo-readme


chore!: Sequencer no longer proves

Removes the code path where the sequencer would submit proofs for a given block, so this reponsibility is now exclusive of the prover-node. This allows us to remove the prover instance from the aztec node altogether, and drop the PROVER_DISABLED and SEQ_SKIP_SUBMIT_PROOFS env vars since are no longer needed.
Since the sequencer still needs to submit block roots as it is publishing tx effects instead of tx objects, we keep using the orchestrator as a means to assemble an L2Block using simulated circuits, relying on a block simulator backed by the TestCircuitProver. We should be able to remove this altogether once we migrate to tx objects.

Benchmark results
Metrics with a significant change:

protocol_circuit_simulation_time_in_ms (private-kernel-tail-to-public): 2,065 (-24%)
avm_simulation_time_ms (FeeJuice:_increase_public_balance): 63.1 (-33%)
avm_simulation_time_ms (FeeJuice:set_portal): 39.2 (+295%)
avm_simulation_time_ms (AuthRegistry:set_authorized): 76.7 (+563%)
avm_simulation_time_ms (Token:_increase_public_balance): 77.3 (+258%)
avm_simulation_time_ms (FPC:pay_refund_with_shielded_rebate): 70.5 (-44%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,905 (+2%)
1,609 (+3%)
719 (+2%)
766 (+5%)
780 (+1%)

proof_construction_time_sha256_30_ms
12,150 (+2%)
3,249 (+2%)
1,436 (+2%)
1,471 (+2%)
1,508 (+2%)

proof_construction_time_sha256_100_ms
45,164 (+2%)
12,677 (+1%)
5,801 (+1%)
5,699 (+3%)
5,603 (+1%)

proof_construction_time_poseidon_hash_ms
80.0 (+3%)
35.0 (+3%)
35.0 (+3%)
59.0
90.0 (+2%)

proof_construction_time_poseidon_hash_30_ms
1,569 (+2%)
428 (+2%)
204 (+1%)
230 (-2%)
270

proof_construction_time_poseidon_hash_100_ms
5,792 (+2%)
1,560 (+2%)
683
746
765 (+2%)

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
740
740
740

l1_rollup_calldata_gas
6,692
6,714
6,716

l1_rollup_execution_gas
611,959
612,132
612,285

l2_block_processing_time_in_ms
247 (-2%)
442
799

l2_block_building_time_in_ms
9,414 (-2%)
18,587 (-1%)
36,637 (-2%)

l2_block_rollup_simulation_time_in_ms
9,413 (-2%)
18,587 (-1%)
36,637 (-2%)

l2_block_public_tx_process_time_in_ms
7,858 (-1%)
16,803 (-1%)
34,801 (-2%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
2,820 (+3%)
3,591 (-2%)

node_database_size_in_bytes
12,468,304 (-2%)
16,216,144 (-4%)

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms
bytecode_size_in_bytes

FeeJuice:_increase_public_balance
:warning: 63.1 (-33%)
8,139

FeeJuice:set_portal
:warning: 39.2 (+295%)
2,362

Token:constructor
124 (-7%)
31,107

FPC:constructor
92.7 (+1%)
22,380

FeeJuice:mint_public
77.7 (-4%)
6,150

Token:mint_public
83.9 (-10%)
11,720

Token:assert_minter_and_mint
86.4 (+6%)
8,028

AuthRegistry:set_authorized
:warning: 76.7 (+563%)
4,537

FPC:prepare_fee
252 (-11%)
8,812

Token:transfer_public
33.8 (+10%)
47,374

FPC:pay_refund
63.8 (+5%)
12,114

Benchmarking:increment_balance
990 (-3%)
7,450

Token:_increase_public_balance
:warning: 77.3 (+258%)
8,960

FPC:pay_refund_with_shielded_rebate
:warning: 70.5 (-44%)
12,663

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.158 (+4%)

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
2.15 (+1%)
3.97 (+1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.112 (+1%)
0.113 (+1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
11.8
17.7 (+1%)
30.5
58.8
112

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.114 (-1%)
0.103 (+1%)
0.0991
0.102
0.101

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
14.6 (+3%)
25.4 (-1%)
42.7 (-1%)
83.2 (+2%)
164 (+3%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.111 (+3%)
0.103 (-1%)
0.104 (-1%)
0.103 (+2%)
0.104 (+3%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
16.4
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
132
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.105
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
64,756
668,997

Transaction size based on fee payment method
| Metric |  |
| - |  |

@LHerskind @just-mitch this means all proofs will now have to go through the prover-node. Let me know if this breaks things for the consensus track before we hit merge here.

@LHerskind @just-mitch this means all proofs will now have to go through the prover-node. Let me know if this breaks things for the consensus track before we hit merge here.

I think it should be fine, we don't have the reorg handling atm so the submit proof part doesn't do much from the perspective of other nodes anyway 👍

After #7926, blocks will need to be proven before the outbox can be consumed. Might impact it slightly for the E2E tests that uses the outboxes.

Thanks for the heads up @LHerskind. Any chance you could hold off merging that one until we get this one in for provernet?


GeoMatch is not a valid attribute

I tried to configure a GeoMatch policy and received the following error:
New-AzApplicationGatewayFirewallCondition : Cannot validate argument on parameter 'Operator'. The argument "GeoMatch" does not
belong to the set "IPMatch,Equal,Contains,LessThan,GreaterThan,LessThanOrEqual,GreaterThanOrEqual,BeginsWith,EndsWith,Regex"
specified by the ValidateSet attribute.

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

ID: 7f37e9d2-9044-93ba-8ce5-cd9cc3dc64fc
Version Independent ID: 4c03470f-1e5e-62d1-fbf2-4386e3712fe6
Content: Create and use v2 custom rules - Azure Web Application Firewall
Content Source: articles/web-application-firewall/ag/create-custom-waf-rules.md
Service: web-application-firewall
GitHub Login: @vhorne
Microsoft Alias: victorh

@jdkrobinson , Can you try the same command via Azure CloudShell in Portal ?
It might be because of the Power Shell version mismatch.

I updated my Pwsh to 7 core and Az.Pwsh to 2.8.0 and it appears to have worked. Thanks. #rookieommission :-D


Update broken link in documentation

Fix broken link pointing to the ixmp api documentation.
Updating the release notes is probably not necessary for this PR :)

BTW, for me this sentence is a bit ambiguous and hard to interpret:

The MESSAGEix framework documentation includes documentation of the  ixmp Python API, which is extended by the framework.

Thanks for spotting this. Actually, since this is within the docs, you can use the :doc: role  https://www.sphinx-doc.org/en/2.0/usage/restructuredtext/roles.html#cross-referencing-documents and an Intersphinx reference: https://www.sphinx-doc.org/en/2.0/usage/extensions/intersphinx.html#module-sphinx.ext.intersphinx
:doc:`ixmp Python API <message_ix:api>`

This avoids having to hard-code any URL at all.
Could you please make that change and test that it builds?

The change is in the main README.md file of the repository. How/where is this included in the built documentation, isn't all of that documentation in the doc/source folder?

The change is in the main README.md file of the repository.

Hm, right. I guess we can't make use of that feature here, after all :upside_down_face: sorry!
I'll approve and merge as-is, then.

How/where is this included in the built documentation, isn't all of that documentation in the doc/source folder?

See for example the way the RELEASE_NOTES.rst are included: https://github.com/iiasa/ixmp/blame/master/doc/source/whatsnew.rst —so we use the intersphinx link features in that file: https://github.com/iiasa/ixmp/blob/master/RELEASE_NOTES.rst

Thanks @fonfon!


Formatter: Add end of line configuration option

Add a end-of-line configuration option similar to Prettier and editorconfig that allows configuring the preferred line ending. The option supports the following value:

lf [Default]
crlf
cr
Auto

Making Lf the default over Auto is to avoid accidentally mixing line endings in a project see.

does this feature online right now? how can I set LF as default in my pyproject.toml?

@jet-c-21 https://docs.astral.sh/ruff/settings/#format_line-ending


{AKS} aks create: Add new parameter --data-collection-settings to support for AKS Monitoring Addon in MSI auth mode

This checklist is used to make sure that common guidelines for a pull request are followed.
Sync and reuse change in PR #24777.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

Queued a pipeline to test the newly added case test_aks_create_with_monitoring_aad_auth_msi_with_datacollectionsettings.

AKS


Template.ast is not a function

I am currently getting an error using the '@loadable/babel-plugin'.
ERROR in ./src/web/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
TypeError: template.ast is not a function
    at isReadyProperty (.../node_modules/@loadable/babel-plugin/lib/properties/isReady.js:9:29)

I saw this other issue that seemed similar #150 but it didn't apply to my specific case because I am currently using webpack 4.28.4, @babel/core 7.1.2 and not using razzle in my project at all.
Any insight you could give me would be much appreciated. Thanks!

Hello @glgarrettsherm, you are probably running Babel 6 instead of Babel 7, maybe a global installation or something like it. It is a problem about your Babel configuration, not about this project.
You should try to investigate which Babel version you are running.

@neoziro Ya you are right my babel-loader wasn't up to date and was relying on an older version of Babel, so updating babel-loader seemed to fix the issue.
I appreciate you taking the time to answer!