Unify schema on FLEX Interactive

Interactive Graph Schema has been adapted to the new unified schema via the following PRs:
https://github.com/alibaba/GraphScope/pull/3744
https://github.com/alibaba/GraphScope/pull/3725
https://github.com/alibaba/GraphScope/pull/3696


No way to recover from lost connection

If the app ever gets into a state where it finds no internet connection, there is no way to reset it / there is no automatic recovery.
The only way to fix this that I've found is to quit and restart gitify.

Hello @bradzacher! Thank you for opening the issue! This is related to #284 and it has been fixed in version 2 which will be out soon!

Hello @bradzacher! Version 2 is now out so this one should be fixed!


ENH: special: Add a real dispatch to loggamma

It is supported on the domain x >= 0. Closes gh-7970.

Demo:
>>> import scipy.special as sc
>>> h = 1e-8
>>> x = 1.5
>>> sc.loggamma(x + 1j*h).imag/h
0.036489973978577256
>>> sc.digamma(1.5)
0.036489973978576534
>>> sc.loggamma(x)
-0.12078223763524526

just a clarification, I'm not sure I understand correctly what this does:
Does this restrict now the domain for real inputs in loggamma?
I thought you needed two separate functions, the current loggamma that always does the correct thing and always returns complex, and an extended function like gammaln, that only works for the range where the outcome is real if the input is real and returns float if float was the input.
Isn't restricting the domain of loggamma for real inputs a break in backwards compatibilty?

From the usage in stats this is what we need, i.e. return the dtype corresponding to the input dtype if x>0.
The solution itself, IIUC, is also fine, to get a solution over the full domain we need to specify complex inputs as in np.sqrt(-2 + 0j) instead of np.sqrt(-2).
My initial worry was about changing the behavior of the current loggamma, and I had expected two functions.

Does this restrict now the domain for real inputs in loggamma?

Now complex and real inputs are allowed; it just restricts real inputs to x >= 0 where gammaln agrees with loggamma. So no back-compat break while hopefully allowing you to just use loggamma for your applications.

float x<0 was allowed before in loggamma and returned complex, now it returns nan, or do I see this incorrectly?
(just using loggamma like this would solve our needs)

float x<0 was allowed before in loggamma and returned complex, now it returns nan, or do I see this incorrectly?

That's true... before the argument was upcast to complex. I guess that is a back-compat break. Thoughts @pv?

Yes, this is a backward-compat break, but I think this behavior for loggamma is correct.
Since loggamma is a recent addition, we have more leeway with it than with gammaln.
I would perhaps even risk a backward compat break without warning...

I would perhaps even risk a backward compat break without warning

Ok, let me know if you want deprecation warnings etc. added; otherwise I will leave it as is.

This looks good to me. @pv @rgommers do you have further comments for this?

not from me


Fail less hard if hacbs test data isn't found

If the pipeline is missing or doesn't have the expect test result,
we get the following error and the task fails.
find: '/shared/ec-work-dir/data': No such file or directory
This makes the task succeed either way and lets the policy check
deal with the missing results.
Actually I think just mkdir -p $DATA_DIR would have fixed this,
but it feels nicer to create an empty hash under the top level
'test' key.

With this patch applied:
[fetch-test-data] Error from server (NotFound): pipelineruns.tekton.dev "asdfasdf" not found
[fetch-test-data] sha256sum: 074a20bf0663f79925cf727061c091fb95431816065ec37339cea65e544a3fd7
[fetch-test-data] /shared/ec-work-dir/data/test/data.json

...continues to next step...

Notice the oc get error doesn't cause the task to fail.
Without this patch:
[fetch-test-data] Error from server (NotFound): pipelineruns.tekton.dev "asdfasdf" not found
[fetch-test-data] find: '/shared/ec-work-dir/data': No such file or directory
[fetch-test-data] sha256sum: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
[fetch-test-data] find: '/shared/ec-work-dir/data': No such file or directory

[verify-attestation-with-policy] 2022/04/28 21:01:29 Skipping step because a previous step failed

I was wondering if we should fail explicitly with a useful message in this scenario, but since this task will be removed some day, I figure it's not worth spending a lot of time on that. And much more convenient for hacking and demos if it doesn't fail.

Should show-data be patched to handle the missing data directory, so another script doesn't run into this?

Should show-data be patched to handle the missing data directory, so another script doesn't run into this?

I thought about that, but it seems like the scripts should be able to depend on the dir existing. Perhaps the solution is to ensure it's created early on somehow.

Should show-data be patched to handle the missing data directory, so another script doesn't run into this?

I thought about that, but it seems like the scripts should be able to depend on the dir existing. Perhaps the solution is to ensure it's created early on somehow.

Not super important since this is going away soon, but fetch.sh seems like a good candidate for init/setup work.

Yeah good idea. I put a couple of mkdir -p commands in there so we can stop worrying about the dir not existing.


[CARBONDATA-2809][DataMap] Block rebuilding for bloom/lucene and preagg datamap

Problems & RootCause:
For non-lazy (not deferred rebuild, which is by default) index datamap, the data of datamap will be
generated immediately after:

the datamap is created
the main table is loaded
So there is no need to rebuild this datamap.
Actually, it will encounter error if we trigger rebuilding for these
datamaps due to the existence of old data.

The situation for preagg is the same.
Solution:
We will block rebuilding for bloom/lucene and preagg datamap as well as creating them with 'deferred rebuild' in carbondata 1.4.1.
Later we will optimize the full rebuilding and incremental rebuilding for these datamaps.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[x] Any interfaces changed?
NO
[x] Any backward compatibility impacted?
NO
[x] Document update required?
NO
[x] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
NO
- How it is tested? Please attach test report.
Tested in local
- Is it a performance related change? Please attach the performance test report.
NO
- Any additional information to help reviewers in testing this change.
NA
[x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
NA

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7706/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6432/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6098/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6108/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7715/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6441/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6489/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7765/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6147/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6148/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6177/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6178/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7799/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6523/

@xuchuanyin Please check MVTests, it is failing

@ravipesala
Fixed.
The root cause is that MV is actually 'deferred rebuild', but we didn't specify it while we create the datamap.
To make compliance, we will enable 'deferred rebuild' for MV datamap no matter whether the flag is enabled by user or not.

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/6182/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7803/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6527/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/7806/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/6530/

LGTM


Filter out existing deprecated bundles on repo/tag read

see https://chainguard-dev.slack.com/archives/C07Q5H2QH2M/p1729001895893469

im going to close this because i think it is unrelated


MB-9252 TOO can see SIT Extension Request History (front-end)

Description
TOO can view SIT extensions history for a shipment including:

days added, reason, office remarks (could be nil), and contractor remarks (could be nil)
All UI changes follow the provided design
Add tests including e2e if applicable WIP
Add a story to storybook with this new information

Setup
Add any steps or code to run in this section to help others prepare to run your code:
Load the SIT extensions move to the DB
DEVSEED_SUBSCENARIO=sit_extensions make db_dev_e2e_populate

Build and run the office app:
make server_run
make office_client_run

To check storybook changes locally:
make storybook

Cypress updates are WIP
Code Review Verification Steps

[ ] If the change is risky, it has been tested in experimental before merging.
[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.
Any new migrations/schema changes:

[ ] Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Screenshots

Warnings

:warning:

Files located in legacy directories (src/shared or src/scenes) have
been edited. Are you sure you don’t want to also relocate them to the new file structure?
View the frontend file org ADR for more information

Messages

:book:
:link: MB-9252

  Generated by :no_entry_sign: dangerJS against dd6066c855cd3b542e96729ae9cee2a85db5ca14

When I try to look at the Shipment SIT Extensions default story on storybook I get this error feedback:
TypeError
sitExtensions is undefined
Call Stack
 ShipmentSITExtensions
  main.iframe.bundle.js:75548:32
 renderWithHooks
  vendors~main.iframe.bundle.js:279448:27
 mountIndeterminateComponent
  vendors~main.iframe.bundle.js:282274:13
 beginWork
  vendors~main.iframe.bundle.js:283512:16
 callCallback
  vendors~main.iframe.bundle.js:268408:14
 invokeGuardedCallbackDev
  vendors~main.iframe.bundle.js:268457:16
 invokeGuardedCallback
  vendors~main.iframe.bundle.js:268519:31
 beginWork$1
  vendors~main.iframe.bundle.js:288422:28
 performUnitOfWork
  vendors~main.iframe.bundle.js:287234:12
 workLoopSync
  vendors~main.iframe.bundle.js:287165:22

It might be possible the the hand off of testProps is happening in a way where there's some undefined fun going on by the time we get here.


Can't set initial coordinates of viewer

Problem to my usage is I am using centered view for my graph but it still initially viewed as non centered graph.

and is there a way to set initial zoom level


Properly handle null in PortRangeValidator

Fixes #5684

The change causes the PortRangeValidator to reject a null value. Is that intentional? It would be inconsistent with the other validators as they accept a null value. I think rejecting a null value should be handled by @NotNull.


for loops could be supported with a compiler fix

Here's the test that runs against the almost branch:
https://github.com/disruptek/cps/blob/almost/tests/fors.nim
import testes
import cps

type
  C = ref object of RootObj
    fn*: proc(c: C): C {.nimcall.}

proc trampoline(c: C) =
  var c = c
  while c != nil and c.fn != nil:
    c = c.fn(c)

testes:

  block:
    proc loop() {.cps: C.} =
      for i in 0 .. 3:
        discard
    trampoline loop()

Here's the broken rewrite; CPS doesn't know what to do with the var i statement.  I don't even understand how it passes through sem successfully to reach our macro...
 16  proc foo() =
 17    block :tmp:
 18      var i
 19      ## An alias for `countup(a, b, 1)`.
 20           ##
 21           ## See also:
 22           ## * [..<](#..<.i,T,T)
 23      var res = 0
 24      block :tmp:
 25        while res <= 3:
 26          i = T(res)
 27          discard
 28          inc(res, 1)

#84 has the walkaround

The AST is so very awful that we cannot use getImplTransformed and so this effort is being killed in favor of a more manual transformation.  :skull:

We could always file this as a CPS  issue on nim and pass it to Araq

He would tell us that we made our bed when we chose to do this outside the compiler, and now we get to lie in it.  And he's not wrong.


FE-831 Feature/refactor claim manual details

Why?
Claim Wizard step 3: Enter Gateway Details Manually
How?

Removed the previous ClaimWifiVerifyFragment and replaced it with ClaimWifiManualDetailsFragment along with the respective changes in the layouts.
Cleaned up some not needed anymore parts of the code.

Testing

The UI is different on M5 and D1
The validation of the input works properly
The button enable/disable functionality works properly

Ready for review!


Update snakeyaml to 2.1

About this PR
📦 Updates org.yaml:snakeyaml from 2.0 to 2.1
📜 Release Notes - Release Notes - Release Notes - Release Notes - Release Notes - Release Notes - Release Notes - Release Notes - Release Notes - Release Notes - Release Notes - Release Notes - Changelog - Changelog - Changelog - Changelog - Changelog - Changelog - Changelog - Changelog - Changelog - Changelog - Changelog - Changelog
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (2.0).
You might want to review and update them manually.
.github/workflows/ci.yml
LICENSE.txt
Quickstart.sc
build.sbt
client/src/main/scala/skuber/json/PlayJsonSupportForAkkaHttp.scala
client/src/test/resources/examplePodList.json
client/src/test/resources/examplePodWithNodeAffinity.json
client/src/test/scala/skuber/api/ListQueryParamSpec.scala
client/src/test/scala/skuber/json/PodFormatSpec.scala
docs/README.md
docs/index.html

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.yaml", artifactId = "snakeyaml" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.yaml", artifactId = "snakeyaml" }
}]

labels: library-update, old-version-remains, commit-count:1

Superseded by #318.


UniFFI Dart Binding Generator Refactor and Added Async Support

Here's a summary overview of what's in this PR, some things were skipped because the codebase was in a satisfactory state, and it may not include other possible improvements (undone)... This should be enough to continue adding features

[x] Adopted modular structure for primitives (separate files for different types)
[x] Reorganized project structure for better maintainability
[x] Integrated explicit async support (async_poll, async_complete, async_free)
[x] Ensured compatibility with existing synchronous operations
[x] Implemented separate files for boolean, string, and duration types
[x] Refactored existing primitive types for consistency
[x] Enhanced record implementation with read, write, and allocation size methods
[x] Implemented comprehensive enum support, including complex variants with fields
[ ] Updated existing enum usages to leverage new capabilities
[x] Integrated external_type_package_name method
[ ] Documented usage of external type handling
[x] Combined detailed FFI type conversion with a simplified approach
[x] Implemented unified FFI conversion strategy
[x] Integrated DurationCodeType
[ ] Ensured proper usage in relevant parts of the codebase
[x] Implemented LiftRetVal struct for more precise lifting
[x] Updated existing lifting operations to use new structure
[x] Implemented refined UniffiInternalError
[x] Updated error handling throughout the codebase
[x] Merged best practices from both codebases
[x] Implemented a more structured approach to code generation
[x] Merged TypeHelpersRenderer, keeping useful methods from both codebases
[ ] Ensured consistent usage of type helpers throughout the project
[ ] Evaluated and combined the best parts of object handling
[ ] Optimized critical paths for better performance
[ ] Implemented benchmarks for key operations

I've reviewed only the newly added commits compared to what I have already seen, but I don't quite understand what is going on there. There is a lot of commented code added for an known reason but nothing really seem of material value ..?

It has become impossible to follow this. Let's fix the CI, merge this and handle the fallout from there.

It has become impossible to follow this. Let's fix the CI, merge this and handle the fallout from there.

okay


Feature/resiliency merge master

Merging master into feature/resiliency.
/cc @artursouza @halspang

@pkedy  Please, fix lint.


Upgrade spring-cloud to Edgware

I've removed the explicit bom import for spring-cloud-stream, preferring to just inherit from spring-cloud-dependencies. We would now get, among others:

spring-cloud-stream at Ditmars
spring-cloud-consul at 1.3.0
spring-cloud-netflix at 1.4.0

I tested this patch against in generator using the mono-repo setup, and everything passes:
https://travis-ci.org/erikkemperman/generator-jhipster/builds/312383978

Any idea when this will be merged?

Let wait a little bit, @PierreBesson, no hurry here IMO.
Erik already spent so much time for the other PR for mono repo. We should wait for the final decision


Call clear_meta when clearing guides with the ruler

This fixes #33995

The "clearing guides with Clear Guides menu" case has been handled by #34114
This PR fixes the "removing guides by dragging them off the ruler" case

I first tried something like set_meta(name, guides.empty() ? Variant() : Variant(guides)), as set_meta removes the metadata if the value is an empty Variant.
But the VARIANT_ARG_LIST on add_do_method uses empty Variant to mean "the parameter does not exist". So with add_do_method(root, "set_meta", name, Variant()), it complains that I'm calling set_meta with only one parameter. :disappointed:

Thanks!


Next.js app fails during build with Error: DAPR_SIDECAR_COULD_NOT_BE_STARTED

Ask your question here
We are using Next.js for building our react application.  We have followed the JavaScript SDK examples for fetching secrets using the Dapr SDK.  Everything is working fine in standalone mode, but we are getting the error below when running next build.  It appears to be awaiting the sidecar to startup during the build for some reason.  I'll post the question on Next.js project as well.
Any help would be appreciated.
"Error: DAPR_SIDECAR_COULD_NOT_BE_STARTED"

Hi @xendren, if it's a front-end application then the SDK won't work. It needs a Node runtime.
Also

It appears to be awaiting the sidecar to startup during the build for some reason

Could you share what commands you're using to start the app (with SDK) and sidecar, and share a minimum reproducible example with logs? Also curious to know, what is this next.js project?

Hi @xendren, if it's a front-end application then the SDK won't work. It needs a Node runtime.
Also

It appears to be awaiting the sidecar to startup during the build for some reason

Could you share what commands you're using to start the app (with SDK) and sidecar, and share a minimum reproducible example with logs? Also curious to know, what is this next.js project?

This is a react app using Next.js framework.  This error is occurring during the "next build" command to prepare for deployment, so this isn't even at runtime.  Next.js appears to be executing code during the build optimization process.
I have tried installing the Dapr CLI and runtime during the build, but it gets the same error.  Oddly, it will only pass the build process if the sidecar is actually running.  I'm guessing the Next.js optimization process is doing something it shouldn't.  I posted this question in hopes that someone might have some ideas.  Our next thing to try is to switch to making the sidecar calls without using the dapr js-SDK, but I was hoping to avoid that if possible.

For anyone else that encounters this problem, we were able to solve it by moving the Dapr client logic to the instrumentation.js source and enabling the instrumentation feature in the Next.js configuration.  This feature is used to execute server side code once at startup.  Here is a link to the Next.js docs on instrumentation.


Update Docker Compose Documentation

This setup works and if this is what you were looking for I can update the subsequent projects. Just wanted to make sure I got this in in time for project 2 to be released.

Yes looks great.


Better error when types differ only by their boxiness

Instead of having to figure out what is meant by error: mismatched types: expected block but found @rec(rec(vec[@stmt] stmts,<tag#1:926>[@expr] expr,node_id id) node,span span) (types differ)  rustc should just tell me that I don't need the box, maybe by using a span_note.

Maybe for a more general solution we could display some kind of structural diff of the types involved.


Lines are not responsive, they disappear when the tab breaks

Problem
Lines are HTML elements and do not replicate when the tab breaks.
Solution
Use an image to auto replicate the background.

:white_check_mark: Done!


Config changes to reflect the default branch from master to main. Please merge to complete the default branch renaming job.

Auto branch renaming content.

Docs Build status updates of commit 73992d0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Ncsdk 17724 ipc icmsg reliable bonding

Downmerge of the https://github.com/zephyrproject-rtos/zephyr/pull/52258 PR together with required icmsg rework.

With this PR the problem with test event_manager_proxy.icmsg faling on  nrf5340dk_nrf5340_cpuapp  is fixed

Outdated, commit is part of current upmerge, closing


Scroll To Top on all clicks not capturing event

I have a simple Switch in my app
<Switch>
    <Route path="/">
        <Home />
    </Route>
    <Route path="/create">
        <CreateAsset />
    </Route>
    <Route path="/asset/:assetAddress">
        {({ assetAddress }) => (
            <Asset address={assetAddress} />
        )}
    </Route>
</Switch>

In my code I have the following:
function DesktopHeaderLink(props: DesktopHeaderLinkProps) {
    const [location, setLocation] = useLocation();
    const selected = location === props.to;
    return (
        <Link
            href={props.to}
            onClick={e => {
                e.preventDefault();
                setLocation(props.to);
            }}
        >
            {props.children}
        </Link>
    );
}

I then create my links as is:
<DesktopHeaderLink to="/cards">
    <Box color="brand.orange">
        <FontAwesomeIcon icon={faLayerGroup} />
    </Box>
    <Text ml={2}>My Cards</Text>
</DesktopHeaderLink>
<DesktopHeaderLink to="/play">
    <Box color="brand.orange">
        <FontAwesomeIcon icon={faDice} />
    </Box>
    <Text ml={2}>Play</Text>
</DesktopHeaderLink>

However everytime I click the button the new page that is pushed does not scroll back to the top.
I have seen the issue #132 and have tried adding the following:
export function ScrollToTop() {
  const [ pathname ] = useLocation();

  useEffect(() => {
    window.scrollTo(0, 0);
  }, [pathname]);

  return null;
}

And then add it to my Switch as follows:
<Switch>
    <ScrollToTop/>
    <Route path="/">
        <Home />
    </Route>
    <Route path="/create">
        <CreateAsset />
    </Route>
    <Route path="/asset/:assetAddress">
        {({ assetAddress }) => (
            <Asset address={assetAddress} />
        )}
    </Route>
</Switch>

This does indeed scroll me to top however the page is not rendered anymore.

@molefrog Thakns a lot for the pointer I get much better how Switch works.
I have moved the ScrollToTop outside of the scope of the Switch and it works perfectly.
Thanks a lot for the fast response and the enlightenment.
Thanks a lot also for building wouter its so practical and lightweight.


fix Tvf supports to parse the enclose character in csv files

What problem does this PR solve?
Problem Summary:
Tvf supports to parse the enclose character in csv files
Check List (For Author)

Test

[x] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[x] Yes.

Does this need documentation?

[ ] No.
[x] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall

run buildall

run buildall

run buildall


Make CompilerPass tests less brittle/dependent on internal implementation details of compiler pass

See discussion in PR #20
Current use of mockery for testing compiler pass means test is heavily dependent on the specific implementation of the compiler pass. The tests verify that all of the methods on $container are called as a means of ensuring that certain services are created.
Instead it might be more robust to use something like:
https://github.com/matthiasnoback/SymfonyDependencyInjectionTest#testing-a-compiler-pass
This would allow testing that the desired side effects occur (services are created) instead of testing the implementation and interaction with the $container

While there's still room for improvement, we've come a LONG way since the early days of the Mockery based tests and I feel we can legitimately close this one now.
Thanks again @benglass :)


cannot compile on musl-based Linux

I'm trying compile Pony on Alpine Linux (MUSL based) and failing. is there any guidance on how to do that?

@ehudkaldor - at the moment, I don't think it is possible.
Last time I tried to compile Pony on Alpine, there were definitely a few things that were broken that need to be fixed.  I don't know that it's ever successfully been compiled with musl.  If someone wants to step up and work on resolving the issues, this ticket can be a place to track that effort.

Because I happen to have the tabs open:

the latest apk for LLVM is 3.8.1, here,
libressl is here, and
pcre2 is here


Feature Request: Custom projects

It'd be nice to have the ability to make your own authentication project. This would allow for project authentication to work, and would allow for extra customization. This could likely be done in a similar way to my fork, but I wouldn't recommend merging it directly from there as I wasn't able to test it.
Method of Doing This
This is the method that I used, but there may or may not be some other ones. First in routes/auth/generateTokens.js I made it so that it either saves the authProject as req.query.authProject or if it's not there, only then, is it saved as AUTH_POJECT.id. Under the same directory in verifyToken.js I made it send some data for cloud and comment verification, that data was the authentication project id set in generateTokens.js. From there, in lib/queue.js I simply changed the cloud data endpoint to use the data send instead of the constant; same in the comment endpoint, I just also made the author a variable that will be set to AUTH_PROJECT.author by default, but if the sent data isn't the same as AUTH_PROJECT.id then it gets the then it requests the project by the id of the sent data and grabs the author from there, then the author constant there is changed to the author variable.
That's an explanation of the changes in my fork, and the method I used for this. However, it may slow down the whole thing just a bit, as it will have to request the author of the project. It may be better to request the author of the project before it goes into the queue.

@Steve0Greatness Thanks for the PR! I will implement this as soon as possible and I will notify you here.

@Steve0Greatness Implemented in 20e3d693cc87ecca777712ba7661dffe56c249e4 and Looky1173/Scratch-Auth-Client@596c1d0998519639ba804c31fba8699e67a4160e, closing.


Discover

A new feature that will enable people to discover new music from the JPOP genre!

Cancelled.

Cancelled.


[CI] Notify Slack on star of repo workflow broken

Description
The slack.yml workflow (https://github.com/layer5io/meshery/blob/master/.github/workflows/slack.yml) is broken. This workflow is invoked whenever a GitHub user stars the layer5io/meshery repo. We have this same workflow included in all of the layer5io repos.
Expected Behavior
The community slack's #buzz channel should receive notification when this repo is starred.
Screenshots
See a recently failed workflow for error logs - https://github.com/layer5io/meshery/actions/runs/402296162

@vishal267 or @SudhanAruna, you might be interested in picking this one up.

Another recent example - https://github.com/layer5io/meshery/actions/runs/403584179

@leecalcote  Sorry for this. Issue is because of the missing indentation in line 10 ( slack.yml file).
I'll fix it ASAP.

Oh, that would be great. Thank you, @SudhanAruna

Thanks for this fix, @SudhanAruna. 👍


APPS-542 dxCompiler new London region

Test failure looks like an issue with the wdlTools GitHub package. @jdidion

It looks like this GH actions workflow failed, I'm re-running it. Is that what you usually do in these cases?
https://github.com/dnanexus-rnd/wdlTools/actions/runs/1187975993 @jdidion


Relative humidity - [TC-RH-2.1] Max-measured value doesn't match with the expected outcome of test plan

As per the testplan  in testcases [ TC-RH-2.1 ].
Its mentioned that, the value of Relative humidity needs to be verified between 1 and 10000.
Expected outcome:
Verify that the DUT response with an int16 value. Its value should be in the range of 1 and 10000.
Actual result - 0
For the test step we getting 0 only as outcome for maxmeasured value .
Exact step -./chip-tool relativehumiditymeasurement read max-measured-value 1 0

Actual logs are attached below
TC-RH-2.1 DUT.txt
TC-RH CTRL.txt

Fixed in the latest commit


Patch issue with http client being undefined in proxy-agent scope

Why
The http client was not defined on the scope of the updateCertificate function
How
Alias the EvervaultClient scope to evClient, and remove use of this within the updateCertificate function
Checklist

[X] Commit messages are formatted as per the convention, and breaking changes are marked

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Integration of go-libzfs

Integration of go-libzfs and sample usage.
As suggested in https://github.com/lf-edge/eve/pull/2502#pullrequestreview-879057702

@vk-en please take a look

@giggsoff Many thanks for you for agreeing to help me solve the build problem for this package.


After update to js-controller 3.3.1 several wrong types in log

nodejs -v && npm -v && iobroker -v
v12.22.1
6.14.12
3.3.1
tradfri 2.7.1

All other bulbs stay silent, but these 5 bulbs are set up to 'always power on' when power is restored.
2021-04-30 14:09:40.853  - warn: tradfri.0 (26233) State value to set for "tradfri.0.L-65599.lightbulb.whenPowerRestored" has wrong type "undefined" but has to be "number"
2021-04-30 14:09:40.905  - warn: tradfri.0 (26233) State value to set for "tradfri.0.L-65597.lightbulb.whenPowerRestored" has wrong type "undefined" but has to be "number"
2021-04-30 14:09:40.926  - warn: tradfri.0 (26233) State value to set for "tradfri.0.L-65601.lightbulb.whenPowerRestored" has wrong type "undefined" but has to be "number"
2021-04-30 14:09:40.932  - warn: tradfri.0 (26233) State value to set for "tradfri.0.L-65598.lightbulb.whenPowerRestored" has wrong type "undefined" but has to be "number"
2021-04-30 14:09:40.951  - warn: tradfri.0 (26233) State value to set for "tradfri.0.L-65600.lightbulb.whenPowerRestored" has wrong type "undefined" but has to be "number"

Having installed 2.7.2. the log still shows some issues:
2021-05-14 20:03:05.916  - info: tradfri.0 (30855) starting. Version 2.7.2 in /opt/iobroker/node_modules/iobroker.tradfri, node: v16.1.0, js-controller: 3.3.10
2021-05-14 20:03:06.026  - info: tradfri.0 (30855) Discovering the gateway automatically...
2021-05-14 20:03:06.102  - info: tradfri.0 (30855) Found gateway gw-abcdefghijk at <IP_ADDRESS>
2021-05-14 20:03:07.194  - info: tradfri.0 (30855) got all devices: [65573,65590,65579,65551,65591,65594,65595,65559,65580,65585,65599,65560,65589,65558,65557,65564,65576,65572,65601,65600,65598,65597,65587,65566,65563,65570,65552,65571,65542,65577,65545,65584,65546,65583,65565,65575,65581,65582]
2021-05-14 20:03:07.771  - info: tradfri.0 (30855) received all devices
2021-05-14 20:03:07.787  - info: tradfri.0 (30855) got all groups: [131079,131090,131097,131084,131085,131076,131091,131089,131087,131094,131082]
2021-05-14 20:03:07.837  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131076.color"
2021-05-14 20:03:07.838  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131076.colorTemperature"
2021-05-14 20:03:07.838  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131076.hue"
2021-05-14 20:03:07.839  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131076.position"
2021-05-14 20:03:07.839  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131076.saturation"
2021-05-14 20:03:07.839  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131076.transitionDuration"
2021-05-14 20:03:07.880  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131079.color"
2021-05-14 20:03:07.881  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131079.colorTemperature"
2021-05-14 20:03:07.881  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131079.hue"
2021-05-14 20:03:07.882  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131079.position"
2021-05-14 20:03:07.882  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131079.saturation"
2021-05-14 20:03:07.883  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131079.transitionDuration"
2021-05-14 20:03:07.919  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131082.color"
2021-05-14 20:03:07.920  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131082.colorTemperature"
2021-05-14 20:03:07.920  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131082.hue"
2021-05-14 20:03:07.921  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131082.position"
2021-05-14 20:03:07.921  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131082.saturation"
2021-05-14 20:03:07.921  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131082.transitionDuration"
2021-05-14 20:03:07.957  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131084.color"
2021-05-14 20:03:07.958  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131084.colorTemperature"
2021-05-14 20:03:07.958  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131084.hue"
2021-05-14 20:03:07.959  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131084.position"
2021-05-14 20:03:07.959  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131084.saturation"
2021-05-14 20:03:07.959  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131084.transitionDuration"
2021-05-14 20:03:07.997  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131085.color"
2021-05-14 20:03:07.997  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131085.colorTemperature"
2021-05-14 20:03:07.998  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131085.hue"
2021-05-14 20:03:07.998  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131085.position"
2021-05-14 20:03:07.998  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131085.saturation"
2021-05-14 20:03:07.999  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131085.transitionDuration"
2021-05-14 20:03:08.034  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131087.color"
2021-05-14 20:03:08.035  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131087.colorTemperature"
2021-05-14 20:03:08.035  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131087.hue"
2021-05-14 20:03:08.035  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131087.position"
2021-05-14 20:03:08.036  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131087.saturation"
2021-05-14 20:03:08.036  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131087.transitionDuration"
2021-05-14 20:03:08.072  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131089.color"
2021-05-14 20:03:08.072  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131089.colorTemperature"
2021-05-14 20:03:08.073  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131089.hue"
2021-05-14 20:03:08.073  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131089.position"
2021-05-14 20:03:08.073  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131089.saturation"
2021-05-14 20:03:08.074  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131089.transitionDuration"
2021-05-14 20:03:08.109  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131090.color"
2021-05-14 20:03:08.109  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131090.colorTemperature"
2021-05-14 20:03:08.109  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131090.hue"
2021-05-14 20:03:08.110  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131090.position"
2021-05-14 20:03:08.110  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131090.saturation"
2021-05-14 20:03:08.110  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131090.transitionDuration"
2021-05-14 20:03:08.146  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131091.color"
2021-05-14 20:03:08.147  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131091.colorTemperature"
2021-05-14 20:03:08.147  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131091.hue"
2021-05-14 20:03:08.148  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131091.position"
2021-05-14 20:03:08.148  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131091.saturation"
2021-05-14 20:03:08.148  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131091.transitionDuration"
2021-05-14 20:03:08.189  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131094.color"
2021-05-14 20:03:08.190  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131094.colorTemperature"
2021-05-14 20:03:08.190  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131094.hue"
2021-05-14 20:03:08.190  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131094.position"
2021-05-14 20:03:08.191  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131094.saturation"
2021-05-14 20:03:08.191  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131094.transitionDuration"
2021-05-14 20:03:08.194  - info: tradfri.0 (30855) State value to set for "tradfri.0.G-131091.stopBlinds" has to be type "boolean" but received type "function"
2021-05-14 20:03:08.207  - info: tradfri.0 (30855) State value to set for "tradfri.0.G-131094.stopBlinds" has to be type "boolean" but received type "function"
2021-05-14 20:03:08.224  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131097.color"
2021-05-14 20:03:08.224  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131097.colorTemperature"
2021-05-14 20:03:08.225  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131097.hue"
2021-05-14 20:03:08.225  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131097.position"
2021-05-14 20:03:08.225  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131097.saturation"
2021-05-14 20:03:08.225  - info: tradfri.0 (30855) undefined is not a valid state value for id "tradfri.0.G-131097.transitionDuration"
2021-05-14 20:03:08.253  - info: tradfri.0 (30855) State value to set for "tradfri.0.G-131097.stopBlinds" has to be type "boolean" but received type "function"
2021-05-14 20:03:08.257  - info: tradfri.0 (30855) got all scenes in group 131076: []
2021-05-14 20:03:08.291  - info: tradfri.0 (30855) got all scenes in group 131079: []
2021-05-14 20:03:08.320  - info: tradfri.0 (30855) got all scenes in group 131082: []
2021-05-14 20:03:08.351  - info: tradfri.0 (30855) got all scenes in group 131084: []
2021-05-14 20:03:08.384  - info: tradfri.0 (30855) got all scenes in group 131085: []
2021-05-14 20:03:08.417  - info: tradfri.0 (30855) got all scenes in group 131087: []
2021-05-14 20:03:08.453  - info: tradfri.0 (30855) got all scenes in group 131089: []
2021-05-14 20:03:08.485  - info: tradfri.0 (30855) got all scenes in group 131090: []
2021-05-14 20:03:08.518  - info: tradfri.0 (30855) got all scenes in group 131091: []
2021-05-14 20:03:08.549  - info: tradfri.0 (30855) got all scenes in group 131094: [196671]
2021-05-14 20:03:08.579  - info: tradfri.0 (30855) got all scenes in group 131097: []
2021-05-14 20:03:08.621  - info: tradfri.0 (30855) received all groups and scenes

Yeah I missed one location. Should be fixed in 2.7.3 which I'm planning to release this weekend.

2.7.3 released


Logging is now totally deactivated when log level is set to 255

Hi there,
First, thanks for your work, this Python wrapper is really useful!
This merge request gives the ability to totally disable logging, including the initialization pass. This is useful when PyOpenPose is used within other softwares which already use the Google Logging library, like Blender. Without this, Blender crashes due to InitGoogleLogging being called twice.
Feel free to give me your feedback on this!

Thanks for the patch.


Support for third party emotes

Support display of third party BTTV, etc emotes. Note that these emotes can have irregular dimensions, so there may be issues with displaying them inline with text.

Solved in 63f67c8d757bb0a1d11aac0e87e40435ba45b806, 5c3bbad0366037d393945585cd4525ae80e06d6d, and 209b712e7108099ad8c952046b055252a7a64156.


How to connect to h2 in memory digdag database to check the tables in DB console tool and what is the credentials to connect

Here, I used Digdag with h2 database,
I want to check the database size of h2. But i don't find any ways to connect to digdag.mv.db file.
If you anyone knows how to connect to digdag.mv.db from h2 console. Please share the knowledge.
THanks in advance,

Revanna

Hello, @revanna7226
Maybe, you can use the H2 database engine.
https://www.h2database.com/
Download jar file from https://mvnrepository.com/artifact/com.h2database/h2
and execute the following command. It will launch Web GUI.
java -jar ~/Downloads/h2-1.4.200.jar

Digdag uses PostgreSQL as first priority database. I personally recommend you to use PostgreSQL instead of H2.


Fix for Cassandra example link

I've fixed invalid link to Cassandra example.

I signed it!

Thanks, @jakon89 !


Question: en_ is not a supported Floodgate language.

Question on: _docs/geyser/translations.md

You can ignore that warning - it will just fallback to en_US.


Dashboard: Not all tags recorded / shown?

https://learn.microsoft.com/en-us/dotnet/core/diagnostics/distributed-tracing-instrumentation-walkthroughs#optional-add-status
activity?.SetTag("otel.status_code", "ERROR");
activity?.SetTag("otel.status_description", "Use this text give more information about the error");

I added this. The Dashboard shows the error icon (so otel.status_code is evaluated properly), however, I cannot find the status description anywhere (funny aside: I set "enduser.id" tag for that very activity, and that displays nicely in the Span section).
Am I looking in the wrong places or is this really not there?

Addendum: using activity?.SetStatus(ActivityStatusCode.Error, "my message"); (which is the shorthand) same result, no status description in Dashboard.

cc @JamesNK

If the only modification I make to an activity, the StatusDescription shows up, sample:
https://github.com/christophwille/OTel-de-Wille/blob/a1a3df28cf432d1d435a73eedaa01ce19ebded45/aspnet-aspiredashboard/Program.cs#L75-L89

However, in a more convoluted real-life implementation, it doesn't. I have to dig deeper whether this really is Dashboard or Activity or OpenTelemetry behavior. Roughly the code:
using var activity = SampleConfig.ActivitySource.StartActivity("SampleActivity");
activity?.SetTag("enduser.id", "my value");

// some http call

if (!response.IsSuccessStatusCode)
{
  activity?.SetStatus(ActivityStatusCode.Error, "I failed here");
}

I need to build a pared-down sample of the actual code.

Do you see your activity at all? You need to explicitly tell OpenTelemetry that you want it to listen to an activity.

https://github.com/christophwille/OTel-de-Wille/blob/8f28cc1b4aec77354ba0938dd0e7a0bb57ce94ec/aspnet-aspiredashboard/Program.cs#L115
I tried to rebuild the code that is used in the production application. However, although similar, in this case it works as expected:

Maybe, just maybe, up in the call chain there is somewhere a SetStatus for Error but without message. But it most likely is the code and not the Dashboard then.


Symbols rather than enumeration for options

[ ] @jbcaillau in functional branch, replace with symbols to be coherent with SciML style (subchoices of solvers…)

See issue 11


Updated skills section

Added Mantis Bug Tracker

Not as skilled as Bulka is but on my way to perfection


Cannot join as listener or guest

Hello there,
I am successfully able to run the react application and build the node server and i am also able to Start Presentation by selecting a PowerPoint presentation.
The issue is now when m trying to Join as listener using the conference name which i had created earlier.
getting the below error

I have printed the header and body data below in the response .

Below is the screenshot of my Conference which i started in the left and right m trying to join as listener

am I missing something?
Hope I am clear in explaining the issue.
Thank you

Thank you @edotappstore for reporting this issue, I just pushed a fixed in this commit: https://github.com/dolbyio-samples/dolbyio-web-file-presentation-service/commit/9f4c5f8c2fadb9376ff19393ca539c2cec56deee

Thanks @FabienLavocat its working now


CI updates: GitHub pages and fixes

Changelog
Main CI

Added a filter that runs the deploy step only outside forks and PRs

The new "Pages" workflow

This workflow adds automation on generation of an HTML website that displays the development-docs markdown content. The generate website si pushed and kept updated in the gh-pages branch, from which it can be deployed with GitHub Pages for free.

Side note: the SUMMARY.md file contains what is displayed in the navigation menu of that subfolder and in which order. In order to add new files they must be listed in it.
Side note 2: for more information about the Markdown syntax and feature supported see https://ldeluigi.github.io/markdown-docs/

Just re-read the PR summary about the reason for the SUMMARY.md files, makes sense to me!

Should the SUMMARY.md files be renamed to INDEX.md?
nope, SUMMARY.md is the only name that takes effect on the generated navigation menu.

Nevertheless, you can always create an INDEX.md file and include its content in the SUMMARY.md file with {! INDEX.md !}
to avoid duplicates

Can the top level README be updated to point to the github pages address.
Sure

I think we should also update the development docs to explain that any changes to the development docs get deploy to the GH Pages site when merged to main.
Right

Here it is: https://commander-spellbook.github.io/website-v2/

Hmm... looks like Github has a version of this already built in: https://commander-spellbook.github.io/website-v2/development-docs/

It's normal since the gh-pages branch isn't empty. Nevertheless, the script should take care of it and remove its contents while publishing the new one

Can the top level README be updated to point to the github pages address.

Sure

Done

I think we should also update the development docs to explain that any changes to the development docs get deploy to the GH Pages site when merged to main.

Right

Done


Build error on 1.14.9, Missing "./local" specifier

[WebServer] x Build failed in 912ms [WebServer] error during build: [commonjs--resolver] Missing "./local" specifier in "@vincjo/datatables" package
I am using svelte "4.2.18" and vite "5.2.13"

Thx for notifying.
I think i understand why. You probably import from @vincjo/datatables/local
Hopefully it is.
I published a 1.14.10 with that path
If you enconter any other issue, stick to 1.14.5, there will be no more changes or fixes until 2.0.

@vincjo
Sorry I did not get back to you on this, this did in fact resolve my problem. Thank you for the quick reply!


Custom link handler

About this issue
I don't see any mechanism through which I can handle link clicking by myself, links open by default in an external browser but I'd like to handle them myself.
Details

[X] Used library 0.24.0
[X] Kmp

Checklist

[X] Searched for similar issues
[X] Checked out the sample application
[X] Read the README
[X] Checked out the CHANGELOG
[ ] Read the FAQ

FAQ file doesn't exist any more.

Good day.
The library uses the LocalUriHandler.current to open the URL. This defaults to open in a browser on android:
https://github.com/mikepenz/multiplatform-markdown-renderer/blob/6f04f9745009f47d0fca27c4952123f07bfe9f55/multiplatform-markdown-renderer/src/commonMain/kotlin/com/mikepenz/markdown/compose/elements/MarkdownText.kt#L98
You can provide your own handler via the CompositionLocal

Oof, that's so hidden.


Issue/24

hi @veebs , @quockhanh ,
Please help me review this PR

Close this PR
Issue 24 is fixed by this one:   https://github.com/rockmelonqa/ide/pull/127


Add Path validation to SimpleDirectoryReader

Feature Description
Add Path validation to SimpleDirectoryReader e.g.
if os.path.isfile("filename.txt"):

if os.path.isdir("data"):

Originally posted by @jon-chuang in https://github.com/jerryjliu/llama_index/issues/6765#issuecomment-1624973663
Please also add unit tests with with pytest.raises
Reason
No response
Value of Feature
Prevent silent errors e.g. https://github.com/jerryjliu/llama_index/issues/6765

Description
This change includes the implementation of a new feature in the llama_index project that allows for the validation of directories and files. The motivation for this change is to ensure that the directories and files being processed by the llama_index project are valid and accessible, which is crucial for the correct functioning of the project.
This change does not fix any existing issues and does not require any additional dependencies.
Fixes:  Add Path validation to SimpleDirectoryReader #6770
Type of Change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
The changes have been tested by adding new unit tests that verify the correct functioning of the directory and file validation feature. These tests create temporary directories and files and then verify that the validation feature correctly identifies valid and invalid directories and files.

[x] Added new unit/integration tests

Suggested Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Test case1:
from llama_index import VectorStoreIndex,SimpleDirectoryReader
documents = SimpleDirectoryReader(input_files = ["test1","test2.txt"]).load_data()
index = VectorStoreIndex.from_documents(documents)
query_engine = index.as_query_engine()
query_engine.query("what is my name?")

ValueError: File test1 does not exist or is not a file.
Test case2:
from llama_index import VectorStoreIndex,SimpleDirectoryReader
documents = SimpleDirectoryReader("test1").load_data()
index = VectorStoreIndex.from_documents(documents)
query_engine = index.as_query_engine()
query_engine.query("what is my name?")

ValueError: input_dir test1 does not exist or is not a directory.


Rollout of Mimir to goat and galaxy

Motivation
We rolled out Mimir nearly everywhere on CAPA and CAPZ - besides the installations with a special setup. There we have goat with a private network setup and galacy which is our installation in china.
Todo

[ ] Test the rollout of mimir on a private network setup
[ ] Roll Mimir on goat and verify that it runs as expected

[ ] Fix any upcoming issues

[x] Test the rollout of mimir on a chinese installation
[x] Rollout Mimir on galaxy and verify that it runs as expected

[x] Fix any upcoming issues

Outcome

Mimir is rolled out to all cloud providers on capa

I rolled out galaxy:

Enabled mimir on galaxy: https://github.com/giantswarm/giantswarm-configs/pull/105
Configured missing grafana cloud url in China https://github.com/giantswarm/giantswarm-configs/commit/2599b5966d8238dc57d83c71f46d8b7598216265

@QuantumEnigmaa rolled out mimir on Goat and is trying to fix the only issue we have (https://github.com/giantswarm/giantswarm/issues/31110)

Follow up issue for phoenix https://github.com/giantswarm/giantswarm/issues/31127

Mimir is rolled out on both goat and galaxy.

Non blocking bootstrap issue in China will be addressed by phoenix: https://github.com/giantswarm/giantswarm/issues/31127
Communication issue between goat and grafana cloud is covered by https://github.com/giantswarm/giantswarm/issues/31110 which is currently blocked by https://github.com/giantswarm/giantswarm/issues/31136

Closing this one


IGNITE-13970 ThinkClient service, application, simple test

Thank you for submitting the pull request to the Apache Ignite.
In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:
The Contribution Checklist

[ ] There is a single JIRA ticket related to the pull request.
[ ] The web-link to the pull request is attached to the JIRA ticket.
[ ] The JIRA ticket has the Patch Available state.
[ ] The pull request body describes changes that have been made.
The description explains WHAT and WHY was made instead of HOW.
[ ] The pull request title is treated as the final commit message.
The following pattern must be used: IGNITE-XXXX Change summary where XXXX - number of JIRA issue.
[ ] A reviewer has been mentioned through the JIRA comments
(see the Maintainers list)
[ ] The pull request has been checked by the Teamcity Bot and
the green visa attached to the JIRA ticket (see TC.Bot: Check PR)

Notes

How to Contribute
Coding abbreviation rules
Coding Guidelines
Apache Ignite Teamcity Bot

If you need any help, please email<EMAIL_ADDRESS>or ask anу advice on http://asf.slack.com #ignite channel.

@emvdovets,
First of all, you have Travis failed. Please always check this before asking for a review.
Also, I see a lot of copy-pasted duplication, please solve this and avoid it in the future.

@emvdovets,
First of all, you have Travis failed. Please always check this before asking for a review.
Also, I see a lot of copy-pasted duplication, please solve this and avoid it in the future.

This PR is associated with a resolved ticket. Closing the PR, please reopen it if you still need it.


[graphiql] Run dropdown list

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
With multiple queries and mutations on the web editor, when I hit the run button a list of the commands are shown and if they exceed a certain number, some of them are hidden from the dropdown list.
Its only until I zoom in the UI for me to see the remaining commands.
The Z-Index of the dropdown is also overridden by those of the editors left pane overflow bars.
Expected Behavior
The dropdown, should have a maximum height that should have a scroll behavior incase the items in it exceed it's height.
The z-index of the dropdown should also be higher than those of the editor pane scrollbars.
Steps To Reproduce
1. Use the CDN provided for both the minified css and js for the HTML File.

Module pattern

[ ] graphiql-umd
[ ] graphiql-esm
[ ] graphiql-commonjs

Environment
- GraphiQL Version:latest
- OS:Windows 10
- Browser: Chrome 106
- Bundler:
- `react` Version:18
- `graphql` Version:16

Anything else?
No response

could you attach screenshot or video?

Ofcourse, Here is normal view.
As you can see, the scroll bars are on top of the dropdown

The dropdown also does not show all commands, here is the view with 33% zoom

I remember this bug in 0.x. We set the max height dynamically using vh if i recall, but that caused issues on resize of course, so we set a fixed pixel height

i think it's should be fixed with https://github.com/graphql/graphiql/pull/3183 will try it once it will be merged!

Thats Ok

@jetsstarplus you can try a fix in<EMAIL_ADDRESS>

@jetsstarplus you can try a fix in<EMAIL_ADDRESS>
Yes It is Ok now, It has a scroll behavior.
Though the scrollbar is still on top of the dropdown as in the picture below.
I'm using the latest chrome browser on windows

@jetsstarplus you can send a PR if you found a way how to fix it, I don't use windows

Ok
On Fri, 2 Jun 2023, 22:50 Dimitri POSTOLOV, @.***>
wrote:

@jetsstarplus https://github.com/jetsstarplus you can send a PR if you
found a way how to fix it, I don't use windows
—
Reply to this email directly, view it on GitHub
https://github.com/graphql/graphiql/issues/3187#issuecomment-1574236113,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMSYB5UL3RP6D5PUTHREMTDXJI7YXANCNFSM6AAAAAAYLRXICE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Support automatic closure reduction for native functions.

Support compile time reduction of closure'd references in native functions. Must consider the additional new variables in the closure and other side effects.
See https://github.com/sam-goodwin/functionless/issues/103#issuecomment-1116396779 for why this is needed.
new Function(..., () => {
   $AWS.EventBridge.putEvents(...)
})

becomes
const putEvents = $AWS.EventBridge.putEvents;
new Function(..., () => {
   $AWS.EventBridge.putEvents(...);
})

Harder Example
```ts
const myClassInstance = new MyClass();

new Function(..., () => {
   const myVar = myClassInstance;
   const myMethod = myVar.myMethod;

   myVar()
   myVar.myMethod()
   myMethod()
})

What would the output be?

Caveat: References to functions in namespaces should be simplified to keep the resulting native function bundle small.
Impacts:

Bundle Size
Invalid Bundles during tests

Example
new Function(..., () => {
   $AWS.EventBridge.putEvents(...);
})

Should be
const putEvents = $AWS.EventBridge;
new Function(..., () => {
   putEvents(...);
})

Reason

Pulumi will serialize the entirety of $AWS and all sub-variables when using the $AWS.EventBridge.putEvents form.

Using the referenced from has reduced bundle sizes by over 10x

Invalid function are created, specifically during tests, when Pulumi tries to include code generated by jest for global functions.

The referenced form seems less likely to have this issue.

Mitigation

Users can follow the pattern above
Support Automatic Reference of native integrations (future PR: )
Consider avoiding integrations in keep objects? import { awsEventBridgePutEvents } from 'functionless' instead of import $AWS from 'functioness' ?

Originally posted by @thantos in https://github.com/sam-goodwin/functionless/issues/103#issuecomment-1116396779

Is this still an issue?

No.


Changes FirstChild method to an Extension.

No biggy PR but has to be done.

I will merge this but I will also update it slightly.


Flaky BigQuery Test on Mac OS

Bug Description
BigQuery tests are failing on Mac OS and blocking PRs. Unclear whether this is a flaky test, or a genuine regression.

Here are some failing runs from 3 branches, #702 , #708 , and #711
Nothing in these PRs seems to have touched BigQuery, and there are some failing and some passing instances
https://github.com/evidence-dev/evidence/actions/runs/4505404221
https://github.com/evidence-dev/evidence/actions/runs/4504575552
https://github.com/evidence-dev/evidence/actions/runs/4503997805
https://github.com/evidence-dev/evidence/actions/runs/4501662031


feat(nuxt): warn when page uses a layout without <NuxtLayout>

🔗 Linked issue
#19392

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Resolves #19392 by adding a warning in development if layouts are present but the <NuxtLayout> component has not been used. All changes are dev-only and should be tree-shaken out.
We first add a new variable nuxtApp.payload._isNuxtLayoutUsed which is false by default. When the <NuxtLayout> component is declared, this is switched to true. A new plugin is added which runs onNuxtReady. If Nuxt Layout has not been used, then it counts the layouts registered and if this is greater than 0, displays a warning. #build/layouts provides the layouts in the src directory, as well as in any layers.
📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Agh, I commited to my main branch 😞

Please could the CI be re-run, I think it's an unrelated timeout.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (main@37d64a6). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #24116   +/-   ##
=======================================
  Coverage        ?   58.76%
=======================================
  Files           ?        5
  Lines           ?      861
  Branches        ?       46
=======================================
  Hits            ?      506
  Misses          ?      355
  Partials        ?        0

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Question: what about if you only ever declare your layouts for your page components in definePageMeta - is this no long recommended? It doesn't seem "in error" if your layouts are all declared this way, is it?
definePageMeta({
  layout: 'user-layout',
});

@nathanchase That should be totally fine and is recommended. What is the issue you are experiencing?

@nathanchase That should be totally fine and is recommended. What is the issue you are experiencing?

With the nightly build, I was noticing the warning that I had layout files but didn't use <NuxtLayout>.

Were you visiting a page with a layout defined in metadata, but not using <NuxtLayout>?

Correct.

Well, then that's exactly what this PR is meant to warn against. You have defined a layout for a page but aren't displaying that layout. Or am I missing something?

No, I have the layout defined in the meta tag, but is that not enough to indicate that the page should be automatically wrapped by that layout? Are you meant to additionally add a <NuxtLayout layout="user-layout"></NuxtLayout> around your page component, as well as add it to definePageMeta?

No, just <NuxtLayout><NuxtPage /></NuxtLayout> is enough. NuxtLayout defaults to the layout specified by the current route.

What about nested layouts?
Example:
I have a default.vue layout in /layouts.
Then I have another layout (/layouts/user-layout.vue) that is wrapped like so:
<NuxtLayout name="default">
...
</NuxtLayout>

Then in a page component, I reference the user-layout with just definePageMeta:
definePageMeta({
  layout: 'user-layout',
});

This has worked without issue until now.

Perhaps you had better create a new issue with a reproduction. This PR did not change the actual behaviour at all, only added some console logging to avoid users expecting to see a layout but not seeing one because they forgot to add <NuxtLayout> to their app. But that doesn't seem to be your situation.

Perhaps it is the absence of an app.vue altogether?

I still don't understand the issue you're having.

The problem is that I've been using layouts for months and it all works as expected, but this PR seems to think I was doing it incorrectly and sends a warning that I'm not using NuxtLayout, even though I am using <NuxtLayout name="default"> in several layout files.

So you are using it.
That sounds like a bug in how we are detecting usage, then. Could you create a reproduction?


Adding defer or async to css file

Hey there!
When building and using django-vite for production i'm unable to add a defer or async attribute to the css file that's being generated.
I'm adding it to the javascript that I import like so:
{% vite_asset 'page/main.js' defer="true" %}
While that does add it to the javascript it does not do it to the css file. Am I able to configure this in any way?
Help is appreciated!

The attributes async and defer do not exist on <link> tags (see the MDN docs), so it is impossible to add those attributes.


Update std containers

I'm currently making a std::map implementation similar to the std::vector, but it will take some time, so i pushed the known stuff to the json now (even thou they will need to be changed later anyway 😝)


hdt/gga encoders

Added hdt and gga encoders
Exported helpers module, so external packages can utilize utility functions

@chopj Thanks!
BTW are you aware of http://signalk.org/

@tkurki - Glad to help!
I haven't heard of singalk before.  Looks interesting - I'll take a look around


Deprecate with* functions on Signature

The functions are pretty much only used when creating a signature in
which case it is cheaper to stick to modifying the builder.
We should have:

Create builder once
Set all properties
Create Signature once

Instead of

Create builder
Create Signature
Re-create builder and signature again per .with call

With with* deprecated, we could have some kind of scalarBuilder:

module.add(
    Signature.scalarBuilder(FQN)
        .argumentTypes(TypeSignature.parse("array(E)"), DataTypes.STRING.getTypeSignature())
        .returnType(DataTypes.STRING.getTypeSignature())
        .typeVariableConstraints(typeVariable("E"))
        .features(EnumSet.of(Feature.DETERMINISTIC, Feature.NULLABLE))
        .build(),
    ArrayToStringFunction::new
);

But I also wonder if all these overloads are all that helpful.
E.g. compare the previous with:

module.add(
    Signature.builder()
        .name(FQN)
        .kind(FunctionType.SCALAR)
        .argumentTypes(TypeSignature.parse("array(E)"), DataTypes.STRING.getTypeSignature())
        .returnType(DataTypes.STRING.getTypeSignature())
        .typeVariableConstraints(typeVariable("E"))
        .features(EnumSet.of(Feature.DETERMINISTIC, Feature.NULLABLE))
        .build(),
    ArrayToStringFunction::new
);

Or if we want a little sugar:

module.add(
    Signature.builder(FQN, FunctionType.SCALAR)
        .argumentTypes(TypeSignature.parse("array(E)"), DataTypes.STRING.getTypeSignature())
        .returnType(DataTypes.STRING.getTypeSignature())
        .typeVariableConstraints(typeVariable("E"))
        .features(EnumSet.of(Feature.DETERMINISTIC, Feature.NULLABLE))
        .build(),
    ArrayToStringFunction::new
);

If we wanted to highlight the actual required properties, it would have to look like:

module.add(
    Signature.builder(FQN, FunctionType.SCALAR, returnType)
        .argumentTypes(TypeSignature.parse("array(E)"), DataTypes.STRING.getTypeSignature())
        .typeVariableConstraints(typeVariable("E"))
        .features(EnumSet.of(Feature.DETERMINISTIC, Feature.NULLABLE))
        .build(),
    ArrayToStringFunction::new
);

I'd tend towards 3) or 4)

Nice idea, I prefer a bit more 3, I like the returnType() call to be explicit, it seems more visible to me.

I slightly tend to 3), but 4) is also fine for me.

cc @jeeminso  this will also affect https://github.com/crate/crate/pull/16133
I'm thinking of changing the builder to only allow setting all features at once, no more individual + union
        public Builder features(Set<Scalar.Feature> features) {
            this.features = features;
            return this;
        }

        public Builder features(Scalar.Feature feature, Scalar.Feature ... rest) {
            this.features = EnumSet.of(feature, rest);
            return this;
        }

Went with 3) https://github.com/crate/crate/pull/16273


Add travis badge

Appreciate the PR but I prefer default Travis buttons displayed next to the title. Thanks for the kick in the pants :)
Cut a 2.0 and basically rewrote this from scratch. There's a small breaking change but it's much nicer. Rather embarrassed by code I wrote 6 months ago :blush:


Question - Plans to support Detox?

Just curious if there are any plans to support Detox for end-to-end tests?
Thanks!

@azamatsmith The comments feature of our documentation is intended to enable customers to suggest changes to the docs or ask clarifying questions about the docs.
The best place for feature requests is to send them through support (blue chat button in the lower-right corner of every App Center page) or here: https://github.com/Microsoft/appcenter.


Still maintained? Should we consider Luxon?

Hi folks, this looks like a great library, thank you for it.
Please don't take this the wrong way, but we're wondering about the future of moment. Based on the previous commit being ~8 months ago, most recent release over a year ago, and no commits on the v3 branch since 2017, it seems like long term plans are up in the air.
Thanks again

I recommend date-fns https://github.com/date-fns/date-fns#readme
It is lighter than moment, supports tree shaking, and still active.
If you're looking for something more familiar with moment you have DayJS which is really light https://github.com/iamkun/dayjs

I would recommend Day.js https://github.com/iamkun/dayjs.
It's just exactly the same as moment.js but only 2KB!!!

Hiya, thanks for opening this.
Moment is a mature library. There are many, many projects that depend on this codebase.
As a result, updates are not as frequent as rapidly-developing libraries.
That does not mean the code will lose correctness over time.
Of course, there are several alternatives to Moment (some mentioned here). Please use what best fits your needs.

@marwahaha, Moment might be mature, but it has many (tens to hundreds) unfixed bugs (according to the Moment issues.

That does not mean the code will lose correctness over time.

That statement might not be always true as the grammer of any language might change over the years. Just look at the German grammar. I don't say that it happens frequently, but it happens.
@xxyuk, indeed, dayjs looks much better from the size point of view, but currently its tests are implemented as a comparison of its output with the output of Moment, i.e. when Moment has a bug, dayjs has the very same bug too. Actually, this is how I have found the #5408 issue (you can follow the iamkun/dayjs#831 issue). And the issue in there I have found via romcal.
All I want is a correct output in any case. I know that English grammar is much different (and easier) that the Slovak one, but that must not be an excuse for keeping bugs as known issues.


[BUG]  Error when using custom Transformer with TabularSHAP in SynapseML

SynapseML version
0.10.1
System information

Language version (e.g. python 3.8, scala 2.12):
python 3.10
Spark Version (e.g. 3.2.3):
3.3.1
Spark Platform (e.g. Synapse, Databricks)
Amazon EKS

Describe the problem
Hello,
I encountered an issue when using the TabularSHAP module in SynapseML with a custom Transformer.I received the following error message (AttributeError: SimpleTransformer object has no attribute '_to_java').
I believe this issue may be caused by either a bug in the TabularSHAP implementation or an insufficient implementation of my custom Transformer.
Could you please help me determine whether this issue is due to a bug in TabularSHAP or a problem with my custom Transformer.If it is the latter, any suggestions for improving my implementation would be greatly appreciated.
Thank you in advice for your assistance.
Code to reproduce issue
class SimpleTransformer(
    Transformer,
    HasInputCol,
    HasOutputCol,
    DefaultParamsReadable,
    DefaultParamsWritable,
):
    inputCol = Param(
        Params._dummy(),
        "inputCol",
        "inputCol",
    )
    outputCol = Param(
        Params._dummy(),
        "outputCol",
        "outputCol",
    )
    num = Param(
        Params._dummy(),
        "num",
        "the Number of putting value",
    )

    @keyword_only
    def __init__(self, inputCol=None, outputCol=None, num=0):
        super().__init__()
        self._setDefault(num=0)
        kwargs = self._input_kwargs
        self.setParams(**kwargs)

    @keyword_only
    def setParams(self, inputCol=None, outputCol=None, num=0):
        kwargs = self._input_kwargs
        self._set(**kwargs)

    def getNum(self):
        return self.getOrDefault(self.num)

    def _transform(self, dataset):
        if not self.isSet("inputCol"):
            raise ValueError("No")

        input_columns = self.getInputCol()
        output_column = self.getOutputCol()
        num = self.getNum()

        return dataset.withColumn(output_column, F.col(input_columns) + num)

sdf = spark.createDataFrame(
    [
        [
            'iD-01',
            1,
            1,
            'a',
            4,
        ],
        [
            'iD-02',
            2,
            2,
            'b',
            3,
        ],
        [
            'iD-03',
            3,
            3,
            'c',
            4,
        ],
        [
            'iD-04',
            0,
            0,
            'b',
            1,
        ],
        *[
            [
                f'iD-SAMPLE{i}-label1',
                1,
                1,
                'a',
                4,
            ]
            for i in range(100)
        ],
        *[
            [
                f'iD-SAMPLE{i}-label2',
                2,
                2,
                'b',
                3,
            ]
            for i in range(100)
        ],
        *[
            [
                f'iD-SAMPLE{i}-label3',
                3,
                3,
                'c',
                4,
            ]
            for i in range(100)
        ],
        *[
            [
                f'iD-SAMPLE{i}-label0',
                0,
                0,
                'b',
                1,
            ]
            for i in range(100)
        ],
    ],
    schema=['ID', 'colA', 'colB', 'colC', 'colD'],
)

si = StringIndexer(inputCol='colC', outputCol='featured_colC')
st = SimpleTransformer(inputCol="colB", outputCol="newColB", num=1)
va = VectorAssembler(
    inputCols=['newColB', 'featured_colC', 'colD'], outputCol='features'
)

model = LightGBMClassifier(
    objective="multiclass",
    featuresCol="features",
    labelCol="colA",
    numTasks=3,
    useBarrierExecutionMode=True,
    categoricalSlotIndexes=[1],
    categoricalSlotNames=['featured_colC'],
)

pipeline = Pipeline(stages=[si, st, va, model])
model = pipeline.fit(sdf)

explain_instances = model.transform(sdf)

from pyspark.sql.functions import broadcast, rand
from synapse.ml.explainers import TabularSHAP

shap = TabularSHAP(
    inputCols=["colB", "colC", "colD"],
    outputCol="shapValues",
    numSamples=5000,
    model=model,
    targetCol="probability",
    targetClasses=[1, 2, 3],
    backgroundData=broadcast(sdf.orderBy(rand()).limit(100).cache()),
)

# We got some errors, "Attribution Error: `SimpleTransfomer` object has no attribute '_to_java'"
shap_df = shap.transform(explain_instances)

Other info / logs
Attribution Error: SimpleTransfomer object has no attribute '_to_java'
What component(s) does this bug affect?

[ ] area/cognitive: Cognitive project
[X] area/core: Core project
[ ] area/deep-learning: DeepLearning project
[X] area/lightgbm: Lightgbm project
[ ] area/opencv: Opencv project
[ ] area/vw: VW project
[ ] area/website: Website
[ ] area/build: Project build system
[ ] area/notebooks: Samples under notebooks folder
[ ] area/docker: Docker usage
[ ] area/models: models related issue

What language(s) does this bug affect?

[ ] language/scala: Scala source code
[ ] language/python: Pyspark APIs
[ ] language/r: R APIs
[ ] language/csharp: .NET APIs
[ ] language/new: Proposals for new client languages

What integration(s) does this bug affect?

[ ] integrations/synapse: Azure Synapse integrations
[ ] integrations/azureml: Azure ML integrations
[ ] integrations/databricks: Databricks integrations

Thanks for reporting this @TakuyaInoue-github . Looks like @memoryz  is already on the case

@TakuyaInoue-github can you show me the full error stack? I want to understand where is this error coming from.

@memoryz
Sure, The following is a stack trace of the error.
Traceback (most recent call last):
  File "/mnt/share/example/shap_example_not_working.py", line 172, in <module>
    shap_df = shap.transform(explain_instances)
  File "/opt/spark/python/pyspark/ml/base.py", line 217, in transform
    return self._transform(dataset)
  File "/opt/spark/python/pyspark/ml/wrapper.py", line 349, in _transform
    self._transfer_params_to_java()
  File "/home/user/.local/lib/python3.10/site-packages/synapse/ml/core/schema/Utils.py", line 131, in _transfer_params_to_java
    pair = self._make_java_param_pair(param, self._paramMap[param])
  File "/home/user/.local/lib/python3.10/site-packages/synapse/ml/core/serialize/java_params_patch.py", line 88, in _mml_make_java_param_pair
    java_value = _mml_py2java(sc, value)
  File "/home/user/.local/lib/python3.10/site-packages/synapse/ml/core/serialize/java_params_patch.py", line 60, in _mml_py2java
    obj = obj._to_java()
  File "/opt/spark/python/pyspark/ml/pipeline.py", line 333, in _to_java
    java_stages[idx] = stage._to_java()
AttributeError: 'SimpleTransformer' object has no attribute '_to_java'

I hope you find it useful. Thank you.

Hi, is there any update regarding this? I encountered the same error when trying to calculate SHAPs for a SparkXGBClassifier model. Thank you in advance for the information.

Hi, im having the same problem for SparkXGBClassifer! Any updates?


Add the Network option

Proposed changes

https://docs.docker.com/ee/ucp/interlock/config/
Add an entry for Networks to the Extension configuration table
Add Networks to the Example Configuration

Related issues (optional)
https://github.com/docker/docker.github.io/issues/9748

Deploy preview for docsdocker ready!
Built with commit f83911384c261a0e26380aeb5be4931b0e4cdb54
https://deploy-preview-9762--docsdocker.netlify.com

can we please revert the example config change @traci-morrison
It will break the existing default functionality

can we please revert the example config change @traci-morrison
It will break the existing default functionality

The changes are already live, so I will have to open a new PR.


Python: Complex Type support for Method functions

Motivation and Context

Added support for complex types (classes) for KernelFunctionFromMethod.
Implements #4635
Description

This PR adds a field to the KernelParameterMetadata class for type_object
When that field is filled and supplied by a KernelFunctionFromMethod decorator, it is used during invoke to cast the type.
It checks if it is a pydantic type and calls model_validate_json in that case, otherwise invokes it directly as a init (like with a str), this then also casts strs to ints for example.
Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[x] All unit tests pass, and I have added new tests where possible
[x] I didn't break anyone :smile:

Tests
Skipped
Failures
Errors
Time

967
11 :zzz:
0 :x:
0 :fire:
17.848s :stopwatch:


--locked support

I can see that the cargo chef cook command will update my dependencies during build.
Cross-referencing this with the code, I can't see a parameter to force building the dependencies with --locked, but I've only had a superficial look.
Would you merge a PR that implements this, or am I missing something fundamental?

That's not the case - if a Cargo.lock is present when cargo chef prepare is executed, it will be used when executing cargo chef cook. --locked is, de facto, the default behaviour here (caching wouldn't really work otherwise, you'd be building something different from what the actual final binary needs in terms of dependencies).

Thanks for the quick response!


worldGetAllPeds Crash To Desktop

For whatever reason, calling NativeMemory.worldGetAllPeds() will crash the game at random if the number of peds loaded is greater than 100. It's not a consistent crash, it just randomly happens if its greater than 100. The function works perfectly fine if the number of peds loaded is less than 100. Note that I haven't tested this on other pool functions, but I'd assume the same thing is happening.
This happens on all versions, including the old SHRDR2 DotNet. This also happens on both AB's scripthook and keps scripthook V2, so I think it's safe to assume that it's a C# issue.
Stack Trace:
Exception Info: System.AccessViolationException
   at RDR2DN.NativeMemory.worldGetAllPeds(Int32[], Int32)
   at RDR2.World.GetAllPeds()
   at MyProject.Main.OnTick(System.Object, System.EventArgs)
   at RDR2DN.Script.MainLoop()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()

My only logical guess would be the array (arr) parameter. The worldGetAllPeds implementation is using a C-Styled array, which is somewhat different from a C# int[] array.
I've already spent hours trying to debug this. Tried all kinds of different marshalling methods of the parameter. Just can't get it to work. Maybe someone smarter than me can figure it out.
The only other way I have thought of fixing this was just implementing these functions in C# instead of DllImporting them.

Getting back to this, and a "temporary" workaround is to add [HandleProcessCorruptedStateExceptions] attribute to World.GetAllPeds() and wrap the worldGetAllPeds() call in a try catch with no exception parameter.
Kep told me that his scripthook v2 doesn't crash as of 1491.17, but I haven't tested it.

Still an issue here. World.GetAllPeds() keeps returning empty array.

It returns an empty array when the internal call to worldGetAllPeds failed. See comment above, or check source code.

Reopened as I would like to fix this entirely instead of doing a band aid fix. Not sure if it can be fixed in C# though. Might be a problem on AB's side.

Would sound silly, but I think it's because all worldGetAll function imports are missing [In, Out] at the arr parameter. I haven't actually tested this, but I feel like that's the problem. Managed arrays should be marshalled in both ways when you call those functions. Just in case you have no idea what In and Out are, they are InAttribute and OutAttribute of System.Runtime.InteropServices. There's a document that explains how to marshal arrays.
It would be better if this runtime fetches pool handles without relying on AB's scripthook like how SHVDN fetches pool handles as you won't always have to use large buffer arrays in that way, but should be another topic. It would be worth noting that gameconfig.xml specifies the CObject pool (which Prop instances would use) should allocate a block of memory that can contain 3000 elements of CObject (yes, in RDR3, this is more than that of GTA5), though.

I believe I have already tried that in the past and it didn't work, but I'll try again just to make sure. I've already tried so many different ways to marshal that array, but none of them work.
And yes, I've heard lots of people say that the worldGetAll pool functions have been broken ever since AB rewrote his ScriptHook or whatever, but I never had any issue with them at least in C++, so I'm not sure.


Project roadmap and future plans

Hello, Do you have any plans to support DDL and other statements in parser?
Maybe you can give a few words on future plans for that project?

Thank you for your issue report.
Unfortunately, there are no plans to implement DDL in the immediate future. However, I would like to implement DDL in the future. Or, it would be nice if someone made a PULL Request for DDL.


Add more verbose output for handling unknown tagging errors

Right now when an unexplainable error occurs regarding expected build tags Wharf will panic, without much verbose information to diagnose the problem.
Update the error handling to provide more verbose information for debugging.

I tried it and got the same issue as you demonstrated yesterday:
~/go/bin/wharf -v ./yq
panic: build never constraint found for actively built go file

goroutine 1 [running]:
github.ibm.com/open-z/wharf/internal/packages.loadBuildConfigs(0xc001869140, 0xc0004e3860, 0x0, 0xc0004e3548)
        /home/itodoro/projects/wharf/internal/packages/load.go:463 +0x1d02
github.ibm.com/open-z/wharf/internal/packages.Load({0xc000410290, 0x1, 0x1}, 0x26c67aa0)
        /home/itodoro/projects/wharf/internal/packages/load.go:198 +0x10de
github.ibm.com/open-z/wharf/internal/porting.run({0xc000410290, 0x1, 0x1}, 0xc001734000)
        /home/itodoro/projects/wharf/internal/porting/port.go:135 +0x7c
github.ibm.com/open-z/wharf/internal/porting.Port({0xc000410290, 0x1, 0x1}, 0xc001734000)
        /home/itodoro/projects/wharf/internal/porting/port.go:86 +0x390
main.main1({0xc000410290, 0x1, 0x1}, {0x0, 0x0}, 0x1, 0x0)
        /home/itodoro/projects/wharf/main.go:103 +0x2fe
main.main()
        /home/itodoro/projects/wharf/main.go:69 +0x5d0

Is there a workaround for it?


[Bug]: Grounding with Gemini doesn't work, no metadata is returned

File Name
https://github.com/GoogleCloudPlatform/generative-ai/blob/main/gemini/grounding/intro-grounding-gemini.ipynb
What happened?
Grounding with Gemini doesn't work. Gemini model doesn't seem to be using the grounding source to answer the prompt. The same datasource with Palm however returns grounded responses and grounding metadata.

Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Can you provide details about the specific queries and data source you're using for grounding?

I'm using the same data source that is mentioned in the notebook that points to cloud.google.com/* and the prompt is When should I use an object table in BigQuery? And how does it store data?

Similar experience here. The grounding_metadata contains the retrieval_queries property only, but nothing that looks like citations or attributions. For example, the method print_grounding_response in the grounding example indicates that there should be attributions available, but I'm consistently not getting any.

SDK: google-cloud-aiplatform-1.53.0
Data sources: both custom data set as well as an indexed web site in Vertex AI Search and Conversation
Queries: Simple one-shot prompts

I'm a bit perplexed in general because I can set up a prompt and grounding source in the Vertex AI UI, try it out and it works okay, then click "Get Code" and execute that code and get no results. In general, results seem to be much worse using latest SDK and Gemini models, compared to the previous way of doing it and with text-bison.


Chirpy theme multilingual

Checklist

[x] I have read the newlest tutorials and know the correct effect of the functional design.
[x] There is no similar question on existing issues (including closed ones).
[x] I have tried to find the answer on Jekyll Forum and StackOverflow.
[x] My question is based on the latest code of the master branch.

Description

How can I make the Chirpy theme multilingual so that the visitor can click on a link and see all the layouts and post changes in another language?

I'd be interested in this too. I'm a german and want to have my site in german, but I also want to offer an english version for international visitors. Blog Posts might be written in either language, in cases where only one language exists, the post should say something like "this post is only available in german".


Add doc install instructions for non-root users.  Addresses #2034.

Provide instructions for installing toil without root privileges, as per @mr-c 's instructions.
Thank you @mr-c !

@diekhans I changed it up, let me know what you think!

Excellent, I made one minor suggestion.
DailyDreaming<EMAIL_ADDRESS>writes:

@diekhans I changed it up, let me know what you think!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.*

I've updated based on your suggestion!  Thanks @diekhans !

Flaky test: src.toil.test.jobStores.jobStoreTest.AWSJobStoreTest.testCleanCache

Jenkins, test this please.


chore(deps): update dependency webpack-merge to v5

This PR contains the following updates:

Package
Type
Update
Change

webpack-merge
devDependencies
major
4.2.2 -> 5.1.1

Release Notes

survivejs/webpack-merge
v5.1.1
Compare Source

Fix - Drop <reference types="webpack-dev-server" /> from index.d.ts #143

v5.1.0
Compare Source

Feature - Expose merge as default for backwards-compatibility with TypeScript. Now import merge from "webpack-merge"; works there. In CommonJS, the default alias is exposed through default property due to technical constraints.

v5.0.9
Compare Source

Fix - Don't crash on merge() and merge([]). Now {} is returned in these corner cases.

v5.0.8
Compare Source

Fix - Support Node 10 #138

v5.0.7
Compare Source

Fix - Drop tslib dependency by setting "importHelpers": false,

v5.0.6
Compare Source

Fix - Add tslib to dependencies

v5.0.5
Compare Source

Tech - Optimize build size (UMD isn't needed)

v5.0.4
Compare Source

Documentation - Use CommonJS imports at the examples. #137

v5.0.3
Compare Source

Feature - Support TypeScript out of the box. #84 #86 #95 #110 #112
Deprecation - merge.smart has been dropped as it's tricky to support all the corner cases. Instead, it's better to use the provided utilities to put together a merge that fits your case.
Deprecation - mergeStrategy has been dropped in favor of using mergeWithCustomize with customizeArray and customizeObject.
Deprecation - merge.multiple has been dropped as the functionality was too specific and it's better to implement in the user space if needed.
Breaking - merge has been moved as a regular import (i.e. import { merge } from 'webpack-merge').
Breaking - Merge customization has been moved behind mergeWithCustomize.
Breaking - Bump supported Node version to 12
Feature - customizeArray supports wildcards now. Example: 'entry.*': 'prepend'. #45 #99
Feature - Throw an error in case a Promise is being merged. It's better to wrap configuration within a Promise and merge inside it. #81
Fix - Drop lodash in favor of simpler dependencies. #134
Fix - Make unique merge from right to left to match behavior elsewhere. #119
Fix - Make sure unique doesn't lose non-unique items to merge. #125

Special thanks to Google and Addy Osmani for supporting the work financially as it allowed me to complete the work required by the new major release.
v5.0.0
Compare Source

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

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

v5.1.12
GitHub release

Your semantic-release bot :package::rocket:


Update SecurityPolicyResourceHelper.psm1

Validate if $privilegeRights key value is not null, if it is null ConvertTo-LocalFriendlyName throws and error for empty identity input.

This change is

Codecov Report

Merging #65 into dev will increase coverage by <1%.
The diff coverage is 100%.

@@        Coverage Diff         @@
##           dev   #65    +/-   ##
==================================
+ Coverage   81%   81%   +<1%
==================================
  Files        5     5
  Lines      405   406     +1
==================================
+ Hits       331   332     +1
  Misses      74    74

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

DSCResources/SecurityPolicyResourceHelper/SecurityPolicyResourceHelper.psm1, line 173 at r1 (raw file):

            {

                If ($privilegeRights[$key]){

Can you please describe the scenario when this happens?

Comments from Reviewable

Closing as if we don't know when this happen we can't add the tests that would be missing.