Crafting quests when inventory is full

What is your Quests version / build number (do not say "latest")?
5.0.5-b480
Describe the problem and how to replicate it.
Make any crafting quest that makes more then 1 item of any type. Fill up your inventory with any random junk to occupy space, and then shift+click to craft. Regardless if the materials are actually used and the item is actually crafted, it will mark the quest as complete. Video attached if I didn't describe it well. Harder crafting quests (like crafting beacons) can more or less be bypassed without spending materials.
https://github.com/PikaMug/Quests/assets/64336395/35754d09-06d3-4f32-9737-a279df7f7b38
Any console errors to share?
n/a

If applicable, can you provide an example quest from quests.yml?
'9999':
    name: Test Crafting
    ask-message: '        &x&e&9&9&8&2&0&l⭐ &x&f&f&d&5&7&e&l<quest> &x&e&9&9&8&2&0&l⭐'
    finish-message: §8§l[§x§7§6§8§b§f§5§lBOT§8§l]§r §fTake another quest with §x§f§f§d§5§7§e§l/quests§f!
    stages:
      ordered:
        '1':
          items-to-craft:
          - ==: org.bukkit.inventory.ItemStack
            v: 3700
            type: MUSHROOM_STEW
            amount: 64

@HorusApl Thanks for reporting this. Please try this development build:
https://ci.codemc.io/job/PikaMug/job/Quests/483/

Seems to work similar to the brewing abuse fixes by canceling the event. If at all possible, could I propose letting the event pass, but only counting the actual amount of items sent to the inventory? So if I shift click and only have room to make 5, it should let me make those 5 and only count those 5. If too time consuming as this really only applies to very few quest types, this fix will work well.
Thanks again.

Seems to work similar to the brewing abuse fixes by canceling the event. If at all possible, could I propose letting the event pass, but only counting the actual amount of items sent to the inventory? So if I shift click and only have room to make 5, it should let me make those 5 and only count those 5. If too time consuming as this really only applies to very few quest types, this fix will work well.
Thanks again.

Unfortunately, the event doesn't provide a method for partial completion; it's all or nothing. We could handle it ourselves, but then there's the matter of what should happen to the unused materials—should we throw them on the ground where someone else could pick them up, or maybe try to calculate leaving the player enough space to take them back as well? I really think just canceling the event is best, but I'd be open to a Pull Request.


simple usage example

Many thanks for your work so far!
I would like to use the python Grünbeck module as it is directly with python
Could you provide a simpel example. I searched the repo but couldn't find one.
Best regards
Wolfgang Beck

The library was mainly created for being used with the Grünbeck Cloud Homeassistant Component
Here is an example how to use it without Homeassistant:
# pylint: skip-file
"""Demo file for testing."""
import asyncio
import logging

from pygruenbeck_cloud import PyGruenbeckCloud
from pygruenbeck_cloud.exceptions import PyGruenbeckCloudConnectionError
from pygruenbeck_cloud.models import Device

logging.basicConfig(
    level=logging.DEBUG,
    format="[%(asctime)s] %(levelname)s [%(name)s.%(funcName)s:%(lineno)d] %(message)s",
    datefmt="%d/%b/%Y %H:%M:%S",
)
_LOGGER = logging.getLogger(__name__)

class TestGruenbeck:
    unsub: bool = False

    def callback_func(self, data: Device):
        """Callback function."""
        _LOGGER.info(f"Callback data: {data}")

    async def init(self):
        """Demo function for testing."""
        try:
            async with PyGruenbeckCloud(
                username="<USERNAME>",
                password="<PASSWORD>",
            ) as gruenbeck:
                gruenbeck.logger = _LOGGER

                devices = await gruenbeck.get_devices()
                if len(devices) <= 0:
                    _LOGGER.warning("No devices found!")
                    return

                # Use first Device
                await gruenbeck.set_device(devices[0])

                # Listener
                async def listen():
                    try:
                        await gruenbeck.connect()
                    except Exception as ex:
                        _LOGGER.error(ex)
                        self.unsub = True
                        return

                    try:
                        await gruenbeck.listen(callback=self.callback_func)
                    except Exception as ex:
                        _LOGGER.error(ex)

                    await gruenbeck.disconnect()
                    self.unsub = True

                _LOGGER.info("Start listener task...")
                task = asyncio.create_task(listen())
                while self.unsub == False:
                    # Get Device information every 360 seconds
                    _LOGGER.debug("Wait 360 seconds in main thread...")
                    await asyncio.sleep(360)

                    await gruenbeck.get_device_infos()
                    device = await gruenbeck.get_device_infos_parameters()
                    _LOGGER.debug(f"Device after update: {device}")
                    await gruenbeck.enter_sd()
                    await gruenbeck.refresh_sd()

        except PyGruenbeckCloudConnectionError as ex:
            _LOGGER.error(ex)
        except (asyncio.exceptions.CancelledError, KeyboardInterrupt):
            _LOGGER.debug("Got finish signal, wait for disconnect...")
            await gruenbeck.disconnect()
            _LOGGER.info("Stopping Task")
            task.cancel()
            _LOGGER.info("Quitting!")

asyncio.run(TestGruenbeck().init())

Many thanks!
I know you did it mainly for home assistant, but I believe there are many people running a Grünberg without home assistant :-)


Add a Dockerfile that includes all the tools needed to run tests

To run the go test command, this package requires the following tools to be installed:

python
twine
cargo
gpg
pip
wheel

This PR introduces a Dockerfile that includes all the necessary tools.

@jonyoder
As you can see, the CI passed, and I was able to run the tests successfully on my mac.
Could you try deleting the testdata folder and re-testing?


Select userMetadata only from merge operations

Description
Select only MERGE operations from delta table history to query user metadata
Checklist

[X] I have run this code in development and it appears to resolve the stated issue
[X] This PR includes tests, or tests are not required/relevant for this PR
[ ] I have updated the README.md file

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@cb1c2a2). Click here to learn what that means.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             develop      #50   +/-   ##
==========================================
  Coverage           ?   43.93%
==========================================
  Files              ?       22
  Lines              ?      544
  Branches           ?       42
==========================================
  Hits               ?      239
  Misses             ?      305
  Partials           ?        0

When is it necessary to run OPTIMIZE? If it's a single time operation I don't think it's necessary to make this changes. On the other hand, OPTIMIZE could be executed with needed userMetadata, the same way it is done when running SET TBLPROPERTIES in library.


client demo x509 exception

When i use client demo and x509 do some testing, i get a error "java.lang.IllegalStateException: Supported cipher suites must be set either explicitly or implicitly by means of setting the identity or PSK store", who know how to solve this problem?

(I just tested right now and it works for me with master 9f54a26f2f72c497101e14fa6c1db21f46b8a6ce)

Any input to help to reproduce ?

I close this issue because there is no activity but feel free to reopen it, if needed.


Select Input Element

Is it possible to apply this to a multiple select input with a list of options selected?
We have a tool that generates those automatically, and it would make things much easier

I'm not sure what you mean. Do you mean when an option gets selected within the multiple select input, a tag is added to a text box?
If possible can you provide an example within jsfiddle?

I did this using onTagRemove and on onTagAdd callback functions to append/remove the values onto multiple inputs

Love this concept. However, I have a page that displays a series of images. User needs to be able to tag each image with one or more tags. Once all of the images are tagged, the user submits the form. How do I set up the HTML and Javascript to handle that? The tags would also need to be associated with the appropriate image being tagged.

@MaxITCorp I'm still not sure what @barrychapman meant but for your scenario there are a fews ways I can think of.

Once you construct the Taggle instance for each image, each instance can have a different input name using the hiddenInputName option upon construction.
Upon constructing a Taggle instance, you can use instance.setData({ imageId: 'image1' }) which you can then use instance.getData() later to know which image is associated with the tags, perhaps using something like instance.getTags().values
Your container element that you use to construct the Taggle instance can have an attribute like data-imageid="1" on it which you can then retrieve later using instance.getContainer().getAttribute('data-imageid')

@okcoker brilliant! I can work with that. Thank you.

@KrisNick cheers.
Not sure if that answers the original issue but let me know if not @barrychapman and we can reopen.


Add a completion callback to insertTrailers in cache_filter

Commit Message: Add a completion callback to insertTrailers in cache_filter
Additional Description: Without this additional callback, an asynchronous cache implementation has no way to signal completion of an insert operation involving trailers. This also changes the cache test implementation to require that the completion callback has been called, before continuing to other parts of the test, where previously it would assume completion as soon as insertTrailers was called.
Risk Level: Low (change to a WIP filter)
Testing: Tests updated
Docs Changes: n/a
Release Notes: added a completion callback to insertTrailers in cache interface. Any external cache implementation extensions will need to also add this callback, and call it on completion.
Platform Specific Features: n/a

/wait


Provide a script to find files not owned per the CODEOWNERS file

Identify files and components that are not owned and provide suggestions based on git history.

https://github.com/beaugunderson/codeowners does the job.


Compiling SmartHotels.Services.All fails missing AppSettings files

When compiling the SmartHotels.Services.All solution in Visual Studio 2017, in the SeedImages folder under the solution file in the Seed.Images project, it looks like a few appsettings files are missing:

appsettings.json
appsettings.k8sdev.json
appsettings.pmain.json
appsettings.public.json

Error | MSB3030 | Could not copy the file "C:\Temp\SmartHotel360-AKS-DevSpaces-Demo-master\src\SmartHotel360-Azure-backend\src\SmartHotel.Services.Seed.Images\appsettings.pmain.json" because it was not found. | SmartHotel.Services.Seed.Images | C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets | 4529 |

I checked and the files are missing in the repository. Any ideas on how to solve this?

Solved in PR #35


Support range sortKey

Description
SortKeys of EdgeLabel is implemented like a secondary index now. We can only provide actual sortKey value to query if wanting to query by sortKey. But, querying by sortKey range is needed In some conditions. For example, If Call edges connect two PhoneNo vertices and use timestamp as Call's sortKey, querying by timestamp range seems more reasonable rether than querying by a timestamp.

we can encode int or long to base64 string


RAR is not aware of .NET assembly unification

.NET will unify inbox assemblies with those that have the same major.minor version.  However, if an assembly has a different major.minor .NET will not unify.  As such RAR should suggest a bindingRedirect for those assemblies, even if it doesn't see a conflict, since a conflict will exist with other inbox assemblies which are out of RAR's view.
Related to https://github.com/Microsoft/msbuild/issues/1344, if you think about inbox framework assemblies as "runtime".

Any news on this? I can't pretend to understand what is happening here but this issue is referenced from https://github.com/dotnet/corefx/issues/15570
The net effect is that .netstandard has created a DLL hell for lot's of developers. We build the apps, we compile and it blows up during runtime. This is unacceptable.
In my case I have a netstandard1.3 class lib which is used in a 461 project of unit tests and it blows up with
Could not load file or assembly 'System.Security.Claims, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

even though the only version I reference anywhere is System.Security.Claims 4.3.0

I am running into this problem as well and having to fix it on a case-by-case basis with binding redirects in app.config/web.config files.

Bump, are there any updates here? We're hitting this with the 2.0 SDK and the System.Security.Cryptography.Algorithms type

We actually improved this with the tooling (via https://github.com/dotnet/corefx/commit/56b4231e2bbe640e75b365bc15467cab651031cb and https://github.com/dotnet/sdk/issues/1267),  What netstandard version are you targeting?

This is targeting 1.4 and using the 2.0 SDK.

I can add to this issue - I am currently working on the SharpZipLib netstandard1.3 Nuget package. Today, I pushed the Nuget package (alpha1 pre-release) that was built against netstandard1.3 - and added it to a bunch of test projects. That's when I started seeing exactly that error: an assembly load exception for .Primitives 4.0. Repros perfectly in a  .NET FW 4.6.1 application.
Fix was https://github.com/icsharpcode/SharpZipLib/issues/184#issuecomment-323040985
But obviously cannot tell world & dog to downgrade two packages after installing ours... definitely would need to ship a proper package of ours.

@onovotny actually System.Security.Cryptography.Algorithms.dll was never inbox so you wouldn't be hitting this particular issue, same with System.Security.Cryptography.Primitives.dll.  Can you guys open up a new issue in corefx with the repro/symptoms of the failure.

https://github.com/dotnet/corefx/issues/23344


Missing svdPath for Debugging

The container setup has support for debugging, though the vscode setup dont provide an svd file  + it dont have it integrated inside the vscode config.
svd file allows the debugger to access the PeripheralView on registers

Some ideas that were discussed:

Investigate if rhai can download it
Add the files in the template repo

This is not ideal in terms of maintenance

Adding a commented link to the svd repo, so users can download it

Can we always use the latest svd available or do we need to use the version that was used for the pac release being used?


Build experimental-bundled-ui-shell.js as immediately invoked function expression

Changes
As found in https://github.com/Qiskit/qiskit_sphinx_theme/pull/274#issuecomment-1515527247, we want to bundle web components into qiskit_sphinx_theme as immediately invoked function expressions. That allows us to avoid issues with CORS on local development & results in the component being immediately loaded, rather than having a delay.
Implementation details
See https://rollupjs.org/configuration-options/#output-format for the relevant docs.
According to Abdón, experimental-bundled-ui-shell.js is only used by qiskit_sphinx_theme, so this should have no impact on other teams. It will not change e.g. how npm install works, as far as I can tell.

Bump @y4izus @eddybrando


@FotieMConstant looks like you merged main into your branch, I was wondering why there was 3k additions/removals.
Haha sorry but last thing is to just make sure your commit is there with it being formatted

@FotieMConstant looks like you merged main into your branch, I was wondering why there was 3k additions/removals.
sorry but last thing is to just make sure your commit is there with it being formatted

@FotieMConstant looks like you merged main into your branch, I was wondering why there was 3k additions/removals.
sorry but last thing is to just make sure your commit is there with it being formatted

everything looks good, just ran the format command again to double check the updates

Thanks for taking the time and submitting the changes! The merge commit would mess up the Git history too much, though. I’ve created a new PR with your commits here: #374
For the next PR I’d recommend to use git rebase. Read more about keeping PRs up to date: https://github.blog/changelog/2022-02-03-more-ways-to-keep-your-pull-request-branch-up-to-date/ ✌


Add @import_directory and @import_tree

if I had @import_directory and @import_tree I could get rid of ugly sprocket comments at the top of my stylesheets and be 100% sass.
Why should I explicitly name all the files with @import? is there any way around it at the moment?

Sass provides a framework for customizing the behavior of the @import directive. This framework is used by sass-rails and sprockets-sass to make the sprockets directives unnecessary in Sass files.


Add useful conformance tests for syntax of builtins

Describe the feature you'd like
Currently the conformance tests for lists and data objects do fail. They are expected to fail.
https://github.com/input-output-hk/plutus/blob/47bad0842ba7611ed16a48b32ab1959da4c213db/plutus-conformance/test-cases/uplc/evaluation/builtin/constant/data/dataInteger/dataInteger.uplc.expected
However, there actually is a notation to parse data and lists.
Here are some examples that don't fail.
(con data #00)
(con (list bool) [True, False])
(con (pair data integer) (#40, 0))

Describe alternatives you've considered
No response

Where data is encoded as the CBOR hex representation of the underlying datum. Also note that due to underspecification of the UPLC Syntax, independent projects like aiken, have brought forward their own syntax for UPLC

Thank you for the report.

However, there actually is a notation to parse data and lists.
Here are some examples that don't fail.
(con data #00)
(con (list bool) [True, False])
(con (pair data integer) (#40, 0))

OK, it's a bit complicated and ridiculous. It's true that all these examples indeed have the specified syntax, however:

we're considering changing it, see #4751
parsing of lists and pairs is supported, but parsing of data is not at the moment

The reason why the current situation is a mess is that we've never really cared about the syntax of PLC/PIR, only about its serialization format. However given the number of complaints from the community we're reconsidering this approach.
We'll discuss the issue and I'll get back to you afterwards.

To give you an update, we've been discussing the issue, but it's going so slowly due to everyone being overbooked with other stuff. But it's being worked on, hopefully we'll see a light at the end of the tunnel at some point.

A side note: Aiken has also gone forward and defined notation for the underspecified pairs, lists and datas
As it seems now, the UPLC notations are already diverging and will likely diverge even more
https://aiken-lang.org/uplc/syntax

In Syntax of builtins #4751 I've added a description of syntax for constant terms. It remains to update the parser and the tests for data. (The syntax for pairs and lists is the same as the current supported one, and the corresponding tests have been updated).

I just want to say (from the aiken side) that we don't intend for the implementation we have to push this in any particular direction. Whatever the plutus team lands on I'm happy to follow 🫡.
I see the linked issue and will wait for this issue to move forward so I can make sure the rust version conforms.

@rvcas

I just want to say (from the aiken side) that we don't intend for the implementation we have to push this in any particular direction. Whatever the plutus team lands on I'm happy to follow 🫡.

Great to know, thanks!

I also wouldn't mind helping with this on the haskell side, I'm not very sharp with haskell but I'm somewhat familiar with where the parser is for this already. Not sure if this one is open to outside contributors.

It wasn't a big task, it's just that we couldn't get around to it with all the other stuff, so collaborating with you would be a comparable amount of effort for us. But thank you a ton for proposing and I apologize for not responding earlier.
This whole issue was finally resolved in #5391 where we implemented the specified syntax for builtins (including lists, pairs and Data). Conformance tests are updated, so as long your parser passes the conformance test suite, you should be fine.
Sorry it took so long!
Closing the issue as "done", but do feel free to reopen if you disagree.

@effectfully thanks


Move assets to subfolders

Codecov Report

Merging #239 (f557dcf) into master (2bbf193) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #239   +/-   ##
=======================================
  Coverage   96.04%   96.04%
=======================================
  Files         151      151
  Lines        3566     3566
=======================================
  Hits         3425     3425
  Misses        141      141

Impacted Files
Coverage Δ

impl/jamtemplate/common/tilemap/tileson_loader.cpp
98.51% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Implement new delegation design.

[x] Design
[ ] align left side of fields with Atom logo
[ ] write Atoms within Amount field
[ ] make To field read-only
[ ] Allow selection of previously-staked validators in From field.
[ ] Cancel button

@jbibla , please link your design files here.

https://zpl.io/bWL0krn - Staking
https://zpl.io/VxlvdWk - Restaking

Please remove issues from the backlog when moving them into Scrumptious.

Hold on cowboys, this is dependent on #1171 which is also part of this sprint.

it doesn't need to be dependent on #1171 - we can add a button to the existing profile page and work on the new modal ...

I agree with Jordan. I would see this as a replacement for PageBond. We can add the 2 buttons to the old PageValidator for now and replace the checkboxes (and shoppingCart logic) already.

yes, let's please get rid of shoppingCart.
🛒 🛒 🛒

OK

After looking at the designs it seems this isn't about redelegation—it's about delegation and undelegation, right?  I'm going to rename the title.

we have to account for (delegation / staking / bonding), (undelegation / unstaking / unbonding), (redelegation / restaking / rebonding).

Follow up for redelegation: https://github.com/cosmos/voyager/issues/1293

Our standard modals have a darker background for the header:

There's no such distinction in the design.  Do you care or should I reimplement TmModal for this one?

Split out #1294 and #1295.

the design for staking is actually not the same modal we have already. It is more a pop-over on the bottom like when you write a new email in google inbox. maybe it should still have the same layout. @jbibla can you help out?

Oh, OK.  I see another difference: With TmModal the rest of the window is darkened but that's not happening here.  I won't use it.

close window when clicking outside of it

@NodeGuy do we need this point if we are already adding the "Close" and X buttons ?

@NodeGuy do we need this point if we are already adding the "Close" and X buttons ?

@faboweb requested it and I think it's a good idea.

So that would basically turn the delegation into a redelegation, right ? I'm asking because eventually we'll end up splitting that POST endpoint to submit delegations (see cosmos/cosmos-sdk#2191). So will have add this logic here as well

I guess so but haven't seen a spec for any of this.  @faboweb is there a spec?

So that would basically turn the delegation into a redelegation, right ?

Yep. Maybe do delegation first and then do redelegation in another PR.

I'm asking because eventually we'll end up splitting that POST endpoint to submit delegations

Let's not handle problems we do not yet have. When the split happens, the logic on our hand probably can be easily changed.

Created new issue about warning dialog: https://github.com/cosmos/voyager/issues/1321


Docker integration

I added a first Docker integration.
Just a php container with database. No webserver for now. Maybe we can add one later for development or when we need to test webhooks.
I changed the database constants in the phpunit.xml.dist accordingly and also changed the composer scripts so it makes use of the container. Eventually we need to revise this again.

How to use

Run docker-compose up -d to build and start up the container
Run composer run-script test to run tests

That's it. Should be pretty straight-forward.


Game won't allow me to save

Looking forward for reporting a security issue:
Please report security issues by following our security policy: https://contribute.freecodecamp.org/#/security
Describe the bug
Every time I try to save, a screen pops up that says "An exception has occured" and it won't let me save.
To Reproduce
Steps to reproduce the behavior:

Go to 'Save'
Click on 'Save'
Click on empty slot to save in
See error

Expected behavior
I expect to be able to save.
Screenshots

Desktop (please complete the following information):

OS: Mac Big Sur 11.7
MacBook Pro (Retina, 15-inch, Mid 2014)
Browser: Chrome (playing the downloaded game... not sure this helps...)
Version: Chrome Version 108.0.5359.124 (Official Build) (x86_64)

Smartphone (please complete the following information):
n/a
Additional context
BBCode:
[code]
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00gamemenu.rpy", line 170, in script
$ ui.interact()
File "renpy/common/00gamemenu.rpy", line 170, in
$ ui.interact()
File "renpy/common/00action_file.rpy", line 383, in call
renpy.save(fn, extra_info=save_name)
TypeError: cannot pickle '_io.TextIOWrapper' object (perhaps store.f = <_io.TextIOWrapper name='/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/game/version.txt' encoding='utf-8'>)
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/00gamemenu.rpy", line 170, in script
$ ui.interact()
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/python.py", line 1061, in py_exec_bytecode
exec(bytecode, globals, locals)
File "renpy/common/00gamemenu.rpy", line 170, in
$ ui.interact()
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/ui.py", line 299, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/core.py", line 3377, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/core.py", line 4258, in interact_core
rv = root_widget.event(ev, x, y, 0)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/transition.py", line 53, in event
return self.new_widget.event(ev, x, y, st) # E1101
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/screen.py", line 743, in event
rv = self.child.event(ev, x, y, st)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 1399, in event
rv = super(Window, self).event(ev, x, y, st)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 279, in event
rv = d.event(ev, x - xo, y - yo, st)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 1399, in event
rv = super(Window, self).event(ev, x, y, st)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 279, in event
rv = d.event(ev, x - xo, y - yo, st)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 1175, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 279, in event
rv = d.event(ev, x - xo, y - yo, st)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/behavior.py", line 1073, in event
return handle_click(self.clicked)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/behavior.py", line 1008, in handle_click
rv = run(action)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/behavior.py", line 329, in run
return action(*args, **kwargs)
File "renpy/common/00action_file.rpy", line 383, in call
renpy.save(fn, extra_info=save_name)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/loadsave.py", line 408, in save
reraise(t, e, tb)
File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/init.py", line 441, in raise_
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/loadsave.py", line 389, in save
dump((roots, renpy.game.log), logf)
File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/compat/pickle.py", line 103, in dump
pickle.dump(o, f, pickle.HIGHEST_PROTOCOL if highest else PROTOCOL)
TypeError: cannot pickle '_io.TextIOWrapper' object (perhaps store.f = <_io.TextIOWrapper name='/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/game/version.txt' encoding='utf-8'>)
macOS-10.16-x86_64-i386-64bit x86_64
Ren'Py <IP_ADDRESS>90809
Learn to Code RPG 1.5
Sat Dec 24 10:26:22 2022
[/code]
Markdown:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00gamemenu.rpy", line 170, in script
    $ ui.interact()
  File "renpy/common/00gamemenu.rpy", line 170, in <module>
    $ ui.interact()
  File "renpy/common/00action_file.rpy", line 383, in __call__
    renpy.save(fn, extra_info=save_name)
TypeError: cannot pickle '_io.TextIOWrapper' object (perhaps store.f = <_io.TextIOWrapper name='/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/game/version.txt' encoding='utf-8'>)

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/00gamemenu.rpy", line 170, in script
    $ ui.interact()
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/ast.py", line 1131, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/python.py", line 1061, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/00gamemenu.rpy", line 170, in <module>
    $ ui.interact()
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/core.py", line 3377, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/core.py", line 4258, in interact_core
    rv = root_widget.event(ev, x, y, 0)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 1175, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/transition.py", line 53, in event
    return self.new_widget.event(ev, x, y, st) # E1101
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 1175, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 1175, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/screen.py", line 743, in event
    rv = self.child.event(ev, x, y, st)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 1175, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 1399, in event
    rv = super(Window, self).event(ev, x, y, st)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 279, in event
    rv = d.event(ev, x - xo, y - yo, st)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 1175, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 1399, in event
    rv = super(Window, self).event(ev, x, y, st)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 279, in event
    rv = d.event(ev, x - xo, y - yo, st)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 1175, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/layout.py", line 279, in event
    rv = d.event(ev, x - xo, y - yo, st)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/behavior.py", line 1073, in event
    return handle_click(self.clicked)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/behavior.py", line 1008, in handle_click
    rv = run(action)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/display/behavior.py", line 329, in run
    return action(*args, **kwargs)
  File "renpy/common/00action_file.rpy", line 383, in __call__
    renpy.save(fn, extra_info=save_name)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/loadsave.py", line 408, in save
    reraise(t, e, tb)
  File "/home/tom/ab/renpy-build/tmp/install.linux-x86_64/lib/python3.9/site-packages/future/utils/__init__.py", line 441, in raise_
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/loadsave.py", line 389, in save
    dump((roots, renpy.game.log), logf)
  File "/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/renpy/compat/pickle.py", line 103, in dump
    pickle.dump(o, f, pickle.HIGHEST_PROTOCOL if highest else PROTOCOL)
TypeError: cannot pickle '_io.TextIOWrapper' object (perhaps store.f = <_io.TextIOWrapper name='/Applications/LearnToCodeRPG.app/Contents/Resources/autorun/game/version.txt' encoding='utf-8'>)

macOS-10.16-x86_64-i386-64bit x86_64
Ren'Py <IP_ADDRESS>90809
Learn to Code RPG 1.5
Sat Dec 24 10:26:22 2022

I get this error too after click save button and select save slots. I playing this game in Linux

Windows 10 (22H2) user here. I get the same error as shown above.

https://github.com/freeCodeCamp/LearnToCodeRPG/commit/c220e63c220cb5ca6b3169b1f771c8524d7d99c1


Styled Components v4 support?

Styled Components recently launched v4, with a lot of niceness. https://medium.com/styled-components/announcing-styled-components-v4-better-faster-stronger-3fe1aba1a112
Would be cool to support

Support is now in place, only a few months late


Get Volume Feature

Get the Volume of the device
Full Description
In the package audioplayers you can set the volume of the device. But there is no feature to get the actual volume f.e. to check if the volume equals to zero.
Example Code
AudioPlayer player = AudioPlayer(); player.getVolume()
Platforms
android, ios, web

See #1117


Tooltip zIndex/elevation

The tooltip is below the other lines when having a multiline chart

I am also facing the same issue

y axis  getting overlapped by tooltip and getting cropped. any option to set tooltip below the y axis or inside the view port.


How to add an loading indicator into pluto dual grid

when i change selected from gridPropsA i want add an loading into gridPropsB i try put it in onLoaded but it not work

The onLoaded event fires only once at the beginning.
You can detect state change with stateManager.addListener.
https://github.com/bosskmk/pluto_grid/blob/master/example/lib/screen/feature/dual_mode_screen.dart
See the gridAHandler method in the example above.
Hope this helps you.

i try but seem addlistener need an void function not widget so i cannot return it

I will add the loading screen function, but until then you will have to implement it yourself with Stack and Positioned, etc. to display the loading screen.

Demo
https://weblaze.dev/pluto_grid/build/preview/#feature/dual-mode
Source
https://github.com/bosskmk/pluto_grid/blob/master/example/lib/screen/feature/dual_mode_screen.dart
Check out the example link above.
Loading Indicator has been added to version 1.0.0-pre.4.

Thank you for your upgrade, it take me less code on screen page


Add V9 logging for mystery kubectl manifest

What would you like to be added:
I would like v9 logging to be added for the manifest that is being applied via stdin (kubectl apply -f -) during cluster upgrade/create.
Why is this needed:
The current failure being logged is difficult to troubleshoot be cause I cannot see what the manifest actually was.
{"T":1672876356742319224,"M":"Executing command","cmd":"/usr/bin/docker exec -i eksa_1672875864202180228 kubectl apply -f - --namespace eksa-system --kubeconfig test/generated/test.kind.kubeconfig"}
{"T":1672876357496487511,"M":"docker","stderr":"error: error validating \"STDIN\": error validating data: [ValidationError(KubeadmControlPlane.spec.kubeadmConfigSpec.files[1]): missing required field \"path\" in io.x-k8s.cluster.controlplane.v1beta1.KubeadmControlPlane.spec.kubeadmConfigSpec.files, ValidationError(KubeadmControlPlane.spec): missing required field \"machineTemplate\" in io.x-k8s.cluster.controlplane.v1beta1.KubeadmControlPlane.spec, ValidationError(KubeadmControlPlane.spec): missing required field \"version\" in io.x-k8s.cluster.controlplane.v1beta1.KubeadmControlPlane.spec]; if you choose to ignore these errors, turn validation off with --validate=false\n"}

Thanks Ray. We might want to write to disk rather than add to logging because it won't present well in logs. Would that work?

A lot of times, the contents may contain secrets.


Fix foo(~Foo.a) becoming `foo(~Fooa=Foo.a);

fixes #2128

Thanks. I'm not really sure this punning shortcut is all that valuable, do you? Maybe now that I know it exists, I can think of use cases for it.

@jordwalke the goal for the PR was preventing things like foo(~Fooa=Foo.a), although the punning is already there.
My agreement with @IwanKaramazow is we print without punning and don't really advertise this feature. So we're lenient in parsing but format to the right thing.


Auto install of bower package

[ ] Ensure that moment and pikaday are installed seamlessly when installing this addon
[ ] Ensure that libraries are loaded correctly

Ideally we want to remove the chance of bumping into #18.

This would be made obsolete by #55 which removed the bower dependency altogether.


No indication of default polyfills with new website/v3 service

The website no longer mentions which polyfills are included as part of the default bundle. That makes it really difficult to reliably use the service without explicitly defining the specific polyfills to include.

While we're waiting for this on the docs site, here's a way to compare the services:
v2='https://cdn.polyfill.io/v2/polyfill.js?features=default&unknown=polyfill'
v3='https://cdn.polyfill.io/v3/polyfill.js?features=default'
filter-features() { sed -n '/^$/q;/^ \* -/s/,.*//p' | sort; }
diff <(curl -s "$v2" | filter-features) <(curl -s "$v3" | filter-features)

Here's the output from the above:
18d17
<  * - Document
40d38
<  * - Number.isFinite
51d48
<  * - Object.setPrototypeOf
54d50
<  * - String.prototype.contains
62d57
<  * - Symbol.toStringTag
66d60
<  * - _ArrayIterator
68c62,96
<  * - _Iterator
---
>  * - _ESAbstract.ArrayCreate
>  * - _ESAbstract.ArraySpeciesCreate
>  * - _ESAbstract.Call
>  * - _ESAbstract.Construct
>  * - _ESAbstract.CreateDataProperty
>  * - _ESAbstract.CreateDataPropertyOrThrow
>  * - _ESAbstract.CreateIterResultObject
>  * - _ESAbstract.CreateMethodProperty
>  * - _ESAbstract.Get
>  * - _ESAbstract.GetIterator
>  * - _ESAbstract.GetMethod
>  * - _ESAbstract.GetPrototypeFromConstructor
>  * - _ESAbstract.GetV
>  * - _ESAbstract.HasProperty
>  * - _ESAbstract.IsArray
>  * - _ESAbstract.IsCallable
>  * - _ESAbstract.IsConstructor
>  * - _ESAbstract.IsRegExp
>  * - _ESAbstract.IteratorClose
>  * - _ESAbstract.IteratorComplete
>  * - _ESAbstract.IteratorNext
>  * - _ESAbstract.IteratorStep
>  * - _ESAbstract.IteratorValue
>  * - _ESAbstract.OrdinaryCreateFromConstructor
>  * - _ESAbstract.OrdinaryToPrimitive
>  * - _ESAbstract.RequireObjectCoercible
>  * - _ESAbstract.SameValueNonNumber
>  * - _ESAbstract.SameValueZero
>  * - _ESAbstract.ToBoolean
>  * - _ESAbstract.ToInteger
>  * - _ESAbstract.ToLength
>  * - _ESAbstract.ToObject
>  * - _ESAbstract.ToPrimitive
>  * - _ESAbstract.ToString
>  * - _ESAbstract.Type
70a99
>  * - document

Notes:

v3 doesn't need unknown=polyfill because this is the main thing (I think) that changed between v2 and v3. The old policy was to ignore unknown user-agents, and the new policy is to return all polyfills by default.
you can also use vimdiff in place of diff, it's a little easier to compare than the raw diff

@agriffis Cool trick! Is there a way to get just a list of the defaults for v3? I'm less concerned with the differences and more interested in what's included out-of-the-box.

@cferdinandi Load https://cdn.polyfill.io/v3/polyfill.js?features=default&flags=always in your browser and the list is at the top...
or change the last line of the above shell commands to:
curl -s "$v3" | filter-features

(instead of doing the diff)

Perfect, thanks!

Can we have a "Include Default Bundle" checkbox on the URL Builder page (along with Minify bundle, Real User Monitoring, Feature Detects, Always load polyfills).
Also another feature is automatically selecting checkboxes in the list based on what is requiring them. Like (required by "default"), (required by "requestAnimationFrame"). So that we don't have to include every feature if we are indirectly requiring it.
Let me know if you guys are open to this or if you know of any complications. I'll see if I can give some time and implement it.

@azizhk I'm pretty sure the stock build is "with defaults." Unless you mean as a way to include specific non-default features + the defaults?

Yup the stock build has defaults, but if you don't specify default if you are using features flag then defaults are not included.
https://cdn.polyfill.io/v3/polyfill.js?features=Object.entries&flags=always
So I guess I mean a way to include specific non-default features while not bundling all the defaults.
But the bigger feature is giving the user a checkbox to define whether he wants the defaults or not.
And an even bigger feature is automatically checking those boxes in the polyfill list which get covered by default or by any other feature which requires it.

I have a work-in-progress pull-request for adding the aliases to the url-builder --> https://github.com/Financial-Times/polyfill-service/pull/1942
I'm not happy with the design but it is better than not showing them at all :-)

https://polyfill.io/v3/url-builder/ now contains the sets/aliases and the tooltip for a specific set/alias contains the polyfills that it has.

Thank you @JakeChampion! This looks terrific!


Overriding an indexer from dictionary and declaring it with a generic type forgets the overloaded indexer

Description
I tried to create a dictionary which would automatically synchronize to disk. For this, I made an override to the indexer-set method to do a disk sync.
When using this in a class as class Foo { FileSynchronizedDictionary<string, string> d = new ()} this works as intended, when using this as class  Foo {Dictionary<string, string> d = new FileSynchronizedDictionary<string, string>(path) } it does not work as the overriden indexer is not taken - only the base indexer.
Is this intended behaviour? I found this highly surprising.
Configuration

Which version of .NET is the code running on?

6.0.201

What OS and version, and for Linux, what distro?

Kubuntu 20.04

What is the architecture (x64, x86, ARM, ARM64)?

x86_64

Do you know whether it is specific to that configuration?

No
Example code
using System.Collections.Generic;
using System.IO;

namespace ANYWAYS.Data.Trips.Generator
{
    /**
     * A dictionary which syncs all data to disk
     */
    public class FileSyncedDictionary<K, V>: Dictionary<K, V>
    {
        private readonly string _filename;

        public FileSyncedDictionary(string filename)
        {
            _filename = Path.GetFullPath(filename);
           var loaded = LoadFromDiskAsync();
        }

        private void LoadToDiskAsync()
        {
            var json = JsonConvert.SerializeObject(this, Formatting.None);
            File.WriteAllText(_filename, json);
        }

        public new V this[K index] {
            get => base[index];
            set {
                base[index] = value;
                this.LoadToDiskAsync();
            }
        }

        private int LoadFromDiskAsync()
        {
            if (!File.Exists(_filename)) {
                return -1;
            }

            var json = File.ReadAllText(_filename);
            var dict = JsonConvert.DeserializeObject<Dictionary<K, V>>(json);
            foreach (var kv in dict) {
                this[kv.Key] = kv.Value;
            }

            return dict.Count;
        }
    }
}

using System.Collections.Generic;
using System.IO;
using Xunit;

namespace ANYWAYS.Data.Trips.Test;

class TestSubject
{
    public Dictionary<int, int> d = new FileSyncedDictionary<int, int>("./test.json");
}

class TestSubjectCorrect
{
    public FileSyncedDictionary<int, int> d = new FileSyncedDictionary<int, int>("./test.json");
}

public class FileSyncedDictionaryTest
{
    [Fact]
    public void FileSyncedDictionary_shouldautoLoad()
    {
        File.Delete("./dictionary.json");
         var d = new FileSyncedDictionary<string, string>("./dictionary.json");
         d["foo"] = "bar";
         var text = File.ReadAllText("./dictionary.json");
         Assert.Equal("{\"foo\":\"bar\"}" ,text);
         var d0 = new FileSyncedDictionary<string, string>("./dictionary.json");
         Assert.Equal("bar", d0["foo"]);

    }

    [Fact]
    public void FileSyncedDictionary_shouldautoLoadwithType()
    {
        File.Delete("./test.json");
        var d = new TestSubject();
        d.d[5] = 42;
        var text = File.ReadAllText("./test.json");
        Assert.Equal("{\"5\":42}" ,text);
        var d0 = new FileSyncedDictionary<int, int>("./test.json");
        Assert.Equal(42, d0[5]);

    }

    [Fact]
    public void FileSyncedDictionary_shouldautoLoadwithCorrectType()
    {
        File.Delete("./test.json");
        var d = new TestSubjectCorrect();
        d.d[5] = 42;
        var text = File.ReadAllText("./test.json");
        Assert.Equal("{\"5\":42}" ,text);
        var d0 = new FileSyncedDictionary<int, int>("./test.json");
        Assert.Equal(42, d0[5]);

    }
}

In this example, the later test doesn't work, whereas the first one does. The only difference is the declared type.

@pietervdvn when your object is cast to the base type, it will use the base type's indexer.
Does this help?
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/knowing-when-to-use-override-and-new-keywords
Note one gotcha - the base indexer is not declared as virtual -- which is probably why you're using the new keyword. But because you're not overriding it, any calls to the indexer in the base type will use the base type's indexer.


Upgrade to test opam-dune-lint

This is experimental test for https://github.com/ocurrent/opam-dune-lint/pull/46.

Shouldn't this be done as an extra step with the experimental status? Like we do for the MacOs worker?

It is different, I think, it doesn't necessitate an extra step. opam-lint status is in experimental stage any way https://github.com/ocurrent/ocaml-ci/pull/427#issuecomment-1049447851.
If  the PR https://github.com/ocurrent/opam-dune-lint/pull/46 is merged, what will remain is just a little clean of this current change.


newPivot method is the same as Laravel

No need to duplicate the same code here.

use Storm's pivot model
That commit explains why we have this method. The code is the same visually, but by having the override here we are returning a Winter\Storm\Database\Pivot which extends Winter\Storm\Database\Model instead of a Illuminate\Database\Eloquent\Pivot which extends Illuminate\Database\Eloquent\Model.


Possible Glitch Where the Player Loses Y Height When Spamming Command

In vanilla Minecraft 1.6, spamming /tp @p ~100 ~ ~ (Or similar!) multiple times will cause the player to go down in Y height as they go along. This can be demonstrated using a player-size (1x2) tunnel that's multiple hundreds of blocks long and teleporting along it using /tp @p ~100 ~ ~. Eventually, the player's head goes into the floor; and it will continue like this as far down as it can go, presumably until the player falls into the void.
I don't know how similar the Bukkit teleportation system is to Minecraft's. If it's the same [or very similar], I'll have to add a Y height compensator which teleports up the player a very small height each time they use the command (i.e: 0.1 or 0.2 blocks), just enough to keep them level; and not too much to put them higher upon teleporting.
Only testing will tell!

Research has been done, and this issue is no more!
Thankfully, it appears that Bukkit/Spigot uses a different teleportation system. When I spam the command (In this case, /tw 100), Y height does not sink into the ground. If /thisway is run for a distance outside of the loaded chunks, the player height will sink [due to the client thinking the unloaded chunk is air, and making the player fall (In my testing, I fell from Y:50 to Y:~49.59, but the total fall height depends on how long the chunk takes to load)]. When the chunk loads, the player is rubber-banded back to the correct coordinates and Y height.
It appears that Vanilla Minecraft's teleportation system is not too close to the server (I blame this on the cursed Release 1.3 update (Which, if you don't know; made every single player world run on an internal server - which 1. ...Made Open to LAN a feature; and, 2. ruined mods, plugins, servers, clients, and the damage tilt!); whereas Bukkit's teleportation system is part of my Spigot server, and it works closely with it.
TL;DR: Minecraft doesn't rubber-band you when you fall into an unloaded chunk, you fall into the block when it loads; Bukkit/Spigot does rubber-band you, and you don't glitch out.


BUGFIX remove search doc if no Published version

resolves #4

After looking a bit more, would this make more sense in SearchDocumentGenerator as that seems to have version checks within it?

I've moved the method, also have it checking if the search doc exists before attempting to delete.


[Snyk] Upgrade eslint-config-expensify from 2.0.44 to 2.0.45

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade eslint-config-expensify from 2.0.44 to 2.0.45.
As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 21 days ago, on 2024-04-05.

Release notes

Package name: eslint-config-expensify

2.0.45 - 2024-04-052.0.45

2.0.44 - 2024-02-152.0.44

    from eslint-config-expensify GitHub release notes

Commit messages

Package name: eslint-config-expensify

530b87d Merge pull request #90 from Expensify/OSBotify-bump-version-1690aae1-d9db-446b-8e75-d99203ea1b00
56d8f94 2.0.45
61db348 Merge pull request #89 from gedu/edu/avoid_anonymous_fun
6c8697c adding avoid anonymous function rule

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@MariaHCD you are assigned because I had to do some changes to make the version bump comply with linting.

Additionally, this touches quite a bit of logic, can we test this against the App to make sure things are still working as expected?

I do agree.
@blazejkustra hi! You've helped me in my last PR in expensify-common which had the same kind of big changes/refactoring. Would you be up to test everything works correctly again? I'd greatly appreciate it 🙏

@lakchote Sure I'll test it tomorrow morning, from what I see only str and ExpensiMark are used in E/App, but changes around str are marginal. I'll focus on testing ExpensiMark functionality in the E/App. Code looks good to me 😄

@lakchote Hey! Seems that everything works fine! Tested on all platforms:
Show
https://github.com/Expensify/expensify-common/assets/46095609/a4344e47-fc39-49c1-bc34-b579c5cb3d4a
https://github.com/Expensify/expensify-common/assets/46095609/00233c1d-cc1f-4a6c-bfae-24b25b6d1fff
https://github.com/Expensify/expensify-common/assets/46095609/e5bc72e0-a95e-4996-a2eb-06b8d5b0fb1f
android.webm

@lakchote Hey! Seems that everything works fine! Tested on all platforms:

Thank you so much @blazejkustra!
@MariaHCD could you please give this a final review?

Handled your comments @MariaHCD, thank you!


[Enhancement] Dialog when browsing away from dirty edit/add form

Using Angular 2.
Would be excellent if the framework would display a dialog when attempting to browse away from a a dirty edit or add form.  This would allow the user to cancel an errant route request and complete/save the entry.
Thank you for an amazing framework.

This is actually a use case for Guards and their CanDeactivate interface. https://angular.io/docs/ts/latest/api/router/index/CanDeactivate-interface.html
@angular already provides ways to handle this.

I see.  Does this preclude incorporating it into the framework so that additional code is not necessary in the component.ts?  Thank you.

Possibly, but the definition of dirty heavily depends on the component.. so i dont think there would be a one to rule them all solution.
But its up for debate and we can use this issue to contribute to see if its feasible.

The team decided to not do this since its possible to do with pure angular API's


Is Asset Rating user editable?

Right now, it is marked as not user editable, but that conflicts with the description that says the asset rating has been set by a user.

Yes, it should be.  I'll try to submit a PR for the change

Cool. The semantics of being user editable are a bit hazy anyway, so clarifying this somewhere in docs would also be beneficial.

https://github.com/adobe/xdm/blob/master/schemas/assets/asset.schema.json#L285 if you are looking for a quick fix.


I2C and External Interrupt Controller Drivers for Atmel's SAMD21 MCU

Hi,
I've implemented a basic I2C driver and an external interrupt controller driver for Atmel's SAMD21 MCU. I've performed functional testing for both by exercising the sample application for the FXAS21002 gyroscope running on an Arduino MKRZero board connecting to Adafruits NXP Precision 9DoF breakout board.
Madani.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #9347   +/-   ##
=======================================
  Coverage   52.52%   52.52%
=======================================
  Files         201      201
  Lines       25360    25360
  Branches     5300     5300
=======================================
  Hits        13320    13320
  Misses       9945     9945
  Partials     2095     2095

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 f39ff76...9504c57. Read the comment docs.

... but you do have lots of issues with coding style noted in the shippable details above :(

I'm not sure why the shippable run successive to the merge conflict resolution is failing. Can you please help me out?

Is there anything needed from me to move forward with the merge?

@anangl can you review the i2c driver.

Hi,
Thanks for the review and the valuable comments. I’ve addressed and resolved all but three of them for which I’m expecting your feedback. Also as clarification, and to answer your top-level comment, the board doesn't carry the FXAS21002 gyro. At the time I implemented the I2C and EIC drivers, it was possible to build the sample app for the sensor with an external gyro board hooked up to the MKRZero. This set-up provided a convenient way to exercise the newly developed I2C and EIC drivers all together with the already existing drivers for the SoC (UART, GPIO, PINMUX).

SAM0 I2C driver was introduced by #14128, @madlain please rebase or close


Add Pfizer formulations including peds (fix #170)

Ha, I had fun learning that the GH web editor doesn't let you not end a file with a newline ;-)
https://github.com/smart-on-fhir/health-cards-dev-tools/pull/171/commits

Ha, I had fun learning that the GH web editor doesn't let you not end a file with a newline ;-)
https://github.com/smart-on-fhir/health-cards-dev-tools/pull/171/commits

Yeah, ran into this before, frustrating!


Image size

Why do you give the image_size flag value 256 when the slices are of size 240x240?

This is a left-over of the original diffusion model implementation we built our method on (https://github.com/openai/guided-diffusion). There you need to specify the image dimesion to be in (64,128,256,512). If you rewrite this part of the code, you could also give an image size of 240.

Hello!
Can you give me your E-mail. I want to talk about this Net-Model with you.I have some question about this

Hello! I still have some questions about image size.
In guided_diffusion/bratsloader.py line54 ”image = image[..., 8:-8, 8:-8]  # crop to a size of (224, 224)“ But the input size is 256x256, with the operation with "image = image[..., 8:-8, 8:-8]  # crop to a size of (224, 224)",the image size will be 240x240, not 224x224. And the image in dataset in this repository is 224x224. Could you please explain this to me?

Hi
Sorry for this confusion. In the original BRATS dataset, the images are of size (240,240). When you then compute image = image[..., 8:-8, 8:-8], you crop them to a size of (224, 224).

@JuliaWolleb Can you kindly share the code for preprocessing 3d data to slice wise folders as you have used. The original data is 3d volume data so kindly share the code of how you preprocessed 3d folder( 369 patient folders) to slice wise folder 2d ? kindly help me out.

@JuliaWolleb 你好，我也很好奇如何将3D转化为2D图片，请问你解决了吗，如果解决的话可以教我一下吗

@JuliaWolleb Hello, I am also curious about how to convert 3D into 2D pictures, may I ask if you have solved it? If so, can you teach me


Kylene/flight card

-created flight feed and flight card component outline
-flight feed will take in flights state from flight results component and map over this data
-mapping in flight feed will pass down flight info props to each flight card
-if we have no results, display message to user and provide link to return to home page of app
-take in and de-structure props from flight feed in flight card
-render a div with specific flight info
-things that will need to be updated when connected to flight results: styling, adding a button to each card to save your flight details, confirming details we want on each card, adding a link to flight on the flight card, confirm if we need useEffect in flight feed or flight results

looks good -david


make my maintainer handle match my github username

Motivation for this change
Request by @FRidh
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Please also update the following files:
$ ag jpbernardy
pkgs/development/libraries/science/math/cudnn/8.0-6.0/default.nix
38:    maintainers = with maintainers; [ jpbernardy ];
pkgs/development/python-modules/bz2file/default.nix
23:    maintainers = with lib.maintainers; [ jpbernardy ];
pkgs/development/python-modules/tensorflow/default.nix
122:    maintainers = with maintainers; [ jpbernardy ];
pkgs/development/python-modules/gensim/default.nix
41:    maintainers = with lib.maintainers; [ jpbernardy ];
pkgs/development/python-modules/smart_open/default.nix
26:    maintainers = with lib.maintainers; [ jpbernardy ];
pkgs/development/python-modules/backports_weakref/default.nix
31:    maintainers = with maintainers; [ jpbernardy ];

argh, sorry about this.
Should be fine now.


libllm_inference_engine_jni.so not found

OS Platform and Distribution
Windows 11
Compiler version
No response
Programming Language and version
Kotlin
Installed using virtualenv? pip? Conda?(if python)
No response
MediaPipe version
No response
Bazel version
No response
XCode and Tulsi versions (if iOS)
No response
Android SDK and NDK versions (if android)
34
Android AAR (if android)
None
OpenCV version (if running on desktop)
No response
Describe the problem
I'm building LLM Inference example app, tried both phyisical device and emulated ones, both Gemma model (.bin) and converted supported models (.tflite).
Complete Logs
FATAL EXCEPTION: main
Process: com.google.mediapipe.examples.llminference, PID: 11551
java.lang.UnsatisfiedLinkError: dlopen failed: library "libllm_inference_engine_jni.so" not found
	at java.lang.Runtime.loadLibrary0(Runtime.java:1082)
	at java.lang.Runtime.loadLibrary0(Runtime.java:1003)
	at java.lang.System.loadLibrary(System.java:1661)
	at com.google.mediapipe.tasks.genai.llminference.LlmInference.<clinit>(LlmInference.java:27)
	at com.google.mediapipe.examples.llminference.InferenceModel.<init>(InferenceModel.kt:38)
	at com.google.mediapipe.examples.llminference.InferenceModel.<init>(Unknown Source:0)
	at com.google.mediapipe.examples.llminference.InferenceModel$Companion.getInstance(InferenceModel.kt:53)
	at com.google.mediapipe.examples.llminference.LoadingScreenKt$LoadingRoute$2$1.invokeSuspend(LoadingScreen.kt:42)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:100)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@c56a03a, androidx.compose.runtime.BroadcastFrameClock@c9014eb, StandaloneCoroutine{Cancelling}@87ab248, AndroidUiDispatcher@a4008e1]

Closing this issue because I didn't installed MediaPipe framework correctly on this case. Switching to a Linux distro and installing the problem appear to be solved on physical devices, but a similar error occurs when trying to run on an emulated one, which I reported in #5232 .

@warleysr Could you elaborate a bit on how you fixed it?
I am building on macos and deploying to a physical android device. Did switching to Linux with no code changes just automagically worked in your case?

@gsiddh Basically yes. I'm not sure about the MacOS but MediaPipe framework is not fully supported on Windows and I had troubles building the example apps. Note that the issue was related to MediaPipe installation itself (with Bazel to be specific) and switching to Linux and following the correct steps I managed to solve the problem.

@warleysr, could you tell me more about what you did on linux?

@AstroGuy1 I followed the correct installation instructions:

Install MediaPipe framework: https://ai.google.dev/edge/mediapipe/framework/getting_started/install#installing_on_debian_and_ubuntu
P.S.: Don't forget to install Bazel before trying to install MediaPipe: https://bazel.build/install/ubuntu

Build an Android example following the steps: https://ai.google.dev/edge/mediapipe/framework/getting_started/android


Payment methods

What
Payment methods screen. It currently lists all saved credit cards, but the Edit functionality is not implemented yet..
Why
This is part of the Settings v.2
See 👀

TODO ⏰

[x] Final translations

nice! Margins look a bit off. Want to pair on Monday quickly to fix that?

nice! Margins look a bit off. Want to pair on Monday quickly to fix that?

It sounds good.

 User can see Payment Methods screen

@Scollaco I think you may just need to merge master or rebase this - there seem to be changes to submodules etc that are probably not part of this PR 👍

@ifbarrera , @justinswart g2g?


sort and order_by don't work together

Search for "One Piece" with order_by=members and sort=desc:
https://api.jikan.moe/v4/anime?q=one piece&order_by=members&sort=desc
Only the first word is evaluated, everything else in the search string is discared, so I'm getting "One Punch Man" on top, and tons of other non-One Piece related animes.
Try searching for just "One", and the same results will appear:
https://api.jikan.moe/v4/anime?q=one&order_by=members&sort=desc
Bug, or feature? :)

Since order_by=members&sort=desc is passed, One punch man has more members compared to one piece - even though the query passed was for "one piece" - which is not evaluated as a whole but also word for word for any other relevant searches.
That's why One punch man comes up first.

On a related note, the current search is currently not that strong. We're replacing it with Typesense  - which could improve result accuracy a bit more in this case.

Resolved


How to use  Select to choose the Descriptions of enum items with the Flags attribute in multi-selection mode?

hi ,everyone.
Cannot bind multiple selections to a model property.

When toggling the selection, the bound value is always 0.

If you use MultiSelection then you need to use @bind-SelectedValues instead of @bind-Value

If you use MultiSelection then you need to use @bind-SelectedValues instead of @bind-Value
thanks.
but this property is an IEnumerable type property. Do you mean it requires manual intervention to perform a conversion?

If you use MultiSelection then you need to use @bind-SelectedValues instead of @bind-Value
thanks.
but this property is an IEnumerable type property. Do you mean it requires manual intervention to perform a conversion?

You can bind whatever you want that inherits IEnunmerable. Example:
<MudSelectExtended @bind-SelectedValues="_values" />

@code {
  List<SheetMatelStep> _values;
}

Oh, I understand what you mean, but the property defined in the entity model is just a single Flags enum, not a collection property, so I still need to perform a manual conversion operation.

If you use MultiSelection then you need to use @bind-SelectedValues instead of @bind-Value
thanks.
but this property is an IEnumerable type property. Do you mean it requires manual intervention to perform a conversion?

You can bind whatever you want that inherits IEnumerable. Example:
<MudSelectExtended @bind-SelectedValues="_values" />

@code {
  List<SheetMatelStep> _values;
}

Hi ，Cannot bind 'selectedvales' to a List collection property, as in the following way, must be a IEnumerable Property


Reasoning behind nvm initialization in .zshenv and not .zshrc?

Hey there,
Wondering what the reasoning behind requiring nvm initialization when using zsh to be in .zshenv instead of .zshrc?
The latest OS X update causes things to act up when nvm initialized in .zshenv instead of .zshrc (basically, PATH is no longer fully initialized at the time that .zshenv is sourced).
See: https://github.com/Homebrew/homebrew/issues/44997.

+1, after upgrading to El Capitan, every new terminal session starts with this:
/Users/josh/.zshenv:4: command not found: brew
/Users/josh/.zshenv:source:4: no such file or directory: /nvm.sh

Solved by https://github.com/SublimeLinter/SublimeLinter-jshint/pull/97


Improve mailer argument deserialisation for 6.1 on Ruby 3.1

@pirj this is a simpler version of the changes required to fix mailers solely on Ruby 3.1 for Rails 6.1
The problem was not the different mailers but simply that Rails changed (only on 6.1) how it deserialized arguments, this logic restores that original implementation for our matcher and is the change I want to ship in the next 5.0 and 5.1 releases.
Arguably this could be in the jobs matcher and I'm surprised our specs pass as is for the jobs matcher, but its probably because that has less explicit requirements around deserialising.
I'm going to merge this to 5-1-maintenance and cherry pick to 5-0-maintenance on green, so you don't have to worry about that.

I really like how you've structured the code here.
Do you want me to attempt to adjust how we handle this for 6.0 in #2554?


I get error message while creating new project in laravel (windows)

Laravel Version: (v8.4.0)
PHP Version: 7.4.12
Database Driver & Version:

Problem 1
- laravel/framework[v8.12.0, ..., 8.x-dev] require league/flysystem ^1.1 -> satisfiable by league/flysystem[1.1.0, ..., 1.x-dev].
- league/flysystem[1.1.0, ..., 1.x-dev] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
- Root composer.json requires laravel/framework ^8.12 -> satisfiable by laravel/framework[v8.12.0, ..., 8.x-dev].

Your error is in the message above. Your PHP build is missing the fileinfo extension.

FYI. Found this useful. Annoyingly fileinfo is disabled by default and im struggling to learn laraval. These annoyances are making frontend even harder.. Can we go back to plain old php and html pleeeeaaaseee? i dont like learning.

FYI. Found this useful. Annoyingly fileinfo is disabled by default and im struggling to learn laraval. These annoyances are making frontend even harder.. Can we go back to plain old php and html pleeeeaaaseee? i dont like learning.
nope...

I also get this message. I'm a bit of a noob so can anyone help me fix this? I'm kind of desperate and I've been trying to solve this thing for days

Found a solution to this in MAMP.
In addition to editing the php.ini in mamp\bin\php7.1.5\php.ini, You need to add extension=php_fileinfo.dll in mamp\conf\php7.1.5\php.ini. Notice the conf folder.
In configurations, the file doesn't seem to be related to the running server, but it does in fact make a difference.

Problem 1
- laravel/framework[v8.12.0, ..., 8.x-dev] require league/flysystem ^1.1 -> satisfiable by league/flysystem[1.1.0, ..., 1.x-dev].
- league/flysystem[1.1.0, ..., 1.x-dev] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
- Root composer.json requires laravel/framework ^8.12 -> satisfiable by laravel/framework[v8.12.0, ..., 8.x-dev].
To enable extensions, verify that they are enabled in your .ini files:
- C:\Program Files\PHP\php-7-4-5-non-thread-safe\php.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.
SVP jai rencontré ce meme probleme.
Cela fait Maintenant plus d'une Semaine que je n'arrive pas a insttaler LARAVEL.
Besion d'aide SVP .
j'utilise WAMP

Problem 1
- laravel/framework[v8.12.0, ..., 8.x-dev] require ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension.
- Root composer.json requires laravel/framework ^8.12 -> satisfiable by laravel/framework[v8.12.0, ..., 8.x-dev].

Problem 1
- laravel/framework[v8.12.0, ..., 8.x-dev] require ext-mbstring * -> it is missing from your system. Install or enable PHP's mbstring extension.
- Root composer.json requires laravel/framework ^8.12 -> satisfiable by laravel/framework[v8.12.0, ..., 8.x-dev].

I also have the same problem,but I couldn't find a solution

I also have the same problem,but I couldn't find a solution

Hey everyone,
I'm locking this issue because it either has gone off-topic, become a dumping ground for things which shouldn't be in an issue tracker or is just too old. Please try to discuss things further on one of the below channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

Hey everyone,
I'm locking this issue because it either has gone off-topic, become a dumping ground for things which shouldn't be in an issue tracker or is just too old. Please try to discuss things further on one of the below channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC


CI: try out using reusable workflow

Based on

https://github.com/EVerest/libocpp/pull/297

Needed changes in everest-core are in

https://github.com/EVerest/everest-core/pull/482

@andistorm : Please have a look and close this PR if you are working on another solution


Missing refresh tokens for Resource Owner flow in CAS 5.1.0

Hi,
When using Resource Owner grant in CAS 5.1.0 I get an access token, but no refresh token is generated. I get the following response:
{
"access_token": "AT-1-0HzePyf5n5qq3fE1wVuDZJdexVJJLsy7nhf",
"token_type": "bearer",
"expires_in": 7200
}

Of course I have defined my service to generate refresh tokens (I've set "generateRefreshToken": "true" in service json file).
In CAS 5.0.4 there was a refresh token generated together with access token. Was it removed intentionally in CAS 5.1.0? Or it is a bug?

Sounds like a bug to me. Do your logs reveal anything useful?

Hi,
I've found nothing interesting in logs, but after debugging I see that for Resource Owner an AccessTokenRequestDataHolder is used with the constructor that always sets generateRefreshToken flag to false. So no matter if service json file defines to generate refresh token or not, we will never get it. Here is a shortcut of the stacktrace:
Daemon Thread [https-jsse-nio-8443-exec-5] (Suspended (breakpoint at line 51 in AccessTokenRequestDataHolder))
	AccessTokenRequestDataHolder.<init>(Service, Authentication, OAuthRegisteredService, TicketGrantingTicket) line: 51
	AccessTokenPasswordGrantRequestExtractor.extract() line: 79
	OAuth20AccessTokenEndpointController.examineAndExtractAccessTokenGrantRequest(HttpServletRequest, HttpServletResponse) line: 189
	OAuth20AccessTokenEndpointController.handleRequest(HttpServletRequest, HttpServletResponse) line: 111

Later in:
OAuth20AccessTokenEndpointController.handleRequest(HttpServletRequest, HttpServletResponse) line: 124
there is a check made:
if (responseHolder.isGenerateRefreshToken()) {
    refreshToken = generateRefreshToken(responseHolder);
    LOGGER.debug("Refresh Token: [{}]", refreshToken);
} else {
    LOGGER.debug("Service [{}] is not able/allowed to receive refresh tokens", responseHolder.getService());
}

which will always return false and skip refresh token generation.
When using Auhtorization Code grant there is other extractor used (AccessTokenAuthorizationCodeGrantRequestExtractor), which gets the service and checks the refresh token generation flag:
AccessTokenAuthorizationCodeGrantRequestExtractor.extract() line: 47 & line:51
so I guess AccessTokenPasswordGrantRequestExtractor should do something similar to have refresh token generation working properly.

You should be able to test the fix in about an hour or so, by using the new SNAPSHOT.

Thanks for fixing it.

@mmoayyed Could this fix be merged to 5.1.x branch and released in 5.1.2? This is critical bug for me and I would like to have it fixed in 5.1.2 rather than waiting for 5.2.0 in November.


Test file

How to use the test file to test working links.
Plz help

Go to the iptv folder and type npm run test at the command line. Be prepared it may take a long time.
After the tests end all broken links will be saved to the file error.log.

Bonjour s'il vous plaît est-ce que vous avez la liste française BeIn Sport RMC du canal cinéma merci Hello please do you have the French list BeIn Sport RMC channel cinema thank you

This works great thanks Can u add all USA/Canada channels i noticed CBS is missing(non news version)

Hello I think she misses bein sports channel + Canalsat channel cinema emotion RMC in France is it possible -------- Message original --------Objet : Re: [freearhey/iptv] Test file (#5)De : OtakuNami À : freearhey/iptv Cc : Mamon44 ,Comment This works great thanks Can u add all USA/Canada channels i noticed CBS is missing(non news version)
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/freearhey/iptv","title":"freearhey/iptv","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/freearhey/iptv"}},"updates":{"snippets":[{"icon":"PERSON","message":"@OtakuNami in #5: This works great thanks Can u add all USA/Canada channels i noticed CBS is missing(non news version)\r\n"}],"action":{"name":"View Issue","url":"https://github.com/freearhey/iptv/issues/5#issuecomment-483090202"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/freearhey/iptv/issues/5#issuecomment-483090202",
"url": "https://github.com/freearhey/iptv/issues/5#issuecomment-483090202",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]

#in.m3u
FAILURES! (1 tests, 151 channels, 25 failures)

@mohsin1122 I removed most of the broken links. Now the errors should disappear.


batch fix leading and trailing whitespace

Thanks a ton to @reikookamoto for raising this:

Example of "legacy" translation in Japanese that has starting and trailing whitespace: https://translate.rx.studio/translate/r-project/grdevices-r/ja/?q=check:begin_space
Example of a translation created during the Sprint via accepting a suggestion - the automated checks remove the starting and trailing whitespaces: https://translate.rx.studio/translate/r-project/parallel-r/ja/?q=state:>=translated
This creates an inconsistency in Japanese (and potentially other languages) where formatting might slightly differ between "legacy" translations and those added using the Weblate web app

It's annoying to fix all the strings manually in the UI, so let's look for a way to fix these stings in an automated/batch process.

Side note: we might disable this check:

It doesn't understand that different languages can use different "full stop" characters:

we might disable this check [mismatched full stop]

I think it was only due to the extra trailing space, no?
I've dropped the leading and trailing space and it resolved all 3 errors at https://translate.rx.studio/translate/r-project/base-r/ja/?q="'%25s'+is+defunct."&sort_by=-priority%2Cposition&offset=1#history

what's the best way to proceed from here? Strip the whitespace in that data.frame, write out a fresh po file, copy that into the weblate mirror somehow?

I'm not sure if we need R for this - couldn't we just sed -i the ja.po files to drop the leading and trailing spaces in the "msgstr" lines? That might be the least intrusive operation I think .. although we might face issues with multi-line strings. Thoughts?

Yeah, agreed it should be a one-time fix. And potools seems like a perfect tool for this :)
Regarding how to get this into weblate, we have a few options:

clone the git repo, patch it, push back
download the PO files from the weblate UI, apply the patch, and then reupload via Files/Upload translation e.g. at https://translate.rx.studio/projects/r-project/grdevices-r/ja/

But we need to be cautious with the fuzzy tags, and also to keep track of what is to be reviewed and what was approved. Maybe better to test in a playground/sandbox component first? :zipper_mouth_face:


The API is down

The API seems to have stopped working on 9 June 2023

https://api.nasa.gov/planetary/apod?api_key=DEMO_KEY

Same here

Resolved


root fs used and total broken with multiple drives

the filesystem detail section handles it fine

nm, this was my fault


KeyboardDismissMode

Hi, may I know what can I do to dismiss the keyboard other than click on the "cancel" button? I tried to use TouchableWithoutFeedback, but it failed to work as expected.

The library provides unFocus and blur methods for total control over when the keyboard shows/hides.  See the docs.

Thanks @michaelhelvey for the replied. I had tried to show the search result by using listview. Now I found out that when I wished to dismiss the keyboard when I am scrolling the listview item, I have to add in keyboardDismissmode="on-drag" and keyboardShouldPersistTaps={false} in the listview.

Hey new maintainer here. Closing out all* issues from before 2017. If this is still a concern, please create a new issue. Thanks

To make the FlatList that contains search results work well with keyboard :-)
<SearchBar
  ref='searchBar'
  onSearchButtonPress={() => this.refs.searchBar.unFocus()}
/>

<FlastList
  keyboardDismissmode='on-drag'
/>


Update cere chain config

The following operations have been successfully tested on testnet:

native token transfer
smart contract deployment

This PR is still a work in progress. We need to do more in-depth research before we merge it.


Qandidate toggle extras

ping

Pong. Please update readme to declare how this lib enhances Qandidate Toggle.

Pang


Warnings about non closes sockets on windows during test suite

Run the test suite and you will see warnings like
Exception ignored in: <socket.socket fd=1088, family=2, type=1, proto=0, laddr=('<IP_ADDRESS>', 56248), raddr=('<IP_ADDRESS>', 56249)>
Traceback (most recent call last):
  File "C:\Users\jenielse\AppData\Roaming\uv\data\python\cpython-3.12.7-windows-x86_64-none\Lib\threading.py", line 1016, in run
    del self._target, self._args, self._kwargs
                      ^^^^^^^^^^
ResourceWarning: unclosed <socket.socket fd=1088, family=2, type=1, proto=0, laddr=('<IP_ADDRESS>', 56248), raddr=('<IP_ADDRESS>', 56249)>

A bit of digging seems to indicate that this relates to a combination of pytest-xdist and hypothesis.
The following no-op test triggers the warning when run using xdist with n > 0
import hypothesis.strategies as hst
from hypothesis import given

@given(n_points_pws=hst.integers(min_value=1, max_value=500))
def test_pytest_min_warning(
    n_points_pws,
) -> None:
    pass

https://github.com/HypothesisWorks/hypothesis/issues/4130


Parameter in path with multiple dollar sign gets replaced to a single dollar sign

Description
I have a swagger path which contains a string, when the parameter is set to a value with multiple dollar signs the value gets replaced with a single value.
Reproducible example or configuration
https://stackblitz.com/edit/hey-api-example-uakiaw?file=src%2FApp.tsx
I used the standard stackblitz example and replaced the getPetById with getUserByName
The template for this call is /user/{username}, so when I pass is aa$$bb as a username I would expect the url to be /username/aa$$bb. If you look at the called url, it contains only 1 $:

OpenAPI specification (optional)
No response
System information (optional)
No response

@mlankamp I think the correct value to send in this example would be aa%24%24bb, can you confirm?


cache/re-use credential request in credential exchange

cache credential request json in manager class from credential_request_handler. Key off cred def id. Re-use in handler on send-offer


How to control order of path elements ?

Having this installed:
$ sdk current

Using:

maven: 3.9.0
mvnd:  0.9.0

sdk generates the following path:
$ echo $PATH
/home/bli/.sdkman/candidates/mvnd/0.9.0/bin:/home/bli/.sdkman/candidates/maven/3.9.0/bin

--> "maven/3.9.0/bin" comes after "mvnd/0.9.0./bin"
Is there a way to influence the order SDKMAN is generating the path items ?
So that "maven/3.9.0/bin" comes BEFORE "mvnd/0.9.0./bin" ?
The reason is simple: mvnd now embeds its own mvn file (in /bin).
As mvnd has precedence because of the PATH, the mvn version that will be used will not be the one specified in my .sdkmanrc :-(
Any other idea to solve my issue ?

I've had a quick look at the code, and it works roughly that way:

read the entries from $SDKMAN_DIR/var/candidates (a CSV file with the entries in alphabetical order)
read each entry, resolve its bin directoy and prepend it to PATH

So, the only way I can currently think of, is to change the order of the maven and mvnd entries in the candidates CSV.
BUT this probably won't solve your problem, as the candidate's CSV gets regularly overwritten.

Hi @bligny, for me the real issue is that mvnd is packaging the mvn command in a public bin folder. If mvnd does provide a version of mvn, it should probably be hidden in some folder like libexec since they don't own that command. Is it worth raising this clash as an issue with mvnd?

for me the real issue is that mvnd is packaging the mvn command in a public bin folder.

Indeed, that's the real root cause.
The guilty is mvnd not sdkman ;-)
Fortunatey @helpermethod's workaround can temporarily help me to solve the issue, waiting for mvnd to fix the clash.
Thanks a lot to both of you guys


(QENG-2198) Move PuppetDB acceptance over to vmpooler

Add sqa-utils gem.
Rewrite acceptance/setup/pre_suite/80_add_dev_repo.rb to use
install_puppetlabs_dev_repo instead of the special stuff it was doing.
Add logic to ext/jenkins/beaker-tests.sh that will allow PR and merge tests
to run without making changes to ci-job-configs for vmpooler (those changes
are coming though!)
In ext/jenkins/packaging.sh provide PUPPETDB_PACKAGE_BUILD_VERSION instead
of PACKAGE_BUILD_VERSION to avoid having to convert to that variable in
ext/jenkins/beaker-tests.sh.
Remove S3 packaging/cleanup stuff.
Set default beaker type to aio. This isn't really necessary, but the test
suite doesn't work with foss, at least not on stable branch.
BEAKER_CONFIG should take a filename. Same applies to BEAKER_OPTIONS. This
change matches up with the way we treat variables of the same name in CI.

Thanks to @waynr for this work. This will need to go in combination with puppetlabs/ci-job-configs#2319

Here is the experimental pipeline on CI.Next: https://cinext-jenkinsmaster-enterprise-prod-1.delivery.puppetlabs.net/view/puppetdb/view/master/

Test FAILed

Waiting for CLA signature by @smcelmurry
@smcelmurry - We require a Contributor License Agreement (CLA) for people who contribute to Puppet, but we have an easy click-through license with instructions, which is available at https://cla.puppet.com/
Note: if your contribution is trivial and you think it may be exempt from the CLA, please post a short reply to this comment with details. http://docs.puppet.com/community/trivial_patch_exemption.html

CLA signed by all contributors.

Test FAILed

Test PASSed

Test PASSed

Closing this in favor of #2252


Environment Variable for Database WebApp flag

Add an environment variable to set the web_app flag for the global database object.

Closed by commit 5b212cf5ef0a08b4e98ea7b2998490df0f145ffc


Unable to connect to netsuite via odbc or jdbc

System information:

Win10 Pro 18363.900
DBeaver 7.1.2

Connection specification:

Netsuite's ODBC <IP_ADDRESS> and JDBC <IP_ADDRESS>

Describe your question:
I'm attempting to connect to netsuite's internal database (essentially oracle SQL) via their ODBC or JDBC drivers. I've got the ODBC DSN set up in windows and can connect fine via R and Access, but every attempt to create a DB connection in DBeaver via ODBC or creating a custom driver using netsuite's JDBC driver produces a "no suitable driver found" error.
Opening this as a question rather than bug because I'm not confident this isn't user error on my part.

Hi @D3SL , probably it's some driver config issues. Could you post a screenshot of your driver config?
Possibly, it'll be useful for you https://github.com/dbeaver/dbeaver/wiki/Database-drivers

Sure thing @uslss , here's the current setup for the custom "netsuite" driver I created and the built in ODBC driver. I've connected successfully in other programs so I know the issue has to be somewhere inside DBeaver, either a genuine bug or something I'm setting up wrong.

@uslss I just saw this was changed to bug. If it's relevant I got this to half work once on my very first attempt using DBeaver's ODBC driver. It said that it connected rather than giving me the error but then would simply hang and never allow me to browse the list of tables or data like it does with a normal working connection. After updating DBeaver I wound up getting the responses detailed above.

If you untick "use legacy JDBC instantiation" it's not complaining about "no suitable driver found" but you'll get the error "TCP/IP error, connection reset by peer."
I'm able to connect via other programs like TD SQLA or DBVis.

Could you check if the connection works without any changes in DBeaver default ODBC driver?
If it doesn't, please provide an error message.
Thanks in advance

Could you check if the connection works without any changes in DBeaver default ODBC driver?
If it doesn't, please provide an error message.
Thanks in advance

As stated in the initial post I tried that as well and received the error "no suitable driver found":
eclipse.buildId=unknown
java.version=11.0.5
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en
Command-line arguments:  -os win32 -ws win32 -arch x86_64

org.jkiss.dbeaver.model
Error
Sun Sep 13 10:15:51 IDT 2020
No suitable driver found for jdbc:odbc:NetSuite

Seems that x32 ODBC DSN setup was used.
Dbeaver supports only x64 odbc connections


Bump version from 2020.9.22 to 2020.9.30

Is CARDANO_NODE_TAG and JORM_TAG correct?

Yup, there has been no new node bump -> https://github.com/input-output-hk/cardano-wallet/blob/master/nix/sources.json#L3-L8
Same goes for jormungandr. Looks like its version is defined here: https://github.com/input-output-hk/cardano-wallet/blob/master/nix/jormungandr.nix#L41-L47

bors r+

bors r-

bors r+

bors r+


Monorepo using Lerna?

Issue Type

[ ] Bug (https://github.com/bootstrap-styled/bootstrap-styled/blob/master/.github/CONTRIBUTING.md#bug-reports)
[x] Feature (https://github.com/bootstrap-styled/bootstrap-styled/blob/master/.github/CONTRIBUTING.md#feature-requests)

Description
Right now, it's really hard to fork and modify bootstrap-styled because of all the packages. As an example, @bootstrap-styled/provider uses bootstrap-styled, @bootstrap-styled/css-utils, and @bootstrap-styled/css-mixins. Not only does it make it hard to customize but it also makes submit improvements because they happen in a number of different repositories.
Using Lerna would allow bootstrap-styled to move all of the relevant packages into a single repo. Users could then take the entire set of packages at once, modify them and use them for their own needs or submit the changes back.

Right now, it's really hard to fork and modify bootstrap-styled because of all the packages.

It's as usual, could you be more specific on what is "hard"?

As an example, @bootstrap-styled/provider uses bootstrap-styled, @bootstrap-styled/css-utils, and @bootstrap-styled/css-mixins.

It's common to have cascades of modules. If you are using ES6, then you probably know a little about the build system dependencies.

Not only does it make it hard to customize but it also makes submit improvements because they happen in a number of different repositories.

All the repository are opensource and use github, this is fairly common. We use semantic-release for all ou repo so we just need to merge to master to be able to release a new version. npm package manager know how to deal with semver and use the latest good version. If you make a new feature, you should release a feat(title): description, if you release a breaking change you should commit a perf(title): description, and a fix for an existing feature fix(title): description.  I will never accept a commit message that does not respect semver and will break other's code so it's pretty safe. Just do all the modification you need and if you respect this then each release will work properly.

Using Lerna would allow bootstrap-styled to move all of the relevant packages into a single repo. Users could then take the entire set of packages at once, modify them and use them for their own needs or submit the changes back.

We want bootstrap-styled to be a network of users sharing UI, it does not need to be all stored in one repo. People can make and share what they want and take what they need to build it. If you are writing about the core, then the core is as an example:
bootstrap-styled > @bootstrap-styled/v4 +@bootstrap-styled/css-mixins @bootstrap-styled/css-utils @bootstrap-styled/utils
If you write an app:

if you are not importing css-mixins, css-utils etc... then v4 will still install them. if you import them then it is normal to have it in your package.json

If you write a module:

same rule apply.

There's nothing much complicated, now how do you do in development to test all those features ?
It's pretty simple, just run npm install ../path-to-project and it will use your local copy, in each project run npm run build:lib:watch, change will be applied in real time.
About lerna, we tought about using monorepo but we are still waiting for https://github.com/semantic-release/semantic-release/issues/193 because we did not found this blocking nor hard and it was not priorized. It will become much easier to use mono repo in the future and we wiwll not have to change our build process.
Thanks for using bootstrap styled and if you are willing to contribute, then I can chat with you on freenode and give you the best tips in real time so you can get started. I am every day around

I am closing this since no reply, if you feel this is unresolved or should get additional attention, feel free to reply.


pulsegen not passing audio input?

The input options for pulsegen all show up in the blues routing but it doesn't seem to pass any audio when the large O trigger is activated?

does this fix the issue for you?

Yes! That's working now - thanks for the fix!


Add time comparison

Some kind of time comparison would be awesome. The plugin could save the last build times and compare to them. This should make optimizing easier as you can see what times have changed based on your modifications.

A nice idea!
What do you think the time comparison output would look like? Would it try and be version control aware, and tell you the time difference for your workspace? Or just tell you the last 10 builds or something?

Now that you mention it, version control aware actually sounds super good. Like comparing the current build time to your last published tag maybe? So you could actually see the differences between the current production build and the dev version. Not sure if you can get the latest tag by date using git.
I woud probably build some kind of hybrid approach in the end I think. Where you can see your build times compared to the last tag or something like that and the build time of your last x builds. So you can see how you improved over time.

@stephencookdev @SirWindfield :- Have implemented loaders build time comparison, you can go through this pull request as below -
https://github.com/stephencookdev/speed-measure-webpack-plugin/pull/119[](url)