"FCM.presentLocalNotification" is not woring in Android

I am using "react-native": "^0.35.0"  and   "react-native-fcm": "^2.5.5"
Notifications are coming, When app running in a background
but when app is in a foreground, not getting any notification.
What I have done:
step 1 :
this.notificationUnsubscribe = FCM.on("notification", notif => {
console.log("notificationUnsubscribe=====>", notif);
/**this console gives me:
{
fcm: {
action: null,
body: "My message",
color: null,
icon: null,
tag: null,
title: "My title"
},
message: "My message"
}
**/
step 2
/* then called  presentLocalNotification */
this.sendRemote(notif);  //====> this method defined below
}
sendRemote(notif) {
console.log('when app in foreground send noti', notif);
FCM.presentLocalNotification({
                body: notif.fcm.body
                priority: "high",
                title: notif.fcm.title
                sound: "default",
                show_in_foreground: true,
                tag:"CHAT"
            });

}
I expected that this will give me notification, when app running in a forground but its not working
and also I observed that "presentLocalNotification" not getting triggered.
I also reffered issue no: #140 but still not got the solution

@jvarshaprdxn I observed that "presentLocalNotification" not getting triggered. can you elaborate that?
@GaryLengkong notification doesn't show up could be some notification attribute you pass throw error. try the simplest notification?

Same here on presentLocalNotification, no banner shows when app is on foreground, even though I passed the show_in_foreground: true property.

+1
RN: 0.41, fcm: 6.0.2
my code is something like this:
const notificationListener = FCM.on(FCMEvent.Notification, async (notif) => {
if (notif.local_notification) {
return
}
if (notif.opened_from_tray) {
return
}
FCM.presentLocalNotification({
  title: notif.title,
  body: notif.body,
  priority: "high",
  click_action: notif.click_action,
  show_in_foreground: true,
  local: true
})

})

Following code works for me, Hence closing this issue
FCM.on("notification", notif => {
      if(notif.fcm && notif.fcm.body) {
          /* Create local notification for showing in a foreground */
          FCM.presentLocalNotification({
             body: notif.fcm.body,
             priority: "high",
             title: notif.fcm.title,
             sound: "default",
             "large_icon": "ic_launcher",// Android only
             icon: "ic_launcher",
             "show_in_foreground" :true, /* notification when app is in foreground (local & remote)*/
             vibrate: 300, /* Android only default: 300, no vibration if you pass null*/
             "lights": true, // Android only, LED blinking (default false)
             status: notif.status
         });
      }
}

Nice work @jvarshaprdxn on behalf of the @prdxn team.

<EMAIL_ADDRESS><EMAIL_ADDRESS>Following fixed it for me:

Using classpath 'com.google.gms:google-services:3.2.0' on project-level build.gradle
Using compile 'com.google.firebase:firebase-core:11.8.0' on app-level build.gradle
Adding compile 'com.google.firebase:firebase-messaging:11.8.0' on app-level build.gradle


docker-host: disable selinux relabeling

Ensures selinux relabeling is disabled for the docker-host, this would case the container never to start as there can be so many files in the persistent storage.
This only applies for k8s distributions that have selinux enabled (like OpenShift 4). Other k8s distributions should ignore this.
Example in cri-o where this is implemented:
https://github.com/cri-o/cri-o/blob/7048f2440217bbb2d6b5b7cfdbad052a4b8527f1/server/container_create_linux.go#L284-L288

CI passes so I guess it doesn't break a non-selinux node :shipit:


Better del support

Detect Python 3.2 and lower SyntaxError for deleting
variable referenced in nested scope.

Still needs a bit of polish, but I'd like confirmation that I am not wasting my time before proceeding with the current strategy.
A real world case is https://hg.python.org/cpython/file/tip/Lib/opcode.py
This would likely solve the original bug report in https://bugs.launchpad.net/pyflakes/+bug/1308508 .
(And https://bugs.launchpad.net/pyflakes/+bug/1461208 should be looked at as part of this)
The DoctestScope could be pulled out to be a separate changeset (or an alternative workaround found).  There are related bugs which could be solved as part of this; e.g. https://bugs.launchpad.net/pyflakes/+bug/1178807
I need to see whether the assignment checks can also be un-deferred, as that would reduce the amount of code restructure required to support del properly.

Does this need a refresh after those other two PRs were split off?

It certainly will need to be freshened, and a bit of polish.


How to define the time column in the inline datasource?

The only example I found for inline datasource is in the querying datasource page, but it does not contain a time column https://druid.apache.org/docs/latest/querying/datasource.html#inline.
I tried to use __time name with a timestamp, millisecond precision timestamp, or ISO8601 but without luck, at least for no timeBoundary query.
{
  "dataSource": {
    "columnNames": [
      "__time",
      "val"
    ],
    "rows": [
      [
<PHONE_NUMBER>000,
        123
      ],
      [
<PHONE_NUMBER>000,
        456
      ],
      [
<PHONE_NUMBER>000,
        789
      ]
    ],
    "type": "inline"
  },
  "queryType": "timeBoundary"
}

Actual results

maxTime
minTime

146140482-04-24T15:36:27.902Z
-146136543-09-08T08:23:32.096Z

Expected results

maxTime
minTime

2019-07-01T00:00:00.000Z
2019-05-01T00:00:00.000Z

I have this workaround. This is not documented (docs for 24.0.2) but adding "intervals": ["0000/3000"] makes it work.
{
  "dataSource": {
    "columnNames": [
      "__time",
      "val"
    ],
    "rows": [
      [
<PHONE_NUMBER>000,
        123
      ],
      [
<PHONE_NUMBER>000,
        456
      ],
      [
<PHONE_NUMBER>000,
        789
      ]
    ],
    "type": "inline"
  },
  "queryType": "timeBoundary",
  "intervals": ["0000/3000"]
}


BUG: "TypeError: list indices must be integers or slices, not str"

Hey @lizgehret,
I ran into a small issue while working with the scatterplot_2d function in scatterplot.py. The function throws a TypeError when it tries to access an element in a list using a string key. Specifically, the line group_dropdown_default = md_cols_categorical['legendDefault'] is the culprit. Since md_cols_categorical is a list, it doesn’t support string indexing, which led to the error.
File "/q2-vizard/q2_vizard/scatterplot.py", line 44, in scatterplot_2d
    group_dropdown_default = md_cols_categorical['legendDefault']
TypeError: list indices must be integers or slices, not str

I think the error was introduced with the last commit. Just changing that line to group_dropdown_default = 'legendDefault' should do the trick, since 'legendDefault' is already in the list.
Thank you

Hey @ChristosMatzoros,
Thanks for catching this! I was in the middle of making some changes to scatterplot on Thursday, and didn't finish up with testing before heading out for the long weekend. Glad to see that it's getting some good user testing 😅
I'll go ahead and get your PR merged, thanks!


[FLINK-14177] bump curator from 2.12.0 to 4.2.0

What is the purpose of the change
According to FLINK-10052 and FLINK-13417, we needs to upgrade the version of CuratorFramework firstly.
because curator4.2.0 supports

zookeeper-3.4.* and zookeeper-3.5.*
recipes can use the configured error policy to decide how to handle errors such as ConnectionState changes.

Brief change log

change curator version
fix some test case
modify NOTICE file

Verifying this change
This change is already covered by existing tests, such as org.apache.flink.runtime.leaderelection.ZooKeeperLeaderElectionTest.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Thanks for opening this pull request @lamber-ken!
Build fails on LICENSE-binary mismatch. Details can be found here. Please update correspondingly.

Thanks, @TisonKun.
Done.

hi, @TisonKun
follow bellow tips, I had rebuild flink and run tools/releasing/collect_license_files.sh build-target, but travis still build FAILURE. Do you have time to help me ? 🤗
ERROR: binary licensing is out-of-date.
Please update NOTICE-binary and licenses-binary:
Step 1: Rebuild flink
Step 2: Run 'tools/releasing/collect_license_files.sh build-target'
  This extracts all the licensing files from the distribution, and puts them in 'licenses-output'.
  If the build-target symlink does not exist after building flink, point the tool to 'flink-dist/target/flink-<version>-bin/flink-<version>' instead.
Step 3: Replace existing licensing
  Delete NOTICE-binary and the entire licenses-binary directory.
  Copy the contents in 'licenses-output' into the root directory of the Flink project.
Step 4: Remember to commit the changes!
==============================================================================
==============================================================================
Previous build failure detected, skipping cache setup.
==============================================================================
The command "./tools/travis_controller.sh compile" exited with 1.
before_cache
0.08s$ rm -rf $HOME/.m2/repository/org/apache/flink/
cache.2
store build cache

@tillrohrmann Could you please take a look at this instance above? I think it is the same as I've reported in FLINK-13417
@lamber-ken You can direct patch diff content
3391c3391
< Copyright 2011-2017 The Apache Software Foundation
---
> Copyright 2011-2019 The Apache Software Foundation
3394c3394
< Copyright 2011-2017 The Apache Software Foundation
---
> Copyright 2011-2019 The Apache Software Foundation
3397c3397
< Copyright 2011-2017 The Apache Software Foundation
---
> Copyright 2011-2019 The Apache Software Foundation
16731c16731
< The Apache Software Foundation (http://www.apache.org/).
---
> The Apache Software Foundation (http://www.apache.org/).
\ No newline at end of file

to NOTICE-binary. That works for me.

@tillrohrmann Could you please take a look at this instance above? I think it is the same as I've reported in FLINK-13417
@lamber-ken You can direct patch diff content
3391c3391
< Copyright 2011-2017 The Apache Software Foundation
---
> Copyright 2011-2019 The Apache Software Foundation
3394c3394
< Copyright 2011-2017 The Apache Software Foundation
---
> Copyright 2011-2019 The Apache Software Foundation
3397c3397
< Copyright 2011-2017 The Apache Software Foundation
---
> Copyright 2011-2019 The Apache Software Foundation
16731c16731
< The Apache Software Foundation (http://www.apache.org/).
---
> The Apache Software Foundation (http://www.apache.org/).
\ No newline at end of file

to NOTICE-binary. That works for me.

Ok, let's me try again.

@TisonKun , it works ok now. 👍

@zentol could you take a look at the problem with tools/releasing/collect_license_files.sh build-target?

@zentol could you take a look at the problem with tools/releasing/collect_license_files.sh build-target?

Hi, @tillrohrmann.
At the begining, I used maven 3.5.0 version to build the flink project, the CI always report failure.
At the last time, I used maven 3.2.5 version to build the flink project, it works !

@zentol could you take a look at the problem with tools/releasing/collect_license_files.sh build-target?

Hi, @tillrohrmann.
At the begining, I used maven 3.5.0 version to build the flink project, the CI always report failure.
At the last time, I used maven 3.2.5 version to build the flink project, it works !

All right, the immutable reactor build explains the problem.

hi, @tillrohrmann.
if so, it's better to add maven-enforcer-plugin to pom.xml.
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-enforcer-plugin</artifactId>
  <version>3.0.0-M2</version>
  <executions>
    <execution>
      <id>enforce-versions</id>
      <goals>
        <goal>enforce</goal>
      </goals>
      <configuration>
        <rules>
          <requireMavenVersion>
            <version>3.2.5</version>
          </requireMavenVersion>
          <requireJavaVersion>
            <version>1.8</version>
          </requireJavaVersion>
        </rules>
      </configuration>
    </execution>
  </executions>
</plugin>

Well technically speaking you can also build Flink with maven > 3.2.5. You
just have to build flink-dist after you've built the other modules via a
separate maven call.
On Thu, Sep 26, 2019 at 2:49 PM 谢磊<EMAIL_ADDRESS>wrote:

hi, @tillrohrmann https://github.com/tillrohrmann.
if so, it's better to add maven-enforcer-plugin to pom.xml.

org.apache.maven.plugins
maven-enforcer-plugin
3.0.0-M2

enforce-versions

enforce

3.2.5

1.8

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/flink/pull/9751?email_source=notifications&email_token=ABL5POU5OLE637D5MN7YC5LQLSVTZA5CNFSM4IZ2TXDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7VOBQI#issuecomment-535486657,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABL5POUW52AKZQAWQNVPQG3QLSVTZANCNFSM4IZ2TXDA
.

Thanks for your information @tillrohrmann & @lamber-ken.
May I ask what is "the immutable reactor build"? Is there an further information link? It might be helpful for debugging FLINK-13417 a.k.a #9762 .

Well technically speaking you can also build Flink with maven > 3.2.5. You just have to build flink-dist after you've built the other modules via a separate maven call.
…
On Thu, Sep 26, 2019 at 2:49 PM 谢磊 @.***> wrote: hi, @tillrohrmann https://github.com/tillrohrmann. if so, it's better to add maven-enforcer-plugin to pom.xml.  org.apache.maven.plugins maven-enforcer-plugin 3.0.0-M2   enforce-versions  enforce     3.2.5   1.8       — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#9751?email_source=notifications&email_token=ABL5POU5OLE637D5MN7YC5LQLSVTZA5CNFSM4IZ2TXDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7VOBQI#issuecomment-535486657>, or mute the thread https://github.com/notifications/unsubscribe-auth/ABL5POUW52AKZQAWQNVPQG3QLSVTZANCNFSM4IZ2TXDA .

ok

Thanks for your information @tillrohrmann & @lamber-ken.
May I ask what is "the immutable reactor build"? Is there further information link? It might be helpful for debugging FLINK-13417 a.k.a #9762 .

See for more information https://issues.apache.org/jira/browse/FLINK-3158

@zentol if you mean why curator.version and curator.test.version, please refer to this page especially section "Testing With ZooKeeper 3.4.x"

@flinkbot run travis

@flinkbot run travis

This might be easier if we do the ZK and Curator upgrade together in one PR. Then we don't need to have the separate test version.

@StephanEwen yes it's correct. It might be too late to catch up 1.10 release(?) so let's promote the priority of these upgrade tickets in the next development cycle?

@flinkbot run travis

The last CI error, it may be a ci bug
20:18:39.267 [ERROR] testFullJoinWithLeftLocalPred(org.apache.flink.table.planner.runtime.batch.table.JoinITCase)  Time elapsed: 0.257 s  <<< ERROR!
org.apache.flink.runtime.client.JobExecutionException: Job execution failed.
	at org.apache.flink.table.planner.runtime.batch.table.JoinITCase.testFullJoinWithLeftLocalPred(JoinITCase.scala:368)
Caused by: org.apache.flink.runtime.JobException: Recovery is suppressed by NoRestartBackoffTimeStrategy
Caused by: org.apache.flink.runtime.memory.MemoryAllocationException: Could not allocate 32 pages. Only 0 pages are remaining.
20:18:39.288 [INFO] Running org.apache.flink.table.planner.runtime.batch.table.CalcITCase

Is there anything else to do? Can someone tell me?

I wouldn't want to increment such a crucial dependency so close to a release.

I wouldn't want to increment such a crucial dependency so close to a release.

Okay,  we may already spend many time on this, because this issue was opened at  on 24 Sep. I need to check whether there are conflicting files often.

@flinkbot run travis


TileSet won't create big tiles

Tested versions

Reproduceable in 4.3.stable
Worked in 4.2.stable

System information
macOS 15.0.1
Issue description
When in the TileSet editor the tooltip says "Hold shift to create big tiles" but, unlike in version 4.2, I am unable to create big tiles in 4.3.stable.
You'll notice in the key cast that I'm holding SHIFT while clicking and nothing's happening.
https://github.com/user-attachments/assets/80cfcd93-b839-412c-be89-c0981af230a2
Steps to reproduce
Create a TileMapLayer, add a new tile_set, import a sprite sheet, and attempt to create a big tile with the shift key.
Minimal reproduction project (MRP)
N/A

You cannot create big tiles on top of already creates tiles. You need to remove the underlying tiles first.

Closing this issue as what this video shows isn't really a bug. I purposefully prevented creating a tile over existing tiles to avoid data loss.
I don't think this behavior should be changed but you may open a proposal instead if that behavior is very unexpected to you.

Closing this issue as what this video shows isn't really a bug. I purposefully prevented creating a tile over existing tiles to avoid data loss.
I don't think this behavior should be changed but you may open a proposal instead, if you believe this behavior is very unexpected.

I’m pretty sure that I was able to make big tiles from existing ones in 4.2, but I’m away from my computer and I’ll have to check later. Thanks for the information!


hyprpm add not working after recent update on arch extra repo

Hyprland Version
 System/Version info
Hyprland, built from branch  at commit cba1ade848feac44b2eda677503900639581c3f4  (props: bump version to 0.40.0).
Date: Sat May 4 15:42:32 2024
Tag: v0.40.0, commits: 4606

flags: (if any)

System Information:
System name: Linux
Node name: Arch-Book
Release: 6.8.9-arch1-2
Version: #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller])

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

plugins:
  hy3 by outfoxxed ver 0.1

Bug or Regression?
Bug
Description
when using hyprpm add, I get an error 1 on all plugins in hyprland-plugins repo, other repos like hy3 seem to have the same problem building, but i get an error 2 instead
edit: I have tried without the hy3-git aur package installed as well
edit 2: naturally i tried simply running hyprpm update after updating hyprland, but i got a similar error which promoted me to do the basic troubleshooting steps of uninstalling and reinstalling the faulty plugins, which then lead me to this error being the most likely root cause of both issues
edit 4: i have built from source and do not have the issues now, however hy3 still will not build due to an unknown separate error, and for some reason hyprland claims plugin /usr/lib/libhy3.so does not exist despite it working just fine with the package in the extra repo, but ig this is a separate issue and maybe needs to be taken out with the maintainers of hy3 and the extra repo maintainer?
How to reproduce
install hyprland via Arch Extra repo
run hyprpm add with any plugin repo
Crash reports, logs, images, videos
piped output from hyprpm add https://github.com/hyprwm/hyprland-plugins -v:
hyprpm-add.log

i removed all the extra empty lines from your log:

[v] version returned: Hyprland, built from branch  at commit cba1ade848feac44b2eda677503900639581c3f4  (props: bump version to 0.40.0).
Date: Sat May 4 15:42:32 2024
Tag: v0.40.0, commits: 4606

flags: (if any)

[v] parsed commit cba1ade848feac44b2eda677503900639581c3f4 at branch  on Sat May 4 15:42:32 2024, commits 4606
✔ adding a new plugin repository from https://github.com/hyprwm/hyprland-plugins
  MAKE SURE that you trust the authors. DO NOT install random plugins without verifying the code and author.
  Are you sure? [Y/n]

 ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  0 / 5  Cloning the plugin repository

 → Cloning https://github.com/hyprwm/hyprland-plugins

 ╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  0 / 5  Cloning the plugin repository

✔ cloned

 ━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  1 / 5  Cloning the plugin repository

 ━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  1 / 5  Reading the manifest

✔ found hyprpm manifest

 ━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  1 / 5  Reading the manifest

✔ parsed manifest, found 6 plugins:

 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the manifest

 → borders-plus-plus by Vaxry version

 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the manifest

 → csgo-vulkan-fix by Vaxry version

 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the manifest

 → hyprbars by Vaxry version

 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the manifest

 → hyprexpo by Vaxry version

 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the manifest

 → hyprtrails by Vaxry version

 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the manifest

 → hyprwinwrap by Vaxry version

 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the manifest

 → Manifest has 12 pins, checking

 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the manifest

✔ commit pin 18daf37b7c4e6e51ca2bf8953ce4cff1c38ca725 matched hl, resetting

 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Reading the manifest

 ━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  2 / 5  Verifying headers

✔ Hyprland headers OK

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Verifying headers

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)

 → Building borders-plus-plus

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/kckingcollin && PKG_CONFIG_PATH="/home/kckingcollin/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C borders-plus-plus all
make: Entering directory '/tmp/hyprpm/kckingcollin/borders-plus-plus'
g++ -shared -fPIC --no-gnu-unique main.cpp borderDeco.cpp -o borders-plus-plus.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
In file included from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/includes.hpp:52,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:1,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:7,
                 from main.cpp:6:
/home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/wlroots-hyprland/wlr/types/wlr_layer_shell_v1.h:16:10: fatal error: wlr-layer-shell-unstable-v1-protocol.h: No such file or directory
   16 | #include "wlr-layer-shell-unstable-v1-protocol.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../includes.hpp:52,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../defines.hpp:1,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/IHyprWindowDecoration.hpp:4,
                 from borderDeco.hpp:5,
                 from borderDeco.cpp:1:
/home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/wlroots-hyprland/wlr/types/wlr_layer_shell_v1.h:16:10: fatal error: wlr-layer-shell-unstable-v1-protocol.h: No such file or directory
   16 | #include "wlr-layer-shell-unstable-v1-protocol.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/kckingcollin/borders-plus-plus'

✖ Plugin borders-plus-plus failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)

 → Building csgo-vulkan-fix

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/kckingcollin && PKG_CONFIG_PATH="/home/kckingcollin/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C csgo-vulkan-fix all
make: Entering directory '/tmp/hyprpm/kckingcollin/csgo-vulkan-fix'
g++ -shared -fPIC --no-gnu-unique main.cpp -o csgo-vulkan-fix.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
In file included from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/includes.hpp:52,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:1,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:7,
                 from main.cpp:5:
/home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/wlroots-hyprland/wlr/types/wlr_layer_shell_v1.h:16:10: fatal error: wlr-layer-shell-unstable-v1-protocol.h: No such file or directory
   16 | #include "wlr-layer-shell-unstable-v1-protocol.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/kckingcollin/csgo-vulkan-fix'

✖ Plugin csgo-vulkan-fix failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)

 → Building hyprbars

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/kckingcollin && PKG_CONFIG_PATH="/home/kckingcollin/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprbars all
make: Entering directory '/tmp/hyprpm/kckingcollin/hyprbars'
g++ -shared -fPIC --no-gnu-unique -g -std=c++2b -Wno-c++11-narrowing `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` main.cpp barDeco.cpp  -o hyprbars.so `pkg-config --libs pangocairo` -O2
In file included from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/includes.hpp:52,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:1,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:7,
                 from main.cpp:6:
/home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/wlroots-hyprland/wlr/types/wlr_layer_shell_v1.h:16:10: fatal error: wlr-layer-shell-unstable-v1-protocol.h: No such file or directory
   16 | #include "wlr-layer-shell-unstable-v1-protocol.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../includes.hpp:52,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../defines.hpp:1,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/IHyprWindowDecoration.hpp:4,
                 from barDeco.hpp:5,
                 from barDeco.cpp:1:
/home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/wlroots-hyprland/wlr/types/wlr_layer_shell_v1.h:16:10: fatal error: wlr-layer-shell-unstable-v1-protocol.h: No such file or directory
   16 | #include "wlr-layer-shell-unstable-v1-protocol.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:11: hyprbars.so] Error 1
make: Leaving directory '/tmp/hyprpm/kckingcollin/hyprbars'

✖ Plugin hyprbars failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)

 → Building hyprexpo

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/kckingcollin && PKG_CONFIG_PATH="/home/kckingcollin/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprexpo all
make: Entering directory '/tmp/hyprpm/kckingcollin/hyprexpo'
g++ -shared -fPIC --no-gnu-unique main.cpp overview.cpp -o hyprexpo.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -Wno-narrowing
In file included from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/includes.hpp:52,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:1,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:7,
                 from main.cpp:5:
/home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/wlroots-hyprland/wlr/types/wlr_layer_shell_v1.h:16:10: fatal error: wlr-layer-shell-unstable-v1-protocol.h: No such file or directory
   16 | #include "wlr-layer-shell-unstable-v1-protocol.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/render/../includes.hpp:52,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/render/../defines.hpp:1,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/render/Framebuffer.hpp:3,
                 from overview.hpp:7,
                 from overview.cpp:1:
/home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/wlroots-hyprland/wlr/types/wlr_layer_shell_v1.h:16:10: fatal error: wlr-layer-shell-unstable-v1-protocol.h: No such file or directory
   16 | #include "wlr-layer-shell-unstable-v1-protocol.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/kckingcollin/hyprexpo'

✖ Plugin hyprexpo failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)

 → Building hyprtrails

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/kckingcollin && PKG_CONFIG_PATH="/home/kckingcollin/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprtrails all
make: Entering directory '/tmp/hyprpm/kckingcollin/hyprtrails'
g++ -shared -fPIC --no-gnu-unique main.cpp trail.cpp -o hyprtrails.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
In file included from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/includes.hpp:52,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/defines.hpp:1,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/Compositor.hpp:7,
                 from main.cpp:6:
/home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/wlroots-hyprland/wlr/types/wlr_layer_shell_v1.h:16:10: fatal error: wlr-layer-shell-unstable-v1-protocol.h: No such file or directory
   16 | #include "wlr-layer-shell-unstable-v1-protocol.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../includes.hpp:52,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/../../defines.hpp:1,
                 from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/render/decorations/IHyprWindowDecoration.hpp:4,
                 from trail.hpp:7,
                 from trail.cpp:1:
/home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/wlroots-hyprland/wlr/types/wlr_layer_shell_v1.h:16:10: fatal error: wlr-layer-shell-unstable-v1-protocol.h: No such file or directory
   16 | #include "wlr-layer-shell-unstable-v1-protocol.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/kckingcollin/hyprtrails'

✖ Plugin hyprtrails failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)

 → Building hyprwinwrap

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)[v] shell returned:  -> cd /tmp/hyprpm/kckingcollin && PKG_CONFIG_PATH="/home/kckingcollin/.local/share/hyprpm/headersRoot/share/pkgconfig" make -C hyprwinwrap all
make: Entering directory '/tmp/hyprpm/kckingcollin/hyprwinwrap'
g++ -shared -fPIC --no-gnu-unique main.cpp -o hyprwinwrap.so -g `pkg-config --cflags pixman-1 libdrm hyprland pangocairo libinput libudev wayland-server xkbcommon` -std=c++2b -O2
In file included from /home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/src/includes.hpp:52,
                 from main.cpp:6:
/home/kckingcollin/.local/share/hyprpm/headersRoot/include/hyprland/wlroots-hyprland/wlr/types/wlr_layer_shell_v1.h:16:10: fatal error: wlr-layer-shell-unstable-v1-protocol.h: No such file or directory
   16 | #include "wlr-layer-shell-unstable-v1-protocol.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2: all] Error 1
make: Leaving directory '/tmp/hyprpm/kckingcollin/hyprwinwrap'

✖ Plugin hyprwinwrap failed to build.
  This likely means that the plugin is either outdated, not yet available for your version, or broken.
  If you are on -git, update first.
  Try re-running with -v to see more verbose output.

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)

✔ all plugins built

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━━━━━━━━━━━  3 / 5  Building plugin(s)

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━  4 / 5  Installing repository

✔ installed repository

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━  4 / 5  Installing repository

✔ you can now enable the plugin(s) with hyprpm enable

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╍━━━━━━━━━  4 / 5  Installing repository

 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  5 / 5  Done!

it is the same issue as mentioned issue fatal error: wlr-layer-shell-unstable-v1-protocol.h: No such file or directory

i removed all the extra empty lines from your log:
it is the same issue as mentioned issue fatal error: wlr-layer-shell-unstable-v1-protocol.h: No such file or directory

I see, thanks, I'll try to do that myself next time, and ye it seems we arrived at the same error, i just wasn't confident enough to narrow it down, so thanks for that as well

does it work on git or when built from source?

Had same issue and fixed it by installing hyprwayland-scanner

Had same issue and fixed it by installing hyprwayland-scanner (from arch extra as well) and force update (hyprpm update -f)
Not sure if force was required though

Sorry, this was the answer to the bug. Forgot to update this issue as closed since it's an arch package depend issue. Would be nice if I could tell the maintainer, though -_-


Archive Blob Storage and Blob-Level Tiering

Is there a timeframe for adding support for Blob-Level Tiering and Archive Blob Storage to this Java SDK?
Announcing the public preview of Azure Archive Blob Storage and Blob-Level Tiering

tbd at this point

@amishra-dev can you please help route this?

@cswarth this support was shipped in version 8.5 and in 12.0.0-Preview3


[Wallet] Refactor payment request code and remove phone numbers from them

Description

Refactor payment request code to move from src/firebase to /src/paymentRequest
Remove phone numbers from payment request for better privacy
Add tests for paymentRequest/utils.ts

Tested
Tested requesting multiple reqs to both an address and a phone number.
Confirmed contacts still resolve when the address is in the contact mapping.
Related issues

https://github.com/celo-org/celo-labs/issues/518

Backwards compatibility
Yes

Hold on merging until UX decision is reached regarding numbers in payment reqs


Enhance the UI of  " Be a Part of Us" section

I visited Codechamp website...and i found that the Be a Part of Us section is not looking good because cards are very simple..so i want to enhance the UI of this section by making Neumorphism cards so that it's look amazing 😍🤩

Please share the screenshot of what you want to  do ?

Like this...
You can see that in this Be a Part Of Us section will looks amazing 🤩

__

Pls assign me this issue under hacktobetfest'22

Please share the screenshots of the word done for our website so, that it could be understandable by us that we need that or not @codingkush


Image binary encoding?

I'm using staticMap to generate a binary map image.
When I use the following code:
fs.writeFile('testblob.png', mapImage, (err) => {
  if (err) throw err;
  console.log('It\'s saved!');
});

The testblob.png is unreadable.  What do I need to do with this binary buffer in order to read it after writing it?

What is mapImage?  Could you post a longer example?

I fixed the problem, it was a content encoding issue with s3, I needed to set it to binary.
Sent from Outlook Mobile
On Sun, Mar 20, 2016 at 4:45 PM -0700, "Colin Kennedy"<EMAIL_ADDRESS>wrote:
What is mapImage?  Could you post a longer example?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub


Filters: custom filters API enhancements

There are two enhancements to introduce:

[ ] a global event to listen to filter addition (click on the "+" icon in the panel that adds filters), e.g., onFilterAdding, to be able to replace the default filter with the custom one (when the users configure/enable a custom filter, this choice needs to be saved on the subsequent addition of filters for the particular column)
[x] store the name/id of a filter to use in a hidden tag of the column and make the filter panel work with this tag (if present, prioritize the filter specified in the tag)

Wiki: https://datagrok.ai/help/visualize/viewers/filters#column-tags, DG.TAGS.CUSTOM_FILTER_TYPE

To test use SPGI

Right-click the Structure column's header and select Column Properties
Click the Plus icon to add the tag: .ignore-custom-filter = true
Click OK
Go to the Filter Panel and delete the Structure tab.
Drag'n'drop the structure column's header to the Filter Panel to add a filter tab. It should be a categorical filter
Add a tag .custom-filter-type = Chem:substructureFilter
Go to the Filter Panel and delete the Structure tab.
Drag'n'drop the structure column's header to the Filter Panel to add a filter tab. It should be a substructure

filter


[Feature Request] Get a registered dependency outside of route handlers as well

Is your feature request related to a problem? Please describe your use case.
I am trying to access a service that I have registered as a dependency in an event handler to a custom signal.

class MyService:

    def __init__(self, connection: DBConnection):
        self._connection = connection

@app.signal("some.dummy.event")
def dummy_event_handler(**context):
    app = Sanic.get_app("my-app")
    request = Request.get_current()

    dependency_callable = app.ext._injection_registry.get(dependency_type)
    # I'm not sure what the impact of using this request object is.
    # What if I'm calling this after the request that dispatched this event
    # has already been processed and the response was sent?
    service = await dependency_callable(request)
    ...

Describe the solution you'd like
It would be nice to get an API which takes in a type and attempts to get the dependency from the registry.

class MyService:
    ...

@app.signal("some.dummy.event")
def dummy_event_handler(**context):
    service = Sanic.get_app("my-app").ext.get_dependency(MyService)
    # do something with the service

I'm sorry, but I don't think your proposed solution is what I'm looking for. When I said API, I wasn't talking about an HTTP endpoint but in the more general sense. Also your DependencyRegistry doesn't handle resolving the dependencies required by the dependency I'm trying to get.

Sorry, but I can't think of any other solution

Sorry, but I can't think of any other solution


Estimator Does poorly at high angles of pitch and roll

I have realized that the estimator doesn't do well at high angles of pitch and roll.   If I've rolled a ton, then the pitch measurement is super sensitive.  I think it's because 98% of the gravity vector is in the y axis, so the arctan between the remaining x and z axes is really small, and the measurement is small, so it jumps around a lot.
I am confident that what I have written so far works really well at low (less than 70 degrees) angles of pitch and roll, but I think we could be a little bit smarter about how we do our estimate.
First thing is we can try to be smarter about calculating acc_phi and acc_theta.  Here is the current implementation
acc_phi = turboatan2(_accel_data[1], _accel_data[2]);
acc_theta = turboatan2(_accel_data[0], _accel_data[2]);

I think there is a better way that isn't so senstive.  Also, the complementary filter I coded assumes that

Which we know is not true.  That works at low angles of pitch and roll, but not if theta is big.  What we should do is calculate

and then extract phi and theta from R.  What do you think?

I just spent a few minutes reading about this, and I found this link http://www.olliw.eu/2013/imu-data-fusing/ which will probably be useful.  It summarizes a number of peer-reviewed estimator papers.  Mostly by Mahoney, which we should probably use.

I've been working on this some more, I think I'm going to end up implementing a quaternion-based estimator per the recommendation in "Attitude Representation and Kinematic Propagation for Low-Cost UAVs" by Robert Casey.  Dr. McLain pointed me to this paper that compares 8 complementary filters for accuracy and computational burden.  Good read!
Paper from Ren Curry - Read and comment - Casey2013GNC.pdf

I've implemented the quaternion, matrix exponential, quadratic integrating complementary filter recommended by Dr. McLain, referencing this paper.  Right now the prototype is on my git repo, as a python node.  I'll be moving to integer-based arithmetic and implementing it on the naze soon.
Attitude Representation and Kinematic Propagation for Low-Cost UAVs

My prototype now estimates gyro biases (really well, I had it going nuts, with > 180 degree rotations in all three directions at more than 50 Rad/s)


PyU4V install from PyPi not functioning as expected

When installing PyU4V from PyPi using command:
pip install PyU4V==<IP_ADDRESS>
The core functional files are still on version 2.0 whilst all the rest of the versioning points towards <IP_ADDRESS> being the installed version.
As a workaround, uninstall PyU4V using pip, clone PyU4V from the source GitHub repo and install using pip but with local files instead of remote.
$ pip uninstall PyU4V
$ git clone https://github.com/MichaelMcAleer/PyU4V.git
$ cd PyU4V
$ pip install .

You can confirm the correct version has been installed by checking the version in the init.py file in our site packages. Get the install location from pip and check the contents of init.py:
$ pip show PyU4V
$ cat /usr/local/lib/python3.6/dist-packages/PyU4V/__init__.py
#   __
#  /__)      /  /   / | \   /
# /    ( /  / _/  / _ |  \ /
#       /             |
"""__init__.py."""

__title__ = 'pyu4v'
__version__ = '<IP_ADDRESS>'
__author__ = 'Dell EMC or its subsidieries'
__license__ = 'MIT'
__copyright__ = 'Copyright 2019 Dell EMC Inc'

The root cause of the issue is incorrect files associated with the .whl file hosted on PyPi, we are currently investigating the issue and will have a fix submitted in due course.
--Michael

This has been resolved in both our GitHub repo and PyPi in PyU4V version <IP_ADDRESS>


NIFI-4310 - added changes to support detection of reporting tasks and…

… controller services during isEmpty flow check. Added testing scenarios
Recommend the following tests scenarios are included:

Confirm cluster starts after flow election with empty flows on all nodes
Confirm start after election initiated for cluster having all but one node containing empty flows (one remaining node contains flow populated with root process group)
Confirm start after election initiated for cluster containing 1/2 nodes with empty flows (remaining halves would contain flows with only controller services).
Confirm start after election initiated for cluster containing 1/2 nodes with empty flows (remaining halves would contain flows with only reporting tasks).

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ x] Is your initial contribution a single, squashed commit?

For code changes:

[x ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Will review...

@YolandaMDavis that was a great find. PR looks good - all new (and old) unit tests pass, was able to test behavior manually as well. Thanks for knocking that out! +1 merged to master.

@markap14 thank you!


[Event Request] Codeunit 80 - Sales-Post - OnFillInvoicePostingBufferOnAfterGetGenPostingSetup

Dear ALAppExtensions team,
Through this issue we would like to request event publisher OnFillInvoicePostingBufferOnAfterGetGenPostingSetup to be added to Codeunit 80 Sales-Post with the following signature:
    [IntegrationEvent(false, false)]
    local procedure OnFillInvoicePostingBufferOnAfterGetGenPostingSetup(var GenPostingSetup: Record "General Posting Setup"; SalesLine: Record "Sales Line")
    begin
    end;

which would be called as follows from FillInvoicePostingBuffer:
        GenPostingSetup.Get(SalesLine."Gen. Bus. Posting Group", SalesLine."Gen. Prod. Posting Group");
        OnFillInvoicePostingBufferOnAfterGetGenPostingSetup(GenPostingSetup, SalesLine);   //New
        GenPostingSetup.TestField(Blocked, false);

We now that procedure FillInvoicePostingBuffer is marked for future removal, but propably this will take some years from now.

Why do you need this? Maybe we can have another solution for your case?

Hello Alexander,
Thanks for your reply and question.
Whe need this to be able to redirect the GenPostingSetup Sales "Sales Account", "Sales Inv. Disc. Account",  and "Sales Line Disc. Account" for our Customer Sales Contract module.
Actually the InventoryPostingToGL already provides us with similar extensibility through the OnSetAccNoOnAfterGetPostingSetup event.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 51300.


Run the CI jobs using JDK 11

Remove classes removed in JDK 11 from test cases
Use JDK 11 in the CI job

I recently upgraded to JDK 11 in my local dev machine and hit a bunch of compilation errors, because some classes referenced in test cases were removed/moved in JDK 11. This PR fixes the compilation errors, but the Scala 2.11 tests fail with the following error in both my local environment and GitHub (see this build failure):
[info] - fix/ExplicitlyImportedImplicits.scala *** FAILED ***
[info]   java.lang.IllegalArgumentException:
[info]   at scala.tools.asm.ClassReader.<init>(ClassReader.java:185)
[info]   at scala.tools.asm.ClassReader.<init>(ClassReader.java:168)
[info]   at scala.tools.asm.ClassReader.<init>(ClassReader.java:439)
[info]   at scala.meta.internal.metacp.package$.scala$meta$internal$metacp$package$$readInputStreamToClassNode(package.scala:89)
[info]   at scala.meta.internal.metacp.package$XtensionAsmClassfileOps.hasScalaSig(package.scala:78)
[info]   at scala.meta.internal.scalacp.SymbolIndex$$anonfun$lookup$1.apply(SymbolIndex.scala:30)
[info]   at scala.meta.internal.scalacp.SymbolIndex$$anonfun$lookup$1.apply(SymbolIndex.scala:13)
[info]   at scala.collection.mutable.HashMap.getOrElseUpdate(HashMap.scala:79)
[info]   at scala.meta.internal.scalacp.SymbolIndex.lookup(SymbolIndex.scala:11)
[info]   at scala.meta.internal.scalacp.SymbolOps$XtensionSymbolSSpec.descriptor(SymbolOps.scala:113)
[info]   ...

Just noticed that the exception was thrown from a debugging println code path that was introduced in PR #179. Removing this code path solves the JDK 11 issue, although I've no idea about the root cause.


Is it possible to tell bitsandbytes what CUDA to always use? Seeing warnings around duplicate libcudart files

Hi! I'm seeing the following warning: UserWarning: Found duplicate ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] files, e.g.
UserWarning: Found duplicate ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] files: {PosixPath('/home/seanquinn/miniconda3/envs/ml/lib/libcudart.so'), PosixPath('/home/seanquinn/miniconda3/envs/ml/lib/libcudart.so.11.0')}.. We'll flip a coin and try one of these, in order to fail forward.
Either way, this might cause trouble in the future:
If you get `CUDA error: invalid device function` errors, the above might be the cause and the solution is to make sure only one
['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] in the paths that we search based on your env.

I suspect this is because my Windows system has one version of CUDA installed (12.1) and I'm trying to use a compatible version of CUDA (11.7) for other code within my WSL environment.
Is there a way to tell bitsandbytes what CUDA environment to always use?
In addition to the above, I'm looking for a sanity check here, it seems like installing CUDA 11.7 outside of the conda environment as well as installing it in the conda environment is redundant  and potentially a source of problems. Is it recommended to use one over the other? (Using conda seems like the logical choice)
System Information

OS: Windows 11 using WSL2 and Debian
GPU: RTX 3090 Ti
NVIDIA Driver version (from nvidia-smi): 531.68
CUDA version install on Windows (from nvidia-smi): 12.1

In my WSL2 environment I've tried to install a different version of CUDA, e.g. CUDA 11.7, because according to some tools they don't support CUDA 12.0 or CUDA 12.1 yet. For example the GPTQ-for-LLaMa does not appear to currently support CUDA 12.1 today.
On my WSL Linux instance, I've installed CUDA 11.7 using NVIDIA's own guidance here, e.g.
$ wget https://developer.download.nvidia.com/compute/cuda/11.7.1/local_installers/cuda_11.7.1_515.65.01_linux.run
$ sudo sh cuda_11.7.1_515.65.01_linux.run

I'm also working in a conda environment where I am installing the CUDA toolkit, PyTorch, etc. e.g.
$ conda install -c "nvidia/label/cuda-11.7.1" cuda
$ conda install -c conda-forge cudatoolkit-dev
$ conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia

I've also updated my $PATH and $LD_LIBRARY_PATH variables to the following (because without an $LD_LIBRARY_PATH I was getting an error from bitsandbutes when it was trying to read the OS environment variable which may not always be present):
export PATH="/usr/local/cuda/bin:$PATH"
export LD_LIBRARY_PATH="/usr/lib/wsl/lib:/usr/local/cuda/lib64:$LD_LIBRARY_PATH"

Output Example
$ pip install bitsandbytes
$ python -m bitsandbytes

===================================BUG REPORT===================================
Welcome to bitsandbytes. For bug reports, please run

python -m bitsandbytes

 and submit this information together with your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
================================================================================
bin /home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda117.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py:145: UserWarning: Found duplicate ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] files: {PosixPath('/home/seanquinn/miniconda3/envs/ml/lib/libcudart.so'), PosixPath('/home/seanquinn/miniconda3/envs/ml/lib/libcudart.so.11.0')}.. We'll flip a coin and try one of these, in order to fail forward.
Either way, this might cause trouble in the future:
If you get `CUDA error: invalid device function` errors, the above might be the cause and the solution is to make sure only one ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] in the paths that we search based on your env.
  warn(msg)
CUDA SETUP: CUDA runtime path found: /home/seanquinn/miniconda3/envs/ml/lib/libcudart.so
CUDA SETUP: Highest compute capability among GPUs detected: 8.6
CUDA SETUP: Detected CUDA version 117
CUDA SETUP: Loading binary /home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda117.so...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++ BUG REPORT INFORMATION ++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

+++++++++++++++++++ ANACONDA CUDA PATHS ++++++++++++++++++++
/home/seanquinn/miniconda3/envs/ml/nsight-compute/2022.2.1/target/linux-desktop-glibc_2_19_0-ppc64le/libcuda-injection.so
/home/seanquinn/miniconda3/envs/ml/nsight-compute/2022.2.1/target/linux-desktop-glibc_2_11_3-x64/libcuda-injection.so
/home/seanquinn/miniconda3/envs/ml/nsight-compute/2022.2.1/target/linux-desktop-t210-a64/libcuda-injection.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/quant_cuda-0.0.0-py3.10-linux-x86_64.egg/quant_cuda.cpython-310-x86_64-linux-gnu.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda118.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda115.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda111.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda116.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda115_nocublaslt.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda120.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda121_nocublaslt.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda118_nocublaslt.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda121.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda117_nocublaslt.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda102_nocublaslt.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda113.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda110.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda113_nocublaslt.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda116_nocublaslt.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda114_nocublaslt.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda117.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda112.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda120_nocublaslt.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda114.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda111_nocublaslt.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda110_nocublaslt.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda112_nocublaslt.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/torch/lib/libtorch_cuda_linalg.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/torch/lib/libtorch_cuda.so
/home/seanquinn/miniconda3/envs/ml/lib/python3.10/site-packages/torch/lib/libc10_cuda.so
/home/seanquinn/miniconda3/envs/ml/lib/stubs/libcuda.so
/home/seanquinn/miniconda3/envs/ml/lib/libcudart.so
/home/seanquinn/miniconda3/envs/ml/pkgs/cuda-toolkit/targets/x86_64-linux/lib/stubs/libcuda.so
/home/seanquinn/miniconda3/envs/ml/pkgs/cuda-toolkit/targets/x86_64-linux/lib/libcudart.so
/home/seanquinn/miniconda3/envs/ml/pkgs/cuda-toolkit/nsight-compute-2022.2.0/target/linux-desktop-glibc_2_19_0-ppc64le/libcuda-injection.so
/home/seanquinn/miniconda3/envs/ml/pkgs/cuda-toolkit/nsight-compute-2022.2.0/target/linux-desktop-glibc_2_11_3-x64/libcuda-injection.so
/home/seanquinn/miniconda3/envs/ml/pkgs/cuda-toolkit/nsight-compute-2022.2.0/target/linux-desktop-t210-a64/libcuda-injection.so

++++++++++++++++++ /usr/local CUDA PATHS +++++++++++++++++++
/usr/local/cuda-11.7/targets/x86_64-linux/lib/stubs/libcuda.so
/usr/local/cuda-11.7/targets/x86_64-linux/lib/libcudart.so
/usr/local/cuda-11.7/nsight-compute-2022.2.1/target/linux-desktop-glibc_2_19_0-ppc64le/libcuda-injection.so
/usr/local/cuda-11.7/nsight-compute-2022.2.1/target/linux-desktop-glibc_2_11_3-x64/libcuda-injection.so
/usr/local/cuda-11.7/nsight-compute-2022.2.1/target/linux-desktop-t210-a64/libcuda-injection.so

+++++++++++++++ WORKING DIRECTORY CUDA PATHS +++++++++++++++

++++++++++++++++++ LD_LIBRARY CUDA PATHS +++++++++++++++++++
++++++++++ /usr/local/cuda-11.7/lib64 CUDA PATHS +++++++++++

+++++++++++++ /usr/local/cuda/lib64 CUDA PATHS +++++++++++++

+++++++++++++++ /usr/lib/wsl/lib CUDA PATHS ++++++++++++++++
/usr/lib/wsl/lib/libcuda.so

++++++++++++++++++++++++++ OTHER +++++++++++++++++++++++++++
COMPILED_WITH_CUDA = True
COMPUTE_CAPABILITIES_PER_GPU = ['8.6']
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++ DEBUG INFO END ++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Running a quick check that:
    + library is importable
    + CUDA function is callable

WARNING: Please be sure to sanitize sensible info from any such env vars!

SUCCESS!
Installation was successful!

Yes, I think it's a false positive.
To hide the warnings, setting this env var seems to work:
os.environ["BITSANDBYTES_NOWELCOME"] = "1"
However, it may hide other issues so use at your own risk :)

Bitsandbytes was not supported windows before, but my method can support windows.（yuhuang）
1  open folder J:\StableDiffusion\sdwebui，Click the address bar of the folder and enter CMD
or WIN+R, CMD  。enter，cd /d J:\StableDiffusion\sdwebui
2  J:\StableDiffusion\sdwebui\py310\python.exe -m pip uninstall bitsandbytes
3 J:\StableDiffusion\sdwebui\py310\python.exe -m pip uninstall bitsandbytes-windows
4 J:\StableDiffusion\sdwebui\py310\python.exe -m pip install https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.41.1-py3-none-win_amd64.whl
Replace your SD venv directory file（python.exe Folder） here（J:\StableDiffusion\sdwebui\py310）


feature: injective and evmos support

Closes: #221 and #218
Note: Since the cosmjs faucet does not work with Injective node, relayer is not able to initialize itself. Need to fix the error.

/run_e2e

/run_e2e

/run_e2e


Exit code 0 without any errors in the logs

Describe the bug
https://discord.com/channels/984015101017346058/1117285651394600960/1229867128094720110
The starting of the node exits with code 0 without any error code. I have done/have the following :
Erased and restarted the node
Dont have a rate limit in block pi
Have enought space in my VPS
Dont have prover or proposer active
Changed the ports just in case it had something to do with the ports
Steps to reproduce

start the node
review the logs
then code 0 appears and exits automatically

Spam policy

[X] I verify that this issue is NOT SPAM and understand SPAM issues will be closed and reported to GitHub, resulting in ACCOUNT TERMINATION.

Looks like its killed because of the cpu / memory limit on your machine, can u check it?

seems like I still have some cpu/memory

Emmm what's the limit in your docker config?

@davidtaikocha What could the fix for this problem be?

Plz give the latest code of the new testnet another try?

Closed due to the A7 updates, free feel to open it again if the error still exists.

Any updates?
                    l2_execution_engine-1    | INFO [05-05|17:34:04.527] Initialized transaction indexer          range="entire chain"
                    l2_execution_engine-1    | INFO [05-05|17:34:04.527] Loaded local transaction journal         transactions=0 dropped=0
                    l2_execution_engine-1    | INFO [05-05|17:34:04.548] Enabled snap sync                        head=0 hash=1f5554..96e109
                    l2_execution_engine-1    | INFO [05-05|17:34:04.548] Chain post-merge, sync via beacon client
                    l2_execution_engine-1    | INFO [05-05|17:34:04.549] Gasprice oracle is ignoring threshold set threshold=2
                    l2_execution_engine-1    | WARN [05-05|17:34:04.550] Engine API enabled                       protocol=eth
                    l2_execution_engine-1    | INFO [05-05|17:34:04.550] Starting peer-to-peer node               instance=Geth/v1.13.14-stable/linux-arm64/go1.21.9
                    l2_execution_engine-1    | INFO [05-05|17:34:04.582] New local node record                    seq=1,714,928,733,283 id=89d74156c2a8c118 ip=<IP_ADDRESS> udp=30303 tcp=30303
                    l2_execution_engine-1    | INFO [05-05|17:34:04.583] Started P2P networking                   self=enode://ebc187d84cc8e226fd423ba98fe7c920948b01f75e3771d15ed763ffb8f35e14574dba9871c7873d0d2eb5b3ff42263689cf814717145c7742b5685a74344659@<IP_ADDRESS>:30303
                    l2_execution_engine-1    | INFO [05-05|17:34:04.583] IPC endpoint opened                      url=/data/taiko-geth/geth.ipc
                    l2_execution_engine-1    | INFO [05-05|17:34:04.585] Loaded JWT secret file                   path=/data/taiko-geth/geth/jwtsecret crc32=0x5c35d23b
                    l2_execution_engine-1    | INFO [05-05|17:34:04.585] HTTP server started                      endpoint=[::]:8545 auth=false prefix= cors= vhosts=*
                    l2_execution_engine-1    | INFO [05-05|17:34:04.585] WebSocket enabled                        url=ws://[::]:8546
                    l2_execution_engine-1    | INFO [05-05|17:34:04.585] WebSocket enabled                        url=ws://[::]:8551
                    l2_execution_engine-1    | INFO [05-05|17:34:04.585] HTTP server started                      endpoint=[::]:8551 auth=true  prefix= cors=localhost vhosts=*
                    l2_execution_engine-1    | INFO [05-05|17:34:09.691] Got interrupt, shutting down...
                    l2_execution_engine-1    | INFO [05-05|17:34:09.691] HTTP server stopped                      endpoint=[::]:8545
                    l2_execution_engine-1    | INFO [05-05|17:34:09.691] HTTP server stopped                      endpoint=[::]:8546
                    l2_execution_engine-1    | INFO [05-05|17:34:09.691] HTTP server stopped                      endpoint=[::]:8551
                    l2_execution_engine-1    | INFO [05-05|17:34:09.691] IPC endpoint closed                      url=/data/taiko-geth/geth.ipc
                    l2_execution_engine-1    | INFO [05-05|17:34:09.691] Ethereum protocol stopped
                    l2_execution_engine-1    | INFO [05-05|17:34:09.691] Transaction pool stopped
                    l2_execution_engine-1    | INFO [05-05|17:34:09.695] Blockchain stopped

I have no idea what interrupts my engine. I'm using mac mini M2 Pro. No errors, just stops after 1min or 2.


[PROBLEM] 273. Integer to English Words

Difficulty
Hard
Problem Description
Convert a non-negative integer num to its English words representation.
Example 1:

Input: num = 123
Output: "One Hundred Twenty Three"

Example 2:

Input: num = 12345
Output: "Twelve Thousand Three Hundred Forty Five"

Example 3:

Input: num = 1234567
Output: "One Million Two Hundred Thirty Four Thousand Five Hundred Sixty Seven"

Constraints:
0 <= num <= 231 - 1
Link
https://leetcode.com/problems/integer-to-english-words/

Please assign this issue to me under the labels: hacktoberfest?
@godkingjay


Missing test coverage for testing signed enclaves using oesign tool

The OESIGN tool gets used or exercised only by samples right now.
We need a test that uses the OESIGN tool to sign an enclave and test it.
Uncovered this during my PR #1540 when I modified properties and had added XFRM to signing and the issue was not caught by any test but samples.

@anitagov What is missing here? There are several tests (that aren't samples) that use the oesign tool. For example, the properties test runs both unsigned/signed tests.

Verified that tests props and debug-mode both invoke the oesign tool for signing enclaves. The ENCLAVE_CONFIG setting gets enabled for these tests as this parameter is specified in the enc/CMakeLists.txt.
add_enclave(TARGET props_enc CONFIG sign.conf SOURCES enc.c props.c ${gen})
Verified that the key was generated at run time and the tool oesign invoked to build the target(s).
Closing this.