Missing header

Error:
During compilation I got the next error:
[ 33%] Building CXX object CMakeFiles/calib_k4a.dir/src/camera_extrinsics.cpp.o
/home/francisco/Workspace/k4a-calibration/src/camera_extrinsics.cpp: In member function ‘bool ExtrinsicsCalibration::CalculateExtrinsics(const std::vector<FrameInfo>&, std::vector<AlignmentTransform>&)’:
/home/francisco/Workspace/k4a-calibration/src/camera_extrinsics.cpp:91:22: error: ‘SetVerbosityLevel’ is not a member of ‘open3d::utility’
     open3d::utility::SetVerbosityLevel(open3d::utility::VerbosityLevel::Debug);
                      ^~~~~~~~~~~~~~~~~
/home/francisco/Workspace/k4a-calibration/src/camera_extrinsics.cpp:91:57: error: ‘open3d::utility::VerbosityLevel’ has not been declared
     open3d::utility::SetVerbosityLevel(open3d::utility::VerbosityLevel::Debug);
                                                         ^~~~~~~~~~~~~~
CMakeFiles/calib_k4a.dir/build.make:75: recipe for target 'CMakeFiles/calib_k4a.dir/src/camera_extrinsics.cpp.o' failed
make[2]: *** [CMakeFiles/calib_k4a.dir/src/camera_extrinsics.cpp.o] Error 1
CMakeFiles/Makefile2:82: recipe for target 'CMakeFiles/calib_k4a.dir/all' failed
make[1]: *** [CMakeFiles/calib_k4a.dir/all] Error 2
Makefile:90: recipe for target 'all' failed
make: *** [all] Error 2

Solution:
Theg header open3d/utility/Logging.h, which contains VerbosityLevel and SetVerbosityLevel, is missing in camera_extrinsics.cpp

I was using Open3D 0.12.0 and didn't encounter this issue. Which version of Open3D are you using? Maybe they change something in the latest release.

Lastest (0.13.0)

I would like to know how should I edit /usr/local/include/open3d/utility/Logging.h file.
// ----------------------------------------------------------------------------
// -                        Open3D: www.open3d.org                            -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018-2021 www.open3d.org
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
// ----------------------------------------------------------------------------

#pragma once

#include <functional>
#include <memory>
#include <string>

// NVCC does not support deprecated attribute on Windows prior to v11.
#if defined(__CUDACC__) && defined(_MSC_VER) && __CUDACC_VER_MAJOR__ < 11
#ifndef FMT_DEPRECATED
#define FMT_DEPRECATED
#endif
#endif

#include <fmt/core.h>
#include <fmt/printf.h>
#include <fmt/ranges.h>

#define DEFAULT_IO_BUFFER_SIZE 1024

#include "open3d/Macro.h"

// Mimic "macro in namespace" by concatenating `utility::` and a macro.
// Ref: https://stackoverflow.com/a/11791202
//
// We avoid using (format, ...) since in this case __VA_ARGS__ can be
// empty, and the behavior of pruning trailing comma with ##__VA_ARGS__ is not
// officially standard.
// Ref: https://stackoverflow.com/a/28074198
//
// __PRETTY_FUNCTION__ has to be converted, otherwise a bug regarding [noreturn]
// will be triggered.
// Ref: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94742

// LogError throws now a runtime_error with the given error message. This
// should be used if there is no point in continuing the given algorithm at
// some point and the error is not returned in another way (e.g., via a
// bool/int as return value).
//
// Usage  : utility::LogError(format_string, arg0, arg1, ...);
// Example: utility::LogError("name: {}, age: {}", "dog", 5);
#define LogError(...)                     \
    Logger::LogError_(__FILE__, __LINE__, \
                      static_cast<const char *>(OPEN3D_FUNCTION), __VA_ARGS__)

// LogWarning is used if an error occurs, but the error is also signaled
// via a return value (i.e., there is no need to throw an exception). This
// warning should further be used, if the algorithms encounters a state
// that does not break its continuation, but the output is likely not to be
// what the user expected.
//
// Usage  : utility::LogWarning(format_string, arg0, arg1, ...);
// Example: utility::LogWarning("name: {}, age: {}", "dog", 5);
#define LogWarning(...)                                             \
    Logger::LogWarning_(__FILE__, __LINE__,                         \
                        static_cast<const char *>(OPEN3D_FUNCTION), \
                        __VA_ARGS__)

// LogInfo is used to inform the user with expected output, e.g, pressed a
// key in the visualizer prints helping information.
//
// Usage  : utility::LogInfo(format_string, arg0, arg1, ...);
// Example: utility::LogInfo("name: {}, age: {}", "dog", 5);
#define LogInfo(...)                     \
    Logger::LogInfo_(__FILE__, __LINE__, \
                     static_cast<const char *>(OPEN3D_FUNCTION), __VA_ARGS__)

// LogDebug is used to print debug/additional information on the state of
// the algorithm.
//
// Usage  : utility::LogDebug(format_string, arg0, arg1, ...);
// Example: utility::LogDebug("name: {}, age: {}", "dog", 5);
#define LogDebug(...)                     \
    Logger::LogDebug_(__FILE__, __LINE__, \
                      static_cast<const char *>(OPEN3D_FUNCTION), __VA_ARGS__)

namespace open3d {
namespace utility {

enum class VerbosityLevel {
    /// LogError throws now a runtime_error with the given error message. This
    /// should be used if there is no point in continuing the given algorithm at
    /// some point and the error is not returned in another way (e.g., via a
    /// bool/int as return value).
    Error = 0,
    /// LogWarning is used if an error occurs, but the error is also signaled
    /// via a return value (i.e., there is no need to throw an exception). This
    /// warning should further be used, if the algorithms encounters a state
    /// that does not break its continuation, but the output is likely not to be
    /// what the user expected.
    Warning = 1,
    /// LogInfo is used to inform the user with expected output, e.g, pressed a
    /// key in the visualizer prints helping information.
    Info = 2,
    /// LogDebug is used to print debug/additional information on the state of
    /// the algorithm.
    Debug = 3,
};

/// Logger class should be used as a global singleton object (GetInstance()).
class Logger {
public:
    Logger(Logger const &) = delete;
    void operator=(Logger const &) = delete;

    /// Get Logger global singleton instance.
    static Logger &GetInstance();

    /// Overwrite the default print function, this is useful when you want to
    /// redirect prints rather than printing to stdout. For example, in Open3D's
    /// python binding, the default print function is replaced with py::print().
    ///
    /// \param print_fcn The function for printing. It should take a string
    /// input and returns nothing.
    void SetPrintFunction(std::function<void(const std::string &)> print_fcn);

    /// Reset the print function to the default one (print to console).
    void ResetPrintFunction();

    /// Get the print function used by the Logger.
    const std::function<void(const std::string &)> GetPrintFunction();

    /// Set global verbosity level of Open3D.
    ///
    /// \param verbosity_level Messages with equal or less than verbosity_level
    /// verbosity will be printed.
    void SetVerbosityLevel(VerbosityLevel verbosity_level);

    /// Get global verbosity level of Open3D.
    VerbosityLevel GetVerbosityLevel() const;

    template <typename... Args>
    static void LogError_ [[noreturn]] (const char *file,
                                        int line,
                                        const char *function,
                                        const char *format,
                                        Args &&... args) {
        if (sizeof...(Args) > 0) {
            Logger::GetInstance().VError(
                    file, line, function,
                    FormatArgs(format, fmt::make_format_args(args...)));
        } else {
            Logger::GetInstance().VError(file, line, function,
                                         std::string(format));
        }
    }
    template <typename... Args>
    static void LogWarning_(const char *file,
                            int line,
                            const char *function,
                            const char *format,
                            Args &&... args) {
        if (Logger::GetInstance().GetVerbosityLevel() >=
            VerbosityLevel::Warning) {
            if (sizeof...(Args) > 0) {
                Logger::GetInstance().VWarning(
                        file, line, function,
                        FormatArgs(format, fmt::make_format_args(args...)));
            } else {
                Logger::GetInstance().VWarning(file, line, function,
                                               std::string(format));
            }
        }
    }
    template <typename... Args>
    static void LogInfo_(const char *file,
                         int line,
                         const char *function,
                         const char *format,
                         Args &&... args) {
        if (Logger::GetInstance().GetVerbosityLevel() >= VerbosityLevel::Info) {
            if (sizeof...(Args) > 0) {
                Logger::GetInstance().VInfo(
                        file, line, function,
                        FormatArgs(format, fmt::make_format_args(args...)));
            } else {
                Logger::GetInstance().VInfo(file, line, function,
                                            std::string(format));
            }
        }
    }
    template <typename... Args>
    static void LogDebug_(const char *file,
                          int line,
                          const char *function,
                          const char *format,
                          Args &&... args) {
        if (Logger::GetInstance().GetVerbosityLevel() >=
            VerbosityLevel::Debug) {
            if (sizeof...(Args) > 0) {
                Logger::GetInstance().VDebug(
                        file, line, function,
                        FormatArgs(format, fmt::make_format_args(args...)));
            } else {
                Logger::GetInstance().VDebug(file, line, function,
                                             std::string(format));
            }
        }
    }

private:
    Logger();
    static std::string FormatArgs(const char *format, fmt::format_args args) {
        std::string err_msg = fmt::vformat(format, args);
        return err_msg;
    }
    void VError [[noreturn]] (const char *file,
                              int line,
                              const char *function,
                              const std::string &message) const;
    void VWarning(const char *file,
                  int line,
                  const char *function,
                  const std::string &message) const;
    void VInfo(const char *file,
               int line,
               const char *function,
               const std::string &message) const;
    void VDebug(const char *file,
                int line,
                const char *function,
                const std::string &message) const;

private:
    struct Impl;
    std::unique_ptr<Impl> impl_;
};

/// Set global verbosity level of Open3D
///
/// \param level Messages with equal or less than verbosity_level verbosity will
/// be printed.
void SetVerbosityLevel(VerbosityLevel level);

/// Get global verbosity level of Open3D.
VerbosityLevel GetVerbosityLevel();

class VerbosityContextManager {
public:
    VerbosityContextManager(VerbosityLevel level) : level_(level) {}

    void Enter() {
        level_backup_ = Logger::GetInstance().GetVerbosityLevel();
        Logger::GetInstance().SetVerbosityLevel(level_);
    }

    void Exit() { Logger::GetInstance().SetVerbosityLevel(level_backup_); }

private:
    VerbosityLevel level_;
    VerbosityLevel level_backup_;
};

}  // namespace utility
}  // namespace open3d

I was using Open3D 0.12.0 and didn't encounter this issue. Which version of Open3D are you using? Maybe they change something in the latest release, I will look into it.

How to update Open3D to the lastest Version. I have tried many method but It is still 0.9
$ python -c "import open3d as o3d; print(o3d.__version__)"
<IP_ADDRESS>

Need to add #include <open3d/utility/Logging.h> in k4a-calibration/src/camera_extrinsics.cpp header


[WB-5516] handle missing diff.patch in wandb restore

https://wandb.atlassian.net/browse/WB-5516
Description
When we execute wandb restore, the client requests for the diff.patch file (amongst other things). In the case of a missing file, the server will return an 'open' file handle, which can be used to upload data to. However, this url will return a 404 Not Found if we try and read it.
Instead of the client explicitly asking for the files (which results in the open file handle), let's instead ask for the files present.
Testing
Automated testing: tox -e py38 -- tests/test_cli.py -k restore_no_diff
Manual testing: wandb restore --entity $ENTITY $RUN_ID with a run that has no changes

I suggested this as a fix. My thought process was that it would reduce the number of requests. But checking to see if the diff.patch file exists via a query would also work.

Some runs have 1000’s of files so you would likely need to paginate and it
would be slow.
On Tue, Jun 15, 2021 at 4:58 PM Min-Young Wu @.***>
wrote:

@.**** commented on this pull request.
In wandb/sdk/internal/internal_api.py
https://github.com/wandb/client/pull/2277#discussion_r652182410:

@@ -576,7 +576,7 @@ def run_config(self, project, run=None, entity=None):
bucket(name: $run) {
config
commit

               files(names: ["wandb-metadata.json", "diff.patch"]) {

               files {

We do support passing in a pattern (which also doesn't create files), but
that is resolved using the LIKE operator
https://github.com/wandb/core/blob/aaffc23943bbd209b13572a95551b6dd6352bdfc/services/gorilla/mysql/metadata.go#L10128,
and not a regex. So I don't think that we'd be able to construct a pattern
to filter for just the 2 files.
Is getting all the files fine? Or should I add the ability to provide a
regex to the server?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wandb/client/pull/2277#pullrequestreview-684528146,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAAENANX2RL74TWMX5XJDTS7EH5ANCNFSM46PBB2QQ
.

Some runs have 1000’s of files so you would likely need to paginate and it would be slow.

Added in pagination. But now I'm wondering if it would be better to make 2 requests using pattern for the 2 files? Doing would be more efficient for the case of 1000's of files, but would be less so for projects with less than $page_size of files (but still only 2 requests)

I think that always making 2 requests is a reasonable compromise in terms of performance for large vs small projects. Happy to change it back to paginating through all files if we want to optimize for smaller projects


401 problem, yet I gave my login info... What's wrong?

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.02.08. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.02.08

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[x] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-u', 'PRIVATE', '-p', 'PRIVATE', '--hls-prefer-native', 'https://hlsevent-aksc.ams1.media.eurosportplayer.com/hdnts=exp=1518275058~acl=/*~id=3d9225b7-d437-42db-bb76-ded52280e39f-14-f4f8093e34e4532681f1c540ade9bffb30f86034~hmac=4ca58fb00334cde28d68d63da1fec9960bd25c224ee81a3d955a437c6c6638ce/b5631821d732cd7cf7e096c2cfc95cea/ls01/eurosport/event/2018/02/05/Arminia_Bielefeld_1_FC_Un_20180205_1517783310425/3500K/3500_complete-trimmed.m3u8']
[debug] Encodings: locale cp1250, fs mbcs, out cp852, pref cp1250
[debug] youtube-dl version 2018.02.08
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-89951-g3caecf7ce8, ffprobe N-89951-g3caecf7ce8
[debug] Proxy map: {}
[generic] 3500_complete-trimmed: Requesting header
[generic] 3500_complete-trimmed: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://hlsevent-aksc.ams1.media.eurosportplayer.com/hdnts=exp=1518275058~acl=/*~id=3d9225b7-d437-42db-bb76-ded52280e39f-14-f4f8093e34e4532681f1c540ade9bffb30f86034~hmac=4ca58fb00334cde28d68d63da1fec9960bd25c224ee81a3d955a437c6c6638ce/b5631821d732cd7cf7e096c2cfc95cea/ls01/eurosport/event/2018/02/05/Arminia_Bielefeld_1_FC_Un_20180205_1517783310425/3500K/3500_complete-trimmed.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1550
[download] Destination: 3500_complete-trimmed-3500_complete-trimmed.mp4
[download]   0.1% of ~3.68GiB at Unknown speed ETA Unknown ETAERROR: unable to download video data: HTTP Error 401: Unauthorized
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpn4uo9muj\build\youtube_dl\YoutubeDL.py", line 1896, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpn4uo9muj\build\youtube_dl\YoutubeDL.py", line 1835, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpn4uo9muj\build\youtube_dl\downloader\common.py", line 364, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpn4uo9muj\build\youtube_dl\downloader\hls.py", line 167, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpn4uo9muj\build\youtube_dl\YoutubeDL.py", line 2199, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
urllib.error.HTTPError: HTTP Error 401: Unauthorized
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Hi there!
I plan to download from Eurosport Player, and I understand that the site is not supported (yet?), however I can manage to find the m3u8 files where I can download the videos from (using the videodownloadhelper browser extension). The problem is, no matter I add my login info to the command line (I use the -u, -p parameters, the login parameters to the site itself is an email, and a password), it gives the error that you can see in the log.
Am I doing something wrong (maybe using the-u, -p parameters in a wrong way), or why does it give this error? What other parameters should I add to the command line to make the download start?
(Some other info I should add: all the grabbed urls have one similarity (in my case: "id=3d9225b7-d437-42db-bb76-ded52280e39f-14-f4f8093e34e4532681f1c540ade9bffb30f86034"), the other parts are different always different.)

Obviously you did not provide required headers/query/etc. See what browser does and mimic its behavior.


AzureADPreview commands from doc cannot be used

Hello
At the moment this documentation doesn't seems to work on a fresh Azure AD tenant app.
I tried various proposal online that suggest to do UnInstall-Module AzureAD then install AzureADPreview. Also logout/login before using the command but it didn't work.
PS /home/benoit>  Get-InstalledModule | grep ADP
<IP_ADDRESS>            AzureADPreview                      PSGallery            Azure Active Directory V2 Preview Module. …

PS /home/benoit> Get-AzureADPolicy
Get-AzureADPolicy: The term 'Get-AzureADPolicy' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

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

ID: 195c79a3-ccc5-8c6a-233e-95e344a9b4df
Version Independent ID: 401c7557-5817-bbd3-5bd8-8c97ef5a28cc
Content: Customize Azure AD tenant app claims (PowerShell) - Microsoft identity platform
Content Source: articles/active-directory/develop/active-directory-claims-mapping.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

Hi @benoittgt, thanks for bringing this to our attention. I have assigned the issue to the content author to evaluate and update  the doc as appropriate

@benoittgt  Are you still having trouble with this? I thinkt there's a conflict between the AzureAD and AzureADPreview modules that comes up sometimes. Can you try uninstalling/re-installing the AzureAD module and then reinstalling AzureADPreview with the -allowclobber switch?  Is that what you tried already?
UnInstall-Module AzureAD
Install-Module AzureAD
Install-Module AzureADPreview -AllowClobber

@benoittgt  I hope you've got this working, now.  If my workaround didn't work for you, I'd recommend working closer with our support team via an Azure support request. Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.  Hope that helps.  #please-close

Hello @rwike77
Thanks for your answer. Sadly it doesn't work.
PS /home/benoit> UnInstall-Module AzureAD
Uninstall-Package: No match was found for the specified search criteria and module names 'AzureAD'.

PS /home/benoit> Install-Module AzureAD

Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running the
Set-PSRepository cmdlet. Are you sure you want to install the modules from 'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): A
PS /home/benoit> Install-Module AzureADPreview -AllowClobber
PS /home/benoit> Get-AzureADPolicy
Get-AzureADPolicy: The term 'Get-AzureADPolicy' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

There is the same issue open on cloudshell too. https://github.com/Azure/CloudShell/issues/111


How to automatically get the “current settings”?

Hi!
I want to have parameters in my Flutter app that are different between debug and production. In my Spring Boot Java application, I get this automatically: I got two set of config files and pass in “debug/production” as a profile name into my application. Then Spring Boot automatically picks the right config file.
How do I achieve this with your package in Flutter? You gave this example:
@Envify(path: '.env.development')
abstract class DevEnv {}

@Envify(path: '.env.production')
abstract class ProdEnv {}

So I assume that I need to configure these two different “parameter classes”. Then my code needs to manually pick the right one, based on whether I’m in debug or production. Correct?
Regards,
Karsten Silz

I can't make envify to pick the right file based on whether it is production or not because there's no such thing as modes in Dart. But in Flutter, you can use kReleaseMode from foundation.dart to conditionally determine the path. Here's a complete example,
import 'package:flutter/foundation.dart';

@Envify(path: kReleaseMode ? '.env.production' : '.env.development')
abstract class Env {}

Hope you have a good day!

Thank you!

What is the command that someone needs to use in order to compile to release mode?
When I use
flutter packages pub run build_runner build

the env.g.dart file is being created using the keys from the .env.development file.

Omg, why didn't I see this. Sorry about the delay in response. Seems like that kReleaseMode trick doesn't actually work because build_runner is only run during development. I'm terribly sorry for this. I'll find a workaround to solve this issue. In the meantime, I'll remove that not-working-trick from the documentation.


chore: enable windows tests, macos, one release only

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.22%. Comparing base (67dcc75) to head (e8a37bf).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #11   +/-   ##
=======================================
  Coverage   92.22%   92.22%
=======================================
  Files           2        2
  Lines          90       90
  Branches       16       16
=======================================
  Hits           83       83
  Misses          6        6
  Partials        1        1

Flag
Coverage Δ

unittests
92.22% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Use latest ember-getowner-polyfill

This is the only dependency left in our app that uses ember-getowner-polyfill 1.0.x, can we bump it so it can use 1.1.1?

👍

Released as 2.0.2, thanks


English improvements

Rebasing commits from https://github.com/workshopper/learnyoureact/pull/67 so this can get merged.
I edited one line in the isomorphic description to mention ES5.

@DusanSacha  Anything I can do to help get this merged?

@Incognito
Thanks!


Facebook SDK deprecated

Facebook notifies me that the version of Facebook SDK I was using was deprecated and they will no longer support it.

Should be fixed in 1.0.3

Thanks bro! Anyway, is this will also take effect on iOS?

On iOS it pulls the latest version of the SDK. Let me know when you still face any issues ;)


Updated tests to be C++ compliant

Added casts from (void*) to desired types.
Changed char* to const char*.
Added function prototypes to the codegen_utils.py script.

 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.

Coverage remained the same at 87.858% when pulling 4aae471caa7fad8e99a75f6d61f286703a0a8b31 on nikalra:master into 7b33ad2c0aac71bdfc107a2ca139ee67c9addde6 on oxfordcontrol:master.

Looks good. Thanks for doing this!


Msbrett/dev/private net

🛠 Description
Private endpoints support.

Added private endpoints for storage account & Keyvault.
Added managed virtual network & storage endpoint for Azure Data Factory Runtime.
All data processing now happens within a vNet.
Added param to disable external access to data lake
Added param to specify subnet range of vnet - minumum size = /27

📷 Screenshots

📋 Checklist

🔬 How did you test this change?

[x] 🤏 Lint tests
[ ] 🤞 PS -WhatIf / az validate
[x] 👍 Manually deployed + verified
[ ] 💪 Unit tests
[x] 🙌 Integration tests

🙋♀ Do any of the following that apply?

[ ] 🚨 This is a breaking change.
[ ] 🤏 The change is less than 20 lines of code.

📑 Did you update docs/changelog.md?

[x] ✅ Updated changelog (required for dev PRs)
[ ] ➡ Will add log in a future PR (feature branch PRs only)
[ ] ❎ Log not needed (small/internal change)

📖 Did you update documentation?

[ ] ✅ Public docs in docs (required for dev)
[ ] ✅ Internal dev docs in src (required for dev)
[ ] ➡ Will add docs in a future PR (feature branch PRs only)
[ ] ❎ Docs not needed (small/internal change)

Don't forget to update template.md with the added resources.


feat: Changes in pages.tsx

Hi @Bhanu-code. This is with reference to the issue #5 that was assigned to me. I have made many changes in the pages.tsx file itself :-

Added a new reusable component LinkButton for generating link buttons with icons.
Updated styles and class names for better UI consistency.
Enhanced the footer section with additional links and icons.
Improved accessibility by adding aria-hidden attributes and alt texts to images.

The below photos are some of the changes made with this regard.Keep coding!!!
(P.S.):- Please increase lvel of request and also add the gssoc-ext and hacktoberfest tags to this request.
Thanking you,
Yash Vashishth
(Contributor, GSSoC'24 (Etd) and Hacktoberfest)

Hi @Bhanu-code  please add the level 2 tag, gssoc-ext tag and hacktoberfest tag to this pr, Since it is not shown on the leaderboard on the site.
Thanks
Yash Vashishth
Contributor, GSSoC'24


Symlink used allowing Sphinx to see _static

As a temporary measure while simplifying the structure of the repository directories we've added a symlink so that sphinx and sphinxcontrib-jupyter can reference the _static directory.
https://github.com/QuantEcon/lecture-source-py/blob/master/source/rst/_static
Note: This won't be compatible with Windows.

@jstac
I think I've exhausted all avenues here. It appears creating something like the following:
.. figure:: |assets|qs.png
   :scale: 70%

would involve writing new sphinxcontrib extensions extending each of the directives used in the source files (figure, include, literalinclude, bibliography).
So the quickest an simplest way to (1) remove the need for symlink (2) fix all links to asset files within the new directory structure is simply adding a ../ to each figure, include, etc filepath. Example:
.. figure:: /_static/figures/qs.png
   :scale: 70%

Change to
.. figure:: ../_static/figures/qs.png
   :scale: 70%

@AakashGfude could you please try this tomorrow.
Can we specify the following in the conf.py file now that we had relocated it to the root level?
Add any paths that contain custom static files (such as style sheets) here,
relative to this directory. They are copied after the builtin static files,
so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['source/_static']
If it works can you please setup a PR to make the change and remove the symlink that we have used to date. The we will have source/rst/ and source/_static/


GROOVY-4847 - Missing GDK rounding (and trunc) methods for BigDecimal

I tried to address the issues raised by @blackdrag in the original groovy/groovy-core#281 PR.  The round methods may be slightly confusing since the BigDecimal#round(MathContext) method works on  the entire number, so I tried to call that out in the javadoc.

Thanks! :+1:


right contrats for worker and employer pages

Resilve the conflicts with the main branch. Use git merge main,  resolve the conflicts in the files in editor,  use git add file_name for fixed files,  than git merge --continue


Empty the folder

When I try command "empty the folder", the folder I selected get deleted too

I fixed this. Thanks for pointing it out.
Nuget: https://www.nuget.org/packages/elFinder.Net.Core/1.0.1


feat: always add URI to SIWE payload

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR focuses on modifying the generation of the login payload in the thirdweb package to ensure that a URI is always included in the SIWE payload.
Detailed summary

Updated generate-login-payload.ts to change the uri assignment.
The uri now defaults to options.domain if options.login?.uri is not provided.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#5172  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @joaquim-verges and the rest of your teammates on  Graphite


Google App Engine RuntimeError: error('illegal IP address string passed to inet_pton',)

First off, thanks, love this sdk. In python google app engine, I continue to get the following error message with the login button, do we need to change the port number somewhere in the requests module?
Google App Engine RuntimeError: error('illegal IP address string passed to inet_pton',)

Do you have access to the complete traceback? If so, could you provide it?

gotya:
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1535, in call
rv = self.handle_exception(request, response, e)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1529, in call
rv = self.router.dispatch(request, response)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1278, in default_dispatcher
return route.handler_adapter(request, response)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1102, in call
return handler.dispatch()
File "/Users/chrisrote/chat_helpa/controllers/home.py", line 125, in dispatch
webapp2.RequestHandler.dispatch(self)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 572, in dispatch
return self.handle_exception(e, self.app.debug)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 570, in dispatch
return method(*args, **kwargs)
File "/Users/chrisrote/chat_helpa/controllers/home.py", line 176, in get
current_user=self.current_user
File "/Users/chrisrote/chat_helpa/controllers/home.py", line 87, in current_user
FACEBOOK_APP_SECRET)
File "/Users/chrisrote/chat_helpa/facebook/init.py", line 344, in get_user_from_cookie
app_id, app_secret)
File "/Users/chrisrote/chat_helpa/facebook/init.py", line 401, in get_access_token_from_code
code, redirect_uri, app_id, app_secret)
File "/Users/chrisrote/chat_helpa/facebook/init.py", line 279, in get_access_token_from_code
return self.request("oauth/access_token", args)
File "/Users/chrisrote/chat_helpa/facebook/init.py", line 225, in request
files=files)
File "/Users/chrisrote/chat_helpa/requests/api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)
File "/Users/chrisrote/chat_helpa/requests/sessions.py", line 465, in request
resp = self.send(prep, **send_kwargs)
File "/Users/chrisrote/chat_helpa/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/Users/chrisrote/chat_helpa/requests/adapters.py", line 370, in send
timeout=timeout
File "/Users/chrisrote/chat_helpa/requests/packages/urllib3/connectionpool.py", line 544, in urlopen
body=body, headers=headers)
File "/Users/chrisrote/chat_helpa/requests/packages/urllib3/connectionpool.py", line 341, in _make_request
self._validate_conn(conn)
File "/Users/chrisrote/chat_helpa/requests/packages/urllib3/connectionpool.py", line 761, in _validate_conn
conn.connect()
File "/Users/chrisrote/chat_helpa/requests/packages/urllib3/connection.py", line 204, in connect
conn = self._new_conn()
File "/Users/chrisrote/chat_helpa/requests/packages/urllib3/connection.py", line 134, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/Users/chrisrote/chat_helpa/requests/packages/urllib3/util/connection.py", line 64, in create_connection
for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/remote_socket/_remote_socket.py", line 339, in getaddrinfo
canonical=(flags & AI_CANONNAME))
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/remote_socket/_remote_socket.py", line 212, in _Resolve
canon, aliases, addresses = _ResolveName(name, families)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/remote_socket/_remote_socket.py", line 230, in _ResolveName
apiproxy_stub_map.MakeSyncCall('remote_socket', 'Resolve', request, reply)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/apiproxy_stub_map.py", line 95, in MakeSyncCall
return stubmap.MakeSyncCall(service, call, request, response)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/apiproxy_stub_map.py", line 329, in MakeSyncCall
rpc.CheckSuccess()
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/apiproxy_rpc.py", line 157, in _WaitImpl
self.request, self.response)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py", line 201, in MakeSyncCall
self._MakeRealSyncCall(service, call, request, response)
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py", line 235, in _MakeRealSyncCall
raise pickle.loads(response_pb.exception())
RuntimeError: error('illegal IP address string passed to inet_pton',)

Maybe try some of the suggestions in https://stackoverflow.com/a/28544823/113527 ?
Since requests does not support Google App Engine, it is extremely likely that we won't in the future either. There are too many open issues that only affect GAE, and it doesn't look like anyone has the bandwidth to deal with them.

That's too bad. GAE is great, if you can get it to work :) Thank you for your quick help, martey, will post back here when I figure it out

I'm just going to abandon this method and re-create the methods I need using the urlfetch API in GAE. Thanks again for your help

@chrisrote When you figure it out please share how via the Google Group. I figured out how and got my GAE app upgraded but it was a pain.

@lucasrangit thanks, I will share to the group. I am currently just using the login system (not a lot of graph scraping) which is luckily fairly simple

Just a note here for future GAE users, I ran into the same issue. I would recommend using https://github.com/crhym3/simpleauth I found Simple Auth and made some adjustments to get my app up and running. There are definitely improvements to be made, but it should get you to a good starting place.

@lucasrangit I finally added my solution to the google group you suggested, sorry for the delay.

I'm dealing with this same issue, and it appears to be the subject of another thread and is being actively worked on. Look at:

HTTPS not working on Google App Engine

... which references:

Add AppEngineAdapter for GAE users
Adds a monkeypatch() function that ensures all Sessions use the AppEngineAdapter compatibility class.


gzip: stdout: Broken pipe

hi,
When I run the following command,
/public/home/jenny/software/pstools hic_mapping_unitig -t 60 JT_hifiasm.asm.r_utg.fa <(zcat /public/home/jenny/01data/03hic/clean_data/01big_clean/A1-fastped_R1.fq.gz /public/home/jenny/01data/03hic/clean_data/02small_clean/A1-fastped_R1.fq.gz) <(zcat /public/home/jenny/01data/03hic/clean_data/01big_clean/A1-fastped_R2.fq.gz /public/home/jennyu/01data/03hic/clean_data/02small_clean/A1-fastped_R2.fq.gz)

the following error occurred, I'm working on the first mistake, but I don't understand the second one. The second error look like a problem occued when read from the pipe, I'm not sure。
/public/home/jenny/software/pstools: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /public/home/jenny/software/pstools)
/public/home/jenny/software/pstools: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /public/home/jenny/software/pstools)

gzip: stdout: Broken pipe

gzip: stdout: Broken pipe

I then tried to modify the command (the following), but still reported the same second error.
/public/home/jenny/software/pstools hic_mapping_unitig -t 60 JT_hifiasm.asm.r_utg.fa <(zcat /public/home/jenny/01data/03hic/clean_data/01big_clean/A1_fastped.R1.fq.gz /public/home/jenny/01data/03hic/clean_data/02small_clean/A1_fastped.R1.fq.gz) <(zcat /public/home/jenny/01data/03hic/clean_data/01big_clean/A1_fastped.R2.fq.gz /public/home/jenny/01data/03hic/clean_data/02small_clean/A1_fastped.R2.fq.gz)

and
/public/home/jenny/software/pstools hic_mapping_unitig -t 60 JT_hifiasm.asm.r_utg.fa <(zcat /public/home/jenny/01data/03hic/clean_data/01big_clean/A1_fastped.R1.fq.gz) <(zcat /public/home/jenny/01data/03hic/clean_data/01big_clean/A1_fastped.R2.fq.gz)

It is OK when I run zcat /public/home/jenny/01data/03hic/clean_data/01big_clean/A1_fastped.R1.fq.gz /public/home/jenny/01data/03hic/clean_data/02small_clean/A1_fastped.R1.fq.gz directly on terminal
When I run commands directly on terminal (manage nodes and subnodes), it‘s  OK and only get the first mistake.
/public/home/jenny/software/pstools hic_mapping_unitig -t 1 JT_hifiasm.asm.r_utg.fa <(zcat /public/home/jenny/01data/03hic/clean_data/01big_clean/A1_fastped.R1.fq.gz /public/home/jenny/01data/03hic/clean_data/02small_clean/A1_fastped.R1.fq.gz)  <(zcat /public/home/jenny/01data/03hic/clean_data/01big_clean/A1_fastped.R2.fq.gz /public/home/jenny/01data/03hic/clean_data/02small_clean/A1_fastped.R2.fq.gz)

Error is as follows (just the first mistake)
/public/home/jenny/software/pstools: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /public/home/jenny/software/pstools)
/public/home/jenny/software/pstools: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /public/home/jenny/software/pstools)

But when I put it (command above) in the script and ran it, I got an error.
$ sh pstools4.sh
pstools4.sh: line 1: syntax error near unexpected token `('
pstools4.sh: line 1: `/public/home/jenny/software/pstools hic_mapping_unitig -t 1 JT_hifiasm.asm.r_utg.fa <(zcat /public/home/jenny/01data/03hic/clean_data/01big_clean/A1_fastped.R1.fq.gz /public/home/jenny/01data/03hic/clean_data/02small_clean/A1_fastped.R1.fq.gz)  <(zcat /public/home/jenny/01data/03hic/clean_data/01big_clean/A1_fastped.R2.fq.gz /public/home/jenny/01data/03hic/clean_data/02small_clean/A1_fastped.R2.fq.gz)'

I'm at my wit's end.
GZIP version information
gzip 1.5
Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Thanks for any advice,
Best regards,
Jenny

Please install proper g++ versions and dependencies, and directly run on real data of human genome.

Please install proper g++ versions and dependencies, and directly run on real data of human genome.


KAFKA-4284: Make Partitioner a Closeable and close it when closing the producer

KAFKA-4284
Even though Partitioner has a close method it is not closed when the producer is closed. Serializers, interceptors and metrics are all closed, so partitioners should be closed to.
To be able to use the same mechanism to close the partitioner as the serializers, etc. I had to make the Partitioner interface extend Closeable. Since this doesn't change the interface that feels ok and should be backwards compatible.
Looking at KAFKA-2091 (d6c45c70fb9773043766446e88370db9709e7995) that introduced the Partitioner interface it looks like the intention was that the producer should close the partitioner.
This contribution is my original work and I license the work to the project under the project's open source license.

@iconara Sorry for the delay. This LGTM, can you just make a trivial change to the PR title to include the JIRA, i.e. prefix it with KAFKA-4284: ?

@ewencp no problem, fixed.


Feature/issue 177

I was not able to create multiple tomcat instances wither either tomcat 6 or 7. This PR fixes those problems (it seems the provider had not been properly updated with the ajp_packetsize or uriencoding variables.) Also incorporates a few fixes I've seen elsewhere such as PR #145

First off I'm very sorry that it's taken so long to get back to you on this PR.  For a significant period of time there was no active Chef Software Inc. maintainer for this repository and things languished.  We're now actively maintaining this cookbook again, and as part of that I've rewritten the cookbook with new custom resources for installing Tomcat from Apache Org sources.  This will ship in an upcoming 2.0 release and then we'll remove the existing recipes and providers in a future 3.X release.  With those new providers I believe the need for this change goes away so I'm going to close this out.  I encourage you to give the new providers a try and let me know if we can tackle more Tomcat management without the attributes bloat the current code suffers from.  They're on the master branch and once the documentation and testing improves a bit they'll be released as a 2.0 cookbook.


Minimal APEX application for Application Import option.

In addition to the apex-demo.sql APEX application it would be nice to have an application that has only a page or two.  When I import the apex-demo.sql application I need to remove all the demo pages and list options to make it my own application.  A base/minimal application would remove that work when creating a new application.

Did you see you can also do a theme import? That imports all templates and required files.
If you think there's still a need for an empty application, let me know.

Yes, I saw it.  I can also make it a workspace theme but I still need to add the global page components manually.  I guess either way one would still need to make their own branded/stub application so maybe it doesn't make sense.

I think this is a good idea.
This would be more easy than importing and configuringe the theme.

Will include a empty app in next release. Thanks for the feedback.


So what's going on with "tenant" on UserAccountService.Init?

meh...not important.
Don't want to waste your time.

It's been so long, so not sure I can recall the thinking... but since Init is meant for internal purposes, I think that's why the super set of params is used.

Thanks for taking the time to the reply.
The fact that it is protected is what caused me to gut the question in case you hadn't come across it yet.


OCPBUGS-19723: Add PreCachingConfig to owned CRDs under csv

This commit adds the PreCachingConfig CRD to the list of CRDs owned by the cluster-group-upgrades operator under the ClusterServiceVersion manifest.
/cc @jc-rh @sudomakeinstall2

/cc @rauhersu

/test ci-job

this pr https://github.com/openshift-kni/cluster-group-upgrades-operator/pull/682
will fix the ci.

/retest

/approve

/cherrypick release-4.14


Can I dynamically set an error message for a field?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

If you are using the directive:
https://baianat.github.io/vee-validate/api/errorbag.html#api
https://baianat.github.io/vee-validate/api/validator.html#api

if you are using the validation provider:
https://baianat.github.io/vee-validate/guide/components/validation-provider.html#adding-errors-manually


Fix freezes raised by 3.0

Fixes 85 unnecessary freezes of immutable objects (like regex), or mutable objects that need to be frozen
Also adds new scope to Name.not_deprecated, which corrects a possible false negative (Name.where(deprecated: false) may not match deprecated: nil) and implements the scope elsewhere in the model... this will be moved to a diff PR though.

Coverage increased (+0.0003%) to 93.089% when pulling 0cc68f3409cfb6fe8b75e323f58381bffd145e98 on nimmo-fix-freezers into fd37dddd6b92580044a7471dae4dbdd1a6f00ff4 on master.


Encode log.origin.file.* correctly

Encode caller information explicitly, rather than
relying on Logrus to do it. Logrus combines file:line
into one field, whereas we want to encode them as two
separate fields.
Closes #7

:green_heart: Build Succeeded

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

Expand to view the summary

Build stats

Build Cause: Pull request #8 opened

Start Time: 2021-01-20T05:39:29.088+0000

Duration: 4 min 26 sec

Commit: 3c8b73875965543118e4a1471b2e823aa9662c36

Test stats :test_tube:

Test
Results

Failed
0

Passed
9

Skipped
4

Total
13

:green_heart: Build Succeeded

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

Expand to view the summary

Build stats

Build Cause: Pull request #8 opened

Start Time: 2021-01-20T05:39:29.088+0000

Duration: 4 min 26 sec

Commit: 3c8b73875965543118e4a1471b2e823aa9662c36

Test stats :test_tube:

Test
Results

Failed
0

Passed
9

Skipped
4

Total
13


feat: add encoding & generator options

This PR contains a:

[ ] bugfix
[x] new feature
[ ] code refactor
[x] test update
[ ] typo fix
[ ] metadata update

Motivation / Use-Case
Fix: https://github.com/webpack-contrib/url-loader/issues/25

Breaking Changes
No

Additional Info

@evilebottnawi I don't think source as a name would make much sense about what it does what do you think about changing it to sourceEncoding or contentEncoding.

Thanks!


Datetime2 column type not supported in SQL Server

Attempting to rename a column of type 'datetime2(6)' on SQL Server results in phinx complaining,
  [RuntimeException]
  The SqlServer type: "datetime2" is not supported

This is a pretty simple fix I think. In my case, I accomplished the migration by making the following modification in SqlServerAdapter::getPhinxType - line 965-968:
            case 'datetime':
+           case 'datetime2':
            case 'timestamp':
                return static::PHINX_TYPE_DATETIME;

I think it would only take a small amount of additional work to fully support the datetime2 variable precision timestamp - specifying the length option to a datetime type might be a good strategy, even though the result would vary by platform.

Anyone wants to make a PR here?
Otherwise we close this as this is a very old ticket.


Add impostor

Added impostor. Impostor is a Django application which allows staff members to login as a different user by using their own username and password.

:tada: Thank you, @avallbona (the "as" syntax threw me for a but, but the UI changes are super useful, and it's nice to see more of these for helping people figure out what's going on when a User runs into a bug on their websites)

Thanks!! :+1:


Validator

Bringing validator and convertor to usable stage, most notable changes:

Reworked readme & documentation
Updated tests
Many bug fixes
Support multiple versions of specification validation/conversion
Parameter paths were strings with . as delimiter, this was causing many issues, so it was changed to array of strings (inside validator, but also in templates - example)
New keywords like __catch or __template added

@drgy can you make sure the PR passes the CI checks?

@Siegrift the only failing check should be non existing link (https://github.com/api3dao/airnode/tree/master/packages/validator), which will be created by merging into master...

@drgy I'm making several suggested edits re: grammar and word choice. If you feel like your original wording is better, feel free to keep it as-is.

@drgy really good job on the documentation!

Please fix linting errors :)

@drgy can you please confirm: most of this code is the same as the code I reviewed in https://github.com/api3dao/airnode/pull/195 ?
(i wanna make sure i'm not crazy 🙃)

@sassmilic yes, most of the code is same, summary of significant changes is in the description of this PR, however there are also many small changes in multiple places, those are bug fixes that were discovered by more validator testing.

@sassmilic yes, most of the code is same, summary of significant changes is in the description of this PR, however there are also many small changes in multiple places, those are bug fixes that were discovered by more validator testing.

thanks! (in that case, it makes more sense for me to check individual commits vs going file-by-file)

I was thinking, wouldn't be better to have messages initialized as a singleton at the beggining and accessible from anywhere so it doesn't have to be passed around? Basically the same way as logging usually works but instead printing messages they will be stored and printed at the end. I think it would make the code much cleaner.

The code would be definitely way cleaner, this was how I originally tried to write the validator actually. However this design pattern doesn't work well with conditions / __catch. The issue is while validating the template the context must be often temporarily switched, functional design pattern just seems most viable for this problem.

@Siegrift thanks for the review, I think I reacted to all the comments, here are the ones that didnt have comment option for some reason:

What is that commit part of? I still see this unchanged in this PR.

it was changed back to npm, as yarn has some issues with arguments, which is explained more here

Also, shouldn't it say: --specs="[specFile] instead of --specs="[specsFile] (singular)

if you are pedantic perhaps there should be spec, however for consistency sake there is specs, i dont think it matters that much and it can stay

Not sure I understand, why not just {(.*)} ?

It uses lookbehind and lookahead so it matches only the contents between the braces not the braces itself`

I'd say let's merge this and deal with any other issues with pretty, small PRs, one issue at a time

I already fixed the minor issues from the reviews here, I dont think its a problem to finish up the minor ones here.
To be able to merge I still need approval from @Siegrift


[Documentation] What is a good way to share state between routes?

What are the best practices?
For instance, you'd often have multiple routes with each of their query, which in turn makes it hard to share fragment pointers. How do you recommend to share data such as currentUser and other types of state between components?

can you provide a more concrete example with code?

@sibelius hey, thanks for waiting so long 😰
More concretely put:
In the issue-tracker example. Let's say you select an issue, then this issue will be opened in a new detail view and the data is preloaded with a new query belonging to a route. However, that also means that the state, which is an id in this case, must be stored in the url bar, so that the route that is navigated to can access that state to figure out what to render in detail view.
So my question then becomes, let us say you that you would like to use some state to preload a query but you don't want to put the state in the URL as part of the route, how would you do that?

what kind of state?

Selected item id from a list of items

it is still not clear, you could save this on a context, or client schema extension (https://relay.dev/docs/en/local-state-management), or Recoil, or using react router history state

For the suggestions apart from react router history state, how would you access these values in the preloadedQuery? For the react router history state the example is fine because params is accessible from the prepare function. That function doesn't have access to context.

can you provide a code example of this?

https://github.com/relayjs/relay-examples/blob/master/issue-tracker/src/routes.js#L73
Take routes.js:73 as an example, how can you get state inside of the prepare function without storing it in react router history state?

you need to consume some "global" data from it


Discovered Policy table improvement

Add tooltip to policy source
Add source filter
Fix violation filter

/cc @mprahl

/cc @dhaiducek @JustinKuli


US 01.01.01

As a player, I want to add new QR codes to my account
User stories points: 3

Create DB schema
Implement CREATE method in Java
Implement the UI


DO NOT MERGE: PROOF OF CONCEPT

Hello this is a proof of concept that will hopefully begin the discussion of changing how we request resources.
First of all there are a lot of changes here. That's primarily because I'm more focused on getting some ideas out there and getting feedback so that I can provide a solid design to the community. There are commits from 2015 in here because I took code from a previous commit that I wanted to include.
The basic concept and what I want from this PR is how do we modify the API so that we can define resources intelligently AND allow users to request users within some bounds
I spoke to @keith-turner and @ctubbsii  today. We can break this up into the following ideas.

Allow configuration to define resource pools ( memory, cpu, etc ) What will this look like? How do we constrain this?
Define a way of segmenting tables/pools. Right now I have included code I've used elsewhere to define table specific threadpools, but I think we need to be more fine grained. But how do we define resource groups? Right now I've created a stubbed out object called ResourceRequest. That needs to be better defined, which I will do in the coming days and welcome feedback.
How do we  define limits on user request? Clearly I've modify the thrift calls so that we can allow scans to create resource requests, but is this a good idea? If so, should we create a new permission? How do we avoid abuse with resource requests?
Can we eliminate some of our current resource constraints and merge them into this concept? I.e. can we get rid of max open files? Can we extend this concept to be aware of resources consumed by compactions?
Could we potentially define more concrete critical sections?

Please ignore the badness in the PR -- I can guarantee that it doesn't compile. I took a vacation and told @keith-turner  I'd put this up here because I think getting ideas now will serve us better. I'm going to clean this up a great deal in the next few days so that I can have others help on this. I will attach tickets to this PR as I have a previous ticket that corresponds to this; however, I'd welcome input into the list above.
I will update this PR tomorrow with cleanup and begin stubbing out portions from the list above and other ideas that are presented. Bottom line, what's your sticking point with how tasks run in Accumulo and is there anything we can do to improve it?

Oh and tests will fail. Again, just a thought provoking PR. I like the idea of submitting a PR to get ideas and if someone has ideas pointing to code this is a great way for them to point it out specifically.

I see in Property.java the definition of queues / pools. Are the high water marks for the requested resources set there also? I could not tell from the PR, but I think an admin should be able to define the pools and max resources in the configuration, and then have the ability to allow users to use specific pools or something to that effect (thinking about multi-tenancy).
Do pools have priority? If I define a resource pool for administrative things, can I make it so that it can preempt resources for another user-facing pool?

@dlmarion Some of these things aren't well defined in Property.java yet as I was worried about going in a direction and it being all wrong. I take your comment as a 'feature request' sort of. To better define pools resource queues will allow configurations to define thread priorities. We would rely on the operating system to do prioritization.
I think this was a question I have. Should the configuration allow users to select from a set of configured pools of resources or allow them to override and select any set of resources that are defined? @keith-turner  thoughts?
I'll try and better define some of these properties tomorrow so I can clarify this for the next person.

@phrocker - Just thinking about multi-tenancy and competition for resources, allowing an administrator to define upper limits, and making sure that user operations don't trump an administrator trying to make a change on the running system. Another thing to think about is something that came up on the user list today, can/should an admin be able to define a pool of resources that can't be interrupted (iterator tear-down and re-setup)?

Clearly I've modify the thrift calls so that we can allow scans to create resource requests, but is this a good idea

I think I've heard that HDFS has the notion of a "resource coupon" that, I'm guessing, is similar in spirit. I'd have to see if I can find a design doc from them. Might be something useful to extract.

I think an admin should be able to define the pools and max resources in the configuration, and then have the ability to allow users to use specific pools or something to that effect (thinking about multi-tenancy).

If we move to bounded queues for resources in thrift servers, we might also have to start thinking about preemption or small timeouts to prevent starvation/denial of service.

I am planning to pick this feature up and start work on it next week.  Would really like to see this in 2.0.0.

@keith-turner  please have at it. After some initial tests I felt this wasn't an arbitrary feature, but by all means have fun with it.


Gauge max value not formatable

The gauge chart does not well support formating for the max value. When I set a string in the max value, it is displayed correctly, but it can't be understood by the chart.
this feature could be usefull for human readable values.
https://jsfiddle.net/bt56r29q/323/

Your link is broken, but I think you meant something like this - http://jsfiddle.net/bt56r29q/330/
I've just submitted a pull request for this https://github.com/masayuki0812/c3/pull/1354 if you'd like to test it out (if it is what you're after).

Thank you EspadaV8, I'll try it soon.

Also ran into this issue, except I need to format as $. What I expect to happen is gauge.label.format to be applied to gMin/gMax in https://github.com/masayuki0812/c3/blob/afa5f52ac759e4a1f3d118784bf25a22ba1d2621/src/arc.js#L399
gauge: {
label: {
format: function(value, ratio) {
return "$" + value;
},
show: true // to turn off the min/max labels.
},
...

@eregnier sorry for the late reply. Probably the quickest way to test it would be to do the following...
git clone git@github.com:EspadaV8/c3.git
cd c3
git checkout feature/gauge-min-max-formater
npm install
grunt

That should clone my copy, switch to the branch with the changes and then build c3.js and c3.min.js in the root folder with my changes included.
Another option would be to just copy my few changes into your own c3.js file. The locations will be different from the pull request but they should be easily findable.

ok, i will test. I just did not found the how-to about c3 but I am quite comfortable with node environment.

This is not good :/ http://pastebin.com/WCLWwM0E

I will test by modifying the c3js file directly

Please let me know if this can be closed

I believe the problem still exists.

I am not sure to understane today. I repaired my example, and it seems to work
https://jsfiddle.net/bt56r29q/693/
but the result display is so-so (I think I wanted % symbol displayed on each side of the gauche on the right of the 0-100 min max values.

@eregnier like this? https://jsfiddle.net/bt56r29q/694/

No idea what happened to that version, check this instead please - https://jsfiddle.net/bt56r29q/696/

The extra bit of code you're after is
extents: function(value, isMax) {
    return value + '%'
}

Well, I think I just needed the extents method override for what I wanted, I guess.
The final of what I wanted may be this https://jsfiddle.net/bt56r29q/698/.
This time it is clear that the issue is solved and C3 is still awesome !
thank you @EspadaV8 !

I can confirm this is working.
However, is usage of gauge.label.extents documented somewhere?

#2550


luci-proto-modemmanager: add luci-proto-modemmanager

Signed-off-by: Nicholas Smith<EMAIL_ADDRESS>

For use when https://github.com/openwrt/packages/pull/9137 is merged

I think this should actually go into the 18 branch, not master

I think this should actually go into the 18 branch, not master

I don´t think so 18.06 is feature complete.
We could add this to master and then backport this to openwrt-19.07 branch.

the PR this depends on was merged https://github.com/openwrt/packages/pull/9137
so I guess this can go in too now.

Sorry but we need to port this to javascript to get merged lua is not working anymore for proto!
We use now in master client side scripting.
All protocols in https://github.com/openwrt/luci/tree/master/protocols have been ported please use this as a pattern


Refactor CConfigIni

Context
The method LoadFromString was kinda long so I've splitted and refactored it into smaller methods. All in all this PR tries to reduce the extensive nesting that made it harder to read the code. If you have any suggestions feel free to suggest them.
Note: Whoops I see that my formatter wasn't configured yet to avoid formatting already commited code. There might be some changes that are just formatting related. The relevant changes happen in LoadFromString which uses the dict sectionProcess now to apply sub-methods.

Thanks for the review, @IepIweidieng! Unfortunately, my autoformatter touched a lot of other lines due to a misconfiguration. But there's a lesson here: We should probably agree on a formatter configuration so that we can run it across the entire project and ensure everything is consistently formatted as desired. This way, we can safely autoformat at the end of our work without causing unintended changes. We do have an .editorconfig, but it doesn’t seem to be consistently applied, and there are still many warnings. We can also run some GitHub Actions to automate this process.

Hello, thank you for your contribution!
Merging it right now as I'm planning to edit the Config.ini too, in order to avoid tough merges


Add From for Response

Hello,
Motivation
I've noticed that there's no From<T> implementation for Response<T> and thought it was worth having for the times when writing t.into() is snappier than Response::new(t).
Solution
I've added the trait impl.

I am trying to remember why we didn't include this. I know for requests we have IntoRequest.  But I can't come up with why we shouldn't include this. Would love to hear from others @neoeinstein @davidpdrsn

This is going to have to wait for the next breaking change release.


IntentTEDPolicy: rasa interactive updates

Proposed changes:

Adapts rasa interactive to IntentTEDPolicy (action_unlikely_intent)
fixes #8421

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

There are literally no tests for rasa interactive and _validate_action function that's why nothing was added here as well. Probably the right action would be to add an issue to add tests for rasa interactive.


Feature header levels in subclass journal pages should be H4s

The class journal page has H4s for the feature headers, while the subclass page is currently using H5s.

Never mind, this is me playing myself and forgetting that those header levels are based off the level of the journal page itself.


Cannot encoding string parameter with '&' correctly.

Tring to create a function with
 [Get("/api/cases/statistics/{countyId}/{judgeId}/{reliefSought}/DecisionTimeByReleifSought")] Task<JudgeReliefSought5NumberSummary> GetJudgeReliefSought5NumberSummary(string countyId, string judgeId, string reliefSought);
However, when I set
var reliefSought = 'JUDGMENT OF FORECLOSURE & SALE' with & inside.
The function cannot encoding this correctly and request the right url.

I'm not really sure that refit should do anything about this, you can always encode the fragment yourself if you want to pass refit invalid url text.


Upgrading to Nuxt V4

Given that Nuxt v4 will likely be shipping on June 14 2024 (see here https://nuxt.com/blog/looking-forward-2024). This is an initial issue to discover what is to upgrade this plugin to Nuxt v4]
Also we should get this updated as well https://github.com/nuxt/modules/blob/main/modules/wp-nuxt.yml see #76

There is now an Upgrade Guide on the Nuxt website migration guide: https://nuxt.com/docs/getting-started/upgrade
I created this branch to start testing the module in Nuxt v4 compatibility mode: https://github.com/vernaillen/wpnuxt-module/tree/74-upgrading-to-nuxt-v4

Also we should get this updated as well https://github.com/nuxt/modules/blob/main/modules/wp-nuxt.yml see #76

That's a good idea, but first I think new WPNuxt module should be stable and there's still some work on the documentation.

@vernaillen thanks for doing this.  I'll begin testing next week. I'm located in Australia. Perhaps we could set up a time to chat. I would like to collaborate with you on this.


On-Premise Gateway Data Source Config for API query

How do you configure a new data source in the On-Premise gateway for an API? I can see that an authentication method is required. Where should the service account be added to give it permissions to run this query?

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

ID: 0abefda3-86b0-ed2c-1ce2-1f2d7cc175ad
Version Independent ID: e4625f13-77b4-6f48-41c8-5ac6be626063
Content: Export to Power BI from Azure Application Insights
Content Source: articles/application-insights/app-insights-export-power-bi.md
Service: application-insights
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@pcl-houghton This is an edge case for Application Insights that may be better answered on the forums but I believe what you are looking for is covered in the Power BI documentation that describes how to set up an On-premises data gateway (specifically looking at Windows Service account).
Try going through the following documentation:
https://docs.microsoft.com/en-us/power-bi/service-gateway-onprem#windows-service-account
If you still are running into problems, the best place for specific answers about implementations are going to be the forums:
https://social.msdn.microsoft.com/Forums
https://stackoverflow.com/
We actively look through posts in the forums, and will do our best to get you going in the right direction.  If you have any document specific questions (or suggestions), please tag me in your reply and I would be happy to continue the conversation.


MINOR: Remove unused and unneeded Cluster object

We seem not to be using this class anymore and it is not a public API.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

This is tied to removal of ZkUtils. Will close.


➕ Add new flairs

This pull request adds even more flairs as requested by some of the people interested in the extension.
I have made the needed edits to the API repository and the pull request is here: https://github.com/benawad/vscode-stories-api/pull/5
If anybody would like to see more flairs just write a comment with the language you would like to see and I will add it.
If you have a suggestion for the flair description write it also with the language 🚀
Languages Added:

[x] Python
[x] Dart
[x] Java
[x] C
[x] C++
[x] C#
[x] Kotlin
[x] GO
[x] Swift

I was also adding these, I guess I don't have to now

Updated, no changes to Flair. Looks the same as before

@breadnone I removed the VSCode setting and it's now under the command palette if you search for flair


Cannot merge built-in DOM interfaces

TypeScript Version:  2.0.2
Code
interface Document {
  readonly mozFullScreenElement: Element;
}

console.log(document.mozFullScreenElement);

Expected behavior:
No compile errors (1.9.0-dev did not output any errors)
Actual behavior:
Property 'mozFullScreenElement' does not exist on type 'Document'.

I am not getting any issues in 2.0.2.
It is likely that this code is contained in a module and you are not addressing the global interfaces.  For example this works when dealing with augmenting global interfaces in a module:
declare global {
	interface Document {
		readonly mozFullScreenElement: Element;
	}
}

console.log(document.mozFullScreenElement);

export default {};

Thanks, that did the trick!


Support setting an origin when using resumable upload

Related:

https://github.com/GoogleCloudPlatform/gcloud-node/issues/818#issuecomment-178124099
https://github.com/stephenplusplus/gcs-resumable-upload/issues/6

This will include a breaking change.
// Before
file.createResumableUpload(metadata, callback);

// After
var options = {
  metadata: {},
  origin: '*'
};

file.createResumableUpload(options, callback);

@gotmikhail - pulling you over here so you can track this.
I released<EMAIL_ADDRESS>with support for an origin option: https://github.com/stephenplusplus/gcs-resumable-upload/commit/8f961676fd7c3a7afef8a9707c8b7fbb9c15138e. So, that's available to use immediately until it makes it into gcloud-node.

Here's what I've implemented:
var uploadConfig = {
    origin: '*',
    metadata: metadata,
    file: targetFile,
    bucket: targetBucket,
    authConfig: {
        keyFilename: sails.config.storage.cloudStorage.keyfile
    }
};
gcloudUpload.createURI(uploadConfig, function (err, uri) {
...
});

But, still getting No 'Access-Control-Allow-Origin' header on the client. Any thoughts on what I'm doing wrong?

@janesconference I'm sorry to bother you again. If you get a minute, do you have any insight on @gotmikhail's issue?

@janesconference @stephenplusplus
I couldn't get the wildcard to work, but I did hard-code the origin and got that through w/ no xhr issues. I'm still having an issue with writing out the file successfully, getting a 200 back from the PUT request, the file is listed in Cloud Storage, Content-Type is correct, but unable to properly load the file. That may be fully on our side.

@gotmikhail
I never tried with the wildcard, but sure it's working for me with the correct origin.
For this to work on the client, though, you have to set CORS in your target bucket appropriately.
You'll then be able to PUT your chunks on that address as multiple of 256k, get a 308 for each of them, then PUT the final one with a Content-Range end value, and get a 200. The process is described here and it's quite tricky.


Ability to save as torrent file or send request

This is a feature request. I recently switched over to cloud based downloading using a service called seedr (www.seedr.cc). I have Catch set to not automatically download, but it saves the magnet links as webloc files which the seedr website does not recognize. If it is possible, to save as a torrent file or to to send the request to the seedr website or any cloud based service specified would be very useful. Thanks.

Just go into ShowRSS and switch the feed to not use magnets, then use this new feed URL in Catch. Then Catch will save .torrent files.


ChromeRestClient does not use chrome's proxy like SwitchySharp

Your description here
Expected outcome
What should happen?
ChromeRestClient should respect chrome's proxy settings when ARC cookie exchange
Actual outcome
What happened?
Nothing
Versions
App: <IP_ADDRESS>-stable
Chrome: 51.0.2704.103
Platform: Windows (7)

Hi,
Thanks for an issue report.
Chrome apps can't control behaviour if it comes to proxies. ACE uses XHR in extensions environment so it shares network state with Chrome. This means that the app is working as it worked before. In the app I can't control if it use one proxy or another. It just uses Chrome network settings. If it is not working with you it may suggest Chrome issue not the app.
I can't see how it may not work. Can you add some details here about the behaviour?

I'm closing this issue due to inactivity. Feel free to reopen it if needed.


fixed apcnet causing crash

Fix for Round Restart causing a Crash on Content.Server
Noticed this while I was messing around in the admin menu. Calling round restart (or round end for that matter) from the admin menu caused Content.Server to receive a fatal error. After a bit of debugging, it appears to be because the ApcNetSystem is not properly reset on round restart, and continues to query about mapdata that no longer exists. I've implemented a fix for this, by resetting the list of apcs in the system upon round restart.
Here's the initial stack trace I used to track down the error:
   at System.Collections.Generic.Dictionary2.get_Item(TKey key)
   at Robust.Shared.Map.MapManager.GetGrid(GridId gridID) in C:\My Stuff\Game Making\SS14\space-station-14\RobustToolbox\Robust.Shared\Map\MapManager.cs:line 470

   at Robust.Shared.Timing.PauseManager.IsGridPaused(GridId gridId) in C:\My Stuff\Game Making\SS14\space-station-14\RobustToolbox\Robust.Shared\Timing\PauseManager.cs:line 94

   at Content.Server.GameObjects.EntitySystems.ApcNetSystem.Update(Single frameTime) in C:\My Stuff\Game Making\SS14\space-station-14\Content.Server\GameObjects\EntitySystems\ApcNetSystem.cs:line 23

   at Robust.Shared.GameObjects.EntitySystemManager.Update(Single frameTime) in C:\My Stuff\Game Making\SS14\space-station-14\RobustToolbox\Robust.Shared\GameObjects\EntitySystemManager.cs:line 258

   at Robust.Shared.GameObjects.EntityManager.Update(Single frameTime, Histogram histogram) in C:\My Stuff\Game Making\SS14\space-station-14\RobustToolbox\Robust.Shared\GameObjects\EntityManager.cs:line 88

   at Robust.Server.GameObjects.ServerEntityManager.Update(Single frameTime, Histogram histogram) in C:\My Stuff\Game Making\SS14\space-station-14\RobustToolbox\Robust.Server\GameObjects\ServerEntityManager.cs:line 957

   at Robust.Server.BaseServer.Update(FrameEventArgs frameEventArgs) in C:\My Stuff\Game Making\SS14\space-station-14\RobustToolbox\Robust.Server\BaseServer.cs:line 564

   at Robust.Server.BaseServer.<MainLoop>b__44_1(Object sender, FrameEventArgs args) in C:\My Stuff\Game Making\SS14\space-station-14\RobustToolbox\Robust.Server\BaseServer.cs:line 408

   at Robust.Shared.Timing.GameLoop.Run() in C:\My Stuff\Game Making\SS14\space-station-14\RobustToolbox\Robust.Shared\Timing\GameLoop.cs:line 192

   at Robust.Server.BaseServer.MainLoop() in C:\My Stuff\Game Making\SS14\space-station-14\RobustToolbox\Robust.Server\BaseServer.cs:line 414```

I'm unaware of any issues with this specific problem, so I can't link any in this PR.

Currently looking into the issue. The real issue seems to be ApcNets not clearing themselves when all entities are deleted during round restart, with this acting as a bandaid of sorts.

Normally, deleting an entity with a NodeContainerComponent queues up the related NodeGroup to be remade, but during restart this doesn't happen until after the grid is invalid.
So, this seems to be the easiest way to handle this issue.


Specify API-level search timeout to reduce hard timeout errors.

See #71 for context.
https://github.com/lbryio/hub/issues/71#issuecomment-1218357115
The effect should be that the ES server side will notice that time budget has run out. Then it should return partial results without an error. This may make things smoother for clients, though it means that results might not be complete until performance blip goes away.
I've run some of the lbry-sdk integration tests (tests/integration/claims).

Need to look into whether the metrics can be updated when the new type of timeout produces incomplete results.


UnhandledPromiseRejectionWarning (after MMM-Remote-Control module setup)

Platform: Chromium (latest), RPi3B
Node Version: 9.11.1
MagicMirror Version: v2
Description:
Getting error from MMM-Remote-Control module.
Steps to Reproduce:

Install MMM-Remote-Control:
cd ~/MagicMirror/modules
git clone https://github.com/Jopyth/MMM-Remote-Control.git
cd MMM-Remote-Control
npm install

Add module to ~/MagicMirror/config/config.js and update MMM-ModuleScheduler config to turn monitor on/off:

                {
                        module: "MMM-ModuleScheduler",
                        config: {
                               notification_schedule: [
                                        {notification: 'REMOTE_ACTION', schedule: '00 23 * * *', payload: {action: 'MONITOROFF'}},
                                        {notification: 'REMOTE_ACTION', schedule: '45 6 * * *', payload: {action: 'MONITORON'}},
                                ],
                        }
                },
                {
                        module: 'MMM-Remote-Control',
                        position: 'bottom_right'
                },

Run as server:
cd ~/MagicMirror && node serveronly

Expected Results:
smooth sailing
Actual Results:

Configuration: see above

Please create an issue in the repository of this third party module. Thanks.

I got a pretty similar error log:
(node:8419) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'hash' of null
(node:8419) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:8419) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'hash' of null
(node:8419) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): TypeError: Cannot read property 'hash' of null

...
(node:8419) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 486): TypeError: Cannot read property 'hash' of null
(node:8419) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 487): TypeError: Cannot read property 'hash' of null

I cannot see that the issue is related to a specific module from the log alone. (PS: Could you please add timestamps to the logging? This is really a mess to debug - I can't correlate the events with other information I get because of missing timestamps).
@MichMich could you please help me to identify the source/module where the exception is thrown? Do you need an own issue for this? My guess would be that this happens when the RasPi (connected via WiFi) loses the connection.
Greetings, Rico

For further discussion: https://github.com/Jopyth/MMM-Remote-Control/issues/87


Put back webpack cheap-module-source-map

https://github.com/webpack/webpack/issues/3579
https://github.com/webpack/webpack/issues/4423

Closing because of Next Este. It's up to Next.js to set it.


Adds new routes

Adds CityListSection route and CityFairList route

We're going to merge as-is and add the routes for the other VC's once they're ready.


WIP: Add UCX v1.7 (dev version)

Builds a development version of 1.7 (not yet released). Basically contains the contents of PR ( https://github.com/conda-forge/ucx-split-feedstock/pull/3 ) with the history cleaned up a bit.

It looks like OpenUCX is working on tagging the RC ( https://github.com/openucx/ucx/pull/4338 ). So we should be able to use that.

Closing this out and replacing it with PR ( https://github.com/rapidsai/ucx-split-feedstock/pull/4 ). Can follow-up on further refinements to versioning in a subsequent PR.


[fix](jdbc catalog) Change Druid Pool dependency to version 1.2.5

Proposed changes
Issue Number: close #xxx
Since we depend on druid version 1.2.11, we will encounter the following warning when compiling, so we switch back to 1.2.5. However, please note that this version may have a connection leak problem when keepalive is turned on, so please use the keepalive function with caution
Caused by: org.apache.maven.model.building.ModelBuildingException: 2 problems were encountered while building the effective model for com.alibaba:druid:1.2.11
[ERROR] 'dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is ${project.basedir}/lib/openjdk-1.8-tools.jar @ line 645, column 16
[ERROR] 'dependencies.dependency.systemPath' for com.sun:jconsole:jar must specify an absolute path but is ${project.basedir}/lib/openjdk-1.8-jconsole.jar @ line 653, column 16

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Small Typos

Awesome, awesome tutorial! Two typos -- "defintion" should be "definition", and in several places "webhooks" is written as "web hooks" (particle.io seems to have it as a single word).

fixed (actually fixed 18 days ago but forgot to close issue)


Inhibitor Obelisk doesn't prevent endermen from teleporting

endermen don't seem to be phased by the obelisk. See attached picture, where the range that covers the entire area is visible in white and yet there are two endermen who teleported out of the spawner area.
Also there are minor graphical bugs. The power bar of the obelisk isn't quite right and when it's in the players inventory it screws up the graphic of the shield slot.
https://imgur.com/a/qal1c
1.10.2-<IP_ADDRESS>-beta

The inhibitor prevents teleporting into its range, not out of. Also, I don't think it effects mobs, but I'll have to check the sources again.
About the rendering issues: I'll look into that.

Okay. Maybe a tooltip that is a bit clearer would be good then. At the moment it says "prevents teleporting within it's range of effect.". I read that as there isn't any teleporting within it's range, period. It also says nothing about mobs not being effected.
These endermen teleported from one point inside the area of effect to another, still inside the area.

So, this should do what's expected. There are two error cases left:

teleporting through its area of effect still works, jus into and out of are prevented
Shulkers are uneffected (see https://github.com/MinecraftForge/MinecraftForge/issues/3383 )


Feature request - filter by multiple upgrades

Hi, it would be nice if we can filter items by multiple attributes - with "or" or "and". E.g. I want to list all items for Grain Farm with productivity(order desc) and Workforce needed. Maybe list these first and after a line list rest of items for the Grain Farm.
Make filter more flexible 🙂

Thank you for submitting this idea. I have four possible soultions:

enable multiselection for the "upgrade" filter, all selected values would be combined with "and" (see screenshot)
enable multiselecton additionally for the "Building" filter
additionally add a switch that switched between "or" and "and" mode
somehow make it possible to decide for every filter value if it should be "and" or "or" combined

option 1. and 2. are easy to implement, 3. will take longer and 4. is very complex. would solution 1 or 2 be enough to solve your issues?


[hotfix] Using commons-lang3 for exception checking

What is the purpose of the change
The cause instanceof FlinkJobNotFoundException cat't catch the exception
... SessionJobReconciler [ERROR][.../...] Failed to cancel job fffffffffab07a8e0000000000000001, will reschedule after 5000 milliseconds.
java.util.concurrent.ExecutionException: org.apache.flink.runtime.rest.util.RestClientException: [org.apache.flink.runtime.rest.handler.RestHandlerException: Job could not be found.
	at org.apache.flink.runtime.rest.handler.job.JobCancellationHandler.lambda$handleRequest$0(JobCancellationHandler.java:128)
	...
Caused by: org.apache.flink.runtime.messages.FlinkJobNotFoundException: Could not find Flink job (fffffffffab07a8e0000000000000001)
	at org.apache.flink.runtime.dispatcher.Dispatcher.cancelJob(Dispatcher.java:749)
	...
Caused by: org.apache.flink.runtime.rest.util.RestClientException: [org.apache.flink.runtime.rest.handler.RestHandlerException: Job could not be found.
	at org.apache.flink.runtime.rest.handler.job.JobCancellationHandler.lambda$handleRequest$0(JobCancellationHandler.java:128)
	...
Caused by: org.apache.flink.runtime.messages.FlinkJobNotFoundException: Could not find Flink job (fffffffffab07a8e0000000000000001)
	at org.apache.flink.runtime.dispatcher.Dispatcher.cancelJob(Dispatcher.java:749)
	...

Brief change log
Using Apache commons lang for exception cause checking
Verifying this change

This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changes to the CustomResourceDescriptors: (no)
Core observer or reconciler logic that is regularly executed: (yes)

Documentation

Does this pull request introduce a new feature? (no)

Thanks @haoxins for the fix!
The checkstyle[1] is not passed, please run mvn spotless:apply and try to build on your Local first, thanks~
[1] https://github.com/apache/flink-kubernetes-operator/actions/runs/8778998199/job/24132429588?pr=818#step:5:11735

done


feat: Add collect and collectFirst functions

Description
Adds two new functions: collect and collectFirst. See more info/discussion in #269.

collect - Map+filter operation where undefined transformations are filtered out
collectFirst - Map+find operation where the first defined transformation is returned

Checklist

[X] Changes are covered by tests if behavior has been changed or added
[X] Tests have 100% coverage
[X] If code changes were made, the version in package.json has been bumped (matching semver)
[X] If code changes were made, the yarn build command has been run and to update the cdn directory
[X] If code changes were made, the documentation (in the /docs directory) has been updated

Resolves
Resolves #269

@rayepps bump

Hey @adamhamlin thanks for the PR 🙏 and apologies for the delay 🙃 I think the collect function as you've implemented it is super similar to the existing select function. Although, there is no selectFirst.

Hey @adamhamlin thanks for the PR 🙏 and apologies for the delay 🙃 I think the collect function as you've implemented it is super similar to the existing select function. Although, there is no selectFirst.

Yes, I definitely agree that collect and select are duplicative. Reworking this PR to add selectFirst is certainly doable, but as I kind of alluded to in the associated issue, I think the semantics of collect and collectFirst are preferable--namely, using a single function arg instead of 2.
In practice when using collect, I find myself doing something like the following that would require some code duplication using select, for example:
const selectRes = select(
    myArr,
    (someObj) => someObj.nestedProp.valueIWant,
    (someObj) => someObj.nestedProp.valueIWant !== undefined
);
// versus...
const collectRes = collect(
    myArr,
    (someObj) => someObj.nestedProp.valueIWant
);

Obviously, it's up to you. Ultimately, if we go with collect/collectFirst, it would probably warrant deprecating select at some point.
This PR has conflicts now, so I'll wait to hear back from you before fixing those up.


Update incident response process to isolate per-incident communication so the main channel doesn't become too cluttered.

DevEx/OpEx
Update incident response process to isolate per-incident communication so the main channel doesn't become too cluttered (e.g. a temporary room or thread; possibly created via PagerDuty; as a way to handle multiple in-progress incidents).
Tasks

[ ] Something.

Additional Context
Add any other context or screenshots about the work here.

I'm happy to take this one

I added a call out to this block about creating Slack threads for multiple incidents
https://www.notion.so/flexion-cdc-ti/Process-92fb2c124c4146faa69429ec017902b0?pvs=4#240ccfc9d5854a36bfefda40640f7b32

Here is a link to the block with the updates: https://www.notion.so/flexion-cdc-ti/Process-92fb2c124c4146faa69429ec017902b0?pvs=4#10b5955365f580149c39e88331bf882e

I reviewed the section and this change looks good.

Section looks good.


Bug: @lexical/code/LexicalCode.d.ts is not a module.

Lexical version: 0.2.1
Steps To Reproduce

yarn add @lexical/code
import {registerCodeHighlighting} from '@lexical/code';

I'm currently trying to follow Lexical document's Powerful Features with typescript.
import {registerCodeHighlighting} from '@lexical/code' can't be done since LexicalCode.d.ts is not defined.

The current behavior
can't import {something} from '@lexical/code'
The expected behavior
can import {something} from '@lexical/code'

@zurfyx is this fixed in 0.2.2?

Yes! File types were missing - https://github.com/facebook/lexical/pull/1818


Perf improvements for SITL

This shows the CPU cycles used in SITL, master (user-space only):

The top one px4_ioctl is called by orb_check. Then the other top contributers come from locking, namely 2 places: hrt_absolute_time and the DriverFramework, they all use pthread_mutex_lock:

The VDev::getDev() call is called from px4_access, which is called from orb_exists.
This PR improves the VDev::getDev() call by using a std::map (the following includes https://github.com/PX4/DriverFramework/pull/220 as well):

There is still room for improvements, especially in the DriverFramework and hrt_absolute_time.

@dagar was concerned about the orb_check() performance issues. Maybe we can do something more regarding its usage?

@bkueng what are you using to generate the graphs?

@nicolaerosia that's kcachegrind. https://github.com/PX4/Firmware/pull/6521

Exactly. Run it with ninja jmavsim___callgrind to generate the data.

@nicolaerosia CI fails with:
../src/lib/DriverFramework/framework/src/DevMgr_Nuttx.cpp:116:91: error: no 'int DriverFramework::DevMgr::waitForUpdate(DriverFramework::UpdateList&, DriverFramework::UpdateList&, unsigned int)' member function declared in class 'DriverFramework::DevMgr'
 int DevMgr::waitForUpdate(UpdateList &in_set, UpdateList &out_set, unsigned int timeout_ms)

Could you have a look, as you did some cleanup there?

@bkueng could you please add a commit which nukes DevMgr::waitForUpdate from DriverFramework/framework/src/DevMgr_Nuttx.cpp ? Somehow this slipped DriverFramework CI

@bkueng could you please add a commit which nukes DevMgr::waitForUpdate from DriverFramework/framework/src/DevMgr_Nuttx.cpp ?

Done. Was simpler than I expected.


Make doRequest and doHttpRequest easier to extend

Introduce and use doRequest2 and doHttpRequest2 that accept a single object instead of 8 arguments including 6 optional ones.
This should improve readability, especially if we ever decide to add more arguments.
In particular, we introduce one more option logErrors that may be used to disable logging of HTTP-level errors when they do not represent actual errors.

Closing as the changes appear to be abandoned - please open a new PR if needed.


Firefox shows -1 threads

Donn said something about root cause, but didn't write it down.

Fixed the possibility to show -1 thread count.
Need to check return code from OS code getting proc/system values.

Fixed the possibility to show -1 thread count.
Need to check return code from OS code getting proc/system values.


Game Logic

Game logic that focuses on the creation of the game and the logic behind it to make it work.

Completed on GameLogic branch (I forgot to create the branch through this issue so it is not linked properly), which has been merged to main.