PointCloud XYZRGBL display draws points in incorrect z position relative to camera

This may be related to #1184, which I reported recently.
This is using rviz 1.12.16.
When visualising pointclouds with the XYZRGBL type, points which should be obscured by points in front of them from the current camera perspective are visible.
You can check this by starting a roscore, running rviz, adding a PointCloud2 display subscribed to cloud_pcd, and then running
rosrun pcl_ros pcd_to_pointcloud out.pcd 1

With the following pcd file:
out.pcd.zip
You will then have to set the colour transformer to intensity, and switch to an axis or label colouring (i.e. channel name set to x,y,z or label).
The first picture is a view of the cloud with label colouring, from approximately the same perspective in which it was taken. Blue is wall, pink is furniture and clutter, orange is the floor.

This picture from a different perspective shows the orange floor being displayed in front of the pink furniture/clutter, despite it actually being behind those points from the perspective of the camera.

This is another example, this time with the camera perspective behind the wall. From this view, it should only be possible to see the wall, but actually we can see both the floor and the furniture.

I wondered if this was related to the pointcloud being unorganised, so I got some raw data from the camera and tried to fake an unorganised cloud by simply changing the header from
WIDTH 640
HEIGHT 480

To
WIDTH 307200
HEIGHT 1

I'm not sure if this is the only change needed for the cloud to be read in as unorganised, but the effect does not appear when using this cloud. That may also be because it is just XYZRGB instead of XYZRGBL, which is another indicator that it might have something to do with the label part specifically.
unorganised_fake.zip

Happening here as well with XYZRGB clouds.

I noticed something potentially relevant while working with this cloud.
Here's a gif of the effect in addition to the images in my previous message for a better understanding of the issue:

We place the camera in a position which produces the issue.

We make a selection

The points which are selected are the correct ones - the selection does not include the points which appear to be in the foreground but are actually in the background.

This seems to indicate that the point selection tool is correctly checking the Z-values of points relative to the camera, but the rendering is not.

Is it known that a past version of rviz did not have the issue? If so, I could track down the offending commit with git bisect.

I downloaded the ros:jade docker and installed ros-jade-rviz, which gave me:
[ INFO] [1583940262.467204132]: rviz version 1.11.18
[ INFO] [1583940262.467238280]: compiled against Qt version 4.8.6
[ INFO] [1583940262.467245964]: compiled against OGRE version 1.8.1 (Byatis)

The issue is present in that version as well.
I checked out version 1.11.10 in the same docker and tested, the issue was also present there.
Version 1.11.8 appears to be the first version in which RGB8 is available as a colour transformer on PointCloud2, and the problem is present there also.
I tried version 1.11.6, but the RGB8 colour transformer for PointCloud2 does not seem to be available there. Maybe it could be tested with a PointCloud topic but I'm using pcl_ros pcd_to_pointcloud which only does PointCloud2.

Thanks for this validation. So it looks like, the bug was there from the very beginning.


cmake config is missing version info

see cmake-packages for version file and the package config helpers  on how to quickly add this file, since there been a few major bumps in ~6 months in this project a version file might be a good thing.

Thank you for the comment. I just glanced the document.
Unfortunately, I don't have much time to improve cmake. I guuess that I am not familier to cmake very much so I couldn't understand the concept of version file. Cmake usually very difficult to understand for me ;)
If you would create a pull request to add the version file (or cmake automatically create it if the top of CMakeLists.txt has some command??), it would helpful.
async_mqtt supports vcpkg. It seems that cmake related file would affect to vcpkg (I am not sure).
Please check https://github.com/microsoft/vcpkg/tree/master/ports when you would create the pull request.


Remove duplicative content from temp site that's on Main site

Careers
Media

...and add:

A link back to the Main site tbd.website

PR for this in #14


Btc withdrawal blocked

I'm unable to withdraw my btc. I fill out the address, the amount and the 2fa code. Click withdraw and the page simply reloads/refreshes. Nothing happens.
I've read through all previous support requests but can't find anything. Can you please look at my account or tell me what to do. User giantjames

My BTC withdraw in not working too why??..user name Monil43
On Sun, Feb 18, 2018 at 1:46 AM, giantjames<EMAIL_ADDRESS>wrote:

I'm unable to withdraw my btc. I fill out the address, the amount and the
2fa code. Click withdraw and the page simply reloads/refreshes. Nothing
happens.
I've read through all previous support requests but can't find anything.
Can you please look at my account or tell me what to do. User giantjames
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/monyxcoin/monyx-coin/issues/235, or mute the thread
https://github.com/notifications/unsubscribe-auth/AijuYnAAYE6AHdSqCJNpFyQnw8y8EOA-ks5tV_FsgaJpZM4SJoW6
.

Withdrawals are blocked until tomorrow when an official statement will be released.

@monyxcoin is the hotmail verification email fixed already?

I use hotmail and have not had issues, maybe check your security settings in hotmail

@JamjamMcjammerson it worked before until friday, starting on saturday no more verification sent in hotmail. can you confirm it work on your part starting saturday?

Withdrawals are blocked till 1500 UTC Monday today so basically in 10
hrs or so . The admin said that a day and a half ago. We will learn more
when the big announcement happens today .
------ Original Message ------
From: "langganijen"<EMAIL_ADDRESS>To: "monyxcoin/monyx-coin"<EMAIL_ADDRESS>Cc: "Subscribed"<EMAIL_ADDRESS>Sent: 2018-02-19 12:44:38 AM
Subject: Re: [monyxcoin/monyx-coin] Btc withdrawal blocked (#235)

@JamjamMcjammerson https://github.com/jamjammcjammerson it worked
before until friday, starting on saturday no more verification sent in
hotmail. can you confirm it work on your part starting saturday?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/monyxcoin/monyx-coin/issues/235#issuecomment-366594156,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AieP-eI98FEaDIDwe-fTdeawd-pXKB1Xks5tWQpGgaJpZM4SJoW6.

when hot wallet will be repenish again ?

Now I can initiate withdraw but can't verify.


fix: record PID in overall output file

Modify synthesizer to record PID.
Add example parameter file in data directory to make future runs simpler.

Closes #9.

actually, one small change to column name please


dynamic steps

First, thank you for the awesome library! I'm enjoying testing it out and am hopeful that I will be using it a lot!
I have a question re making a dynamic tour. Basically, I'd like to create a series of steps that are dynamic based on user choices, and that may require some async events to occur between steps. For example, a step might present a choice to click red pill or blue pill (and maybe another choice as well e.g. green pill), and next step would depend on which they chose. In addition, for any choice a user makes, I might want to display some new container element (such as a drop-down menu) that was not previously displayed, and use an element from that new container (such as a menu choice) as the focus of the next step.
It appears that defineSteps() expects a static list of steps, and the elements for those steps must already exist, so that does not seem to be a feasible solution to this.
One simple way to do this might be, if I could add my own button(s), or some other controls, to the popover, to reflect the choices, along with my own callback actions. That way, I could just make any callback open the related new container, define the next step with the new container's element to be focused on, then clear the current driver popover and create a new one with the new step. A drawback of this is that it would only work if there are very few choices, but it would suffice for my immediate requirements.
Another possible and more flexible approach would be for the Step interface to support a getNextStep(callback) function which generates the object used for the next step and then executes a callback on it (or returns a promise). That way, I could add HTML elements to the popover which present the choices, and getNextStep() could query those to determine how to build the next step, then execute any necessary actions (such as opening a new menu) to do so.
Would it be possible to add either of these features (custom buttons, or getNextStep(cb)), and/or, would you have any suggestions as to how otherwise I could create a dynamic tour as described above? Happy to contribute to the work if helpful

+1

#334

We just released v1.0 of driver.js which has been rewritten from the ground up. This has a better support for dynamic/asynchronous steps. Please have a look at the docs and do let me know if you face any issues.


Demo broken on Firefox for Android

Hi there,
I just tried our demo in my mobile firefox (latest) on android 9 and I get
NotAllowedError: The request is not allowed by the user agent or the platform in the current context.

There's also no mic permission request dialog.
Any idea whats wrong?
Thanks you 👍

That's strange, because it works perfectly fine for me on Android 9 in latest Firefox.
Maybe try to allow use of microphone in app permissions for Firefox?

Sorry for my late response :)
Super strange. Firefox was not allowed to use my mic at all in the app permissions. I dont remember that I disabled it explicitly, but who knows. We tried it on two different phones (an older Samsung and my Xiaomi A1) and it was disabled on both phones.
Anyway, thank you very much!


chore: fix show_term on windows

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#335  👈
#334
#333
#330
#329
#327
#326
#323
#322
#320
#328
#325
#324
#318
#317
#316
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @NathanFlurry and the rest of your teammates on  Graphite


States not correct or updating

Hey, hope someone can help me out, to what I am doing wrong if anything.
I have a brand new 2021 RS5 I have managed to add my credentials into the Audi connect integration successfully. Home assistant is showing 23 entities, all good so far! I haven’t tried the lock and unlock feature yet! My main issue is the states not showing correctly. No matter what I do it’s always showing my car as unlocked, and the windows are open.
has anyone had this issue? Or can anyone help with a solution?
Thanks

Anyone 😔🙏

Same issue here

Similiar issue with my 2019 A1, everything works flawless, except for the trunk and trunk lock state. They always show open/unlocked when I am locking the car with the keys but when I lock it through the myAudi app it updates correctly (it also updates to open correctly when I unlock the car with the key, only locking does not work properly). Status in the myAudi app is always on point

Same issue here with the 2019 A1. It doesn't look like any of the states update.

Same issue here with 2017 A5 Coupe 2.0 TSFI quattro Sport.
Also refer to Issue #55, I have exactly the same behavior. The only way I can confirm my car is 'locked', is by the '_trunk-lock' entity.
My Audi App represents the correct status when I open/ close doors, windows etc.:

@arjenvrh Any developments, comments on this issue?

Hey  guys, I figured out what issue was some time ago. But don't anything about programming. The only things I know Is what I learned myself in the past year.
The thing is:
We all choose that beautiful coupé.... Audi knows it has only 2 doors., only audi_conect_ha is not aware yet.  I didn't dare to post here before.
So if you go to audi_models.py you can see there are all th states for cars with front and rear doors listed

And if you go to audi_connect_account.py you can clearly see they still use the rear doors to define if all doors are locked or not. Since there are no fysical rear doors, it is certainly not possible to be locked. And thats why audi_connect_ha keeps returning that not all doors are locked (so unlocked).

Because I didn't want to get involved in difficult programming. I just changed the rear doors into front doors again...  You can see that in the picture where I already changed them. So audi_connect_ha still thinks i'm drivig a sportback. But it is actuallly just checking the state of the front doors twice for me know....
But I am sure you guys will find a decent way to solve it....
Grtz
Jeroen
.

Hey, hope someone can help me out, to what I am doing wrong if anything. I have a brand new 2021 RS5 I have managed to add my credentials into the Audi connect integration successfully. Home assistant is showing 23 entities, all good so far! I haven’t tried the lock and unlock feature yet! My main issue is the states not showing correctly. No matter what I do it’s always showing my car as unlocked, and the windows are open. has anyone had this issue? Or can anyone help with a solution? Thanks

Btw, if I was helpful to you, take me for a ride in your RS5... Even if you let me just stare at it for a few minutes, I'll be satisfied.

This appears to be fixed about 6 months ago and issue has been stale for almost 2 years.
Closing but please report an issue if you have one.


Make it easier to configure resource groups for SELECT queries

Resource group selector
"queryType": "SELECT"

matches SELECT statements, but does not match PREPARE statements (does it match EXECUTE?).
This configuration using such a selected will work with Presto CLI.
It will work with Presto JDBC Statement but not with PreparedStatement (same may be the case for other client libraries)

See some previous conversation: https://prestosql.slack.com/archives/CGB0QHWSW/p1606205691137400


When I am trying to open ZMap using MATLAB, I am getting this error in the code

In rc_cross_a2.m code I am getting this error -

Error: File: rc_cross_a2.m Line: 620 Column: 33
Invalid syntax for calling function 'tmpgri' on the path. Use a valid syntax or explicitly initialize 'tmpgri' to make it a
variable.
620 line - normlap2=NaN(length(tmpgri(:,1)),1);
Error in ZmapMainWindow/create_all_menus/create_xsec_analysis_menu (line 96)
rc_cross_a2.AddMenuItem(submenu, @()obj.xsec_zap);
Line 96 - obj.EventSelector=res.evsel;

In create_all_menus code I am getting this error -

Error in ZmapMainWindow/create_all_menus (line 29)
create_xsec_analysis_menu();
Line 29 - create_xsec_analysis_menu();
3, In ZmapMainWindow,m code I am getting this error -
Error in ZmapMainWindow/prepareMainFigure (line 701)
obj.create_all_menus(true); % plot_base_events(...) must have already been called, in order to load the features from ZG
Error in ZmapMainWindow (line 207)
obj.prepareMainFigure();

In zmap.m code I am getting this error -

Error in zmap (line 139)
ZmapMainWindow(cw,ZG.primeCatalog);
Please help me solve these errors!!!!!!!!

I think this is the wrong project. This is the ZMap that is a network scanner.


.Net: Update environment variables helper class in samples

The current helper class for environment variables in samples should be improved so that it is more maintainable.

Per @RogerBarreto, the updated helper class in samples should be a single project that combines the work across all the samples (including Kernel Syntax Examples) to dedupe existing code.

Closing so we can create new issues for docs later


shell/console locks with too much input

Too many lines of input at a time locks it up.
If input is coming in faster than it's getting drained, console echo ends in endless wait.

@andrzej-kaczmarek  I have feeling you have some solution on this under testing, right?

does this still happen on latest master? iirc we made a workaround for this, i.e. detect this condition and just drop echoed characters to avoid deadlock.
anyway, I made a patch some time ago which allows to move handling of UART RX to task context so deadlock won't occur, here's PR with these changes: #894.

This is fixed now.


Feature/ab#22962 add contact & ab#22959 edit contact

AB#22962 - Add New Contact
AB#22959 - Edit Contact Information

@nitheesh-aot  - looks mostly good - can we get some unit tests in too please?

@AndreGAot Sure, I will raise a new PR for unit tests, please feel free to merge this if you need to give this to testers.

@nitheesh-aot - will wait for the unit tests, thanks

added unit tests @AndreGAot

not sure why, but only 15 commits are showing in this PR now. where the feature branch has 17.

@nitheesh-aot - please follow up with BA / Max around the field validations for the email and the mobile numbers (story doesn't specify anything but i think it is presumed) - also the delete contact button doesn't seem to work


Feature: Md-Slider with threshold and 2 colors

Feature request, or proposal:
Change color of md-slider after threshold is breached.
What is the expected behavior?
To be able to set threshold on slider, which will be shown to user, and which would change the color of slider from that point on.

<mat-slider                color="primary"               threshold="calculatedThreshold"               threholdBreachedColor="warn"               value="immutableValue"></mat-slider>
What is the current behavior?
At the moment you can only have one color for slider.
What is the use-case or motivation for changing an existing behavior?
Notify user that he has limit, after which he is on his own, due to passing the suggested limit he should choose.

If this is still available I'd like to take a stab at it.

Closing this since I don't see us adding support for this feature unless it were included in the Material Design spec.


Proper way to assign a custom template to a page in the CMS?

By default, there is no "Template" drop-down in the Page Attributes section when editing a page in the admin.
If I wanted to create a new template, let's say Homepage Template, what's the proper way to do that in Tonik?
I can create my template in the root of the theme that contains:
<?php
    /* Template Name: Homepage */
?>

but I feel like that's going against the whole templating system that Tonik uses. Is there another approach that I should be thinking about?
Thanks.

Would I do something like this:
<?php
/* Template Name: Homepage */

namespace App\Theme;

use function App\Theme\template;

template('homepage');

and then create a file templates/homepage.tpl.php and put all of my custom code in there?

Would I do something like this:
<?php
/* Template Name: Homepage */

namespace App\Theme;

use function App\Theme\template;

template('homepage');

and then create a file templates/homepage.tpl.php and put all of my custom code in there?

This is exactly what I would do.
I like to think about root files as some way of "controllers". They receive data and delegate to templates. In most simple websites they probably will only contain a call to the template() function, but its really helping with separation of DB logic from layout layer and make its easy to re-use templates.
PS. Its maybe only an example, but for a homepage, I would switch WordPress reading settings to "static" and go with front-page.php and index.php files instead of creating a special template file.

Got it, makes sense!
Yeah, the only reason I like to create a special template file for the homepage is because I usually have a lot of ACF field groups that are specific to the homepage design. So I normally create a page in the admin called "Home" and assign it to the homepage template so I can manage all of the custom fields from that page and feed it through the template.
I suppose I could store the homepage settings in an ACF Options page and just use front-page.php but I like to keep it as a page to avoid any confusion.
Thanks for your help!

Although I just realized I can still assign ACF field groups to the "Front Page" page.

So you're right, there's no need to create a special template. Thanks!


[RESTEASY-1075] HTTP redirect support in ApacheHttpClient engine

@asoldano, it looks fine. I usually test "true", "false", and "default", but ...  ;-)

Thanks Ron, merging


Navbar color inconsistency on active page

When hovering over the navigation links (Home, About, Calculators etc.), they turn pink as intended. However, once a link is clicked and the user navigates to that page, the color reverts to white, making it indistinguishable from inactive links. The current page link should remain pink in the navbar while inactive links should be white.
Screenshots:

This should remain 👇

This will improve the user experience by clearly indicating the current page in the navigation bar.

@Rakesh9100 this issue can be assigned

Pls attach the supporting screenshot in the issue description @KajalBhatt123

@Rakesh9100  ok added

Go ahead @KajalBhatt123


Unmarshal not declared

I am using github.com/surrealdb/surrealdb.go v0.1.1 when I use the command surrealdb.unmarshal i get this error
unmarshal not declared by package surrealdb

Hey, I addressed this issue in discord before.
It is because there aren't any releases after v0.1.1 but many commits were pushed to the repo.
They were testing for errors and we're going to push another release, but I think they forgot.
You can pull with commit hash.
go get github.com/surrealdb/surrealdb.go@e0397e6

@phughk by any chance could you push the release on Monday?

Hey thanks @Faizan-Pasha, @ElecTwix , and @milkyskies ! Yes, will try and get a release out in that case.


Bump golang to v1.22.7

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 52.553%

Totals

Change from base Build<PHONE_NUMBER>5:
0.0%

Covered Lines:
3819

Relevant Lines:
7267

💛  - Coveralls


Getting duplicate notifications in the notifs feed & very old comments are sometimes being detected as new

v1.9, Chrome 118.0.5993.88 on arm64

huh, I never got a notification for this issue

Nyaa-Utility v1.9.1
Changes on the new version!:
Fixed a bug with the notifications. (There is a high chance that you have to  all of your user data in order to fix this.)

Is this fixed now, @ArjixWasTaken?

Good question


Fix: [scheduler]  destPeer keepalive when downloaded by other peer

Description

destPeer keepalive when downloaded by other peer
remove redundant scheduling when failed peer is already be blocked

Related Issue

Motivation and Context

Screenshots (if appropriate)
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.

Codecov Report

Merging #1865 (5018082) into main (2321ed8) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1865      +/-   ##
==========================================
- Coverage   42.95%   42.91%   -0.05%
==========================================
  Files         131      131
  Lines       16747    16749       +2
==========================================
- Hits         7194     7188       -6
- Misses       9013     9018       +5
- Partials      540      543       +3

Flag
Coverage Δ

Object-compatibility-e2etests
?

e2etests
?

unittests
42.91% <0.00%> (-0.05%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

scheduler/service/service.go
71.66% <0.00%> (-0.50%)
:arrow_down:

...ent/daemon/peer/peertask_piecetask_synchronizer.go
49.54% <0.00%> (-0.92%)
:arrow_down:


Fixed Search Button Styles

Closes #1014
Changes proposed

Changed styles of input field, image and container div.
made div element to relative,
made serch icon absolute,
adjusted sizes, padding, margin of container, icon and field.

Screenshots

Note to reviewers
I had reviewed this with many viewports. Remember to label GSSOC.
Thanking You.

use second one

All are of a single commit.
3 pics are of 3 different screen-widths.
Issue is done by this PR.
Kindly Label the issue as GSSOC Plz..
Ths.

No conflicts!....reviewed

@ShristiSharan kindly connect with me via any social media like discord or LinkedIn or Insta.....I need to talk to you


No longer redirects on Chrome 46

This does not seem to work any longer. I'm running Chrome 46.0.2490.86 (64-bit). (No idea when it stopped working, as I just installed it.) But the redirect to issues?q=is:open doesn't occur.
When I get some time, I'll try to fix this. Opening an issue for future reference...

It redirects fine for me (Chrome 54) when going directly to issues: https://github.com/sindresorhus/show-all-github-issues/issues Clicking the Issues tab never worked (#3).

Confirmed. Help welcome :)


Add  pre-commit hooks

Description
Pre-commit hooks are very useful to avoid forgetting linting issues
To use them:
pre-commit install
That's all! When you will git commit, tests for linting and formatting will be run automatically for you 😱

@LaRiffle - sorry! @gmuraru and I were messing with the test workflow and it looks like there's some conflicts with this PR now. I think we're done for now (the tests are running correctly :smile: ).
Sorry about the hassle!


Allow the total number of slots to be changed

Even if only one slot is used, two PSG_MML_t objects will be created.
Therefore, modify PSG_MML_SLOT_TOTAL_NUM to allow a choice of 1 or 2 instead of 2 fixed.

There was a bug that prevented play when SG_MML_SHARE_SLOT0_DRIVER was false, which will be fixed along with this issue.


style prop only affects wrapper Input component

<Input style={{outline: '0'}} />
the outline: 0 style is being applied to the wrapper, not the input itself, so it has no effect at all

Thanks! This shouldn't be an issue anymore in v1


make QueryError represent single error

Closes #200
Description
QueryError represents single error
Client output
no changes to client output

Pull Request Test Coverage Report for Build 230425525

478 of 555 (86.13%)  changed or added relevant lines in 19 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.1%) to 87.678%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/protocol/src/results.rs
45
46
97.83%

src/sql_engine/src/ddl/drop_schema.rs
0
2
0.0%

src/sql_engine/src/dml/update.rs
12
16
75.0%

src/sql_engine/src/dml/select.rs
7
14
50.0%

src/sql_engine/src/lib.rs
2
10
20.0%

src/sql_engine/src/dml/insert.rs
18
27
66.67%

src/sql_engine/src/dml/mod.rs
4
17
23.53%

src/sql_engine/src/query/process.rs
8
21
38.1%

src/protocol/src/lib.rs
0
20
0.0%

Totals

Change from base Build 230309936:
1.1%

Covered Lines:
5550

Relevant Lines:
6330

💛  - Coveralls


Intellisense default colorization reporting false positive on std::namespace

Type: Bug
/*
No garuntee this will occur for you, but I have reinstalled vscode and
restarted my system many times
*/
#include
std::cout << "Did it false report std::cout for you aswell?";

What do you mean with that?

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

I think its just a fault with my include paths. After installing openssl zlib and curl libraries failed to include.
including c:/msys64/mingw64/include lead to std::cout being unrecognized and throwing errors.
Not sure how to fix this.

I still don't understand what this issue is about. If you are looking for a resolution please be precise, include steps, copy-paste friendly samples, what you are seeing (consider to illustrate with a gif/image), and what you are expecting

I am looking for normal code like this to not have false positive error reporting.
This happens with my c_cpp_properties.json reading:
{
    "configurations": [
        {
            "name": "Win32",
            "includePath": [
                "${workspaceFolder}/**",
                "c:/msys64/mingw64/include"
            ],
            "defines": [
                "_DEBUG",
                "UNICODE",
                "_UNICODE"
            ]
        }
    ],
    "version": 4
}

However if I remove c:/msys64/mingw64/include. the false positives no longer show. But libraries such as zlib or curl no longer can be included.

The most reason thing I have done, is build an openssl binary from its github. Afterwards these errors became a thing.
I have no idea why this would cause anything, so I doubt that that is it. Otherwise this bug arrived out of nowhere whilst I was programming.

/extCpp

It looks like this is caused by the C++ extension. Please file the issue to the C++ extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!

Alright thanks and sorry. This is my first time vscode to make a cpp project.


So I can keep track of how far someone has gone in the survey

I wanted a way to keep track of someone's progress in a particular survey. I don't think you already implemented this (and my apologies if I just missed it).

Have modified it a bit based on Slack discussion and manually added to the code base. Kindly closing it. Thanks!


Last month Usage for chargeback ( internal billing )

Hello,
Is there a way to get last month data for CPU, RAM and disk in term of usage or request ?
I'm wondering to use kubectl-cost with Kubecost core model to do that but for now, I don't found a way to pass information about the window range with a start and end date. Something like :
Kubectl cost --historical --start-date xxx  --end-date yyy

Hi @NM4, this is absolutely doable and I think it's a great idea. I'll see what I can do.

The window flag is equivalent to the window parameter for the official APIs. I have a PR https://github.com/kubecost/kubectl-cost/pull/61 now open to improve the documentation on that front.
For your specific use case, you can try --window lastmonth or, for a custom range, --window 2021-01-02T15:04:05Z,2021-02-02T15:04:05Z (see API docs).
Does that help?

Oh yes thank you !
Sorry I tried with last-month instead of lastmonth.
So you confirm that kubectl cost namespace --historical --windows -Agives me the cost per namespace for the last month. Right ?
In other hand, is this based on requests or real resource consumption ?

If you make that --window lastmonth, yes, that's correct.
This data is based on real resource consumption, which we calculate as the maximum of requests and actual usage. We have a small section in the main repo's FAQ that explains this in brief. We also have explanations of the metrics we emit (which the APIs are based on) here.

@NM4 did that suggestion give you what you need?
@michaelmdresser i can see about updating docs if so!

Sounds good, @NM4 any other valuable features that we can look at adding for you?!

I'm looking for the cost per namespace as asked in this thread but additionally with a label attached to namespaces that should be charge backed to teams. Something like a label "tobill=yes" that give this information.

@NM4 we would be able to aggregate by namespace label. We apply all namespace labels to any workload running in that namespace. Example uses would be something like these:
kubectl cost label -l app
kubectl cost label -l tobill

Does that meet you need or are you looking to do something else?

yes something like that but with cost aggregated by namespace and only the namespaces  that has the label are returned
kubectl create ns team1
kubectl label ns team1 tobill=true
....

kubectl cost namespace --historical --windows lastmonth --label tobill=true

Ok, cool, this sounds like our concept of filtering! This is available in the backing API that the plugin uses. We would just want to think through the best way to expose on kubectl. Something like this seems to make sense to me?
kubectl cost namespace --field-filter namespace=X,label.tobill=true

Modeling after field selector syntax -- https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/
Let us know what you think @NM4 and @michaelmdresser! We could open a new issue if this sounds like the right direction.

Yes it's exactly a filtering feature.
In my case, it would be nice if the aggregated costs are displayed by namespace ( by default all namespaces that has the label)

I absolutely like this idea. As for the specific case (only displaying namespaces that have a certain label) I don't believe the backing Kubecost APIs actually support this, unless @dwbrown2 knows differently. We can do other kinds of filtering, like if you have a list of namespaces that you want to view a subset of:
I could imagine a world where you use a regular kubectl command to generate a list of namespaces you want to see cost data for based on the label, then you can pass that list to kubectl cost. Something like
kubectl cost namespace --whitelist $(kubectl get ns -l ns-label=value -o CSV)

If that sounds like a good idea, I've opened https://github.com/kubecost/kubectl-cost/issues/65 where we can continue discussion.


[Code Addition Request]: Automate Workflows with File Management Tools

Have you completed your first issue?

[X] I have completed my first issue

Guidelines

[X] I have read the guidelines
[X] I have the link to my latest merged PR

Latest Merged PR Link
https://github.com/UppuluriKalyani/ML-Nexus/pull/324
Project Description
Description:
I propose creating a file automation tool for PyVerse to streamline tasks like moving, renaming, organizing, or backing up files. The goal is to automate routine file operations and reduce manual effort. This tool will improve productivity by organizing files efficiently.

Tech Stack:

Python Libraries: os, shutil, glob
Scheduling: cron (Linux) / Task Scheduler (Windows)
Error Handling: logging

Approach:

Write scripts to identify and process files based on extensions, dates, or patterns.
Automate file transfers (e.g., backups, folder reorganization).
Provide logs to monitor automation and handle errors gracefully.

How This Helps Users:

Automates mundane file tasks to save time.
Ensures files remain organized and up-to-date without manual effort.
Empower beginners by demonstrating how to automate workflows with Python.

Please assign this issue to me.
Full Name
Sanchit Chauhan
Participant Role
GSSOC, HACKTOBERFEST

Hi @UTSAVS26 , kindly add the required labels so that I can start working on the issue.

i am closing this one, you can raise 1 issue at a time


Several Triggers in a row "cancel each other out".

Describe the bug
In a room in my game (a kitchen) I have several appliances set right next to each other, and since I didn't want to turn them into actors, I used triggers for the interaction. I did this by attaching a "Add Script to A Button" event and a "Remove Script" event when you walk out. When you walk into the trigger right next to it, with no room in between, the trigger doesn't work. Neither does the one that you had just used when you walk into it or anything along the line of triggers. I also tried removing the script before adding a script, but it didn't work either.
To Reproduce
Steps to reproduce the behavior:

Create a scene.
Add several triggers next to each other with no space in between.
Attach the same program to each, I'm not sure if this is a bug with just adding a script to a button or anything. Walk in between them without moving outside of the trigger area and attempt to activate the code.
See error

Expected behavior
Nothing should happen after you walk in between them.
Screenshots
In all of these, I am pressing the "A" button.

Platform (please complete the following information):

Windows 11 Pro 23H2
GB Studio 3.2

What I think it's happening here is that when moving from Trigger A to Trigger B, Trigger B.On Enter executes before Trigger A.On Leave.
Meaning that order of execution is:
Trigger B.On Enter
  - Attach Script to Button

replacing whatever was attached when entering Trigger A, and then
  - Remove Script

and thus removing whatever was attached when entering Trigger B.
I think it's still the case that there's no guarantee about the execution order of scripts (as mentioned in https://github.com/chrismaltby/gbvm/pull/160) but assuming in your case On Enter > On Leave it's consistent, then you should be able to delay the execution of On Enter by adding a GBVM block before the On Enter event like the one below:


[admin] Publish

Docs Build status updates of commit 9c3c699:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/pivottables.md
:white_check_mark:Succeeded
View

docs/images/day-to-day-changes-flow-1.png
:white_check_mark:Succeeded
View

docs/images/day-to-day-changes-flow-2.png
:white_check_mark:Succeeded
View

docs/images/day-to-day-changes-flow-3.png
:white_check_mark:Succeeded
View

docs/images/day-to-day-changes-flow-4.png
:white_check_mark:Succeeded
View

docs/resources/samples/add-excel-comments.md
:white_check_mark:Succeeded
View

docs/resources/samples/add-image-to-workbook.md
:white_check_mark:Succeeded
View

docs/resources/samples/clear-table-filter-for-active-cell.md
:white_check_mark:Succeeded
View

docs/resources/samples/community-seasons-greetings.md
:white_check_mark:Succeeded
View

docs/resources/samples/copy-tables-combine.md
:white_check_mark:Succeeded
View

docs/resources/samples/daily-readings.xlsx
:white_check_mark:Succeeded
View

docs/resources/samples/email-images-chart-table.md
:white_check_mark:Succeeded
View

docs/resources/samples/excel-cross-reference.md
:white_check_mark:Succeeded
View

docs/resources/samples/get-table-data.md
:white_check_mark:Succeeded
View

docs/resources/samples/move-rows-across-tables.md
:white_check_mark:Succeeded
View

docs/resources/samples/remove-hyperlinks-from-cells.md
:white_check_mark:Succeeded
View

docs/resources/samples/report-day-to-day-changes.md
:white_check_mark:Succeeded
View

docs/resources/samples/samples-overview.md
:white_check_mark:Succeeded
View

docs/resources/samples/table-of-contents.md
:white_check_mark:Succeeded
View

docs/resources/scenarios/analyze-web-downloads.md
:white_check_mark:Succeeded
View

docs/resources/scenarios/grade-calculator.md
:white_check_mark:Succeeded
View

docs/resources/scenarios/punch-clock.md
:white_check_mark:Succeeded
View

docs/resources/scenarios/schedule-interviews-in-teams.md
:white_check_mark:Succeeded
View

docs/resources/scenarios/task-reminders.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

This comment lists only the first 25 files in the pull request.
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


KP-360: search function for programme syllabuses page

Added text input field and search function to let user filter programme syllabuses
Updated SearchInput to with properties realTimeUpdates and label in order to make it a more general component that can be used in other places
Added test cases for search

LGTM!
Possibly add an info text for when there are no matches. Do so if you agree. Other than that it's perfect! Good job :)

Good idea!


removing password from toString

How did the code work out? I'm asking because I'm not yet familiar with this part of the codebase.


New method for automatically setting folding factors

Background: https://github.com/Xilinx/finn/issues/297
This transformation sets the folding factors for a network and guarantees that constraints are satisfied - both on a node-level and between nodes. It has been tested against the CNV networks and MobileNet-v1 and the folding factors created look good. The algorithm maps out every single "legal" folding configuration for the nodes and iteratively updates the slowest nodes to increase overall network throughput - hence the name SetFoldingExhaustive
Caveats:

Included small dictionary with boards to briefly show how resource limits can be taken into account during optimization. Will most likely need something like https://github.com/Xilinx/finn-experimental/blob/main/src/finn/util/platforms.py in order to have a more rigid structure around the boards. If a board is not passed, the target cycle count will suffice as a target for the optimization.

Nodes that do not have lut_estimation() - for these nodes, I made the assumption that they have insignificant resource usage and they'd be updated during optimization if necessary. Possible to model their resource usage post-synthesis for different ranges of folding configs and then use that relationship to estimate resources, but maybe there's a reason for them not to have a lut_estimation() method?

As with AllocateResources, the algorithm makes use of a downscaling factor. Rather than 0.7, it is set to 0.85. Maybe need to set it lower if point above does not hold and those nodes have a significant resource usage.

For future work in this space, I think it would be interesting to start taking more resources into account (BRAM, DSPs, URAM) as these resources are not being set automatically in most cases. I also believe this setup would be useful here, since the data structure containing the possible folding factors for a node, also holds the estimated resource use for that folding configuration. Thus the algorithm could be extended to make use of these resource estimates as well.
The very high-level steps of the algorithm are shown here. Taken from our BSc thesis where the work only applied to CNV networks so it might differ slightly since support for MobileNet-v1 has been included in the code.

Thanks Neil! I want to make sure we give this a thorough review as it's a critical part of FINN, so I've requested a few extra reviews on this from colleagues.

Is there a reason why a new platforms dictionary was added instead of using the one in finn-experimental? @maltanar Should we be proactive and plan to merge the finn-experimental platforms definition into FINN with this PR, instead of adding yet another platform definition dictionary? At minimum @neilkimn should consider reworking the PR to use the platform definitions in finn-experimental (since FINN docker now provides finn-experimental).
Finally, PR #346 is related to this one as it fixes resource estimates for external-weights FC layers and increments finn-experimental version. I think that PR should be merged first.

Hi @neilkimn ,
thank you a lot for your pull-request. This feature seems to be something that indeed many people are interested in. As example, I also implemented a variation of this during my master thesis, but the code base is not as polished as yours.
So far I only got to take a top-level look at  your implementation, but a few questions and comments already came up:

It might make more sense to use target_fps instead of target_cycles_per_frame, since the clk_ns is also given. This would make it easier for users to understand what they are influencing and this is also what the DataflowBuildConfig uses.
During testing I noticed that the transformation will fail with a cryptic TypeError, if the nodes in the model graph don't have names. As such it would be necessary that the  SetFoldingExhaustive implementation either executes GiveUniqueNodeNames before starting or confirms on it's own that all nodes have names.
In some cases finn-hls also has boundary conditions for the minimum number of the SIMD parameter. These stem from the fact that vivado_hls enforces that ARRAY_PARTITION COMPLETE variables are at most 1024 elements large, see this form post: https://forums.xilinx.com/t5/High-Level-Synthesis-HLS/ARRAY-PARTITION-COMPLETE-has-exceeded-the-threshold-1024/td-p/862145
The only case that I found where the folding is impacted by this in practice is in the  Matrix_Vector_Activate_Batch function, here: https://github.com/Xilinx/finn-hlslib/blob/b37337c571b98f40423020bc79f97e189f2661d5/mvau.hpp#L108
This means that the following relation should be obeyed for the StreamingFCLayer_Batch nodes: SIMD > mw / 1024. Otherwise the synthesis is bound to fail. This is in particular important when setting the folding factors from scratch.

It would be great if you could take a closer look at these comments.
Again, thank you a lot for your PR. It is highly appreciated!

Hi all,
Thanks for the thorough feedback and insightful comments. @quetric, I largely agree with your points on using the information supplied by the platforms in finn-experimental and have thus changed the instantiation of the class to not make use of any board definitions for now. Until more has been decided on incorporating what's available in finn-experimental, I belive this will suffice (it does however move the 'issue' of utilizing the board definitions further upstream and the user can, of course, go through the build steps without specifying a board.)
@HenniOVP, regarding your first point, I absolutely agree. I did, however, follow the 'convention' of step_target_fps_parallelization() and assumed that the target cycles would be resolved in the same manner. If this has/is going to be changed I am happy to make that change. For your second and third point, thanks a lot - I've added changes addressing those.


Release Google.Maps.FleetEngine.V1 version 1.0.0

Changes in this release:
No API surface changes; just dependency updates and promotion to GA.

Created release for Google.Maps.FleetEngine.V1-1.0.0


Various dice rolls not possible for PCs when TH is loaded

Hello.
Several of my players were not able to do rolls from their char sheet or Token Action HUD today (like skill rolls). It changed which player was able or not, but it reproducible was solved by unloading Token Hotbar.
v9 + PF2E system

Hi! Thanks for the report again. I'll be looking into these issues this week. :)

I'm unable to reproduce this with just Token Hotbar. Do you have any specific information about the rolls or players? Are there any errors appearing in the console (F12)?
Would it be possible to share your world with me?

The rolls were just trying to click on skill via sheet tab or on strikes via Token Action HUD. No roll would happen (no reaction to click). As a GM I was always able to do the click for the players that were affected at any time.
A total of 6 players where connected (+GM) and with reloads the players being affected sometimes changed. I suspect the number of logged in players may affect this.
I used "Find the culprit" and had my players do one roll each after every reload of FtC and in the end only Token Hotbar was left in combination with: libWrapper, lib - Color Settings, Library: DF Hotkeys, socketlib and TidyUI - Game Settings.

More users have experienced this issue.

My players just experienced this issue as well, this is the error shown in the console, although it doesn't say much

I can sort of reproduce it, so let me know if there's more info that could be useful

after a bit of digging I think I found the issue, seems to be some conflict with PF2e Player Settings defaults
steps to reproduce: (FoundryVTT v9.269, PF2E v<IP_ADDRESS>47, Token Hotbar v1.3.1)

Create World with Pathfinder 2nd Edition system
Join world as Gamemaster
Enable Token Hotbar
Create blank Scene
Create Player Character actor, don't fill it in
Move token into scene
Open token Character Sheet (double click on token, not on actor in sidebar)
Roll any skill (e.g. Perception located in sidebar)

ERROR SHOULD BE VISIBLE in console and no roll should be possible from that user by clicking any dice button
in order to fix this, the following should be done:

Refresh page, this returns the flags to the user
Make sure token is not selected
Navigate to Game Settings
Open  PF2e Player Settings
Save configuration, no need to modify anything, the defaults work just fine

ERROR SHOULD GO AWAY and never returns

the line causing this seems to be
https://github.com/janssen-io/foundry-tokenhotbar-js/blob/a48b93f2b27e1d3ce10e843f860743c39c1e2a01/src/features.mjs#L86
for some reason it's removing the flags from the user, but only the ones set from defaults as far as I can tell, it could be a bug in either pf2e system or foundry

Thank you so much for figuring this out! It might have to do with the recursive: false flag I pass along. Not sure what is the right way to fix this, but I’ll discuss in on the community discord channel. :) To be resumed 😀

Just to report back: this is still happening, so I disabled the module again.

Thanks for the update Weissrolf. Unfortunately, I haven't been able to come up with a solution just yet. I just asked for support on Discord (module-development channel). When there's an update, I'll report back here. :)


Deprecated: strlen(): Passing null to parameter in Progress.php

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /vendor/league/climate/src/TerminalObject/Dynamic/Progress.php on line 216

Call Stack:
    0.0003     435200   1. {main}() /view.php:0
    7.6875   16849320   2. League\CLImate\TerminalObject\Dynamic\Progress->advance($increment = ???, $label = ???) /view.php:89
    7.6875   16849320   3. League\CLImate\TerminalObject\Dynamic\Progress->current($current = 15507, $label = NULL) /vendor/league/climate/src/TerminalObject/Dynamic/Progress.php:125
    7.6875   16849320   4. League\CLImate\TerminalObject\Dynamic\Progress->drawProgressBar($current = 15507, $label = NULL) /vendor/league/climate/src/TerminalObject/Dynamic/Progress.php:111
    7.6875   16849352   5. League\CLImate\TerminalObject\Dynamic\Progress->getProgressBar($current = 15507, $label = NULL) /vendor/league/climate/src/TerminalObject/Dynamic/Progress.php:183
    7.6875   16849512   6. strlen($string = NULL) /vendor/league/climate/src/TerminalObject/Dynamic/Progress.php:216

Running on PHP 8.2. Passing in the label to progress calls as an empty string '' fixes the notice.
Related to #190

Fixed in a20112f29623cd66d175e3099a98824f437d21a9


Use ABP (with Module-Zero) as a Authorization Server

Hi guys. I have been searching for a way of doing some integration between existing projects and ABP functionalities.
All the samples that I see have module-zero inside but what I need is something like this:
ProjectA: Security Manager
*This one implement everyting module-zero offers: Users, Roles, Permission Check, etc.
*Also Login, User registration, etc.
Project B,
*Project without module-zero but authenticate with ProjectA with provided username, password, etc.
*Permission Check with the ones granted in ProjectA.
**So here by example I want to use something like this:
[AbpMvcAuthorize(PermissionsName.UsersEdit)]
public void UserEdit(UserEditDto input)
{
}
Project C
*Same project B
So my problem is that I can't find a way to do it without having all the things that module-zero has (DbContext, User, Tenant,etc tables).
In other words: create an application as a central authentication and authorization end-point and use the same feature. Hope you understand :)

Yes, you can integrate identityserver3 and use oauth it is possible to do
this, I've done it.
El El vie, 16 de junio de 2017 a la(s) 10:40 a.m., Ramon Gutierrez <
<EMAIL_ADDRESS>escribió:

Hi guys. I have been searching for a way of doing some integration between
existing projects and ABP functionalities.
All the samples that I see have module-zero inside but what I need is
something like this:
ProjectA: Security Manager
*This one implement everyting module-zero offers: Users, Roles, Permission
Check, etc.
*Also Login, User registration, etc.
Project B,
*Project without module-zero but authenticate with ProjectA with provided
username, password, etc.
*Permission Check with the ones granted in ProjectA.
**So here by example I want to use something like this:
[AbpMvcAuthorize(PermissionsName.UsersEdit)]
public void UserEdit(UserEditDto input)
{
}
Project C
*Same project B
So my problem is that I can't find a way to do it without having all the
things that module-zero has (DbContext, User, Tenant,etc tables).
In other words: create an application as a central authentication and
authorization end-point and use the same feature. Hope you understand :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aspnetboilerplate/module-zero/issues/387, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIycYZGytpz5FBBIyBDzkUsr1oXPydTdks5sEqHjgaJpZM4N8neo
.

Thanks for replying.
Do you have an example?

If you are using asp.net core then we have an integration with identity server 4 (https://aspnetboilerplate.com/Pages/Documents/Zero/Identity-Server).

Thanks @hikalkan.
I dont have problem using the asp.net core version but my intention is to use multiple applications with one set of user accounts.
So in ProjectA I manage users, tenants, roles, permissions, etc.
And in other projects (that have its own database and don't have Users table) I log in with the users created in ProjectA.

Identity Server 4 is for that: You can use one of the applications (say "main" app) as user source and make other applications login with the main application. But permissions can not be stored in the main app because every application know their own permissions (I think this should be expected). And also, other applications will have Users tables but those tables will just used to store user informations locally, they will not use their own Users tables for authentication.
But we don't provide any guide or documentation to implement this scenario, because this is completely related to Identity Server and it has their own documentation for it: https://identityserver4.readthedocs.io/en/release/quickstarts/3_interactive_login.html

Thanks again with your support.
"But permissions can not be stored in the main app because every application know their own permissions (I think this should be expected)" The problem doing this way for what I want to do is that even I have every application having its own permissions, managing would be too difficult if I don't have it in a centric application.
But I think we can make this work doing something like this:
In other applications when you create permissions you save it to the central database through "main App" Permission service.
When you login, you get associated roles and permissions (hope I can do it this way). What do you think @hikalkan ?

Identity server is an identity server not a permission server. I think each
app/service should manage permissions in its own way otherwise it would be
a nightmare to centrally manage te permissions based on roles/claims.
I'm still in the process of figuring out, if this is the best approach
El El dom, 18 de junio de 2017 a la(s) 10:12 p.m., Ramon Gutierrez <
<EMAIL_ADDRESS>escribió:

Thanks again with your support.
"But permissions can not be stored in the main app because every
application know their own permissions (I think this should be expected)"
The problem doing this way for what I want to do is that even I have every
application having its own permissions, managing would be too difficult if
I don't have it in a centric application.
But I think we can make this work doing something like this:
In other applications when you create permissions you save it to the
central database through "main App" Permission service.
When you login, you get associated roles and permissions (hope I can do it
this way). What do you think @hikalkan https://github.com/hikalkan ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aspnetboilerplate/module-zero/issues/387#issuecomment-309328561,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIycYcKLxhZK10dORv78uwFGcugi6yHvks5sFecCgaJpZM4N8neo
.

@wocar I agree.
I was doing some research and found a demo of something what I want:
https://github.com/codingfreak/blogsamples/tree/master/AspNetIdentity
It implements asp.net identity as a service.
Hope to verify if this can satisfy my need. Thanks again.

Identity server and Module Zero are already based on this framework! If you
already have a user table just run identityserver pointing to your existing
database and it should work. However in my case because there is not
identityserver3 nuget and I'm not using net core I had to setup all the
registrations manually but now, it's working.
El El lun, 19 de junio de 2017 a la(s) 9:04 a.m., Ramon Gutierrez <
<EMAIL_ADDRESS>escribió:

@wocar https://github.com/wocar I agree.
I was doing some research and found a demo of something what I want:
https://github.com/codingfreak/blogsamples/tree/master/AspNetIdentity
It implements asp.net identity as a service.
Hope to verify if this can satisfy my need. Thanks again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aspnetboilerplate/module-zero/issues/387#issuecomment-309449506,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIycYaY39jozXhB8x1dLLn9Kuse09afwks5sFn_WgaJpZM4N8neo
.

In addition;
ABP and module-zero has good extension points. Example;

IPermissionChecker is the main extension point that you can check if a user has granted for a permission. You can replace this by your own implementation to check permissions from any source. Module-zero implements this to check from UserManager.
Another extension point can be replacing IRepository<UserPermissionSetting, long> with your own implementation that works with a second dbcontext connects to another database. Thus, not only 'checking permissions' works but also changing permissions will properly work.

You can investigate source code to find proper ways of extending it based on your needs.

Wow thanks again for the support you give to us.
I was thinking in using another dbContext that have the user information and permissions. i will check how to override the default behavior.

Use oauth in conjunction with identityserver!! You will not regret that.
And regarding permissions, te approach I am using is very basic. I use the
settings manager for permissions and I wire it up using pernissionchecker
El El lun, 19 de junio de 2017 a la(s) 1:03 p.m., Ramon Gutierrez <
<EMAIL_ADDRESS>escribió:

Wow thanks again for the support you give to us.
I was thinking in using another dbContext that have the user information
and permissions. i will check how to override the default behavior.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aspnetboilerplate/module-zero/issues/387#issuecomment-309519344,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIycYfkG-Omhk9_digo1lT5HfO-pcGlyks5sFrgDgaJpZM4N8neo
.

@wocar Do you have a repo with that integration?


Using LayoutKit with UITableViewDataSource

Hey! I'm trying to use LayoutKit with a regular UITableViewDataSource/UICollectionViewDataSource. Looking through StackViews code, it isn't quite clear how this would work 😕 .

How would you convert a Layout to a UITableViewCell? How do you induce Layout?
How would you calculate the height for each row/size at each indexPath?

@codeOfRobin for a UITableView or UICollectionView I'd recommend using ReloadableViewLayoutAdapter. It produces layout arrangements from the layouts supplied by your code and uses that to populate the cells and respond to the sizing callbacks.


Implement sendToRooms Functionality To Allow Hubot To Send Message To List of Rooms

Is it possible to implement a sendToRoom functionality that'll allow the bot to send a message to rooms/channels/private groups that he is in by its name (rather than channel ID)?
It was mentioned by @NioTeX that we could perform the following:
robot.respond /send to rooms/i, (res) ->
   res.envelope.room = "room1"
   res.send "Hello room1"
   res.envelope.room = "room2"
   res.send "Hello room2"

It would be neat if we could sendToRoom('general','channel1','channel2','privateGroup1')

@richardwlu I guess I don't understand... We already have the ability to send to any room you would like.  With the sendMessage method.  Do we really need more?

@richardwlu   Are you looking for send to a list of rooms within one single 'send'  call?  If so, please revise the title of this ticket.  Thanks.

@geekgonecrazy I can see that we could set the res.envelope.room prior to each res.send. I just believe this can provide a cleaner and consistent use.
In our case, we have a script that uses hubot to message a specific list of channels of a particular event (such as of a high priority ticket).
Currently, we need to use the room ID, which is obscure compared to being able to send to a room name (forgive me if this is possible, but during my tests I had to use a room ID res.envelope.room = '9LQHZfHRtrKf5FAvh'). The only way I got the room ID was either 1) looking for it in the mongodb and hard coding or 2) finding it through inspecting element on the site and hard coding the value. The solution I am leaning towards is creating a REST service out of the Rocketchat mongodb so I can make these calls passing in a channel name that will return the room ID.
If there is a better way to connect to the mongodb from hubot that I am not seeing, I am all ears!
@Sing-Li I hope the new title is more appropriate.

+1 for being able to use the room name instead of the room ID (which is admittedly hard to find).

Hey @richardwlu, please see my comments on #136. I've got some scripts sending to multiple rooms in a Hubot script I'm currently developing, DM announcements.
Its not as straight forward as sending to multiple rooms with one command, but you can probably build that function for yourself using my methods as an example.
Such a method would still need to step through each room and sending individual messages, but that's probably still the better way of handling it, because you'd want to handle the resulting response separately anyway, e.g. saving the sent ID to the robot brain or more important would be to catch and log errors sending to one of the rooms but not others.


[Feature Request]: Adding Of Contributing.md

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
The contributing.md file is not present and it may cause some confusions and problems to the contributors while contributing.
Use Case
Adding it will make the contribution easier for the contributors. Also it will help them understand all the correct coding practices. Please can you assign me this issue. I will ensure that I will do my best. Please also add gssoc extend label.
Benefits
No response
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[ ] I'm a WOB contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

okay @milansamuel609 ,
assigned to you,

okay @milansamuel609 , assigned to you,

Thank you so much for this opportunity. I will give my best and create a good Contributing.md

Hey @milansamuel609 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

Hey @milansamuel609 ! Thank you so much for your raising the issue💗 It’s all yours, you can come anytime again and make some contributions! 🚀 Alone, we can do little, but together we can do so much! 😇

Thank you so much for the appreciation.


TypeError: unsupported operand type(s) for |: 'type' and 'type'

Describe the bug
Can't run crackmapexec because of the following error : "TypeError: unsupported operand type(s) for |: 'type' and 'type'" from  crackmapexec/lib/python3.8/site-packages/aardwolf/extensions/RDPEDYC/vchannels/init.py", line 22
Bug appearsa after à fresh install of cracmapexex by following instructions from and by trying to run crackmapexec for the first time.: https://wiki.porchetta.industries/getting-started/installation/installation-on-unix : Python Package
To Reproduce
Steps to reproduce the behavior:

Go to 'https://wiki.porchetta.industries/getting-started/installation/installation-on-unix' and follow the Python Package instructions .
Run crackmapexec

Expected behavior
Show help message and exit
Screenshots

Crackmapexec info

OS: [WSL - Ubuntu]
Version of CME [5.4.1]
Installed from Python Package / Github

Additional context
Stack Trace:
Traceback (most recent call last):
File "/home/unixjesus/.local/bin/crackmapexec", line 8, in
sys.exit(main())
File "/home/unixjesus/.local/pipx/venvs/crackmapexec/lib/python3.8/site-packages/cme/crackmapexec.py", line 117, in main
args = gen_cli_args()
File "/home/unixjesus/.local/pipx/venvs/crackmapexec/lib/python3.8/site-packages/cme/cli.py", line 76, in gen_cli_args
protocol_object = p_loader.load_protocol(protocols[protocol]['path'])
File "/home/unixjesus/.local/pipx/venvs/crackmapexec/lib/python3.8/site-packages/cme/loaders/protocol_loader.py", line 15, in load_protocol
protocol = imp.load_source('protocol', protocol_path)
File "/usr/lib/python3.8/imp.py", line 169, in load_source
module = _exec(spec, sys.modules[name])
File "", line 604, in _exec
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/unixjesus/.local/pipx/venvs/crackmapexec/lib/python3.8/site-packages/cme/protocols/rdp.py", line 11, in
from aardwolf.commons.factory import RDPConnectionFactory
File "/home/unixjesus/.local/pipx/venvs/crackmapexec/lib/python3.8/site-packages/aardwolf/commons/factory.py", line 4, in
from aardwolf.commons.iosettings import RDPIOSettings
File "/home/unixjesus/.local/pipx/venvs/crackmapexec/lib/python3.8/site-packages/aardwolf/commons/iosettings.py", line 5, in
from aardwolf.extensions.RDPEDYC.channel import RDPEDYCChannel
File "/home/unixjesus/.local/pipx/venvs/crackmapexec/lib/python3.8/site-packages/aardwolf/extensions/RDPEDYC/channel.py", line 15, in
from aardwolf.extensions.RDPEDYC.vchannels import VirtualChannelBase
File "/home/unixjesus/.local/pipx/venvs/crackmapexec/lib/python3.8/site-packages/aardwolf/extensions/RDPEDYC/vchannels/init.py", line 6, in
class VirtualChannelBase:
File "/home/unixjesus/.local/pipx/venvs/crackmapexec/lib/python3.8/site-packages/aardwolf/extensions/RDPEDYC/vchannels/init.py", line 22, in VirtualChannelBase
async def channel_rawdata_in(self, msg:DYNVC_DATA_FIRST | DYNVC_DATA):
TypeError: unsupported operand type(s) for |: 'type' and 'type'
Understanding the error
Error is due to to the unsupported operand '|' which is only available on Python 10.x.x but Python 3.8 is used.
Fixing the error
vim crackmapexec/lib/python3.8/site-packages/aardwolf/extensions/RDPEDYC/vchannels/__init__.py
at line 22 change:
async def channel_rawdata_in(self, msg:DYNVC_DATA_FIRST | DYNVC_DATA):
to:
async def channel_rawdata_in(self, msg:DYNVC_DATA_FIRST or DYNVC_DATA):

Thanks for the report ! fix is on his way

fixed


Fix loki and mimir recording rules names

This PR is needed when merging https://github.com/giantswarm/prometheus-rules/pull/1131
We replace all cluster_ recording rule names to cluster_id_ because this will happen later with https://github.com/giantswarm/dashboards/pull/494/files#diff-ef4e59a3c6370ac20eb8147e98a4df61ff27637aa16fd900b81e8040b9d57f3c anyway
Checklist

[x] Update changelog in CHANGELOG.md in an end-user friendly language.

I'm waiting for this https://github.com/giantswarm/prometheus-rules/pull/1131 to be merged first :)


Fix: Destory existing element tree on reinitialization

When an async alpine component changes place in a DOM as a result of a backend request, it gets reinitialized without the first instance getting destroyed resulting in duplicated events getting dispatched from the same component.

Thanks @awcodes! This has been merged and released in v1.2.1 today.

Really appreciate it.


There is an old Logo of X (Twitter) in the social media icon

Description
There is an old Logo of X (Twitter) in the social media icon
i want to solve this issue.
Screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@pankajsaini1, do one thing: instead of the Twitter icon, add the GitHub icon and insert the Ezyshop GitHub repo link. In the LinkedIn icon, insert the LinkedIn link found in the README.md, and instead of Facebook, add the Discord icon and include the Discord invite link, which is also available in the README.md.

I have to work on that will you please assign it to me.

Hello sir , I have to work on that will you please assign it to me.

@mdazfar2 my pr is is merged but why there is no changes in website.

@pankajsaini1, because you didn't update your branch, the current changes were removed and replaced with the previous ones. So, unfortunately, I had to revert all of your changes that I merged from your PR.

can i again raise a issue and make new pull request.

@pankajsaini1 i reopened this issue and created PR referencing the same issue.

Changes description-
Instead of the Twitter icon, add the GitHub icon and insert the Ezyshop GitHub repo link. In the LinkedIn icon, insert the LinkedIn link found in the README.md, and instead of Facebook, add the Discord icon and include the Discord invite link, which is also available in the README.md.

Hello! I’m excited to work on this issue as a GSSOC'24 contributor. Could you please assign it to me?

sure @Pariyul go ahead issue is assigned to you.

It looks interesting! will you please assign it to me.

Hey @Samyak137, I appreciate your interest, but this issue is already assigned to two others. I will mention you in another issue if possible! Thank you.

Sure @mdazfar2
Thank You!

Hey, I'm quite familiar with and can solve your issue quickly, kindly assign it to me, I'm interested  !!!!

no response closing issue for now


[GitHub Actions] Make use of GitHub Actions for spell checking

📝 Provide a description of requested docs changes
microsoft/terminal makes use of GitHub Actions to find spelling errors in code and docs
What is the purpose and what should be changed?
This is different from regular spell checkers. It can understand that WordCanBeCombined and things like that.
#7577 reminds us that spelling error can go unchecked
I believe that terminal is using this particular Action.
You can choose to ignore certain words by committing those words in a txt file in PR itself.

this is a good idea

@DHowett what action is your team using for spelling?

I believe it’s @jsoref’s spell checking action. He has been really on top of things, and it’s an excellent part of our CI pipeline. You could copy our setup directly.

Yeah, happy to help (probably next week)

fwiw, I apparently did this a while ago, so you could start here: https://github.com/jsoref/PowerToys/tree/spell-check

Closing this issue because it's fixed and is not relevant to release


[FLINK-5005] WIP: publish scala 2.12 artifacts

[ ] General

The pull request references the related JIRA issue ("[FLINK-XXX] Jira title text")
The pull request addresses only one issue
Each commit in the PR has a meaningful commit message (including the JIRA id)

[ ] Documentation

Documentation has been added for new functionality
Old documentation affected by the pull request has been updated
JavaDoc for public methods has been added

[ ] Tests & Build

Functionality added by the pull request is covered by tests
mvn clean verify has been executed successfully locally or a Travis build has passed

This is an initial approach to make flink scala 2.12 ready.
I've introduced profiles to switch between 2.12, 2.11 and 2.10. All three profiles now compile.
mvn clean install -D$version where $version is scala-2.12, scala-2.11 or scala-2.10.
To overcome the flakka artifacts (akka2.3-custom) for scala 2.12, I've replaced them with the latest typesafe-akka artifacts when using the 2.12 profile.
TravisCI profiles are added and I've changed the initial release script to accomodate for 2.12, but this is by no means finished.
I encountered a lot of compilation errors, because types could not be inferred. Therefore I've added types to problematic expressions.
The kafka 0.10 dependency is bumped to <IP_ADDRESS> since that's the first released version for 2.12.
There is some trickery in the connector-parent-pom because only kafka-0.10 is released for 2.12, kafka-0.9 and kafka-0.8 aren't compiled for 2.12. I've to look into that a little more.
More updated dependencies:
javassist was bumped because of java.lang.IllegalStateException: Failed to transform class with name scala.concurrent.duration.Duration. Reason: javassist.bytecode.InterfaceMethodrefInfo cannot be cast to javassist.bytecode.MethodrefInfo. which led me to: http://stackoverflow.com/questions/31189086/powermock-and-java-8-issue-interfacemethodrefinfo-cannot-be-cast-to-methodrefin#37217871
twitter-chill was bumped to 0.7.7 version for cross-compiled versions.
grizzled slf4j was bumped for scala 2.12 to version 1.3.0.
scalatest was bumped for scala 2.12 to version 3.0.1
Right now I'm trying to make the travis build succeed.
I will squash all commits once this succeeds.
Any other suggestions are welcome!

@DieBauer thanks for taking this on! I haven't been using Flink with Scala but I think this will be important to have for the May release.
The required changes for type inferences are interesting. I'm puzzled why this would regress. Also, if developers are writing against 2.10 then these issues will not manifest until integration tests are run (the same problem you are experiencing).
One other thought: since Scala 2.12 requires Java 8, is it still necessary to specify jdk8 when executing the scala-2.12 profile?
Flink Forward starts Monday so developer activity will be low this week. @StephanEwen thoughts when you have the chance?

I'm running into an issue with asm in for example the flink-scala module, when compiling with 2.12.
java.io.IOException: Class not found
	at org.objectweb.asm.ClassReader.a(Unknown Source)
	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
	at org.apache.flink.api.scala.ClosureCleaner$.getClassReader(ClosureCleaner.scala:44)
	at org.apache.flink.api.scala.ClosureCleaner$.getInnerClasses(ClosureCleaner.scala:92)
	at org.apache.flink.api.scala.ClosureCleaner$.clean(ClosureCleaner.scala:115)
	at org.apache.flink.api.scala.DataSet.clean(DataSet.scala:125)
	at org.apache.flink.api.scala.DataSet$$anon$12.<init>(DataSet.scala:910)

since the closurecleaner was initially copied from spark, I've looked there and found an issues (https://github.com/apache/spark/pull/9512) regarding asm5 and java8.
However, flink is already using asm5 in the closurecleaner. Their dependency is
<groupId>org.apache.xbean</groupId>
<artifactId>xbean-asm5-shaded</artifactId>

and ours is from org.ow2.asm, asm. There are things going on in the shaded plugin in the parent pom with regard to relocating dependencies of asm, but I'm not sure how that all works out.
So for now, I'm a bit puzzled why we get this error.
@greghogan you're right, the profile jdk8 is only enabling the module with examples in java8. But since they are also compiled in the scala-2.11 case, I thought we want to have them? We can drop it of course.

Ok, started looking into the issue a bit more.
It seems like it has to do with the new lambda generation in scala 2.12 and not with the asm library.
From the scala 2.12-M3 release notes (https://github.com/scala/scala/releases/tag/v2.12.0-M3):

Java 8 style closure classes
Scala 2.12 emits closures in the same style as Java 8.
For each lambda the compiler generates a method containing the lambda body.
At runtime, this method is passed as an argument to the LambdaMetaFactory provided by the JDK, which creates a closure object.
Compared to Scala 2.11, the new scheme has the advantage that the compiler does not generate an anonymous class for each lambda anymore.
This leads to significantly smaller JAR files.

Our ClosureCleaner uses the class name for instantiating the ClassReader, which is used later on.
However, since scala2.12 doesn't generate anonymous classes, the file isn't found (null), therefore we get class not found exception, which make sense now.
We have to look into how to circumvent/implement this new generation of 'lambdas'.
A small technical example, the testclass which throwed an exception AcceptPFTestBase.
And then the line containing: protected val groupedTuples = tuples.groupBy(_._1)
Since tuples is a Dataset the function that we have to check is _._1 (an anonymous function).
when compiling/executing with scala 2.11
we get class org.apache.flink.api.scala.extensions.base.AcceptPFTestBase$$anonfun$1 as cls in the ClosureCleaner.getClassReader method.
And this is indeed a file generated by the scala compiler and can be resolved by ls.getResourceAsStream(className).
However when using scala 2.12
we get class org.apache.flink.api.scala.extensions.base.AcceptPFTestBase$$Lambda$11/1489743810 which is not an existing file, and cannot be resolved by ls.getResourceAsStream(className).
Concluding, according to me, with the new scala 2.12 style with lambdas, the current closurecleaner doesn't suffice.
There is also a Spark issue (https://issues.apache.org/jira/browse/SPARK-14540) regarding closures in scala 2.12/java8.
Any thoughts how to proceed?

One thing you can try and do is to run TypeExtractionUtils.checkAndExtractLambda to see if it is a generated serializable Lambda.
In the case of a Lambda, you could switch to a different code path (possibly not clean anything in the first version).
@twalthr may have some thoughts on that as well...

We cannot add any other dependencies to the pom files. Adding "akka" back will create a conflict with the "flakka" files.
What we can do is wither of the following two options:

Release "flakka" for Scala 2.12 and then we need to change nothing in Flink. The flakka code is at https://github.com/mxm/flakka - we can do the release, you could help up by checking out what needs to be done to use flakka with Scala 2.12 (if it is at all possible)

See if we can pull out the dependency as a property ans use "flakka" int the Scala 2.10 and 2.11 case and use vanilla akka 2.4 in the java8/scala2.12 case. That would be a lot of Maven hacking, though - if possible, I would prefer the first variant (less complexity in Flink).

We can also not add more Travis build profiles (builds take too long already). We need to keep that number as it is and simply select one of these profiles to use Scala 2.12 rather than for example 2.10.

Going into the direction of dropping flakka would be a good win for users of Flink like us that are dealing everyday with SBT/Maven hacking to be able to use vanilla Akka and Flink.

@joan - I actually agree with you. We needed to use "flakka" to be able to support Java 7 and bind to a wildcard address (across interfaces).
Would be great to be able to do that differently and not have a custom akka build (at least for Java 8 / Scala 2.11 / 2.12)

Java 7 Reaches End of Life. Oracle ceased public availability of security fixes and upgrades for Java 7 as of April 2015
We are in 2017

@StephanEwen but I understand if there is people still using Java 7 👍

There is about 10% Flink users on Java 7 (we did a poll recently).
Big clusters change slowly...

@joan38 I have some WIP for a flag that allows you to use vanilla akka when running on Java 8, Scala 2.11
Here is the branch: https://github.com/StephanEwen/incubator-flink/commits/vanilla_akka
You can try to build it via: mvn clean package -Dscala-2.11 -Pjdk8,vanilla-akka

@StephanEwen Nice! That looks promising.

where can i watch the status page-thing.. that tells us when we can get off of old 2.11 ?

@frankbohman just watch the JIRA issue: https://issues.apache.org/jira/browse/FLINK-5005

Any news on this?
2.13.0-M1 is out https://github.com/scala/scala/releases/tag/v2.13.0-M1
I'm wondering if we will still be on 2.11 when 2,13,0 is out.

@joan38 there has been a discussion on the mailing list about dropping Java 7 support (no one has objected) which will make it simpler to support Scala 2.12 in the upcoming release.

@greghogan That's a pretty good news.
Thanks for your answer.

We are really looking forward to this 👍

Is there any news on this?

So I guess this PR is abandoned?

@DieBauer Do you still wan't to work on this? I also started trying to make Flink ready for 2.12 before I noticed this older branch. I'd be very happy to stop, though, if you're interested in bringing this to an end. It should be easier now that we dropped Java 8 support and also agreed to drop Scala 2.10 support.

Hi, I'm sorry for the late reaction. I haven't found the time to work on this anymore (also priorities shifted... )
Therefore this pull request is stale. (it still could be used as a reference).
I think the main challenge is in serialising the java8 lambdas. And dropping the support for scala 2.10 and Java7 certainly helps in taming the pom.xml profiles.
I will close this pull request to not keep the hopes up.


[Snyk] Security upgrade python from 3.12.3-alpine to 3.14.0a1-alpine

Snyk has created this PR to fix 5 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

Dockerfile.mac_chip

We recommend upgrading to python:3.14.0a1-alpine, as this image has only 1 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Integer Overflow or Wraparound SNYK-ALPINE320-EXPAT-7908298
  714

Integer Overflow or Wraparound SNYK-ALPINE320-EXPAT-7908299
  714

XML External Entity (XXE) Injection SNYK-ALPINE320-EXPAT-7908300
  614

Use After Free SNYK-ALPINE320-BUSYBOX-7233533
  514

Use After Free SNYK-ALPINE320-BUSYBOX-7233586
  514

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 XML External Entity (XXE) Injection
🦉 Use After Free

Rejecting this PR since 3.14 of python is not set to officially release until  2025-10-01.  We will be migrating to 3.13 assuming all our dependencies work with that version.  See https://github.com/cfpb/regtech-deployments/issues/26

Got rid of Dockerfile.mac_chip to remove snyk errors


Implement layout transforms

As in WPF, see here - hopefully this should be able to piggyback off of the recent work around render transforms.

Merged to dev


Fix typo

Unrelated: I am currently working on porting mruby to Prism (for fun)

Great! Let me know how it goes! I would love to see a branch if you get the chance.


Create UpdateSecretWithAlias

Add code sample for upcoming Access By Alias Launch

Hmm, tests are failing with:
[xUnit.net 00:00:06.99]     UpdateSecretWithAliasTests.UpdatesSecrets [FAIL]
  Failed UpdateSecretWithAliasTests.UpdatesSecrets [27 ms]
  Error Message:
   Grpc.Core.RpcException : Status(StatusCode="InvalidArgument", Detail="Request contains an invalid argument.", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1654618937.695074825","description":"Error received from peer ipv4:------------","file":"/var/local/git/grpc/src/core/lib/surface/call.cc","file_line":1070,"grpc_message":"Request contains an invalid argument.","grpc_status":3}")

@nataliesalvati are aliases live yet? Or do we need some kind of visibility label to enable the tests to pass?


Mcumgr remove log

Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/15713

@carles: "Pull Request Labeler / triage (pull_request_target) Failing after 9s — triage " what this thing wants from me?

Looks good.


Use of iota

Background
I was messing with the thought about why iota was not used in loads of places. Then I came across a comment about SingleFunder and DualFunder in channel.go. https://github.com/lightningnetwork/lnd/blob/master/channeldb/channel.go#L110
So I have two questions:

Can I create a PR to switch to iota in all places apart from the the explicit no go in channel.go?
Why is iota not considered stable. This kind of surprised me.

We don't use iota for database code. Consider that someone adds a new value, but doesn't place it at the very end. All those keys will now differ from the existing mapping that was present on disk. It's safe to use it for values that only live in memory, and are never written to disk.


add support for CAPZ based management clusters

This PR:

prepares external-dns to make it run on CAPZ based management clusters.
the required configuration changes can be seen in this config PR: https://github.com/giantswarm/config/pull/1610

Checklist

[x] Added a CHANGELOG entry

Testing
The instance of external-dns installed as part of Giant Swarm platform releases watches services in the kube-system namespace with annotations giantswarm.io/external-dns=managed and external-dns.alpha.kubernetes.io/hostname matching the clusters base domain. (You can find this in the deployments args --domain-filter value)
You can take this example Service, apply it to your cluster. Change the external-dns.alpha.kubernetes.io/hostname annotation to match your clusters base domain.
then:

Check external-dns logs for lines like Desired change: CREATE test.your.configured.domain.gigantic.io CNAME
Try to resolve the domain (https://www.dnstester.net/)

apiVersion: v1
kind: Service
metadata:
  annotations:
    external-dns.alpha.kubernetes.io/hostname: test.your.configured.domain.gigantic.io
    external-dns.alpha.kubernetes.io/ttl: "60"
    giantswarm.io/external-dns: managed
  name: test-external-dns
  namespace: kube-system
spec:
  type: ExternalName
  externalName: www.giantswarm.io

For testing upgrades:

Create the service and check for creation
Upgrade
Delete the service and check for deletion

Default app on AWS releases

[ ] Fresh install works
[ ] Upgrade works

Default app on Azure releases

[ ] Fresh install works
[ ] Upgrade works

Optional app (KVM)

[ ] Fresh install works
[ ] Upgrade works

Basically fine, just wondering why we are "re-using" azure as provider for CAPZ. At least CAPA is using capa instead of aws and capi...

Basically fine, just wondering why we are "re-using" azure as provider for CAPZ. At least CAPA is using capa instead of aws and capi...

capa is our internal provider name, but from an external-dns point of view, the provider is still aws:
https://github.com/giantswarm/external-dns-app/blob/b6fd0c081194f5440fa76303a39795328c7348de/helm/external-dns-app/templates/_helpers.tpl#L118-L121

@mcharriere i've changed the implementation to only add the possibility for hostNetwork:true if explicitly set. (we will only use this for CAPZ based management clusters. For WCs nothing will change)

This way we could eventually add a list of hostPorts under .Values.hostNetwork and avoid hardcoded values (I'm not asking you to do that, hardcoded values if fine for now, we can pick the task; but preparing the values structure would be helpful)

hostPorts can be enabled and configured without enabling hostNetwork. So I would still split this up.

@Gacko / @mcharriere are you fine if we refer to {{ .Values.global.metrics.port }} in the psp for the ports?
As this is the origin of this port. And with that it's configurable ... changing the pod in the values will change the value of --metrics-address in the deployment and also the psp got adjusted.


Meteor 1.3 app works locally but is broken after deploy

I have a meteor 1.3 that runs perfectly locally by either meteor run or meteor build but when deploying to modulus with modulus deploy demeteorizer warns that "Unable to resolve some modules:", after a successful deploy react the error I'm seeing is that react is not found.
My versions are:
meteor <IP_ADDRESS>
modulus-cli 6.1.1
node v6.3.0
npm 3.10.7
Relevant output:
Demeteorizing application...

Unable to resolve some modules:

  "react" in /mnt/input/client/App.jsx (web.browser)
  "react-dom" in /mnt/input/client/index.jsx (web.browser)
  "react-router" in /mnt/input/client/App.jsx (web.browser)
  "lodash" in /mnt/input/client/pages/SamplesListPage.jsx (web.browser)
  "material-ui/FloatingActionButton" in
/mnt/input/client/components/Pagination/Pagination.jsx (web.browser)
  "material-ui/svg-icons/navigation/chevron-left" in
/mnt/input/client/components/Pagination/Pagination.jsx (web.browser)
  "material-ui/svg-icons/navigation/chevron-right" in
/mnt/input/client/components/Pagination/Pagination.jsx (web.browser)
  "fixed-data-table" in /mnt/input/client/pages/SamplesListPage.jsx
(web.browser)
  "moment" in /mnt/input/client/pages/SamplesListPage.jsx (web.browser)
  "formsy-react" in /mnt/input/client/pages/AccountModal.jsx (web.browser)
  "formsy-material-ui/lib" in /mnt/input/client/pages/AccountModal.jsx
(web.browser)
  "material-ui/RaisedButton" in /mnt/input/client/pages/AccountModal.jsx
(web.browser)
  "material-ui/FlatButton" in /mnt/input/client/pages/AccountModal.jsx
(web.browser)
  "material-ui/FontIcon" in /mnt/input/client/pages/AccountModal.jsx
(web.browser)
  "material-ui/List" in /mnt/input/client/layouts/AppLayout.jsx (web.browser)
  "material-ui/styles/MuiThemeProvider" in
/mnt/input/client/layouts/AppLayout.jsx (web.browser)
  "material-ui/svg-icons/action/home" in
/mnt/input/client/layouts/AppLayout.jsx (web.browser)
  "material-ui/svg-icons/communication/speaker-phone" in
/mnt/input/client/layouts/AppLayout.jsx (web.browser)
  "material-ui/svg-icons/image/healing" in
/mnt/input/client/layouts/AppLayout.jsx (web.browser)
  "material-ui/svg-icons/social/group" in
/mnt/input/client/layouts/AppLayout.jsx (web.browser)
  "material-ui/svg-icons/action/build" in
/mnt/input/client/layouts/AppLayout.jsx (web.browser)
  "material-ui/Divider" in /mnt/input/client/layouts/AppLayout.jsx (web.browser)
  "react-modal" in /mnt/input/client/pages/AccountsPage.jsx (web.browser)
  "material-ui/Chip" in /mnt/input/client/pages/SamplesListPage.jsx
(web.browser)
  "material-ui/TextField" in /mnt/input/client/pages/SamplesListPage.jsx
(web.browser)
  "react-tap-event-plugin" in /mnt/input/client/index.jsx (web.browser)

If you notice problems related to these missing modules, consider running:

  meteor npm install --save react react-dom react-router lodash material-ui
fixed-data-table moment formsy-react formsy-material-ui react-modal
react-tap-event-plugin

Unable to resolve some modules:

  "regularity" in /mnt/input/server/publications/searchQuery.js
(os.linux.x86_64)
  "aws-sdk" in /mnt/input/server/routes.js (os.linux.x86_64)
  "dotenv" in /mnt/input/server/main.js (os.linux.x86_64)

If you notice problems related to these missing modules, consider running:

  meteor npm install --save regularity aws-sdk dotenv

+1 Having this exact same problem

Also an issue for me - different files but the same problem.
With 'react' - it deploys the app and then cannot find 'react' when running on modulus.  Works fine locally.
e.g.
Unable to resolve some modules:
"react" in /mnt/input/imports/components/test/step4.jsx (web.browser)
...
"react-dom" in /mnt/input/client/layouts/UserLayout.jsx (web.browser)
...
"react-mounter" in /mnt/input/client/routes.jsx (web.browser)

[etc.]

Same notice about npm install - but that change nothing (and it works fine locally).
Meteor <IP_ADDRESS>
Modulus CLI 6.2.0

Did you try the suggestion from the error message?
If you notice problems related to these missing modules, consider running:

  meteor npm install --save react react-dom react-router lodash material-ui
fixed-data-table moment formsy-react formsy-material-ui react-modal
react-tap-event-plugin

Unable to resolve some modules:

  "regularity" in /mnt/input/server/publications/searchQuery.js
(os.linux.x86_64)
  "aws-sdk" in /mnt/input/server/routes.js (os.linux.x86_64)
  "dotenv" in /mnt/input/server/main.js (os.linux.x86_64)

If you notice problems related to these missing modules, consider running:

  meteor npm install --save regularity aws-sdk dotenv

@fiveisprime of course, remember that the app works perfectly locally, so the packages are there.  The only difference I can see between meteor build locally and modulus is the architecture, since Im using osx.

Sorry accidentally closed the issue

@fiveisprime Yes, the issue is that error message is showing up from the build, which is occurring on the Modulus machine. So even if you wanted to run that command, you don't have access to the Modulus server to do so.
And like @monvillalon , those errors are not showing up locally, and the correct npm_modules are loaded as you would expect.

It's failing to build on the server because those packages aren't saved for your project's config. You don't need to run those commands on the server, you need to run them before deploying so it's all saved, right? The --save portion of the command will handle making sure that it's all there when you deploy (I'm going based on my knowledge of node/npm).
The project will run locally just like a node project would if you ran $ npm install react without --save then deploy to Modulus. The module would be installed locally, but the Modulus build server would have no knowledge of it at build time.

@fiveisprime If I understand you correctly you are saying that this might be caused by not having the relevant packages on package.json.  But they are there.
...
  "dependencies": {
    "aws-sdk": "^2.5.0",
    "bluebird": "^3.4.1",
    "dotenv": "^2.0.0",
    "fixed-data-table": "^0.6.3",
    "formsy-material-ui": "^0.4.3",
    "formsy-react": "^0.18.1",
    "lodash": "^4.15.0",
    "material-ui": "^0.15.4",
    "meteor-node-stubs": "~0.2.0",
    "moment": "^2.14.1",
    "react": "^15.3.0",
    "react-addons-css-transition-group": "^15.3.0",
    "react-addons-linked-state-mixin": "^15.3.0",
    "react-addons-perf": "^15.3.0",
    "react-addons-pure-render-mixin": "^15.2.1",
    "react-addons-test-utils": "^15.3.0",
    "react-addons-update": "^15.3.0",
    "react-dom": "^15.3.0",
    "react-modal": "^1.4.0",
    "react-query-builder": "0.0.4",
    "react-router": "^2.6.1",
    "react-tap-event-plugin": "^1.0.0",
    "regularity": "^0.5.1"
  }
}

What's your project ID?

What is also weird is that two days before it worked.

Same here - all of those modules are saved in my package.json.

@fiveisprime I have since deleted the app, and moved it to another provider since this was a time sensitive issue.  I will recreate the app later today and will put the id here.

My app ID is Pairprep. I also switched hosting providers this weekend due to this issue, but I'm redeploying now to Modulus and seeing the same issue.

I too have tried all the suggestions from the error message - including completely removing node_modules and running 'npm install' again (fyi: that means it looks at package.json and downloads all the listed files again to recreate node_modules).  The local build continues to work without issue.
I also downloaded Demeteorizer, ran it manually, created a bundle and it ran perfectly fine locally.  I then attempted to zip up the demeteorized version of the app and deploy it as a NodeJS application (I created another project from scratch).  That had too many different errors (I suspect that is why Modulus created the MeteorJS container to cater for differences in Meteor 1.3).
@fiveisprime - you reset one of my projects for me that was stuck uploading [neither project has this problem set of build files now but I can attempt to deploy again if it will be of any assistance - which will be about another 8-9 hours away before I can attempt this; as at posting].
I am in a similar situation to @monvillalon  - I need to keep moving forward and can't really be bogged down dealing with hosting issues (if I were going to do that, I'd build my own VM from the ground up).  So, I am going to have to look at other alternatives if this can't be resolved soon.
In my case, the project was last successfully deployed 7 days before this issue occurred and worked fine then.

+1 ... same problems with<EMAIL_ADDRESS>

I did not redeploy.  I was requested by my client to look into other hosting (which immediately worked without issue).  I am somewhat disappointed because Modulus looked like a very good option for a startup but it's Meteor.... so (price notwithstanding) there's a fairly clear "pain free" choice which only took an hour to run up and confirm and another hour to create an alternative MongoDB account, grab a DB backup, and restore (good exercise to do before launching into Production).
CLOSED - from my perspective.

About to switch over to MDG's Galaxy myself...there seems to disappointingly be a new issue every single time there is an update to either node or meteor.

I've created a new issue specifically targeting missing dependencies on the docker-run-meteor repo. Since this does not appear to be a CLI issue, I am closing this and picking up support over there.
To everyone who is experiencing issues, we understand your frustration and are trying our best to resolve the situation. We want everyone to be able to run the newest version(s), but we need to maintain compatibility for those with apps running older versions as well. Meteor 1.3.x and 1.4.x have been especially difficult in that regard.