improved Importations

The importation:
from thepeer import main

thepeer_instance = main.Thepeer("PRIVATE_KEY")

Doesn't look great by convention. With my modifications, the importation looks like:
from thepeer import Thepeer

thepeer_instance = Thepeer("PRIVATE_KEY")

And I also updated the tests and the readme to match the new build. I also removed the test folder, instead of:
thepeer/tests/

#  its now
...
thepeer/
tests/
run_tests.sh

and I also added a one liner script to run tests

The importation:
from thepeer import main

thepeer_instance = main.Thepeer("PRIVATE_KEY")

Doesn't look great by convention. With my modifications, the importation looks like:
from thepeer import Thepeer

thepeer_instance = Thepeer("PRIVATE_KEY")

And I also updated the tests and the readme to match the new build. I also removed the test folder, instead of:
thepeer/tests/

#  its now
...
thepeer/
tests/
run_tests.sh

and I also added a one liner script to run tests

The importation:
from thepeer import main

thepeer_instance = main.Thepeer("PRIVATE_KEY")

Doesn't look great by convention. With my modifications, the importation looks like:
from thepeer import Thepeer

thepeer_instance = Thepeer("PRIVATE_KEY")

And I also updated the tests and the readme to match the new build. I also removed the test folder, instead of:
thepeer/tests/

#  its now
...
thepeer/
tests/
run_tests.sh

and I also added a one liner script to run tests

Noted @keosariel great work!
However, the exceptions/error types and should be kept decoupled so you can update the PR accordingly
Thank you!


reference for component helper param

make the param for component navigate to its definition:
e.g.,
{{component 'my-component'}}

clicking on  'my-component' should navigate the MyComponent defnition in the registry

This unfortunately isn't something we can control. The {{component}} helper works very much like a function:
function component<Name extends keyof Registry>(name: Name): Registry[Name];

In TypeScript, if I have an invocationcomponent('my-component'), I can't click through the my-component string to see the corresponding entry in the registry—TypeScript's definition resolution doesn't make that connection. Since all of Glint's semantic understanding of templates is built on top of TypeScript's, we can't special-case this behavior.
Fortunately, as the framework moves toward first-class component templates and away from string resolution, the need for this should begin to go away.


Blur view of reacher pybullet env

I trained the ReacherBulletEnv-v0 using this repository, but when I run the enjoy.py file, I get a very blur environment. How to correct this?

The config and version of packages in my environment are given below:
Package                        Version
------------------------------ -------------------
absl-py                        0.11.0
alembic                        1.4.3
astroid                        2.4.2
astunparse                     1.6.3
atari-py                       0.2.6
attrs                          20.3.0
azure                          1.0.3
azure-common                   1.1.26
azure-mgmt                     0.20.2
azure-mgmt-common              0.20.0
azure-mgmt-compute             0.20.1
azure-mgmt-network             0.20.1
azure-mgmt-nspkg               3.0.2
azure-mgmt-resource            0.20.1
azure-mgmt-storage             0.20.0
azure-nspkg                    3.0.2
azure-servicebus               0.20.1
azure-servicemanagement-legacy 0.20.2
azure-storage                  0.20.3
backcall                       0.2.0
baselines                      0.1.4
cachetools                     4.1.1
certifi                        2020.6.20
cffi                           1.14.3
chardet                        3.0.4
click                          7.1.2
cliff                          3.5.0
cloudpickle                    1.6.0
cmaes                          0.7.0
cmd2                           1.4.0
colorama                       0.4.4
colorlog                       4.6.2
cycler                         0.10.0
Cython                         0.29.21
dataclasses                    0.6
decorator                      4.4.2
dill                           0.3.3
future                         0.18.2
gast                           0.3.3
glfw                           2.0.0
google-auth                    1.23.0
google-auth-oauthlib           0.4.2
google-pasta                   0.2.0
grpcio                         1.33.2
gym                            0.17.3
h5py                           2.10.0
idna                           2.10
imageio                        2.9.0
iniconfig                      1.1.1
ipdb                           0.13.4
ipython                        7.18.1
ipython-genutils               0.2.0
isort                          5.5.4
jedi                           0.17.2
joblib                         0.17.0
Keras-Preprocessing            1.1.2
kiwisolver                     1.2.0
lazy-object-proxy              1.4.3
llvmlite                       0.34.0
lockfile                       0.12.2
Mako                           1.1.3
Markdown                       3.3.3
MarkupSafe                     1.1.1
matplotlib                     3.3.2
mccabe                         0.6.1
more-itertools                 8.5.0
mpi4py                         3.0.3
numba                          0.51.2
numpy                          1.19.2
oauthlib                       3.1.0
opencv-python                  <IP_ADDRESS>
opt-einsum                     3.3.0
optuna                         2.3.0
packaging                      20.7
pandas                         1.1.2
parso                          0.7.1
pbr                            5.5.1
pexpect                        4.8.0
pickleshare                    0.7.5
Pillow                         7.2.0
pip                            20.2.2
pluggy                         0.13.1
prettytable                    0.7.2
progressbar2                   3.53.1
prompt-toolkit                 3.0.8
protobuf                       3.13.0
psutil                         5.7.3
ptyprocess                     0.6.0
py                             1.9.0
py-dateutil                    2.2
pyarrow                        2.0.0
pyasn1                         0.4.8
pyasn1-modules                 0.2.8
pybullet                       3.0.4
pybullet-robot-envs            0.0.1
pycparser                      2.20
pyglet                         1.5.0
Pygments                       2.7.2
pylint                         2.6.0
pyparsing                      2.4.7
pyperclip                      1.8.1
pytest                         6.1.2
python-dateutil                2.8.1
python-editor                  1.0.4
python-utils                   2.4.0
pytz                           2020.1
PyYAML                         5.3.1
pyzmq                          20.0.0
requests                       2.25.0
requests-oauthlib              1.3.0
rsa                            4.6
scipy                          1.5.2
seaborn                        0.11.0
setuptools                     49.6.0.post20200925
six                            1.15.0
SQLAlchemy                     1.3.20
stable-baselines               2.10.1
stable-baselines3              0.10.0
stevedore                      3.3.0
tensorboard                    2.4.0
tensorboard-plugin-wit         1.7.0
tensorboardX                   2.1
tensorflow                     2.3.1
tensorflow-estimator           2.3.0
termcolor                      1.1.0
toml                           0.10.1
torch                          1.7.0
tqdm                           4.51.0
traitlets                      5.0.5
typing-extensions              <IP_ADDRESS>
urllib3                        1.26.2
wcwidth                        0.2.5
Werkzeug                       1.0.1
wheel                          0.35.1
wrapt                          1.12.1
zmq                            0.0.0

Hello,
Please fill the issue template completely, especially your config and the version of the different packages (including pybullet).

Hello,
Please fill the issue template completely, especially your config and the version of the different packages (including pybullet).

I have added the version of all packages in the environment.

I also opened an issue with code to reproduce the problem: bulletphysics/bullet3#3232

I also opened an issue with code to reproduce the problem: bulletphysics/bullet3#3232

btw, is that only the case for reacher? or for all pybullet envs?

btw, is that only the case for reacher? or for all pybullet envs?

Also other pybullet envs have some distortion.
But I just found out that doing env.render() before env.reset() solves both the weird color and the distortion.
The image is still blurry / low quality, but I guess this is only a setting thing.

Also other pybullet envs have some distortion.
But I just found out that doing env.render() before env.reset() solves both the weird color and the distortion.
The image is still blurry / low quality, but I guess this is only a setting thing.

The blurry image is likely due to the simple cpu TinyRenderer instead of using hardware OpenGL 3.
Yes, it is a good idea to call env.render() before the first env.reset(). Can this be made default, if 'enjoying' the pybullet environments? Another option is to run a pybullet server, which will be used for hardware OpenGL rendering in a different terminal, leave it running, and then enjoy the environment/create a video. Don't resize/close while creating the video.
python -m pybullet_utils.runServer

The blurry image is likely due to the simple cpu TinyRenderer instead of using hardware OpenGL 3.
Yes, it is a good idea to call env.render() before the first env.reset(). Can this be made default, if 'enjoying' the pybullet environments? Another option is to run a pybullet server, which will be used for hardware OpenGL rendering in a different terminal, leave it running, and then enjoy the environment/create a video. Don't resize/close while creating the video.
python -m pybullet_utils.runServer

This is how it should look like (AntBullet-v0), note the reflection and shadows etc:


Feature request: Autoreload for the same file

In the last few weeks, 3b1b and me introduced these features to ease reloading:

reload() command via #2240
--autoreload CLI flag via #2268

The reload(x) command is essentially like quitting Manim altogether then starting it again with the -se option set to line x, but without the hassle of doing this manually and waiting for the complete window to be restarted. Instead, we reuse the window. Note that only your user-defined modules will be reloaded, no external libraries like numpy, no Python in-built modules like sys or time and also no manimlib files will be reloaded (the latter can be adjusted via a config option though).
The --autoreload command line flag will activate the autoreload IPython magic command.

The only missing piece (in my opinion), is a feature that enables auto-reloading also for classes/objects/etc. in the same file (and not only for imported files). E.g. consider this example
from manimlib import *

class ClassInSameFile:
    def answer(self):
        return "Hello from class in same file"

class AScene(Scene):
    def construct(self):
        ## Starting
        print("Hello from A")

        ## Class in same file
        test = ClassInSameFile()
        print(test.answer())

The autoreload feature from IPython will not pick up on changes to the string "Hello from class in same file" . If you do a reload(14) and then the checkpoint_paste(), it will work fine, but for the lazy programmer, that is one reload(14) too much 😅 A current workaround is to outsource ClassInSameFile to another file. Then import that into the original file and autoreload will do its magic.
Note that even if autoreload was perfect in the above sense, reload() might still have its raison d'être in the case where autoreloading might not work (due to whatever reason, I'm sure there might exist some...).

I've opened an issue for this on the IPython repository: https://github.com/ipython/ipython/issues/14617


update demo to use stack-parameter instead of parameter

To prevent confusion on how to use the package, update the demo to use the latest keywords for the 'parameters' section

@TWinsnes Finally got around to updating this, thank you for the comment.


Test thoroughly against MATLAB's implementation.

This can be done in CI with Octave oct2py and pytest.

Closing, as code coverage is now >99%.


No Start Command

There is no clear start command.

The start command is npm run dev. This will start the server + bot + client. Make sure u have the .env files. You can join our discord server too. https://discord.gg/akxfPT

Also, do you need help?

Yea we are looking for people to help

I can see. Add me.

bet u should also join our server its easier to communicate
https://discord.gg/akxfPT

K.

Or
FlexyCaleb#1119

K

How did you find our repo?

I added you on discord be sure to join the server If you wanna help with this


Include macro and macro_instance as part of non-elaborated tree

Macros get evaluated during preprocessing and are not available in the non-elaborated tree.

You need a completely new tree for that which is not a parsed tree. Do not modify the non-elaborated tree which is a parsed tree necessary as an intermediate step for elaboration.
What you need is a preprocessor AST. Surelog has that tree internally, you need to create a completely new schema in UHDM for preprocessor blobs (that reflects the preprocessor tree of Surelog). The starting point for studying would be the preprocessor grammar.
You cannot pass preprocessing directives to the parser. The parser grammar would explode. And SystemVerilog preprocessing is sufficiently difficult that it is most likely impossible to treat part of the parser-lexer.
The UHDM non-elaborated and elaborated trees are parse-tree based.

@hs-apotell , I believe you addressed that.


Components/mentor mentee

Description
I created the Mentor/Mentee component as per issue 29.

Type

[ ] Bug Fix
[x ] New Feature
[ ] Code Refactor
[ ] Documentation
[ ] Other

Related Issue

Screenshots

Testing

Pull request checklist
Please check if your PR fulfills the following requirements:

[x ] I checked and followed the contributor guide
[ x] I have tested my changes locally.
[ x] I have added a screenshot from the website after I tested it locally

Overall it's good - but we have to agree/confirm how the response from the BE look like - the hard coded text here in the component might be coming from the backend


Download block data via P2P protocol

P2P protocol is a binary protocol, that serves blocks and TXs in network wire format.  It is preferred to download blocks via P2P.
Downloading blocks via RPC is much, much slower, and involves much internal data copying, encoding, and decoding of binary data.
Directly accessing bitcoind's blocks/blk*.dat files is problematic because this is a low level on-disk format that just happens to be network format right now.  Notably, these files are already not quite network format (zeros appended).  Upstream, a different on-disk format for blocks is being discussed, which would break insight sync.

This has been address with bitcore-node, which queries the blocks 20x faster than RPC.


Session handling / middleware / login how to

I would like to add some minimal security to my esp-based http server, I see that embedded-svc provides some utilities to achieve that goal, but it is hard to understand how I have to put these pieces together to achieve my goal. A short tutorial or other kind of documentation on this would be nice.

This library just exposes traits and nothing else. A better place to put examples would be the esp-idf-svc library.
Other than that, you can join the Matrix chat and ask for help there.


NPE after switching from Alpha1 to Alpha2

Happens on initialisation of the CriteriaBuilderFactory. Switching back to Alpha1 solved the problem for me.
INFO: Blaze-Persistence version: Blaze-Persistence 'Ink' 1.2.0-Alpha2
Exception in thread "main" java.lang.NullPointerException
	at org.hibernate.mapping.Column.getCanonicalName(Column.java:352)
	at org.hibernate.mapping.Table.getColumn(Table.java:232)
	at com.blazebit.persistence.impl.hibernate.HibernateExtendedQuerySupport.getColumnTypes(HibernateExtendedQuerySupport.java:180)
	at com.blazebit.persistence.impl.EntityMetamodelImpl.<init>(EntityMetamodelImpl.java:89)
	at com.blazebit.persistence.impl.CriteriaBuilderFactoryImpl.<init>(CriteriaBuilderFactoryImpl.java:80)
	at com.blazebit.persistence.impl.CriteriaBuilderConfigurationImpl.createCriteriaBuilderFactory(
[....]

What Hibernate version are you using?

Would be interesting if you could debug and check for what entity/table and column this happens. Do you have computed columns in your entities maybe?

5.2.6.Final with the blaze-persistence-integration-hibernate-5.2

I do have one @Formula column in one entity, if that counts as a computed column. I am running a few batches on 1.2.0-Alpha1, but in a few minutes I can test against 1.2.0-Alpha2 again and provide some debugging information.

Let me create a test for that so I can make sure this works. I think the persister reports null as column name for such properties which is why this exception might happen.

Indeed, was able to reproduce it.

Can you confirm it works with the latest snapshot? Sorry to say, but it seems you'd have to stick to a custom build for now.
From what I can say, the Alpha3 release is probably 1 month away so either you use the SNAPSHOT now or stick with Alpha1 until then.

Unfortunately the bug is still present in the latest snapshot (I tested against the repository master). After stepping through the code, it seems to happen for a regular column in an abstract entity mapped with @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS). (So the table name actually comes from the subtype)

Thanks for merging! I'll stick with using the latest SNAPSHOT for now :wink:


Add an option to include additional files

Is your feature request related to a problem? Please describe.
Related to: #2736
When some files ignores by git are needed to run Stryker, there are currently two workarounds:

use the inPlace option to avoid using the sandbox
use the files option to list all files that should be copied to sandbox

Describe the solution you'd like
Another nice option would be to have an option similar to files but allowing to specify only additional files.

Would you be helped by a custom .strykerignore file as well? I prefer that solution myself (decoupling Stryker from git). https://github.com/stryker-mutator/stryker/issues/1593#issuecomment-605602494

@nicojs Yes, I think it would be a good option!

I want to add this (breaking) change to Stryker v5

(I mean #1593)

@EmmanuelRoux I've opened #2848, please take a look. I think that should solve your issue.
I didn't want to go as far as to allow .strykerignore files, as that would add a lot of complexity (multiple .strykerignore files in multiple directories). Instead you can specify ignorePatterns in your stryker.conf.json.

Closed with #2848


Added string comparison for correct check versions

Faced such a problem as poor string comparison.
In our code we transfer the semantic version of applications to the backend and at the moment the comparison is not working correctly.
min_os => 'lte:max_os', max_os => 'gte:min_os'
It works incorrectly because the comparison is based on the length of the string:
$this->getSize($attribute, '1.2.1') \\ is 5
and
$this->getSize($attribute, '1.1.1') \\ is 5 too
and there and there strings of the same length and the condition is processed incorrectly
return $this->getSize($attribute, '1.2.1) <= $this->getSize($attribute, '1.1.1'); // return true;
By default, the PHP has the correct logic for comparing strings, so I added this edit
return '1.2.1' <= '1.1.1'; // return false
Same problem we have when trying to compare 'Blablabla' with 'Alablabla'.
Current code says that  'Alablabla' >= 'Blablabla' is true. My solution 'Alablabla' >= 'Blablabla' is false

Seems that this breaks the test suite. Please resend this with passing tests and without changing any of the underlying tests.


I receive messages from my local Hub but not messages via Azure SignalR service

Hi folks,
I've got a setup that I'm trying to make sense of. It still hasn't "clicked" as to how Azure's SignalR service works in conjunction with my local ASP.NET Core SignalR Hub.
The moving parts that I have
I have my local ASP.NET Core SignalR server. It uses the Azure SignalR extension, which as I understand it offloads the actual transmission part of SignalR to Azure - so websocket, etc.
I also have the Azure SignalR Service up and running. It doesn't seem to have too many settings - it just kind of is running out there.
I've got a JavaScript browser client that uses @aspnet/signalr client library. It connects to my local ASP.NET Core SignalR server, which redirects it to Azure's SignalR service and opens the WS connection between browser and Azure.
Last, I've got my Azure Functions application that uses the SignalR Binding to broadcast messages to all clients. This binding connects directly to Azure using the connection string provided by the Azure portal. So this function doesn't connect to my local ASP.NET Core SignalR server, as I understand it.
My issue / confusion
For some reason, my browser client is not receiving messages that are broadcast from the Azure Functions SignalR binding. If I invoke a SignalR function from the browser client, it'll receive the broadcasted response - other browser clients will see it too. So, it looks like the clients that connects to my local ASP.NET Core SignalR hub all see each others messages. When broadcasting from my Function application, which connects directly to Azure, not through my local hub, my browser clients don't receive the event.
I used Fiddler to capture the HTTP requests, and I can see that the Function SignalR binding is indeed sending the POST request to Azure SignalR and receiving the Accepted response.
I'm not getting errors from anything, I'm just not receiving any messages that are dispatched from my Azure Function SignalR binding.
Question
Should this configuration of mine be working, or do I have something fundamentally incorrect about how I've got this setup?

Holy cow, I just figured it out. I've been at this for about a week and a half now.
In the binding, when you specify hub name, you have to append hub to the name. I noticed that the @aspnet/signalr JS client was appending hub to the end of the name of my hub that I specify on the browser side of things. In my Functions binding, if I manually add hub to the end of my actual hub name, it works.

Oh no I see. It's taking the name of the hub from the class name. I don't know why I for some reason thought my hub was named "Functions" but my class is "FunctionsHub". Dang. A week out of the window due to that! haha

Glad you figured it out!


WebPack pulls in too much stuff

Suspicious bits:

[361] (webpack)/~/node-libs-browser/~/crypto-browserify/index.js 1.17 kB {1} [built]
[362] (webpack)/~/node-libs-browser/~/buffer/index.js 42.7 kB {1} [built]
[363] (webpack)/~/node-libs-browser/~/buffer/~/base64-js/lib/b64.js 3.57 kB {1} [built]
[364] (webpack)/~/node-libs-browser/~/buffer/~/ieee754/index.js 2.05 kB {1} [built]
[365] (webpack)/~/node-libs-browser/~/buffer/~/isarray/index.js 132 bytes {1} [built]
[366] (webpack)/~/node-libs-browser/~/crypto-browserify/rng.js 800 bytes {1} [built]
[368] (webpack)/~/node-libs-browser/~/crypto-browserify/create-hash.js 707 bytes {1} [built]
[369] (webpack)/~/node-libs-browser/~/crypto-browserify/~/sha.js/index.js 402 bytes {1} [built]
[370] (webpack)/~/node-libs-browser/~/crypto-browserify/~/sha.js/hash.js 1.98 kB {1} [built]
[371] (webpack)/~/node-libs-browser/~/crypto-browserify/~/sha.js/sha1.js 3.21 kB {1} [built]
[372] (webpack)/~/node-libs-browser/~/util/util.js 15.6 kB {1} [built]
[373] (webpack)/~/node-libs-browser/~/util/support/isBufferBrowser.js 203 bytes {1} [built]
[374] (webpack)/~/node-libs-browser/~/util/~/inherits/inherits_browser.js 672 bytes {1} [built]
[375] (webpack)/~/node-libs-browser/~/crypto-browserify/~/sha.js/sha256.js 3.48 kB {1} [built]
[376] (webpack)/~/node-libs-browser/~/crypto-browserify/~/sha.js/sha512.js 7.32 kB {1} [built]
[377] (webpack)/~/node-libs-browser/~/crypto-browserify/md5.js 5.42 kB {1} [built]
[378] (webpack)/~/node-libs-browser/~/crypto-browserify/helpers.js 930 bytes {1} [built]
[379] (webpack)/~/node-libs-browser/~/crypto-browserify/~/ripemd160/lib/ripemd160.js 6.37 kB {1} [built]
[380] (webpack)/~/node-libs-browser/~/crypto-browserify/create-hmac.js 1.02 kB {1} [built]
[381] (webpack)/~/node-libs-browser/~/crypto-browserify/pbkdf2.js 262 bytes {1} [built]
[382] (webpack)/~/node-libs-browser/~/crypto-browserify/~/pbkdf2-compat/pbkdf2.js 2.06 kB {1} [built]

Not sure what can be done with that to be honest.

Just as with browserify the bundlers provides polyfills to provide the developer with the same node APIs. I added flags to not include these polyfills


Modeling exercise assessment: allow assessor to reposition student submission

Is your feature request related to a problem?
When assessing submitted models using the drag & drop functionality of the grading instructions, in many cases it's not possible to get both the grading instruction and the corresponding node in the same frame. To make life for tutors a bit easier it would be helpful if they could move around the submitted model.
Workarounds:
Zooming out of the page: Depending on the size of the submitted model this can result in unreadable assessment instruction
Extending the model window at the bottom: Since the div containing the submitted model is resizable and the model will always be kept center, extending it will move the model half the extended length to the bottom. This can be very annoying for larger models when assessing multiple submissions
Describe the solution you'd like
Allowing the assessor to drag and reposition the submitted model
Describe alternatives you've considered
Make instructions div resizable and scrollable to move grading instructions to the same height as corresponding nodes
Additional context
Grading instructions not visible with uppermost node in viewport:

Model not visible with lowermost grading instruction in viewport

Linked to/ duplicate of #3366


Propagate parent's annotations to child without knowing their value

Hi,
My use case is the following, my parent namespace has annotations to activate or not linkerd. These annotations are not static and changes time to time. I need to propagate these annotations with their values to all sub-namespaces.
I tried using HierarchyConfiguration beta feature with argument option --managed-namespace-annotation=linkerd.io/inject
apiVersion: hnc.x-k8s.io/v1alpha2
kind: HierarchyConfiguration
metadata:
  name: hierarchy
  namespace: customer-namespaces
spec:
  annotations:
  - key: linkerd.io/inject
    value: enabled
  [...]

This configuration works for static values however it doesn't work in environment with dynamic parent namespaces list and linkerd annotations.
I also tried using HNCConfiguration with propagate, this is exactly look as what I need. But annotation are not supported.
Did I miss something or it is impossible to propagate annotation from parent to child without knowing their value?
Thanks

Sorry for the delay in getting back to you.
I'm not sure I understand the problem. Who is modifying the annotations? Can it be modified to change the HierarchyConfiguration instead? The reason that HNC doesn't respect any existing annotation is because it's allowed to overwrite them at any time, so its source-of-truth is always in a HierarchyConfiguration or SubnamespaceAnchor object. However, any other controller (or human) than can modify the annotation inside those objects should be able to change them dynamically on all the descendant namespaces as well.
Can you explain this a bit more? Thanks!

Hello,
Here are some details to clarify my use case. I'm deploying hnc with flux in a cluster where the list of namespaces managed by hnc is dynamic based on customer needs.
customer1 has namespaces [a, b]
customer2 has namespaces [dev, staging, prod]
I'm currently using HierarchyConfiguration resources to set the annotation values are its working well. However, I have to define 2 HierarchyConfiguration for customer1 and 3 HierarchyConfiguration for customer2, 1 for each namespace. Note that annotation values are in sync for all namespaces. Managing these specialization is difficult for our 200+ customers.
I like the concept of HNCConfiguration which allow to define object to propage from parent to child but annotations seem to be not supported through this resource. Could you confirm my understanding?
I hope this clarify my topic.
Thanks

Some extra information

each customer has their own cluster
customer has restricted access to only its root namespaces. e.g. customer1 [a,b] has only access to a and b and only namespaces a and b are managed with HNC to allow them to create sub-namespaces
All customer's namespaces have the same annotation

I'm starting to think about creating a common namespace managed by HNC and leaving legacy customer namespaces unmanaged by HNC. I didn't go this way first because I tried also manage legacy namespaces with HNC

Ok, so in a per-customer-cluster, isn't that even easier? Make a and b children of another namespace called cluster-root or something and specify all the annotations in cluster-root? They'll then be automatically propagated to a and b.
If you wanted, we could also consider putting the annotations in HNCConfiguration which would treat all namespaces as though they had a magic root, but they should logically be about the same. Or have I misunderstood?

Having annotations in HNCConfiguration with the magic root to replicate annotations to all managed namespace will be the best.

Ok - are you able to provide a PR? This is fairly low priority for me to
implement but I can review it if you're interested in doing it. Otherwise,
I recommend just adding an explicit root namespace to all your clusters,
which works today in HNC v1.0.
On Wed, Aug 10, 2022 at 6:22 PM ericmenard @.***> wrote:

Having annotations in HNCConfiguration with the magic root to replicate
annotations to all managed namespace will be the best.
—
Reply to this email directly, view it on GitHub
https://github.com/kubernetes-sigs/hierarchical-namespaces/issues/212#issuecomment-1211343737,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE43PZFETFSVNXYEKWZ3MTTVYQTT5ANCNFSM5ZDASSPQ
.
You are receiving this because you commented.Message ID:
@.***>

Thanks I will give it a try and meanwhile use the root namespace

/remove-lifecycle stale


Support linked issue  when using create a branch from the issue feature

Gihub has a feature to create a branch from issue, and it is quite useful for the developer to create a branch for that issue and link a branch to the issue.
https://docs.github.com/en/issues/tracking-your-work-with-issues/creating-a-branch-for-an-issue
When I try to leverage copy-issue-labels for my project without offering the linking keyword in commit message or pr description, it does not read labels from the linked issue which is done with Development menu in the issue screen.

I'm not sure if the github has changed its API since I worked on this. But my initial intention was to copy labels from the linked issues. It was however not possible at that time to read the linked issues from the API response.
See: https://docs.github.com/en/rest/issues/issues?apiVersion=2022-11-28#get-an-issue

Thanks for the response. As a workaround, I'm adding the keyword such as Closes or Fixes to link the original issue in the pull request message to copy labels.
Do you think it would be resolved in some day?

:shrug: hopefully,
I think it is very sensible to be able to see linked issues when you query for an issue. I have no idea why GitHub API is still missing this feature. It will also seem very trivial to implement and as we can see, it would be very useful.

@Kieun Check if the issue hasn't been resolved by the latest change that leverages GraphQL API to get the list of linked issues

Thanks for the update. Let me check. I'll add the result from this issue thread.

@michalvankodev It works well. Thanks for the support. :)


W-9595957 & W-8880804 - Fee Ingestion & UTM codes on Data Import

Adds fields for UTM codes to the Data Import object (with no associated data import field mappings)
Adds fields for power of us fee ingestion to data import object and payment object and associated data import field mappings
Adds new field mappings to install script

Critical Changes
Changes

We added fields to the NPSP Data Import object to support Google Analytics UTM parameters. We also added Elevate and payment gateway transaction fee fields to the NPSP Data Import and Payment objects. To use the new fields, grant Read and Edit access to these fields:

NPSP DATA IMPORTS
Payment Elevate Transaction Fee
Payment Gateway Transaction Fee
Payment Total Transaction Fees
UTM Source
UTM Medium
UTM Campaign
UTM Content
UTM Keyword Terms
PAYMENTS
Elevate Transaction Fee
Gateway Transaction Fee
Total Transaction Fees

Issues Closed
Community Ideas Delivered
Features Intended for Future Release
Features for Elevate Customers
New Metadata

Fields

DataImport__c.Payment_Elevate_Transaction_Fee__c
DataImport__c.Payment_Gateway_Transaction_Fee__c
DataImport__c.Payment_Total_Transaction_Fees__c
DataImport__c.UTM_Source__c
DataImport__c.UTM_Medium__c
DataImport__c.UTM_Campaign__c
DataImport__c.UTM_Content__c
DataImport__c.UTM_Keyword_Terms__c
OppPayment__c.Elevate_Transaction_Fee__c
OppPayment__c.Gateway_Transaction_Fee__c
OppPayment__c.Total_Transaction_Fees__c

Deleted Metadata

@callen-sfdo should we add these new items to package.xml file as well?

@callen-sfdo should we add these new items to package.xml file as well?

@mldyang  I confirmed with David Reed this morning that we do not need to update package.xml for NPSP now that is it DX format.


Update documentation

[x] Add installation instructions
[x] Generate table for values
[x] Link to subcharts, explain how to configure those

Done, see https://github.com/coder/observability?tab=readme-ov-file#values


Travis CI

Great project. Are there any examples of running a bunch of Goss tests after push to Git on Travis CI?

Glad you're liking goss.
Goss itself runs goss tests against docker containers using travis-ci for integration testing.
Relevant bits:

https://github.com/aelsabbahy/goss/blob/master/.travis.yml#L25
https://github.com/aelsabbahy/goss/blob/master/Makefile#L46
https://github.com/aelsabbahy/goss/blob/master/integration-tests/test.sh

Not the cleanest of code.. but it basically boils down to this:
# Download goss
wget http://url/to/goss

# Run container with goss + goss.json/yaml mounted
docker run -d -v /path/to/goss:/tmp/goss --name test_container some_container

# Run goss
docker exec test_container sh -c '/tmp/goss/goss -g /tmp/goss/goss.json validate'

# Cleanup
docker rm -vf test_container

Not sure if this is helpful, can you provide more details on what it is you're trying to do?

Haven't heard back from you, did my last comment answer your question sufficiently?
Also, for what it's worth there's goss-ansible and kitchen-goss (see readme) which might be useful for what you're trying to do.
Let me know if there's anything else I can do to help.

Closing this since I haven't heard back, feel free to re-open or open a new one if you have any more questions.


New Release v0.9.0

Coverage increased (+0.02%) to 92.348% when pulling 953afe680eda8d392c68df6c5041ec119ad6e118 on develop into 925dba24c7d02fe8e68205403871471c3ae04afc on master.


'NoneType' object has no attribute 'get'

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az aks get-credentials
Errors:
'NoneType' object has no attribute 'get'
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 654, in execute
    raise ex
cli/core/commands/__init__.py, ln 718, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
cli/core/commands/__init__.py, ln 711, in _run_job
    six.reraise(*sys.exc_info())
...
cli/command_modules/acs/custom.py, ln 1183, in merge_kubernetes_configurations
    _handle_merge(existing, addition, 'clusters', replace)
cli/command_modules/acs/custom.py, ln 1125, in _handle_merge
    if not i.get('name', False) or not j.get('name', False):
AttributeError: 'NoneType' object has no attribute 'get'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az aks get-credentials --resource-group {} --name {} --subscription {}

Expected Behavior
Environment Summary
Linux-4.18.0-80.11.2.el8_0.x86_64-x86_64-with-centos-8.0.1905-Core
Python 3.6.8
Installer: RPM

azure-cli 2.9.1

Additional Context

Hello
I've re-installed az cli. But it doesn't help
sudo yum remove azure-cli
sudo rm /etc/yum.repos.d/azure-cli.repo
MSFT_KEY=rpm -qa gpg-pubkey /* --qf "%{version}-%{release} %{summary}\n" | grep Microsoft | awk '{print $1}'
sudo rpm -e --allmatches gpg-pubkey-$MSFT_KEY
sudo yum remove -y python3 azure-cli
sudo yum install -y python3 azure-cli
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[azure-cli]
name=Azure CLI
baseurl=https://packages.microsoft.com/yumrepos/azure-cli
enabled=1
gpgcheck=1
gpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/azure-cli.repo'
sudo yum install azure-cli

#14287

@nkolench Apologies for the late reply. This issue seems to be fixed here #14335 . Could you please use the most recent version of the Azure CLI and let us know if you are still facing this issue ? Awaiting your reply.

@nkolench I wanted to do quick follow-up to check if you had a chance to look at my above comment. This github issue is open for quite sometime. Please let us know if you need any further assistance on this. Awaiting your reply.

hi
the issue is resolved
thank you
On Sun, Feb 13, 2022 at 2:37 PM navba-MSFT @.***> wrote:

@nkolench https://github.com/nkolench I wanted to do quick follow-up to
check if you had a chance to look at my above comment. This github issue is
open for quite sometime. Please let us know if you need any further
assistance on this. Awaiting your reply.
—
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-cli/issues/14437#issuecomment-1038081488,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQLHDK5TQOF4DCQHTJSUQJDU26QYJANCNFSM4PDESUCA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@nkolench Thanks for your reply. We will now proceed with closure of this github issue. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.


Parquet file created from pandas cannot be read with compression=“brotli”

Parquet file created from pandas cannot be read with compression=“brotli”

Add support compression codec "BROTLI" will be better

We're using DuckDB under the hood. Looks like they recently merged support for Brotli compression. Leaving this issue open to update the extension when they make their next release.

We're using DuckDB under the hood. Looks like they recently merged support for Brotli compression. Leaving this issue open to update the extension when they make their next release.
The New version DuckDB is release

Still waiting on the Node version to get v1.1.0. Here's the MR.

Came here to open a feature request, but seems it already exists, so giving my +1 here for brotli.
It takes much longer to create parquet files but the files produced were almost 20% smaller compared to zstd


render_bundle not print proper paths

I've been trying to integrate webpack-loader with my project. My project is setup as follows
Settings.py:
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
WEBPACK_LOADER = {
    'DEFAULT': {
        'BUNDLE_DIR_NAME': 'bundles/',
        'STATS_FILE': os.path.join(BASE_DIR, 'frontend/static/webpack-stats.json')
    }
}

.
├── ch
├── frontend
├── init.py
├── apps.py
├── src
├── static
├── templates
...
├── manage.py
├── static
└── utils
I'm keeping my webpack project in ./frontend with webpack outputing to ./frontend/static/bundles. frontend is a normal django app (hence the init.py and apps.py) so the static directory is automatically included in DEBUG.
Now when I try to use render_bundle to output my webpack project (app.js):
{% load render_bundle from webpack_loader %}
{% render_bundle 'app' %}

it renders to
<script type="text/javascript" src="/bundles/js/app.js"></script>
<link type="text/css" href="/bundles/css/app.css" rel="stylesheet">

It should be
<script type="text/javascript" src="/static/bundles/js/app.js"></script>
<link type="text/css" href="/static/bundles/css/app.css" rel="stylesheet">

I didn't see anything in the docs about this issue, so sorry if I missed anything
EDIT:
I decided to see what get_files would do as well so I added this to the template:
{% load get_files from webpack_loader %}
{% get_files 'app' as app_files %}

{% for app_file in app_files %}
    <li>{{ app_file.name }} : {{ app_file.path }} : {{ app_file.publicPath }}</li>
{% endfor %}

and got the output
bundles/js/app.js : /home/jeremytiki/Projects/conference-helper/ch/frontend/static/bundles/js/app.js : /bundles/js/app.js
bundles/css/app.css : /home/jeremytiki/Projects/conference-helper/ch/frontend/static/bundles/css/app.css : /bundles/css/app.css

In this app_file.path is correct however other two (app_file.name and  app_file.publicPath) are missing the initial /static.

@jeremytiki I have the same issue. Do you have any thoughts why it happens?

@jeremytiki Had the same issue, but managed to figure it out. Check your webpack configuration, specifically the publicPath property of output.
As far as I can see, the webpack-bundle-tracker output is used directly by this plugin to render the src tag, and webpack-bundle-tracker relies on the output setting of webpack itself.
If you check your webpack-stats.json file, you'll see a publicPath key for each chunk. This is what gets rendered by the plugin.
{
        "name": "bundles/app-7d3c1711b46ec35dd12a.js",
        "publicPath": "/static/bundles/app-7d3c1711b46ec35dd12a.js",
        "path": "D:\\DjangoDev\\Projects\\test1\\test1\\assets\\dist\\bundles\\app-7d3c1711b46ec35dd12a.js"
}

You need to make sure this is correct and matches your current Django settings.
Ensure that in your webpack.config.js you set it up as needed, e.g. if your STATIC_URL='/static/' :
output: {
	...
	publicPath: "/static/"
}

Hope this helps!

@lnorbi is correct. Webpack's publicPath takes precedence over django's static path settings. If you want to use django's static URL settings, then don't set publicPath in webpack, otherwise set publicPath to a value that evaluates to correct filesystem paths.


Changed isqua username

:grimacing: I’ve renamed my profile. I think now is better than later.

:+1:


issue downloading objects - permissions not seemingly allowing a download.

Also error messsaage on error needs downloading

errors in permissions are causing blockages - so can't do anything if the progress isn't closed. This is hanging as the routine still fires on an error. Will need a channel to end the routine


Cyclecloud size 32 and 64: add missing test results

This PR adds test results that were missing from the CycleCloud CPU size 32 and 64 node tests.

I fixed the conflicts, so this is ready to look at.

I don't think there is any way for me to actually review this, so I'm just going to merge.


Dev fixtures do not populate cached fields

When inserting dev fixtures with make boostrap, the cached_* fields are
not updated. This is weird because all tests pass and submissions behave
correctly. Using admin action "update cached fields" fixes the problem.
/cc @jmaupetit

Fixtures are hard-coded and do not contain cached data. You need to update them manually. See for example: https://github.com/Candihub/pixel/blob/master/apps/core/fixtures/initial_data.json


Suggestion: Make it accept the API key when it's in the C&P buffer

On linux and Mac you can get the paste buffer easily (e.g. pbpaste on OS X). It might be cool if upon pressing the copy token button in the webpage that pops up, it would accept the key.
Alternatively, you could let it generate a key, open the URL with the key in it and in the web-interface you'd accept it (or then copy it to the clipboard). This would be a flow that people know from authorizing a app to post on Twitter or Facebook.
Just my 5ct.

Hi @ErikDeBruijn ,
That is a great idea. The plan was to build a Node-Webkit application that opened the login page from the dashboard and automatically log you in the CLI after authentication.
The paster buffer was something we didn't consider before, however I wonder how we can detect from the CLI that the token was copied into the buffer (maybe polling the buffer for something that matches a specific regex?).

Hi @ErikDeBruijn ,
Based on your suggestion, we've been working hard towards a best way to deal with authentication:
Soon, once the dashboard opens in your browser, you'll be prompted to "Authorise" the CLI to use your account (similar to OAuth), and on agreement, the dashboard will exchange the token with the CLI automatically, without having to manually copy and paste.
See https://github.com/resin-io/resin-cli/pull/272

That's pretty awesome! Thanks for incorporating the feedback!

@ErikDeBruijn You're welcome, thanks to you for the feedback!
BTW, the feature commented above was already released to NPM as v2.4.0.


feat: provide additional information

When no measurable progress is available, we at least have a message now, explaining what is going on.
Closes #962
cc @carlosthe19916

merged by #989


Allow configurable S3 endpoint

This allows alternative S3 implementations such as Minio to be used with Front50.

Thanks @cfieber!!


Problem during configuration

I got it iinstalled on a Chromecast with Google TV. One problem : during initial configuration, I can adapt every option except for the mqtt server's IP. When I enter this, I get thrown out of the app, and on re-entering it is clear that the address has not been retained.
So I don't get anywhere ...
Thoughts ?

My apologies, it looks like the latest release is broken because of a behavior change in the latest version of the KMQTT library. I'll publish a new release later today, or you can use release 1.1.0 in the meantime.

Thank you @cbeyls for fixing this so fast.
I got through the configuration without any problem this time. So far the good news ...
Alas ... I could test it only briefly, but hit upon 2 problems :

I could see mqtt being updated with several of my media apps, but with at least two others - notably the ones I mainly use :-( -  nothing was happening. I am referring to the 'TV Vlaanderen' & the 'Streamz' apps. Is there a workaround for, or do these apps simply cannot be monitored this way ?
I could not find any proof that the 'Home Assistant MQTT Discovery' works, because I could not find any device or entity being created automatically. Maybe because I do not know exactly what or where to look for ?

Unfortunately many apps don't integrate properly with MediaSession, and there is nothing I can do about it because this API is the only way to monitor playback state from the outside. And also, as mentioned in the README, many apps report the playback state but not the content being played. The ones I'm using that work best are Youtube and VLC.
When configuring the MQTT integration in Home Assistant, make sure you check the box named "Enable discovery". You can re-configure the integration later if needed.
As soon as the app connects to the broker, it will publish the configuration and a new device named "MediaSession2MQTT 1" will appear in Home Assistant, along with its 3 sensors. I tested with the latest version and can confirm it still works.

I was afraid you were going to confirm my hunch about these apps lacking the mediasession api, and that nothing can be done about it - at least not by you or I ...
On the other hand: I cannot get the autodiscovery to work. I double-checked all the relevant settings, then restarted everything just to be sure - but still no device or entities are being created. I can see the mqtt messages arrive in the database when I start playing e.g. on youtube, but even then and there no corresponding mqtt homeassistant topics are created that would represent the entities.
Anything I can do/test/check ?


Better browser incognito support

Pull request checklist:

[x] CHANGELOG.md was updated, if applicable

Description

All work fine by default except for librewolf, it's registry entry is not formatted properly.
I opened a PR for librewolf to fix it and align it with upstream
Before:

After:

Thanks for your contribution! As a first-time contributor, you can now add yourself to the contributors list that's shown inside the application.
To do so, open a new PR where you modify the resources/contributors.txt file and add yourself to the list. Make sure to read the comments at a top for instructions.


[BUG] pvc image are not deleted.

Describe the bug
Backups were created via the Longhorn UI, which were later also deleted via the UI.
Now the images are no longer visible in the UI, but still exist on the host / node.
The question also arises why there is such a large delta between Size: 106 Gi and Actual Size: 142 Gi.
We have some such cases where the image is still available on the nodes and the delta between Size \ Actaul Size is quite large.
longhorn UI:

node local pvc:
k-node02:/mnt/san/longhorn/replicas/pvc-348647c0-47e3-4202-942d-38c6839cfdaa-83d00da9 # ls -lh
overall 142G
-rw------- 1 root root 4,0K 30. Apr 17:40 revision.counter
-rw-r--r-- 1 root root 200G 30. Apr 17:40 volume-head-004.img
-rw-r--r-- 1 root root  178 28. Apr 17:05 volume-head-004.img.meta
-rw-r--r-- 1 root root  196 30. Apr 17:34 volume.meta
-rw-r--r-- 1 root root 200G 28. Apr 17:45 volume-snap-377bc584-f8cc-452c-b368-53a8df615ede.img
-rw-r--r-- 1 root root  209 28. Apr 17:45 volume-snap-377bc584-f8cc-452c-b368-53a8df615ede.img.meta
-rw-r--r-- 1 root root 200G 27. Apr 13:35 volume-snap-fbfc33a1-b86a-49cb-87a4-bf67676bd723.img
-rw-r--r-- 1 root root  157 28. Apr 17:45 volume-snap-fbfc33a1-b86a-49cb-87a4-bf67676bd723.img.meta

inside pod df -h:
I have no name!@zabbix-postgresql-0:/$ df -h
Filesystem                                              Size  Used Avail Use% Mounted on
overlay                                                 2.2T  496G  1.7T  23% /
tmpfs                                                    64M     0   64M   0% /dev
tmpfs                                                    71G     0   71G   0% /sys/fs/cgroup
/dev/mapper/36782bcb022e89d0021f33f3e09cd528b-part4     2.2T  496G  1.7T  23% /etc/hosts
/dev/longhorn/pvc-348647c0-47e3-4202-942d-38c6839cfdaa  196G  106G   91G  54% /bitnami/postgresql
shm                                                      64M  392K   64M   1% /dev/shm
tmpfs                                                    71G   12K   71G   1% /run/secrets/kubernetes.io/serviceaccount
tmpfs                                                    71G     0   71G   0% /proc/acpi
tmpfs                                                    71G     0   71G   0% /proc/scsi
tmpfs                                                    71G     0   71G   0% /sys/firmware
I have no name!@zabbix-postgresql-0:/$

To Reproduce
Steps to reproduce the behavior:

Create a backup, delete it and the image for it.

Expected behavior
If you create a backup and delete it including the images, these should also be deleted on the node / host. It is also important to clarify why the actual size differs significantly from the size actually used.
Environment:

Longhorn version: 1.1.0
Installation method: Rancher Catalog
Kubernetes distro: RKE 2.5.7

Number of management node in the cluster:
Number of worker node in the cluster:

Node config

OS type and version:
CPU per node:
Memory per node:
Disk type(e.g. SSD/NVMe):
Network bandwidth between the nodes:

Underlying Infrastructure: Baremetal:
Number of Longhorn volumes in the cluster:

Backups were created via the Longhorn UI, which were later also deleted via the UI.

I _guess the backups here mean the external backup? Delete external backup won't affect local volume snapshot.
I see your current volume did not have a snapshot, is this volume recreated from a backup or a newly create volume from GUI or kubectl?

Now the images are no longer visible in the UI, but still exist on the host / node.

Has this node ever going down before? If yes, currently longhorn would be lost the information on the volume snapshot once the node ever going down. We have a backlog for this to scan all data under /var/lib/longhorn/replicas/pvc-* to cleanup the orphan replicas, it will be enhanced in the near future.

The question also arises why there is such a large delta between Size: 106 Gi and Actual Size: 142 Gi.
We have some such cases where the image is still available on the nodes and the delta between Size \ Actual Size is quite large.

Please refer to the doc.

I _guess the backups here mean the external backup? Delete external backup won't affect local volume snapshot.
I see your current volume did not have a snapshot, is this volume recreated from a backup or a newly create volume from GUI or kubectl?

What do you mean by external backup ?, i ran it from this menu item Create Backup.

Has this node ever going down before? If yes, currently longhorn would be lost the information on the volume snapshot once the node ever going down. We have a backlog for this to scan all data under /var/lib/longhorn/replicas/pvc-* to cleanup the orphan replicas, it will be enhanced in the near future.

No, the node was not down during this time.
We did the following:

Backup created with Create Backup to an NFS volume.
Then deleted the backup and the associated snapshots

Question about the orphaned snapshots that are not displayed in the UI, but still physically exist and unnecessarily take up storage space.
I am not really sure whether you can delete this manually if i look at the associated * .meta.
{"Size":8589934592,"Head":"volume-head-002.img","Dirty":true,"Rebuilding":false,"Error":"","Parent":"volume-snap-cfd30624-bac1-46ac-9a64-1b8e591034bf.img","SectorSize":512,"BackingFileName":""}

k-node02:/mnt/san/longhorn/replicas/pvc-9a916d99-2f4b-4d3b-b6b5-45c92202eee7-cacd01b5 # ls -lh
insgesamt 13G
-rw------- 1 root root 4,0K  4. Mai 09:47 revision.counter
-rw-r--r-- 1 root root 8,0G  4. Mai 09:47 volume-head-002.img
-rw-r--r-- 1 root root  178 28. Apr 16:51 volume-head-002.img.meta
-rw-r--r-- 1 root root  194 29. Apr 08:26 volume.meta
-rw-r--r-- 1 root root 8,0G 29. Apr 08:45 volume-snap-cfd30624-bac1-46ac-9a64-1b8e591034bf.img
-rw-r--r-- 1 root root  157 29. Apr 08:45 volume-snap-cfd30624-bac1-46ac-9a64-1b8e591034bf.img.meta

We see this problem of orphaned snapshots on all nodes where the backup and the snapshots generated for it were previously deleted.
The general question is, how can you avoid something like that and how can you safely delete these orphaned snaphosts?

What do you mean by external backup ?, i ran it from this menu item Create Backup.

Create Backup is create a backup to S3/NFS which I called external backup (backup snapshots)

Question about the orphaned snapshots that are not displayed in the UI, but still physically exist and unnecessarily take up storage space.

In Longhorn, the latest snapshot cannot be deleted. This is because whenever a snapshot is deleted, Longhorn will conflate its content with the next snapshot, so that the next and later snapshot retains the correct content.
But Longhorn cannot do that for the latest snapshot since there is no more recent snapshot to be conflated with the deleted snapshot. The next “snapshot” of the latest snapshot is the live volume (volume-head), which is being read/written by the user at the moment, so the conflation process cannot happen.
Ref to https://longhorn.io/docs/1.1.1/concepts/#243-deleting-snapshots
Also, Longhorn is a thin-provisioned storage system. The actual size is not 8.G for each snapshot image in your case.
You could run du -sh /mnt/san/longhorn/replicas/pvc-9a916d99-2f4b-4d3b-b6b5-45c92202eee7-cacd01b5 to see the actual size.

@jenting
OK, thanks for the detailed clarification.
i think that the ticket can now be closed.
thank you for your help.


Are documentation contribution welcome ?

I'm tinkering with freedit, which I found pretty good so far, but really barebones on the doc front.
I'd be happy to write some and maintain it (add more fluff in the readme.md, add a systemd service file, etc).
I'm not a rust dev, I think I could try the following:

Making a terms and conditions a file path from the config.toml should be fairly trivial I think.
Adding CLI arg so that the config can be somewhere else than where the binary is.

If you take PRs for the documentation, I'll start working on that

Your initiative sounds valuable and exciting!
For config file, you could use freedit /somewhereelse/config_name.toml


Support for C++ enum class [20065]

Depends on:

eprosima/idl-parser#112

CI passed on this manual action ✅

When will fastddsgen support enum class?
Will it be supported in fastdds v2.14.x?

When will fastddsgen support enum class?
Will it be supported in fastdds v2.14.x?

@1823258216
Support for enum class will be released in the upcoming Fast DDS v3. I am afraid that this change will not be backported into Fast DDS v2.

@1823258216
The current plan is to release Fast DDS v3 by the end of the second quarter.


Public address has changed using Ledger Nano + Mew ($20k funds LOST)

Hello,
**Here is an issue that has not been fixed for 7 months now, and that many users encountered while using Ledger Nano + Mew (or Mew alone, or Ledger + other wallets).
I've made many threads on Reddit, the main one being this one :
https://www.reddit.com/r/ledgerwallet/comments/7rd798/should_we_be_concerned_about_the_ledger/
I have been very active for many months, spent hundreds of hours to find a solution (I'm a software programmer, so I understand a few things).
I was in direct contact with @EricLarch during all this time, starting with a good feeling, ending with a get away from any responsibility from their side with absolutely no empathy for all the people that lost their saving.

I decided to open a new ticket following the advice of @jmacwhyte because the previous one was one kilometer long, and I understand it's a mess to go through all the comments.**
Here's a resume of what happened back in January, there are much more details on the reddit thread :
1/ I opened the ledger's eth / bitcoin apps on chrome, and had a look at the uis.
Saw on Ledger website that for custom erc20 tokens I had to go thru mew.
I opened a new tab in chrome.
(I am not sure I closed the eth app in the background.)
2/ I created / deleted a wallet with mew cx extension (to avoid confusion, I was able to recover it the day after, and it was not the address involved).
3/ I connected my Ledger via the Mew interface, selected the Ledger eth derivation path, ## checked the first address on the list
4/ I added my custom tokens (Qash/Ven/Nas) at the bottom-right with contract addresses/decimals/name
5/ I test-sent a very little amount of each coin to see if it was working fine. - I didn't tried to send them back. -
I was able to see them after about 30-45 minutes
6/ I sent all the remaining amount of the coins as for me everything was working fine.
7/ I was able to see the transactions were successful and to see all my tokens in the custom tokens section at the bottom-right.
8/ I unplugged the Ledger and had lunch
9/ By the end of the day, I re-plugged the Ledger, and I wasn't able to see my tokens again.
By having a deeper look, I was able to see that the first address in the list was not the same anymore.
**I tried many things to avoid any user error, starting with trying all the different derivation paths provided (even if I am 100% sure I checked the Ledger one).
I have a full image of my hard drive made 1 hour after the issue, and a dump of my RAM.
These have been very useful to find all the wallets I created/deleted previously in Mew without using the Ledger (I managed to recover all those wallets by finding the content - dictionaries - of the keystore files).
I am also 100% sure I NEVER set up a passphrase on my device.
I tried to re-initialize it from the start with my 24 words, I always end up with the new "wrong" address, same with the bip39 tool from Ian Coleman.**
I recently tried the Ledger Live application, and I was surprised to see my public address was different again from the 2 previous ones, but I just saw on a forum that Ledger decided to change their derivation path in order to use the account field of the BIP44 protocol.
Thanks a lot for your reading and time.
David
PS : here's the account where you can see my funds that I can't access anymore (which have decreased by 600% in value since)
https://etherscan.io/address/0xbBeC195bA2AD7197e280A682c185af1a3e9c9D29

please refer to the answers on reddit


[KIECLOUD-683] - Find a way to retrieve the image name built os OSBS

Signed-off-by: Spolti<EMAIL_ADDRESS>Thank you for submitting this pull request
JIRA: (please edit the JIRA link if it exists)
link
referenced Pull Requests: (please edit the URLs of referenced pullrequests if they exist)

referenced pull request 1
referenced pull request 2
referenced pull request 2
etc.

How to retest a PR or trigger a specific build:

* a pull request please add comment: Jenkins retest this

It looks great to me.
Just a proposal, the script could be minimized a bit in order to avoid using python, e.g., something like this using jq (which should be already installed - is it?):
$(/usr/bin/brew call --json-output getTaskResult $( cat output.txt| grep -oP 'Task \\d{8}' | cut -d" " -f2) | jq -nre "input.repositories[0]")

In this way you can remove the python env activation - a bit lighter.
Note: -ne ensure that jq exits with non-zero code if empty input or if null result.
This is just a proposal, it does the same thing you did with python.. so up to you :)

My only concern is that, if brew call fails, the python script could be invoked with empty input making it failing but with 0-code exit status. Not 100% sure but something to double check.

@lampajr updated, please take a look.


[SMALLFIX]Supply the name of variable to Preconditions.checkNotNull

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/2737/
Test FAILed.


Improve Dockerfile ignored files

Description
I noticed that some untracked files were copied into the image. Additionally, __pycache__ and some *.pycs.
This PR copies files more strictly. It's not perfect yet - perfect would be https://stackoverflow.com/q/51693245, or otherwise to maintain the full list of desired files in .dockerignore, which isn't worth the hassle, IMO.
Motivation and Context
Prevent unwanted files from reaching the image.
How Has This Been Tested?
I built the image, then verified the profiler manages to run and all its needed files are found.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] I have updated the relevant documentation.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

I think generally is not the best idea to build locally for production. The code may contain more not tracked files, changes that didn't pass CI and also without CR. Even manual pipe line

I think generally is not the best idea to build locally for production. The code may contain more not tracked files, changes that didn't pass CI and also without CR. Even manual pipe line

Agree. Currently we don't have CD so until we get to set it up - I suggest we build by git clone ... && cd gprofiler && docker build, to ensure the directory is really clean. I think it's better than to actually clone in the Dockerfile (RUN git clone) because it allows for easier local building of the image.

I think generally is not the best idea to build locally for production. The code may contain more not tracked files, changes that didn't pass CI and also without CR. Even manual pipe line

Agree. Currently we don't have CD so until we get to set it up - I suggest we build by git clone ... && cd gprofiler && docker build, to ensure the directory is really clean. I think it's better than to actually clone in the Dockerfile (RUN git clone) because it allows for easier local building of the image.

Yes it could be a temporary solution, anyway add a manual action to Github is easy as well .. I can do that if needed

anyway add a manual action to Github is easy as well .. I can do that if needed

I suggest we add it on tags


service cannot match endpoint

What happened?
service cannot match endpoint
What did you expect to happen?
I think service can match pod
How can we reproduce it (as minimally and precisely as possible)?
helm upgrade cilium cilium/cilium --version 1.10.3 --namespace=kube-system \
......
--set prometheus.enabled=true \
--set prometheus.port=9390 \
--set proxy.prometheus.port=9390 \
--set operator.prometheus.enabled=true \
......

then I find kube-system ns svc/cilium-agent can not match endpoint
label had been set . and same as endporint(pod)

{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{"prometheus.io/port":"9390","prometheus.io/scrape":"true"},"labels":{"k8s-app":"cilium"},"name":"cilium-agent","namespace":"kube-system"},"spec":{"clusterIP":"None","ports":[{"name":"envoy-metrics","port":9390,"protocol":"TCP","targetPort":9390}],"selector":{"k8s-app":"cilium"},"type":"ClusterIP"}}

But When I use the file I'm editing it matches up file
[root@k8smaster00 ~]# cat /yaml/selector.yaml
apiVersion: v1
kind: Service
metadata:
  namespace: kube-system
  name: cilium-agent
  labels:
     k8s-app: cilium
  annotations:
    prometheus.io/scrape: 'true'
    prometheus.io/port: "9390"
spec:
  selector:
    k8s-app: cilium
  type: ClusterIP
  clusterIP: None
  ports:
  - name: envoy-metrics
    port: 9390
    targetPort: 9390
    protocol: TCP

kubectl apply --filename=/yaml/selector.yaml

{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{"prometheus.io/port":"9390","prometheus.io/scrape":"true"},"labels":{"k8s-app":"cilium"},"name":"cilium-agent","namespace":"kube-system"},"spec":{"clusterIP":"None","ports":[{"name":"envoy-metrics","port":9390,"protocol":"TCP","targetPort":9390}],"selector":{"k8s-app":"cilium"},"type":"ClusterIP"}}

old service same new service but old service can not  match endpoint
Anything else we need to know?
No response
Kubernetes version

Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.9", GitCommit:"7a576bc3935a6b555e33346fd73ad77c925e9e4a", GitTreeState:"clean", BuildDate:"2021-07-15T21:01:38Z", GoVersion:"go1.15.14", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.0", GitCommit:"af46c47ce925f4c4ad5cc8d1fca46c7b77d13b38", GitTreeState:"clean", BuildDate:"2020-12-08T17:51:19Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}

Cloud provider

there is no cloud

OS version

$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
$ uname -a
Linux k8smaster00 4.20.13-1.el7.elrepo.x86_64 #1 SMP Wed Feb 27 10:02:05 EST 2019 x86_64 x86_64 x86_64 GNU/Linux

Install tools

kubeadm init --skip-phases=addon/kube-proxy

Container runtime (CRI) and and version (if applicable)

cilium --version 1.10.3

Related plugins (CNI, CSI, ...) and versions (if applicable)

maybe latest version fix this error . I will test later .


Add save schema feature

To develop react-relay application schema.json is required(https://facebook.github.io/relay/docs/guides-babel-plugin.html#schema-json.
I think it's nice to fetch and save the schema using GraphiQL app.

@skevy , how about it?

Hi @Quramy thanks for this PR! I've been traveling -- but I'll attempt to get this reviewed today!

Hi @Quarmy I just tried this out. It seems to work well, but the design doesn't work with the more recent updates.
I know it's been forever, but are you still interested in getting this in?

@skevy, thanks for your reply! Absolutely yes.
Ok, I'll update this PR. Then would you re-review it?

Yes definitely ! @Quramy

Hi, @skevy . I've updated this PR and moved this feature under the File menu. How about it ?

@Quramy I'm really sorry for the great delay here. Would you mind resolving the conflicts so it can be merged? 🙏


Disable notification on Android

I want to turn off the Android notification when the app is running in the background. I am not sure if this is possible as this package currently stands, but it would be a nice feature if that was an option. If it's something you can already do, please tell me how.

Any update on this?

@lucasdidur  there is a way to do it: if your app doesn't have notification permission, there is no notification show but this only happened with Android 13 and higher.
 Foreground services must always have a notification on Android. If you don't want this, you have to use the WorkManager, for example.
https://developer.android.com/develop/background-work/services/foreground-services


⚠ Jenkins Plugins Artifactory has degraded performance

In 6b4bbda, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 2750 ms

Resolved: Jenkins Plugins Artifactory performance has improved in b092e9e after 3 hours, 7 minutes.


cra to vite migration: initial attempt

Attempt to migrate from CRA to vite.
Currently, npx vite build completes successfully in ca. 50 seconds. I have not confirmed whether the outputted application is actually functional.
TODO

[ ] Resolve duplicate src/utils/constants/colours.js - It was created to solve ESM import
[ ] Add missing devDependencies to package.json
[ ] Clean-up unnecessary config file
[ ] Confirm env var mapping working correctly for REACT_APP_. See envPrefix in vite.config.js

I'll close this for now as we won't be doing this work for a while—keep the branch open though, as I'd like to come back to it when we have time


docs: add the release process

It includes

code update
milestone and release notes management
npm package publish

@csouchet I have just integrated all your wording suggestions 😸


[v2] cli add autocompletion

Description
The user should be able to add autocompletion through a cli call (e.g. zitadel completion bash)
Acceptance criteria

[ ] it is possible to add the autocompletion of ZITADEL to .bashrc
[ ] if a user writes zitadel in his terminal and presses tab the user gets proposals of what to do

@hifabienne and @adlerhurst, maybe this issue could be closed? I've checked that Zitadel already has the cobra completion included:

or do you need a more specific completion definition?


Does not support 60fps frame by frame

I need to view videos at the most detailed frame by frame as I can. I would download the video if it was legal and if I had a better internet connection. This plugin makes everything easier however since you tube now has 60 fps it would be nice to be able to iterate through each frame at 60 fps.

Hi Tagette,
Thanks for your feedback. I actually have an experimental branch of frame-by-frame which supports 60 fps (O key to toggle), screenshotting (apostrophe or ' key to trigger and shift + ' to download), and faster forward seek. You can download this version here: https://github.com/regularWand/frame-by-frame. In your Chrome extension settings you must enable developer mode and hit load unpacked extension and point to where you have downloaded frame-by-frame.
I know this reply is rather late, but that is because I am a student and am not in a field at all related to programming. I have recently picked up programming again and hope to update the official extension with more features in the future!

Hi again, I was playing around with 'frame-by-frame' and thought I was experiencing a bug, but it seems Google have recently implemented frame skipping on Youtube by default using the angled bracket keys < and >.  It is adaptive with the frame rate of the video (including 60 fps), but is not as flexible as frame-by-frame and is a rather limited feature. It also uses a rather slow seeking technique which I have experimentally improved upon (only for forward seeking).


Train on Blender data?

Hi, thanks for open sourcing this cool repo!
I was playing around with Garfield a bit and could get it to train successfully on colmap / MiPNeRF360 data (see the screenshot from the kitchen scene at the bottom), but when I try training on the original Blender data from the NeRF paper, it doesn't seem to converge and i get the following output:

The train cmd I used:
ns-train garfield blender-data --data /path/to/lego/data
I also tried processing the blender data into colmap format with ns-process-data, but colmap fails and only matches 2 images, so that doesn't seem to work either.
Is training on Blender data not supported? Or any idea on what I'm doing wrong? Thanks :)

when try ns-train garfield sdfstudio-data --data /path/to/data, will have an error as
"File "garfield/garfield/garfield_datamanager.py", line 303, in next_group
per_pixel_index = self.pixel_level_keys[img_idx][
IndexError: index 30 is out of bounds for dimension 0 with size 2"
also, when try ns-train garfield colmap --data /path/to/data, will have an similar error as
"File "garfield/garfield/garfield_datamanager.py", line 303, in next_group
per_pixel_index = self.pixel_level_keys[img_idx][
IndexError: index 32 is out of bounds for dimension 0 with size 2"


Tweak alert config to prevent spam on deploys

Related Issue or Background Info
#1788
Our alerting settings are a little too sensitive in most environments, and it's causing a lot of alert spam during deploys and when resetting the training DB daily.
Changes Proposed

We're using an uptime alert that's set to Average. In lower environments, this triggers basically no matter what because for some reason there's always a minute or two that spikes higher than 5000s in the 5-minute window, which will always trigger an alert set to Average.

Proposed: for non-stg/prod envs, set this to Minimum instead so that each minute in the 5 minute window needs to be > 1000ms. This should catch only the response time issues that are actually real and sustained.

Similarly, we're using Average for CPU usage. In lower environments, this actually triggers on deploys as the CPU load is high for several minutes.

Proposed: move to a 10-minute collection window for lower envs.

Our azurerm_application_insights_web_test uptime pings use 5 different locations across our service area (US + Guam). We currently alert if even one of those checks times out (> 30s). This is probably too sensitive.

Proposed: alert if at least 3 of the 5 checks are timing out, to avoid alerting on network blips.

Additional Information
Some of these changes would have been easier if we had more granularity, but unfortunately you only get 1- and 5-minute windows in Azure - nothing in between.
Testing

[ ] Do these changes accomplish the goal of this ticket?

LGTM! thank you so much for the detailed comments on the PR, they're so helpful


Feature (doc?) request: vscode editor integration

If possible, it'd be helpful to have steps in https://github.com/snakemake/snakefmt/blob/master/docs/editor_integration.md describing how to integrate with vscode

Ah, it looks like there's a plugin available: https://github.com/tfehlmann/vscode-snakefmt-provider
Maybe the docs could mention that?

I've never used that editor. But if you have set it up and feel the plugin is working well feel free to put in a PR here documenting how users can set it up, or at least pointing to instructions of how to do it.


Terraform

This is still WIP but it kinda work.
Do not use as the documentation is not ready yet!

This is still WIP but it kinda work.
Do not use as the documentation is not ready yet!


All non technical documentation removed

📖 Documentation
In this commit : https://github.com/gcanti/fp-ts/commit/e08a16e1060437992aae9970e578d53a27b267d8 all non-technical documentation was removed.
The images and all that non-technical documentation was incredibly valuable and a reference for me to understand better not only the library but FP in general, especially this map: https://github.com/gcanti/fp-ts/blob/2.4.3/docs/type-classes.svg .
I understand that almost all have been ported to blog posts, but I cannot find this SVG, could it be added again? It really helps me navigate better the type classes.
Thank you for this amazing library.

Is there a plan to restore the docs with new content? If not, is that something the maintainers would be open to? The technical docs are exhaustive but IMO impossible for most TS developers to grok if they want to take the leap into FP

I think the key is to use only what you understand. pipe, Option, Either, Task, TaskEither, sequenceS/T, with map/chain/a few other functions. I think that's almost all I use because it's relatively easy to understand. There are a lot of more interesting things, but, without clear real-world examples, it's hard to understand. I wish I had time to write about it.

The resources at the Getting started with fp-ts series I think is exactly what I wanted. It is referenced in the docs but I thought slightly hidden (and also, kept out of tree)

Perhaps the OP's desire could be satisfied by generating the inheritance diagrams through Typedoc when publishing the docs?
Relevant reading:
Typedoc issue: https://github.com/TypeStrong/typedoc/issues/175
The ill-maintained: https://www.npmjs.com/package/typedoc-plantuml-extended
The non-automated: https://www.npmjs.com/package/typedoc-plugin-mermaid

a reference for me to understand better not only the library but FP in general, especially this map: https://github.com/gcanti/fp-ts/blob/2.4.3/docs/type-classes.svg .

Wow, that image is really good! I wish I'd seen that earlier. Currently the docs just have a big list of alphabetical modules, which is rather intimidating when you don't already know what you're looking for :)

Thanks, @nyctef , my thoughts, exactly.
@jacobdr maybe the inheritance diagram will end up generating something similar, but I doubt it, there are many kinds that do not map to that image at all.


Request for--with-example flag for iota move new

Description
Is it a good idea to have a --with-example flag added to the iota move new command, which enables a dev to start right away with one of the examples in https://github.com/iotaledger/iota/tree/develop/examples/move ?
Something like this: iota move new --with-example flash_lender , with a default of first_package maybe.
Related to #1417

Github interface doesn't provide a direct way to download one directory, one has to clone the entire dir and copy it, or use a 3rd part tool: https://stackoverflow.com/questions/7106012/download-a-single-folder-or-directory-from-a-github-repository
That is why I think it provides a slightly better experience.

After internal discussions, we think this is maybe too fine-grained to be added to the CLI. It shouldn't be too annoying for a developer to clone the repository and copy the relevant folder.


multilanguage mode sitemap.xml overwrite?

I did not find a way to overwrite the sitemap template used to generate the top level sitemap.xml in multilanguage mode. Sitemap inside each language works fine and uses my layout/sitemap.xml. Is there a way to overwrite the builtin for the top level sitemap as well?

I just addes some lines to the docs about it:
https://gohugo.io/templates/sitemap-template/#sitemap-templates

Thanks Bjørn, I ll check it out.


Windows Explorer context menu

I would like to be able to use Windows Explorer's context menu in Files, especially its custom entries, like, in my case : WinRAR, 7-Zip, LockHunter, Beyond Compare, Git Bash, Sublime Text, etc...
The context menu is also stored in Windows Registry.
I found some of my context menu items on my Windows Registry database, but, they're not located in the same place.
There's at least these :
HKEY_CLASSES_ROOT\*\shell
HKEY_CLASSES_ROOT\*\shellex
HKEY_CLASSES_ROOT\Folder\shell
HKEY_CLASSES_ROOT\Folder\shellex
HKEY_CLASSES_ROOT\Directory\shell
HKEY_CLASSES_ROOT\Directory\shellex

(Source)
Some way, CCleaner and other software manages to find them all.
Two software that I use, TreeSize and WinSCP, allows to display Windows Explorer's context menu, TreeSize isn't open source but WinSCP is : I found the feature in this Delphi file by the ShellDisplayContextMenu function.
I think this approach is different from reading the Registry because it's the genuine Windows Explorer context menu which is shown, so I guess there's some way to access it directly.
Unfortunately, I there's nothing more I can do to help you figure this out.
Good luck

I don't think it would be possible to hook in to all those applications to do what they are meant to do.

Nothing is impossible, especially when other developers have done it before...
And the commands are specified in the Registry

Oh, I see now @duke7553 whats your take?

@KaKi87 @yaichenbaum Actually it is impossible because, to my knowledge, universal apps do not have access to the registry.

UWP apps can actually read from the registry, however I am not sure how something like this would work with localization.

Context menu strings are exclusively managed by the software which added itself to it. Indeed, if you change Files's language, the software's won't.

There are two types of context menu entries that I can think of, the first type would be for the open with menu and the new file menu, the second type would be for additional entries in the right click context menu for items such as 7zip.
We would probably need a way of classifying them and adding sub menus for the ones that require that like 7zip.

I would like to take a look at this. However what I couldn't find is the menu options of 7-Zip. Where is the submenu items located under the registry of Windows? Here is more information how this can be done.
https://stackoverflow.com/questions/20449316/how-add-context-menu-item-to-windows-explorer-for-folders
https://www.askvg.com/add-cascading-menus-for-your-favorite-programs-in-windows-7-desktop-context-menu/

The open with menu items are interesting because it includes more then the programs you would expect to show. For example, the items for text files include a bunch of strings that seem to have nothing to do with opening files.

Some of the application's shell context menu cannot simply be retrieved from the registry. 7-Zip for example is using shell extensions. These are in-process COM objects which extend the abilities of Windows operating system. To retrieve the menu items for 7-Zip, COM object needs to be queried.

@BuraChuhadar We can technically check for 7zip and manually add the menu items like we do for QuickLook.

I am not sure how did you get the "Open With" list from your registry. I am seeing on my end Open With is also a shell extension which needs to be queried as a COM object. See "Computer\HKEY_CLASSES_ROOT*\shellex\ContextMenuHandlers\Open With" which then calls "%SystemRoot%\system32\shell32.dll".

I got mine from Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts.

I would suggest to keep it simple and look only these sections for now without shell extension functionality:
HKEY_CLASSES_ROOT\*\shellex
HKEY_CLASSES_ROOT\Folder\shell
HKEY_CLASSES_ROOT\Folder\shellex
HKEY_CLASSES_ROOT\Directory\shell
HKEY_CLASSES_ROOT\Directory\shellex

Then it can be expanded into "Open With" and/or shell extensions functionality.

@BuraChuhadar That sounds like a good starting point, is this something you wanted to implement?

Yes I want to take a look at this please.

I am also sharing this here:
https://stackoverflow.com/questions/5708434/how-to-use-shell32-within-a-c-sharp-application
https://stackoverflow.com/questions/53035823/using-folderitemverbs-and-invoke-or-doit-to-execute-a-submenu-item-in-a-windows

@BuraChuhadar Make sure to keep us updated on your progress 😊

So far I have this: https://github.com/duke7553/files-uwp/commit/4ee24dbb73956762910aa8b86e9baef9d522db4f
I have been experimenting with also getting the information from other ways.

Current progress: https://github.com/duke7553/files-uwp/pull/699 not done yet.

Would it also help the support for other shell extensions? Like TC4Shell which is an archive viewer integrated into File Explorer.

I think an approach like Windows Terminal will be better. A single json file will store the context menu data for different file extensions in different profiles, user can edit this file to add/remove/sort the entries of context menu for a certain item. Additionally, we can provide a gui for editing context menu which may contain detected entries from registry as suggestions.

As long as there's a GUI, it's okay.

I think an approach like Windows Terminal will be better. A single json file will store the context menu data for different file extensions in different profiles, user can edit this file to add/remove/sort the entries of context menu for a certain item. Additionally, we can provide a gui for editing context menu which may contain detected entries from registry as suggestions.

Most users are not interested in setting up the right click context menu.

Well, my initial feature request was to add an entry to the UWP context menu which would contain the existing entries of the Windows Explorer context menu, just like TreeSize, WinSCP, Beyond Compare, etc.
So, if that feature gets implemented, then, technically, the context menu would be customizable using existing software with Windows Explorer context menu customization features like CCleaner or ShellMenuView.
Thanks

@BuraChuhadar Can you share a status update where things are with this issue? Thank you 😃

@gave92 Thank you for all your great work on implementing this feature in #1754.

Nice ! When will the feature be available on MS Store ?

Nice ! When will the feature be available on MS Store ?

The feature is already available to users in the beta flight, however it will be a at least couple weeks before we roll it out to regular users since we still working on refining the improved context menu.

Is there any way to get into beta flight?

I have Files UWP - Preview, version <IP_ADDRESS>, is that the beta flight ? It doesn't seem so, because I can't see find the feature

hello everyone, I apologize for the radio silence I have been dealing with some life/work issues and couldn't get to this work. I really appreciate @gave92 for implementing this feature this looks really nice.


Exclude contributor PRs with milestone from staling

Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle merge

The merge queue build has started. Click here to see all failures if any.


Resuming remote writing from a last marked segment

This PR is based on the work in #9862:

The main objection with the original PR is that some functionality is synchronous and requires locking. With this PR, I tried to take a more asyncronous approach.
The marker file in the original PR was named after the client ID. In this PR we use the hash of the queue config.

The client ID may contain characters which are not valid names for a file or directory. I think this is not the case at the moment, because the client ID has to be a valid Prometheus label and all such labels should be valid file paths. But I think it's better not to count on this.
By using the hash, if any part of the client config changes, we will have a new marker file. This probably makes sense in the general case. For example, if write_relabel_configs changes between restarts, we will not be sending the same metrics.

A few open questions:

Is the new approach concurrent enough? Would it still block too often?
Do we still need benchmarks?
Should we document the new marker files and marker directories somewhere?
Should we version the marker file structure somehow?
Should we detect unused marker files/directories and delete them?
Do we need to add new metrics?
What if the marker file gets corrupted, e.g. if Prometheus crashes during the time when we write it? We could detect a crash by the presence of a .tmp file, which should swap the main marker file?

There are also additional open questions in TODOs in the code.
I believe that the async behaviour here is a good tradeoff:

It allows remote write performance to be as close as possible to what it was prior this change
Even if the marker is a little old, the worst case is that we will just replay a few segments more than necessary. But replaying more than necessary will pretty much always be the case even if the marker is relatively new.

Also note that I haven't written tests yet. I'll write them if we agree that this approach has potential.

I've done one read through of the code but I still need to do another to leave review comments. For now, I'll respond to parts of your opening message:

The marker file in the original PR was named after the client ID. In this PR we use the hash of the queue config.

The client ID may contain characters which are not valid names for a file or directory. I think this is not the case at the moment, because the client ID has to be a valid Prometheus label and all such labels should be valid file paths. But I think it's better not to count on this.
By using the hash, if any part of the client config changes, we will have a new marker file. This probably makes sense in the general case. For example, if write_relabel_configs changes between restarts, we will not be sending the same metrics.

I don't necessarily agree with this. I think there's definitely use cases where a user could change the rw config but keep the same client name and still want to restart remote write from a checkpoint file. For example, consider a scenario where you're remote write has fallen behind then shut down. When you restart it you want it to be able to catch up on a reasonable timeframe and not be endlessly stuck behind, so you give it more memory and increase the # of shards that remote write is allowed to use. If we enforce the config hash as the checkpoint name we'd lose the ability to do this.
Using the name also allows the user to stop their Prometheus, change the name in the config, and also rename the checkpoint file themselves. They don't have a way of knowing what the new config hash would be prior to restarting their Prometheus.

Do we still need benchmarks?

Of some kind, yes. We should the overall resource usage of remote write with the new codepaths you're adding, plus check if we can catch up to the current segment after restarting from x segments behind.

Should we document the new marker files and marker directories somewhere?
Should we version the marker file structure somehow?
Should we detect unused marker files/directories and delete them?

Yes. I can't see us changing the structure often but it's still good to account for it? The detection of unused checkpoint files could be on a long timer (24h?) to ensure we don't delete something someones planning to restart soon, or we could be smarter and delete it if the segment it references is removed from the WAL.

Do we need to add new metrics?

Probably? Some about how the marker code is performing/behaving would be useful, for example we might want to know the oldest segment we have samples enqueued for, and how many. The cardinality here won't be too bad imo.

What if the marker file gets corrupted, e.g. if Prometheus crashes during the time when we write it? We could detect a crash by the presence of a .tmp file, which should swap the main marker file?

If it's corrupted we should just log an error and continue to start up remote write as we do right now. The writing of a new marker file should be idempotent though; create a new temp file, write to it, replace the old file with the new one.


Getting Import Error - Suggestions not working

Describe bug
When importing yfinance as yf in python, I keep getting ImportError: cannot import name 'JSONDecodeError' from 'requests.compat'
Simple code that reproduces your problem
yfinance as yf
Debug log
ImportError                               Traceback (most recent call last)
Cell In[20], line 1
----> 1 import yfinance as yf
File ~\AppData\Local\anaconda3\Lib\site-packages\yfinance_init_.py:23
1 #!/usr/bin/env python
2 # -- coding: utf-8 --
3 #
(...)
19 # limitations under the License.
20 #
22 from . import version
---> 23 from .ticker import Ticker
24 from .tickers import Tickers
25 from .multi import download
File ~\AppData\Local\anaconda3\Lib\site-packages\yfinance\ticker.py:29
25 import pandas as _pd
27 from collections import namedtuple as _namedtuple
---> 29 from .base import TickerBase
32 class Ticker(TickerBase):
33     def init(self, ticker, session=None):
File ~\AppData\Local\anaconda3\Lib\site-packages\yfinance\base.py:36
32 import pandas as pd
34 from .data import TickerData
---> 36 from urllib.parse import quote as urlencode
38 from . import utils
40 from . import shared
File ~\AppData\Local\anaconda3\Lib\site-packages\requests_init_.py:45
43 title = 'requests'
44 version = '2.13.0'
---> 45 build = 0x021300
46 author = 'Kenneth Reitz'
47 license = 'Apache 2.0'
File ~\AppData\Local\anaconda3\Lib\site-packages\requests\exceptions.py:9
1 """
2 requests.exceptions
3 ~~~~~~~~~~~~~~~~~~~
4
5 This module contains the set of Requests' exceptions.
6 """
7 from urllib3.exceptions import HTTPError as BaseHTTPError
----> 9 from .compat import JSONDecodeError as CompatJSONDecodeError
12 class RequestException(IOError):
13     """There was an ambiguous exception that occurred while handling your
14     request.
15     """
ImportError: cannot import name 'JSONDecodeError' from 'requests.compat' (C:\Users\User\AppData\Local\anaconda3\Lib\site-packages\requests\compat.py)
Bad data proof
No response
yfinance version
0.2.36
Python version
6.5.4
Operating system
Windows 10

You appear to be using an old version of requests (2.13.0), could you try updating your Python environment libraries to match those in https://github.com/ranaroussi/yfinance/blob/main/requirements.txt?


Add Upscayl's team '4xLSDIRplusC' Model

Description
Please provide a short description of what feature you're looking forward to
add into the existing repository below. Please include the story behind your
idea as well to give a better visualization of your idea.

Upscayl's team made 4xLSDIRplusC model available. Hence, let's patch it.
Expected Behavior
Please specify the expected behavior of your requested feature. Some great and
helpful pointers are your expected interface (e.g. command patterns, simple
sketches of the user interface, etc).

Upscayl's team's 4xLSDIRplusC model is available.
Current Absent Behavior
Please specify the current behavior (e.g. workaround, blockage, etc).

Upscayl's team's 4xLSDIRplusC model is unavailable.
Attachment
Please drag and drop the necessary data files (e.g. screenshot, logs, etc)
below.

committed in 8d703e2091cff8d404001a845035d3488e3ddddf


docs: change links of perception nodes in node diagram

Signed-off-by: Shin-kyoto<EMAIL_ADDRESS>Description

Links of perception nodes are old(autoware.iv ver.), so I changed these links into autoware.universe ver.

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

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

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

[ ] The PR follows the pull request guidelines.

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

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

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

Which part of the diagram is modified?

Are these still used?
https://github.com/tier4/autoware.iv/tree/develop/sensing/preprocessor/pointcloud/laserscan_to_occupancy_grid_map
https://github.com/tier4/pointcloud_to_laserscan

How about updating the links of obstacle_segmentation and occupancy_grid_map as well?

To tell the truth, I do not know links for these nodes, so I did not change them.

voxel_grid_filter
outlier_filter
obstacle_segmentation

crop_box_filter
common_ground_filter
pointcloud_to_laserscan
laserscan_to_occupancy_grid_map

And traffic light link is old

Sorry, which one is old?
(I checked it, but I could not find old link...)

(I checked it, but I could not find old link...)

Sorry but it was my mistakes

According to https://github.com/autowarefoundation/autoware.universe/blob/0d9c92fa8ae31da658be109347d63201faede6e1/launch/tier4_perception_launch/launch/obstacle_segmentation/ground_segmentation/ground_segmentation.launch.py#L350-L425 ,

https://github.com/autowarefoundation/autoware.universe/tree/main/perception/compare_map_segmentation
https://github.com/autowarefoundation/autoware.universe/blob/main/sensing/pointcloud_preprocessor/docs/downsample-filter.md  (which is simmilar to VoxelGridDownsampleFilterComponent?)
https://github.com/autowarefoundation/autoware.universe/blob/main/sensing/pointcloud_preprocessor/docs/voxel-grid-outlier-filter.md