PyJL Transpiler extensions

Added PyJL transpiler features. AccessREADME file in the pyjl folder for more information.
More extensive tests suite for Py2Many.

Greetings!
First of all thank you for your contribution, a PR this big must have been a lot of effort to make. But as it currently stands(a 200+ commit and 400+ file diff PR) this is currently a reviewing nightmare. Could you cleanup the commits and maybe even split this into multiple PRs?
Also after a little peek, I noticed that you changed the permissions of text files to include execute. Why?

Greetings!
First of all thank you for your contribution, a PR this big must have been a lot of effort to make. But as it currently stands(a 200+ commit and 400+ file diff PR) this is currently a reviewing nightmare. Could you cleanup the commits and maybe even split this into multiple PRs?
Also after a little peek, I noticed that you changed the permissions of text files to include execute. Why?

Hi there!
Yes, I could do that. The permission changes must have been a mistake on my part. I will try another pull request in a few days. Thank you for the quick reply!

Hi @MiguelMarcelino, you have a lot of changes here.  It would be helpful if you can create some smaller PRs with some of the features here, so we can get them in before we tackle this larger PyJL feature PR.

Note I've fixed CI in https://github.com/adsharma/py2many/pull/463 ; hopefully we'll get that merged soon so your PRs can be green

Note I've fixed CI in https://github.com/adsharma/py2many/pull/463 ; hopefully we'll get that merged soon so your PRs can be green

Hi there!
I am currently fixing some bugs in the transpiler. After I fix them, I will try to split the work into multiple pull requests. I will also merge your changes before I do so.
Thank you for all the help.
Miguel


Update dependencies.

Replaces #14 with full dependency upgrade path; required to resolve larger set of dependencies in MAD.


[BEAM-10925] Add optional jar path field to ZetaSqlScalarFunctionImpl.

This is required to pass the jar path to BeamCalcRel (see #13835).

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

It's not pretty, but we do what we have to do..
R: @amaliujia

It's not pretty, but we do what we have to do..
R: @amaliujia


no way to get user input from controllers?

no tutorials on how get input from controllers. chat gpt does not known much about this libary so please can you inplude a tutorial on how to query for input it will bea life saver. (otherwise i might have to rebuild the whole oculus pc sdk just to finaly get rid of game engines. which  is a pain)

nevermind i dont slept for arraund 3 days to get it but now it works

That's great news.
You are now in a good position to write that tutorial you wanted. You can either put it in the wiki here for this project, or make a video on YouTube if that's more your style.
You can be the life saver for someone else.

simple.txt
here take this. it shows how to handle a few buttons


[Bug]: Conic gradients in PDF render as pink fallback (Unsupported shading type)

Attach (recommended) or Link to PDF file
Akash_PadamPall_1733891260642.pdf
Web browser and its version
Mozilla Firefox Version 133.0.3 (64-bit)
Operating system and its version
Windows 11
PDF.js version
<EMAIL_ADDRESS>Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
Generate a PDF using Puppeteer (or any HTML-to-PDF library) where an element uses a conic-gradient() in CSS (for example, a ring or radial chart).
Open the generated PDF in Chrome’s built-in viewer → The conic gradient displays properly.
Open the same PDF in PDF.js (Firefox built-in viewer or React PDF Viewer which uses PDF.js). The conic gradient appears pink instead of the intended gradient.
What is the expected behavior?
The PDF viewer should show the same conic gradient as Chrome’s PDF viewer (or at least a comparable gradient rendering) instead of a pink fallback.

What went wrong?
In PDF.js, the conic gradient is replaced by a pink fallback color, and the console often shows “Unsupported ShadingType: 1” warnings.
This indicates PDF.js cannot interpret the embedded conic shading pattern created by Puppeteer.

Link to a viewer
No response
Additional context
Conic gradients aren’t part of the official PDF spec, which only includes axial (type 2) and radial (type 3) shading.
Chrome’s PDF renderer apparently supports conic gradients as a vendor-specific shading extension.
We’d like PDF.js to either gracefully approximate or allow conic gradients, or at least provide clearer documentation/fallbacks.

Duplicate of #5046

PDF.js version
<EMAIL_ADDRESS>
This version is no longer supported.


Time based feature filtering

Add a function for regex filtering on start_date/end_date in features.js. Add new tab in sidebar.
To answer:

[ ] What if no valid start_date/end_date?
[ ] Decide on UI?
[ ] How would we expose a dynamic filter?

See new approach: https://github.com/openstreetmap/iD/issues/2580


IAfterSaveEventHandler Blocks Transaction

I am trying to use the IAfterSaveEventHandlerAsync to send emails post transaction, however I am running into an issue in which the handler is blocking the transaction from completing and the endpoint from returning a response until after the handler complete. Furthermore any exception in the handler bails out of the transaction and calls a rollback.
From the diagram provided on the github: https://www.thereformedprogrammer.net/wp-content/uploads/2021/01/GenericEventRunnerTypesOfEvents.png
As well as the wiki resources itself, makes it seem as though the IAfterSaveEventHandler are called after CommitAsync is called, and
it is stated that all db updates are already sync'd and cannot be reverted.
I created a test posted below to make sure it wasn't something specific to my codebase, let me know if you need further details or if I am misunderstanding how to use the API.
[Fact]
        public async Task TestCreateDbWithDiForHandlersAfterHandlerDoNothingAsyncOk()
        {
            //SETUP
            var options = SqliteInMemory.CreateOptions<ExampleDbContext>();
            var logs = new List<LogOutput>();
            var context = options.CreateAndSeedDbWithDiForHandlers<OrderCreatedHandler>(logs);
            {
                using (var transaction = await context.Database.BeginTransactionAsync())
                {
                    //ATTEMPT
                    context.Database.EnsureCreated();
                    var entity = context.SeedTwoTaxRates().First();

                    //ATTEMPT
                    entity.AddEvent(new EventTestAfterExceptionHandler(), EventToSend.AfterSave);
                    await context.SaveChangesAsync();
                    // EXECUTING HERE & EXCEPTION
                    await transaction.CommitAsync();
                    // EXPECTED EXECUTION HERE
                }
                // THROWS AN EXCEPTION BEFORE TRANSACTION  CAN OCCUR
                //VERIFY
            }
        }

Thanks in advance.

Hi @JEVietti,
Can you add the exception you get - that will help me to know what to look out for.

Also, can you add the new EventTestAfterExceptionHandler() code too - thanks.

It may be important to note that the code I posted above is just an added Testsof the main repo, that I cloned, no other modifications have been made.
Also to be a bit more clear the main concern isn't the exception necessarily but that the handler execution is blocking the commitAsync call, further execution. So if you have an async operation such as sending emails, it will wait until that code has completed, could me minutes/seconds, and then proceed to commit. And as mentioned previously the exception, if not caught will also be thrown before commit.
Here is the Exception
Test.UnitTests.InfrastructureTests.TestEventSaveChangesTransactionsAsync.TestCreateDbWithDiForHandlersAfterHandlerDoNothingAsyncOk

  Message:
     System.ApplicationException : AfterHandlerThrowsException

  Stack Trace:
     AfterHandlerThrowsException.Handle(Object callingEntity, EventTestAfterExceptionHandler domainEvent) line 14
     AfterSaveHandler`1.Handle(Object callingEntity, IEntityEvent entityEvent) line 26
     FindRunHandlers.RunHandlersForEventAsync(EntityAndEvent entityAndEvent, Int32 loopCount, BeforeDuringOrAfter beforeDuringOrAfter, Boolean allowAsync) line 70
     RunEachTypeOfEvents.RunAfterSaveChangesEventsAsync(DbContext context, Boolean allowAsync) line 160
     EventsRunner.RunEventsBeforeDuringAfterSaveChangesAsync(DbContext context, Func`1 callBaseSaveChangesAsync, CancellationToken cancellationToken) line 204
     DbContextWithEvents`1.SaveChangesWithStatusAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) line 71
     DbContextWithEvents`1.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken) line 111
     TestEventSaveChangesTransactionsAsync.TestCreateDbWithDiForHandlersAfterHandlerDoNothingAsyncOk() line 268
--- End of stack trace from previous location where exception was thrown ---

So the new EventTestAfterExceptionHandler() is just the same code as it the repo, I only added a test nothing else.
Here it is though:
using GenericEventRunner.DomainParts;

namespace Test.EventsAndHandlers
{
    public class EventTestAfterExceptionHandler : IEntityEvent
    {

    }
}

This triggers the AfterHandlerThrowsException:
 public class AfterHandlerThrowsException : IAfterSaveEventHandler<EventTestAfterExceptionHandler>
    {
        public void Handle(object callingEntity, EventTestAfterExceptionHandler domainEvent)
        {
            throw new ApplicationException(nameof(AfterHandlerThrowsException));
        }
    }

It maybe important to note that in my own application this occurs in the relevant AsyncHandler as well.

Hi @JEVietti ,
I'm sorry, I was busy with something else and I didn't properly read your question. I think I understand now so here are my answers.

I am running into an issue in which the handler is blocking the transaction from completing and the endpoint from returning a response until after the handler complete.

Yes, any long running event will slow down the saving of the data. In your case its at the end and you are using a transaction so its more obvious, but this is a general issue. If you need a quick database update then you make your events fast. In your case you should manually call the email sending instead of using events to get a quick database update.

Furthermore any exception in the handler bails out of the transaction and calls a rollback.

If you aren't using a transaction, then a IAfterSaveEventHandler throwing an exception won't stop the data being written to the database. But if you use your own transaction, then you do need to either ensure a IAfterSaveEventHandler isn't going to throw an exception, or add extra code (say a try ... catch) to ensure that the commit is called.

Hey @JonPSmith,
Thanks for the clarification, I will say that I do think the image posted on the repo/articles is misleading then, as it shows After Events running after transaction.CommitAsync() is called, and even explicitly states sending emails as a use case of the AfterSaveEvents.
Unless I'm missing something you are suggesting that there is no way to have a non-blocking AfterSaveEvent Handler once SaveChangesAsync is called, and that I should simply call my own service instead. Essentially I am looking for a way to make the AfterSaveEvent and its Handler to act as a side-effect that is not blocking further execution after SaveChangesAsync is called, in order to not prevent commits or return reponses.
Also I'm not sure what you mean by using your own transaction, as I would think I would have to if I want the ability to rollback on exceptions from my own services, or other IBeforeSave and IDuringSave Handlers.
All that said, if this is in fact intended behavior, feel free to close.

Hi @JEVietti,
Your questions / comments show that the documentation isn't good enough, so I have updated the Handing errors and exceptions documentation to add extra information on what happens with Exceptions. The last section of this document gives guidance on After events.

Also I'm not sure what you mean by using your own transaction, as I would think I would have to if I want the ability to rollback on exceptions from my own services, or other IBeforeSave and IDuringSave Handlers.

In the case of a Before or During event returning an error / Exception the GenericEventRunner will ensure that the database isn't updated, so you don't need to create a transaction unless you need one for your own use. If you don't create a transaction, then the GenericEventRunner will create a transaction if needed, for instance if there are any During events.

If you have a suggestion about what to use inside the handler in order to achieve this, by not awaiting the async call sending of the emails or otherwise.

I have used a ASP.NET Core backgroundservice for long-running services. This section shows how to send messages to a backgroundservice. NOTE: I haven't that exact queued task approach and there are some issues around backgroundservice if you have multiple instances of your web app running, so be aware.


How To Send Message To A Group

How Can I send Message to a Group?
To send a message to individuals I am using RemoteJid<EMAIL_ADDRESS>Do Groups have some similar identifiers
@Rhymen Please Help

group identity is something like<EMAIL_ADDRESS>alias of<EMAIL_ADDRESS>

Thanks for the help , @codenoid
Let me see if this works :)

how example use

You will send in the same way you are sending to single persons
But, of course,  you need to joinof the group first. :)

And there is a sample on README page

i just need to get my group id I tried various samples but it didn't work

Hi friend, you can call me on dm, can you send us the sample code you are trying to use?

group identity is something like<EMAIL_ADDRESS>alias of<EMAIL_ADDRESS>
@codenoid according to @luawaltzer in https://github.com/Rhymen/go-whatsapp/issues/40#issuecomment-421717459 the group's timestamp is the unix timestamp. How could I find that for an existing group when the exact time isn't displayed in the Whatsapp app?
Would appreciate a howto ;)


[CS2103T-T10-3] ELISA

3.1.1 Step one - The diagrams should follow UML notation, maybe it would be better to include less details about the algorithm and focus more on the interaction between classes and execution of the program.
3.3.2 More diagrams could be used to make the explanation clearer. Sequence diagram is clean and detailed.


Fix Google Form Embeds for Dark mode.

The Google Form embed looks off in dark mode.

I don't think Google Forms has a dark mode :/


Server: Antiflood for limit

When getappdetails returns false for three items in a row, block incoming connections for three minutes.

old


Add more activation events for extensions

If extension owners could please verify these looks correct.

Looks good to me. But wait for Alan's opinion also well.

looks good to me but the tool status pre-load change you made earlier will not work.


How to: set Python naming style?

Information
VIM version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jul 26 2017 19:10:24)
Included patches: 1-503, 505-642
Operating System
macOS High Sierra
Version 10.13.3
:ALEInfo
let g:ale_cache_executable_check_failures = 0
let g:ale_change_sign_column_color = 0
let g:ale_change_sign_column_color = 0
let g:ale_command_wrapper = ''
let g:ale_completion_delay = 100
let g:ale_completion_enabled = 0
let g:ale_completion_max_suggestions = 50
let g:ale_echo_cursor = 1
let g:ale_echo_msg_error_str = 'Error'
let g:ale_echo_msg_format = '%code: %%s'
let g:ale_echo_msg_info_str = 'Info'
let g:ale_echo_msg_warning_str = 'Warning'
let g:ale_enabled = 1
let g:ale_fix_on_save = 0
let g:ale_fixers = {}
let g:ale_history_enabled = 1
let g:ale_history_log_output = 1
let g:ale_keep_list_window_open = 0
let g:ale_lint_delay = 200
let g:ale_lint_on_enter = 1
let g:ale_lint_on_filetype_changed = 1
let g:ale_lint_on_save = 1
let g:ale_lint_on_text_changed = 'never'
let g:ale_lint_on_insert_leave = 0
let g:ale_linter_aliases = {}
let g:ale_linters = {'md': ['textlint', 'text/language_check', 'proselint']}
let g:ale_linters_explicit = 0
let g:ale_list_window_size = 10
let g:ale_list_vertical = 0
let g:ale_loclist_msg_format = '%code: %%s'
let g:ale_max_buffer_history_size = 20
let g:ale_max_signs = -1
let g:ale_maximum_file_size = 0
let g:ale_open_list = 0
let g:ale_pattern_options = {}
let g:ale_pattern_options_enabled = 0
let g:ale_set_balloons = 0
let g:ale_set_highlights = 1
let g:ale_set_loclist = 1
let g:ale_set_quickfix = 0
let g:ale_set_signs = 1
let g:ale_sign_column_always = 0
let g:ale_sign_error = '>>'
let g:ale_sign_info = '--'
let g:ale_sign_offset = 1000000
let g:ale_sign_style_error = '>>'
let g:ale_sign_style_warning = '--'
let g:ale_sign_warning = '--'
let g:ale_statusline_format = ['%d error(s)', '%d warning(s)', 'OK']
let g:ale_type_map = {}
let g:ale_warn_about_trailing_blank_lines = 1
let g:ale_warn_about_trailing_whitespace = 1
What went wrong
Recently moved to a new machine and I've found that linting now defaults to UPPER_CASE naming style for constants and variables in Python. I prefer snake_case, and am aiming for lint-free code (like all people) so just wondered how to set this manually in my .vimrc or otherwise.
Reproducing the bug
Steps for repeating the bug:

Create any Python script and write any variable in snake_case, e.g.

import pandas as pd

soybean_data = pd.read_csv(
    'https://raw.githubusercontent.com/selva86/datasets/master/Soybean.csv'
)

soybean_data.to_csv('soybean.csv', index=False)

See the following warning:

invalid-name: Constant name "soybean_data" doesn't conform to UPPER_CASE naming style

Create a pylint configuration file, and consult the pylint documentation.


SpreadsheetPatternEditorWidget Close button requires 2 clicks to close

Actual cause:

close pattern edit widget
viewport toolbar watches history token, sees /pattern/XXX and gives itself focus, which also triggers edit widget modal


oidc auto Login After User Registration

I Want To Create User and immediately After that login that user in System.I get Confused how can i do auto login part in oidc.i need a sample or sth that can help me.

Sorry I don't have a sample that does this.

so what is the correct way to do that? at least in theory

To be auto logged in on the token server, the user must navigate there in the browser. That is incompatible with resource owner password flow.

this is what i understand from your comment: redirect user to token server and auto login user(silent login) in background then redirect user to any page we want.correct???

@vahidarr @brockallen Did you guys find any solution for this scenario? I also want to implement similar thing. Your suggestions will be helpful.


build issue with Japanese system - warning C4819

This issue happens when building iKnowEngineTest or iKnowALI on Japanese Windows and Japanese Visual Studio that gets installed, basically the setup that would be used by most Japanese users.
The warning is "The file contains a character that cannot be represented in the current code page (932). Save the file in Unicode format to prevent data loss." The warning is for the line 3153 in uchar.h: u_isWhitespace(UChar32 c);
The build can continue if "Treat warnings as errors" is set to No, but why this is happening needs to be investigated.

I've done some research on the Internet. (Obviously, Japanese users run into this most often!)
To workaround this problem, if the file uchar.h is saved with "UTF-8 (With Signature), the warning disappears. So apparently the file was originally UTF-8 without BOM.

Since this is solved, and Japanese is working fine, I will cloce issue #22.


Version Packages

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Patch Changes

#274 30fabc9 Thanks @threepointone! - don't compile node builtins that the platform supports
We support some node builtins, so we shouldn't try to compile them into the bundle.

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


[macOS packaging] Increase size of sparse image

Fixes #816
Increase size of sparse image when packaging on macOS

Tested and it works

@mjuhoor Est-ce tu peux m'expliquer un peux comment tu es arrivé à te dire que c'était la solution

At some point in the packaging process, the script copies all the frameworks and plugins in the attached sparse image.
Before this PR, the copying fails (you get an error message from command 'cp') for some plugins because the sparse image is full, so resizing it fixes the problem.

@mjuhoor Thank you for your explanation. Great job.


NoPointerException

I've tried to no-run nocode and constantly getting NoPointerException.
Please nofix!

Could you please post the line that't throwing the exception?


Merge does not work with Batches

We get a backtrace when running the example code of Merge with an added Batch :
from fuel.datasets import IterableDataset
english = IterableDataset(['Hello world!'])
french = IterableDataset(['Bonjour le monde!'])
from fuel.streams import DataStream
streams = (DataStream(english), DataStream(french))
from fuel.transformers import Batch, Merge
from fuel.schemes import ConstantScheme
streams = tuple(Batch(stream, ConstantScheme(1)) for stream in streams) # <-- XXX
merged_stream = Merge(streams, ('english', 'french'))
next(merged_stream.get_epoch_iterator())

The backtrace would be helpful...

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-10-361370a0eaf9> in <module>()
----> 1 next(merged_stream.get_epoch_iterator())

/home/ejls/.local/lib/python2.7/site-packages/six.pyc in next(self)
    533
    534         def next(self):
--> 535             return type(self).__next__(self)
    536
    537     callable = callable

/home/ejls/work/lisa/fuel/fuel/iterator.pyc in __next__(self)
     30             data = self.data_stream.get_data(next(self.request_iterator))
     31         else:
---> 32             data = self.data_stream.get_data()
     33         if self.as_dict:
     34             return dict(zip(self.data_stream.sources, data))

/home/ejls/work/lisa/fuel/fuel/transformers/__init__.py in get_data(self, request)
    781         return sum(
    782             (data_stream.get_data() for data_stream in self.data_streams),
--> 783             tuple())
    784
    785

/home/ejls/work/lisa/fuel/fuel/transformers/__init__.py in <genexpr>((data_stream,))
    780             raise ValueError
    781         return sum(
--> 782             (data_stream.get_data() for data_stream in self.data_streams),
    783             tuple())
    784

/home/ejls/work/lisa/fuel/fuel/transformers/__init__.py in get_data(self, request)
    584         """Get data from the dataset."""
    585         if request is None:
--> 586             raise ValueError
    587         data = [[] for _ in self.sources]
    588         for i in range(request):

ValueError:

Not sure if helpful, but I also have the following backtrace using Batch followed by Padding (adding the line streams = tuple(Padding(stream, ()) for stream in streams) :
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-11-361370a0eaf9> in <module>()
----> 1 next(merged_stream.get_epoch_iterator())

/home/ejls/.local/lib/python2.7/site-packages/six.pyc in next(self)
    533
    534         def next(self):
--> 535             return type(self).__next__(self)
    536
    537     callable = callable

/home/ejls/work/lisa/fuel/fuel/iterator.pyc in __next__(self)
     30             data = self.data_stream.get_data(next(self.request_iterator))
     31         else:
---> 32             data = self.data_stream.get_data()
     33         if self.as_dict:
     34             return dict(zip(self.data_stream.sources, data))

/home/ejls/work/lisa/fuel/fuel/transformers/__init__.pyc in get_data(self, request)
    781         return sum(
    782             (data_stream.get_data() for data_stream in self.data_streams),
--> 783             tuple())
    784
    785

/home/ejls/work/lisa/fuel/fuel/transformers/__init__.pyc in <genexpr>((data_stream,))
    780             raise ValueError
    781         return sum(
--> 782             (data_stream.get_data() for data_stream in self.data_streams),
    783             tuple())
    784

/home/ejls/work/lisa/fuel/fuel/transformers/__init__.pyc in get_data(self, request)
    136         if request is not None:
    137             raise ValueError
--> 138         data = next(self.child_epoch_iterator)
    139
    140         if self.produces_examples != self.data_stream.produces_examples:

AttributeError: 'Padding' object has no attribute 'child_epoch_iterator'

The code was working with commit ed725a7ff9f3d080ef882d4ae7e4373c4984f35a (I didn't bisect, that's just the last version I had before updating)

The plot thickens...
In [62]: streams = (DataStream(english, iteration_scheme=SequentialScheme(batch_size=1, examples=1)), DataStream(french, iteration_scheme=SequentialScheme(batch_size=1, examples=1)))

In [63]: merged_stream = Merge(streams, ('english', 'french'))

In [64]: next(merged_stream.get_epoch_iterator())
Out[64]: ('Hello world!', 'Bonjour le monde!')

In [65]: next(merged_stream.get_epoch_iterator())
Out[65]: ()

So that doesn't throw a traceback but it is puzzlingly not terminating the iterator when it should. I don't know much about Merge and Batch (those are kind of @rizar's thing I think) but it looks like something is rotten in Denmark.

If you have time to bisect, that'd be great. I have to finish my NIPS reviews by 8.

We are rushing for a submission, so I won't have time to do it, sorry.

Nevermind, I forgot how easy it is when you have a snippet that raises an exception (thanks for that).
297000130ddb5092465598566cca3611edb9d58f is the first bad commit
commit 297000130ddb5092465598566cca3611edb9d58f
Author: Vincent Dumoulin<EMAIL_ADDRESS>Date:   Tue Jul 7 22:54:05 2015 -0400

    Remove assumption that no iteration scheme means provides_examples

:040000 040000 6c239d4355216b8922a957a92aa6c77f94a593c6 7edb5070c31101fc065b6ce9dbca29d19833ca4d M	fuel
:040000 040000 d2fc3f226f685f37ef9e6332c6b064b9ad2f6807 6d3b241c6a063c582bc47807d66cc5f546c72701 M	tests
bisect run success

@vdumoulin Doc you have any time this week to look at this? Seeing as 297000130ddb5092465598566cca3611edb9d58f found by git bisect was one of yours, you might be the most qualified to figure out what went wrong.

I'll try to have a look at it either this afternoon or tomorrow morning.

It looks like there's an undocumented assumption in Merge that the merged data streams produce examples (or, at least, that they have no internal iteration scheme).
It was unwillingly introduced when I made Merge subclass from AbstractDataStream instead of Transformer: since AbstractDataStream.get_data is an abstract method, I modified get_epoch_iterator so it uses an implementation of get_data.
I'll try to think of a solution and, if everything else fails, we could revert to having the former get_epoch_iterator implementation and make get_data raise a NotImplementedError.

Here are the two choices we have for a fix: either we adapt Merge.get_epoch_iterator and Merge.get_data like so
    def get_epoch_iterator(self, as_dict=False):
        # This is done purely so merged data streams fetch their child epoch
        # iterator
        for data_stream in self.data_streams:
            data_stream.get_epoch_iterator()
        request_iterator_generator = (
            data_stream.iteration_scheme.get_request_iterator()
            if data_stream.iteration_scheme else repeat(None) for
            data_stream in self.data_streams)
        # There is also the case where all data streams have no iteration
        # scheme to consider, which I haven't implemented here
        return DataIterator(self, izip(*request_iterator_generator),
                            as_dict=as_dict)

    def get_data(self, request=None):
        return sum((data_stream.get_data(req) for data_stream, req in
                    izip(self.data_streams, request)),
                   tuple())

or we revert to the previous Merge.get_epoch_iterator implementation and raise NotImplementedError in Merge.get_data
    def get_epoch_iterator(self, **kwargs):
        batches = chain.from_iterable(
            izip(*[data_stream.get_epoch_iterator()
                   for data_stream in self.data_streams]))

        part = partition(len(self.sources), chain.from_iterable(batches))
        as_dict = kwargs.get('as_dict', False)
        if as_dict:
            return imap(dict, starmap(zip, izip(repeat(self.sources), part)))
        else:
            return part

    def get_data(self, request=None):
        raise NotImplementedError

@dwf do you have a solution preference?

@vdumoulin, one thing looks strange to me in your first solution, and it is the fact that in request in get_data almost everywhere in Fuel comes from the iteration scheme of the data stream. In your first code snippet the request comes from Merge, which implicitly disables the iteration schemes of the merged streams.
Your second proposal disable get_data, and I am not sure it is the right to do. We cans still support get_data, just that it should only support None requests.
Alternatively, we can just merge my minimalistic bug fix from #229, which also seems to solve this issue.

I just realized that get_data of Merge should not call get_data of self.data_streams, but rather next of its multiple (as opposed to Transformer) child_iterator's. Will work on that.

In my first solution, the request argument get_data receives is a tuple of requests, which are themselves generated using each of the data streams' request iterators.

Please reopen it I am wrong, but I think that we fixed by #229


After screen lock and unlock the current layout of each screen reverts to default

Using Ubuntu 18.04 when I unlock the screen, the current layout for each screen reverts to default (float) and the indicator in the status panel shows the default as well

So I did some digging on this, and I think it's related to how extensions work on gnome shell. They are unloaded and loaded again every time the screen locks, I think it's a security thing, unsure but I saw some extensions having problems by not correctly unloading on lock and appearing on the lock screen.
That said, I think the solution for this problem is to have a way to save the current layout on each workspace as a temporary file somewhere, and restore it in case it exists on the next load.
I took a look at the code but between javascript and the badly documented Gnome Shell Extension API, I have no idea how to implement that code myself. I am leaving this here in case someone smarter than me eventually sees it. @rehaby @ChWick


XMC4XXX uart poll_in fixes

You need to add a body to the commit message to the third commit.

Need to fix the compliance check failure.


[otp_ctrl/doc] Minor update of OTP wrapper interface waves

Signed-off-by: Michael Schaffner<EMAIL_ADDRESS>

OK! I think this should naturally occur, but it's probably good to add something like a cover statement for this.

OK! I think this should naturally occur, but it's probably good to add something like a cover statement for this.


Update Scala to 2.12.3 in Travis

Quick Scala version update for Travis to fix the freestyle-integration and freestyle-docs integration tests.
scalameta paradise 3.0.0-M10 requires 2.12.3

Codecov Report

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

@@           Coverage Diff           @@
##           master     #409   +/-   ##
=======================================
  Coverage   83.48%   83.48%
=======================================
  Files          27       27
  Lines         224      224
  Branches        4        4
=======================================
  Hits          187      187
  Misses         37       37


Question: use now() or sensor.date

Nice trick, this sensor.
I was just wondering. Wouldn't using now() be evaluating every minute, and using the sensor.date entity be evaluating just once a day?
https://github.com/BeardedTinker/Home-Assistant_Config/blob/0ff7960b353db79270fb2d3f0c8d2efd45e4e25f/entities/sensors/today.yaml#L10
Another value_template could be:
value_template: >
  {% set w = strptime(states('sensor.date'), '%Y-%m-%d').strftime('%w') | int %}
  {{['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'][w]}}

Not as clean but less resource consuming.

You can use issues to ask for clarification, make a suggestion or just leave a comment.

Sorry to see no response at all.

Sorry for this - obviously hiccup from my side - I did write a very long response, but probably never hit submit/comment button :)
Yes, you are correct about now() vs sensor.date
I will be implementing your suggestion for using sensor.date.
At one point I had a good reason to keep it like this, but that is now gone :)
I should probably go through all of the code and track other time/date usage in there.


feat: implement framebuffer driver, get rid of VGA text mode

This merge request takes a step towards UEFI compatibility, by not using the legacy VGA text mode. Monocraft is used, as it was simple to implement by rendering each pixel separately. In the future we definitely don't want to do it this way, we should optimally read the font file and render it based on that, but before that, I'd like to have a filesystem driver, and load some sort of init binary (and setup a scheduler)
TODO

[ ] Refactor the code, we might want to have some sort of logging buffer (print to it and only then render full screen)
[ ] Print to any position, not just predefined grid

Instead of refactoring, I'll close this and rewrite it.


Update public_updated_at on publish

https://trello.com/c/BU5p5lG6/418-v2-publish-content-id-should-update-the-public-updated-at
Updates the public_updated_at timestamp on major updates.

Are we sure there are no apps that want to override this?
It may also be surprising public_updated_at can be set on minor/republish updates, and not in a major update.

I remember discussing this with @steventux and @danielroseman earlier this week / last week. I don't recall what the conclusion of that discussion was.

As discussed, we should allow the value to be supplied in a publish action for any update_type, but if not supplied we should use the current time for major change and the existing persisted value for minor/republish.


Add license to package.json

Is your feature request related to a problem? Please describe.
It is not possible currently to add this extension to Open VSX, since there are no license info in the package.json file.
Describe the solution you'd like
Please add the license to the package.json file:
"license": "MIT",

Additional context
When the license is in place, this extension can be added to the Open VSX repository and found in VS Codium and other editors using the extension repository.
See #126 for more original request.

Will pick this up in the morning.
I have a ton of stuff I want to work on in the coming week and this should be one of them.


Click on a startarea will prevent the default mousedown event

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Clicking inside a startarea will not make a focused input loose focus
What is the expected behavior?
Clicking inside a startarea the default mousedown event should not be prevented
I believe the line that produces this faulty behavior is https://github.com/Simonwep/selection/blob/4cb3147e199d8f08bc0b8e43078893948d5f03ad/src/selection.js#L146
What was this FF scrolling thing that made you introduce this line?

This is somehow related to #72 and #65. I'll look into it :)

Sure yeah #72 is happening for exactly the same reason. I guess preventing the mousedown introduces more issues than it solves.

This has finally been fixed (for good hopefully)...  Check out the fourth iteration of 2.0.0-beta where this fix has been released with :)

This has finally been fixed (for good hopefully)...  Check out the fourth iteration of 2.0.0-beta where this fix has been released with :)


react-snapshot v2 randomly fails during build

I've been having an issue with random build failures using v2. The fix simply appears to be running the build over and over again until it succeeds, which isn't a great solution when it comes to CI. The error appears to be completely jsdom related.
11:35:33 AM: 🕷   Starting crawling http://localhost:52537/
11:35:34 AM: { '0':
{ success:
{ sys: [Object],
total: 1,
skip: 0,
limit: 100,
items: [Object],
includes: [Object] } },
'1':
{ success:
{ sys: [Object],
total: 1,
skip: 0,
limit: 100,
items: [Object],
includes: [Object] } },
'2':
{ success:
{ sys: [Object],
total: 1,
skip: 0,
limit: 100,
items: [Object],
includes: [Object] } } }
11:35:34 AM: ✏   Saving / as /index.html
11:35:34 AM: [warning] Connection error occurred. Waiting for 2079 ms before retrying...
11:35:35 AM: { '0':
{ success:
{ sys: [Object],
total: 1,
skip: 0,
limit: 100,
items: [Object],
includes: [Object] } },
'1':
{ success:
{ sys: [Object],
total: 1,
skip: 0,
limit: 100,
items: [Object],
includes: [Object] } },
'2':
{ success:
{ sys: [Object],
total: 1,
skip: 0,
limit: 100,
items: [Object],
includes: [Object] } } }
11:35:35 AM: ✏   Saving /books/emma as /books/emma.html
11:35:36 AM: [warning] Connection error occurred. Waiting for 1932 ms before retrying...
11:35:36 AM: { '0':
{ success:
{ sys: [Object],
total: 1,
skip: 0,
limit: 100,
items: [Object],
includes: [Object] } },
'1':
{ success:
{ sys: [Object],
total: 1,
skip: 0,
limit: 100,
items: [Object],
includes: [Object] } },
'2':
{ success:
{ sys: [Object],
total: 1,
skip: 0,
limit: 100,
items: [Object],
includes: [Object] } } }
11:35:36 AM: ✏   Saving /contact as /contact.html
11:35:36 AM: 🕸   Finished crawling.
11:35:37 AM: [warning] Connection error occurred. Waiting for 2514 ms before retrying...
11:35:37 AM: [warning] Connection error occurred. Waiting for 2681 ms before retrying...
11:35:39 AM: /opt/build/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:148
return idlUtils.wrapperForImpl(idlUtils.implForWrapper(window._document)._location);
^
TypeError: Cannot read property '_location' of null
at Window.get location [as location] (/opt/build/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:148:79)
at Timeout.callback [as _onTimeout] (/opt/build/repo/node_modules/jsdom/lib/jsdom/browser/Window.js:525:40)
at ontimeout (timers.js:386:11)
at tryOnTimeout (timers.js:250:5)
at Timer.listOnTimeout (timers.js:214:5)
11:35:39 AM: error Command failed with exit code 1.
11:35:39 AM: Cached NPM modules
11:35:39 AM: Saved Yarn cache
11:35:40 AM: Build complete: exit code: 1
11:35:40 AM: Cleaning up docker container
11:35:41 AM: Error running command: Build script returned non-zero exit code: 1
11:35:41 AM: An error occurred while building the site, skipping the deploy and cache refresh.
11:35:41 AM: Build script returned non-zero exit code: 1
11:35:48 AM: Finished processing build request in 4m22.765341243s

Yeah v2 is very much a WIP, sorry. Thanks for the bug report I'll see if I can figure it out when I'm next working on it.


Backports for 5.2.3

Bugfixes from 6.0.0 that can be backported to 5.2.3 without breaking backwards-compatibility.
Backported PRs

#452 (bugfix for id double-resolution introduced in 5.2.2)

Skipped PRs
There are no skipped PRs.

https://github.com/justinrainbow/json-schema/releases/tag/5.2.3

@bighappyface Thanks :1st_place_medal: .


Running in headless mode

I would like to run this script in a GitHub action.  Unfortunately I am getting error -10006 because there is no finder window. Is it possible to run this script in headless mode?

Ignore me, the actual lesson here is to read thy log messages properly.


luamqtt on OpenResty

Hello
I was using with success the release v1.4 with OpenResty, by providing my own connector which uses ngx.socket.tcp. But now, with the latest version (v3.0), I can't make it work due to the new ioloop implementation, which apparently depends on luasocket.
Is it possible to run this latest version on OpenResty? Maybe by providing the necessary settings (sleep function, maybe) to ioloop or to use a different implementation for ioloop (which is suited for OpenResty)?
Thank you.

Hi @irimiab,
Can you please provide a shortest example of your OpenResty usage of luamqtt v1.4?
I just need to run something to see how it worked in that release.
For now I can say connectors should work without ioloop, if not - I'll fix

Sure, here it is:
    local client = mqtt.client{ uri = topic.broker.hostname, clean = true, connector = require "mqtt.ngxsocket" }
    if client:connect() then
        if client:subscribe{ topic = topic.topic } then
            client:on("message", function(msg)
                -- do something
            end)

            client:on("error", function(err)
                log(ERR, err)
            end)

            client:on("close", function()
                log(INFO, "MQTT connection closed")
                -- restart connection
            end)

            client:receive_loop()
        else
            log(INFO, "MQTT failed to subscribe")
            -- restart connection
        end
    else
        log(INFO, "MQTT connection failed")
        -- restart connection
    end

This runs in a timer context.
Should you want the timer functions to be included, let me know and I will post them here too.
The module mqtt.ngxsocket is this:
-- module table
local luasocket = {}

-- Open network connection to .host and .port in conn table
-- Store opened socket to conn table
-- Returns true on success, or false and error text on failure
function luasocket.connect(conn)
    local socket = ngx.socket.tcp()
    socket:settimeout(2147483647) -- timeout in ~24 days
    local sock, err = socket:connect(conn.host, conn.port)
    if not sock then
        return false, "socket.connect failed: "..err
    end

    conn.sock = socket
    return true
end

-- Shutdown network connection
function luasocket.shutdown(conn)
    local ok, err = conn.sock:close()
end

-- Send data to network connection
function luasocket.send(conn, data, i, j)
    return conn.sock:send(data)
end

-- Receive given amount of data from network connection
function luasocket.receive(conn, size)
    local ok, err = conn.sock:receive(size)
    return ok, err
end

-- export module table
return luasocket

This runs in a timer context.
Should you want the timer functions to be included, let me know and I will post them here too.

Yes, post it please

There you go:

local mqtt = require "mqtt"

local log = ngx.log
local timer_at = ngx.timer.at

local ERR = ngx.ERR
local WARN = ngx.WARN
local INFO = ngx.INFO

local start_mqtt_client, run_mqtt_timer

run_mqtt_timer = function(topic)
    local ok, err = timer_at(1, start_mqtt_client, topic)
    if not ok then
        log(ERR, 'Failed to start the MQTT client: ', err)
    end
end

start_mqtt_client = function(premature, topic)
    log(INFO, "Starting MQTT client for topic ", topic.topic, " of broker ", topic.broker.id)

    local client = mqtt.client{ uri = topic.broker.hostname, clean = true, connector = require "mqtt.ngxsocket" }
    if client:connect() then
        if client:subscribe{ topic = topic.topic } then
            client:on("message", function(msg)
                -- do some processing here
            end)

            client:on("error", function(err)
                log(ERR, err)
            end)

            client:on("close", function()
                log(INFO, "MQTT connection closed")
                run_mqtt_timer(topic)
            end)

            client:receive_loop()
        else
            log(INFO, "MQTT failed to subscribe")
            run_mqtt_timer(topic)
        end
    else
        log(INFO, "MQTT connection failed")
        run_mqtt_timer(topic)
    end
end

for _, topic in ipairs(config.topics) do
    run_mqtt_timer(topic)
end

The structure config.topics is a table with topics information (we are spawning a timer for each topic we need to subscribe). For testing, you should define it manually (we are generating the data structure from some JSON files during the init phase).
This is an example that should work, even though I didn't test it:
local config = { topics = {
  {
    broker = {
      hostname = "test.mosquitto.org",
      id = "broker_id_1",
      port = 1883
    },
    topic = "some/topic"
  }, {
    broker = {
      hostname = "broker.hivemq.com",
      id = "broker_id_2",
      port = 1883
    },
    topic = "another/topic"
  }
} }

This is run with an NginX configuration like this:
worker_processes  1;
error_log logs/error.log;

events {
    use kqueue;
    worker_connections 1024;
    multi_accept on;
}

stream {
    lua_package_path ";;${prefix}../app/?.lua;";
    lua_code_cache on;

    resolver <IP_ADDRESS>;

    init_worker_by_lua_file "../app/main.lua";
}

The file main.lua is the one I posted above. Please note that we are using only one worker, so there is no need to use a semaphore to prevent duplicate operations.
This is just a proof of concept, of course.

@irimiab, I've reproduced your runtime.
I have to think how to adapt new version for using with your ngx connector - it may take all weekends, but I hope to get success here

Ok, great. If we can make it work next week, it's great. Thanks.

@irimiab, I've implemented the new version to be usable in openresty again. Please see an examples here:
https://github.com/xHasKx/luamqtt/tree/master/examples/openresty
Also I've included your ngxsocket connector into the sources, I hope you will not be offended
Please leave any feedback here

Thank you very much. We'll give feedback as soon as we integrate this new version.

I'm sorry for getting back to you so late, but we've had a week off from work. During this time, the MQTT lib has been left in tests and I can say it worked exactly as expected.
Good work and thank you for your prompt implementation.

@irimiab, thanks for feedback!


Azure AD Connect sync: Understanding Users, Groups, and Contacts

[Enter feedback here]
Can you please below line at the Groups section after verifying with my TA
Group do not sync when member is in public folder
We do not sync public folder as group member
by design bad group member does not export

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

ID: 7af61cbd-0ade-e458-e674-c15971b05c05
Version Independent ID: e885e540-00ae-e7fa-8490-6735eeb8a8dc
Content: Azure AD Connect sync: Understanding Users, Groups, and Contacts
Content Source: articles/active-directory/hybrid/concept-azure-ad-connect-sync-user-and-contacts.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@shossain321
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.


OTEL spans are not recognised as spans from a database

Bug description
When viewing spans in DataDog spans of Prisma are not recognised as database-ones.

It appears like Prisma libraries do not match these conventions: https://opentelemetry.io/docs/specs/otel/trace/semantic_conventions/database/ .
Specifically:

Span type is not set to "client"
attribute db.system is not populated

How to reproduce
Enable open telemetry feature in Prisma and view spans in DataDog
Expected behavior
Spans of Prisma should appear in "DB" section.
Prisma information

// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

generator client {
  provider      = "prisma-client-js"
  // https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#binarytargets-options
  binaryTargets = ["darwin-arm64", "darwin", "debian-openssl-1.1.x", "linux-arm64-openssl-1.1.x"]
  previewFeatures = ["tracing"]
}

.... models go here ....

import { PrismaClient } from '@prisma/client'
import { PrismaInstrumentation } from '@prisma/instrumentation'
import { registerInstrumentations } from '@opentelemetry/instrumentation'

const prismaClient = new PrismaClient()

const instr = new PrismaInstrumentation({ middleware: true })
registerInstrumentations({
    instrumentations: [instr],
})

export { prismaClient }

Environment & setup

OS: docker - debian-bullseye
Database: PostgreSQL
Node.js version: 18

Prisma Version
prisma                  : 4.11.0
@prisma/client          : 4.11.0
Current platform        : darwin-arm64
Query Engine (Node-API) : libquery-engine 8fde8fef4033376662cad983758335009d522acb (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 8fde8fef4033376662cad983758335009d522acb (at node_modules/@prisma/engines/migration-engine-darwin-arm64)
Format Wasm             : @prisma/prisma-fmt-wasm 4.11.0-57.8fde8fef4033376662cad983758335009d522acb
Default Engines Hash    : 8fde8fef4033376662cad983758335009d522acb
Studio                  : 0.483.0

I think it's fine to treat it as a bug if tools like DataDog rely on this information.

Hey @aqrln is there a timeline around this? Happy to also PR this in, just need some guidance about how to discover db.system properly (allow the tracer to discover what the provider is)

@AbhiPrasad I can't share any specific timeline yet but we do want to invest effort into tracing soon, so this issue will also be on the radar.

just need some guidance about how to discover db.system properly (allow the tracer to discover what the provider is)

So, this actually depends a lot on one detail which is not clear to me. Do all Prisma spans need to match these conventions or only the one that represents the call to the database? From my understanding of the spec it seems to me that the latter is correct, but this issue, I believe, implies the former.

The spans that represent calls to a database must have db.system on them, so not all the spans should be changed. I do think another look should be taken at for serialization/parsing related spans though.

The spans that represent calls to a database must have db.system on them, so not all the spans should be changed.

Awesome, that makes sense.

I do think another look should be taken at for serialization/parsing related spans though.

Please let us know if you notice anything missing there!

Happy to also PR this in, just need some guidance about how to discover db.system properly (allow the tracer to discover what the provider is)

If you are still willing to give it a try, an easy way would be to just pass specify it explicitly in every place the relevant spans are created since each connector knows what kind of database it is for.
So, for SQL databases it needs to be added here: https://github.com/prisma/prisma-engines/blob/793f7fb7404810e45c1f22d4b13a50cd4c8e0b9b/quaint/src/connector/metrics.rs#L12 and passed as a function argument from every caller of metrics::query.
For MongoDB it's scattered in a few places in these two files (grep for "prisma:engine:db_query"):

https://github.com/prisma/prisma-engines/blob/793f7fb7404810e45c1f22d4b13a50cd4c8e0b9b/query-engine/connectors/mongodb-query-connector/src/root_queries/read.rs
https://github.com/prisma/prisma-engines/blob/793f7fb7404810e45c1f22d4b13a50cd4c8e0b9b/query-engine/connectors/mongodb-query-connector/src/root_queries/write.rs

As for postgres connector being used for both PostgreSQL and CockroachDB, this is not a problem according to the spec:

The actual DBMS may differ from the one identified by the client. For example, when using PostgreSQL client libraries to connect to a CockroachDB, the db.system is set to postgresql based on the instrumentation’s best knowledge.

however, if desired, can still be easily done: you can add a flavour: PostgresFlavour field in https://github.com/prisma/prisma-engines/blob/793f7fb7404810e45c1f22d4b13a50cd4c8e0b9b/quaint/src/connector/postgres/native/mod.rs#L48 and then save it from url.flavour() in PostgreSql::new.

Got busy with some other tasks, but we're tracking this on the sentry side here: https://github.com/getsentry/sentry-javascript/issues/12234
Someone will take a look soon (and leave an update here accordingly)

Related:

https://github.com/prisma/prisma/issues/14640#issuecomment-1220097445
https://github.com/prisma/prisma/issues/14640#issuecomment-1477786803
https://github.com/prisma/prisma/issues/14640#issuecomment-1768299969

Any updates here?

just adding a related issue with AzureExporter also expecting this attribute
https://github.com/Azure/azure-sdk-for-js/issues/28065

Hey folks, this should be fixed in the next release (5.22.0). Feel free to also try the latest prisma@dev and @prisma/client@dev if you want to test it before the stable release, and please let us know if you have any feedback or if we missed anything!


i/o timeouts while connecting to controller on Azure

Describe the bug:
I1027 15:16:09.390211       1 start.go:76] cert-manager "level"=0 "msg"="starting controller"  "git-commit"="b030b7eb4" "version"="v0.11.0"
I1027 15:16:09.391733       1 controller.go:165] cert-manager/controller/build-context "level"=0 "msg"="configured acme dns01 nameservers" "nameservers"=["<IP_ADDRESS>:53"]
I1027 15:16:09.392196       1 controller.go:130] cert-manager/controller "level"=0 "msg"="starting leader election"
I1027 15:16:09.393135       1 metrics.go:202] cert-manager/metrics "level"=0 "msg"="listening for connections on" "address"="<IP_ADDRESS>:9402"
I1027 15:16:09.394275       1 leaderelection.go:241] attempting to acquire leader lease  kube-system/cert-manager-controller...
E1027 15:16:39.395156       1 leaderelection.go:330] error retrieving resource lock kube-system/cert-manager-controller: Get https://<id>.hcp.westeurope.azmk8s.io:443/api/v1/namespaces/kube-system/configmaps/cert-manager-controller: dial tcp: i/o timeout
E1027 15:17:32.847411       1 leaderelection.go:330] error retrieving resource lock kube-system/cert-manager-controller: Get https://<id>.hcp.westeurope.azmk8s.io:443/api/v1/namespaces/kube-system/configmaps/cert-manager-controller: dial tcp: i/o timeout
E1027 15:18:22.685649       1 leaderelection.go:330] error retrieving resource lock kube-system/cert-manager-controller: Get https://<id>.hcp.westeurope.azmk8s.io:443/api/v1/namespaces/kube-system/configmaps/cert-manager-controller: dial tcp: i/o timeout
E1027 15:19:14.656890       1 leaderelection.go:330] error retrieving resource lock kube-system/cert-manager-controller: Get https://<id>.hcp.westeurope.azmk8s.io:443/api/v1/namespaces/kube-system/configmaps/cert-manager-controller: dial tcp: i/o timeout

The api server is fine and I can connect to it although it's somewhat slow some times (maybe that's causes the issue)
Also it seems to want to get a configmap that doesn't exist and isn't mentioned anywhere
Expected behaviour:
It starts and starts issuing certificates
Steps to reproduce the bug:
Deploy on azure (at least on my cluster)
Anything else we need to know?:
v0.10 ran fine on the same cluster, I just wanted to upgrade
Environment details::

Kubernetes version (e.g. v1.10.2): v1.15.4
Cloud-provider/provisioner (e.g. GKE, kops AWS, etc): AKS
cert-manager version (e.g. v0.4.0): 0.11.0
Install method (e.g. helm or static manifests): static manifests

/kind bug

When I created the configmap (which reduces the api latency, don't ask me why that is) it worked, so I guess the timeout is just to small

The timeout here is fairly generous already - this does indicate to me there's likely to be some networking issue in your cluster talking to the apiserver... Please feel free to re-open if you continue to see this/it comes up again in different environments!

Well azure is sometimes a bit slow on the first request, I often have to wait 30secs until I get autocompletion even from different environments to different clusters I didn't have much problems since, but I'm obviously not watching the logs that often


Can't drag elements inside shadow DOM

So far, the only code I found preventing using this library in shadow DOM is this condition: https://github.com/PuruVJ/neodrag/blob/5a848a68ad886061938e4ed8ddb101f4fd89be4b/packages/core/src/index.ts#L400-L403
The problem is with e.target which has some parent custom element instead of the one I'm actually trying to drag.
I'm now testing if this simple patch is sufficient:
// use composedPath instead of e.target
const eventTarget = e.composedPath()[0];
if (dragEls.some((el) => el.contains(eventTarget)) && !cancelElementContains(cancelEls, [eventTarget])) {
  currentlyDraggedEl = dragEls.length === 1 ? node : dragEls.find((el) => el.contains(eventTarget));
  active = true;
}

I can send a PR if you want me to, but I'm unsure if using composedPath is a good solution for you or if you have maybe a better idea. Fixing this makes it possible to use this library with Lit before there is a specific Lit implementation (which is my use case).

@PuruVJ thanks for fixing this and sorry for bothering you with this issue again. Unfortunately, I was too slow and just now I found another limitation. My previous solution fixed dragging only for custom element roots (meaning no dragging of elements inside of shadow roots).
This is the updated patch I'm testing now:
const eventTarget = e.composedPath()[0];
    if (dragEls.some((el) => el.contains(eventTarget) || (el.shadowRoot !== null && el.shadowRoot.contains(eventTarget))) && !cancelElementContains(cancelEls, [eventTarget])) {
      currentlyDraggedEl = dragEls.length === 1 ? node : dragEls.find((el) => el.contains(eventTarget));
      active = true;
    }

The only difference is that I'm calling contains() on the shadowRoot if it exists.

Released in 2.0.3


Remove log when devMode false

https://github.com/tlaverdure/laravel-echo-server/blob/cb85b60fa712884ab18defe193499bde3fbc06a8/src/subscribers/redis-subscriber.ts#L40
Can you disable that log when devMode set to false, or create another option that disables realtime log. Because it cause a huge size of a log file in a big system.

This has been addressed.


Error getting poll data

I am using the same code as the example in the Readme but when I run the program, all I get is a bunch of "Error fetching poll data" messages.

Tried with a different poll that also does not have IP checking, said vote sent but after checking poll, no votes were cast.


Add createStateContext and createReducerState

Description
Following this To-Do https://github.com/streamich/react-use/projects/1#card-31525623 and that Issue https://github.com/streamich/react-use/issues/247.
Adding a neat pattern for light weight react only, state sharing among components.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as before)

Checklist

[x] Read the Contributing Guide
[x] Perform a code self-review
[x] Comment the code, particularly in hard-to-understand areas
[x] Add documentation
[x] Add hook's story at Storybook
[x] Cover changes with tests
[x] Ensure the test suite passes (yarn test)
[x] Provide 100% tests coverage
[x] Make sure code lints (yarn lint). Fix it with yarn lint:fix in case of failure.
[x] Make sure types are fine (yarn lint:types).

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


tpl: Remove twitter:domain tag from internal shortcode

It seems this metadata tag is no longer used by Twitter, as it has been removed from their official Cards Markup Tag Reference. There is a reference to this on the W3 mailing list in 2013 as well.
Users should remove .Site.Social.twitter_domain from their configuration as well.

Rebased on top of current master. This is a trivial cleanup, hoping this makes it into 0.19.


mock parameter

Each query string resource should have a mock parameter. This should be noted in the API spec.

Pretty much taken care of, along with a system around such!


Is the ShapeNet dataset is shapenet_part_seg_hdf5_data.zip ?

No, it is not shapenet_part_seg_hdf5_data.zip. It is the ShapeNet dataset.  More specifically, you can check PCN, which generates partial and complete point clouds for selected CAD models from the ShapeNet dataset.


fix: invoice baid64 encode & decode for P2TR address

#212

see #210, 你只修复了p2tr, 并且修复的方式不太对。Pay2Vout编码方案是第一个byte存储CloseMethod, 第二个byte存储地址类型，然后剩余的内容就是scriptbuf去掉前缀和后缀的hash bytes。主要错误的地方是在to_baid64_payload，所以主要更改的也应该是这个。
你把数组长度从35改成37，他也不可能接受的，35已经冗余了。

LGTM but please do not change formatting of random unrelated parts

sorry, i'm forgot the fmt, i had force pushed that restore the fmt

Fixed for rgb shell command:
rgb -d .bob invoice $RGB20_CONTRACT RGB20Fixed 2000 --address-based

Please see my comment in #212 (comment)
We also certainly do not need 37 bytes

yep, i have fixed it, we just encode the address payload, so we just need 34 bytes to hold the encoded bytes


Clarification on the difference between sqlite-e2e and sqlite-persistent

Hey, thanks for contributing to Koel! To save time for both of us, please make sure these checkboxes are checked before submitting the issue:

[x] You have read and followed closely the Wiki, Upgrade Guide, as well as Troubleshooting
[x] The issue has not been reported before
[x] This is not a "how to install on Windows" or "why is my npm messed up" question
[ ] You're a cool person 🤔

All checked? Now also make sure your issue

[x] Is associated with a version. Or better yet, a commit.
[x] Is as detailed as possible (ahem... OS, browser, steps to reproduce, maybe?)
[x] Includes the error output if it's a bug/error report ("Whoops!" is not very helpful, you know)
[x] Is in English, 因为我不说中文。

Version: latest master (35efc6b1a3228ac5e26e5caf0234d169e5db9dc2)
I'm slightly confused as to which of the sqlite-e2e and sqlite-persistent is the correct database driver for sqlite. Looking at this:
https://github.com/phanan/koel/blob/35efc6b1a3228ac5e26e5caf0234d169e5db9dc2/app/Console/Commands/InitCommand.php#L102-L111
It seems like sqlite-e2e is the right one. But it's missing the fix from here:
https://github.com/phanan/koel/blob/35efc6b1a3228ac5e26e5caf0234d169e5db9dc2/app/Traits/SupportsDeleteWhereIDsNotIn.php#L30
I'm also not sure why DB_DATABASE was used differently (one used as an absolute path and the other one relative path):
https://github.com/phanan/koel/blob/35efc6b1a3228ac5e26e5caf0234d169e5db9dc2/config/database.php#L42-L52
As I recently encountered the "too many parameters" issue with sqlite-e2e, I think I should switch to sqlite-persistent, although I would prefer if DB_DATABASE is also an absolute path like it is in sqlite-e2e. And out of curiosity, what does e2e stand for? I was thinking of end-to-end but sqlite end-to-end doesn't make much sense. Is it for testing?

Yes, sqlite-e2e is the database used for end-to-end testing, even though it's now much obsolete, as I'm planning to switch to Cypress and its server mocks. sqlite-persistent is what you want to use (even though personally I'd recommend to pick a database driver that is better supported by Laravel e.g. MySQL.
Also, I totally agree re: absolute path. Changing it will be BC breaking though.

Thanks for the clarification. I like sqlite for its portability but I'll try MySQL. I should have discovered this project earlier so we can make the change to absolute path before v4.0 but I guess it's a bit late 😛


Partially tested renaming sprites

Right now its possible to rename sprites without losing references to them.
Also they have visualization in window.
Partially checked renaming together with other kind of assets.
I don't know why github see all file as changed.

It's probably all showing up changed because of whitespace changes. We use spaces for tabs, and I'm we use unix line endings but I hope git will take care of those when you commit. Try to change over to use spaces and see if that fixes the diff.
Regarding the PR, overall this is a great help! I'm gonna make some comments on lines.

Changes to rename function looks much better! Thanks for doing that. I'll have to review the code to make sure it works, but I may not have time until after the weekend.


Demo: Set gpt-3.5-turbo model; remove moderation

"""For PRs: only bug fix PRs wil be accepted. If you are implementing a new feature, please fork this repo."""


[ feature ] Controller blueprints

Blueprints would store only the position and placement of Controllers.
Even with snapping, some configurations may not be very easy to build.
But the same configuration could be useful for different workflows.
We would have options to:

Save the blueprint of the current workflow.
Load a blueprint on the current workflow ( and maybe a list of saved blueprints would show up  )

An alternative way to do this,  would be allowing to save empty controllers, in a workflow.
Then we could saved "blueprint" in a workflow.

The disadvantage of this is that "blueprints" could only be used on new workflows.
Sowe could also have an option to:

Load workflow Controllers

And instead of loading a full new workflow, only its Controller's layout would be loaded, on top of the current workflow.

These are the Load Image nodes.
One for ControlNet and another for Image2Image.
This way I use different images if I want.
And I can disable them independently on the Controller

I have 6 controllers, 1 for each group:

ControlNet
Image2Image
Sampler
Refiner
Faced Detailer
Image Preview

I think this has a lot of potential !
Above I talked about 1 blueprint for many workflows. But we could also have many blueprints for 1 workflow.
Are you familiar with the concept of Blender workspaces?
https://docs.blender.org/manual/en/latest/interface/window_system/workspaces.html
There are default Blender workspaces for common tasks ( e.g. modeling, animation, sculpting, etc. ...) but we can also create custom ones.
Blueprints would work like workspaces, but in Sidebar ( instead of Blender tabs ).
Many users have complex workflows that can do multiple things.
We could use blueprints to change the Controller's layout, according to the current task, within the same workflow ( "Inpaint", "Image2Image", etc. ... )

This would require:

Saving the groups assigned to each Controller, in the blueprint
Saving multiple blueprints in one workflow
Naming a blueprint when it's saved
Having a Sidebar tab with the blueprint list ( we could use a floating window, but I think it would look better in the Sidebar )

And we could also integrate this with the first approach ( 1 blueprint for many workflows ). Like this:

Save blueprints within ComfyUI ( within a single JSON file )
The way it would be easier to share blueprints between workflows.
And we could also have some default blueprints in there, for new users.
In the Blueprint's Sidebar header we could switch between the 2 lists:

Blueprints stored in the current workflow
Blueprints stored in ComfyUI

When the groups in a blueprint don't match the current workflow, they would be discarded, when the blueprint is loaded.

About the "Blueprint" list name,
I'm fine with any solution you think it's better.
Instead of being in the Sidebar, it could be a dropdown list in the Top bar.
That may be even better, because opening the Sidebar would change the Controller's layout, anyways.
In the old version of the topbar, we had dropdown buttons, and dropdown lists, for the workflows.

Or it could also be in the right click menu and pop up window, like the Node Templates list and "manage" window.

Or, as alternative, the blueprint list could also be in the right click menu, and pop up window.
This is how the Node Templates work, in ComfyUI core.

I was thinking maybe right-click on the controller icon in the topbar

I was thinking maybe right-click on the controller icon in the topbar

Yeah, that could work.
But do you want it to be a dropdown list in the topbar, or a floating window ?
If it's a dropdown list, we could have small arrow button, next to the Controller's icon. Like the old Topbar's save icon.
This way it will be more discoverable.

To make this less complex,
We could only have "multiple blueprints for 1 workflow".

Sharing blueprints between workflows ( "1 blueprint for multiple workflows" ), may not be worth it, because:

We would only share the position and placement of the controller windows ( not group tabs ).
These should be easy enough to recreate, since we would only have to build them once, per workflow.

I was thinking these would be saved as separate files (in the custom node
directory). I think there’s a pretty simple approach.

Cool, if it's not that much more complex, we could have them both.

By the way, I don't mind calling this feature "workspaces" ( like Blender ) instead of "blueprints".
@chrisgoringe, @LukeG89, What do you think ?
It may be easier to understand the purpose of this feature, if we call it "workspaces".
But a possible disadvantage, is that it could to sound too similar to "workflows", and users may confuse them both.

By the way, I don't mind calling this feature "workspaces" ( like Blender ) instead of "blueprints".

It may be easier to understand the purpose of this feature, if we call it "workspaces".

Yes, "Workspaces" works better

First cut at this now on the 1.6 branch. Ugly, but seems basically functional.

The sizes and positions of the Controller windows seem to be saved correctly.
Even in very complex workflows.
But the group buttons change location. Some are gone. And some are replaced with an "all" button.
This happens in both simple and complex workflows.
To test this:

Exported the workspace.
Deleted all controllers.
Imported the workspace again.

2 controllers
original

imported workspace
In the bottom windows the "Sampler" button was replaced with a "All" button

7 controllers - full height columns
original

imported workspace

18 controllers - stacked columns
original

imported workspace

About the aesthetics,
The icons make sense, but they are not very readable.
Do you like any of these:

Expected behaviour is that when you load a workspace all the controllers are empty (or set to All)
That's what I understood the concept to be...

Expected behaviour is that when you load a workspace all the controllers are empty (or set to All)
That's what I understood the concept to be...

Yes, that's a use case. To share workspaces between workflows. That was my initial idea.
In that case, the group names may be different.
So we may only need the size and position of the windows.

Another use case would be to have multiple workspaces, for the same workflow.
In that case the group names, would be the same, so it would be useful to store them.
For instance, if I bypass some groups, I can remove their controllers and have a larger controller window for the preview image.
Or if I change the size of the final image ( e.g. portrait to landscape ), I can reconfigure the controller windows, to optimize the space and have a larger preview.
So, instead of creating new workflows for each controller window variation, I can create workspaces.
And later on, if I make changes to the main workflow, the workspaces will still be usable.

Moving this to 1.7 so the stuff in 1.6 can move to dev...

Here is an example use case.
These are 2 identical workflows. I just changed the image size, and the Controller window configuration.
I'd like to store both controller configurations, in the same workflow, to quickly change between them.
Now I need to switch between 2 different workflows.
And each time I need to make changes to the workflow, I need to do it twice.

OK. So the "workspace" should actually be a complete representation of the controllers (position, group, and options).
That's actually easier, in a way!
I'll aim to get export and import working first, then we can consider some sort of library

I'll aim to get export and import working first, then we can consider some sort of library

Yeah, exporting all Controller data, for a single layout, would give basic functionality.

Ideally, we could have multiple workspaces in the same workflow file ( json / png ).
But, I'm not sure how the GUI should look.
Maybe have another Top Bar button, to open a pop up or dropdown with all workspaces.
We could add, rename, select and delete workspaces from there.
ComfyUI also uses this icon for ( workflow ) templates.
And it kind of looks like a "Controller workspace" representation.

When we open the "Library", for the first time, we could see that we are in "Workspace 1".
If we add a new one, it could duplicate the workspace that's currently selected.
But when we make new modifications in the Controller, they would be stored separately.
And we could always return to the previous workspace.
The new modifications ( and the new workspace library "entry" ) only need to be "permanently stored" if we Save or Export the whole workflow via Comfy UI.


[SUGGESTION] Witchery: Resurrected integration

Hi
It would be neat if sneaking behavior became disabled if Witchery: Resurrected mod installed and is currently a wolf transformation. When you are in wolf form the player should just be 1 block tall, but the camera forces 2 block tall perspective, making the camera clip through blocks when walking under 1 block tall tunnels.

Duplicate of #81. Please see my reasoning there.

@embeddedt
This is what works for me. I couldn't get your project to compile (Maven can't find any of the dependencies for some reason) so I can't test if it works. It does work in another mod however.
import net.minecraft.entity.player.EntityPlayer;
import net.minecraftforge.fml.common.Loader;
import net.msrandom.witchery.WitcheryResurrected;
import net.msrandom.witchery.init.WitcheryCreatureTraits;
import net.msrandom.witchery.init.data.WitcheryAlternateForms;
import net.msrandom.witchery.transformation.CreatureForm;
import net.msrandom.witchery.util.WitcheryUtils;

public class WitcheryTransformations
{
    public static boolean isWerewolf(EntityPlayer player)
    {
        return Loader.isModLoaded(WitcheryResurrected.MOD_ID) &&
                WitcheryUtils.getExtension(player).isTransformation(WitcheryCreatureTraits.WEREWOLF);
    }

    public static boolean isWolfTransformation(EntityPlayer player)
    {
        return isWerewolf(player) &&
                WitcheryUtils.getExtension(player).getCurrentForm() == WitcheryAlternateForms.WOLF;
    }

    public static boolean isWolfmanTransformation(EntityPlayer player)
    {
        return isWerewolf(player) &&
                WitcheryUtils.getExtension(player).getCurrentForm() == WitcheryAlternateForms.WOLFMAN;
    }
}

I couldn't get your project to compile (Maven can't find any of the dependencies for some reason)

This should be fixed now if you pull the branch again. I forgot to apply a fix from another branch.

Still no luck:
./gradlew
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.10.3/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing

> Configure project :
This mapping 'stable_39' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-1.0.5-87a5c157
   https://github.com/anatawa12/ForgeGradle-2.3
#################################################
                 Powered by MCP
             http://modcoderpack.com
     by: Searge, ProfMobius, R4wk, ZeuX
     Fesh0r, IngisKahn, bspkrs, LexManos
#################################################

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'AquaAcrobatics'.
> Could not resolve all dependencies for configuration ':deobfProvided'.
   > Could not resolve curse.maven:artemislib-313590:2741812.
     Required by:
         project :
      > Skipped due to earlier error
   > Could not resolve curse.maven:betweenlands-243363:3540284.
     Required by:
         project :
      > Skipped due to earlier error
   > Could not resolve curse.maven:chiseledme-250075:3467731.
     Required by:
         project :
      > Skipped due to earlier error
   > Could not resolve curse.maven:dynamictrees-252818:3446235.
     Required by:
         project :
      > Skipped due to earlier error
   > Could not resolve curse.maven:endercore-231868:2972849.
     Required by:
         project :
      > Skipped due to earlier error
   > Could not resolve curse.maven:enderio-64578:3328811.

...

> Skipped due to earlier error
   > Could not resolve curse.maven:xaerosminimap-263420:3630494.
     Required by:
         project :
      > Skipped due to earlier error

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 17s


Stake off admin SBAT disqualify validator or group

Implement a type of slashing that can only be performed by the stake off admin address that slashes the entire stake of a group or validator, as specified.

Decided that disqualification via leaderboard was sufficient


Feat/cli

Features

Failed to add Arduino-Cli integration due to incompatibility with RaspberryPi and Arduino-Cli
Add clear direction on how to set up Arduino extension in VSCode
Setup arduino.json
Setup gitignore
Add sample blink code
Set up repository to follow basic community standard

Add Code of conduct
Add Contributing
Add Security Policy
Add Pull Request Template

How to Test

Follow the directions on the ReadMe file and make sure all of the steps are clearly written
Check to see if there are any errors in the main .ino file
Make sure the main .ino file passes the verification of the Arduino extension

Closed due to bug in github


Kick entities (actually all open sockets) on log out.

Currently only the session is invalidated. Should be removing the client object, and ofc the entities and such.

Fixed alongside #3


Policy updates regarding Posting Representations of Images in Rubin Communication Channels

As issued in https://rubinobs.atlassian.net/browse/PREOPS-6549
This PR brings DMTN-286 up to date and into full (word by word) alignment with the Staff Access Form at https://ls.st/staff-access-form, as revised and advertized to staff in Rubin Slack #all-users on December 12 2024.

@womullan the main content of this update (the actual policy for posting image representations) has already been reviewed by you, Bob and others. You should look at the other proposed changes as well though - we are using DMTN-286 as a living policy document, so I updated the text from being forward looking (as it was earlier this year when we were discussing which Slack workspace to use...) to current. We can decide later whether and when to bring this document under change control.

Extension to the policy revisions to allow additional position data overlays (x/y? patch/tract? RA/Dec?) are still under discussion but would be easy to add to this PR if they are approved.

Offline, Chris Walter suggested providing some rational for the policy elements where needed. This could be citations to DMTN-199, or else brief justification for any "failsafe" mechanisms. He points out that this will likely lead to a more secure posture from the staff overall. I'll look at this as I make the next round of edits.


mypy-boto3-s3 1.35.76 does not recognize ContentMD5 arg of S3Client.put_object()

Annotation of S3Client.put_object() appears to have regressed.
To Reproduce
Steps to reproduce the behavior:

Install mypy-boto3-s3==1.35.76
Run mypy on the following code sample

from mypy_boto3_s3.client import S3Client

s3client: S3Client

s3client.put_object(
   ...,  # Other args
  ContentMD5="..."
)

Actual output
error: Unexpected keyword argument "ContentMD5" for "put_object" of "S3Client"

Expected output
Type-check to pass, as in 1.35.74 and earlier.

Thank you for the report. I removed this argument in https://github.com/youtype/mypy_boto3_builder/releases/tag/8.6.0, because in most cases it is calculated by boto3 internally. Looks like, this is not the case, it is accepted in some methods.

Fixed in https://github.com/youtype/mypy_boto3_builder/releases/tag/8.6.3 . Please update mypy-boto3-s3 and let me know if it works as expected.

@vemel Could you please make a new release of types-aioboto3 using mypy-boto3-builder 8.6.3? I am having a similar problem with session.resource("s3").Object.put using types-aioboto3 13.2.0.post3.

I have updated to types-aiobotocore-s3 2.15.2.post2, but I am still getting the same error. I am using Pyright 1.1.390. The following code generates the following error:
import aioboto3

bucketName: str
key: str

async def _writeString() -> None:
	session = aioboto3.Session()
	async with session.resource('s3') as s3:
		object = await s3.Object(bucketName, key)
		await object.put(
			Body = ...,
			ContentMD5 = ...)

/app/repro.py
  /app/repro.py:12:4 - error: No parameter named "ContentMD5" (reportCallIssue)
1 error, 0 warnings, 0 informations

@rpmrmartin Object.put method incorrectly removed ContentMD5 argument. I released builder 8.6.4 and published:

mypy-boto3-s3 1.35.81
types-aiobotocore-s3 2.15.2.post3
types-boto3-s3 1.35.81

Please update and let me know if it solves your issue.


[azure example] when sdk update please update example

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
https://github.com/Azure-Samples/virtual-machines-python-manage/blob/master/example.py
too old for us
Describe the solution you'd like
A clear and concise description of what you want to happen.
focus on vm
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

New examples: https://github.com/Azure-Samples/azure-samples-python-management/blob/master/samples/compute/manage_virtual_machine.py

Thanks


chore: put eslint into top level

First is to remove module package, but put lint rule into top-level, Second there's no create-llama here, so I removed some next eslint rules

Nice cleanup, we can also turn on more of these @typescript-eslint rules if needed