app.run starts with <IP_ADDRESS> not <IP_ADDRESS>

Description
Hi, I've started use connexion as part of OpenAPI Generator.
I just have a question, not a bug probably.
FlaskApp.run() starts with host='<IP_ADDRESS>' by default in FlaskApp, while flask's default is <IP_ADDRESS>.
Is this an intended behavior?

:param host: the hostname to listen on. Set this to '<IP_ADDRESS>' to
have the server available externally as well. Defaults to
'<IP_ADDRESS>' or the host in the SERVER_NAME config variable
if present.
https://github.com/pallets/flask/blob/master/flask/app.py#L874

Thank you in advance.
Expected behaviour
FlaskApp.run() is expected to start development server on <IP_ADDRESS> if host parameter isn't specified because Flask does so.
Actual behavior
FlaskApp in connexion serve on <IP_ADDRESS> by default.
For example using connexion/examples/openapi3/helloworld/, as we don't specify 'host' parameter, FlaskApp starts on <IP_ADDRESS>.
$ git clone https://github.com/zalando/connexion.git
$ cd connexion/examples/openapi3/helloworld/
$ pip install connexion
$ cat hello.py
#!/usr/bin/env python3

import connexion

def post_greeting(name: str) -> str:
    return 'Hello {name}'.format(name=name)

if __name__ == '__main__':
    app = connexion.FlaskApp(__name__, port=9090, specification_dir='openapi/')
    app.add_api('helloworld-api.yaml', arguments={'title': 'Hello World Example'})
    app.run()
$ python hello.py
(snip)
 * Running on http://<IP_ADDRESS>:9090/ (Press CTRL+C to quit)

Steps to reproduce
$ git clone https://github.com/zalando/connexion.git
$ cd connexion/examples/openapi3/helloworld/
$ pip install connexion
$ python hello.py

Additional info:
https://github.com/pallets/flask/blob/master/flask/app.py#L924
https://github.com/zalando/connexion/blob/master/connexion/apps/flask_app.py#L83
Output of the commands:

python --version
pip show connexion | grep "^Version\:"

$ python --version
Python 3.7.2
$ pip show connexion | grep "^Version\:"
Version: 2.2.0

Yes, that is intentional. You can bind it to other hosts though.

What's the option for binding to a different host?

@CMCDragonkai https://github.com/zalando/connexion/blob/master/connexion/cli.py#L63 the --host flag

I have the opposite problem. I am putting --host flag to <IP_ADDRESS> but it starts on <IP_ADDRESS> or <IP_ADDRESS>.

@selezenart What do you mean with or? It should be one or the other, but not both.
If you set it to <IP_ADDRESS>, it's normal that it shows your local IP as you can connect to the app on this address.

@selezenart Can you please create a separate issue with minimal reproducible example? It's very hard to figure out what's going wrong without actual code.


LIFX Cloud scene support

Description:
This uses the LIFX HTTP API to list and activate the scenes that are stored in the LIFX cloud by the native LIFX smartphone apps.
Pull request in home-assistant.github.io with documentation: home-assistant/home-assistant.github.io#2440
Example entry for configuration.yaml:
scene:
  platform: lifx_cloud
  token: !secret lifx_cloud_token

automation:
  - alias: "Evening light"
    trigger:
      - platform: numeric_state
        entity_id: sun.sun
        value_template: '{{ state.attributes.elevation }}'
        below: 1.2
    action:
      service: scene.turn_on
      entity_id: scene.evening

Checklist:
If user exposed functionality or configuration variables are added/changed:

[X] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[X] Local tests with tox run successfully.
[X] New files were added to .coveragerc.

Can something like this be done for Effects?

@arsaboo I won't pollute this PR with chat but I monitor the forum for "lifx" posts and I will be happy to answer if you post there :-)

Looks good 🐬


Add tests manifests for 1.3.7 and 2.4.1

Signed-off-by: Sayali Gaikawad<EMAIL_ADDRESS>Description
Add tests manifests
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

On 1.3.7 I think we should have more test available on OS right now?
https://github.com/opensearch-project/opensearch-build/issues/58
Hopefully I didnt miss anything right now.
Thanks.

Yes what about to ask, the missing tests on 1.3.7 are below:
cross-cluster-replication
security

Should I add these? Not sure if they have backported the tests to 1.3.x series.

Not sure if they have backported the tests to 1.3.x series.

@DarshitChanpura Could you see about backporting these tests?

Yes what about to ask, the missing tests on 1.3.7 are below:
cross-cluster-replication
security

notifications, neural-search, geospatial, security-analytics do not exists for 1.3.7 so they are out.
Should I add these? Not sure if they have backported the tests to 1.3.x series. Would like input from @opensearch-project/security and @ankitkala

Yes please, those tests were added at a later time.
Thanks.

Not sure if they have backported the tests to 1.3.x series.

@DarshitChanpura Could you see about backporting these tests?

The tests don't exist in 1.3.x branch, but if the need is to backport them I can create a PR, and later create a PR against OS-build 1.3.7 manifest to add security

Not sure if they have backported the tests to 1.3.x series.

@DarshitChanpura Could you see about backporting these tests?

The tests don't exist in 1.3.x branch, but if the need is to backport them I can create a PR, and later create a PR against OS-build 1.3.7 manifest to add security

I don't think that will work as we will be replacing the branch name in the manifest with commit_ids used for release candidate so your changes won't be accounted for. Code freeze :D


WIP: Document parser hooks

Introduce a public API for parser hooks.
TODO

[ ] Get general :+1: from @bantic
[ ] Tests
[ ] Refactor to the documented API
[ ] Port existing hook usage here and in TypeSet, smoke test

Fixes https://github.com/bustlelabs/mobiledoc-kit/issues/229

few typos, but otherwise these docs look :+1: to me. There are some scenarios where a return value may be invalid, however. For instance, if a parser hook returned a marker where a section was expected, I expect the parsing would break later (perhaps much later, at render time) when attempting to deal with a post that had a list of sections that looked like [markupSection, listSection, marker].
Is there a plan to guard against nonsensical (in context) return values for parser hooks?

@bantic perhaps we could assert the correct type is appended to a linked-list during adoptItem


compose: replace dialog and bottom sheet destinations with overlay

We now have an overlay destination type. The difference compared to dialog and bottom sheet is that this destination type does not add a container like Dialog or ModalBottomSheetLayout anymore, it will just show the content on top of screen destinations. This moves the responsibility of adding the container to the destinations. For the simple case it's a bit more effort but it gives a lot more flexibility as well since you can customize the bottom sheet or dialog on a per destination basis. It also means we don't need all the bottom sheet parameters on NavHost anymore and we can drop the dependency on accompanist-navigation-material.
This fixes the navigation issues that we had with bottom sheets (dismissing it by clicking outside or dragging it closed does not pop the back stack) and dialogs (not displayed).
For the AndroidX navigation implementation this ads OverlayNavigator and OverlayNavHost (internally). These are a mostly 1:1 copy of DialogNavigator and DialogHost from AndroidX navigation. The only change to them is that DialogHost does not add a wrapper Dialog around destination.content(backStackEntry).
In the experimental implementation the change is to just show all visible destinations in the same way instead of wrapping some based on the type.

Great work! 🚀


Chore: fixed toast width

fixed content wrapping issue in toast
issue link - https://github.com/aadeshkulkarni/medium-app/issues/19

 is used in other components as well.
Please replace them with

replaced all ToastContainer, now we can merge this PR


add ability to write logs outside of the return object

Currently, the only data that is display on the console is what is returned at the end. It would be nice to have a way to add additional logs throughout the the code and return those alongside the overall returned data

Thanks to Enis Ismail from SFCC Unofficial for making this awesome suggestion!
This feature has been implemented


Automatic Baking is Tricky

Just more-or-less opening this topic for possible debate - But so far I have been burned quite a few times in Anvil because I did not understand the (somewhat unexpected) things that will silently cause a bake to happen.
For example, the following code won't work, even though it looks like it should (Arguments simplified for clarity)
// Create an allocator and use it for both color and depth attachment images

pAllocator = Anvil::MemoryAllocator::create_oneshot();

pColorImage = Anvil::Image::create_nonsparse();

pAllocator->add_image_whole(pColorImage);

pColorImageView = Anvil::ImageView::create_2D(pColorImage);

pDepthImage = Anvil::Image::create_nonsparse();

pAllocator->add_image_whole(pDepthImage ); // Won't work - Creating pColorImageView silently baked this one-shot allocator

pDepthImageView = Anvil::ImageView::create_2D(pDepthImage);

I think there are a few ways to make it more clear that wrapping an Image in an ImageView will bake the allocator:

Easiest perhaps would just be to require the user to call bake() explicitly. This at least provides a hint in the code that the one-shot allocator has been used. Now the code would look like this:

pAllocator = Anvil::MemoryAllocator::create_oneshot();

pColorImage = Anvil::Image::create_nonsparse();

pAllocator->add_image_whole(pColorImage);

pDepthImage = Anvil::Image::create_nonsparse();

pAllocator->add_image_whole(pDepthImage );

pAllocator->bake(); // Now at-least looking at the code, I may deduce that I shouldn't rearrange the code above or below this line

pColorImageView = Anvil::ImageView::create_2D(pColorImage);

pDepthImageView = Anvil::ImageView::create_2D(pDepthImage);

IMHO the "gold standard" way to do it would be to treat the allocator more like a "builder" - Add the descriptions of all the images and buffers that are assigned to it into a list. Then the user has to call "bake()", which would then actually create-and-allocate the usable Image and Buffer objects and allow the user to retrieve them.

In the second example, the above code may look more like this:
pAllocator = Anvil::MemoryAllocator::create_oneshot();

colorImageId = pAllocator->add_image_nonsparse(...);
depthImageId = pAllocator->add_image_nonsparse(...);

pBakedAllocator = pAllocator->bake();

// It is now impossible for me to create the ImageViews without a BakedAllocator/ImageId pair
pColorImageView = Anvil::ImageView::create_2D(pBakedAllocator, colorImageId);
pDepthImageView = Anvil::ImageView::create_2D(pBakedAllocator, depthImageId );

I don't know if there are other ideas on how to remove some of the footguns from this process, or if it's even worthwhile to change it. The answer might very-well just be, "This is C++ - Learn to RTFM".

No longer relevant as we have had VMA support for a long time now.


[SPARK-45499][CORE][TESTS][FOLLOWUP] Use ReferenceQueue#remove instead of  ReferenceQueue#poll

What changes were proposed in this pull request?
This pr replaces refQueue.poll() with refQueue.remove() in the test case reference to sub iterator should not be available after completion to ensure that a PhantomReference object can be retrieved from refQueue.
Why are the changes needed?
https://github.com/apache/spark/pull/43325 replaces Reference#isEnqueued with Reference#refersTo(null) to eliminate the use of deprecated APIs.
However, there are some differences between ref.isEnqueued and ref.refersTo(null).

The ref.isEnqueued method is used to check whether this PhantomReference object has been added to its reference queue by the garbage collector. When the garbage collector decides to recycle an object, if this object has one or more PhantomReference, then these PhantomReference will be added to their reference queues. So, if ref.isEnqueued returns true, it means that this PhantomReference has been added to the reference queue, which means that the object it references has been recycled by the garbage collector.

The ref.refersTo(null) method is used to check whether this PhantomReference object refers to the specified object. In the current code, ref.refersTo(null) is used to check whether ref still refers to sub. If ref.refersTo(null) returns true, it means that ref no longer refers to sub, which means that sub might have been recycled by the garbage collector. But this does not mean that this ref has been added to the reference queue.

So we can see the following test failure in GA:
https://github.com/apache/spark/actions/runs/6484510414/job/17608536854
[info] - reference to sub iterator should not be available after completion *** FAILED *** (287 milliseconds)
[info]   null did not equal java.lang.ref.PhantomReference@11e8f090 (CompletionIteratorSuite.scala:67)
[info]   org.scalatest.exceptions.TestFailedException:
[info]   at org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
[info]   at org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
[info]   at org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231)
[info]   at org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295)
[info]   at org.apache.spark.util.CompletionIteratorSuite.$anonfun$new$3(CompletionIteratorSuite.scala:67)

To solve this issue, this PR replaces refQueue.poll() with refQueue.remove() to allow for waiting until ref is put into refQueue and can be retrieved from refQueue.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass GitHub Actions
Was this patch authored or co-authored using generative AI tooling?
No

OK, add 1000ms timeout

Some test task failed, I will re-trigger them later

[info] *** 1 TEST FAILED ***
[error] Failed: Total 3689, Failed 1, Errors 0, Passed 3688, Ignored 10, Canceled 2
[error] Failed tests:
[error] 	org.apache.spark.scheduler.HealthTrackerIntegrationSuite

The failed test case is not related to the current PR.

Merged into master, thanks @srowen @dongjoon-hyun @yaooqinn


NSEC Portal Operations Dashboard Addins aren't valid.

I get this error whenever I try to use these addins (every one is affected):

Latest version of the addins and latest version of Operations Dashboard.

I can not reproduce this issue. I installed Operations Dasbhoard from the NSEC server and then added the Bomb Threat AddIn and it added fine and worked.
Please ensure that you are using the Operations Dashboard from the NSEC portal.

NOTE: when I upgraded the NSEC portal to 10.3.1, I also configured it with a newer Ops Dashboard build (Jan 2015) so if you had installed Ops Dashboard from NSEC previously, it's best to install again to get the latest build.

It works now that I uninstalled Operations Dashboard and reinstalled from the portal.
Weird thing is I had installed it from NSEC before, and I reinstalled it when I tried to open the Operations Dashboard from the portal on Monday. Might be a good thing to point out to folks later on.

Yeah I just got OOB up yesterday without too much of a problem. I created a throw away service service in the Test folder and a webmap with with units and equipment for testing OOB. I also created a feature class in the Military gdb. The schema for the feature Units and Land Equipment feature classes will work with the Dictionary renderer but also can be used for services, too. I just copied the schema from VCP. I had to add the field owningunit to the Land Equipment schema to capture that for OOB widget. We may want to delete the features I created, but I think we can keep the feature classes for when we build out unit equipment data on nsec.
One other caveat with OOB widget is that the feature services feeding the OOB must be using a unique value renderer (for the layers feeding the widget) - which would be the default for equipment or units, but there is an error if a layer does not use unique values - I was using a single value renderer to start and saw the error. I think this was by design and has something to do with being able to grab the image used for military symbols so they can be displayed in the widget.


Remove spartacus libs from the project's package.json.

Lets remove the spartacus dependencies in the projects main package.json
    "@spartacus/core": "^0.1.0-prealpha.3",
    "@spartacus/storefront": "^0.1.0-prealpha.8",
    "@spartacus/styles": "^0.1.O0-prealpha.5",

Make sure they are also removed from yarn.lock, likely by using a yarn command to remove them.

Pull request #592


[help wanted] ragdoll core install without linux install tutorial

I am trying to install Ragdoll Core but it is confusing me because they are just libery files and I don't know what to do with them. So I created this issuse, and there is no tutorial on installing it but how do I install it?

Hey, @TouseefX  👋🏼
Sorry for the lack of infomation, Linux installation guide only being mentioned in our forum at the moment.
https://forums.ragdolldynamics.com/t/ragdoll-for-blender-early-access/1227/7
Ragdoll core installation on Linux is basically two steps:

Download the RagdollCore*.zip
Unpack it in your home directory, e.g. /home/user-name

For example, to install current lastest core:
cd ~/
wget https://content.ragdolldynamics.com/6fb6a202-bd24-4db0-8d03-40e8c306c20c/RagdollCore-linux-2024.03.07.zip
unzip RagdollCore-linux-2024.03.07.zip

We will soon be updating our website!

thank you it helped closed as done

Download instructions for Ragdoll Core on Linux has been updated now, thanks for reporting this @TouseefX

https://learn.ragdolldynamics.com/sdk/download


Add CraftTweaker integration

Optional dependency on MTLib to make CraftTweaker integration easier
Thanks to @jaredlll08 for letting me use the "old" ModTweaker code (which was almost 100% compatible)

Tested and everything seems to be working!
Tested with the test/example file from the ModTweaker wiki. (Attached as .zs.txt as Github doesn't allow .zs files)
mekanism.zs.txt

Does this not support the ore dictionary? This line:
mods.mekanism.combiner.addRecipe(<ore:dustDiamond> * 4, <gas:liquidStone>, <minecraft:diamond_ore>);

results in this error:
test.zs:1 > 2 methods available but none matches the parameters (crafttweaker.item.IIngredient, mod.mekanism.gas.IGasStack, crafttweaker.item.IItemStack)
This is usually an error in your script, not in the mod
addRecipe(ZenTypeNative, ZenTypeNative )
addRecipe(ZenTypeNative, ZenTypeNative, ZenTypeNative )]

Here's what I have to use instead:
mods.mekanism.combiner.addRecipe(<mekanism:otherdust:0> * 4, <gas:liquidStone>, <minecraft:diamond_ore>);

You might be right with that one.. I didn't think of that. I don't even know if the underlying code supports OreDict.
I'll take a look at it when I'm back in front of my computer.

Also, using :* to match all variants of an item doesn't seem to work. For example:
mods.mekanism.reaction.addRecipe(<minecraft:sand:*>, <liquid:liquidsodium>, <gas:water>, <minecraft:quartz>, <gas:hydrogen>, 50, 20);

I don't get any errors from that, and the recipe shows up fine in JEI, but when I actually try it in a machine, it doesn't do anything.

Thank you very much for testing this @josephcsible! It helps a lot.

ignore my last commit... doesn't work yet

Added wildcard support to all recipes (looks like it normal itemstack inputs already had it).
Always good to take a second look some time later, this fix is way easier than what I saw earlier.
Oredict support will be postponed as it would require a rewrite of the current recipe system. I'll open a new feature request so interested parties could subscribe to that one.
@josephcsible Your example is working perfectly now, it accepts both sand & red sand. If you find any more issues (not oredict related ofcourse), feel free to share them :)

Thanks! As an interim solution to the oredict issue, would it be possible for you to make it give an error such as ”Mekanism recipes don't yet support the ore dictionary” rather than the cryptic one that I got?

The error you've received is an error from CraftTweaker notifying you about what you've entered isn't possible..
Only way to give a warning/error would be creating methods that do accept oredict and logging a big warning that it's not yet supported. I can look into it, but if it's a lot of work than I would rather invest my time in a bit of documentation about current CraftTweaker integration and a warning on top of that that oredict isn't supported yet.
I've opened a issue for the full support of oredict at #4646

creating methods that do accept oredict and logging a big warning that it's not yet supported.

At what point in the cycle is that called? The simple solution for now would be to bake the list by querying the OreDict in init or postinit

That would be a huge and ugly hack, but very plausible. Methods are queried at post init after all (or at least most) OreDict should be registered.
The apply method, which does the actual addition and removal of recipes is called from MekanismHooks post init ;)

Well I wouldn't call it a hack personally, but I certainly agree it's a suboptimal workaround :P

I've looked at providing an warning when a oredict recipe is being used, and decided to certainly not go that way. It does provide a nice warning, but you'll loose line numbers, which is in my opinion more important.
So it will be either go the way it's now and wait for a nice oredict implementation of all recipes, or as @thiakil said, go for the suboptimal workaround.

Seeing that mekanism doesn't have MT integration in 1.12 yet - when will we be able to lay hands on a version that does have support for MT?
Thanks for working on it! Cheers!

Once this pull request is accepted, I think within the next days or so, then I've got tome to complete this :)
Thinking of combining #4648 into this one

@WTFNoNamesLeftoO Whenever this gets merged, the next release will have it. If you're impatient, you can compile it yourself with this PR's changes included (that's what I did to test it).


Dropdown, Segment and further fine-tuning

Over the past few weeks, we've build up a bit of a back-log with things to do for the ui-component-lib. This PR attempts to catch all those.

@0ortmann - I think I generated a bit of it and then copy / pasted it. Not sure where I got it from, but I'll change that before merging :)


运行之后状态返回500

@yatyu commented on Sat Nov 17 2018
我按照这个文档的过程一步步操作后得到的状态是"500 Internal Server Error"我不清楚具体是哪里出了问题，但是我很肯定我是按照这个文档来做的。

文档详细信息
⚠ 请勿编辑此部分。 docs.microsoft.com ➟ GitHub 问题链接必须具有此部分。

ID: 939101cd-9c92-ed8f-b241-664794db8a0d
Version Independent ID: 21392fd3-c4e7-f785-a660-ebbbf88646e4
Content: 使用 Azure Cosmos DB 和 Azure Functions 存储非结构化数据
Content Source: articles/azure-functions/functions-integrate-store-unstructured-data-cosmosdb.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@yatyu commented on Sat Nov 17 2018
已经解决了，你们文档里面的代码最后少了个大括号！！！！！！

Hi team,
I'm moving this one here since the contributor is reporting an error in the code.
Rough translation:

State returns 500 after running
The state I got after following the steps in this document is "500 Internal Server Error". I don't know exactly where the problem is, but I'm pretty sure I followed this document.

Then, they added a new message:

Has been resolved, the code in your documentation is finally missing a braces! ! ! !

@CeciAc Thanks for the feedback! We will review and update the doc accordingly.

@CeciAc The doc update has successfully been merged.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Supported TFS versions?

What versions of TFS are supported by this extension? Is TFS 2015.3 supported?
--Neno

Unfortunately the service endpoint type isn't supported in TFS 2015.3 at the moment.  We will explore some options and add support of TFS 2015.3.  I will keep you posted.
Thanks for your patience.

Thanks, Yang!

@NenoLoje thanks for your patience.  Would you mind giving this new release a try and see if it works with your TFS 2015.3 server?
Thanks.

Yang, in TFS 2015.3 I don't see a service endpoint called "JBoss and WildFly". Is that expected?
Thanks,
--Neno

Yes, since TFS 2015 doesn't support service endpoint extensibility framework.  We added a dropdown in the task to allow you to enter credentials manually.
Thanks for your help!

TFS 2015 support is in and released to market place.  Thanks for your help!

I can confirm that entering credentials manually works now in TFS 2015. Thanks, Yang!


LIN-592 Update NodeCollection dependencies with reuse_pre_calculated_artifact…

Description
When specify dependencies and reuse_pre_computed_artifacts, we get error.
The root cause is we forget to update the artifact calculation dependency graph in the case of reuse_pre_computed_artifacts
Fixes # (issue)
LIN-592
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
New tests were added.

Confirmed that this works for the following example (which previously resulted in an error):
import lineapy

art = {}
b0 = 0
art["b0"] = lineapy.save(b0, "b0")
a = b0+1
art["a"] = lineapy.save(a, "a")

lineapy.to_pipeline(
    artifacts=["a", "b0"],
    dependencies={"a":{"b0"}},
    reuse_pre_computed_artifacts=["b0"],
)


Exclude patterns don't work when Include uses a recursive glob on OS X

  <ItemGroup>
    <ProjectWithoutConfiguration Include="bin/**/*proj" Exclude="bin\Bootstrap\testpackage.nuproj;src\**" />
  </ItemGroup>

  <Target Name="BuildAndTest">
    <Message Text="Items: @(Projectwithoutconfiguration) " Importance="High" />
  </Target>

from the root of the MSBuild repo emits a list that contains testpackage.nuproj. If the Include pattern is bin/Bootstrap/*proj or bin/Bootstrap/**/*proj, the Exclude works as expected, so the critical piece seems to be that there is a recursive ** glob and that it gets expanded during the consideration of include.
Possibly a regression from lazy evaluation?

cc @brthor: the only workaround I can see right now is to not use a recursive glob.

@rainersigwald
I appreciate the workaround, but it is simply not possible for migration unless we evaluate the glob at migration time, in which case we are not really doing a true migration of the project.
For the moment this will just remain a bug for migrated apps on OSX. We can direct users to clean before building to prevent inadvertent includes.

It is most likely the optimization of not exploding globs twice via the new feature in FileMatcher to accept globs to ignore.
Before this, it worked because both include and exclude would explode globs, and those exploded strings would match just because they were produced by the same code.
Now, the FileMatcher does a few string comparisons to reason whether to visit certain files or directories. All those string equality checks need to be probably replaced with more intelligent comparers that reason about directory separators, case sensitivity, trailing slashes, etc

#978 appears to have fixed this issue. I tried reproing it on osx but the recursive excludes / includes worked fine (tests also confirm this). Only caveat for now is that excludes work with backslashes only.


DefaultIsOriginAllowed should StringComparer.Ordinal be changed to StringComparer.OrdinalIgnoreCase?

From @benhysell on Friday, August 11, 2017 11:58:50 AM
https://github.com/aspnet/CORS/blob/8214954d5b0dafe191890da9a3de86f5b607ea69/src/Microsoft.AspNetCore.Cors/Infrastructure/CorsPolicy.cs#L161
Is the only place where string comparison is cased...should it ignore case?
Ran into an issue today where I built my own policy:
services.AddCors(options =>
                {
                    options.AddPolicy("AllowRequestFromWeb",
                        builder =>
                        {
                            builder.WithOrigins(Configuration["ServerOptions:AllowedCorsOrigins"])
                                .AllowAnyHeader()
                                .AllowAnyMethod()
                                .AllowCredentials();
                        });
                });

And I'm reading the configuration in from appsettings.json.
"ServerOptions": {
    "AllowedCorsOrigins": "http://localhost"
  }

All worked great, but I was having an odd failure with my production appsettings.json.  From appsettings.json.Production
"ServerOptions": {
    "AllowedCorsOrigins": "http://MyCoolProductionServer"
  }

My CORS were failing.
The second I changed "http://MyCoolProductionServer" to lowercase everything worked as expected.
I realize that I cased my server name in my appsettings.json.Production, my mistake...but should that comparison be case sensitive?
Copied from original issue: aspnet/CORS#124

From @blowdart on Friday, August 11, 2017 12:20:11 PM
It's complicated. So complicated there's an RFC - https://tools.ietf.org/html/rfc4343
Basically for ASCII domains it's case insensitive, but punycode (what Internationalised domain names convert into) kinda, sorta, messed it up.
However, we ought to normalise in our checks, and then allow case sensitivity as an option.

This was addressed as part of https://github.com/aspnet/CORS/commit/feceb3ddeaf0a0ca7e895eb83674d78fee53515c. We still don't punycode i8n names, but this issue can be closed.


Web version is not being set

See https://github.com/Couchers-org/couchers/issues/2359
I think it's due to dockerfile order

@lucaslcode

Thanks @lucaslcode ; fixed: https://github.com/Couchers-org/couchers/issues/2365


Add missing examples.

Codecov Report

Merging #26 (1659707) into main (be6f406) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #26   +/-   ##
=======================================
  Coverage   82.54%   82.54%
=======================================
  Files          26       26
  Lines         951      951
=======================================
  Hits          785      785
  Misses        148      148
  Partials       18       18

Flag
Coverage Δ

unittests
82.54% <ø> (ø)

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

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 be6f406...1659707. Read the comment docs.


Build HDFS location -> distributed byte Futures function

My intent behind this issue was to produce distributed.Future objects for every block of bytes in an HDFS file.  From here we can do most things, map various in-memory read functions (pd.read_csv, avro.load, etc..) on these bytes with distributed.  This work will probably happen within the distributed library.

We have an accurate HDFS path -> distributed byte Futures function now.  I'd like to extend this to support lazy evaluation with dask.Value objects.  Keeping this issue alive until then.

Should close now?


fix: clean up TLS configuration

The distinction between server TLS and proxy TLS configuration wasn't clear and partially wrong.

use separate environment variables for configuring server TLS / proxy TLS
update documentation on environment variables

Fixes #166

Looks like the length of the readme exceeds the maximum

Excellent, merging.


Worker hangs sometimes

Sometimes we fall into state, when taskiq worker hangs and doesn't react to signals like SIGTERM.
We need to fix it, since it's really annoying. Maybe we should differently work with child processes.

I refactored process manager and since then there were no hangs.
But I do believe that process manager can be updated, so it will react instantly to the updates.
One of the proposed solutions would be:

Create a separate thread, that checks if processes are dead;
Remove sleep from the main process-watcher loop;
Update main loop, so it blocks until new events from the queue.
Remove process checking from the main loop.

Or we can come up with better solution.

Do we know what causes this to happen? I've been experiencing it fairly often and I usually have to kill -9 the processes.

Actually it's a mystery for me. Most probably it happens because workers start before singral interceptors are called. Because I only experienced it when I was calling shutdown before the startup sequence was complete.


Ollama generators

Add two Ollama generators, using either the chat or generate functions from the Ollama package.
Add tests, that are skipped when no Ollama server is running.

I have read the DCO Document and I hereby sign the DCO

recheck


Circular dependency between sys/util.h and sys/time_units.h

Describe the bug
The WAIT_FOR macro in zephyr/sys/util.h uses k_us_to_cyc_ceil32 https://github.com/zephyrproject-rtos/zephyr/blob/main/include/zephyr/sys/util.h#L616
This function is defined in zephyr/sys/time_units.h, but time_units.h itself includes zephyr/sys/util.h https://github.com/zephyrproject-rtos/zephyr/blob/main/include/zephyr/sys/time_units.h#L11 , making a circular dependency
How to reproduce
Create a C file that uses WAIT_FOR e.g.
#include <zephyr/sys/util.h>
...
bool my_func() { return false; }
...
WAIT_FOR(my_func(), 1000, NULL);

This will fail to compile with something like
.../zephyr/include/zephyr/sys/util.h:551:26: error: implicit declaration of function 'k_us_to_cyc_ceil32' [-Werror=implicit-function-declaration]
  551 |   uint32_t cycle_count = k_us_to_cyc_ceil32(timeout); \

Expected behavior
Headers should be self-contained so that users can include zephyr/sys/util.h without knowing that they also need to include zephyr/sys/time_units.h with a particular include ordering.
Impact
Users trying to get access to WAIT_FOR from util.h will hit a confusing compiler error around k_us_to_cyc_ceil32 if they didn't happen to transitively include time_units.h already.

Changing to low priority due to the fact it isn't actively being reported on multiple platforms.


Feature request: detect predicate matcher ending with ?

This idea comes from my silly mistake. Following code:
expect(foo).to has_key?(:bar)

where foo is a Hash. Do you find a mistake? Yes, in this code RSpec calls has_key?? method, not has_key? method which I expected.
Here comes the fact that in Ruby we can NOT define a method like has_key??. So the example above will never pass.
So my Cop idea is that it detects a predicate matcher ending with ? and (probably unsafely) corrects it with removing ending ?.
One might says we can find a mistake simply by executing a spec, but if many people do the same, I think it's worth adding.
# Bad
expect(foo).to has_key?(:bar)

# Good
expect(foo).to has_key(:bar)

RSpec already complains:
     NoMethodError:
       undefined method `has_key?' for #<RSpec::ExampleGroups::A "example at ./spec/a_spec.rb:2">

Why do we need a cop for that?


import: allows to download/copy also files that are not output

Documentation update necessary after PR https://github.com/iterative/dvc/pull/2889 for issue https://github.com/iterative/dvc/issues/2862
I will do this

thanks @Baranowski 🙏

I'm planning to do this after the corresponding dvc PR is accepted, or at least when it's close to being accepted. Just to avoid back-and-forth if there are changes in the supported functionality.
If you prefer me to write the docs update right away, please let me know.

@Baranowski sounds like a plan to me! No need to push it ahead of time.


Execution process explanation

Explain the execution instruction more clearly. (ex. How to download and how to execute the code) with proper description of how to install the required library.

Can you assign me this work?
Also just clarifying - I need to update the usage section of the readme file or do I write the instructions somewhere else?

Yes sure


Add plugins for PostCSS

You always need to add more plugins to your settings however complete a boilerplate is, so this idea is allowing you to add PostCSS plugins in an easier way.
For example, you quite like to use cssnext, you can install it globally or locally if you want it that way:
npm install -g cssnext

And you set up in tooling.js:
export default {
  postcss: [
    // globally installed module
    {
      moduleName: 'cssnext'
      compress: true
    },
    // or local module
    require('cssnext')({
      compress: true
    })
  ]
}

And I think we should move all settings for tooling to tooling.js, package.json is not good for setting up plugins.
But it looks annoying, are we going to configure something again?
// for now you can use local webpack.config.js to override tooling settings, but if you do so, why would you use tooling instead of webpack directly? At least in that way you got more control. So I still need to think about this. Your ideas are welcome :smile:

@djyde @hayeah I'd like to know how you two think of it. :wave:

@djyde @hayeah I'd like to know how you two think of it. :wave:

My final decision: tooling generate
Running this command to generate two webpack.config.js files in cwd, one for dev the other is for production


Shouldn't ignore hover on storage / constant / keyword

storage, constant and keyword are currently marked as NO_HOVER_SCOPES but they contain useful things often that need hovering over. the scope naming rules say these should be used for proper things but often aren't (the Haskell syntax uses the 'wrong' scopes all over the place)
This just means when using hie and this plugin then I can't hover over an Type usage or imports
Take the hover below over StateT for example, this doesn't work in the current release. But with my fork it shows lots of useful info (thanks for that by the way :p).

and an example of something badly marked as a constant but worth hovering over (tells you which package it's imported from)

Thanks for documenting the issue, I am guessing some people abuse the scopes to get the color schemes to look good :)
Is this haskell-lsp? Is it working well for you with this package?

this is https://github.com/haskell/haskell-ide-engine
it's working OK, I can't figure who's fault it is but quite often the diagnostics appear, then flicker and then disappear and are hard to get back.

Ah, it's the same guy from haskell-lsp working on it.
Feel free to open another issue if the logs implicate LSP :)


Module Issue For Pass a File in Custom data

Hi Laurent,
As discussed in email, please arrange someone to fix the module issue for below points.

Pass the commands directly in custom data (working for windows not working for Linux)
Create a separate file and pass that file in custom data (not working for both windows and Linux)

This Issue has the example referencing to PR https://github.com/aztfmod/terraform-azurerm-caf/pull/1623


Change Bot Command Prefix?

Hi! Not really an issue just wondering if someone can help me out. I'm trying to get this bot in a friend's discord channel, where there's already a music bot using "/" to read commands. I want to add this bot, but using a different prefix, like "." or "?" so that both can coexist, since this bot will only run while my computer's awake. Is there an easy way for me to do this?

you ever figure this out?

same, wanna know if we can add a prefix instead of slash commands.

Wondering the same thing :D Cheers!


How to fix playback on Firefox?

I've always wanted to stream my uploaded music from the GPM site but had many issues when attempting so. However, when I use this program the playback is flawless. I'm using Arch so everthing is the latest and I built this package from the AUR. I don't believe the problem persists if I install install Chromium and the built in Google Play Music app but it just won't work for Firefox. Just wondering if you guys know a fix.
Cheers.

Sorry, unfortunately I'm not familiar with why that would be the case. Best of luck!


Final implementation of new custom Inventory

implementation can only happen partially (753)
I need an approach to inject SARA's JS before Steam loads data besides stylesheets
same goes for stylesheets and other stuff
the whole approach seems to be better to be moved into a whole new extension or at least repo
the current inventory-implementation needs to be overhauled first (buddy multi-selection)


Errors in CI/CD Pipeline

There are currently errors being thrown during the unit tests in the CI/CD pipeline that do not exist in the runs on local.

This was a race condition that happened when the WebDriver initialization was not explicitly called before tests were run.


When moving a window to another workspace using "movetoworkspace", the window has problems.

Hyprland Version
 System/Version info
Hyprland, built from branch main at commit ecf282d331a8aa19c0fe10c739cd31d3b3ab64a2 dirty (wlr-foreign-toplevel: move to new impl).
Date: Thu Apr 25 08:10:43 2024
Tag: v0.39.1-77-gecf282d3, commits: 4537

flags: (if any)

System Information:
System name: Linux
Node name: counhopig
Release: 6.8.7-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Wed, 17 Apr 2024 15:20:28 +0000

GPU information:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB] [10de:24dc] (rev a1) (prog-if 00 [VGA controller])
06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c4) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

Bug or Regression?
Bug
Description
I have archlinux and hyprland installed on my laptop and everything else works fine, but when I try to use "movetoworkspace" to move a window to a specific workspace, I get the following problems:
1: The window disappears from the original workspace and appears in the specified workspace, but its window size does not change.
2: The window will not interact with any windows in the new workspace after it is moved to the new workspace, no matter they are already there or newly added.
3: When I try to use togglefloating to change its style, the first two commands do not respond. It doesn't respond until the third time. At that point, the window returns to normal.
4: If I run togglefloating in the original workspace directly after the movetoworkspace command, the window jumps back.
How to reproduce
I really dont know how it happen. but I know that it is not happen in my nuc10.
the monitor for my laptop is 25601600@165
the monitor for my nuc10 is 19201080@60
Crash reports, logs, images, videos
Uploading 2024-04-26 01-29-45.mp4…
hyprland.log

https://github.com/hyprwm/Hyprland/assets/108390459/bb308b25-f6d1-43d6-8a91-64bedd41dc1c

Dupe of https://github.com/hyprwm/Hyprland/issues/5746. Already fixed in https://github.com/hyprwm/Hyprland/commit/9fc3cb5629bcc006603e4f2f7906c75d393798dc.


Is sliding window attention available?

According to this documentation, there is support for sliding window attention in TRT-LLM. However, it seems to be disabled based on the code search.

Got it, thank you for your prompt response! :)


fix: should use column index to set null bitmap when building binary resultset

simple fix

Hi, thanks for correcting this! If you find the problem with some real payload, can you add a unit test to check the output?


No connection to device or service after update

After updating to the current ioBroker version, the kodi adapter generates the following debug log:
kodi.0 | 2022-12-22 23:26:19.728 | debug | Error: Error: Socket error: Invalid WebSocket frame: invalid UTF-8 sequence
kodi.0 | 2022-12-22 23:26:19.726 | debug | KODI connecting to: KODI-IP:9090
kodi.0 | 2022-12-22 23:26:19.726 | debug | Error: Server responded with error: Invalid params.{GetPlayList}
kodi.0 | 2022-12-22 23:26:19.725 | info | KODI connected
Versions:

Adapter version: 2.0.8
Node version: v16.19.0
Operating system: docker

Error fixed in 2.0.9 already

Thanks for the quick help. I installed version 2.0.9 from github and now I get the following log:
kodi.0 | 2022-12-26 23:18:15.514 | debug | Error: SyntaxError: Failed to handle response: Unexpected token � in JSON at position 0
kodi.0 | 2022-12-26 23:18:15.505 | debug | KODI connecting to: <IP_ADDRESS>:9090
kodi.0 | 2022-12-26 23:18:15.505 | debug | Error: Server responded with error: Invalid params.{GetPlayList}
kodi.0 | 2022-12-26 23:18:15.504 | info | KODI connected


bupstash: 0.8.0 -> 0.9.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/andrewchambers/bupstash/releases.
meta.description for bupstash is: "Easy and efficient encrypted backups"
meta.homepage for bupstash is: "https://bupstash.io"
meta.changelog for bupstash is: ""
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/9z13c7jb83xxznk8lllgdg16gyrxyv2v-bupstash-0.9.0/bin/bupstash passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 0.9.0 with grep in /nix/store/9z13c7jb83xxznk8lllgdg16gyrxyv2v-bupstash-0.9.0

found 0.9.0 in filename of file in /nix/store/9z13c7jb83xxznk8lllgdg16gyrxyv2v-bupstash-0.9.0

directory tree listing: https://gist.github.com/db9d68f85d4793951e8c6b22bde5748f

du listing: https://gist.github.com/0aea5d9ab035f4fc4022820d672d5c12

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
bupstash

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9z13c7jb83xxznk8lllgdg16gyrxyv2v-bupstash-0.9.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A bupstash https://github.com/r-ryantm/nixpkgs/archive/cc9ffa35208cd8c723ed9b084c56224bb0d9f6ed.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9z13c7jb83xxznk8lllgdg16gyrxyv2v-bupstash-0.9.0
ls -la /nix/store/9z13c7jb83xxznk8lllgdg16gyrxyv2v-bupstash-0.9.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

bupstash

Maintainer pings
cc @andrewchambers for testing.

LGTM


Connection errors are not output in the terminal

Errors connecting to PostgreSQL and Rasa Core are swallowed and do not get output in the terminal. This makes debugging issues with the setup unnecessarily painful.
Consider adding appropriate error output.

This is fixed in the latest commit - when the UI starts, we check the connection to Postgres and NLP, I have also drafted support for Rasa Core when we add it.


nixos/iptsd: init

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

cc @fdgefgd @phpcitizen @aammfe @tmnvanderberg @dayflip @CTech-BentonE @damianoognissanti @buttergrillcorn

@zowoq Looks like this was mislabeled.


Fix DBInstance for updating PI and add tests

Fixes https://github.com/aws-controllers-k8s/community/issues/1346
Description of changes:
Updating EnablePerformanceInsights caused the DBInstance to cycle continuously, as it tried to reconcile the server side default values and handle the asynchronous status updates. Rather than relying on a requeue error to wait for the status to update, this pull request modifies the DBInstance custom code to set ResourceSynced = false on the resource (for the runtime logic to cause the requeue instead). Furthermore, we remove the server side defaulted values from the diff if they have not been updated in the desired spec.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

good work!
/approve

/lgtm


Replace tabulario/iceberg-rest with apache/iceberg-rest-fixture

Feature Request / Improvement
We now publish the apache/iceberg-rest-fixture from the Java repository. The tabulario is severely outdated.

Hey can I take this?

@hendoxc Sure, go for it!

https://github.com/apache/iceberg-go/pull/222


portfolio: 0.64.1 -> 0.64.2

Description of changes
https://github.com/buchen/portfolio/releases/tag/0.64.2
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 243525 run on x86_64-linux 1

1 package built:

portfolio

In the meantime there was also another version published, that fixes an issue with the filter migration, so possibly we want to directly jump to 0.64.3.

Result of nixpkgs-review pr 243525 run on x86_64-linux 1

1 package built:

portfolio


updates to readme documents for manual page

Fixes issue #16290
Signed-off-by: Mike Brown<EMAIL_ADDRESS>

@thaJeztah I made the changes you suggested.
Cheers, Mike

Nice! LGTM
ping @moxiegirl @SvenDowideit for review and merge :)

@mikebrow Niceness! LGTM


Update Core Data Architecture

We're observing a Core Data deadlock, triggered under the following scenario:

NSFetchedResultsController, attached to the Main MOC.
Simperium workers processing remote changes, with their own NSManagedObjectContext
At the exact same moment, while (2) is running, the FRC executes performFetch.

This, as a result, is freezing the app. Several stack traces have been captured, and are available here for review.
This is reportedly a Core Data bug, due to the parentContext mechanism.
New Architecture:
Let's tweak Simperium's Core Data architecture as follows:

WriterMOC, with the persistentStoreCoordinator attached.
MainMOC, with its parentContext set to the WriterMOC.
WorkerMOC with the persistentStoreCoordinator attached.

We'll be merging contextDidSave notifications posted from the WorkerMOC back into the MainMOC.
References:

Apple Thread here
Stackoverflow posts here and here

Many thanks thanks to @astralbodies + @mikejohnstn

Update: Radar 19373999 submitted.
Sample code demonstrating the deadlock is available here.


Let ledger determine whether Shelley forecasting succeeds

Description
Remove a pure exception in Shelley forecasting by letting the ledger determine whether a forecasting operation succeeds instead of reimplementing the stability window check manually.
Historically, it seems this was done this way as at, the slot we are forecasting from, was not simply the tip slot of the given ledger state as it is now, but rather an explicit argument:
https://github.com/input-output-hk/ouroboros-network/blob/0934a3cb1e24ecbfcbab4e40522d99ffcd60feaf/ouroboros-consensus-shelley/src/Ouroboros/Consensus/Shelley/Ledger/Ledger.hs#L322-L326
TODO Potential implications to (double)check:

How fast does the Ledger short-circuit on failure?
Do we need the new assert?
Should we also assert that for < maxFor on success?
Right now, there is no obvious function FutureLedgerViewError -> OutsideForecastRange, espc. as FutureLedgerViewError is backed by a (not statically guaranteed to be empty!) list. How desirable is it to change this?

Checklist

Branch

[ ] Commit sequence broadly makes sense
[ ] Commits have useful messages
[ ] New tests are added if needed and existing tests are updated
[ ] If this branch changes Consensus and has any consequences for downstream repositories or end users, said changes must be documented in interface-CHANGELOG.md
[ ] If this branch changes Network and has any consequences for downstream repositories or end users, said changes must be documented in interface-CHANGELOG.md
[ ] If serialization changes, user-facing consequences (e.g. replay from genesis) are confirmed to be intentional.

Pull Request

[ ] Self-reviewed the diff
[ ] Useful pull request description at least containing the following information:

What does this PR change?
Why these changes were needed?
How does this affect downstream repositories and/or end-users?
Which ticket does this PR close (if any)? If it does, is it linked?

[ ] Reviewer requested

See https://github.com/input-output-hk/ouroboros-network/pull/4146#discussion_r1026172255


Code autocompletion

🚀 Feature
Each cell containing a different programming language should react accordingly to the autocomplete trigger.

Hello @giarve!
I am an openforce 2022 contributor. I would love to work on this issue and make PR as soon as I resolve the issue. Please do assign this to me.
ThankYou:)


Compatibility with React Native 0.16 and up.

Removes RCTSparseArray dependency.

Hey @qrush do you have any comments on my pr? :)

Nice. If you want to be the primary fork, I can point it to you. I probably won't be shipping anything with this.

Sure! Sounds fun :dancers:

Thanks for the fix @juankiz

I added you as a collaborator, not sure how to reparent. :ship:

How did I miss this for so long? So sorry @qrush 😁


[Bug] 5.5.6 app crashing on LG G2

Checklist

[X] I will only use English in my report.
[X] I have used the search function for open and closed issues to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

Questions

[X] xCloud officially supports my country/region.
[ ] The bug didn't happen in previous Better xCloud version (name which one).

Device
LG OLED65G23LA
Operating System
webos23 (8.3.0-28), SW ver. 13.30.80
Browser User-Agent

Better xCloud Version
5.5.6
Game list
No response
Reproduction Steps
Hi, crash after a few seconds of opening the app, page is refreshing continuously and crash at the 3rd refresh to TV menu, cannot move in the app menu, xbox controller connected or not does not change anything.
Tried reinstalling the app, the problem presists.
Thx.
Screenshot/video
No response

#2

You advised to create new issue and then closed as not planned...wtf???
Dňa po 26. 8. 2024, 2:10 redphx @.***> napísal(a):

#2 https://github.com/redphx/better-xcloud-tv/issues/2
—
Reply to this email directly, view it on GitHub
https://github.com/redphx/better-xcloud-tv/issues/6#issuecomment-2309061785,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCG7MZKX537W52R7G5J5T3ZTJXA5AVCNFSM6AAAAABNC6NQUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBZGA3DCNZYGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


shifts option?

Thank you for your work.
Would it be possible to add the shifts option to your script?

Hi @mdlaat , do you mean this option?
The --shifts=SHIFTS performs multiple predictions with random shifts (a.k.a the shift trick) of the input and average them. This makes prediction SHIFTS times slower. Don't use it unless you have a GPU.

Yes, that’s the one!

@mdlaat I can't find an explanation of what values are recommended for this. Do you know of any resources that explain when you'd want to use this option and what value(s) to use?

As I understand, one might get better results using shifts, at the costs of processingpower/time.
Found this in the code: https://github.com/facebookresearch/demucs/blob/e976d93ecc3865e5757426930257e200846a520a/demucs/separate.py#L46

Please do. Learning how to create a PR is still on my todolist. Thank you so much!


Fix PWAs To Be Recognized By iOS

A user on Stack overflow pointed out:
"Note on the "Add to Home screen: Safari has its own spec for "Home screen icon" called apple-mobile-web-app-capable in the meta tags. Web App Manifest Generator has a fallback for iOS using this meta tags."
Currently, my friend cannot get this thing to act like a PWA, eg the native fullscreens experience and whatnot like we do on Android.

Yeah, I haven't opened the link, but it's supposed to be in 11.3. Apple is handling service workers in a "special" way, supposedly.


./configure: line 19641: AX_CXX_HEADER_TR1_UNORDERED_MAP: command not found

./configure: line 19641: AX_CXX_HEADER_TR1_UNORDERED_MAP: command not found
./configure: line 19642: syntax error near unexpected token noext,' ./configure: line 19642: AX_CXX_COMPILE_STDCXX_11(noext, optional)'

apt install autoconf-archive


Enable sorting the output of WinGet List

Description of the new feature / enhancement
I'd like to be able to sort the output of the list command.
The client should also have settings to specify the default sort behavior in addition to the arguments used to specify the sorting behavior.
Proposed technical implementation details
No response

[Policy] Area-Output
[Policy] Area-Sorting

While this capability is implemented, you can do:
winget ls | sort
The output isn't pretty but better than not having it.


MimeMagic.by_magic returns nil for .txt text/plain files

Im on mac and I did install the shared-mime-info via brew.
currently It is returning nil for plain text file.
I expect it to return text/plain.
$ ruby --version
ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-darwin21]
$ file --mime-type sample.txt
sample.txt: text/plain
$ file --mime-type sample.png
sample.png: image/png

irb
> require 'mimemagic'
 => true
> MimeMagic::VERSION
 => "0.4.3"
> MimeMagic.by_magic(File.open('sample.txt'))&.type
 => nil
> MimeMagic.by_magic(File.open('sample.png'))&.type
 => "image/png"

ok I see https://github.com/mimemagicrb/mimemagic/issues/57
and

Invalid, this should be fixed in the shared-mime-info database upstream.
Originally posted by @minad in https://github.com/mimemagicrb/mimemagic/issues/57#issuecomment-770251191

Instead of closing this right away because its invalid, could we create a issue on shared-mime-info and link it here?
Im not seeing an existing one is obviously related to this issue.
Perhaps: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/91 but that was closed years ago.
https://freedesktop.org/wiki/Software/shared-mime-info/
https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues
I don't really have the specialty knowledge about file detecting file types to really even be confident about creating a ticket on the shared-mime-info database. Otherwise I would do that.


Add ID translation for define environment variable in container

add ID translation for  /docs/tasks/inject-data-application/define-environment-variable-container/
part of this issue: https://github.com/kubernetes/website/issues/20111
/language id
/assign @kubernetes/sig-docs-id-reviews

/cc
/cc @phanama

@phanama and @wahyuoi please ping me if it’s ready to be merged
/assign

@phanama all resolved 🙏

Thanks for the prompt response! @adityaalifn
/lgtm
@irvifa @girikuncoro

/approve


fixed comment in schema reference acs recording

@dbasantes
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Fix tree-sitter-language-mode null highlight iterators

Requirements for Contributing a Bug Fix

Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
The pull request must only fix an existing bug. To contribute other changes, you must use a different template. You can see all templates at https://github.com/atom/.github/tree/master/.github/PULL_REQUEST_TEMPLATE.
The pull request must update the test suite to demonstrate the changed functionality. For guidance, please see https://flight-manual.atom.io/hacking-atom/sections/writing-specs/.
After you create the pull request, all status checks must be pass before a maintainer reviews your contribution. For more details, please see https://github.com/atom/.github/tree/master/CONTRIBUTING.md#pull-requests.

Identify the Bug
https://github.com/atom/atom/issues/22078
Description of the Change
There are two types of highlight iterators in the file -- one for the LanguageMode, where seek method returns an array, and one for Layer, which returns a boolean(-ish). Both used NullHighlightIterator on occasion, which led to some breakage: one instance was fixed in https://github.com/atom/atom/pull/21753, however that in itself created https://github.com/atom/atom/issues/22078. This PR disambiguates the two kinds of iterators and uses a separate class in place of NullHighlightIterator where appropriate.
Alternate Designs
An alternative approach is making both kinds of iterators conform to a single interface, i.e. for seek to either return an array or a boolean. However, that is much more involved and probably entails a complete rewrite of some parts of the code. I do not understand the code well enough to attempt this, and I don't really have the time to do it either.
Possible Drawbacks
One obvious drawback is some minor code duplication.
Verification Process
I've stared at the code for about half an hour. That was about enough to understand something is horribly wrong there. No tests were performed as of the time of the writing, but I'm pretty confident in the results (the issue is pretty obvious to begin with). If/when the tests are performed, I will update this text.
@aminya ran CI, one unrelated test failed on Windows due to a timeout, and prettier complains about some formatting on line 1544, which is not touched in this PR. He also verified that #22078 is indeed fixed by this PR.
Release Notes
N/A, this issue at present manifests only in v1.56.0-beta0 and up.
Notice
:warning::rotating_light::warning::rotating_light::warning::rotating_light::warning: This should be backported to v1.56 branch. Since the code didn't change at all between v1.56 and master, the backport should be very straightforward. I can make a PR against 1.56-releases branch if that would be suitable. #22085 is merged

This should be backported to v1.56 branch. Since the code didn't change at all between v1.56 and master, the backport should be very straightforward. I can make a PR against 1.56-releases branch if that would be suitable.

Do you want to backport it now? TBH, Atom dev is not reliable at the moment to fix things against. The failing tests seem to be related to something else.

There should be a v1.56.0-beta1 release with all of these fixes since beta is currently very buggy.

Rebased


tippyjs: Hide recipient bar tooltips on msg_list rerender.

I noticed a floating "Go to direct message ..." on chat.zulip.org, and then found out that these don't use message_list_tooltip.
I am not able to reproduce, but this change makes sense on its own.

Nice, merged, thanks @amanagr!


Updated Node and Gatsby

Pushed to node 10.15 and updated gatsby cli to 2.4.9

This didn't work for me.

Try this Dockerfile.

Even number releases are more stable. 8, 10, etc. While v10 is that latest it may not always be the best, it always depends. Later versions tend to try experimental features which may break projects.

We should add a compose file example.

# Dockerfile
FROM node:8-alpine

EXPOSE 8000

RUN apk add --no-cache python make g++ \
    && apk add vips-dev fftw-dev build-base \
    --update-cache \
    --repository https://alpine.global.ssl.fastly.net/alpine/edge/community \
    --repository https://alpine.global.ssl.fastly.net/alpine/edge/main \
    && rm -fR /var/cache/apk/*

RUN npm install --global<EMAIL_ADDRESS>\
    && mkdir -p /site

WORKDIR /site
VOLUME /site

COPY ./entry.sh /
RUN chmod +x /entry.sh
ENTRYPOINT ["/entry.sh"]

# docker-compose.yml

# version 2 is designed for development
# version 3 is designed for orchestration, e.i. (docker swarm, kubernetes etc.)

version: "2"
services:
  gatsby:
    build:
      context: .
    command: develop
    environment:
      - NODE_ENV=development
    ports:
      - "8000:8000"
    volumes:
      - .:/site

source: https://dev.to/stoutlabs/my-docker-setup-for-gatsbyjs-and-nextjs-5gao


text extraction without rendering

I would like to extract the text of PDFs on the server, i.e., without explicitly rendering the PDF. I'm wondering if pdf.js is fit to the task. So far I couldn't install pdf.js cleanly with node.js, nor was I able to extract the text without rendering the PDF.
Anyone with a little more insight here?

I would suggest checking out these node examples: https://github.com/mozilla/pdf.js/tree/master/examples/node, especially getinfo.js  (note that it requires PDF.js to be built using node make singlefile).
The getinfo.js example uses the getTextContent method of the API, please see api.js#L831-L839.

Now that the example has been fixed and instructions have been provided, I'm closing this as answered.


How to log utterances on LUIS when using through custom commands.

Hi,
How do I log utterances on LUIS when consuming the service via custom commands using DialogServiceConnector?
I see the DialogServiceConnector takes a CustomCommadsConifg parameter which has a set property method.
What properties are able to be set via this method? Are they the same as the properties answered in Issue #1306 ?
Many thanks.

Hi @J-Hardyy, this is Darren from the Speech SDK team. Thank you for your question. I am looking for the right person from CustomCommands to answer your first question.
Regarding your second question (about "what properties are able to be set"), is this directly related to your first question? if not, can you tell me what you are trying to do? what functionality is missing that you are looking for a property settings to solve.
Thanks,
Darren

Hi Darren,
Thank you for your response. It is directly linked to my first question. However, it would be good to know what other functionality is available via this set property method.
Thanks

Hi @J-Hardyy, this is Emma from Custom Commands team. Thanks for reaching out. Could you help to clarify the expect result of "LUIS utterances", do you want the Speech recognized (SR) result or LUIS recognized result as well?
For example, SR -"turn on the light"; then LUIS get -  intent " such as ConrolDevice", entity " such as light and of/off".
For the full result that includes both recognized sentence and intent/entity, I think from CC side, the best way is to add an activity in rules ->response for each command on speech portal. You can get even more than the LUIS result, such as the CC parameters after slot mapping and rule selection. Here are some examples
Save lastUtterance in parameters

Return recognized parameters in activities

As users own their model, CC service will not log users' conversation in runtime for privacy. As a result, I'm afraid you cannot "enable" more log if it is not defined in response.
If it is SR result only, it looks to be the same question as https://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/1306. We will leave the question to Darren.
Please let us know if it answers your question, or you have any other questions on Custom Commands.
Thanks,
Emma

Hi,
Thank you for your response. I wanted the LUIS result. If LUIS won't log the utterances made via Custom commands I'll probably go down the route of adding a response to each command as you have suggested in your examples.
Thank you.

Cool. Please try that and let us know if you have any other questions.

Closing the issue. @J-Hardyy please feel free to re-activate if you have more questions. Thanks!


Expose parameter for tuning EBS throughput

Is your feature request related to a problem? Please describe.
gp3 EBS volumes have a throughput parameter that can be configured. Currently this is not exposed in the elastic stack
When this is not set, it uses a default thruput 125MB/s which may not be sufficient for some heavy workloads.
Describe the solution you'd like
Add a new throughput parameter that is configurable when using gp3 EBS

This is a good idea. We'll add it it our backlog, and when progress is made, i'll update here :)

any update on this? we'd like to have some more option to tune that up.
also i believe this is not at all a difficult update -- probably a few of lines of changes in the CF stack template.
simply we don't want to fork the template, resulting in a drifted version of it.


Source / line number processing & view

When debugging information is available, show source code or line numbers appropriately. Need to determine how these are stored for supported compilers (CodeWarrior, IDO, GCC).

Implemented in bea0a0007dfe7791d095ceba6abc430d825c69de


Fishing not working

While the bot is working fine and grinding pokemon, i can't fix the fact that fishing is not working. This is the error i receive:
ERROR    discord.client Ignoring exception in on_ready
Traceback (most recent call last):
  File "/usr/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
    return fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/discord/interactions.py", line 210, in _wrapped_interaction
    i = await state.client.wait_for(
  File "/usr/lib/python3.10/asyncio/tasks.py", line 458, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/discord/client.py", line 637, in _run_event
    await coro(*args, **kwargs)
  File "/content/PokeGrinder/cogs/startup.py", line 71, in on_ready
    await self.bot.fishing_channel_commands["fish spawn"]()
  File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 784, in __call__
    return await super().__call__(options, files, attachments, channel)
  File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 269, in __call__
    return await super().__call__(data, files, channel)
  File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 140, in __call__
    return await _wrapped_interaction(
  File "/usr/local/lib/python3.10/dist-packages/discord/interactions.py", line 216, in _wrapped_interaction
    raise InvalidData('Did not receive a response from Discord') from exc
discord.errors.InvalidData: Did not receive a response from Discord

This is my config:
{
  "CaptchaRetries": 3,
  "ClearConsole": true,
  "CaptchaSolver": true,
  "SuspicionAvoidance": 250,
  "Cooldowns": {
    "RetryCooldown": 1,
    "HuntingCooldown": 10.4,
    "FishingCooldown": 25.4
  },
  "Discord Token": {
    "HuntingChannel": Channel 1,
    "FishingChannel": Channel 2,
    "ExceptionBalls": {
      "Crystal Onix": "mb"
    },
    "Balls": {
      "Common": "pb",
      "Uncommon": "pb",
      "Rare": "gb",
      "Super Rare": "ub",
      "Legendary": "mb",
      "Shiny": "mb",
      "Shiny Event": "mb",
      "Shiny Full-odds": "prb"
    },
    "FishBalls": {
      "Common": "pb",
      "Uncommon": "gb",
      "Rare": "ub",
      "Super Rare": "ub",
      "Legendary": "db",
      "Shiny": "mb",
      "Golden": "mb"
    },
    "AutoBuy": {
      "pb": 5,
      "gb": 5,
      "ub": 1,
      "mb": 0
    },
    "AutoReleaseDuplicates": 100
  },
  "": {
    "HuntingChannel": 0,
    "FishingChannel": 0,
    "ExceptionBalls": {
      "Crystal Onix": "mb"
    },
    "Balls": {
      "Common": "pb",
      "Uncommon": "pb",
      "Rare": "gb",
      "Super Rare": "ub",
      "Legendary": "mb",
      "Shiny": "mb",
      "Shiny Event": "mb",
      "Shiny Full-odds": "prb"
    },
    "FishBalls": {
      "Common": "pb",
      "Uncommon": "gb",
      "Rare": "ub",
      "Super Rare": "ub",
      "Legendary": "db",
      "Shiny": "mb",
      "Golden": "mb"
    },
    "AutoBuy": {
      "pb": 50,
      "gb": 25,
      "ub": 5,
      "mb": 1
    },
    "AutoReleaseDuplicates": 100
  }
}

Bot is working, only fishing isn't working.

While the bot is working fine and grinding pokemon, i can't fix the fact that fishing is not working. This is the error i receive:
ERROR    discord.client Ignoring exception in on_ready
Traceback (most recent call last):
  File "/usr/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
    return fut.result()
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/discord/interactions.py", line 210, in _wrapped_interaction
    i = await state.client.wait_for(
  File "/usr/lib/python3.10/asyncio/tasks.py", line 458, in wait_for
    raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/discord/client.py", line 637, in _run_event
    await coro(*args, **kwargs)
  File "/content/PokeGrinder/cogs/startup.py", line 71, in on_ready
    await self.bot.fishing_channel_commands["fish spawn"]()
  File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 784, in __call__
    return await super().__call__(options, files, attachments, channel)
  File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 269, in __call__
    return await super().__call__(data, files, channel)
  File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 140, in __call__
    return await _wrapped_interaction(
  File "/usr/local/lib/python3.10/dist-packages/discord/interactions.py", line 216, in _wrapped_interaction
    raise InvalidData('Did not receive a response from Discord') from exc
discord.errors.InvalidData: Did not receive a response from Discord

This is my config:
{
  "CaptchaRetries": 3,
  "ClearConsole": true,
  "CaptchaSolver": true,
  "SuspicionAvoidance": 250,
  "Cooldowns": {
    "RetryCooldown": 1,
    "HuntingCooldown": 10.4,
    "FishingCooldown": 25.4
  },
  "Discord Token": {
    "HuntingChannel": Channel 1,
    "FishingChannel": Channel 2,
    "ExceptionBalls": {
      "Crystal Onix": "mb"
    },
    "Balls": {
      "Common": "pb",
      "Uncommon": "pb",
      "Rare": "gb",
      "Super Rare": "ub",
      "Legendary": "mb",
      "Shiny": "mb",
      "Shiny Event": "mb",
      "Shiny Full-odds": "prb"
    },
    "FishBalls": {
      "Common": "pb",
      "Uncommon": "gb",
      "Rare": "ub",
      "Super Rare": "ub",
      "Legendary": "db",
      "Shiny": "mb",
      "Golden": "mb"
    },
    "AutoBuy": {
      "pb": 5,
      "gb": 5,
      "ub": 1,
      "mb": 0
    },
    "AutoReleaseDuplicates": 100
  },
  "": {
    "HuntingChannel": 0,
    "FishingChannel": 0,
    "ExceptionBalls": {
      "Crystal Onix": "mb"
    },
    "Balls": {
      "Common": "pb",
      "Uncommon": "pb",
      "Rare": "gb",
      "Super Rare": "ub",
      "Legendary": "mb",
      "Shiny": "mb",
      "Shiny Event": "mb",
      "Shiny Full-odds": "prb"
    },
    "FishBalls": {
      "Common": "pb",
      "Uncommon": "gb",
      "Rare": "ub",
      "Super Rare": "ub",
      "Legendary": "db",
      "Shiny": "mb",
      "Golden": "mb"
    },
    "AutoBuy": {
      "pb": 50,
      "gb": 25,
      "ub": 5,
      "mb": 1
    },
    "AutoReleaseDuplicates": 100
  }
}

Bot is working, only fishing isn't working.

How frequent is this? Does this error appear everytime you start the bot?

Completely random, i can't reproduce it.
Il giorno ven 26 apr 2024 alle 11:36 Mehul Khanna @.***>
ha scritto:

While the bot is working fine and grinding pokemon, i can't fix the fact
that fishing is not working. This is the error i receive:
ERROR    discord.client Ignoring exception in on_ready
Traceback (most recent call last):
File "/usr/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
return fut.result()
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/discord/interactions.py", line 210, in _wrapped_interaction
i = await state.client.wait_for(
File "/usr/lib/python3.10/asyncio/tasks.py", line 458, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/discord/client.py", line 637, in _run_event
await coro(*args, **kwargs)
File "/content/PokeGrinder/cogs/startup.py", line 71, in on_ready
await self.bot.fishing_channel_commands"fish spawn"
File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 784, in call
return await super().call(options, files, attachments, channel)
File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 269, in call
return await super().call(data, files, channel)
File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 140, in call
return await _wrapped_interaction(
File "/usr/local/lib/python3.10/dist-packages/discord/interactions.py", line 216, in _wrapped_interaction
raise InvalidData('Did not receive a response from Discord') from exc
discord.errors.InvalidData: Did not receive a response from Discord
This is my config:
{
"CaptchaRetries": 3,
"ClearConsole": true,
"CaptchaSolver": true,
"SuspicionAvoidance": 250,
"Cooldowns": {
"RetryCooldown": 1,
"HuntingCooldown": 10.4,
"FishingCooldown": 25.4
},
"Discord Token": {
"HuntingChannel": Channel 1,
"FishingChannel": Channel 2,
"ExceptionBalls": {
"Crystal Onix": "mb"
},
"Balls": {
"Common": "pb",
"Uncommon": "pb",
"Rare": "gb",
"Super Rare": "ub",
"Legendary": "mb",
"Shiny": "mb",
"Shiny Event": "mb",
"Shiny Full-odds": "prb"
},
"FishBalls": {
"Common": "pb",
"Uncommon": "gb",
"Rare": "ub",
"Super Rare": "ub",
"Legendary": "db",
"Shiny": "mb",
"Golden": "mb"
},
"AutoBuy": {
"pb": 5,
"gb": 5,
"ub": 1,
"mb": 0
},
"AutoReleaseDuplicates": 100
},
"": {
"HuntingChannel": 0,
"FishingChannel": 0,
"ExceptionBalls": {
"Crystal Onix": "mb"
},
"Balls": {
"Common": "pb",
"Uncommon": "pb",
"Rare": "gb",
"Super Rare": "ub",
"Legendary": "mb",
"Shiny": "mb",
"Shiny Event": "mb",
"Shiny Full-odds": "prb"
},
"FishBalls": {
"Common": "pb",
"Uncommon": "gb",
"Rare": "ub",
"Super Rare": "ub",
"Legendary": "db",
"Shiny": "mb",
"Golden": "mb"
},
"AutoBuy": {
"pb": 50,
"gb": 25,
"ub": 5,
"mb": 1
},
"AutoReleaseDuplicates": 100
}
}
Bot is working, only fishing isn't working.
How frequent is this? Does this error appear everytime you start the bot?
—
Reply to this email directly, view it on GitHub
https://github.com/MehulKhanna/PokeGrinder/issues/69#issuecomment-2079012792,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE4RWZBFJRPARGATS4THF6DY7IN2BAVCNFSM6AAAAABG2NDO6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZZGAYTENZZGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Completely random, i can't reproduce it. Il giorno ven 26 apr 2024 alle 11:36 Mehul Khanna @.***> ha scritto:
…
While the bot is working fine and grinding pokemon, i can't fix the fact that fishing is not working. This is the error i receive: ERROR discord.client Ignoring exception in on_ready Traceback (most recent call last): File "/usr/lib/python3.10/asyncio/tasks.py", line 456, in wait_for return fut.result() asyncio.exceptions.CancelledError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/discord/interactions.py", line 210, in _wrapped_interaction i = await state.client.wait_for( File "/usr/lib/python3.10/asyncio/tasks.py", line 458, in wait_for raise exceptions.TimeoutError() from exc asyncio.exceptions.TimeoutError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/discord/client.py", line 637, in _run_event await coro(args, kwargs) File "/content/PokeGrinder/cogs/startup.py", line 71, in on_ready await self.bot.fishing_channel_commands"fish spawn" File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 784, in call return await super().call(options, files, attachments, channel) File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 269, in call return await super().call(data, files, channel) File "/usr/local/lib/python3.10/dist-packages/discord/commands.py", line 140, in call return await _wrapped_interaction( File "/usr/local/lib/python3.10/dist-packages/discord/interactions.py", line 216, in _wrapped_interaction raise InvalidData('Did not receive a response from Discord') from exc discord.errors.InvalidData: Did not receive a response from Discord This is my config: { "CaptchaRetries": 3, "ClearConsole": true, "CaptchaSolver": true, "SuspicionAvoidance": 250, "Cooldowns": { "RetryCooldown": 1, "HuntingCooldown": 10.4, "FishingCooldown": 25.4 }, "Discord Token": { "HuntingChannel": Channel 1, "FishingChannel": Channel 2, "ExceptionBalls": { "Crystal Onix": "mb" }, "Balls": { "Common": "pb", "Uncommon": "pb", "Rare": "gb", "Super Rare": "ub", "Legendary": "mb", "Shiny": "mb", "Shiny Event": "mb", "Shiny Full-odds": "prb" }, "FishBalls": { "Common": "pb", "Uncommon": "gb", "Rare": "ub", "Super Rare": "ub", "Legendary": "db", "Shiny": "mb", "Golden": "mb" }, "AutoBuy": { "pb": 5, "gb": 5, "ub": 1, "mb": 0 }, "AutoReleaseDuplicates": 100 }, "": { "HuntingChannel": 0, "FishingChannel": 0, "ExceptionBalls": { "Crystal Onix": "mb" }, "Balls": { "Common": "pb", "Uncommon": "pb", "Rare": "gb", "Super Rare": "ub", "Legendary": "mb", "Shiny": "mb", "Shiny Event": "mb", "Shiny Full-odds": "prb" }, "FishBalls": { "Common": "pb", "Uncommon": "gb", "Rare": "ub", "Super Rare": "ub", "Legendary": "db", "Shiny": "mb", "Golden": "mb" }, "AutoBuy": { "pb": 50, "gb": 25, "ub": 5, "mb": 1 }, "AutoReleaseDuplicates": 100 } } Bot is working, only fishing isn't working. How frequent is this? Does this error appear everytime you start the bot? — Reply to this email directly, view it on GitHub <#69 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE4RWZBFJRPARGATS4THF6DY7IN2BAVCNFSM6AAAAABG2NDO6WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZZGAYTENZZGI . You are receiving this because you authored the thread.Message ID: @.>

If it isn't too frequent then it is an issue from discord. Discord sometimes doesn't send a response after clicking a discord button. This shouldn't be that much of a problem as the bot is made to resume grinding when this happens.


fix small error in the location of the ~/.anypoint directory

@valkyrie69 Mariano is one of the devs on the Exchange team and noticed this bug in the Runtime Manager docs. The fix looks good to me. If it looks good to you, please approve and merge. Thank you!


PSM Interop: Local dev various improvements

PSM Interop: Local dev various improvements

Cleanup resources on ctrl+c
Add startup probes to address the issue with port forwarding starting before the workload listens on a port
Remove misleading restartPolicy: it's silently ignored by k8s
Extra debug message with port-forwarding command

grpc/core/v1.52.x/branch/linux/grpc_xds_k8s_lb
grpc/core/v1.52.x/branch/linux/psm-security
grpc/core/v1.52.x/branch/linux/grpc_xds_url_map


Use Guava Compatible immediate executor service

As a follow on to https://github.com/apache/incubator-druid/pull/5413 this PR copies the DirectExecutorService implementation from more recent Guava versions (18 and later).
I think this is the last change to make the druid code base work for a HUGE swath of Guava versions.

For future folks: https://github.com/apache/incubator-druid/pull/6948 adds more compat up to 27.0.1


Support Azure SQL Server Vulnerability Assessment Baselines

Is your feature request related to a problem? Please describe.
After creating an Azure SQL Server and Databases using the Azure CLI, with Vulnerability Assessment enabled, Azure's Security Centre flagged up that no vulnerability assessment baselines had been created (as it's meant to).
I set about trying to create these baselines with Azure CLI, since we use it for all other IaC tasks - but Azure CLI doesn't appear to support anything like Powershell's Set-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline - so I had to hack something together with Azure Powershell instead.
Describe the solution you'd like
I'd like Azure CLI to have capabilities to work with SQL Server Vulnerability Assessment Baselines. In particular, I'd like to be able to do the same things as these Azure Powershell cmdlets:
Clear-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline
Get-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline
Set-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline

Clear-AzSqlInstanceDatabaseVulnerabilityAssessmentRuleBaseline
Get-AzSqlInstanceDatabaseVulnerabilityAssessmentRuleBaseline
Set-AzSqlInstanceDatabaseVulnerabilityAssessmentRuleBaseline

Describe alternatives you've considered

Using Azure Powershell instead
using ARM templates instead (would have been horrible though, considering all the dynamic variables I'd need to stuff into them)

Additional context
None

SQL

+1 on this
just came across the same, got bash az cli scripts for all my other deployment scripts but now I need to use PowerShell instead for this one task

I would love to have this as well.
Especially for stuff like adding all the ips in a service tag to a firewall rule and adding them to the security baseline at the same time


2.5.2

Updated and removed dependencies. This closes #62

Removed googletranslator and replaced with deep-translator
Removed PyGithub and bs4 since they are only used in CI
Updated CI to install these requirements on when generating attack data

Thank you @MSAdministrator


⚠ Bofrost.be has degraded performance

In 19778fa, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 907 ms

Resolved: Bofrost.be performance has improved in 514ae06 after 9 minutes.


Configuration

Hey,
I cloned your code and pointed everything on it, works out of the box. Also used the config.js and interface_config.js.
When I create a breakoutroom, it sends the other client in the exact same room. Why is this happening? Did I configure anything wrong?
Thanks in advance.

breakout rooms is broken. use standalone jitsi-meet


Reinstate GeckoFX for non-mono

The mono library basically has an internal switch
if windows then IE else mono browser
I have changed this to a compiler directive of the form:
#if !mono then geckoFX #else mono browser
I shan't go into the reasoning behind this decision here.
I'm not aware of the problems that led to GeckoFX being removed: presumably the main (only?) one was getting it to work on Linux. I have not made code changes to the mono case and am in the process of setting up my environment for testing, If this is a priority fix an existing mono environment would be a quicker option.

On Windows: Builds and runs correctly.
On Linux: Builds correctly but does not run. Always throws a NullReferenceException for Navigate. Wasn't working before and still isn't working. The ReadyState of the browser always remains "Uninitialised".

Thanks @jameschch -
Before Gecko wasn't used as it never worked in linux and barely worked on Windows (because its BaseClass reference dependency wasn't completed yet).
I propose we merge this in even though not perfect its slightly better than current and fixes issue #465

Nice PR @jameschch, all merged in!


Provide a flag parameter to allow limiting spyable availability

See https://github.com/Matejkob/swift-spyable/issues/41 for conversation leading up to this PR

@Matejkob
From your suggestion here, I covered

Updating the README
Providing detailed documentation, with an example of a custom-defined flag as well as the DEBUG one

I'm happy to do it, but I'm not sure what you meant about refreshing the examples package, as it seems empty anyways to me right now. I'm not too familiar with DocC, in case you could give some direction here.

From your suggestion here, I covered

Updating the README
Providing detailed documentation, with an example of a custom-defined flag as well as the DEBUG one

I'm happy to do it, but I'm not sure what you meant about refreshing the examples package, as it seems empty anyways to me right now. I'm not too familiar with DocC, in case you could give some direction here.

Regarding the Examples package, I was referring to the one located at https://github.com/Matejkob/swift-spyable/tree/main/Examples. This is a separate Swift Package that contains practical examples demonstrating how to use the macro in real-world projects.
It would be great if you could refresh this Examples package by ensuring that it's up-to-date and accurately reflects the current capabilities and usage of our macro.

Unfortunately due to the limitation of not being able to define preprocessor flags on packages, I don't really think there's an effective way to demo this without a full-fledged .xcodeproj. Not sure if it's worth the trouble to restructure the example just for this, when it's also documented, but let me know what you think. This also raises another limitation of this flag - it can't be used within packages.


Setting the Cursor Blinking to solid changes the Cursor Style setting and changing the Cursor Style setting to block changes the Cursor Blinking setting.

Issue Type: Bug

Set the Cursor Blinking to solid
Set the Cursor Style to block
Cursor Blinking changes the setting that was selected.
Go to Cursor Blinking and set it back to solid
Cusor Style changes the value that was selected.

VS Code version: Code 1.32.3 (a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4, 2019-03-14T23:43:35.476Z)
OS version: Windows_NT x64 10.0.16299

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (4 x 2496)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.92GB (9.07GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

debugger-for-chrome
msj
4.11.3

java
red
0.42.1

LiveServer
rit
5.5.1

vscode-java-debug
vsc
0.17.0

@carlod I am sorry I don't fully understand the issue. I have configured the following settings:
    "editor.cursorBlinking": "solid",
    "editor.cursorStyle": "block",

This looks like this and appears to work fine AFAICT:

Can you please explain in greater detail what is the issue?

Hi, the issue isn't with setting the Cursor Blinking and Cursor Style manually via the editing the settings,json file - it's setting them via the File ->Preferences ->Settings ->Text Editor-> Cursor menu. I've attached a video of the bug in action:
VS Code Bug Solid Block Cursor.zip

This should be fixed in 1.33


Compiled slug size: 578.1M is too large (max is 500M).

I have been trying to install my python dependencies and it's accumulating to a size of 578 MB, not letting me push my files.
My requirements.txt has the following libraries:
opencv-python
numpy
pandas
glob3
requests
scipy
dj-database-url==0.5.0
dj-static==0.0.6
Django==3.0.6
django-debug-toolbar==2.0
django-heroku==0.3.1
djangorestframework==3.11.0
tensorflow==2.1.0
keras==2.3.1
gunicorn
whitenoise
=============================
Any suggestion would be greatly appreciated

Suspenders is a Ruby on Rails project, so I am not the best person to answer a Python-specific question. Perhaps try posting a question on Stack Overflow?


Music file manager bug

I make update today , if i try upload more then 10 music files at one time. Files not show and always loading.I go with sftp on my server & i see files uploaded hmm.

update
file manager broken if files have russian or other charset name.If i upload song with russian laters file manager dont show files.
if i upload song like that.
Dj Bambam - Дыхание одно на двоих (remix).mp3
file manager dont show any files.

Can you e-mail me that file so I can test with it locally?

ok

Thank you for the demo file! It turns out filenames with UTF-8 encoding that were longer than the threshold which would normally add "..." to shorten the file name caused an error, as PHP's native substr doesn't handle multibyte strings correctly. Switching to mb_substr works fine. :)


feat: [M3-8069] - scrollErrorIntoViewV2 - POC

Description 📝
This utility is the version 2 of the scrollErrorIntoView utility (formik forms).
It uses a MutationObserver to solve the issue of the form not always being fully rendered when the scrollErrorIntoView function is called, resulting in the error not being scrolled into view. ex: https://github.com/linode/manager/pull/10429/files.
We are likely to live with formik forms and class components for some more time, so the util is meant to be versatile for both class and functional components, therefore avoiding hooks. The migration from the v1 to the v2 util is pretty straight forward, the only argument being the form container ref via:

React.createRef() (class components)
React.useRef() (functional components)

A MutationObserver is not generally expensive in terms of computing. It is designed to be a low-level, primitive API that has minimal impact on performance. Here the MutationObserver is configured to observe a single form element and its subtree for changes to attributes and the child list. The observer also disconnects as soon as it finds an error, further limiting its potential impact on performance and/or memory leaks.
ℹ  The previous iteration of scrollErrorIntoView  provided optional ScrollIntoViewOptions arguments to customize default scroll behavior, but I found out those are never used so they were intentionally left out of the v2 util.
Changes  🔄
List any change relevant to the reviewer.

Build new scrollErrorIntoViewV2 component
Implement in issue prone https://github.com/linode/manager/pull/10429 (for example)
Mark legacy scrollErrorIntoView as deprecated

Preview 📷

How to test 🧪
Class Component
ℹ Where user is a secondary, limited scope user
Reproduction steps

Navigate to http://localhost:3000/account/users/{user}/permissions
Block /grants API requests
Scroll to very bottom of the form and click "Save"
Notice no scroll to error happens

Verification steps

Navigate to http://localhost:3000/account/users/{user}/permissions
Block /grants API requests
Scroll to very bottom of the form and click "Save"
Confirm being scrolled to error

Functional Component
Reproduction steps

Navigate to http://localhost:3000/linodes/54671103/configurations
Click on "Add Configuration"
Scroll to bottom of form and click "Add Configuration"
Notice no scroll to error happens

Verification steps

Navigate to http://localhost:3000/linodes/54671103/configurations
Click on "Add Configuration"
Scroll to bottom of form and click "Add Configuration"
Confirm being scrolled to error

As an Author I have considered 🤔
Check all that apply

[ ] 👀 Doing a self review
[ ] ❔ Our contribution guidelines
[x] 🤏 Splitting feature into small PRs
[x] ➕ Adding a changeset
[x] 🧪 Providing/Improving test coverage
[ ] 🔐 Removing all sensitive information from the code and PR description
[ ] 🚩 Using a feature flag to protect the release
[x] 👣 Providing comprehensive reproduction steps
[x] 📑 Providing or updating our documentation
[ ] 🕛 Scheduling a pair reviewing session
[ ] 📱 Providing mobile support
[ ] ♿  Providing accessibility support

@mjac0bs Great points - let me address two things as part of this PR

a class component implementation/fix
documentation

@mjac0bs all set and PR description updated ✨

the user permissions success is a toast but the error is a notice. Thoughts on making the error a toast?

I see what you mean but think this would be out of scope here and a better thing to consider when looking at refactor of UserPermissions overall, including the UX, which we talked a little bit about last week. (We do have a placeholder epic [M3-7591] for the class to function component refactor, just still TODO.)  Also: if it's an error toast, I'd encourage us to make it persistent. And persistent toasts have potential issues at the moment since the cancel button is unreliable.

Confirmed the test failure was a flake! merging to get ready to implement more of the v2 util in small testable PRs