Startup slow on extremely large files

Hi @lukas-reineke!
When opening a c source file of 600,000 lines (https://github.com/latex-lsp/tree-sitter-latex/blob/master/src/parser.c), I noticed a startup time of 27,138 milliseconds. 7576 ms of these were due to VimEnter autocmds. When I removed the require('virt-column').setup({}) line from my config, the VimEnter time was around 4 ms.
I get that this normally isn't a problem, but I was wondering if it would be possible to just draw the virtual column line for just the current viewport (I don't know if this is the right word, but I mean the lines currently visible). This would be more like the 'vim-way' of viewing a file.
Let me know what you think!
Thanks in advance for looking at this issue,
Yochem

Yeah.. I did not expect someone to open files this large.
I thought it would be more efficient to only draw the whole buffer once, and not update on every scroll event.
But I can change it.


"u" specifier doesn't works

Heey. I'm occuring a bug since a long time ago.
Copied/Pasted from a thread I wrote: http://forum.sa-mp.com/showthread.php?p=3953725#post3953725

Hello.
 Let's take the specifer "u". sscanf should return the first player with the name/part of name or return INVALID_PLAYER_ID if nobody is connected/+2 players with the same name. I'm right?
If yes, it doesn't work. It take only the first person with the name and doesn't consider others people.

Y_Less asked a minimal repro but yes, nothing else.

Apologize, that's my first "minimal repro"..
With the minimal repro, the output is not exactly the same thing.

#include <a_samp>
#include <sscanf2>

public OnGameModeInit()
{
	ConnectNPC("Jina_Sawyers", "onfoot_test");
	ConnectNPC("Jina_Crawford", "onfoot_test");
	ConnectNPC("Jina_Scott", "onfoot_test");
	ConnectNPC("Bot_Tox", "onfoot_test");
	ConnectNPC("Bot_Tax", "onfoot_test");
	ConnectNPC("Bot_Tix", "onfoot_test");
	return 1;
}

public OnGameModeExit()
{
	return 1;
}

main() {}

public OnPlayerSpawn(playerid)
{
	if(playerid != 5) // maxnpc 6 in server.cfg
		return 1;

	new targetid_array[6],
		player_name[MAX_PLAYER_NAME],
		targetid_value;

	print("Testing with : \"Jina_\"");
	sscanf("Jina_", "u[4]", targetid_array);
	for(new i; i < sizeof(targetid_array); i++)
	{
		GetPlayerName(targetid_array[i], player_name, sizeof(player_name));
		printf("[ARRAY] Player's ID %i - Name: %s", targetid_array[i], player_name);
	}

	sscanf("Jina_", "u", targetid_value);
	GetPlayerName(targetid_value, player_name, sizeof(player_name));
	printf("[SINGLE VALUE] Player's ID %i - Name: %s", targetid_value, player_name);

	print("Testing with : \"Bot_\"");
	sscanf("Bot_", "u[4]", targetid_array);
	for(new i; i < sizeof(targetid_array); i++)
	{
		GetPlayerName(targetid_array[i], player_name, sizeof(player_name));
		printf("[ARRAY] Player's ID %i - Name: %s", targetid_array[i], player_name);
	}

	sscanf("Bot_", "u", targetid_value);
	GetPlayerName(targetid_value, player_name, sizeof(player_name));
	printf("[SINGLE VALUE] Player's ID %i - Name: %s", targetid_value, player_name);
	return 1;
}

Output:
[CODE]Testing with : "Jina_"
[ARRAY] Player's ID 0 - Name: Jina_Sawyers
[ARRAY] Player's ID 1 - Name: Jina_Crawford
[ARRAY] Player's ID 2 - Name: Jina_Scott
[ARRAY] Player's ID 3 - Name: Bot_Tox
[ARRAY] Player's ID 4 - Name: Bot_Tix
[ARRAY] Player's ID 5 - Name: Bot_Tax
[ARRAY] Player's ID 65535 - Name: Bot_Tax
[SINGLE VALUE] Player's ID 0 - Name: Jina_Sawyers
Testing with : "Bot_"
[ARRAY] Player's ID 3 - Name: Bot_Tox
[ARRAY] Player's ID 65535 - Name: Bot_Tox
[ARRAY] Player's ID 2 - Name: Jina_Scott
[ARRAY] Player's ID 3 - Name: Bot_Tox
[ARRAY] Player's ID 4 - Name: Bot_Tix
[ARRAY] Player's ID 5 - Name: Bot_Tax
[ARRAY] Player's ID 65535 - Name: Bot_Tax
[SINGLE VALUE] Player's ID 3 - Name: Bot_Tox

I temporarily "solved" the problem by using kustom specifier.
ReturnUser(text[], playerid = INVALID_PLAYER_ID)
{
        new pos = 0;
        while (text[pos] < 0x21) // Strip out leading spaces
        {
                if (text[pos] == 0) return INVALID_PLAYER_ID; // No passed text
                pos++;
        }
        new userid = INVALID_PLAYER_ID;
        if (IsNumeric(text[pos])) // Check whole passed string
        {
            // If they have a numeric name you have a problem (although names are checked on id failure)
            userid = strval(text[pos]);
            if (userid >=0 && userid < MAX_PLAYERS)
            {
                if(!IsPlayerConnected(userid))  userid = INVALID_PLAYER_ID;
                else return userid; // A player was found
            }
        }

        new len = strlen(text[pos]);
        new count = 0;
        new name[MAX_PLAYER_NAME];
        foreach(new i : Player)
        {
                if (IsPlayerConnected(i))
                {
                        GetPlayerName(i, name, sizeof (name));
                        if (strcmp(name, text[pos], true, len) == 0) // Check segment of name
                        {
                                if (len == strlen(name)) // Exact match
                                {
                                        return i; // Return the exact player on an exact match
                                        // Otherwise if there are two players:
                                        // Me and MeYou any time you entered Me it would find both
                                        // And never be able to return just Me's id
                                }
                                else // Partial match
                                {
                                        count++;
                                        userid = i;
                                }
                        }
                }
        }
        if (count != 1)
        {
                if (playerid != INVALID_PLAYER_ID)
                {
                        if (count)
                        {
                                SendClientMessage(playerid, 0xFF0000AA, "Multiple users found, please narrow earch");
                        }
                        else
                        {
                                SendClientMessage(playerid, 0xFF0000AA, "No matching user found");
                        }
                }
                userid = INVALID_PLAYER_ID;
        }
        return userid; // INVALID_USER_ID for bad return
}

SSCANF:fix_u(player_name[MAX_PLAYER_NAME])
    return ReturnUser(player_name);

I'm not quite sure I understood your actual problem. Could you explain your problem more precise?
However, I took a closer look at the user array specifier, and noticed a bug where users would be added to the user array even though they have a completely different name.

Hello.
Let's asume two players called Jina_Sawyers (ID 6) and Jina_Crawford (ID 7). If I type a command with Jina in name, it will always return JIna_Sawyers ID 6.
It returns the lowest ID instead of INVALID_PLAYER_ID !

Where does it state that it should return INVALID_PLAYER_ID on multiple matches?

Are you actually talking about the CELLMIN_ON_MATCHES setting? Quoted from the sscanf2 thread:

Whatever the value of "MATCH_NAME_PARTIAL", the first found player will always be returned, so if you do a search for "_" on an RP server, you could get almost anyone. To detect this case, if more than one player will match the specified string then sscanf will return an ID of "cellmin" instead. This can be combined with "U" for a lot more power:
sscanf(params, "?<CELLMIN_ON_MATCHES=1>U(-1)", id);
if (id == -1)
{
	// No player was entered.
}
else if (id == cellmin)
{
	// Multiple matches found
}
else if (id == INVALID_PLAYER_ID)
{
	// Entered player is not connected.
}
else
{
	// Found just one player.
}


Extension published, tested, uploaded, refuses to install - "not found".

VSCode Version: 1.5.3
OS Version: Windows 10

I wrote a simple extension today and published it for use. 1.0.0 apparently published successfully and appeared on the marketplace and in the extensions list, but attempts to install it failed, as per this issue. I then wondered if the publish had silently failed somehow, so I published a minor 1.0.1 update, and that seemed to work. After I used it for a few minutes, I found a minor issue that I wrote a small fix for, and then published a 1.0.2 update, and though it appeared in the marketplace as it should, I was unable to update from 1.0.1. After I restarted vs code, the extension failed to load at all and I discovered that the extension folder had only a manifest file and none of the other files in the extension package. I tried then installing it from the command line and got an HTTP 500 error.
I then tried unpublishing and republishing, to no avail. I also tried updating the version to 1.0.3 and though the publish appeared to complete successfully, VS Code refuses to download and install it locally. I have verified with a friend who lives in different country and uses a different OS, and he is experiencing the same issue.
Steps to Reproduce:

Verify that the extension exists in the marketplace: https://marketplace.visualstudio.com/items?itemName=NathanRidley.autotrim
Try to install it in vs code ("autotrim")
Error: "extension not found"
Try installing from command line
"Extension 'NathanRidley.autotrim' not found."

Very likely duplicate of #12011

cc @modigrv @hamenon

Update: it just installed, finally. Server issue? CDN propagation? If the latter, might be worth factoring this into documentation or error messages to avoid developer confusion/frustration.

IMHO, timeout. Yesterday was the same. Previously, the extension was not displayed in the list of extensions until the expiration of a period of time. Now extensions appear immediately.

Great to know! I'm also positive that this is due to CDN propagation lag. I'll close it as a duplicate of #12011.


Error - SyntaxError: invalid syntax

Describe the bug
A clear and concise description of what the bug is.
Traceback (most recent call last):
File "pluget.py", line 12, in
from src.utils.utilities import check_requirements, api_test_spiget, check_for_pluGET_update
File "/home/ubuntu/pluget/src/utils/utilities.py", line 35
match command:
^
SyntaxError: invalid syntax
To Reproduce
Steps to reproduce the behavior:
1.install newest pluget from releases
2.install newest python3
3.run install_requirements_linux.sh
4.run pluget.py
5. See error
Expected behavior
Program should open, and work normally
Desktop (please complete the following information):

OS: ubuntu server 20.04 (x64)

Hey @siroo2137,
check that you have at least python 3.10.4 installed as noted in Installation
The traceback just says that python can't recognize the match keyword which was introduced in the new python version.

oh, thanks


Added settable weapon sound effect

If it is null, the shoot animation/sound is not played but the hitmarker is still sent to the shooter.
Otherwise, if the weapon effects are cached (user has equipped weapon at least once that round, can be forced using plugin magic on WeaponManager.NetworkcurWeapon), it will play that weapon's sound effect instead of the held weapon's sound effect.
Sorry for multiple MRs in 24h, thought of this just a few hours after last MR.

Oops, just remembered I should implement a setter for TargetPosition so I don't have to do it in another MR. Please wait until then since it should be within a day so I don't think closing and reopening is appropriate

Alright I ended up adding gettable/settable Direction instead since that's what main game does anyway.


Edit Profile link (/profile/edit/) results in AttributeError

I'm working with an essentially "raw" copy of the pinax-project-teams project, and having created a single user (a superuser account as well) named "trevor" and logged in, trying to edit the user profile errors out.
Starting from /u// and clicking the "Edit Profile" button leads to /profile/edit/, which throws: AttributeError: 'User' object has no attribute 'get_profile', which is called from <project_name>/<project_name>/profiles/views.py. I've included the stacktrace below, and can provide any of the info Django's debug capability provides (Request info & local vars, etc), just let me know.
I thought I'd try subclassing the django.contrib.auth.models.User object myself under project_name/project_name/profiles/models.py, but I'm rather new to Django and figure I'm likely to make it worse! ;-)  But I'll probably play with it anyway, and update here if I figure anything out.
Environment:
Request Method: GET
Request URL: http://arx:8000/profile/edit/

Django Version: 1.7.5
Python Version: 2.7.6
Installed Applications:
('django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.sites',
 'bootstrapform',
 'pinax_theme_bootstrap',
 'account',
 'eventlog',
 'metron',
 'easy_thumbnails',
 'kaleo',
 'teams',
 'wiki',
 'zenithapp',
 'zenithapp.profiles')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware')

Traceback:
File "/home/trevor/zenithproject/webapp/env/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  111.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/trevor/zenithproject/webapp/env/local/lib/python2.7/site-packages/django/views/generic/base.py" in view
  69.             return self.dispatch(request, *args, **kwargs)
File "/home/trevor/zenithproject/webapp/env/local/lib/python2.7/site-packages/account/mixins.py" in dispatch
  17.             return super(LoginRequiredMixin, self).dispatch(request, *args, **kwargs)
File "/home/trevor/zenithproject/webapp/env/local/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
  87.         return handler(request, *args, **kwargs)
File "/home/trevor/zenithproject/webapp/env/local/lib/python2.7/site-packages/django/views/generic/edit.py" in get
  225.         self.object = self.get_object()
File "/home/trevor/zenithproject/webapp/zenithapp/zenithapp/profiles/views.py" in get_object
  18.         return self.request.user.get_profile()
File "/home/trevor/zenithproject/webapp/env/local/lib/python2.7/site-packages/django/utils/functional.py" in inner
  225.         return func(self._wrapped, *args)

Exception Type: AttributeError at /profile/edit/
Exception Value: 'User' object has no attribute 'get_profile'

The issue is just another incompatibility of this project with Django 1.7 ( I chronicled the initial installation issues in a StackOverflow post ). The user.get_profile() method is deprecated in 1.7. Two minor edits resolve this problem. First, in profiles.models.py replace the Profile-User relationship with a OneToOneField including a back-reference:
class Profile(models.Model):
    # user = models.ForeignKey(User)
    user = models.OneToOneField(User, related_name="profile")

Then in profiles.views.py, update the get_object() call like so:
class ProfileEditView(LoginRequiredMixin, UpdateView):
   # ...
    def get_object(self):
        # return self.request.user.get_profile()
        return self.request.user.profile

I would make a pull request with the update, but I get the impression this particular repo isn't really being updated for Django 1.7. Rather it looks like pinax-project-account is replacing this 1.7 and onward.


Enchantment issue with fallen knights.

http://pastebin.com/d6v2fYgs

I think this may have been caused by a bug in EIO strangely. Could you update that to 2.2.6 latest?

<IP_ADDRESS>7?

Yes.

Running a spawner system with fallen knights and villagers time torched to attempt to duplicate with updated ender io, no results after about an hour.

It was probably due then to the missing Soulbound enchant (causing bugged items) in 2.2.5 of EIO. Closing this.


x/xerrors: update with new %w semantics

The launch decision on #29934 mentions changing fmt.Errorf to permit %w anywhere in the format string. golang.org/cl/176998 updated fmt at tip to support this, but xerrors.Errorf has not been given the new semantics yet. Since xerrors will presumably be used as a transition package for folks writing libraries that need to support older versions of Go, I think it's still worth updating xerrors to include this behavior.
@jba @neild
What did you do?
https://play.golang.org/p/rL3z0G4cmnR
What did you expect to see?
err2: foo bar
err3: bar: foo

What did you see instead?
err2: %!w(*xerrors.errorString) bar
err3: bar: foo

I ran into this myself. I tried to wrap with xerrors.Errorf("%w", err) and I was surprised when it didn't work. I debugged the wrong thing before changing it to ": %w".

I have a (clumsy, incomplete) fix for this at https://go-review.googlesource.com/c/xerrors/+/186957.

Would really like to see a fix for this too.

Any news on this issue?

I updated my CL to fix the problem @sidh pointed out. I'm waiting for a review.

Another issue which actually has a TODO in the code - https://play.golang.org/p/KJZ0Uirj48r

(First, that CL was submitted, but for some reason this bug wasn't closed. I guess that's a blessing in disguise :)
@sidh, there are several such problems that would require better parsing of the format string. However, since Go 1.14 is coming out shortly and it will make xerrors obsolete, I don't think it's worth fixing them.

To clarify: once 1.14 is out, the only two officially supported versions of Go are 1.13 and 1.14, both of which have the new errors support. So if you follow the official policy, you can remove xerrors from your code.

Yeah, I've updated our version already.
Problem with switching to stdlib version of errors is you will miss out on stack frames and neat formatting. May be there is another package out there, all compatible with 1.13 errors? I'd prefer not to write it myself if there is one.

Fixed in CL 186957.


Is it possible to create a new storage engine?

Hi,
Is it possible to create a new storage engine?
I want to use it as a parser for SQL queries, but I want to provide callbacks that will return data instead of providing data arrays.
Thanks.

Yep. Its possible. Just dive into the code and have a look at what is happening.


_umqtt_connect does not handle wifi reconnect

The device function does not handle a wifi reconnect.

Fixed with mqtt_as in v1.0.0-alpha.


Training my own database

What should I do to train my own database? Just replace the pictures in data folder or I should do something else?

Yes, just replace the pictures in data folder. Check $ python3 build_data.py --help to make sure how to specify the data folder :slightly_smiling_face:


Regression: compilation failure in boost/gil/extension/dynamic_image/any_image.hpp

Actual behavior
Code that was working fine in Boost. 1.73 now fails to compile:
antoshkka@antishkka-amd:/data/Boost-Cookbook-4880OS/Chapter12/07_gil$ g++-9 main.cpp -I /data/boost/
In file included from /data/boost/boost/gil/extension/dynamic_image/algorithm.hpp:11,
                 from /data/boost/boost/gil/extension/dynamic_image/dynamic_image_all.hpp:11,
                 from /data/boost/boost/gil/extension/toolbox/dynamic_images.hpp:11,
                 from /data/boost/boost/gil/extension/toolbox/toolbox.hpp:13,
                 from /data/boost/boost/gil/io/base.hpp:11,
                 from /data/boost/boost/gil/extension/io/png/tags.hpp:11,
                 from /data/boost/boost/gil/extension/io/png/read.hpp:13,
                 from /data/boost/boost/gil/extension/io/png.hpp:11,
                 from /data/boost/boost/gil/extension/io/png/old.hpp:11,
                 from main.cpp:17:
/data/boost/boost/gil/extension/dynamic_image/any_image.hpp: In substitution of ‘template<class T> using get_view_t = typename T::view_t [with T = boost::mpl::vector3<boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mp11::mp_list<boost::gil::gray_color_t> > >, false, std::allocator<unsigned char> >, boost::gil::image<boost::gil::pixel<short unsigned int, boost::gil::layout<boost::mp11::mp_list<boost::gil::gray_color_t> > >, false, std::allocator<unsigned char> >, boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mp11::mp_list<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t> > >, false, std::allocator<unsigned char> > >]’:
/data/boost/boost/mp11/algorithm.hpp:52:11:   required from ‘struct boost::mp11::detail::mp_transform_impl<boost::gil::detail::get_view_t, boost::gil::any_image<boost::mpl::vector3<boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mp11::mp_list<boost::gil::gray_color_t>, boost::mp11::mp_list<std::integral_constant<int, 0> > > >, false, std::allocator<unsigned char> >, boost::gil::image<boost::gil::pixel<short unsigned int, boost::gil::layout<boost::mp11::mp_list<boost::gil::gray_color_t>, boost::mp11::mp_list<std::integral_constant<int, 0> > > >, false, std::allocator<unsigned char> >, boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mp11::mp_list<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mp11::mp_list<std::integral_constant<int, 0>, std::integral_constant<int, 1>, std::integral_constant<int, 2> > > >, false, std::allocator<unsigned char> > > > >’
/data/boost/boost/gil/extension/dynamic_image/any_image.hpp:93:11:   required from ‘class boost::gil::any_image<boost::mpl::vector3<boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mp11::mp_list<boost::gil::gray_color_t>, boost::mp11::mp_list<std::integral_constant<int, 0> > > >, false, std::allocator<unsigned char> >, boost::gil::image<boost::gil::pixel<short unsigned int, boost::gil::layout<boost::mp11::mp_list<boost::gil::gray_color_t>, boost::mp11::mp_list<std::integral_constant<int, 0> > > >, false, std::allocator<unsigned char> >, boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mp11::mp_list<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t>, boost::mp11::mp_list<std::integral_constant<int, 0>, std::integral_constant<int, 1>, std::integral_constant<int, 2> > > >, false, std::allocator<unsigned char> > > >’
main.cpp:64:38:   required from here
/data/boost/boost/gil/extension/dynamic_image/any_image.hpp:31:7: error: no type named ‘view_t’ in ‘struct boost::mpl::vector3<boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mp11::mp_list<boost::gil::gray_color_t> > >, false, std::allocator<unsigned char> >, boost::gil::image<boost::gil::pixel<short unsigned int, boost::gil::layout<boost::mp11::mp_list<boost::gil::gray_color_t> > >, false, std::allocator<unsigned char> >, boost::gil::image<boost::gil::pixel<unsigned char, boost::gil::layout<boost::mp11::mp_list<boost::gil::red_t, boost::gil::green_t, boost::gil::blue_t> > >, false, std::allocator<unsigned char> > >’
   31 | using get_view_t = typename T::view_t;
      |       ^~~~~~~~~~

Expected  behavior
Code compiles and runs
C++ Minimal Working Example

#include <png.h>

// MinGW workarounds for https://svn.boost.org/trac10/ticket/3908 :
#ifndef png_infopp_NULL
#   define png_infopp_NULL NULL
#endif
#ifndef int_p_NULL
#   define int_p_NULL NULL
#endif

#include <boost/version.hpp>
#if (BOOST_VERSION < 106800)
#   include <boost/gil/gil_all.hpp>
#   include <boost/gil/extension/io/png_dynamic_io.hpp>
#else
#   include <boost/gil.hpp>
#   include <boost/gil/extension/io/png/old.hpp>
#endif
#include <boost/mpl/vector.hpp>

#include <string>

#include <cassert>

struct negate {
    typedef void result_type; // required

    template <class View>
    void operator()(const View& source) const {

// Code formatting is shifted left to fit page width
boost::gil::gil_function_requires<
    boost::gil::ImageViewConcept<View>
>();

typedef typename View::value_type value_type;
typedef typename boost::gil::channel_type<value_type>::type channel_t;

const std::size_t channels = boost::gil::num_channels<View>::value;
const channel_t max_val = (std::numeric_limits<channel_t>::max)();

for (unsigned int y = 0; y < source.height(); ++y) {
    for (unsigned int x = 0; x < source.width(); ++x) {
        for (unsigned int c = 0; c < channels; ++c) {
            source(x, y)[c] = max_val - source(x, y)[c];
        }
    }
}

    }
}; // negate

int main(int argc, char *argv[]) {
    assert(argc == 2);

    typedef boost::mpl::vector3<
            boost::gil::gray8_image_t,
            boost::gil::gray16_image_t,
            boost::gil::rgb8_image_t
    > img_types;

    std::string file_name(argv[1]);
    boost::gil::any_image<img_types> source;
    boost::gil::png_read_image(file_name, source);

    boost::gil::apply_operation(
        view(source),
        negate()
    );

    boost::gil::png_write_view("negate_" + file_name, const_view(source));
}

Taken from here: https://github.com/apolukhin/Boost-Cookbook/blob/second_edition/Chapter12/07_gil/main.cpp
Environment

Build settings: See all of them at https://travis-ci.org/github/apolukhin/Boost-Cookbook/builds/708924611
Version (Git ref or <boost/version.hpp>): develop version of Boost (1.74 beta is probably also affected)

It's a breaking change, admittedly not very well documented.
boost::gil::any_image<
    boost::gil::gray8_image_t,
    boost::gil::gray16_image_t,
    boost::gil::rgb8_image_t> source;

should work. No need for a MPL Sequence anymore since we have variadic template in C++11 (required for GIL since 1.68).

Basically, as part of C++11 modernisation started in Boost 1.78, we've removed uses of MPL (replacing them with MP11) in Boost 1.72.
Unfortunately, the changes in Boost 1.72 did not contain complete removal of indirect dependency on MPL (e.g. via Boost.Variant, etc.)
In Boost 1.74, thanks to @sdebionne contributions, we have completed the removal of, hopefully, any uses, direct or indirect, of  MPL.

I have updated our release notes to make the change clearer https://github.com/boostorg/gil/commit/f3ba17fc9e4a7bbacf7daf01db9e86f9005e9ee8

I did not know/or forgot about the Boost Cookbook. I think it is important piece of material and to keep it up to date. I will try to include it in my testing of GIL. Thanks @sdebionne for updating it.

It's a breaking change, admittedly not very well documented.
boost::gil::any_image<
    boost::gil::gray8_image_t,
    boost::gil::gray16_image_t,
    boost::gil::rgb8_image_t> source;

should work. No need for a MPL Sequence anymore since we have variadic template in C++11 (required for GIL since 1.68).

I've tried that and now GIL fails to substitute the apply_visitor: https://travis-ci.org/github/apolukhin/Boost-Cookbook/jobs/711455496#L2754

I think, I see the problem:

Although CI jobs passed for PR #491, that change was not verified by any of the C++11 mode builds.
It, possibly, was only verified by VS builds which are C++14.
That is due to, still, lack of proper coverages of dynamic_image with tests.

The Visitor argument of apply_operation changed from by-value to &&

Some of Visitor-s are passed by l-value reference, then in C++11 mode this typename Visitor::result_type simply fails and such apply_operation candidate template is simply ignored.

 It passed through the cracks unnoticed on my side too (std > c++11).

dynamic_image needs better test coverage for sure, I'll need to find some time to work on that.

Correct, it sounded sensible to use the same signature than the underlying variant.

I looked quickly at Boost.Variant2 implementation and given the complexity of the Vret<> metafunction, I would be tempted to use it:

 auto apply_operation(Variant1&& arg1, Visitor&& op)
 #if defined(BOOST_NO_CXX14_DECLTYPE_AUTO) || defined(BOOST_NO_CXX11_DECLTYPE_N3276)
-    -> typename Visitor::result_type
+    -> variant2::detail::Vret<Visitor, Variant1>

The problem is the usage of code in the detail namespace. Maybe @pdimov could comment on that?

Use decltype, it's C++11: -> decltype(variant2::visit(std::forward<Visitor>(op), std::forward<Variant1>(arg1)))

I knew there must be a clever way ;) Thanks @pdimov


clarity on what is needed to correctly create react hook

To be upfront - I'm not sure if my react-native code is faulty - or the yaml  or  index code generated....
I have this method -
  /api/health/ping:

    get:
      operationId: "getPing"
      tags:
      - Health
      responses:
        200:
          description: Success
          content: {}

it declares stuff as unknown
I get the impression - that we should warn users when they get this unknown model returened to bring attention to fix things first.
readonly getPing: () => Promise<unknown>;

readonly useGetPing: (options?: Omit<UseQueryOptions<unknown, unknown, unknown, readonly ["getPing"]>, "queryKey" | "queryFn">) => UseQueryResult<unknown, unknown>;

const axiosInstance:AxiosInstance = axios.create({
  baseURL: "https://api.setflow.com/",
  timeout: 3000,
  timeoutErrorMessage: 'Server down.. Please try after sometime.',
});
console.log("axiosInstance:",axiosInstance);
console.log("initialize:",initialize);
const config = initialize(axiosInstance);
const { useGetPing } = config.queries;
console.log("useGetPing:",useGetPing);

when I implement

function Ping() {
  const { data:any, isLoading, isError } = useGetPing();

  return (

Ping

        {isLoading ? (
          Loading...
        ) : isError ? (
       "error"
        ) : (
         "ok"
        )}

  )
}

then I end up here....

is it the unknown return type -
I'll have to cross reference the pets yaml.

@cn-johndpope no the runtime error is not related to the typescript type. If you see unknown it means the yaml is not properly specifying the response return types. I can see from your example that your response content is just {} so that is empty and produces the unknown. But this is unrelated to your react native crash.
Add the response types to your yaml and you'll get the proper typescript types inferred

Further info about describing responses can be found in the spec https://swagger.io/docs/specification/describing-responses/


Convert to Vite and Tauri/Screen system

Initally this was just gonna be a Vite/Tauri PR but I got sidetracked and added a screen system.
Closes https://github.com/ProtonDesigner/roadmap/issues/11

Building is obviously gonna fail as I'm no longer using Electron.


Internationalization in app/controllers/mixins/*.rb

Added or modified gettexts.

@mzazrivec please review

Reviewed, changes look good, OK to merge.


Til Øyvind

[ ] Control-page får riktig infoModal under classiefied og notclassified.
[x] Initializing this.variants: First time running sample-page and chosing sample there is an error of missing Genliste. Once a sample is chosen it never occurs again. However if this is not done, there can be other problems like not being able to load control page.

The second issue - initializing variants is because of this line:
Gene List: {{this.variants[0].Genelist}} | Tumor %: {{this.variants[0].Perc_Tumor}}
Where the page is trying to reach the Genelist, before the variants.table is loaded. The solution was to add a watcher and a loading-state. Now the page will not show before loading == false, which is dependant on the variants-table being loded. This change is in issue ed7a4ef.

[ ] Fix so control-page does not show error when trying to reload


removing 2.7 from travis

Removes 2.7 from travis

v0.10.4 is released which is the last version to support py2.7


Auto Zip Failing on All Images

How can we reproduce this bug?
When running npm run zip to produce a zipped version of the email an error is thrown when trying to add images to the zip. The error reports that the image files are missing.
What did you expect to happen?
A zip file created in the dist folder.
What happened instead?
This error occured.
C:\inetpub\wwwroot\emails\bre-19-004-edm>npm run zip

><EMAIL_ADDRESS>zip C:\inetpub\wwwroot\emails\bre-19-004-edm
> gulp zip --production

[11:14:19] Requiring external module babel-register
[11:14:20] Using gulpfile C:\inetpub\wwwroot\emails\bre-19-004-edm\gulpfile.babel.js
[11:14:20] Starting 'zip'...
[11:14:20] Starting 'build'...
[11:14:20] Starting 'clean'...
[11:14:20] Finished 'clean' after 10 ms
[11:14:20] Starting 'pages'...
[11:14:21] Finished 'pages' after 337 ms
[11:14:21] Starting 'sass'...
[11:14:23] Finished 'sass' after 2.26 s
[11:14:23] Starting 'images'...
[11:14:24] gulp-imagemin: Minified 6 images (saved 104 kB - 21.4%)
[11:14:24] Finished 'images' after 665 ms
[11:14:24] Starting 'inline'...
[11:14:25] Finished 'inline' after 949 ms
[11:14:25] Finished 'build' after 4.23 s
[11:14:25] Starting 'zip'...
[11:14:25] 'zip' errored after 145 ms
[11:14:25] Error: ENOENT: no such file or directory, open 'C:\inetpub\wwwroot\emails\bre-19-004-edm\assets\img\brett-logo.png'
[11:14:25] 'zip' errored after 4.38 s
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>zip: `gulp zip --production`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>zip script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

What email clients does this happen in?
None

I think the problem is with line 222 in the gulpfile.babel.js but I am struggling to debug it properly.
path.dirname = fileName + path.dirname.replace('dist', '');

The images should be added in C:\inetpub\wwwroot\emails\bre-19-004-edm\assets\img.

That is outside of the dist folder and would require being manually placed there.

Exactly.
See https://github.com/foundation/foundation-emails-template/tree/master/src/assets
It should be there.

It is then copied afaik.

It is done in the template. I would recommend to use the template or add the needed gulp task or copy them manually.
See https://github.com/foundation/foundation-emails-template/blob/master/gulpfile.babel.js#L87

The images are in the src/assets/img folder and they are copied fine if I run npm run build. Am I missing something?

Generally the mentioned line is not the issue as this is only for replacing strings in files.
https://github.com/foundation/foundation-emails-template/blob/master/gulpfile.babel.js#L221

Ah! I've figured it out!
I was using relative paths instead of including {{root}}.

Ah, right. Totally forgot that. Next time it would be helpful to have a reproducible testcase as repo or the code which causes the problem.
For reference if others face the same issue: https://foundation.zurb.com/emails/docs/panini.html#root


Emulate non-native instrs (e.g. uint128)

One can possibly fully/partially emulate uint128 functionality by representing as two uint64s or whichever other capabilities are available. One can implement this generically so that any uint e.g. uint64 can be emulated with lower capabilities, e.g. uint32.
While this emulation can be done on the user side, it seems cleaner to expose emulated capabilities.

One could possibly infer this at the instr emission stage from the operand ty. So at this point I’m not sure if the ty is rust types or SpirvType. I think it’s the latter.

Just to get some background to help us place this on the roadmap, what are the use cases you have in mind for u128? Have you seen emulated u128s elsewhere before (e.g. GLSL)?

Well the specific use-case I have is a 64 X 64 -> 128-bit wide mul and also add with carry used in cryptography.

Yeah, we already keep track of what capabilities are available, so that part shouldn't be too difficult. It's just a hacked-together thing at this point, though, https://github.com/EmbarkStudios/rust-gpu/issues/42 tracks making it actually be useful. We probably want to wait until that system is more thought-out before tackling this.

An additional note small note for feature orthogonality; it's unclear to me at this point how atomics would work on u128 and related types because of some of the remarks here: https://www.khronos.org/blog/comparing-the-vulkan-spir-v-memory-model-to-cs#_limited_forward_progress_guarantees (not saying it's impossible, just unclear to me).

Yes, atomics would be disabled if using this feature set, I don't see any issues there. (Assuming there's no workaround, but, I'd say it's a pretty reasonable assumption)

IIRC rustc used to have emulation for 128-bit integers on at least some targets, due to LLVM issues (sadly I don't remember more details). If someone wants to find that and retrofit it onto rustc_codegen_spirv, that might be an easy way to get support.

It might be worth trying the extrprim crate - the implementation for extprim::u128::u128 at first glance doesn't look like it uses anything we wouldn't support, and it is normally no_std

We discussed at the meeting today, and the consensus was that emulating wider integers such u128 isn't a priority for us, however we would accept a contribution from the community for it. Provided, that the code contributed is relatively straightforward and maintainable.

I don't think this is on the roadmap for us, and I'm not sure we would accept a community solution due to the maintenance burden, so closing this for now.

https://github.com/rust-lang/rust/issues/116909


[lightouse] update template & add "font sizes" reference

Hey @rviscomi and @kdzwinel, have a look at the reference for the "font size" audit, plz!
What's changed, or what was fixed?

update template for LH reference docs
add reference for "font sizes" audit

Fixes: N/A
Target Live Date: 2018-02-28

[ ] This has been reviewed and approved by @kdzwinel & @rviscomi
[x] I have run gulp test locally and all tests pass.
[x] I have added the appropriate type-something label.
[x] I've staged the site and manually verified that my content displays correctly.

CC: @petele

:+1:

:+1:

:tada: This has been pushed live to https://developers.google.com/web/


TEST - Check top level gradle properties file to verify build label patch

Not to be merged, this is just a check to see if the updated proto labeler will pick up on a top level file with the substring gradle in it (and with no prefix before gradle).

Closing this PR as it was only being used for a demo for proving the fix before merging the fix upstream.


Aleksey hariton master

I'm of the opinion that we should just merge this and work on anything else we need to change before releasing it


make index file sparse (no null props)

Hi,
the index.json file size is a critical limitation of this great plugin.
In my text index (which is too big with nearly 2MB) I saw that every document has a data structure.
    "1": {
      "id": 1,
      "title": "Category Examples Java",
      "url": "/complete-code-samples/java/CategoryExamples.html",
      "date": null,
      "categories": null,
      "tags": null,
      "is_post": false
    },

Including null values is inefficient, in size critical JSON it's better to completely omit the property.
Could be breaking to the client javascript, the client would have to be robust against missing keys (but maybe it is).

Will gladly accept a pull request if you are able to make this change?

sure :-)
I consider experimenting in a branch that uses lunr 2.0.x since that has a more space efficient index structure by design that is a more fundamental improvement than the incremental one this issue is about.  https://github.com/olivernn/lunr.js/blob/master/CHANGELOG.mdown#200
Is there already an initiative for that? I couldn't find an issue, branch or fork.
Pretty limited free time though at the moment.

@nkuehn I have nothing planned for lunr 2.0 so any contribution you can make is appreciated.

see PR :-)


➕Enhancement: Improving "UI and Functionality" Of the Feedback Form

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Hey @Anishkagupta04 and @varshith257,
Here is the the Enhancement I Propose to do -
Currently, the feedback form on the website requires improvements to enhance user experience and functionality.
I want to make several enhancements to the form to align it better with the website theme and improve usability.
Here is the current Feedback page -

Here's What Will I Do -

UI Enhancement: Update the UI to match the website theme for consistency and better user experience.
Rating System: Modifying the Rating system to make it more intuitive and user-friendly.
"Custom Success Popup": Implement a custom popup to notify users upon successful form submission.
Real Email Sending Integration: Integrate real email sending functionality using Formspree.io to notify the admin of new feedback submissions. (This is a great functionality to add )
Styling the Current "Submit" Button with much better Hover Effects!
Additionally, I will try to add animations wherever Needed.

I hope I was able to explain you the solution.
Please assign me this issue under GSSoC'24.
Use Case
If the feedback form itself has a creative UI and engaging functionalities, The user will tend to give feedbacks about the website often times.
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Hey @varshith257, Thankyou for assigning.
Should I Implement Real Email Sending Functionality using Formspree.io? (4th point mentioned in issue)
It's a efficient functionality!
(before merging the PR if Demo looks good to you, i'll just need your ID of Formspree to give you full access to receiving emails.)
Please confirm this one. I will do the Rest for sure.
This was my previous work using formspree.

Thankyou!

@aslams2020 Good idea! Maybe rather we receive emails for each rating better if we store ratings in the db and query as required

@varshith257, I understand your preference for storing ratings in the database and querying them . However, Implementing using Formspree.io is straightforward and enhances user experience.
Also I am Unsure of it that it will work fine or not. 😅
Should I Go with Formspree for now ?

Ok! If you are strongly agreed to work on it. Let's go. I will ask @Anishkagupta04 for FormSpree id


fix(query-core): abort fetch loop for infinite queries if getNextPageParam returns null or undefined

The fetchPage function has a safeguard where it only returns the current data if pageParam == null, however, this means we still stay in the loop and call getNextPageParam unnecessarily.
This can be troublesome if you set pages: Infinity on queryClient.fetchInfiniteQuery to fetch an arbitrary amount of pages until the natural end is reached by returning null/undefined from getNextPageParam, because it would never actually escape the loop

Thank you for the quick fix!


Indidvual group for indvidual admin user

How can i create different group for different admin user? I mean i have 2 admin user- admin1 and admin2 . Now I would like to add some groups for admin1 and some others for admin2. How can i achieve this?

Hi @ulshamim ,
We're using Cartalyst/Sentry for user management, for the full documentation, you can visit https://cartalyst.com/manual/sentry/2.1
The Group model consists of 2 parts: name and permission.
If you look at the default groups created, you should see:

name: Admin, permission: admin = 1
name: User, permission: user = 1

For the Redminportal admin page, we're only allowing users with permission 'admin = 1' to access it, if you look at app/filters.php, look for Route::filter('auth.member') at line 69, we're checking if user has that permission with this code:
if ( $user->hasAccess('admin') )

Read: https://cartalyst.com/manual/sentry/2.1#hasaccess-permission
If you need multiple groups with permission 'admin = 1', you can simply create more groups with different names.
For example, I have 2 groups with names "Admin_Super" and "Admin_Moderator", I can then use the following codes to decide what to show them:
// Find the Administrator group
$admin_super = Sentry::findGroupByName('Admin_Super');
$admin_moderator = Sentry::findGroupByName('Admin_Moderator');

// Check if the user is in the administrator group
if ($user->inGroup($admin_super))
{
    // User is in Admin_Super group
}
else if ($user->inGroup($admin_moderator))
{
    // User is in Admin_Moderator group
}
else
{
    // User is not in both Administrator groups
}

Read: https://cartalyst.com/manual/sentry/2.1#ingroup-group

I've added a Wiki page for this https://github.com/redooor/redminportal/wiki/2.-Group-Management

Ok. Is it possible to find find group by permission instead of name? Otherwise I can't show those particular groups which a particular admin user created.

You can get all users with specific permission, see https://cartalyst.com/manual/sentry/2.1#find-all-the-users-with-access-to-a-permissions-s
// Feel free to pass a string for just one permission instead
$users = Sentry::findAllUsersWithAccess(array('admin', 'other'));

However, it's probably better to control specific permission using the group name instead. Otherwise the permission array gets too long and it's difficult to quickly search for them.
The group name is a string in the SQL column. The query will run faster than searching through the concatenated array of permissions.

If you really need to get all groups with certain permission, then you need to use a custom query on the Group module instead of Sentry's Group, probably something like this (not tested):
Group::where('permissions', 'LIKE', '%admin%')->get();

Thank you very much :)


bug fix: embeddings -> embedding

wrong spelling in embedding

Hey @starrywheat there seems to be a conflict here. Could you address that?
also are you there on Discord? would love to chat more there 🙂

Hey @starrywheat after thinking a bit more about it I think it's better with embeddings because the langchain base class is named embeddings. It's a minor detail but I feel it would avoid a small confusion down the line.
I'm closing this now but feel free to reopen with your reasons if you still feel that change is needed.

@jimachan there is still bug unfixed.
The class variable self.embedding  is not consistent in the script. Let's make them all to self.embeddings

ahh I see, my appologies then. I'm reopening this and we can work off this PR itself.

@jjmachan Thanks for reopening the PR.
I created the misspelling in the first place, so I feel like I have  to fix it :)
And according to your suggestion, I have now use self.embeddings for all the variable name.

Thank you @starrywheat for going through the trouble :)

Hey @starrywheat
Thank you so much for helping us improve ragas with your PR ❤
Now since it's Christmas and all we wanted to send you a postcard and a couple of stickers as our way of saying thank you for your contribution. If you are interested could you shoot an email at<EMAIL_ADDRESS>and I'll tell you more?
Cheers 🙂
Jithin


License Missing

Hi, there seems to be no licensing information attached to this repo, please could you add a license spec?
(I'm sort of assuming MIT but ...)

@oddjobz it is included in the package.json field.


Fix typo: exportfs=>exports and offical=>official

exportfs is correct, please remove that change, @angao

/lgtm
/assign @kbarnard10 for approve label (blog post, I do not have approval right)

/assign @kbarnard10 for approve label (blog post, I do not have approval rights)


zephyr_library_compile_options() fails to apply if the same setting is set for multiple libraries in a single project

Describe the bug
In a project that has multiple Zephyr libraries (created with either the zephyr_library() or zephyr_library_named() macros), using the zephyr_library_compile_options() function to apply the same option to multiple projects will only apply to the first.
I understand it is intended behavior to only apply a given option once to a given library (following CMake's example), but it seems to me that the same option should be able to be applied to multiple different libraries.
My tangible use case of this is if you are using out of tree modules to bring custom drivers into a project. In that case I want to apply different compiler error/warning settings different from Zephyr for my application code as well as my driver code. I set them for the implicit app library, but when I try to set them in my driver module, since those same compiler options have already been applied, they are getting silently dropped. (see 'Additional context' below for what I believe to be the root cause and a possible solution).
To Reproduce
Steps to reproduce the behavior:
The following code based off the hello_world example will reproduce this (zip file with this project is also attached: project_test.zip).
"CMakeLists.txt"
# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.13.1)

find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(hello_world)

zephyr_library_compile_options(-Werror=unused-variable)

target_sources(app PRIVATE main.c)

# Create a second lib
zephyr_library_named(foo)

# setting this will not get passed to compiling main.c for the foo lib
zephyr_library_compile_options(-Werror=unused-variable)

zephyr_library_sources(main.c)

"main.c"
/*
 * Copyright (c) 2012-2014 Wind River Systems, Inc.
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#include <zephyr.h>
#include <sys/printk.h>

static int unused_var;

void main(void)
{
	printk("Hello World! %s\n", CONFIG_BOARD);
}

"prj.conf"
# nothing here

in a workspace copy those files into a project_test folder
Build with west build -b native_posix project_test
You'll get an error for undefined variable in the main.c build with the app, but not the one for the foo library (just a warning).

Expected behavior
I would expect the compiler options to apply to both libraries.
Impact
This prevents people from applying the same compiler options to both their app and external modules. This limits the ability to have custom compiler behavior when working with custom drivers.
Logs and console output
[8/92] Building C object CMakeFiles/foo.dir/main.c.obj
/workdir/project_test/main.c:10:12: warning: ‘unused_var’ defined but not used [-Wunused-variable]
   10 | static int unused_var;
      |            ^~~~~~~~~~
[63/92] Building C object CMakeFiles/app.dir/main.c.obj
FAILED: CMakeFiles/app.dir/main.c.obj
ccache /usr/bin/gcc -DBUILD_VERSION=v2.6.0-rc1-ncs1 -DKERNEL -DUSE_PARTITION_MANAGER=0 -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED -D__ZEPHYR__=1 -I/workdir/zephyr/include -Izephyr/include/generated -I/workdir/zephyr/soc/posix/inf_clock -I/workdir/zephyr/boards/posix/native_posix -I/workdir/nrf/include -Os -imacros /workdir/build-hello/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -fdiagnostics-color=always -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/project_test=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -m32 -include /workdir/zephyr/arch/posix/include/posix_cheats.h -fno-freestanding -std=c11 -Werror=unused-variable -MD -MT CMakeFiles/app.dir/main.c.obj -MF CMakeFiles/app.dir/main.c.obj.d -o CMakeFiles/app.dir/main.c.obj -c /workdir/project_test/main.c
/workdir/project_test/main.c:10:12: error: ‘unused_var’ defined but not used [-Werror=unused-variable]
   10 | static int unused_var;
      |            ^~~~~~~~~~
cc1: some warnings being treated as errors

Environment (please complete the following information):

OS: Linux
Toolchain Zephyr SDK
Commit SHA or Version used: I'm on an older version through the Nordic SDK (v2.6.0-rc1-ncs1), but from code inspection this appears to still be an issue on main

Additional context
I think there is a pretty simple solution to this, providing that the above bug is not the intended behavior. In zephyr_library_compile_options() a given compiler option is given 'uniqueness' by taking the MD5 sum of it. If we included the library name within the data being hashed for uniqueness, a particular given option could be applied to any number of libraries, but still once and only once per a given library.
Currenly we have
string(MD5 uniqueness ${item})

I would propose a change to something like
string(MD5 uniqueness ${item}_${ZEPHYR_CURRENT_LIBRARY})

With that fix (and running with ninja -K 0 we get the expected output
FAILED: CMakeFiles/foo.dir/main.c.obj
ccache /usr/bin/gcc -DBUILD_VERSION=v2.6.0-rc1-ncs1 -DKERNEL -DUSE_PARTITION_MANAGER=0 -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED -D__ZEPHYR__=1 -I/workdir/zephyr/include -Izephyr/include/generated -I/workdir/zephyr/soc/posix/inf_clock -I/workdir/zephyr/boards/posix/native_posix -I/workdir/nrf/include -Os -imacros /workdir/build-hello/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -fdiagnostics-color=always -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/project_test=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -m32 -include /workdir/zephyr/arch/posix/include/posix_cheats.h -fno-freestanding -std=c11 -Werror=unused-variable -MD -MT CMakeFiles/foo.dir/main.c.obj -MF CMakeFiles/foo.dir/main.c.obj.d -o CMakeFiles/foo.dir/main.c.obj -c /workdir/project_test/main.c
/workdir/project_test/main.c:10:12: error: ‘unused_var’ defined but not used [-Werror=unused-variable]
   10 | static int unused_var;
      |            ^~~~~~~~~~
cc1: some warnings being treated as errors
[35/69] Building C object CMakeFiles/app.dir/main.c.obj
FAILED: CMakeFiles/app.dir/main.c.obj
ccache /usr/bin/gcc -DBUILD_VERSION=v2.6.0-rc1-ncs1 -DKERNEL -DUSE_PARTITION_MANAGER=0 -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED -D__ZEPHYR__=1 -I/workdir/zephyr/include -Izephyr/include/generated -I/workdir/zephyr/soc/posix/inf_clock -I/workdir/zephyr/boards/posix/native_posix -I/workdir/nrf/include -Os -imacros /workdir/build-hello/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -fdiagnostics-color=always -imacros /workdir/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/workdir/project_test=CMAKE_SOURCE_DIR -fmacro-prefix-map=/workdir/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/workdir=WEST_TOPDIR -ffunction-sections -fdata-sections -m32 -include /workdir/zephyr/arch/posix/include/posix_cheats.h -fno-freestanding -std=c11 -Werror=unused-variable -MD -MT CMakeFiles/app.dir/main.c.obj -MF CMakeFiles/app.dir/main.c.obj.d -o CMakeFiles/app.dir/main.c.obj -c /workdir/project_test/main.c
/workdir/project_test/main.c:10:12: error: ‘unused_var’ defined but not used [-Werror=unused-variable]
   10 | static int unused_var;
      |            ^~~~~~~~~~
cc1: some warnings being treated as errors

If this sounds reasonable I'm happy to open a PR with this change, but wanted to flight it here first as an issue to confirm this isn't the intended behavior first.

thanks for raising this.
A fix has been made here: https://github.com/zephyrproject-rtos/zephyr/pull/43909


deploy_tester_contract() does not reveal the error message

When deploy_tester_contract() causes a require() failure, deploy_tester_contract() raises an exception, but the exception does not contain the error message in require().
This issue keeps track of fixing deploy_tester_contract() so that it raises an exception with the error message.

This is because contract.constructor().transact() does not fire an informative exception.  Does anybody asking for that feature in web3.py?

The documentation of Web3.py does not mention what happens when the transaction fails for some reasons https://web3py.readthedocs.io/en/stable/contracts.html#web3.contract.Contract.constructor.

It's not special because it's a constructor. I was just using transact() not call().

Web3.py's ContractConstructor does not have call() method. It takes time to solve this one.


Azure B2C default Email Customization

Can't seem to find instructions on how to customize the default email verification email from Azure AD B2C.
See attached for default coming from our tenant.

Thanks
Kurt

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

ID: d9db8986-3f26-82e2-8985-69f06b74a3f4
Version Independent ID: 5db5d242-459d-4029-c815-40d0731e30a2
Content: Custom email verification with SendGrid - Azure AD B2C
Content Source: articles/active-directory-b2c/custom-email-sendgrid.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: @kengaderdus

@dev717
Thank you for your feedback!
The instructions to create a custom email verification with SendGrid should be under the Custom Policy Tab.

If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.

I saw this option, but I believe this would be a paid service, I am was thinking to customize the Azure B2C email directly.
Thanks
Kurt

From: James Tran-MSFT @.>
Sent: Monday, March 28, 2022 17:19
To: MicrosoftDocs/azure-docs @.>
Cc: Farley Reynolds @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Azure B2C default Email Customization (Issue #90627)
@dev717https://github.com/dev717
Thank you for your feedback!
The instructions to create a custom email verification with SendGrid should be under the Custom Policy Tab.
[image]https://user-images.githubusercontent.com/36619112/160488729-f1f6ee5c-486e-4198-bca4-5576dbaee824.png
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/90627#issuecomment-1081160221, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADX5XJ5ZXHFOA4HA5IJ367LVCIO5DANCNFSM5R4KKAFQ.
You are receiving this because you were mentioned.Message ID: @.***>

@dev717
Thank you for following up on this!
When it comes to using B2C Custom Policies this should be included with the B2C service. However, if creating Dynamic Transactional Templates within SendGrid is the paid service you're referring to, you'll have to reach out to the SendGrid support team to see if there are any workarounds for this.
As of right now, the only way to send a customized email within B2C would be through the Custom email verification within SendGrid. If you'd like another way to send customized emails, I'd recommend leverage our User Voice forum and create a feature request, so our engineering team can look into implementing this.
If you have any other questions, please let me know.
Thank you for your time and patience throughout this issue.


WinAppDriver cannot identify file explorer search campuses by name or id

I'm trying to run a program on winappdriver, but right after opening the program and selecting the option to import files, an error occurs when searching for the file explorer research campus by id.The error is this: OpenQA.Selenium.WebDriverException: 'An element could not be located on the page using the given search parameters.'
        WindowsDriver<WindowsElement> leafSession;
        AppiumOptions desiredCapabilities = new AppiumOptions();
        desiredCapabilities.AddAdditionalCapability("app", @"C:\Program Files (x86)\Viewer.lnk");

        leafSession = new WindowsDriver<WindowsElement>(new Uri("http://<IP_ADDRESS>:4723"), desiredCapabilities);
        System.Threading.Thread.Sleep(5000);

        //Open import option using the keyboard
        leafSession.Keyboard.SendKeys(Keys.Control + Keys.Shift + 'I');
        System.Threading.Thread.Sleep(2000);

        /*Id "1148" is the campus to do the search in the file explorer and the value of
        this search is "2328.lsc" o with Id "1" is the open button*/
        leafSession.FindElementById("1148").SendKeys("2328.lsc");
        leafSession.FindElementById("1").Click();

        //Execute and stop
        leafSession.FindElementByName("Executar").Click();
        leafSession.FindElementByName("Sim Enter").Click();
        System.Threading.Thread.Sleep(2000); ;
        leafSession.FindElementByName("Parar").Click();

The error occurs in leafSession.FindElementById ("1148"). SendKeys ("2328.lsc");
The locations that I need that I need to identify are represented in red in the image.

This is how I handle these kind of scenarios:
WebDriverWait driverWait = new WebDriverWait(driver, TimeSpan.FromMinutes(2));
driverWait.Until(ExpectedConditions.ElementExists(By.Name("Organize")));
driver.FindElementsByAccessibilityId("1148")[1].SendKeys(path);
Logger.Logger.LogInfo("Clicked on the filename");
Logger.Logger.LogInfo("Sending  path " + "C:\Myfiles\1.txt");
driver.FindElementsByName("Open")[1].Click();

Hello, I tried to implement the code that you passed, but there are several exceptions like in the "driver" and in the FindElements. I made an adaptation so that it could run with my script, but the same error still appears An element could not be located on the page using the given search parameters. ' This code that passed it is from winappdriver? I noticed that it looks a lot like Winium.

Can you check in inspect.exe if the dialog window is part of the same window?

Your adaptation of your code is correct.

how do I see if the dialog is part of the same window in inspect.exe?

Can we have a hangout call<EMAIL_ADDRESS>

how do I see if the dialog is part of the same window in inspect.exe?

In inspect check if the dialog box is in the same tree structure as that of the main application, if possible please share the screen shot of inspect

Hi, @ anunay1
First of all, thank you very much for your help.
I found the solution to my problem through the following issue:
https://stackoverflow.com/questions/56363713/appium-desktop-app-test-throws-element-could-not-be-located-exception-but-passe
According to my interpretation, the cause of WinAppdriver not identifying the elements is because my code was not directing the search in the correct window.
After implementing the search for the elements within the structure below it worked perfect for me.
if (leafSession.CurrentWindowHandle! = leafSession.WindowHandles.Last ())
{
leafSession.SwitchTo().Window(leafSession.WindowHandles.Last());
//Open import option using the keyboard
leafSession.Keyboard.SendKeys(Keys.Control + Keys.Shift + 'I');
System.Threading.Thread.Sleep(2000);
leafSession.FindElementById("1148").SendKeys("2328.lsc");
leafSession.FindElementById("1").Click();
// [...]
}
Once again, thank you for your attention.


Android fails to build after updating to 0.2.3

Describe the bug
Could not compile build file<EMAIL_ADDRESS>
startup failed:
General error during semantic analysis: Unsupported class file major version 61

To Reproduce
Steps to reproduce the behavior:
Update to latest 0.2.3, try to run android build.
Expected behavior
Android should build
Screenshots

Smartphone (please complete the following information):

Device: Android

Additional context
I recently updated to the latest 0.2.3 version, and am now met with this error when trying to run the build.
Seems like the issue is within<EMAIL_ADDRESS>

Same issue here, works fine on iOS but take ages to build on Android

Same issue here, works fine on iOS but takes ages to build on Android. What version were you on previously?

Was on 0.2.2 previously, tempted to rollback, the changes aren't crucial to me

What versions of React Native and Gradle are you using?

The originally posted error here ("Unsupported class file major version 61") seems to indicate that your project may be trying to use a newer JDK version.. Make sure you've installed the correct version of JDK according to your React Native version


Stripping out input type attributes on form

html_press is removing input type attributes for text fields in a form.  This is causing styling on a single page on my site to break.  I know there may be alternative ways to fix this, but IMHO this is too aggressive.  #18

project is deprecated https://github.com/stereobooster/html_press/issues/21


script got fixed by Kalyan

Closes: #1
Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

tq


Session Restore Feature

Hey,
i was wondering if there are any plans to create something along the lines of
tmux resurrect for pymux.
Haven't seen it on the roadmap.
This is one of the key features of tmux for me.
I use a combination of Dropbox/ Symlinks and tmux -resurrect to synch 3 macs that i use.

Hi @Anzumana,
I have been thinking about this, yes. But first I'm concentrating on making all the built-ins like tmux has working and very performant. When that's done, we can create something like tmux-resurrect.
In any case, the long term vision is that we should have something like that as well.
Jonathan


Dynamic Public Path

What problem does this feature solve?
https://webpack.js.org/concepts/module-federation/#dynamic-public-path
What does the proposed API of configuration look like?
https://webpack.js.org/concepts/module-federation/#dynamic-public-path

Already supported


Add missing documentation

I'm reviewing the documentation vs APIs to see if we're missing docs.
Docs that are missing documentation:

[x] Faker::Address.full_address
[x] Faker::Artist
[x] Faker::BreakingBad
[x] Faker::Code.npi - reported by @mrstebo
[x] Faker::Code.rut - reported by @mrstebo
[x] Faker::Code.nric - reported by @mrstebo
[ ] Faker::Commerce.promotion_code(5)
[ ] Faker::Commerce.price(range = 0..100.0, as_string = true)
[ ] Faker::Commerce.promotion_code(digits = 3)
[x] Faker::Company.type was in the docs, it had locales but it didn't have a method and a test lol
[ ] Faker::Dota.quote(hero = 'abaddon')
[ ] Faker::Esport - README.md
[ ] Faker::Finance

This PR is related to this issue https://github.com/stympy/faker/issues/1251.

Since you're working with Docs maybe you could clean this MD
https://github.com/stympy/faker/blob/master/doc/nation.md
It has a duplicate line

@rafaelcpalmeida definitely 👍

@vbrazo I can work backwards and we can meet in the middle?

@mrstebo what do you mean?

Awesome. Start in Zelda and finish in Name. You should check if the API is declared in the README.md and also check in the docs if all the methods are documented correctly. If you believe, we should add more docs, please add to your list. When you finish the verifcation, you could circle back and let us know how it looks. You could open a new PR to work on the fixes if you prefer @mrstebo

Here is what I have so far. I think I'll stick my batch up to Name in another PR :+1:

[ ] Faker::University.prefix - not in docs (should be protected?)
[ ] Faker::University.suffix - not in docs (should be protected?)
[ ] Faker::University.greek_alphabet - not in docs (should be private?)
[ ] Faker::Team.sport - no code
[ ] Faker::StarWars.call_squadron - not in docs
[ ] Faker::StarWars.call_numbers - not in docs (should be private?)
[ ] Faker::StarWars.call_squadrons - not in docs (should be private?)
[ ] Faker::StarWars.characters - not in docs (should be private?)
[ ] Faker::StarWars.droids - not in docs (should be private?)
[ ] Faker::StarWars.planets - not in docs (should be private?)
[ ] Faker::StarWars.species - not in docs (should be private?)
[ ] Faker::StarWars.vehicles - not in docs (should be private?)
[ ] Faker::StarWars.wookiee_words - not in docs (should be private?)

Thanks 👍  Please open a new PR with your work.


chore: Drop unused links, variables, and stop ipfs

Housekeeping routine.

It is not indented to fix the test suite.


Configurable Product API not returning Attributes of Variants

Configurable Product API not returning Attributes of Variants
Attributes  like size, color etc not coming in Configurable API
Preconditions
You should have at-least one Configurable product with multiple variants
1. 0.1.8
Create one Configurable product with multiple variants
Expected result
For each variant, attributes should come in API

@rashidfornajah ,
I order to improve performance for product fetch, we separated both API.


Nice work!

Hi, I really like this repo! This is really close to my use case and you have greatly inspired me. I have some questions if you don't mind.
I am very interested in how / where you found the documentation on the workbench API from WBInterface. Is it available somewhere? My company has a license, but so far I did not manage to get any way to contact the ANSYS support from them.
Is this considered as breaking ANSYS terms of use?

@sikvelsigma

@ChoKaPeek The general Workbench Python API can be found in Workbench Scripting Guide online. The Mechanical js API can be accessed by exploring "...\aisol\DesignSpace" folder in ansys installation path. Generally, to find out how to do smth in Mechanical I will find the appropriate button for it, look at the caption, search that caption in all files in an aforementioned subfolder of ansys. After that you can find an ID associated with that caption, search that ID and find what methods are bound to it. Search the method itself as the last step. This article in 5 parts helped me with that (although some information about files is outdated since the realize of the new ribbon interface): https://www.padtinc.com/blog/ansys-mechanical-scripting-howto-part-1/
I don't think it breaks any terms since ansys supports API execution natively both in Workbench and Mechanical (there's even a button called "Run Macro", would be pretty idiotic to have it and forbid using it), I didn't use any 3rd party software except for hooking up a debugger to Mechanical so I can see in real time js code execution and explore namespaces of objects. As far as I'm aware there's no documentation on Mechanical js API but there's a separate Python API for Mechanical which is just a wrapper for js methods.
As a whole, my collection of scripts is just a wrapper of already existing API functionality and does't require any modification to ansys itself whatsoever.

@ChoKaPeek also you can record Workbench python commands by using File -> Scripting -> Record Journal
Those journal are just python files


Clean up checkout dir before AdHocPerformanceTest

Otherwise some undeleteable files may cause build failures.

I've triggered a build for you. Click here to see all failures if there's any.


Move Safe contract addresses to safe-eth-py

Update README.md

Depends on https://github.com/safe-global/safe-eth-py/pull/473


Significant visual issues with nameplates

Nameplate text appears very dim and in some situations (like when one nameplate is in front of another) nameplate text is not visible at all.
Image attached for demonstration. Also logs.
Latest.log

I am very confused by this, my mod does not touch opacity. I'll look into it tho

i'm guessing it's one of your other mods. I don't have time right now but i'll try to figure out which one in a bit

I haven't been able to re-produce this exact result but I think update 1.0.8 should fix this.

Okay! Thanks for looking into it! Sorry if I was mistaken lol


Command to lock screen

Something like lock screen.
I'm on Mac but I imagine that this would be useful across all operating systems.

Probably this command should also send talon to sleep. Having talon listening while the screen is locked could have significant unintended consequences.

Out of curiosity, what are some of the consequences that you foresee of Talon listening while sleeping?

For example, it could lock you out of your computer if Talon repeatedly "typed" your password incorrectly.


ane In flash Professional CS6

I add the ane file, and modify the XML manifest file as instructed.
when i try to compile, this line gives me error
[Embed(source="ads.json",mimeType="application/octet-stream")]
When i try to Remove the JSON code, i get this error
Extension namespace is invalid
another question, the ID i need to use here
KeymobAd.getInstance().initFromKeymobService ("1", false);
From where can i get it?
should i go to http://www.keymob.com/application/index.html and then add the app with the network i'm using and then take that ID?
Regards

Hello...any help?


Can't delhome as team owner unless op? [BUG]

Describe the bug
A clear and concise description of what the bug is.
It appears only team owners who are oped can delhome. Sethome works, but delhome didn't until the owner was made op?
To Reproduce
Steps to reproduce the behavior:

Team owner runs /team delhome (while not oped and a team home is already set) and it returns text saying you can't.
After confirming it didn't del the home, try running it after team owner is op and then it works.

Expected behavior
A clear and concise description of what you expected to happen.
I would expect the team owner can not only set home but also del the home they set? (I was going to check if there were perms I could adjust for this, but it looks like BetterTeams manages its own perms using team owner instead of ranks/roles from another perm manager so I couldn't find a good list of perms to try and manually set or adjust this.)
Screenshots
If applicable, add screenshots to help explain your problem.
Details
Please provide the following details about your server set-up:

Spigot version (found by running /version): paper-1.16.5 (Implementing API version 1.16.5-R0.1-SNAPSHOT)

Newest paper. Everything else with the plugin seems to work well inspite of the new version in use.

BetterTeams version (found by running /version BetterTeams): 3.1.18

Additional context
If you do have a list of perms or know how I can adjust perms myself that would be ideal.

In the server I'm setting up for a friend there are set teams, so we do not want the team owners to be able to promote other players or change team names, for example, so being able to give them perms such as to set home but remove their perms to promote or change name would be ideal. I know how to do this in plugins that reference vault for perms, but since BetterTeams appears to manage its own perms and only references vault for player info (I think, right?) I'm not sure how to approach it.

Otherwise, so far this is the best simple team plugin I've found that's compatible with 1.16, and none of the little issues are severe enough that I can't just let it be, but if you know any quick fixes it'd be appreciated. ^^

Wait, I think I just found the permissions list (I had tried searching it a few times and didn't realize it's a link in the image in the spigot home page for BetterTeams). I'll try adjusting perms in my LuckPerms using the list. Still might want to check if team owners are automatically being given a delhome perm. (No delhome perm is listed in the perm list either. The delwarp perm is listed there but not delhome so I'm not sure if this is on purpose?)

TODO:
Add delhome to the perms list

I am reopening this issue as I still need to change it by default.
The issue will be closed when the bug is fully fixed.

Oop, sorry, kk, I've never used this site for issues before so I wasn't sure when to close it haha. Have a good one.

Not a problem :), the issues are so I can look through the list of problems and know what to fix. When they are closed they are automatically removed from the list. So issues are closed when either they are found to be invalid (A problem with the specific servers config for example) or when they implemented in the next update (the case for this update).

This bug has been fully fixed and will be included in the next update.


Refactor parsing and expose new WASM interface

Highlights:

Parsing is simplified and refactored to handle edge cases more easily like nested fenced code blocks.
Rendering process exposes each block separately so that when using the Notebook interface, we have blocks corresponding to cells.

To test the new WASM interface, run:
make wasm
cd examples/web
python -m http.server 9000

And open the address in a browser. You should see the new output. Check out examples/web/index.html to learn more about the new global functions.
Todo

[x] Go through these MDs:

DevOps Handbook

[x] Implement the case when editing a block results in its split. For example, a block containing a single paragraph might be edited and converted into two paragraphs which result in two blocks each containing a single paragraph.

Closes https://github.com/stateful/runme/issues/49 https://github.com/stateful/runme/issues/50

Another markdown example which we can use to test this fix: https://github.com/vercel/next.js/blob/canary/contributing/core/developing.md

@christian-bromann thanks for this example. It helped me to find a bug which was fixed in https://github.com/stateful/runme/pull/53/commits/af65f91952e567209e836202f399f3998684ebfc.

question for you @adambabik: looks like source: '```\nnode ./scripts/stdin.js\n```' always includes the triple backticks of fenced code blocks now. will this be universally true for type=code?

question for you @adambabik: looks like source: '```\nnode ./scripts/stdin.js\n```' always includes the opening/closing triple backticks of fenced code blocks now. will this be universally true for type=code?

Not sure what you mean by type=code. If you mean also code blocks (not fenced) then no. These are called fence marks and only exists for the fenced code blocks and we only recognize those as executable.
I can get rid of the fence marks if that's problematic. VS Code interface for code cells probably accepts raw code without them. Using lines would be worse because they strip out all prefix and trailing white spaces and we want to keep them - this is an existing flaw where code blocks look like a wall of text without indentations.

Not sure what you mean by type=code. If you mean also code blocks (not fenced) then no. These are called fence marks and only exists for the fenced code blocks and we only recognize those as executable.
I can get rid of the fence marks if that's problematic. VS Code interface for code cells probably accepts raw code without them. Using lines would be worse because they strip out all prefix and trailing white spaces and we want to keep them - this is an existing flaw where code blocks look like a wall of text without indentations.

Actually for visualization keeping the backticks is better, since when we have unsupported languages (non-shell-based) we do want to render them as the original markdown.
I think it makes sense to stay as close to the source of truth as possible. They only place it came up was with the language detection model. If I leave the backticks in everything will be guessed as markdown. I just created a purpose specific normalization function.

Integration available here: https://github.com/stateful/vscode-runme/pull/52


add support for austrian Stuzza Namespace

Why even bother defining standards when everyone goes on and creates their own standard.
Oh well, here comes support for the Austrian Stuzza Namespace (which apparentely isn't even used by every bank)

Thank you for the contribution.
Could you summarize how the Austrian Stuzza format differs from the the standard?
Also one of the tests failed in Ruby 2.1. While it is not officially supported anymore, we still have it in a few places at the moment. Therefore we still require tests to pass also for Ruby 2.1 before merging anything.
Another option that comes to mind to solve this would be to allow registering namespaces to be mapped to a specific parser.
Then you could register the stuzza namespace without requiring us to support it in general.

to be hones I did not look at the differences. My bank also uses the same format and I have been using this gem for months with success.
Needed it for a client now and looks like their bank uses the other namespace which forced me to update it.
From a daily use point of view I didn't find any differences which kind of speaks for the "registering namespaces" option.

I prepared something here https://github.com/Barzahlen/camt_parser/pull/18
It's waiting to be reviewed but that should solve your problem

#18 has been merged and the gem released as v2.4.0
Please let us know whether that solves your problem or not.
You should be able to register the stuzza namespace for your usecase now without requiring a change to the gem

@lcx Please let us know in case v2.4.0 does not work for you to register the stuzza namespace for your usecase.
I am closing this pull request for now


Training problem

This project run twelve instances of the environment in parallel for collecting the robot's experenvces, but I want to use an environment for training, how can I do that?

In config.py, line 143, change training.num_processes to 1.

When running python train.py, no module named pytorchBaselines.a2c_ppo_acktr occurs. How can I fix it?

I did not encounter this error, since pytorchBaselines/a2c_ppo_acktr/ is indeed under the root directory. Maybe try adding __init__.py under this subfolder, or replace from pytorchBaselines.a2c_ppo_acktr import ... with from .pytorchBaselines.a2c_ppo_acktr import ...?


Export table API + auto detect data

In this PR we've introduced a new API for inserting a simple table (without power query linked) with an initial data.
One more improvement is introducing a new data type (auto detect) that formats the data according to the cell data content.

Please don't review code styling - next PR we will add prettify to the project.
Currently, we are not supporting date type, we are treating dates as strings.
Next PR will update the documentation before release.

@microsoft-github-policy-service agree company="Microsoft"


404 links on the getting_started/tutorials.html page

Describe the issue
These two links are 404 on the docs getting_started/tutorials.html page:
Learn how to [create a notebook pipeline and run it in your local JupyterLab environment](https://github.com/elyra-ai/examples/tree/master/pipelines/hello_world).

Learn how to [create a notebook pipeline and run it on Kubeflow Pipelines](https://github.com/elyra-ai/examples/tree/master/pipelines/hello_world_kubeflow_pipelines).

I didn't see any obvious replacement candidates in https://github.com/elyra-ai/examples/tree/main/pipelines

Hi @gregsheremeta - I agree with your assessment.
I think https://github.com/elyra-ai/examples/tree/main/pipelines/introduction-to-generic-pipelines could be associated with the "local Juptyerlab environment" topic, while https://github.com/elyra-ai/examples/tree/main/pipelines/run-generic-pipelines-on-kubeflow-pipelines seems sufficient for the "Kubeflow Pipelines" topic.
While we're at it, it seems like could add a similar Airflow topic (mirroring the Kubeflow topic) that points at: https://github.com/elyra-ai/examples/tree/main/pipelines/run-generic-pipelines-on-apache-airflow
The reason I suspect these might be the right links is based on the content of the paragraph just prior to the prerequisites section.
Also, in digging into some of the history in the examples repo, I found this: https://github.com/elyra-ai/examples/pull/82, and I suspect the Elyra docs were probably not updated to reflect those changes.
Would you like to contribute a pull request with these updates?

@gregsheremeta You should use the latest stable version documentation link: https://elyra.readthedocs.io/en/stable/


Add option to load pages via ajax in header control

For mobile web apps, the UI is compromised when using the current header control. If the app is 'mobile-web-app' capable and a shortcut placed on the home screen, once the app is opened in the chrome-less browser any navigation using the header links forces safari (in the case of iOS) to launch another browser page to display the content.

This relates to #298.


(skype) Fix for skype-autostart after update

Expected Behaviour
Skype does not start after installation / update.
Current Behaviour
Right now, if you install or update skype using the official skype package, skype will start automatically after installation/update. This is problematic since skype now runs as admin / with administrative privileges. Also, the user will have to re-enter his login-information (which is not necessary if not run as admin).
Possible Solution
I've created a custom skype package we're using in our organization:
#stop on all errors
$ErrorActionPreference = 'Stop'

#set kill skype variable
$stopSkypeProcess = 'Get-Process -Name "skype" | Stop-Process -Force'

$packageArgs = @{
(omitted)
}

Install-ChocolateyPackage @packageArgs
Start-ChocolateyProcessAsAdmin -Statements $stopSkypeProcess

I don't intend to start skype afterwards since the choco process runs as admin and thus skype will run with admin privileges as well. This might be uncomfortable for the user, but is safer
Steps to Reproduce (for bugs)

Have some version of skype installed on your computer
Let choco update skype automatically
If you've used skype before, your credentials are saved
If skype opens automatically after the update and you have to insert your logon information, that might indicate that skype runs as admin/with administrative privileges. Also, check with procmon/taskmgr

Context

Usually windows users don't have administrative rights (for obvious reasons). Skype should not run with administrative rights for security reasons.


How to Connect to a External DB Service with Port running outside K8S Cluster

Hi Guys,
First of all a wonderful work around istio and knative.I am just loving Rio.I need to connect to a mongoDB service running with TLS with a particular ip and port outside the K8S Cluster.In Istio we create using ServiceEntry but in Rio when trying to use External Service I was not able to add port no.
Any help would be great.
Thanks,
Hari

are you looking for https://github.com/rancher/rio/blob/master/docs/README.md#adding-external-services?

You can try rio externalservice add $name IP:PORT.

Hi Guys,
It's working with external in version 0.2.0. Also, do we have a provision to send the run time variables to the container image from Rio CLI?

Hi @pilayar76 ,
Thanks a lot.Yes it works and the name should be in lowercase.
@StrongMonkey - Is it intended way that the name should be in lowercase ?

The name should follow the standard DNS name that k8s requires.

@mkharibalaji The syntax should be rio external create protocl://host:port.

Thanks a lot @StrongMonkey


"Edit on GitHub" url broken

Details

Read the Docs project URL: https://jsxc.readthedocs.io
Build URL (if applicable): https://github.com/jsxc/documentation

Expected Result
"Edit on GitHub", "View on GitHub" and so on should link to https://github.com/jsxc/documentation.
Actual Result
Those links points to https://github.com/jsxc/documentation/blob/master/home/docs/checkouts/readthedocs.org/user_builds/jsxc/checkouts/latest/conf.py/index.rst
As you can see the string /home/docs/checkouts/readthedocs.org/user_builds/jsxc/checkouts/latest/conf.py is added to the url. The only thing that I can think of, is that I have currently no tags in my repo. Maybe this is the reason, I don't know.

@stsewd I don't think this is a duplicate issue as this bug is appearing in sphinx based projects too.
In the #4482 the value for conf_py_path is changed from a relative to an absolute path. This is passed to the sphinx build context and then in used in the readthedocs default theme to generate the "Edit on [VCS]" link.
This is also documented in: https://docs.readthedocs.io/en/latest/vcs.html?highlight=conf_py_path
Maybe you need an absolute path here, but we also need to provide a relative path in the checkout to the docs root in order to generate a correct "Edit on [VCS]" link.

oops, didn't see that your project is sphinx type. Yeah, that's a bug

@stsewd that's not my project, I just noticed the same bug in a sphinx based project and commented this same issue instead of opening a new one.
Thanks for your commitment.

I can confirm that we have the same issue with Sphinx.
https://identitymodel.readthedocs.io/en/latest/client/discovery.html
edit points to
https://github.com/IdentityModel/IdentityModel2/blob/master/home/docs/checkouts/readthedocs.org/user_builds/identitymodel/checkouts/latest/docs/conf.py/client/discovery.rst

I have a PR that fixes this https://github.com/rtfd/readthedocs.org/pull/4696, should be fixed in our next deploy.

Is there an expected timeframe for the next deploy? Sorry to bother but this is affecting some of our docs. Thanks!

We don't have a schedule for deploys, but I'd say next week or so

This should now be deployed. It will likely require a doc rebuild to fix.

It works indeed! Thanks a lot!

:tada: thanks for the quick fix :clap:

We use the default template, it has been necessary to modify a file and when it has been rebuild it has worked. The links to Edit Github are ok.  Thanks!

@iamarnavgarg hi, you should only need to trigger a new build on the affected version, you can do this from the Build section of your project's dashboard.

Thanks @stsewd . While building the project using make html  and writing breadcrumbs.html for broken links returns the following error:
Theme error:
An error happened in rendering the page contents.
Reason: RuntimeError('maximum recursion depth exceeded',)
make: *** [html] Error 2

Can you please suggest where I am going wrong?

Can you please point me to the project? Why do you need to override breadcrumbs.html?

Hi @stsewd I have overcome the issue. Thanks for help!
However, I am not able to understand the purpose of the following lines in sphinx_rtd_theme

Line 41
Line 61
Line 63

Can you please help me in it?

@stsewd


Making opening a static variable a special case

Closes #209
There is no associated test, as I can't think of a good way to implement one.

I have tested that it works for the static variable in question in a notebook BTW

There is no associated test, as I can't think of a good way to implement one.

Yeah, it's kind of tricky to do this kind of integrated testing...
(I am about to start looking at this PR, btw)


Update the 2025 sponsor prospectus

Update the 2025 sponsor prospectus.  Tico sent the PDF.
https://wmrra.com/sponsor/become-a-sponsor/

https://github.com/wmrra/wmrra-com/commit/fcd6da019b04729fed8761dc96fac063d3946f19


Update es.yaml

Modified some formal / informal expressions to set the tone right.

I appreciate your work done here, @gmalamuddeb :)


CLI config: streategy class_path give value error

Bug description
Is this an expected behaviour when configuring a lightning CLI:
trainer:
  strategy:
    - class_path: pytorch_lightning.strategies.DDPStrategy
      init_args:
        find_unused_parameters: True

Error:
test.py [options] fit: error: Parser key "trainer.strategy":
  Does not validate against any of the Union subtypes
  Subtypes: (<class 'str'>, <class 'pytorch_lightning.strategies.strategy.Strategy'>)
  Errors:
    - Expected a <class 'str'>
    - Not a valid Strategy
    Subclass types expect one of:
    - a class path (str)
    - a dict with class_path entry
    - a dict without class_path but with init_args entry (class path given previously)
  Given value type: <class 'list'>
  Given value: [{'class_path': 'pytorch_lightning.strategies.DDPStrategy', 'init_args': {'find_unused_parameters': True}}]

How to reproduce the bug
# main.py
from lightning.pytorch.cli import LightningCLI

# simple demo classes for your convenience
from lightning.pytorch.demos.boring_classes import DemoModel, BoringDataModule

def cli_main():
    cli = LightningCLI(DemoModel, BoringDataModule)
    # note: don't call fit!!

if __name__ == "__main__":
    cli_main()

config:

seed_everything: true
trainer:
strategy:
- class_path: pytorch_lightning.strategies.DDPStrategy
init_args:
find_unused_parameters: True

Error messages and logs
test.py [options] fit: error: Parser key "trainer.strategy":
  Does not validate against any of the Union subtypes
  Subtypes: (<class 'str'>, <class 'pytorch_lightning.strategies.strategy.Strategy'>)
  Errors:
    - Expected a <class 'str'>
    - Not a valid Strategy
    Subclass types expect one of:
    - a class path (str)
    - a dict with class_path entry
    - a dict without class_path but with init_args entry (class path given previously)
  Given value type: <class 'list'>
  Given value: [{'class_path': 'pytorch_lightning.strategies.DDPStrategy', 'init_args': {'find_unused_parameters': True}}]

Environment

Current environment
#- Lightning Component (e.g. Trainer, LightningModule, LightningApp, LightningWork, LightningFlow):
#- PyTorch Lightning Version (e.g., 1.5.0):
#- Lightning App Version (e.g., 0.5.2):
#- PyTorch Version (e.g., 2.0):
#- Python version (e.g., 3.9):
#- OS (e.g., Linux):
#- CUDA/cuDNN version:
#- GPU models and configuration:
#- How you installed Lightning(`conda`, `pip`, source):
#- Running environment of LightningApp (e.g. local, cloud):

More info
No response
cc @carmocca @mauvilsa

There is no bug. The problem is just that the config file is wrong. The type for strategy is Union[str, Strategy], see the CLI's --help output or see trainer.py#L94. In the config a list is given, which is not expected.

Thank you for getting back to me. I see what you mean. In this case, what would be the appropriate way to configure the init args from the config.yaml?
Would it not also be best to maintain a uniform manner of using class_paths for controlling PL builtins as demonstrated in the doc?
I would appreciate your comment.

Not sure what you mean. The fix is only removing the dash - before the class_path:
trainer:
  strategy:
    class_path: pytorch_lightning.strategies.DDPStrategy
    init_args:
      find_unused_parameters: True

Unfortunately it is not immediately obviously from the error that this is the problem. The issue is that the code is generic for all type annotations. When there is a Union, the error for each type in the Union is shown. The indentation in the error is wrong and that I can fix. But not sure how to make it more obvious.

Thank you for clarifying. I understand what you mean.


HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: http://www.google.com/ (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x00000234AC984898>: Failed to establish a new connection: [WinError 10060]

Hi, I'm working on a python project, I use python3 with anaconda
I'm trying to execute a simple get request with this code:
import requests
proxies = {'http' : 'http://<IP_ADDRESS>',
'https': 'https://<IP_ADDRESS>'}
r = requests.get('http://www.google.com/', proxies=proxies)
and I get this error as a result:
ProxyError: HTTPConnectionPool(host='<IP_ADDRESS>', port=80): Max retries exceeded with url: http://www.google.com/ (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 0x00000234AC984898>: Failed to establish a new connection: [WinError 10060]')))
I'm quite new to python, especialy to the requests module
Thanks

Hi @ImARegularUser, welcome to the world of Python! The issue you’re seeing here is with your proxy rather than Requests. I’d suggest reviewing the proxy docs and debugging from there. For future reference, we prefer usage questions to be directed towards StackOverflow with the python-requests tag since this issue tracker is reserved for defects in Requests. Thanks!

Alright, Thanks for you reply and sorry for the mistake x)


Support for Packaging Loader and BPF program

The current BumbleBee workflow is:

Develop BPF programs/probes
Build and package BPF program in OCI image via bee build
Run BPF programs via bee run

So, in order to run your BPF programs, the bee CLI must be present on any system you wish to run them on.
To make the entire process portable, we can package the bee runner/loader along with the built BPF programs in a container to allow it to run anywhere without prior work necessary to e.g. install the bee CLI.
cc: @aantn -- thanks for the suggestion!

I love this. To clarify, deploying the probe will be as simple as deploying the docker container with appropriate permissions/capabilities, right?

Yes, exactly!

Wonderful, as soon as this is ready I have a very cool use case in mind :)


bumping travis php versions, composer deps

Codecov Report

Merging #2 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #2   +/-   ##
=========================================
  Coverage     88.88%   88.88%
  Complexity        6        6
=========================================
  Files             1        1
  Lines            18       18
=========================================
  Hits             16       16
  Misses            2        2

Continue to review full report at Codecov.

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


Per-Guild Prefixes

Currently the bot uses a static $ prefix for all servers it is a part of for its classic commands. I want to be able to have each server/guild specify their own custom prefix for the bot in case another bot has a conflicting prefix.

Closing this issue because the bot has almost exclusively transitioned to slash commands. This issue is no longer needed.


Add a default emoji to new guilds

As you can see: undefined. Add a default emoji for new guild joined. I added the bot via the dashboard

By default, until you enable custom emoji, should be a unicode $, as seen here in the example config

Wierd. It didn't apply default, another person has said as well.

Can't reproduce sorry.


LibWeb/CSS: Add support for unicode-bidi property

This commit adds support for the unicode-bidi CSS property, addressing part of issue https://github.com/LadybirdBrowser/ladybird/issues/930 (missing UA stylesheet features).
With this implementation, all tests from https://wpt.live/html/rendering/bidi-rendering/unicode-bidi-ua-rules.html should now pass successfully.

Indeed, the hardest part remains to be done regarding the support of this property :(