gpflow installer tries to install tensorflow 1.14 despite tensorflow 1.6 being already installed

Please make sure this is a bug, performance or build issue.
Please fill out the template below.

System information:

Python version: 3.5.2
TensorFlow installed from (source or binary): pip3 install
TensorFlow version (use command below): 1.6.0
GPflow installed from (source or binary): source
GPflow version: cloned from gihub repository on 10/16/2019

You can collect some of this information using our environment capture script You can also obtain the TensorFlow version with python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"

... Describe the current behavior
when running pip3 install . on the gpflow downloaded directory, pip3 starts to download tensorflow-1.14.0, despite that the fact that tensorflow 1.6.0 is installed
... Describe the expected behavior
... Code to reproduce the issue Provide a reproducible test case that is the bare minimum necessary to generate the problem.
sudo pip3 install .
.. Other info / logs, include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

Hi @aripakman, GPflow-develop does not support older versions of tensorflow. You need at least tensorflow 1.12 to run GPflow-develop (i.e. cloned from the github repository as you did). I would strongly recommend upgrading tensorflow, but if you must use tensorflow 1.6, you will have to use an older version of GPflow. You can try v1.3.0 (git checkout v1.3.0 if you want to keep using the git clone, or pip install gpflow==1.3.0 if you want to get the pip package).
NB: if you want to use a package from a git repository from source, and you want to keep up with changes, you should do pip install -e . instead of pip install .. Without the -e ("editable") flag, pip copies the current state of the package directory to somewhere else, which means changes to the git checkout won't affect the package that you get from import gpflow.


macOS, do not process actions during shutdown

As the 'QMenuBar' is created without a parent window in MacOS, the app crashes when the user presses the shutdown button and, right after it, triggers any action in the menu bar.
This happens because the QMenuBar is manually deleted in the BitcoinGUI destructor but the events attached to it children actions are not disconnected, so QActions events such us the 'QMenu::aboutToShow' could try to access null pointers.
Instead of guarding every single QAction pointer inside the QMenu::aboutToShow slot, or manually disconnecting all registered events in the destructor, we can check if a shutdown was requested and discard the event.
The 'node' field is a ref whose memory is held by the main application class, so it is safe to use here. Events are disconnected prior destructing the main application object.
Furthermore, the 'MacDockIconHandler::dockIconClicked' signal can make the app crash during shutdown for the very same reason. The 'show()' call triggers the 'QApplication::focusWindowChanged' event, which is connected to the 'minimize_action' QAction, which is also part of the app menu bar, which could no longer exist.
Important Note:
This happened to me few times. The worst consequence was an inconsistent chain state during IBD. Which triggered a full "replay blocks" process on the next startup. Which was painfully slow.

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews
See the guideline for information on the review process.
A summary of reviews will appear here.

cc @Sjors @jarolrod

utACK bae209e

Tested with bae209e3879fa099302d3b211362c49bbbfbdd14
Tested on (Intel) macOS Ventura 13.6, was able to reproduce various crashes.
I used the Load URL option in the File menu, which crashes without this PR. With this PR the dialog appears and then goes away when the app is done quitting, but no crash. Similiar result when opening the Information menu.
Another way to trigger a crash is to hover over the Open Wallet menu option. This PR doesn't fix that, so maybe it's a different bug?
The m_node.shutdownRequested() seems a simple enough fix.
 It might be good to point to the PR where it was introduced and retry whatever bug was being fixed at the time.
(in unrelated news, I'll be able to test Ventura for quite some time into the future, because my 2017 iMac doesn't support newer macOS versions)

Backported to 25.1 in https://github.com/bitcoin/bitcoin/pull/28487.


Draggable action on desktop increments slide position by just 1, not the amount you've dragged.

When I use the mouse to drag multiple slides on Desktop they seem to only scroll a single slide position, which it then rebounds back to. This creates a frustrating 'jumpy' effect if you're trying to speed drag through a large amount of slides.
http://jsfiddle.net/brightonconsumer/dfkvw6pc/
I'm using just the simple settings of:
slidesToShow: 5
slidesToScroll: 1
Example (see jsFiddle):
If I drag slide 5 to where slide 1 is the first slide will rebound back to slide 2, not slide 5. A drag only increments the slider by 1, not the amount you've dragged.
What I would have expected to see is that slide 5 would now occupy the former position of slide 1. It would be the first visible slide because it has been dragged to that position.
I know I have set slidesToScroll to 1 (I still use left and right buttons either side of my slider) but shouldn't the 'draggable' functionaly be separate from that? Is there any way a new 'free' setting could be applied to the draggable on desktop component?
Thank you.

Agreed. Might be something coming in 2.0. If you felt interested enough, the you could grease the skids with a PR! Thanks @KingWebsites

I feel this is a really important feature and quite standard across most sliders.
If you could implement the feature by setting:
.slick({
slidesToScroll: auto
Which would temporarily disable an image from snapping to the middle when you drag.

I don't think it's a good idea to change slidesToScroll option, to achieve the result.
slidesToScroll is used by next/prev controls. Dragging shouldn't use it at all.

fixed your fiddle.
http://jsfiddle.net/dfkvw6pc/5/

Great thanks! Noticed a really small glitch with ** infinite: true**
At the moment it if you go from slides 3 to slide 12 it bounces back to 3. Not a huge problem though.

...?

Thanks for pointing out that config setting. It works like a charm.
I'm sure I went though the settings looking for options last week and couldn't see anything. My mistake.

@KingWebsites / @jakeoblivion  ... I have no doubt the readme is not explicit/clear enough :laughing:  -- if you would like to get some contribution action going, and help others who have trouble... go ahead and edit the readme.md file's swipeToSlide description to what you think would be easier to understand :smiley: -- I'll accept the pull request after a quick review :+1:
https://github.com/kenwheeler/slick/edit/master/README.markdown

Thanks for the gif example, however you went form slide 3 (in the center) to 2, rather than 3 to 12.
Try swiping backwards where slide 1 is on the left (3 in the center), until slide 10 (12 in the center) is on the left (for example).
Not a huge issue, but something i noticed.

ah, yeh... i see :( looks like a bug ... possibly already raised.

Your documentation is really good, just didn't see the swipeToSlide. I think for one of the the features on the main demo page it should be set to true as this is a great feature.
Thanks again for your contributions to fixing everything! Great carousel slider!

Hello @kenwheeler and @all Git users

I want a slider like that on my website
Does anyone have any idea? How to set a slider on line drag and slick slider arrow click slider move?

Has this been solved? If so, where can I find the solution so mouse drags work more intuitively?

No one can solve this.
Also, I'm waiting for a replay from @kenwheeler so we clear that this is possible or not!

I have set
swipeToSlide: true, touchThreshold: 100
But it still 'snaps' back weirdly to previous slides, is there a way to make this nicer??
Thanks!

@agzwt Did you find something? I am also looking for the same

@tushalRaj
I have used this JS https://swiperjs.com/demos#scrollbar

@tushalRaj
I have used this https://swiperjs.com/demos#scrollbar

👍Thanks swipeToSlide: true Solved my Problem ❤


[Frontend] Continuous usage stats in OpenAI completion API

Implements #5708
See issue for detailed description.

Can you add test? a case here will suffice https://github.com/vllm-project/vllm/blob/main/tests/entrypoints/test_openai_server.py

@simon-mo As requested, I added a test to test_openai_server.py.
Based on test_completion_stream_options which tests the include_usage option, I created a new test_completion_stream_options_extended to test all combinations of the two options include_usage and continuous_usage_stats.

@tdoublep does this look good to you?

@simon-mo anything else you want to see here? Tests are now added (and passing).


Roll engine e9edb8e14f6d..623be87e65e6 (12 commits)

git@github.com:flutter/engine.git/compare/e9edb8e14f6d...623be87e65e6
git log e9edb8e14f6d..623be87e65e6 --no-merges --oneline
2019-10-03<EMAIL_ADDRESS>Roll src/third_party/dart 967673c005..afac6a3714 (2 commits)
2019-10-03<EMAIL_ADDRESS>Roll src/third_party/dart 97bb624cfe..967673c005 (16 commits)
2019-10-03<EMAIL_ADDRESS>Roll src/third_party/skia 087aa99a21ca..cb55010652b2 (1 commits) (flutter/engine#12766)
2019-10-03<EMAIL_ADDRESS>Roll src/third_party/skia f070cbec0708..087aa99a21ca (2 commits) (flutter/engine#12765)
2019-10-03<EMAIL_ADDRESS>Roll fuchsia/sdk/core/linux-amd64 from EeMsz... to p319_... (flutter/engine#12764)
2019-10-03<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from AGoPT... to g-PD1... (flutter/engine#12763)
2019-10-03<EMAIL_ADDRESS>Roll src/third_party/skia 40d1246d0c80..f070cbec0708 (10 commits) (flutter/engine#12762)
2019-10-03<EMAIL_ADDRESS>Roll src/third_party/dart 2e99a418a0..97bb624cfe (5 commits)
2019-10-03<EMAIL_ADDRESS>Expanded channel buffer resize to method channels. (flutter/engine#12725)
2019-10-02<EMAIL_ADDRESS>Roll src/third_party/dart eaf1c308ab..2e99a418a0 (6 commits)
2019-10-02<EMAIL_ADDRESS>Roll src/third_party/skia ce240cc6fd8e..40d1246d0c80 (4 commits) (flutter/engine#12755)
2019-10-02<EMAIL_ADDRESS>Fix Metal builds by accounting for the updated SubmitFrame signature. (flutter/engine#12754)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Auto-roller completed checks. About to merge.


add script to generate and compress disk images

Okay so i added a simple script that automates generation of compressed disk images, wdyt?

i do not want to behave narcissistic so i need reviews


python3Packages.gql: 3.0.0 -> 3.1.0

Description of changes
https://github.com/graphql-python/gql/releases/tag/v3.1.0

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
22.05 Release Notes (or backporting 21.11 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 163675 run on x86_64-linux 1

4 packages built:

python310Packages.gql
python310Packages.gradient
python39Packages.gql
python39Packages.gradient


Get multiple errors on Godot 3.1 and 3.1.1

Would you know when an official support for Godot 3.1.1 will be available? I hope there is a project to port it to recent version. I've tried Escoria 3.0 on Godot 3.1 and 3.1.1 but there's multiple errors on files before i can play with it and impossible to run a preview of the Daïza game from IDE.  I understand that the latest version of Escoria is only tested on Godot 3.0 and i've already seen this thread #237 about similar issue on Godot 3.1.

I had to revert our current development back to 3.0, because the Spine module caused a segfault every time the game was quit. This is why the 3.0 branch is more active than 3.1/master, as @StraToN cherry-picks the changes when he can.
The Daïza game is completely unsupported at the moment, as no one has the time or money (you could pay me or my company if you want; let me know and we can set something up) to bring it up to speed. IIRC it also has some worst practices, like using Control nodes for game elements.
Using Control should be banned entirely. There are corner-cases, like having an always-open non-blocking inventory, which currently pretty much has to be Control-based, making it impossible to animate an inventory item.
Likewise it would be nice to see if the action menu could be Node2D-based, because with a tooltip that follows the mouse, you will see the tooltip after selecting an action (until you move the mouse), because Control captures mouse movement and therefore doesn't see that the mouse exited the item while moving to the action button.
Either way, you might want to look at the demo rooms provided in the 3.1 branch.
You can also cherry-pick commits from the 3.0 branch and if they work for you, make PRs to pull them into 3.1. I doubt there'd be much bureaucracy around the matter if you see that everything works.
I should probably drop a quick comment on the issue you mentioned as well...
And, as always, unfortunately too busy struggling with our own studio's business to do pro-bono work for old tutorials. I wish it wasn't so, but incomes and expenses need to be balanced, and paid contract gigs to update them would help a lot.

I completely understand.  Thank you for your explanation. I was a bit lost and now this help me make decisions on my current projects.

Hello! For the record, for the last few years my (tiny) team and I have been developing a full-length point-n-click game with AGS (still in progress) and I'm considering scaling up to a better engine, like Godot-Escoria. If that can be an incentive to make Escoria fully compatible with Godot 3.1.1... this is just a shot in the dark.

@jeancallisti what kind of problems are you seeing? In the spirit of open source, you can try fixing them yourself. AFAIK the biggest, or maybe only major, problem we have had is the shitty Spine support, which keeps us on 3.0.
I'm not very familiar with AGS, so correct me if I'm wrong, but it doesn't do advanced character shadows and such, or does it? In that case you should also be fine with 3.0.

I'm not engineering issues myself as I haven't been using Escoria yet. I'm referring to the issues described in this very thread.
I'm ok to use Godot 3.0, I'm just weary of starting to use a piece of software which development has stopped even before I start using it.

@jeancallisti the tooltip-after-action-menu bug has been fixed in the 3.0 branch, I don't know if @StraToN has cherry-picked it. Otherwise it seems that many issues stem from working with the Daïza tutorial, which is sadly defunct as it is.
The 3.0 branch is what we're currently using and I don't think we have any bugs related to how you'd use Escoria, only crappy Spine support.
As a disclaimer I must say I haven't tested the always-open inventory situation in our other game, to see if it can be made Node2D, but still, animated inventory items can be considered an exotic corner case for all I (currently) care...

That's great, thank you for the answer

FYI, while Escoria 3.x is underway, Escoria 2 was ported to Godot 3.2 (branch esc2-godot3.2) and the Escoria in Daïza tutorial game was updated for Godot 3.2 as well :)

I tested Escoria with the current stable version of Godot (v3.2.3) yesterday, and didn't encounter any problems. Daïza can also be played through without errors by cherry picking 74edead092f05afdf38339376d7f120fbadeb18d, so I'm closing this issue, and will open a PR on that project as soon as possible.


MERGE DEC. 8 - Switch Lock with auth0-js in Yarn post

Consolidated into https://github.com/auth0/blog/pull/1214


Generic iterator token

Generic token that applies to all clone-able iterators.
For example works to parse Iterator<Item = u8>

Thanks for the PR!
Let me think about this one; one reason I've not added this yet is that I've been thinking about how to return slices of tokens back more ergonomically than they are at the mo (eg with a couple of StrTokens::location()s it'd be great to be able to get an &str back, and likewise with SliceTokens and &[u8]. If this is possible, how it works will probably have an impact on how to work with iterators (though I would like to preserve this ability too and be able to hand back a sub-iterator or something!)

Getting this merged in #10; thankyou for your contribution :)


#482: Enforce UpperCamelCase Enum case names

Fixes #482.
TODO:

[ ] Update wiki examples

Turns out we’ve already fixed #482 in PR #454, but had not updated the wiki.  Disregard these changes.


Fix issue when not in team for label

When running with multiple teams and labels. If the user submitting the action is not in any of the team a 404 error will be thrown,
This adds in a catch block since it seems client.teams.getMembershipInOrg can throw an exception if the user is not found in any team.
This catch resolves the issue.

Thanks :)


[MLS Spec change] Recommend against self-Update proposals in Commit

Description of the changes
Recommend against self-Update proposals in Commit
Link to the exact changes
https://github.com/mlswg/mls-protocol/pull/517

This is superseded by #663.


Added icon-status option

Added icon-status option, to change icon in tray when window title count change and return to normal icon on window focus

Hi @thiagotognoli and thanks for the contribution.
Is this something similar to https://github.com/jiahaog/nativefier/issues/962 ? Can you share a few screenshots?

Thank you @ronjouch
Hi,
Is similar with #962 when do you say "just a bright red dot on unread messages"
Bellow prints:
When init app:

With app minimized and receive a e-mail:

When focus in app

To run this sample using my branch:
nativefier "https://mail.google.com/"
--maximize
--tray
--single-instance
--icon "icon.png"
--icon-status "icon_msg.png"
--counter
--name "Gmail"
--user-agent "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0"
--internal-urls "(.?mail.google.com.?|.?accounts.google.com.?)"
--electron-version 7.1.11

@thiagotognoli sorry for the delay.
That's cool, but I'm not a fan of asking users to pass a "status icon" they have to craft themselves by:

Extracting the site icon
Fire up their image editor, add a red dot (or whatever they please)
Save the icon somewhere
Pass it as --icon-status

Did you investigate the possibility to do the "red dot overlaying on top of current icon" programmatically? Are there enough Electron APIs / JS image manipulation libs to do that? That way a user could simply pass a flag --counter-flag-icon-on-increase

I have tried to clone your branch in order to try this, but I always seem to get nativefier 9.0.0 without the --icon-status  option.

To run this sample using my branch:
nativefier "https://mail.google.com/"
--maximize
--tray
--single-instance
--icon "icon.png"
--icon-status "icon_msg.png"
--counter
--name "Gmail"
--user-agent "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0"
--internal-urls "(.?mail.google.com.?|.?accounts.google.com.?)"
--electron-version 7.1.11

I patched the app to add a --icon-tray option to this PR, so that I can customize the tray icon, other than the "status" icon. My patch, however, is not ready for a PR, because in absence of the --icon-tray option it should fall back to --icon (or to inferIcon), which is something I have no idea how to code.
By the way I rebased this PR (and my patch) onto the current master branch, resolving the merge conflicts. I filed a PR at thiagotognoli:master.

Closing for now, see https://github.com/jiahaog/nativefier/pull/967#issuecomment-643631795 . Happy to re-open when it's answered/addressed 🙂.


Postgresql Phase1-3 Ansible operator

Signed-off-by: deekshahegde86<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

New Submissions

[x] Does your operator have nested directory structure?
[x] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[x] Are you familiar with our contribution guidelines?
[x] Have you packaged and deployed your Operator for Operator Framework?

[x] Is your submission signed?

Updates to existing Operators

[ ] Is your new CSV pointing to the previous version with the replaces property?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[ ] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

Hi @deekshahegde86, please sign your commit.
Consider adding a few sentences into description.
Please delete replaces from CSV. You will need to add it in next PR, there is nothing to replace so far.


[BUG] Using @microsoft/applicationinsights-web on Nextjs' client-side hangs

Description/Screenshot
Using Application Insights to track exceptions that happen on the client-side of a Nextjs application hangs when trying to build (npm run build) the web app.
Here's a quick video that describes better what's happening:
https://user-images.githubusercontent.com/31862748/136830875-dde287df-3e08-4c2a-81dd-a356b43edb54.mov
Steps to Reproduce

OS/Browser:
macOS 11.6
SDK Version [e.g. 22]:
@microsoft/applicationinsights-web: ^2.7.0
How you initialized the SDK:

import { ApplicationInsights } from '@microsoft/applicationinsights-web';

const appInsights = new ApplicationInsights({
  config: {
    instrumentationKey: process.env.NEXT_PUBLIC_APPINSIGHTS_INSTRUMENTATIONKEY,
    autoTrackPageVisitTime: true,
  },
});
appInsights.loadAppInsights();

export default appInsights;

Expected behavior
Nextjs web app should build without a problem while using application insights.

@xiao-lix @kryalama, Do you remember or have a link to the original issue and can you try and repro when you get a chance to see if this is something we can and need to fix.

Looking at your error handler, can you try either checking that the appInsights is not null and isInitialized(), or maybe wrap in a try catch and drop out the response to the console (assuming the build will show anything written to the console) to try and narrow down the issue.

Thanks, @MSNev  -- that worked.
I followed the Application Insights for web pages docs and that's why I had appInsights.loadAppInsights(); on my application insights implementation. It seems like the loadAppInsights() has to happen on the client-side then?

Yes, loadAppInsights() is effectively the client side initialization. Without calling this the SDK (on the client side) is not running / listening / initialized.


RestController to call *.post events before calling createHalEntity

I have a listener that I want to inject values into the entity.  I only want to do this on getList.post, get.post and create.post.  The issue I am having is that createHalEntity will extract the returned entity.  Once the Hal\Extractor\EntityExtractor call extract(), it will cache the results.  What I want to inject will then have to listen on renderEntity.post and put it directly into the payload.  My listener now needs to listen to 2 events in order to get this data passed along.
Too demostrate:

class PermissionListener
{
    /**
     * @var array
     */
    protected $listeners = [];

    /**
     * @param SharedEventManagerInterface $events
     */
    public function attachShared(SharedEventManagerInterface $events)
    {
        $this->listeners[] = $events->attach('ZF\Hal\Plugin\Hal', 'renderEntity.post', [$this, 'onRender']);
        $this->listeners[] = $events->attach('ZF\Rest\RestController', ['create.post', 'get.post'], [$this, 'injectScope']);
    }

    /**
     * @param SharedEventManagerInterface $manager
     */
    public function detachShared(SharedEventManagerInterface $manager)
    {
        $manager->detach('ZF\Hal\Plugin\Hal', $this->listener[0]);
        $manager->detach('ZF\Rest\RestController', $this->listener[1]);
    }

    /**
     * @param EventInterface $event
     */
    public function onRender(EventInterface $event)
    {
        // Should never be able to load a scope object
        if (!$this->getAuthenticationService()->hasIdentity()) {
            return;
        }

        $entity  = $event->getParam('entity');
        if (!$entity instanceof Entity) {
            return;
        }

        if (!$entity->entity instanceof ScopeAwareInterface) {
            return;
        }

        $role    = $this->getRole($entity);
        $payload = $event->getParam('payload');
        $payload['scope'] =$this->rbac->getScopeForEntity($role, $entity->entity->getEntityType());
    }

    /**
     * @param EventInterface $event
     */
    public function injectScope(EventInterface $event)
    {
        // Should never be able to load a scope object
        if (!$this->getAuthenticationService()->hasIdentity()) {
            return;
        }

        $entity  = $event->getParam('entity');
        if (!$entity instanceof Entity) {
            return;
        }

        if (!$entity->entity instanceof ScopeAwareInterface) {
            return;
        }

        $role    = $this->getRole($entity);
        $this->entity->setScope($this->rbac->getScopeForEntity($role, $entity->entity->getEntityType()));
    }
}

The issue with this approach is when I render collection of entities, I now need to loop through all the payloads and perform the same check that the entity is ScopeAware.  It seems kinda silly to remove the caching in the EntityExtractor since that could be called multiple times on the same object, however it would be nice to be able to transform the entity before it get's extracted

Why can you not use the getList.pre get.pre and create.pre events for this purpose? Can you explain? I seem to be unable to understand that part...


Missing 404s

The EventsAPI.raml explicitly defines 404 as a possible response status code for
/sources/{sourceId}
It should also do so for
/sources/{sourceId}/type
/sources/{sourceId}/state
Compare e.g. IS-05 Connection API
/single/senders/{senderId}/constraints

Thanks Gareth. The pull request is now approved - would you like to handle the merge of this and the two other PRs?

HI Miroslav. I don't think I have write permissions on this repo, so I can't do that myself?

OK, I'll handle that, although I might seek clarification if this could go into v1.0 first (while this is obvious and non-breaking, some might require it to go to v1.1 as technically it is not a documentation change). Also, I can't give you write rights as I am not a team maintainer (you could ask David or Peter)


Is a base for DJI Goggles 2 existing

Hi looking for a XIAO Base to be used for my DJI Goggles 2.
Or could I use one of the DJI Integra XIAO BLE Base for Goggles 2?
Could you please provide some detailed photos how this should be mounted and fitted?
Do I have to modify the foam? Or is it possible to use without faom modification?
Thank you

Please see here and respective STL file

DJI Integra and goggles 2 is the same. No foam modification needed.

Thanks a lot for your quick reply. The issue is, that Goggles 2 is not having this "handle bar" at the top of the Goggles. So there is no possibility to click this "bar" in. Thats why a ask if something additional specially for Goggles 2 is existing. Or do I have to glue it on the foam?
https://store.dji.com/de/product/dji-goggles-2?vid=127611&from=search-result-v2&position=1&total_result=46
https://store.dji.com/de/product/dji-goggles-integra?vid=135261&from=search-result-v2&position=0&total_result=13
Have a look to the top in the middle of goggles

Oh, my bad, I have Integra only and for some reason assumed Goggles 2 have top strap also.
Well, no then, nothing specific exists for Googles 2 yet. Will write here if/when we have a solution.


Getting React Dev Tools To Work With Webkit

Apologies if this kind of post is not allowed, however, I feel this issue might merit some insight. I posted this question on Stackoverflow (http://stackoverflow.com/questions/34607345/getting-react-developer-tools-to-work-with-webpack) & I am still looking for a solution.
Summary: My app is using React & being served via Webpack. However, both Firefox & Chrome React Developer Tools fail to identify React & thus are inaccessible. FelipeT. @Stackoverflow was kind enough to spend some time, however, we were unable to resolve this.
Please let me know if I should paste the content of Webpack.config.js & .babelrc & package.json files here for reference. I have not pasted them in order to keep the post size small.
Any guidance / review would be much appreciated.

Is this relevant still? The dev tools work for me in the current version of React. You don't need to expose React as a global anymore

It still is for me, unfortunately. I am unable to use React Dev Tools both in FF Developer Version & Chrome with webpack. Without webpack, it seems to work fine.
Ive ignored React Dev Tools as we need Webpack more than that.

@Kay2dan Can you try with webpack 2 beta?


ERROR: Failed to build installable wheels for some pyproject.toml based projects (gsplat)

There is more to this error log. (too long)
I am trying to set up nerfstudio on my Windows 10, with Visual studio 2022 and GPU Geforce RTX 2070.
I followed the instructions given in the documentation of nerfstudio, up until gsplat.
I am unable to install gsplat. I have searched a lot to solve the error. However, none of the solutions seems to solve the problem. I even tried cloning the gsplat repo and use pip install -e .  but I face the above error.
This is the error I receive when I do  pip install git+https://github.com/nerfstudio-project/gsplat.git or pip install<EMAIL_ADDRESS>as suggested in https://github.com/nerfstudio-project/nerfstudio/issues/2685#issuecomment-1859660671

I would be really grateful if somebody help me solve the problem at the earliest. I am stuck and I am really need to get started with nerfstudio.
Below snippets of the entire error from pip install -e .

I think I solved this particular issue.
I dnt know if it made any difference, nevertheless, I uninstalled VS 2022 and CUDA toolkit programs from control panel. Then reinstalled VS 2022 and also then the build tool. Installed Desktop Development with C++  making sure windows 10 SDK and all the things that had c++ and c++ complier was ticked (didnt want to take any risk). Also, reinstalled CUDA v11.8 toolkit.
However, I think the major change that installed gsplat was to use Developer command prompt for VS 2022 instead of normal command prompt
Open the Developer command prompt for VS 2022.
Then follow the instructions mentioned here.
If it helps, I installed vcvarsall.bat x64 -vcvars_ver=14.29.30133 in the build folder.
Next, set DISTUTILS_USE_SDK=1
Then clone the gsplat repo as mentioned in the instructions and cd gsplat --> pip install .
Hope this helps someone else who gets stuck with the same error. @brentyi do you think maybe, the try pip install . via  Developer command prompt for VS 2022 could also be suggested in the instructions or in the FAQ along with the alternative to clone and pip install the gsplat. In case of error while directly pip installing the gsplat. Might turn out to be helpful for someone, as at least for me nothing else could get the 'gsplat' to install.

Hi, I'm meeting the same problem, can you give me some advise about pip install . via Developer command prompt for VS 2022, my Developer command prompt for VS 2022 cannot find pip

@7yzx I never had that issue.
but maybe you can try to create the conda env using normal command prompt and then for gsplat installation step shift to developer cmd.
or after activating the conda env, check if pip is installed using conda list. If you do not find the pip in the list, try conda install pip and upgrade pip.


kontena/lb backend order

Is there a way to instruct kontena/lb to generate use_backend haproxy config in specific order?
I want to attach a wordpress blog to existing webapp using /blog path. However use_backend stament for wordpress is added below the main app use_backend statement. The main app uses / path
According to haproxy doc: http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4-use_backend

There may be as many "use_backend" rules as desired. All of these rules are
evaluated in their declaration order, and the first one which matches will
assign the backend.

When I changed the order manually in haproxy config inside kontena/lb container everything works OK.

Order might be possible to define by naming services so that wordpress service comes first when lb (or confd) does sorting. It's a hack but worth a shot. I think it would be nice to be able to define some sort of priority/weight for load balanced services.

@jakolehm renaming services helped. TNX!!


Change return type for renderToNodeStream

...from ReadableStream<string> to NodeJS.ReadableStream, to fix the following issue:

By analogy with DefinitelyTyped/react-dom

Thank you.


Keyboard.shrink leaves window size the same

Hi,
Hopefully this isn't just my misuse of the plugin, but my understand is that running Keyboard.shrinkView(true) would keep iOS from pushing the screen "up" and would instead shrink it down to the size of the screen minus the soft-keyboard.
As my app stands now, my css fixed header in jQuery Mobile gets pushed up off the screen, I anticipate because the shrink is not firing. I have this in my code as a test:
Keyboard.shrinkView(true);
console.log($(window.height());
Keyboard.onshow = function() {
	console.log($(window.height());
}

Both console.log outputs show the same number, but I would have expected a smaller height during the onshow command. I have also used setTimeout to delay the second output, making sure it fires after the keyboard is up, but I get the same result.
Am I doing something wrong or is there an error that needs to be investigated? This is occuring in the iPhone 6 iOS 8.2 emulator.
Thanks.

Sorry about that, wrong repository.


Investigate option to use something other than AWS macOS instances

Currently testing Green Mini Host (greenmini.nl)


MVPHackADoc

Changed Sign in to Sign-in

Thanks for the fix, perhaps the first of many? (Not that we want to have many, many problems needing fixes.) I did change the first "sign-in" back to "sign in" ("Sign in with Windows Hello...") - in that instance, "sign in" is a verb (so 2 words). The second change you proposed is correct as it's used as a noun (sign-in). Thanks!


Improved psr/log dependency

As mentioned in #278, using psr/log ^1.x.x is blocking this project to be used on modern Frameworks such Laravel.
I used pipes "|" to allow the project use the best version of psr/log possible as needed by user's the project and others packages.
I also instaled the depencencies and runned composer test. It passed without any errors.

I have read the CLA Document and I hereby sign the CLA


Node.js/palette conversion: fixed palette size when transparency is missing.

I was testing my code on a non-transparent indexed PNG and some colors were all zeros.
After some debugging, I found that the palette was c*3 bytes long instead of c*4 (as it is RGBA, not just RGB), and that its length depended on the transparency map (which didn't exist in my case).

This image from 4chan is decoded correctly after the fix but not before:

Closing old PRs of mine.


Service Request handling

Hello all!
I'm working on a Low Power Data Logger and I need to communicate with various SDI-12 sensors without idling the processor. As far as I'm aware, this library cannot wait for a Service Request from a sensor and instead the recommended way is by setting a timer corresponding to the maximum time reported by the sensor or polling the line until a service request is heard. Since some sensors can take minutes to have measurements ready and this Data Logger will be running on a battery charged via solar panel, I can't really afford any of this options. This has lead me to decide to extend the rx ISR for this purpose.
I will be working on this feature the next months, so if anyone has any experience, ideas or information about how to implement this, please do contact me :) For now my idea is to set a awaitingServiceRequest flag and every time the rx ISR builds a character, check if the last 3 characters correspond to a<CR><LF> (a service request) and if so, tell the main loop that this sensor has its measurements ready. This should allow for easier integration of light and deep sleep in the main loop.
Has anyone tried to solve this before?
Please tell me your thoughts!
Simón

Low Power is a great goal, however processors have different capabilities to achieve it. What is the processor you are intending to implement this on?
What is the calculation for the current power usage, and what would you hope to achieve with low power
For any open source software, the first stage is decoded the way the current code works. Can you describe it at the character level.?
The high level view starting point https://envirodiy.github.io/Arduino-SDI-12/index.html
The 2nd stage is to plan how you could test it, what would be the simplest sensor that could be a test reference platform.

I'm currently working with an ESP32, the idea is to migrate an older project from custom circuitry to Arduino, allowing us (I'm actually part of a bigger team) to integrate OTA, lower the manufacturing costs, etc.
I've already read through the source code actually, so yeah I can describe it at the character level. Honestly I'm a big fan of the ISR-based character reception, I wouldn't have come up with it myself.
Currently I'm using an ATMOS 22 anemometer as my test subject, but depending on the level of control needed during testing I might write an emulator for another ESP32 to act as a verbose SDI12 sensor.

Oh very nice. I've worked through the current code for the mega1284 which is UART limited, and using port-bit bashing. I'm interfacing to an LT500 depth sensor, which also has the option of a RS485.
For me I found the SDI-12 port bashing implementation difficult to debug (high maintenance) and inherently unreliable design with the timing, lacking a CRC and sub-standard (https://sdi-12.org/specification) interface with +5V- that I stopped using the SDI-12 code, and swung to the RS485.  I had bought the SDI-TRANS-SENSOR24 as a reference, as it states its fully compliant and would be very easy to test with. The current software failed miserably against it, so I switched to the RS485
However, SDI-12 has a lot of great characteristics.
If you have the UART interface there is tricky bit of hardware protocol to get around,  and depends on the UART control features - the break I seem to remember -its inverted from the standard UART break. Only one silicon manufacture had implemented flexible enough controls to make it workable.
I haven't looked at the ESP32-? in depth. Each variant is getting more interesting. ESP32-S3? or C6?
I had thought of looking at the DMA - that is with a processor that has DMA capability, and setting up a stream of data from a port that has reliable timing  and then can then be post processed. As its 1200baud, slow, and probably known packet timings - the low power DMA could be put to work, and the processor put to sleep. Just an idea.
Great to hear there might be some work on this.

This might be of interest with a good discussion on tradeoffs https://jolonb.github.io/assets/pdf/final_report.pdf
based on the ESP32-WROOM UART with hw interface Fig 3.2 and protection circuitry including reverse protection LED - nice.

@neilh10 Thank you so much for your input. I'm working with an ESP-WROVER-B but we're still at a very early stage of prototyping, so it's likely that we move to another ESP on the way. I thought of putting the Ultra Low Power (ULP) Coprocessor to work while the main processor sleeps and wake it up when the service request had been received, but since the project requires that we stick to the Arduino framework and PlatformIO, working with the ULP proved to be a burden rather than a viable option and that's why I resorted to extending the SDI-12 library. For now I'm hoping that since the baudrate is so slow, the first start bit in the sequence could be used as a wake-up interruption and that the ESP will wake up fully before the next bit. Not sure if that will work out but we'll see :) Thanks also for the pdf, I'll take a look.

Oh interesting you considered the ULP. I've been wondering about the ULPs. Seems like it is ideal for this type of protocol. I sometimes mentor EE final year students as an industry advisor, and one project they used the S3 and could have used the ULP for a hardware interface, but they stayed away from it as they couldn't see the benefit to the software architecture, and they where only implementing a hardware interface in software.
From an architecture design, the ULP becomes valuable when it decouples the processes, and the mW power saving in the overall power budget is worth the extra work.
Arduino code isn't good for reliability or even low power with its i/o stream model.  For real-time low power, a buffer pool instead of streams is more reliable (I like Real-Time Design Patters by Bruce Powell Douglass)
Arduino code typically keeps complexity down by serializing the architectural functions. If concurrency is needed then it needs an architectural design. If the SDI12 processing function is serialized you are OK.  If it is concurrent with other activity and specifically upstream communications activity then the ULP (and S3) would be worth considering upfront  - and make later system level debugging easier.
Do look at the Wellington Uni analysis pdf - assuming you are putting in the full ESD protection, and going to drive the signal to +5V, there are some implementation tradeoffs.
Hope you will be able to put the changes in a open source fork :)


Unclear "Note" section in the readme

The readme has a section called "Note" that just says:

now indentSize parameter is ignored. it is TypeScript compiler matters.

https://github.com/vvakame/typescript-formatter/blob/master/README.md#note
It's not clear to me what that means. I set indentSize in my tsfmt.json configuration and it was not ignored.

wow, I didn't know that! thanks 👍


Remove pandas dependency in Google News module

We can't include large-sized packages like Pandas  as a dependency on the project as it affects the size. Need someone to remove the dependency of pandas in the package src/scrape_up/googleNews (if possible) for whatever use case they are implemented.
Reference -
https://github.com/Clueless-Community/scrape-up/blob/f65f975405064f04974f6015113c958407b23d09/src/scrape_up/googleNews/googleNews.py#L169

Go ahead @iMarble
All the best 👨💻


CI/Hubble: Test that PolicyVerdictNotification are stored as expected.

We want to ensure that PolicyVerdictNotifications are observed as expected.
This can be implemented by replacing the cilium monitor calls here in test/runtime/Policies.go:1481
https://github.com/cilium/cilium/blob/15f1a12a2992a7bb87ea96c5199dd035261df9f4/test/runtime/Policies.go#L1478-L1526

Blocked on #11364


vendors.app.js:formatted: Uncaught ReferenceError: exports is not defined

The error is triggered at vendorsapp.js
line content:
Object.defineProperty(exports, "__esModule", {
value: true
});

// /nuxt.config.js
module.exports = {
plugins: [
{ src: '~/plugins/vue-cropper', ssr: false }
],
build: {
transpile: [
'vue-cropperjs'
],
}
}
// plugins/vue-cropper.js
import Vue from 'vue';
import VueCropper from 'vue-cropperjs';
Vue.use(VueCropper);
I also got:
WARN  in ./plugins/vue-cropper.js                                                                                friendly-errors 14:51:25
"export 'default' (imported as 'VueCropper') was not found in 'vue-cropperjs'
using Nuxt ver 2.8.x
Thanks !

Can you provide a example repo which can reproduce this issue ? I haven't yet used Nuxt.js so need a sample project to test it.

same to me,
any fix ?
thanks

Closing due to inactivity, it should be ok now.

I think it doesn't work when you use it as a nuxt plugin. But it works when you import it as a local component.


yarn import from package-lock.json throws exception if workspaces field presents in package.json

error An unexpected error occurred: "https://registry.yarnpkg.com/workspace-aggregator-bbb13589-b149-4858-b202-4f4e90c33e3f: Not found".
info If you think this is a bug, please open a bug report with the information provided in "/<root>/projects/substrate/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/import for documentation about this command.

:tada: This issue has been resolved in version 1.2.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Development/cleaning up

Just some (initial) remarks
1 )
Implementation.cpp : void ScanOut (...)
Line #72 Line #164  illustrate that on the same frame buffer id  multiple native windows are processed in succession for page flipping. This is allowed, but might introduce unintended artefacts.
ModeSet.cpp: void ScanOutRenderTarget (...)
Effectively, that happens at lin #468. Each page flip ‘overwrites' the old content on the visual output. a typical use case.
Is this the intended behaviour?
2 )
ModeSet.cpp : uint32_t AddSurfaceToOutput (…)
The frame buffer identifier at line #436  might be considered a valid value although it is unlikely to have a high count of frame buffers active.
3 )
ModeSet.cpp : uint32_t AddSurfaceToOutput (…)
The created buffer (bo) at line # 440 represents the front buffer. Typically, this buffer is used as the next front buffer to scan out. Hence, it release at line #453 is delayed by at least one frame flip. You might want to view the buffer as a back buffer to render to that later becomes the front buffer. You might otherwise experience some (visual) artefacts.
ModeSet.cpp: void DropSurfaceFromOutput (...)
In fact, you might consider creating a frame buffer (id) and buffer tuple to release and subsequently remove, similar to line #460, after they are used as a front buffer in a page flip.
You may get some inspiration from the 'libyxope' buildroot package in the main branch at 'https://github.com/WebPlatformForEmbedded'
4 )
ModeSet.cpp :void  PageFlip (…)
No unlock is executed if this callback is never executed.
Is this the intended behaviour?
ModeSet.cpp :void  ScanOutRenderTarget (…)
Moreover, I believe the trylock at line #484 after the lock at line #466 may introduce undefined behaviour. Does it not?


x/tools/shadow: shadowing predefined identifiers is not detected?

Hi, I'm currently reading the Learning Go book and I came across the Shadowing variables section where it's mentioned that the go tool shadow does not catch shadowing predefined identifiers. I wanted to know why it was not implemented and if that's something planned, how can I help :slight_smile:
Here's a simple example
package main

import "fmt"

func main() {
    fmt.Println(true)
    true := "hey"
    fmt.Println(true)
}

$ go run main.go
true
hey // "true" identifier shadowed!

$ shadow main.go
// no errors detected :(

Duplicate of #33567


CI: bump actions/checkout to v4

This PR bumps the actions/checkout version from v3(Node 16) to v4 (Node 20) as Node 16 is reaching eol soon.
Ref. https://nodejs.org/en/blog/announcements/nodejs16-eol

Closing in favor of https://github.com/flathub/website/pull/1901


Crash detection

Can we use this to detect crashes and restart the server

The factorio binary shuts down at crashes, this should be reliable enough to simply poll "service factorio status" via a cron job and start the server if it goes down.


Double Developer menu?

Environment
Environment:
OS: macOS High Sierra 10.13.3
Node: 9.2.0
Yarn: 1.3.2
npm: 5.8.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: 16.0.0-beta.5 => 16.0.0-beta.5
react-native: 0.49.5 => 0.49.5
Steps to Reproduce
Created a new project with react-native init at 0.50 then some later time downgraded and maybe I did a new init too. Can't really remember this was some months ago.
Expected Behavior
When I shake my device only 1 dev menu opens.
Actual Behavior
Sometimes there are dev menus.
Screencap:
https://media.giphy.com/media/ujjHCx31kAy0RRCFui/giphy.gif

your gif doesnt show for me, but i know what you mean, and i have it event with the latest version 0.54.3.

@react-native-bot I can reproduce with the latest release, v0.54

I also have this problem

It present on 0.56 !!!


fix: add georestriction component, remove full block

Removes /restricted redirection for restricted geographies
Add Georestricted component to wrap components
Adds a default behaviour of not showing components
Update various pages to use Georestricted component to remove restricted content

Merging - some failing tests from another PR fixed, others are failing due to remote sites


Bump k8s dep to 1.11.3 and mergo to 0.3.6

Switch to [[override]] for pkg dependency to mimic serving and as I think it makes sense
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>

/lgtm

/approve


fix: the type of the argument of trigger method

This PR implements or fixes... (explain your changes)
Fix the type of the argument of trigger method.
This PR closes the following issues... (if applicable)
#367
Does this PR require the Docs to be updated?
No
Does this PR require new tests?
No
This branch been tested on... (click all that apply / add new items)
Browsers:

[ ] Chrome version
[ ] Firefox version
[ ] Safari version
[ ] IE / Edge version
[ ] iOS Browser version
[ ] Android Browser version

Sorry for the inconvenience. Another person who is maintaining this project and I don’t have NPM permission.  You can consider a more flexible way, fork or publish your own version and use it. See Install specific branch from GitHub using NPM or Creating and publishing scoped public packages | npm Docs


Front-end of the Project Week 1

Work on creating general outline with textboxes and places where the user can input their data.

Work on creating general outline with textboxes and places where the user can input their data.
Work on creating general outline with textboxes and places where the user can input their data.


feat(uploader.py): Added progress bar

Thank you for this PR but I don't think tus-py-client is a good fit for a progress bar. This should be handled by the user of tus-py-client instead of the library directly. However, tus-py-client should provide callback function (or another approach) to notify the user of the upload progress.


Add a style guide

The idea is to have our style-guide next to the ESLint package.
I think if we merge this is in, we could also rename the repo to something like Casumo / Javascript, and update the npm package to point it's readme to the updated path.
Check the new version

Thanks for the feedback! I would go with Option 1., I think I will do it in 1-2 days, right after I finished with an other task ;)

Awesome!

The new repo is ready (https://github.com/Casumo/javascript), will make it public soon.
Closing this PR.

Najs! 🎉


updated example flows to contain tactics and TID attack patterns

updated example flows to contain tactics and technique attack pattern references, also updated some ATT&CK technique labels that were incorrect

Looks great, thank you @jlasky2! This is going to be huge for both visualization and data science applications of the corpus.


feat: import example implementation

Pull Request Overview
This pull request adds basic support for imports.
Testing Strategy
This pull request was tested using the provided test cases.
TODO or Help Wanted
It is to be discussed if this is a way through which we could implement the imports and keep the code still executing our tests (a.k.a. not break function calling).
Formatting

[x] Ran cargo fmt
[x] Ran cargo check
[x] Ran cargo build
[x] Ran cargo doc
[ ] Ran nix fmt

Github Issue
N/A

i think this is related to https://github.com/DLR-FT/wasm-interpreter/issues/27

Maybe it is nicer to have all functions live in the same table.


EnergyScheduling experiments not working

Hello, running PYTHONPATH=. python3 ./exp_run.py in the EnergyScheduling folder leads to this:
[..]
Epoch[4/11], loss(train):384595.25 @ 2021-01-19 19:36:28
Epoch[4/12], loss(train):349502.72 @ 2021-01-19 19:37:53
Epoch[4/13], loss(train):309425.31 @ 2021-01-19 19:39:19
Epoch[4/14], loss(train):358522.38 @ 2021-01-19 19:40:40
Epoch[4/15], loss(train):320667.47 @ 2021-01-19 19:41:59
Epoch[4/16], loss(train):261996.72 @ 2021-01-19 19:43:22
Epoch[4/17], loss(train):303735.38 @ 2021-01-19 19:44:43
Epoch[4/18], loss(train):358828.66 @ 2021-01-19 19:46:02
Epoch[4/19], loss(train):361545.69 @ 2021-01-19 19:47:22
Epoch[4/20], loss(train):262988.81 @ 2021-01-19 19:48:42
Epoch[4/21], loss(train):262221.91 @ 2021-01-19 19:50:02
Epoch[4/22], loss(train):478453.25 @ 2021-01-19 19:51:23
Epoch[4/23], loss(train):354604.09 @ 2021-01-19 19:52:45
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Epoch[1/1] fwd pass not solved
Traceback (most recent call last):
  File "./exp_run.py", line 71, in <module>
    clf.fit(X_1gtrain,y_train,X_test= X_1gtest,y_test= y_test)
  File "../../Interior/intopt_energy_mlp.py", line 627, in fit
    i+1, loss.item(),datetime.datetime.now() ))
UnboundLocalError: local variable 'loss' referenced before assignment

It's pretty easy to fix, I can do a pull request later today.

Thank you for pointing it out. My latest commit hopefully solve this issue. If not feel free to fix.

Thank you for pointing it out. My latest commit hopefully solve this issue. If not feel free to fix.


Query claims

Description
As the owner of a wallet I want to be able to view the claims i have already made through my wallet
Acceptance criteria

API can return the claims in the wallet.
Integrations tests

Example request:

{
  "filter": {
    "fromDate": "2023-01-01T00:00:00Z",
    "toDate": "2023-01-01T01:00:00Z"
  }
}

Example response:
[
  {
    "fromDate": "2023-01-01T00:00:00Z",
    "toDate": "2023-01-01T01:00:00Z",
    "attributes":  {
      "tech": "wind"
     },
    "amount": 124,
  },
  {
    "fromDate": "2023-01-01T00:00:00Z",
    "toDate": "2023-01-01T01:00:00Z",
    "attributes": {
      "tech": "solar"
     },
    "amount": 235,
  },
]

Scope limit
Solution plan

[ ] Add API to query Claims

For inspiration on the query requirements from EnergyOrigin, see https://app.zenhub.com/workspaces/team-atlas-633199659e255a37cd1d144f/issues/gh/energinet-datahub/energy-origin-issues/1454

@duizer i don't have access to that like, so could you please provide the information here.


Alpha 8 - LED's retain last state after clearing a source

[x] I confirm that this is an issue rather than a question.

Bug report
Steps to reproduce
I'm using Apa102's driven from the pi 3, I also have a second instance on the same install using WLED but this doesn't seem to be affected).
Test 1

Start Hyperion (Rainbow Startup Animation Plays)
Rainbow startup animation finishes, and LED's turn off for a moment, but then come back with a frozen rainbow

Test 2

Set a colour using the Web UI Remote control (LED's successfully show the colour)
Clear the colour source set in the Web UI (the source disappears from the source panel, but the LED's remain the colour set)

Test 3

Set a colour using the Web UI Remote control (Led's show the colour ok)
Send a Protocol Buffers/Hyperion Android Grabber stream (Led's are matching the video source fine)
Stop the android grabber (Sources panel reflects Grabber source is gone but Led's freeze on last frame of stream, should be showing the lower priority colour source from the web ui now).

What is expected?
I expect that clearing the sources for effects, colours, and streams will also clear the LED's and not just the sources panel.
What is actually happening?
It looks like, with the APA102's at least, then when a source is cleared, it's final values are retained on the LED's - or sometimes cleared from the LED's momentarily, but then return.
System
Hyperion Server:

Build:       (HEAD detached at 08909b8a) (Paulchen-Panther-75963ca9/08909b8a-1600115237)
Build time:  Sep 14 2020 21:04:51
Git Remote:  https://github.com/hyperion-project/hyperion.ng
Version:     2.0.0-alpha.8
UI Lang:     auto (BrowserLang: en-GB)
UI Access:   default
Avail Capt:  dispmanx,v4l2,framebuffer,qt

Hyperion Server OS:

Distribution: Raspbian GNU/Linux 10 (buster)
Arch:         arm
Kernel:       linux (4.19.97-v7+ (WS: 32))
Browser:      Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36

Hi @flexage
thanks for your feedback. To track down the issue, may I ask you providing an export of your configuration:
via UI: Configuration->General->Import/Export Configuration-> click "Export"
Plus, could you set hyperion.ng in Debug mode logging and share the log output, please?
via UI: System->Log-> Set Log-Level = Debug
If you familiar doing things on the commandline, you might start hyperion in debug mode already and have the loglines at hand easily:
pkill hyperiond
hyperiond -d
Restart hyperion.ng, run Test 1 and 2 and share the log-output.
I assume all three test scenarios share the same root cause. Therefore, lets focus on the first two.
Thank you!

Hi @flexage
Just one additional question:
I assume that you have defined a "Refresh time for the LED device

Could you set it to zero and see, if the problem still exists.

Just to ring-fence the problem.
Thank you!

Hi @flexage I think I found the error. Let me apply a fix and get back to you for testing.

Hi @Lord-Grey, great work! Sorry for not being quicker at getting back to you, I'll be available this evening (GMT) to provide any info and do any testing, please feel free to log anything you require here after looking at your fix and I'll be happy to provide it

@flexage May I ask you testing PR #1008 and report back, please?

@Lord-Grey Great work dude! Just tested the Debian RPi 2/3 build from the PR and that code change seems to have fixed it 👍
I'll keep using this build for now, and let you know if I spot any related edge cases

@flexage Good to hear that it is working at your end. Thanks for your support bringing it up and doing the testing.

No problem, happy to help, thanks for all the great work on Hyperion

Sorry, it looks like I  confirmed this as fixed to soon...
I ended up staying on Alpha 6 for a while as it was the most stable for me, but tonight I have been trying Alpha 9.
I am still getting the last frame of the video effect/color/protobuffer output 'sticking' on my LED's when the source is cleared.
I checked the "Refresh Time" on the LED Device, as you mentioned above, and it was set to 5000 - must have been a default, potentially from a very old (pre-alpha) version, I had to enable expert settings to find it. I tried setting it to 0 but it didn't have an effect on the problem.


Add OnSign TV company info

Adds or updates the following companies, events, or universities:

Add OnSign TV company info

Checklist
Company updates

[x] I have put the most recent relevant date in the "Last Update" column
[N/A] I have linked to the article about the change, not the company's homepage (Please put N/A if there is no public post)

Closing due to rebase and staleness. Feel free to re-open after fixes, thanks for your patience.


Doctor Section

Description
Create a section separately for displaying doctors where there'll be categorised according to their Specialization like General Physician, Ear-Nose-Throat (ENT) Specialist, Gynecologist, Obstetrician, Laparoscopic Surgeon, General Surgeon, Proctologist, Hair Transplant Surgeon, Plastic Reconstruction Surgeon, Plastic Surgeon, Cosmetologist, Liver Transplant Surgeon, Hepato-Biliary-Pancreatic, Urologist . with some vector art image and random images .
Make sure the page is responsive in MOBILE , TAB . DESKTOP , LAPTOP
Add screenshots for the same.
Screenshots
No response
Additional information
Guidelines ⚠
I will follow the Setup Guidelines
I will follow the Contributing Guidelines
I will follow the Code of Conduct

Notice ⛔
You will make PRs only to itsroy69-doctalk branch.
Commit message / PR title--> fix: bla bla bla
Please make sure in the .css files you are making/using , the styles should be applied to Unique Class names

Completed / Doubts ? 🚀
Once you are done with the code , please tag me in #milan with the Screenshot of whatever you made so that we can review that there together.
If you have any doubts, queries please tag me in #doctalk so that we can discuss the issue there together.
Cheers 🥂

Can I work on this?

I have to separately display names of doctors according to their specializations, right?

Yes.. like cards

I am planning to make something like this. When some user clicks on this box, it will show all the doctor's names with this particular specialization.

.

Where and what is on the doctorinfo page?

You should check the community guidelines and any extension can be used which will be running smoothly when we press "npm start".


Upgrade the minimum php version to 8.0 for retry.

upgrade retry to hyperf 3.0 (#4238)

等明天我看看

composer rector src/retry
用这个修一下看看


:warning: Action Required: Replace Deprecated gcr.io/kubebuilder/kube-rbac-proxy

Description
:warning: The image gcr.io/kubebuilder/kube-rbac-proxy is deprecated and will become unavailable.
You must move as soon as possible, sometime from early 2025, the GCR will go away.

Unfortunately, we're unable to provide any guarantees regarding timelines or potential extensions at this time. Images provided under GRC will be unavailable from March 18, 2025, as per announcement. However, gcr.io/kubebuilder/may be unavailable before this date due to efforts to deprecate infrastructure.

If your project uses gcr.io/kubebuilder/kube-rbac-proxy, it will be affected.
Your project may fail to work if the image cannot be pulled. You must take action as soon as possible.

However, if your project is no longer using this image, no action is required, and you can close this issue.

Using the image gcr.io/kubebuilder/kube-rbac-proxy?
kube-rbac-proxy was historically used to protect the metrics endpoint. However, its usage has been discontinued in Kubebuilder. The default scaffold now leverages the WithAuthenticationAndAuthorization feature provided by Controller-Runtime.
This feature provides integrated support for securing metrics endpoints by embedding authentication (authn) and authorization (authz) mechanisms directly into the controller manager's metrics server, replacing the need for (https://github.com/brancz/kube-rbac-proxy) to secure metrics endpoints.
What To Do?
You must replace the deprecated image gcr.io/kubebuilder/kube-rbac-proxy with an alternative approach. For example:

Update your project to use WithAuthenticationAndAuthorization:

You can fully upgrade your project to use the latest scaffolds provided by the tool or manually make the necessary changes. Refer to the FAQ and Discussion for detailed instructions on how to manually update your project and test the changes.

Alternatively, replace the image with another trusted source at your own risk, as its usage has been discontinued in Kubebuilder.

For further information, suggestions, and guidance:

📖 FAQ and Discussion
💬 Join the Slack channel: #kubebuilder.

NOTE: This issue was opened automatically as part of our efforts to identify projects that might be affected and to raise awareness about this change within the community. If your project is no longer using this image, feel free to close this issue.

We sincerely apologize for any inconvenience this may cause.
Thank you for your cooperation and understanding! :pray:

Since this project is used by alot of teams for testing, we should try to take this up when we have some cycles. As part of this (or to get to this point of removal), we should also update go, k8s, and do the operator-sdk migrations from v1.32 through current version (or rescafold).

Hi @acornett21
Before the end of this year we should have a kubebuilder release with 1.32 support. We can bump it on SDK, and then, projects here might want to fully upgrade to the latest release.
See that we are adding an option to help out pass cert-manager certs for the metrics server instead of using those that are self-signed done by controller-runtime, see: https://github.com/kubernetes-sigs/kubebuilder/pull/4400
It should either be available within the next release or be merged into the master. A partial version of the feature is already merged,, and it also helps provide a secure config to enable Prometheus integration.

This project isn't used in production, so I'm not concerned about self-signed certs, but thanks for the additional info, I'll follow the kubebuilder issue for other projects.

Fixed in the referenced issue. Closing.


add support for Nostr Wallet Connect and one tap zaps

as a user, i want to store a NWC string and be able to zap songs without leaving the app.

Implemented in the latest build


Allow granting Claude Dev access to the whole project once

Instead of approving access to each and every time each time I run a new task, I'd like to give Claude Dev permanent access to all the files in my project. This will significantly speed up tasks and hopefully reduce costs. This should probably be a setting somewhere. Optionally, we can add a "remember this" checkbox when asking for access so the users don't have to discover this in the settings.

Thank you for your suggestion. I'm currently working on making code analysis smarter by looking at an entire git repo's files and using semantic elements within your source code, like symbols and doc comments.

Claude Dev is brillaint thank you! It does seem somewhat insane — and costly — to have to continually grant access to the same files and folders over and over again. I hope a new options becomes available for this quickly.

v1.0.4 now has an analyze_project tool that allows Claude to see all the your project's files + source code defintions in one go. Thank you for the feedback!


Bug (Windows): Default path only scans the system partition.

By default, the scanner uses "/" as the starting point. Under Windows, os.scandir assumes "/" as the root of the system partition, i.e. other partitions are not scanned by default.

Hi, we have a note about this in the README.md for windows that it only scans the root drive c:\
Thanks for your patch, do you think it's possible to check fi the drive is a logical drive and not a mapped network share?
I'm concerned that people deploy this in their networks and causes every host to scan the same share :D
Or maybe this is a non issue as you mention you can exclude drives using the --exclude flag. Happy to hear your thoughts.

I have added some code to do it automatic:
first add line 301 - 306:
parser.add_argument(
"-a",
"--all-drives",
action="store_true",
help="all local drives (windows)"
)
second add this snippet after "print (FIGLET)":
if args.all_drives:
    args.path.remove('/')
    for d in wmi.WMI().Win32_LogicalDisk():
        if d.DriveType == 3:
            args.path.append(d.Name+'\\')

I'm not a programmer. Anybody else the possibility to make a pull request with this code?

@yunzheng I didn't see this as a problem at first because under Linux all connected network drives are scanned as well.  As proposed by @hvdort we can use the win32 api to get the logical drives. However i suggest to use it via ctypes to not create additional dependency. Working on it rn.

bc1be64 adds a check for local drives.


Plugin doesn't support multi-line errors

The plugin ignores \n in the diagnostic messages and shows everything on the same line

It would be great if the pugin can display such messages properly to be readable.

Hello,
Thanks for the feedback.
It should be good! Try to update it and tell me if it is good for you.

Thank you. The new line is now respected. However I see the issue that the plugin probably doesn't take in account inlay hints and the new line seems to be shifted.

Yes... I don't really know how to handle this for now. It's the same with ghost_text for nvim-cmp. I need to do more testing to handle this problem :(


Select Item overflowing with no option to scroll. (Android only)

There is a limit on the number of children that can be added to select content function. After the limit is crossed the options are chopped down, and we can't even scroll the view content box. while the ios has a native select which is capable of rendering multiple items, the list items are getting truncated on android.
To Reproduce

Create a sample expo project.
use "select" from rnr
add at least 10 items in select item view.

Expected behavior
The list items should be chopped down, and you shouldn't be able to scroll and see the truncated options.
Screenshots
untitled.webm

I am having this issue also. Is there way to add a scrolling option to the list view?

Okay I have found the solution, wrap your SelectGroup within ScrollView with max-h property and set onStartShouldSetResponder func to true.
Example:
<SelectContent
          insets={contentInsets}
          className="w-[250px]"
        >
          <ScrollView className="max-h-80">
            <SelectGroup
              onStartShouldSetResponder={() => true}
            >
              <SelectLabel>Activity Types</SelectLabel>
              {activityTypes.map((type) => (
                <SelectItem
                  key={type.value}
                  label={type.label}
                  value={type.value}
                >
                  {type.label}
                </SelectItem>
              ))}
            </SelectGroup>
          </ScrollView>
        </SelectContent>

I am facing the same issue. Unfortunately, @umutbozdag 's advice doesn't work for me :(
As a temporary solution, you can use DropdownMenu instead of Select. For example:
`
<FlatList
data={data}
style={{
maxHeight: 300,
}}
keyExtractor={({ key}) => key}
renderItem={({ item: { label, value } }) => (
// ur code here
        ....
        `

Fixes
I added an example in the showcase app which require changes for the Scrollable Content issue: https://github.com/mrzachnugent/react-native-reusables/commit/60ca07a4d571df1ba9cc79844cf654181d2b4a9d
Item overflow
A couple of options:

Adjust the bottom inset for the SelectContent's inset prop.

<SelectContent insets={{
    top: insets.top,
    bottom: Platform.select({android: insets.bottom  + 24, default: insets.bottom}),
    left: 12,
    right: 12,
  }} />

Set the side of the SelectContent to the top.

<SelectContent side="top" />

Scrollable content

In the root _layout.tsx, move the PortalHost component up one line so that it is a child of GestureHandlerRootView

      <GestureHandlerRootView style={{ flex: 1 }}>
        // ...
+        <PortalHost />
      </GestureHandlerRootView>
-     <PortalHost />

Import ScrollView from react-native-gesture-handler, wrap the content of SelectContent within the ScrollView and set a max height to the ScrollView

+ import { ScrollView } from 'react-native-gesture-handler';
     // ...
  <SelectContent insets={contentInsets} className='w-[250px]'>
+   <ScrollView className='max-h-32'>
      // ...
+   </ScrollView>
  </SelectContent>

For the web component: In the ~components/ui/select.tsx file, in the SelectContent component, remove the View that wraps the SelectPrimitive.Viewport

-           <View>
              <SelectPrimitive.Viewport
                className={cn(
                  'p-1',
                  position === 'popper' &&
                    'h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]'
                )}
              >
                {children}
              </SelectPrimitive.Viewport>
-           </View>


TYP: add type annotations to scipy/_lib/_array_api.py

This is a follow-up to gh-20593, where we had a little hiccup making Mypy happy. I added type annotations to all functions in _lib/_array_api.py other than testing functions (that are more work, and less critical since they're only used in tests).
The second commit adds some # type: ignore statements for _RichResult, which does something that Mypy intermittently complains about. It's the type of construct that is best simply ignored if the code works as intended (which I have no reason to believe it doesn't).

Ugh, Mypy failed again here, for an ignore I need locally:
scipy/_lib/_util.py:874: error: Unused "type: ignore" comment  [unused-ignore]
scipy/_lib/_util.py:875: error: Unused "type: ignore" comment  [unused-ignore]

This got way too annoying, so I added a third commit to change the default in mypy.ini to not use --warn-unused-ignores. That is not a reasonable option to default to for multiple reasons. This will make running mypy locally much more robust, and doesn't have downsides that matter.

Ugh, Mypy failed again here, for an ignore I need locally

Is this due to mismatched local/CI versions of Mypy? If not, that seems like a pretty serious bug in Mypy.
The annotations you have added look good to me.

Is this due to mismatched local/CI versions of Mypy? If not, that seems like a pretty serious bug in Mypy.

No, same Mypy version. It can happen with optional dependencies, which we have quite a few of. This one is different though - I think it's Python version; the CI job uses 3.10, I have 3.11.7 locally.
Mypy is full of these kinds of sharp edges. I don't think they're considered bugs even. It's just not a mature tool yet, and won't be any time soon.


Vickel: Watch 4ggrowth.org

Vickel requests the watch of the watch_keyword 4ggrowth\.org. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

4ggrowth\.org has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Fix release process

What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
goreleaser builds now for macos arm as well. This means we need to use go 1.16. We also perform cleanup of lambda zip each build

@admiral0: The label(s) area/build cannot be applied, because the repository doesn't have them

In response to this:

What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
goreleaser builds now for macos arm as well. This means we need to use go 1.16. We also perform cleanup of lambda zip each build

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

a33caa1 Fix release process

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign admiral0 after the PR has been reviewed.
You can assign the PR to them by writing /assign @admiral0 in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [fntlnz]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 7f1dbc44671c4bfc075139ba27a6c7900f871bfa


Autotester Browser View Update #2

Hi,
As we discussed in the last PR for the autotester browser view, the latest HTML generation has a couple of short comings:

Lack of ability to quickly search for tests with errors ("!!!" prefix missing)
Ability to expand/contract portions of the table

This PR fixes both of these short comings. I currently have it setup to collapse by default any module where all tests successfully completed. The user can then expand or collapse by clicking on the blue header for that module.
Note that the code in this file is getting pretty spaghetti-like. It could use a code cleanup but for right now I don't want to spend any more time on it.

Also you should be able to close Issue #184 with this commit.

I've tried it out with some deliberate errors and I think it works fine! Thanks for this good piece of work.
About the spaghetti: I haven't looked at the new code close enough yet to have a judgement about that. But it makes me think about the process in general. The result of this thinking will be in issue #193.
After having drawn up that issue, I'll complete this comment.


Pixel 5 is stuck when playing m3u8 and audio keep going

Version
Media3 1.4.0
More version details
No response
Devices that reproduce the issue
Pixel 5 in Android 14
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps

play to the m3u8 url
wait playing to 1:40

Expected result
Video could play continuously
Actual result
Video has been stuck at 1:40
Media
https://dev-v-mps.crazymaplestudios.com/b055f6c9690271efb35687c7361c0102/video/4770a6dd07fe447a8a425020710b9825-6db29adcf4b3d304ebaf3e185d53435a-video-sd.m3u8
Bug Report

[ ] You will email the zip file produced by adb bugreport to<EMAIL_ADDRESS>after filing this issue.

Hi, @marcbaechinger
Is there any solution to this problem?
There's is no error callback or no obvious logs when it happening

Hi, @marcbaechinger Is there any solution to this problem? There's is no error callback or no obvious logs when it happening

It seems to be a problem with the link. Can you explain how the link came about


crewai use langchain_community.chat_models.BedrockChat as llm get error "System message must be at beginning of message list"

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
I only use BedrockChat replace ChatAnthropic  , get error.
my code
import boto3
from crewai import Agent, Crew
from crewai import Task
from langchain.tools import DuckDuckGoSearchRun
import os
#from langchain_anthropic import ChatAnthropic
from langchain_community.chat_models import BedrockChat

# llm = ChatAnthropic(temperature=0, model_name="anthropic.claude-3-sonnet-20240229-v1:0")

bedrock_runtime = boto3.client(
    service_name="bedrock-runtime",
    region_name="us-west-2",
)

model_id = "anthropic.claude-3-sonnet-20240229-v1:0"

model_kwargs =  {
    "max_tokens": 2048,
    "temperature": 0.0,
    "top_k": 250,
    "top_p": 1,
    "stop_sequences": ["\n\nHuman"],
}

llm = BedrockChat(
    client=bedrock_runtime,
    model_id=model_id,
    model_kwargs=model_kwargs,
)

search_tool = DuckDuckGoSearchRun()

# Define your agents with roles and goals
researcher = Agent(
    role="Tech Research",
    goal='Uncover cutting-edge developments in AI and data science',
    backstory="""You work at a leading tech think tank.
    Your expertise lies in identifying emerging trends.
    You have a knack for dissecting complex data and presenting
    actionable insights.""",
    verbose=True,
    allow_delegation=False,
    llm=llm,
    tools=[search_tool]
)

writer = Agent(
    role='Tech Content Summarizer and Writer',
    goal='Craft compelling short-form content on AI advancements based on long-form text passed to you ',
    backstory="""You are a renowned Content Creator, known for your insightful and engaging articles.
    You transform complex concepts into compelling narratives.""",
    verbose=True,
    allow_delegation=True,
    llm=llm,

)

# Create tasks for your agents
task1 = Task(
    description=f"""Conduct a comprehensive analysis of the latest advancements in AI in 2024.
        Identify key trends, breakthrough technologies, and potential industry impacts.
        Your final answer MUST be a full analysis report""",
    agent=researcher
)

task2 = Task(
    description="""Using the text provided by the reseracher agent, develop a short and compelling
    short-form summary of the text provided to you about AI.""",
    agent=writer
)

# Instantiate your crew with a sequential process
NewsletterCrew = Crew(
    agents=[researcher, writer],
    tasks=[task1, task2],
    verbose=2,  # You can set it to 1 or 2 for different logging levels
)

result = NewsletterCrew.kickoff()

print("Welcome to newsletter writer")
print('----------------------------')

print(result)

Error Message and Stack Trace (if applicable)
"Failed to convert text into a pydantic model due to the following error: System message must be at beginning of message list"
Description
I use crewai with langchain
System Info
langchain==0.1.11
langchain-anthropic==0.1.4
langchain-community==0.0.27
langchain-core==0.1.30
langchain-openai==0.0.5
langchain-text-splitters==0.0.1

I found reason in langchain_community/chat_models/bedrock, they aways check message , I'm not sure every agent frame have same order , so I add "_move_system_to_front", always put system at first .
if need I can submit PR for this issue.
def _move_system_to_front(messages):
system_messages = [msg for msg in messages if msg.type== 'system']
non_system_messages = [msg for msg in messages if msg.type != 'system']
return system_messages + non_system_messages
"for i, message in enumerate(messages):
if message.type == "system":
if i != 0:
raise ValueError("System message must be at beginning of message list.")
if not isinstance(message.content, str):
raise ValueError(
"System message must be a string, "
f"instead was: {type(message.content)}"
)
system = message.content
continue
"


DBZ-5071 Allow configuration for custom columns for incremental snapshots

@Naros Here is a draft PR with the changes I did for this. Now, it needs a couple of improvements, but this is more of a starting point. Let me know what do you think and how this should be handled since you guys know better the codebase and practices. Thanks

I will close as I am  planning to open another PR when I will have the time to work on it. This is stale anyway.


Add utility to validate the run-file

And update doc

My only concern is if validate.py is a bit generic name-wise, should the name be a bit more descriptive of what it's validating?

ack


Link in releases is for 4.0.5

Hello,
It appears that the link for 4.1.1 is actually linking to the release for 4.0.5

This is correct for Linux, was temp workaround to some issues


Remove OPC Vault and some other stuff

using System.Globalization;

these tests might be useful, but the class is gone?

Refers to: components/opc-ua/src/Microsoft.Azure.IIoT.OpcUa.Protocol/tests/Stack/Encoders/TypeSerializerTests.cs:10 in 5ed079a. [](commit_id = 5ed079ad6c407e569c9bd8936d85ddf741482f24, deletion_comment = True)


idea: when we move Node 10 to maintenance write blog post about new features

When we adopt new Node.js versions (in this case node: >12 in engines, ~April 2022), it would be neat to write a blog post for our library users regarding the slick new Node.js features that are available to them.

Marking it as eol so we can search for the tag and bring up what we should do.

A bit swamped - can't get to this anytime soon. I'll release this issue in case someone else has some bandwidth


[UI] add user avatar in header

Description
This PR adds the user avatar button in the header of meshery-ui.
Changes were done in the following way:

The old User component was written as a class. Switched to the functional component.
Created userSlice for redux.
Added AccountExtensionSchemaDecoder in extensionPointSchemaValidator.js

Signed commits

[x] Yes, I signed my commits.

@YashKamboj will you assist in rounding up a few of the open refactoring PRs for demo at tomorrow's Meshery Dev Meeting?

@abhinavkrin Great work!! but we are restructuring, so we are updating from mui4 to mui5 , and redux, so please check other components and make changes according to that.

Thanks @YashKamboj. I made sure that all imports are from @mui rather than @material-ui.

@abhinavkrin we need to move away from using makeStyles, so you should look at styled APi or use plain css, we are using styled in many other components so please refer them

Got it. After seeing the code of Header.js, I found that in most of the places makestyles was used. So I thought we have to use that. My goal was to add User Avatar icon. So for now should I use styled API for User.js and then in next PR I will update Header.js to use styled API?

But from now on we are using styled-api and will change in other files too

But from now on we are using styled-api and will change in other files too

Thanks for the review. For the current PR, should I use styled API for the User Avatar component?  And then migrate Header.js to use styled API in the next PR that i will create. or should i migrate both user avatar and header in this PR.

But from now on we are using styled-api and will change in other files too

I have removed makeStyles from User.js and some classes from Header.styles.js. Used style and sx prop for minor rules.

@abhinavkrin   Could we avoid inline styles in refactoring? . We could probably use this sx prop. Reference - https://mui.com/system/the-sx-prop/#typography or use plain CSS separate sheet ref- https://mui.com/material-ui/migration/migration-v4/#fix-css-specificity-optional.

@abhinavkrin Could we avoid inline styles in refactoring? . We could probably use this sx prop. Reference - https://mui.com/system/the-sx-prop/#typography or use plain CSS separate sheet ref- https://mui.com/material-ui/migration/migration-v4/#fix-css-specificity-optional.

I replaced all style with sx property except for a wrapper HeaderIcon component as sx is only available for MUI components.
const HeaderIcon = styled(({ icon, isActive = false, children, ...props }) => {
  const Component = icon;
  return (
    // Component can be MUI Icon or
    <Component
      style={{
        color: isActive ? "#00B39F" : "inherit",
      }}
      {...props}
    >
      {children}
    </Component>
  );
})(() => ({
  fontSize: "1.5rem",
  height: "1.5rem",
  width: "1.5rem",
}));

@abhinavkrin Could we avoid inline styles in refactoring? . We could probably use this sx prop. Reference - https://mui.com/system/the-sx-prop/#typography or use plain CSS separate sheet ref- https://mui.com/material-ui/migration/migration-v4/#fix-css-specificity-optional.

I replaced all style with sx property except for a wrapper HeaderIcon component as sx is only available for MUI components.
const HeaderIcon = styled(({ icon, isActive = false, children, ...props }) => {
  const Component = icon;
  return (
    // Component can be MUI Icon or
    <Component
      style={{
        color: isActive ? "#00B39F" : "inherit",
      }}
      {...props}
    >
      {children}
    </Component>
  );
})(() => ({
  fontSize: "1.5rem",
  height: "1.5rem",
  width: "1.5rem",
}));

@abhinavkrin If you want to apply styles to a div , you can replace div with box and use sx in it

Repaced this style with sx.

Considering some of what this new UI will be has yet to be designed, are we ready to move forward (merge) here?

Yes, we are good to go for the merge.


ENH: Fixed typo, added virtualenv package, Re-ordered so all needed p…

This an updated readme, fixing some small problems.
Do not merge yet, because I ran into a problem for which I don't know it is due to the install procedure. Will open an issue for that

@gotiniens I think we could merge this, right? The current mounting issues in #167 seems to be independent of the readme. We could even enhance the readme to a later point, once we gathered more information on the topic.

@fgebhart  Yes it can be merged.


Docker Hub not updating

Docker hub still only has JIRA 7.4.1, but this repo has been updated to 7.4.2

Build wasn't successfull, retrying.

Working now.


Add helical and annular shell trajectories

This PR adds two 3D trajectories based on concentric shells:

helical shells: a quite famous trajectory that consists of spirals covering concentric shells and that can be at least traced back to Irarrazabal, Pablo, and Dwight G. Nishimura. "Fast three dimensional magnetic resonance imaging." Magnetic resonance in medicine 33, no. 5 (1995): 656-662, but the implementation is based on the remarkably clear proposition by Shu, Yunhong, Stephen J. Riederer, and Matt A. Bernstein. "Three‐dimensional MRI with an undersampled spherical shells trajectory." Magnetic Resonance in Medicine: An Official Journal of the International Society for Magnetic Resonance in Medicine 56, no. 3 (2006): 553-562. A future PR might propose a companion function to handle gradient constraint in the polar regions as suggested in the article.
annular shell: an exclusive trajectory based on solutions to the sphere packing problem inspired from Gerlach, Henryk, and Heiko von der Mosel. "On sphere-filling ropes." The American Mathematical Monthly 118, no. 10 (2011): 863-876. The trajectory consists of shells composed of rings cut in half and rotated to create a continuity with other rings, and therefore obtain more homogeneous shots in term of length as compared to simply spherically stacking rings.

Both trajectory implementations might be changed in future PRs that will include new expansion methods/tools to "shellify" and spherically stack arbitrary 2D planes.

Pictures for representation:

helical shell trajectory:

annular shell trajectory:

Examples and documentation will come in later PRs, as there is no documentation on 3D trajectories currently and I plan an overhaul of the 2D-to-3D expansions.


Output log from dart editor as requested. Unexpected error.

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?
1.started with stagehand
2.added paper elements
_______________________________________________________________________
3
--- 21:21:54 Starting pub serve : sekpastage ---
Your pubspec has changed, so we need to update your lockfile:
Resolving dependencies...

core_elements 0.5.0+2 (0.6.0 available)
custom_element_apigen 0.1.3
observe 0.12.2
paper_elements 0.6.0+3
polymer 0.15.3+2
polymer_expressions 0.13.0+1
quiver 0.18.2 (0.20.0 available)
smoke 0.2.1+1
string_scanner 0.1.3
template_binding 0.14.0
web_components 0.10.0
yaml 2.1.2
Downloading core_elements 0.5.0+2...
Timed out after 30.0s while downloading https://pub.dartlang.org/packages/core_elements/versions/0.5.0+2.tar.gz.
This is likely a transient error. Please try again later.
e:\b\build\slave\dart-editor-win-stable\build\dart\sdk\lib_internal\pub_generated\lib\src\io.dart 786  timeout.<fn>
dart:isolate                                                                                _RawReceivePortImpl._handleMessage
This is an unexpected error. Please run

    pub --trace 'serve' 'web' '--port' '8080' '--admin-port' '58484' '--hostname' 'localhost'
and include the results in a bug report on http://dartbug.com/new.
___________________________________________________________________
4)Windows CMD Output - cut and pasted
C:\Users\steve\Documents\dart>cd sekpastage
C:\Users\steve\Documents\dart\sekpastage>pub --trace 'serve' 'web' '--port' '808
0' '--admin-port' '58484' '--hostname' 'localhost'
Could not find a command named "'serve'".
Available commands:
  build       Apply transformers to build a package.
  cache       Work with the system cache.
  deps        Print package dependencies.
  downgrade   Downgrade the current package's dependencies to oldest versions.
  get         Get the current package's dependencies.
  global      Work with global packages.
  help        Display help information for Pub.
  publish     Publish the current package to pub.dartlang.org.
  run         Run an executable from a package.
  serve       Run a local web development server.
  upgrade     Upgrade the current package's dependencies to latest versions.
  uploader    Manage uploaders for a package on pub.dartlang.org.
  version     Print pub version.
---- Log transcript ----
FINE: Pub 1.8.3
IO  : Spawning "cmd /c ver" in C:\Users\steve\Documents\dart\sekpastage.
IO  : Finished ver. Exit code 0.
    | stdout:
    | |
    | | Microsoft Windows [Version 6.1.7601]
    | Nothing output on stderr.
ERR : Could not find a command named "'serve'".
    |
    | Available commands:
    |   build       Apply transformers to build a package.
    |   cache       Work with the system cache.
    |   deps        Print package dependencies.
    |   downgrade   Downgrade the current package's dependencies to oldest versi
ons.
    |   get         Get the current package's dependencies.
    |   global      Work with global packages.
    |   help        Display help information for Pub.
    |   publish     Publish the current package to pub.dartlang.org.
    |   run         Run an executable from a package.
    |   serve       Run a local web development server.
    |   upgrade     Upgrade the current package's dependencies to latest version
s.
    |   uploader    Manage uploaders for a package on pub.dartlang.org.
    |   version     Print pub version.
 What do you see instead?
What version of the product are you using?
On what operating system?
What browser (if applicable)?
Please provide any additional information below.

This issue has been moved to dart-lang/pub#1214.