AttributeError: 'numpy.ndarray' object has no attribute 'tocoo' when sparse_inputs=True

Simple, relevant snippet of code
   N_DIMS_EMBEDDING = 3
   m_sim = np.array([(1.0, .7, .3),
                     (.7, 1.0, .2),
                     (.3, .2, 1.0)])
   #define feature matrix - one-hot encoding
   m_feat = np.array([(1.0, 0.0, 0.0),
                      (0.0, 1.0, 0.0),
                      (0.0, 0.0, 1.0)])

   #compute the embedding
   simec = SimilarityEncoder(m_sim.shape[0], N_DIMS_EMBEDDING, m_sim.shape[0], sparse_inputs=True)

   simec.fit(m_feat, m_sim, epochs=1000)

It gives the error
Traceback (most recent call last):
  File "simec_test_reduced.py", line 74, in <module>
    simec.fit(m_feat, m_sim, epochs=1000)
  File "/home/rgardner/projects/explore_learn/ai2thor_utils/simec/simec.py", line 284, in fit
    self.model.fit(X, S, epochs=epochs, batch_size=batch_size, verbose=verbose)
  File "/home/rgardner/projects/explore_learn/simec/env/lib/python3.6/site-packages/keras/engine/training.py", line 1239, in fit
    validation_freq=validation_freq)
  File "/home/rgardner/projects/explore_learn/simec/env/lib/python3.6/site-packages/keras/engine/training_arrays.py", line 196, in fit_loop
    outs = fit_function(ins_batch)
  File "/home/rgardner/projects/explore_learn/simec/env/lib/python3.6/site-packages/tensorflow/python/keras/backend.py", line 3262, in __call__
    sparse_coo = value.tocoo()
AttributeError: 'numpy.ndarray' object has no attribute 'tocoo'

The error only happens when I set sparse_inputs=True in the SimilarityEncoder constructor.
I think it may go away with newer versions of Keras and Tensorflow (so maybe you don't care about it).
I'm using:
Keras (2.3.1)
Keras-Applications (1.0.8)
Keras-Preprocessing (1.1.2)
tensorflow (1.14.0)
tensorflow-estimator (1.14.0)

Yes, this goes away with
Keras                  2.4.2
Keras-Applications     1.0.8
Keras-Preprocessing    1.1.2
tensorflow             2.2.0
tensorflow-estimator   2.2.0

(As far as I'm concerned you can close the issue except there is another issue that arises with these versions of keras and tensorflow.)

Not sure why this is related to the keras versions but in general when you set sparse_inputs=True you should give the model a scipy sparse matrix, not a numpy array as input. But yeah, I'll have a look and at least improve the documentation.

Ah, I was wondering about something like that.  I was thrown of by the effects of the package versions.


/etc/apt/apt.conf.d does not exist.

With the latest sources I get
ERROR: cookbook_file[/etc/apt/apt.conf.d/15update-stamp] (apt::default line 53) had an error: Chef::Exceptions::EnclosingDirectoryDoesNotExist: Parent directory /etc/apt/apt.conf.d does not exist.
It used to work until a week ago or so

Hi,
please can you confirm:
Which distribution and release?
that you're running from a git checkout of the cookbook?
the output of dpkg -l apt*

and: dpkg -S /etc/apt/apt.conf.d/

I am running on ec2, amazon linux Amazon Linux 2014.09
I do not have dpkg installed
this is from chef
Fetching 'apt' from https://github.com/opscode-cookbooks/apt.git (at master)
Using apt (2.6.1) from https://github.com/opscode-cookbooks/apt.git (at master)
Vendoring apt (2.6.1) to /opt/aws/opsworks/current/berkshelf-cookbooks/apt
[2015-03-23T14:42:34+00:00] INFO: Processing file[/var/lib/apt/periodic/update-success-stamp] action nothing (apt::default line 30)
[2015-03-23T14:42:34+00:00] INFO: Processing cookbook_file[/etc/apt/apt.conf.d/15update-stamp] action create (apt::default line 53)
================================================================================
Error executing action create on resource 'cookbook_file[/etc/apt/apt.conf.d/15update-stamp]'
Chef::Exceptions::EnclosingDirectoryDoesNotExist
Parent directory /etc/apt/apt.conf.d does not exist.
Resource Declaration:
In /var/lib/aws/opsworks/cache.stage2/cookbooks/apt/recipes/default.rb
53: cookbook_file '/etc/apt/apt.conf.d/15update-stamp' do
54:   source '15update-stamp'
55: end
56:
Compiled Resource:
Declared in /var/lib/aws/opsworks/cache.stage2/cookbooks/apt/recipes/default.rb:53:in `from_file'
cookbook_file("/etc/apt/apt.conf.d/15update-stamp") do
provider Chef::Provider::CookbookFile
action "create"
retries 0
retry_delay 2
path "/etc/apt/apt.conf.d/15update-stamp"
backup 5
atomic_update true
source "15update-stamp"
cookbook_name "apt"
recipe_name "default"
end

OK. Well, the fix is easy. But can I ask what you're using the apt cookbook for on amazon linux?

deploying elastic search
The example we started from had apt in the recipes list for setup

Well, you shouldn't see this error any more. But I can't imagine that including the apt cookbook on amazon linux is doing much besides making your converges more fragile and slower.

here is the article, it's on AWS Blog
http://blogs.aws.amazon.com/application-management/post/Tx3MEVKS0A4G7R5/Deploying-Elasticsearch-with-OpsWorks

Thanks. That blog seems to be a little incorrect, as they're using a cookbook that's not intended for their distribution of linux. If they were using debian or ubuntu, they'd want to have the apt cookbook. But since the blog post is using a red hat derived distribution, like centos or amazon linux, they ought to be using  the yum cookbook.
I'd recommend you remove the apt cookbook from your deployment and test it.

Hi @thommay ,
Im not sure if it isnt my mistake, but I think there is still some issue when running apt on amazon( I know it doesn`t make any sense to run it, but some cookbook is doing it.
I have APT version 2.7.0 and:
Recipe: apt::default

file[/var/lib/apt/periodic/update-success-stamp] action nothing (skipped due to action :nothing)

directory[/etc/apt/apt.conf.d] action create (up to date)

cookbook_file[/etc/apt/apt.conf.d/15update-stamp] action create
================================================================================
Error executing action create on resource 'cookbook_file[/etc/apt/apt.conf.d/15update-stamp]'
RuntimeError
File files/default/15update-stamp does not exist for cookbook apt
Resource Declaration:
In /home/ec2-user/chef/cookbooks/apt-2.7.0/recipes/default.rb
57: cookbook_file '/etc/apt/apt.conf.d/15update-stamp' do
58:   source '15update-stamp'
59: end
60:
Compiled Resource:
Declared in /home/ec2-user/chef/cookbooks/apt-2.7.0/recipes/default.rb:57:in `from_file'

well, I just checked that the file exists in the download from supermarket. If you look in /home/ec2-user/chef/cookbooks/apt-2.7.0/files/default what do you see? (I'd strongly recommend you fix your cookbook though.)

15update-stamp is there actually, I also tried copiing it into etc/apt/apt.conf.d/  directly, but it didnt help either. Also it isnt in my cookbook, it is in dropwizard, and mongodb, but yeah I`ll probably remove it from those dependencies.

I removed apt dependency, and got same error for dropwizard cookbook, so I guess it's probably a chef-solo, or my setup issue... :/

Ah, so it was my setup :) , cookbook has to be named "apt" not "apt-2.7.3",
Sorry...

I seem to face this issue with apt version 2.7.0 installed via berkshelf. Ubuntu 12.04LTS
Chef Development Kit Version: 0.10.0
chef-client version: 12.5.1
berks version: 4.0.1
kitchen version: 1.4.2

Recipe: apt::default
  * file[/var/lib/apt/periodic/update-success-stamp] action nothing (skipped due to action :nothing)
  * directory[/etc/apt/apt.conf.d] action create (up to date)
  * cookbook_file[/etc/apt/apt.conf.d/15update-stamp] action create

    ================================================================================
    Error executing action `create` on resource 'cookbook_file[/etc/apt/apt.conf.d/15update-stamp]'
    ================================================================================

    RuntimeError
    ------------
    File files/default/15update-stamp does not exist for cookbook apt

    Resource Declaration:
    ---------------------
    # In /opt/tm-infrastructure-chef/cookbooks/apt-2.7.0/recipes/default.rb

     57: cookbook_file '/etc/apt/apt.conf.d/15update-stamp' do
     58:   source '15update-stamp'
     59: end
     60:

    Compiled Resource:
    ------------------
    # Declared in /opt/tm-infrastructure-chef/cookbooks/apt-2.7.0/recipes/default.rb:57:in `from_file'

    cookbook_file("/etc/apt/apt.conf.d/15update-stamp") do
      provider Chef::Provider::CookbookFile
      action [:create]
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      path "/etc/apt/apt.conf.d/15update-stamp"
      backup 5
      atomic_update true
      source "15update-stamp"
      declared_type :cookbook_file
      cookbook_name :apt
      recipe_name "default"
    end


Peek definition

Could not get the Peek definition feature to work. Says "Invalid object name 'dbo.Customers'". Yet it does exist and can be edited and used in a SELECT statement.

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

ID: a6d68e91-6a5b-7f3b-0e72-1b88691b0c72
Version Independent ID: 6f4e07e3-eb0b-cd4c-cc82-399e4a2ad715
Content: Use the Transact-SQL editor to create database objects - Azure Data Studio
Content Source: docs/azure-data-studio/tutorial-sql-editor.md
Product: azure-data-studio
Technology: azure-data-studio
GitHub Login: @markingmyname
Microsoft Alias: maghan

@jbrown08322 -- thank you for your feedback.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

cc @markingmyname for awareness
I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.


Why I set print range does not work?

This is my print adapter class, no matter what I set the range of print, it will all print to the last page of pdf file, for example I have a file with 6 pages, I set page range as 2,4-5 then it will print 2,4-6. I think it matters with parameter pages in the onWrite, I try to pass in into onWriteFinished, but it will print all 6 pages no matter what you set. And I try the way like Android developer website, I always meet the error
java.lang.RuntimeException: can not open a halmode pdf file.  Any one can give some idea or some sample can work  well? Thank you!
`  class PdfFragmentPrintDocumentAdapter extends PrintDocumentAdapter {
    /**
     * Called each time a user changes a print setting which impacts the output.
     *
     * @param oldAttributes      The old print attributes.
     * @param newAttributes      The new print attributes.
     * @param cancellationSignal Signal for observing cancel layout requests.
     * @param callback           Callback to inform the system for the layout result.
     * @param extras             Additional information about how to layout the content.
     */
    @Override
    public void onLayout(PrintAttributes oldAttributes, PrintAttributes newAttributes, CancellationSignal cancellationSignal, LayoutResultCallback callback, Bundle extras) {
        Log.i(sClassTag, "onLayout");

        addCancelListenerInOnLayout(cancellationSignal, callback);
        //TODO The second parameter should be false if the print request is the same as the previous one.
        callback.onLayoutFinished(mPrintDocumentInformation, true);
    }

    /**
     * Add a cancel listener on cancellationSignal in the parameter of onLayout.
     *
     * @param cancellationSignal Signal for observing cancel layout requests.
     * @param callback           Callback to inform the system for the layout result.
     */
    private void addCancelListenerInOnLayout(CancellationSignal cancellationSignal, final LayoutResultCallback callback) {
        Log.i(sClassTag, "addCancelListenerInOnLayout");

        cancellationSignal.setOnCancelListener(new CancellationSignal.OnCancelListener() {
            @Override
            public void onCancel() {
                Log.i(sClassTag, "CancellationSignal works inside onLayout");
                callback.onLayoutCancelled();
            }
        });
    }

    /**
     * Called to render printed pages into a file to be printed. This method may be called one or more times after each onLayout() call.
     *
     * @param pages              The pages whose content to print - non-overlapping in ascending order.
     * @param destination        The destination file descriptor to which to write.
     * @param cancellationSignal Signal for observing cancel writing requests.
     * @param callback           Callback to inform the system for the write result.
     */
    @Override
    public void onWrite(PageRange[] pages, ParcelFileDescriptor destination, CancellationSignal cancellationSignal, WriteResultCallback callback) {
        Log.i(sClassTag, "onWrite");

        implementOnWriteInDedicatedThread(pages, destination, cancellationSignal, callback);
    }

    /**
     * Run onWrite in a dedicated thread in case the printed content is large, the parameters need to be declared as final for it is accessed from inner class.
     *
     * @param pages              The pages whose content to print - non-overlapping in ascending order.
     * @param destination        The destination file descriptor to which to write.
     * @param cancellationSignal Signal for observing cancel writing requests.
     * @param callback           Callback to inform the system for the write result.
     */
    private void implementOnWriteInDedicatedThread(final PageRange[] pages, final ParcelFileDescriptor destination, final CancellationSignal cancellationSignal, final WriteResultCallback callback) {
        Log.i(sClassTag, "implementOnWriteInDedicatedThread");

        new Runnable() {
            @Override
            public void run() {
                InputStream input = null;
                OutputStream output = null;

                try {
                    input = new FileInputStream(mPdfDocumentName);
                    output = new FileOutputStream(destination.getFileDescriptor());
                    addCancelListenerInOnWrite(cancellationSignal, callback, input, output);
                    byte[] buf = new byte[1024];
                    int bytesRead;
                    while ((bytesRead = input.read(buf)) > 0) {
                        output.write(buf, 0, bytesRead);
                    }
                    callback.onWriteFinished(new PageRange[]{PageRange.ALL_PAGES});
                } catch (FileNotFoundException e) {
                    Log.e(sClassTag, "FileNotFoundException in PDFFragmentPrint", PdfFragmentErrorCode.MSPDF_FR_FILE_PRINT_FILE_NOT_FOUND);
                    callback.onWriteFailed("Print service failed because file " + getFileNameFromPath(mPdfDocumentName) + " was not found");
                } catch (IOException e) {
                    Log.e(sClassTag, "IOException in PDFFragmentPrint", PdfFragmentErrorCode.MSPDF_FR_FILE_PRINT_IO_EXCEPTION);
                    callback.onWriteFailed("Print service failed because " + e.toString());
                } finally {
                    closeInputInOnWrite(input);
                    closeOutputInOnWrite(output);
                }

            }
        }.run();
    }

    /**
     * Add a cancel listener on cancellationSignal in the parameter of onWrite.
     *
     * @param cancellationSignal Signal for observing cancel writing requests.
     * @param callback           Callback to inform the system for the write result.
     * @param input              If input is open and cancellation happens, we need to close the input.
     * @param output             If output is open and cancellation happens, we need to close the output.
     */
    private void addCancelListenerInOnWrite(CancellationSignal cancellationSignal, final WriteResultCallback callback, final InputStream input, final OutputStream output) {
        Log.i(sClassTag, "addCancelListenerInOnWrite");

        cancellationSignal.setOnCancelListener(new CancellationSignal.OnCancelListener() {
            @Override
            public void onCancel() {
                Log.i(sClassTag, "CancellationSignal works inside onWrite");
                closeInputInOnWrite(input);
                closeOutputInOnWrite(output);
                callback.onWriteCancelled();
            }
        });
    }

    /**
     * Close InputStream in onWrite function.
     *
     * @param input If input is open, we need to close it.
     */
    private void closeInputInOnWrite(InputStream input) {
        Log.i(sClassTag, "closeFile");

        try {
            if (input != null) {
                input.close();
            }
        } catch (IOException e) {
            Log.e(sClassTag, "IOException inside onCancel", PdfFragmentErrorCode.MSPDF_FR_FILE_PRINT_IO_EXCEPTION);
        }
    }

    /**
     * Close OutputStream in onWrite function.
     *
     * @param output If output is open, we need to close it.
     */
    private void closeOutputInOnWrite(OutputStream output) {
        Log.i(sClassTag, "closeFile");

        try {
            if (output != null) {
                output.close();
            }
        } catch (IOException e) {
            Log.e(sClassTag, "IOException inside onCancel", PdfFragmentErrorCode.MSPDF_FR_FILE_PRINT_IO_EXCEPTION);
        }
    }
}`

Prerequisites

[ ] Can you reproduce the problem with Debug -> Reload Without Extensions?
[ ] Did you perform a cursory search to see if your bug or enhancement is already reported?
[ ] Did you read the Troubleshooting guide?

For more information on how to write a good bug report read here
For more information on how to contribute read here
Description
[Description of the bug or feature]
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Versions
Please include the OS and what version of the OS you're running.
Please include the version of Brackets. You can find it under Help -> About Brackets (Windows and Linux) or Brackets -> About Brackets (macOS)

This doesn't seem to be relevant to USB


Testnet throwing error

Hi folks, getting this error

when replacing
      rpc: "https://rpc-osmosis.keplr.app/", // test: "http://rpc-test.osmosis.zone/"
      rest: "https://lcd-osmosis.keplr.app/", // test: "http://lcd-test.osmosis.zone/"
      chainId: "osmosis-1", // test: "osmo-test-4"

with
      rpc: "http://rpc-test.osmosis.zone/", // test: "http://rpc-test.osmosis.zone/"
      rest: "http://lcd-test.osmosis.zone/", // test: "http://lcd-test.osmosis.zone/"
      chainId: "osmo-test-4", // test: "osmo-test-4"

setting this as a temp fix
  @computed
  get osmosis(): ChainInfoWithExplorer {
    if (this.hasChain("osmo-test-4")) {
      return this.getChain("osmo-test-4").raw;
    }

    throw new Error("osmosis chain not set");
  }


[MB-14421] Service member can delete uploaded orders

Jira ticket for this change
Summary
Converting the DeleteUploads method to a soft delete to allow service members to delete their orders.
Setup to Run Your Code

💻 You will need to use 2 separate terminals to test this locally.
Terminal 1
Start the UI locally.
make client_run

Terminal 2
Start the Go server locally.
make server_run

Additional steps

Access MilMove as a service member
Go through the process of completing a move.
When you get to the upload orders part, make sure that you can delete the orders. (make sure that you upload new orders to proceed)
After you sign and submit the move try to go back and delete your orders by clicking on the "Review your request" button
a. Make sure to upload new orders before signing out, see this bug ticket for more information
Upload Amended orders by clicking on the "Upload documents"
a. Please note that there is a bug related to this when you try to save the amended orders. See this JIRA ticket for more information

Verification Steps for Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

Frontend

[ ] User facing changes have been reviewed by design.
[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] There are no new console errors in the browser devtools
[ ] There are no new console errors in the test output
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.

Backend

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

Screenshots

Messages

:book:
:link: MB-14421

  Generated by :no_entry_sign: dangerJS against 1cc027964a5f95e3b98d58b790b36bdafaacd06d

I have deployed to EXP and verified that this is indeed allowing service members to delete their orders and amended orders.


Feat: CI/CD Pipelines: Automating Software Delivery

Describe the feature
CI/CD Pipelines: Automating Software Delivery
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[X] I want to work on this issue

@arunimaChintu I have been observing for some time. You are raising issues again and again. That's not a good way to work on open source. Why don't you raise and describe everything in a single issue?


Doc fix for black screen in tutorial

Working through the tutorial I experienced a black screen when the game started.
After an hour or two adding debug statements in the Escoria core code I worked
out that Godot had auto-vivified a main_scene and set it as the Project Settings
game start scene.
This doc is targeted at new devs who could encounter the same issue.

Thank you for this contribution, but I believe this is not correct. Setting the Godot main_scene setting to a room is the same as running the scene directly from the editor (using F6 key).
The right value for this setting is set by Escoria upon plugin enabling and should always be res://addons/escoria-core/game/main_scene.tscn.
Your black screen issue is related to transitions, not Escoria settings. The bug has been spotted thanks to your report https://github.com/godot-escoria/escoria-issues/issues/95


Added french translation for readme

This pull request aims to enhance the accessibility and inclusivity of our project by providing a French translation of the README file. By translating the README into French, we are opening up our project to a wider audience, enabling French-speaking users to better understand the purpose, features, and usage of our software.

Summary by CodeRabbit

New Features

Added a French translation of the README, enhancing accessibility for French-speaking users.
Introduced a comprehensive guide in French about Digitomize, detailing its features like coding contests and developer portfolios within the Microsoft for Startups Founders Hub.

Documentation

Updated the main README with a link to the French translation.

Let's stick with english only for now


YARN-11053. AuxService should not use class name as default system classes

Description of PR
[YARN-11053] AuxService should not use class name as default system classes
Currently, if yarn.nodemanager.aux-services.spark_shuffle.system-classes is absent, yarn will treat yarn.nodemanager.aux-services.spark_shuffle.class as the system classes, and use system ClassLoader rather than AuxServiceClassLoader to load aux service entry class, then cause ClassNotFound exception.
How was this patch tested?
Existing UTs.
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 58s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
37m 45s

trunk passed

+1 :green_heart:
compile
1m 51s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 36s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
0m 35s

trunk passed

+1 :green_heart:
mvnsite
0m 50s

trunk passed

+1 :green_heart:
javadoc
0m 45s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 38s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 41s

trunk passed

+1 :green_heart:
shadedclient
25m  6s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 45s

the patch passed

+1 :green_heart:
compile
1m 40s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 40s

the patch passed

+1 :green_heart:
compile
1m 29s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m 29s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 27s

the patch passed

+1 :green_heart:
mvnsite
0m 43s

the patch passed

+1 :green_heart:
javadoc
0m 36s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
0m 31s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
1m 46s

the patch passed

+1 :green_heart:
shadedclient
24m 28s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
23m 54s

hadoop-yarn-server-nodemanager in the patch passed.

+1 :green_heart:
asflicense
0m 33s

The patch does not generate ASF License warnings.

128m 41s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3816/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3816

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 30e725a7515d 4.15.0-163-generic #171-Ubuntu SMP Fri Nov 5 11:55:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 24f91027d077db2340affa789977d65572f999e6

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3816/1/testReport/

Max. process+thread count
563 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3816/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@aajisaka would you please take a look?

Thank you @pan3793 for your contribution!


Be able to aggregate by Task Estimates and Actuals

Hey Kyle, would be great if we could have task estimates and actuals in the aggregation type box when we choose task as the type.  Thanks! Michiko

Great idea!  This shouldn't be too much to implement I don't think...

@michiQ, when you get a chance would you test this and see if it works for you?
https://github.com/RallyCommunity/CustomChart/blob/d218c5acb2bf9383d7fc88b4643bfd6d5c0fea6d/deploy/App-uncompressed.html
If you're satisfied with that I'll merge the PR...

Hi Kyle!  Works great!  The only thing is that the filter doesn't work when I do a task chart, the filter isn't working.

Hmm- I'll investigate.  I bet that's been broken forever and just nobody has tried to use it with tasks yet.  It's fun trying to make a generic app that works with every possible combination of things in our domain model!  Thanks for looking!

 I tested this and everything seems to work better for me.  Give it a go again and let me know?
https://github.com/RallyCommunity/CustomChart/blob/d43757ecd123f4b8cd43b8626ebeb0c9fe71eddc/deploy/App-uncompressed.html

Thank you Kyle!! I'm literally training users on this app. Going so fast right now I can't even write cimm bye correctly!!  Thank you so much and I'll give it a whirl!! When is this moving to the app catalog!?

lol comments (case in point)

Hopefully in q3?  We're going to try to ship my last hackathon and add a whole community section to the catalog- wsjf, pi copy, release tracking board, etc.  All the most used apps on github...

fixed in v1.0.2


store: add ready slow log.

@ngaut @BusyJay @disksing

LGTM.

Coverage decreased (-19.7%) to 62.639% when pulling c8e19a509c1bfbf9eb7e910ab973d33c405d5c94 on siddontang/slow-log into 7ce3cc221865eaad6d5059139fd1a3aa70cba978 on master.

LGTM

Coverage decreased (-19.7%) to 62.599% when pulling 9b1ee0b63ff4e2853e2c684fd8be597b03e453ad on siddontang/slow-log into 7ce3cc221865eaad6d5059139fd1a3aa70cba978 on master.


ClassLoaderHandlers are not found when gradle + ant is used together

We have a gradle build which is using old ant tasks from our old build system (gradle has support for ant).
The next code snippet is problematic. No handler is found.
private static ServiceLoader<ClassLoaderHandler> classLoaderHandlerLoader = ServiceLoader
            .load(ClassLoaderHandler.class);

The root cause seems to be different class loader. ServiceLoader uses Thread.currentThread().getContextClassLoader()
It would be very useful to pass classloader as an parameter of FastClasspathScanner or get the classloader from caller.

Thanks for the report, interesting. ServiceLoader is supposed to be supported by all classloaders, as far as I know -- it is a Java platform feature. The fully-qualified classnames of the handlers are listed here:
https://github.com/lukehutch/fast-classpath-scanner/blob/master/src/main/resources/META-INF/services/io.github.lukehutch.fastclasspathscanner.scanner.classloaderhandler.ClassLoaderHandler
Somehow that META-INF directory is not being properly located in your setup. I have no knowledge of gradle, and very little knowledge of ant. Do you know if ServiceLoader is even supposed to work with gradle?
I don't know how to duplicate this, is there any chance you could please produce a minimal testcase, with instructions for building/running it?

please see https://github.com/vaclavnemec/file-classpath-scanner-gradle-ant-issue
its autogenerated gradle project with some changes is build.gradle and with ant task MyTask.groovy which creates FastClasspathScanner and writes some logs. I hope there are all information in readme

Thanks for the minimal test case, very helpful, I can reproduce this.
The two classloaders I can see are the following.
sun.misc.Launcher$AppClassLoader
org.gradle.internal.classloader.MutableURLClassLoader

I need to do more investigation to figure out how to get classpath elements out of these classloaders.
I also need to figure out why ServiceLoaders don't work in Gradle.

Please see ServiceLoader source
public static <S> ServiceLoader<S> load(Class<S> service) {
        ClassLoader cl = Thread.currentThread().getContextClassLoader();
        return ServiceLoader.load(service, cl);
    }

its using Thread.currentThread().getContextClassLoader() - the returned class loader probably does not see META-INF/services/io.github.........ClassLoaderHandler

Hi, I just pushed some fixes that should solve this problem. Your code had the correct idea for the fix (specify a specific class' classloader as the second parameter to ServiceLoader), thanks for the suggestion as to how to fix this, I don't know if I would have figured this out! I would be grateful if you could please test the changes.
Note that since 1.9.18, I renamed some other packages, so for your test code, you need to rename the imports from ".scanner." to ".classpath."  Also, one line of your test code depends on a field that no longer exists in this version, you can just delete that line.  Or you could just try this directly with the code you were trying to get working, hopefully it fixes it. (Your test case works for me.)

Reopening until confirmed.

Thank you very much it is working now.

Great, thanks so much again for the report, the test case, the solution, and the followup testing! Will push out a new release in a couple of days once I finish some other changes.

Fixed in 1.9.19.


not able to view pdf

Cant able to view the pdf of   === > [awesome-quality-assurance-roadmap]

you mean "Test_Plan_Sample.pdf"?


Server-Side Occurrence Names

Addressing the following issue: https://github.com/grafeas/grafeas/issues/157
Now, the server will automatically assign an name to new occurrences, and reject any that try to set an explicit one
I made use of a UUID library to generate the names, so they will look something like "projects/best-vuln-scanner/occurrences/fadad2f2-6899-446d-9428-8876c75c7962"

It looks like some tests are failing because it assumes it can set and retrieve specific occurrence names, so I'll have to fix the tests.

Also, right now I'm rejecting any occurrences that specify a name, so the user can get some feedback. This also breaks some tests. Let me know if you'd prefer it if the server just changed the name silently

It might be useful to have the name have some user-friendly part, e.g., the project name as a prefix, and/or allow some customizable prefix or suffix.

@DanSanche server should silently ignore any output only fields users set:
https://cloud.google.com/apis/design/design_patterns#output_fields
@mikecico that's an interesting proposal - can you outline your use case for this?

@vtsao I've addressed your comments, and the tests are now passing

@vtsao we have a use case where we might be storing occurrences from multiple scanners within the same project (the other option of course is to have separate projects for each one, but we're trying to consolidate scanning steps within a pipeline job/step).   Since prior to this the naming field was set by the client, we were thinking of creating a shallow hierarchy through naming conventions, which would also make the occurrences more readable, and allow us to be able to categorize occurrences within the project that we can create searches on, etc.
I think perhaps allowing clients influence on the naming field might not be necessary, and its probably better to leave it under the control of Grafeas if it is intended to be a generated ID.  But perhaps if there were something akin to an optional "display-name" field, or something under client control, that might be useful.  Unless there's something we can already leverage for this purpose?

To second @mikecico 's comment above, it will be useful to be able to add labels/tags to occurrences so they can be filtered/queried effectively.

@mikecico and @raj-inamdar If you're storing occurrences from two scanners, the correct thing to do here would be to use separate not projects for each scanner, and then you could differentiate the occurrences by note name. Is there a reason that wouldn't work?

@R2wenD2 In general, we expect to create separate notes projects for each scanner and use the note-name in the occurrences to differentiate, just as you suggest.
However, we think that there may be situations where multiple scanners may have some overlap and may identify the same underlying condition. Instead of duplicating notes in respective projects for such scanners, we may want to create a "shared" notes project. In that case, the note-name in occurrences may not be sufficient to differentiate across different scanners.
Besides, we think that a user-costomizable labels/tags field may be useful in general to add flexibility for filtering, querying, etc.

@mikecico @raj-inamdar thanks for the use case description. Can either of you open an issue so we can track/discuss it there? Thanks.

@vtsao Entered https://github.com/grafeas/grafeas/issues/163 to track our request. Thanks.

I have a comment, hope it is not too late. In general it might be useful to have a human readable name. We can keep the original name field which is provided by the user in the CreateOccurrenceRequest and introduce a new ID field which is generated by the Server and returned to user after a successful create. It will keep the API same but existing queries will break, we can address it with a new method to ListOccurrencesByName.

@raj-inamdar thanks. @sandeeps2 can you add your comment on #163.

@vtsao While a general purpose labeling facility will be useful, it is good to have Name as a first class field which can be indexed and easily searched for an Occurrence. My comment was more for the in-flight change for this Issue to retain the Name field of the Occurrence as a user-supplied value and define a new field for the generated ID. I will add my related thoughts on #163 as well.
Thanks.

Is this ready to be merged now Dan?

Yes, I believe it should be. It looks like I don't have merge permissions for the repository


Swappable backend.

This is a work in progress PR towards addressing https://github.com/beijbom/coralnet/issues/264.
@StephenChan : I took a look today and I really like the general idea. I didn't get to actually work on it yet.

@StephenChan : closing this. I cherry-picked your work into https://github.com/beijbom/coralnet/pull/324.


CR-5747

thanks
On Tue, Jul 27, 2021 at 12:52 PM Noam Gal @.***> wrote:

@.**** commented on this pull request.
In go.mod
https://github.com/codefresh-io/cli-v2/pull/29#discussion_r677297176:

@@ -30,6 +30,7 @@ require (

replace (
github.com/argoproj-labs/applicationset => github.com/argoproj-labs/applicationset v0.0.0-20210614145856-2c62537a8e5a
github.com/argoproj/argo-events => github.com/argoproj/argo-events v0.17.1-0.20210615165534-d403c441bc1d

github.com/codefresh-io/go-sdk => /Users/elad-codefresh/work/go-sdk

👆🏻
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/codefresh-io/cli-v2/pull/29#pullrequestreview-715715290,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATUAXBTSYBHILRBERS4TCIDTZZ6WDANCNFSM5BBYNNSQ
.

Codecov Report

Merging #29 (61f5ef9) into main (0817f17) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #29   +/-   ##
=======================================
  Coverage   25.13%   25.13%
=======================================
  Files           1        1
  Lines         187      187
=======================================
  Hits           47       47
  Misses        134      134
  Partials        6        6

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0817f17...61f5ef9. Read the comment docs.


Stuck on Compiling /docs/[[...slug]]

To Reproduce

run bun install; bun run dev
click the link to /docs
observe the log, stuck on Compiling /docs/[[...slug]]

Current vs. Expected behavior
Current

Expected
The /docs is compiled
Provide environment information
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.0.0: Mon Aug 12 20:51:54 PDT 2024; root:xnu-11215.1.10~2/RELEASE_ARM64_T6000
  Available memory (MB): 16384
  Available CPU cores: 8
Binaries:
  Node: 22.5.1
  npm: 10.8.2
  Yarn: 1.22.22
  pnpm: N/A
Relevant Packages:
  next: 14.2.11 // Latest available version is detected (14.2.11).
  eslint-config-next: N/A
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.6.2
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)
Not sure
Additional context
That happened after I updated the bun version to 1.1.27  and removed "postinstall": "fumadocs-mdx" from packages.json because that gets stuck on fumadocs-mdx if I add postinstall and run bun install

Need to remove node_modules folder


When resizing an X11 window wait for the WM to process our request

On X11 when we send an XResizeWindow request to the X server it is happy
to say it is done when the request has been handed over to the window
manager. The window manager itself may however take some time to
actually do the resize. Godot expects that a resize request is
immediate. To work around this issue we could implement the whole
_NET_WM_SYNC_REQUEST protocol. However this protocol does not fit very
well with the way we currently process X events and would when
implemented in the current framework still cause a 1 frame delay between
a resize request and the actual resize happening.
This fixes #21720

Thanks!

Cherry-picked for 3.0.7.


coprocessor/split_check: split region by rows

What have you changed? (mandatory)
This PR support auto split region by the number of rows in the region. It's in order to control the number of rows in each region since this value may inference the speed of scan operation.
What are the type of the changes? (mandatory)

New feature (non-breaking change which adds functionality)

How has this PR been tested? (mandatory)

[x] unit tests
[x] integration tests

Does this PR affect documentation (docs/docs-cn) update? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
There is a configuration and metrics change:

[x] config change PR
[x] metrics change PR

Refer to a related PR or issue link (optional)
https://github.com/pingcap/pd/pull/1104
https://github.com/pingcap/tidb-ansible/pull/423
@BusyJay @overvenus PTAL

friendly ping @huachaohuang @overvenus

Have you done any tests for this PR? Does it solve the problem we encountered about index region?

yes @huachaohuang

Yes @huachaohuang
test environment

1 tikv/1tidb/1pd on one machine
one table with 20000000 records
table schema

show create table sbtest1\G;
*************************** 1. row ***************************
       Table: sbtest1
Create Table: CREATE TABLE `sbtest1` (
  `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,
  `k` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
  `c` varchar(120) NOT NULL DEFAULT '',
  `pad` varchar(60) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  KEY `k_1` (`k`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin AUTO_INCREMENT=20010001

tikv-master
TiKV
Release Version:   2.1.0-alpha.1
Git Commit Hash:   fe01bf9ba732e780639be01b8e346ed7ba1990d6
Git Commit Branch: master
UTC Build Time:    2018-06-27 11:24:21
Rust Version:      1.28.0-nightly (b907d9665 2018-06-13)

tikv-split-rows
TiKV
Release Version:   2.1.0-alpha.1
Git Commit Hash:   32f258f3e0fd544e644e8d39556b569f2a6f9d29
Git Commit Branch: raftstore/split_region_by_rows
UTC Build Time:    2018-06-27 12:47:09
Rust Version:      1.28.0-nightly (b907d9665 2018-06-13)

tidb
Release Version: v2.0.0-rc.4-357-g401577b Git Commit Hash: 401577b8dcaa035b433fd5f886e794f22c22a226 Git Branch: master UTC Build Time: 2018-06-26 10:01:43 GoVersion: go version go1.10.1 linux/amd64 Race Enabled: false TiKV Min Version: 2.1.0-alpha.1-ff3dd160846b7d1aed9079c389fc188f7f5ea13e

pd
bin/pd-server -V
Release Version: v2.1.0-alpha-42-g7368c77
Git Commit Hash: 7368c77eea9e04288a18abc26b14118b43a40849
Git Branch: master
UTC Build Time:  2018-06-26 10:12:33

Test SQL
table scan
mysql> explain select count(*) from sbtest1 where id > 0\G;
*************************** 1. row ***************************
           id: TableScan_16
      parents: StreamAgg_9
     children:
         task: cop
operator info: table:sbtest1, range:(0,+inf], keep order:false
        count: 20000000.00
*************************** 2. row ***************************
           id: StreamAgg_9
      parents:
     children: TableScan_16
         task: cop
operator info: funcs:count(1)
        count: 1.00
*************************** 3. row ***************************
           id: TableReader_18
      parents: StreamAgg_17
     children:
         task: root
operator info: data:StreamAgg_9
        count: 1.00
*************************** 4. row ***************************
           id: StreamAgg_17
      parents:
     children: TableReader_18
         task: root
operator info: funcs:count(col_0)
        count: 1.00
4 rows in set (0.00 sec)

ERROR:
No query specified

index scan
explain select count(*) from sbtest1 where k > 0\G;
*************************** 1. row ***************************
           id: IndexScan_24
      parents: StreamAgg_9
     children:
         task: cop
operator info: table:sbtest1, index:k, range:(0,+inf], keep order:false
        count: 6666666.67
*************************** 2. row ***************************
           id: StreamAgg_9
      parents:
     children: IndexScan_24
         task: cop
operator info: funcs:count(1)
        count: 1.00
*************************** 3. row ***************************
           id: IndexReader_26
      parents: StreamAgg_25
     children:
         task: root
operator info: index:StreamAgg_9
        count: 1.00
*************************** 4. row ***************************
           id: StreamAgg_25
      parents:
     children: IndexReader_26
         task: root
operator info: funcs:count(col_0)
        count: 1.00
4 rows in set (0.00 sec)

master
region info

table data have 56 regions(357142 records each region)
index data have 13 regions(1538461 records each region)

Sysbench test
1 thread

branch
tablescan
indexscan

QPS
0.23
0.19

avg(ms)
4271.16
5316.91

min
4242.02
5092.14

max
4331.35
5627.02

approx 95%
4327.29
5556.07

control rows in each region
config
region-max-rows = 400000
region-split-rows = 360000

region info

table data have 57 regions(350877 records each region)
index data have 60 regions(333333 records each region)

Sysbench test
1 thread

branch
tablescan
indexscan

QPS
0.24
0.21

avg(ms)
4091.25
4791.84

min
4033.87
4677.41

max
4265.82
4934.60

approx 95%
4143.49
4907.01

friendly ping @huachaohuang @overvenus

But looks like indexscan is still slower than tablescan, may I ask why?

I think one of the reason is that tablescan just needs to decode the handle while indexscan needs to decode both the index id and value(Datum) @huachaohuang

friendly ping @huachaohuang @overvenus

/run-integration-tests

friendly ping @huachaohuang @overvenus @BusyJay


Running into NaN outputs of plan_recognition_net

I am using all default configs (input of static RGB image and Proprio data only). I started getting NaN values that crash the training in epoch 3 (and once in epoch 9). Restarting from the prior epoch never helps. I always have to start training from scratch. I tried debugging this but could not figure it out. Has anyone run into this issue before?
ValueError: Expected parameter loc (Tensor of shape (32, 256)) of distribution Normal(loc: torch.Size([32, 256]), scale: torch.Size([32, 256])) to satisfy the constraint Real(), but found invalid values:
File "/---/calvin/calvin_models/calvin_agent/models/mcil.py", line 278, in training_step
    kl, act_loss, mod_loss, pp_dist, pr_dist = self.lmp_train(
  File "/---/calvin/calvin_models/calvin_agent/models/mcil.py", line 134, in lmp_train
    pr_dist = self.plan_recognition(perceptual_emb)  # (batch, 256) each
  File "/---/calvin/calvin_models/calvin_agent/models/plan_encoders/plan_recognition_net.py", line 58, in __call__
    pr_dist = Independent(Normal(mean, std), 1)

hmm that's is weird, what batch size are you using? Are you using the same hyperparams and GPU settings?
We used Pytorch Lightnings DDP implementation to scale our training to 8x NVIDIA GPUs with 12GB memory each. Thus, as each GPU receives a batch of 64 sequences (32 language + 32 vision), the effective batch size is 512 for all our experiments. If you have a different batch size, you might need to tune your learning rate to stabilize your train.


Some maintainance tasks.

updates rubocop and make it happy

Coverage decreased (-0.1%) to 95.787% when pulling 1d67424bae608556ab259a539e428ff23bb9c947 on LeFnord:master into 13e80ba3af136981c755031591717e7005fdae92 on ruby-grape:master.

Coverage decreased (-0.1%) to 95.787% when pulling 1d67424bae608556ab259a539e428ff23bb9c947 on LeFnord:master into 13e80ba3af136981c755031591717e7005fdae92 on ruby-grape:master.

Coverage decreased (-0.1%) to 95.787% when pulling 1d67424bae608556ab259a539e428ff23bb9c947 on LeFnord:master into 13e80ba3af136981c755031591717e7005fdae92 on ruby-grape:master.


Unhandled exception

I suddenly experienced this, after a few successful calls:
ostack --instant
name: build  image: ./IncludeOS_example.img
Traceback (most recent call last):
  File "/home/ubuntu/includeos-tools/openstack_control/openstack_control.py", line 340, in <module>
    main()
  File "/home/ubuntu/includeos-tools/openstack_control/openstack_control.py", line 332, in main
    service_name = instant()
  File "/home/ubuntu/includeos-tools/openstack_control/openstack_control.py", line 249, in instant
    vm_delete(service_name)
  File "/home/ubuntu/includeos-tools/openstack_control/openstack_control.py", line 105, in vm_delete
    vm_status(name)['server'].delete()
  File "/usr/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 51, in delete
    return self.manager.delete(self)
  File "/usr/lib/python2.7/dist-packages/novaclient/v2/servers.py", line 1294, in delete
    return self._delete("/servers/%s" % base.getid(server))
  File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 354, in _delete
    resp, body = self.api.client.delete(url)
  File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 188, in delete
    return self.request(url, 'DELETE', **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 94, in request
    raise exceptions.from_response(resp, body, url, method)
novaclient.exceptions.NotFound: Instance e359082b-ecb2-45e0-bc5a-1ef90808d6bd could not be found. (HTTP 404) (Request-ID: req-843cbadb-242c-4670-964a-7da7f7794d17)

Looks like it's trying to delete an instance that doesn't exist?

It does look like it is trying to delete one that doesn't exist. That shouldn't cause an issue, as I'm catching that, but I'll fix it on thursday.


Build Error

I am compiling on Kali Linux:
x86_64-w64-mingw32-gcc -c spawn.x64.c -o spawn.x64.o
spawn.x64.c: In function ‘SpawnProcess’:
spawn.x64.c:24:5: error: unknown type name ‘STARTUPINFOEX’; did you mean ‘STARTUPINFO’?
24 |     STARTUPINFOEX sInfoEx = { sizeof(sInfoEx) };
|     ^~~~~~~~~~~~~
|     STARTUPINFO
spawn.x64.c:41:22: error: ‘PROCESS_CREATION_MITIGATION_POLICY_BLOCK_NON_MICROSOFT_BINARIES_ALWAYS_ON’ undeclared (first use in this function)
41 |     DWORD64 policy = PROCESS_CREATION_MITIGATION_POLICY_BLOCK_NON_MICROSOFT_BINARIES_ALWAYS_ON;
|                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
spawn.x64.c:41:22: note: each undeclared identifier is reported only once for each function it appears in
spawn.x64.c:64:59: error: ‘PROC_THREAD_ATTRIBUTE_PARENT_PROCESS’ undeclared (first use in this function); did you mean ‘PROC_THREAD_ATTRIBUTE_PROTECTION_LEVEL’?
64 |     KERNEL32$UpdateProcThreadAttribute(pAttributeList, 0, PROC_THREAD_ATTRIBUTE_PARENT_PROCESS, &hProc, sizeof(HANDLE), NULL, NULL);
|                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|                                                           PROC_THREAD_ATTRIBUTE_PROTECTION_LEVEL
spawn.x64.c:66:59: error: ‘PROC_THREAD_ATTRIBUTE_MITIGATION_POLICY’ undeclared (first use in this function); did you mean ‘PROC_THREAD_ATTRIBUTE_PROTECTION_LEVEL’?
66 |     KERNEL32$UpdateProcThreadAttribute(pAttributeList, 0, PROC_THREAD_ATTRIBUTE_MITIGATION_POLICY, &policy, sizeof(policy), NULL, NULL);
|                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|                                                           PROC_THREAD_ATTRIBUTE_PROTECTION_LEVEL
spawn.x64.c:67:12: error: request for member ‘lpAttributeList’ in something not a structure or union
67 |     sInfoEx.lpAttributeList = pAttributeList;

Will look into it. I have only tested compiling from macos atm.

Great catch! Strange that it compiles fine on macOS but doesn't include the headers on linux. I've manually defined them and tested them using Kali. Seems to be fixed now. Let me know if you experience the same. Again, great catch and thank you for the heads up!

Thanks mate


Redeploy data-m10.internationalbrainlab.org into kube-cluster

This issue has been moved to the ibl-gitops repository.


Added Media Type

Added application/vnd.apache.parquet as the media type, as discussed in #115
Like #212 I went with no 'justification' as to why we don't have a 'geo' type, but could add that in.
This is likely not the right organizational structure, but working to get the PR in, and then we can revisit where it goes.

CI is currently broken from https://github.com/opengeospatial/geoparquet/pull/214

CI has been fixed


Error in pyspider dashboard when listing project results

I keep getting an error if I try to list results. My guess that is related to either a recent commit or new python package.
I'm using ubuntu with mongodb
[E 150704 01:40:46 app:1423] Exception on /results [GET]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/local/lib/python2.7/dist-packages/pyspider/webui/result.py", line 29, in result
project=project, offset=offset, limit=limit, json=json
File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 128, in render_template
context, ctx.app)
File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 110, in _render
rv = template.render(context)
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 969, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 742, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/pyspider/webui/templates/result.html", line 33, in top-level template code
# set common_fields, results = result_formater(results)
File "/usr/local/lib/python2.7/dist-packages/pyspider/libs/result_dump.py", line 19, in result_formater
if isinstance(result['result'], dict):

MongoDB, I know why. Different from mysql, the fields in MongoDB doesn't exists if haven't been set. Therefore, it raised a KeyError.
I will fix this issue.


PHP Autocomplete

I don't really understand how it's working. VSCode does not suggest me any of my variables. Only globals as $_COOKIE and etc.
I was trying to type few letters of my variable name and press Ctrl+Space, and it's says "No suggestions".

@h2u are you using a php extension for VS Code?

No, i don't use any php extensions.

Seems I'm only getting autocomplete suggestions when I start typing a variable name without the leading $.

If i have variable like: $string = 'my string'; and on next line i start writing "$st" or "st" - there is no any suggestions like $string variable.

Huh. Debugged a little more, seems I need to not have a leading $ AND press the up arrow on my keyboard to get it show up as a possible selection. Either way, definitely bugged.

Thank you, @mattacosta for information.
But how can i trigger the completion provider? :)

Afaik the whole PHP Intellisense is only based of a list of global functions and superglobals. I already thought about writing a PHP extension for better Intellisense, that actually constructs an AST of the code and looks at the variables in the current scope etc., suggests methods for classes following PSR autoloading, but I don't have the time for it.

The same happens to me. VS Code 0.10.11 on OSX El Capitan.


Make macos scaling for Desktop and Fullscreen Modes consistent

Description
This PR aims at fixing the issue of no valid Fullscreen Mode being reported on MacOS, or buggy Fullscreen Modes bigger than the actual screen size getting returned.
Basically, before this PR getFullscreenModes was using the natural getDesktopMode size.
But when the actual fullscreen canvas was created, said getDesktopMode size was being scaled down depending on the screen's DPI. That same transformation was not being applied to the Fullscreen Modes. So in HiDPI mode in #3151 , you'd get Fullscreen Modes bigger than the canvas, meaning you'd end up with stuff being displayed outside the visible monitor.
This PR applies the same factor to both getDesktopMode and the available Fullscreen Modes from the beginning. So they're properly compared, and the actual amount of available pixels is reported to the library user.
The original problem (#2300 ) was the following: To account for the separate getDesktopMode scaling down, the desktop mode was getting scaled up during the initial acquisition. This was because the original code was using CGDisplayModeGetWidth and not CGDisplayModeGetPixelWidth, which means it was getting the scaled down size.
The problem is that that same code was also being applied to the Fullscreen Modes, for which CGDisplayModeGetWidth  already returned the properly scaled size. So you'd end up with giant invalid Fullscreen Modes, which would be bigger than the Desktop Mode.
#3151 switches to CGDisplayModeGetPixelWidth, which returns the sizes scaled by the same factor (1.0 from my tests) for both.
In synthesis, the original problem was the following:
For Desktop Mode: CGDisplayModeGetWidth = 0.5x -> *2 = 1.0 (then, later 1.0 *0.5 = 0.5)
For Fullscreen Modes: CGDisplayModeGetWidth = 1.0x -> *2 = 2.0... 2.0 > 1.0! Not valid!
This PR is related to https://github.com/SFML/SFML/pull/3151 and https://github.com/SFML/SFML/issues/2300
Should also be applied to the branch macos_fullscreen
Tasks

[X] Tested on macOS

How to test this PR?
Make a small program that you can set to fullscreen, with something written inside of it to make sure it's not displaying stuff outside the visible monitor. Make it print the available resolutions to the console as well, to make sure they're properly reported.
Test in both HiDPI mode and normal DPI mode.

I incorporated these changes into https://github.com/SFML/SFML/pull/3151 plus some minor cleanups.


Upgrade TS and related deps

I was looking into if upgrading TS would resolve https://github.com/atlassian/changesets/pull/402 without explicit return type annotation and, well, it didn't. I've upgraded a bunch of deps though, so it still might be worth merging

@mitchellhamilton any objections against this?

I was looking into if upgrading TS would resolve #402 without explicit return type annotation and, well, it didn't

See https://github.com/preconstruct/preconstruct/pull/293


Code cleanup

The change doesn't alter the behavior in anyway, but addresses two issues:

Removes getting a full range slice explicitly from Vec<T> which implements Deref.
Deduplicates --name argument specification.

Thanks, I merge :+1:


RP2350-E9 Erratum Workaround Support

Hi!
I can't find any information on whether rp235x-hal has any built-in workarounds for the 2V latching issue detailed in https://github.com/raspberrypi/pico-feedback/issues/401
Is this something that is needed in the HAL? Or is it irrelevant?
Thanks for reading!

Currently there's no such support in the HAL.
I don't think it's strictly necessary to have it in the HAL, as the user can implement whatever workaround is necessary for the given hardware design. And without knowing what's connected to the pin, the HAL can't automatically decide the best way to handle it.
I may change my mind if the C SDK implements some default workaround. According to https://github.com/raspberrypi/pico-sdk/issues/1914, that's still an open issue.
Or of course if someone comes up with an elegant way to handle this in the HAL.


Visual Studio Code Mac Crash v1.37.1

Issue Type: Bug
I am experiencing reoccurring crashes while editing markdown files in VS Code. It happens most frequently when I am switching taps in the editor. It's not possible to reproduce and happens unexpectedly. It has happened across the last several releases of VS Code. I thought it was a bug that would be fixed, but the issue remains unresolved. This issue occurs even with all extensions disabled.
VS Code version: Code 1.37.1 (f06011ac164ae4dc8e753a3fe7f9549844d15e35, 2019-08-15T16:16:34.800Z)
OS version: Darwin x64 18.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2200)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (1.53GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

markdown-table-prettify
dar
2.4.0

Does this reproduce in the latest VS Code insiders build?

I'm have the same issue, I've tried to reinstall it thinking it would work but its still happening.

I will give it a test. Since it's not something I can reproduce, I'll need to use the editor for a while to know one way or the other. It does still exist as an issue on v1.38, which crashed almost instantly on load.

Hi @mjbvz - Yes, it still happens in the VS Code - Insiders build. Today I got a beachball on my Mac when I went to install the markdownlint extension (no other extensions previously installed or running at the time).

When exactly did it crash? When you opened the extension's page in VS Code or when the extension itself was installed?

Hi @mjbvz - It crashed at the moment I clicked the green "Install" button under the recommended section of apps.

Can you also quickly try clicking on one of the extension to view its detail page. I want to understand if opening the extension's readme page causes the crash or if the install itself does

The readmes open no problem. It seems like sometimes it can be triggered from similar actions though, such as switching to a preview of a markdown file.

This sounds similar to #80535
Let me know if you still see it in the next insiders build (which should be coming out within the next day)


chore: Replace istanbul w/nyc (fixes vulns)

The Node 6 tests is failing but this should be fixed once #27 is merged (can do that first).


[WIP] initial draft of Rest Editor UI

initial draft UI layout for the Rest Editor without functionality ( might be useful for #756 )

Closing this PR for now, and will reopen once we get to this issue.


Is this a typo or something?

Hi team,
From the first graph, it says "P95th of the maximum of maximum value of CPU utilization is less than 3%.", shouldn't it be like "P95th of the maximum value of CPU utilization is less than 3%."?
Can anyone help to review? Thank you in advance!!

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

ID: b703202c-7c7d-7177-6496-d1c61dacf22b
Version Independent ID: f9ee0bcc-f74a-dbba-c9b9-f84bf7b800a7
Content: Reduce service costs using Azure Advisor - Azure Advisor
Content Source: articles/advisor/advisor-cost-recommendations.md
Service: advisor
GitHub Login: @saket-ms
Microsoft Alias: sagupt

@DavidChenLiang Thanks for bringing this to our attention. We will review and update the documentation as appropriate.


Include mimetype in output

This library is great! Thanks so much for providing it!
One small idea - it might be helpful to include the mimetype in the output. It's something all users will need to add in order to  use <picture> tag. While I can build a map between formats and mimetypes, it seems potentially useful to include here so that each user doesn't have to rebuild that map

Actually, thinking more about this, it's probably better that it live in the image component. If it's returned as output from imagetools it will have to be returned for every image, which might have a larger impact on page size


openapi-to-graphql fails when definitions contains enum

I get this error message:
OpenAPI-to-GraphQL creation event error:  str.split is not a function
When I run this command:
openapi-to-graphql v1-split.json --save split.graphql
Here are the contents of v1-split.json:
{
  "swagger": "2.0",
  "info": {
    "version": "v1",
    "title": "Test.API"
  },
  "host": "localhost:5234",
  "schemes": [
    "http"
  ],
  "paths": {
    "/api/v1/email/send": {
      "post": {
        "tags": [
          "Email"
        ],
        "summary": "Sends the given email via SendGrid",
        "description": "Sends the given email via SendGrid",
        "operationId": "Email_SendEmailAsync",
        "consumes": [
        ],
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "name": "emailData",
            "in": "body",
            "description": "",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SendEmailData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SendEmailResult"
            }
          }
        }
      }
    }
    },
  "definitions": {
    "SendEmailData": {
      "type": "object",
      "properties": {
        "EmailQueueId": {
          "format": "int32",
          "type": "integer"
        },
        "FromAddress": {
          "type": "string"
        },
        "FromName": {
          "type": "string"
        },
        "ReplyTo": {
          "type": "string"
        },
        "ToAddress": {
          "type": "string"
        },
        "Subject": {
          "type": "string"
        },
        "PlainTextContent": {
          "type": "string"
        },
        "HtmlContent": {
          "type": "string"
        }
      }
    },
    "SendEmailResult": {
      "type": "object",
      "properties": {
        "StatusCode": {
          "format": "int32",
          "enum": [
            100,
            101,
            200,
            201,
            202,
            203,
            204,
            205,
            206,
            300,
            300,
            301,
            301,
            302,
            302,
            303,
            303,
            304,
            305,
            306,
            307,
            307,
            400,
            401,
            402,
            403,
            404,
            405,
            406,
            407,
            408,
            409,
            410,
            411,
            412,
            413,
            414,
            415,
            416,
            417,
            426,
            500,
            501,
            502,
            503,
            504,
            505
          ],
          "type": "integer"
        },
        "ErrorJson": {
          "type": "string"
        }
      }
    }
    },
  "securityDefinitions": {
    "oauth2": {
      "type": "oauth2",
      "description": "OAuth2 Implicit Grant",
      "flow": "implicit",
      "authorizationUrl": "http://localhost:5897/core/connect/authorize",
      "tokenUrl": "http://localhost:5297/core/connect/token",
      "scopes": {
        "swagger": "Swagger UI"
      }
    }
  }
}

The operation succeeds when I remove the enum from the definition.  Let me know if you need any other info.

@folding As a first thought, GraphQL requires enum values to be of type string and OtG is not properly ensuring that the values are converted, if necessary.

@Alan-Cha, adding quotes around each enum did allow it to generate successfully.   Like so:
...
"SendEmailResult": {
      "type": "object",
      "properties": {
        "StatusCode": {
          "format": "int32",
          "enum": [
            "100",
            "101",
            "200",
            "201",
            "202",
...

@folding Thanks for checking! I will try to make the necessary changes sometime soon, although feel free to send us a PR if you want to take a shot at it yourself. In any case, thank you for filling this issue! Very helpful!

@Alan-Cha I'll poke at it a little this weekend and try to narrow down where to put a fix

@Alan-Cha I have a fix in my fork but it messed with a bunch of formatting in example_api.test.ts.  I didn't see the changes in until after the commit... the tests are all passing

After much squashing on my branch I have a clean pull request submitted.

@folding Oh wow! I did not expect such a fast turnaround time! I was going to take a look at the code base to give you some pointers on where to look but you already submitted a PR! Thank you so much!!!

Sorry for the delay! Fixed after accepting PR #218


Ignore hidden projects

Fixes https://github.com/invertase/dart_custom_lint/issues/271

 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.

Do we still need a test for this? Is there an existing test I can modify?

We always need tests :)
You can modify the one that was added in the previous attempt at fixing this issue: https://github.com/invertase/dart_custom_lint/commit/773b7ef69b0ddae77cbfc803364fdbe8bf4c6846

@rrousselGit I updated the test and double checked that it fails without the fix

I'll fix the CI tomorrow. We'll then see if this PR doesn't cause any regression

any updates on this matter?

Dang it, forgot.
master's CI is fixed. But it appears that this PR causes some tests to fail

@rrousselGit The test that's failing is checking if an exception is thrown when package_config.json is missing. The purpose of this PR is to not crash when that is the case. Should we remove that test?

Hum, I think we can remove it yes. It should be tested separately by your test update.
I wonder what that workspace_test.dart failure is about though.

Maybe it used to expect a project to be found that is missing the package file?

It looks like analysis_options.yaml on their own are no-longer detected.
The test name is a bit misleading as it has nothing to do with pubspecs afaik.

@rrousselGit The tests should pass now

Thanks!


feat: track memoization stats

Closes partially #44
Summary of Changes

track more stats: last access, computation time, last access time, memory usage
refactored memoization logic into a new class
updated to safe-ds library 0.19

I would propose to merge the tracking of stats (this PR) first and continue the strategies for memoizing and removing in a follow-up PR.

I would propose to merge the tracking of stats (this PR) first and continue the strategies for memoizing and removing in a follow-up PR.

I'm all for that.

I've made some changes that were easier to implement directly than to describe them.
@WinPlay02 Please take a quick look whether I broke anything and then feel free to merge if you're happy with it (or complain if you are not).

This should be good to go

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

v0.6.0
GitHub release

Your semantic-release bot :package::rocket:


add support for running  SUnit tests

We've not yet added in the running of the SUnit tests as part of this.  Right now we run this sort of testing prior to versioning the config map for release.  We'll be looking at adding a build job stage to run the tests in the near future.  This first 'cut'

See Mercap's JUnitXMLRenderer


[Tech Debt] Follow up on repo reorg

This Issue is to track follow-up tasks after this was merged: https://github.com/rancher/prometheus-federator/pull/97

[x] Migrate issues from HPO repo to this one and properly label,
[ ] Create/Get reviewed/merge PR to clean up CI and ensure all proper release artifacts,
[ ] Tag a new release v0.4.3-rc.2 (note this is still a "universal" rancher tagged release; could be for 2.8+),
[ ] subsequently ensure necessary charts are updated and in rancher/charts

Follow up PR created, waiting for review to merge: https://github.com/rancher/prometheus-federator/pull/110

Created Charts PR: https://github.com/rancher/charts/pull/4588

For QA, this is testable as version 105.0.0-rc.1+up0.4.3-rc.1

Prometheus Federator : 105.0.0-rc.1+up0.4.3-rc.1 has been validated on 2.10.0-alpha7


maxEntries and maxAgeSeconds not working

Browser & Platform:
Google Chrome Version 117.0.5938.150
Issue or Feature Request Description:
Hi, in Next Js I use @ducanh2912/next-pwa library to integrate workbox into Next Js.
I am caching images and I want the cache to delete it self every day and not to cache more then for example 50 images - but its not working.
This is my next.config.js:
// @ts-check
/** @type {import('next').NextConfig} */
const { i18n } = require('./next-i18next.config');
const withTranslateRoutes = require('next-translate-routes/plugin');
const runtimeCaching = require('./services/cache');

const withPWA = require('@ducanh2912/next-pwa').default({
  dest: 'public',
  register: true,
  fallbacks: {
    image: '/offline/offline.png',
  },
  disable: process.env.NODE_ENV === 'development',
  workboxOptions: {
    runtimeCaching: runtimeCaching,
    cleanupOutdatedCaches: true,
  skipWaiting: true,
  },
  cacheOnFrontEndNav: false,
  reloadOnOnline: true,
});

const nextConfig = withPWA(
  withTranslateRoutes({
    webpack: (config) => {
      config.module.rules.push({
        test: /\.svg$/,
        use: [{ loader: '@svgr/webpack', options: { icon: true } }],
      });
      return config;
    },
    pageExtensions: ['tsx', 'js'],
    i18n,
    reactStrictMode: false,
  })
);
module.exports = nextConfig;

I import my runtimeCaching rules from another file ./services/cache.js it has this code:
module.exports = [
{
    urlPattern: ({ request, url, sameOrigin }) => {
      //other images
      if (!sameOrigin) return false;
      if (url.pathname === '/_next/image') {
        return true;
      }
      return false;
    },
    handler: 'NetworkFirst',
    options: {
      cacheName: 'other-images',
      expiration: {
        maxEntries: 20,
        maxAgeSeconds: 60, // 1 min
      },
    },
  },
]

So I am able to cache all images, but maxEntries: 20 and maxAgeSeconds: 60, does not work. In chrome dev tools I see in the cache like 100+ images, and they do not disappear after 1 min. My PWA app gets very big, very fast.

Hi there,
Workbox is moving to a new engineering team within Google. As part of this move, we're declaring a partial bug bankruptcy to allow the new team to start fresh. We realize this isn't optimal, but realistically, this is the only way we see it working. For transparency, here're the criteria we applied:

For PRs, we closed everything that doesn't target the current v7 branch.
For Issues, we closed everything that was created before 2024.

Thanks, and we hope for your understanding!
The Workbox team


were is Synced data stored in my tenant.

Hi
were is Synced data stored in my tenant.
You say "Synced data for Azure AD accounts is stored in secure servers according to the tenant ID."
But were is it, As admin can we delete that data
Can we see if user have used the Sync function.
All the best
benjamin

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

ID: 593ef462-f298-94e4-8135-152588023ca1
Version Independent ID: b4290014-fbd2-92db-a873-06ddef7a476a
Content: Microsoft Edge and Enterprise State Roaming
Content Source: edgeenterprise/microsoft-edge-enterprise-state-roaming.md
Product: microsoft-edge
GitHub Login: @dan-wesley
Microsoft Alias: kvice

@BenjaminChambersAFC Additional information about Sync can be found in the privacy whitepaper: https://learn.microsoft.com/en-us/microsoft-edge/privacy-whitepaper/#sync.  This might have some answers to your question or you can reach out to Support for Business (Support - Microsoft Edge Developer) if you have additional questions.


Video imagery to text (Closed Captioning)

Feature request
Implement a feature using Langchain's image_captions.py and audio_speech_to_text.py to produce .srt files. This system will provide both subtitles and visual scene descriptions, essentially creating closed captioning.
Motivation
Current closed captioning primarily captures spoken content, omitting crucial visual elements of videos. This lack of comprehensive description hinders a full understanding, especially for the hearing-impaired community. Our goal is to elevate video accessibility by integrating both visual and auditory components in closed captioning, ensuring a more inclusive viewing experience.
Your contribution
We are students at the University of Toronto, interested in contributing to Langchain for a school project. We would like to submit a PR that implements this feature sometime in November.

What would the next steps look like? We should probably start by creating an outline for the implementation of this feature. Since Langchain already has an image analyzer and speech-to-text feature, the main goal would be to effectively break down a video into frames and then to make sure the output of each frame is combined into something that is accurate and makes sense.
Also, can I add my group members (GitHub accounts) to this issue? Just so we are all on the same page.

@dosu-bot Hello, I am also part of the group contributing to this issue. Can you please assign me to this issue?

@dosu-bot Hello! When trying to use the ImageCaptionLoader, we were following the doc on it. We get the error that NoneType object is not callable at the line processor = BlipProcessor.from_pretrained(self.blip_processor)

@dosu-bot We created a new chain using some new dependencies that the other existing chains don't have. Thus, when running the tests, they fail because they cannot find the specified module. For example, we are using OpenCV to split videos into frames. How should we add the opencv dependency to langchain so they work with other chains?
We keep getting the error that ModuleNotFoundError: No module named 'cv2' for every existing chain when trying to run the tests.


[homebridge-connector-hub] Device discovery failed to reach hub <IP_ADDRESS>, retrying...

any thoughts on this ? I havent changed anytihng on NAS / Homebridge / Wifi / Connector bridge....

Hi @milanmitosinka: <IP_ADDRESS> is the multicast IP address that the plugin will use to contact the hub if no explicit IP address is provided. However, on some machines or in some network configurations, it may not be able to reach the hub via multicast. I'd suggest going into the "Advanced Settings" section of the plugin's config UI and adding your hub's actual IP address, that may solve the issue.

@milanmitosinka: any update on this? Did setting the IP help?

Yes it worked. Added fixed ip to hub and it works. It solved some random "unavailability" of blinds in homekit app as well. Thanks !