CODEOWNERS: remove samueldr

Description of changes
Followup to #321436 that ensures the CODEOWNERS file is valid again. Presumably samueldr left as a committer as well, hence GH considers the file invalid.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Presumably samueldr left as a committer

I've heard that @zimbatm has an explanation for this

Yes, let me write a quick transparency report.

See https://github.com/NixOS/org/issues/12


Session tick sometimes does not advance after reloading in INFRA

https://github.com/user-attachments/assets/be09bec6-101b-4e35-8811-2f522054f2e4
Note how the session tick is sometimes 0

note it resumes after a few seconds. investigating


Eliminate some allocations from ordinary index search

The search function of the ordinary index can probably get by with less allocations. We shall conduct a micro-benchmark in the style of the compact-index micro-benchmark and use its results to reduce the allocation count by turning specific patterns into bang patterns. See https://github.com/IntersectMBO/lsm-tree/pull/244#discussion_r1632935316 and follow-ups.
We shall extend the above-mentioned optimization to the binarySearchL function for immutable vectors, which is used by search, in case we haven’t ended up implementing that function by reusing binarySearchL from vector-algorithms.

We have ended up implementing the binarySearchL function for immutable vectors by reusing binarySearchL from vector-algorithms (see #256); so there is nothing to be done regarding that function.

Note that #393 introduces a variable overflowPageCount, which is local to the variable end and is used only in the first branch of end’s definition, so that its binding pattern should probably not be made strict.

Note that #393 introduces a variable overflowPageCount, which is local to the variable end and is used only in the first branch of end’s definition, so that its binding pattern should probably not be made strict, as it is not used in the second branch of end’s definition.

During further changes within #393, things were arranged differently such that now the above-mentioned issue doesn’t occur anymore.

There were sensible strictness annotations introduced as part of #393. We should check whether a micro-benchmark is still needed or whether we can trust that the present implementation is fine.


Add context menu on layer list, introduce QtActionContextMenu.

Description
This is a work-in-progress PR that will add a context menu to the layer list... plenty to discuss here on the API and organization (and the code itself is still a mess...) but here's a rough idea of what we can do with it.  Note that the options in the dropdown menu can change based on what is selected:
https://user-images.githubusercontent.com/1609449/114798738-091b3300-9d64-11eb-926e-da4b9a37a9df.mov
Type of change

[ ] Bug-fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References

How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

:heart_eyes: hot damn, I love this @tlambert03!

some updates here that I think might be a nice pattern... curious to get some feedback:

items in the context menu can now be added in a rather declarative manner using LAYER_ACTIONS here... each value in the dict has mostly the same parameters as action_manager.register_action, with the addition of a when key that acts as the "context" for when the item should be enabled.  The action key is a function that takes an instance of LayerList and returns a value (doesn't have to return a boolean though).
The when field is an expression (string) that is allowed to use any of the keys named in the CONTEXT_KEYS dict here.  for example: 'selection_count > 1 and not all_layers_linked'
Each of the values in CONTEXT_KEYS is a function that takes the current layerlist.selection and returns a value.
the LayerList gains a new method (selection_context) here that turns the CONTEXT_KEYS dict into a concrete context map.
The actual context menu itself becomes a rather small class that can turn one of these actions dicts into a QMenu.
The layer delegate creates the context menu, and whenever it is right clicked, it will use the _update method on the action QMenu, which performs the actual job of evaluating all of the when expressions to determine if each item in the menu should be enabled or not.
finally, if one of the items is clicked,  the corresponding action is called with the current layer_list as a argument

I've added some tests and a lot more documentation.  this is probably ready for some eyes @jni, @sofroniewn... but may well need some more modifications and/or documentation before it's ready.

Just tried this out and got the following error. Will review code now too
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
~/GitHub/napari/napari/_qt/containers/_layer_delegate.py in editorEvent(self=, event=, model=, option=, index=)
    151         ):
    152             self.show_context_menu(
--> 153                 index, model, event.globalPos(), option.widget
        index =
        model =
        event.globalPos =
        option.widget = None
    154             )
    155

~/GitHub/napari/napari/_qt/containers/_layer_delegate.py in show_context_menu(self=, index=, model=, pos=PyQt5.QtCore.QPoint(188, 454), parent=)
    180
    181         layer_list: LayerList = model.sourceModel()._root
--> 182         self._context_menu._update(layer_list.selection_context())
        self._context_menu._update = undefined
        layer_list.selection_context = , , , , , ]>
    183         action = self._context_menu.exec_(pos)
    184         if action is not None:

AttributeError: 'QtActionContextMenu' object has no attribute '_update'

AttributeError: 'QtActionContextMenu' object has no attribute '_update'

Darn, sorry.  Changed that name to update_from_context and forgot to update there

ideally we'd have as much in common for our "action" concept as possible

yep, that was the general goal with the design here.  Adding keybinding could be as easy as adding a 'shortcut' to each action in LAYER_ACTIONS.  I agree, they're essentially actions bound to the layerlist.selection.
made all the requested changed @sofroniewn... will wait for further reviews

This is so much fun to play with. I can get a reproducible error with the following actions

run python examples/layers.py
duplication the blobs layer
select the blobs layer and the random layer, and click merge

If I don't duplicate the blobs layer first then the merge works fine
The full stack trace is very long, here's the last part
~/GitHub/napari/napari/utils/events/event.py in _invoke_callback(self=<napari.utils.events.event.EmitterGroup object>, cb=<bound method EventedList._reemit_child_event of...dec50>, <Image layer 'blobs' at 0x7fdabf9dec90>]>, event=<Event blocked=False handled=False native=None source=None sources=[] type='translate'>)
    594     def _invoke_callback(self, cb: Callback, event: Event):
    595         try:
--> 596             cb(event)
        cb = <bound method EventedList._reemit_child_event of [<Image layer 'astronaut' at 0x7fdabbd3da90>, <Image layer 'photographer' at 0x7fdacc74e790>, <Image layer 'coins' at 0x7fdabc398ed0>, <Image layer 'moon' at 0x7fdabc50b9d0>, <Image layer 'blobs copy' at 0x7fdabf9dec50>, <Image layer 'blobs' at 0x7fdabf9dec90>]>
        event = <Event blocked=False handled=False native=None source=None sources=[] type='translate'>
    597         except Exception:
    598             _handle_exception(

~/GitHub/napari/napari/utils/events/containers/_evented_list.py in _reemit_child_event(self=[<Image layer 'astronaut' at 0x7fdabbd3da90>, <I...9dec50>, <Image layer 'blobs' at 0x7fdabf9dec90>], event=<Event blocked=False handled=False native=None source=None sources=[] type='translate'>)
    183         """An item in the list emitted an event.  Re-emit with index"""
    184         if not hasattr(event, 'index'):
--> 185             setattr(event, 'index', self.index(event.source))
        global setattr = undefined
        event = <Event blocked=False handled=False native=None source=None sources=[] type='translate'>
        self.index = <bound method TypedMutableSequence.index of [<Image layer 'astronaut' at 0x7fdabbd3da90>, <Image layer 'photographer' at 0x7fdacc74e790>, <Image layer 'coins' at 0x7fdabc398ed0>, <Image layer 'moon' at 0x7fdabc50b9d0>, <Image layer 'blobs copy' at 0x7fdabf9dec50>, <Image layer 'blobs' at 0x7fdabf9dec90>]>
        event.source = None
    186         # reemit with this object's EventEmitter of the same type if present
    187         # otherwise just emit with the EmitterGroup itself

~/GitHub/napari/napari/utils/events/containers/_typed.py in index(self=[<Image layer 'astronaut' at 0x7fdabbd3da90>, <I...9dec50>, <Image layer 'blobs' at 0x7fdabf9dec90>], value=<Image layer 'blobs'>, start=0, stop=None)
    240                 "{value!r} is not in list",
    241                 deferred=True,
--> 242                 value=value,
        value = <Image layer 'blobs' at 0x7fdabc6d96d0>
    243             )
    244         )

ValueError: <Image layer 'blobs' at 0x7fdabc6d96d0> is not in list

thanks!

added a fix.  that's a little bit concerning, so my fix may be more of a patch... but I don't think it's related to this PR, but rather a rarely encountered issue when rapidly popping/adding layers?  not immediately sure.  but fixed here

Let's get this in now, and then we can keep iterating - maybe we turn some of these ideas like insert_before_action and dropping channel_axis into issues. Will be so great to have this in. I will merge now. Thanks all!!

Wow! I can't believe this is in! Awesome! :tada: :clap:


Wlroots 0.18.1

TinyWL runs. Can't really test Sway yet though.

[x] Update to 0.18.1

Requires: #54
Working implementation:
https://github.com/ErikReider/fx-comp/pull/9

@WillPower3309 Should we also bump the scenefx version as well?

@WillPower3309 Should we also bump the scenefx version as well? (To make it easier for packagers and comp that use older versions of wlroots)

Yup! Need to bump for the last wlroots bump then will merge this

Tested it in https://github.com/ErikReider/fx-comp/pull/9 and everything seems to be working as expected! :D

i know this is well ahead of the curve, but trying on the latest wlroots 0.19 seems like removal of XDG clipping makes all the shadows and rounded corners wonky on gtk like the comment on it mentioned... did a bad job backporting on https://github.com/0xNULLderef/scenefx/tree/wlroots-0.19 for the sake of my own config but are there any plans to tackle this? i see the opaque region being defined but i have no idea how it relates to the actual rendered window contents
tested apps are meld and waterfox (should be the same as firefox) that show a padding around the window and no rounded corners (tinywl from src tree)
eglgears_wayland and kitty did not have such issues as i think they use the raw wl egl surface

i know this is well ahead of the curve, but trying on the latest wlroots 0.19 seems like removal of XDG clipping makes all the shadows and rounded corners wonky on gtk like the comment on it mentioned... did a bad job backporting on https://github.com/0xNULLderef/scenefx/tree/wlroots-0.19 for the sake of my own config but are there any plans to tackle this? i see the opaque region being defined but i have no idea how it relates to the actual rendered window contents

So we don't only officially support their main branch due to them not actually having a release of 0.19 yet, so we haven't checked for compatibility as of yet. So you'll kinda be on your own on this front until we port it to 0.19 in the coming months
I read that they didn't remove the geometry, but moved it instead. Have you tried using that property?

eglgears_wayland and kitty did not have such issues as i think they use the raw wl egl surface

This is due to client side decoration. The GTK toplevels have decorations like shadows and grabbing edges that affect the size of the toplevel if not compensated for, using it's geometry field :)

needs rebase / merge from main


Readonly entity: Vue.js client

Add the support for read only
similar to https://github.com/jhipster/generator-jhipster/pull/10561

I'm working on this


Merge priority for RuboCop configurations

Thank you for fixing the default settings for slimcop the other day! (https://github.com/r7kamura/slimcop/commit/117e8a6a0fc0b2662cae9189cc9b34a0a42f7a3e)
Problem
If the rails application's .rubocop.yml contains conflicting cop settings, it will override the default.yml setting and continue to cause syntax errors.
// .rubocop.yml in Rails application
...

Layout/FirstArrayElementLineBreak:
  Enabled: true // <- should be overwritten in slimcop

...

For example, Layout/FirstArrayElementLineBreak is a valid cop for pure ruby code,
and therefore, I think the priority for templatecop should be the default.yml of slimcop, etc. rather than .rubocop.yml.
It seems to be related to this implementation:

https://github.com/r7kamura/templatecop/blob/cd7854916d875b979ef7e6d234f365336bd3c3a5/lib/templatecop/rubo_cop_config_generator.rb#L39-L43

Expected behavior
I would expect that slimcop will run according to the default.yml setting related to keeping syntax at least.
Environments

slimcop 0.16.0
templatecop 0.2.2
slimi 0.7.2

For example, Layout/FirstArrayElementLineBreak is a valid cop for pure ruby code,
and therefore, I think the priority for templatecop should be the default.yml of slimcop, etc. rather than .rubocop.yml.

No, I don't think so. The settings in default.yml are not always correct, and sometimes the user may want to override them. If we make default.yml always take precedence, then users will not be able to override the settings by their custom config.
If you want to enable Layout/FirstArrayElementLineBreak in your .rubocop.yml but want to disable it on Slimcop, you might want to have .slimcop.yml and disable it like this:
# .slimcop.yml
inherit_from: .rubocop.yml

Layout/FirstArrayElementLineBreak:
  Enabled: false

I see. I create an issue because I thought it was critical that the syntax was broken, but I should have read the code thoroughly before I did it 🙏
Thank you so much.


Option Submenus

Add submenus for options to make more space for future things as so:
Board

AP distribution interval
board width/height
board drops e.g. Hearts, batteries, range, portal, black holes, #2

Players

Starting hp, range, and ap
other miscellaneous player abilities like "allow moving diagonal" and "allow pushing" (that whole section)
#3


Make templates generic

Is there any way that we could make a library that the template libraries could depend on to reduce duplication? Every time we want a new feature for the templates, we'll have to update them all. Would be cool if we had a angular-formly-templates-core repo that had some helper stuff.
Personally, I never use the provided templates. They're cool if you don't really care to control the templates a lot, but I have a lot of custom stuff for my requirements. I mostly care about the formly-core. But this is something I thought of today so I thought I'd mention it...

The new wrapper functionality makes this a much better experience. I don't know if we can quite get to where I was hoping for this one, but we're in a pretty good place I think!


Histogram does not update on reset in numerical column filter dialog

Release number or git hash: 9d9c5deed03dae683cfe763821ce6a21e7c8a090
Web browser version and OS: Chrome 80

Steps to reproduce

Set a filter for a numerical column (confirm dialog)
Clicking on reset

Observed behavior
The colors of the histogram are slightly weird:

Expected behavior
The whole range should be selected (works) and all bars should be filled with the solid color (does not work).

@sgratzl Please book your work for this issue on task M2 LineUp UI improvements.


Hero overlap texts(add variant to hero-banner)

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #51
Test URLs:

Before: https://main--sunstar--hlxsites.hlx.live/_drafts/jiang/brands/consumer-health-beauty

After: https://issue-51--sunstar--hlxsites.hlx.live/_drafts/jiang/brands/consumer-health-beauty

[x]  If you are adding a new block or a variation to an existing block, has it been added in the block-inventory ?

@sdmcraft A quick question - what's the condition to add visual testing(visual-tests.yaml) to block?

@sdmcraft A quick question - what's the condition to add visual testing(visual-tests.yaml) to block?

Details added here

@sdmcraft sorry for the late reply, I'm back from PTO and start working today. Let me merge this PR.


Triage Security Findings - Defender Final Score

The final review should occur before the final sprint of the engagement. Customer participation is recommended or at minimum the customer should be debriefed about the meeting. At this time, all work that is considered in scope should be complete and all work items that will be left for the customer should be reviewed and communicated with the customer.
It's not best practice to address existing Defender recommendations in the last sprint as the final sprint should be left to deal with any emerging new work and revising the security plan so that it matches what is being delivered to the customer.
In ISE we don’t defer security fundamentals. There are no engagement types where it's appropriate to defer basic security fundamentals. Sometimes there are recommendations that layer on multiple protections or enhance fundamentals that the customer will decide to put on the backlog.
ACTIONS
Hold a triage meeting to review security recommendations.
Address recommendations, create backlog items to remediate findings as appropriate.
Meet with the customer to review final disposition
Record the observed Defender score here in the checklist tool

Update:
The Final Defender Score should be recorded prior to completion of the final sprint with customer approval/feedback.
DoD:
Triage the final sprint security findings
Review Defender Recommendations to prioritize mitigations (with customer)
Create backlog items to remediate as appropriate. (ISE does not encourage bypassing security fundamentals, but if a customer decides to NOT implement a mitigation, we document the solution to stage a secure posture moving forward)
Record Final Defender Score in the ISE Checklist tool


Compiler warnings on Xcode 12.5

Description
Doctest prides itself in having no compiler warnings even at the most aggressive warning levels. However, doctest is producing many warnings when complied with Xcode (clang).
Steps to reproduce

Create and compile a library that uses std::hex, std::fixed, and / or std::char_traits.
Create a doctest-enabled test app to test this library, whose main.cpp looks like#define DOCTEST_CONFIG_IMPLEMENT
#include "doctest/doctest.h"
int main(int argc, char *argv[]) {
    doctest::Context context;
    context.applyCommandLine(argc, argv);
    return context.run();
}

and whose tests are defined in their own .cpp files like#include "doctest/doctest.h"
TEST_SUITE_BEGIN("foo");
TEST_CASE("some test") { ... }
TEST_SUITE_END();

Compile using somewhat typical settings in Xcode 12.5

macOS 10.14 deployment target (both library and test app)
C++17 language dialect (both library and test app)
compiler default standard library (both library and test app)
extra compiler warnings: implicit signedness conversions, quoted include in framework header (both library and test app)
"symbols hidden by default" set to "no" (both library and test app)

Expected results: compile without error or warnings
Actual results: many compiler warnings like the following
ld: warning: direct access in function 'doctest::detail::rawMemoryToString(void const*, unsigned int)' from file '/.../main.o' to global weak symbol 'std::__1::hex(std::__1::ios_base&)' from file '/.../libFoo.a(Frobnobulator.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.

Similar warnings were issued for std::fixed and std::char_traits. All of which are called both in my libFoo.a library (the library under test) and in doctest.h which isn't compiled into libFoo.a but is compiled into my test app, which links against libFoo.a.
I would like to use doctest but I don't allow warnings in my builds. I tried to follow the usage guidelines in the tutorial. Is there another way to integrate doctest that avoids these warnings?
I can't find any differences in how libFoo.a and the test app are compiled. All build settings match between the two targets.
Interestingly, a CMake-based build using this same clang compiler version (same computer) does not issue these warnings. These are warnings that only appear when compiling using Xcode.
I saw in doctest.h code that uses DOCTEST_CONFIG_USE_IOSFWD and DOCTEST_CONFIG_USE_STD_HEADERS and ultimately calls #include <iosfwd>. I tried to mess with this a bit, for example changing includes from <iosfwd> to <ios> but I'm not exactly sure what is triggering these warnings and so my attempts were blind reaches in the dark, and all failed.
Any suggestions?
Extra information

doctest version: 2.4.6
Operating System: macOS 11.3.1
Compiler+version: Xcode 12.5 (Apple clang version 12.0.5 (clang-1<IP_ADDRESS>)

A-ha. Figured it out. Wasn't a doctest thing at all (other than, by integrating doctest, I pulled in the use of things like std::hex and std::fixed into the test app that were not in the app before). Was an Xcode thing. Here is an explanation in case anyone else gets bit by this.
Clues:

just putting std::cout << std::fixed << 12.34 << std::endl; in the test app's main.cpp file caused the same compiler warnings. So -> not doctest's fault.
std::fixed in this standard library is an inline function.

Fix:

set Xcode's "Inline Methods Hidden" setting to YES.

I don't know if Xcode defaults inline methods to hidden or public, but these were set to NO for all of the targets in my project. I feel like the only sane default here should be hidden.
Apologies for the "noise" of this issue.


Prisma Client QE openssl-3.0.x errors with Error opening a TLS connection when connecting to GCP PostgreSQL using an SSL certificate

Discussed in https://github.com/prisma/prisma/discussions/22520

Originally posted by pip8786 December 28, 2023
Question
I've been running our Google Cloud Functions on Node.js 16 for a long time, but that is about to stop working at the end of January. I was hoping to just update to Node.js 18 which is what my machine runs and move on from there. When I updated, my cloud functions started reporting an error when trying to use prisma:
Error opening a TLS connection: error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:349:Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()
at si.handleRequestError (/workspace/node_modules/@prisma/client/runtime/library.js:125:7117)
at si.handleAndLogRequestError (/workspace/node_modules/@prisma/client/runtime/library.js:125:6151)
at si.request (/workspace/node_modules/@prisma/client/runtime/library.js:125:5859)
at async l (/workspace/node_modules/@prisma/client/runtime/library.js:130:10025)

I've been researching this all over the place and recommendations to downgrade to Node.js 16 or enable --openssl-legacy-provider aren't possible. Something I noticed is that Node.js 18 on GCP Functions runs on Ubuntu 22.04 while previous versions were on 18.04 (https://cloud.google.com/functions/docs/concepts/execution-environment#runtimes). I've seen a few places in the github issues mentioning problems on that OS but they seem to be closed.
Any tips on how I can get my cloud functions connecting while running on Node.js 18?
Information about Prisma Schema, Client Queries and Environment (optional)
DB URL is similar to:
postgres://${DB_USER}:${DB_PASS}@${DB_HOST}:${DB_PORT}/${DB_BASE}?sslidentity=${DB_ID}&sslpassword=${DB_ID_PASS}&sslcert=${DB_CERT}
The sslidentity is a .p12 file and the sslcert is a .pem file. These both worked on the previous deployment. They also work on Node18 locally and on Vercel. Just can't figure it out on Google.

OS: Ubuntu 22.04

Database: PostgreSQL on GCP using SSL certificates

Node.js version: 18.18.2

Prisma 5.7.1

Hi @pip8786
This doesn't look good, so when I saw your problem I tried to reproduce this, and "good news" I could reproduce this.
So here is what I tried,

Upgraded our gcp-functions test from Node.js v16 to v18
We have a minimal deployment of Google Cloud Functions running on Node.js v16 called gcp-functions, and I upgraded the runtime to v18 in this PR:
https://github.com/prisma/ecosystem-tests/pull/4433
Note that this connects to an AWS RDS database.
I can see in the logs that the Prisma engine switched, liked expected, from libquery_engine-debian-openssl-1.0.x.so.node to libquery_engine-debian-openssl-3.0.x.so.node and that the Prisma Client queries were successful.
This was successful and working as expected

Upgraded our debian-bullseye-amd64-openssl-1.1.x-tls test and modified it as debian-latest-amd64-openssl-3.0.x-tls
I did that in the same PR (https://github.com/prisma/ecosystem-tests/pull/4433)
This is testing Prisma Client using GCP Postgres with the SSL certificate.
And I can reproduce what you mentioned, so we need to turn this into a bug issue.
Logs
PrismaClientInitializationError:
Invalid `client.user.findMany()` invocation in
/usr/src/app/server.js:12:34

   9 const client = new PrismaClient()
  10
  11 app.get('/', async (req, res) => {
→ 12   const data = await client.user.findMany(
Error opening a TLS connection: error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:../crypto/evp/evp_fetch.c:373:Global default library context, Algorithm (RC2-40-CBC : 0), Properties ()
    at si.handleRequestError (/usr/src/app/node_modules/.pnpm/@prisma+client@5.8.0-dev.50_prisma@5.8.0-dev.50/node_modules/@prisma/client/runtime/library.js:125:7117)
    at si.handleAndLogRequestError (/usr/src/app/node_modules/.pnpm/@prisma+client@5.8.0-dev.50_prisma@5.8.0-dev.50/node_modules/@prisma/client/runtime/library.js:125:6151)
    at si.request (/usr/src/app/node_modules/.pnpm/@prisma+client@5.8.0-dev.50_prisma@5.8.0-dev.50/node_modules/@prisma/client/runtime/library.js:125:5859)
    at async l (/usr/src/app/node_modules/.pnpm/@prisma+client@5.8.0-dev.50_prisma@5.8.0-dev.50/node_modules/@prisma/client/runtime/library.js:130:9805)
    at async /usr/src/app/server.js:12:16 {
  clientVersion: '5.8.0-dev.50',
  errorCode: undefined
}

Originally posted by @Jolg42 in https://github.com/prisma/prisma/discussions/22520#discussioncomment-8021302

Closing as duplicate I just found out that https://github.com/prisma/prisma/issues/22570 exists.


node-red-raspberry

Thanks for the sharing valuable information and the project.
I imported the flows into node red pi web designer and i am getting error "Imported unrecongnised types nodebot, gpio out".  I have installed all necessary nodes for johnny pins and also installed nodes related to gpio for pi for node-red.
Is there something I am missing out here. Can you suggest or recommend some troubleshooting tips.
Thank you for your time and your cooperation. Regards

When you installed al related dependencies in node-red could you see all new nodes included in the johnny package in the side menu of nodeRed??

Yes, on the side menu of NodeRED i see under Raspberry PI
rpi gopio in, rpi gpio out, ledborg, rpi mouse, rpi keyboard, pi gpiod, Sense HAT in, Sense HAT out.
These are all the nodes I installed after i was receiving the error after importing the flows.
I did not have npm installed so i run the following command below:-
bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
and then i imported the flows in two different nodeRED windows as described below
Flow 1  - "Copy and import this flow from node-red import clipboard to crete the raspberry pi flow" under  Node-RED flow Designer in raspberry pi (<IP_ADDRESS>:1880). The issue here is that the address I am using is not the same you mentioned. You mentioned (http://<IP_ADDRESS>:1880).
Flow 2 - "Copy and import this flow from node-red import clipboard to crete the raspberry pi flow" under Access Node-Red server Web designer (http://localhost:1880/)
Please could you also mention what is the expected output of the mpu6050 node if there flows were to work and if the MPU 6050 was wired up with Pi

You said that you don't have npm installed, in your raspberry. I recomend that you installed the last stable node version in your Raspberry SO and of course the last npm package manager first. Also use the last stable nodeRED in your project and not the default one that could be installed in the Raspberry SO.
Any way, check this link if it could help you:
Node "rpi-gpio out" doesn't do the expected in GPIO 18 (Pin 12)

Thanks for the reply.
I installed npm after running the command on Pi:-
bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
So now i have npm installed.
Thanks for the link  I am looking into it
If the project works normally then what can be seen in the debug window in Node RED. I mean what is the result.  Do values from MPU 6050 appear in Debug Window in Node RED for example
Acceleration in X, Acceleration in Y, Acceralation in Z, Yaw, Pitch and Roll

Debug in nodeRED doesn't really exist.
You could trigger debugs logs to the right side panel of nodeRED or use lamps in your nodes indicating the status like you know but not more.
If you need any more complicated debug in a more complicated logic in javascript or other backend language for your data received from your hardware devices I recomend implement this logic outside nodeRED using for example the IBM Loopback framework is you are using a nodeJS backend. I used it many years and is fantastic nodeJS backend framework. Thwen you could use the API services exported by this framework or others in your flows using the javascript node of nodeRED or directly the HTTP. I recomended the first option.
My 5 years experience in nodeRED tell me that not build your logic inside nodeRED only use nodeRED like a message router.
The correct flow must be: capture the outside dara inside nodeRED, transfom, persist, etc this data outside nodeRED (IBM Loopback for example) and publish the results alarms etc inside nodeRED to other UI services like Angular, React ot any client side framework that you prefered.
Good Luck in your project!
Regards

Thanks for the detailed answer.
With Debug window i meant the Panel / Window in NodeRED.
Best Regards


Add support for resource kind label in Kebab Menu

cc @SanjalKatiyar
Please backport this commit as well.

Need to remove space in the resource name, ideally, it should come like Delete StorageSystem.

cc @SanjalKatiyar Please backport this commit as well.

ack.

Need to remove space in the resource name, ideally, it should come like Delete StorageSystem.

For this we need to update the label value we are using in the models. Let's create an issue and track it and do it across all k8sModels present in our repo.

/override ci/prow/odf-console-e2e-aws


This is the program it reads all the 2 holding register from slaves from the Master max485 and send it the slave THDV1406
#include <HardwareSerial.h>
#include <ModbusRTUMaster.h>
#include <ModbusRTUSlave.h>

// Master Configuration
#define MODBUS_SERIAL_MASTER Serial1
const int8_t dePin_Master = PB12;
ModbusRTUMaster modbus_master(MODBUS_SERIAL_MASTER, dePin_Master);
#define MODBUS_BAUD_MASTER 38400
#define MODBUS_CONFIG_MASTER SERIAL_8N1

// Slave Configuration
HardwareSerial Serial3(PB11, PB10);
#define MODBUS_SERIAL_SLAVE Serial3
const int8_t dePin_slave = PB13;
const int8_t rePin_slave = PB14;
ModbusRTUSlave modbus_slave(MODBUS_SERIAL_SLAVE, dePin_slave, rePin_slave);
#define MODBUS_BAUD_SLAVE 38400
#define MODBUS_CONFIG_SLAVE SERIAL_8N1
#define MODBUS_SLAVE_ID 1  // ID for SCADA communication

// Modbus Slave Configuration
const uint8_t NUM_SLAVES = 3;  // Number of Modbus slaves to read from, get the size of list later
const uint8_t REGISTERS_PER_SLAVE = 2;  // Number of holding registers to read from each slave
const uint8_t SLAVE_IDS[] = {2, 3, 4};  // Slave IDs to read from

// Holding Registers Buffer
uint16_t holdingRegisters[NUM_SLAVES * REGISTERS_PER_SLAVE];
const uint16_t numHoldingRegisters = NUM_SLAVES * REGISTERS_PER_SLAVE;

// Error Handling
unsigned long transactionCounter = 0;
unsigned long errorCounter = 0;
const char* errorStrings[] = {
    "success",
    "invalid id",
    "invalid buffer",
    "invalid quantity",
    "response timeout",
    "frame error",
    "crc error",
    "unknown comm error",
    "unexpected id",
    "exception response",
    "unexpected function code",
    "unexpected response length",
    "unexpected byte count",
    "unexpected address",
    "unexpected value",
    "unexpected quantity"
};

// Function to log Modbus transactions
void printLog(uint8_t unitId, uint8_t functionCode, uint16_t startingAddress, uint16_t quantity, uint8_t error) {
    transactionCounter++;
    if (error) errorCounter++;

    char string[128];
    sprintf(string, "%ld %ld %02X %02X %04X %04X %s",
            transactionCounter, errorCounter, unitId, functionCode,
            startingAddress, quantity, errorStrings[error]);
    Serial.print(string);

    if (error == MODBUS_RTU_MASTER_EXCEPTION_RESPONSE) {
        sprintf(string, ": %02X", modbus_master.getExceptionResponse());
        Serial.print(string);
    }
    Serial.println();
}

// Read holding registers from all configured slaves
bool readAllSlaveRegisters() {
    uint8_t error;
    uint16_t tempBuffer[REGISTERS_PER_SLAVE];

    for (uint8_t i = 0; i < NUM_SLAVES; i++) {
        // Read holding registers from each slave
        error = modbus_master.readHoldingRegisters(
            SLAVE_IDS[i],        // Slave ID
            0,                   // Start address
            tempBuffer,          // Buffer to store registers
            REGISTERS_PER_SLAVE  // Number of registers to read
        );

        // Check for errors and log them
        if (error != 0) {
            printLog(SLAVE_IDS[i], 0x03, 0, REGISTERS_PER_SLAVE, error);
            return false;
        }

        // Copy registers to consolidated buffer
        memcpy(
            &holdingRegisters[i * REGISTERS_PER_SLAVE],
            tempBuffer,
            REGISTERS_PER_SLAVE * sizeof(uint16_t)
        );

        // Log successful read
        printLog(SLAVE_IDS[i], 0x03, 0, REGISTERS_PER_SLAVE, 0);
    }

    return true;
}

void setup() {
    // Initialize Serial for debugging
    Serial.begin(115200);
    while(!Serial);
    Serial.println("\n\nModbus RTU Multi-Slave Bridge");

    // Initialize Master Serial and Modbus
    MODBUS_SERIAL_MASTER.begin(MODBUS_BAUD_MASTER, MODBUS_CONFIG_MASTER);
    modbus_master.begin(MODBUS_BAUD_MASTER);
    //modbus_master.setTimeout(300);

    // Initialize Slave Serial and Modbus
    MODBUS_SERIAL_SLAVE.begin(MODBUS_BAUD_SLAVE, MODBUS_CONFIG_SLAVE);
    modbus_slave.begin(MODBUS_SLAVE_ID, MODBUS_BAUD_SLAVE);

    // Initialize holding registers to 0
    memset(holdingRegisters, 0, sizeof(holdingRegisters));

    // Configure holding registers for slave
    modbus_slave.configureHoldingRegisters(holdingRegisters, numHoldingRegisters);
}

void loop() {
    // Read holding registers from all slaves
    readAllSlaveRegisters();

    // Process incoming Modbus Slave requests
    modbus_slave.poll();

    // Small delay to prevent overwhelming the bus
    delay(100);
}

Let's make sure I am understanding your issue here.
From what I gather, you are making a sort of gateway device.
This device acts as a Modbus slave/server on one RS-485 bus (lets call this "bus1").
It also acts as a master/client on another RS-485 bus (lets call this "bus2).
The bluepill is connected to bus 1 using a THDV1406 RS-485 transceiver.
It is connected to bus2 using a MAX485 board.
flowchart
master <--> bus1 <--> THDV1406 <--> bluepill <--> MAX485 <--> bus2
bus2 <--> slave2
bus2 <--> slave3
bus2 <--> slave4

When setup in this configuration, the master device times out.
Is this correct?

Yes it's correct

I took a look at the datasheet for the THVD1406.
It's an unusual RS-485 transceiver. It doesn't have a driver enable (DE) pin. It instead has a shutdown (SHDN) pin.
Judging by the picture you posted, it looks like the THVD1406 board you are using has the SHDN pin labeled as DE.
In order for the THVD1406 to function at all (sending or receiving) the SHDN pin needs to be pulled high.
According to the datasheet, this pin has a weak internal pullup resistor, so simply disconnecting it may be all you need to do.

yes! it works. I was making that configuration RE and SHDN high to auto direction! thanks, to summarice i wasn't find the module online and i was searching for 2 days the documentation. it no so fast, i think the max485 is better it doesn't have auto direction but is faster. thanks for the help i was thinking is a library problem but no. sorry for the inconvenience.


Sylius 1.11 + PHP 8 release

It seems not possible to install SyliusSettingsPlugin on Sylius 1.11 + PHP 8 as the composer.json explicitely defines "~1.8.0 || ~1.9.0 || ~1.10.0" sylius version only.
Could you provide an updated release ?
Thanks for your work !

Do you think you can try it on your side and create a pull request ?
It could be really nice 🙏

fixed by #48


Algorithm EPIC: Fix budget check for multi column indexes

Does currently not check whether multi-attribute extensions are within budget, if the corresponding single column index is not.

This should be resolved by merging #35, right?

I believe so.


[Feature] Skinned meshes

Feature: Adding new skinned meshes to TEN engine
Descriptions:
The objective of this project is to introduce skinned meshes into the TEN engine, enhancing character models' realism and animation quality. Unlike traditional models (with the skin joints method), skinned meshes allow for better blending and more natural animations, as seen in the upcoming Tomb Raider remaster.

(images from the future Tomb Raider 1,2,3 remaster)
An idea to accomplish this, we would have to work on different areas: TEN code, Shaders, WadTool and Tomb Editor.
TEN Engine

Modify the item class to accommodate skinned meshes optionally (like a new container list).
Enable the engine to detect and use skinned meshes for rendering if available; otherwise, continue using bone meshes.

Shaders

Create a new vertex shader capable of interpreting bone weight data for mesh blending.
(For example: the vertex would start with the transformation of the first bone, and then it would go adding transformations of their other linked bones, scaled by their weight, until get the final transformation).

WadTool
This should be critical for the resource management. Ideally, these new system should be adapted to can be imported using the existing WadTool. There may be many ways to do it. The idea I propose is create a new layer for the existing objects to separate the animation skeleton from the rendered model. (But using still the same object slot).
Currently, Lara uses different slots some for her animations, and others for her outfits (SKIN, SKIN_JOINTS, HAIR). Using this method for every enemy or item in the game, could make things very long lists and ardous.
So implementing a layer system could organize and simplify options for the users

whole object (for visual and collision boxes).

its skeleton (for animations, bones position and sphere colliders).
its render (for the bones meshes, or if it has, skinned meshes).

Also each layer could have import/export options related to them (so we can clean the crowded population of buttons in the interface).
Tomb Editor

Update the Tomb Editor to render skinned meshes when applicable, replacing bone meshes.

Motivation:

Anticipate user expectations due to the upcoming Tomb Raider Remaster, which includes updated models.
Improve animation quality, enabling artists to create more realistic and immersive character animations.

Key Considerations:

Implement this feature gradually to ensure a smooth transition.
Avoid disrupting existing workflows and keep legacy compatibility.
Seamless integration into existing tools is a priority.

Plan Overview
1. Update Item Structures

Create a new list for the skinned meshes loaded in the level. (A list of Skinned Mesh class objects).
Modify the item class to accommodate skinned meshes as optional components. (surelly, a list of pointers). (be aware may change in runtime, must be compatible with save/load).
Ensure backward compatibility by allowing items to have both skinned or bone meshes if the skinned meshes are not available.

2. Skinned Mesh Class

Create a dedicated skinned mesh class capable

Develop data structures to manage vertex weighting and textures materials.
Implement functions for their management (swapping, destruction, getters and setters, etc).
Recreate functionalities needed from traditional bone meshes for these new meshes work too. (Render queque management)

3. Renderer Integration

Update the rendering logic when enable the engine to detect and use skinned meshes for rendering if they are available for a particular item.
Implement fallback mechanisms to continue using bone meshes for items without skinned equivalents.
During drawing stage, ensure the new skinned meshes are working properly in the render queques (for opaques and alpha blending).

4. Level Flow load

Modify the level load function to allow it read the new skinned meshes from the wad and include them into the level skinned meshes container. (So they can be instantiated by the item).

5. Vertex Shader

Develop a custom vertex shader specifically for skinned mesh rendering.
Implement vertex transformations that account for bone weights and hierarchy during vertex blending.
Ensure seamless integration with the existing shader system in TEN.
Ensure it can keeps using the existing pixel shader for items.

6. WadTool Update

Integrate skinned meshes into the resource management system.
Propose and implement a layer system within WadTool to categorize and organize skinned mesh data separately from animation skeletons and rendered models.
Enhance asset import and export capabilities to handle skinned mesh data and provide more options (export skeleton or render meshes only, or combined).
Design an intuitive user interface for easy access to different layers.

7. Tomb Editor Update

Update the Tomb Editor to recognize and render skinned meshes when applicable.

Diagrams
Loading

Drawing Flow

WadTool

Several ideas from me:

Skinned mesh should be a separate category in Wad2, so that several objects may refer to the same skinned mesh. This will allow to easily attach same skinned meshes to different objects. Also in final compiled level, skinned meshes should be also kept separately from actual objects. This will allow to easily swap skinned meshes in runtime and somehow replicate old meshswap workflow.

There should be no separate skinned mesh editor. Original mesh editor should be just extended with a toolset to edit vertex weights.

boneWeights should actually be std::vector<std::map<BoneIndex, Weight>>.

Good question about bone mutators - should they affect skinned mesh at all? At first stage, I think we can ignore that, because mutators are usually used with detached meshes, such as rolling wheels, stretching spikes, etc. Later we can think how to adapt mutators to a skinned mesh too.


node-gyp handles external file dependencies differently in npm install vs npm install

I have a node module that depends on a separate C library. So, I have a gyp file for that library (library.gyp) and a gyp file for the node module (binding.gyp). Some targets for the C library, such as tests, are not useful for the node module build, so the target in binding.gyp has a dependency on library.gyp:library.
When I run npm install in the package directory, it builds only my node module, library.gyp:library, and the transitive dependencies of that target. This is what I expect to happen.
However, if I go to a separate directory (/tmp) and run npm install path/to/node/module, it tries to build every target in library.gyp, and fails, because I did not include the test files in my files list in package.json.

hey @murgatroid99, it's been a long time since you opened this. is this still an issue?


Added proper direct domains to sauce tunnel in build pipeline smoke test

This PR updates the direct domains on the Sauce Tunnel. This needed to be changed a while ago and was in the test pipeline but the build pipeline was overlooked. This causes the iOS smoke test to fail on an iOS build.

@jleach any idea why the check-secrets and check-vars steps are failing on this change? I can't see how those steps would be affected by this one-liner


Sparse point cloud annotation

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Is your feature request related to a problem? Please describe.
I am trying to annotate a sparse point cloud. The pcd file contains dozens to hundreds of points, but I can hardly see these points on the annotation interface. Is there any way to adjust the size of each point in the display?
Describe the solution you'd like
Is there a way to modify the point size in the point cloud in the graphical interface, similar to the point size adjustment in rviz ?
Describe alternatives you've considered
Is there any way to temporarily circumvent this problem, such modify a setup file .e.g a yaml or somewhere in the code?
Additional context
No response

can see the point

sparse pcd file:
# .PCD v.7 - Point Cloud Data file format VERSION .7 FIELDS x y z SIZE 4 4 4 TYPE F F F COUNT 1 1 1 WIDTH 213 HEIGHT 1 VIEWPOINT 0 0 0 1 0 0 0 POINTS 213 DATA ascii 8.6 8.8 0  8.2 10.8 0  -0.2 46 0  2.2 24.6 0  -22.8 25 0  -5.6 8.2 0  9 27.2 0  24.4 52 0  27.4 35.8 0  -9.6 14.6 0  0.2 6.6 0  -36.4 44.8 0  -0.8 40.4 0  -8.4 55.6 0  25 22.8 0  2.2 18.8 0  -3.6 20.2 0  -5.6 30.4 0  -0.6 12.6 0  -4.8 10 0  -6.2 58 0  -8.4 12.6 0  -11.2 53.8 0  2.4 38.4 0  -6.8 37 0  4.2 20.4 0  3.8 42.2 0  1.6 7.6 0  -10.8 43 0  -13.2 53.2 0  -1.6 50.2 0  -26.8 46.2 0  -10.6 23.4 0  11 49.4 0

points are too small to recognize within the annotation panel

Hello, have you solved this problem?

Hello, have you solved this problem?

no yet, haven't figure out how to do, any suggestions?


Comment is out of date

https://github.com/oasis-engine/engine/blob/main/packages/core/src/mesh/Skin.ts#L18
Pls remove gl-matrix comment.

Done with 0.5 mileStones


The Tab Color Picker should be navigable with the arrow keys

Especially following #6567 (and moreso following #6635).
Once we open the picker, I want to be able to navigate the buttons with the arrow keys, and then hit enter to select a color.
You can cycle through the entire list with tab, but the arrow keys seem like they'd be more intuitive IMO.

Hello @zadjii-msft, I have implemented this as was looking for a very easy starter to do. I will submit a PR.


[backport] Add missing doc entry for CommunicatorBase.allgather

Backport of #7192

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 7e76c0436d545eded1da85492d340d57837f57d3, target branch v6) failed with status FAILURE.

LGTM.
The failed tests are not related to the PR.

chainercv, test this please

Jenkins CI test (for commit 7e76c0436d545eded1da85492d340d57837f57d3, target branch v6) succeeded!


PES University RR Campus submission

Added BreakHis Image tumor classification and Wisconsin Prognostic Breast Cancer tumor classification

Thank you for contribution, our team will review the pull request.
Meanwhile, Please submit test results (in a zip) .

Provide the terminal window output when the commands executed as is from readme.
Provide ML application log, to show Swarm training is completed.

Thanks,
-HPE Swarm team

PFA the requested files (ML application log and a document containing the
requested screenshots) in the zip file.
Thank you.
Yours sincerely,
Anirudh BS
On Sat, Sep 3, 2022 at 8:48 PM Anirudh B.S @.***> wrote:

Sure sir. Should the mentioned files be sent via mail or shall we make
another pull request?
Regards,
Anirudh BS
On Fri, Sep 2, 2022, 3:34 PM RadhakrishnaJ @.***>
wrote:

Thank you for contribution, our team will review the pull request.
Meanwhile, Please submit test results (in a zip) .

Provide the terminal window output when the commands executed as is
from readme.
Provide ML application log, to show Swarm training is completed.

Thanks,
-HPE Swarm team
—
Reply to this email directly, view it on GitHub
https://github.com/HewlettPackard/swarm-learning/pull/122#issuecomment-1235313153,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOI2W2BIMMPADBUO3T3AC5LV4HGMFANCNFSM6AAAAAAQCHVKLE
.
You are receiving this because you authored the thread.Message ID:
@.***>

PFA the requested files (ML application log and a document containing the requested screenshots) in the zip file. Thank you. Yours sincerely, Anirudh BS
…
On Sat, Sep 3, 2022 at 8:48 PM Anirudh B.S @.> wrote: Sure sir. Should the mentioned files be sent via mail or shall we make another pull request? Regards, Anirudh BS On Fri, Sep 2, 2022, 3:34 PM RadhakrishnaJ @.> wrote: > Thank you for contribution, our team will review the pull request. > > Meanwhile, Please submit test results (in a zip) . > > - Provide the terminal window output when the commands executed as is > from readme. > - Provide ML application log, to show Swarm training is completed. > > Thanks, > -HPE Swarm team > > — > Reply to this email directly, view it on GitHub > <#122 (comment)>, > or unsubscribe > https://github.com/notifications/unsubscribe-auth/AOI2W2BIMMPADBUO3T3AC5LV4HGMFANCNFSM6AAAAAAQCHVKLE > . > You are receiving this because you authored the thread.Message ID: > @.***> >

Hi Anirudh,
It seems you have missed to attach zip file. Drag and drop zip file in this comments section area.
Regards,
-HPE Swarm Learning Team

SwarmLearning_PESU_RR.zip

Hi Anirudh,
Thank you for sharing screenshots.
As part if our review, we have couple of comments to discuss with you.
Could you please share your mail id?
Regards,
-HPE Swarm Learning Team

We were suggested a few changes a couple of days back by Mr. Ravi Sarveswara as well. Shall we send a PR for that as of now?
Could you also include the second mail-id in CC.
<EMAIL_ADDRESS><EMAIL_ADDRESS>Regards,
Anirudh BS

Sure sir. Should the mentioned files be sent via mail or shall we make
another pull request?
Regards,
Anirudh BS
On Fri, Sep 2, 2022, 3:34 PM RadhakrishnaJ @.***> wrote:

Thank you for contribution, our team will review the pull request.
Meanwhile, Please submit test results (in a zip) .

Provide the terminal window output when the commands executed as is
from readme.
Provide ML application log, to show Swarm training is completed.

Thanks,
-HPE Swarm team
—
Reply to this email directly, view it on GitHub
https://github.com/HewlettPackard/swarm-learning/pull/122#issuecomment-1235313153,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOI2W2BIMMPADBUO3T3AC5LV4HGMFANCNFSM6AAAAAAQCHVKLE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Comments -
Breakhis :  rename it to BreakHis – use abbreviation as is in dataset description

Dataset download and how to prepare dataset input to ML model needs to be documented in detail. Just by reading steps users can execute example.
Does this example qualifies for transfer learning? If not, let’s make base model as non-trainable so that this example depicts transfer learning use case, then print model.summary() to show how many trainable and non trainable parameters exists in this model.

Cancer-pred :

Dataset download and how to prepare dataset input to ML model needs to be documented in detail. Just by reading steps users can execute example.

Comments - Breakhis : rename it to BreakHis – use abbreviation as is in dataset description

Dataset download and how to prepare dataset input to ML model needs to be documented in detail. Just by reading steps users can execute example.
Does this example qualifies for transfer learning? If not, let’s make base model as non-trainable so that this example depicts transfer learning use case, then print model.summary() to show how many trainable and non trainable parameters exists in this model.

Cancer-pred :

Dataset download and how to prepare dataset input to ML model needs to be documented in detail. Just by reading steps users can execute example.

BreakHis: If the base model is non-trainable, then it is good for Transfer Learning use case so no need to update model. Describe the summary of model in readme, highlight non trainable parameters count to show this model uses transfer learning.

Greetings,
The issues regarding dataset processing have been fixed.
BreakHis -
More detailed Instructions on how to download the dataset have been provided. A script file for pre-processing the dataset has been provided along with instructions on how to run the same.
As for transfer learning, we have only initialised the model to pre-trained weights. Please let us know on how to proceed with this.
Cancer-pred -
The dataset is being downloaded and used from within the model file itself. Additionally more information on how to obtain the dataset from different sources has been provided.
Regards,
Akhil M R

BreakHis
•	Step 5,6 to be exchanged. Requirements file is using train, test npz files but there are generated in step 6.
•	Data split didn’t work for me as is. Breakhis dataset folder names are not consistent. After unzip I got folder names as BreaKHis (k is Capital), I had to update data split script to use it.
•	Requirements.txt should use “scikit-learn” in place of sklearn.
Cancer-pred
•	Requirements.txt should use “scikit-learn” in place of sklearn.
•	Two sources information doesn’t look good. To simplify use only Kaggle path for data extraction.
•	For Kaggle path don’t use “df.drop("Unnamed: 32",axis=1,inplace=True) ” – It doesn’t work correctly. Instead use “df = df[col_names]”, you already have col_names defined, you can make use of same to filter.
•	Also remove line. Not needed -> test.drop("Unnamed: 32",axis=1,inplace


Add space for repository connector implementations to stash local identifiers in headers of instances

This issue proposes an extension to the audit header of entities, entity proxies, relationships and classifications.  It would be a map of string to object.  Repository connector implementations can use it to keep useful information for mapping the Egeria identifiers to the actual master object in the repository connector's store.  The repository services will transmit these values but not read, validate or change them.

The new property called mappingProperties is now in master in the audit header for instances.
https://github.com/odpi/egeria/blob/master/open-metadata-implementation/repository-services/repository-services-apis/src/main/java/org/odpi/openmetadata/repositoryservices/connectors/stores/metadatacollectionstore/properties/instances/InstanceAuditHeader.java
This leaves 2 pieces of work.

[ ] Extend the CTS to check that this field is property stored

[ ] Extend the graph repository to store this property (and any other new property that comes along)

Would it be possible to declare mappingProperties as Map<String, Serializable> ?
This would guarantee that any value would be serializable and would ensure that any repository should be able to store it.


making fewer assumptions about /sapmnt

As requested: https://github.com/SAP/chef-ohai-plugins/issues/2#issuecomment-499642079

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


Optimize the nsnet2 example for explainer usage

use 130 max-len
slice the bias npy to bias and recurrent bias npy files
simplify the graph build code

For explainer PR https://github.com/webmachinelearning/webnn/pull/131
@anssiko , PTAL. Thanks!

As https://github.com/webmachinelearning/webnn/pull/131 was approved and merged, I am going to merge this PR to keep the sample code aligned. @anssiko , if you have any other comments, please feel free to let me know.


frontend tests: Replace incorrect asserts with assert.equal

We should also add a lint rule to make sure that this does not happen again.
Opened issue #18687 for that.

Good find, merged, thanks @hackerkid!


Issue pfls event to metadata pipe when pausing, stopping or changing tracks

Is your feature request related to a problem? Please describe.
Can you issue a pfls command to the shairport-sync style metadata pipe when either pausing, stopping or changing track. This enables forked-daapd to immediately pause as opposed to a significant delay or 4-5 seconds before the command is observed in forked-daapd due to the audio stream ending. I have requested @ejurgensen to implement this feature in forked-daapd which has been done (see issue 295). Many thanks.
Describe the solution you'd like
Issue a 'pfls' event to the configured metadata pipe when pausing, stopping or changing track.
Describe alternatives you've considered
None
Additional context
The command required to be issued is <item><type>73736e63</type>70666C73<length>0</length></item>

What is <item><type>73736e63</type>70666C73<length>0</length></item> for? Pause, stop or track change?

It's the pfls command. It instructs forked-daapd to drop the content on the audio buffer (which removes the lag). So the same command can be issued for all of them.
Thanks for looking at this.

Got it. Let me know if it works

This is working exactly as expected. Thank you for the quick fix. When using librespot-java with forked-daapd, the controls are really responsive.
I will close the ticket.


Add humidity mode

Currently my humidifier has a humidity mode.
It seems that this function does not exist in the corresponding plug-in, and it seems that there is only an On/Off function.
Could you please add that feature?
thank you.

(Other plugins look like this.)

I want to integrate it into one miot plugin.

Hi,
which humidifier do you have?

@merdok deerma.humidifier.jsq

The humidifier has no mode in the miot spec so unfortunately it cannot be controlled:
https://home.miot-spec.com/spec?type=urn%3Amiot-spec-v2%3Adevice%3Ahumidifier%3A0000A00E%3Adeerma-jsq%3A1

If you register as deerma.humidifier.jsq1 in other plugins, the corresponding function is created. Is it possible to apply it to work even if the model name is different?

Other plugins work fine.

      this.humidifierService
        .getCharacteristic(Characteristic.RelativeHumidityHumidifierThreshold)
        .onGet(this.getRelativeHumidityHumidifierThreshold.bind(this))
        .onSet(this.setRelativeHumidityHumidifierThreshold.bind(this));
    }```

`homebridge-miot/lib/humidifier/HumidifierAccessory.js`
When I changed the 77th conditional statement to true, it worked normally.

The other plugin does not use the new miot protocol. It used the old miio protocol. Since your device is an older miio device it needs to emulate the miot protocol, for that case some features might not be exposed. This is something which is not under my control. I can only offer features which are available in the miot protocol in this plugin.

@merdok ok, thanks! I will use it as above.

It's not working. I'm sorry. I'll wait.

You have to remove the model which you entered before and I will adjust the device in the next update to mark it as micloud required!

The device is now marked as micloud required in version 1.0.3


Export row type

Exported this type to make possible something like this:
 selector.Inline( 	rows..., )

What's the state of this PR? I need that as well.

Sorry for the delay. I was thinking about the better name than the Row, but nevermind now... Let's keep it as it is for v2.

alright, thank you for merging it, i developed the bot in my community, but
that row isn't available ,
Pada tanggal Rab, 4 Nov 2020 pukul 02.36 demget<EMAIL_ADDRESS>menulis:

Sorry for the delay. I was thinking about the better name than the Row,
but nevermind now... Let's keep it as it is for v2.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tucnak/telebot/pull/319#issuecomment-721334507, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEVIW6OHWRLRFBE6HD72Y7LSOBLUZANCNFSM4OXNL6EQ
.

--
Johan Setiawan
Telp/WA :<PHONE_NUMBER>66
IG : @johansetiawan.id


ExpressionPromoter.Promote Limitations to Detect plausible method matches

Hi,
I am highlighting one constraint/issue which is little annoying and could be improved upon.
When I use String.Join method below are the possible overloads which can be called.

+		[0]	{System.String Join(System.String, System.String[])}
+		[1]	{System.String Join(System.String, System.Object[])}
+		[2]	{System.String Join(System.String, System.Collections.Generic.IEnumerable`1[System.String])}
+		[3]	{System.String Join(System.String, System.String[], Int32, Int32)}
+		[4]	{System.String Join[T](System.String, System.Collections.Generic.IEnumerable`1[T])}

Now in ExpressionPromoter.Promote class of your lib the type match is exact for IEnumerable types.
For example below are the two types, one for string enumerable and another one is int enumerable obj.

{Name = "IEnumerable`1" FullName = "System.Collections.Generic.IEnumerable`1[[System.String, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}

{Name = "IEnumerable`1" FullName = "System.Collections.Generic.IEnumerable`1[[System.Int32, mscorlib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}

So ExpressionPromoter.Promote returns the expression for string enumerable but for int enumerable it returns null, due to which we get an error saying no method Join found.
Whereas normally(in c#) when we use int enumerable obj with string.Join it works perfectly, probably because it's matching with the below two types.

+		[1]	{System.String Join(System.String, System.Object[])}
+		[4]	{System.String Join[T](System.String, System.Collections.Generic.IEnumerable`1[T])}

I would like to know if in your lib can you please make your best method search approach to be more wider which can detect generic methods too? String.Join is just an example, this change can be very useful for many methods.
Code to reproduce the issue:
Works
 var strArray = new[] { "1","2","3","4"};
var x = new List<ParameterExpression>();
x.Add(Expression.Parameter(strArray.GetType(), "strArray"));

  var config = new ParsingConfig();
 string query = "string.Join(\",\" , strArray)";

  var e = DynamicExpressionParser.ParseLambda(config, x.ToArray(), null, query);
   Delegate del = e.Compile();
    var result = del.DynamicInvoke(strArray);

Doesn't Work
 var intArray = new[] { 1,2,3,4};
var x = new List<ParameterExpression>();
x.Add(Expression.Parameter(intArray.GetType(), "intArray"));

  var config = new ParsingConfig();
 string query = "string.Join(\",\" , intArray)";

  var e = DynamicExpressionParser.ParseLambda(config, x.ToArray(), null, query);
   Delegate del = e.Compile();
    var result = del.DynamicInvoke(intArray);

Thanks!

Hello @joshidp ,
Thank you for reporting,
We will look at it probably this weekend.
Best Regards,
Jon

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

Hello @joshidp ,
We looked at this issue and in the short term, I don't think we will improve the method overload resolution. Way too much code is involved to make it works or improve it. A major code revamps would be required which will come without a doubt a major version if we do it.
If we want to make it works correctly, we will have to bring back the method overload resolution we did in our other library (C# Eval Expression) which took us weeks to make it works (and still is not 100% perfect but close enough).
So, if you wish a better method resolution, I recommend you to try https://eval-expression.net/ (free for LINQ part). Otherwise, I don't think anything will be done in short term.
Best Regards,
Jon

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

https://github.com/zzzprojects/System.Linq.Dynamic.Core/pull/731


Window resize only doesn't do the trick

Description
For window size if there is enough space the sidebar renders into the layout (not above), if to toggle the sidebar, the cards change their size accordingly. Any widget (like ui_gauge) using window resize event to update it's content are out of shape cos of course - the window size is not changed.
So it maybe needs to dispatch the resize forcibly window.dispatchEvent(new Event('resize')); when sidebar animation completes. Don't know if there is more such internal layout changes which then may need same sort of treatment.
Best,
Endel
Epic/Story
No response
Have you provided an initial effort estimate for this issue?
I can not provide an initial effort estimate

Thanks Endel, great spot. Will investigate

The workaround or why not the suggestion for creators would be to use ResizeObserver
 mounted(){

        const resizeObserver = new ResizeObserver((entries) => {
            this.onResize()
        });
        resizeObserver.observe(this.$refs['your-ref-name']);
    }

Can't say about the how it affects the overall performance ..

Pointing out that this is still a live issue.  See forum post https://discourse.nodered.org/t/bug-position-needle-widget-gauge/90239


Build(deps-dev): Bump cypress from 9.4.1 to 9.5.0 (#2776)

Pull request opened by the merge tool on behalf of #2776

Merged in 62811152a0c1c322d109ad25b60e326d5057429a


Rebase of rust-codegen branch

Rebased and squashed!
Anthony's quote from the other PR:

The end result of this refactor will be:
the botocore_parser crate using serde_codegen in its build script to produce a standalone parser for the botocore json files (this is basically done, though newer AWS services might require some tweaks to the parser)
the rusoto crate using botocore_parser as a build dependency, and its build script producing the same automatically-generated Rust libraries for AWS services that we're doing now, with the python codegen just swapped out for the botocore_parser library (this is also basically done)
the rusoto_helpers crate using rusoto as a dependency, and housing all the hand-written helper code we've currently got in the rusoto crate, as well as the associated integration tests. (this is done for dynamodb, and moving the other helpers should mostly be a matter of moving the files from one crate to another and updating the import statements a bit)
Running the integration tests in rusoto_helpers runs a working dynamodb integration test. The 'rusoto_helpers` repo only has a dynamodb helper in it right now.
So, the next order of business is moving the other helper classes out of the rusoto repository over into the rusoto_helpers repository with their integration tests, updating the import statements and Cargo dependencies so they build, and making sure it all works.

I've published botocore_parser on crates.io so we have a chance of making this green.  However I've run into snags with the S3 bits (who would have thought? :cry: ).  I recommend we punt on that for this PR.

Build passing! :D
I finished moving all the helper modules to rusoto_helpers (though I don't have push access so it's in a PR over there.)
There were a few places where there was code duplication directly in the modules, so I moved that stuff into the codegen in the build script.
Finally, and most importantly, so we can get this merged without it blocking master for any longer, I decided to continue to use the Python codegen for the "query" protocol rather than try to port that right now. Any of us can work on moving that over in a separate PR.

Oh, I also noticed that some of the integration tests that don't run by default (including on Travis) use the helper types which are now in the other crate. Since we haven't been relying on this for CI, I think those should not block this PR as they aren't providing much benefit right now anyway. As another feature I want to look into putting every AWS service under a Cargo feature so that you have to explicitly opt in to any services you want to be included (saving build time for downstream crates.) It'd probably make sense to figure out a better system for service-specific tests at that time.

I think we got your permissions sorted for the rest of the projects in the rusoto org.
I really like the idea of modularizing things so you can opt-in for the services you're using, but am not sure how execution of that will work.
I'll be taking another look at this PR shortly!

I'll be merging this in later tonight.  The S3 stuff may need to be modified to not do codegen, as even the Python stuff wasn't working correctly.  So I'll bring along the hand-crafted stuff in the meantime so this PR isn't blocked any more.

I think we're no longer blocked!  Taking a dinner break and will merge soon.


Feature request: add quality options

Add parameters to the quality of the final video: resolution, FPS, bitrate and so on.
Disk space is really an issue for us, so would be interesting to tune these options to make the final file the smallest possible while maintaining some quality.
On a side note: congratulations for this amazing job. This has been a long request feature for us, your solution is simple, yet efficient and elegant.

Great idea. Fortunately FFmpeg makes tweaking these kinds of parameters easy.
Thank you for these kind words, I am surprised by the warm embrace the BBB community has given me so far =)

The code now has a video quality option.


Bug: when do the normalization of embeddings.

I have found an error in the source code, which targets to do the normalization of embeddings but encountering the ZeronDivision.
INFO: Reading settings from settings.yaml
Error embedding chunk {'OpenAIEmbedding': 'Internal Server Error'}
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/opt/miniconda3/envs/rag/lib/python3.11/site-packages/graphrag/query/main.py", line 75, in
run_local_search(
File "/opt/miniconda3/envs/rag/lib/python3.11/site-packages/graphrag/query/cli.py", line 154, in run_local_search
result = search_engine.search(query=query)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/rag/lib/python3.11/site-packages/graphrag/query/structured_search/local_search/search.py", line 118, in search
context_text, context_records = self.context_builder.build_context(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/rag/lib/python3.11/site-packages/graphrag/query/structured_search/local_search/mixed_context.py", line 139, in build_context
selected_entities = map_query_to_entities(
^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/rag/lib/python3.11/site-packages/graphrag/query/context_builder/entity_extraction.py", line 55, in map_query_to_entities
search_results = text_embedding_vectorstore.similarity_search_by_text(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/rag/lib/python3.11/site-packages/graphrag/vector_stores/lancedb.py", line 118, in similarity_search_by_text
query_embedding = text_embedder(text)
^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/rag/lib/python3.11/site-packages/graphrag/query/context_builder/entity_extraction.py", line 57, in
text_embedder=lambda t: text_embedder.embed(t),
^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/rag/lib/python3.11/site-packages/graphrag/query/llm/oai/embedding.py", line 96, in embed
chunk_embeddings = np.average(chunk_embeddings, axis=0, weights=chunk_lens)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/miniconda3/envs/rag/lib/python3.11/site-packages/numpy/lib/function_base.py", line 550, in average
raise ZeroDivisionError(
ZeroDivisionError: Weights sum to zero, can't be normalized

I encounter the same situation while using local opensource embedding server with all-MiniLM-L6-v2 model

same issue. i can get global search working by modifying the openai_embeddings file. but no local search. hoping this is fixed soon

Hi! We are centralizing other LLM discussions in these threads:
Other LLM/Api bases: #339,
Ollama: #345
Local embeddings: #370
I'll resolve this issue so we can keep the focus on those threads

My way can work, try this     def embed(self, text: str, **kwargs: Any) -> list[float]:
"""
Embed text using OpenAI Embedding's sync function.
    For text longer than max_tokens, chunk texts into max_tokens, embed each chunk, then combine using weighted average.
    Please refer to: https://github.com/openai/openai-cookbook/blob/main/examples/Embedding_long_inputs.ipynb
    """
    print(text)
    print(self.token_encoder)
    print(self.max_tokens)
    token_chunks = chunk_text(
        text=text, token_encoder=self.token_encoder, max_tokens=self.max_tokens
    )
    chunk_embeddings = []
    chunk_lens = []
    for chunk in token_chunks:

        chunk = self.token_encoder.decode(chunk)
        try:
            # embedding, chunk_len = self._embed_with_retry(chunk, **kwargs)
            # Make sure to `pip install openai` first
            from openai import OpenAI
            client = OpenAI(base_url="http://localhost:1234/v1", api_key="lm-studio")

            def get_embedding(text, model="nomic-ai/nomic-embed-text-v1.5-GGUF"):
                text = text.replace("\n", " ")
                return client.embeddings.create(input=[text], model=model).data[0].embedding

            print("__________")
            print(chunk)
            chunk_embeddings.append(get_embedding(chunk))
            chunk_lens.append(len(chunk))
        # TODO: catch a more specific exception
        except Exception as e:  # noqa BLE001
            self._reporter.error(
                message="Error embedding chunk",
                details={self.__class__.__name__: str(e)},
            )

            continue
    chunk_embeddings = np.average(chunk_embeddings, axis=0, weights=chunk_lens)
    chunk_embeddings = chunk_embeddings / np.linalg.norm(chunk_embeddings)
    return chunk_embeddings.tolist()


[SPARK-43059][CONNECT][PYTHON] Migrate TypeError from DataFrame(Reader|Writer) into error class

What changes were proposed in this pull request?
This PR proposes to migrate TypeError from DataFrame(Reader|Writer) into error class
Why are the changes needed?
Improve user experience for PySpark error messages.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
This existing CI should padd

Merged to master.


logging: File system backend

This PR introduces a new LOG backend based on VFS API. It is able to store Loggs in multiple files in pointed log directory

cold start supported
If FS volume is not mounted from the beginning the backend will drop LOG. Backend will start logging normally once FS volume will be mounted (so FS can be directly mounted by the application either). Obviously the backend works well especially if FS volume is automounted within zephyr-rtos startup.
auto recovery after unexpected lost of the current log file in runtime.
If currently used log file is lost, the backend attempt to create another one.

On the first possible write attempt backend creates a new file with continuous numeration. When max size of file is reached.
system creates another one. There is a limit of log files used by backend too. There is a possibility to overwrite
old files or drop new ones.
smp_svr sample was modifed so it has enabled FS commonest. This project could be used to test new backend.
The easiest way to download the log file is using this command:
mcumgr --conntype serial --connstring='dev=/dev/ttyACM0,baud=115200' fs download /lfs1/log.0000 ~/log.txt.
Wort to note that a Log file can be also read using FS shell.
This PR supersedes https://github.com/zephyrproject-rtos/zephyr/pull/27486 as I took over the task and reworked base code much so want completely new review process.

Hello, this is a great feature and we look forward to using it. However, do you plan to add functionality to list files in a directory? Because right now, we wouldn't know which file to download.

Hello, this is a great feature and we look forward to using it. However, do you plan to add functionality to list files in a directory? Because right now, we wouldn't know which file to download.

mcumgr miss that feature, however you can use FS shell fs list command. I don't have plan to work on mcumgr right now.

Thanks for the contribution, we will try this as well. Has it been tested with both FAT, exFAT and LittleFS?

Thanks for the contribution, we will try this as well. Has it been tested with both FAT, exFAT and LittleFS?

@koffes Was tested using LittleFS. Will work with any FS supported by VFS API.

@aunsbjerg would be great if you can look at this.


GPU sample exec

GPU sample exec
This fixes #3419
Signed-off-by: Chong Gao<EMAIL_ADDRESS>

build

Addressed the comments.
Fixed bug that GpuRangePartitioner throws an exception when table is empty.
Still draft, nested types failed, need investigate.

@revans2  Will you help with the filing? I am worried that I cannot describe it clearly. In fact, I only know that sample will not change the order of data in one partition. I don't know how spark uses it.


The ASM crashes after latest update

Describe the bug
After i started the ASM and press my server the ASM is closing down. its like a crash it just terminate.
Have tryed going in to my server serveral times but it doesent work

Can you send me the log of the application?

For mine, since the update i have had issues with after starting up the server the console comes up to launch then after a few seconds closes itself then reopens and tries to start again and then proceeds to be in a never ending loop of starting and closing the window for starting the server. The only way to get it to stop is to close the app completly. Stop, and Force Stop does nothing to interupt the loop. Before the update The app worked great for me.

https://github.com/JensvandeWiel/ArkAscendedServerManager/assets/150965505/1886e577-2cb3-4431-8401-86c17ba7d71e
This is a video from my crashes... i have tryed to unistall the ASM now and installed it again... wierd thing is that my server was there as u see in the video... the video is after a fresh install of the ASM...

Sorry for the slow response. I will upload a dev version of the project soon, if you could start it trough powershell when i send it and show me the output i can help you further.

ArkAscendedServerManager.zip

@Coldplayswe have you had a change to try it?

My is stuck in a startup loop.  Attached are the startup/boot process and a crashstack.
Boot_loop.txt
crash_stack.txt

looks like an ark issue, including the looping

looks like an ark issue, including the looping

This only happened after updating server manager so I don't think its an Ark issue.

I haven’t had the time to try. The ASM is working fine for me now after I did reinstall it and didn’t update to latest version. Skickat från min iPhone22 jan. 2024 kl. 20:44 skrev tlk2drew @.***>:
looks like an ark issue, including the looping
This only happened after updating server manager so I don't think its an Ark issue.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

I haven’t had the time to try. The ASM is working fine for me now after I did reinstall it and didn’t update to latest version. Skickat från min iPhone22 jan. 2024 kl. 20:44 skrev tlk2drew @.>: looks like an ark issue, including the looping This only happened after updating server manager so I don't think its an Ark issue. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.>

How did you re-install and keep the profiles?  I think I need to step back a version as well.

I didn’t store the profile… I did set them up again from scratch… Skickat från min iPhone22 jan. 2024 kl. 21:56 skrev tlk2drew @.***>:
I haven’t had the time to try. The ASM is working fine for me now after I did reinstall it and didn’t update to latest version. Skickat från min iPhone22 jan. 2024 kl. 20:44 skrev tlk2drew @.>: looks like an ark issue, including the looping This only happened after updating server manager so I don't think its an Ark issue. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.>
How did you re-install and keep the profiles?  I think I need to step back a version as well.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Stepping back a version is A solution but not the correct solution, since i can't reproduce the bug i depend on you guys to kind of debug it for me otherwise i have no way to fix it.

The problem is that its not making a log file, its just turning the ASM off…But i will try the new program but i will do it on a test machine and setup a test server.Skickat från min iPhone23 jan. 2024 kl. 09:05 skrev Jens van de Wiel @.***>:
Stepping back a version is A solution but not the correct solution, since i can't reproduce the bug i depend on you guys to kind of debug it for me otherwise i have no way to fix it.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Thanks, the sent version of the app should open a console as well where you can see what happens if you can open the app trough powershell and record it, it would probably help me alot.


Problems connecting to the AndroidAps.

In the beginning, a successful connection via bluetooth to the AAPS occurs. But then after some time (10-20 minutes) the commands from the AAPS to the gnarl do not sent. After the reboot, the connection is restored.
p.s I use heltec wifi lora module, I do not think that the problem is in this module.

Have you figured this out? I also have the Heltec wb32la V2 board which is working fine, the performance is very similar to my rileylink on AAPS.

Have you figured this out? I also have the Heltec wb32la V2 board which is working fine, the performance is very similar to my rileylink on AAPS.

I have problems with connection.

No, I don't really have the setup to debug this much further, and I don't use it "in production" myself. I'll accept patches if you or others find a fix.

Have you figured this out? I also have the Heltec wb32la V2 board which is working fine, the performance is very similar to my rileylink on AAPS.

I have problems with connection.

Try this steps, it may work for your board.
https://gitter.im/openaps/hardware-dev?at=5e479dcd48ca2e297451bb0f


time zone not come in kotlin to java

Attempt to cast generated internal exception:
java.lang.ClassCastException: java.util.SimpleTimeZone cannot be cast to java.lang.String
this error will come
because behalf of code timezone come in string. but android studio show timezone not convert in string.
the timezone not come because  when i give timezone  in intent in java class. that will not taken by kotlin class. behalf your code , u send time zone. in DateTimeRangePicker. but in java class intent working type is different. i think u know.
how can i solve this issue. please give me a solution
Thanks

Did you use newIntent() to launch DateTimeRangePickerActivity? How did you pass the instance of SimpleTimeZone into newIntent()? A code snippet would be very helpful to tackle the issue.

            Intent intent = new Intent(MainActivity.this, DateTimeRangePickerActivity.class);
            intent.putExtra("",TimeZone.getDefault());
            startActivityForResult(intent, RQC_PICK_DATE_TIME_RANGE);

this is my java code. and i dont know witch way i send(java code) intent data in kotlin class
behalf your code u send data in intent with the syntax of kotlin.
please give me a solution

That's an invalid usage. Pls make sure you always use newIntent() to launch DateTimeRangePickerActivity like described in https://github.com/skedgo/DateTimeRangePicker#usage. If you call it from Java code, make sure you invoke the Companion (e.g. DateTimeRangePickerActivity.Companion.newIntent(...)).

hi
OK but i ask u how to call intent java to kotlin. i use this intent. because this intent method is use in java code. and u say (e.g. DateTimeRangePickerActivity.Companion.newIntent(...)). use intent with comapnion .
can u give me some code snippet of java code . that is help for me i think
thanks

this error come , time zone null i use github code according u with companion. but time zone always null.
Attempt to cast generated internal exception:
java.lang.ClassCastException: libcore.util.ZoneInfo cannot be cast to java.lang.String

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == RQC_PICK_DATE_TIME_RANGE && resultCode == Activity.RESULT_OK) {
        if (data != null) {
            long start = data.getLongExtra("startTimeInMillis", 0);
            long end = data.getLongExtra("endTimeInMillis", 0);
            String timezone = data.getStringExtra("timeZone");
            Log.e("Time", "Start : " + start + " end : " + end + " time : " + timezone);
        } else {
            Log.e("Time", "not come");
        }
    }
}

and this type i get data from main Activity in java class
thx

The library uses Joda-Time to manipulate some date time logic under the hood. So you might need this https://github.com/dlew/joda-time-android#usage.

ok
then i use  intent like this
            Intent intent = DateTimeRangePickerActivity.Companion.newIntent(MainActivity.this, TimeZone.getDefault(), null, null);
            startActivityForResult(intent, RQC_PICK_DATE_TIME_RANGE);

OnActivityResult like this
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == RQC_PICK_DATE_TIME_RANGE && resultCode == Activity.RESULT_OK) {
        if (data != null) {
            long start = data.getLongExtra("startTimeInMillis", 0);
            long end = data.getLongExtra("endTimeInMillis", 0);
            String timezone = data.getStringExtra("timeZone");
            Log.e("Time", "Start : " + start + " end : " + end + " time : " + timezone);
        } else {
            Log.e("Time", "not come");
        }
    }
}

and In Application class. i use
public class AppController extends Application {
@Override
public void onCreate() {
    super.onCreate();
    JodaTimeAndroid.init(this);
}

}
but steal this error come
Attempt to cast generated internal exception:
java.lang.ClassCastException: libcore.util.ZoneInfo cannot be cast to java.lang.String
at android.os.BaseBundle.getString(BaseBundle.java:923)
TimeZone steal null in OnActivityResult
Thanks

Ok, I can recognize the problem now. DateTimeRangePickerViewModel put timeZone into Intent as Serializable instead String. Will deliver the fix.

Fixed by https://github.com/skedgo/DateTimeRangePicker/commit/7194744eb61476cee2aa6e9d568350df14545ea9.

Finally time zone come
issue solve
Thanks


fix: prevent hooks exported from hooks.js from overwriting hooks from hooks.server.js

fixes https://github.com/sveltejs/kit/issues/12065
Instead of spreading the imported functions from the server hooks file and universal hooks file, this PR changes it to specifically import and return each hook. This prevents similarly named hooks exported from hook.js from overwriting hooks from hook.server.js

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Edits

[x] Please ensure that 'Allow edits from maintainers' is checked. PRs without this option may be closed.

@Rich-Harris @eltigerchino
We were able to use reroute in hooks.server.js, but as a result of this change, it is no longer usable, and we are confused.
Is it correct to say that reroute should only be usable in hooks.js?

@Rich-Harris @eltigerchino We were able to use reroute in hooks.server.js, but as a result of this change, it is no longer usable, and we are confused. Is it correct to say that reroute should only be usable in hooks.js?

Yes, reroute is a universal hook and belongs in the universal hooks file hooks.js.

https://svelte.dev/docs/kit/hooks#Universal-hooks


When opening a new message, the message "an error occurred while accessing this application" appears

When opening a new message, the message "an error occurred while accessing this application" appears:

This problem occurs with some users

Logs:

Hi @dbove-bz , Can you please reverify the "AuthorizedCreatorUpns" and "AuthorizedDeleteUpns" are updated correctly with users' name who is trying to access the Company communicator app ?
To check this

Open Azure Portal
Go to resource group your CC app is deployed with
Navigate to web app (The resource of type App service in the Resources' list)
Expand setting and click on Environment variables.
Here you can search for both  "AuthorizedCreatorUpns" and "AuthorizedDeleteUpns"

@tiwariShiv7,
I checked and people are registered there. I disabled this check using the "DisableCreatorUpnCheck" variable and the problem persists.
This UPN check is also done on the first page, the problem occurs when you click on the new message button.

Hi @dbove-bz ,  Thanks for your patience. We would like to understand this case a lil.
Just wanted to understand,
If this is the fresh case of deployment or the earlier message were successful.
if existing deployment has suddenly started to give error. Please inform if there is any recent change with Classic Teams to new Teams/ Upgrade in CC version / Any secret keys related update we made.

Hi, @tiwariShiv7.
It's a new installation.
It only works with my username
My user:

other users

please make sure that the email id you are using to access the app is added in AuthorizedCreatorUpns, AuthorizedDeleteUpns. you can recheck the same from

Go to resource group where the app is deployed.
Navigation to the Resource of type app service.
Click settings and search for AuthorizedCreatorUpns, AuthorizedDeleteUpns this should be semicolon seperated e-mail ids who are having access to author app.
You can add email id here if you want access

Yes, the emails have been added.
When I remove the email, the person cannot access the first page.
Obter o Outlook para Androidhttps://aka.ms/AAb9ysg

From: tiwariShiv7 @.>
Sent: Wednesday, August 14, 2024 6:33:48 PM
To: OfficeDev/microsoft-teams-apps-company-communicator @.>
Cc: Diego Bove @.>; Mention @.>
Subject: Re: [OfficeDev/microsoft-teams-apps-company-communicator] When opening a new message, the message "an error occurred while accessing this application" appears (Issue #1517)
Você não costuma receber emails de @.*** Saiba por que isso é importantehttps://aka.ms/LearnAboutSenderIdentification
please make sure that the email id you are using to access the app is added in AuthorizedCreatorUpns, AuthorizedDeleteUpns. you can recheck the same from

Go to resource group where the app is deployed.
Navigation to the Resource of type app service.
Click settings and search for AuthorizedCreatorUpns, AuthorizedDeleteUpns this should be semicolon seperated e-mail ids who are having access to author app.
You can add email id here if you want access

image.png (view on web)https://github.com/user-attachments/assets/c280cd22-48f3-45e3-aa2c-8e173e78bf64
—
Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/microsoft-teams-apps-company-communicator/issues/1517#issuecomment-2289944204, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCWRZICCGGS3WBQ7FT5MVLDZRPELZAVCNFSM6AAAAABMCOSQRSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBZHE2DIMRQGQ.
You are receiving this because you were mentioned.Message ID: @.***>

Hi @dbove-bz
Could you please verify whether secrets of app registration got expired.
if that's the case please follow the steps:
Please cross verify once again w.r.t secrets renewal with the below steps.
Go to Azure Portal
Go to App registration
Create a new secret value for app registration and grab secret value. Here is the reference.

Then go to resource group. Select key vault from list of resources.
Click on secrets under object section.

If the secrets are not visible, Go to Access Policy--> Click on Create

Select Key, secret and certificate management

Give the Id through which one can view the secrets

3rd step is optional
Go for Review+Create
Then go to Secrets. Open author/user/graph app password
Click new version

Grab the new secret identifier

Paste it in the configuration sections of app service, 3-function apps. Here is the reference of updating the author app password in app service configuration.

Follow the same procedure for the user app password and graph app password updating.
For graph app, please dont forget to update the password in AzureAd Client Secret as well. here is the reference


Add batch pls

add batch pls

Windows Batch? Would be impossible as piston runs on linux

Yes :c

This has already come up in #131, duplicate.


Jack working copy

request to review and add  'Start_here.ipynb' to master branch.

Fixed in different branch


DB data migration: Add one-time task for service/stack healthState update

The task would take care of updating service/stack having null health state. This is to cover upgrade use cases scenario where healthState used to be null.

Tested the following upgrade path:
v0.59.1 -> created stack with 2 services
Upgraded to V0.63.1 - > created  more stacks and services.
For service and stacks that were created in v0.59.1 , health_state column was "Null".
Service and stacks that were created in v0.63.1 have health_state values.
Upgrade to v1.0.0-rc2
health_state for service and stacks that were created in v0.59.1 have  health_state values populated in DB.


Co-locate IO dependencies

This deletes the deprecated function lsp4clj.server/stdio-server, and merges lsp4clj.json-rpc into lsp4clj.io-server, completing the refactoring described in #17. This reduces (though does not remove) lsp4clj.server's dependencies on Java classes.

I'm taking this out of draft. The deprecation in #17 was released as part of 1.1.0, so there's one version that includes the warning. clojure-lsp was updated in https://github.com/clojure-lsp/clojure-lsp/pull/1200.
Note that this PR deletes the lsp4clj.json-rpc.messages namespace, without a deprecation warning. I could revert that deletion and add a deprecation warning, although I'm inclined to just fix clojure-lsp along with the next upgrade.

Thanks!