feat: query plan splitting and merging

This is a feature that takes a logical query plan and splits it into a single super-plan and many sub-plans (as in "one or more").
A first implementation of this feature may be satisfied by python and substrait. A final implementation should also cover C++.
This issue requires the following tasks be completed:

[x] #22
[ ] #23

A QueryPlan is a logical query plan represented as a DAG. If a plan operator has multiple parents, then the operator represents a shared sub-query.
A SuperPlan is a logical query plan with anchor points where it can match against a root of a SubPlan. Similarly, a SubPlan is a logical query plan with an anchor point at its root where it matches a leaf of a SuperPlan. Without these anchor points, a SuperPlan or SubPlan is (practically) no different from a QueryPlan.
The list<SubPlan> output by SplitPlan represents a logical query plan without a single root (a DAG). This may happen in the case that a sub-plan is a non-trivial split in the middle of a logical query plan. This occurs in the below example if both Proj operators (and their sub-trees) are in the sub-plan and all other operators are in the super-plan. For this example, while the entire sub-plan could be represented as a single DAG, this task will initially represent the sub-plan as a list of SubPlans where each Proj is a distinct tree. This simplifies how data is streamed to an upstream CS device and pushes complexity into a control flow protocol where the upstream CS device must request the query result for each SubPlan.
Example of a non-trivial split
Example query plan:
+--------+        +--------+        +--------+
|  Join  | <----- |  Join  | <----- |  Scan  |
+--------+        +--------+        +--------+
     ^                 ^
     |                 |
     |                 |
     |            +--------+        +--------+        +--------+
     |            |  Proj  | <----- | Select | <----- |  Scan  |
     |            +--------+        +--------+        +--------+
     |
     |
+--------+        +--------+        +--------+        +--------+
|  Join  | <----- |  Proj  | <----- | Select | <----- |  Scan  |
+--------+        +--------+        +--------+        +--------+
     ^
     |
     |
     |
+--------+
|  Scan  |
+--------+

this feature also needs documentation that should be helpful for extending to other execution engines (e.g. duckdb) and other storage interfaces (e.g. duckdb and tiledb)


adding our second doges collection

thank you!

ordinal-mini-doges meta was created by pimax1?

yes its ok :) thank you

Hello @minidogenft , how do I see that this is your collection? Do you have a website or twitter account that is related to the colelction? Maybe we can get a comment from @Pimax1 as well

Hi there, we are the same account, dev account + official account

confirmed, and we will try to update only from minidogenft account if we ever need a new pr. thanks a lot


Font size via css-class not working on mj-text

.heading {
        font-weight:bold;
        font-size:20px;
}

     <mj-section padding="0px">
        <mj-column>
          <mj-text css-class="heading" >
            Your Free Hosted Link
          </mj-text>
        </mj-column>
      </mj-section>

The only thing which works is font-weight. Font size is not applied to mj-text

Mj text has inline style so you need to override it with !important

On 22 Jul 2020, at 16:58, pavlito<EMAIL_ADDRESS>wrote:

.heading {
font-weight:bold;
color: red;
font-size:20px;
}

Your Free Hosted Link

The only thing which works is font-weight. Font size and color is not applied to mj-text
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

@iRyusa Thanks.


CWL: Pass local temporary directory to jobs

This fixes problems on shared filesystem batch scheduler systems which
do not automatically transfer TMPDIR from the parent. Failing to do this
results in jobs run on non-shared local temporary directories which are
not accessible to the parent fileStorage manager. This avoids the issue
by explicitly setting and passing a temporary directory in the defined
outdir. Required for distributed runs on SGE clusters so supplements #1105
with the necessary CWL specific fixes.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

jenkins, test this please.

jenkins, test this please.

@benedictpaten it looks like Jenkins' admins are separate from Github, Jenkins seems to be ignoring me.
The integration test failures seem unrelated so hopefully they'll pass on the next run.

jenkins, test this please


RFC: Guess config directory in install.sh?

I was wondering if we could just "guess" the config directory for each browser (as in, [[ -d ~./config/google-chrome ]] # put extension there)
The upside would be that

We could get rid of the browser selection prompt (or replace it with Chrome detected, install for Chrome? [y/n] type prompts)
We could properly detect development/canary/testing versions (#110) by just adding the config path to an array
People who use multiple browsers (for whatever reason) don't have to execute the script twice

The only downside I can see is that people might only want to install the extension for one particular browser, but that could be fixed by the prompts suggested in 1.

I like the idea, ideally have a map defined somewhere on top with browser names and their locations (so that it's easy to add new entries), and then a generic loop for all entries doing the work. Prompt is a good idea, let's do it.

I think it would make sense to do this.

Little update on this: I've implemented a rough draft of how this could look, but I'm unable to test it right now. Once I get my hands on a Linux machine again I'll try it out and submit a PR.

This install script has been mentioned in a few other tickets recently, and remembering about this ticket and the fact that we had some issues with discovering browsers based on existence of configuration folders (details in #147), I'm wondering if this is really worth doing after all.
Point number 3 (having to restart script for multiple browsers) is a valid flaw, but maybe we should just allow typing multiple digits at the same time?
Select your browser:
====================
1) Chrome
2) Chromium
3) Firefox
4) Vivaldi
1-4: 1 3 <Enter>

If we can refactor the code to simplify adding more browsers, that of course is nice too.

I think I'm going to close this and the PR due to the reasons above, let me know if you want to follow-up on any of the ideas above.


vty-5.20 build failure with microlens-0.4.9

Build failure as seen on the Stackage build server:
Building library for vty-5.20..
[21 of 36] Compiling Graphics.Vty.Input.Loop ( src/Graphics/Vty/Input/Loop.hs, .stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS>/build/Graphics/Vty/Input/Loop.o )

/Users/dan/scratch/vty-5.20/src/Graphics/Vty/Input/Loop.hs:226:21: error:
    Ambiguous occurrence ‘<>~’
    It could refer to either ‘Lens.Micro.<>~’,
                             imported from ‘Lens.Micro’ at src/Graphics/Vty/Input/Loop.hs:27:1-17
                          or ‘Graphics.Vty.Input.Loop.<>~’,
                             defined at src/Graphics/Vty/Input/Loop.hs:229:3
    |
226 | l <>= a = modify (l <>~ a)
    |                     ^^^

I was able to reproduce this error locally like so:
stack unpack vty-5.20 && cd vty-5.20
edit stack.yaml #add the following stack.yaml
stack build

# stack.yaml
resolver: nightly-2018-03-07
extra-deps:
- microlens-0.4.9

This is a duplicate of the (fixed) issue #146. Thanks!

There are a bunch of versions of vty on hackage now that don't build because they didn't have upper bounds in place on microlens, it's worth keeping this ticket open until that's fixed. I've asked @hvr about rerunning https://matrix.hackage.haskell.org/package/vty

It looks like Vty defined that operator itself starting in 5.5.0, when I ported it from lens to microlens. So all versions going back that far need to have their metadata updated. Thanks, @glguy!

I've updated the metadata for all versions starting with 5.5.0.


Fix OpenVPN CSC options. Fix #12522

Also add override/remove options for Redirect Gateways and for Block Outside DNS.

[X] Redmine Issue: https://redmine.pfsense.org/issues/12522
[X] Ready for review

The feedback/testing is appreciated - thanks!
I'm not clear on what you mean with:

the push-remove options were not processed properly

The new remove options and order look good.
The keep_minimal config item is meant to be a flag. When it's unchecked, it gets removed from the config. When checked, it gets added as an empty config item. The proposed changes would change that flag behavior. I do see that the value is not checked correctly when the page loads though, good catch!
The only reason to move push_reset into override_options is if override_options were to be used for more than one setting. Since the GUI code can determine the correct override_options selection without introducing a new config item, then push_reset can stay where it is and upgrade code isn't needed for backwards compatibility.
With the above in mind, I'm thinking 012e36e6b87cf63743e644179a15e67f38d94f77 is good. What do you think?

The feedback/testing is appreciated - thanks!
I'm not clear on what you mean with:

the push-remove options were not processed properly

The new remove options and order look good.
The keep_minimal config item is meant to be a flag. When it's unchecked, it gets removed from the config. When checked, it gets added as an empty config item. The proposed changes would change that flag behavior. I do see that the value is not checked correctly when the page loads though, good catch!
The only reason to move push_reset into override_options is if override_options were to be used for more than one setting. Since the GUI code can determine the correct override_options selection without introducing a new config item, then push_reset can stay where it is and upgrade code isn't needed for backwards compatibility.
With the above in mind, 012e36e6b87cf63743e644179a15e67f38d94f77 should be good. What do you think?

I finished a full testing.


Upgrade flow version to 0.57.3 for flow-redux example

Wanted to see if the typings for react-redux works with latest version of Flow. Most of the changes are from flow-upgrade, but change from event.target to event.currentTarget and error if root element is not found needed to be added manually.

Thanks for this!


Fix site-link key

Fix mistype in key config('twill.enabled.site-link', false) at https://github.com/area17/twill/blob/0118fe0e641cbd407664b46a15e9ff35e2418137/src/TwillNavigation.php#L180
There is should be twill.enabled.site-link instead of twill.enable.site-link

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

Thanks for spotting this @vladimirmartsul


Improvement: PHPunit 6+ compatibility

Issue:

PHPunit v6+ namespaced their TestCase class from PHPUnit_Framework_TestCase => PHPUnit\Framework\TestCase  (@see https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-6.0.0#backwards-compatibility-issues)
This means that, with phpunit 6+, running ./phpunit from Slim-Skeleton results in no tests being run
The minimum PHP version requirement for phpunit 6 is PHP 7 (@see https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-6.0.0#requirements)

Proposed Fix:
This fix brings the Slim-Skeleton's tests/Functional/BaseTestCase.php file back in line with this breaking change by:

Updating the extended PHPunit class in tests/BaseTestCase.php
Updating composer dependencies for phpunit

Possible Side Effects:
PHP no longer maintains versions < 7.0 (@see http://php.net/supported-versions.php), and so a move to PHP 7.0 would be good. But this could be an issue if the Slim user-base and/or their hosting providers are still on PHP pre-7.0.

Whatever changes we make have to work with PHP 5.5 as that's what Slim 3 supports.

Yes I did consider that this may be an issue, and it wouldn't be an issue to leave it as is with the way that you have set up the versioning composer. Perhaps one day this will become a reality :)
In the meantime I have updated my local project to cater for PHP7 and phpunit>6 as I do not have any system constraints. Thanks for a good, well-defined skeleton, it was a nice starting point 👍


Scaled path animation

Me again , sorry :)
When scaling an SVG (containing a path) up or down, the associated animation still follows the normal scaled SVG path. Is it normal ?

Unfortunately the values returned by a scaled SVG path are not proportionally scaled.
The only workaround I see is to scale the animated element and the svg path together.
This way the animation should follow the path correctly.


0.10.4 -> 0.10.5 upgrade has a hyper-rustls/webpki-roots incompatibility

A Cargo project with
[dependencies]
reqwest = { version = "=0.10.4", default-features = false, features = ["rustls-tls"] }
yup-oauth2 = "4.0"

builds fine, but changing 0.10.4 to 0.10.5 results in
# cargo build
    Updating crates.io index
   Compiling webpki-roots v0.19.0
   Compiling hyper-rustls v0.20.0
error: Must enable exactly one of rustls-native-certs (default) or webpki-roots with tokio-runtime! (note: use `default-features = false' in a binary crate for one or other)
  --> /home/at/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-rustls-0.20.0/src/lib.rs:30:1
   |
30 | / compile_error!(
31 | |     "Must enable exactly one of rustls-native-certs (default) or webpki-roots with tokio-runtime! (note: use `default-features = false' in a binary crate for one or other)"
32 | | );
   | |__^

error: aborting due to previous error

error: could not compile `hyper-rustls`.

To learn more, run the command again with --verbose.

(tested rustc 1.43.1 (8d69840ab 2020-05-04) and rustc 1.45.0-nightly (a74d1862d 2020-05-14) on NixOS)
I do not know if reqwest can or should do anything about this, I leave it up to you.

I don't quite understand, it seems to build in its own. Is it that another dependency is requiring the other feature?

We also ran into this this morning, and had to force 0.10.4 to get our builds going through CI.
All of our direct uses of reqwest look like this:
reqwest = { version = "0.10", default-features = false, features = ["rustls-tls", "json"]}

but I haven't yet had a chance to audit other dependencies to see which of them are requesting which features.

i'm seeing this failure too with this dependency line:
reqwest = { version = "0.10.5", default-features = false, features = ["blocking", "rustls-tls"] }

can we put the choice of cert source behind features, so we could choose?

We can try to publish a new version today reverting whatever change we did. At the same time, wherever this feature conflict is, it'd be good to file an issue there. Features are meant to be additive, for exactly this situation.

For us, I've boiled it down to
[package]
name = "z-2020-05-29-check-dependencies"
version = "0.1.0"
edition = "2018"

[dependencies]
reqwest = { version = "=0.10.5", default-features = false, features = ["rustls-tls", "json"]}
rusoto_core = {version = "0.43.0", default_features = false, features=["rustls"]}

rusoto_core uses hyper-rustls with the default features. https://github.com/rusoto/rusoto/blob/master/rusoto/core/Cargo.toml#L35
hyper-rustls with default feature enables rustls-native-certs<EMAIL_ADDRESS>enables webpki-roots; and that's where the conflict is.

It looks like prior to #862, reqwest didn't care which features of hyper-rustls were enabled, and after that reqwest specifically wants the webpki feature. But nothing in that pull request started depending on the existence of webpki. I wonder if we could avoid requesting any hyper-rustls features?

I've published v0.10.6 with the fix, thanks!

Or are you saying that hyper-rustls shouldn't be throwing a compile error if both features are specified?

This is what I mean.


Fixed bugs on Wiki and resolved #667

The previous version didn't diff wiki title and wiki page path. This PR will diff them clearly in variable names.

I've looked through it, didn't see any errors 🎉
If you've tested this you have my LGTM 😄

LGTM


Move more items to utils and fix clasp open

Clasp open was trying to open an object, rather than the scriptID
Moved over manifestExists, saveProjectId, checkIfOnline, and getAPIFileType
Signed-off-by: campionfellin<EMAIL_ADDRESS>Works on #133

[x] npm run test succeeds.
[x] npm run lint succeeds.
[ ] Appropriate changes to README are included in PR.

Pull Request Test Coverage Report for Build 134

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
328 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.1%) to 11.47%

Files with Coverage Reduction
New Missed Lines
%

src/utils.js
72
14.68%

index.js
256
6.71%

Totals

Change from base Build 133:
0.1%

Covered Lines:
122

Relevant Lines:
793

💛  - Coveralls

Feel free to break up utils, it's getting a bit crazy:
import { DOT, PROJECT_NAME, PROJECT_MANIFEST_BASENAME, ClaspSettings,
    ProjectSettings, DOTFILE, spinner, logError, ERROR, getScriptURL,
    getProjectSettings, getFileType, getAPIFileType, checkIfOnline,
    saveProjectId, manifestExists } from './src/utils.js';


feat: Replace @vueuse/head with @unhead/vue

🔗 Linked issue
Fixes: https://github.com/nuxt/bridge/issues/803
Fixes: https://github.com/nuxt/bridge/issues/792

❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 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)
[x] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Since @vueuse/head is scheduled to be deprecated, change to use @unhead/vue as in Nuxt 3.
Replacing @unhead/vue will fix some bugs.
📝 Checklist

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

Really nice work @wattanx. Initial review looks good, I'll have another look with fresh eyes when I have a chance.

A couple of things I noticed while testing:

async updates not working

    useHead({
      title: 'pre resolve'
    })
    await new Promise((resolve) => {
      setTimeout(() => {
        resolve()
      }, 1000)
    })
    useHead({
      title: 'post resolve'
    })

Will investigate further, I think related to the hooks.

Vue is throwing warnings on the props

[Vue warn]: "style" is a reserved attribute and cannot be used as component prop.                                                                                2:18:45 pm

found in

---> <Meta>
       <Head>

I imagine this is also the case for the nuxt 3 components as well, we should ideally just use the exported components from unhead or vueuse/head.
Will keep testing and let you know if I spot anything else

Actually the async wasn't working because I just copied the code from the head.vue page which had <Meta http-equiv="content-security-policy" content="default-src https" />, which blocked the async from resolving.
It seems like client-side works fine, just not server-side. Will see if I can find out why

An issue with using Unhead isany promises within script setup won't be resolved before rendering the meta.
Consider the following code:
<script>
export default {
  async setup() {
    const data = await new Promise(resolve => {
      setTimeout(() => {
        resolve('test')
      }, 500)
    })
    useHead({
      title: data
    })
  }
}
</script>

The SSR title would be undefined. I think this is a pretty poor DX.
The workaround is pretty simple though:
<script>
export default {
  setup() {
    const data = new Promise(resolve => {
      setTimeout(() => {
        resolve('test')
      }, 500)
    })
    useHead({
      title: data // unhead will resolve promises before rendering
    })
  }
}
</script>

I don't think we can solve for the first example without using Suspense and I don't think that's possible with nuxt/bridge.
Maybe just a documentation thing?

I don't think async script setup is possible at all with Nuxt 2, which may resolve this potential issue?


[file_selector] Selecting very large files on Android causes OOM crash

Steps to reproduce
I opened a 300 MB file on the Android side using a component, and the application crashed. This happened multiple times.
Expected results
App crashes
Actual results
Throwing OutOfMemoryError "Failed to allocate a 346750536 byte allocation with 100663296 free bytes and 178MB until OOM, target footprint 450734840, growth limit 536870912" (VmSize 12973952 kB)

E/AndroidRuntime(20784): java.lang.OutOfMemoryError: Failed to allocate a 346750536 byte allocation with 100663296 free bytes and 178MB until OOM, target footprint 450734840, growth limit 536870912
E/AndroidRuntime(20784): 	at java.util.Arrays.copyOf(Arrays.java:3670)
E/AndroidRuntime(20784): 	at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:120)
E/AndroidRuntime(20784): 	at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:95)
E/AndroidRuntime(20784): 	at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:156)

Code sample
Code sample
final List<XFile> files = await openFiles();

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Details

[✓] Flutter (Channel stable, 3.16.5, on macOS 13.5.2 22G91 darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.16.5 on channel stable at /Users/kevin/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 78666c8dc5 (2 weeks ago), 2023-12-19 16:14:14 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/kevin/Library/Android/sdk
    • Platform android-34, build-tools 33.0.1
    • ANDROID_HOME = /Users/kevin/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] VS Code (version 1.84.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

[!] Proxy Configuration
    • HTTP_PROXY is set
    ! NO_PROXY is not set

[✓] Connected device (3 available)
    • 2304FPN6DC (mobile) • a2329c3d • android-arm64  • Android 13 (API 33)
    • macOS (desktop)     • macos    • darwin-arm64   • macOS 13.5.2 22G91 darwin-arm64
    • Chrome (web)        • chrome   • web-javascript • Google Chrome 120.0.6099.199

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

We think the error occurred here, causing a memory overflow：

Thanks for filing this @CatKevin
From the logs, this seems to be an OutOfMemory issue that occurs in android and might not be an issue with flutter itself
Can you please see if this helps in your case https://stackoverflow.com/a/32245018?
Also to further investigate this issue, could you help with a minimal complete reproducible code sample that doesn’t include 3rd party plugins or complex production code and possibly a file we could upload to reproduce this issue on our end?

Currently we read and return the entire file contents, since Dart has no direct way to access a content resolver. That's not well suited to very large files, as in this case.
https://github.com/flutter/flutter/issues/91869 has some discussion about making cross_file more feature-rich in ways that would allow things like having an implementation that would let file_selector return a content resolver reference instead, and then interact with it in other ways (e.g., streaming the content incrementally).

Indeed a big-time issue with complete file data in-memory allocation upon file picking 😢
Due to this issue (OutOfMemoryError) had to choose another file picking plugin, which simply works so far: https://github.com/miguelpruivo/flutter_file_picker

fwiw, there is fast_file_picker


Add UnfinishedTasks to JobWorkerHealth and add methods for networkInfo

But only print UnfinishedTasks to jobservice report because NetworkInfo itself doesn't look too consumable yet
➜  alluxio git:(queue_length) ✗ ./bin/alluxio fsadmin report jobservice
Worker: <IP_ADDRESS>   Unfinished Tasks: 1      Load Avg: 5.7861328125, 3.99169921875, 3.75390625
Status: CREATED   Count: 128
Status: CANCELED  Count: 0
Status: FAILED    Count: 0
Status: RUNNING   Count: 1
Status: COMPLETED Count: 1477

Note here that unfinished task of a worker only contains jobs that are in "RUNNING" but not in "CREATED".
The Unfinished Tasks here is not very interesting because there is only one worker and not many running.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/7001/
Test PASSed.

@ZacBlanco: This is probably another easy one.

Ping?

Feedback addressed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/7076/
Test PASSed.

Ping?

Can you merge this for me? @ZacBlanco

merging this with other commits is getting a bit annoying.
@ZacBlanco: I'll remove every bit about the NetworkHealth from proto, in that case, are you willing to merge?

Just re-generate the proto that this PR introduced and I will merge it

There are a few other changes that conflict. (I know what they are.)

Rebased and removed NetworkHealth from wire (but left them on Reporter)

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/7166/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/7168/
Test PASSed.

Can you update the title to accurately reflect the changes now that the network info is removed?

I did but I will remove some more I guess.

done

Mind merging?

whoops thought I did yesterday. My bad

alluxio-bot, merge this please


Problem("Utf8Error { valid_up_to: 8841, error_len: Some(1) }")

I get this while trying to log in to steam-tui on a NixOS machine:
Problem("Utf8Error { valid_up_to: 8841, error_len: Some(1) }")

Using nixpkgs or the flake?

Nixpkgs, I've tried stable and unstable channels.
I didn't put the time to clone the repo and debug on my end yet.

NixPkgs is way behind, I was hoping to cut another release after #47, but I haven't worked on this in a bit

I am able to reproduce this with nixpkgs-unstable

Will close on nix release

Any updates on this issue?
Also I assume I can fix it by using the flake but Im not sure how to set it up can anyone help me here?
I added steam-tui.url to inputs but Im not sure what to do next.

Woops. Thanks for the reminder

nixpkgs is updated. Tested locally. Please reopen if another issue arises
(It's on head, will be in unstable after a few days on cache)


Update 'tomcrypt' to v1.18.2

I've followed this guide
step by step carefully. [Yes]

I've tested this package remotely and have excluded all broken builds.
Here is the links to the Travis/AppVeyor with status "All passed":

https://ci.appveyor.com/project/t0p4/hunter/build/1.0.2
https://travis-ci.org/t0p4/hunter/builds/437268540

You did something wrong, please follow this guide:

https://docs.hunter.sh/en/latest/creating-new/update.html


update npm ng2-bootstrap angular2

Hi, could you update package ng2-bootstrap on NPM to get compiled files d.ts for angular2 ?

The d.ts files are already included!? My node_modules/ng2-bootstrap directory includes all d.ts files.

yes actually d.ts files are included but if you compare github with ts and npm with d.ts, you will see than the d.ts are not updated correctly check for
type in cmd: npm install
node_modules\ng2-bootstrap\components\buttons\button-checkbox.directive.d.ts
check this file and get github download zip, compare with
node_modules\ng2-bootstrap\components\buttons\button-checkbox.directive.ts
you will see on npm that js are updated but not d.ts
in npm package, you will get only .d.ts files and in github only .ts files

The button-checkbox.directive.d.ts file from the npm package is identical with my local compiled button-checkbox.directive.d.ts file (clone the GIT repository, checkout the v1.1.5 tag and run npm install).
The v1.1.5 button-checkbox.directive.ts file matches perfectly with the button-checkbox.directive.d.ts file.
So what is the problem?

No reaction -> close...


how to execute Windows 10 explorer?

I known Windwos10 File explorer ID = "Microsoft.Windows.Explorer"
I used code

after execute code error occured
org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: 지정된 파일을 찾을 수 없습니다 (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 708 milliseconds
How to execute File explorer?

I resolved this issue
capabilities.setCapability("app", "C:\Windows\explorer.exe");


Update reference to Clustered Feature Layer in CDN

The jsdeliver URL resulted in a file not found error.

thanks for this.  jsdelivr is having some growing pains.


✨ Helm Chart for VideoQnA Application

Description
This PR introduces Helm Chart for VideoQnA application for easy setup of the application suite along with all dependencies.
Issues
N/A
Type of change
List the type of change like below. Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would break existing design and interface)

Dependencies
No Dependencies.
Tests
All helm charts are accompanied with appropriate tests.

@krish918 please fix the chart lint error and resolve the conflict, thanks!

Can we close the CI issue by today?


STORM-2646 NimbusClient Class cast exception when nimbus seeds is not an array of hosts

Can't use ["host"] it is : - > Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List at org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:76)

Hi @ecararus. Could you clarify a bit how the changes fix the issue you were seeing, and maybe also which Storm version you were seeing the issue on?
The default setting for nimbus.seeds is ["localhost"] (https://github.com/apache/storm/blob/master/conf/defaults.yaml#L61), which works fine for me when I try it locally, so I don't think there's a problem specifying a single host. We assume the configuration is a String list here https://github.com/apache/storm/blob/master/storm-client/src/jvm/org/apache/storm/Config.java#L1052.
The change in L118 is checking if the config is a String[], which I would assume doesn't work since it is usually a List<String>? If you need to be able to write nimbus.seeds: "host" instead of nimbus.seeds: ["host"], I think you should update the Config with this annotation https://github.com/apache/storm/blob/master/storm-client/src/jvm/org/apache/storm/Config.java#L1120.
Please also create an issue on JIRA https://issues.apache.org/jira and update your commit message and this PR's title to reflect the issue number (see the other PRs for example of what this should look like). Thanks.

Thank you @srdo for suggestion I've created jira issue also updated PR Title.
Inside my config file i have:
nimbus.seeds= ["somehost.org"]
nimbus.host= somehost.org # temporar fix
nimbus.thrift.port= 66270
more details about project config on jira.
About List i agree with @revans2 about validation and I would like to propose to accept single host also e.g. nimbus.seeds= somehost.org in this way we can support same configuration/behavior like it was with nimbus.host (that might be useful when host is provided by discovery or load distribution service).

@ecararus Thanks. I'm not too familiar with Flux, but going by what you listed in the issue, I'm guessing it's a problem where the ["nb.mycompany.org"] from dev.properties is being substituted into the topology.yaml as a string instead of a list.
Shot in the dark, does your topology.yaml do something like
config:
  nimbus.seeds: "${nimbus.seeds}"

If so, would it work to instead write
config:
  nimbus.seeds: ${nimbus.seeds}

@srdo my topology.yaml has:
config:
  nimbus.seeds: ${nimbus.seeds}

The property from dev.properties is loaded by FluxParser see line 100 there nimbus.seeds is treated as string and when on NimbusClient.java we try to :
 seeds = (List<String>) conf.get(Config.NIMBUS_SEEDS);

then I'm getting class cast ex. and in the exception we can see mesage Can't use ["host"] it is ....
As @revans2 suggested before cast we need to check if this is an array, in the situation described above it is configured as array of hosts but parser istreating as a string with "[host]" .

The patch right now looks fine to me, but I don't think it fixes your issue with flux.  Looking at the flux code inside FluxParser.java the ${NAME} substitution is literately a macro substitution that happens before the YAML parsing.  So if you want it to be an array you need to do like @srdo said and use ["nb.mycompany.org"] for nimbus.seeds in your properties file instead of just "nb.mycompany.org".

I'm a little confused why it doesn't work for you @ecararus. I added a bit to a Flux test to verify that it is possible to pass a list from a properties file into the Flux yaml file via FluxParser, both on master and 1.0.x. Does the diff at https://github.com/apache/storm/pull/2232 accurately reflect what your properties and yaml files contain?

@revans2 This pr will not fully fix my issue however i will not get anymore class cast exception. validation will fail according to annotation and ConfigValidator

@ecararus could you please take a look at https://github.com/revans2/incubator-storm/commit/0978338c7dd7ec23b035abb5f70ce088064bf60b
A lot of it you can ignore, but I added in a test on top of this patch into flux-core that shows that nimbus.seeds works (if you set it properly in your properties file).
Specifically the properties file needs to have in it
nimbus.seeds: ["HOST"]

and not
nimbus.seeds: "HOST"

When I change it to the latter the test fails with an exception of
java.lang.IllegalArgumentException: Field NIMBUS_SEEDS must be an Iterable but was a class java.lang.String
	at org.apache.storm.validation.ConfigValidationUtils$2.validateField(ConfigValidationUtils.java:125)
	at org.apache.storm.validation.ConfigValidationUtils$NestableFieldValidator.validateField(ConfigValidationUtils.java:48)
	at org.apache.storm.validation.ConfigValidation$ListEntryTypeValidator.validateField(ConfigValidation.java:311)
	at org.apache.storm.validation.ConfigValidation$ListEntryTypeValidator.validateField(ConfigValidation.java:306)
	at org.apache.storm.validation.ConfigValidation.validateField(ConfigValidation.java:697)
	at org.apache.storm.validation.ConfigValidation.validateFields(ConfigValidation.java:750)
	at org.apache.storm.validation.ConfigValidation.validateFields(ConfigValidation.java:711)
	at org.apache.storm.flux.parser.FluxParserTest.testCofigParamListParser(FluxParserTest.java:43)

Hello all
Thanks for advice i found the issue and fixed, i would like to apologize for misleading by pointing on FluxParser(however propertied.get(key) is returning string thanks to Yaml.load nimbus.seeds is transformed to a list).  I'm using storm-maven-plugin so the issue was there i'm calling NimbusClient by passing config as:
                in = new FileInputStream(properiesFileLocation);
                Properties prop = new Properties();
                prop.load(in);
                return config.putAll(prop);

I think we can close current issue and apply validation before usage of configuration.
Thanks everybody for help.


[BUG]: Warning Notification Manager Crush

Which Mod?
Warning Notification Manager
Description of the bug/crash
On the page of the mod in the workshop indicated version 1.4, but the mod is downloaded version 1.3.1 tried to forcibly update, did not help, tried to unsubscribe from the mod restart the game and subscribe again and installed 1.3.1.
Steam has the live branch selected, all DLC purchased.
Exception while loading mod SGTIM_NotificationManager at C:/Users/darke/Documents/Klei/OxygenNotIncluded/mods/Steam/2968008945.
System.TypeLoadException: Could not load type of field 'SGTIM_NotificationManager.Patches+SuffocationNotificationSuit+<>c:<>9__0_0' (1) due to: Could not resolve type with token 0100002e from typeref (expected class 'SuitSuffocationMonitor' in assembly 'Assembly-CSharp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null') assembly:Assembly-CSharp, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null type:SuitSuffocationMonitor member:(null)
at (wrapper managed-to-native) System.RuntimeTypeHandle.type_is_assignable_from(System.Type,System.Type)
at System.RuntimeTypeHandle.CanCastTo (System.RuntimeType type, System.RuntimeType target) [0x00000] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0
at System.RuntimeType.IsAssignableFrom (System.Type c) [0x00020] in <8ce0bd04a7a04b4b9395538239d3fdd8>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x0012b] in <05233252dc2f4934b51fa8fcc19aaaed>:0
at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <82f243aab18c4f32918da2df41974365>:0
at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <82d98ed04cc642f199bc654910617431>:0
at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <82d98ed04cc642f199bc654910617431>:0
at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <82d98ed04cc642f199bc654910617431>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <05233252dc2f4934b51fa8fcc19aaaed>:0
at KMod.Mod.Load (KMod.Content content) [0x00000] in <05233252dc2f4934b51fa8fcc19aaaed>:0
at KMod.Manager.Load (KMod.Content content) [0x00000] in <05233252dc2f4934b51fa8fcc19aaaed>:0
at Global.Awake () [0x00000] in <05233252dc2f4934b51fa8fcc19aaaed>:0
at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object , UnityEngine.Transform , UnityEngine.Vector3& , UnityEngine.Quaternion& ) [0x00000] in <82f243aab18c4f32918da2df41974365>:0
at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in <82f243aab18c4f32918da2df41974365>:0
at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <82f243aab18c4f32918da2df41974365>:0
at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <82f243aab18c4f32918da2df41974365>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.GameObject parent, System.String name, System.Boolean initialize_id, System.Int32 gameLayer) [0x00000] in <82d98ed04cc642f199bc654910617431>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <82d98ed04cc642f199bc654910617431>:0
at LaunchInitializer.Update () [0x00000] in <05233252dc2f4934b51fa8fcc19aaaed>:0
Build: U54-646687-SCR
Steps To Reproduce
Activate mod
Restart the game
Crash
Player.log
Player.log

that is one failed update,
SuitSuffocationMonitor patch was removed in 1.4

I have re-pushed the update, try if it still fails

Forced update still installs version 1.3.1

and re-subscribing too, maybe I'm doing something wrong?

ah, the issue was at my end
I accidentally targeted the "prev"-version folder on uploading ._.

The game launched normally with the mod activated! Thank you!


Move Somfy Tahoma to use local API

https://www.home-assistant.io/integrations/overkiz/ supports local APIs now, and the TaHoma switch has it enabled now.

https://github.com/Somfy-Developer/Somfy-TaHoma-Developer-Mode

Already done a while ago.


GIT has been added to 🤗 Transformers

Hi folks!
Impressive work :) as I really liked this work I decided to contribute it to 🤗 Transformers.
Documentation can be found here: https://huggingface.co/docs/transformers/main/en/model_doc/git
Users can now use GIT in a few lines of code :)
Here's a demo notebook illustrating inference with GIT for image/video captioning, and image/video QA: https://github.com/NielsRogge/Transformers-Tutorials/blob/master/GIT/Inference_with_GIT_for_image_video_captioning_and_image_video_QA.ipynb.

Does this model work with the GIT_LARGE model too?

Yes, all GIT-large checkpoints can also be found on the hub, see: https://huggingface.co/models?other=git

What's the best way to detach the text decoder from the image encoder? I want to experiment with other encoders than ViT, and finetune with the GIT text decoder. I've tried using VisionEncoderDecoderModel but can't remove the GitVisionModel. Does Hugging Face have tools for what I want to do or should I write a custom class instead?

is there a chance to get a training examples script using transformers? thanks for your work!

Thanks a lot for integrating it to transformers @NielsRogge . Just now, I added three other checkpoints, which is re-trained by removing some offensive captions in cc12m dataset. can you help integrate these pre-trained checkpoint also?

I'm not sure how to use transformers for this task, but if you use this repo, you can pay attention to the following function
https://github.com/microsoft/GenerativeImage2Text/blob/e1d90a2425e6f4c3e83e6689862b955e0029cbcc/generativeimage2text/model.py#L55

What's the best way to detach the text decoder from the image encoder? I want to experiment with other encoders than ViT, and finetune with the GIT text decoder. I've tried using VisionEncoderDecoderModel but can't remove the GitVisionModel. Does Hugging Face have tools for what I want to do or should I write a custom class instead?

@Neleac
I'm not sure how to use transformers for this task, but if you use this repo, you can pay attention to the following function
https://github.com/microsoft/GenerativeImage2Text/blob/main/generativeimage2text/model.py#L55

Thank @amsword and @NielsRogge for the great work. I find that the huggingface-version model can be faster, what is the main reason?

Could you clarify "can be faster"?

Thanks a lot for integrating it to transformers @NielsRogge . Just now, I added three other checkpoints, which is re-trained by removing some offensive captions in cc12m dataset. can you help integrate these pre-trained checkpoint also?

Yes. Adding those new checkpoints would be quite interesting. Would @NielsRogge be able to do this?

I've uploaded those checkpoints! Find them here:

GIT-large-r
GIT-large-r-coco
GIT-large-r-textcaps

@amsword I guess there are no plans to open-source the model referred to as "GIT" in the paper itself?

@NielsRogge , right. currently, only base and large.

Thanks for this work @NielsRogge !!

What's the best way to detach the text decoder from the image encoder? I want to experiment with other encoders than ViT, and finetune with the GIT text decoder. I've tried using VisionEncoderDecoderModel but can't remove the GitVisionModel. Does Hugging Face have tools for what I want to do or should I write a custom class instead?

Hi! I have a similar plan, I see the code in model.py have the get_image_encoder and get_git_model function independently, I guess if I can use them to seperate the text decoder from the image encoder, or did you resolve this problem? Could you please tell me how to accomplish this? Thanks a lot!


Modal button appears

I'm using Bootsy 2.4 with simple_form. There is a "Modal" button appearing on the page next to the submit button ... I'm not sure how to remove this or what it is for. How can I remove it?
Example code
      <%= simple_form_for [@user,@role] do |f| %>

            <%= f.input :role, readonly: true %>

            <%= f.input :fluent_language, collection: enum_option_pairs(LanguageDefinition, :language) %>

            <%= f.input :target_language, collection: enum_option_pairs(LanguageDefinition, :language) %>

        <%= f.bootsy_area :application, class: 'form-control', rows: 10, placeholder: 'Tell us about yourself, your qualifications and experience...' %>
        <%= f.submit "Apply", class: 'btn btn-success' %>
      <% end %>

I haven't seen this behaviour before... Could you please provide a sample application that reproduces the issue?

Sure thing, will do asap. In the meantime this is the generated html of the button
<button class="btn btn-default" data-toggle="modal" data-target="#modal-7323371100">Modal</button>

        <button type="button" class="close" data-dismiss="modal">
          ×Close
        </button>

Modal

Seems to have been caused by some unrelated conflicting code. Closing this as not a Bootsy issue.


Add beforeRenderPageHandler

This middleware is useful for cases like i18n : https://vike.dev/i18n.
For example when we want to redirect the user using the 'Accept-Language' header.
We need the middleware to be placed after static files and vite dev server because we don't want to redirect those files.

I'm not sure about the naming, let me know if you have a better name

I think you can do this already with the onBeforeRoute hook and<EMAIL_ADDRESS>(it now sets the request headers on pageContext):
// pages/+onBeforeRoute.ts

import { redirect } from 'vike/abort'
import type { PageContext } from 'vike/types'

export { onBeforeRoute }

function onBeforeRoute(pageContext: PageContext) {
  const { pathname, search, hash } = pageContext.urlParsed
  const headers = pageContext.headers
  const isLocaleInPathname = ...
  const acceptLanguageHeader = headers?.['accept-language']

  if (!isLocaleInPathname && acceptLanguageHeader) {
    const locale = ...
    const pathWithoutOrigin = `${pathname}${search}${hash}`
    throw redirect(`/${locale}${pathWithoutOrigin}`)
  }
}

I think you can do this already with the onBeforeRoute hook and<EMAIL_ADDRESS>(it now sets the request headers on pageContext):
// pages/+onBeforeRoute.ts

import { redirect } from 'vike/abort'
import type { PageContext } from 'vike/types'

export { onBeforeRoute }

function onBeforeRoute(pageContext: PageContext) {
  const { pathname, search, hash } = pageContext.urlParsed
  const headers = pageContext.headers
  const isLocaleInPathname = ...
  const acceptLanguageHeader = headers?.['accept-language']

  if (!isLocaleInPathname && acceptLanguageHeader) {
    const locale = ...
    const pathWithoutOrigin = `${pathname}${search}${hash}`
    throw redirect(`/${locale}${pathWithoutOrigin}`)
  }
}

Working fine, thanks!
Just had to edit
const pathWithoutOrigin = `${pathname}${searchOriginal || ''}${hashOriginal || ''}`; as search is an object


Missing word

Added a missing word to the "Flow arguments into IDesignTimeDbContextFactory" section.

Thanks!

Welcome Arthur!


It would be great if there was an auto-completion feature

hope that subsequent versions can add the auto-completion function

That was added in #152

That was added to vls in vlang/vls#152

Oh I get it. The v plugin must work with vls, and vls has implemented the auto-completion function. I didn't know vls before, I only installed the v plugin but did not open vls. However, I think the usage and setup documentation needs to be improved.


[Sprint 9 / Enhancement] Refactor Keisan

Jira Link:
https://ichiro-its.atlassian.net/browse/PI-156
Description
Adding 4 by 4 Matrix Transformation operation for 3D Transformation needed.
Type of Change

[ ] Bugfix
[x] Enhancement
[ ] New feature
[ ] Breaking change (fix or feature that would cause the existing functionality to not work as expected)

How Has This Been Tested?

[x] New unit tests added.
[ ] Manual tested.

Checklist:

[x] Using Branch Name Convention

feature/JIRA-ID-SHORT-DESCRIPTION if has a JIRA ticket
enhancement/SHORT-DESCRIPTION if has/has no JIRA ticket and contain enhancement
hotfix/SHORT-DESCRIPTION if the change doesn't need to be tested (urgent)

[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have made the documentation for the corresponding changes.

Maybe any suggestion before I move to aruku package?

Maybe any suggestion before I move to aruku package?

i think it's better to be put in here, identity() should be easy to implement, there was implementation for that on SquareMatrix, but it was removed. As for inverse() idk how hard it's going to be, it's okay though for now to implement that only for 4x4 matrix. btw, i think you could do this, make it template but for now, the implementation is only available for 4x4 matrix:
template<size_t N>
bool Matrix<N, N>::inverse()
{
  static_assert(N != 4, "only available for 4x4 matrix");
  // implementation
}

and let's put identity() as static function of Matrix, and put inverse() as a member function of Matrix.

I've moved those to matrix.hpp. For the rest, the specific task in regard to provide complete functionality of inverse method will be added.


[Python][C++] Memory leak when converting to arrow dtype

Describe the bug, including details regarding any error messages, version, and platform.
I was running valgrind on some code which uses pyarrow as a dependency.  This was leaking NumPy dtypes.  Now the issue could be downstream, but this line (and similar ones) to me look like they will leak the NumPy descriptors:
https://github.com/apache/arrow/blob/7e703aae55c150c3556fe0dc972b575460cfb86b/python/pyarrow/src/arrow/python/python_to_arrow.cc#L390
I don't see how the NumPy descriptor would ever be decref'd.  The fix would seem to first assign it to an ownedRef?  For some dtypes that may just leak a reference, but not for all (reference leak being only a nuisance when debugging references).
This like not often a problem deal in practice, although it could imagine it being a nuisance some in some very long running code.  I am not planning on running such leaks checks regularly right now, so it shouldn't affect me really.
  The reported origin of the leaked memory is:
==1392== 136 (+136) (96 (+96) direct, 40 (+40) indirect) bytes in 1 (+1) blocks are definitely lost in new loss record 146,562 of 186,418
==1392==    at 0x4849724: malloc (vg_replace_malloc.c:442)
==1392==    by 0x23186A: UnknownInlinedFun (obmalloc.c:685)
==1392==    by 0x23186A: _PyObject_New (object.c:183)
==1392==    by 0xA69EA92: PyArray_DescrNew (in .../python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-x86_64-linux-gnu.so)
==1392==    by 0xA69EBEA: PyArray_DescrNewFromType (in .../python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-x86_64-linux-gnu.so)
==1392==    by 0xA7461A9: PyArray_DescrFromScalar.part.0 (in .../python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-x86_64-linux-gnu.so)
==1392==    by 0x1692324F: arrow::py::(anonymous namespace)::PyPrimitiveConverter<arrow::TimestampType, void>::Append(_object*) (in .../python3.10/site-packages/pyarrow/libarrow_python.so)
==1392==    by 0x16901CF8: arrow::Status arrow::py::internal::VisitSequenceGeneric<arrow::py::internal::VisitSequence<arrow::py::(anonymous namespace)::PyConverter::Extend(_object*, long, long)::{lambda(_object*, bool*)#1}>(_object*, long, arrow::py::(anonymous namespace)::PyConverter::Extend(_object*, long, long)::{lambda(_object*, bool*)#1}&&)::{lambda(_object*, long, bool*)#1}>(_object*, long, arrow::py::(anonymous namespace)::PyConverter::Extend(_object*, long, long)::{lambda(_object*, bool*)#1}&&) (in .../python3.10/site-packages/pyarrow/libarrow_python.so)
==1392==    by 0x16902034: arrow::py::(anonymous namespace)::PyConverter::Extend(_object*, long, long) (in .../python3.10/site-packages/pyarrow/libarrow_python.so)
==1392==    by 0x16928A0B: arrow::py::ConvertPySequence(_object*, _object*, arrow::py::PyConversionOptions, arrow::MemoryPool*) (in .../python3.10/site-packages/pyarrow/libarrow_python.so)
==1392==    by 0x16686BD1: __pyx_pw_7pyarrow_3lib_163scalar(_object*, _object* const*, long, _object*) (in .../python3.10/site-packages/pyarrow/lib.cpython-310-x86_64-linux-gnu.so)
==1392==    by 0x16550B54: __Pyx_CyFunction_CallAsMethod(_object*, _object*, _object*) (in .../python3.10/site-packages/pyarrow/lib.cpython-310-x86_64-linux-gnu.so)
==1392==    by 0x9F91098E: __Pyx_PyObject_Call(_object*, _object*, _object*) (in .../python3.10/site-packages/cudf/_lib/scalar.cpython-310-x86_64-linux-gnu.so)

Component(s)
Python

cc @jorisvandenbossche @pitrou

Thanks for the report @seberg . This does look like an issue indeed.


fix: the scheduler will not be able to pause or resume if extra keys are set in the config

We're currently processing your upload.  This comment will be updated when the results are available.


Is this package dead?

Hi,
is this package dead? Is there a forn or other solution which is up to date?
Regards

@sowinski the package may be outdated but I have used it and I have obtained very good results.

Package still works; not much changed in the years.
But I just pushed an alternative package for mail parsing to GitHub with multi-language support and more readable code 👍
https://github.com/alfonsrv/mailparser-reply


Add support for stomp over tls/ssl.

This implements request #6 (Need to support stomp protocol over SSL/TLS connection).

New features/documentation also now lives in docs/index.asciidoc

The setting is needed to support self-signed certificates.

You can add self-signed certs to your trust store. If you don't do this, and instead disable verification, you cannot prevent your client (stomp client) from talking to an untrusted server (whether through misconfiguration or through MITM) because you trust all servers.

I added support for specification of cacert, client_cert, and client_key, cahnged ssl_verify to ssl_certificate_validation. to match other plugins  I also updated the doc.

You can add self-signed certs to your trust store.
Yes, but that can be a pain if you are building up dev and QA systems on a daily basis, which we are.

Do you require any more changes?

Hi, any news on this? It's just what we're looking for.
Cheers.

It seems requested changes were made. Is there anything left needed for this to be merged?

The changes made back in 2017 appear to work fine.
Can someone actually finish merging the work completed 3 years ago? Or are more changes needed before people can use secure communications for STOMP servers with Logstash?
@jordansissel ?


Feature/pat

:white_check_mark: Build TheIdServer 4.0.2-PAT1-0022 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/41682c0ad8 by @)


ARROW-7169: [C++] Vendor uriparser library

The library is only used internally (the types and headers are not exposed).
Vendoring it makes it easier for core functionality to depend on it.

@kou Do you have any concerns?

@pitrou thanks for updating the packaging builds as well

@kszucs Yes, I had forgotten to update some of them for the double-conversion vendoring.

Our nightlies are in pretty bad shape, so it would not make much sense to run them. Merging.


[BugFix] fix bugs of query dump for view and add support of query dump for mv on view

Why I'm doing:
There are bugs for query dump with nested views and mv on view.
What I'm doing:

create views by order to make sure nested views work
create mv after the creation of tables and views because of dependency.
refresh mv after creation, or rewrite will failure occasionally.

What type of PR is this:

[x] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1
[ ] 3.0
[ ] 2.5

@mergify rebase


[iOS] Archive Failed

Hi @fbartho
This library is exactly what I was looking for to integrate Zendesk Chat V2 in my App ❤  !
In dev mode everything works fine, unfortunately when I try to build an iOS release, the archive failed, here is the log :
The following build commands failed:
	PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/pax/Library/Developer/Xcode/DerivedData/MyProduct-ewouwhypkycamggxraskzrjneljg/Build/Intermediates.noindex/ArchiveIntermediates/MyProduct-Staging/IntermediateBuildFilesPath/MyProduct.build/Release-iphoneos/MyProduct.build/Script-6439D71AABAE32D52EC1D8F6.sh
(1 failure)
[16:13:37]: Exit status: 65

+---------------+-------------------------+
|            Build environment            |
+---------------+-------------------------+
| xcode_path    | /Applications/Xcode.app |
| gym_version   | 2.156.1                 |
| export_method | ad-hoc                  |
| sdk           | iPhoneOS13.6.sdk        |
+---------------+-------------------------+

[16:13:37]: ▸ Stripped /Users/pax/Library/Developer/Xcode/DerivedData/MyProduct-ewouwhypkycamggxraskzrjneljg/Build/Intermediates.noindex/ArchiveIntermediates/MyProduct-Staging/InstallationBuildProductsLocation/Applications/MyProduct - staging.app/Frameworks/ChatProvidersSDK.framework/ChatProvidersSDK of architectures: x86_64 i386
[16:13:37]: ▸ Code Signing /Users/pax/Library/Developer/Xcode/DerivedData/MyProduct-ewouwhypkycamggxraskzrjneljg/Build/Intermediates.noindex/ArchiveIntermediates/MyProduct-Staging/InstallationBuildProductsLocation/Applications/MyProduct - staging.app/Frameworks/ChatProvidersSDK.framework with Identity Apple Distribution: XXXX (XXXXXXXXXX)
[16:13:37]: ▸ /usr/bin/codesign --force --sign XXXX  --preserve-metadata=identifier,entitlements '/Users/pax/Library/Developer/Xcode/DerivedData/MyProduct-ewouwhypkycamggxraskzrjneljg/Build/Intermediates.noindex/ArchiveIntermediates/MyProduct-Staging/InstallationBuildProductsLocation/Applications/MyProduct - staging.app/Frameworks/ChatProvidersSDK.framework'
[16:13:37]: ▸ /Users/pax/xxx/MyProduct/ios/Pods/Target Support Files/Pods-MyProduct/Pods-MyProduct-frameworks.sh: eval: line 133: unexpected EOF while looking for matching `''
[16:13:37]: ▸ Command PhaseScriptExecution failed with a nonzero exit code

I follow the Zendesk SDK Official documentation, so I put the additionnal "Run Script Phase" add the end of the Build Phases:
"${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/ChatSDK.framework/strip-frameworks.sh"
The error occured in the step before "[CP] Embed Pods Frameworks", so do I need to put the "Strip slices from fat frameworks" run script before ? I tried but without success ..
any idea ?

What versions of Xcode and react-native are you using?
Also, I see you have a -Staging on your product. How are you generating those schemes?

Xcode : 11.6 (11E708)
React Native : 0.62.2
I build my app with Fastlane, the scheme Staging is a copy of my Release scheme, only the env var are different

That should be a fine combination of Xcode/RN Versions.
I can't provide much support for Fastlane -- I've fought them a tooling issues over the years, and stopped using them 3 years ago.
I've found many problems with custom-schemes + react-native (with native libraries):

before RN 0.6x we had to use react-native-schemes-manager
after on RN 0.62 we use the Podfile to generate the schemes:

target 'TRClient' do
	project 'TRClient', 'Production_Release' => :release, 'Staging_Release' => :release, 'Release' => :release, 'Local_Debug' => :debug, 'Staging_Debug' => :debug, 'Debug' => :debug

Additionally, have you inspected the build-script at that line number?
[16:13:37]: ▸ /Users/pax/xxx/MyProduct/ios/Pods/Target Support Files/Pods-MyProduct/Pods-MyProduct-frameworks.sh: eval: line 133: unexpected EOF while looking for matching `''

Maybe that can give you a hint at what's failing?

🤔 I use Staging scheme et Release scheme for a while without any trouble.
Fastlane is also a powerful tool to build and ship ios (or android) apps
So, I add this library on a branch, and then the build failure occured.
Here is the content of the "Pods-MyProduct-framework.sh" file
#!/bin/sh
set -e
set -u
set -o pipefail

function on_error {
  echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
}
trap 'on_error $LINENO' ERR

if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
  # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
  # frameworks to, so exit 0 (signalling the script phase was successful).
  exit 0
fi

echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"

COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}"
SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"

# Used as a return value for each invocation of `strip_invalid_archs` function.
STRIP_BINARY_RETVAL=0

# This protects against multiple targets copying the same framework dependency at the same time. The solution
# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")

# Copies and strips a vendored framework
install_framework()
{
  if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
    local source="${BUILT_PRODUCTS_DIR}/$1"
  elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
    local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
  elif [ -r "$1" ]; then
    local source="$1"
  fi

  local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"

  if [ -L "${source}" ]; then
    echo "Symlinked..."
    source="$(readlink "${source}")"
  fi

  # Use filter instead of exclude so missing patterns don't throw errors.
  echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
  rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"

  local basename
  basename="$(basename -s .framework "$1")"
  binary="${destination}/${basename}.framework/${basename}"

  if ! [ -r "$binary" ]; then
    binary="${destination}/${basename}"
  elif [ -L "${binary}" ]; then
    echo "Destination binary is symlinked..."
    dirname="$(dirname "${binary}")"
    binary="${dirname}/$(readlink "${binary}")"
  fi

  # Strip invalid architectures so "fat" simulator / device frameworks work on device
  if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
    strip_invalid_archs "$binary"
  fi

  # Resign the code if required by the build settings to avoid unstable apps
  code_sign_if_enabled "${destination}/$(basename "$1")"

  # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
  if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
    local swift_runtime_libs
    swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u)
    for lib in $swift_runtime_libs; do
      echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
      rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
      code_sign_if_enabled "${destination}/${lib}"
    done
  fi
}

# Copies and strips a vendored dSYM
install_dsym() {
  local source="$1"
  warn_missing_arch=${2:-true}
  if [ -r "$source" ]; then
    # Copy the dSYM into the targets temp dir.
    echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
    rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"

    local basename
    basename="$(basename -s .dSYM "$source")"
    binary_name="$(ls "$source/Contents/Resources/DWARF")"
    binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}"

    # Strip invalid architectures so "fat" simulator / device frameworks work on device
    if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then
      strip_invalid_archs "$binary" "$warn_missing_arch"
    fi

    if [[ $STRIP_BINARY_RETVAL == 1 ]]; then
      # Move the stripped file into its final destination.
      echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
      rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
    else
      # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
      touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM"
    fi
  fi
}

# Copies the bcsymbolmap files of a vendored framework
install_bcsymbolmap() {
    local bcsymbolmap_path="$1"
    local destination="${BUILT_PRODUCTS_DIR}"
    echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}""
    rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"
}

# Signs a framework with the provided identity
code_sign_if_enabled() {
  if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
    # Use the current code_sign_identity
    echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
    local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'"

    if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
      code_sign_cmd="$code_sign_cmd &"
    fi
    echo "$code_sign_cmd"
    eval "$code_sign_cmd"
  fi
}

# Strip invalid architectures
strip_invalid_archs() {
  binary="$1"
  warn_missing_arch=${2:-true}
  # Get architectures for current target binary
  binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
  # Intersect them with the architectures we are building for
  intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
  # If there are no archs supported by this binary then warn the user
  if [[ -z "$intersected_archs" ]]; then
    if [[ "$warn_missing_arch" == "true" ]]; then
      echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
    fi
    STRIP_BINARY_RETVAL=0
    return
  fi
  stripped=""
  for arch in $binary_archs; do
    if ! [[ "${ARCHS}" == *"$arch"* ]]; then
      # Strip non-valid architectures in-place
      lipo -remove "$arch" -output "$binary" "$binary"
      stripped="$stripped $arch"
    fi
  done
  if [[ "$stripped" ]]; then
    echo "Stripped $binary of architectures:$stripped"
  fi
  STRIP_BINARY_RETVAL=1
}

install_artifact() {
  artifact="$1"
  base="$(basename "$artifact")"
  case $base in
  *.framework)
    install_framework "$artifact"
    ;;
  *.dSYM)
    # Suppress arch warnings since XCFrameworks will include many dSYM files
    install_dsym "$artifact" "false"
    ;;
  *.bcsymbolmap)
    install_bcsymbolmap "$artifact"
    ;;
  *)
    echo "error: Unrecognized artifact "$artifact""
    ;;
  esac
}

copy_artifacts() {
  file_list="$1"
  while read artifact; do
    install_artifact "$artifact"
  done <$file_list
}

ARTIFACT_LIST_FILE="${BUILT_PRODUCTS_DIR}/cocoapods-artifacts-${CONFIGURATION}.txt"
if [ -r "${ARTIFACT_LIST_FILE}" ]; then
  copy_artifacts "${ARTIFACT_LIST_FILE}"
fi

if [[ "$CONFIGURATION" == "Debug" ]]; then
  install_framework "${PODS_ROOT}/ZendeskChatProvidersSDK/ChatProvidersSDK.framework"
  install_dsym "${PODS_ROOT}/ZendeskChatProvidersSDK/ChatProvidersSDK.framework.dSYM"
  install_framework "${PODS_ROOT}/ZendeskChatSDK/ChatSDK.framework"
  install_dsym "${PODS_ROOT}/ZendeskChatSDK/ChatSDK.framework.dSYM"
  install_framework "${PODS_ROOT}/ZendeskCommonUISDK/CommonUISDK.framework"
  install_dsym "${PODS_ROOT}/ZendeskCommonUISDK/CommonUISDK.framework.dSYM"
  install_framework "${PODS_ROOT}/ZendeskMessagingAPISDK/MessagingAPI.framework"
  install_framework "${PODS_ROOT}/ZendeskMessagingSDK/MessagingSDK.framework"
  install_dsym "${PODS_ROOT}/ZendeskMessagingSDK/MessagingSDK.framework.dSYM"
  install_framework "${PODS_ROOT}/ZendeskSDKConfigurationsSDK/SDKConfigurations.framework"
  install_dsym "${PODS_ROOT}/ZendeskSDKConfigurationsSDK/SDKConfigurations.framework.dSYM"
fi
if [[ "$CONFIGURATION" == "Release" ]]; then
  install_framework "${PODS_ROOT}/ZendeskChatProvidersSDK/ChatProvidersSDK.framework"
  install_dsym "${PODS_ROOT}/ZendeskChatProvidersSDK/ChatProvidersSDK.framework.dSYM"
  install_framework "${PODS_ROOT}/ZendeskChatSDK/ChatSDK.framework"
  install_dsym "${PODS_ROOT}/ZendeskChatSDK/ChatSDK.framework.dSYM"
  install_framework "${PODS_ROOT}/ZendeskCommonUISDK/CommonUISDK.framework"
  install_dsym "${PODS_ROOT}/ZendeskCommonUISDK/CommonUISDK.framework.dSYM"
  install_framework "${PODS_ROOT}/ZendeskMessagingAPISDK/MessagingAPI.framework"
  install_framework "${PODS_ROOT}/ZendeskMessagingSDK/MessagingSDK.framework"
  install_dsym "${PODS_ROOT}/ZendeskMessagingSDK/MessagingSDK.framework.dSYM"
  install_framework "${PODS_ROOT}/ZendeskSDKConfigurationsSDK/SDKConfigurations.framework"
  install_dsym "${PODS_ROOT}/ZendeskSDKConfigurationsSDK/SDKConfigurations.framework.dSYM"
fi
if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
  wait
fi

L133 is : eval "$code_sign_cmd" in the code_sign_if_enabled() func

@fbartho ok I think about something ... "MyProduct" is not the real name of my project, the real name contains a ' (single quote) and I just found some related issues in SO and cocoapods repo ...
Thanks for you help and sorry for the trouble ...
Thanks again for your lib ✌

That’s exactly what I had a suspicion about!
Shell scripts often explode if you have unexpected symbols — especially in filenames. So I was looking for spaces, quotes, ampersands, and slashes (or even more wacky: emoji).
Glad you figured it out!


plasma rifle

About the PR
Plasma rifle (has great damage and may explode with 1/6 chance) ((can be researched and printed at secfab)).
Why / Balance
Its funny.
Technical details
Added WeaponRandomExplode component and system.
Media
plasma_rifle.png
Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

Changelog

Summary by CodeRabbit

New Features

Introduced a new weapon, the Plasma Rifle, with a 16% chance of explosion upon firing.
Added a random explosion mechanic for weapons, enhancing gameplay unpredictability.
New projectile type, BulletPlasmaCutterStrong, featuring increased damage and visibility effects.
Added crafting recipes for the Plasma Cutter and Plasma Rifle.
New localized term for the Plasma Rifle technology.

Gameplay Enhancements

Expanded weapon whitelist for material storage.
Introduced a new technology for researching the Plasma Rifle within the arsenal system.

@Piras314 what a boring man you are (i nerfed it)

@Piras314 its not hitscan. laser cannon has 28 HITSCAN heat damage. also 200 structural will destroy a normal wall it 4 hits. and also you forgot that the rifle MAY EXPLODE AND KILL THE USER WITH 1D6 DICE ROLL.

the fact that it explodes every 6 times means that it should absolutely be a crappy weapon, having a really good weapon be so shottily made that it just blows up all the time is ridiculous

handmade laser musket?

the fact that it explodes every 6 times means that it should absolutely be a crappy weapon, having a really good weapon be so shoddily made that it just blows up all the time is ridiculous

imo this should have a safe mode where its more equivilent to other laser weapons and an unsafe mode that functions similarly to the way it does here. this also has taken inspiration from the WH40k plasma pistol which has a chance to explode like this.
i dont see any issue with high cost, high damage weapons like this having a silly trade off, i can imagine some nukie fights where a clutch or fail would be made by this and it would almost always be funny.
making this weapon low cost, low damage and still explode would simply mean it would never be used.

also fix the merge conflicts

@yglop needs changelog

Forgot to uncomment it.


[Backport 2.17] Provide factory for pluggable deciders

Description
Backport of https://github.com/opensearch-project/OpenSearch/pull/15713
Related Issues
Resolves #[Issue number to be closed when this PR is merged]

Check List

[ ] Functionality includes testing.
[ ] API changes companion pull request created, if applicable.
[ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

https://build.ci.opensearch.org/job/gradle-check/47252/

https://github.com/opensearch-project/OpenSearch/issues/13846


[BUG] Switch Networks tab ui overflow hidden

Describe the bug
in Switch Networks tab, Disconnect button overflow hidden.
Screenshots

Good find @wyx2333333, have added a resize trigger to fix this issue


Repeat strings in dirname cause crash

Steps to reproduce

create directory anywhere inside your qd root path and call it "gogo"
Run: qd go

Problem:
I think what is happening is when we part through the directories in each path inside the match_points function in src/dirs.py. It is running path.split(name) which in the case of gogo and go, gives you an empty string as an item in the list, then trying to grab the first item from that empty string is throwing the error.
Solution:
Check length of string > 0 before grabbing the first character.

Fixed in commit: Fix repeat string crash bug


What happened to the Script.Dispose method

Hi,
I am currently testing my code against the new shvdn V2.9.1 build and I can't override the Dispose method anymore. What's going on? This is a breaking change. How are we supposed to do cleanup jobs on shvdn restart now?
EDIT: Okay I figured we need to use the Aborted event but anyway, I didn't expect a breaking change because this is just a minor build. I suggest, instead of deleting members, you just mark them with the Obsolete attribute and give some hint in the XML comment for the alternative in future cases on minor builds.

Whoops. We didn't expect people use the Dispose method. I'll push a quick fix later which adds it again and marks it obsolete. Sorry for the inconvenience.

Fixed in 034d55129b9b2780b298a0608c324f2cc4ed038a and released as v2.9.2.


Trying to add Copy/Paste key mapping to match like windows PC

I edited the configuration file as mentioned in the app, and tried to put Copy mapping
{
"profiles": [
{
"name": "Default profile",
"selected": true,
"simple_modifications": {
"Control+C" : "Command_L+C"
}
}
]
}
The error shows in the console:
[console_user_server] [warning] unknown key_code:Control+C in /Users/bala/.karabiner.d/configuration/karabiner.json

You can't do it until #16 is fixed.


Documentation

Could you please send the documentation link or some basic examples of the model?
Thank you

Thanks


Workspace - Workspace name is not updated in real time in WS settings "name" section

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing #26217
Action Performed:
Pre-condition: Workspace must be created and open same account in 2 devices

Go to https://staging.new.expensify.com/
Tap profile icon
Tap Workspaces
Tap any Workspace
Tap on Workspace name to navigate to workspace settings page in both devices
In one device, change workspace name and save it

Expected Result:
In other device, the changed workspace name must be displayed below settings in top left and in "name" section
Actual Result:
In other device, the changed workspace name is displayed below settings in top left but not updated in "name" section
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[x] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.71-5
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/7f9b8c2d-dadd-470b-bbe9-44fd3532e78e
https://github.com/Expensify/App/assets/78819774/155d4c05-26cf-4c31-8890-19031a9ceaea
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
View all open jobs on GitHub

Isn't this an intended behavior?
It's the same with any other editing input: we persist only defaultValue. e.g. during updating account's display name.

Yeah I agree, this seems to be working as expected!


Change the name to 'Stack Overflow Optional Features', with the acronym SOOF

Now that Stack Exchange has changed its name back to Stack Overflow I think this should be renamed to reflect that. Perhaps Stack Overflow Optional Features aka SOOF.
Just a thought.

Not actually a bad idea... I'll think about it and will get back to you
after a few days when I'm free :) thanks!
On 26 Nov 2015 16:52, "enkimatt"<EMAIL_ADDRESS>wrote:

Now that Stack Exchange has changed its name back to Stack Overflow I
think this should be renamed to reflect that. Perhaps Stack Overflow
Optional Features aka SOOF.
Just a thought.
—
Reply to this email directly or view it on GitHub
https://github.com/shu8/SE_OptionalFeatures/issues/42.

@enki-code to update you... I like the idea, much better than it is now, so I will update everything to the  new name ASAP :)
Thanks again :) I'll be sure to credit you in the main post and change log :)
I'll probably do it when I push 1.7dev to master :) (in the next week or so)

@enki-code done :)

Nice!! Glad it worked out!  More than happy to contribute in any way I can.


i18n(ko-KR): update images.mdx

Description (required)

update images.mdx
#9240
#10149
#10202

Related issues & labels (optional)

Closes #
Suggested label:

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

ko/guides/images.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Timezone and datetimepicker on filters

Hi,
I can't find a way to apply the choosen date in filter as UTC.
Thank you for your help

To apply the chosen date in a filter as UTC in Flask-Admin, you can override the default behavior of the filter and convert the selected date to UTC before applying it to the query.
Flask-Admin allows you to customize filters using the BaseFilter class. Here's an example of how you can create a custom filter to handle date filtering as UTC:
from flask_admin.contrib.sqla.filters import BaseFilter
from sqlalchemy import DateTime
from pytz import utc  # Assuming you have pytz installed to work with time zones

class UTCDateFilter(BaseFilter):
    def apply(self, query, value, alias=None):
        if value:
            # Convert the selected date to UTC before applying the filter
            value = utc.localize(value)
            column = self.get_column(query, self.column_name, alias=alias)
            return query.filter(column == value)
        return query

    def operation(self):
        return 'equals'

In this example, we've created a custom filter named UTCDateFilter that inherits from BaseFilter. The apply method is overridden to convert the selected date to UTC using the utc.localize method before applying the filter to the query. The operation method is overridden to specify that the filter operation should be 'equals,' as we are handling the selected date as a single date.
To use this custom filter in your Flask-Admin view, you can add it to the column_filters attribute:
from flask_admin.contrib.sqla import ModelView
from your_app.models import YourModel

class YourModelView(ModelView):
    column_filters = [UTCDateFilter(column=YourModel.your_date_column, name='Your Date')]

Replace YourModel and your_date_column with the actual name of your model and the column you want to filter by date, respectively.


Flickering on slide in safari

Only occurs in safari (desktop and mobile), when I change the slider, the whole page is flickering.(it occurs everytime when changing slider, but licecap can't capture every frame, so it only show the flickering when the index=13 and index=14 )

Other browser, like chrome and firefox don't have this problem.
here is my code:
react-swipeable.zip
I spend a lot time searching and trying to solve this problem, it doesn't success. I doubt It is  a CSS3 transform bug in safari, but I am not sure what is the real reason. thanks.

@oliviertassinari  I am sorry for disturbing you again, but I don't know how to find the real reason of the problem, I have tried many solution I can found from Internet, like
-webkit-backface-visibility: hidden;

they did works, but the flicker still exists, not frequently, but I want to remove the flicker completely like other browsers, can you give me some suggestions or advice, thanks in advance.

@kimown Interesting, I'm wondering what's going on. Could you provide a reproduction test case on http://www.webpackbin.com/? That would help a lot, thanks!

Thanks for the archive, that was quite useful. The root issue seems to be at react-motion level. I have opened an issue: https://github.com/chenglou/react-motion/issues/404.

I'm considering the usage of react-swipeable-views for a new component - Should this be a concern? Does it reproduce on every use case of this library when rendered on safari? (Assuming safari support is important and mandatory for me)
Is there any simple workaround?

@oliviertassinari See my comments on the https://github.com/chenglou/react-motion/issues/404 issue you opened. This might provide an insight of the problem.

@yoadsn Interesting approach! Have you tried implementing it? My only concern would be around performance. I'm not sure how it's gonna behave.
I see two other options:

Removing react-motion for animated as we do on the native platform but that's increasing the build size (288 kB vs 162kB without any compression).
Prune the first render of react-motion in that case so we only keep the second one with a valid state.

@oliviertassinari I only crafted the example bin around your initial bin demonstrating the problem. I did not see react-swipeable-views' code back then and now I know you based that off a simpler version of this library. It proved this solves the problem.
It is clearly a hack, since you would like to manage the translate animation over the entire container butTransitionMotion wants to know your children to take into account their entering/leaving for animation window persistence.
Technically speaking, we could recreate the logic of TransitionMotion directly on top of Motion and in that case react-swipeable-views would have to keep around the dom elements of "removed" slides until their animation is done. I would think that is the best way to go.. Might go for a PR but I am not sure would have enough time to create the required tests to prove no regression bugs are intoduced.
pruning the first render seems even more error prone.. this heavily relies on the existing behavior of react-motion and the specific use case.
How does animated solve this problem? renders the immediate transition with the state change?

I have the same problem

Why it happen only in Safari? How can explain this?

@oliviertassinari  did you know how fix this?

The solution is quite simple. I have removed the react-motion dependency, making the implementation lighter.

After reviewing the PR I would not call re-implementing DOM level css transitions "quite simple" but you seem to know what your doing here.. Thank you!


feat: adding a restrictRotationAngle option

This PR adds the following options:

restrictRotationAngle restricts the rotations checked to be between this angle, in radians
checkRotations boolean to disable rotation correction entirely

fixes #2

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

Thanks a lot. Working as expected


Arg unpacking issue

Hi @vektah as requested here is a sample schema for the issue I saw.  It is an input with a recursive type of itself.
input CatalogFilter {
    OR: [CatalogFilter!]
    AND: [CatalogFilter!]

    id: IntFilter
}

I pasted the code generated in the other issue, I think the issue is somewhere in the unmarshal func on line 84 in type.go

That generates
func UnmarshalCatalogFilter(v interface{}) (CatalogFilter, error) {
	var it CatalogFilter

	for k, v := range v.(map[string]interface{}) {
		switch k {
		case "OR":
			var err error
			rawIf1 := v.([]interface{})
			it.OR = make([]CatalogFilter, len(rawIf1))
			for idx1 := range rawIf1 {

				it.OR[idx1], err = UnmarshalCatalogFilter(rawIf1[idx1])
			}
			if err != nil {
				return it, err
			}
		case "AND":
			var err error
			rawIf1 := v.([]interface{})
			it.AND = make([]CatalogFilter, len(rawIf1))
			for idx1 := range rawIf1 {

				it.AND[idx1], err = UnmarshalCatalogFilter(rawIf1[idx1])
			}
			if err != nil {
				return it, err
			}
		case "id":
			var err error

			it.ID, err = graphql.UnmarshalInt(v)
			if err != nil {
				return it, err
			}
		}
	}

	return it, nil
}

Which looks fine to me, are you up to date? #30 fixed a few issues around input generation.

hmm your right that one doe generate ok.  I gave you a bad example let me try again.  This one definitely generates the wrong code.  I just updated my dependencies and tried again.
Generated code.
func UnmarshalGPSFilter(v interface{}) (filters.GPS, error) {
	var it filters.GPS

	for k, v := range v.(map[string]interface{}) {
		switch k {
		case "OR":
			var err error
			var ptr1 filters.GPS
			rawIf2 := v.([]interface{})
			ptr1 = make([]*filters.GPS, len(rawIf2))
			for idx2 := range rawIf2 {
				var ptr3 filters.GPS

				ptr3, err = UnmarshalGPSFilter(rawIf2[idx2])
				ptr1[idx2] = &ptr3
			}
			it.OR = &ptr1
			if err != nil {
				return it, err
			}
		case "AND":
			var err error
			var ptr1 filters.GPS
			rawIf2 := v.([]interface{})
			ptr1 = make([]*filters.GPS, len(rawIf2))
			for idx2 := range rawIf2 {
				var ptr3 filters.GPS

				ptr3, err = UnmarshalGPSFilter(rawIf2[idx2])
				ptr1[idx2] = &ptr3
			}
			it.AND = &ptr1
			if err != nil {
				return it, err
			}
		case "id":
			var err error
			var ptr1 filters.IntFilter

			ptr1, err = UnmarshalIntFilter(v)
			it.ID = &ptr1
			if err != nil {
				return it, err
			}
		case "name":
			var err error
			var ptr1 filters.StringFilter

			ptr1, err = UnmarshalStringFilter(v)
			it.Name = &ptr1
			if err != nil {
				return it, err
			}
		}
	}

	return it, nil
}

Schema
input GPSFilter {
    OR: [GPSFilter!]
    AND: [GPSFilter!]

    id: IntFilter
    name: StringFilter
}

Looking at the implementations the difference between the two one is a pointer to a slice while the other is the slice itself
OR  *[]*GPS `json:"OR,omitempty"`
AND *[]*GPS `json:"AND,omitempty"`

	OR  []*Catalog `json:"OR,omitempty"`
	AND []*Catalog `json:"AND,omitempty"`

So now im not sure if this is a bug on your side and we can just change it to be the slice instead of the pointer.  Or you want the code generation to cover both ways.

I would suggest using generated input objects to avoid hand crafting them, but this should definitely "just work".

ya we will do that going forward, this is a "legacy" graphql using neelance so we have all the structs already created.


Feature/add sitemap

Hey @mauro-oto,
This PR adds a sitemap plugin that uses https://github.com/kjvarga/sitemap_generator to generate the blog's sitemap.xml
Please check it out.
Thanks!

@etagwerker looks good :+1:


Name to be changed

Issue description

Name of API Business Hub has been rebranded to SAP Business Accelerator Hub . The URL https://help.sap.com/docs/btp/sap-business-technology-platform/authorization-and-trust-management-rate-limiting still refers it as API Business Hub
Feedback Type (Optional)
None
Page Title on SAP Help Portal (prefilled)
Rate Limiting
Page URL on SAP Help Portal (prefilled)
https://help.sap.com/docs/btp/sap-business-technology-platform/authorization-and-trust-management-rate-limiting

Fixed in 2410a. Thanks for the catch!


preserve vendor prefixes

Is it possible to preserve vendor prefixes? It seems all of my gradients are stripped out, down to just linear-gradient() and filter:..
I'm using the gradient generator here: http://www.colorzilla.com/gradient-editor/
I need to preserve -webkit, etc.
This:
background: #ffffff; background: -moz-linear-gradient(top,  #ffffff 0%, #e5e5e5 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e5e5e5)); background: -webkit-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%); background: -o-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%); background: -ms-linear-gradient(top,  #ffffff 0%,#e5e5e5 100%); background: linear-gradient(to bottom,  #ffffff 0%,#e5e5e5 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); ```

is stripped down to this:
background: linear-gradient(to bottom,  #ffffff 0%,#e5e5e5 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=#ffffff, endColorstr=#e5e5e5,GradientType=0 );

use autoprefixer

Fixing this issue requires 2 major changes:

Move away from CSSOM and use a parser that actually gives us multiple occourences of the same property being declared multiple times with multiple value)
Alter Juice behaviour so to be able to keep multiple occourences of the same property: this is controversial because many times it does inline a lot of "useless" stuff, but I like "styliner" behaviour that does inline multiple occourences only if they are declared in the same "rule".

The first issue is easily fixed by #215 , now I'm working on the second one.
.selector {
  background: #ffffff;
  background: -moz-linear-gradient(top,  #ffffff 0%, #e5e5e5 100%);
  background: linear-gradient(to bottom,  #ffffff 0%,#e5e5e5 100%);
}

Would correclty inline the 3 background properties while
.selector {
  background: #ffffff;
  background: -moz-linear-gradient(top,  #ffffff 0%, #e5e5e5 100%);
}
.selector {
  background: linear-gradient(to bottom,  #ffffff 0%,#e5e5e5 100%);
}

Would only inline the last background, because it is on a separate rule.
Does this make sense to you?
i

Sorry if I confused you, but my branch is an "enabler" to fix this, but still doesn't fix this.
So this one should be kept opened... please tell me if the "keep multiple property values only if they are declared in the same rule", makes sense to you (@jrit , @chovy  and other participants)

github auto-closed this one, reopening

You should probably minify the css before attempting to work with it. Many things will be optimized, such as adjacent rules.

@stevenvanchon: merging adjacent rules will break prevent "user decision" about what to inline. So this is not a good idea. THe idea is that we BY PURPOSE decide to inline multiple declarations for the same property ONLY when the declarations are in the same rule. We do this because we EXPECT people to use a single rule when they do similar "tricks". If we wanted to use a different rule (like "SAME SELECTOR" instead of "SAME RULE") we would have implemented it that way.
So I don't think that "minify before inline" is a good suggestion for the general audience.
I already implemented this "behaviour" and I'll commit and PR very soon.

Interesting -- thanks.


Update Get-AzureADAuditSignInLogs.md

found a mistake in Example 4
" was placed behind -All $true, needs to be infront

Thanks @arjancornelissen. This has since been resolved by https://github.com/Azure/azure-docs-powershell-azuread/pull/637.


what's the right way to use scalatest with scalatestplus.junit5?

According to https://www.scalatest.org/plus/junit5/versions, scalatest v3.2.16 should work with scalatestplus-junit5 v3.16.0
However, in scalatest v3.2.16, it explicitly looks for org.scalatestplus.junit.JUnitWrapperSuite which only exist in scalatest-junit but not in scalatest-junit5
Hence, I keep getting errors as below. Is it a bug or am I using in a wrong way? I am using bazel hence I invoke runner programmatically, maybe for junit5 the entry point is different? Thanks!
  at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
  at org.scalatest.tools.Runner$.loadJUnitWrapperClass(Runner.scala:1040)
  at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:1210)
  at org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24(Runner.scala:992)
  at org.scalatest.tools.Runner$.$anonfun$runOptionallyWithPassFailReporter$24$adapted(Runner.scala:970)
  at org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:1481)
  at org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:970)
  at org.scalatest.tools.Runner$.run(Runner.scala:798)```

@xinzhao-db  -j should be used only for JUnit 4 classes, run using the wrapper approach.  The Runner docs does not explicitly says JUnit 4, sorry for the confusion.  Using the current version of of scalatest+junit5, there's no wrapper approach anymore.  You may extend JUnitSuite or mixin in JUnitSuiteLike into your JUnit 5 classes which should make ScalaTest Runner to run them.  Alternatively, with the present of scalatest+junit5 classes on the classpath, JUnit 5's runner should be able to discover ScalaTest's suite classes and run them.
I'll update the documentation for -j to explicitly says it is for JUnit 4 classes, sorry again for the confusion.

@cheeseng Thanks for the help! It's working after I extending JUnitSuite and use -s.


boxInfo and modelInfo error

Original issue from @Feldspar5:
the following endpoints are returning this error:
Error: 4.17: syntax error, unexpected }

boxInfo using:
result = query(
api_endpoint = "boxInfo",
args = list(boxId = 2098)
)

and modelInfo using
 result = query(
                         api_endpoint = "modelInfo",
                         args = list(modelId = 3)
          )

I started receiving this error again this morning (it was working as of last night).  I will continue trying in case it is an AWS/sleeping issue.
result = query(
api_endpoint = "modelInfo",
args = list(modelId = 4)
)
Retrieving data: Error: 4.17: syntax error, unexpected }

Issue has resolved


Some questions about training  params and times

Hi, i am trying to train my own elmo by using your train script, but it cost much time.
I notice that "The training of ELMo on one language takes roughly 3 days on an NVIDIA P100 GPU."
Can you tell me the size of one language corpus?  The whole training progress means 100 epochs?
Also, can you share you params? Such as learning rate, learning rate decay, batch_size, optimizer.
Thanks

The training data for each language consist about 20M words. We train it for 10 epochs.
For the training parameters, you can refer the ${lang}.model/config.json.