Add extra debug logging for TX verifications

What current issue(s) does this address, or what feature is it adding?
When a TX verification fails while trying to relay it is hard to investigate why. https://github.com/CityOfZion/neo-python/issues/866 is an example case where this applied.
How did you solve this problem?
Add some extra debug logging
How did you make sure your solution works?
see #866, it's the same patch I supplied there
Are there any special changes in the code that we should be aware of?
no
Please check the following, if applicable:

[ ] Did you add any tests?
[X] Did you run make lint?
[ ] Did you run make test?
[X] Are you making a PR to a feature branch or development rather than master?
[X] Did you add an entry to CHANGELOG.rst? (if not, please do)

Coverage decreased (-0.01%) to 86.397% when pulling c1fdb1fefc74dc35838d3cd00ee78e884c9aa4c2 on ixje:tx_extra_log into 475cc3399799dfd82c814bb21b08de52826843b6 on CityOfZion:development.


Does this code work in distribution?

I wanna know if this code will accept by Apple to upload the app to te App Store?

It's OK. but I find is will stop when GPS is no single.

YES. I believe so. Because I'm currently handling a project that uses this (as a library). And I have submitted the build to Apple as BETA and they approved it.


Convert DATADISK to ROOT

ISSUE TYPE

Improvement Request
Enhancement Request
Feature Idea

For what reason CloudStack doesn't allow to convert DATADISK to ROOT? It is very usefull for backup purpose.
I would be great to create volume snapshot via Recurring Snapshots, after that create volume and attach it to Intsance instead of current ROOT volume

@top-secrett
When you attacha DATADISK, you can specify the deviceid
if deviceid is 0, the DATADISK will be attached as a ROOT disk. It works only if the vm do not have a ROOT disk, as a vm can have only 1 ROOT disk.

@weizhouapache oh, really. Earlier I got error. Thank you


Crash in VectorType.Visit in a system include.

I'm getting a NotImplementedException from VectorType.Visit. I am not attempting to use a VectorType. In fact I don't even know exactly what this is referring to. But it appears to be trawling through some system headers which are ultimately not going to be exported (because they are system headers).

Guess we just need to stub these out, since it's in an system header it doesn't really matter if we ignore it.


Emotion Based Music Player using Deep Learning

Deep Learning Simplified Repository (Proposing new issue)
:red_circle: Emotion Based Music Player :
:red_circle: Aim: The project aims to create a system that detects a user's emotional state through real-time facial and recommends music that aligns with the detected emotion. :
:red_circle: Dataset : https://drive.google.com/file/d/1K4Ib0R8NgDT4Ud6Dovy-idFp92IC2ARw/view?usp=drive_link
:red_circle: Approach : Convolutional Neural Network (CNN), Python libraries like Mediapipe, Keras model, Streamlit.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.

:white_check_mark: To be Mentioned while taking the issue :

Full name : @abhisheks008
GitHub Profile Link : https://github.com/abhisheks008
Email ID<EMAIL_ADDRESS>What is your participant role? GSSoC'24-Extd Contributor

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

You are also planning to implement an UI for the user interaction with the application. Correct me if I am wrong.
@shanmukhi-developer

@abhisheks008 I want to add this project can you assign me this issue.

Focus on deep learning methods. Issue assigned to you @shanmukhi-developer. You can start working on it.

Can you pull my request #911


UX Design - Basic Search - Iterate

Title of ticket: UX Design - Basic Search - Iterate
Description
Meeting with Abin to discuss first draft of basic search design (this incorporates the AXIS Integration piece
Decide technical capabilities and challenges and adjust design accordingly
Dependencies

[x] Meet with Abin

DOD

[x] Meet with Abin
[x] Decide Technical Changes
[x] Mini Research Sessions to review and get feedback
[x] Adjust design
[x] Update Prototype
[ ] Review with SME & PO

@lmullane @m-prodan @arielleandrews @mpilchar
Below is a link with the updated Advanced Search Design, Feel free to review when you have a chance and share any suggestions or changes.
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/874445058

Looks great @JHarrietha-AOT, thanks for incorporating that feedback

Going to move this to closed as we have ha lots of reviews and eye on it. Thanks team for all the great feedback


[EN Currency] MUSD not recognized

Add support for units like MUSD (='million USD'), MEUR (='million EUR')...
For example: "Direct support to the armed forces, totalling 50 MUSD, has been allocated in the budget"

working on this


Add container building jobs

add jobs to build and upload images
add job to build zuul pod image

Signed-off-by: Artem Goncharov<EMAIL_ADDRESS>

recheck

regate

recheck

regate

regate


AutoSnapshot

In the pursuit for more intuitive and reliable snapshotting

Related: #5489

After discussion with @beam2d , we've got following direction:

add autoload=False and snapshot_retain=-1-like options to both snapshot and snapshot_object functions.
if snapshot_retain > 0 stale snapshots are automatically removed every time a new snapshot was created.
If autoload=True the extension automatically finds the newest snapshot that matches the filename pattern (regarding timestamp) and loads the content to the object.


Unique DB with multiple stores

I refactored the way IDBWrapper works with stores.
Instead of creating one DB for each store, I think the right way is to create one DB with multiple stores.
My mains changes consist of receiving the name of the DB and an array of params to create the stores.
To accomplish this, I created an internal class called Store to group the store handling that was directly in the main class.
The result is an object created just like before, but instead of using it like: idb.put, now it is idb.store1.put, for example.
The refactor is extensive and I might have left something behind, but I ask you to please consider merging to your repository.
If you find anything that needs to be changed, just tell me and I can do it :)

Thanks for the PR!
Wow, that's quite some work, awesome :) I'll need some time to go through this, but one question upfront:  What was your reasoning behind this change? I mean, what are the benefits of this architecture?

I am implementing an app that has some parts that need to work offline, that's the reason I started using IndexedDB and looked for a nice lib that simplifies the complicated original API and found IDBWrapper ;)
With the requisite of working offline, I have to store quite some data in the client side in about 5 stores.
Also, different users might access the app from the same browser, and one user should not see other user's data.
So, I need to separate they're data. I know there is the storePrefixparam that I could use to create separate stores for different users, but it gets a little bit messy.
5 stores are creating 5 DBs for 1 user, with 2 users, it goes to 10 and so on.
With the ability to have multiple stores in one DB, it gets more organized (just like a SQL database doesn't create on DB for each table).
My app is built with Angular, so I created a service that initializes the stores before any controller or directive. If all stores are initialized with only one call, it gets much easier to return a promise to wait the stores to get initialized. It also makes testing much easier.
Thanks for taking the time to analyze my PRs :D


Fixed regex for sig file to replace only extension

Previously, relative paths would confuse the file name generation regex.
With this change, only the final '.' character is matched as the
beginning of the file extension.

You could go one better and exclude /s from the match, so as not to truncate a path with a . if the filename has no extension (although it's unlikely to arise in practice).

Looks ok, not had chance to try this yet though

@pelwell good point. I updated the regex to [^./] to deal with that problem.

Thanks!


how can I put the number of epochs over 1000?

Hi, how can I put the number of epochs over 1000?

why you want more than 1k epochs??

yes, we don’t recommend training over 1k epochs, usually with 500 epochs you can get a very decent model, if you want to get more, you can modify the tabs/train/ file - i was asking only for curiosity, maybe is something relevant and we have to add more epochs range


gRPC Ruby on Mac requires Ruby > 2.0

https://github.com/grpc/grpc/blob/master/examples/ruby/README.md says the requirement is Ruby 2.x, yet with version ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14] the extension can't be compiled (when installed via homebrew):
rb_call.c:142:5: error: excess elements in struct initializer [-Werror]
    0};
    ^
rb_call.c:156:5: error: excess elements in struct initializer [-Werror]
    0};
    ^

Inspecting the source code one can see the structure in question isn't gRPC-specific, rather part of ruby.h. Following the instructions in that README page to upgrade Ruby (getting version ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]) solves the issue.

A nit in the instructions to upgrade Ruby is that they say

you can use RVM to use Ruby 2.x for testing without upgrading the version of Ruby on your whole system

leaving one looking for instructions to upgrade the version on the whole system (no temporary testing). Turns out RVM just works as well, but the time being confused was already spent :)

Closing, this has been replaced by #4020

Providing (or linking to) instructions to upgrade the Ruby version on the whole system, instead of just temporary testing, would still be nice.

Please read the docs on RVM.  RVM is not used for temporary testing, it's about managing your an entire ruby environment.  E.g, you could set up cocoapods in an rvm environment and alway switch to that environment whenever you wanted to use cocoapods.  This is better than installing cocoapads to the system; even without this issue with gRPC, it means that always have a separate problem of ensuring that the dependencies of any other ruby package that is installed are consistent with those used by cocoapod's.  That's the problem the RVM or rbenv solves.

The reason #4020 replaces this bug, is because it's being resolved by #4120, which ensures that you don't need upgrade the system ruby anyway; you can just use it.


Unable to scroll manpages via mousewheel

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: macOS 10.13.1
Hyper.app version: 1.4.8
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/sholladay/85bddc67eb9c7071f9006d62ce166953
Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere): N/A
The issue is reproducible in vanilla Hyper.app: I suspect so, but haven't tried yet.

Issue
Manual pages are not scrollable with the mouse wheel (or at least a trackpad on a Macbook Pro).
man node

... for example.
The down arrow on the keyboard works. And once I have arrowed down, I can scroll back up with the mouse wheel.

https://github.com/zeit/hyper/issues/1842


dev_install is broken

Probably not a murkmod problem but still, I’m on octopus, I used sh1mmer, I’m on 105. It might be because of my version but idk.

I"m no expert, but it could be your version, update to a later version or restart the chromebook, and try again. Provide more information as well, such as how to replicate the error.

Yes - it's definitely because of your version. Google's portage servers are only keeping builds for a few recent builds of the OS for each board - you'd need to update to a newer version to use the devmode installer.


Tokio incompatibility

Rust Version:
rustc 1.50.0-nightly (f76ecd066 2020-12-15)
Runtime version (e.g. Tokio):
tokio = { version = "0.3.5", features = ["full"] }
OS Version:
linux x86_64

I have an above tokio in my project, then I've added the influxdb crate in my Cargo.toml:
influxdb = { version = "0.3.0", features = ["derive"] }
In my async task started from main I've added an example code for influxdb call and I have this:
thread 'tokio-runtime-worker' panicked at 'there is no reactor running, must be called from the context of Tokio runtime', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.24/src/io/driver/mod.rs:204:1
Is it a way to solve this besides making my project compatible for old tokio v2? Maybe you could update the tokio in your crate for 0.3 which is now a current version for the tokio crate?
I'd like to stick with my newest tokio but I also like to use the influxdb at the same time... is it possible?

@manio have you checked this repo?
https://github.com/LucioFranco/tokio-compat-02

@blasrodri
I was not aware of this crate. Thank you for this tip!
Yay! it is not the cleanest way to do it but it works!!! :)
I leave this issue open. Please close if you feel this has been resolved.

What would you say is the cleanest way @manio?

@Empty2k12 rewrite to use current Tokio v0.3 :)

@manio Now that tokio 1.0 is out we should rather use that?

Oh.. definitely ;)

Given that our tokio version is basically dictated by the hyper version used by surf, which is still 0.13 (using tokio 0.2), there is little that this crate can do other than switching to another http client - do you know one that already updated?

However, for that, there's a couple of crate updates we need to await (pun intended).
surf depends on http-client which depends on hyper which depends on tokio. As soon as we're able to update, we should do it!


Improve issue labels

This is an issue for improving the labels used on GitHub issues. I want to make it easier to tag what the issue is exactly about, for instance T: Components.
Labels will be prefixed with a character to denote what it's about:

T - Type; API, Components, Incidents, Dashboard, UI, Browser, Caching

I've gotta finish this issue, gotta go.

Looking back, this seems needless


PIN Policy Ignored

Environment

OS: NixOS
age-plugin-yubikey version: 0.1.0

What were you trying to do
I'm working on a PR to agenix (ryantm/agenix#46) to add support for this plugin.
What happened
In order to make that viable, I set my generated identity's PIN policy to never, however, when I go to decrypt the files, it still asks for my PIN each time regardless.
❯ command cat age-yubikey-identity.txt
#       Serial: 11300418, Slot: 2
#         Name: age identity ...
#      Created: Fri, 04 Jun 2021 03:22:04 +0000
#   PIN policy: Never  (A PIN is NOT required to decrypt)
# Touch policy: Never  (A physical touch is NOT required to decrypt)
# ...

❯ agenix -i age-yubikey-identity.txt -e aws.age
Enter PIN for YubiKey with serial 11300418:

Don't be confused by the use of agenix above, the same thing happens with rage as well (which agenix uses under the hood).

As additional information. I went ahead and verified the pin policy was in fact set properly by generating an attestation certificate and reading the relevant extension:
❯ openssl x509 -in 83.pem -text -certopt ext_dump -noout
            <IP_ADDRESS>.4.1.41482.3.8:
                0000 - 01 01

This is an artifact of the way I currently implement management key logic: the PIN is always requested on connection, so we can always handle the management key correctly.
This is the same underlying issue as #30; I'll fix them together.

#35 should fix this; LMK if it works for you!


Experimental download-style streaming responses

Issue #, if available: #70, #3
Description of changes:
This PR fleshes out some of the ideas discussed in the streaming-related issues, adding support for download-style streamed responses to the go generator, as well as a streaming MakeHats rpc to the example and a test_example target to the root Makefile.
Some things to note:

This PR only implements protobuf streams. There are failing tests for json that are commented out in the file example/cmd/server/main_test.go. Other than the example server tests, these additions don't have test coverage yet.
The response writer is flushed after each message. Some form of batching would dramatically improve throughput in high-load scenarios — by 10x or more based on initial experiments
Whitespace varies between spaces and tabs in generator.go. In areas of the file where I was already making changes, I consolidated to tabs, resulting in a couple spots in the diff that are just whitespace changes.

I'll be posting deeper thoughts/feelings in #70 as that is where the bulk of discussion has been taking place. Looking forward to feedback!
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@spenczar latest commit updates to the new <-chan RespOrError API for download-style rpcs -- it definitely feels cleaner to use!
The generated server code is still flushing on every message, probably a couple weeks before I'd be able to get into attempting a FlushStrategy implementation.

I've been discussing this branch with @fritzherald over slack. I'm going to merge it right now into a non-master branch, and then start doing some of my own work on top.
Thank you so much for all the hard work on this, @fritzherald! Your feedback on the design has really helped make this thing better. You rock.


Support eight.name and raise correct AttributeError

Eight interacts badly with libraries that inspect the __name__ attribute of a module. These include things like test libraries that are trying to do dynamic patching like freezegun. Specifically, eight behaves badly when freezegun inspects it at https://github.com/spulec/freezegun/blob/0.3.7/freezegun/api.py#L381 because the loader's __getattribute__() tries to look up eight.__name__ in sys.modules instead of returning the name it already stored.
This PR adds support for __name__, as well as raising the correct AttributeError expected when a non-existent attribute is searched for instead of bubbling up the KeyError. By raising AttributeError, this allows hasattr(eight, 'foo') to work properly.

Coverage increased (+1.06%) to 82.979% when pulling bde63e8b3f3ae7ab5010ee1f5d94927dfed86381 on mbarrien:master into fc243e0602218829b2dd9d8c026a683924095a38 on kislyuk:master.

Coverage increased (+1.06%) to 82.979% when pulling bde63e8b3f3ae7ab5010ee1f5d94927dfed86381 on mbarrien:master into fc243e0602218829b2dd9d8c026a683924095a38 on kislyuk:master.

LGTM, thank you!


Unit testing meteor-files

I want to implement basic unit tests for inserting different types of files, fetching and removing. Do you know if there is an example of this anywhere?

@shariq1989 Do you wish to test client to server upload? Or other library features?

Client to server upload would be ideal but then also just testing CRUD server operations, seeing how it reacts to different files, etc. We are using Meteor and Mocha but are having trouble getting tests written out. Not sure how to mock a file for upload, etc.

@shariq1989 this is tricky part; and the only reason this package not covered with tests — this king of unit testing is time consuming to develop. As of right now I see only two option oldschool Selenium or modern puppeteer from Chrome team, as you got to replicate user's actions, like clicking on form, selecting file, waiting for upload to go through.
The rest of Server features can get tested with Mocha/Chai or even with Meteor's tinytest.
I'd start with one-by one features you're using, passing arguments matching your usage and validating its output.
If this is commercial project, I can join your team for this specific task, let me know if you're interested.

@dr-dimitru thank you for your prompt responses! We'll try to see how far we get with testing the server functions. This is for a school project but thanks for the interest.

@dr-dimitru, is there a simple way to add an image that is stored in the repo (say in assets dir) to the db using the server? Then we'll be able to at least test the server funcs against the pushed image. We've tried Images.load, Images.insert, etc without luck. I'm even fine with just grabbing an image from a public URL and storing it. I just need the server to insert to the test db.

@shariq1989 take a look on this example repo — https://github.com/veliovgroup/Meteor-Files-Demos/blob/master/demo-simplest-streaming/lib/files.collections.js#L31

@shariq1989

We've tried Images.load, Images.insert, etc without luck

Did you get some sort of error? Exception? What exactly doesn't work?

@shariq1989 You could use Meteor's builtin WebApp to crawl some random image from the web, say from unsplash.com or something and then insert it to the filesCollection before starting the tests.

@shariq1989

We've tried Images.load, Images.insert, etc without luck

Did you get some sort of error? Exception? What exactly doesn't work?

When I do something like this:

    it("delete image", async function () {
        // Upload sample files on server's startup:
        Receipts.load('https://upload.wikimedia.org/wikipedia/commons/4/4e/Pleiades_large.jpg', {
            fileName: 'gif img'
        }, function (writeError, fileRef) {
            if (writeError) {
                throw writeError;
            } else {
                console.log(fileRef._id);
            }
        });
    });

So I do see that a new file was created based on the contents of fileRef (there is a generated _id) but after that I am struggling to check the contents of the db. Ideally i'd like to assert against counts in the database but any other way works.
I tried the following but I got an empty array. I tried to use findOne with the specific _id and got the same. This made me question whether the insert was actually taking place.

let res = Receipts.find({}).fetch();
console.log(res);

I'm probably missing something small but crucial. Just can't put my finger on it.

@shariq1989 Check it inside 10 seconds setTimeout

That was it. Thanks @dr-dimitru

@shariq1989 perhaps fine tuning is required for your mongo setup.
But, I won't care much on early stages.
I'm glad we were able to solve it quickly


Copyrighted fonts

This is a pretty cool project, but I noticed you have a large collection of what looks like pirated fonts in the repo. I would recommend removing them from the repo as you're risking your entire repo being taken down if Github receives a DMCA notice from any of the font authors. You have also applied a GPL license to your entire project, which you cannot do when some of the content doesn't belong to you and is unauthorized.
Check Google Fonts for an enormous collection of free open-source fonts that you can use for your project. You'll also need to include license information in your repo in a way that makes it clear that the fonts are under another license, not GPL. Most Google Fonts are Apache or OFL.

Hello Justin.
Thanks alot for give me a heads up.
I have a question.
Will I be able to to use the "pirated" font if I change the license to Apache or OFL? Or I must not use these font at all?
Thanks

You'll also need to include license information in your repo in a way that makes it clear that the fonts are under another license, not GPL. Most Google Fonts are Apache or OFL.

Hello Justin.
Thanks alot for give me a heads up.
I have a question.
Will I be able to to use the "pirated" font if I change the license to Apache or OFL? Or I must not use these font at all?
Thanks

Since many of these fonts are commercial fonts (not free), you would need to buy a license for them before you can use them on your own devices. Most font licenses however do not allow you to share or distribute the fonts, so even after buying a license you would not be allowed to put them in this repo. Font foundries do offer licenses for distribution, but they usually cost at least 10x the regular license price, and would not likely be an affordable option for a personal project like yours.
Bottom line: never put files that you did not create into a public Github repo without researching them first. You need to find out who made the files and check if they were released under an open-source license that allows for redistribution. You cannot put an open-source license on your project if it has files in it that you don't have permission to use and distribute.
As a quick example, let's look at the file AnimeAce.woff in your repo. If I Google "anime ace font", I can see there's a free version of it available from Dafont, that appears to have been uploaded by Blambot, the company that made the font. However, it's free for personal use only, and if you read the license file that comes with it, it specifically states, "This font may not be redistributed without the author's permission and never with this text file missing". So, you would need to contact Blambot before distributing the file in your repo, and they would probably require you to pay a fee for the right to do that. Since this particular font is free for personal use, if you want to use it in your project the best option is to link to the Dafont page from your Readme file. Anyone that wants to use this font with Diamond Text needs to obtain it themselves.


Incompatible Swift version 5.2

HI,
The framework is not compatible with swift 5.2. I am currently on swift 5.2 and unable to use it.

@data-augur what exactly is the problem? Which part is not working, could you be a bit more specific?

@heitara it doesn't build on xcode 12

Ok. I'll check it.

@data-augur are you still having the issue? If so could you detail a bit more please?

I've checked the latest master and it builds fine using iOS 14. Anything wrong on your end?


Call to undefined method phpDocumentor\Descriptor\TagDescriptor::getVariableName()

PHP Documentor generates message in title when parsing file
Expected Behavior
generate documentation
Actual Behavior
/www/hermes/phpDocumentor.phar -t /www/hermes/profisms.cz/hermesdoc.profisms.cz -f /www/hermes/common/message/messagestate.class.php
[2019-03-15 15:47:09] app.INFO: Elapsed time to parse all files: 0s [] []
[2019-03-15 15:47:09] app.INFO: Peak memory usage: 22M [] []
[2019-03-15 15:47:09] app.INFO:  Applying 17 transformations [] []
[2019-03-15 15:47:09] app.INFO:   Initialize writer "phpDocumentor\Plugin\Core\Transformer\Writer\FileIo" [] []
[2019-03-15 15:47:09] app.INFO:   Initialize writer "phpDocumentor\Plugin\Twig\Writer\Twig" [] []
[2019-03-15 15:47:09] app.INFO:   Initialize writer "phpDocumentor\Plugin\Graphs\Writer\Graph" [] []
[2019-03-15 15:47:09] app.INFO:   Writer FileIo  using query "copy" on .htaccess [] []
[2019-03-15 15:47:09] app.INFO:   Execute transformation using writer "FileIo" [] []
[2019-03-15 15:47:09] app.INFO:   Writer FileIo  using query "copy" on images [] []
[2019-03-15 15:47:09] app.INFO:   Execute transformation using writer "FileIo" [] []
[2019-03-15 15:47:09] app.INFO:   Writer FileIo  using query "copy" on css [] []
[2019-03-15 15:47:09] app.INFO:   Execute transformation using writer "FileIo" [] []
[2019-03-15 15:47:09] app.INFO:   Writer FileIo  using query "copy" on js [] []
[2019-03-15 15:47:09] app.INFO:   Execute transformation using writer "FileIo" [] []
[2019-03-15 15:47:09] app.INFO:   Writer FileIo  using query "copy" on font [] []
[2019-03-15 15:47:09] app.INFO:   Execute transformation using writer "FileIo" [] []
[2019-03-15 15:47:09] app.INFO:   Writer twig  using query "namespace" on index.html [] []
[2019-03-15 15:47:09] app.INFO:   Execute transformation using writer "twig" [] []
[2019-03-15 15:47:09] app.INFO:   Writer twig  using query "indexes.namespaces" on  [] []
[2019-03-15 15:47:09] app.INFO:   Execute transformation using writer "twig" [] []
[2019-03-15 15:47:09] app.INFO:   Writer twig  using query "indexes.classes" on  [] []
[2019-03-15 15:47:09] app.INFO:   Execute transformation using writer "twig" [] []
[2019-03-15 15:47:09] console.ERROR: Error thrown while running command "-t '/www/hermes/profisms.cz/hermesdoc.profisms.cz' -f '/www/hermes/common/message/messagestate.class.php'". Message: "Call to undefined method phpDocumentor\Descriptor\TagDescriptor::getVariableName()" {"exception":"[object] (Error(code: 0): Call to undefined method phpDocumentor\Descriptor\TagDescriptor::getVariableName() at phar:///data/www/hermes/phpDocumentor.phar/src/phpDocumentor/Descriptor/ClassDescriptor.php:297)","command":"-t '/www/hermes/profisms.cz/hermesdoc.profisms.cz' -f '/www/hermes/common/message/messagestate.class.php'","message":"Call to undefined method phpDocumentor\Descriptor\TagDescriptor::getVariableName()"} []
[2019-03-15 15:47:09] console.ERROR: Error thrown while running command "{command}". Message: "{message}" {"exception":"[object] (Error(code: 0): Call to undefined method phpDocumentor\Descriptor\TagDescriptor::getVariableName() at phar:///data/www/hermes/phpDocumentor.phar/src/phpDocumentor/Descriptor/ClassDescriptor.php:297)","command":"-t '/www/hermes/profisms.cz/hermesdoc.profisms.cz' -f '/www/hermes/common/message/messagestate.class.php'","message":"Call to undefined method phpDocumentor\Descriptor\TagDescriptor::getVariableName()"} []
Steps to Reproduce the Problem

download phar for Release v3.0.0-alpha.3
run it> /www/hermes/phpDocumentor.phar -t /www/hermes/profisms.cz/hermesdoc.profisms.cz -f /www/hermes/common/message/messagestate.class.php

Your environment
PHP> PHP 7.2.10-0ubuntu<IP_ADDRESS>
PHPDoc> Release v3.0.0-alpha.3
The file can be downloaded here>
http://hermes.profisms.cz/messagestate.class.txt

Hello
Is anyone tracking this?

FWIW, I get the same when trying to generate documentation for Github:GEANT/CAT master branch.

We need to check if this issue does still exist in the current version in develop. It would be very helpfull if anyone could install phpdocumentor from source in a separate directory and run the provided files. I didn't have time yet to check this.

Using composer, I compiled dev-develop and its numerous dependencies. And indeed:
phpDocumentor vNo version set (parsed as 1.0.0)@
Parsing files
241/833 [========>-------------------]  28%
Applying transformations (can take a while)
17/17 [============================] 100%
All done!
The compiled docs look good on first glance.
So, from what I can see, the bug seems to be gone in dev-develop.
Strangely enough though: I ran phpdoc on an empty source directory that contained only itself in vendor/. And there the problem is still there:
swinter@aragorn:~/Development/GitHub/phpDocumentor> ./vendor/bin/phpdoc
phpDocumentor vNo version set (parsed as 1.0.0)@
Parsing files
Applying transformations (can take a while)
7/17 [===========>----------------]  41%
In ClassDescriptor.php line 285:
Attempted to call an undefined method named "getVariableName" of class "phpDocumentor\Descriptor\TagDescriptor".
project:run [-t|--target [TARGET]] [--cache-folder [CACHE-FOLDER]] [-f|--filename [FILENAME]] [-d|--directory [DIRECTORY]] [--encoding [ENCODING]] [--extensions [EXTENSIONS]] [-i|--ignore [IGNORE]] [--ignore-tags [IGNORE-TAGS]] [--hidden] [--ignore-symlinks] [-m|--markers [MARKERS]] [--title [TITLE]] [--force] [--validate] [--visibility [VISIBILITY]] [--defaultpackagename [DEFAULTPACKAGENAME]] [--sourcecode] [--template [TEMPLATE]] [--parseprivate] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-c|--config [CONFIG]] [--log [LOG]] [-e|--env ENV] [--no-debug] [--]

Unfortunately, I have not been able to pinpoint the exact culprit. Nonetheless, I have just pushed a fix to develop that should prevent this issue from occurring by doing stricter checks in that part of the code and discarding the bits that do not match.
Since the issue seems to have become rare already and with this patch should be solved I am going to close the issue. If the problem still persists despite these changes, please mention it here and we'll reopen the issue.

I have the same issue
My environment
PHP> PHP Version 7.3.4
System> Windows 10 AMD64
PHPDoc> Release v3.0.0-alpha.3
Steps to Reproduce the Problem
download phar for Release v3.0.0-alpha.3
download as Test env: phpDocumentor2-develop.zip
create anywhere directory, name it TEST and copy and extract here: phpDocumentor2-develop.zip
name this directory "phpDoc" so you get a path like [path to]\TEST\phpDoc
this will contain several files and folders and a folder with name "src" and subfolder "phpDocumentor" [path to]\TEST\phpDoc\src\phpDocumentor
open this folder and create a new folder named "doku" [path to]\TEST\phpDoc\src\phpDocumentor\doku
now run the following command
php phpDocumentor.phar -d "[path to]\TEST\phpDoc\src\phpDocumentor" -t "[path to]\TEST\phpDoc\src\phpDocumentor\doku"
Output
[2019-07-19 12:57:41] app.INFO: Starting to parse file: Application/PipelineFactory.php [] []
...
... several lines of output seems to be ok
...
[2019-07-19 12:59:00] app.INFO:   Execute transformation using writer "twig" [] []
[2019-07-19 12:59:04] console.ERROR: Error thrown while running command "-d "[path to]\TEST\phpDoc\src\phpDocumentor" -t "[path to]\TEST\phpDoc\src\phpDocumentor\doku"". Message: "Call to undefined method phpDocumentor\Descriptor\TagDescriptor::getVariableName()" {"exception":"[object] (Error(code: 0): Call to undefined method phpDocumentor\Descriptor\TagDescriptor::getVariableName() at phar://[path to]/phpDoc/bin/phpDocumentor.phar/src/phpDocumentor/Descriptor/ClassDescriptor.php:297)","command":"-d "[path to]\TEST\phpDoc\src\phpDocumentor" -t "[path to]\TEST\phpDoc\src\phpDocumentor\doku"","message":"Call to undefined method phpDocumentor\Descriptor\TagDescriptor::getVariableName()"} []
[2019-07-19 12:59:04] console.ERROR: Error thrown while running command "{command}". Message: "{message}" {"exception":"[object] (Error(code: 0): Call to undefined method phpDocumentor\Descriptor\TagDescriptor::getVariableName() at phar://[path to]/phpDoc/bin/phpDocumentor.phar/src/phpDocumentor/Descriptor/ClassDescriptor.php:297)","command":"-d "[path to]\TEST\phpDoc\src\phpDocumentor" -t "[path to]\TEST\phpDoc\src\phpDocumentor\doku"","message":"Call to undefined method phpDocumentor\Descriptor\TagDescriptor::getVariableName()"} []
In ClassDescriptor.php line 297:
Attempted to call an undefined method named "getVariableName" of class "phpDocumentor\Descriptor\TagDescriptor".


Future.filter predicate is not satisfied

I installed v0.5.5 from helm, but it is not working, getting the Supervisor RestartSupervisor saw failure: A failure occurred while retrieving offsets  error message, same from https://github.com/lightbend/kafka-lag-exporter/issues/98 but  different cause :
Caused by: java.util.NoSuchElementException: Future.filter predicate is not satisfied.
This is how Installed the helm
helm install https://github.com/lightbend/kafka-lag-exporter/releases/download/v0.5.5/kafka-lag-exporter-0.5.5.tgz --name kafka-lag-exporter --namespace data --set image.pullPolicy=Always --set logLevel=DEBUG --set clusters\[0\].name=dev --set clusters\[0\].bootstrapBrokers=kafka-kafka:9092 --debug
Using Confluent Kafka 2.3.0 without auth, with log message format and broker protocol 2.3
Log:

2019-11-25 16:31:42,969 INFO  o.a.kafka.common.utils.AppInfoParser  - Kafka version: 2.3.0
2019-11-25 16:31:42,969 INFO  o.a.kafka.common.utils.AppInfoParser  - Kafka commitId: fc1aaa116b661c8a
2019-11-25 16:31:42,969 INFO  o.a.kafka.common.utils.AppInfoParser  - Kafka startTimeMs:<PHONE_NUMBER>969
2019-11-25 16:31:42,977 INFO  c.l.k.ConsumerGroupCollector$ akka://kafka-lag-exporter/user/consumer-group-collector-dev - Collecting offsets
2019-11-25 16:31:43,971 INFO  org.apache.kafka.clients.Metadata  - [Consumer clientId=consumer-1, groupId=kafkalagexporter] Cluster ID: qk7qfN-oSpipaWLuTpLlsw
2019-11-25 16:32:03,854 ERROR c.l.k.ConsumerGroupCollector$ akka://kafka-lag-exporter/user/consumer-group-collector-dev - Supervisor RestartSupervisor saw failure: A failure occurred while retrieving offsets.  Shutting down. java.lang.Exception: A failure occurred while retrieving offsets.  Shutting down.
	at com.lightbend.kafkalagexporter.ConsumerGroupCollector$CollectorBehavior.$anonfun$collector$1(ConsumerGroupCollector.scala:188)
	at akka.actor.typed.internal.BehaviorImpl$ReceiveBehavior.receive(BehaviorImpl.scala:37)
	at akka.actor.typed.Behavior$.interpret(Behavior.scala:437)
	at akka.actor.typed.Behavior$.interpretMessage(Behavior.scala:393)
	at akka.actor.typed.internal.InterceptorImpl$$anon$2.apply(InterceptorImpl.scala:52)
	at akka.actor.typed.internal.RestartSupervisor.aroundReceive(Supervision.scala:248)
	at akka.actor.typed.internal.InterceptorImpl.receive(InterceptorImpl.scala:79)
	at akka.actor.typed.Behavior$.interpret(Behavior.scala:437)
	at akka.actor.typed.Behavior$.interpretMessage(Behavior.scala:393)
	at akka.actor.typed.internal.adapter.ActorAdapter.handleMessage(ActorAdapter.scala:121)
	at akka.actor.typed.internal.adapter.ActorAdapter.aroundReceive(ActorAdapter.scala:102)
	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:612)
	at akka.actor.ActorCell.invoke(ActorCell.scala:581)
	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:268)
	at akka.dispatch.Mailbox.run(Mailbox.scala:229)
	at akka.dispatch.Mailbox.exec(Mailbox.scala:241)
	at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
	at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
	at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
	at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Caused by: java.util.NoSuchElementException: Future.filter predicate is not satisfied
	at scala.concurrent.Future.$anonfun$filter$1(Future.scala:340)
	at scala.util.Success.$anonfun$map$1(Try.scala:255)
	at scala.util.Success.map(Try.scala:213)
	at scala.concurrent.Future.$anonfun$map$1(Future.scala:292)
	at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33)
	at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
	at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
	at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:92)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
	at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:85)
	at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:92)
	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41)
	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:49)
	... 4 common frames omitted

Thanks for reporting.  This is a little tricky to troubleshoot because it's not clear from the stack trace what user code is associated with the exception.  I wonder if it's from something caused by the Future wrangling in the ConsumerGroupCollector, Collect handler.
Can you set Kafka DEBUG logging when you install the chart and include the log?  The helm config is kafkaLogLevel
https://github.com/lightbend/kafka-lag-exporter/blob/master/charts/kafka-lag-exporter/values.yaml#L66

Got a bunch of FENCED_LEADER_EPOCH failures right before AdminClient start closing the connection.
2019-11-25 19:46:11,607 DEBUG o.a.k.c.consumer.internals.Fetcher  - [Consumer clientId=consumer-1, groupId=kafkalagexporter] Sending ListOffsetRequest (type=ListOffsetRequest, replicaId=-1, partitionTimestamps={p999105.analytic-fail-faust-fail-groupby-5={timestamp: -1, maxNumOffsets: 1, currentLeaderEpoch: Optional[183]}}, isolationLevel=READ_UNCOMMITTED) to broker kafka-bkr-7.data:9092 (id: 7 rack: null)
2019-11-25 19:46:11,607 DEBUG o.a.k.c.consumer.internals.Fetcher  - [Consumer clientId=consumer-1, groupId=kafkalagexporter] Sending ListOffsetRequest (type=ListOffsetRequest, replicaId=-1, partitionTimestamps={p999105.analytic-windows-audit-faust-win-audit-filter-3={timestamp: -1, maxNumOffsets: 1, currentLeaderEpoch: Optional[90]}, p999105.analytic-windows-audit-faust-win-audit-filter-6={timestamp: -1, maxNumOffsets: 1, currentLeaderEpoch: Optional[94]}, p999105.analytic-vpnx-faust-vpnx-groupby-0={timestamp: -1, maxNumOffsets: 1, currentLeaderEpoch: Optional[128]}, p999105.analytic-vpnx-faust-vpnx-groupby-1={timestamp: -1, maxNumOffsets: 1, currentLeaderEpoch: Optional[148]}, p999105-enriched-url-7={timestamp: -1, maxNumOffsets: 1, currentLeaderEpoch: Optional[392]}, p999105.analytic-vpnx-faust-vpnx-groupby-11={timestamp: -1, maxNumOffsets: 1, currentLeaderEpoch: Optional[136]}, p999105.analytic-vpnx-faust-vpnx-groupby-12={timestamp: -1, maxNumOffsets: 1, currentLeaderEpoch: Optional[150]}}, isolationLevel=READ_UNCOMMITTED) to broker kafka-bkr-0.data:9092 (id: 0 rack: null)
2019-11-25 19:46:11,608 DEBUG o.a.k.c.consumer.internals.Fetcher  - [Consumer clientId=consumer-1, groupId=kafkalagexporter] Attempt to fetch offsets for partition p999105.analytic-windows-audit-faust-win-audit-filter-3 failed due to FENCED_LEADER_EPOCH, retrying.
2019-11-25 19:46:11,608 DEBUG o.a.k.c.consumer.internals.Fetcher  - [Consumer clientId=consumer-1, groupId=kafkalagexporter] Attempt to fetch offsets for partition p999105.analytic-windows-audit-faust-win-audit-filter-6 failed due to FENCED_LEADER_EPOCH, retrying.
2019-11-25 19:46:11,608 DEBUG o.a.k.c.consumer.internals.Fetcher  - [Consumer clientId=consumer-1, groupId=kafkalagexporter] Attempt to fetch offsets for partition p999105.analytic-vpnx-faust-vpnx-groupby-0 failed due to FENCED_LEADER_EPOCH, retrying.
2019-11-25 19:46:11,608 DEBUG o.a.k.c.consumer.internals.Fetcher  - [Consumer clientId=consumer-1, groupId=kafkalagexporter] Attempt to fetch offsets for partition p999105.analytic-vpnx-faust-vpnx-groupby-1 failed due to FENCED_LEADER_EPOCH, retrying.
2019-11-25 19:46:11,608 DEBUG o.a.k.c.consumer.internals.Fetcher  - [Consumer clientId=consumer-1, groupId=kafkalagexporter] Attempt to fetch offsets for partition p999105-enriched-url-7 failed due to FENCED_LEADER_EPOCH, retrying.
2019-11-25 19:46:11,608 DEBUG o.a.k.c.consumer.internals.Fetcher  - [Consumer clientId=consumer-1, groupId=kafkalagexporter] Attempt to fetch offsets for partition p999105.analytic-vpnx-faust-vpnx-groupby-11 failed due to FENCED_LEADER_EPOCH, retrying.
2019-11-25 19:46:11,608 DEBUG o.a.k.c.consumer.internals.Fetcher  - [Consumer clientId=consumer-1, groupId=kafkalagexporter] Attempt to fetch offsets for partition p999105.analytic-vpnx-faust-vpnx-groupby-12 failed due to FENCED_LEADER_EPOCH, retrying.
2019-11-25 19:46:11,608 DEBUG o.a.k.c.consumer.internals.Fetcher  - [Consumer clientId=consumer-1, groupId=kafkalagexporter] Attempt to fetch offsets for partition p999105.analytic-fail-faust-fail-groupby-5 failed due to FENCED_LEADER_EPOCH, retrying.
2019-11-25 19:46:12,516 DEBUG o.a.k.clients.admin.KafkaAdminClient  - [AdminClient clientId=adminclient-1] Initiating close operation.
2019-11-25 19:46:12,516 DEBUG o.a.k.clients.admin.KafkaAdminClient  - [AdminClient clientId=adminclient-1] Waiting for the I/O thread to exit. Hard shutdown in 10000 ms.
2019-11-25 19:46:12,519 DEBUG o.a.kafka.common.metrics.Metrics  - Removed sensor with name connections-closed:
2019-11-25 19:46:12,519 DEBUG o.a.kafka.common.metrics.Metrics  - Removed sensor with name connections-created:
2019-11-25 19:46:12,519 DEBUG o.a.kafka.common.metrics.Metrics  - Removed sensor with name successful-authentication:
2019-11-25 19:46:12,519 DEBUG o.a.kafka.common.metrics.Metrics  - Removed sensor with name successful-reauthentication:
2019-11-25 19:46:12,519 DEBUG o.a.kafka.common.metrics.Metrics  - Removed sensor with name successful-authentication-no-reauth:
2019-11-25 19:46:12,520 DEBUG o.a.kafka.common.metrics.Metrics  - Removed sensor with name failed-authentication:
2019-11-25 19:46:12,520 DEBUG o.a.kafka.common.metrics.Metrics  - Removed sensor with name failed-reauthentication:
2019-11-25 19:46:12,520 DEBUG o.a.kafka.common.metrics.Metrics  - Removed sensor with name reauthentication-latency:
2019-11-25 19:46:12,520 DEBUG o.a.kafka.common.metrics.Metrics  - Removed sensor with name bytes-sent-received:
2019-11-25 19:46:12,520 DEBUG o.a.kafka.common.metrics.Metrics  - Removed sensor with name bytes-sent:
2019-11-25 19:46:12,521 DEBUG o.a.kafka.common.metrics.Metrics  - Removed sensor with name bytes-received:
2019-11-25 19:46:12,521 DEBUG o.a.kafka.common.metrics.Metrics  - Removed sensor with name select-time:
2019-11-25 19:46:12,521 DEBUG o.a.kafka.common.metrics.Metrics  - Removed sensor with name io-time:
2019-11-25 19:46:12,522 DEBUG o.a.kafka.common.metrics.Metrics  - Removed sensor with name node--1.bytes-sent
2019-11-25 19:46:12,522 DEBUG o.a.kafka.common.metrics.Metrics  - Removed sensor with name node--1.bytes-received
2019-11-25 19:46:12,522 DEBUG o.a.kafka.common.metrics.Metrics  - Removed sensor with name node--1.latency
[...]

Hit this problem when upgrading lightbend/kafka-lag-exporter 0.5.5 -> 0.6.2 and connecting kafka cluster running 1.1

I'm still unable to reproduce this.  I tried running integration tests against Kafka 1.1, but they were successful.  I suspect it's a combination of app configuration and Kafka API state.
@pimpelsang Can you reproduce this issue reliably? When DEBUG is enabled do you ever see a log line of Received Offsets Snapshot?  I this exception is caused prior to this logging, but if not can you provide a log dump so I can attempt to reproduce state locally?

Please provide configuration as well.

Hi!
I'm seeing an error like this in my installations as well, the stack trace is preceded by
[AdminClient clientId=clj_internal] Initiating close operation. [AdminClient clientId=clj_internal] Waiting for the I/O thread to exit. Hard shutdown in 10000 ms. [AdminClient clientId=clj_internal] Exiting AdminClientRunnable thread. [AdminClient clientId=clj_internal] Kafka admin client closed. [Consumer clientId=clj_internal, groupId=kafkalagexporter] Executing onLeavePrepare with generation Generation{generationId=-1, memberId='', protocol='null'} and memberId  [Consumer clientId=clj_internal, groupId=kafkalagexporter] Resetting generation due to consumer pro-actively leaving the group [Consumer clientId=clj_internal, groupId=kafkalagexporter] Kafka consumer has been closed Clearing all metrics before shutdown Supervisor RestartSupervisor saw failure: A failure occurred while retrieving offsets.  Shutting down. java.lang.Exception: A failure occurred while retrieving offsets.  Shutting down.
I've tried to set whitelist filters for both topics and consumer groups (although no strange topic of group names are to be found), tried to increase JVM heap (no change). The AdminClient shuts down every 2-4 seconds after initially running for a bit longer (20-30sec).
This is on a standalone installation of version 0.6.7 running against an Apache Kafka 2.7.0 cluster.

Meanwhile we upgraded to Kafka 2.8.0, unfortunately this problem still persists...

hey guys,
i've suffered from the same issue.
using kafka-lag-exporter 0.6.4 and 0.6.8 (latest available at the moment)
kafka is on version 2.5.0
issue: kafka-lag-exporter stopped providing lag metrics.
using docker logs command, i've seen this:
2022-04-05 09:55:18,587 ERROR c.l.k.ConsumerGroupCollector$ akka://kafka-lag-exporter/user/consumer-group-collector-kafka-mediation - Supervisor RestartSupervisor saw failure: A failure occurred while retrieving offsets.  Shutting down. java.lang.Exception: A failure occurred while retrieving offsets.  Shutting down.

and this:
Caused by: java.util.NoSuchElementException: Future.filter predicate is not satisfied

by reading the server.log on one of the kafka broker, i've noticed this error:
[2022-04-05 09:24:28,487] ERROR [GroupMetadataManager brokerId=1016] Error loading offsets from __consumer_offsets-47 (kafka.coordinator.group.GroupMetadataManager)
java.lang.IllegalStateException: Unexpected unload of active group ConsumerGroup4 while loading partition __consumer_offsets-47
	at kafka.coordinator.group.GroupMetadataManager.$anonfun$doLoadGroupsAndOffsets$31(GroupMetadataManager.scala:710)
	at kafka.coordinator.group.GroupMetadataManager.$anonfun$doLoadGroupsAndOffsets$31$adapted(GroupMetadataManager.scala:704)
	at scala.collection.mutable.HashSet.foreach(HashSet.scala:79)
	at kafka.coordinator.group.GroupMetadataManager.loadGroupsAndOffsets(GroupMetadataManager.scala:704)
	at kafka.coordinator.group.GroupMetadataManager.$anonfun$scheduleLoadGroupAndOffsets$2(GroupMetadataManager.scala:524)
	at kafka.utils.KafkaScheduler.$anonfun$schedule$2(KafkaScheduler.scala:114)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

looking at the source code of the exception:
https://github.com/apache/kafka/blob/2.5.0/core/src/main/scala/kafka/coordinator/group/GroupMetadataManager.scala#L704-L713
it looks like due to if the cache already contains a group which should be removed, raise an error. it means there is a deleted consumer group that is still cached somehow.
solution:
this command, running from the broker, solved it:
./kafka-consumer-groups.sh --bootstrap-server localhost:9092 --delete --group ConsumerGroup4
so if you are encountering this issue - try to grep for ERROR logs on server.logs and see if you need to clean up a consumer group.
but the real question is - why would this cause lag exporter to stop providing lag metrics for all the topics? even when whitelisting only 1 topic it still can't work.

Hello @seglo ,
I am getting an issue similar to this one, where it suggests Future.filter predicate is not satisfied.
When I enable the debug logs, I get log messages like
Leader for partition x is unknown for fetching offset -2
Exiting AdminClientRunnable thread

and
KafkaConsumer is not safe for multi-threaded access

I am not able to fetch lag metrics for the clusters where I see this issue.
I must point out that this issue happens only for a couple of our Kafka clusters, while it works well with some of our other clusters.
Request you to help me with this.
Thanks!


Could you please unpublish the parse-url package?

Hi there!
I developed an advanced url parsing library (which can parse git urls and more) and I'd really like if you unpublished the parse-url package.
npm unpublish parse-url-ing will not affect the dependents (since others cannot publish the same version on npm again). I would like to publish my package there.
Could you do that?
Thanks! :cake:

Yeah, I've had it deprecated for awhile now. I'll unpublish now.

@LegitTalon Thanks, but it seems it not unpublished yet. Can you please double check the npm unpublish parse-url output? On the other side, maybe npm has some special caching or so... :smile:

@IonicaBizau It is unpublished

@LegitTalon Thanks! :dizzy: Probably it was just a timing issue. :apple:


Always exclude certain dependencies from logging

I'd like to have RUST_LOG env variable to work as usual, except never log anything from a couple of noisy dependencies.
I thought this would do the trick:
        let _ = env_logger::Builder::from_default_env()
            .filter(Some("html5ever"), log::LevelFilter::Off)
            .filter(Some("tantivy"), log::LevelFilter::Off)
            .try_init();

but it seems that RUST_LOG=debug enables debug output even for the dependencies I'm trying to filter out.
Is there a way to gracefully combine env vars and explicit filters, with my filter() calls taking precedence?

RUST_LOG=DEBUG,html5ever=off,tantivy=off

I know it's possible to set it manually every time, but my whole point is that I would like to avoid having to do this the long way, and provide a better default.


Add edit & delete button to the Short links that are created by the user in React

From #237

@byliuyang, do we first list all short links generated by users and allow them to edit each one of them or just allow edit/delete the last created short link

If so, doesn't this depend on #200 ?

@adharmawan You are right. It seems to depend on #200. They should be able to edit / delete each short link they created.

Looks like a PR has been raised for that issue. Will wait for that


[$500] iOS - Attachment - PDF files aren't cached

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Navigate to https://staging.new.expensify.com/
Log in
Upload a larger PDF (10-20MB) to any conversation
Open the PDF
Go back to the chat
Open the same PDF again

Expected Result:
PDF files should be cached
Actual Result:
PDF files aren't cached. They are downloaded every time a request is made
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/50db3de2-2871-4834-86dd-b6b35cfd83a1
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01aa9414036934592a
Upwork Job ID:<PHONE_NUMBER>538311168
Last Price Increase: 2023-11-29

Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
Add this line like
source={{uri: this.props.sourceURL, cache: true}}
What alternative solutions did you explore? (Optional)
NA

Proposal
Please re-state the problem that we are trying to solve in this issue.
PDF files are not cached and are re-downloaded everytime.
What is the root cause of that problem?
The use of the react-native-pdf module is not using the caching options
What changes do you think we should make in order to solve the problem?
There are 4 items to address it reasonably and completely.

Add the  cache: true  in the source parameter as per react-native-pdf documentation.  Note this will keep the files indefinitely without any further configuration.

 source={{uri: this.props.sourceURL, cache: true }}

If we need  to address security of attachments staying on device after user logs out or different user logs in (note: user would need to physical device access) then the following can be done: (Note: PDFs downloaded go into the CacheDir as configured in react-native-pdf):

 source={{uri: this.props.sourceURL, cache: true, cacheFileName: cacheFileName}}

Where cacheFileName is specified by taking the original filename (or id) and prepending the sanitized user's id to it.  This way we can easily clean any files not of the current user later by scanning the all files in the CacheDir on Login/Logout  with react-native-blob-util RNFetchBlob.fs.lstat

As per the source parameter specified react-native-pdf:

We also should a reasonable expiration time to avoid the Apps storage from growing too large.  For example 3 days which is 259200 seconds.
const expirationPDFTime =  259200;

 source={{uri: this.props.sourceURL, cache: true, cacheFileName: cacheFileName, expiration: expirationPDFTime }}

We can also optionally add a generic method to cull the CacheDir if it reaches past a certain size.   This can be down on login/logout or on a lengthy interval.

It will be similar to 3 but will involve  checking the size of  CacheDir folder usingRNFetchBlob.fs.readDir (or  RNFetchBlob.fs.lstat and summing the file sizes ) and removing the oldest cached pdfs past an size threshold.
What alternative solutions did you explore? (Optional)
N/A

@tienifr how are we going to delete the cache after the user logs out? could you share a code snippet?

The more detailed proposal, from @tienifr looks good to me. it makes sense to use the unlink function from react-native-fs to clear cache as we are using it already, we should open a discussion on slack to determine what the best expiration interval is.
🎀👀🎀 C+ reviewed!

Sounds good. Do we have caching in web? why it is only reproducible on iOS native

Thanks! wanted to ensure, it's the browser only and we're not using any specific mechanism.

@tienifr any update on the PR?

Working on the PR on specific cases, @tienifr will update soon.

PR is ready for review, still moving forward.

PR is still in progress.

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@getusha] The PR that introduced the bug has been identified. Link to the PR: This is a new feature
[@getusha] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N/a
[@getusha] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/a
[@getusha] Determine if we should create a regression test for this bug. Yes
[@getusha] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
Regression Test Proposal

Open any chat
Upload a large PDF file (15-20MB)
Open the PDF
Go back to the chat
Open the same PDF again
Verify that the PDF loads quickly

Do we agree 👍 or 👎

Paid up at 50% based on the regression, closing!


Fix: only add apt sources for users that want them (#22145)

Currently, vscode.list is added to /etc/apt/sources.d/ whenever it doesn't exist. With this patch, the new behaviour is as follows:

If the user already has the Microsoft source file installed for apt, sources won't be added
If the user sets debconf-set-selections to set code/add-microsoft-repo to false, the sources won't be added
If sources might be added, the script checks whether it makes sense to (over)write them (i.e. the file doesn't exist, is old or has been disabled during some OS upgrade)
If is makes sense and the code/add-microsoft-repo is not set, the user is asked to cofirm, whether they actually want Microsoft sources to be installed (setting code/add-microsoft-repo to the selected value)
Only if it makes sense and the user agrees, the sources are installed

This change will mostly affect new users or those reinstalling vscode. Personally, I feel like the whole approach of automatically adding the repo is very invasive, and would prefer that it not be done at all. However, with this change, it is up to the user whether they want it to be installed or not. Since the default is set to true, users that install vscode in noninteractive environments get the current behavior. Existing users will either be asked once or never (depending on whther step 4 above gets triggered). New users will be asked unless they make a decision ahead of time using debconf-set-selections.
With this, #22145 and duplicates should be sufficiently addressed.

@microsoft-github-policy-service agree

@Tyriar @rzhao271 it would be great if you could look into this, as the current behavior is quite annoying on Ubuntu 24.04

This PR has not updated the installation docs https://github.com/microsoft/vscode-docs/blob/main/docs/setup/linux.md
but in its current form, it introduced a breaking changed as unattended installations (e.g. CI) will now block and ask for user input
#14 783.8 Setting up code (1.93.0-1725459079) ...
#14 783.8 update-alternatives: using /usr/bin/code to provide /usr/bin/editor (editor) in auto mode
#14 786.7 debconf: unable to initialize frontend: Dialog
#14 786.7 debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
#14 786.7 debconf: falling back to frontend: Readline
#14 790.4 Configuring code
#14 790.4 ----------------
#14 790.4
#14 790.4 The installer would like to add the Microsoft repository and signing key to
#14 790.4 update VS Code through apt.

What gives?

@rzhao271 we should ensure that unattended installs work, either by explicit flag or the default. This was why the original proposal was an env variable; so those in the know could disable it easily but most users would get the easy "just works" setup.

@andreineculau I mentioned the change in the release notes but forgot to update the docs.
I have created a new PR at https://github.com/microsoft/vscode/pull/227837 that allows a user to set an env var rather than go through the interactive debconf prompt. Let me know what you think.

@rzhao271 I don't see relevant info in the release, but regardless - I think the docs should be tip-top.
As for using code/add-microsoft-repo or an env variable - I don't see that it matters. It may even be more idiomatic to leave it as is. Just 2c
Appreciate it! 🙇


Validate trust domain in authentication policy

(This is used to request new product features, please visit https://discuss.istio.io for questions on using Istio)
Describe the feature request
When mTLS is used in authentication policy (either PERMISSIVE or STRICT mode), the server should validate the client is in the same trust domain and reject the connection if it's not.
The trust domain will be extracted from the client and server x509 certificate and will be checked in the server side authentication filter.
User could opt-out the validation by setting a flag to true if this breaks their existing usage.
cc @myidpt @diemtvu
Describe alternatives you've considered
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[x] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Additional context

@yangminzhu is anything left here?

@duderino We need one more PR to expose the opt-out flag to users: https://github.com/istio/istio/pull/16798, sorry I added it only in the filter config before but forgot to expose it in pilot.


[review] remove the sequence algorithm metafunctions

from http://lists.boost.org/Archives/boost/2017/04/234190.php

some counterpoints here http://lists.boost.org/Archives/boost/2017/04/234218.php

consider keeping pop_args_front and push_args_front, as these are useful for "thunking" member funtions

closed via dc8df75e4f5f9ed31d863fc66e22195e9307e401

Why are args_at, clear_args, pop_front_args, push_front_args, expand_args_right, and expand_args_left still there? From the comments of the formal review, I am left under the impression that they are just as much out of scope as the other ones (it is also my personal impression), no?

Please reopen until this is completely solved.

Guilty as charged. So, here is how I feel about each of these:

I think arg_at is useful, even thought it is equivalent std::tuple_elment_t<N, args_t>. For instance, I recently had a real-world template interface that behaved differently for different std::chrono::duration types in a callback's parameter list. If the second parameter was a std::chrono::seconds type, then I did foo(). If it was a std::chrono::microseconds type, then I did bar(). I think arg_at is one of the more generically useful features in the library, despite its simplicity. I'm not super attached to it, but I would miss it in my own programming.

I think pop_front_args and push_front_args work well for smoothing out the edges around member functions (this pointer etc). I found them useful in Eraserface here for this purpose, which convinced me to keep them at the time. I'm not super attached to them, but they do provide a way out of needing to pull in an entire separate metaprogramming library for these little situations.

clear_args and expand_args* are not very useful. These will be removed.

@ldionne what do you think? Are my arguments for arg_at and pop/push persuasive, or do you still think they should be removed?

More than anything, I would like to see what @brunocodutra and @pdimov think. My hunch would be that the case of args_at is more easily justifiable than that of pop_front_args and push_front_args.

What I think is that the typical workflow when manipulating the parameter list would be

extract the parameters into a tuple/metal::list
manipulate the tuple/list using mp11/metal/hana/whatever
replace the original parameter list with the transformed one

For step 1, I think that in addition to the current extractor, it would be useful to also have one that ignores the class, so that R (T::*)(A1, A2) gives tuple<A1, A2>.
For step 3, there's no direct way at present, if I'm not mistaken.
So for instance, to take at random the first code example from Badair's link, forward_all would be something like
template<class F> using forward_all = replace_args_t<F, mp_transform<forward_t, extract_args_t<F>>>;

where I'm using the arbitrary names replace_args_t and extract_args_t to signify steps 3 and 1 from the above.
Note that, if we assume that extract_args_t doesn't include the class, this forward_all works for any functions or member functions, preserving the return type, the class, the noexcept clause, the qualifiers, if any. The original forward_all would transform int (X::*)(int) noexcept to int (int const&).

Reading a bit further from the Eraserface link, there's expand_args_t called on remove_member_pointer<F>, which is another point in favor of having this built-in.
Varargs complicate matters a bit. We want replace to be identity, so there are two options: one, extract gives us a last element of a tag type denoting the ellipsis, or two, it doesn't give us that, but replace preserves it.

Reading furtherer,
https://github.com/badair/eraserface/blob/master/include/eraserface/eraserface.hpp#L295
pop_front_args_t is used on function_type_t<Pmf> to remove the class argument. But if we have an extractor that ignores it, we would no longer need to pop_front it.
Then expand_args_right_t is used without any left args, which is the same as expand_args_t.
I'm not sure how you'd use push_front to add a class parameter, because while there's a way to go from member to free (function_type_t), there's no corresponding way to go from free to member (right?)
You can go from an argument list to a member pointer with apply_member_pointer, but there you supply the class directly so there's no need to push_front it.
So in summary I think that the main use of pop_front is to pop the class which is only needed because of the common case of extracting the arguments without the class. In fact this could even be made the only accessor as the current args would be extract<function_type_t<F>>.

Somehow I missed this discussion.
I guess I'm with @pdimov here, I think pop/push metafunctions are too generic in this context. Assuming the most common use-cases are really to just push/pop the class type out of/into arguments lists, it might not be immediately obvious to the user that pop_front_args`push_front_args` are meant for this purpose, so I think it would be better to provide specific traits to cover these use-cases.
Regarding arg_at I concur that it's probably the most useful meta-algorithm currently provided, but since it's available in the standard library for std::tuples, which are used as type lists by default, I don't really see a reason to duplicate it in the library. The time invested in testing/documenting/improving/maintaining it in the future would be much better spent on the core traits.

@pdimov @brunocodutra thanks for weighing in. I'm convinced that I should remove these. I'll also think about the best way to represent the extract/replace semantics.

Fixed via 78e4b1f21213167c51c2d2f4c33e4a0726d4bed2


Docs: Rename developer guide to contributor guide

Pull request checklist
Make sure you:

[x] Signed the Contributor License Agreement
[x] Followed the commit message guidelines

For non-trivial changes, please make sure you also:

[ ] Added/Updated related documentation.
[ ] Added/Updated related tests.

Short description of the change(s)
Close #272 in the sonarwhal.com repo
There's an open issue (#272) in the sonarwhal.com repo to change the name of the Developer Guide to the Contributor Guide, but because the npm run build script in that repo pulls the latest docs from this repo, the actual title and content of the guide page won't get changed until the docs are updated here as well. I've opened a corresponding pull request in the sonarwhal.com repo to fix this.
Let me know if my understanding is incorrect.

@kjswalls Thank you so much for this, we sincerely appreciate it!

npm run build script in that repo pulls the latest docs from this repo
Let me know if my understanding is incorrect.

Yes.

Note: You missed some links, but don't worry, I'll take care of them before merging.

@kborchers Also, congrats on your first contribution to the sonar project! 🎉

@kjswalls Your changes are now live: https://sonarwhal.com/docs/contributor-guide/ ^ ^


Helper for Process Editor

It would be cool to have a couple of Helper Objects, that don't have a function but help with visibility in Process Editor
For example I have the following Chapter:

It is supposed to show an interaction between two people. A Cleaner and an Operator.
for my own readability I put empty steps there, but I can imagine better things for example Labels:

Swimmlanes (basically just vertical lines)

also frames (although I might consider groups for this)

Don't forget vertical support:

Thanks for the Input!
There is something verry cool on the horizon Unity is internally building a new graph tooling stack. See the discussion https://discussions.unity.com/t/animation-status-update-q3-2024-unite-announcement/1519289 and search for Graphs and Tooling.

If this comes out for general availability (I'm hopeful this will happen in Q1 or Q2 next year.) adding support for it instead of the current system will be something we would like to do.


firmware

when I upload the firmware,it is error which that is some fuction is declared after. How should I fix it?

Hello mjanddy,
thank you for using OpenBot !
Could you give us more information about the context in which you encounter this error so that we can reproduce it ?
For instance, on which board are you trying to flash this code ?
Did you modify the firmware ? In which way ?
Thank you
Quentin

Strange... I cannot reproduce your bug. Are you using the last IDE version ? What are your exact settings ?

Strange... I cannot reproduce your bug. Are you using the last IDE version ? What are your exact settings ?

I use arduion ide 1.8.19; just as  github setting

Strange... I cannot reproduce your bug. Are you using the last IDE version ? What are your exact settings ?

I use arduion ide 1.8.19; just as github setting

Strange... I cannot reproduce your bug. Are you using the last IDE version ? What are your exact settings ?

and now  I moved the position of the function, but I'm not sure if it's correc

Did you try compiling the firmware using the Arduino cloud IDE ?

the Arduino cloud IDE ?

ok,I will try it ,thanks!

Did you try compiling the firmware using the Arduino cloud IDE ?

It is ok,thank you!


add troubleshooting info and fix race conditions

Description
add troubleshooting info for rabbitmq

@dmitsh Dmitry, would you mind to take a look at my review comment?

@dmitsh Dmitry, would you mind to take a look at my review comment?

thanks, replied

@dmitsh The latest changes seems to have caused a regression in unit tests? The mutex around publish might be causing a deadlock.

The problem was with the test - I fixed it.

Is this change the reason for why 1.5.1 breaks with RabbitMQ https://github.com/dapr/components-contrib/issues/1372?


Any plans for supporting more desktop environments?

KDE specifically would be especially cool IMO. But I do feel it's a bit over-complicated to install the original FreeBSD. That's something I really appreciate about NomadBSD; it's installation is much simpler and comprehensive, much like how most Linux distro's are installed these days. :)
I feel if more people knew about Nomad, and if it had a wider selection of DE's, more people from the Linux world would consider switching to BSD. To be honest, I tried installing FreeBSD several times now and was very unsuccessful and had no idea what i was doing. Nomad is much better.

Thank you for the feedback. You can install other DEs by yourself, but we won't support them. Here is what I did to install KDE on NomadBSD:
# pkg install kde5 sddm
# sysrc sddm_enable=YES
# sysrc slim_enable=NO
# sysrc hald_enable=YES
# echo "proc                     /proc procfs rw           0 0" >> /etc/fstab
# reboot

Installing 427 packages took a while. It runs OK, and everything was working as far as I tested it, but it's way too heavy for me.

This is great! Yeah, i figured just like Linux it would be as simple as a terminal command. This is simple enough once you know the right steps it it's much different from having KDE out of the box, since all the packages need to be downloaded and installed either way.
Thank you!


chore: clean-up logLevel/disableLogs

Reference issue:

LOGGER_LEVELS in logger.ts needs two new options: noRoutes: -2 and none: -1

doLog's messageLevel type becomes Exclude<LoggerLevel, "none" | "noRoutes">,
formatMessage's level type becomes Exclude<LoggerLevel, "none" | "noRoutes">
When logLevel comes in via CLI, set the global logger's logLevel.

When we disable Miniflare's route logger, read the global logger's logLevel, and use that instead of disableLogs

fixes #1868

While doing this cleanup I realized we should push the log-level flag to the top level flags. The pages dev should still have a log-level at that command level with a default to warn

While doing this cleanup I realized we should push the log-level flag to the top level flags. The pages dev should still have a log-level at that command level with a default to warn

Will convert to a ticket.


feat: improve parsing errors of pypi-dependencies

Further improves https://github.com/prefix-dev/pixi/issues/1858
Not sure why the formatting is weird but at least it tells you the actual problem:

Custom error:

@baszalmstra, yeah a create would be great.


SSL: CERTIFICATE_VERIFY_FAILED

Using DaVinci Resolve version 18.6 here on a macbook (sonoma 14.5)
Tried to run the script and got this error:
Transcribind Audio...
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)>
I tried this on my terminal:
pip3 install --upgrade certifi
but the requirement was already satisfied
What should I do to try to fix this?
Thanks
Btw: not a programmer here

Solved this by running this command:
/Applications/Python\ 3.12/Install\ Certificates.command


haven't access outside docker

ports:
- '8080:8080'
requests outside container don't answer
inside all is good

Do other services respond from outside? It would be good to know if it is a Milua thing or another problem with the container configuration (I don't have much experience with Docker)

To have Access from outside a docker container make sure to set the config your server to listen on <IP_ADDRESS> and the right port
Config:extend({
    HOST="<IP_ADDRESS>",
    PORT="8080",
})


[GSSOC '23] - GSAP/JAVASCRIPT - Custom Cursor Effect on Hover

Cursor Change Effect on Hover -JAVASCRIPT / GSAP

this concept uses javascript and GSAP
when you scroll over the text it changes the background color
this makes your website more attractive

Expected behaviour

when you hover the text the cursor will change the shape and make this beautiful effect .

Screenshots

Before scroll:

After scroll:

Usage

you can use this concept for the navbar/ or at the main website
this style fit every website style

Extra

you can change the color of the cursor
change the background color as per your need
change the shape of cursor

Please assign me this issue, so I can work on this project!


Can we invoke interfaces of MFC dependent DLL's from WinUI desktop app (c++/c#)? Can we use MFC classes like CString, CList and CMap? Whether such usages are recommended ?

@marb2000 do you know about this?


Parallel support

Implements #300

Files to change:

CONTRIBUTING.md
the version in the makefile
the NEWS.md

@jgoizueta can lend you a hand for this

CONTRIBUTING.md: will do
Makefile: I'd wait for more testing (e.g. having Crankshaft tested) to make a release. There are too many already (that need to be packaged in) and we can use latest-dev/latest-next for now. Or is this a requirement to deploy any change in staging/production?
NEWs: is already updated, do you need anything else?

Makefile: I'd wait for more testing (e.g. having Crankshaft tested) to make a release. There are too many already (that need to be packaged in) and we can use latest-dev/latest-next for now. Or is this a requirement to deploy any change in staging/production?

It is. Usually you want to test upgrades and downgrades. Users already got the extension, if you don't bump the version an upgrade will do nothing. You cannot drop the extension the moment they have anything dependent upon it (unless you use CASCADE, but you don't want it).

You should be able to test it with an upgrade to next. Am I missing something?

You are not missing anything, but "upgrade next" is is the hacky way. For staging and production you want to version, tag, release and then deploy.
Unless you see a risk there, I'd go ahead, as we don't want to pile up changes if not strictly needed. If you see significant risk, then better think about possible mitigations.
IMHO it is better to merge and release (and eventually have to mark something as parallel unsafe) than to wait for some other piece to be ready.

I think those two last commits should address the required changes. If you have time, can you have a look at it again @rafatower ?


Mass example in story book not working

@wadjih-bencheikh18 Please could you check why https://zakodium.github.io/react-plot/?path=/story/experimental-spectra-mass--mass-example is not working anymore ?

Fixed in https://github.com/zakodium/react-plot/commit/5f33b6cae67253524fcf9e3e332ba1a24190c364


Ignore lines/blocks/files containing gitleaks-disable or listed in .gitleaksignore file

Is your feature request related to a problem? Please describe.
I want to ignore scanning files that have example secrets in them.
Describe the solution you'd like
Have gitleaks ignore files that have a specific string, such as gitleaks-disable appearing somewhere before the example secrets.
Describe alternatives you've considered
Hack the config file. This is difficult when called from super-linter. Hard for non-technical users, too.
Additional context
This could be expanded to ignore individual lines:
ignore this line <!-- gitleaks-disable-line -->

or blocks:
<!-- gitleaks-disable -->
ignore this block
<!-- gitleaks-enable -->

Edit: Another, more user-friendly, solution might be to ignore files listed in a .gitleaksignore file. Parsed in the same way as how .gitignore is parsed.
An admin may want to disable these options in the config, to keep users from using them when they shouldn't be.
Forgive me if this feature already exists. If it does, I can create a PR to add it to the readme.
cc @zricethezav

See https://github.com/secretlint/secretlint/blob/master/docs/configuration.md#ignoring-error-by-comments and
https://github.com/secretlint/secretlint/blob/master/docs/configuration.md#secretlintignore

For .gitleaksignore can use the package https://github.com/iriri/minimal.
If no one will do it, then I'll try to do PR.

This is a very good idea, like other security analyzers are doing it:

Semgrep

In line: // nosemgrep: <rule> (see https://semgrep.dev/docs/ignoring-files-folders-code/#reference-summary)
Before line: // nosemgrep: <rule> (see https://semgrep.dev/docs/ignoring-files-folders-code/#reference-summary)
File: .semgrepignore

ESLint

In line: // eslint-disable-line <rule> (see https://eslint.org/docs/latest/user-guide/configuring/rules#using-configuration-comments-1)
Before line: // eslint-disable-next-line <rule> (see https://eslint.org/docs/latest/user-guide/configuring/rules#using-configuration-comments-1)
Block: Before with /* eslint-disable <rule> */ after with /* eslint-enable <rule> */ (see https://eslint.org/docs/latest/user-guide/configuring/rules#using-configuration-comments-1)
File: .eslintignore

njsscan

In line: // njsscan-ignore: <rule> (see https://github.com/ajinabraham/njsscan#suppress-findings)
File: .njsscan (YAML-Format, Key: ignore-paths) (see https://github.com/ajinabraham/njsscan#configure-njsscan)

IMO the rule-option to ignore a specific rule is not needed for gitleaks as it is very unlikely to have more than one leak in a line.

You can use allowlists to achieve this or use gitleaks:allow in a comment. Using gitleaks:allow is currently not documented. Note that gitleaks:allow does not work retroactively. I,e. if you introduce a commit without gitleaks:allow and then later add a gitleaks:allow and commit that, the secret will still be flagged.
I have plans for a .gitleaksignore already which would solve https://github.com/zricethezav/gitleaks/issues/888. .gitleaksignore would give users the ability to flag certain findings as false positives.

You can use allowlists to achieve this or use gitleaks:allow in a comment.

I have seen allowlists, this is a powerfull feature with a lot of configuration possibilities but overkill for a single ignore and it is more readable for a developer when having the ignore comment in the same line.
Just tried gitleaks:allow, works perfectly. I have seen that it has been introduced in !809 with v8.5.0. Of course it should not work retroactively. Thanks!

Just added some docs for this gitleaks:allow feature: https://github.com/zricethezav/gitleaks/pull/941
Gonna close this issue out and focus on https://github.com/zricethezav/gitleaks/issues/888


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/24519

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/24848

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/25267

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/25534

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/25596

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/25602

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/25679

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/25797

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/25943

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/31034

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/33816

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/43070

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/43072

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/44277

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/44887

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/55368

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/73628


AttributeError: 'TextureBin' object has no attribute '_border'

Hi,
I'm trying to run the examples over a cloned repo (master branch) and getting an error when running the 'image_viewer' example from examples/programming_guide/image_viewer.py over Python 3.8.
I'm getting this error:
Traceback (most recent call last):
  File "image_viewer.py", line 45, in <module>
    image = pyglet.resource.image('kitten.jpg')
  File "/home/yehudag/git/pyglet/pyglet/resource.py", line 587, in image
    identity = self._cached_images[name] = self._alloc_image(name, atlas, border)
  File "/home/yehudag/git/pyglet/pyglet/resource.py", line 526, in _alloc_image
    return bin.add(img, border)
  File "/home/yehudag/git/pyglet/pyglet/image/atlas.py", line 274, in add
    atlas = TextureAtlas(self.texture_width, self.texture_height, self._border)
AttributeError: 'TextureBin' object has no attribute '_border'

Example works under pyglet-1.5-maintenance.
Thanks.

The master branch is currently unstable, and the examples are thus undergoing a rewrite.
I would recommend using the pyglet-1.5-maintenance branch, as that is what is installed via PIP.


Reference doesn't appear

Subject: Reference doesn't appear
Description:
Nothing
Results:
I got a notification about my host giving me a reference. I opened the references tab on my profile. The reference is indicated in the reference count, but the reference itself is missing.
Backend version: develop-06099492
Frontend version: develop-06099492
User Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Mobile Safari/537.36
Page: https://couchers.org/profile/references
User: bubatov (45225)

Working as intended


"undefined is not a function" in Chrome version 22.0.XX

Hi guys, I am using this polyfill (web-animations.min.js to be specific) in a website which is visited by some users that are still using Chrome version 22.0.XX and I got this error stack-trace:
Uncaught TypeError: undefined is not a function
window.requestAnimationFrame
b.restart
f._play
window.Element.animate

Debugging a bit this error come from those lines:
...
var i = window.requestAnimationFrame, j = [], k = 0;
window.requestAnimationFrame = function(a) {
   var b = k++;
   return 0 == j.length && i(d), j.push([b, a]), b
},
...

seems the i(d) function is undefined? or better the j is a empty array? I can't figure out this logic yet, so I just reporting it first and see if someone can help me out a bit to get a workaround.
Thanks.

https://www.chromestatus.com/feature/5233400470306816
shows that requestAnimationFrame was introduced in Chrome 24.
A workaround would be
window.requestAnimationFrame || window.webkitRequestAnimationFrame
docs/support.md doesn't specify which is the earliest supported Chrome version.
"The polyfill is supported on modern versions of all major browsers, including:

Chrome
Firefox 27+
IE10+ (including Edge)
Safari (iOS) 7.1+
Safari (Mac) 9+"

That's actually works!
I guess we could add that fix in the tick.js:
var originalRequestAnimationFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame;

or change "Chrome" to Chrome 24+ in the support.md.

We decided to change the minimum version of Chrome. Due to known security issues, we don't want to encourage users to stick with old versions of Chrome.


30Hz after suspend

Hyprland Version
 System/Version info
Hyprland, built from branch main at commit 9ddf1b105e1b63a77b851af5e541a9412b0e0928 dirty (tablet: Add left_handed option for tablets (5178)).

Bug
Description
I have a 4K display on my notebook and an external 4K display via HDMI.
During work it was fine.
When I left I suspended my notebook and when I came back the cursor on the external monitor was stuttering.
I was tracking the GPU via nvtop but nothing suspicious.
Then I run hyprctl monitors and the external monitor had 4K resolutions just up to 30Hz.
I was baffled and was thinking if the cable is going bad and unplugged it and reconnected it, and it worked like a charm
and detects 60Hz again.
~ ❯ hyprctl monitors                                                                                22:18
Monitor eDP-1 (ID 0):
<EMAIL_ADDRESS>at 3820x0
	description: California Institute of Technology 0x1500
	make: California Institute of Technology
	model: 0x1500
	serial:
	active workspace: 1 (1)
	special workspace: 0 ()
	reserved: 0 33 0 0
	scale: 1.00
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false
	currentFormat: XRGB8888
	availableModes<EMAIL_ADDRESS>
Monitor DP-3 (ID 1):
<EMAIL_ADDRESS>at 0x0
	description: Samsung Electric Company U32R59x H4ZM600322
	make: Samsung Electric Company
	model: U32R59x
	serial: H4ZM600322
	active workspace: 2 (2)
	special workspace: 0 ()
	reserved: 0 33 0 0
	scale: 1.00
	transform: 0
	focused: yes
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false
	currentFormat: XRGB8888
	availableModes<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
How to reproduce
I am not sure how to reproduce it because it doesn't happen constantly.
Maybe someone else has experienced this. I want to leave this issue open and observe a few days.

did availableModes list any 60Hz modes?

yes for res lower or equal to 2560x1440
not for 4K

then it's a wlroots / driver issue


PyMiniRacer having issues on Windows

Actual behavior
Tell us what happens instead

FileNotFoundError: [WinError 2] The specified file was not found
See full logs under this issue.

System configuration
Python version:
3.6.5
Pip version:
19.2.2
@danielkp1234

There is currently no wheel built for Windows. The error reported by your user is because the module was trying to compile v8 from source and it requires a few tools like git and also probably a compiler.

@nizox wait so how would i get a wheel that supports windows 10?

@nizox is there a wheel for windows 10

@sqreen

Hello @danielkp1234,
We have been working on adding support for Windows to PyMiniRacer. This was a huge work because it required to upgrade the V8 release branch to 7.8 and patch the extension.
The work was carried on https://github.com/sqreen/PyMiniRacer/pull/89. You will soon be able to test the Windows support with the dev wheels that should be made available by the CI here.

The last beta version of PyMiniRacer brings support for Windows (https://pypi.org/project/py-mini-racer/0.2.0b2/). You can install it using the following command:
pip install --pre py-mini-racer


command line flags don't work in windows.

command executed:
nehm -f "C:\users\ryan\music" -p "krakenskulls" get https://soundcloud.com/ashatack/28th-july-the-just-on-track-showcase-with-ashatack-2016
error message:
You didn't set a permalink. Use flag '-f' or set permalink in config file.
Obviously, I did set -f

Thanks for bug report. I know the reason of this bud and I will fix it today or tomorrow.

Fixed in 3.0.1 version


Add TO Go deliveryservices/id/urlkeys

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1841/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1844/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1856/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1857/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-trafficcontrol-PR/1858/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/1968/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2018/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2045/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2067/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2075/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2078/
Test PASSed.


nixos/ydotool: Unknown key name 'ProtectUser' in section 'Service'

Describe the bug
Systemd service definition for ydotoold contains undefined directive ProtectUser. This results in the following warning in the journal:
systemd[1]: /etc/systemd/system/ydotoold.service:31: Unknown key name 'ProtectUser' in section 'Service', ignoring.

Steps To Reproduce
Steps to reproduce the behavior:

Define programs.ydotool.enable = true; in a NixOS config
Start the ydotoold service.
Run journalctl -u ydotoold as root and observe the above warning.

Expected behavior
No warning. Did you mean some other Protect* directive?
Notify maintainers
@quantenzitrone

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
 - host os: `Linux 6.6.39, NixOS, 24.05 (Uakari), 24.05.20240712.f12ee5f`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.4`
 - channels(root): `""`
 - nixpkgs: `/nix/store/2hmc93ki0rvz6d20lmbscqw32612p8an-source`

Add a :+1: reaction to issues you find important.

They probably meant to set the DynamicUser hardening option, but I would expect that option to cause the service to fail since root is required to access /dev/uinput.

I don't really know what I meant with this option
PrivateUsers maybe, but that is already included


Style/BitwisePredicate autocorrect produce broken code

Expected behavior
Autocorrect shouldnt broke the code
Actual behavior
$ ruby 1.rb
1.rb:6:in `<main>': undefined method `allbits?' for an instance of Array (NoMethodError)

result = foo.allbits?(bar)

Steps to reproduce the problem

Create a ruby script 1.rb

foo = [1, 2, 3]
bar = [1, 2]

result = ((foo & bar) == bar)
print(result)

Execute it and make sure it returns true
rubocop -A 1.rb will produce:

# frozen_string_literal: true

foo = [1, 2, 3]
bar = [1, 2]

result = foo.allbits?(bar)
print(result)

run it again:

$ ruby 1.rb
1.rb:6:in `<main>': undefined method `allbits?' for an instance of Array (NoMethodError)

result = foo.allbits?(bar)
            ^^^^^^^^^

RuboCop version
$ bundle exec rubocop -V
1.68.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.33.0, analyzing as Ruby 3.0, running on ruby 3.3.5) [x86_64-linux]
  - rubocop-performance 1.22.1
  - rubocop-rake 0.6.0
  - rubocop-rspec 3.2.0

@Earlopain  Fair enought, in my codebase using intersection method fix the problem (cop not triggered, and code not broken)
Not sure what to do with this issue though, close it or keep it open

Since type-based analysis of the receiver isn’t possible, it is already marked as unsafe, and there is no precise way to resolve this false positive. This issue will be closed for now, to be reconsidered if a similar report is raised in the future. Thank you for the feedback.

Potentially we can improve the docs a bit to highlight better potential safety issues, but yeah - there's not that much we can do here.