Create Monitoring Kubernetes workloads: the sidecar pattern

I'd been emailing with Kaitlyn, but this was reviewed in Google docs (https://docs.google.com/document/d/1zz0acSPJuxm9s41HOphJFdemTQl3g6xYYQ4xlS7jwIs/edit?ts=5e5d8c78). I'm not 100% sure I got the formatting correctly, so please feel free to fix it ☺
The author for this post is Todd Campbell, Developer Advocate at Sensu

I just signed the contributor agreement. lmk if you need anything else from me!
/assign @kbarnard10

/lgtm
Pending Kaitlyn adding the meta data on the top for publishing as we discussed. Thanks!

thanks @onlydole -- those edits look good! I've accepted them all, and will be on the look out for any more.

+1 to @sftim - if those images can be moved into being hosted on this blog, that’d be ideal. It helps eliminate any issues if the image hosting sites change things or become unavailable.

@onlydole @sftim sounds good -- let me know what you need from me. I'd emailed the images to @kbarnard10 a couple weeks ago, but let me know if there's another way to share. Thanks for your review!

@bananabele you've already provided the images, it's a matter now for someone (posssibly @kbarnard10?) revising your branch patch-1 to include the images.

I can help with this over the weekend!

Update: I wasn't able to help over the weekend, but I can help take a look this week :smile:

@onlydole did you get a chance to work on this?

@sftim and @bananabele - I have not had to work on this, but would you be okay if I closed this PR and opened one so I could work on it more easily (ex. in my own branch)?

Update: Nevermind! We can fix external images in another PR. 😄

Also @onlydole I can try to help with Git-fu if that's useful.

@sftim - thank you so much! Honestly, I've been time constrained the past few weeks, but my availability is opening up quite a bit as of late :smile:

/lgtm
/approve

fyi the post is live without an author noted

👋Hey folks -- I'm wondering if I can get some insight as to why the post was removed? I did notice the author byline was missing (per @parispittman's note above); I'd included his name and bio in my initial comment/when opening the PR, with the thought that it would be included when the post was formatted. Either way, thanks in advance for helping me understand!

Hi, we received some complaints from the community that the post had factual inaccuracies about Prometheus and was too commercially oriented so we've pulled this for now. We should discuss steps forward here but not sure how to proceed.

@castrojo I suggest logging a (retrospective) issue against k/website summarising the problem(s), and mention this PR so as to link it.
Does that sound useful? The issue then provides [an anchor for discussion|a magnet for flamewars]. If the latter then SIG Docs moderation can, I hope, deal with the flames.

@castrojo Got it, thanks for letting me know! To be honest, I'm a little surprised, given the thorough review this post received before going live (both here in this PR and in a Google doc -- linked here -- before that). Would you be able to point out what the inaccuracies are specifically? We'd be more than happy to work with your editorial team to correct errors and/or clarify points. (Also happy to discuss in the issue that @sftim proposes!)


Added my Beesweeper game!

You can try it out here!
https://sphaericactus.itch.io/beesweeper

Merged with #1232


Add files via upload - Firmware AU915 V1.0.5

Firmware version 1.0.5 adapted to our frequency plan (AU-915), which works in class C. As it is not the final version, keep in mind that it can sometimes throw mac_error when transmitting if the ADR is activated.

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

I have tested this Firmware with Sodaq Explorer and TTN in Argentina using Meshed-Router.

Firmware version 1.0.5 adapted to our frequency plan (AU-915), which works in class C. As it is not the final version, keep in mind that it can sometimes throw mac_error when transmitting if the ADR is activated.

Firmware version 1.0.5 adapted to our frequency plan (AU-915), which works in class C. As it is not the final version, keep in mind that it can sometimes throw mac_error when transmitting if the ADR is activated.

Someone can review ? This firmware added is necesary for Argentina/Australia for Example.
I don´t know more updated firmware for RN2903 under AU915.


feat: playground for nuxt layers

Why:
Closes: #ID
Describe your changes
Checklist before requesting a review

[ ] My code follows the code style of this project.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] I've updated docs/changelog/changelog_en.md and docs/changelog/changelog_de.md. If I'm a non-German speaker, I've still updated the file with the English version as a placeholder.

will use that one as reference when we start with extending one pager


Unresponsive Readme

Description of  the change
Readme on the main page is Unresponsive for mobile version

Domain

[x] Readme
[] Solidity
[] Python
[] JavaScript
[] Golang
[] Other , feel free to mention below

Are you contributing under any open-source program ?
Yes under SSOC

great issue  ! But i a/c to rules  u have to raise a issue only after filling  the form and sucessfully added in my project group in the discord . I will tell u there . Just wait for some time . As of  now i am closing  this issue .
Thank u

@Vikash-8090-Yadav can you reopen this , as now I have registered !

@legendarykamal  sure ! do u wana to work  on this issue ?

yes I want to work on this .
On Thu, Aug 11, 2022 at 6:29 PM Vikash Yadav @.***>
wrote:

Reopened #16
https://github.com/Vikash-8090-Yadav/Solidity-Pathshala/issues/16.
—
Reply to this email directly, view it on GitHub
https://github.com/Vikash-8090-Yadav/Solidity-Pathshala/issues/16#event-7171439639,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AW33QNDPCPTHHLZ4RJIMXMDVYT2KPANCNFSM55HZLGTA
.
You are receiving this because you were mentioned.Message ID:
<Vikash-8090-Yadav/Solidity-Pathshala/issue/16/issue_event/7171439639@
github.com>

@legendarykamal are u still working on this ?

@legendarykamal   any updates ??

Hi @Vikash-8090-Yadav I would like to work on this issue. Can you assign it to me?

Sure @SadashayKanungo . Start  working on this


Add 'kitty' image backend

Description
Added kitty terminal image output.

My gosh, I would love to see this merged. +1
Thanks for the PR, @SolitudeSF! :heart:

Merged manually with some changes. https://github.com/dylanaraps/neofetch/commit/2606e4b1d6c431efc2a9bea4f0bec2385ad805f2
Thanks!

Kitty can display png images directly. If you supply a jpg or other format it uses imagemagick to convert it to png, so its additional startup overhead, is there no way to include special case for kitty?

Neofetch doesn’t convert the image, it just appends png to the filename

in understand, but you call imagemagick anyway to generate thumbnail. or am i misunderstanding something?

Yes, neofetch generates a thumbnail. We do this to speed up the display of images. Neofetch mostly deals with wallpaper sized files so this is necessary to avoid 1s+ run times.
The lines of code you added around the case statement don't actually do anything and they don't skip the thumbnail generation.

yes, they dont skip, they force thumbnail to png format when kitty is used to avoid additional convertation call from kitty's side.

This sounds like an issue with kitty more so than neofetch. Why should we add a workaround when it can be fixed directly?

thats not an issue, thats how it works, it can display png data directly. i just optimize one convert call away.

actually, after benchmarking both methods, my workaround consistently yields slower result, which i dont understand, but at least this issue is finally closed.


[ coverity ] Fix Coverity issue

Fix Coverity issue on

/test/unittest/layers/layers_golden_tests.cpp
/test/unittest/models/unittest_models_recurrent.cpp
/test/unittest/unittest_nntrainer_models.cpp

Resolves:
Use of auto that causes a copy (AUTO_CAUSES_COPY)
auto_causes_copy: This lambda has an unspecified return type
copy: This return statement creates a copy.

Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2515. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


Added support for modular assets

TICKETID
Description

Added support for modular assets

Changes
Added

Added support for modular assets

How to Test

Try to check with the apps with and without modular assets

Checklist

[ ] Documentation is updated.
[ ] Changelog is updated.

Fixed


Correct self-stretch mixin

Self alignment description mixin for self-stretch is listed incorrectly.

LGTM. Thanks!


Add architecture builds

credstash is being used in .sh generated by conda-forge constructor

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

There are too many dependencies that are build with noarch: python., so it is not worth to convert just this one.


ODIS load tests represent real traffic

Make sure load tests represent real traffic

Requests with DEK
Requests that bypass quota check
Matchmaking

Might be a problem with the quota bypass - investigate first
Also look into add quota bypass E2E tests

TODO: Sync with Valora team to see if there's any expected increase in signups over the next milestone


adding config option to prepopulate the body of a request based on the swagger model

this one will conflict with https://github.com/postmanlabs/swagger2-to-postman/pull/7/.  Is it possible to merge that PR (I'm going to run into that issue too) then I can update this PR


[Model Update]Pcf

Description

-->
Closes #575

MS2 Criteria
(to be filled out by PR reviewer)

[x] the model validates with the SAMM SDS SDK in the version specified in the Readme.md of this repository by the time of the MS2 check  (e.g., 'java -jar samm-cli.jar aspect <path-to-aspect-model> validate ). The  SAMM CLI is available here and in GitHub
[x] use Camel-Case (e.g., "MyModelElement" or "TimeDifferenceGmtId", when in doubt follow https://google.github.io/styleguide/javaguide.html#s5.3-camel-case)
[x] the identifiers for all model elements start with a capital letter except for properties
[x] the identifier for properties starts with a small letter
[x] all model elements at least contain the fields "preferred name" and "description" in English language. The description must be comprehensible. It is not required to write full sentences but style should be consistent over the whole model
[x] Property and the referenced Characteristic should not have the same name
[x] the versioning in the URN follows semantic versioning, where minor version bumps are backwards compatible and major version bumps are not backwards compatible.
[x] use abbreviations only when necessary and if these are sufficiently common
[x] avoid redundant prefixes in property names (consider adding properties to an enclosing Entity or even adapt the namespace of the model elements, e.g., instead of having two properties DismantlerId and DismantlerName use an Entity Dismantler with the properties name and id or use a URN like io.catenax.dismantler:0.0.1)
[x] fields preferredName and description are not the same
[x] preferredName should be human readable and follow normal orthography (e.g., no camel case but normal word separation)
[x] name of aspect is singular except if it only has one property which is a Collection, List or Set. In theses cases, the aspect name is plural.
[x] units are referenced from the SAMM unit catalog whenever possible
[x] use constraints to make known constraints from the use case explicit in the aspect model
[x] when relying on external standards, they are referenced through a "see" element
[x] all properties with an simple type have an example value
[x] metadata.json exists with status "release"
[x] generated json schema validates against example json payload
[x] file RELEASE_NOTES.md exists and contains entries for proposed model changes
[x] all contributors to this model are mentioned in copyright header of model file

MS3 Criteria
(to be filled out by semantic modeling team before merge to main-branch)

[x] All required reviewers have approved this PR (see reviewers section)
[x] The new aspect (version) will be implemented by at least one data provider
[x] The new aspect (version) will be consumed by at least one data consumer
[x] There exists valid test data
[x] In case of a new (incompatible) major version to an existing version, a migration strategy has been developed
[x] The model has at least version '1.0.0'
[x] If a previous model exists, model deprecation has been checked for previous model
[x] The release date in the Release Note is set to the date of the MS3 approval

@agg3fe : there's clarification of three questions outstanding which may have minor implications, so model might need to be updated again. But if possible for you it would be helpful if you could do a first review. MS3 planned for 26-Feb-2024.

@SMaierTSI example value correction is required.

@agg3fe , @jacewski-bosch : just updated the exemplary "BPN" as discussed in our regular call. PR is ready for merge from my point of view. Thanks again for all your support!


Ability to create blog post

Here we would need the feature where logged in user can create blog post and shares his/her thoughts.
Also allow to tag it too.

Dear mentor, can you give more details about this task? For example, What skill do I need to do this task. Perl, Dancer2, Bootsatrap?

After creating the blog page, where do it need to be attached in the website ? Any specific requirement ? @manwar

@Amank04 please speak to Himanshi as she is working on the homepage.

@Amank04 I was wondering if we should allow to upload photo (optional). This would appear on top header of the blog post.


Change "sneek peek" to "sneak peek" in README.md

Describe the bug
It should be "sneak peek" instead of "sneek peek" in README.md
To Reproduce
Steps to reproduce the behavior:
Update README.md
Expected behavior
"sneek peek" would be changed to "sneak peek"

I'd like to work on this issue.
Kindly assign me :)

But this is too small issue.
Look for other grammatical and spelling mistakes as well.

All the spelling and grammatical mistakes in README.md are rectified.
Do check it out once and merge the pull request :)
Henceforth, close this issue.


Add a few embedded build(s) to CI

As a first step, start with simply compiling for a few embedded targets available easily on Ubuntu such as avr, arm-none-eabi.
Compile with high warning levels and added warn flags and throw in a -Werror as well.

Watching closely as I have a reminder to test on small devices also. You may find the resources here of interest.

Watching closely as I have a reminder to test on small devices also.

Indeed. Thanks for recalling this, John. In my real-time-cpp project, I got far enough along (with added help from @gdobato) to build and load some rudimentary projects on QEMU for arm-none-eabi running ARM(R) Cortex(R)-CM4 core. As a final step, we still need to assess success based on the return value from main or set a run-time assessment in the simulated run.
This is work ongoing.

You may find the resources here of interest.

For building a wide-integer sample on the avrarchitecture, I will at first probably handle build-only. This is an interesting GCC port because it does not ship with an STL implementation. I have a couple of STL options available that I use for these cases.
Thanks for the likns to these resources, I will take a look as well there...

Worded out the following long command line for future reference on bare-metal wide-integer builds.
This ling builds the example file
arm-none-eabi-g++ -x c++ -std=c++17 -Os -Wall -Wextra -pedantic -Wmain -Wundef -Wconversion -Wsign-conversion -Wunused-parameter -Wuninitialized -Wmissing-declarations -Wshadow -Wunreachable-code -Wswitch-default -Wswitch-enum -Wcast-align -Wmissing-include-dirs -Winit-self -Wfloat-equal -Wdouble-promotion -Wno-psabi -mcpu=cortex-m4 -mtune=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffast-math -mno-unaligned-access -mno-long-calls -finline-functions -finline-limit=32 -g -gdwarf-2 -fno-exceptions -ffunction-sections -fdata-sections -fno-rtti -fno-use-cxa-atexit -fno-exceptions -fno-threadsafe-statics -fno-enforce-eh-specs -ftemplate-depth=32 -Wzero-as-null-pointer-constant -I. -DWIDE_INTEGER_DISABLE_IOSTREAM -DWIDE_INTEGER_DISABLE_TRIVIAL_COPY_AND_STD_LAYOUT_CHECKS -DWIDE_INTEGER_NAMESPACE=ckormanyos -DWIDE_INTEGER_STANDALONE_EXAMPLE001_MUL_DIV examples/example001_mul_div.cpp -Wl,--gc-sections -Wl,-Map,./bin/example001_mul_div.map --specs=nano.specs --specs=nosys.specs -o bin/example001_mul_div.elf

This particular arm-none-eabi compiler warns on -pedantic that nested namespaces are a C++17 feature. I was under the impression that nested namespaces are a C++11 feature. perhaps I am mistaken or I need to clear this up...

nested namespaces are a C++17 feature. I was under the impression that nested namespaces are a C++11 feature. perhaps I am mistaken or I need to clear this up...

I believe nested namespaces are a C++17 feature after some research. See #198 to track minor corrections regarding this.

Just add some arm-none-eabi builds for now. Adding some avr builds would require me to clone my fork of avr-libstdcpp or similar (which I will do, but in a leater step).


Ones again - NOAUTH Authentication required

Hi, I'm facing an issue that has been reported multiples times, sorry for opening another ticket, but I tried multiples ways, but still getting the same error of NOAUTH Authentication required.
versions

"ioredis": "^4.27.6",
Redis 6.2

I creating a redisClient like:

const Redis = require('ioredis');
...
const { redis } = require('../config/config');

const createClient = () => {
  try {
    let redisClient;
    redisClient = new Redis({
      port: redis.redisPort,
      host: redis.redisHost,
      family: 4,
      password: redis.redisPass,
    });
    return redisClient;
  } catch (error) {
    logger.log('error', modules.ServiceModules.REDIS, "Error creating Redis Client", `${error}`);
  }
};

module.exports = {
  createClient,
};

And getting the following error.
{"timestamp":"2021-08-01T00:22:05.375Z","level":"info","hostname":"20a9165bfd1b","service":"BACKEND","module":"EXPRESS","versionService":"1.0.0","versionModule":"1.0","operation":"INITIALIZING SERVER","description":"","operationChannel":"SERVER","entity":"EXPRESS","message":"Server is already listening, on PORT: 4602; and redis pass is = superapassword"}
[ioredis] Unhandled error event: ReplyError: NOAUTH Authentication required.
    at parseError (/usr/src/app/node_modules/redis-parser/lib/parser.js:179:12)
    at parseType (/usr/src/app/node_modules/redis-parser/lib/parser.js:302:14)

Note: I double-check the password and tested using a GUI Client, and the password is the correct one.
Thank u!

It's not easy to tell the reason from the code you posted. The error may be returned from a different client. I'd create a minimal reproducible example to see what is the root cause.

Hi @luin thx for the quick response.
I tried a different approach, by removing the requirepass from the Redis configuration, and this time its connection to the instance.
[WARN] This Redis server's `default` user does not require a password, but a password was supplied

Still facing the issue with AUTH on.

Still, it's hard to say whether the error came from a different client or not. So it's hard to debug without a reproducible example. You may want to specify connectionName in new Redis and run client list on redis-cli to see if the instance has connected to the server or not because if the password is wrong, it won't appear in the list. Another possibility is the host/port doesn't match.

Hi @luin ,
 redisClient = new Redis({
      port: redis.redisPort,
      host: redis.redisHost,
      family: 4,
      // password: redis.redisPass,
      password: "superpassword",
      connectionName: "hi",
    });

<IP_ADDRESS>:6379> client list
id=1568 addr=<IP_ADDRESS>:44042 laddr=<IP_ADDRESS>:6379 fd=7 name= age=3245 idle=0 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=26 qbuf-free=40928 argv-mem=10 obl=0 oll=0 omem=0 tot-mem=61466 events=r cmd=client user=default redir=-1
id=1578 addr=<IP_ADDRESS>:58860 laddr=<IP_ADDRESS>:6379 fd=8 name=hi age=19 idle=19 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 argv-mem=0 obl=0 oll=0 omem=0 tot-mem=20512 events=r cmd=client user=default redir=-1
id=1579 addr=<IP_ADDRESS>:58868 laddr=<IP_ADDRESS>:6379 fd=9 name=hi age=19 idle=19 flags=P db=0 sub=1 psub=0 multi=-1 qbuf=0 qbuf-free=0 argv-mem=0 obl=0 oll=0 omem=0 tot-mem=20504 events=r cmd=subscribe user=default redir=-1
id=1581 addr=<IP_ADDRESS>:58870 laddr=<IP_ADDRESS>:6379 fd=11 name=hi age=19 idle=19 flags=N db=0 sub=0 psub=0 multi=-1 qbuf=0 qbuf-free=0 argv-mem=0 obl=0 oll=0 omem=0 tot-mem=20512 events=r cmd=client user=default redir=-1

Application log
[ioredis] Unhandled error event: ReplyError: NOAUTH Authentication required.
    at parseError (/Users/fulvio/Developer/Work/app-mfa-backend/node_modules/redis-parser/lib/parser.js:179:12)
    at parseType (/Users/fulvio/Developer/Work/app-mfa-backend/node_modules/redis-parser/lib/parser.js:302:14)

It's clear that the error logs came from other instances (aka you're creating redis instances in other places), and the code you posted works correctly (as the clients with the name of hi appear in the client list).

Thank you for the orientation, found the issue in the code, as u said an orphan instance.
const Redis = require('ioredis');
const redisClient = new Redis({host: config.redis.redisHost, port: 6379});

Thank you for the orientation, found the issue in the code, as u said an orphan instance.
const Redis = require('ioredis');
const redisClient = new Redis({host: config.redis.redisHost, port: 6379});


Described installation procedure needs small changes for windows

Thanks for the great package! However, there should be a note in the readme that the themes folder needs to be copied into the directory too. Also on Windows with MikTex the template files need the .tex suffix attached to work correctly.

@kristyj feel free to fork this and open a pull request with an updated README... =)

Fixed!


Feasibility research - SysML Plugin converting to and from alternative formats

Feasibility research - SysML Plugin converting to and from alternative formats
The goal is to determine if we can support converting to and from the XMI or exported SysML format with AaC SysML.
AC:

XMI-focused work:

[x] Collect some example XMI files
[x] Identify the conversion path from XMI to AaC SysML
[x] Identify the conversion path from AaC SysML to XMI
[x] Identify any information that can't be captured in the converted materials
[x] Identify any python tools or libraries that would aid in parsing XMI files and outputting XMI files.
[x] Identify blockers and the scope of work necessary to support the effort
[x] The output of this research is captured as a part of this story.

SysML-focused work:

[x] Collect some example SysML files
[x] Identify the conversion path from SysML's exported format to AaC SysML
[x] Identify the conversion path from AaC SysML to SysML's exported
[x] Identify any information that can't be captured in the converted materials
[x] Identify any python tools or libraries that would aid in parsing exported SysML files and outputting to SysML files.
[x] Identify blockers and the scope of work necessary to support the effort
[x] The output of this research is captured as a part of this story.

I need to capture some XMI sources I found. Where better than here? 😄

[https://www.omg.org/spec/SysML/20080501/SysML-profile.xmi](XMI v2.1 for SysML)
Frontpage for the XMI standard from OMG

SysMLPluginFeasibility.pdf


Delete secrets

Medusa should be able to clean up a sub path of a secret engine so that the the sub path is empty before performing the import.
The command could be like: ./medusa delete kv/my/sub/path

an alternative to an explicit delete could be to pass a  null value to import
e.g.
secrets.yaml
foo:
  bar: null

medusa import secret secrets.yaml
would delete foo/bar


Show alarm threshold in graph

The alarm threshold should be visible in the rendered graph.

FYI I was able to accomplish this with a .5-point dotted line that replicates the existing dataset.
https://github.com/homeyjd/aws-to-slack/blob/master/src/parsers/cloudwatch/chart.js#L354

PR was merged, this is looking good!


artisan storage:link should create a relative symlink, not absolute

Laravel Version: 5.5.21
PHP Version: 7.1.10
Database Driver & Version: MySQL 14.14

Currently, artisan storage:link creates an absolute path symlink in the public directory. It seems like it would be way better to create a relative url symlink. For example to ../storage/app/public.
The most obvious reason for this is that in a given project, an absolute symlink makes the project non-portable. You can move the project to a different directory or deploy the project onto a server with a different directory structure, etc. If you do, that symlink is always going to be broken.
If you had a relative path symlink, then I would think this would fix the problem. But I also know that different systems handle symlink creation differently so I don't even know if you can commit something like this to a repo. But at least being able to move the project to a different folder on a system, you can know that this symlink won't break. This is actually how I ran across this problem. I created a Laravel install in a temporary folder, installed some dependencies (which created the storage symlink) and then I moved the project to a different folder and got some symlink storage errors, which lead me to figure it out and now I'm here.
I don't think you should require people to run artisan storage:link if they don't have to.
Anyways, any thoughts on this?

This repo is for bug tracking. This isn't a bug so you can open a proposal in the laravel/internals repo

Oh sorry. I'm not clear on what issues belong where I guess. Thanks,


made results table responsive for Django 2 admin

Added wrapper like in Django 2 to make results table horizontal scrollable

Thank you


perf: De-duplicate writes in SaveABCIResponses / SaveFinalizeBlockResponse

Feature Request
SaveABCIResponses is called on every block during consensus execution + block sync, and is blocking consensus from proceeding.
We see that for nodes which want to serve the block_results query, we pay a 2x write amplification over the data we want to serve.
The 2x write amplification in SaveABCIResponses can get extremely expensive for nodes, when there are many events. This occurs during a current problematic mainnet scenario detailed below, that currently affects all cosmos chains. Would be great if we can get a reduction at the comet layer soon for its part of the slowdown in this process!
Summary
Over a 100 block sync, where only a fraction of blocks have spam txs as detailed below, we see SaveABCIResponses take a large amount of time. (10 seconds! The state machine exec + commit time for this is 55 seconds. For a more "normal" 100 block range, we see this take .23 seconds)

Problem Definition / Context
When people send IBC packets with large amounts of data (400kb), nodes begin falling behind. (This is the "bananaking" attacks)
The biggest culprit of problems for nodes falling behind comes from SaveABCIResponse where we suffer a 2x write overhead: https://github.com/cometbft/cometbft/blob/main/internal/state/store.go#L561-L601 . We see nodes having to write an extra 100mb/s when these txs come in. We also see 10+ of these getting into a block. (Which matches the expected 100MB/s overhead being measured)
During this time, we observe all RPC nodes have a very hard time keeping up, network block times slow down, and validators who do not run DiscardABCIResponses miss blocks.
There are other issues that go into having problems here, but this particular comet location definitely seems like a strong mitigation here going forward. The fact this msg, if x bytes, causes a 13x increase in event size relative to bandwidth used leading to a 26x write overhead in Comet here. CPU overheads in the SDK + IBC + comet call stack are present for this pattern. The fact that gas per byte is underpriced. CometBFT block gossip also gets quite expensive on big blocks.
Without knowing this can become a system bottleneck, the reason for the 2x write overhead is quite reasonable imo!
Proposal
Notice that in https://github.com/cometbft/cometbft/blob/main/internal/state/store.go#L561-L601 we are setting the same data twice.
First we set at key block_results/{HEIGHT} value {data}. Then we SetSync at key latest_block_results value {data, height}, and we overwrite the latter every block.
I think we should instead be able to, at better performance, just only set SetSync at key block_results/{HEIGHT} , and then:

SetSync a key that points to what is the latest block result height
If "DiscardABCIResponses" (or some equivalent) flag is set, start a new go routine to delete the value at key block_results/{HEIGHT - 1}

Please let me know thoughts! I think this would really alleviate this attack vector thats being demonstrated in prod right now.

will give it a go

This is from the P2P storms report, denied by 100% of ICF funded teams
Please note that this is not a personal attack, it is simply a fact

Thanks @ValarDragon ❤ for putting the effort


Check provisioning version in run-dev.py

We should prevent running run-dev.py if your provisioning status is not ok.  You can follow the model in test-backend and copy this code to the appropriate place in run-dev.py:
    if not options.force:
        ok, msg = get_provisioning_status()
        if not ok:
            print(msg)
            print('If you really know what you are doing, use --force to run anyway.')
            sys.exit(1)

You will also need to add the appropriate import statement and command line argument handling.  Again, you can use tools/test-backend as a model there.

I would like to work on this issue.

Great!  Let us know if you need any help.

Would you please guide me how to check if the change I did in run-dev.py is working or not.

You can manually change version.py in various ways and make sure you get the error when you expect to get it.

@showell I have done the changes required in run-dev.py. May I generate a pull request.

Yes, you are more than welcome to generate a pull request, and refer back to this issue.  We actually encourage folks to submit PRs even before they consider it done.  If you have questions about the PR, please put "wip" in the title of the PR, which stand for "work in progress."  @timabbott This change may interest you as well.

@showell Can I generate a pull request without being added as a contributor.

Anybody should be able to submit a PR.  If you have any questions, you can sometimes get quicker answers on our public Zulip instance:
https://chat.zulip.org/#narrow/stream/development.20help

@showell I have created the pull request please do have a look.

@showell I have done the required changes, please take a look.

closed via #2234


Training time

Thank you for the excellent research!
How long did it take to train on the NOCS dataset and the HouseCat6D dataset respectively?
Also, could you share the training code for the HouseCat6D dataset?

On a single 4090, it takes less than 1 day to train on NOCS (60 epochs).

For HouseCat6D, we will release the code later. If you need to evaluate your model on HouseCat6D, you can also contact the author of HouseCat6D via the email address provided on their website<EMAIL_ADDRESS>He will provide you the training and evaluation scripts for HouseCat6D.

Thank you for your kind response.

On a single 4090, it takes less than 1 day to train on NOCS (60 epochs).

Hi, when I run train_geodino.py on my 4090, I find that the training time for one epoch is 73 minutes. I choose REAL275 dataset. Do you mean CAMERA25 when you say less than one day?


LAB_02a_Manage_Subscriptions_and_RBAC.md.pdf

Description:
The architecture diagram is not translated (lab02.png)

Hello contributor,
Thank you for your contribution! We are processing your suggestions and we will update you shortly.
Kind regards,
Microsoft Worldwide Learning Team

https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.fr-fr/issues/222


Spartan: Ice and Fire crash.

Hello! Recently I've made my own mod pack, and whenever I launch up Minecraft, I get an error.
Failure message: Spartan Weaponry: Ice and Fire (swiaf) encountered an error during the load_registries event phase
java.lang.NullPointerException: null
Is there any fix to this?
(also, I'm not very experienced with modding so I know almost nothing about mods and mod errors, etc.)
Thanks in advance.

Check if your mods' versions are the latest, if yes then please send the full crash report.

inactive, feel free to reopen later


Dataset guided

Very meaningful work, thank you very much.
I'd love to follow this work, but I'm not very familiar with it. Can you provide the indicator evaluation code for the two data sets MM-SafetyBench and VLSafe?
Thanks

Very meaningful work, thank you very much.
I'd love to follow this work, but I'm not very familiar with it. Can you provide the indicator evaluation code for the two data sets MM-SafetyBench and VLSafe?
Thanks

Hi, sorry for the late replay. We have updated  scripts to reproduce the results in the paper, please see the instruction in the readme page.

Very meaningful work, thank you very much.
I'd love to follow this work, but I'm not very familiar with it. Can you provide the indicator evaluation code for the two data sets MM-SafetyBench and VLSafe?
Thanks

Hi, sorry for the late replay. We have updated scripts to reproduce the results in the paper, please see the instruction in the readme page.


Cannot open a folder from local drive using composer

Hi @Michelle-Deve What OS are you running?

@dmvtech windows 10

@Michelle-Deve where on your file system are you storing your bot projects?

Hi @Michelle-Deve Can you let us know where on the file system you are storing your bot projects? Also; what version of composer are you running (1.1.1 is the most recent).

@cwhitten and @dmvtech all my projects are stored in C:/Repos/ but the issue started when I was trying to open a project from this path C:\Users\michellem\Downloads\PROJECT_SoleCheque. @dmvtech I did update to the latest version and still have the same issue

I'll try similar and see if I have any issues with it.

I'm unable to reproduce this. Are you able to share a (private is fine) Github repository (sanitized for personal/sensitive info) of the bot with me? Or let me know if you can get me the bot in another way so that I can see if I can reproduce.

Hi @Michelle-Deve Just touching base again. Can you share your sanitized composer files so that I can see if I can try and reproduce?

@dmvtech I have managed to fix the issue. I had to uninstall composer version 1.1.1, run the composer that uses yarn and locate the storage after that I install composer version 1.1.1 again and I was able to connect to storage. I had to restart in between the steps

Ok! Interesting. Glad you got it worked out and thank you for letting us know what you did to resolve it. 🌟


[Git Feature] Tagged Docker Hub image builds

It would be nice to have a v1.0 and v1.1 builds available rather than always having to use latest for Docker image builds.

After unnecessary battles with Docker Hub, I think this is going to be a manual process. Any regex I tried resulted in weird errors. Right now v1.0 is done manually as follows:


Try switching back to regular execution

Here's a demo of switching back to executing notebooks on GitHub Actions by changing the execute_notebooks field in _config.yml.

No weirdness here, just goodness.


feat: improve testimonials responsiveness

Ticket(s)

[12370]

Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Description
The cards are optimized for the desktop and not mobile, so the cards are very long and take up most of the viewport in an awkward way.
Screenshots
Before

After

Preview

[x] Everything works as expected
[x] Check changed page(s)
[x] Refresh the page, check that using the go-back button works as expected
[x] Check large screen size (>1400)
[x] Check tablet screen size (<786)
[x] Check mobile screen size (<375)
[x] Check the console for errors or warnings
[x] Check the terminal for any errors or problems
[x] Check for any uncaught ESLint problems

Code Clarity and Readability

[x] Is the code self-explanatory and easy to understand?

Code Modularity and Reusability

[x] Is the code and any new components organized in a logical location in the directory?

Best Practices and Coding Standards

[x] Does the code follow the established coding standards and style guide of the project?
[x] Are all files TypeScript?

Overall PR Checklist:

[x] I have performed a self-review of my own code
[x] My changes generate no new warnings in the console
[x] There are no new linting errors/problems in my code
[x] I have filled this PR out fully, and cleaned up any extraneous items so that it is clear and easy to understand

@gabrieleger2 okay so I did re-check and I don't remember this being the original behavior of the carousel but it is possible that it was. The scroll behavior is only available if you have clicked on a displayed testimony, and then use the arrow keys to tab over. However, unless you were to be working at CV and know that there are more testimonials, it seems pretty unintuitive and not likely that regular website visitors would be able to find the rest of these. Do you think that you can adjust this so that there is some indication that this is a carousel?

From what I've observed, it seems to function just like the production version. I'm not even sure which of my changes could have possibly affected the carousel's behavior. Regarding your suggestion to make it more intuitive, I think adding arrows or changing the mouse icons could work, and I'm definitely open to it, though it might be considered a separate task, don't you think?


Tracking issue for API v10

see https://github.com/discord/discord-api-docs/discussions/4510
v9 will be deprecated as of 2022-04-30, and decommissioned at least one year later.
Changes between v9 and v10:

[x] Specifying the message content intent (1 << 15) is required, v9 will automatically receive message content intent if application is approved for it
[ ] application.summary is deprecated, will be removed in v11
[x] Achievement localization format has changed not relevant
[x] /channels/<channel_id>/threads/active has been removed not implemented
[x] Existing attachments must be specified when PATCHing messages with new attachments

should already be implemented, see #100 + #335

[x] reason as a body/query parameter is no longer supported, should instead use the X-Audit-Log-Reason header

should already be implemented, remaining occurrences removed in #266

[x] Message routes accept embeds rather than embed
[x] Requests to v10 and higher will no longer be supported on discordapp.com

They didn't supply all breaking changes in the changelog.
Not mentioned (that I know of so far):

requiring type be passed to thread create


Implement data import functionality

Now that we have a GitHub action (private repo) for parsing source data from FIA results PDFs, we need to finalize the import mechanism into Jolpica proper.
On today's maintainers monthly call, we agreed that this should likely remain a manual process (i.e. someone executes the import) until we have any bugs that crop up squashed. Later we can wire this up to our existing GitHub actions to make the entire process automated.

Assigning @jolpica for now. 😎


feat: Add allowed values

Replaced GetChange() method with Get() in the update function of tag
Test Plan

[ ] acceptance tests

[ ] …

References

@sfc-gh-kmaurya could you more accurately describe what you're doing in the PR title?

@sfc-gh-kmaurya looking at the code commit it appears both of these changes will have no effect and have nothing to do with allowed_values. when you rebased the code to main did you accidentally lose your commits?

/ok-to-test sha=425c8c8


Enhance the documentation for godoc

Enhance the documentation of the API for godoc. More examples and details about the API will help.

Hi. I'm interested in helping with this. I had a look at the existing documentation and saw that you're still lacking referencing the endpoints, parameters & example request/response. Let me know if you're still looking for help. I am trying to enhance my technical writing porfolio. Thanks


Add the Architecture page in spanish

Description
This PR fixes #4352
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit 354e6d68443fa8bcb7bf7c3376daf47612db7adc at: https://6161f0573311c3aa9f3403df--meshery-docs-preview.netlify.app

@jesuslerma @alonsolopezr Could you review this PR giving a second look/approval, please?

Also @chal-gro, the Arquitectura link/concept is appearing on the English page/site. We should create (if it is needed) the Concepts section as it is in the original content:

And the new section should be in the Spanish Index:

🚀 Preview for commit ec75d6ffdac2af1bcc6a09d6c2d1741ad61fe10d at: https://61622df4c3dcde195907e1c8--meshery-docs-preview.netlify.app

EXCELENT.. but, just a word lacks the ó (propósito), just fix this one please


I have facing below mention error in new version of python 3.8. Can any suggest how to solve it?

File "C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Anaconda\lib\site-packages\keras_init_.py", line 3, in
from tensorflow.keras.layers.experimental.preprocessing import RandomRotation
File "C:\Anaconda\lib\site-packages\tensorflow_init_.py", line 41, in
from tensorflow.python.tools import module_util as _module_util
File "C:\Anaconda\lib\site-packages\tensorflow\python_init_.py", line 40, in
from tensorflow.python.eager import context
File "C:\Anaconda\lib\site-packages\tensorflow\python\eager\context.py", line 35, in
from tensorflow.python import pywrap_tfe
File "C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tfe.py", line 28, in
from tensorflow.python import pywrap_tensorflow
File "C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 83, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Anaconda\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 64, in
from tensorflow.python._pywrap_tensorflow_internal import *
ImportError: DLL load failed while importing _pywrap_tensorflow_internal: The specified module could not be found.
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "F:\Prognica Work\Application Code\unet_keras-master\New_UNET.py", line 20, in
from keras.models import Model, load_model
File "C:\Anaconda\lib\site-packages\keras_init_.py", line 5, in
raise ImportError(
ImportError: Keras requires TensorFlow 2.2 or higher. Install TensorFlow via pip install tensorflow

@rohitthanki9,
Please provide the complete code and the exact sequence of commands / steps that you executed before running into the error.
Also, as mentioned in the error log, please install/update TensorFlow to the latest version using the below command check if you are still facing the same issue.
pip install tensorflow --upgrade

Thanks!

Hi,
I have already install upgrade version of tensorflow 2.3.0. I am simply design basic CNN model.

Hi Abhilash,
I have simple call keras and tensorflow in below code and get mentioned errors.
import os
import sys
import random
import warnings #
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from tqdm import tqdm
from itertools import chain
from skimage.io import imread, imshow, imread_collection, concatenate_images
from skimage.transform import resize
from skimage.morphology import label
from keras.models import Model, load_model
from keras.layers import Input
from keras.layers.core import Dropout, Lambda
from keras.layers.convolutional import Conv2D, Conv2DTranspose
from keras.layers.pooling import MaxPooling2D
from keras.layers.merge import concatenate
from keras.callbacks import EarlyStopping, ModelCheckpoint
from keras import backend as K
import tensorflow as tf
warnings.filterwarnings('ignore', category=UserWarning, module='skimage')
seed = 42
np.random.seed = seed
IMG_WIDTH = 128
IMG_HEIGHT = 128
IMG_CHANNELS = 3
TRAIN_PATH = 'data/train/'
TEST_PATH = 'data/test/'
train_ids = next(os.walk(TRAIN_PATH))[1]
test_ids = next(os.walk(TEST_PATH))[1]
X_train = np.zeros((len(train_ids), IMG_HEIGHT, IMG_WIDTH, IMG_CHANNELS), dtype=np.uint8)
Y_train = np.zeros((len(train_ids), IMG_HEIGHT, IMG_WIDTH, 1), dtype=np.bool)
print('Resizing training images and masks')
for n, id_ in tqdm(enumerate(train_ids), total=len(train_ids)):
path = TRAIN_PATH + id_
img = imread(path + '/images/' + id_ + '.png')[:,:,:IMG_CHANNELS]
img = plt.imsave(path + '/images/' + id_ + '.jpg',img,cmap=plt.cm.gray)
img = imread(path + '/images/' + id_ + '.jpg')[:,:,:IMG_CHANNELS]
img = resize(img, (IMG_HEIGHT, IMG_WIDTH), mode='constant', preserve_range=True)
X_train[n] = img  #Fill empty X_train with values from img

mask = np.zeros((IMG_HEIGHT, IMG_WIDTH, 1), dtype=np.bool)

for mask_file in next(os.walk(path + '/masks/'))[2]:
    mask_ = imread(path + '/masks/' + mask_file)
    mask_ = np.expand_dims(resize(mask_, (IMG_HEIGHT, IMG_WIDTH), mode='constant',
                                  preserve_range=True), axis=-1)
    mask = np.maximum(mask, mask_)

Y_train[n] = mask

test images
X_test = np.zeros((len(test_ids), IMG_HEIGHT, IMG_WIDTH, IMG_CHANNELS), dtype=np.uint8)
sizes_test = []
print('Resizing test images')
for n, id_ in tqdm(enumerate(test_ids), total=len(test_ids)):
path = TEST_PATH + id_
img = imread(path + '/images/' + id_ + '.png')[:,:,:IMG_CHANNELS]
img = plt.imsave(path + '/images/' + id_ + '.jpg',img,cmap=plt.cm.gray)
img = imread(path + '/images/' + id_ + '.jpg')[:,:,:IMG_CHANNELS]
sizes_test.append([img.shape[0], img.shape[1]])
img = resize(img, (IMG_HEIGHT, IMG_WIDTH), mode='constant', preserve_range=True)
X_test[n] = img

print('Done!')

@rohitthanki9,
In order to expedite the trouble-shooting process, could you please share the dataset as well.
Regarding the DLL error, you might be facing this issue because of the following reasons

You are running 32-bit Python or 32-bit OS
You have not installed the Microsoft Visual C++ Redistributable package
Your CPU does not support AVX instructions.

Please take a look at the system requirements and check if you have the correct dependencies installed.
Also, check these similar duplicate issues: #36167 #36151 #36138 #36054 #36045 #36020 #36003 #35988 #35903 #35880 #35865 #35805 #35789 #35773 #35772 #35767 #35766 #35749 #35721 #35618 #35204.
Thanks!


Convert Numbers to Words

Perhaps out of scope, but an interesting challenge: convert numbers to words.
Inspired by the StackOverflow: Indian Numbering System. How to Convert into the Official and Common-Use Numbering Systems Words/Strings.

For example, English locale:
test.equal(f(0), "zero");
test.equal(f(1), "one");
test.equal(f(2), "two");
test.equal(f(3), "three");
test.equal(f(4), "four");
test.equal(f(5), "five");
test.equal(f(6), "six");
test.equal(f(7), "seven");
test.equal(f(8), "eight");
test.equal(f(9), "nine");
test.equal(f(10), "ten");
test.equal(f(11), "eleven");
...
test.equal(f(99), "ninety nine");
test.equal(f(100), "one hundred");
test.equal(f(101), "one hundred and one");
test.equal(f(123), "one hundred and twenty three");
test.equal(f(1000), "one thousand");
test.equal(f(1101), "one thousand one hundred and one");
test.equal(f(10000), "ten thousand");

For example, Indian locale (from StackOverflow: Indian Numbering System. How to Convert into the Official and Common-Use Numbering Systems Words/Strings):
test.equal(f(50), "fifty");
test.equal(f(12000), "twelve thousand");
test.equal(f(777000), "seven lakh seventy-seven thousand");
test.equal(f(550001), "five lakh fifty thousand one");
test.equal(f(12345678), "one crore, twenty-three lakh forty-five thousand six hundred seventy-eight");
test.equal(f(123456789), "twelve crore, thirty-four lakh fifty-six thousand seven hundred eighty-nine");
test.equal(f(1234567890), "one hundred twenty-three crore, forty-five lakh sixty-seven thousand eight hundred ninety");
test.equal(f(12345678900), "one thousand two hundred thirty-four crore, fifty-six lakh seventy-eight thousand nine hundred");

Very interesting


Annotation for Success codes introduce Subnets not found error

When adding the annotation alb.ingress.kubernetes.io/success-codes: "405" to the ingress, the controller is not able to read alb.ingress.kubernetes.io/subnets: PublicSubnet1, PublicSubnet2 annotation and in turn not able to work properly.

Expecting this is related to #588


chore(main): release 1.4.0

:robot: I have created a release beep boop
2.0.0 (2024-02-03)
Features

Client Code generation (#58) (76b021b)

This PR was generated with Release Please. See documentation.
Release-As: 2.0.0

:robot: Release is at https://github.com/cedricziel/mattermost-php/releases/tag/v1.4.0 :sunflower:


Line chart backgroundColor changes the color of the dots instead of the background (in Vue)

Expected Behavior
The background color for the line chart should be displayed below the graph.
Current Behavior
Dots have the background color.
https://user-images.githubusercontent.com/6115423/143321868-03c2c5e6-520f-4cd3-a377-e64b9aabcf32.mp4
Steps to Reproduce
I have created a Vue demo app here: https://github.com/Kugelschieber/vue-chartjs
The chart is created after the component is mounted:
chart = new Chart(canvas.value, {
    type: props.type as unknown as keyof ChartTypeRegistry,
    data: {
        labels: ["a", "b", "c"],
        datasets: [
            {
                data: [23, 41, 5],
                backgroundColor: "#f00",
                borderColor: "#000",
                fill: true
            }
        ]
    }
});

I have verified on the documentation page that the configuration works. The minified bundle also works with a simple html page and I don't see any reason why it shouldn't also work in a Vue app.

Context
I'm trying to add a gradient to a line chart and toggle the chart type in a Vue app. While the backgroundColor works for the bar chart, the line chart actually displays the dots instead of the background below the graph in the configured color.
Environment

Chart.js version: 3.6.0
Browser name and version: Firefox 94
Link to your project: https://github.com/Kugelschieber/vue-chartjs

You need to register the Filler plugin since that is responsible for filling that area, that should resolve your issue.
If you want to make sure everything workse before making it smaller by Treeshaking you can import and register the registerables:
import { Chart, registerables } from 'chart.js';
Chart.register(...registerables);

Awesome! I didn't realize that's required because it was working for the bar chart. Thank you very much!