ModFlags_ enum is missing

Hello, attempting to make some keychords for my shortcuts and I can't find the enum for ctrl, alt and shift modifiers!

Hm seems that's it's in the Key enum as im_gui_mod_ctrl, etc. not sure if that's a quirk of the bindings or if imgui has been changed, but the name containing im_gui_mod as a prefix indicates to me that this may indeed be a strange quirk of the bindings

The bindings are auto-generated from the C++ code, so the official source is imgui.h in the official repo.
See https://github.com/ocornut/imgui/blob/29cff2be06860cadbc7557cc64f29159468213e2/imgui.h#L1527-L1532 : there is no ModFlags_ enum (and if it existed in the past, it was removed by Omar)
enum ImGuiKey : int {
    // Keyboard
    ImGuiKey_None = 0,
    ImGuiKey_Tab = 512,             // == ImGuiKey_NamedKey_BEGIN
    ImGuiKey_LeftArrow,
    ImGuiKey_RightArrow,
    ...
    ImGuiMod_None                   = 0,
    ImGuiMod_Ctrl                   = 1 << 12, // Ctrl (non-macOS), Cmd (macOS)
    ImGuiMod_Shift                  = 1 << 13, // Shift
    ImGuiMod_Alt                    = 1 << 14, // Option/Menu
    ImGuiMod_Super                  = 1 << 15, // Windows/Super (non-macOS), Ctrl (macOS)
    ImGuiMod_Mask_                  = 0xF000,  // 4-bits
   ...
};

There is a quirk which is that ImGuiMod_Ctrl was translated to im_gui_mod_ctrl (an issue in the snake_case conversion).
I'm not sure I shall change it because some users might be relying on it already.
Leaving this issue opened until I come to a decision.

Yes, i am using im_gui_mod_ctrl already, but would be happy to change to imgui.Key_.mod_ctrl, which i guess would be the logical name for it.

@dcnieho : this was fixed inside https://github.com/pthom/imgui_bundle/commit/be5ab1328d1a66a1f1660f4a01803e11c8351353
However, this change has quite a few impact in the internal API. For the best, I think

@dcnieho
See https://github.com/pthom/imgui_bundle/commit/f8db311b9c0828330e6b277238243ae3ccb8db76
Which was obtained with this change in litgen.
I implemented this with a concrete fix, specific to ImGui, and I avoided using regexes and the "two problems" plague :-)

That cleans it up super nicely! Thanks!n Probably better to just have this special case indeed :)


Add Chinese translation for 'Quick Accent'

Microsoft PowerToys version
0.69.1
Utility with translation issue
Quick Accent
🌐 Language affected
Chinese
❌ Actual phrase(s)
Quick Accent
✔ Expected phrase(s)
快速重音
ℹ Why is the current translation wrong
Not translated from English to Chinese

https://microsoft.visualstudio.com/OS/_workitems/edit/44976521 /loc

Hi can you please provide a screenshot of the dialog for where this issue presents so we can pin point the problem to make this fix, thanks?

this should be fixed in .71, can you please verify?  /needinfo


Why the statsd plugin will replace the '.' in metric name with '_'

As title, it's the some configuration to disable this?

There isn't, InfluxDB & Telegraf generally uses underscores as a convention, but it would be pretty simple to disable this.

@sparrc tested on 0.10.1, specify the option as false does not work.
Maybe the configuration is not used?


Source Bio - Sender Setup - Create Sender Schema

Main Objectives & Tasks:

[ ] Using ./manualupload/csvuploadertest-covid-19.schema as a template, create a new schema replacing csvuploadertest with the sender_id.
[ ] Create the Staging & Production YAML settings files

Started creation of the schema.

PR created and merged.


usbtop: init at 1.0

Motivation for this change
usbtop is a top-like utility for displaying traffic on USB buses.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

This builds and runs for me on NixOS x86_64, but then I continued testing by repeatedly starting usbtop during a btrfs scrub start ... on a problem-free Samsung MUF 256GB, and got:
Aug 30 15:34:34 plato kernel: usb 4-2: usbfs: USBDEVFS_CONTROL failed cmd usbtop rqt 128 rq 6 len 273 ret -110
Aug 30 15:34:45 plato kernel: usb 4-2: usbfs: USBDEVFS_CONTROL failed cmd usbtop rqt 128 rq 6 len 273 ret -110
Aug 30 15:34:51 plato kernel: usb 4-2: usbfs: USBDEVFS_CONTROL failed cmd usbtop rqt 128 rq 6 len 273 ret -110
Aug 30 15:35:02 plato kernel: xhci_hcd 0000:26:00.0: Timeout while waiting for setup device command
Aug 30 15:35:02 plato kernel: usb 4-2: Device not responding to setup address.
Aug 30 15:35:03 plato kernel: usb 4-2: device not accepting address 2, error -71
Aug 30 15:35:03 plato kernel: usb 4-2: Device not responding to setup address.
Aug 30 15:35:03 plato kernel: usb 4-2: Device not responding to setup address.
Aug 30 15:35:03 plato kernel: usb 4-2: device not accepting address 2, error -71
Aug 30 15:35:03 plato kernel: usb 4-2: Device not responding to setup address.
Aug 30 15:35:04 plato kernel: usb 4-2: Device not responding to setup address.
Aug 30 15:35:04 plato kernel: usb 4-2: device not accepting address 2, error -71
Aug 30 15:35:04 plato kernel: usb 4-2: Device not responding to setup address.
Aug 30 15:35:04 plato kernel: usb 4-2: Device not responding to setup address.
Aug 30 15:35:04 plato kernel: usb 4-2: device not accepting address 2, error -71
Aug 30 15:35:04 plato kernel: usb 4-2: USB disconnect, device number 2
Aug 30 15:35:04 plato kernel: print_req_error: I/O error, dev sdc, sector 18620416
Aug 30 15:35:04 plato kernel: print_req_error: I/O error, dev sdc, sector 18622464
Aug 30 15:35:04 plato kernel: print_req_error: I/O error, dev sdc, sector 18620416
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): bdev /dev/mapper/Samsung-256-1 errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): bdev /dev/mapper/Samsung-256-1 errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): bdev /dev/mapper/Samsung-256-1 errs: wr 0, rd 3, flush 0, corrupt 0, gen 0
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): unable to fixup (regular) error at logical<PHONE_NUMBER> on dev /dev/mapper/Samsung-256-1
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): bdev /dev/mapper/Samsung-256-1 errs: wr 0, rd 4, flush 0, corrupt 0, gen 0
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): bdev /dev/mapper/Samsung-256-1 errs: wr 0, rd 5, flush 0, corrupt 0, gen 0
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): bdev /dev/mapper/Samsung-256-1 errs: wr 0, rd 6, flush 0, corrupt 0, gen 0
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): unable to fixup (regular) error at logical<PHONE_NUMBER> on dev /dev/mapper/Samsung-256-1
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): bdev /dev/mapper/Samsung-256-1 errs: wr 0, rd 7, flush 0, corrupt 0, gen 0
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): bdev /dev/mapper/Samsung-256-1 errs: wr 0, rd 8, flush 0, corrupt 0, gen 0
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): bdev /dev/mapper/Samsung-256-1 errs: wr 0, rd 9, flush 0, corrupt 0, gen 0
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): unable to fixup (regular) error at logical<PHONE_NUMBER> on dev /dev/mapper/Samsung-256-1
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): bdev /dev/mapper/Samsung-256-1 errs: wr 0, rd 10, flush 0, corrupt 0, gen 0
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): unable to fixup (regular) error at logical<PHONE_NUMBER> on dev /dev/mapper/Samsung-256-1
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): unable to fixup (regular) error at logical<PHONE_NUMBER> on dev /dev/mapper/Samsung-256-1
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): unable to fixup (regular) error at logical<PHONE_NUMBER> on dev /dev/mapper/Samsung-256-1
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): unable to fixup (regular) error at logical<PHONE_NUMBER> on dev /dev/mapper/Samsung-256-1
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): unable to fixup (regular) error at logical<PHONE_NUMBER> on dev /dev/mapper/Samsung-256-1
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): unable to fixup (regular) error at logical<PHONE_NUMBER> on dev /dev/mapper/Samsung-256-1
Aug 30 15:35:04 plato kernel: BTRFS error (device dm-2): unable to fixup (regular) error at logical<PHONE_NUMBER> on dev /dev/mapper/Samsung-256-1
Aug 30 15:35:04 plato kernel: scsi 6:0:0:0: rejecting I/O to dead device
Aug 30 15:35:04 plato kernel: print_req_error: I/O error, dev sdc, sector 18620672
Aug 30 15:35:05 plato kernel: scsi 6:0:0:0: rejecting I/O to dead device
Aug 30 15:35:05 plato kernel: print_req_error: I/O error, dev sdc, sector 18620928
Aug 30 15:35:05 plato kernel: scsi 6:0:0:0: rejecting I/O to dead device
Aug 30 15:35:05 plato kernel: print_req_error: I/O error, dev sdc, sector 18624512
Aug 30 15:35:05 plato kernel: scsi 6:0:0:0: rejecting I/O to dead device
Aug 30 15:35:05 plato kernel: print_req_error: I/O error, dev sdc, sector 18621184
Aug 30 15:35:05 plato kernel: scsi 6:0:0:0: rejecting I/O to dead device
Aug 30 15:35:05 plato kernel: print_req_error: I/O error, dev sdc, sector 18621440
Aug 30 15:35:05 plato kernel: scsi 6:0:0:0: rejecting I/O to dead device
Aug 30 15:35:05 plato kernel: print_req_error: I/O error, dev sdc, sector 18621696
Aug 30 15:35:05 plato kernel: scsi 6:0:0:0: rejecting I/O to dead device
Aug 30 15:35:05 plato kernel: print_req_error: I/O error, dev sdc, sector 18626560
Aug 30 15:35:05 plato usbguard-daemon[829]: [1567179305.077] (W) Ignoring unknown UEvent action: sysfs_devpath=/devices/pci0000:00/0000:00:1c.7/0000:26:00.0/usb4/4-2/4-2:1.0 action=unbind
Aug 30 15:35:05 plato usbguard-daemon[829]: [1567179305.094] (W) Ignoring unknown UEvent action: sysfs_devpath=/devices/pci0000:00/0000:00:1c.7/0000:26:00.0/usb4/4-2 action=unbind
Aug 30 15:35:05 plato usbguard-daemon[829]: [1567179305.096] (A) uid=0 pid=829 device.rule='allow id 090c:1000 serial "0347018060001560" name "Flash Drive FIT" hash "4J1o+D9D9x5kCDQFzzQtlD9SHKZZ9/aASnNPYOLcqnQ=" parent-hash ">
Aug 30 15:35:05 plato kernel: BTRFS: error (device dm-2) in btrfs_commit_transaction:2260: errno=-5 IO failure (Error while writing out transaction)
Aug 30 15:35:05 plato kernel: BTRFS info (device dm-2): forced readonly
Aug 30 15:35:05 plato kernel: BTRFS warning (device dm-2): Skipping commit of aborted transaction.
Aug 30 15:35:05 plato kernel: BTRFS: error (device dm-2) in cleanup_transaction:1860: errno=-5 IO failure
Aug 30 15:35:05 plato kernel: BTRFS info (device dm-2): delayed_refs has NO entry
Aug 30 15:35:05 plato kernel: usb 4-2: Device not responding to setup address.
Aug 30 15:35:05 plato kernel: usb 4-2: Device not responding to setup address.
Aug 30 15:35:05 plato kernel: usb 4-2: device not accepting address 3, error -71
Aug 30 15:35:05 plato kernel: usb 4-2: Device not responding to setup address.
Aug 30 15:35:06 plato kernel: usb 4-2: Device not responding to setup address.
Aug 30 15:35:06 plato kernel: usb 4-2: device not accepting address 4, error -71
Aug 30 15:35:06 plato kernel: usb usb4-port2: attempt power cycle
Aug 30 15:35:11 plato kernel: xhci_hcd 0000:26:00.0: Error while assigning device slot ID
Aug 30 15:35:11 plato kernel: xhci_hcd 0000:26:00.0: Max number of devices this xHCI host supports is 32.
Aug 30 15:35:11 plato kernel: usb usb4-port2: couldn't allocate usb_device

@ivan Sounds more... like a bug with this program, btrfs or a resource limitation of some kind. Maybe it should be reported somewhere?

@etu you've run this a bit with no problems? Everything looks good. Ready for a merge?

@aanderse Yeah, works fine for me here. So I don't think it's a packaging issue.


TC.1.3 Keep track of the topmost card on each pile

@Saro7890  add commit code and close

d5b551744ab518fe8a0c7243f0707c31d525bac9


Create governance model and document it

This project is now independent, and as a result will need a documented governance process. This issue is the place to discuss that.

Moving issue to the governance repo as a more appropriate place for these notes.
During the 11 Jun 2020 meeting, Kaia, Chakri, Sylvain, and I worked on the code of conduct enforcement manual.

During the 18 June 2020meeting, Kaia, Chakri, Sylvain, and Itay worked through the rest of the code of conduct enforcement.
@SylvainCorlay will be doing some work in the coming week to set up email lists, etc. The big item of business for next week is appointing a steering council and making plans for the NumFOCUS application.

It sounds like this can be closed, now that the transition team has completed its work and the new steering council is active.
Also, this repo's description in github still says "in-progress draft" - that can probably be changed to something more official.

Good catch. Removing the "in-progress" and closing.


Unset GEM_PATH with nil not empty string.

Pushing this to get a good build against it to see what side-effects
this may cause. It appears to fix #4592, but the line of code in
question goes back to 2010.
Issue #4592 has full write-up on the diagnosis of the problem - if this
passes the build, then it should get a spec on it, etc. and a better
commit message perhaps.

@segiddins tests all pass. I'm out of time today, I'll leave with y'all for now? My guess is any 1.12.x user trying to bundle exec _[ruby-shebanged-file]_ would be affected.

@chrismo thanks! I'm 👍 on merging this if we can figure out a spec

@segiddins this is ready from my POV.

@homu r+

:pushpin: Commit 9a8ab67 has been approved by segiddins

:zap: Test exempted - status


Update CONTRIBUTORS.md

Pls pull the latest changes from the codebase and open a new PR (resolve merge conflicts)


Ensure stage progress logs are increasing

Right now when the node is restarted we get these logs:
2024-03-18T16:23:28.531871Z  INFO Status connected_peers=4 freelist=95528 stage=Execution checkpoint=1046230 target=1155964 stage_progress=100.00%
2024-03-18T16:23:31.010003Z  INFO Stage committed progress pipeline_stages=4/12 stage=Execution checkpoint=1063454 target=1155964 stage_progress=83.21%

They're potentially confusing, since it seems like the percentage goes backwards. Instead, when progress is None it should not print stage progress, or indicate that the stage is making progress even if we don't know how far it is.

not that I'm aware, I believe this is fixed.
closing, need another issue if this appears again


Server Availability Reliability Tracking

I am using Swift SignalR for a project I am working on where I need to track Availability and Reliability of our Service. We have multiple http calls where we are tracking 5xx errors to make these calculations - but a lot of our calls also route through websockets using signal R. I can't seem to find any documentation on how the SignalR client relays these errors - specifically I am looking for the equivalents of "500" "502" "503" and "504" if they exist in the signalR world. Thanks!

Once a webSocket connection is established there is no notion of HTTP errors. If a webSocket connection is closed due to an error the closeCode will be returned in the error passed to the transportDidClose delegate.


Genshin Impact System Error

So I tried to open Genshin Impact on the Cultivation launcher and when I try to login it says: "System Error. Please try again later.". I've looked if I missed something in the process but seems that there's nothing that I've left:

I've installed the Proxy certificate
I've put the WIndows proxy settings set to manual
I have the 2.8 client
I unchecked HTTPS and disabled Encryption

If anyone could help I would be very grateful!

did you make it work?


Fix pledge stuff

I rule and have completed some work on Case Manager that's ready for review!
(brief, plain english overview of your changes here)
This pull request makes the following changes:

(your change here)
(another change here)
(etc)

(If there are changes to the views, please include a screenshot so we know what to look for!)
It relates to the following issue #s:

Fixes #X
Bumps #Y

For reviewer:

Adjust the title to explain what it does for the notification email to the listserv.
Tag this PR:

feature if it contains a feature, fix, or similar. This is anything that contains a user-facing fix in some way, such as frontend changes, alterations to backend behavior, or bug fixes.
dependencies if it contains library upgrades or similar. This is anything that upgrades any dependency, such as a Gemfile update or npm package upgrade.

If it contains neither, no need to tag this PR.

Good to close this unmerged?

Yes
On Thu, Oct 10, 2024 at 2:30 PM ktipton @.***> wrote:

Good to close this unmerged?
—
Reply to this email directly, view it on GitHub
https://github.com/DARIAEngineering/dcaf_case_management/pull/3284#issuecomment-2405782553,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA5QB5GEQTKWQ24IPIO3HSDZ23BVXAVCNFSM6AAAAABPLCJ7HKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBVG44DENJVGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


Compile .vue files with Slate

I would love to be able to use Slate to build a theme using Vue.js, graphql and Shopify storefront api !
But it seems Slate can't compile .vue files yet.
I get the following error.

Also tried to implement vue loader https://github.com/vuejs/vue-loader in slate config
But i was unsuccessful.
I saw topics mentioning this but I am opening one to put the focus on vue.
Or if anyone has feedbacks.
Thanks

awesome !
Just had to yarn add webpack-merge vue-template-compiler
then explicitely add those into package.json
now it works ! Thanks @jaydensmith

Just had to yarn add webpack-merge

We are already using webpack-merge to merge in the value passed via webpack.extend.
Just pass the above code as a single object and it will work the same.

It breaks since the vue loader must come before babel and hmr, please allow an option to use webpack extend instead of webpack, maybe give an option to overwrite the webpack file, and expose a function to get the default configurations? it will be much more convinient to use.
./vue/App.vue?vue&type=script&lang=js& (../node_modules/@shopify/slate-tools/tools/webpack/hmr-alamo-loader.js!../node_modules/babel-loader/lib??ref--5!../node_modules/vue-loader/lib??vue-loader-options!./vue/App.vue?vue&type=script&lang=js&)
Module not found: Error: Can't resolve './core/app-data' in '/Users/lna23126/shopify-learning/my-first-theme/src/vue'
 @ ./vue/App.vue?vue&type=script&lang=js& (../node_modules/@shopify/slate-tools/tools/webpack/hmr-alamo-loader.js!../node_modules/babel-loader/lib??ref--5!../node_modules/vue-loader/lib??vue-loader-options!./vue/App.vue?vue&type=script&lang=js&) 19:15-41
 @ ./vue/App.vue?vue&type=script&lang=js&
 @ ./vue/App.vue
 @ ./vue/index.js
 @ multi ./vue/index.js


Feature Request: Python support

Most ML pipelines are written in Python and this tool would be super helpful for debugging and development.

Any chance for a Python version anytime soon?

Today we have released a new version of MerLoc that adds support for Python, Node.js, Java, Go, and.NET. You can check our README for more info

Hi @nickls, @rberger, @bvand
We have released MerLoc with Python support. I would love to get your feedbacks.
You can check the repo here for the setup instructions: https://github.com/thundra-io/merloc

Closing the issue as Python runtime is supported now.


State title and Vote totals on separate lines

Looked a bit crowded to have all that info on one line. I think this is a little cleaner and easier for a user to read

It seems like this might be interacting weirdly with the anchoring behavior for sectors

thanks!! tweaked the formatting of the html


API Doc of user management cloud service

Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[X] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[X] Other... Please describe: API Documentation

What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[X] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:
Only the API documentation of the user management cloud service, generated by "typedoc".

@damienld22 Pourquoi est ce que les fichiers transpilé en js sont commité?


Small changes and debug menu.

Small changes and debug menu.
-Added an ingame console for debugging similar to quake console.
-Keyboard support for imgui.
-Fixed the crash which occurs when the player is faster than chunk loading.
-Moved the menu handling to input.rs from camera.rs.
-Renamed the cursor_grab_system function to handle_menu_system.

I removed all handling of commands / events in favor of processing small and not-so-complex events as-in in-place (by modifying appropriate resources in that debug_console system. Events with this approach should only be used to delegate multi-stage commands with complex logic.

Also it would be better to utilise some kind of home-brew parser combinator utility to parse those commands instead of relying on string split.


fix: Fix casting from binary to string on Snowflake & BigQuery

This PR adds binary to hex casting for row comparisons therefore giving a us more reliable comparison than simply casting to string and hoping for the best.
Note that so far the following engines have been completed:

BigQuery
Snowflake
Oracle
PostgreSQL
SQL Server
Teradata
Hive
MySQL
DB2 (I've added the cast but cannot test because binary columns are unsupported)

Still to do (or at least assess viability):

Spanner

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

/gcbrun

Hello guys, @helensilva14 @nj1973

if I have an oracle field of type RAW and the same field in BigQuery of type STRING. DVT will be able to compare them?
if I have an oracle field of type RAW and the same field in BigQuery of type BYTES. DVT will be able to compare them?

Hello guys, @helensilva14 @nj1973
1. if I have an oracle field of type RAW and the same field in BigQuery of type STRING. DVT will be able to compare them?

2. if I have an oracle field of type RAW and the same field in BigQuery of type BYTES. DVT will be able to compare them?

Hi @simzo10 , if you have a binary column on both sides then DVT converts both to hex and then compares them. We have tests demonstrating that this technique works on all engines, including Oracle->BigQuery, so that should be fine.
If you have RAW in Oracle and STRING in BigQuery we have no way of knowing how those values were converted so I don't think there's a reliable way for us to compare them. For these columns you would need to use custom query validation to convert the columns to equivalent/comparable values.

Thank you for your reply @nj1973. So, if I understand correctly, the second case will work fine if I'm performing simple row validation without casting the field; DVT will convert it directly. However, for the first case, I should use a custom query for row validation, correct?

Thank you for your reply @nj1973. So, if I understand correctly, the second case will work fine if I'm performing simple row validation without casting the field; DVT will convert it directly. However, for the first case, I should use a custom query for row validation, correct?

Yes, that is correct.

Hello @nj1973, I attempted custom-query row validation as discussed earlier but encountered the following error: "Object of type bytes is not JSON serializable". Furthermore, the result wasn't saved in BigQuery.
Just a reminder: my Oracle field is of RAW datatype and is in STRING format in BigQuery.

@simzo10 , to further elaborate on:

If you have RAW in Oracle and STRING in BigQuery ... you would need to use custom query validation to convert the columns to equivalent/comparable values.

I should have included that DVT cannot compare binary values so your custom queries would need to "convert the columns to equivalent/comparable [non-binary] values"
In your case it sounds like the Oracle side custom query should convert the RAW values to string in such a way that they match whatever transformation was done on the way into BigQuery.


refactor(coral): Replace custom Pagination with Aquarium Pagination

What is currently missing?
We have a custom Pagination component (src/app/components/Pagination). The reasons for it to exist are twofold:

sub-optimal: shortcomings in a11y for Aquarium's Pagination (screen reader desctipions are not enough to know that the component is a Pagination UI)
breaking: a bug that prevented us from setting an initial page from the URL search params (https://github.com/aiven/design-system/issues/946)

Using custom components when one already exists in Aquarium is not desirable at this point.
How could this be improved?
The breaking issue has been resolved, and will be released in an upcoming Aquarium version. We should consider using the component as soon as the bug is fixed in the released version, and opening an issue with the Aquarium project to fix the a11y ambiguity.
Todo:

replace use of custom Pagination by Aquarium's Pagination
delet custom Pagination
open a11y issue in the Aquarium project

Is this a feature you would work on yourself?

[ ] I plan to open a pull request for this feature

Note about a11y

screen reader does not have any information that this is a navigation and how to use it
focus states for keyboard may not work (our accessibility.css may already cover that)
hover state of buttons is not even enough for AA compliance, which it at least should be

This should be fixed before using the component (either temp fix on our end or in DS) and we can use the temp implementation we already have until it works. Otherwise we willingly break functionality for certain users for an unclear amount of time without any need and value other than removing a bit of code. (removing code is super nice, but not if users pay the price ^^)


[iOS] Support UIColor for ColorAsset (Plan B)

Issue
#466 has accidentally broken the support of UIColor.
Overview (Required)

Support UIColor for ColorAsset
Separate Color and NSColor
Make similar change as ColorAsset for ImageAsset
Update codes which using AssetColor or AssetImage

Another Plan
#467

@myihsan
Thanks! The code looks great 😄
Could you please solve the conflicts?


Shadow Normal Offset Bias

Normal Offset is a better way to eliminate self-shadowing with much less to virtually no peter panning:

video explanation: http://www.dissidentlogic.com/old/video/Techniques/NormalOffsetShadows_0001.wmv
Note: Godot's "Normal bias" seems to be slope bias, and it introduces a lot of peter panning.

I just came across this when messing around with shadows and from my experience, depth bias plus a normal offset as described can give very good results with almost zero peter-panning.
It should be fairly easy to implement as it's really just about adding the normal vector onto the 3D position of the fragment which is shaded (with some form of weighting the length of the offset).
Also, this type of offset should be included in all light types, not just directional light sources.

I'll see if I can get this implemented

Getting somewhere but still needs a lot of work:

The PR might take me some time.

Any progress with this?

At this point I think it may be better to work in the 4.0 branch, btw.

@reduz I ran into some trouble with calculating the offset distance and haven't had much time to work on it since then.
But the implementation should basically work like this:

tone down the depth bias (it's still useful but doesn't have to be as high)
offset the sampled position into the direction of the surface normal.
Theoretically the amount should be the shadowmap pixel size at the sampled position in world space or at least proportional to it.

@CptPotato Could you upload your work in a branch somewhere? Thanks in advance :slightly_smiling_face:

I don' t understand, does not Godot do this already with the normal bias?

@reduz as far as I know it doesn't. Godot seems to only uses a depth bias (also based on the surface angle) but it only offsets the depth.
The proposed method changes the sampling position by offsetting it away from the sufface (in 3d) before reading from the shadow depth map. The big difference is that you can eliminate self-shadowing even at very shallow angles.


Nuimages segmentation task error

when I train htc with command  python tools/test.py configs/nuimages/cascade_mask_rcnn_r50_fpn_1x_nuim.py cascade_mask_rcnn_r50_fpn_1x_nuim_20201008_195342-1147c036.pth --eval segm, error occurs like
Exception has occurred: IndexError       (note: full exception trace is shown but execution is paused at: _run_module_as_main)
only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices
File "/opt/conda/lib/python3.8/site-packages/mmdet/datasets/coco.py", line 288, in _segm2json
if isinstance(segms[i]['counts'], bytes):
File "/opt/conda/lib/python3.8/site-packages/mmdet/datasets/coco.py", line 320, in results2json
json_results = self._segm2json(results)
File "/opt/conda/lib/python3.8/site-packages/mmdet/datasets/coco.py", line 383, in format_results
result_files = self.results2json(results, jsonfile_prefix)
File "/opt/conda/lib/python3.8/site-packages/mmdet/datasets/coco.py", line 438, in evaluate
result_files, tmp_dir = self.format_results(results, jsonfile_prefix)
File "/mnt/sda/kypark/mmdetection3d/tools/test.py", line 234, in main
print(dataset.evaluate(outputs, **eval_kwargs))
File "/mnt/sda/kypark/mmdetection3d/tools/test.py", line 238, in
main()
File "/opt/conda/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/opt/conda/lib/python3.8/runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/opt/conda/lib/python3.8/runpy.py", line 265, in run_path
return _run_module_code(code, init_globals, run_name,
File "/opt/conda/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/opt/conda/lib/python3.8/runpy.py", line 194, in _run_module_as_main (Current frame)
return _run_code(code, main_globals, None,

when I train htc with following command : CUDA_VISIBLE_DEVICES=0,1 tools/dist_train.sh configs/nuimages/htc_x101_64x4d_fpn_dconv_c3-c5_coco-20e_16x1_20e_nuim.py 2, the training loss becomes nan after few iterations.
2022-02-19 12:52:48,269 - mmdet - INFO - Epoch [1][50/30105]	lr: 1.978e-03, eta: 10 days, 5:31:04, time: 1.468, data_time: 0.097, memory: 12798, loss_rpn_cls: 0.0068, loss_rpn_bbox: 0.0114, loss_semantic_seg: 0.5636, s0.loss_cls: 0.1252, s0.acc: 95.0645, s0.loss_bbox: 0.0670, s0.loss_mask: 0.2330, s1.loss_cls: 0.0577, s1.acc: 95.4884, s1.loss_bbox: 0.1056, s1.loss_mask: 0.1148, s2.loss_cls: 0.0297, s2.acc: 95.2546, s2.loss_bbox: 0.0784, s2.loss_mask: 0.0555, loss: 1.4487
2022-02-19 12:53:59,565 - mmdet - INFO - Epoch [1][100/30105]	lr: 3.976e-03, eta: 10 days, 1:58:29, time: 1.426, data_time: 0.032, memory: 13125, loss_rpn_cls: 0.0060, loss_rpn_bbox: 0.0132, loss_semantic_seg: 0.0275, s0.loss_cls: 0.1275, s0.acc: 94.9297, s0.loss_bbox: 0.0736, s0.loss_mask: 0.2282, s1.loss_cls: 0.0604, s1.acc: 95.3703, s1.loss_bbox: 0.1142, s1.loss_mask: 0.1121, s2.loss_cls: 0.0315, s2.acc: 95.0123, s2.loss_bbox: 0.0871, s2.loss_mask: 0.0552, loss: 0.9365
2022-02-19 12:55:11,869 - mmdet - INFO - Epoch [1][150/30105]	lr: 5.974e-03, eta: 10 days, 1:54:03, time: 1.446, data_time: 0.027, memory: 13125, loss_rpn_cls: 0.0109, loss_rpn_bbox: 0.0140, loss_semantic_seg: 0.0277, s0.loss_cls: 0.1552, s0.acc: 94.1270, s0.loss_bbox: 0.0862, s0.loss_mask: 0.2366, s1.loss_cls: 0.0741, s1.acc: 94.4801, s1.loss_bbox: 0.1260, s1.loss_mask: 0.1171, s2.loss_cls: 0.0376, s2.acc: 94.2086, s2.loss_bbox: 0.0870, s2.loss_mask: 0.0571, loss: 1.0296
2022-02-19 12:56:22,025 - mmdet - INFO - Epoch [1][200/30105]	lr: 7.972e-03, eta: 10 days, 0:03:31, time: 1.403, data_time: 0.044, memory: 13272, loss_rpn_cls: 0.0211, loss_rpn_bbox: 0.0258, loss_semantic_seg: 0.0369, s0.loss_cls: 0.1864, s0.acc: 92.9004, s0.loss_bbox: 0.1127, s0.loss_mask: 0.2577, s1.loss_cls: 0.0904, s1.acc: 93.2562, s1.loss_bbox: 0.1449, s1.loss_mask: 0.1242, s2.loss_cls: 0.0454, s2.acc: 92.8702, s2.loss_bbox: 0.0924, s2.loss_mask: 0.0600, loss: 1.1978
2022-02-19 12:57:30,625 - mmdet - INFO - Epoch [1][250/30105]	lr: 9.970e-03, eta: 9 days, 21:54:11, time: 1.372, data_time: 0.035, memory: 13272, loss_rpn_cls: 0.0269, loss_rpn_bbox: 0.0291, loss_semantic_seg: 0.0324, s0.loss_cls: 0.2031, s0.acc: 92.5410, s0.loss_bbox: 0.1045, s0.loss_mask: 0.2751, s1.loss_cls: 0.0991, s1.acc: 92.7682, s1.loss_bbox: 0.1308, s1.loss_mask: 0.1356, s2.loss_cls: 0.0490, s2.acc: 92.5318, s2.loss_bbox: 0.0882, s2.loss_mask: 0.0676, loss: 1.2413
2022-02-19 12:58:40,022 - mmdet - INFO - Epoch [1][300/30105]	lr: 1.197e-02, eta: 9 days, 20:54:20, time: 1.388, data_time: 0.032, memory: 13272, loss_rpn_cls: 0.0291, loss_rpn_bbox: 0.0266, loss_semantic_seg: 0.0356, s0.loss_cls: 0.2330, s0.acc: 92.1406, s0.loss_bbox: 0.1194, s0.loss_mask: 0.3224, s1.loss_cls: 0.1156, s1.acc: 91.9972, s1.loss_bbox: 0.1478, s1.loss_mask: 0.1520, s2.loss_cls: 0.0563, s2.acc: 91.8879, s2.loss_bbox: 0.0879, s2.loss_mask: 0.0738, loss: 1.3997
2022-02-19 12:59:50,268 - mmdet - INFO - Epoch [1][350/30105]	lr: 1.397e-02, eta: 9 days, 20:35:39, time: 1.405, data_time: 0.041, memory: 13272, loss_rpn_cls: 0.0434, loss_rpn_bbox: 0.0288, loss_semantic_seg: 0.0487, s0.loss_cls: 0.2206, s0.acc: 92.7305, s0.loss_bbox: 0.1241, s0.loss_mask: 0.3407, s1.loss_cls: 0.1056, s1.acc: 93.0553, s1.loss_bbox: 0.1470, s1.loss_mask: 0.1621, s2.loss_cls: 0.0488, s2.acc: 93.3164, s2.loss_bbox: 0.0788, s2.loss_mask: 0.0766, loss: 1.4252
2022-02-19 13:00:56,281 - mmdet - INFO - Epoch [1][400/30105]	lr: 1.596e-02, eta: 9 days, 18:35:09, time: 1.320, data_time: 0.030, memory: 13272, loss_rpn_cls: nan, loss_rpn_bbox: nan, loss_semantic_seg: nan, s0.loss_cls: nan, s0.acc: 79.7120, s0.loss_bbox: nan, s0.loss_mask: nan, s1.loss_cls: nan, s1.acc: 80.0003, s1.loss_bbox: nan, s1.loss_mask: nan, s2.loss_cls: nan, s2.acc: 79.9697, s2.loss_bbox: nan, s2.loss_mask: nan, loss: nan
2022-02-19 13:01:56,643 - mmdet - INFO - Epoch [1][450/30105]	lr: 1.796e-02, eta: 9 days, 14:55:16, time: 1.207, data_time: 0.039, memory: 13272, loss_rpn_cls: nan, loss_rpn_bbox: nan, loss_semantic_seg: nan, s0.loss_cls: nan, s0.acc: 38.5134, s0.loss_bbox: nan, s0.loss_mask: nan, s1.loss_cls: nan, s1.acc: 38.5134, s1.loss_bbox: nan, s1.loss_mask: nan, s2.loss_cls: nan, s2.acc: 38.5134, s2.loss_bbox: nan, s2.loss_mask: nan, loss: nan
2022-02-19 13:02:53,735 - mmdet - INFO - Epoch [1][500/30105]	lr: 1.996e-02, eta: 9 days, 10:53:31, time: 1.142, data_time: 0.042, memory: 13272, loss_rpn_cls: nan, loss_rpn_bbox: nan, loss_semantic_seg: nan, s0.loss_cls: nan, s0.acc: 35.8741, s0.loss_bbox: nan, s0.loss_mask: nan, s1.loss_cls: nan, s1.acc: 35.8741, s1.loss_bbox: nan, s1.loss_mask: nan, s2.loss_cls: nan, s2.acc: 35.8741, s2.loss_bbox: nan, s2.loss_mask: nan, loss: nan
2022-02-19 13:03:53,128 - mmdet - INFO - Epoch [1][550/30105]	lr: 2.000e-02, eta: 9 days, 8:17:33, time: 1.188, data_time: 0.038, memory: 13272, loss_rpn_cls: nan, loss_rpn_bbox: nan, loss_semantic_seg: nan, s0.loss_cls: nan, s0.acc: 43.2959, s0.loss_bbox: nan, s0.loss_mask: nan, s1.loss_cls: nan, s1.acc: 43.2959, s1.loss_bbox: nan, s1.loss_mask: nan, s2.loss_cls: nan, s2.acc: 43.2959, s2.loss_bbox: nan, s2.loss_mask: nan, loss: nan
2022-02-19 13:04:51,275 - mmdet - INFO - Epoch [1][600/30105]	lr: 2.000e-02, eta: 9 days, 5:46:36, time: 1.163, data_time: 0.031, memory: 13272, loss_rpn_cls: nan, loss_rpn_bbox: nan, loss_semantic_seg: nan, s0.loss_cls: nan, s0.acc: 41.6359, s0.loss_bbox: nan, s0.loss_mask: nan, s1.loss_cls: nan, s1.acc: 41.6359, s1.loss_bbox: nan, s1.loss_mask: nan, s2.loss_cls: nan, s2.acc: 41.6359, s2.loss_bbox: nan, s2.loss_mask: nan, loss: nan
2022-02-19 13:05:46,677 - mmdet - INFO - Epoch [1][650/30105]	lr: 2.000e-02, eta: 9 days, 2:56:23, time: 1.108, data_time: 0.037, memory: 13272, loss_rpn_cls: nan, loss_rpn_bbox: nan, loss_semantic_seg: nan, s0.loss_cls: nan, s0.acc: 35.3376, s0.loss_bbox: nan, s0.loss_mask: nan, s1.loss_cls: nan, s1.acc: 35.3376, s1.loss_bbox: nan, s1.loss_mask: nan, s2.loss_cls: nan, s2.acc: 35.3376, s2.loss_bbox: nan, s2.loss_mask: nan, loss: nan
2022-02-19 13:06:44,278 - mmdet - INFO - Epoch [1][700/30105]	lr: 2.000e-02, eta: 9 days, 1:01:53, time: 1.152, data_time: 0.037, memory: 13272, loss_rpn_cls: nan, loss_rpn_bbox: nan, loss_semantic_seg: nan, s0.loss_cls: nan, s0.acc: 42.5351, s0.loss_bbox: nan, s0.loss_mask: nan, s1.loss_cls: nan, s1.acc: 42.5351, s1.loss_bbox: nan, s1.loss_mask: nan, s2.loss_cls: nan, s2.acc: 42.5351, s2.loss_bbox: nan, s2.loss_mask: nan, loss: nan

Please show the complete log for the first error.
For the second one, the original model is trained on 16 GPUs and batch_size 1 for each GPU. So you may need to reduce the learning to 1/8 in your case.

Please show the complete log for the first error. For the second one, the original model is trained on 16 GPUs and batch_size 1 for each GPU. So you may need to reduce the learning to 1/8 in your case.

Thank you for your reply!! I will try it by reducing the lr to 1/8
And for the first error
the full error log is
root@f5a3d94f3145:/mnt/sda/kypark/mmdetection3d# python3 tools/test.py configs/nuimages/cascade_mask_rcnn_r50_fpn_1x_nuim.py cascade_mask_rcnn_r50_fpn_1x_nuim_20201008_195342-1147c036.pth --eval segm
loading annotations into memory...
Done (t=0.00s)
creating index...
index created!
load checkpoint from local path: cascade_mask_rcnn_r50_fpn_1x_nuim_20201008_195342-1147c036.pth
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 50/50, 6.7 task/s, elapsed: 7s, ETA:     0sTraceback (most recent call last):
File "tools/test.py", line 238, in
main()
File "tools/test.py", line 234, in main
print(dataset.evaluate(outputs, **eval_kwargs))
File "/opt/conda/lib/python3.8/site-packages/mmdet/datasets/coco.py", line 438, in evaluate
result_files, tmp_dir = self.format_results(results, jsonfile_prefix)
File "/opt/conda/lib/python3.8/site-packages/mmdet/datasets/coco.py", line 383, in format_results
result_files = self.results2json(results, jsonfile_prefix)
File "/opt/conda/lib/python3.8/site-packages/mmdet/datasets/coco.py", line 320, in results2json
json_results = self._segm2json(results)
File "/opt/conda/lib/python3.8/site-packages/mmdet/datasets/coco.py", line 288, in _segm2json
if isinstance(segms[i]['counts'], bytes):
IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices
Thank you

Sorry for the late reply. Is this problem solved now? It's really strange because the error occurs inside mmdet, and the possible reason is an incorrect i or 'counts' index?

Please show the complete log for the first error. For the second one, the original model is trained on 16 GPUs and batch_size 1 for each GPU. So you may need to reduce the learning to 1/8 in your case.

Thank you for your reply!! I will try it by reducing the lr to 1/8
And for the first error the full error log is
root@f5a3d94f3145:/mnt/sda/kypark/mmdetection3d# python3 tools/test.py configs/nuimages/cascade_mask_rcnn_r50_fpn_1x_nuim.py cascade_mask_rcnn_r50_fpn_1x_nuim_20201008_195342-1147c036.pth --eval segm
loading annotations into memory... Done (t=0.00s) creating index... index created! load checkpoint from local path: cascade_mask_rcnn_r50_fpn_1x_nuim_20201008_195342-1147c036.pth [>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 50/50, 6.7 task/s, elapsed: 7s, ETA: 0sTraceback (most recent call last): File "tools/test.py", line 238, in main() File "tools/test.py", line 234, in main print(dataset.evaluate(outputs, **eval_kwargs)) File "/opt/conda/lib/python3.8/site-packages/mmdet/datasets/coco.py", line 438, in evaluate result_files, tmp_dir = self.format_results(results, jsonfile_prefix) File "/opt/conda/lib/python3.8/site-packages/mmdet/datasets/coco.py", line 383, in format_results result_files = self.results2json(results, jsonfile_prefix) File "/opt/conda/lib/python3.8/site-packages/mmdet/datasets/coco.py", line 320, in results2json json_results = self._segm2json(results) File "/opt/conda/lib/python3.8/site-packages/mmdet/datasets/coco.py", line 288, in _segm2json if isinstance(segms[i]['counts'], bytes): IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices
Thank you

Can you tell me how your nuimages data set was prepared, I would like to surface some paper results on it, but the data set is huge, I don't know how to prepare it and double track the paper results


[BUG]: 10 - 20% gpu being used when embedding files into anything llm in win desktop manager

How are you running AnythingLLM?
AnythingLLM desktop app
What happened?

desktop windows  manager goes wild trying to rending the graphics of the embedding loading screen.   using 10 to 20% of the gpu to render the little moving circles seems excessive?
Are there known steps to reproduce?
embedded 10  pdfs files at a time..

Are we sure that is the process for the frontend? If you are using the built-in embedder then what is occurring is the Xenova transformers.js running the local embedder - which would make perfect since to consume resources since we are running a local embedder model on the computer.

Looking at this now the task manager is showing this use on CPU with only 0.7% GPU. This checks out. The embedder runs on CPU, so yeah - the local default embedder is running so of course it will use the CPU - that is how it works and runs locally.

Are we sure that is the process for the frontend? If you are using the built-in embedder then what is occurring is the Xenova transformers.js running the local embedder - which would make perfect since to consume resources since we are running a local embedder model on the computer."

To add some more context.. when i minimize the anytignllm window, while it it busy doing embedding's..  the desktop manager process immediately drops to under 1% gpu.. or none at all.. as soon I as show the anythingllm app window again.. the desktop manager fires up to 10 to 20% gpu to render the spinning circles., whilst i wait for the embeddings job to  finish.


Python path

I'm getting an error stating the the Pytho path does not include python executable.
I tried setting it to the following:
/home/jorge/.local/bin
/home/jorge/.local/bin/aider
/usr/bin
/usr/bin/python3

in settings.json:
{
    "aider-composer.pythonPath": "/home/jorge/.local/bin",
...

which aider
/home/jorge/.local/bin/aider

which python3
/usr/bin/python3

aider --version
aider 0.64.1

On my system, only python3 works, not the python command.

python3 may not be supported. can you use python venv?

You're having an issue where the Python path doesn't include the Python executable. Here are some possible solutions:
Review and modify settings.json
You've already attempted to set the Python path in settings.json without success. Double-check that the file paths are accurate. From the information you provided, /usr/bin/python3 is the actual path of the python3 executable. So, you can directly set "aider-composer.pythonPath" to this value:
{
"aider-composer.pythonPath": "/usr/bin/python3"
}

Closing the issue. I was having some other problems with my Python environment due to flatpak.


Kavita integration enhancement

Feature Description
I just recently setup Kaizoku, and connected it to my Kavita server. I currently have two libraries, 'Books' and 'Manga'. When Kaizoku updates Kavita, it iterates through all the libraries and updates all of them. Since my Books library is managed by Readarr + Calibre, It doesn't make sense for Kaizoku to update that library each time my 'Manga' library has been updated
Solution you would like
An option to specify the librar(y|ies) that it should update.
Alternatives you have considered
Not connect Kaizoku to Kavita, and just manually refresh my 'Manga' library,
Additional context
I've got a lot of epubs in my 'Books' library, and while the scan is fast on Kavita's side, it does take a while to skip over everything it has already scanned.

could this  be applied to Komga as well?

Yeah, I don't use Komga, but I took a look at the api docs, and it should be pretty simple.


Context-Path missing when behind Proxy

Hey,
I'm using Springfox Swagger2 v2.4.0 with a Zuul as the reverse proxy. My aim is to implement a RESTService documented by swagger.
Direct links on the host look like this:
http://service-host:8080/path
whereas links to be routed via Zuul look like this:
http://zuul-host:8080/service-context/path
While the swagger-ui generates the correct URLs when called from the service-host directly. However, when called via the reverse proxy, it fails to produce correct try-out links. The links produced do contain the right server/port but not the routes as assigned on the reverse proxy (albeit the X-Forwarded-* are all set) like this:
http://zuul-host:8080/path
This is due to the implementation of the  Swagger2Controller where the context path is ignored for some reason.
UriComponents uri = componentsFrom(servletRequest);
String host = uri.getHost();
int port = uri.getPort();
if (port > -1) {
    return String.format("%s:%d", host, port);
}

As I saw in debugging mode, the generated UriComponents in fact do contain the required path altogether. I would appreciate, if that path would be the one returned, or someone implement context awareness in some other way.
Thx,
mat

@matonthecat I haven't had time to try it out myself or create a sample but there has been much success based on using the approach that the jhipster folks have taken. Check this issue for more details.

Hi @dilipkrish ,
thank you for your swift response.
I found that part of the solution will be configuring a centralized swagger-resources as in issue 2990 of jhipster. Then we could have some central swagger-ui pointing to this resource.
Nevertheless, configured this way the issue stated above remains: all links generated by the swagger-ui will not contain the context path on the reverse proxy.
This could be fixed easiest by setting the basePath in the JSON returned by Swagger2Controller.
What do you think?

@matonthecat Not really sure what the problem is.

The basePath is overridable by providing a custom  path provider.
The default path provider definitely uses the context path.
The swagger2controller code that you refer to is only to get the host name and port.

@dilipkrish okay, the problem description was not quite clear about the problems, I am experiencing. I updated it. To make it clear: it is not about the static configuration of the context path where swagger-routes and api-docs are installed, but the links generated for the try-out-buttons.

In order to avoid the problem I extend of the following class in my main SwaggerConfiguration Class
`public class AbstractSwaggerConfiguration {
protected String getHost() {
	String host = null;
	try {
		host = InetAddress.getLocalHost().getCanonicalHostName();
	} catch (UnknownHostException e) {
		e.printStackTrace();
	}
	return host;
}

protected class BasePathAwareRelativePathProvider extends AbstractPathProvider {
	private String basePath;

	public BasePathAwareRelativePathProvider(String basePath) {
		this.basePath = basePath;
	}

	@Override
	protected String applicationPath() {
		return basePath;
	}

	@Override
	protected String getDocumentationPath() {
		return "/";
	}

	@Override
	public String getOperationPath(String operationPath) {
		UriComponentsBuilder uriComponentsBuilder = UriComponentsBuilder.fromPath("/");
		return Paths.removeAdjacentForwardSlashes(
				uriComponentsBuilder.path(operationPath.replaceFirst(basePath, "")).build().toString());
	}
}

}
`
And use it like this in my bean :
	@Bean 	public Docket apiName() { 		return new Docket(DocumentationType.SWAGGER_2).groupName("name").apiInfo(apiInfo()).select() 				.apis(RequestHandlerSelectors.basePackage("biz.name")).paths(PathSelectors.any()).build() 				.directModelSubstitute(Calendar.class, String.class).genericModelSubstitutes(ResponseEntity.class) 				.pathProvider(new BasePathAwareRelativePathProvider("/api/name")).host(getHost()); 	}


Report unnecessary disabled offenses

Here's another attempt at detecting rubocop:disable comments that can be removed, thus solving #1865.

:+1: I'm not sure that making this a cop was the best option, but I like the end result (such problems always get the reported). The only noticeable problems is that we're reporting those problems out of order (with respect to real cops), but there's nothing we can do about this.

Thanks. I went for the cop solution because I wanted these offenses to be visible (which they weren't in #1877), but with some way of turning off the reporting of them.
There's a call to sort here by the way, so the reporting order should still be strictly by file position.

There's a call to sort here by the way, so the reporting order should still be strictly by file position.

Silly me. Don't know what I was thinking.


Support for IntellJ 2016.1

Hello,
I wanted to give a shot at fixing #18 and that PR seems to do the trick.
I'm not 100% confident to be honest as it seemed enough to just upgrade references to IntelliJ versions and support from the plugin configuration.
No change of code was necessary.
Works on my machine (:tm: :copyright:) but would appreciate any check and/or advice :)

Cheers! Thank you for your effort and time - I'll test it on my machine (tm) tomorrow ;)

LGTM, gonna try a build tomorrow :+1:


[stable/postgresql] Add eneable pg_stat_statements extension in values file.

Need to add extension.pg_stat_statements : bool with default false to values file and add support this extension. In the future, by the same principle, you can add the inclusion of other extensions. What needs to do for implementing this feature?

Hi,
This repository is deprecated. We now provide support for the postgresql chart in the bitnami/charts repository. I created this ticket so we can continue the conversation here https://github.com/bitnami/charts/issues/2067


HDDS-10067. Add static import for assertions and mocks in SCM integration tests

What changes were proposed in this pull request?
Add static import for assertions and mocks in client integration tests
The goal of this task is to add import static for all assertions and interactions with mocks. Replacing:
Assertions.assert<X>(...) -> assert<X>(...)
Assertions.fail(...) -> fail(...)

and
Mockito.mock(...) -> mock(...)
Mockito.verify(...) -> verify(...)
Mockito.when(...) -> when(...)

and
ArgumentMatchers.any() -> any()
ArgumentMatchers.eq() -> eq()
ArgumentMatchers.matches() -> matches()
// also:
// Matchers.<...>()

makes the code more readable (shorter lines, less wrapping).
What is the link to the Apache JIRA
HDDS-10067
CI
https://github.com/wzhallright/ozone/actions/runs/7459952726

TestStorageContainerManager.java

Thanks for review! Have fixed it.

Thanks @wzhallright for the patch.


Adding a Love Calculator game

This game is made using html css and javascript .
This game has a pleasant ui and captures the essence of 90's romantic game.
The game basically takes two names as input and calculates the love score and gives unique messages.

I'm also thinking to add some background music.

If its not taken,
I would like to work on it

Sure !!
Assigned to @shivani-tripurari . Complete it in 10 Days and follow contributing.md  Guide

Sure !!
Assigned to @shivani-tripurari . Complete it in 10 Days and follow contributing.md  Guide
Yep thank you


XMLWriter allows Unicode 0xffff to be written to a Value attribute of a Data element

Fixed in v6.0-beta.15


Improve Azure documentation

New feature motivation
Hi, i'm currently trying to add a Azure tenant to prowler app using the web interface but there isn't a really well explained on what is the Provider UID, in the WIki it's stated that is the "Azure: Enter your Azure Subscription ID." but for tenants with multiple subscription how can i identify what subscription to use ?
Solution Proposed
As you did with the other section a simple GIF where the steps are shown on how to get the Provider UID would be a great improvement.
Describe alternatives you've considered
I would be amazing a simple command in the Azure CLI that is possible to execute to create the App and return the information a user would need to fill the form to create a Provider.
Additional context
No response

Hi @dovelus,
In Azure, the added provider is linked to the subscription. This means that when scanning with an Azure provider, you are scanning a specific subscription. If you want to scan multiple subscriptions, the only way to do this from the App is by configuring a provider for each subscription. As you mentioned, the provider UID for Azure is the subscription ID, which you can easily find in the Azure portal.
If you have already created the Service Principal, you can authenticate with the same credentials to multiple subscriptions as long as they belong to the same tenant. To avoid confusion with names, consider using the same alias in the app that you use in your Azure account and for adding subscription level permission look this tutorial to make it easier.
I’ll also consider adding a CLI-based tutorial for creating the Service Principal alongside the existing portal-based guide.
If you have any further questions or if something wasn’t clear, don’t hesitate to reach out.
Best regards, and thanks for using Prowler!! 🚀

I have tried every single Subscription ID my tenant has to offer but i always get this error

Hi @dovelus,
I’ve improved the documentation by adding some requests, including specifying the commands as you suggested, to make everything much simpler. Here’s the PR #6210 and a preview link of the documentation to see if this resolves your issue.
If the problem persists, I recommend testing the CLI to check if the problem it’s related to Azure authentication or the app installation. Reach me if the issue persist to try to solve.
Best regards, and thank you very much!

Sorry for the late response but still e get the error on the Subscription ID I use to initiate a provider the error remains the same, here are the speps I do:

Login to azure with administrator account
Copy subscription ID for the first section of provider creation
Register a new app using the Azure Web CLI with the command provided in the docs and add required API permissions
Insert AppID in Client ID, secret, and Tenant ID
Test the connection in prowler and get the same error

Hi @dovelus,
When in step 3 you refer to the API permissions are you also assigning the required permissions at the subscription scope for the subscription to audit?
If yes I will need more information about the error to help you like the API logs or try to run it from the CLI and show me the error logs by running the command prowler azure --sp-env-auth --log-level ERROR --verbose with the environment variables set.
It may take longer to answer than usual due to the christmas holidays, but please contact me when you can and I will try to answer you as soon as possible. Thank you very much and best regards.

Thanks for the help, in the end was me not reading the documentation properly, but the addition of a quick command was very helpful in the case i need to quickly create the App


feat: add shell completion for swcli

Description

https://github.com/star-whale/starwhale/issues/268
support bash/zsh/fish tab shell completion

Feature show:

command:

Tab shell completion:

Modules

[x] Client

Checklist

[x] run code format and lint check
[ ] add unit test
[ ] add necessary doc

LGTM


[BUG]Application Insights Dependency Logging setting incorrect parentId for Blob storage calls from Storage SDK

Describe the bug
Using Azure.Storage.Blobs v12.4.3, Application Insights Distributed Tracing functionality doesn't seem to be working correctly. The operation_ParentId value for the dependency log statements for each blob call is not populated correctly. It does not correlate to the id value for the Request it's being called from. In fact, multiple calls from the same parent Request don't even have the same value of the parent id. This is breaking properly placing the operations in the trace. In fact, in Application Insights timeline view they just show up at the bottom.
This dependency logging worked correctly with the legacy v11 of the SDK. It was when we upgraded from that to v12.4.3 that we started seeing issues.
Expected behavior
The operation_ParentId value logged for blob calls through the Storage SDK should match the "id" value logged for the Request the blob call is coming from.
Actual behavior (include Exception or Stack Trace)
The operation_ParentId value is not the same as the id of the parent Request. It's not even consistent for all calls from the same Request.
To Reproduce

Make a call to a blob store using the Storage SDK from a system using Application Insights telemetry. BlockBlobClient.UploadAsync is a method you could call.
Check the Application Insights Request and Dependency logs for an operation calling this. The dependency blob calls will have the correct operation_Id but incorrect operation_ParentId.

Environment:

Name and version of the Library package used: Azure.Storage.Blobs 12.4.3
Hosting platform or OS and .NET runtime version (dotnet --info output for .NET Core projects): Azure Service Fabric using Windows 10 OS with Asp.Net Core 3.1 runtime.
IDE and version : Visual Studio 16.6.0

Hi,
Just to clarify Parent id of Application Insights is the equivalent to the request id(x-ms-request-id) of the request to storage? Also another clarification when you mean multiple requests from the same parent id, do you mean when you do a large Upload or Download, and there's multiple requests that need to go to storage, you're saying that they should all have the same parent id?
Does this only happen for Upload or Download? (if so I suspect it might be expected behavior due to parallel upload/download)

The Parent Id is not equivalent to the request to storage. That is would be the id of the "dependency" log. The parent id is equivalent to the request id of the request from which the request to storage was made. To help clarify, if I have controller that makes a call to the blob storage using the blob client SDK, the parent id would be the request id of the request to the controller.
In terms of multiple requests, what I mean would be a situation where I check for existence of the blob first (which manifests as a HEAD operation) and then actually upload to the blob (which manifests as a PUT operation). As both were triggered from the same Controller call (i.e. same request) they should have the same parent id.
I have also confirmed it happens for both upload and download.
Just to clarify too, the description I gave above about how I expect the parent id to work is how it worked in version 11.

Hi,
I can see why you think the Azure Blob Storage Client SDK would be the cause to this problem, due to upgrading from v11 to v12 not having the same results in Application Insights. However in the Azure Storage Client libraries, we don't have any control over setting the parent id in Application Insights. This is starting to sound more and more like Application Insights has not adapted to the v12 library.

Ok so who would I submit the bug too then?

Hi,
Sorry I deleted my previous message when I should have just editted it.
I can see why this looks like a regression bug against v12, when v11 was giving you the parent id you were expecting. However Azure Blob Storage Client SDK does not set the parent id in Application Insights. It also does not have access to the controller that makes the call to Blob Storage.
So when making multiple requests, on our side we have a request id (x-ms-request-id) returned for each request from the service. We don't set any parent id. It sounds like the Controller Call in Application Insights is not setting the parent id as you expect to be. However the SDK does not have any way of telling Application Insights on how it should set the Parent ID.
Sorry if I miss the point on this bug. However this is sounding like a bug against Application Insights not correctly setting the parent id

The confusion for me is it rooted specifically in the new SDK. So clearly something changed that would need to be communicated from storage SDK to the Application Insights team. I worry if I just file a bug to Application Insights they're goin to tell me that I need to talk to storage SDK since updating the SDK caused it.

Waiting on resolution from https://github.com/microsoft/ApplicationInsights-dotnet/issues/1915
Please reactivate if there's a bug on the sdk storage side.


Fix alloc/dealloc mismatch in alts_concurrent_connectivity_test

https://github.com/grpc/grpc/pull/20596 is causing a build failure on master branch's grpc/core/master/linux/sanitizer/grpc_cpp_asan tests, with this error:
D1105 23:05:59.399054581   18709 alts_concurrent_connectivity_test.cc:220] runner:0x7ffcb5b90da0 connect_loop finished loop 9
=================================================================
[1m[31m==18701==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete) on 0x602000011070
[1m[0m    #0 0x7c1bd2 in operator delete(void*) /tmp/clang-build/src/compiler-rt/lib/asan/asan_new_delete.cc:149:3
    #1 0x8b4304 in std::default_delete<char>::operator()(char*) const /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/unique_ptr.h:76:2
    #2 0x8b41d3 in std::unique_ptr<char, std::default_delete<char> >::~unique_ptr() /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/unique_ptr.h:236:4
    #3 0x899871 in (anonymous namespace)::ConnectLoopRunner::~ConnectLoopRunner() /var/local/git/grpc/test/core/tsi/alts/handshaker/alts_concurrent_connectivity_test.cc:184:40
    #4 0x8989bd in (anonymous namespace)::AltsConcurrentConnectivityTest_TestBasicClientServerHandshakes_Test::TestBody() /var/local/git/grpc/test/core/tsi/alts/handshaker/alts_concurrent_connectivity_test.cc:243:3
    #5 0x1842062 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:2439:10
    #6 0x1807ca1 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:2475:14
    #7 0x17c064e in testing::Test::Run() /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:2514:5
    #8 0x17c2691 in testing::TestInfo::Run() /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:2690:11
    #9 0x17c390b in testing::TestSuite::Run() /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:2822:28
    #10 0x17df834 in testing::internal::UnitTestImpl::RunAllTests() /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:5342:44
    #11 0x184c8dd in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:2439:10
    #12 0x180e271 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:2475:14
    #13 0x17deba6 in testing::UnitTest::Run() /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:4930:10
    #14 0x8abd5c in RUN_ALL_TESTS() /var/local/git/grpc/third_party/googletest/googletest/include/gtest/gtest.h:2472:46
    #15 0x898588 in main /var/local/git/grpc/test/core/tsi/alts/handshaker/alts_concurrent_connectivity_test.cc:473:17
    #16 0x7fa3a09f0b44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)
    #17 0x6f0608 in _start (/var/local/git/grpc/bins/asan/alts_concurrent_connectivity_test+0x6f0608)

[1m[32m0x602000011070 is located 0 bytes inside of 16-byte region [0x602000011070,0x602000011080)
[1m[0m[1m[35mallocated by thread T0 here:[1m[0m
    #0 0x794313 in __interceptor_malloc /tmp/clang-build/src/compiler-rt/lib/asan/asan_malloc_linux.cc:88:3
    #1 0xba02f2 in gpr_malloc /var/local/git/grpc/src/core/lib/gpr/alloc.cc:32:7
    #2 0xba29c1 in gpr_strdup /var/local/git/grpc/src/core/lib/gpr/string.cc:46:28
    #3 0x8995fe in (anonymous namespace)::ConnectLoopRunner::ConnectLoopRunner(char const*, char const*, int, unsigned long, grpc_connectivity_state) /var/local/git/grpc/test/core/tsi/alts/handshaker/alts_concurrent_connectivity_test.cc:177:35
    #4 0x8989b4 in (anonymous namespace)::AltsConcurrentConnectivityTest_TestBasicClientServerHandshakes_Test::TestBody() /var/local/git/grpc/test/core/tsi/alts/handshaker/alts_concurrent_connectivity_test.cc:239:23
    #5 0x1842062 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:2439:10
    #6 0x1807ca1 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:2475:14
    #7 0x17c064e in testing::Test::Run() /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:2514:5
    #8 0x17c2691 in testing::TestInfo::Run() /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:2690:11
    #9 0x17c390b in testing::TestSuite::Run() /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:2822:28
    #10 0x17df834 in testing::internal::UnitTestImpl::RunAllTests() /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:5342:44
    #11 0x184c8dd in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:2439:10
    #12 0x180e271 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:2475:14
    #13 0x17deba6 in testing::UnitTest::Run() /var/local/git/grpc/third_party/googletest/googletest/src/gtest.cc:4930:10
    #14 0x8abd5c in RUN_ALL_TESTS() /var/local/git/grpc/third_party/googletest/googletest/include/gtest/gtest.h:2472:46
    #15 0x898588 in main /var/local/git/grpc/test/core/tsi/alts/handshaker/alts_concurrent_connectivity_test.cc:473:17
    #16 0x7fa3a09f0b44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)

SUMMARY: AddressSanitizer: alloc-dealloc-mismatch /tmp/clang-build/src/compiler-rt/lib/asan/asan_new_delete.cc:149:3 in operator delete(void*)
==18701==HINT: if you don't care about these errors you may set ASAN_OPTIONS=alloc_dealloc_mismatch=0
==18701==ABORTING
Command exited with non-zero status 1

(from https://source.cloud.google.com/results/invocations/f66078dc-2ea8-469f-afb7-5f14486609a1/targets/github%2Fgrpc%2Frun_tests%2Fcpp_linux_asan_native_x64_clang7.0/tests;group=cpp_linux_asan_native_x64_clang7_0;test=bins%2Fasan%2Falts_concurrent_connectivity_test GRPC_POLL_STRATEGY%3Depoll1;row=3)
@nanahpang

RBE MSAN C/C++ failed with RBE flake: "Failed to run:pull image:Error response from daemon: Get https://l.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"


Crash on Android

Describe the bug
Sometimes everything works fine, but sometimes the app crashes with the following exception:
E/RNTrackPlayer: An error occurred while destroying the service
java.lang.IllegalArgumentException: Receiver not registered: com.guichaguri.trackplayer.service.MusicManager$1@836bd04
at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:1489)
at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1708)
at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:733)
at com.guichaguri.trackplayer.service.MusicManager.destroy(MusicManager.java:350)
at com.guichaguri.trackplayer.service.MusicService.destroy(MusicService.java:56)
at com.guichaguri.trackplayer.service.MusicBinder.destroy(MusicBinder.java:53)
at com.guichaguri.trackplayer.module.MusicModule.destroy(MusicModule.java:168)
at java.lang.reflect.Method.invoke(Native Method)
at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:158)
at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29)
at android.os.Looper.loop(Looper.java:246)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:232)
at java.lang.Thread.run(Thread.java:923)
To Reproduce
Project is setup following all instructions. Player works fine, but after hitting my start / stop button a couple of times (sometimes 2, sometimes 4 or 5) it crashes with an exception (see above).
Environment (please complete the following information):
10:19 $ react-native info
info
React Native Environment Info:
System:
OS: macOS 10.15.7
CPU: (8) x64 Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz
Memory: 63.66 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.4.0 - /usr/local/bin/node
Yarn: 1.22.4 - ~/.yarn/bin/yarn
npm: 6.14.8 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 14.0, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0
Android SDK:
API Levels: 23, 25, 26, 27, 28, 29
Build Tools: 23.0.1, 25.0.2, 26.0.1, 26.0.2, 27.0.3, 28.0.0, 28.0.3, 29.0.0, 29.0.2
System Images: android-27 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.5 AI-191.8<IP_ADDRESS>77832
Xcode: 12.0.1/12A7300 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.3 => 16.8.3
react-native: 0.59.9 => 0.59.9
npmGlobalPackages:
create-react-native-app: 1.0.0
react-native-cli: 2.0.1
react-native-create-library: 3.1.2
react-native-git-upgrade: 0.2.7
react-native-rename: 2.2.2
What react-native-track-player version are you using?
"react-native-track-player": "^1.2.3",
Are you testing on a real device or in the simulator? Which OS version are you running?
Real Android device, Samsung Galaxy S20+
Code
onPlayPress = () => {
const { status } = this.state
console.log("onPlayPress", status)

if (status == Status.Playing) {
  //currently playing, stop player
  this.setState({ status: Status.Stopped })
  TrackPlayer.stop()
  TrackPlayer.destroy()
  console.log("onPlayPress", Status.Stopped)
} else {
  //currently not playing, start player
  TrackPlayer.setupPlayer({ waitForBuffer: true }).then(() => {
    console.log("TrackPlayer initialized")
    //init remote controls
    TrackPlayer.updateOptions(playerOptions)
    console.log(playerOptions)
    //add url
    const track = this.createTrack(this.props.bitrateHigh)
    TrackPlayer.add(track).then(() => {
      console.log("track added", track)
      //start playing
      this.setState({ status: Status.Playing })
      TrackPlayer.play()
      console.log("status", Status.Playing)
      this.refresh()
    })
  })
}

}

Same here. Any solution?

I've also encountered this issue. Tracking down to the Java code, I've proposed a workaround in this PR: https://github.com/react-native-kit/react-native-track-player/pull/1167

I am facing this issue too.

Any Update?

We're running a fork of this project with the PR applied and haven't found any crash yet.

I tried your solution , added try/catch on destroy but still  still having crashes like  An error occurred while unregistering the noisyReceiver:   java.lang.IllegalArgumentException: Receiver not registered: com.guichaguri.trackplayer.service.MusicManager$1@442d25c.

Now it is not crashing any more, I was reseting player using TrackPlayer.reset after TrackPlayer.setUpPlayer. After moving TrackPlayer.reset before TrackPlayer.setUpPlayer and also making the changes that @anarthal suggested , it  stopped crashing.

I'm facing the same issue. It crashed after the second time. I tried what you suggest @mohity777 & @anarthal but crashes are still here

Bro, It still crashing for me also, But it is not as often as earlier.

It should not be closed either.

Is there a workaround or an update coming or why is this closed?

Can someone confirm whether this is still an issue on v2?

I can confirm this is still an issue on v2!

I've reopened the issue! We're looking at Android stability and crashes on our current Android rewrite beta. I'd appreciate if any of you are able to give it a spin and see if that's an issue there.
I want to fix and prioritize as many crashes as I can as part of that effort.

Same here, I am getting the issue in production
here is the report from firebase crashlytics

Thank you everyone. We are doing a major rewrite on the android side, please see the discussion here https://github.com/DoubleSymmetry/react-native-track-player/discussions/1264
We would love your help to test it. The above problems should be resolved in these updates. Please let us know!


Bootloop issues after fresh installation.

Hello,

Please I'm encountering issues with boot loop after a the first fresh install and it keeps going on. I have used all the variants of EFI uploaded here.
Kindly find attached the screenshot of the error.

Hello,
Please I'm encountering issues with boot loop after a the first fresh install and it keeps going on. I have used all the variants of EFI uploaded here.
Kindly find attached the screenshot of the error.

Your screenshot won't open. Make another one.

Okay,

I think the OS has installed but during the first restart, it enters into and infinite boot loop all Bios settings are set as displayed in the read me note.

My system config is the
=> Lenovo Thinkpad E560 i7 (6th gen pc)
=> 16gb RAM,
=> 2gb AMD graphics.
I think the OS has installed but during the first restart, it enters into and infinite boot loop all Bios settings are set as displayed in the read me note.
PS: I could be wrong though

Something is incorrectly set in Bios

And disable AMD graphics in Bios

Please kindly help me review the attached screenshots of my current Bios settings/configuration.
Can't seem to find how to disable the AMD graphics in Bios.
Bios settings.zip

Please kindly help me review the attached screenshots of my current Bios settings/configuration.
Can't seem to find how to disable the AMD graphics in Bios.
Bios settings.zip

Everything is set correctly in BIOS
Try clean NVRAM and boot with this EFI
EFI.zip

thanks trying it right away

Hello,
After clearing the NVRAM and several attempts at loading the OS with the current EFI shared, I run into the error captured in the attachment shared.
Thank you for all your efforts.
Installer error.zip

After clearing the NVRAM and several attempts at loading the OS with the current EFI shared, I run into the error captured in the attachment shared.

I disable wifi and bluetooth. Try this EFI.
EFI.zip

Hello,
Thank you once again for your prompt response.
I just tried the last EFI twice now and encountered some sort of graphics related error.
See attached.
Graphics error.zip

I just tried the last EFI twice now and encountered some sort of graphics related error.
See attached.
Graphics error.zip

I disable Brightness Keys kext. Try this EFI.
EFI.zip

Still getting errors.
Error.zip

Still getting errors.
Error.zip

Try this EFI.

Hello,
I've been able to get the OS to load and install using the EFI on your repository. However, it did not work for Big Sur 11.4 had to downgrade to 11.2.1 to get it to install.
The PC is fully booted right now.
Brightness is working,
volume adjustment is working,
Wifi and bluetooth is working,
Mouse trackpad is not working.
keyboard is working fine.
Can you please help me with a fix for the Mouse as I am currently using an external mouse.
Thank you.
Attached is the working EFI from your repo.
EFI.zip

Can you please help me with a fix for the Mouse as I am currently using an external mouse.

Try this.
EFI.zip

Hello,
Thanks for the update.
I tried using the EFI you provided but it was slowing down my PC even at boot mode.
I have managed to get the Mouse trackpad working though not efficiently.
Encountered another issue where the PC goes to sleep normally but won't start up again without having to restart the force the PC to shut down by holding the Power key and subsequently restarting it.
Also, the brightness keys are not working; unable to adjust brightness though Volume adjustment works just fine.
Please find attached my current working EFI.
EFI.zip

Hello,
Thanks for the update.
I tried using the EFI you provided but it was slowing down my PC even at boot mode.
I have managed to get the Mouse trackpad working though not efficiently.
Encountered another issue where the PC goes to sleep normally but won't start up again without having to restart the force the PC to shut down by holding the Power key and subsequently restarting it.
Also, the brightness keys are not working; unable to adjust brightness though Volume adjustment works just fine.

Sleep is not working properly and there is no solution. Don't use sleep.
Brightness keys kext not work, i just disable it.

Thanks once again for the update.
Much appreciation


mobile: silence -Wshorten-64-to-32 errors when building ObjC

These started being reported when we switched to building ObjC++.
Commit Message: mobile: silence -Wshorten-64-to-32 errors when building ObjC
Additional Description:
Risk Level: Low
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/assign @RyanTheOptimist

To be clear, these warnings aren't being reported in the ObjC/ObjC++ code, it's all in the envoy C++ code. For example:

envoy/envoy/common/union_string.h:223:34: warning: implicit conversion loses integer precision: 'absl::string_view::size_type' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
--
  | return getStrView(buffer_).size();
  | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~^~~~~~

Maybe we should file an issue, though I suspect we're unlikely to do this any time soon.

Filed https://github.com/envoyproxy/envoy/issues/25557, thanks for the suggestion!


Updated about us section to be publishable on website

Current coverage is 93.33% (diff: 100%)

Merging #270 into master will increase coverage by 0.01%

@@             master       #270   diff @@
==========================================
  Files            62         63     +1
  Lines          1810       1815     +5
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1689       1694     +5
  Misses          121        121
  Partials          0          0

Powered by Codecov. Last update d6fc8f1...3439c3e


Add alexbw as a maintainer

Not sure if you are interested. Please let me know either way. This would add you, @alexbw, as a maintainer of the FFTW recipe. Seems that you are interested in using FFTW anyways so this may make sense.

sgtm

Thanks. Will merge once it passes.
As this is your first rodeo, you will get an email from GitHub asking you if you want to join conda-forge. Once accepted, it will add you to the fftw team, which has commit privileges on this repo. Also, you will be able to access the CIs (may need a refresh or relogin). Normally we do PRs for all changes and try to get some feedback if they are serious. That's it. If you have questions, feel free to ask. :smile:


Add rewardImage field to PubSubRedemptionMessage class

Feature Request
Currently the PubSubRedemptionMessage class is missing a getter for the image data of the reward redemption message. I'll add a PR to implement that.

Fixed by #149, released as 4.1.3.


[Fonts] Raplace Google fonts in the Semantic-UI

I want to replace Google fonts in source code. What source files do I need to change, and if I want to use Lato fonts, where should I put them? I have seen a issue in particular detail before, but I can't find the address. Thanks!

Hi @zhangyuanliang, got your email, sorry for the delay. Were you looking for this thread? Just a reminder, you don’t have to include Cyrillic @font-face rules if you don’t need it.

@Banandrew Thanks for your reply. I found the solution you gave me before in Gitter. I'll organize it for other people who need it.

Detailed Steps: The only way to make it work is to override what SUI does by default, so if you’re delivering SUI files to your project from a CDN, you’ll have to install the framework via NPM and npm install semantic-ui --save command. When you do, download the Lato font, open installation_folder/src/site/globals/site.variables, copy @importGoogleFonts: false; there, then follow this link, copy the @font-face rules to installation_folder/src/site/globals/site.overrides and rebuild the framework. Place the downloaded fonts relative to semantic.min.css that you’ll be using, see the @font-face rules for reference.
These @font-face rules include only Cyrillic and Latin unicode ranges, so you might need to add @font-face rules for your country language, or delete Cyrillic @font-face rules if you don’t need it.

Hi, thanks for posting, unfortunately although your question is valid, this is a usage question, and not appropriate for posting on GitHub Issues.
To help make this board manageable for maintainers to effectively work on actionable changes to the library, we've limited posts on this board to specific bug reports or feature requests. To see how we differentiate between the two, please check out our Contributing Guide.
To help get answers to your question (or get feedback that might allow you to repost this issue) you might want to check out one of our other support resources.

StackOverflow
Our Gitter chatroom.


Translate

Challenge Name

Issue Description

Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code

Screenshot

Closing as stale. Please reopen if this is a legitimate issue!


WMS vs WMTS

I'm also wondering if there is a little confusion about WMS vs WMTS.
Things like multiple layers and dimensions are applicable to WMS, however AFAIK WMTS only returns tiles for a single layer and doesn't support dimensions.
The OGC website appears to be down ATM so I can't provide any links, but just wanted to flag it before I forgot :)

I haven't looked into the WMTS specification yet, but I can certainly specify dimensions in OpenLayers for WMTS and our WMTS servers also support at least a time dimension. I can also expose multiple layers through the WMTS capabilities and add multiple OpenLayers sources with a layer each, so I think the definition works for WMTS. I'm not sure about WMS, haven't worked with it for ages.


When doing a Source Control "Open Changes

/duplicate of #164283

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


DDC cannot tear off a function with contravariant use of generic in its return type (improper type check)

This is a variation on #30423, where the contravariant use of the generic type is in the return type of the tear off rather than in an argument.  Consider the following code:
typedef void F<T>(T x);
typedef F<T> G<T>();
class C<T> {
  F<T> _x;
  C(this._x);
  F<T> f() => _x;
}
void g(C<num> c) {
  c.f; // (1)
}
void h1(int i) {}
void h2(num n) {}
main() {
  g(new C<int>(h1));
}

This passes static type checks in strong mode and is compiled without complaint by DDC.  At runtime, an exception is thrown at (1).  This alone is unsurprising, since one possible way of restoring soundness is to type check the tear off.  However, the exception message is concerning.  It says: Type '() -> F((int) -> void)' is not a subtype of type 'F((num) -> void)'.
I would have expected DDC to check that the runtime type of c.f was a subtype of its static type.  And indeed, () -> F((int) -> void) is the correct runtime type of c.f.  (Note that F(...) in the type signature just tells the user that the type originated in the typedef of F.  This is equivalent to the type () -> (int) -> void.)  However, F((num) -> void) is not the correct static type of c.f.  It should be () -> (num) -> void.
The generated code for g confirms that we appear to be checking against the wrong type:
covariant_subtyping_tearoff_experiment_test.g = function(c) {
  FOfnum()._check(dart.bind(c, 'f'));
};

If we change main to:
main() {
  g(new C<num>(h2));
}

there should no longer be any type error.  But DDC now throws the exception Type '() -> F((num) -> void)' is not a subtype of type 'F((num) -> void)'.
It seems that DDC is trying to check that the runtime type of the tear off matches its static type, but it's actually checking that the runtime type of the tear off matches its static return type.

@jmesserly FYI

(moved to strong mode, DDC itself does not place these checks.)

Yeah, this is also the flaw of our tests that check where we place casts, but not what type we're casting to. Doh! :)
Should be an easy fix. Will send CL shortly.


Polishing TF-improvements to the w5 contract

Internal messages can use any send_mode
Action list verification accounts for exotic cells
Moved signature_auth_disable to separate variable from seq_no sign
Removed unneccessary (and maybe even harming) shortcuts
Deduplicated process_signed_xxx code into single fun
Plugins now bound to same workchain as the wallet, no packing

Added fix that was done in #18 (Thanks, @p0lunin!)

Added fix that was done in #18 (Thanks, @p0lunin!)
Is this pull will be the final contract?

This compiles to (short)
b5ee9c7241021301000226000114ff00f4a413f4bcf2c80b0102012004020102f203011420d728239b4b3b74307f0f020148
YjVlZTljNzI0MTAyMTMwMTAwMDIyNjAwMDExNGZmMDBmNGE0MTNmNGJjZjJjODBiMDEwMjAxMjAwNDAyMDEwMmYyMDMwMTE0MjBkNzI4MjM5YjRiM2I3NDMwN2YwZjAyMDE0OA==
https://github.com/tonkeeper/tonkeeper-ton/blob/master/src/wallets/WalletContractV5.ts#L81
I assume is not advised to use this yet. Do you have an ETA for when we can start using Final V5?

Added fix that was done in #18 (Thanks, @p0lunin!)
Is this pull will be the final contract?

This compiles to (short) b5ee9c7241021301000226000114ff00f4a413f4bcf2c80b0102012004020102f203011420d728239b4b3b74307f0f020148
YjVlZTljNzI0MTAyMTMwMTAwMDIyNjAwMDExNGZmMDBmNGE0MTNmNGJjZjJjODBiMDEwMjAxMjAwNDAyMDEwMmYyMDMwMTE0MjBkNzI4MjM5YjRiM2I3NDMwN2YwZjAyMDE0OA== https://github.com/tonkeeper/tonkeeper-ton/blob/master/src/wallets/WalletContractV5.ts#L81
I assume is not advised to use this yet. Do you have an ETA for when we can start using Final V5?

There are some more internal reviews and procedures that need to be done before v5 will be finalized.
If neccessary, there may be some more changes to the code and / or the structure.
Unfortunately I cannot give any estimate, therefore I advice you to keep an eye on this PR and TK news!


Enable unordered comparison for gaac clustering

Fixing #873 and #1445.
Instead of comparing any element between 2 vectors in nltk.cluster.util._DendrogramNode.__lt__, we will use the cosine distance between the vectors which should yield a (-1, +1) range and we treat any distance below zero as the case that the dendrogram node is lesser than the node it is comparing against.

Thanks @alvations!


⚠ Bofrost.fr has degraded performance

In 5bc9228, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1446 ms

Resolved: Bofrost.fr performance has improved in 56f9085.


Add support for SubSliceCounterQuery

It seems this one is missing. Patch available with a unit test.

I have also added support for RangeSubSlicesCounterQuery, with a unit test too

I missed this somehow. If you have time, can you rebase against the current master and I'll take this? Thanks - and sorry again for missing it initially.

patch rebased

Thanks again for the effort here.


Changing viewport rotation while not attached to a grid causes movement to behave in unexpected ways

Description
The title. Also renders you unable to correct the viewport rotation. This can make getting back aboard the station difficult if you're in space as it can cause movement controls to become inverted of sorts.
Reproduction
Head to space. While adrift, use numpad 7 or 9 to rotate the camera. Notice that the view port is tilted at an odd angle, cannot be reverted, and movement direction is not as expected.
Screenshots
https://github.com/user-attachments/assets/2a57602c-51b9-4295-b126-24d58f4d9e34

video added. sorry bout that, forgot.


Prompt the user for function directory on function:create

Is your feature request related to a problem? Please describe.
Currently, if no directory is specified for functions, you get the error below. The user is required to go to the docs to learn how to configure the setting in netlify.toml.
mysite % netlify functions:create
◈ No functions folder specified in netlify.toml

Describe the solution you'd like
mysite % netlify functions:create
◈ functions folder not specified in netlify.toml
? Enter the path where your functions should live: netlify/functions
◈ netlify/functions folder not found, creating it...
? Pick a template
...

Hint text -  netlify/functions
Once specified, auto-populate the path into netlify.toml

Alternate solution
Since we're actively doing the work to make netlify/functions the default functions directory, we could create it automatically if it doesn't exist and no path is specified in netlify.toml.
Additional context
This will also help with https://github.com/netlify/netlify-react-ui/issues/6943
Success Metric
https://github.com/netlify/data/issues/1061

@tiffanosaurus, in talking with @asavaritayal & the team. Is this something that you can triage and see the level of effort.

@jacklyn-net Tagging myself in this item, since it could have docs impact.

tip @jacklyn-net ~ you can click subscribe in the right bar too if you just wanna follow

This is the line to change https://github.com/netlify/cli/blob/85dbba50cb011c73c12afc03015018316eeb1f20/src/commands/functions/create.js#L203 and example API call to update the functions directory https://github.com/netlify/cli/blob/85dbba50cb011c73c12afc03015018316eeb1f20/src/utils/init/config-github.js#L213

@asavaritayal I'm not seeing any UI Copy in this item?

@jacklyn-net  It's not UI, but the CLI output -
◈ functions folder not specified in netlify.toml
? Enter the path where your functions should live: netlify/functions
◈ netlify/functions folder not found, creating it...

I see - this looks good to me. Thanks! Going to remove the label and reassign @tiffanosaurus

May I suggest we change it to functions folder not specified in netlify.toml or UI settings (or something similar to reflect that you can configure it via the UI too)?

@erezrokah yes, that sounds good.
Updated copy here -
◈ functions folder not specified in netlify.toml or UI settings
? Enter the path where your functions should live: netlify/functions
◈ netlify/functions folder not found, creating it...

Just double-checking, it's netlify/functions, not .netlify/functions right? I've seen it mentioned both ways. [O]fficial functions docs](https://docs.netlify.com/functions/configure-and-deploy/#configure-the-functions-folder) have it without the period prefix.

Yes it's netlify/functions


No sound

Describe the bug
I have no sound when I start up Minecraft Note Block Studio. I had it yesterday, but now I don't have any sound.
To Reproduce
Steps to reproduce the behavior:

Start Note Block Studio
Either open an existing file or create a new one.
No sound.

Expected behavior
To be sound.
Screenshots
No screenshots provided.

how do you do that?

Open Settings and go to sound settings, there should be a slide for whether you want to enable/disable mono audio.

Alright.
It doesn't work; I even tried restarting the application, doesn't work as well.
Restarting the computer does not work as well.

Do other applications give this same behaviour? (E.g. open up a tab in your web browser of YouTube and try playing a video.)

No.

Changing from stereo to mono and back to stereo while restarting the program does not work.

I have this issue, but only when I have the audio output of my computer set to my Razer headphone, when it is set to my speakers NBS will output audio fine.


PES Device Resetting Issue

Many of device installed in Continental is not resetting their production of previous day. It's very annoying and urgent for line staffs because if data is not reset, line staffs won't get proper production data.

Under investigation


Fix CUDA check for gcc > 5.

In response to https://github.com/caffe2/caffe2/pull/504 , this PR modifies the gcc compiler check for CUDA slightly. All ABI since gcc-3 are compatible with eachother. The check from https://github.com/caffe2/caffe2/pull/504 forced the 'regular' CXX / CC compiler to be set to gcc < 6 but this is not required.
According to the documentation for FindCUDA, CUDA_HOST_COMPILER is set to CMAKE_C_COMPILER by default. This PR checks if CMAKE_C_COMPILER is too new for CUDA 8 and whether CUDA_HOST_COMPILER is set to CMAKE_C_COMPILER. It also modifies the message slightly.

@pietern can you give feedback on this?

Also cc'ing @slayton58 - Simon, what is the recommended way from NVidia about setting host compiler in cmake?

Either using -DCUDA_HOST_COMPILER=<compiler> or manually setting -ccbin=<compiler> in CUDA_NVCC_FLAGS is fine, no preference from us :)

@Yangqing can this then be merged?


Redstone dupping

Dropping redstone from the inventory (either with Q or moving it out with the mouse) spawns one in the world but also keep it in the inventory, resulting in a dupe.
video
using only:
forge-1.10.2-<IP_ADDRESS>2-universal.jar
spongeforge-1.10.2-2202-5.1.0-BETA-2020.jar
SonarCore-1.10.2-3.1.8.jar
FluxNetworks-1.10.2-1.0.8.jar

Interesting. I was just looking at a similar dupe using via ae2, though I can't repro yours. It seems like the FluxEvents#onEntityAdded() handler is causing this somehow -- I'm suspicious that event.cancel() is putting the item back where it came from but then the entity is still being spawned.

It is working as intented on singleplayer (no sponge) only have the problem on a server.
For some reason, there are 2 dropevents fired. Only the 2nd one is cancelled.
Why do you need to cancel this btw?

I couldn't recreate this... wondering if another mod is clashing. What other mods do you have running? Perhaps I should add a backup way of getting Flux or change it completely maybe

I tried with only the mods I listed:
forge-1.10.2-<IP_ADDRESS>2-universal.jar (not a 'mod' but meh)
spongeforge-1.10.2-2202-5.1.0-BETA-2020.jar
SonarCore-1.10.2-3.1.8.jar
FluxNetworks-1.10.2-1.0.8.jar
client is same (without sponge ofc)

This happens with ae2, when ae2's formation plane drop redstone into the world, the event fired and canceled by flux networks to create a fire-proof version's item entity which caused formation plane thinks it didn't drop redstone but in reality a fire-proof redstone item entity will be spawned into the world.
Pictures: imgur link
Just my theory.
If this is the case, please consider a config option to switch to an alternative crafting method.
Sorry about my English.

Whatever is done to the redstone, the drop event itself should not be canceled as the item is supposed to leave the inventory anyways. This is the item spawn event that should be tampered with in that case imo.

This issue has been resolved in latest SpongeForge.

Nice, I'll try it as soon as it is released. Last build was before your commit.

@TheoKah SF 2078+ should have the fix.

@SonarSonic please close this ticket as it has been resolved in SpongeForge.


Tab App Navigation Nodejs

Executed Build Pipeline : https://github.com/OfficeDev/Microsoft-Teams-Samples/actions/runs/5935380864


Migrates to supported Python runtime, and fixes CORS issue

Heya @xxdongs
Love your app :)
Here's a PR which:

Updates Python to 3.7.12, so that it's compatible with the current Heroku runtime
Adds tornato-cors to fix CORS issues faces when making client-side requests

Here's a demo of updated app: https://gh-trending-repos.herokuapp.com/
Don't worry if you don't want to merge, I will not mind ;) Just though others may find the updates helpful.
Cheers / 谢谢
Alicia :)

Thank @Lissy93, sorry I just noticed this pr today, it is useful!


The (Awesome) Future of Web Apps

Title / Título
The (Awesome) Future of Web Apps
Description / Descripción
The web is becoming more and more powerful everyday, especially with the launch of Progressive Web Apps. PWAs are experiences that combine the best of the web and the best of apps. You can now build web apps that run from your home screen, receive push notifications & work offline.
Join this talk for an interactive introduction into the world of Progressive Web Apps.
Speaker Bio / Bio del Ponente
Back when he was 19, Jad founded eTobb, a startup that connects patients & doctors in the middle east. Since then, he's been on a mission to inspire developers, by presenting advanced topics & best practices at conferences around the world. He's also passionate about open source and loves teaching at Le Wagon.
Level / Nivel
Beginner
(Beginner, Intermediate, Advanced)
Duration / Duración
45 minutes

Jad, what dates would suit you better? Would November 30th be OK?

November 30th would be great