Help Request

Hey,
I'm currently in the process of switching over from Unreal Engine 5's Octree implementation to this one (specifically OrthoTree::OctreeBox).
I'm having a few small issues, and I was hoping I could get some help.
The one major issue I'm running into is that Unreal Engine's implementation has a function:
void FindElementsWithBoundsTest(const FBoxCenterAndExtent& BoxBounds, const IterateBoundsFunc& Func)
What it does is return all elements that are within the BoxBounds.
The closest that I've been able to find is RangeSearch, but RangeSearch has a requirement for a span<box_type const> const& vBox to be passed in. Maybe I'm misunderstanding something though.

I spent some more time working on trying to figure this out, and I made a bit of progress.
It looks like instead of OctreeBox I want to use OctreeBoxC.
I'm having some issues getting it working though.
What I am doing is, I iterate over my lights and call this code:
bool success = LightingOctree.Add(OrthoTree::BoundingBox3D{{MinPoint.X,MinPoint.Y,MinPoint.Z}, {MaxPoint.X,MaxPoint.Y,MaxPoint.Z}}, true);
Afaik this should be working, but it is always returning false. My first guess as to why it is always returning false would be that I need to call create() before I can add to the octree, but maybe it is something else?
Then when I want to find elements in my boxbounds, I can call:
LightingOctree.RangeSearch(OrthoTree::BoundingBox3D{ 			{MinPoint.X, MinPoint.Y, MinPoint.Z}, {MaxPoint.X, MaxPoint.Y, MaxPoint.Z}});
And this should work fine?

Hi,
The Add function will fail if your box is not in the handled space of the octree. Is the tree bounding box  set properly (or in debug, m_box member shows proper values)?
If you have already all lights when the octree is created, much more effective to use the Constructor or the Create. These functions set up everything that you need and use a much faster algorithm.
OctreeBoxC is a good choice. OctreeBox is a not containing solution, therefore you need to add all box information of the entities at all searches.

Hey, thanks for the quick response!
I suspect that the issue is that the tree bounding box is not set properly, but I'm not sure how to do that. In debug m_box doesn't show proper values.
I don't have all lights when the octree is created, so I don't think using the constructor or create helps me there.

I ended up getting it somewhat working, although it is in a very janky & suboptimal setup.
Instead of trying to add to the octree whenever a light is spawned, I am currently clearing the entire octree and calling create using the entire list of lights.
This works, but it is not ideal.
When I go back to trying to use Add it doesn't work. Based on this information it does sound right that add is failing because the tree's bounding box is not being set properly.

First of all, I found a bug! Thank you for the feedback, this part of the implementation is undertested. I pushed up the bugfix.
I made a little unittest case, which is also a guide what is the intended usage.  It could be suboptimal, but the previously focused use-cases came from my own field of expertise (scientific calculation). But I am open to any suggestion to make this tool better.
    TEST_METHOD(InitThenInsert)
    {
      auto tree = DualtreeBoxC{};
      autoc handledSpaceDomain = BoundingBox1D{ -2, +2 };
      tree.Init(handledSpaceDomain, 3, 10);

      // Trying to add into the lead nodes
      {
        autoc boxes = array
        {
          BoundingBox1D{ -2.0, -1.0 },    // Fit in the leaf node
          BoundingBox1D{ -1.0,  0.0 },    // Fit in the leaf node
          BoundingBox1D{  0.0,  1.0 },    // Fit in the leaf node
          BoundingBox1D{  1.0,  2.0 },    // Fit in the leaf node
          BoundingBox1D{ -1.5,  1.5 }     // Only fit in a parent node
        };

        for (auto const& box : boxes)
        {
          autoc isInsertedSuccessfully = tree.Add(box, true /* Insert into leaf */);
          Assert::IsTrue(isInsertedSuccessfully);
        }
      }

      // Adding nodes in the current structure
      {
        autoc boxes = array
        {
          BoundingBox1D{ -1.5, -1.2 },    // Fit in the leaf node
          BoundingBox1D{ -1.2,  0.2 },    // Not fit in the leaf node
          BoundingBox1D{  0.0,  1.0 },    // Fit in the leaf node
          BoundingBox1D{ -1.1,  1.2 }     // Only fit in the root
        };

        for (auto const& box : boxes)
        {
          autoc isInsertedSuccessfully = tree.Add(box, false /* Insert into the previously defined nodes */);
          Assert::IsTrue(isInsertedSuccessfully);
        }
      }

      // Outside of the handled domain
      {
        autoc boxIsNotInTheHandledSpace = BoundingBox1D{ 1, 3 }; // Min point inside, max point outside
        autoc isInsertedSuccessfully = tree.Add(boxIsNotInTheHandledSpace);
        Assert::IsFalse(isInsertedSuccessfully);
      }

      autoc& nodes = tree.GetCore().GetNodes();
      Assert::AreEqual<size_t>(7, nodes.size());

      autoc idsActual = tree.RangeSearch<false /*overlap instead of fully contained*/>(BoundingBox1D{ -1.1, 0.9 });
      autoc idsExpected = vector<size_t>{ /* 1. phase */ 0, 1, 2, 4, /* 2. phase */ 6, 7, 8 };
      Assert::IsTrue(std::ranges::is_permutation(idsActual, idsExpected));
    }

And there are two other things that you should know:

Be aware of nSplitStrategyAdditionalDepth, in Issue #3, it is already explained what is it, and how it works. Maybe you can use the nSplitStrategyAdditionalDepth = 0, which can be set in your own definition but the simplest way to adjust here:

  template<dim_type N, uint32_t nSplitStrategyAdditionalDepth = 2>
  using TreeBoxContainerND = OrthoTreeContainerBox<TreeBoxND<N, nSplitStrategyAdditionalDepth>, BoundingBoxND<N>>;

This implementation cannot be dynamically extended yet, because there won't be a use-case before.

I think that I have found another bug (although it might be intentional):
If you try to remove an element that doesn't exist in the octree, it will crash, for example:
LightingOctree.Reset();
LightingOctree.Init(OrthoTree::BoundingBox3D{{-9999,-9999,-9999}, {9999,9999,9999}}, 10, 4);
LightingOctree.Erase(0);

On one hand, I can understand the argument that trying to remove something that doesn't exist should enter some sort of failure state, but on the other hand it still would be nice if this didn't crash.
But yeah, at the moment I'm having some challenges managing the lifecycle of the object that holds my octree. It's a bit of a challenging situation that will take a bit of troubleshooting. Because I am not managing the lifecycle of the object correctly, some amount of state isn't being reset, which means that when I reload my world (which involves destroying and then constructing a new world), the event for lights being destroyed in the previous world is being called after the construction of the new world, which is attempting to remove lights that don't exist.
Again to reiterate, this is definitely an issue with my code, however I think that this issue with my code has helped to find a potential issue in the octree implementation. Especially since it looks like Erase is intended to be safe.
Relevant part of the crash report:
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000000

UnrealEditor_AdvancedLighting!OrthoTree::OrthoTreeBoundingBox<3,std::array<double,3>,OrthoTree::BoundingBoxND<3,double>,OrthoTree::AdaptorGeneralBase<3,std::array<double,3>,OrthoTree::BoundingBoxND<3,double>,OrthoTree::AdaptorGeneralBasics<3,std::array<doubl() [U:\Unreal Projects\AdvancedLights-master\Plugins\AdvancedLighting\Source\AdvancedLighting\Public\Octree\octree.h:2100]
UnrealEditor_AdvancedLighting!OrthoTree::OrthoTreeContainerBase<OrthoTree::OrthoTreeBoundingBox<3,std::array<double,3>,OrthoTree::BoundingBoxND<3,double>,OrthoTree::AdaptorGeneralBase<3,std::array<double,3>,OrthoTree::BoundingBoxND<3,double>,OrthoTree::Adapt() [U:\Unreal Projects\AdvancedLights-master\Plugins\AdvancedLighting\Source\AdvancedLighting\Public\Octree\octree_container.h:106]

Thank you, I fixed it too.
If you have a totally new world, with new entities, it may be worth recreating the whole tree. Generally speaking, in any case, if possible, use the constructor()/Create() these are always faster than entity-wise adding the same system.
It is worth revising the settings: Higher element numbers by node, with lower depth could have better performance. Too deep trees could be slowed by the administration step in adding/searching. E.g.: During the search, on every node level, it has to make a box overlap check with all existing child nodes.
The entities who are not fit in the base resolution grid will land in a parent node anyway, maybe as sliced (according to nSplitStrategyAdditionalDepth). I reached the best performance around 10 max. entity elements by nodes in my benchmarks.

Hey, I was hoping to get some feedback if that is okay with you.
I've been making some decent progress refactoring my code and overall things are mostly functional, however I've run into an issue that I hadn't considered. The world in my lighting engine is (somewhat) infinite. This is an issue because lights can be anywhere in the world, and octrees have limited bounds. This is likely not something that you have run into in scientific computing, but I'm interested in your intuition on the task.
I spent some time researching how this is normally handled, and there are two main ways of handling this:

World Origin Shifting: Shift the coordinates of all objects relative to the player, such that objects near the player end up being within the bounds of the octree, and objects far away from the player end up not being in the bounds of the octree. This means that the octree is frequently being invalidated, but with some planning it is possible to shift already existing nodes (and only recalculate part of the tree). I am not a huge fan of this approach though.

Split the world into a sparse grid of chunks (e.g. 1000m1000m1000m cubes). Each chunk contains an octree (with so many octrees we will likely want to lower the depth of each individual octree). The octrees in each chunk are only allocated / created when an object is spawned within that grid. There is also minimal re-processing of objects. My only concern would be objects that straddle the border of multiple chunks, but I'm sure that some sort of workaround exists.

I am currently leaning towards option 2.
Thanks a lot for the continued support!

Hi!
It's a tough question, and I have no in-depth experience. Maybe you should check/ask on a game development forum.
So what I could say, that is very general. You have to think over the following questions:
How many entities must be handled? How many search or collision detection happens? How dense is the handled space? What is the size of the objects (they could be stuck on a parent node)?
Maybe you should not bother with Octree at all. From what I read on this topic, the overall effectiveness by No. of elements follows this order: Grid < k-D tree < BVH < Loose octree < Octree. If you have

less than 100 objects maybe you don't need anything,
less than 1000, an octree is usually slower than the other hierarchies.

But what I learned from a SimonDev video (Spatial Hash Grids & Tales from Game Development), a simple sparse grid for the objects could work fine in a lot of cases. Easy to implement and easy to solve adding new elements to a not previously handled space. (To be honest, for a few days, I've been thinking about implementing this as an alternative Core using the same Container wrapper.)
But, if I would have to choose from your options:

Noway. The whole regeneration would be faster, than this.
It could work. As I measured on a usual PC, If you have less than 500 objects on the new field, the Create() could fit in one frame (if the goal is 60fps). Maybe you could use QuadtreeBoxC and check everything in the top-plane view. If your objects have the same size, you could handle them as a point with the OctreePointC/QuadtreePointC, and the RangeSearch should be used with the size extended range.

I hope I could help.

Hey,
Thanks a lot for all the help! The video you linked really helped to point me in the right direction. It was easy to implement the sparse grid, and I was quickly able to get results that I was happy with. I think that in the end octrees weren't super well suited to my task, but it was a good learning experience for me.
I'm going to close up this issue. It was a nice experience using your library, and thanks for the support.
Cheers


Delete enable disable messages

A warmup set of commits.
These allow a front-end like realgud to track what's going on easier.

Hi @rocky, thanks for your patches and sorry for taking so long to get here. They are now first in the queue, I hope to review soon.
For now I added a comment. The tests don't all pass in ruby 2.2.3, that's expected. Please upgrade your ruby to 2.2.5 and remove that commit.

Would you please make the appropriate change?
On Thu, Sep 29, 2016 at 6:47 PM, David Rodríguez<EMAIL_ADDRESS>wrote:

@deivid-rodriguez requested changes on this pull request.
In test/commands/next_test.rb
https://github.com/deivid-rodriguez/byebug/pull/281#pullrequestreview-2245228
:

@@ -121,6 +121,7 @@ def program
end

 def test_next_works_as_expected_with_define_method

 skip('Next is 12 not 20 on Ruby 2.2.3') if RUBY_VERSION == '2.2.3'

Please remove this commit and upgrade your ruby instead.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/deivid-rodriguez/byebug/pull/281#pullrequestreview-2245228,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAikyypEoQwItXCxLGAZ5wA63CcnCoXks5qvEAJgaJpZM4JFca2
.

You mean you are not up for addressing any feedback?

I won't be able to get to this for a while.

Ok!

Closing in favor of #291


enhancement Abort compaction tasks when correspoding tablet states have been changed

Proposed changes

Change the standard for cumu compaction capability. Tablets under state running or not ready are capable to do cumulative compaction.
Abort a compaction task at the beginning when the tablet is no more capable to do compaction.

run buildall

run buildall


change drone ci to rebuild arm based iso and cluster repo objects

IMPORTANT: Please do not create a Pull Request without creating an issue first.
Problem:

Solution:

Related Issue:
Test plan:

backport for: https://github.com/harvester/harvester/pull/5281


Pages needed at the end of a user journey

In some instances when a user for instance clicking the SMS link they're redirected to a webhook at which point a page on the app needs open.
Verifying a user or joining a game need a UI page to end the journey.

@bernardbaker Agree. Can we reuse and existing page layout design for this and just include a simply success message? Let me know if there are additional requirements.

That's what I planned to do.

SGTM

Done.


Creating a middleware which caches responses

I was checking whether it's possible to create a mappersmith middleware which caches the responses (with some parameters). I couldn't figure out a way to do that without making changes to mappersmith.

Hi, it's totally possible. Alternatively, you can create a gateway based on one of the transports (XHRor HTTP) and add a cache layer there. Assuming that this is for the back-end and using a middleware you could do the following:
const CachedMiddleware = (redis) => () => ({
  prepareRequest(next) {
    return next().then((request) => {
      this.requestObject = request
    })
  },

  async response(next) {
    if (this.requestObject.method() !== 'get') {
      return next()
    }

    const url = this.requestObject.url()
    const cachedEntry = await redis.get(url)
    if (cachedEntry) {
      const { statusCode, responseData, headers } = JSON.parse(cachedEntry)
      return new Response(this.requestObject, statusCode, responseData, headers)
    }

    return next().then((response) => redis
      .set(
        `url:${url}`,
        JSON.stringify({
          statusCode: response.status(),
          responseData: response.responseData,
          headers: response.headers()
        })
      )
      .then(() => response)
    )
  }
})

// receive redis from somewhere
// make sure is connected
const CacheLayer = CachedMiddleware(redis)

const client = forge({
  middleware: [CacheLayer],
  resources: {
    User: {
      all: { path: '/users' },
    }
  }
})

If you want to use the gateway approach you can extend one the existing gateways and override the relevant methods to include the cache layer.


ZA isn't ZF

No clue what's going on here with the matching. I can't see why it thinks this is ZF.

https://github.com/Gogo1951/Groupie/commit/cd39252d1670ac3156073b182bc6dbf5da8a53e6


Modify existing Optimizers to understand TagHelperBlock's

We have a TagHelperParseTreeRewriter that rewrites MarkupBlock's into TagHelperBlock's but our ConditionalAttributeCollapser and WhiteSpaceRewriter do not understand TagHelperBlock's.  We need to change them to handle the TagHelperBlock's correctly.
As an interim fix we'll run the TagHelperParseTreeRewriter after the other optimizers to avoid conflicts.

Closing for now, but will revisit in vNever.


Update link to defaultOptions

Hi @tonygentilcore. Right now all updates should be done only against v4 branch. I already changed base branch of this PR to v4, but I'm not sure if it would work fine. Can you re-do this PR with v4 branch? In v4, defaultOptions are on line 16.

@tonygentilcore sorry, but I'm going to close this PR. I really appreciate your contribution to offline-plugin, this is always great. I just feel that this PR just stuck here. If you don't want to deal with v4 branch or just don't have time for that, you may just open issue pointing to this PR and I'll fix it myself later.
Thank you!


Type safety breaks around Dates and other non standard objects when using server functions

Which project does this relate to?
Start
Describe the bug
Start Server Functions don't respect TanStack Router specified transformers.
See pictures below:
SuperJSON is specified

Function returns a Date, with the proper type

Loader gets the incorrect type (the actual value is just a stringified date)

Your Example Website or App
https://github.com/AlexGaudon/start-date-repro
Steps to Reproduce the Bug or Issue

Clone the repo
Run bun install
Run bun --bun run dev
Navigate to http://localhost:3000 and observe the error

Expected behavior
As a user, I expect server functions to automatically conform to the transformer specified.
Screenshots or Videos
No response
Platform

OS: macOs
Browser: Chrome + FireFox
Version: latest

Additional context
No response

I think a future test suite with various serializers (e.g., Rich-Harris/devalue) would be a good idea.

This should be getting addressed in the server functions PR.

Just for clarity, are you talking about https://github.com/TanStack/router/pull/2513

Added onto the backlog for Start related tasks.


fix(itr): fix iteration and custom query infotip visibility

[ ] What does this PR do?
This PR fixes the infotip on iteration and custom query. While hovering the iteration and custom query header in sidepanel, it should show infotip

[ ] What issue/task does this PR references?

[ ] Are the tests Included?
NA

[ ] @mention(s) to expected reviewer(s) included
@divyanshiGupta @Raunak1203

@SMahil Your image is available in the registry. Run docker pull registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2661 && docker run -it -p 5000:8080 registry.devshift.net/fabric8-ui/fabric8-planner:SNAPSHOT-PR-2661 and visit http://localhost:5000 to access it.

@SMahil please add the Git issue number also


Case Form - "Case Title" not bringing up titles of existing cases, and doesn't populate form if existing one selected

Ideally, any word found anywhere in the title of any case would bring up that case to select in the title field.
I couldn't get the title of an existing case to come up. So I typed the letter T and picked one, but it just turned yellow and didn't populate the form.

Decision to remove search for existing case titles in form. Could deter people from actually entering a case, if they are asked to navigate away from the form to check out a case, or if the form fills with data that they don't want there.
For now, call it "Title of Case" and
explanatory text: Please give this case a descriptive title in 15 words or less. For example, “Brazilian Dialogue on Diversity" or "New York City Public Issues Forum."


ffmpeg dependency required to import ReCaptchaV3

From the README, it appears ffmpeg is only a requirement for solving recaptcha v2, however running from pypasser import ReCaptchaV3 seems to use pydub.utils which expects ffmpeg or avconv.
Is this intentional?
>>> from pypasser import ReCaptchaV3

/usr/local/Caskroom/miniconda/base/envs/thing/lib/python3.8/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
  warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Traceback (most recent call last):
  File "/usr/local/Caskroom/miniconda/base/envs/thing/lib/python3.8/code.py", line 90, in runcode
    exec(code, self.locals)
  File "<input>", line 1, in <module>
ImportError: cannot import name 'ReCaptchaV3' from 'pypasser' (/usr/local/Caskroom/miniconda/base/envs/thing/lib/python3.8/site-packages/pypasser/__init__.py)

Nevermind. I was trying to import ReCaptchaV3 and intended reCaptchaV3.


Not connecting to Discord

For whatever reason the extension is not connecting to Discord anymore, tried looking at extension logs and couldn't find anything.

Downgrading to version 4.5.0 (released 8 months ago) seems to fix it, so it's something with a recent update.

Getting the same issue. Seems like the rpc will just timeout allot. @xhxnna if you go to output then select the rpc dropdown what does your logs say?
Sometimes this timeouts and other times it does not maybe some sort of rate limit or something? Weird how downgrading fixes
[9:01:45 pm - INFO] Reconnecting to Discord Gateway...
[9:01:45 pm - INFO] [003] Destroyed Discord RPC client
[9:01:52 pm - INFO] Reconnecting to Discord Gateway...
[9:01:52 pm - INFO] [003] Destroyed Discord RPC client
[9:01:55 pm - ERROR] Encountered following error while trying to login:
RPC_CONNECTION_TIMEOUT: Connection timed out
[9:01:55 pm - INFO] [002] Destroyed Discord RPC client
[9:01:58 pm - INFO] Reconnecting to Discord Gateway...
[9:01:58 pm - INFO] [003] Destroyed Discord RPC client
[9:02:02 pm - ERROR] Encountered following error while trying to login:
RPC_CONNECTION_TIMEOUT: Connection timed out
[9:02:02 pm - INFO] [002] Destroyed Discord RPC client
[9:02:08 pm - ERROR] Encountered following error while trying to login:
RPC_CONNECTION_TIMEOUT: Connection timed out
[9:02:08 pm - INFO] [002] Destroyed Discord RPC client

Looks to be the same behavior on my end

Weird, timeout is caused by not being able to find the IPC path to connect to,
can you tell me your OS? Discord version (flatpak or snapstore)

Huh, i am starting to get it too, i think it's something with the presence.

very sorry for late response!

I gonna rewrite the controller for the RPC since it's really wonky.

https://github.com/leonardssh/vscord/tree/feat/controller

This seems to be broken when using it within WSL on Windows 11:

[2022-10-20 07:59:06.040] [exthost] [error] Error: ENOENT: no such file or directory, stat '\home\hanna\projects\leaf\src\lang.zig'
    at statSync (node:fs:1538:3)
    at e.statSync (node:electron/js2c/asar_bundle:5:4539)
    at Ha.get fileSize [as fileSize] (c:\Users\Hanna\.vscode\extensions\leonardssh.vscord-4.6.4\dist\extension.js:17:31962)
    at Hc (c:\Users\Hanna\.vscode\extensions\leonardssh.vscord-4.6.4\dist\extension.js:17:29909)
    at Vt (c:\Users\Hanna\.vscode\extensions\leonardssh.vscord-4.6.4\dist\extension.js:17:38801)
    at gl (c:\Users\Hanna\.vscode\extensions\leonardssh.vscord-4.6.4\dist\extension.js:17:36811)
    at Jt.sendActivity (c:\Users\Hanna\.vscode\extensions\leonardssh.vscord-4.6.4\dist\extension.js:18:2637)
    at Jt.enable (c:\Users\Hanna\.vscode\extensions\leonardssh.vscord-4.6.4\dist\extension.js:18:2991)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at c:\Users\Hanna\.vscode\extensions\leonardssh.vscord-4.6.4\dist\extension.js:18:4925
    at n._executeContributedCommand (c:\Users\Hanna\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:90:111316) rpc.reconnect {"value":"LeonardSSH.vscord","_lower":"leonardssh.vscord"

open a brand new issue please, thanks!


chore: shorten spinner duration on buffer open

:tada: This PR is included in version 2.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


docs: Fix Babel plugin syntax highlighting on Usage.md

Description

A JavaScript code block was tagged json instead of js, so GitHub is currently highlighting in red all the parts that violate JSON. This commit changes the language tag (and fixes some spacing), turning this...
[
      'import',
      {
        libraryName: 'react-use',
        camel2DashComponentName: false,
        customName(/** @type {string} */ name) {
          const libraryDirectory = name.startsWith('Use')
            ? 'lib/component'
            : name.startsWith('create')
            ? 'lib/factory'
            : 'lib'
          return `react-use/${libraryDirectory}/${name}`
        }
      },
      'import-react-use'
    ]

...into this:
[
  'import',
  {
    libraryName: 'react-use',
    camel2DashComponentName: false,
    customName(/** @type {string} */ name) {
      const libraryDirectory = name.startsWith('Use')
        ? 'lib/component'
        : name.startsWith('create')
        ? 'lib/factory'
        : 'lib'
      return `react-use/${libraryDirectory}/${name}`
    }
  },
  'import-react-use'
]

I also changed .babelrc to .babelrc.js in the preceding paragraph, since on its own, .babelrc is an alias for .babelrc.json.
Type of change

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

Checklist

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

I promise, this one's a quick win. 😅

I like this!


Rework neighbour influence on height

Two neighbouring mountains among forest still goes to minimum height at the edge

Track edges rather than corners for neighbours
When calculating height base/amp consider 12 points rather than 6 (corners and edges)
Corners like now are the minimum of the two connecting edges

Oops same as #227


Advanced Image Level debugging

Hi Dario,
if you look at the end of the PharoDebug.log you will see:

Most recent primitives
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
.......
......
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
doesNotUnderstand:
So you have a recursive doesNotUnderstand: error and the system is running
out of memory.  The questions are where and why?  You can try and debug
this further by running the VM with --trace=259, e.g.
pharo-vm/pharo --trace=259 my image.image
This will produce lots of output, eventually ending in an endless stream of
doesNotUnderstand:'s.  So capture the first few megabytes of output (see
e.g. head(1) ($ man head))
FYI
"traceFlags is a set of flags.
1 => print trace (if something below is selected)
2 => trace sends
4 => trace block activations
8 => trace interpreter primitives
16 => trace events (context switches, GCs, etc)
32 => trace stack overflow
64 => send breakpoint on implicit receiver (Newspeak VM only)
128 => check stack depth on send (simulation only)
256 => trace linked sends "
Alternatively you could use a debugger such as gdb and I can tell you how
to put a breakpoint on doesNotUnderstand:

From pharo dev list:
http://forum.world.st/Pharo-image-don-t-restart-td5090811.html


suppose long when converting to java

Python 3 does not have long type, which results an overflow when convert it to java long if it is too long

this is actually a really necessary change for python3. maybe it would be worth adding a test in attr.py
the reason why this change is necessary is because we do
#define PyInt_Check PyLong_Check
in jpype.h if we are compiling for python 3. then PythonHostEnvironment::intAsInt will return an int and python 3 long values get cast to an int losing the higher bits.
i don't know the codebase well enough to judge if this is the right way of fixing it. but for example jpype.java.util.Date(1447887600000) currently does not work as expected with python 3.
@Cosmius if you do not have time to add a test i can create another pull request.

closing in favour of #164


Nuke: Expose write knobs - OP-7592

Changelog Description
This PR adds exposed_knobs to the creator plugins settings at ayon+settings://nuke/create/CreateWriteRender/exposed_knobs.
When exposed knobs will be linked from the write node to the outside publish group, for users to adjust.
Testing notes:

Add a knob to ayon+settings://nuke/create/CreateWriteRender/exposed_knobs.
Create write instance in Nuke.
Check knob is exposed.
Add a different knob to ayon+settings://nuke/create/CreateWriteRender/exposed_knobs.
Publish and check validate kicks in to add the linked knob.

Docs at https://github.com/ynput/ayon-documentation/pull/119

Maybe the  Exposed Knobs can be more precise like Exposed Knobs for Write Node or Exposed Knobs for Inner Write Node because I thought it also allows to expose the parameter of the reformat node inside the WriteNodeInstance.
Otherwise, it looks good.

Good point! Will update to Write Node Exposed Knobs.

Good point! Will update to Write Node Exposed Knobs.

Also I would add devider line with label, something like this

Maybe the  Exposed Knobs can be more precise like Exposed Knobs for Write Node or Exposed Knobs for Inner Write Node because I thought it also allows to expose the parameter of the reformat node inside the WriteNodeInstance.
Otherwise, it looks good.

@moonyuet I've change the label to Write Node Exposed Knobs.

Also I would add devider line with label, something like this

@jakubjezek001 done.

I am not only sure how to deal with typos in the input fields like this:

@jakubjezek001 I'm raising an error for the user to be warned and directed to the settings to resolve. I would suggest we get https://github.com/ynput/OpenPype/pull/6179 merged, before deploying to client, so there will be an error message pop instead of just script editor output.


Suggest to use NormalModuleReplacementPlugin

See #3

CLA is valid!

Coverage remained the same at 100.0% when pulling 77f9312fe9d77c831e8d3c5064d0afdfd9c7d2a2 on gpbl:readme-webpack into 3492700d09aaed99e24a5109f7802b5f3ac9a82c on yahoo:master.

Thanks!


Lunala quest issue

999way could not fight lunala due to abnormal end and it would not let him fight lunala again

just tested disconnecting with turning wifi off, getting kicked and just normally ending the battle.
Couldnt find a problem with the end battle abnormal in the lunula battles
these battles are stage 9 and 11.

If this is part of a bigger pattern of tickets with all 'abnormal end' issues, please test and confirm, and link all tickets together. Close all doubled tickets. Keep one master ticket up, and ping me so I can assign it to a dev.

If this is part of a bigger pattern of tickets with all 'abnormal end' issues, please test and confirm, and link all tickets together. Close all doubled tickets. Keep one master ticket up, and ping me so I can assign it to a dev.

Closing in favour of master ticket. Quest battle loop is working as expected, warp trigger will be fixed.

Closing in favour of master ticket. Quest battle loop is working as expected, warp trigger will be fixed.


Fixed #24119, #24120 -- Formalized debug integration for template backends

High-level overview of changes:
Commit 1:

Added backend and chain arguments to TemplateDoesNotExist.
Updated django.template.backends to reraise TemplateDoesNotExist with backend specified.
Updated django.template.loader methods to raise TemplateDoesNotExist with chain specified.
Removed old logic from debug view.
Integrated Jinja2 traceback information into debug page.

Commit 2:

Moved TemplateDoesNotExist and TemplateSyntaxError to django.template.exceptions since these are no longer DTL-specific.
Normalized import usage:

modules in django.template use relative imports
modules outside use django.template rather than django.template.base

Doc edits below. Could you also add a mention in the 1.9 release notes?
diff --git a/docs/topics/templates.txt b/docs/topics/templates.txt
index 7516717..da580b0 100644
--- a/docs/topics/templates.txt
+++ b/docs/topics/templates.txt
@@ -149,23 +149,23 @@ The ``django.template.loader`` module defines two functions to load templates.

 .. currentmodule:: django.template

-If loading a template fails the following two exceptions, defined in
+If loading a template fails, the following two exceptions, defined in
 ``django.template``, may be raised:

 .. exception:: TemplateDoesNotExist(msg, tried=None, backend=None, chain=None)

     This exception is raised when a template cannot be found. It accepts the
-    following optional arguments for populating the
-    :ref:`template postmortem <template-postmortem>` on the debug page:
+    following optional arguments for populating the :ref:`template postmortem
+    <template-postmortem>` on the debug page:

     ``backend``
-        The template backend instance the exception originated from.
+        The template backend instance from which the exception originated.

     ``tried``
-        A list of sources that were tried when finding the template. This
-        is formatted as a list of tuples containing (origin, status), where
-        origin is an :class:`~django.template.base.Origin` object and status
-        is a string with the reason the template wasn't found.
+        A list of sources that were tried when finding the template. This is
+        formatted as a list of tuples containing (origin, status), where origin
+        is an :class:`~django.template.base.Origin` object and status is a
+        string with the reason the template wasn't found.

     ``chain``
         A list of intermediate :exc:`~django.template.TemplateDoesNotExist`
@@ -569,15 +569,15 @@ Custom engines can populate this information by setting a ``template_debug``
 attribute on exceptions raised during parsing and rendering. This attribute
 is a :class:`dict` with the following values:

-* ``'name'``: The name of the template the exception occurred in.
+* ``'name'``: The name of the template in which the exception occurred.

 * ``'message'``: The exception message.

 * ``'source_lines'``: The lines before, after, and including the line the
   exception occurred on. This is for context, so it shouldn't contain more than
-  20 lines or so total.
+  20 lines or so.

-* ``'line'``: The line number the exception occurred on.
+* ``'line'``: The line number on which the exception occurred.

 * ``'before'``: The content on the error line before the token that raised the
   error.
@@ -598,7 +598,16 @@ Given the above template error, ``template_debug`` would look like::
     {
         'name': '/path/to/template.html',
         'message': "Invalid block tag: 'syntax'",
-        'source_lines': [(1, 'some\n'), (2, 'lines\n'), (3, 'before\n'), (4, 'Hello {% syntax error %} {{ world }}\n'), (5, 'some\n'), (6, 'lines\n'), (7, 'after\n'), (8, '')],
+        'source_lines': [
+            (1, 'some\n'),
+            (2, 'lines\n'),
+            (3, 'before\n'),
+            (4, 'Hello {% syntax error %} {{ world }}\n'),
+            (5, 'some\n'),
+            (6, 'lines\n'),
+            (7, 'after\n'),
+            (8, ''),
+        ],
         'line': 4,
         'before': 'Hello ',
         'during': '{% syntax error %}',

I read the diff carefully.
Passing a reference to the backend to the template makes for some weird code, but I have convinced myself that it is needed.

Pushed an update. This comes with some additional changes:

Added "Origin API and 3rd-party integration" to the docs
Changed wording where "origin" is referenced since this is more API via convention than enforcement
Added an Origin object to the jinja2 backend

This is merged. Thanks for the review!


Add new frequent_multi_device pipeline skeleton to support upcoming nightly tests for models

We will need a frequent / nightly pipeline for multi-Nebula T3K . Very similar to our split for fast-dispatch-unit-tests and fast-dispatch-frequent.
BTW, great first issue for newcomers to infra team @tenstorrent-metal/dev-ops-infra @jliangTT
cc: @cglagovich a prerequisite for #6244  - hopefully doing by today

Frequent pipeline has been setup: 8be2327a6474637055205796c30d95d256e553b6


Is there support for XmlSerializer based XML with XmlAttribute etc. obeyed

A general question... the XML examples seem to assume the serialised XML will be all element based, is that because it is assuming the DataContractSerializer will be used by the API? Is there a way to indicate that the XmlSerializer is being used and have attributes such as the XmlAttribute obeyed?

Looked at the code and can see this is not supported. I have created pull request https://github.com/domaindrivendev/Swashbuckle.AspNetCore/pull/420 to suggest how the support could be added fairly simply.

Will track as part of #1050


Dark theme always loaded even if set to light

Version
4.11.2
Description
I have the component setup like the following:
import ReactJkMusicPlayer from 'react-jinke-music-player';
import 'react-jinke-music-player/assets/index.css';

<ReactJkMusicPlayer
        audioLists={[]}
        mode="full"
        toggleMode={false}
        drag={false}
        remove={false}
        theme="light"
        autoHiddenCover={true}
        showDownload={false} showPlayMode={false} showReload={false} showThemeSwitch={false} showLyric={false}  />

However the music player is still using the dark theme.
I digged a bit further and it looks like the <div class="react-jinke-music-player-main"> element does not have light-theme or dark-theme as a class.

Fixed. thank your feedback. please upgrade 4.12.0


IdentityUser.Claims and IdentityUser.Roles does not support set accessor methods

I have been curious why IdentityUser objects returned by UserManager.FindByIdAsync() don't have roles or claims populated.  Looking in to the IdentityUser class it appears as if there is no possible way to populate claims or roles because set accessor methods do not exist, and the values for roles and claims can not be set by the constructor or seemingly any other function thus, UserManager.FindByIdAsync() can't possibly populate the roles and claims.
IdentityUser identityUser
     = await UserManager.FindByIdAsync(id, cancellationToken: Context.RequestAborted);

You can use the Identity APIs to get roles, claims for the user. You can also use the Add/ Update APIs on the User/Role Manager to set the claims and roles

Agreed I can use the Identity APIs APIs on the User/Role Manager to set the claims and roles but I can not seem to use Identity APIs to enumerate claims or roles (roles may become depreciated).  Furthermore there appears to be no HasClaim() method that would allow efficient authorizations.
My current workaround is to bypass Identity Framework and get at claims through Entity Framework, i.e. non-ideal.

UserManager.GetUserClaims/Roles?  For AuthZ you should be looking the HttpContext.User ClaimsPrincipal to do claims checks vs that, not hitting the database/user on every request.

I knew there was a better way!  I'll look into that and report back.

@HaoK Suppose I have a DynamicMenuViewComponant that is included in the _Layout.cshtml so it is rendered for every HTTP response.  Suppose the DynamicMenuViewComponant.InvokeAsync() looks like the following.  I need the get the claims of the current user for building a dynamic menu that only renders menu items the user has claims for.  This seems very inefficient because it will call FindByIdAsync() and GetClaimsAsync() for each and every render unless you tell me that IdentityFramework has magic caching implemented to make this efficient.  NOTE:  User.Identity.GetUserName() is used because the application uses windows Kerberos authentication.
What do you think?  Is there a better way?
public async Task<IViewComponentResult> InvokeAsync()
        {
            ApplicationUser applicationUser
                = await _userManager.FindByIdAsync(User.Identity.GetUserName(), cancellationToken: Context.RequestAborted);
            IList<Claim> claims
                = await _userManager.GetClaimsAsync(applicationUser, cancellationToken: Context.RequestAborted);
            return View(claims);
        }


apprt/gtk: fix the combination of gtk-titlebar=false and gtk-tabs-location=hidden

Fixes: #3178

This PR seems to break ghostty on some Linux instalations. Please see https://github.com/ghostty-org/ghostty/discussions/4097

This PR seems to break ghostty on some Linux instalations. Please see #4097

it also break the exists headbar, when setting gtk-titlebar = false and gtk-adwaita = true, no headbar is shown
https://github.com/ghostty-org/ghostty/discussions/4101


Compound model crashes (Const1 + Gaussian1)

Tried to fit a constant + a Gaussian to the region from ~ 1 to 2.2 microns in example_spec_ascii.txt. I selected each model, clicked "Add", edited the parameters, then typed into the "Arithmetic Behavior" box Const1 + Gaussian1, then pushed Create. It crashed. Traceback below.
(pyf_env)Henrys-MacBook-Pro:specview hcferguson$ pyfocal
Traceback (most recent call last):
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/ui/controller.py", line 41, in <lambda>
    lambda: self.new_plot_sub_window())
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/ui/controller.py", line 259, in new_plot_sub_window
    self.add_plot(data=data, window=window)
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/ui/controller.py", line 283, in add_plot
    raise AttributeError("Data is not defined")
AttributeError: Data is not defined
Abort trap: 6
(pyf_env)Henrys-MacBook-Pro:specview hcferguson$ pyfocal
/Users/hcferguson/anaconda/envs/pyf_env/lib/python3.5/site-packages/astropy/units/quantity.py:822: RuntimeWarning: invalid value encountered in true_divide
  return super(Quantity, self).__truediv__(other)
/Users/hcferguson/anaconda/envs/pyf_env/lib/python3.5/site-packages/numpy/core/_methods.py:59: RuntimeWarning: Mean of empty slice.
  warnings.warn("Mean of empty slice.", RuntimeWarning)
/Users/hcferguson/anaconda/envs/pyf_env/lib/python3.5/site-packages/numpy/core/_methods.py:70: RuntimeWarning: invalid value encountered in double_scalars
  ret = ret.dtype.type(ret / rcount)
/Users/hcferguson/anaconda/envs/pyf_env/lib/python3.5/site-packages/numpy/core/_methods.py:82: RuntimeWarning: Degrees of freedom <= 0 for slice
  warnings.warn("Degrees of freedom <= 0 for slice", RuntimeWarning)
/Users/hcferguson/anaconda/envs/pyf_env/lib/python3.5/site-packages/numpy/core/_methods.py:94: RuntimeWarning: invalid value encountered in true_divide
  arrmean, rcount, out=arrmean, casting='unsafe', subok=False)
/Users/hcferguson/anaconda/envs/pyf_env/lib/python3.5/site-packages/numpy/core/_methods.py:116: RuntimeWarning: invalid value encountered in double_scalars
  ret = ret.dtype.type(ret / rcount)
(pyf_env)Henrys-MacBook-Pro:specview hcferguson$ pyfocal
Traceback (most recent call last):
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/ui/controller.py", line 41, in <lambda>
    lambda: self.new_plot_sub_window())
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/ui/controller.py", line 259, in new_plot_sub_window
    self.add_plot(data=data, window=window)
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/ui/controller.py", line 283, in add_plot
    raise AttributeError("Data is not defined")
AttributeError: Data is not defined
Abort trap: 6
(pyf_env)Henrys-MacBook-Pro:specview hcferguson$ pyfocal
Traceback (most recent call last):
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/ui/controller.py", line 41, in <lambda>
    lambda: self.new_plot_sub_window())
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/ui/controller.py", line 259, in new_plot_sub_window
    self.add_plot(data=data, window=window)
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/ui/controller.py", line 283, in add_plot
    raise AttributeError("Data is not defined")
AttributeError: Data is not defined
Abort trap: 6
(pyf_env)Henrys-MacBook-Pro:specview hcferguson$ pyfocal
Traceback (most recent call last):
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/ui/controller.py", line 41, in <lambda>
    lambda: self.new_plot_sub_window())
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/ui/controller.py", line 259, in new_plot_sub_window
    self.add_plot(data=data, window=window)
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/ui/controller.py", line 283, in add_plot
    raise AttributeError("Data is not defined")
AttributeError: Data is not defined
Abort trap: 6
(pyf_env)Henrys-MacBook-Pro:specview hcferguson$ pyfocal
/Users/hcferguson/anaconda/envs/pyf_env/lib/python3.5/site-packages/astropy/units/quantity.py:822: RuntimeWarning: invalid value encountered in true_divide
  return super(Quantity, self).__truediv__(other)
(pyf_env)Henrys-MacBook-Pro:specview hcferguson$ pyfocal
/Users/hcferguson/anaconda/envs/pyf_env/lib/python3.5/site-packages/astropy/units/quantity.py:822: RuntimeWarning: invalid value encountered in true_divide
  return super(Quantity, self).__truediv__(other)
WARNING: Model is linear in parameters; consider using linear fitting methods. [astropy.modeling.fitting]
WARNING:astropy:Model is linear in parameters; consider using linear fitting methods.
WARNING:root:Both actual and predicted relative reductions in the sum of squares
  are at most 0.000000 and the relative error between two consecutive iterates is at
  most 0.000000
/Users/hcferguson/anaconda/envs/pyf_env/lib/python3.5/site-packages/astropy/units/quantity.py:822: RuntimeWarning: invalid value encountered in true_divide
  return super(Quantity, self).__truediv__(other)
(pyf_env)Henrys-MacBook-Pro:specview hcferguson$ pyfocal
/Users/hcferguson/anaconda/envs/pyf_env/lib/python3.5/site-packages/astropy/units/quantity.py:822: RuntimeWarning: invalid value encountered in true_divide
  return super(Quantity, self).__truediv__(other)
/Users/hcferguson/anaconda/envs/pyf_env/lib/python3.5/site-packages/numpy/core/_methods.py:59: RuntimeWarning: Mean of empty slice.
  warnings.warn("Mean of empty slice.", RuntimeWarning)
/Users/hcferguson/anaconda/envs/pyf_env/lib/python3.5/site-packages/numpy/core/_methods.py:70: RuntimeWarning: invalid value encountered in double_scalars
  ret = ret.dtype.type(ret / rcount)
/Users/hcferguson/anaconda/envs/pyf_env/lib/python3.5/site-packages/numpy/core/_methods.py:82: RuntimeWarning: Degrees of freedom <= 0 for slice
  warnings.warn("Degrees of freedom <= 0 for slice", RuntimeWarning)
/Users/hcferguson/anaconda/envs/pyf_env/lib/python3.5/site-packages/numpy/core/_methods.py:94: RuntimeWarning: invalid value encountered in true_divide
  arrmean, rcount, out=arrmean, casting='unsafe', subok=False)
/Users/hcferguson/anaconda/envs/pyf_env/lib/python3.5/site-packages/numpy/core/_methods.py:116: RuntimeWarning: invalid value encountered in double_scalars
  ret = ret.dtype.type(ret / rcount)
Traceback (most recent call last):
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/ui/controller.py", line 342, in update_model_layer
    self.viewer.current_model_formula)
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/interfaces/managers.py", line 221, in update_model
    model = self.get_compound_model(model_dict, formula)
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/interfaces/managers.py", line 210, in get_compound_model
    return self._evaluate(models, formula)
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/interfaces/managers.py", line 164, in _evaluate
    dict(pair for pair in zip(vars, sorted_models)))
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/third_party/py_expression_eval/__init__.py", line 587, in evaluate
    return self.parse(expr).evaluate(variables)
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/third_party/py_expression_eval/__init__.py", line 128, in evaluate
    raise Exception('undefined variable: ' + item.index_)
Exception: undefined variable: Const1
Abort trap: 6
(pyf_env)Henrys-MacBook-Pro:specview hcferguson$ pyfocal
/Users/hcferguson/anaconda/envs/pyf_env/lib/python3.5/site-packages/astropy/units/quantity.py:822: RuntimeWarning: invalid value encountered in true_divide
  return super(Quantity, self).__truediv__(other)
Traceback (most recent call last):
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/ui/controller.py", line 306, in new_model_layer
    formula=self.viewer.current_model_formula)
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/interfaces/managers.py", line 210, in get_compound_model
    return self._evaluate(models, formula)
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/interfaces/managers.py", line 164, in _evaluate
    dict(pair for pair in zip(vars, sorted_models)))
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/third_party/py_expression_eval/__init__.py", line 587, in evaluate
    return self.parse(expr).evaluate(variables)
  File "/Users/hcferguson/Documents/stsci/science_software/data_analysis_tools/sprints/specview/pyfocal/pyfocal/third_party/py_expression_eval/__init__.py", line 128, in evaluate
    raise Exception('undefined variable: ' + item.index_)
Exception: undefined variable: Const1
Abort trap: 6

It works when I use the following workflow:

Select Const, click Add, edit the parameter, push Create
Select Gaussian, click Add, edit the parameters, push Update (not entering anything into the Arithmetic behavior box.

However, even though I gave it pretty good first guesses, the fit went off in the weeds. It worked okay when I gave it very good initial guesses. (This is general finicky-ness of the astropy optimizers I think...).

I noticed that too, although the traceback looks different than @hcferguson 's . It has to do somehow with the arithmetic behavior, indeed. When no expression is present in the text field, it works fine.

This should be fixed in a822373bec760422780d99e73ef23d5d743ce530. Reopen if you're still seeing the issue.


Figure out how to create API documentation

We need to figure out how to create API documentation pages. For example, check http://flasgger.pythonanywhere.com/

Hello,
I am arati, a technical writer interested to contribute for your REST API documentation.
I saw that you need help with your API documentation. May be I can help you with that.
I saw your readme.md and saw API calls section, is that the only Api call you need documentation for, or there is more?
Let me know if you need help and how I can get started. I can write the documentation in markdown file and share it with you for the Get the unique user token from the system API. If you feel that is what your are looking for then I can collaborate.
Regards,
Arati


FastAPI & sqlalchemy - Your installation with this app is no longer available

I am trying to use bolt-python asyncly using FastAPI and sqlalchemy (using Postgres).
I basically took this sqlalchemy example and just replaced Sanic with FastAPI.
Installation and redirect works well, and I also see the installations being added to Postgres, and I can also see events coming in through ngrok. But the events are not being processed and instead I get the message:

We apologize, but for some unknown reason, your installation with this app is no longer available. Please reinstall this app into your workspace.

I tried reinstalling the app to the workspace multiple times, but I still continue to get this error.
I also tried debugging the AsyncInstallationStore and it seems that the async_find_bot function never triggers, so I am not sure where exactly to look why its not getting there.
Edit:
After some more digging into the code, it seems to be probably related to the AsyncInstallationStoreAuthorize. It looks like it is trying to use async_find_installation even though it was not implemented by my installation store, probably because it is extending AsyncInstallationStoreclass. Anyway to go around it?
Reproducible in:
The slack_bolt version
slack-bolt==1.18.1
slack_sdk==3.27.0
Python runtime version
3.10.12
OS info
ProductName:            macOS
ProductVersion:         13.4.1
ProductVersionExtra:    (c)
BuildVersion:           22F770820d
Darwin Kernel Version 22.5.0: Thu Jun  8 22:22:22 PDT 2023; root:xnu-8796.121.3~7/RELEASE_X86_64
Steps to reproduce:

Copy the sqlalchemy example
Replace Sanic with FastAPI
Set relevant environment variables (Client ID, Client Secret, Signing Secret)
Install the app to your slack workspace using /slack/install
Send a message to the bot on Slack

Expected result:
The event should go through the request handler and trigger the relevant event handle (i.e @app.event("message"))
Actual result:
When an event is being sent to the app using POST /slack/events, it responds with 200 with the message:

We apologize, but for some unknown reason, your installation with this app is no longer available. Please reinstall this app into your workspace.

Also I can see this error in my console:
Although the app should be installed into this workspace, the AuthorizeResult (returned value from authorize) for it was not found.

Thank you so much for reporting the issue, and we're sorry for the disruption you encountered. I just updated the example code to resolve it.


ViroParticleEmitter images are always white-ish

Hello!
I'm using ViroParticleEmitter but every image that I use is basically white. I tough it was bloom threshold, but it's not.
Can anybody help me?
<ViroParticleEmitter
    position={[0, -2.5, 0]}
    duration={1500}
    visible={true}
    run
    loop
    fixedToEmitter
    image={{
      source,
      height: 0.1,
      width: 0.1,
      // bloomThreshold: 1.0,
    }}
    spawnBehavior={{
      particleLifetime: [4000, 4000],
      emissionRatePerSecond: [40, 100],
      spawnVolume: {
        shape: "box",
        params: [20, 1, 20],
        spawnOnSurface: true,
      },
      maxParticles: 25,
    }}
    particleAppearance={{
      rotation: {
        initialRange: [0, 360],
        factor: "Time",
        interpolation: [{ endValue: 1080, interval: [0, 5000] }],
      },

      scale: {
        initialRange: [
          [2, 2, 2],
          [10, 10, 10],
        ],
        factor: "Time",
        interpolation: [
          { endValue: [3, 3, 3], interval: [0, 4000] },
          { endValue: [0, 0, 0], interval: [4000, 5000] },
        ],
      },
    }}
    particlePhysics={{
      velocity: {
        initialRange: [
          [-2, 0.5, 0],
          [2, 3.5, 0],
        ],
      },
    }}
  />

Does it happen on iOS, Android or both platforms?


Skip counting hidden tables

Potential fix for https://github.com/simonw/datasette/issues/859.
Disabling table counts for hidden tables speeds up database page quite a bit. In my setup it reduced load time by 2/3 (~300 -> ~90ms)

Turns out we should include hidden tables in the result dict, or we're breaking tests. I've committed a refactor https://github.com/simonw/datasette/pull/883/commits/4f06e1bf6fbe4b73be770b87f610bf7c0e6e3ea7

Well tests need to be updated.
I need to get tests working on Windows.

This is a great idea.


Update pbo-patterns.txt

just a variation added (dec instead of inc)

Thanks a lot for the new patterns (and for the typo fix ;)) Artrag! Merged!


Failing to stream live HLS w/ TS & transmuxing

Raised in https://github.com/google/shaka-player/issues/740#issuecomment-341548041
We parse the TS segments to get their timestamps, since HLS doesn't provide that information. However, as far as I can tell, the MP4 output from mux.js has different timestamps than what we parsed from the TS segments. So the MediaSource timeline doesn't line up with the Player's seek range.

Repro URL from original comment: https://nightly-dot-shaka-player-demo.appspot.com/demo/#asset=https://cdn.demo.anevia.com/live/nas40/Arte/mirada_test/Arte.m3u8;lang=es

With some local hacks to adjust MediaSource SourceBuffer offsets to compensate for the bad output from mux.js, I can play the above stream.  I need to raise the issue with mux.js to see if there is a way we should be configuring it to give us unmodified timestamps.

Filed videojs/mux.js#168 to get support from mux.js.

We have a work-around now.  I'm asking mux.js folks for a configuration for this to make it a little easier, but we can move forward in the mean time.

So- I am seeing this issue where the timestamps output by muxjs are different than my TS segments when the presentationTimeOffset isn't 0.
Basically my first MPEGTS segment starts at 133500:
        {
            "media_type": "video",
            "stream_index": 0,
            "key_frame": 1,
            "pkt_pts": 133500,
            "pkt_pts_time": "1.483333",
            "pkt_dts": 133500,
            "pkt_dts_time": "1.483333",
            "best_effort_timestamp": 133500,
            "best_effort_timestamp_time": "1.483333",
            "pkt_duration": 3750,
            "pkt_duration_time": "0.041667",
            "pkt_pos": "564",
            "pkt_size": "10638",
            "width": 320,
            "height": 240,
            "pix_fmt": "yuv420p",
            "sample_aspect_ratio": "1:1",
            "pict_type": "I",
            "coded_picture_number": 0,
            "display_picture_number": 0,
            "interlaced_frame": 0,
            "top_field_first": 0,
            "repeat_pict": 0
        }

In the logs I see:
First segment 750k.ts starts at 1.4833333333333334

Which matches the first PTS (Although there is an earlier PTS for the first audio packet in the stream which appears later).
The presentationTimeOffset is set to 1.4833333333333334, but the code to adjust the PTS via the transmuxer sets it to adjust by 0:
lib/media/transmuxer.js:
this.muxTransmuxer_.setBaseMediaDecodeTime(startTime * timescale);

^ Tracing in the debugger 'startTime' is 0.
As a result the transmuxed mp4 seems to adjust all of the timestamps:
        {
            "media_type": "video",
            "stream_index": 0,
            "key_frame": 1,
            "pkt_pts": 7500,
            "pkt_pts_time": "0.083333",
            "pkt_dts": 7500,
            "pkt_dts_time": "0.083333",
            "best_effort_timestamp": 7500,
            "best_effort_timestamp_time": "0.083333",
            "pkt_pos": "2877",
            "pkt_size": "28480",
            "width": 640,
            "height": 480,
            "pix_fmt": "yuv420p",
            "sample_aspect_ratio": "1:1",
            "pict_type": "I",
            "coded_picture_number": 0,
            "display_picture_number": 0,
            "interlaced_frame": 0,
            "top_field_first": 0,
            "repeat_pict": 0
        },

And MediaSourceExtensions croaks with the following error:
video frame with PTS 141667us has negative DTS -66667us after applying timestampOffset, handling any discontinuity, and filtering against append window

Also, I wonder if getStartTimeFromTsSegment_ in lib/hls/hls_parser.js needs to be adjusted to search for a minimum timestamp closer to the beginning of the TS stream, rather than just reading the PTS out of the first TS packet it finds that has one.

Please post a new issue for this.


Do not allow authentication with api_password when using auth providers

If a user has configured an auth provider, we should not allow authentication with an API password.
Should be updated in both auth middleware and websocket auth

I am working on this


Initialising connection "conn = PyU4V.U4VConn()" failed

Hello,
Thank you for your endeavor for PyU4V.
To monitor PowerMAX, VMAX performance, I would like to use PyU4V.
Even though I followd guide of "https://pyu4v.readthedocs.io/en/latest/quick_start.html", but failed.
May I have your advice to fix this situation ?
Thank you.
b.rgds
//
// Summary
//

Network connection & username, password: OK
Installation of PyU4V: OK
Creating conf file: OK
Initialising the connection with Unisphere use: Failed
With below msg
"PyU4V.utils.exception.VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Error GET None. The status code received is 500 and the message is {'message': 'The server encountered an unexpected condition which prevented it from fulfilling the request'}."

//
// Detail
//

network connectivity
$ping -c 1 <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=125 time=99.0 ms

--- <IP_ADDRESS> ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 98.981/98.981/98.981/0.000 ms

port 8443 connection
$telnet <IP_ADDRESS> 8443
Trying <IP_ADDRESS>...
Connected to <IP_ADDRESS>.
Escape character is '^]'.

SSL Certificate
$ openssl s_client -showcerts -connect <IP_ADDRESS>:8443 </dev/null 2>/dev/null|openssl x509 -outform PEM > unisphere90.pem

adding the cert to a CA certificate bundle
$ sudo cp unisphere90.pem /usr/share/ca-certificates/unisphere90.crt
$ sudo dpkg-reconfigure ca-certificates

SETUP
$ cat PyU4V.conf
[setup]
username=monitor
password=******** (intentionally changed for security)
server_ip=<IP_ADDRESS>
port=8443
array=00029780****  (intentionally changed for security)
verify=True

$ pip show PyU4V
Name: PyU4V
Version: <IP_ADDRESS>
Summary: A Python library for use with Dell EMC's Unisphere for PowerMax REST API.
Home-page: https://github.com/dell/PyU4V/
Author: Dell Inc. or its subsidiaries
Author-email<EMAIL_ADDRESS>License: Apache 2.0
Location: /home/sjsong/.local/lib/python3.8/site-packages
Requires: six, requests, sphinx-rtd-theme, prettytable, urllib3
Required-by:
$
$ python3 -V
Python 3.8.10
$
$ python3
Python 3.8.10 (default, May 26 2023, 14:05:08)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import PyU4V
conn = PyU4V.U4VConn()
Traceback (most recent call last):
File "", line 1, in
File "/mnt/c/Users/seckjun.song/UBUNTU/EMC/PyU4V/PyU4V/univmax_conn.py", line 124, in init
self.validate_unisphere()
File "/mnt/c/Users/seckjun.song/UBUNTU/EMC/PyU4V/PyU4V/univmax_conn.py", line 187, in validate_unisphere
uni_ver, major_ver = self.common.get_uni_version()
File "/mnt/c/Users/seckjun.song/UBUNTU/EMC/PyU4V/PyU4V/common.py", line 523, in get_uni_version
response = self.get_resource(category=VERSION, no_version=True)
File "/mnt/c/Users/seckjun.song/UBUNTU/EMC/PyU4V/PyU4V/common.py", line 339, in get_resource
return self.get_request(
File "/mnt/c/Users/seckjun.song/UBUNTU/EMC/PyU4V/PyU4V/common.py", line 313, in get_request
self.check_status_code_success(operation, sc, message)
File "/mnt/c/Users/seckjun.song/UBUNTU/EMC/PyU4V/PyU4V/common.py", line 180, in check_status_code_success
raise exception.VolumeBackendAPIException(
PyU4V.utils.exception.VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Error GET None. The status code received is 500 and the message is {'message': 'The server encountered an unexpected condition which prevented it from fulfilling the request'}.

What version of Unisphere for PowerMax are you running? PyU4V 10.1 needs version 10.1, some older versions may fail the version check.

Hi Paul Martin,
Thank you for your comment.
With you comment, I just checked the version.
"Unisphere for PowerMax
Version Number: V<IP_ADDRESS>"
I will update Unisphere for PowerMax version to the latest version.
(downloading "UNIVMAX_<IP_ADDRESS>_RELEASE_WINDOWS_X86_64.exe" file from Dell)
and then back here with the result.
Thank you again for your time.
b.rgds

Thanks, the error message should have been clearer, if you are upgrading Unisphere you will first need to upgrade solutions enabler as your upgrade will fail otherwise.


Inconsistent naming conventions in package intl

 Issue by jolleekin
Originally opened as dart-lang/sdk#20384

There are some inconsistent naming conventions in package intl:

parseUTC in date_format.dart (should be parseUtc)

HTTPRequestDataReader in src/http_request_data_reader.dart (should be HttpRequestDataReader)

ICUParser in src/icu_parser.dart (should be IcuParser)

Just a question: why did the Dart team decide to use UPPERCASE for all property names in NumberSymbols and DateSymbols?
class NumberSymbols {
  final String NAME;
  final String DECIMAL_SEP, GROUP_SEP, PERCENT, ZERO_DIGIT, PLUS_SIGN,
      MINUS_SIGN, EXP_SYMBOL, PERMILL, INFINITY, NAN, DECIMAL_PATTERN,
      SCIENTIFIC_PATTERN, PERCENT_PATTERN, CURRENCY_PATTERN, DEF_CURRENCY_CODE;
class DateSymbols {
  String NAME;
  List<String> ERAS, ERANAMES, NARROWMONTHS, STANDALONENARROWMONTHS,
      MONTHS, STANDALONEMONTHS, SHORTMONTHS, STANDALONESHORTMONTHS, WEEKDAYS,
      STANDALONEWEEKDAYS, SHORTWEEKDAYS, STANDALONESHORTWEEKDAYS,
      NARROWWEEKDAYS, STANDALONENARROWWEEKDAYS, SHORTQUARTERS,
      QUARTERS, AMPMS, DATEFORMATS, TIMEFORMATS, DATETIMEFORMATS;
  Map<String, String> AVAILABLEFORMATS;
  int FIRSTDAYOFWEEK;
  List<int> WEEKENDRANGE;
  int FIRSTWEEKCUTOFFDAY;
  ...
}
What version of the product are you using? On what operating system?
intl 0.11.4

 Comment by kasperl

Added Area-Pkg, Pkg-Intl, Triaged labels.

 Comment by alan-knight

Fixed in r40401 in repo. Will be published to pub in 0.11.10 when that comes out, but didn't seem worth a new version on its own.

Added Fixed label.

 Comment by alan-knight

For parseUTC we would probably need to introduce a new method and retain the old one in order to avoid a breaking change. I think the others are purely internal.
The all uppercase for those properties is for consistency with ICU.

Removed Priority-Unassigned label.
Added Priority-Medium, Accepted labels.


Create a web-relay mode

Recently @cpacia created some great documentation for developers to use the web-relay. The web-relay sever allows nodes to publish their offline messages through them, which is ideal for browser-based and mobile node where this functionality is either too resource intensive or impractical.
For mobile servers, the use of this relay would be advantageous from a UX perspective, as publishing offline messages can take 20+ seconds. Mobile servers would fall back to publishing the offline message directly if the web-relay server went down.

[ ] What we would like is the ability to enable the use of the web-relay in openbazaard with all the settings pre-configured + the DIY backup if the web-relay server is unavailable.
[ ] For mobile specifically, we would like to add the option for web-relay mode in NodeConfig.

We're going in a different direction with this


[fix] add recamera_gimbal sample

This is parker,
I add recamera_gimbal sample project, please merge it!

LGTM for now, waiting for the hardware to be released


[SPARK-32119][CORE][3.0] ExecutorPlugin doesn't work with Standalone Cluster and Kubernetes with --jars

What changes were proposed in this pull request?

This is a backport PR for branch-3.0.
This PR changes Executor to load jars and files added by --jars and --files on Executor initialization.
To avoid downloading those jars/files twice, they are assosiated with startTime as their uploaded timestamp.
Why are the changes needed?

ExecutorPlugin can't work with Standalone Cluster and Kubernetes
when a jar which contains plugins and files used by the plugins are added by --jars and --files option with spark-submit.
This is because jars and files added by --jars and --files are not loaded on Executor initialization.
I confirmed it works with YARN because jars/files are distributed as distributed cache.
Does this PR introduce any user-facing change?

Yes. jars/files added by --jars and --files are downloaded on each executor on initialization.
How was this patch tested?

Added a new testcase.

cc: @tgravescs @mridulm @LucaCanali

Test build #128166 has started for PR 29621 at commit f76814c.

Test build #128166 has finished for PR 29621 at commit f76814c.

This patch fails RAT tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128166/
Test FAILed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/32791/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/32791/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/32791/
Test FAILed.

retest this please

cc @zhengruifeng since you're the release manager of 3.0.1

Test build #128172 has started for PR 29621 at commit f76814c.

Test build #128172 has finished for PR 29621 at commit f76814c.

This patch fails Java style tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128172/
Test FAILed.

Merged build finished. Test FAILed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/32797/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/32797/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/32797/
Test FAILed.

@HyukjinKwon Thanks for letting me know this. It seems that this issue may also exist in 2.4? I think you can vote -1 in this active vote.

Assuming from the JIRA, seems like it's not a blocker. I just cc'ed you just as a FYI :-). but @sarutak can you confirm if this blocks the release?

I don't think, this is a blocker. We can't deploy plugins and its required files with --jars/--files but as @tgravescs mentioned here, we have a workaround by installing plugins on all worker nodes beforehand and specifying them with extraClassPath.

Ya. I agree that this is not a blocker for 3.0.1 release.

Retest this please

Test build #130378 has started for PR 29621 at commit f76814c.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34981/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34981/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34981/
Test FAILed.

Retest this please

Test build #130380 has started for PR 29621 at commit f76814c.

Test build #130380 has finished for PR 29621 at commit f76814c.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130380/
Test FAILed.

Retest this please.

Test build #130381 has started for PR 29621 at commit f76814c.

Test build #130381 has finished for PR 29621 at commit f76814c.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130381/
Test FAILed.

AmbLap Server seems to have a broken Maven local repository again.
========================================================================
Running build tests
========================================================================
exec: curl -s -L https://downloads.lightbend.com/zinc/0.3.15/zinc-0.3.15.tgz
exec: curl -s -L https://downloads.lightbend.com/scala/2.12.10/scala-2.12.10.tgz
Using `mvn` from path: /home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/mvn
Using `mvn` from path: /home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/mvn
Performing Maven install for hadoop-2.7-hive-1.2
Using `mvn` from path: /home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/bin/mvn
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install (default-cli) on project spark-launcher_2.12: ArtifactInstallerException: Failed to install metadata org.apache.spark:spark-launcher_2.12/maven-metadata.xml: Could not parse metadata /home/jenkins/.m2/repository/org/apache/spark/spark-launcher_2.12/maven-metadata-local.xml: in epilog non whitespace content is not allowed but got > (position: END_TAG seen ...</metadata>\n>... @13:2) -> [Help 1]
[ERROR]

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34983/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34984/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34984/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34984/
Test FAILed.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34983/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34983/
Test FAILed.

Test build #130378 has finished for PR 29621 at commit f76814c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130378/
Test PASSed.

This PR doesn't pass K8s IT since September.

https://github.com/apache/spark/pull/29621#issuecomment-685170312
https://github.com/apache/spark/pull/29621#issuecomment-685235211
https://github.com/apache/spark/pull/29621#issuecomment-718138054
https://github.com/apache/spark/pull/29621#issuecomment-718196120
https://github.com/apache/spark/pull/29621#issuecomment-718196579

The failures are on the following test cases. Recently, Jenkins K8s IT seems to be unstable.

Run SparkPi with no resources (Failed always, but known to be flaky)
Run SparkPi with a very long application name. (failed once in the above)
Run SparkR on simple dataframe.R example (Failed always, but known to be flaky

So, I verified manually on my laptop.
ubernetesSuite:
- Run SparkPi with no resources
- Run SparkPi with a very long application name.
- Use SparkLauncher.NO_RESOURCE
- Run SparkPi with a master URL without a scheme.
- Run SparkPi with an argument.
- Run SparkPi with custom labels, annotations, and environment variables.
- All pods have the same service account by default
- Run extraJVMOptions check on driver
- Run SparkRemoteFileTest using a remote data file
- Run SparkPi with env and mount secrets.
- Run PySpark on simple pi.py example
- Run PySpark with Python2 to test a pyfiles example
- Run PySpark with Python3 to test a pyfiles example
- Run PySpark with memory customization
- Run in client mode.
- Start pod creation from template
- PVs with local storage
- Launcher client dependencies
- Run SparkR on simple dataframe.R example
Run completed in 10 minutes, 17 seconds.

For the K8s IT failure, I've been taking a look independently.

https://github.com/apache/spark/pull/30130

@dongjoon-hyun @tgravescs Thank you for taking look at this PR again!


6.6-rc2 : App name with underscore symbol and storefront js can't be build successfully. Theme compilation error 'directory does not exist'

PHP Version
8.3
Shopware Version
<IP_ADDRESS>-rc2
Expected behaviour
I have an app with some javascript code that should work on the storefront.
The app has an underscore symbol in it's name (let's say 'TestABC_DEF').
I am trying to compile the storefront part by running bin/build-storefront.sh.
I expect a working storefront part of the app/extension.
I'm using dockware/dev:<IP_ADDRESS>-rc2 docker image for my tests (if it's important in this situation).
Actual behaviour
Webpack builds the bundle successfully placing the file ('test-a-b-c--d-e-f.js') not in /dist/storefront/js directory (seem's like it was previously like this?) but creating one more directory /test-a-b-c--d-e-f/:
test-a-b-c--d-e-f (webpack 5.89.0) compiled successfully in 908 ms
But when compiling theme for sales channel I can see the error:
The "custom/apps/TestABC_DEF/Resources/app/storefront/dist/storefront/js/test-a-b-c_-d-e-f" directory does not exist.
So in some places it uses '-' and in some it leaves '_'.
I suppose it can be related to these changes:
Async JavaScript and get rid of the all.js in the Storefront
Previously (if i remember it correctly) there was just a file inside /js/ directory without any intermediate ones.
Actually trying to manually change the name of the directory leads to Theme compilation.
But here I receive one more problem.
When it copied it to the Theme folder it looked for 'test-a-b-c_-d-e-f' folder with underscore.
But when then trying to load the page and check how it works in browser I again see the absence of file.
Now it says that can't find the file in the folder without undescore:
<script type="text/javascript" src=".../js/test-a-b-c--d-e-f/test-a-b-c--d-e-f.js" defer></script>
Unfortunately, trying to use any combination of directory name and trying to package and upload the extension via Administration - My Extensions - Upload won't lead to success. It won't work.
Maybe I'm not fully understand the whole process and you'll help.
Probably there can be a recommendation not to use underscore symbol in app/plugin name, but what if I already have such one and want to update it for coming 6.6 release?
How to reproduce
Create a simple app/plugin with some minimal storefront js script and name it using underscore ('_') symbol.
Try to build storefront part.
I tried to create a simple app and published it here: repo

Hi @averet-lea,
sorry for my late reply.
Thank you for providing a test app, thats much appreciated. 👍
We would actually recommend to use PascalCase/UpperCamelCase for app as well as plugin names. But admittedly it is not that explicitly told in the app base guide as it is in the plugin base guide at the moment. In the app docs all examples are PascalCase wheras the plugin docs additionally state "written in UpperCamelCase".
https://developer.shopware.com/docs/guides/plugins/plugins/plugin-base-guide.html#name-your-plugin
The new sub-folder inside dist/storefront/js/your-app-technical-name/ is expected in 6.6 and will be copied later into /public/theme. This is needed so webpack knows from which folder async JS files are supposed to be loaed. Each app has its own folder for separation and to prevent naming conflicts. With the async JS possibility there can now be more generated JS dist files in an app/plugin. Previously everything was merged into the all.js in 6.5.
Your example repo was supposed to be used as an app, right? Because it also has a composer.json but no plugin class so I was not 100% sure. But installing as app worked out fine.
I was not able to reproduce the issue The "custom/apps/TestABC_DEF/Resources/app/storefront/dist/storefront/js/test-a-b-c_-d-e-f" directory does not exist.

Installed and activated as an app
Run composer build:js:storefront (Also runs theme:compile)
Compiled as expected with output:

# Plugin "TestABC_DEF": Injected successfully

 ✔ Shopware 6 Storefront
   Compiled successfully in 1.32s

 ✔ TestABC_DEF

shopware-6-storefront:
  78 assets
  617 modules
  shopware-6-storefront (webpack 5.89.0) compiled successfully in 1339 ms

test-a-b-c--d-e-f:
  1 asset
  10 modules
  test-a-b-c--d-e-f (webpack 5.89.0) compiled successfully in 349 ms
> cd src/Storefront/Resources/app/storefront && node copy-to-vendor.js
- copied "/Users/tobiasberge/www/platform/src/Storefront/Resources/app/storefront/node_modules/tiny-slider" to "/Users/tobiasberge/www/platform/src/Storefront/Resources/app/storefront/vendor/tiny-slider"
- copied "/Users/tobiasberge/www/platform/src/Storefront/Resources/app/storefront/node_modules/bootstrap" to "/Users/tobiasberge/www/platform/src/Storefront/Resources/app/storefront/vendor/bootstrap"
- copied "/Users/tobiasberge/www/platform/src/Storefront/Resources/app/storefront/node_modules/flatpickr" to "/Users/tobiasberge/www/platform/src/Storefront/Resources/app/storefront/vendor/flatpickr"

✓ Done, all directories / files copied successfully.
Execution time: 167.880917ms
> @php bin/console theme:compile
Start theme compilation

 Compiling theme for sales channel for : 018e13c4f03670739042fc11ef720fcb

 ! [NOTE] Took 1.931193 seconds

I can also see the console.log with init as well as the apps <script> tag.

Maybe you can try again with the latest rc-4 or trunk since it was tested with rc-2.
And you always have the option to rename everything to PascalCase then you are on the safe side. This works the same in 6.5 and 6.6.

Hello @tobiasberge,
Thank you very much for your detailed answer!
Sorry for replying only now (missed the notification).
I've just tried it with rc-4 (using bin/build-storefront.sh) and now it works correctly.
So maybe something was wrong with rc-2, rc-3.
It's definitely a good idea about renaming to PascalCase, but what if we already have an app registered in Shopware Store and it's technical name has underscore in it's name (the hint there says that 'the technical name is unique and can't be changed afterwards')? I suppose it will be hard to change the name there:)
But certainly for new extensions we should follow PascalCase.
So, as a conclusion: no more bug in <IP_ADDRESS>-rc-4.
Of course, it would be nice to know what the cause was, but at least everything works now.
Should I close the issue, or will you do it with some comment from your side (or some further investigation if required)?

Hi @averet-lea,
thank you for testing and for your feedback. 👍 I would say if you already have an app with this naming and everything works for you at the moment, it is fine to keep it this way. I can totally understand that it can be a headache to change it afterwards. But for future Apps/Plugins I would stick with PascalCase.
If the issue is resolved for you, you can already close it. In the meantime we will check what change fixed it and post another comment.


[chip,flash_ctrl,conn] flash_ctrl_nvm_debug_en test (connectivity)

This PR has the test to address #15273
This is a formal connectivity test.
Signed-off-by: Jaedon Kim<EMAIL_ADDRESS>

redundant to #15102


RESET_RESOURCES action type

Resets a slice to the original state, removing all resources, meta, and labels.
Optionally, pass a label to scope the reset to that label.

I'm going to close this for now. It may be included in the core one day, but it's straightforward to write a plugin for this.


Fix feature flagging for abomonation-serialize

The tests can now be run without the abomonation feature. Also fixes a bug in the feature flagging for abomonation.
This issue came up in the discussion of #283.
@WaDelma @ChristopherRabotin does this take care of your issue?

Your changes seem to fix the abomonation-serialize issue, but it doesn't fix the rest of the default test suit, but I'm not sure if the additional fixes should come in this PR or another one.
Running cargo test fails with the following:
error[E0432]: unresolved import `na::debug::RandomSDP`
 --> tests/linalg/cholesky.rs:4:5
  |
4 | use na::debug::RandomSDP;
  |     ^^^^^^^^^^^^^^^^^^^^ Could not find `debug` in `na`

error: cannot find macro `quickcheck!` in this scope
 --> tests/geometry/isometry.rs:9:1
  |
9 | quickcheck!(
  | ^^^^^^^^^^

error: cannot find macro `quickcheck!` in this scope
  --> tests/geometry/point.rs:90:1
   |
90 | quickcheck!(
   | ^^^^^^^^^^

error: cannot find macro `quickcheck!` in this scope
 --> tests/geometry/quaternion.rs:6:1
  |
6 | quickcheck!(
  | ^^^^^^^^^^

error: cannot find macro `quickcheck!` in this scope
  --> tests/geometry/rotation.rs:21:1
   |
21 | quickcheck!(
   | ^^^^^^^^^^

error: cannot find macro `quickcheck!` in this scope
 --> tests/geometry/similarity.rs:6:1
  |
6 | quickcheck!(
  | ^^^^^^^^^^

error: cannot find macro `quickcheck!` in this scope
 --> tests/geometry/unit_complex.rs:6:1
  |
6 | quickcheck!(
  | ^^^^^^^^^^

error: aborting due to 7 previous errors

error: Could not compile `nalgebra`.
warning: build failed, waiting for other jobs to finish...
error: build failed

I also think that there should be an extra line in the .travis-ci.yml file to test the library without any optional feature since, I suspect, most people use the library without these extra features.

@aepsil0n Thanks!


Tracy module should not require python -m tracy calls for power users familiar with cProfiler

Remove the requirement for calling python functions with python -m tracy in order to get profiler python with tracy.
tracy.Profiler should set the sys.set_profile function as part of its constructor.
python -m tracy can override this if no python profiling is explicitly asked in CLI options.
Also in this ticket, cleanup tracy under tt-eager folder.

Remove tracy_state.py
Remove tt_libwrapper from both C++ and python side

@TT-billteng This is per our discussion on Thursday.


Create new file

Would it be possible to add the ability to create a new file using this extension (i.e. a sudo touch filename)?
For background, if I try to create a file in a directory where I need sudo privilege I get this error in VS Code.

Aw, bummer. I was really hoping you could add the functionality to file explorer on the side bar. It's much nicer to place a file/folder exactly where you want with the GUI.

Thank you--adding a file as root works great! 💯
Though I did notice that I wasn't able to create a folder or delete files/folders. If possible these could help round out this new feature. 😁 If not, no worries, I appreciate you adding the "Create file as root" option already. 👍🏼


Naming changes

changing the names of some functions and variables within lucy for better clarity

!ci-nightly-me

!ci-build-me

!ci-nightly-me


Enhanced UI

ref issue: #13
Added haptics for mobiles (the haptics right now works only in android as ios browsers do not support new HTML update)
https://user-images.githubusercontent.com/97425135/195155868-b9e66547-220a-4089-a6a6-6fbf369d9aff.mp4
https://user-images.githubusercontent.com/97425135/195155816-f4cc83e7-0a2b-4122-bc74-8ea581e1af78.mov
Responsive

@Dev-Code24 Awesome work but can you make animations fast for toggle and Burger


php implementation

Thanks for your PR! However, I have decided to link to third-party implementations instead of hosting them within this repo. Can you move this code into another repo and change this PR to link to your code from this repo's README?

It might make more sense to link to SRWieZ/thumbhash, as that seems to be a more complete package.


MHR

Can you add other national text files to the module, because some modules do not have corresponding fonts and cannot display text.

Install this. Make sure you have the latest nightly build from https://github.com/praydog/REFramework-nightly/releases/
CJK font.zip


Assumes incorrect root path

Using this in May 2023 with ubuntu-latest fails with the following error message (redacted actual file names)
Attempting to parse file: /home/runner/work/my-project/my-project/kubernetes/config/secrets/my-secrets.yaml
Traceback (most recent call last):
  File "/main.py", line 25, in <module>
    parser(args.filename, args.secret_name, args.secret_value)
  File "/main.py", line 9, in parser
    with open('/github/workspace/' + filename, 'r') as fd:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/github/workspace//home/runner/work/my-project/my-project/kubernetes/config/secrets/my-secrets.yaml'

There is no /github/workspace/ directory in an ubuntu-latest runner.

Interesting, I'll attempt to reproduce then work on a fix ASAP.


Writeable configuration values

In case an application wants to provide an integrated feature (e. g. "edit" button in the GUI) to edit configuration values, it would be great to have support for writeable configuration values (possibly in a future version of this API).

I think this is not a core functionality of the ConfigJSR itself.
It is perfectly possible to register a custon ConfigSource which can do that for you.
We even built such a thing for the TCK of the ConfigJSR. Feel free to just pull it over to your project. It's ALv2 licensed, so no issue.
https://github.com/eclipse/ConfigJSR/blob/master/tck/src/main/java/org/eclipse/configjsr/configsources/ConfigurableConfigSource.java


Angular UI: Refactor metadata field used to store Entity Type

Estimate: TBD
May only require minor changes depending on how REST contract changes
This is the Angular PR corresponding to https://github.com/DSpace/DSpace/issues/2815

TICKET SIMPLIFICATION / RESCOPING
For 7.0, this ticket has been simplified to the following, based on the scoping of the corresponding REST API ticket https://github.com/DSpace/DSpace/issues/2815

Any Angular UI code that previously used an Item's relationship.type field (which stores the type of entity) should be updated to use a new dspace.item.type field. This new field will store the same value as previously, so hopefully the code can be easily updated via a replacement.
This ticket obviously will depend on https://github.com/DSpace/DSpace/issues/2815 , and therefore ideally would be done by the same team so that they could be tested together.

I'll increase the estimate here to be 2 hours (just in case).  This is ready for volunteers.


Add coveralls as a check for pull requests

Following #330, I added coveralls as a status check on pull requests, so we will be able to understand if coverage increased/decreased before we merge (and act accordingly).
In the process, I added/fixed tests to make sure all the branches of the code will get called - reached to 100% coverage across all parameters.

👍


More detail in README please

"Then you will need to set the HTTP endpoint on Twitter to point to your server and make sure the request type is set to GET"
I'm not exactly sure where to go on Twitter to set this. Please can you help? I'm deploying with Heroku.

Indeed, need of the hour is a detailed readme to help people jumpstarted with this module.

Do not hesitate to send a pull request to improve that point.
 Le Jeudi 15 janvier 2015 21h47, Narendra Vikram D<EMAIL_ADDRESS>a écrit :

Indeed, need of the hour is a detailed readme to help people jumpstarted with this module.—
Reply to this email directly or view it on GitHub.


Display total games parsed from all logfile sources somewhere on the page

I suggest to add the total of parsed games from each source to the page somewhere, maybe in the source table on about.html.

this shouldn't be too complicated to do, once I learn how the template stuff actually works

i did it


Halp (if possible) please.

I'm trying to use this for the first time after getting the following error with fancybox;
'default' is not exported by<EMAIL_ADDRESS>(imported by path/to/filename.js). For help fixing this error see https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module

If I then go and add the config to rollups config object as per docs;
commonjs({
    sourceMap: false,
    namedExports: {
<EMAIL_ADDRESS>: [ 'somename' ]
    },
}),

I then see this instead;
Could not resolve 'somename' from path/to/filename.js

I'm not sure what part of the documentation I am missing to get this working.
Thanks so much for your time!

FWIW many years later, the namedExports key has the .min.js file but should probably be the module name like @fancyapps/fancybox.


baremetal upi fails to install with hotfix

Hello,
I'm trying to install okd on baremetal upi in a 3 master configuration 0 workers.
However it keeps failing to install the masters
I'm using
okd_version: 4.7.0-0.okd-2021-04-11-124433
fedora_coreos: 33.20210217.3.0
I got everything working with okd 4.6.0-0.okd-2021-01-23-132511 and fedcos 32.20201104.3.0 but the upgrade procedure adds many hours to the installation procedure which is why I'm trying to get things to work with the latest versions.
The bootstrap node is ok, it installs 33.20210217.3.0 then after a while it pivots and reboots into 33.20210328.3.0 and after some more time I can see on my loadbalancer it's listening for nodes to check in.
The master nodes however don't check in
Even if I apply the suggestion from the dns and fcos workaround
The bootstrap node works fine with or without the workaround.
However the master nodes fail with and without the workaround.
The main giveaway of this error is loudly being flooded on the master nodes.
[::1]:53: read udp [::1]:60125->[::1]:53: read: connection refused
Strange thing is that the ignition file for the master looks identical with or without the workaround.
I guess I'm doing a silly typo in my okd-configure-master-node-dns.yaml file
My okd-configure-master-node-dns.yaml:
---
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
  labels:
    machineconfiguration.openshift.io/role: master
  name: okd-configure-master-node-dns
spec:
  config:
    ignition:
      version: 3.2.0
    storage:
      links:
        - path: /etc/resolv.conf
          overwrite: true
          target: ../run/systemd/resolve/resolv.conf
      files:
        - contents:
            source: data:text/plain;charset=utf-8;base64,W1Jlc29sdmVdCkROU1N0dWJMaXN0ZW5lcj1ubwo=
          mode: 420
          overwrite: true
          path: /etc/systemd/resolved.conf.d/50-no-dns-stub.conf

my master.ign (looks the same with or without the workaround)
{
    "ignition": {
        "config": {
            "merge": [
                {
                    "source": "https://api-int.okd.example.com:22623/config/master"
                }
            ]
        },
        "security": {
            "tls": {
                "certificateAuthorities": [
                    {
                        "source": "data:text/plain;charset=utf-8;base64,<my base64 encoded cert>"
                    }
                ]
            }
        },
        "version": "3.1.0"
    }
}

Version
okd_version: 4.7.0-0.okd-2021-04-11-124433
fedora_coreos: 33.20210217.3.0
How reproducible
install fedcos on the master and reboot it
(pxe install with static ip config in the pxe)
Log bundle
Sadly no use since I cannot login to the master nodes yet.

Please attach log bundle

The bootstrap node is ok

OK as in boots or completes the bootstrap?

The master nodes however don't check in

Do not check in as nodes in the cluster or on load balancer?

The main giveaway of this error is loudly being flooded on the master nodes.

Error on the boot sequence of the masters or in some service?

[::1]:53: read udp [::1]:60125->[::1]:53: read: connection refused

That means "masters can't access DNS server"

My okd-configure-master-node-dns.yaml:

Its not required. Masters would apply a similar change during pivot.

After doing more digging the system behaves erratically, now one master server can download the url and another cannot even pxe boot properly.
looks like my hardware and/or pxe setup needs attention.
Just very strange that it always works when using the old okd and fedcos it never fails gotta look into that.
Sorry to waste your time.
Thanx for your help
Please close this issue.
Rob