GIVE YOUR DISCORD CHANNEL LINK

i looked everywhere for jericofx discord channel

Hi i dont have one, if you need something just add me as a friend JericoFX#3512

Hi i dont have one, if you need something just add me as a friend JericoFX#3512

i want to talk to you about script my discord JUDO#7940

hi jerikoFX pleas add me in discourd i want to talk with you about your bas  FVM if you can my discourd was ツ么YASSO么#5148 add me


Improve README.md

Currently, the README.md file explains how to use the project, but it can be improved. This is a general issue, but some things to improve would be adding more detail to the installation process and specifying more options and use cases.

This should also add badges through shields.io.


Trying to uninstall eqmac removed all audio devices.

I installed eqmac but it would always crash after trying to open it up. I did install the drivers it required for the first boot up but the app always crashed so i tried just throwing it in the trash but eqmac still lingered on my audio devices so i installed it again a ran the uninstall_driver.sh found in the apps resources with the terminal. That still didnt do it so i tried running the executable file eqmac under the MacOS and thats when i noticed all my audio devices were gone. If you all have any pointers it'd be much appreciated because im slightly concerned i'll have to do a full reset over a random app i installed.

After restarting all the devices came back but i'd still like to know how to remove eqmac from my audio devices.

I've same issue with you for new release. You can just run this command in terminal
sudo rm -rf /Library/Audio/Plug-Ins/HAL/eqMac.driver/ && launchctl kickstart -k system/com.apple.audio.coreaudiod &>/dev/null

No reason to create an issue on GitHub regarding this. Can be resolved in our Discord: https://discord.eqmac.app

The uninstall script should work just fine as long as you don't have Audio playing, if you did then a restart should help.

Also the answer could be found in the FAQ: https://eqmac.app/faq


Handle filters with variable number of arguments

Right now is only possible to pass a data and options object into a filter/plugin.
Support passing data, options, ...rest to support a variable number of arguments inside filters/plugins:
//flyfile.js
yield this.source(...).myPlugin(a, b, c).target(...)

// myPlugin/index.js
module.exports = function (_) {
  this.filter("myPlugin", (data, a, b, c) => {
  })
}

:+1:
What about pass filepath in addition of data ?
//flyfile.js
yield this.source(...).myPlugin(a, b, c).target(...)

// myPlugin/index.js
module.exports = function (_) {
  this.filter("myPlugin", (file, a, b, c) => {
    const filepath = file.filepath;
   const data = file.data;
  })
}

It could permit to plugins' creators to make copy of multiple files :
//flyfile.js
const files = ['lot/of/files'...];
const to = [{'filepath':'/path/to/put']
yield this.source(...).cp(to).target(...)

// myPlugin/index.js
module.exports = function (_) {
  this.filter("cp", (file, to) => {
    const filepath = file.filepath;
    const data = file.data;
    return this.defer((cb) => fs.writeFile(to[filepath], data, cb);
  })
}

With #84 in target ;)
BTW : it permit to me and my fly-ts plugin to enable sourceMap feature, because TS-api want a filepath to reference the original pathfile (for browser).

This feature is essentially done and just waiting to be pushed, but regarding:

What about pass filepath in addition of data ?

Yes, why not. Filters should only be concerned with manipulating the data and passing it forward, but having the filepath could help with error reporting #85.

it permit to me and my fly-ts plugin to enable sourceMap feature, because TS-api want a filepath to reference the original pathfile (for browser).

I see. In that case yes we should pass the filepath somehow.

@manland Can you open a new issue with the feature request?

@bucaran done #88 !

:airplane:  080e84bf348a3b3d485dd78e28e615062748d5ae


when add value to minWidth

how i can make the list of icons  on the center of width
and selectedIconBox width dynamic with icon size or only around icon not full width

h

I opened pr for this issue


How to override responseWriter value

I need to override the default value of responseWiter in Query annotation. The default value is javabin. But the solr server is expecting wt=json.  Eg -
org.apache.solr.core.SolrCore: [ac_shard1_replica2] webapp=/solr path=/suggest_keyword params={fl=keyword,user_count&sort=user_count+desc&indent=true&q=jea&wt=json&rows=5} hits=14 status=0 QTime=1
But when I am using @Query the generate log is -
org.apache.solr.core.SolrCore: [ac_shard1_replica2] webapp=/solr path=/suggest_keyword params={start=0&q=keyword:app&wt=javabin&qt=/suggest_keyword&version=2&rows=0} hits=0 status=0 QTime=1
And solr server returning some html file to this but the json response. How can I set the value to json instead of javabin ??
Thanks in advance.

SolrJ is designed for the javabin format though you can handle json with some tweaks as you need to have a SolrResponse capable of reading that particular format. Please have  a look at SolrJsonRequest.

Thanks for the response. What I understood after reading about javabin is that there is no need to convert the response to json as javabin should get converted to pojo automatically. But somehow that is not happening and I am not sure how to debug that.
My pojo is like -
@SolrDocument(solrCoreName = "ac")
public class Keyword {
@Id
@Indexed("keyword")
private String keyword;

@Indexed("user_count")
private String user_count;

@Indexed("recommendation")
private String recommendation;

@Indexed("suggest")
private String suggest;

@Indexed("suggest_ngram")
private String suggest_ngram;

@Indexed("_version_")
private String _version_;

//getter and setters,,,,//
}
And Repository -
interface ProductRepository extends SolrCrudRepository<Keyword, String> {
@Query(fields = {"keyword","user_count","recommendation","suggest","suggest_ngram","_version_"} ,requestHandler = "/suggest_keyword", defaultOperator = Operator.AND)
Page<Keyword> findByKeywordIn(String keyword, Pageable pagebale);

}
The implemented method -
@Override
public Page findByKeywordIn(String keyword, Pageable pageable){
	Page<Keyword> kws = productRepository.findByKeywordIn(keyword, pageable);

	return kws;
}

But when I am getting list inside my page object by calling the method is showing unknown instance -
"Page 0 of 0 containing UNKNOWN instances".
Where as I can see the query in my solr log -
[ac_shard1_replica2] webapp=/solr path=/suggest_keyword params={fl=keyword,user_count,recommendation,suggest,suggest_ngram,version&start=0&q=keyword:app&q.op=AND&wt=javabin&qt=/suggest_keyword&version=2&rows=3} hits=0 status=0 QTime=1

@dbjr84  you cannot return page of type keyword (I guess it is not your model type) Please return Page or Slice of Model type  (which as far as your naming convention is concerned i guess it is product).


Adding GBMV and TRMV in solvers

Closes #11

Need to add system creation accordingly in utils.py

Ready to be merged if already reviewed @artpelling .
Note that in the benchmark, each integer is mapped to a specific matrix structure!


Add Decimal splitting SwiftLint rule

Working with a large numbers in lib makes it error prone in term of putting wrong dimension, e.g 1_000_000 instead of 10_000_000. Luckily swift allows to use notation above which makes it much clearer to see what exact dimension number have.
So this notation should be forced with appropriate SwiftLint rule.

Looks like this is what you are looking for: https://realm.github.io/SwiftLint/number_separator.html

@yaroslavyaroslav Can this one be closed?


[Enhancement] Egeria file layout proposal to simplify deployment

Existing/related issue?
No response
Please describe the new behavior that that will improve Egeria
On today's  community call we discussed a proposal to update the file layout of Egeria to simplify deployment in a production environment. We are currently considering these changes for the 4.3 release of Egeria (tentatively planned for September, 2023). Updates would be required to the Egeria's assembly, labs and helm charts.
The current file layout is:

While the current layout works, we propose changes  to clarify and simplify the structure. The proposal  suggests grouping of:

optional components
log storage locations
convenient directory mount points
more use of common conventions

The following diagram shows the proposed changes.

Suggested changes include:

a var directory for logs and ssl information
an opt directory for optional components such as samples and pre-built metadata archives
Boxes colored green are suggested directory mount points. For example, logs may often be shared or aggregated with others.
Clearer separation between the Egeria OMAG Server Platform and the Egeria UI Application.

As always, we are looking for feedback from the community as we explore these proposals. Attached below is a draw.io file with the source for the diagrams above. We look forward to your thoughts and comments - and especially welcome your ideas on how we can continue to simplify deployment.
egeria_file_layout_community.drawio.zip
Alternatives
No response
Any Further Information?
No response
Would you be prepared to be assigned this issue to work on?
Yes

These are the current new layouts implemented so far.
For the OMAG Server Platform runtime (see new module https://github.com/odpi/egeria/tree/main/open-metadata-distribution/omag-server-platform) the assembly includes samples and utilities designed to allow someone to explore the platform capabilities.  It includes the Docker file to build a new docker container from the assembly.
For the UI Application (see new module https://github.com/odpi/egeria/tree/main/open-metadata-distribution/egeria-ui-application) simply provides the application jar and associated files.

The new file layout is implemented here: https://github.com/odpi/egeria/tree/main/open-metadata-distribution/omag-server-platform


[5.1] Refactor info helper function to handle null message

There are two log helper functions, info and logger.
When the info function is used without passing in any message, the web page loads continously/forever until you get this:

This PR introduces better error handling just like the way logger handles it properly.

I don't think info should return the entire logger instance.

@taylorotwell What do you think it should return if it is null?. I initally wanted to throw an exception but I looked at the other helper functions only to discover that many of them return the entire logger instance.

PHP should throw an exception if you don't pass the first variable. I don't
see why we need to do anything here?
On Mon, Dec 28, 2015 at 12:41 PM, Prosper Otemuyiwa <
<EMAIL_ADDRESS>wrote:

@taylorotwell https://github.com/taylorotwell What do you think it
should return if it is null?. I initally wanted to throw an exception but I
looked at the other helper functions only to discover that many of them
return the entire logger instance.
—
Reply to this email directly or view it on GitHub
https://github.com/laravel/framework/pull/11565#issuecomment-167624981.

Nothing. It's an invalid argument. The behaviour is thus undefined.

PHP will actually raise a warning btw: https://3v4l.org/VMUq7.

All these helper functions:
config, cookie, logger, redirect, request, response, session, translator, url, validator and view all return the entire instance if the argument is null.
I returned the entire instance because it was the norm unless i would have thrown an exception @taylorotwell @GrahamCampbell .
Yeah PHP will raise a fatal error exception but then the user starts wondering that the error is coming from a file in the vendor folder which I think is not explanatory enough.

That's because they are directly connected to the instance. info is NOT.

It's a logger instance, not an info instance. Do you see?

Nothing. It's an invalid argument. The behaviour is thus undefined.

NB, that comment was referring to if you actually passed null as a param to something we said you should only pass a string to. We're saying anything could happen.

@GrahamCampbell I see your point but what do you mean when you say it's not an info instance?. How does one return an info instance in this case becuase info is just a method on the Log class.

There is no such info instance, thus it makes no sense for a function called info to return something totally different.


Generated Injector is private

After generating the injector.g.dart the class name is _$Injector and therefore cant by referenced in another dart file. I have to manually remove the underline

@mps2209 In your main Injector lib just add this lines:
part 'your_injector.g.dart';

Injector getInjector() => _$Injector();

But yea, for me it's also a little code smell. Or not? 🤔

As the docs suggest you can create a setup method in you Injector class that would initialize(configure) your injector. You don't need the _$Injector class anywhere else.

@mps2209 Generated classes should not be used outside the class itself. _$ indicates it is a generated class.
If you want to use it outside of this class. You can do 2 things:
Add a factory:
  factory Injector() = _$Injector;

Add an extra method in the same file of your Injector
Future setupNetworkingDependencies() async {
final injector = _$Injector()
injector.registerNetworkDependencies();
injector.registerWebservices();
// other dependencies
}
The last example is what I use most of the time. You can wrap it in an extra class if you don't want to be using the method directly. But this way you have a clear overview of all your dependency setup methods
Please reopen if you still have questions


TM-1-TEAM-C-Privacy-Policy

…y layout. After that, I created web util. Then I added set on click function and this function including url that I defined. And I used it in web util's open web page function with requireActivity.

great

it looks done.

congralations..


Error retrieving data for path

What is the solution node in our database? And why is this particular solution value in the console as an error report?

recalculation takes PathProgress assignments to calculate path credits at cohorts. So, it need access to these solutions. Only course owner and course participants have such rights

hi is recalculation called without clicking the Recalculate button?

for example, I open the Cohort page, and in the console, there are already some Recalculation_Request and Recalculation_Fail messages.

And this example:

https://achievements-dev.firebaseapp.com/#/cohorts/-LNA26JtkcTBWbWKgYrH
I am not the instructor of the cohort, and there is no "Recalculate" button for me to click, but the console is displaying quite a number of "Recalculate_Fail" messages.

yup, it also should be invoked on cohort page open. Recalculate button used only for refresh requesting w/o page update

is Recalculate_fail related to the blank Table Header for Paths Data?

if not, we can postpone fixing Recalculate unless the Cohort being viewed is created by the user to after Nov.

Did you select paths for this cohort at Cohort creation dialog?

yes. i think the issue is with not calling the fetch paths/pathID actions. i have opened a new issue in #461

I see all paths names. Could you try after last PR?

@Brainenjii thank you! well, i get this missing paths name bug more often when i open the cohort page for the first time, after refresh the page it is often fine.
very strange indeed!

it has non common way to set firebaseConnect settings. I pretty sure it's reason of this bug. I'll update it to more reliable way


getting different results from verify and find function.

I'm trying to extract unique faces from set of folders and I initially saved all the faces in their respective folders and trying to update another folder say unique_faces, Now the situation arises if the newly coming image is in the unique_faces folder or not, so I tried find function and verify function [nested loop  for verify of course] and i verify function being taking time, gives me desired results but not quicker and find method returns the results very fast but not accurate like some of the faces are also getting missed. I don't have issue with duplicates and I tried with all models and by adjusting the threshold distance. But verify and find should return same results on same threshold right?? that too is not working. even the find function calculates the newly added images representations, it is a lot quicker because may be one to three images will be added.  I have the code too.
My only concern is how can improve find method's  accuracy maintaining the fastness.
find method's code,
def verify_faces_in_database_2(face_folder, database_folder, hashmap):
    logging.info('Starting verification in database in folder %s', face_folder)
    db_filename = None
    face_image_path = None
    try:
        face_files = os.listdir(face_folder)
        for face_filename in face_files:
            if face_filename.startswith('.'):
                continue  # Skip system files like .DS_Store
            face_image_path = os.path.join(face_folder, face_filename)
            # for db_filename in os.listdir(database_folder):
            #     if db_filename.startswith('.'):
            #         continue  # Skip system files like .DS_Store
                #db_image_path = os.path.join(database_folder, db_filename)
                #if os.path.isfile(db_image_path):
                    # logging.info('face image path: %s', face_image_path)
                    #print('face image path: %s', face_image_path)
            verified = DeepFace.find(img1_path=face_image_path, db_path=database_folder,
                                        model_name='VGG-Face',
                                        enforce_detection=False)

            # logging.info('verified: %s', verified)
            distance_threshold = 0.5
            if verified[0]['distance'] < distance_threshold:
                logging.info(f"Match found between {db_filename} and folder name {face_folder} and {face_filename}")
                logging.info(verified[0])
                break  # Stop searching for matches if one is found
            # else:
            #     verified['verified'] = False

            # if verified['verified']:
            #     # print('verified: ', verified)

            else:
                logging.info('No match found, saving the image in the database with a unique ID')
                unique_id = str(uuid.uuid4())  # Generate unique ID
                # Save the image in the database with the unique ID
                save_to_database_with_unique_id(face_image_path, unique_id, database_folder)
                call_aws_api(face_image_path, hashmap, database_folder)

verify's code
def verify_faces_in_database_2(face_folder, database_folder, hashmap):
    logging.info('Starting verification in database in folder %s', face_folder)
    db_filename = None
    face_image_path = None
    try:
        face_files = os.listdir(face_folder)
        for face_filename in face_files:
            if face_filename.startswith('.'):
                continue  # Skip system files like .DS_Store
            face_image_path = os.path.join(face_folder, face_filename)
            for db_filename in os.listdir(database_folder):
                if db_filename.startswith('.'):
                    continue  # Skip system files like .DS_Store
                db_image_path = os.path.join(database_folder, db_filename)
                if os.path.isfile(db_image_path):
                    # logging.info('face image path: %s', face_image_path)
                    print('face image path: %s', face_image_path)
                    verified = DeepFace.verify(img1_path=db_image_path, img2_path=face_image_path,
                                               model_name='VGG-Face',
                                               enforce_detection=False)
                    # logging.info('verified: %s', verified)
                    distance_threshold = 0.50
                    if verified['distance'] < distance_threshold:
                        verified['verified'] = True
                    else:
                        verified['verified'] = False

                    if verified['verified']:
                        # print('verified: ', verified)
                        logging.info(
                            f"Match found between {db_filename} and folder name {face_folder} and {face_filename}")
                        break  # Stop searching for matches if one is found
            else:
                logging.info('No match found, saving the image in the database with a unique ID')
                unique_id = str(uuid.uuid4())  # Generate unique ID
                # Save the image in the database with the unique ID
                save_to_database_with_unique_id(face_image_path, unique_id, database_folder)
                call_aws_api(face_image_path, hashmap, database_folder)

you are using different models in verify and find functions. one is vgg, other is dlib.
TLDR: find and verify do the same, just find stores already calculated thresholds in a pickle file to find faster in next run.

My bad I pasted wrong code, I tried with the same models and I edited the same, with same model, with the same threshold results are different. i think this needs a  fix.

if a photo has many faces, then verify considers the most similar one between the other photo.
on the other hand, find calculates distances for each face. this is the only difference.

ok. but i'm extracting all the faces in an image and saving them as individual images into a folder. and using this folder i'm checking the unique_faces folder. so there aren't any mutliple faces in a single image.

you may try to print distance values between image pairs. if you see any difference on these distance values for same image pair, we can continue to discuss.

yes...that is what I'm exactly trying to say...
here is the code for verify function
import os
from deepface import DeepFace

def verify_image_against_folder(image_path, folder_path):
    try:
        verified_results = {}
        for filename in os.listdir(folder_path):
            if filename.endswith(('.jpg', '.jpeg', '.png')):
                image_to_compare_path = os.path.join(folder_path, filename)
                result = DeepFace.verify(image_path, image_to_compare_path)
                if result["verified"]:
                    verified_results[filename] = result
    except:
        pass
    return verified_results

# Usage example:
reference_image_path = "Madhursample.jpg"
folder_path_to_compare = "dbmod"

results = verify_image_against_folder(reference_image_path, folder_path_to_compare)

# Print results
for filename, result in results.items():
    print(f"Verification result for {filename}: {result['verified']}")
    print(f"Distance: {result['distance']}")

and the output is
Verification result for AdityaVikramBudholiya_EMqaTest-3$00-0000-0000-000000024758_face.jpg: True
Distance: 0.6586338087844334
Verification result for VivekKumarGupta_EMqaTest-3$00-0000-0000-000000024832_face.jpg: True
Distance: 0.6253741569539091

and for find function the code is
from deepface import DeepFace
result=DeepFace.find("Madhursample.jpg",db_path="dbmod",enforce_detection=False)
print(result)

and the output is
[                                            identity                                      hash  target_x  target_y  ...  source_w  source_h  threshold  distance
0  dbmod/AlokKumar_EMqaTest-3$00-0000-0000-000000...  de05dfb9108ac362273ee2f033e1db9a961cd360        47       209  ...        73        73       0.68  0.533479
1  dbmod/VivekKumarGupta_EMqaTest-3$00-0000-0000-...  69e1254b38d6875b382ffb4012261f98761fcc06        50        60  ...        73        73       0.68  0.625374
2  dbmod/ManishRanjan_EMqaTest-3$00-0000-0000-000...  3c107ea80669c3a2c37526ef9a102e505d398905        88       276  ...        73        73       0.68  0.639899
3                              dbmod/Madhur_face.jpg  aaa8fe54fc30574dba2ce19ec28eb60fa49fc49b        47        50  ...        73        73       0.68  0.640093
4  dbmod/AdityaVikramBudholiya_EMqaTest-3$00-0000...  ff05c12f927aa766d5834d9015e01af5cee31be1        32        77  ...        73        73       0.68  0.658634
5  dbmod/SiddarthJain_EMqaTest-3$00-0000-0000-000...  32eab590a3ddec2225fa854a2a4e6596fcc644ac        37       176  ...        73        73       0.68  0.679664

[6 rows x 12 columns]]

As you can see the clear difference between the 2 results even though input image and folder are same, model [by default is VGG-face] so only difference is methods.

would you please share the image pair here?

sure...
this is Madhursample.jpg

and for
AdityaVikramBudholiya_EMqaTest-3$00-0000-0000-000000024758_face.jpg

and AlokKumar_EMqaTest-3$00-0000-0000-0000002468_face.jpg is

As I see from your results, find and verify are returning same. What is different?
Madhursample.jpg vs AdityaVikramBudholiya_EMqaTest-3$00-0000-0000-000000024758_face.jpg
Verify: 0.6586338087844334
Find: 0.658634
Madhursample.jpg vs VivekKumarGupta_EMqaTest-3$00-0000-0000-000000024832_face.jpg
Verify: 0.6253741569539091
Find: 0.625374

distances are same but the results are not. That is my concern..

if distances are same, then there is nothing wrong from the library's perspective.
the procedure to list images in your implementation and find function are different. for instance, if an image is webp but its extension is jpg/png, then this is discarded in find function but it is not discarded in your implementation.
https://github.com/serengil/deepface/blob/master/deepface/commons/image_utils.py#L16

No, I took care of that already, I have are only .jpg images.

May be using insightface would give me better results as it  got better accuracy on south asian and east asian faces..

definetely i will. we will add it because of its accuracy for asian faces.
btw - feel free to continue discussion this thread. the reason I closed it that I only set tickets open only if that requires code change.

Most probably, your logic is buggy because verify gives same distances with find when tested directly.

For instance, listdir does not list files in subfolders. But find function considers sub folders. You are running a different logic.


Error with get_interfaces documentation

There seems to be an issue with the documentation for the get_interfaces module.

Hi @abrahamesc ,
Which link are you using?
Bellow there's the documentation of this resource module in the latest collection version.
https://galaxy.ansible.com/ui/repo/published/check_point/mgmt/content/module/cp_mgmt_get_interfaces/?version=5.1.3
https://console.redhat.com/ansible/automation-hub/repo/published/check_point/mgmt/content/module/cp_mgmt_get_interfaces/

I used: https://docs.ansible.com/ansible/latest/collections/check_point/mgmt/cp_mgmt_get_interfaces_module.html#ansible-collections-check-point-mgmt-cp-mgmt-get-interfaces-module
Thank you


No Video after Rebuild on unstable

Describe the bug
After rebuilding with nixpkgs-unstable, I'm stuck at a blurry but functional console. Switching channels (or a flake's nixpkgs URL) to nixos-20.09 and rebuilding, even without a reboot, has SDDM and Plasma working as expected again (presumably as SDDM gets restarted with different version).
To Reproduce
Steps to reproduce the behavior:

Use nixpkgs-unstable, SDDM, and an AMD GPU
Rebuild
Reboot

Expected behavior
Have correctly-set resolution and a GUI at TTY7
Additional context
Running nixos-rebuild at some point in the past 3 weeks seems to have broken Video on my AMD R9 290X GPU. Before, the systemd boot text would at some point adapt to my screen resolution during boot, and SDDM would show afterwards. I'm also missing TTY7. Running systemctl-status display-manager.serivce reports SDDM is running without a complaint.
I'm not sure which package is exactly causing trouble, as it could be a variety of things going wrong.
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.11.1-zen1, NixOS, 20.09.20210316.36e15cd (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4pre20210308_1c0e3e4`
 - channels(root): `"nixos-21.05pre276379.266dc8c3d05"`
 - channels(johannes): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module: [
    services.xserver.sddm
]

Problem has been resolved by manually setting boot.kernelParams = [ "radeon.cik_support=0" "amdgpu.cik_support=1" ]; in configuration.nix as per the wiki.
Strangely my graphics always worked without it being set before, but as everything is working now, I'll close.

I had black screens on sddm startup; there was a kernel null pointer deref in the logs. I'm using dual graphics, RX 570 (radeonsi) + onboard AMD graphics (radeon). It seems to be fixed in 5.11.7 as in this bug: https://bugzilla.kernel.org/show_bug.cgi?id=212137


Pinned versions in requirements.txt are too restrictive

New Feature Request
Checklist

[x ] I am not disclosing a vulnerability.
[x ] I have searched through existing issues and the Moralis Forum.

Current Limitation
The requirements in the requirements.txt file are too restrictive, because they pin exact package versions. They make it impossible to install moralis in my environment together with other packages.
Feature / Enhancement Description
Please don't make such restrictive dependency requirements, I don't think they are necessary for proper operation. For example only specify a minimum version.
Alternatives / Workarounds
Currently I need to bypass the dependency checks and install dependencies manually to get it work.

I don't think you should be using requirements.txt, those are just for development of the package. If you install it, I think you're using the dependencies listed in setup.py.
I agree that the dependencies are still a bit too narrow for a package that should be useable in a wide range of massive projects, but that's probably for a different ticket.

This is correct, but doesn't change the issue I am facing. I'm actually not using requirements.txt, I just install it via Pip from PyPi. After getting the dependency conflicts, I looked into requirements.txt, noticed the pinned versions, and submitted this issue, assuming this is what gets installed when I install from PyPi. That's not the case, you are right the setup.py dependencies are what actually gets installed, and this is what causes my issue. They are still too narrow, especially as strict requirements on very basic commonly used libraries are made, not only on exotic ones.

In that case the issue shouldn't be mentioning requirements.txt, but setup.py.
see https://github.com/MoralisWeb3/Moralis-Python-SDK/blob/main/setup.py
EIther way @ehtec, I think you'll love version 0.1.39 released a few days ago. It solves the problem for me.
See also: https://forum.moralis.io/t/python-sdk-bump-up-version-of-python-dateutil-dependency/23981/5

same as me.
Because no versions of moralis match >0.1.41,<0.2.0
 and moralis (0.1.41) depends on typing-extensions (>=4.3.0,<4.4.0), moralis (>=0.1.41,<0.2.0) requires typing-extensions (>=4.3.0,<4.4.0).
And because redis-om (0.2.1) depends on typing-extensions (>=4.4.0,<5.0.0)
 and no versions of redis-om match >0.2.1,<0.3.0, moralis (>=0.1.41,<0.2.0) is incompatible with redis-om (>=0.2.1,<0.3.0).
So, because betdog-backend depends on both redis-om (^0.2.1) and moralis (^0.1.41), version solving failed.


Scedule Previous method implementation

Hello,
I added the Previous method to the Schedule interface, as well as the implementation of this method to SpecSchedule. This method works on the same principle as the Next () method but on the other hand allows you to deduce the previous date where the schedule would have been activated.
This method is useful to us in order to define a list of dynamic configurations scheduled by cron  and to deduce which configuration to use when applying these configurations.

Hi, this PR looks perfect for my current problem. Is there anything I can do to help move this PR along? I've had a quick look at the changes and it all looks sane and tested :)

@omaskery Yep, I saw that a little late. As I need it, I still offered this PR.
@robfig free to you to accept or not this PR, it seems that some people find it useful.


Set eofbit on exhausted input stream.

Fixes #1340.
    The eofbit is set manually since we don't go through the
stream interface. We could maybe use the stream interface
instead, but there are some assumptions regarding which
exception go through, so this seems to be the most prudent
approach for now.

[Describe your pull request here. Please read the text below the line, and make sure you follow the checklist.]

Pull request checklist
Read the Contribution Guidelines for detailed information.

[x]  Changes are described in the pull request, or an existing issue is referenced.
[x]  The test suite compiles and runs without error.
[x]  Code coverage is 100%. Test cases can be added by editing the test suite.
[x]  The source code is amalgamated; that is, after making changes to the sources in the include/nlohmann directory, run make amalgamate to create the single-header file single_include/nlohmann/json.hpp. The whole process is described here.

Please don't

The C++11 support varies between different compilers and versions. Please note the list of supported compilers. Some compilers like GCC 4.7 (and earlier), Clang 3.3 (and earlier), or Microsoft Visual Studio 13.0 and earlier are known not to work due to missing or incomplete C++11 support. Please refrain from proposing changes that work around these compiler's limitations with #ifdefs or other means.
Specifically, I am aware of compilation problems with Microsoft Visual Studio (there even is an issue label for these kind of bugs). I understand that even in 2016, complete C++11 support isn't there yet. But please also understand that I do not want to drop features or uglify the code just to make Microsoft's sub-standard compiler happy. The past has shown that there are ways to express the functionality such that the code compiles with the most recent MSVC - unfortunately, this is not the main objective of the project.
Please refrain from proposing changes that would break JSON conformance. If you propose a conformant extension of JSON to be supported by the library, please motivate this extension.
Please do not open pull requests that address multiple issues.

Would be good to have a test that makes sure that we can still read a stream that has multiple top level json objects if there isn't already one.  For example, we should still be able to read "{}{}" by reading from the stream twice.

Coverage remained the same at 100.0% when pulling 4e5b62bd98e4d3827d58c2684ec0cc124a8fd453 on mefyl:develop into d2e6e1bf5852d9c8f2470c7c99eb6e600bb79138 on nlohmann:develop.

Addressed.

Thanks a lot!

Sure ! Thanks for the great library.


Get the username

Is there any way of getting the username of the person signed in?

Do you mean where the user can see the logged in account, or an admin can see who is logged in?

Inside login/createuser.php try this:
`if ($response == 'true') {
        echo '
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>'. $signupthanks .'

true
';

        $to1 =<EMAIL_ADDRESS>        $to2 = $newemail;
        $subject = "Welcome, $newuser";

        $txt1 = "

A new user has just created an account!
Their details are:
USERNAME: $newuser
PASSWORD: $pw1
E-ADDRESS: $newemail
Admin";
        $txt2 = "

$newuser,
Your account has been created. Verify some stuff....
Admin";
        mail($to1, $subject, $txt1);
        mail($to2, $subject, $txt2);

    } else {
        //Failure
        mySqlErrors($response);`

well that snippet failed xD
hopefully you can read / use that though

user can see the logged in account.
I'm planning to have it so it says something along the lines of:
"Welcome [user]."

$_SESSION['username']

Thanks, I believe that worked!


[Logging v2] Image Mirroring and Fork/CI external dependency

Replace all image specs with registry/repo/tag. Add imagePullSecrets.

@izaac we can use this as airgap testing ticket

@cbron for testing airgap we need an RC to be available with all the images used by the rancher-logging chart in rancher-images.txt

yes and that isn't ready yet, just meant that when it is we can use this ticket for it

Blocked by https://github.com/rancher/dashboard/issues/1244

Rancher version: v2.5.0-alpha3
logging operator gets deployed correctly.
I observed also fluent-fluent-bit:1.5.4 banzaicloud-fluentd:v1.11.2-alpine-2 and banzaicloud-logging-operator:3.6.0 getting pulled from the private registry in the Airgap's local cluster.
There's still this issue in v2.5.0-alpha3  that prevents us from installing using the Deploy to control plane nodes option

@izaac which issue is tracking the control plane nodes issue ? The linked one is closed.

@cbron Since we are using v2.5.0-alpha3  for  airgap testing were this issue still exists -https://github.com/rancher/dashboard/issues/1244.
We are good on all the images at this point since enabling control plane logging is not going to really have  new images being used by the logging charts.


Stevia

I'll comment in general regarding access levels, please make sure variables are private if they are not needed somewhere else

Please remove unnecessary denits

Please make sure to use let instead of var when data is never mutated


Hyperlinks without end tags on the page

It seems the page has some links that have no closing tags, e.g. in the heading "Building Universal Native Libraries (i386, ARMv7, and ARM64)" or "Accessing C Methods from C#", which makes reading the text a bit harder.

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

ID: dd6324b2-d690-3265-39e2-d5a57fcc1083
Version Independent ID: b7553f1b-1ed1-27fb-5e11-b91f609d32b1
Content: Referencing Native Libraries in Xamarin.iOS - Xamarin
Content Source: docs/ios/platform/native-interop.md
Product: xamarin
Technology: xamarin-ios
GitHub Login: @davidortinau
Microsoft Alias: daortin

Hi @MFinkBK
Thanks for opening this issue. The issue was caused by an updated version of markdig that's used by the docs build system. It handles HTML that's embedded in markdown more strictly. I've updated all the affected pages, and so the issue is now fixed.


Contextually type await expressions

Since await expects a Promise type then with noImplicitAny option enabled the following should not give error that parameters resolve and reject have implicit any types.
async f() {
    await (resolve, reject) => setTimeout(resolve, 0);
}

The compiler should know resolve and reject are functions, just like it knows in the following code:
async g() {
    return new Promise((resolve, reject) => setTimeout(resolve, 0));
}

I believe the underlying issue is that the await expression is not contextually typed by the appropriate Promise constructor. if that happened, the noImplictAny errors should go away, and you would also get the completion support in your editor while typing the lambda.

updating the title to reflect the underlying issue.

//cc: @rbuckton

May be related: https://github.com/tc39/ecmascript-asyncawait/issues/64

I'm closing this since the proposed usage is not in the specs.
Related: https://github.com/tc39/ecmascript-asyncawait/issues/64


github.GithubException.GithubException: 451 {"message": "Repository access blocked"

Need to handle the error avoiding stop

Hey, thanks for reporting! Any chance you could post a full stacktrace so I could see which line of code causes this?

  File "/home/settingdust/.local/lib/python3.10/site-packages/ghexport/export.py", line 123, in <module>
    main()
  File "/home/settingdust/.local/lib/python3.10/site-packages/ghexport/export.py", line 98, in main
    j = get_json(**params)
  File "/home/settingdust/.local/lib/python3.10/site-packages/ghexport/export.py", line 88, in get_json
    return Exporter(**params).export_json()
  File "/home/settingdust/.local/lib/python3.10/site-packages/ghexport/export.py", line 50, in export_json
    repo = self.api.get_repo(r['full_name'])
  File "/home/settingdust/.local/lib/python3.10/site-packages/github/MainClass.py", line 330, in get_repo
    headers, data = self.__requester.requestJsonAndCheck("GET", url)
  File "/home/settingdust/.local/lib/python3.10/site-packages/github/Requester.py", line 353, in requestJsonAndCheck
    return self.__check(
  File "/home/settingdust/.local/lib/python3.10/site-packages/github/Requester.py", line 378, in __check
    raise self.__createException(status, responseHeaders, output)


Can we only lint modified files?

Copied from https://github.com/wearerequired/lint-action/issues/292. The need is definitely still there.
Did some research regarding https://github.com/wearerequired/lint-action/issues/1 and found a GitHub action that helps with annotation via a .json file: https://github.com/Attest/annotations-action.
They just released a new version of runner that helps with composite actions https://docs.github.com/en/actions/creating-actions/about-actions#composite-run-steps-actions
But it's not fully ready to support calling an action within another action yet (which I think is the main reason we need the composite action though lol https://github.com/actions/runner/issues/646#issuecomment-683160895
Here are the next steps for composite actions: https://github.com/actions/runner/issues/646
When expected action within action is released, we can leverage
file changes(conditional step, if to check for modified files or entire branch) https://github.com/trilom/file-changes-action
Run eslint and parse errors/warnings messages to follow https://github.com/Attest/annotations-action/blob/master/annotations.json (type definition: https://github.com/Attest/annotations-action/blob/master/src/annotation.ts)
Originally posted by @theoomoregbee in https://github.com/wearerequired/lint-action/issues/47#issuecomment-687804620
Is this issue still relevant today? Are we still waiting for github to release the functionality that enables us to lint only modified files?

I have reopened #47 to keep the discussion in one place.

@ocean90 It looks like although it's reopened, #47 is still locked from discussion.
There was an attempt to resolve this in https://github.com/wearerequired/lint-action/pull/46 but work was paused before completion. The PR was then automatically closed.


Can this implementation handle images without objects?

Hello!
I want to train a model with some samples that has no objects ( just background ).
Can this implementation handle that?

Hi,
This is a duplicate of https://github.com/facebookresearch/maskrcnn-benchmark/issues/169
Let's keep the discussion there.


Running Docker commands from "T"

Pressing "T" currently opens the messaging window where you can run Docker commands.  However it was not specified that your commands must be prepended with a / (ie /docker run ...).  This should either be documented, or the messaging window should support plain old docker run ....
Thoughts?

We should add it in the Readme.
Prepending with / is the official way to run commands in Minecraft, I would prefer to keep supporting that. Especially to be able to show docker commands to friends using the chat, without actually running them.

@vosmith Would adding a mention about this in the Readme solve the issue for you?

Yes sir I that would be perfect👍
On Sat, Nov 21, 2015, 12:04 PM Adrien Duermael<EMAIL_ADDRESS>wrote:

@vosmith https://github.com/vosmith Would adding a mention about this
in the Readme solve the issue for you?
—
Reply to this email directly or view it on GitHub
https://github.com/docker/dockercraft/issues/22#issuecomment-158662394.


jsx-a11y/no-static-element-interactions shouldn't include label element

The label element is interactive and thus shouldn't be included in the list of static elements addressed by this rule.
On MDN there is an example where the label accepts click events:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label

Typically a click on a label shouldn't do anything except toggle/focus its linked input.
In other words, the label isn't interactive, the input it refers to is, and you should be responding to events on that input, not on the label.

First off, if the label actually responds to click events by placing focus somewhere, then by my definition, it is interactive. This should be enough to include label in the list of interactive elements.
But a whole other problem is that it seems that there is an issue with the way the events are propagated, because this:

  <input id="check" type="checkbox" onClick="checkboxHandler" />
  Check me

If checkboxHandler calls stopPropagation, the event doesn't bubble, even if you click the label element, but here:

  <input id="check" disabled type="checkbox" onClick="checkboxHandler" />
  Check me

If you click the label, the event will be sent to containerHandler.

Actually, I've spent some more time looking into this, and I'm closing this request.
Thanks for your time :-)


Git auth error Windows

Hi I stumbled upon a problem in my fresh flynn instalation on Windows.
I created new flynn instance on Digital Ocean - everything went fine, but when I wanted to push app to flynn I got an error message saying command failed and asked for username and password to the flynn remote.
I found out that the paths to flynn certificate and flynn executable in the .gitconfig files were malformed and i needed to replace them with working paths.
The way they are generated
[credential "https://git.9err.flynnhub.com"]
helper = C:\\Users\\melku\\AppData\\Roaming\\flynn\\bin\\flynn.exe git-credentials
The way they should be
[credential "https://git.9err.flynnhub.com"]
helper = C:/Users/melku/AppData/Roaming/flynn/bin/flynn.exe git-credentials

@adusak what version of windows are you using?

Windows 10 Home 1511, Build 10586.14

I had the same experience but i don't have any credential information in the .gitconfig file.
flynn version: v20151126.0
powershell version: 4.0
windows version: 8.1 [Version 6.3.9600]
Here is a test:
PS C:\dev\Azure\Flynn\TestRepo> git init
Initialized empty Git repository in C:/dev/Azure/Flynn/TestRepo/.git/
PS C:\dev\Azure\Flynn\TestRepo> git add *
PS C:\dev\Azure\Flynn\TestRepo> git commit -m "Test"
[master (root-commit) 1330fad] Test
 2 files changed, 3 insertions(+)
 create mode 100644 Procfile
 create mode 100644 index.php
PS C:\dev\Azure\Flynn\TestRepo> flynn create test
Created test
PS C:\dev\Azure\Flynn\TestRepo> git remote -v
flynn   https://git.[id].flynnhub.com/test.git (fetch)
flynn   https://git.[id].flynnhub.com/test.git (push)
PS C:\dev\Azure\Flynn\TestRepo> git push flynn master
C:\Users\Patrícia\AppData\Roaming\flynn\bin\flynn.exe git-credentials get: C:UsersPatríciaAppDataRoamingflynnbinflynn.exe: command not found
Username for 'https://git.[id].flynnhub.com':

After hardcoding those credential information with this command below ...
git config --local credential.https://git.[id].flynnhub.com.helper "C:\\Users\\Patrícia\\AppData\\Roaming\\flynn\\bin\\flynn.exe git-credentials"

or
git config --local credential.https://git.[id].flynnhub.com.helper "C:/Users/Patrícia/AppData/Roaming/flynn/bin/flynn.exe git-credentials"

... it was working "fine", but it's a workaround :-(
PS C:\dev\Azure\Flynn\TestRepo> git push flynn master
C:\Users\Patrícia\AppData\Roaming\flynn\bin\flynn.exe git-credentials get: C:UsersPatríciaAppDataRoamingflynnbinflynn.exe: command not found
C:\Users\Patrícia\AppData\Roaming\flynn\bin\flynn.exe git-credentials store: C:UsersPatríciaAppDataRoamingflynnbinflynn.exe: command not found
Counting objects: 4, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (2/2), done.
[...]
remote: =====> Application deployed
remote: =====> Waiting for web job to start...
remote: =====> Default web formation scaled to 1
To https://git.[id].flynnhub.com/test.git
 * [new branch]      master -> master
PS C:\dev\Azure\Flynn\TestRepo>

@patricialutar: did the shell from which you installed flynn have access to the git command? I just ran into a similar issue where the flynn installer was started from Powershell, but git on that system only worked from inside the bash that ships with git for Windows.

@patricialutar Did the shell from which you originally ran flynn install have access to git? I ran into this same problem when git was only in the path from the bash shell that ships with git for Windows, i.e. not from the Powershell that flynn install ran from.
(deleted the original comment by accident)


Hierarchical HTTP cache implementation is not working

I want to implement a Cache hierarchy. My scenario is as follows:
I have three envoy servers chained together and one cache service at the end: Main -> Intermediate -> Final -> Service.
For the service I am using the code provided for the cache filter here:
https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/cache_filter
For the Main envoy configuration is as follows:
static_resources:
  listeners:
  - name: listener_tcp
    address:
      socket_address:
        protocol: TCP
        address: <IP_ADDRESS>
        port_value: 8000
    filter_chains:
    - filters:
      - name: envoy.filters.network.http_connection_manager
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
          codec_type: AUTO
          stat_prefix: ingress_http
          route_config:
            name: local_route
            virtual_hosts:
            - name: backend
              domains:
              - "*"
              routes:
              - match:
                  prefix: "/"
                route:
                #return 503 after 20s
                  timeout: 0s
                  retry_policy:
                      retry_on: 5xx,refused-stream,connect-failure,gateway-error,reset,refused-stream
                      num_retries: 4
                      per_try_timeout: 5s
                  cluster: envoyInt
          http_filters:
          - name: "envoy.filters.http.cache"
            typed_config:
              "@type": "type.googleapis.com/envoy.extensions.filters.http.cache.v3.CacheConfig"
              typed_config:
                "@type": "type.googleapis.com/envoy.extensions.http.cache.simple_http_cache.v3.SimpleHttpCacheConfig"
          - name: envoy.filters.http.router
            typed_config:
              "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router

  clusters:
  - name: envoyInt
    connect_timeout: 5s
    type: STRICT_DNS
    load_assignment:
      cluster_name: envoyInt
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: envoy_int
                port_value: 8001

Main just forwards any request to the intermediate envoy. Config of Intermediate is as follows:
static_resources:
  listeners:
  - name: listener_tcp
    address:
      socket_address:
        protocol: TCP
        address: <IP_ADDRESS>
        port_value: 8001
    filter_chains:
    - filters:
      - name: envoy.filters.network.http_connection_manager
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
          codec_type: AUTO
          stat_prefix: ingress_http
          route_config:
            name: local_route
            virtual_hosts:
            - name: backend
              domains:
              - "*"
              routes:
              - match:
                  prefix: "/"
                route:
                #return 503 after 20s
                  timeout: 0s
                  retry_policy:
                      retry_on: 5xx,refused-stream,connect-failure,gateway-error,reset,refused-stream
                      num_retries: 4
                      per_try_timeout: 5s
                  cluster: envoyFinal
          http_filters:
          - name: "envoy.filters.http.cache"
            typed_config:
              "@type": "type.googleapis.com/envoy.extensions.filters.http.cache.v3.CacheConfig"
              typed_config:
                "@type": "type.googleapis.com/envoy.extensions.http.cache.simple_http_cache.v3.SimpleHttpCacheConfig"
          - name: envoy.filters.http.router
            typed_config:
              "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router

  clusters:
  - name: envoyFinal
    connect_timeout: 5s
    type: STRICT_DNS
    load_assignment:
      cluster_name: envoyFinal
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: envoy_final
                port_value: 8002

Intermediate forwards to Final envoy and the config of Final is as follows (very similar to cache filter example)
static_resources:
  listeners:
  - address:
      socket_address:
        address: <IP_ADDRESS>
        port_value: 8002
    filter_chains:
    - filters:
      - name: envoy.filters.network.http_connection_manager
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
          codec_type: AUTO
          stat_prefix: ingress_http
          route_config:
            name: local_route
            virtual_hosts:
            - name: backend
              domains:
              - "*"
              routes:
              - match:
                  prefix: "/service/1"
                route:
                  cluster: service1
              - match:
                  prefix: "/service/2"
                route:
                  cluster: service2
          http_filters:
          - name: "envoy.filters.http.cache"
            typed_config:
              "@type": "type.googleapis.com/envoy.extensions.filters.http.cache.v3.CacheConfig"
              typed_config:
                "@type": "type.googleapis.com/envoy.extensions.http.cache.simple_http_cache.v3.SimpleHttpCacheConfig"
          - name: envoy.filters.http.router
            typed_config:
              "@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router

  clusters:
  - name: service1
    type: STRICT_DNS
    lb_policy: ROUND_ROBIN
    load_assignment:
      cluster_name: service1
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: service1
                port_value: 8080
  - name: service2
    type: STRICT_DNS
    lb_policy: ROUND_ROBIN
    load_assignment:
      cluster_name: service2
      endpoints:
      - lb_endpoints:
        - endpoint:
            address:
              socket_address:
                address: service2
                port_value: 8080

So, each envoy node can cache HTTP requests. My scenario is as follows:
1- I send a request to Final envoy:
curl -i localhost:8002/service/1/valid-for-minute
2- repeat the request and see the content is cached
3- send the request to Main envoy:
curl -i localhost:8000/service/1/valid-for-minute
4- I expect to see the cached response, but a new response is generated.
I think the cache implementation acts based on the whole header instead of the original parts of the request, and since each envoy server node adds its own x-forward-id header, we do not see a cache hit.

Sorry, this issue belongs to envoy server. Please close it.


Allow to use any entrypoint

This is required for Node12 worker_threads module to work properly.
https://github.com/zeit/pkg-fetch/pull/65

Thanks! But i think we must preserve checking it in main thread. So, closing it in favour of https://github.com/zeit/pkg/commit/589c6a5ee730bd56b4a263609b47896a9a5a06e3


Fetch verification targets by TUF custom metadata

Summary

Continuing #1273, this adds support for fetching a list of TUF targets by custom metadata. This will be used for verification using expired/rotated targets. All targets will be persisted in the TUF target metadata. Only one will be marked as active while the others are marked as expired.
The custom metadata on a target looks like looks like:
      "fulcio.crt.pem": {
        "custom": {
          "sigstore": {
            "status": "Active",
            "usage": "Fulcio"
          }
        },
        "hashes": {
          "sha512": "f2e33a6dc208cee1f51d33bbea675ab0f0ced269617497985f9a0680689ee7073e4b6f8fef64c91bda590d30c129b3070dddce824c05bc165ac9802f0705cab6"
        },
        "length": 740
      },

Possible statuses are active or expired, and possible usages are fulcio, rekor, and ctfe. unknown is also supported for each as a default value.
To test this, I:

Used the current TUF targets to sign and verify. These TUF targets do not contain custom metadata, so this tested the fallback.
Initialized a TUF repository with custom metadata for each target (based on the script from the BYO TUF blog post). I changed the filenames too so no fallback would happen. Initialized Cosign with the custom TUF metadata. Successfully signed and verified.

Next steps:

Use the Status of the custom metadata to inform users when verifying with an expired target
Remove the OCI timestamp code
After TUF Root v3 is published and bundled with Cosign, we can remove the code that falls back to targets by filename.

Ticket Link

Fixes #1342
Ref #1273
Release Note

TUF targets can now be referenced by custom metadata instead of filename

Multiple verification keys can be used to verify Fulcio certificates, Rekor entries, or Fulcio CT log SCTs

cc @asraa @dlorenc @bobcallaway

Looking at failing test now, this doesn't fail locally (sorting enums for comparing two arrays)

These test failures look related to the PR, any idea?

Reran tests, the unit tests succeeded (I saw the flaky "timestamp.json" off by two bytes), but the KinD e2e tests are failing. Investigating now

It appears the tests collided with an ongoing distroless release. It pulled the latest image before signing was complete. No more errors!

Cc @znewman01 could you take a look?

could you take a look?

Yup, sometime in the next couple hours.


fix: use array function

Simplified Code

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


feat(cactus-plugin-ledger-connector-aries): add new connector plugin

Add new plugin for connecting with aries agents and indy ledger.
Currently it supports only connecting to other aries agents and verifying
proofs.
Add integration tests in cactus-test-plugin-ledger-connector-aries.
Update cactus-example-discounted-asset-trade to use the connector instead
of plain aries agent.

Depends on #2946
Closes #1950
Pull Request Requirements

[ ] Rebased onto upstream/main branch and squashed into single commit to help maintainers review it more efficient and to avoid spaghetti git commit graphs that obfuscate which commit did exactly what change, when and, why.
[ ] Have git sign off at the end of commit message to avoid being marked red. You can add -s flag when using git commit command. You may refer to this link for more information.
[ ] Follow the Commit Linting specification. You may refer to this link for more information.

Character Limit

[ ] Pull Request Title and Commit Subject must not exceed 72 characters (including spaces and special characters).
[ ] Commit Message per line must not exceed 80 characters (including spaces and special characters).

A Must Read for Beginners
For rebasing and squashing, here's a must read guide for beginners.

TODO before merge - upgrade axios (https://github.com/hyperledger/cacti/pull/2986)


Question/Bug: CRDs are not getting upgraded when using helm upgrade to upgrade aws-controller version

Describe the bug
Hi,
When using "helm upgrade" to upgrade an aws-controller chart, helm does not upgrade CRDs that are in '/crds' folder, even if there were changes.
https://helm.sh/docs/topics/charts/#limitations-on-crds
I'm aware that upgrading a client's CRDs is a difficult task because of existing resources that are dependent on the old CRD, but what should be the expected behavior of an aws-controller client/user that want to upgrade chart version? Should the user handle all CRD changes on its cluster when upgrading aws-controller version?
Thanks!
Shachar.
Steps to reproduce

Helm install ElastiCache k8s controller version v0.0.17
Apply a Replication Group resource to the cluster.
Helm upgrade ElastiCache controller to version v0.0.18
When trying to change "replicationGroupDescription" property to "description", getting a validation error because "description" does not exist.
Compared replicationGroup CRD on my cluster to the CRD in version v0.0.18, and noticed it wasn't upgraded.

Expected outcome
My expectation was that CRDs should be upgraded when upgrading aws-controller chart version, but I wanted to hear your opinion about it.
Environment

Kubernetes version v1.22.11
Using EKS (yes/no), if so version?  No
AWS service targeted (S3, RDS, etc.) ElastiCache/Opensearch/S3

Hi @ShacharMalachi
I believe that cluster admins/maintainers should deal with this issue manually, and choose their way of upgrading/updating the CRDs.
Quoting: Operators who want to upgrade or delete CRDs are encouraged to do this manually and with great care.

Should the user handle all CRD changes on its cluster when upgrading aws-controller version?

Changing CRD yes. Changing CRs should ideally be automated via mutating webhooks. Tracking the progress of this one in #835 .

Hi @A-Hilaly,
Thanks for the answer! I get your point, but see for example what cert-manager is doing:
https://github.com/cert-manager/cert-manager/blob/6947696b12428a1f9e5823c2e69de84b8dd08c1c/make/manifests.mk#L95
From what I understand, in release time they're copying CRDs from "crd/" folder to "templates" folder, and let the user choose (with a flag in values.yaml) if they want to upgrade CRDs or not, so in this way users don't have to apply CRDs manually, they just need to change installCRDs flag value to "true".
What do you think about that? Would you like to implement a similar solution for your helm charts? (if not then we'll automate it on our side when we use your helm charts, I just wanted to ask first).
Thanks,
Shachar.

Hey @ShacharMalachi. Thanks a lot for bringing this! I truly believe that we should (at least) document everything mentioned in this Issue.

Thanks for the answer! I get your point, but see for example what cert-manager is doing:
https://github.com/cert-manager/cert-manager/blob/6947696b12428a1f9e5823c2e69de84b8dd08c1c/make/manifests.mk#L95

We also copy the CRDs to every service controller repository. I didn't know you can force CRD upgrades using a helm value (i assumed that there was some kind of mechanism implicitly ignoring CRDs). If that is possible through a helm value, I think it's a good idea to bring this to ACK controllers as well.

What do you think about that? Would you like to implement a similar solution for your helm charts? (if not then we'll automate it on our side when we use your helm charts, I just wanted to ask first).

I personally think it's worth giving it a shot. I've received multiple question about why helm upgrade doesn't apply CRDs and always requested them to use kubectl apply -R -f $CRDS_PATH.
@ShacharMalachi Would you like to help implement this for ACK? I am available on Kubernetes slack and super down for a chat about this as well.
Cheers.

We also copy the CRDs to every service controller repository. I didn't know you can force CRD upgrades using a helm value (i assumed that there was some kind of mechanism implicitly ignoring CRDs). If that is possible through a helm value, I think it's a good idea to bring this to ACK controllers as well.

Just to clarify, it's not a special value that helm provides, in this example of cert-manager it's just some boolean value they added to their helm-chart values.yaml that lets the users decide if they want to upgrade CRDs or not. As far as I understand, what prevents CRDs from being upgraded (in helm) is their placement in "crd/" folder. If you'll put them in "templates" folder they will be upgraded automatically.
In cert-manager they're doing it only in release time (moving CRDs from "crd/" folder to "templates/" folder), in their source code all of the CRDs are inside "crd/" folder, same as yours.

@ShacharMalachi Would you like to help implement this for ACK? I am available on Kubernetes slack and super down for a chat about this as well.

Sure I can assist if you decide to implement this, I don't have much experience with this subject, I just searched what other open-source projects (that we use in our project) do in a similar situation.

/lifecycle frozen


Junit5 test with dependencies runner

What does this PR do?
Adds a new TestClassWithDependenciesRunner variant which supports JUnit5 test classes.
Also did a bit of refactoring and moved the runner into the existing testutils package.
Checklist

[x] This is something else

[ ] ~I have updated CHANGELOG.asciidoc~

:broken_heart: Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2023-01-12T11:38:11.547+0000

Duration: 31 min 21 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
2364

Skipped
21

Total
2385

Steps errors
Expand to view the steps failures

mvn test

Took 16 min 18 sec . View more details here
Description: ./mvnw test

:green_heart: Flaky test report
Tests succeeded.
:robot: GitHub comments
Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run benchmark tests : Run the benchmark tests.

run jdk compatibility tests : Run the JDK Compatibility tests.

run integration tests : Run the Agent Integration tests.

run end-to-end tests : Run the APM-ITs.

run windows tests : Build & tests on windows.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

/test


Optimize simple queries

The issues was for simple queries with complexe wheres, a sub query was used resulting in the following query :
select count(*)
from (select "users".*
      from "users"
      where (select "title"
             from "posts"
             where "posts"."user_id" = "users"."id"
             order by "created_at" asc
    ) = ?
) count_row_table

resulting into an uneccessary temporary table, the query we would like to have would be this one :
select count(*)
from "users"
where (select "title"
       from "posts"
       where "posts"."user_id" = "users"."id"
       order by "created_at" asc
) = ?

On our app, the gains were massive, one of our datables would just timeout and with this change it load now in less than 5 seconds

I guess this PR also fixes #3133. @abdulrhmansouda would you be able to review? Thanks!

I fixed this problem when I changed the isComplexQuery function #3133.
and it's ready. you can review it.

Please run composer pr on your local machine to fix the linting. I haven't figured out yet how to automate in PR. Thanks!

Released on v11.1.0, 🚀 thanks!


2.274.2 runner is not working on v0.13.1

Config
apiVersion: actions.summerwind.dev/v1alpha1
kind: Runner
metadata:
  name: "{{ .Release.Name }}-runner-{{ .Values.runnerGroup }}"
spec:
  repository: "{{.Values.repository}}"
  labels:
    - {{ .Values.runnerGroup }}

Command used to install controller
➜ kubectl apply -f https://github.com/summerwind/actions-runner-controller/releases/download/v0.13.1/actions-runner-controller.yaml

Stacktrace
│ Github endpoint URL https://github.com/                                                                                │
│ --------------------------------------------------------------------------------                                                                                │
│ |        ____ _ _   _   _       _          _        _   _                      |                                                                                │
│ |       / ___(_) |_| | | |_   _| |__      / \   ___| |_(_) ___  _ __  ___      |                                                                                │
│ |      | |  _| | __| |_| | | | | '_ \    / _ \ / __| __| |/ _ \| '_ \/ __|     |                                                                                │
│ |      | |_| | | |_|  _  | |_| | |_) |  / ___ \ (__| |_| | (_) | | | \__ \     |                                                                                │
│ |       \____|_|\__|_| |_|\__,_|_.__/  /_/   \_\___|\__|_|\___/|_| |_|___/     |                                                                                │
│ |                                                                              |                                                                                │
│ |                       Self-hosted runner registration                        |                                                                                │
│ |                                                                              |                                                                                │
│ --------------------------------------------------------------------------------                                                                                │
│ # Authentication                                                                                │
│ √ Connected to GitHub                                                                                │
│ # Runner Registration                                                                                │
│ A runner exists with the same name                                                                                │
│ √ Successfully replaced the runner                                                                                │
│ √ Runner connection is good                                                                                │
│ # Runner settings                                                                                │
│ √ Settings Saved.                                                                                │
│ 16c16                                                                                │
│ < ./externals/node12/bin/node ./bin/RunnerService.js &                                                                                │
│ ---                                                                                │
│ > ./externals/node12/bin/node ./bin/RunnerService.js $* &                                                                                │
│ 20c20                                                                                │
│ < wait $PID                                                                                │
│ ---                                                                                │
│ > wait $PID                                                                                │
│ \ No newline at end of file                                                                                │
│ 27c27                                                                                │
│ <                 listener = childProcess.spawn(listenerExePath, ['run'], { env: process.env });                                                                                │
│ ---                                                                                │
│ >                 listener = childProcess.spawn(listenerExePath, ['run'].concat(process.argv.slice(3)), { env: process.env });                                                                  │
│ 30c30                                                                                │
│ <                 listener = childProcess.spawn(listenerExePath, ['run', '--startuptype', 'service'], { env: process.env });                                                                    │
│ ---                                                                                │
│ >                 listener = childProcess.spawn(listenerExePath, ['run', '--startuptype', 'service'].concat(process.argv.slice(2)), { env: process.env });                                      │
│ 34c34                                                                                │
│ <                                                                                │
│ ---                                                                                │
│ >                                                                                │
│ 59c59                                                                                │
│ <                                                                                │
│ ---                                                                                │
│ >                                                                                │
│ 91c91                                                                                │
│ < });                                                                                │
│ ---                                                                                │
│ > });                                                                                │
│ \ No newline at end of file                                                                                │
│ .path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin                                                                                │
│ Starting Runner listener with startup type: service                                                                                │
│ Started listener process                                                                                │
│ Started running service                                                                                │
│ √ Connected to GitHub                                                                                │
│ 2020-11-26 09:23:01Z: Listening for Jobs                                                                                │
│ Runner update in progress, do not shutdown runner.                                                                                │
│ Downloading 2.274.2 runner                                                                                │
│ Waiting for current job finish running.                                                                                │
│ Generate and execute update script.                                                                                │
│ Runner will exit shortly for update, should back online within 10 seconds.                                                                                │
│ renamed '/runner/_diag/SelfUpdate-20201126-092309.log' -> '/runner/_diag/SelfUpdate-20201126-092309.log.failed'                                                                                │
│ Runner listener exited with error code 4                                                                                │
│ Runner listener exit with undefined return code, re-launch runner in 5 seconds.                                                                                │
│ Starting Runner listener with startup type: service                                                                                │
│ Started listener process                                                                                │
│ events.js:187                                                                                │
│       throw er; // Unhandled 'error' event                                                                                │
│       ^                                                                                │
│ Error: spawn /runner/bin/Runner.Listener ENOENT                                                                                │
│     at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)                                                                                │
│     at onErrorNT (internal/child_process.js:456:16)                                                                                │
│     at processTicksAndRejections (internal/process/task_queues.js:80:21)                                                                                │
│ Emitted 'error' event on ChildProcess instance at:                                                                                │
│     at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)                                                                                │
│     at onErrorNT (internal/child_process.js:456:16)                                                                                │
│     at processTicksAndRejections (internal/process/task_queues.js:80:21) {                                                                                │
│   errno: 'ENOENT',                                                                                │
│   code: 'ENOENT',                                                                                │
│   syscall: 'spawn /runner/bin/Runner.Listener',                                                                                │
│   path: '/runner/bin/Runner.Listener',                                                                                │
│   spawnargs: [ 'run', '--startuptype', 'service', '--once' ]                                                                                │
│ }                                                                                │
│ stream closed

SelfUpdate log file
[2020-11-26 09:28:06-9447] --------whoami--------
runner
[2020-11-26 09:28:06-9474] --------whoami--------
[2020-11-26 09:28:06-9485] Waiting for Runner.Listener (91) to complete
[2020-11-26 09:28:06-9496] Process 91 still running
[2020-11-26 09:28:08-9523] Process 91 finished running
[2020-11-26 09:28:08-9537] Sleep 1 more second to make sure process exited
[2020-11-26 09:28:09-9564] move /runner/bin /runner/bin.2.274.1
created directory '/runner/bin.2.274.1'
renamed '/runner/bin/Microsoft.CSharp.dll' -> '/runner/bin.2.274.1/Microsoft.CSharp.dll'
renamed '/runner/bin/Microsoft.IdentityModel.Logging.dll' -> '/runner/bin.2.274.1/Microsoft.IdentityModel.Logging.dll'
renamed '/runner/bin/Microsoft.IdentityModel.Tokens.dll' -> '/runner/bin.2.274.1/Microsoft.IdentityModel.Tokens.dll'
renamed '/runner/bin/Microsoft.VisualBasic.Core.dll' -> '/runner/bin.2.274.1/Microsoft.VisualBasic.Core.dll'
renamed '/runner/bin/Microsoft.VisualBasic.dll' -> '/runner/bin.2.274.1/Microsoft.VisualBasic.dll'
renamed '/runner/bin/Microsoft.Win32.Primitives.dll' -> '/runner/bin.2.274.1/Microsoft.Win32.Primitives.dll'
renamed '/runner/bin/Microsoft.Win32.Registry.dll' -> '/runner/bin.2.274.1/Microsoft.Win32.Registry.dll'
renamed '/runner/bin/Minimatch.dll' -> '/runner/bin.2.274.1/Minimatch.dll'
renamed '/runner/bin/Newtonsoft.Json.Bson.dll' -> '/runner/bin.2.274.1/Newtonsoft.Json.Bson.dll'
renamed '/runner/bin/Newtonsoft.Json.dll' -> '/runner/bin.2.274.1/Newtonsoft.Json.dll'
renamed '/runner/bin/Runner.Common.deps.json' -> '/runner/bin.2.274.1/Runner.Common.deps.json'
renamed '/runner/bin/Runner.Common.dll' -> '/runner/bin.2.274.1/Runner.Common.dll'
renamed '/runner/bin/Runner.Listener' -> '/runner/bin.2.274.1/Runner.Listener'
renamed '/runner/bin/Runner.Listener.deps.json' -> '/runner/bin.2.274.1/Runner.Listener.deps.json'
renamed '/runner/bin/Runner.Listener.dll' -> '/runner/bin.2.274.1/Runner.Listener.dll'
renamed '/runner/bin/Runner.Listener.runtimeconfig.json' -> '/runner/bin.2.274.1/Runner.Listener.runtimeconfig.json'
renamed '/runner/bin/Runner.PluginHost' -> '/runner/bin.2.274.1/Runner.PluginHost'
renamed '/runner/bin/Runner.PluginHost.deps.json' -> '/runner/bin.2.274.1/Runner.PluginHost.deps.json'
renamed '/runner/bin/Runner.PluginHost.dll' -> '/runner/bin.2.274.1/Runner.PluginHost.dll'
renamed '/runner/bin/Runner.PluginHost.runtimeconfig.json' -> '/runner/bin.2.274.1/Runner.PluginHost.runtimeconfig.json'
renamed '/runner/bin/Runner.Plugins.deps.json' -> '/runner/bin.2.274.1/Runner.Plugins.deps.json'
renamed '/runner/bin/Runner.Plugins.dll' -> '/runner/bin.2.274.1/Runner.Plugins.dll'
renamed '/runner/bin/Runner.Sdk.deps.json' -> '/runner/bin.2.274.1/Runner.Sdk.deps.json'
renamed '/runner/bin/Runner.Sdk.dll' -> '/runner/bin.2.274.1/Runner.Sdk.dll'
renamed '/runner/bin/Runner.Worker' -> '/runner/bin.2.274.1/Runner.Worker'
renamed '/runner/bin/Runner.Worker.deps.json' -> '/runner/bin.2.274.1/Runner.Worker.deps.json'
renamed '/runner/bin/Runner.Worker.dll' -> '/runner/bin.2.274.1/Runner.Worker.dll'
renamed '/runner/bin/Runner.Worker.runtimeconfig.json' -> '/runner/bin.2.274.1/Runner.Worker.runtimeconfig.json'
renamed '/runner/bin/RunnerService.js.bak' -> '/runner/bin.2.274.1/RunnerService.js.bak'
renamed '/runner/bin/SOS_README.md' -> '/runner/bin.2.274.1/SOS_README.md'
renamed '/runner/bin/Sdk.deps.json' -> '/runner/bin.2.274.1/Sdk.deps.json'
renamed '/runner/bin/Sdk.dll' -> '/runner/bin.2.274.1/Sdk.dll'
renamed '/runner/bin/System.AppContext.dll' -> '/runner/bin.2.274.1/System.AppContext.dll'
renamed '/runner/bin/System.Buffers.dll' -> '/runner/bin.2.274.1/System.Buffers.dll'
renamed '/runner/bin/System.Collections.Concurrent.dll' -> '/runner/bin.2.274.1/System.Collections.Concurrent.dll'
renamed '/runner/bin/System.Collections.Immutable.dll' -> '/runner/bin.2.274.1/System.Collections.Immutable.dll'
renamed '/runner/bin/System.Collections.NonGeneric.dll' -> '/runner/bin.2.274.1/System.Collections.NonGeneric.dll'
renamed '/runner/bin/System.Collections.Specialized.dll' -> '/runner/bin.2.274.1/System.Collections.Specialized.dll'
renamed '/runner/bin/System.Collections.dll' -> '/runner/bin.2.274.1/System.Collections.dll'
renamed '/runner/bin/System.ComponentModel.Annotations.dll' -> '/runner/bin.2.274.1/System.ComponentModel.Annotations.dll'
renamed '/runner/bin/System.ComponentModel.DataAnnotations.dll' -> '/runner/bin.2.274.1/System.ComponentModel.DataAnnotations.dll'

I'm seeing the same behavior 🙁

@0x77dev @bjw-s Hey! Took too much time to confirm this myself, but I've updated summerwind/actions-runner:latest a week ago and that should fix the issue for you, too.
The new image should be automatically pulled once your runner pod is recreated.
If it's stuck on older images, you can just manually remove runner pods with kubectl delete po so that the runner controller recreates them, as the runner pod is given imagePullPolicy: Always by default. You can confirm that by running something like:
$ kubectl get po | grep $YOUR_RUNNERDEPLOY_NAME

$ kubectl get po example-runnerdeploy-bqhf5-z9lgg -o yaml | grep -A 5 image:
*snip*
    image: summerwind/actions-runner:latest
    imagePullPolicy: Always
    name: runner
    resources: {}
    securityContext: {}
    terminationMessagePath: /dev/termination-log
*snip*
    image: docker.io/summerwind/actions-runner:latest
    imageID: docker.io/summerwind/actions-runner@sha256:eefeb25e94437805e30e6d0ba0b95f2ddfb1c36cd0c66ea847826f175c9edfa6
    lastState: {}
    name: runner
    ready: true
    restartCount: 0
*snip*

As you can see in the above example, it should work if the imageID points to sha256:eefeb25e94437805e30e6d0ba0b95f2ddfb1c36cd0c66ea847826f175c9edfa6.

@mumoshu Yup, all works 🥳, thanks for feedback.


PacketOutOfOrder error on connect with too many connections

Conn::new returns a PacketOutOfOrder error if too many connections are established at the same time to a MySQL database. This doesn't seem like the right error to return? You can try this with something like:
#[tokio::test(threaded_scheduler)]
async fn ooo_error() {
    use futures_util::stream::StreamExt;

    let (tx, mut rx) = tokio::sync::mpsc::unbounded_channel::<()>();
    for _ in 0..1000 {
        let tx = tx.clone();
        tokio::spawn(async move {
            let c = Conn::new(get_opts()).await.unwrap();
            let c = c.drop_query("SELECT 1").await.unwrap();
            c.disconnect().await.unwrap();
            drop(tx);
        });
    }

    // wait until all connections have been dropped
    drop(tx);
    assert_eq!(rx.next().await, None);
}

Which will panic at Conn::new(get_opts()).await.unwrap() (expected) with a PacketOutOfOrder error (unexpected).

Note that the test above will appear to pass. You'll need to run it with -- --nocapture to see the panics.

In my experience, the test above fails if the number of connections established is >= half of MySQL's max_connections. The reason for this is that when a Plain connection is upgraded to a Socket connection, there is a period of time during which both versions of the connection are present, and so the connection counts double against the connection limit.

I have a weak suspicion that this might be related to #94. @blackbeam can you reproduce this issue? It should be relatively self-contained and easy enough to debug given that you know the protocol :) Especially because it doesn't require much concurrency at all.

I just ran into this issue again today sadly, so doesn't appear to have been fixed by the resolution to #94.

Oh, this is quite sad. I'll look into it again.
Could you please, if possible, share your server and OS version, and also a database configuration?

Please note that the biggest problem for me here was to reproduce this issue (I simply couldn't).

This was on an EC2 Ubuntu machine, running latest LTS, with the latest MariaDB version available there.
I was using the stock database configuration (though note the relationship to max-connections in the first post).

Btw, which version of mysql_common is in your Cargo.lock?

This was with mysql_async = "0.23.1", and the latest mysql_common that brings in, which I think is mysql_common = "0.22.1".

I've tried to reproduce it on t2.micro instance with bionic and stock MariaDB 10.1.44.
I got "to may connections", "connection reset" and plantly of other errors but no PacketOutOfOrder.
I tried with and without --release.
Maybe I'm missing something? Here is the code:
use mysql_async::{Conn, prelude::*};

use std::future::Future;

#[tokio::main(core_threads=8)]
async fn main() {
    use futures::stream::StreamExt;

    for _ in 0..100_000 {
        let (tx, mut rx) = tokio::sync::mpsc::unbounded_channel::<()>();
        for i in 0..160 {
            let tx = tx.clone();
            tokio::spawn(async move {
                let c = Conn::new("mysql://user:password@<IP_ADDRESS>/mysql").await.unwrap();
                let c = c.drop_query("SELECT 1").await.unwrap();
                c.disconnect().await.unwrap();
                drop(tx);
            });
        }
        drop(tx);
        assert_eq!(rx.next().await, None);
    }
}

That's very weird — I don't have a good answer for you unfortunately. It could be that it only happens when there's significant concurrency, which might require more cores than a t2.micro. I'm running on a 16-core instance when I see the issue.

Hi. Could you please test the following revision in your environment?
[dependencies]
mysql_async = { git = "https://github.com/blackbeam/mysql_async.git", rev = "4602469d303321ca4a307c7377b8502e8b5a77cf" }

Ooh, interesting, #4602469d303321ca4a307c7377b8502e8b5a77cf does look like a promising fix! Unfortunately I'm pretty swamped in the coming month(s) as I'm also moving cross-country, so may not be able to test this for a while. I'll add it to my backlog though!


Enablement Workgroup Objective Management

Enablement Workgroup Objective Management
Description
The Outreach Team - Enablement Workgroup is responsible for creating materials that evangelize and enable the adoption of the Baseline Protocol. To accomplish this goal, key deliverables and target personas must be identified to outline the necessary items in need of creation from workgroup members to bring companies closer to implementing the Baseline Protocol. Identified deliverables will available to be picked up by individuals in the Enablement Workgroup to complete, and iteratively improve with other workgroup members. The setup of this WG will allow enablement for the Baseline Protocol to take place for years to come.
Definition of 'Done'

[x] Identify and outline enablement personas
[x] Identify and outline enablement deliverables

Steps

[x] Personas Based Enablement Doc is filled out by team and reviewed

Updates
Issue comments will be used for logging updates and labels will be used for current status and work group responsible for current stage.
Grants
Outreach work items that are related to an approved grant project require updates by the 1st of each month by adding a comment on this issue with a detailed update on progress, roadblocks, and any comments.

5/9/22:

Group kicking off this week
Will define personas and where will be crosses between potential sponsors as well

6/6/22:

Master deck being worked through with group
Members are beginning first stages of different persona-based deliverables

7/5/22:

Mark and Marc will work together on the deck for FinTech DevCon and add to next sessions agenda 7/7
Master Enablement deck is being worked on and nearing completion, review from TSC and other leaders
Draft for executive brief started

7/18/22:

Tightening up master enablement deck
Executive brief outline drafted, will move forward after deck is complete

8/15/22:

Master enablement deck complete, woo! https://drive.google.com/drive/folders/1BNpsJkM6iNrCN0RF9fq8KiZ6a6NbScp6
Going to take a break on meetings and pick up in fall
Ideas for fall: 1) standards focused deliverable to bridge gap between Little Bit (highest level) and Standard (lowest level), 2) intro level deck for convos with businesses (30 min calls, 5 mins explanation of baseline)

9/26/22:

Mark R working on standards deliverable using the SRI for reference

10/24/22:

Can resume next year

1/30/23:

Marc Haddle: will start one pager, what is Baseline Protocol, what it can be applied to, industry specific areas


Fix bugs involving lack of a .message_content element in /me messages

Following up on #13634, I think that we likely have some bugs in handling of /me messages, which currently in their HTML templates don't have a message_content class around the message content (instead, having rendered_markdown status-message on those elements).
At least, git grep [.]message_content static/js/ | wc returns 30 matches, and many of those don't seem to consider a .status-message to be equivalent (which is I think the historically intended solution to this problem, since .message-content has some special CSS).
We should do an audit to determine if any of those call points incorrectly handle /me messages, and close this issue once those are fixed.

We've done a recent purge of bugs related to /me messages as part of redesign work, closing this.


#AV-78192 Added terraform module to deploy vm on vmware cloud

This doesn't have information on cluster creation.

Updated the Terraform module to configure VM's and create the cluster

why not commit to the terraform repo as well?

It is a terraform module so we can put it in a separate repo, and the user can source it from Github link, for now, cd told me to add it in this repo


chore(add-visibility#1): visibility update and tests

closes #1

@all-contributors please, add @juanrtalmeida for code.


Tests on the new implementation: address mypy warnings

Related to #1582
Description of the changes being introduced by the pull request:
This pr includes:

configure mypy to show error codes
fixed type annotations in test_metadata_serialization
two additional invalid serialization tests
manual fixes for a lot of mypy warnings.

When there were mypy warnings that we are calling non-annotated function
in annotated context, I decided to add annotations instead of ignoring
those warnings.
That's how I end up adding annotations in the whole tests/utils.py
module.
NOTE: Those changes are not done by automatic tool, but instead are manual.
Please verify and check that the pull request fulfills the following
requirements:

[ ] The code follows the Code Style Guidelines
[ ] Tests have been added for the bug fix or new feature
[ ] Docs have been added for the bug fix or new feature

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

17 of 18 (94.44%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 97.464%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tuf/requests_fetcher.py
8
9
88.89%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
3950

Relevant Lines:
4034

💛  - Coveralls

Can you leave comments explaining the ignores -- they don't seem entirely obvious at first glance?

I mean PR comments, just for review

Quick comments:

Can you leave comments explaining the ignores -- they don't seem entirely obvious at first glance?

I left comments about each of them.

Are requests and dateutil really not annotated anywhere ? I wonder how this has not been an issue so far but now requires ignores...

Hm, I don't remember why I had to add them to the list in setup.cfg. Now when I remove them there aren't any new warnings.
Will remove them.

test_fetcher (and as follow up tuf/requests_fetcher.py) should not need changing as they are part of legacy code

I decided to add type annotations for them as I received warnings that I am calling unannotated code in annotated context.
I don't see it as a problem as those changes are small.

I decided to add type annotations for them as I received warnings that I am calling unannotated code in annotated context.

I would like to avoid touching any more legacy code at least in this PR then is necessary.
However, I am interested in those warnings -- where do they come from? Why do we end up importing unannotated code that we did not expect to import?

I updated the pr with:

removing ignore_missing_imports from setup.cfg for requests and dateutil
removed changes for tuf/request_fetcher.py and tests/test_fetcher.py as they contain code for the legacy code.


khairatAA created the pull request: The homepage_images folder was created to contain all images and logos

Description:

Created the home page images folder which contains all the icons and images used in the figma file for the homepage.

Changes Made:

Created homepage images folder
Added files containing icons and images used in the homepage of the figma file

Related Issue:

Added files containing icons and images used in the homepage of the figma file

Screenshots (if applicable):

Attach screenshots, if applicable, to showcase the newly implemented feature or bug fix.

@ALX-SE-Algorithmia/code-reviewing-team
Please kindly, check the PR created by khairatAA.
A homepage_images folder was created to contain all images and logos in the homepage on the figma design

Hi @khairatAA, great job. I'd request some changes before we proceed with your PR.
Kindly follow the following:

Images like the Algorithmia logo and the SVG files should be placed in a new directory called shared.
The other images specific to the homepage should be in a new directory named home.

Thank you!

According to the corrections made my the @ALX-SE-Algorithmia/code-reviewing-team,
I have made some modifications to the directory names as asked. Kindly review the changes made, Thanks.

Hy @ALX-SE-Algorithmia/code-reviewing-team, I have removed the readme file in the home directory as requested.

Weldone @khairatAA.
Your PR shall be merged accordingly.
@MartyOfMCA Thank you for the review.


timestamp match format error

in 20-dns-syslog.conf
on line 222:
match => [ "date", "MMM  d HH:mm:ss","MMM dd HH:mm:ss" ]
should be:
match => [ "date", "MMM  dd HH:mm:ss","MMM dd HH:mm:ss" ]

did you try it? I wonder if there was a reason for formatting it like that
what issues do you have with "d"?


Set up linting

Create a configuration for linting.
Explore options.

@IT2901-SINTEF01/backend Do any of you have experience with linting in pipelines with C#? I couldn't find any good guides online with a quick search.
If you would like to implement this, feel free to assign it to yourself and hack away!


performax bidder

Documentation for this adapter https://github.com/prebid/Prebid.js/pull/11325
🏷 Type of documentation

[x] new bid adapter
[ ] update bid adapter
[ ] new feature
[ ] text edit only (wording, typos)
[ ] bugfix (code examples)
[ ] new examples

📋 Checklist

[x] Related pull requests in prebid.js or server are linked -> Paste link in this list or reference it on the PR itself
[x] For new adapters check submitting your adapter docs

The bidder PR was just merged in, this can merge when ready

@ncolletti - we don't merge the docs until the code is released.


Higher FPS or video duration?

So is it a hard requirement for the model to generate 8 fps and 6s videos? Can we increase them by any means?

Of course you can. And so can we.


⚠ Processors has degraded performance

In 3fb14ad, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 130 ms

Resolved: Processors performance has improved in 6a09355.