BUG - TLX & Inverter Systems - Output Power does not return to 0 overnight

Describe the bug
See: https://github.com/home-assistant/core/issues/81393
Growatt Device Type

Device(s):

TLX aka MIN/MIC/MOD
Inverter

Home Assistant information

Home Assistant version: N/A
Growatt Server API Integration version: N/A

Additional context

This bug has been duplicated from the original in the Home Assistant Core repo and will be fixed here before before being merged up-stream.
Everyone that has contributed to the bugs so far has been tagged in the comments so that they can receive updates from this repo.

Hi All, sorry for the mass-tagging but I wanted you all to know about the new ticket that I've raised in this repo for adding support for the AC Couple type of inverter to the integration.
As you're hopefully all aware I've moved the plugin out of Core and will primarily maintain it here because it's much easier and quicker to develop.
When there are significant releases I will merge the changes up-stream into Home Assistant Core, but that will be much slower.
Now for the tags......
@vingerha @saentist @glenndehaan

My Inverter is UE series, tree phase datasheet, but have same problem.

Thanks @Saentist - I've updated the description to reflect this.

OK, I installed the HACS version now as well on my DEV.
Knowing you have many more items on the list and this is not very important....when do you think to be able to tackle this?

Update: first results are good, it now (!) shows 0 as output power...

Thanks for the update. I have an idea of how I can get the values to go back to 0 before midnight when there's no sun, but I need to do it by querying all of the data available.
I don't think it's that hard to do, I just need to go through the list in priorities. If I get some time though hopefully in the next few weeks, maybe by the end of February?

@vingerha & @Saentist - I think I've worked out how to implement this and I've been playing with it tonight. I need to do some more testing but may have a fix in the next few days.

I now have a system set up to accurately reproduce this. I also have some code ready to go that can be used to fix it, once I've reproduced it overnight tonight I'll apply my fix and then we should hopefully have a resolution

OK, if you want I can test it before

OK, if you want I can test it before

As soon as I have something I'm happy with I'll push it to the 'dev' branch and then you can use that option in the HACS installer to test.

@vingerha - I have a fix that I'm now testing on my local install, I just need to see it go through the night and the day tomorrow and then I'll push it onto Dev so that you can test it out.
@Saentist - Are you still seeing this issue with the Inverter system? I've taken a look at the values on your system and they all seem to be zero as I'd expect overnight. Can you please send me a screen shot of the graph that you're expecting to drop to zero so that I can investigate it further? I need to know what statistic is incorrect so that I can set it to the correct value based on the time of day etc.

Extremely short answer

funny part
temperature reset at midnight showing 9C, outside is -7.6C.

I need to know what statistics these are in Home Assistant so that I can find out where they're taken from on the API and then implement the correct logic for them.

Sorry

Voltage and temperature

Sorry  Voltage and temperature

Thanks, I'll try and take a look at that in more detail tonight, I'll try and find the equivalent values on the app as well, I reckon the app may be using a different endpoint for those values.

@vingerha - My test last night was half successful. It worked, but the piece of code I wrote to handle the window between midnight and the chart starting never worked, so I need to find out why that's happening.
I've added more debug code and will test again tonight.

@Saentist - I didn't get the chance to look at this again today, I've been too busy fighting fires to do with the servers keep being unavailable.
I'll try and take another look at your issues separately.
If I've managed to fix the issue that @vingerha has, I'll re-open your issue as a new bug so I can close the original issue off.

off-line from 15:44 GMT no data in HA ;(

off-line from 15:44 GMT no data in HA ;(

Not related to this bug.

@muppet3000 ...if you still like me to test this, do send me a link to the code. I can run it for a couple of days then

@muppet3000 ...if you still like me to test this, do send me a link to the code. I can run it for a couple of days then

Well I think I have the fix working now, however the test I was running overnight with the credentials you gave me for testing seem to have been locked like we're seeing over here: https://github.com/muppet3000/homeassistant-growatt_server_api/issues/15
I was only polling every 5 minutes so they shouldn't have been blocked but they seem to have been. I've stopped that system now, but you may need to log into the website to generate a new set of credentials for use with home assistant - sorry.

I did not change them and with me they are still working both app as website allow me to login

I did not change them and with me they are still working both app as website allow me to login

Ok that's really weird, I can't explain why they've stopped working for me, unless they're doing something clever to block just my IP address.
Either way, I think I've fixed the bug now, so I'll push it to Dev this evening and you can update the plugin to test it out.
Sorry it's taken so long, with all the problems over the last 2 days with the Growatt servers I haven't been able to give this the attention I wanted to.

No excuses needed...thanks for following up !

So... there is something wrong though... I just noticed that the growatt integration is no longer working ...neither the one on core neither your hacs one

off-line from 15:44 GMT no data in HA ;(

Not related to this bug.

So... there is something wrong though... I just noticed that the growatt integration is no longer working ...neither the one on core neither your hacs one. The panels connect well as I can see the production moving but not the integrations. I reset the password and reconnected web / app...can still see the panels but the HACS integration refuses to connect with the same credentials
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 81, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 180, in post
    return await super().post(request, flow_id)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 73, in wrapper
    result = await method(view, request, data, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 286, in async_configure
    result = await self._async_handle_step(
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 374, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
  File "/config/custom_components/growatt_server_api/config_flow.py", line 63, in async_step_user
    self.user_id = login_response["user"]["id"]
KeyError: 'user'

Would you be able to generate me a user using this FAQ: https://github.com/muppet3000/homeassistant-growatt_server_api/blob/dev/FAQ.md#how-do-i-share-my-credentials-with-you-for-testingadding-new-features-for-my-system-type so that I can try and work out how the US server is breaking things? I think they must have changed things in a different way.

off-line from 15:44 GMT no data in HA ;(

Not related to this bug.

Sorry, what I meant was that the issues with connectivity to the servers are being discussed over here: https://github.com/muppet3000/homeassistant-growatt_server_api/issues/15 on the thread that you started, I'm trying to keep the discussions in the same place that's all.

Closing - fixed in https://github.com/muppet3000/homeassistant-growatt_server_api/releases/tag/v1.0.2
@Saentist I will open another bug for your specific issues and link it from here.

@muppet3000 user : vingerha1   and the same password you already know

@muppet3000 user : vingerha1 and the same password you already know

Thanks, I've tested it on my phone and it works fine, I'll trial it with the command line tools I have over the weekend. I have a small idea of what might be happening but have no idea on how much effort it will be to fix. I'll see what I can do though.

Thanks and let's see then. I read the other thread and this does not look very positive on the long run for a 'free' solution. I donot mind paying but it depends...also have Tuya stuff and when they started bugging about licenses I kicked them all out...horribly expensive

I thought there was a free developer license that you had to renew every 6 months with Tuya? That's what I have set up with my Tuya devices in Home Assistant.
Either way, given that Growatt have no official API support now, I'll be surprised if they add it any time in the future. Ultimately I like the idea of doing things locally and cutting out the unreliable servers from the loop. However, in the meantime I'd like to try and unblock the problem you're having with the server-us endpoint. Leave it with me and I'll see what I can do.

Is "Energy today" need also to show zero before midnight?


Confused about MakeMove and UndoMove

Hello!
I've implemented Minimax with Alpha-Beta pruning to determine the best moves, however my bot sometimes does very silly things and I am a bit puzzled about board.MakeMove().
If I make a call to my recursive Minimax function after a call to board.MakeMove(m) will it actually retrieve the updated board state as input, or will it use the input board from the input parameter in the Minimax function itself?
So for example this code which is inside the Minimax function:
           ```
            board.MakeMove(m);
            (float eval, Move _) = Minimax(board, depth - 1, false, alpha, beta);

            // Checking if the evaluation of this move is better than the current maxEval
            if (eval > maxEval)
            {
                maxEval = eval;
                bestMove = m;
            }
            board.UndoMove(m);
            ```

Will my Minimax evaluation call at line 2 of the code snippet retrieve the new board state after calling board.MakeMove(m)? I am using this approach to evaluate all the possible child positions from a certain board state, but if the board state isn't properly updated, this will completely fail of course.
Thanks a lot! Fun challenge so far :)

MakeMove should update the board object, so yes it should work.

Make sure that it is your move you are testing, since if you use MakeMove earlier it will then be the enemy's turn and you have to do that turn before checking your further possible moves.
If you are already doing that then I'm not sure what the issue could be.

What "silly things" does your bot do? Is it hanging pieces/tactics, or does it just make a random-looking move that doesn't actually lose any material.

If Minimax is maximizing, for each possible move in a position I call board.MakeMove(m), then I evaluate using Minimax recursively for all child positions, and call board.UndoMove() before I start alpha-beta pruning.
If Minimax is minimizing, I do the same.
So these two scenarios are the only times I make calls to board.MakeMove() and board.UndoMove().
In general it makes quite good moves, but then maybe 20% of the time makes a complete blunder which just outright hangs a piece of any value.
Shouldn't minimax with alpha-beta pruning with a depth of 5 be able to distinguish an immediate recapture next move even if the heuristic is just a value sum of the board position based on piece values?

If Minimax is maximizing, for each possible move in a position I call board.MakeMove(m), then I evaluate using Minimax recursively for all child positions, and call board.UndoMove() before I start alpha-beta pruning.
If Minimax is minimizing, I do the same.
So these two scenarios are the only times I make calls to board.MakeMove() and board.UndoMove().
In general it makes quite good moves, but then maybe 20% of the time makes a complete blunder which just outright hangs a piece of any value.
Shouldn't minimax with alpha-beta pruning with a depth of 5 be able to distinguish an immediate recapture next move even if the heuristic is just a value sum of the board position based on piece values?

Maybe it's because of the Evilbot? I thought that minimax "thinks" that the opponent also chooses the best moves. I don't really know a lot about it

@Rotkip
Minimax is actually so GigaChad that even a sneaky EvilBot should get pwned even with a weak heuristic.
Lets say you're playing white, Minimax will iterate over all the possible moves you can make as white, and then also determine the best responses black can make to any of those potential moves. After evaluating all these different possibilities to some depth, - if implemented correctly - it will always choose the move for white which goes down the path of best possible future moves for white, and worst future moves for black.
So its really quite smart, and won't get confused by a bot which plays unoptimally, in fact it will play even better.

Assuming your Minimax is good, you are probably suffering from the horizon effect.
Theoretical Minimax is indeed gigachad. It gives the definitive perfect evaluation of any position in the Chess game tree. It will find the principal variation and unequivocally prove the value of a position.
However, Minimax in practice is not so gigachad.
Because there are more nodes in the game tree than there are atoms in the universe, (and enough unique positions to comprise the matter of a large planet in atoms) Minimax search for chess must be depth limited.
So there is a horizon. A ply that the search cannot not see past. We must approximate the value of nodes here with a "static" evaluation. The values we backpropagate are estimates of what a deeper search would show...  But the only true tactical evaluation is a deeper search, and static evaluation-- try as it might-- cannot see past the horizon. The search, then, cannot prove the value at the root and there is no hope of finding the definitive principal variation (Otherwise Chess would be solved like tic tac toe and no one would be writing Chess engines).
But there is hope. Although it is completely unreliable at loud positions (positions where tactical moves can be made), static evaluation is somewhat reliable at quiet positions (moves where no tactical "attack" moves can be made). A linear sum of the material and positional weights can describe the value of these positions with an acceptable level of accuracy.
So we make it our goal to only evaluate quiet positions.
How do we do this? The answer is Quiescence Search. The idea is very simple: Stand pat with a static evaluation. If it raises alpha, make a bet that this evaluation is good and set alpha to the eval, otherwise bet on alpha. If the evaluation happens to fail high, just return beta, otherwise, try out ONLY attack moves to try to improve alpha (now either the static eval or itself). If there are no attack moves, or if we can't do better than alpha, just return alpha. Otherwise return the improved value between the original alpha and beta, or beta in the case of a fail high. This is called the fail-hard implementation. You can easily change it to fail soft.
Here is the basic pseudocode:
https://www.chessprogramming.org/Quiescence_Search
Try it out! It should fit in the 1024 chars. You will also want to add code to allow Qsearch to escape check as well (try out all moves at a node), handling draws and checkmates.

Also, if it helps, most people use Negamax instead of Minimax, because it is much easier to write and understand.
In the Negamax context, at any node, alpha is the minimum score that the current player is guaranteed while beta is the maximum score that the opponent will allow the current player to achieve. It is very much a window wherein the true score of the node is contained. This is why, when we fail high we can say that the node is too good for the current player and abandon it. We have proven that the current player has ways to avoid this node.

Also, Rotkip is right, Minimax assumes that both players play optimally to its depth, which can be exploited. However-- at 30 plies with extremely good NNUE "static" eval-- no one, not even a random player can beat Stockfish (food for thought lol).

To play optimally in Chess is to minimize one's own maximum loss.

@RedBedHed That's incorrect.
Minimax will iterate through all possible moves to a certain depth. Therefore it will also consider the "random" or "unoptimal" move that MIN can play to that depth and assign a value (win chance for MAX) to the branch. If MIN plays one of the unoptimal moves which MAX had disregarded as it obviously made things EVEN worse for MIN, MAX will just be super happy about MIN's extremely poor decision making skills and win even harder in that branch.
The whole point of Minimax is for MAX to always maximize their outcome with regards to MIN's possible responses, and for MIN to do the opposite. If MIN plays an unoptimal or random move, MAX will have a response which is guaranteed to be at least equal or better than the potential best move it had if MIN played the optimal move instead.

Am I mistaken or does this show that the MakeMove function doesn't give me a new board state?

I see you, but what I said is not incorrect. What you said is true of theoretical Minimax, not of depth limited Minimax. It is a well known exploit to help beat shallow depth chess engines... playing the unexpected but advantageous-- not totally random-- move. Another exploit is Kasparov's idea to tempt the shallow search with material sacrifice.

Am I mistaken or does this show that the MakeMove function doesn't give me a new board state?

It does give a new board state. Sharpy (my bot) uses the function and plays a decent game with it.


Remove ScrollBehavior2

[x] Instead, move wrap and physics to ScrollConfiguration2.
[x] Move the scroll position factory to physics.

One things to be careful to support: if you change the Theme, the color of any overscroll glow indicators should change as well, even though the ScrollConfiguration didn't change.

Won't the widget that builds the ScrollConfiguration rebuild?

I meant "change the Theme" as in put one deeper in the tree, not change the MaterialApp's theme, sorry for being unclear. (MaterialApp builds the ScrollConfiguration, but it's above the overriding deeper Theme so can't be affected by it.)

Got it.

Done.

I thought this was about removing things like the glow color logic to a different level.

(Mind you we don't have a strong plan for doing that as far as I'm aware so I'm fine with not having an issue to track it. Issues should be on concrete problems or concrete plans, not vague plans without real problems.)

I don't see that mentioned.  I'll open a new bug for that.  We've done the things listed in the first comment.

https://github.com/flutter/flutter/issues/8267

Well, specifically I thought this was about killing ScrollBehavior entirely (hence the subject), but I'm fine with not doing that.

ScrollBehavior is currently where the default physics come from.  We could make up another name for that, but it seems useful to have the physics be inherited.

We could fold it into ScrollConfiguration. Right now ScrollBehavior is just a complicated way to configure a ScrollConfiguration.
But again, I am totally fine with us not worrying about this.


Add CR Monthly reduced fares

Summary of changes
Asana Ticket: Add CR reduced fare monthly pass product
add monthly reduced price logic for commuter rail products. mticket and normal passes.

this seems reasonable to me, do we still need the CSV or can we delete it?

must have gotten added back in w/ the merge commit. I had originally deleted it. Will push up another commit w/ it removed.


[HOLD for payment 2024-08-07] [$250] Dupe detect - Removed expense during review offline is accessible & fields open not here page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.10-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:

Go to staging.new.expensify.com
Go to workspace chat
Submit two same expenses (same amount. date and merchant)
Go to any transaction thread
Go offline
Click Review duplicates
Click Keep this one (any)
On confirmation page, click Confirm
Return to the expense report
Click on the expense preview with skeleton

Expected Result:
The expense which is removed during duplicate review offline should be crossed out and inaccessible
Actual Result:
The expense which is removed during duplicate review offline is accessible and all the fields in the transaction thread lead to not here page
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/user-attachments/assets/26de8a30-03db-4330-9b1d-8edaf127f882
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~011cf834f88beec2ec
Upwork Job ID:<PHONE_NUMBER>230360541
Last Price Increase: 2024-07-23

Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @OfstadC

@lanitochka17 just to confirm, this bug is not reproducible on production? Do you have a recording of the behavior on production?

was able to reproduce this one locally

A broad set of changes will be required here:

update the lastMessageText and lastMessageHTML for the policyExpenseChat
set message.deleted for the IOU action on the expense report
update the message[0].text and message[0].html for the REPORT_PREVIEW action in the policyExpenseChat
update the MoneyRequestAction component to return null if the action is deleted

WIP PR to fix this issue: https://github.com/Expensify/App/pull/45961

Any luck with that PR @roryabraham?

That PR fixes this issue, and I was working on fixing related issues where the total on the expense report and policyExpenseChat are not optimistically updated to account for the merged dupes. I think I may have fixed it but didn't get a chance to test it

Demoting per the discussing in slack, the feature is behind beta and since we have only few blockers left, not going to hold on this one

Just added external to get a job created for the C+ review. The PR is already ready for review

Sure! I will review after lunch. Thank you.

PR is on staging.

@brunovjk Please complete the checklist today so we can issue payment tomorrow 😃

[x]  [@brunovjk] The PR that introduced the bug has been identified. Link to the PR: N/A
[x]  [@brunovjk] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: N/A
[x]  [@brunovjk] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: N/A
[x]  [@brunovjk] Determine if we should create a regression test for this bug. Yes
[x]  [@brunovjk] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.

Regression Test Proposal:

Sign in
Create a workspace if needed
Submit two duplicate expenses to the policy expense chat for that workspace
Open the expense thread for one of the violations (it should appear in the LHN with a red dot)
Go offline
Click Resolve Duplicates
Pick either one of the duplicate transactions then confirm
verify that the total of the report updates correctly in the LHN.
Click on the workspace chat.
verify that there's no skeleton action for the removed expense
verify that the expense report preview shows the correct total

Do we agree 👍 or 👎

@brunovjk I sent you a manual offer in Upwork - can you accept? 😃 Thanks!

https://www.upwork.com/nx/wm/offer/103433638

Done @OfstadC, thank you

https://github.com/Expensify/Expensify/issues/418708
Closing since regression test was created and Upwork contract has been paid/closed


texelFetch() not behaving properly

Bugsquad note: This issue has been confirmed several times already. No need to confirm it further.

Godot version:
3.1.1 stable
OS/device including version:
Ubuntu 18.04.3 LTS
Issue description:
I was using the texelFetch method from GLSL for a shader when I suddenly noticed that the fetched pixels' colors were not identical to the original ones from the texture. Testing with a simple LUT image, most of the colors were being fetched darker than they really were (below are 2 images for comparison).
After some struggle, I noticed that the same shader is working as expected in both Windows and Mac. It might have something to do with Linux drivers or even updates, since it was working some days ago.

Original Image

TexelFetched Image
Steps to reproduce:

Open the reproduction project below and run the main scene
Toggle the 'TexelFetchImage' node's visible property to true/false. It should be equal to the "OriginalImage" node's colors.

Windows/Mac: Both images are equal
Linux: the 'TexelFetchImage' node renders a darker image

Minimal reproduction project:
repro_texelfetch.zip

I can confirm since @thiagoamendola is my coworker and I tested his project on both my computers. With Linux the texture is darker, with AMD or Nvidia graphics. Tested on Windows with AMD and it doesn't show the issue.

I tried to reproduce this issue with a Ubuntu 18.04 LTS Live USB and the issue is not present there! It might have something to do with Mesa implementation of OpenGL.

My current Ubuntu 18.04.3 with darker texture

Ubuntu 18.04 LTS Live USB with normal texture
Do you know any forum/issue tracker where I can report this? Maybe Ubuntu's one?

@thiagoamendola maybe you can report on Mesa itself: https://www.mesa3d.org/bugs.html

Issue reported to Mesa 3D: https://gitlab.freedesktop.org/mesa/mesa/issues/1867

Still happening
Workaround functions for GLSL:
float srgb_to_linear(float srgb) {
	if(srgb <= 0.0031308) {
		return srgb * 12.92;
	} else {
		return pow(srgb, 1.0 / 2.4) * 1.055 - 0.055;
	}
}

vec3 vsrgb_to_linear(vec3 srgb) {
	return vec3(srgb_to_linear(srgb.r), srgb_to_linear(srgb.g), srgb_to_linear(srgb.b));
}

I have this problem too in Godot 3.2.1, Windows 10 64 bits,
OpenGL ES 3.0 Renderer: GeForce GTX 1060 6GB/PCIe/SSE2.
Changing import options of the texture has no effect.

I'm having this problem too with Godot 3.2.3. Windows 10 64 bits.
OpenGL ES 3.0 Renderer: GeForce GTX 970/PCIe/SSE2.

Hi, same problem :
Godot 3.2.3.
Windows 10, 64 bit.
OpenGL ES 3.0 Renderer:
RTX 2060 Super.

I have tried to work around this issue by using the texture() and textureLod() functions eg:
COLOR = textureLod( mytexture, vec2(pos_ivec2) / vec2(textureSize(mytexture,0)), 0) ;
But these return a blurry texture or/and produce tearing at texture edges, I suspect because of mipmaps (or possibly filtering).
Is there any way to use these functions to get the exact texel? Switching off mipmaps perhaps?

textureLod(), by definition, uses mipmaps. I suppose you could try switching off mipmaps and see how it works w/o mips?

Any idea how? I don't see it in the shader docs.

I meant mipmaps on your sprite/textures. Texture(), though, as opposed to textureLod(), should be w/o mips?

Thanks.
I still get blurring and tearing using texture(). I did not think it would be settings of the texture being fed in as it looks fine with texelFetch() (apart from the darkening).
Also Zylann said above that changing import options had no effect, but I admit I have not tested those out with texture() and textureLod() so I'll go and give that a try now.

Thank you Zireael07, I can confirm that switching off the Filter flag when creating the texture fixes the issue.
So, for anyone else who lands here, you can replace texelFetch() with texture() by converting to UV coords and vec2's IE:
COLOR = textureLod( mytexture, vec2(pixpos_ivec2) / vec2(textureSize(mytexture,0)), 0) ;
but you need to ensure that filter is switched off when creating the texture to pass to the shader eg:
texturefromimage.create_from_image(image, Texture.FLAG_MIPMAPS + Texture.FLAG_REPEAT)
Hope this helps!

The only problem with mcardellg's solution is that I think it's important to fetch the center of the texel. Getting the top left of a texel will cause some issues (because it's on the borderline of other pixels it can return the incorrect pixel).
vec4 texelGet ( sampler2D tg_tex, ivec2 tg_coord, int tg_lod ) {
	vec2 tg_texel = 1.0 / vec2(textureSize(tg_tex, 0));
	vec2 tg_getpos = (vec2(tg_coord) * tg_texel) + (tg_texel * 0.5);
	return texture(tg_tex, tg_getpos, float(tg_lod));
}

Since texelFetch() is broken we can use texelGet() in the meantime.

Thanks rainlizard - good point, that might help some of the tearing too.

Can anyone running into this bug report whether they have the EXT_texture_sRGB_decode and the EXT_texture_sRGB extensions? You can check using https://opengl.gpuinfo.org/download.php

clayjohn - I seem to have both of those according to that app. Mine start with GL_ though IE GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_decode.

clayjohn - I seem to have both of those according to that app. Mine start with GL_ though IE GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_decode.

Thanks for confirming. Sometimes they start with GL_ other times not. It is the same extensions.

Still happens in Godot 3.5 rc8.


Project Development

Hi. Before all, nice project going on here. My team requires a Bookshelf models -> json api responses, mapping tool. I liked this project (and the serializer project behind) and plant to use it as a base.
However, changes like using Typescript and more testing (you know 4 tests is not enough) are features we want to set on the tool. What's your view on this? Do you prefer it to simply be a fork or are more interested on integration to the project?

@ShadowManu thanks!
I'd be interested in having someone else collaborate on the project. I'm certainly aware that there isn't 100% coverage with the tests, but unfortunately due to a number of deadlines on my side, I haven't been able to create a full test suite. I'd gladly welcome some assistance on that front.
Regarding converting the project to Typescript, I'm not 100% opposed to doing so, but given that my familiarity with Typescript is extremely limited, I'd prefer to keep the repository in pure Javascript. Is there a particular reason you'd like to make the conversion?
On a similar vein, what does your backend stack look like? I'm using Hapi and I've gotten things working with regards to JSON API, but I'd prefer a more integrated, cleaner approach.

The reasons for using Typescript on this project are the same reasons for using typescript itself: mainly static checks, tooling and ES6 features. We have plans of using typescript in the frontend too (angular 1 & 2), so its interesting to see some results of using it on a smaller scale.
Regarding our backend stack, its Hapi-Bookshelf-Postgres. I've been looking for some tools like endpoints which looked nice at the beginning but it was too ambitious on the goal, so it is very coupled on its code. So I ended up here, hoping a more modular approach (but still expecting to make another tool for hapi easier usage of json api).

Understood. I do understand the benefits of Typescript, but again, would prefer to stick with ES6. The benefits that Typescript provides are great, especially for large-scale projects, but I think the benefits may outweigh the effort in converting this addon.
All that said, we are using the same exact backend stack, so I believe it would be worthwhile for us to collaborate on the project as long as you're OK with sticking to pure JS rather Typescript. I too looked at Endpoints, but the project seemed to be relatively stagnant. I have a couple of Hapi plugins that I created to assist with JSON API and would be more than happy to share. Let me know.
James

I have no problem of moving the existing codebase to typescript (which in fact I'm already doing). Still prefer ES5/6?
As a side note, any other chat-like channel we can discuss over?

Feel free to msg me on gChat/Hangouts at<EMAIL_ADDRESS>and we can discuss further


selective-disclosue. Provide utility function to check a VP against an SDR.

A common scenario is that a verifier requests information via an SDR and needs to verify a presentation VP that is received later against the requirements of the SDR and help it extract the required claims from an more complicated structure of the VP. Daf should provide such a helper function.
My own current implementation is (only semi-well tested:):
const findMatchingClaims = (presentation: Presentation, input: CredentialRequestInput) => {
    // only accept credentials that are signed by an authorized issuer
    let matchingCredentials = presentation.credentials;
    if ('iss' in input)
        matchingCredentials = presentation.credentials.filter(cred => input.iss?.map(i => i.did).includes(cred.issuer.did));

    let matchingClaims: Claim[]  = [];
    // add claims
    matchingCredentials.forEach(cred => {
        matchingClaims = matchingClaims.concat(cred.claims.filter(claim => input.claimType == claim.type))
    });

    return matchingClaims;
};

// Maps the content of a VP to the claims structure of a SDR.
export const mapVPtoSDR = (presentation: Presentation, sdr: SDRInput) => {
    // cycle through SDR input
    let fulfilled = true;
    let matchingClaimsResult: any = {};

    for (const claimInput of sdr.claims) {
        const matchingClaims = findMatchingClaims(presentation, claimInput);
        if (matchingClaims.length == 0) {
            fulfilled = false;
        }
        matchingClaimsResult[claimInput.claimType] = matchingClaims;
    }

    return {
        fulfilled,
        matchingClaimsResult
    };
};

Fixed in v4.0.0
https://github.com/uport-project/daf/blob/master/docs/Docs.md#checking-if-vp-has-all-requested-vcs

Link broken. Kindly update the link.

Link broken. Kindly update the link.

You can use this method: https://github.com/uport-project/veramo/blob/826b994c6c86f45ea05a93bfc409cec34e562ec6/packages/selective-disclosure/src/action-handler.ts#L177


chore(feature): knowledge hub Telemetry Setup

Issue
#35
#36
Description
TBI - Provide telemetry data for the tutorials and tutorial tags opened
TBI - Provide telemetry data for the blogs and tags opened
FILL IN DETAILS HERE
Checklist for Pull Requests

[ ] Supplied as many details as possible on this change
[ ] Included the link to the associated issue in the Issue section above
[ ] The code conforms to the general development guidelines.
[ ] The code has unit tests where applicable and is easily unit-testable
[ ] This branch is appropriately named for the associated issue

@aakankshagupta1994: I just noticed that sonar reported a bug in the PR - https://sonarcloud.io/project/issues?id=SAP_knowledge-hub-extension&pullRequest=68&resolved=false&types=BUG

@kranthie-sap The requested changes are added. Can you please verify?


chore(main): release 1.1.1

:rocket: New release :bookmark:
1.1.1 (2023-05-05)
:bug: Bug Fixes

handle relative non-root baseURL (#25) (058560e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/hugo-sid/hugo-blog-awesome/releases/tag/v1.1.1 :sunflower:


Base setup for adding objects

In this PR:

Capacinet_msgs was changed to curobo_msgs.
Configuration responsibilities related to the cuRobo world and motion generation were transferred to config_wrapper.py where possible. The visitor design pattern was used to keep dependency as low as possible without needing a new node.
The first version of the service to add objects was added. More testing needed to see its impact on trajectory generation. That will be made easier when the curobo_rviz task of making the objects visible will be completed.
Unused class parameters and includes were removed from generate_trajectory.py.
Add curobo_rviz to the project.

Pour la prochaine fois, ce serait bien d'avoir un peu de documentation dans le readme


Error GET/POST requests missing with Lambda Handler

I'm running into an Error running this plugin with a serverless setup as follow:
functions:
  api:
    handler: graphql.graphqlHandler
    events:
    - http:
        path: graphql
        method: POST
        cors: true
        integration: lambda
    - http:
        path: graphql
        method: GET
        cors: true
        integration: lambda

There seems to be missing a proper handling of API-Gateway + Lambda setup.

Can you post some code to reproduce the problem. I have not tested it with serverless but it should work as expected.
What error are you getting? Is it in cloudwatch or with serverless deploy?

Taking a look at your config you might be using the incorrect integration.  Delete the line integration: lambda as the default is lambda proxy and you have it set to lambda, which I don't think are the same.

You can also explicitly set integration: lambda-proxy as that should work as well.

Nice! That seems to have fixed it for me. Maybe you could add that to your example cloudformation config. This would have saved me hours of frustration. 👍

I will add another example for serverless as it seems to be the more popular choice.

You can use mine if you want:
`functions:
api:
handler: graphql.graphqlHandler
events:
- http:
path: graphql
method: POST
cors: true
integration: lambda-proxy
- http:
path: graphql
method: GET
cors: true
integration: lambda-proxy
graphqli:
handler: graphql.graphiqlHandler
events:
- http:
path: graphiql
method: GET
cors: true`

lambda-proxy is the default so you shouldn't need to explicitly add that.


AWS Lambda Python 3.7 issue on run_async

Hi Team.
I bumped into an issue that my AWS Lambda function failed when using ffmpeg-python wrapper. It always complained on line #325. I have a complied version of ffmpeg stored in the Lambda environment already. And I was able to use it via processes to run commands and transform videos.
One additioanl thing I did was modify the default path to pointed to my ffmpeg_compiled location. (sys.path.append() didn't work)
cmd='/tmp/requirements/ffmpeg_compiled/ffmpeg',
Since my other requirements are bigger than 250mb so I had to put all the dependencies in /tmp/requirements/.
 #324    if retcode:
 #325        raise Error('ffmpeg', out, err)

By commenting out the 2 lines above. My lambda function at least passed the test. But I don't think it works properly as I don't see any transformation from the output video.
I am wondering if you can point me to some direction on how to overcome this issue.
Thank you,
Heng

Here are more details on the error that we see:

FYI, it was causing by not giving enough memory to the lambda function. The job it self used 900+ MB. It will be great if we can catch the issue at the first place.


Fix: ToB-12 (two step ownership)

Description

Fixes ToB-12 by using the two step process for transferring ownership.

Summary by CodeRabbit
Refactor:

Updated the initialization process of the Destination, GasOracle, Origin, Summit, StatementInbox, BondingManager, and LightManager contracts. The __Ownable_init() function has been replaced with __Ownable2Step_init(), indicating a change in the ownership control mechanism.

The MessagingBase contract now inherits from Ownable2StepUpgradeable instead of OwnableUpgradeable, enhancing the contract's upgradeability and ownership control.

These changes are part of an ongoing effort to improve the security and maintainability of our smart contracts.

Converting to draft: requires #1442 to be merged first.


Can I use ng2-combobox with custom value?

In my project i need a combobox field, in that user can select pre-defined or type custom values.
I tried with ng2-combobox, but seems it doesn't provide feature that i need.
How i try to use it:
<pre>
   <combo-box [listData]="comboConstants"
                        [displayField]="'text'"
                        [valueField]="'id'"
                        [(ngModel)]="rule.value"
                        [ngModelOptions]="{standalone: true}"
                        [forceSelection]="false"
                        [inputClass]="'form-control mt-2'"
                        [clearOnSelect]="false"
                        (onInitValue)="initComboBoxValue($event)"></combo-box>
</pre>

When i setted forceSelection to false i expected that combobox will set value that i typed in input to rule.value, but it doesn't. (rule.value become undefined)
May be i'm doing something wrong... But i think, it would be a nice feature - a possibility to type custom values...
Best regards!

Feel free to contribute this as a new feature, we are open for PRs ;)

Ok. I did something in my fork. I will test the functionality of component with my changes and then i'll make pull-request if all works fine


Set up documentation publishing

https://github.com/Faveod/oppen-ruby/pull/6

[x] Setup the repo's github pages
[x] Setup the CI to push the documentation to the pages

[x] Can you publish to rubydoc.info ?

You can publish to rubydoc.info, but it's docs are outdated, and it's nightmarish.


Project 6: Tests (pair programming).

In this project, we wrote unit tests for the Math Magicians app, using the Jest and React Testing Library libraries.

steps:

Set up React Testing Library.
Write unit tests for the files operate.js and calculate.js using Jest.
Create unit tests for all React components.

Thank you @VICTOR-CHUKWU for your feedback and approval.


[WIP] Add HiveMetaStore Dockerfile

:mag: Description
Issue References 🔗
This pull request adds HiveMetaStore Dockerfile
Describe Your Solution 🔧
Types of changes :bookmark:

[ ] Bugfix (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)

Test Plan 🧪
Behavior Without This Pull Request :coffin:
Behavior With This Pull Request :tada:
Related Unit Tests

Checklist 📝

[ ] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.11%. Comparing base (8cc9b98) to head (66ebbfa).

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #6143   +/-   ##
=========================================
  Coverage     61.11%   61.11%
  Complexity       24       24
=========================================
  Files           625      625
  Lines         37234    37234
  Branches       5028     5028
=========================================
+ Hits          22755    22757    +2
+ Misses        12036    12026   -10
- Partials       2443     2451    +8

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thanks, merged to master


Segfault with more than one transport/connection

I just installed this bundle it's working great with one transport but if I have more than one
bin/console messenger:consume async_high_priority async
It cause a segfault.
I am assuming that it's by registering multiple PCNTLHeartbeatSender that cause the issue.
Do you have any idea how to fix this ? (if you had the issue before).
I am thinking about simply having a array of connections and looping trough them instead of having to register each of them.
What do you think ?

Sorry for lack of response :) Is this still causing problems on your end? We're using multiple transports since forever and did not face any segmentation faults due to this

I did a what I mentioned in the description and if fixed my issue. Been a while, code is still there, maybe I am fixing a side effect of something else on our side I don't know...

@mpoiriert would you mind sharing minimal configuration that is segfaulting? We'll try to have a look :)


Feat/comms relay

Description of change
Use the libp2p relay protocol that has been implemented for Rust with #1838.
Remove obsolete code that was previously used to allow relay functionalities.
Type of change

[X] Enhancement (a non-breaking change which adds functionality)

How the change has been tested
Rewriting of the previously added relay-test.
Change checklist
Add an x to the boxes that are relevant to your changes, and delete any items that are not.

[x] I have followed the contribution guidelines for this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Clippy fails in client, engine and command-line product due to new version. I did not do any changes to fix that, in order to prevent merge conflicts with #181 .

Clippy fails in client, engine and command-line product due to new version. I did not do any changes to fix that, in order to prevent merge conflicts with #181 .

Don't worry about it.  If you have merge conflicts I can resolve them after the merge.


A bug in the OS_TaskChangePrio funciton (os_task.c)

When a task to change its priority is blocked on a mutex, its priority change may affect the priority of the owner of the mutex. Specifically, in this function, if the priority of the task is to be reduced, that is, prio_ new>prio_ Cur, at this time, if the priority of the owner of the mutex is higher than prio_ Cur, which is not handled in this case, that is, the loop should be ended, but this is not done in the function.
case OS_TASK_PEND_ON_MUTEX:
#if (OS_CFG_MUTEX_EN > 0u)
OS_PendListChangePrio(p_tcb);
p_tcb_owner = ((OS_MUTEX *)((void )p_tcb->PendObjPtr))->OwnerTCBPtr;
if (prio_cur > prio_new) {            / Are we increasing the priority?                      /
if (p_tcb_owner->Prio <= prio_new) { / Yes, do we need to give this prio to the owner?   */
p_tcb_owner = (OS_TCB )0;
} else {
/ Block is empty when trace is disabled.               /
OS_TRACE_MUTEX_TASK_PRIO_INHERIT(p_tcb_owner, prio_new);
}
} else {
if (p_tcb_owner->Prio == prio_cur) { / No, is it required to check for a lower prio?     */
prio_new = OS_MutexGrpPrioFindHighest(p_tcb_owner);
prio_new = (prio_new > p_tcb_owner->BasePrio) ? p_tcb_owner->BasePrio : prio_new;
if (prio_new == p_tcb_owner->Prio) {
p_tcb_owner = (OS_TCB )0;
} else {
/ Block is empty when trace is disabled.               */
OS_TRACE_MUTEX_TASK_PRIO_DISINHERIT(p_tcb_owner, prio_new);
}
}
A condition to end the loop is missing here
}
#endif
break;

I think it should be：
case OS_TASK_PEND_ON_MUTEX:
#if (OS_CFG_MUTEX_EN > 0u)
OS_PendListChangePrio(p_tcb);
p_tcb_owner = ((OS_MUTEX *)((void )p_tcb->PendObjPtr))->OwnerTCBPtr;
if (prio_cur > prio_new) { / Are we increasing the priority? /
if (p_tcb_owner->Prio <= prio_new) { / Yes, do we need to give this prio to the owner? */
p_tcb_owner = (OS_TCB )0;
} else {
/ Block is empty when trace is disabled. /
OS_TRACE_MUTEX_TASK_PRIO_INHERIT(p_tcb_owner, prio_new);
}
} else {
if (p_tcb_owner->Prio == prio_cur) { / No, is it required to check for a lower prio? */
prio_new = OS_MutexGrpPrioFindHighest(p_tcb_owner);
prio_new = (prio_new > p_tcb_owner->BasePrio) ? p_tcb_owner->BasePrio : prio_new;
if (prio_new == p_tcb_owner->Prio) {
p_tcb_owner = (OS_TCB )0;
} else {
/ Block is empty when trace is disabled. */
OS_TRACE_MUTEX_TASK_PRIO_DISINHERIT(p_tcb_owner, prio_new);
}
}else{
p_tcb_owner = (OS_TCB )0;
}
}
#endif
break;

Seeing as Cesium 3/08.03 incorporates this change, when will the official Micrium release be made that will incorporate this change.


Bug: NoActiveSocket: No socket is currently connected to a SurrealDB instance. Please call the .connect() method first!

Describe the bug
first of all the Connection.connect type is not a promise. in the readme it says await db.connect() but the connect type is a function that returns void.
Second of all, I'm on surreal-1.0.0-beta.9 and when trying to connect with the library 0.9 it just throws the error
NoActiveSocket: No socket is currently connected to a SurrealDB instance. Please call the .connect() method first!

my code is exactly like
    const db = new Surreal();
    await db.connect(`${SURREAL_URL}/rpc`);

do I need a specific version of surreal running on the server ?
could you update the connect type to be a promise?
Steps to reproduce

    const db = new Surreal();
    await db.connect(`${SURREAL_URL}/rpc`);

Expected behaviour
no error thrown when trying to connect
SurrealDB version
1.0.0-beta.9
SurrealDB.js version
0.9.0
Contact Details
<EMAIL_ADDRESS>Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I'd say update to Surreal 1.0 and check there as this may already be resolved.  SurrealDB.js 0.9 changed some methods functions too... Make sure you backup you data first as the data from Beta 9 isn't compatible with newer versions (import after upgrading) check this page Upgrading

I've upgraded to surreal 1.0 and I still get the same error.
here is the code I'm using
    const db = new Surreal();
    // TODO wrap in try catch
    await db.connect(`${SURREAL_URL}/rpc`);
    const authenticated = await db.authenticate(jwt).then(() => true)
      .catch((e) => {
        console.log(e);
        return false
      })

could you also at least update the type for connect to return a promise (so that await in front won't generate a typescript warning).

and downgrading back to 0.8.4 the signup doesn't work
Error: There was a problem with the database: The signup query failed
    at WebSocketStrategy.signup (file:///Users/raphael/dev/mono_sweif/node_modules/.pnpm/surrealdb.js@0.8.4/node_modules/surrealdb.js/esm/strategies/websocket.js:166:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async default (/Users/raphael/dev/mono_sweif/apps/brocop/src/routes/(auth)/signup/+page.server.ts:42:17)
    at async Module.handle_action_json_request (/Users/raphael/dev/mono_sweif/node_modules/.pnpm/@sveltejs+kit@1.25.0_svelte@4.2.0_vite@4.4.9/node_modules/@sveltejs/kit/src/runtime/server/page/actions.js:57:16)

I've found the problem with the socket currently connected, but I can't make the signup function work.

so here is my code for signup
    await db.connect(`${SURREAL_URL}/rpc`, {
      ns: SURREAL_NAMESPACE,
      db: SURREAL_DATABASE,
    })

    try {
      let jwt = await db.signup({
        NS: SURREAL_NAMESPACE,
        DB: SURREAL_DATABASE,
        SC: 'end_user',
        name: form.data.name.trim(),
        phone: form.data.phone,
        email: form.data.email.trim(),
        password: form.data.password.trim()
      });

I've also tried modifying the connect to include root user and password
on the side of the database, the signup function didn't change between beta.9 and 1.0.0
scopes: {
                        admin: 'DEFINE SCOPE admin SESSION 1d SIGNIN (SELECT * FROM admin WHERE email = $email AND crypto::argon2::compare(password, $password))',
                        end_user: 'DEFINE SCOPE end_user SESSION 1d SIGNUP (CREATE user SET email = $email, password = crypto::argon2::generate($password), name = $name, phone = $phone) SIGNIN (SELECT * FROM user WHERE email = $email AND crypto::argon2::compare(password, $password))'

The error on signup was caused by a switch of default value from VALUE time::now() to DEFAULT time::now()
I've made a comment on the last commit where the type for connect should be changed, but appartt from that, the issue is a non issue.

It is interesting though how that results in this error. A faulty schema should rather result in an authentication failure..

No the error was something else. It was my bad there qas 2 places i was calling surreal and it was in the other place. The faulty schema just causes typescript to complain.


Remove need for sorting in shrinkSignals

Swap the 2 lines in shrinkSignals to order shrunk lists implictly from most shortest to longest (thanks @dnadales !)
shrinkSignals (sn:_last:[]) = [[sn]]
shrinkSignals (sn:sm:sigs) =
  [[sn]] -- a trace with only the most recent signal
  ++ ((sn:) <$> shrinkSignals (sm:sigs)) -- shrink the tail
  ++ [sn:sigs] -- discard the second most recent signal
-- shrink to [] if there is one or no signals
shrinkSignals _  = []

And don't forget:

remove sortOn
add QC tests :)


support: use local compiled files to build docker image

Hi All,
I just added some make target for supporting replace the executable file from local during docker build process.
This changed is related with this discussion: https://github.com/loxilb-io/loxilb/discussions/261#discussioncomment-5836027

Thanks for the PR. Merged !!


Double filter results for Temperature Response & Effective Area

XRTpy does not currently calculate the Temperature Response & Effective Area for two-filter combo.

Duplicate of #117?


⚠ Bofrost.de has degraded performance

In fad2810, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1907 ms

Resolved: Bofrost.de performance has improved in 566858d after 7 minutes.


Configure Travis CI to Build Releases

Travis CI can build the PDF and DOCX files for releases of Ironsides as we go.
I recently got the Ubuntu unoconv package whitelisted on Travis CI's container-based build infrastructure. Everything else is Make, m4, and Node.js, so this can potentially be quite fast and cheap when the repo goes public.

Done.


MTDSA-20216 1st draft for property-business-api v4 release to ET

Closed. See comment on confluence here.


[FAQ] Enhancement and updates

Some evolves according to faq screens.

@djowalker is it still a draft?

3 more things that are going to be added in this PR :

FAQ will use story label instead of the actual intention name
Some more unit test in frontend
Add Display Unknown sentences only in FAQ Training

@vsct-jburet ready for review

@vsct-jburet : There was a trouble with the tests in Messenger, but you upgrade the version recently so i added the fix from Master in this branch

LGTM, thank you !


[AutoDiff] Change Differentiable.moved(along:) to move(along:).

Change Differentiable.moved(along:) to mutating func move(along:).
Update Differentiable derived conformances (logic and diagnostics).
Update tests.

Example:
struct Foo : Differentiable {
    var x, y: Float

    // Old: returns a new instance.
    // func moved(along direction: TangentVector) -> Foo {
    //     return Foo(x: x.moved(along: direction.x),
    //                y: y.moved(along: direction.y))
    // }

    // New: updates in-place.
    mutating func move(along direction: TangentVector) {
        x.move(along: direction.x)
        y.move(along: direction.y)
    }
}

This is important for upcoming Differentiable class support.
moved(along:) is problematic for classes because it returns a new instance, which is undesirable.
Instead, move(along:) updates classes in-place.
Derived conformances logic and diagnostics are updated.
One important change is: Differentiable derived conformances now generate a warning for all let stored properties, instead of only let stored properties with initial value. The reason is that synthesis of move(along:) requires all stored properties to be mutable.
Example:
struct Example: Differentiable {
    // These stored properties are fine.
    var x: Float
    var y = Float(1)

    // Warnings are emitted for these stored properties.
    // Synthesis (`TangentVector`, `move(along:)`, etc) ignores these properties.
    // They are implicitly marked with `@noDerivative`.
    let bad1: Float
    let bad2: Int

    // Example synthesis.
    // Intentionally ignores `AllDifferentiableVariables` because it will be removed soon.
    //
    // struct TangentVector: Differentiable, AdditiveArithmetic, VectorProtocol {
    //     var x: Float.AllDifferentiable
    //     var y: Float.AllDifferentiable
    // }
    //
    // mutating func move(along direction: TangentVector) {
    //     x.move(along: direction.x)
    //     y.move(along: direction.y)
    // }
}

example.swift:9:9: warning: synthesis of the 'Differentiable.move(along:)' requirement for 'Example' requires all stored properties to be mutable; use 'var' instead, or add an explicit '@noDerivative' attribute, or conform 'Example' to 'AdditiveArithmetic'
    let bad1: Float
        ^
    @noDerivative
example.swift:10:9: warning: stored property 'bad2' has no derivative because it does not conform to 'Differentiable'; add an explicit '@noDerivative' attribute, or conform 'Example' to 'AdditiveArithmetic'
    let bad2: Int
        ^
    @noDerivative

@swift-ci Please clean test tensorflow

@swift-ci Please clean test tensorflow

@swift-ci Please clean test tensorflow

@swift-ci Please clean test tensorflow


Is this desired behavior? First 8 characters shows number keypad and as you go past 8 it changes to full keyboard

App version: <IP_ADDRESS>
OS: Android 11 iOS 14.3
Device: Pixel 3 XL iPhone SE
Reproducible: Always
Summary: Is this desired behavior? First 8 characters shows number keypad and as you go past 8 it changes to full keyboard
Steps:

Open app and go to My COVID Alerts
Go to Share codes and start entering codes
= Number keypad is shown
Go beyond 8 characters

Results: Changes to full keyboard after 8 char.
Also, if you go delete more than 8 char it switches back to number keypad which feels kind of odd.
The above is really odd during screen reader too but I am using invalid codes at the moment.
Expected?

There isn't really any good option here, but as a least-worst option I've set it to always show alphanumeric keyboard.

There isn't really any good option here, but as a least-worst option I've set it to always show alphanumeric keyboard.

<IP_ADDRESS> I always get the full keyboard now.

<IP_ADDRESS> I always get the full keyboard now.


[Bug]: version 2.0 makes Doorbell and Motion buttons useless

What happened?
Since upgrading to 2.0, the buttons that normally enable/disable motion and the camera in Home now do nothing. They’re still there but flipping them doesn’t do a thing in the Eufy app, so they are useless now.
Device Type
Doorbell (Supported)
Plugin Version
v2.0.x (Supported)
HomeBridge Version
v1.4.x (Supported)
NodeJS Version
v16 (Supported)
Operating System
Docker (UnSupported)
Relevant log output
Not sure what is relevant here. The switch does nothing.

Did you check this Common Issues pages ?

Yes, it doesn't answer my question at all.

Hello, I've just tested on my setup, button works fine. I've doorbell too.

Hello, I've just tested on my setup, button works fine. I've doorbell too.

Are you on 2.0? Battery doorbell mini?

Hey @DaveM8686
Thx for your feedback!
This should be fixed in 2.0.1-beta12
Please reopen if the issue still persists.


UnitTests: Add tests for storageConsumer controller

Signed-off-by: kesavan<EMAIL_ADDRESS>

@kesavanvt is this pr still relevant?


Root element in new ontology metadata format not a list

I realized something I want to clarify with respect to the new format. In https://raw.githubusercontent.com/WorldModelers/Ontologies/master/CompositionalOntology.yml, the root element is a list signified by the - before wm:
- wm:
  - concept:
    - agriculture:
...

However, in https://raw.githubusercontent.com/WorldModelers/Ontologies/master/CompositionalOntology_metadata.yml, the root element is not a list:
node:
    name: wm
    children:
        - node:
            name: concept

This causes complications with a corner case on our end where we have to support ontology extensions that can in principle fall outside the wm subtree of the ontology. Should we consider making it the following?
- node:
      name: wm
      children:
          - node:
              name: concept

Good point.
But don't we need just the children to be a list?
That is, the root is a single node, which may have a list of children. Just like in any tree data structure.
@kwalcock ?

It sounds like Ben wants to do
- node:
    name: wm
    children:
    ....
- node: # Special things for INDRA
    name: non-wm
    children:

I have been wondering who is using the versions without the metadata, the ones with a - still in the top level.  @bgyori, do you need just that metadataless one (that you linked to as an example) to stay a list or do you need both that and the metadata file to have a list, or do they just need to be consistent, etc.?  Having the top level list will probably make a slight exception in other code, and I will double check that it isn't too onerous.  I also haven't checked the program that strips the metadata.

The metadataless and metadata versions are significantly different in other ways as well.  I hadn't planned to change the metadateless representation.  Right now there are two separate parsers for these (in this repo).  It would be easy to make two "not lists" out of the four, if that consistency is important.  Probably more important is getting the list or not list that you need, though.


improve getrandom panic message

When a user encounters a panic due to getrandom being disabled, we need to provide a link to a page discussing the security implications of using this feature so that the user can educate themselves before using the getrandom feature for their guest.

From internal discussions, it seems like the panic message should not contain a link so we can put the explanation in the panic message itself

closed by #1248


[Icon Requests from Feather] mask

As per https://github.com/lucide-icons/lucide/issues/119 and https://github.com/feathericons/feather/issues/514:

@karsa-mistmere Nice love the icon!
For naming , I think we should use an other name, maybe carnival-mask or venetian-mask. For the the word mask can also considered to other things, like medical masks and masking in design applications.

Personally I like the Spy/Agent style a bit better.

@lscheibel I think there's definitely space for a separate spy / agent icon, I've just been unable to fit that within our 24x24 grid... yet. :)
Here are a few rough ideas:


Use new worker logger

Use the new worker logger for a few transports.

Ready for review.

Some of the updated multiline log calls are probably pep8 violations.

Error from Travis:
Traceback (most recent call last):
  File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/twisted/internet/defer.py", line 1128, in _inlineCallbacks
    result = g.send(result)
  File "/home/travis/build/praekelt/vumi/vumi/transports/smpp/tests/test_protocol.py", line 332, in test_bind_transmitter
    protocol = yield self.get_protocol(bind_type='TX')
  File "/home/travis/build/praekelt/vumi/vumi/transports/smpp/tests/test_protocol.py", line 76, in get_protocol
    dummy_service = DummySmppService(self.clock, self.redis, cfg)
  File "/home/travis/build/praekelt/vumi/vumi/transports/smpp/tests/test_protocol.py", line 28, in __init__
    self, config.delivery_report_processor_config)
  File "/home/travis/build/praekelt/vumi/vumi/transports/smpp/processors/default.py", line 85, in __init__
    self.log = transport.log
exceptions.AttributeError: 'DummySmppService' object has no attribute 'log'

Fixed the pep8 violations. Tests should also be fixed now.

Ready for review again.

:+1: once Travis is happy. I restarted the failed test (it looks unrelated, but wasn't 100% sure).


Trouble with responsive line chart

First off, thanks for the great library.  I'm looking forward to using it on a new project!
Expected Behavior
I'm trying to get the responsive charts working.  It seems that the axis is scaling fine, but the lines don't seem to redraw.
Current Behavior
When I resize the window the axis grows or shrinks correctly, but the lines stay the original width.
Possible Solution
I'm sure I missed something.
Steps to Reproduce (for bugs)
        <script>
            // Line
            var lineChart = britecharts.line();
            var tooltip = britecharts.tooltip();
            var lineData = data;

            lineChart
                  .margin({
                      top: 60,
                      bottom: 50,
                      left: 100,
                      right: 20
                  })
                  .lineCurve('cardinal')
                  .grid('full')
                  // .width(init_ContainerWidth)
                  .height(350)
                  .on('customMouseOver', tooltip.show)
                  .on('customMouseMove', tooltip.update)
                  .on('customMouseOut', tooltip.hide);

              tooltip
                  .title('.');

              d3.select('.line').datum(lineData).call(lineChart);

              d3.select('.line .metadata-group .vertical-marker-container').datum([]).call(tooltip)

              const redrawChart = () => {
                  let container = d3.select('.line');
                  let newContainerWidth = container.node() ? container.node().getBoundingClientRect().width : false;

                  // Setting the new width on the chart
                  lineChart.width(newContainerWidth);

                  // Rendering the chart and line again
                  container.datum(lineData).call(lineChart);
                  d3.select('.line .metadata-group .vertical-marker-container').datum([]).call(tooltip)
              };

              const throttledRedraw =  _.throttle(redrawChart, 200);

              window.addEventListener("resize", throttledRedraw);
        </script>

Screenshots (if appropriate):
Initial Load:

After making the window wider:

Context
One of the key requirements for my project is responsive and mobile friendly UI.
Your Environment
Version 65.0.3325.181 (Official Build) (64-bit)
Mac OS High Sierra

Would be very helpful to have a codepen for this one. Could you add it? Will be easier to reproduce and have either a fix (if it's a bug) or suggestion

Here's a codepen.  Let me know if you have any questions.
https://codepen.io/damoncool/pen/gzQWdx

Hi, I had this problem on my end too.
It seems to be to do with the .merge() in the drawLines() method of line.js, I moved the .merge() to further down the method chain, and that seemed to fix it for me (haven't had chance to test it fully yet though).
paths = lines.enter()
              .append('g')
                .attr('class', 'topic')
              .append('path')
                .attr('class', 'line')
                .merge(lines)
                .attr('id', ({topic}) => topic)
                .attr('d', ({dates}) => topicLine(dates))
                .style('stroke', (d) => (
                    dataByTopic.length === 1 ? `url(#${lineGradientId})` : getLineColor(d)
                ));

Looks like #657 solved this issue!


DLS lightweight-venv + python -m setup bdist_wheel doesn't work

At the moment in setup.py we find _version_git.py by walking from the parent dir of setup.py and stopping when we find a _version_git.py:
# Place the directory containing _version_git on the path
for path, _, filenames in os.walk(os.path.dirname(os.path.abspath(__file__))):
    if "_version_git.py" in filenames:
        sys.path.append(path)
        break

If we make a lightweight-venv then do python -m setup bdist_wheel then the structure when setup.py is called looks something like this:
setup.py
my_package/
    _version_git.py
   ...
lightweight-venv/
    lib/
        python3.7/
            site-packages/
                other_package/
                    _version_git.py
                    ...
...

Sometimes os.walk will find other_package/_version_git.py instead of my_package/_version_git.py. A more correct approach would be to only look one directory deep:
# Place the directory containing _version_git on the path
TOP = os.path.dirname(os.path.abspath(__file__))
for d in os.listdir(TOP):
    if os.path.exists(os.path.join(TOP, d, "_version_git.py")):
        sys.path.append(os.path.join(TOP, d))
        break

As reported in https://github.com/dls-controls/pythonSoftIOC/issues/31

Could you just use version = attr:<package-name>._version_git.__version__ in setup.cfg?
https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html?highlight=metadata#configuring-setup-using-setup-cfg-files

You could do, but you still need the import for get_cmdclass: https://github.com/dls-controls/versiongit/blob/c0a3be20f626194fb0ee1ae73dceb3d4d7db1ecb/setup.py#L17

With this python setup.py sdist works (using setuptools 57.4.0):
[options]
packages = find:
cmdclass =
    sdist = odinprocservcontrol._version_git.VersionGitCmdClass

But, I get an obscure error doing dls-py3 install-into-prefix

The third party imports issue is the main problem here. That's why I put _version_git on the path and don't just import my_package._version_git.__version__ in setup.py. The AST parsing approach that attr: tries would get around the issue if we had a static string (like when we install from a pypi release) but the install from a git repo would have to run the code, which means all imports would have to work.
I did originally try an execfile approach, which I might have a go with again...

The thing is, this works fine:
version = attr: odinprocservcontrol._version_git.__version__

▶ python setup.py --version
0.1+1.g3ea4a73.dirty

It is only when I add the cmdclass to setup.cfg that has the issue of trying to import everything in the module. Which makes no sense to me, it should be able to import the classes in the same way as the __version__ tuple. Adding the cmdclass also breaks python setup.py --version, but version = attr: ... on its own works.

At the moment BuildPy and Sdist are embedded in the get_cmdclass function. You could extract them into the top level file, but that would stop you passing in your own BuildPy and Sdist baseclasses to inherit from

I have split them into classes, currently. See here if you're intersted: /dls_sw/work/python3/RHEL7-x86_64/odinprocservcontrol/odinprocservcontrol/_version_git.py

Ok, but even if we got that working, it would still try and import odinprocservcontrol, which runs __init__.py which import odinprocserv which imports softioc which is not necessarily installed when setup.py is run. This is the third party import issue we'll struggle to solve. The only way to get around it (and still use the cmdclasses) is to be able to import _version_git without importing odinprocserv. We can do that with a soft-link of _version_git.py -> odingprocservcontrol/_version_git.py, but that might not work on windows, which is why I went with the path hacking method.

Is it expected behaviour that importing __version__ does not try importing everything, but with the cmdclasses it does?

It looks like it tries to parse AST for attr: to see if its a static string, which is meant to avoid the imports. But I doubt it can create the classes from that AST, so it probably does the import there

The changes required for a working setup.cfg only example when you have no third party imports that run when you import your module: https://github.com/dls-controls/versiongit/commit/89f4ef9fd60697b1cbcfbca365cbf2dc8e79f926
But when you add a third party import: https://github.com/dls-controls/versiongit/commit/0d2006e03b6c7bb1cf2011fcd4777e0c3d580211
Then it fails like this:
$ python -m build --sdist --wheel
* Creating venv isolated environment...
* Installing packages in isolated environment... (setuptools==44.1.1, wheel==0.33.1)
* Getting dependencies for sdist...
Traceback (most recent call last):
  File "/scratch/tmc43/pipenv/versiongit-KaOsyyPZ/lib/python3.7/site-packages/pep517/in_process/_in_process.py", line 349, in <module>
    main()
  File "/scratch/tmc43/pipenv/versiongit-KaOsyyPZ/lib/python3.7/site-packages/pep517/in_process/_in_process.py", line 331, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File "/scratch/tmc43/pipenv/versiongit-KaOsyyPZ/lib/python3.7/site-packages/pep517/in_process/_in_process.py", line 284, in get_requires_for_build_sdist
    return hook(config_settings)
  File "/tmp/build-env-e6dgkjnt/lib/python3.7/site-packages/setuptools/build_meta.py", line 150, in get_requires_for_build_sdist
    return self._get_build_requires(config_settings, requirements=[])
  File "/tmp/build-env-e6dgkjnt/lib/python3.7/site-packages/setuptools/build_meta.py", line 127, in _get_build_requires
    self.run_setup()
  File "/tmp/build-env-e6dgkjnt/lib/python3.7/site-packages/setuptools/build_meta.py", line 142, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 1, in <module>
  File "/tmp/build-env-e6dgkjnt/lib/python3.7/site-packages/setuptools/__init__.py", line 162, in setup
    return distutils.core.setup(**attrs)
  File "/dls_sw/prod/tools/RHEL7-x86_64/Python3/3-7-2dls1/prefix/lib/python3.7/distutils/core.py", line 121, in setup
    dist.parse_config_files()
  File "/tmp/build-env-e6dgkjnt/lib/python3.7/site-packages/setuptools/dist.py", line 702, in parse_config_files
    ignore_option_errors=ignore_option_errors)
  File "/tmp/build-env-e6dgkjnt/lib/python3.7/site-packages/setuptools/config.py", line 121, in parse_configuration
    meta.parse()
  File "/tmp/build-env-e6dgkjnt/lib/python3.7/site-packages/setuptools/config.py", line 426, in parse
    section_parser_method(section_options)
  File "/tmp/build-env-e6dgkjnt/lib/python3.7/site-packages/setuptools/config.py", line 399, in parse_section
    self[name] = value
  File "/tmp/build-env-e6dgkjnt/lib/python3.7/site-packages/setuptools/config.py", line 184, in __setitem__
    value = parser(value)
  File "/tmp/build-env-e6dgkjnt/lib/python3.7/site-packages/setuptools/config.py", line 515, in _parse_version
    version = self._parse_attr(value, self.package_dir)
  File "/tmp/build-env-e6dgkjnt/lib/python3.7/site-packages/setuptools/config.py", line 349, in _parse_attr
    module = import_module(module_name)
  File "/dls_sw/prod/tools/RHEL7-x86_64/Python3/3-7-2dls1/prefix/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/dls/science/users/tmc43/common/python/versiongit/versiongit/__init__.py", line 1, in <module>
    import pytest
ModuleNotFoundError: No module named 'pytest'

ERROR Backend subproccess exited when trying to invoke get_requires_for_build_sdist

I don't see any way around this, and I think the majority of modules will pull in some third party import when importing the top level __init__.py. I think we're stuck with hacking the path in setup.py but I'll try and find a safer way to do it, maybe with https://docs.python.org/3.7/library/imp.html?highlight=imp#imp.load_module


New package: PartialWaveFunctions v0.2.0

Registering package: PartialWaveFunctions
Repository: https://github.com/mmikhasenko/PartialWaveFunctions.jl
Created by: @mmikhasenko
Version: v0.2.0
Commit: 3aa229917b6213f654fecd75f28bff8f76a70dc2
Reviewed by: @mmikhasenko
Reference: https://github.com/mmikhasenko/PartialWaveFunctions.jl/commit/3aa229917b6213f654fecd75f28bff8f76a70dc2#commitcomment-38915374

Fixed the version, created a new pull request


Build has failed because sub-dependency rrweb-snapshot

Expected Behavior
Build success
Current Behavior
Build failed as a result of rrweb-snapshot library as sub-dependency of @amplitude/plugin-session-replay-browser
Possible Solution
Steps to Reproduce
Once I trying to npm run build I got this.
<EMAIL_ADDRESS>236:15
Module parse failed: Unexpected token (236:15)
File was processed with these loaders:
 * ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
|     if (!n) return -1;
|     const id = (_a = this.getMeta(n)) == null ? void 0 : _a.id;
>     return id ?? -1;
|   }
|   getNode(id) {

I'm having the same issue on v1.8.2. Any luck getting it to work @davidlevi7 ?

@hiba-aldalaty Are you using the latest analytics-browser package? If possible, are you able to provide your package.json as well? Thank you.

Any updates on this issue? We’re currently using @amplitude/analytics-browser": "^2.11.9" and "@amplitude/plugin-session-replay-browser": "^1.8.2" and are encountering the same build problem...


Help To Encrypt Media

Can you help me to create a function to encrypt media to be sent as picture / document / video / audio messages?
Thank you

please correct my logic

🙏🙏🙏

Please help for Encrypt file to send....
I success send file/image/audio/etc.... but can't open because my encrypt method fails & cant't decrypt 🙏🙏🙏🙏🙏🙏

Hey,
sorry for not answering sooner, but I'm busy with exams and some other things. I might look into it, when I have some spare time at the weekend, if you still need help.

Thanks brother. After I studied it, finally I was able to develop your library and add quite a number of changes in between. send contact, send image, send document, send video, send sticker, send location and receive all contacts, images, etc ...
Thank you. 👍👍👍👍🙏🙏🙏🙏🙏


Update package.json

@john-doherty There is a problem with the version of require-dir being used when using newer versions of node. The version 0.3.0 uses deprecated Node functions which are completely removed in Node 8, version 0.3.2 fixes this issue.

Great. Thanks @itmayziii


feat: add total-borrowed query

closes: #1071

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[x] included the correct type prefix in the PR title
[x] added ! to the type prefix if API or client breaking change
[x] added appropriate labels to the PR
[x] targeted the correct branch (see PR Targeting)
[x] provided a link to the relevant issue or specification
[x] added a changelog entry to CHANGELOG.md
[x] included comments for documenting Go code
[x] updated the relevant documentation or specification
[x] reviewed "Files changed" and left comments if necessary
[x] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Codecov Report

Merging #1099 (65d3499) into main (1caed7c) will increase coverage by 0.00%.
The diff coverage is 43.63%.

@@           Coverage Diff           @@
##             main    #1099   +/-   ##
=======================================
  Coverage   43.54%   43.55%
=======================================
  Files          65       65
  Lines        8336     8390   +54
=======================================
+ Hits         3630     3654   +24
- Misses       4456     4486   +30
  Partials      250      250

Impacted Files
Coverage Δ

x/leverage/client/cli/query.go
0.00% <0.00%> (ø)

x/leverage/keeper/grpc_query.go
5.67% <0.00%> (-0.10%)
:arrow_down:

x/leverage/client/tests/tests.go
100.00% <100.00%> (ø)


Try to retreive multiple indices for multiple labels

My own test vertexUniqueIndexLookupWithMultipleLabels is still failing. When multiple labels are defined it fails to use the index. I am not entirely sure why so any hints would be very much appreciated.

Coverage increased (+0.2%) to 84.257% when pulling 28a8a6639a987424321b4ea30522a8d7918700ff on fppt:try-to-improve-indexing into 1571324f732bee4f5f1d506fb833ab240b6be2b1 on mpollmeier:master.

The error was a poorly defined test on my part. I think this is working now.

Thanks for merging Michael. Sorry for not replying sooner, I have been away over the past week. I agree with your comment. It would make the test more informative. In my next PR I will make that minor change.

On a different note. When do you think you will make the next release for this plugin ?

just released <IP_ADDRESS> :)

Awesome ! Thank you :)


Adds support for specifying Bucket Owner for output S3 Location

This commit adds support for specifying a Bucket Owner for recipe job output and profile job output S3 Location.

LGTM


Tags inside list elements are not handled

If we have

The quick brown fox

jumped over the lazy dog.

after fromXhtml( ) and back toXhtml( ) result will be

The quick brown fox

jumped over the lazy dog.

It is expected tags inside lists should be saved.

Yes, I can reproduce this problem. I will aim to get it fixed in the next update. Thanks!

Fixed in 0.5.1. Thanks!


Fixed port_scan.rb file and related changes

Purpose or Intent

Renamed port_scan.rb to port_scanner.rb to match the name
of the class. Fixed the require statements to discovery/port_scanner
We are planning on exposing the port scanner from the
Automate method and wanted to fix the names before we
did that.

Links

https://github.com/ManageIQ/manageiq/pull/10406

@mkanoor LGTM if you got all the locations.  Note, the automate tests failed.

LGTM @mkanoor is this darga/yes?

Darga backport details:
commit 3fb40aa2b92b6a3f94dda063bde3c8846a408d8b
Author: Joe Rafaniello<EMAIL_ADDRESS>Date:   Tue Aug 16 10:28:10 2016 -0400

    Merge pull request #10479 from mkanoor/rename_port_scanner

    Fixed port_scan.rb file and related changes
    (cherry picked from commit d677d3464840d736ad62747cb940f5cd5e6e5977)

https://bugzilla.redhat.com/show_bug.cgi?id=1375315


Bump dm-control version

Relates to https://github.com/sel3-2023-group-01/simulation-environment/issues/27

I don't think you can, we'll just have to see when I bump it in sim env.


Submit a Cloud Definition

Do NOT copy/paste a definition from somewhere else. Read about the word you want to define and come up with your own definition. Copy/Paste submissions will be closed and not added.
Fill out the JSON with your submission:
    {
    "word": "Super Key",
    "content": "A Super Key is a group of single or multiple keys which identifies rows in a table. A Super Key may have additional attributes that are not needed for unique identification.",
    "learn_more_URL":"",
    "tag":"database",
    "abbreviation": "",
    "author_name":"Ankit",
    "author_link": "https://github.com/Ankit6989"
    }

Fill out the JSON below with the following.
Word (REQUIRED)
The word you are defining. Check this URL for all words we currently have.
Content (REQUIRED)
The definition. No more than 3 sentences.
learn more URL (REQUIRED)
Website where people can visit to learn more about the word.
tag (REQUIRED and select one)
Tech category the word fits in. Options:

compute
security
service
general
analytics
developer tool
web
networking
database
storage
devops
ai/ml
identity
iot
monitoring
cost management
disaster recovery

abbreviation (OPTIONAL)
If the word is commonly abbreviated, please provide it. For example, command line interface is often abbreviated as CLI.
author name (REQUIRED)
Your name.
author link (REQUIRED)
The URL you want your name to link to.

Please provide a value for `learn_more_url"

Hey I have updated the url

Added, thank you for your submission :)


Package type 'DotnetCliTool' is not supported by project

I have a ASP.NET Core 1.1 MVC project targeting net452 and I'm trying to use Microsoft.DotNet.Xdt.Tools with it. I've tried to install it using Nuget but I'm getting this error. Is it not usable in this .NET Core version?
Package 'Microsoft.DotNet.Xdt.Tools 1.2.0' has a package type 'DotnetCliTool' that is not supported by project 'MyProject'.
csproj:
<PropertyGroup>
    <TargetFramework>net452</TargetFramework>
    <RuntimeIdentifier>win10-x64</RuntimeIdentifier>
    <PreserveCompilationContext>true</PreserveCompilationContext>
    <OutputType>Exe</OutputType>
  </PropertyGroup>

It's not currently possible to install CLI tools using NuGet; they can only be installed by editing the project file. This is mentioned in the readme file in this repository:

Edit the XdtSample.csproj file and inside an  element, add a reference to this XDT tool. Note that you cannot use the NuGet Package Manager UI in Visual Studio 2017 to CLI tool references; they must currently be added by editing the project file.

There are a few NuGet issues related to this, including https://github.com/NuGet/Home/issues/4190, https://github.com/NuGet/Home/issues/4256, https://github.com/NuGet/Home/issues/4901 and https://github.com/NuGet/Home/issues/5086; I encourage you to add your feedback there.
I will close this issue since the problem is not related to the code in this repository, and cannot be solved here.


docs: add <RenderOnce> REVERT

Reverts BuilderIO/qwik#2848
As discussed with @shairez , we remove that part again since it is a more internal API.

thanks @zanettin


🐞Fix false positive tests

User Need
As a DevOps Engineer
I want to have appropriate tests run on the join-github app
so that I am confident it is working as intended
Value
Reliable testing is essential to healthy CICD.
Functional Requirements:

Refactor test_github_script.py test test_add_new_user_to_github_org_with_incorrect_inputs so that the assertions are relevant
Check all other tests do what they say they do and refactor if they don't.
Ensure tests are such that a small/unique set of cases cause them to pass

Non-Functional Requirements:

Test name should indicate clearly precisely what the test is testing.

Acceptance Criteria:

Tests have been shown to fail and pass
Ensure tests are mostly checking positive statements (rather than assert nots, which can become obsolete)

Notes:
How to check tests do what they are intended

Checking each assert statement is relevant to the object being tested.
Try to make the assert statement fail by feeding it other parameters.

Tracking test scripts checked

[ ] tests/middleware/test_error_handler.py
[ ] tests/routes/test_auth.py
[ ] tests/scripts/test_github_script.py
[ ] tests/services/test_github_service.py
[ ] tests/validators/test_index.py
[ ] tests/views/test_views.py

Potentially missing tests; ie the corresponding scrip exists in join_github_app/main

[ ]  tests/middleware/test_auth.py
[ ] tests/routes/test_error.py
[ ] tests/routes/test_join.py
[ ] tests/routes/test_main.py

Fix tests that test nothing #120


Display the column calculations above the column header ?

Thank you Table Filter, it helped me a lot
I have been using this since a month, I have found that it'd be great if I have an option to have a look at the column sum, averahe on the top of selected column.
Anyone if solved or can solve and share your views would be appreciated.
Thank you

@koalyptus please help me with this issue,


Added custom attribute for tracking contributions.

:warning: Validation status: warnings

File
Status
Preview URL
Details

toc.json
:warning:Warning

Details

building-blocks/extending-templates/toc.json
:warning:Warning

Details

bread/toc.json
:warning:Warning

Details

docs/example-scenario/apps/apim-api-scenario.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/app-monitoring.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/decentralized-trust.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/devops-dotnet-webapp.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/ecommerce-scenario.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/ecommerce-search.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/sap-dev-test.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/sap-production.md
:white_check_mark:Succeeded
View

docs/example-scenario/data/hybrid-etl-with-adf.md
:white_check_mark:Succeeded
View

docs/example-scenario/data/realtime-analytics-vehicle-iot.md
:white_check_mark:Succeeded
View

docs/example-scenario/infrastructure/hpc-cfd.md
:white_check_mark:Succeeded
View

docs/example-scenario/infrastructure/linux-vdi-citrix.md
:white_check_mark:Succeeded
View

docs/example-scenario/infrastructure/multi-tier-app-disaster-recovery.md
:white_check_mark:Succeeded
View

docs/example-scenario/infrastructure/service-fabric-microservices.md
:white_check_mark:Succeeded
View

docs/example-scenario/infrastructure/video-rendering.md
:white_check_mark:Succeeded
View

toc.json

[Warning] Error happen when converting toc.json to Pdf. Details: Could not find file 'T:\lca0\toc.json'.

building-blocks/extending-templates/toc.json

[Warning] Error happen when converting building-blocks/extending-templates/toc.json to Pdf. Details: Could not find a part of the path 'T:\lca0\building-blocks\extending-templates\toc.json'.

bread/toc.json

[Warning] Error happen when converting bread/toc.json to Pdf. Details: Could not find a part of the path 'T:\lca0\bread\toc.json'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@adamboeglin Is it OK if I piggy back on this PR?

@adamboeglin Is it OK if I piggy back on this PR?

Go for it

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/example-scenario/apps/apim-api-scenario.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/app-monitoring.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/decentralized-trust.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/devops-dotnet-webapp.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/ecommerce-scenario.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/ecommerce-search.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/sap-dev-test.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/sap-production.md
:white_check_mark:Succeeded
View

docs/example-scenario/data/hybrid-etl-with-adf.md
:white_check_mark:Succeeded
View

docs/example-scenario/data/realtime-analytics-vehicle-iot.md
:white_check_mark:Succeeded
View

docs/example-scenario/infrastructure/hpc-cfd.md
:white_check_mark:Succeeded
View

docs/example-scenario/infrastructure/linux-vdi-citrix.md
:white_check_mark:Succeeded
View

docs/example-scenario/infrastructure/multi-tier-app-disaster-recovery.md
:white_check_mark:Succeeded
View

docs/example-scenario/infrastructure/service-fabric-microservices.md
:white_check_mark:Succeeded
View

docs/example-scenario/infrastructure/video-rendering.md
:white_check_mark:Succeeded
View

docs/reference-architectures/ai/batch-scoring-deep-learning.md
:white_check_mark:Succeeded
View

docs/reference-architectures/ai/realtime-scoring-python.md
:white_check_mark:Succeeded
View

docs/reference-architectures/enterprise-integration/basic-enterprise-integration.md
:white_check_mark:Succeeded
View

docs/reference-architectures/enterprise-integration/queues-events.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@adamboeglin Based on David's suggestion, I used azcat-ai for the AzureCAT AI team. The idea is we could filter on azcat* or azcat-ai. You have cat-team, I guess we should align in one direction or the other. I don't have a strong preference 😃

@MikeWasson, that works for me.  Mine wasn't from a specific team in cat, so I'll just use azcat.

:warning: Validation status: warnings

File
Status
Preview URL
Details

bread/toc.json
:warning:Warning

Details

building-blocks/extending-templates/toc.json
:warning:Warning

Details

toc.json
:warning:Warning

Details

docs/example-scenario/apps/apim-api-scenario.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/app-monitoring.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/decentralized-trust.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/devops-dotnet-webapp.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/ecommerce-scenario.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/ecommerce-search.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/sap-dev-test.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/sap-production.md
:white_check_mark:Succeeded
View

docs/example-scenario/data/hybrid-etl-with-adf.md
:white_check_mark:Succeeded
View

docs/example-scenario/data/realtime-analytics-vehicle-iot.md
:white_check_mark:Succeeded
View

docs/example-scenario/infrastructure/hpc-cfd.md
:white_check_mark:Succeeded
View

docs/example-scenario/infrastructure/linux-vdi-citrix.md
:white_check_mark:Succeeded
View

docs/example-scenario/infrastructure/multi-tier-app-disaster-recovery.md
:white_check_mark:Succeeded
View

docs/example-scenario/infrastructure/service-fabric-microservices.md
:white_check_mark:Succeeded
View

docs/example-scenario/infrastructure/video-rendering.md
:white_check_mark:Succeeded
View

docs/reference-architectures/ai/batch-scoring-deep-learning.md
:white_check_mark:Succeeded
View

docs/reference-architectures/ai/realtime-scoring-python.md
:white_check_mark:Succeeded
View

docs/reference-architectures/enterprise-integration/basic-enterprise-integration.md
:white_check_mark:Succeeded
View

docs/reference-architectures/enterprise-integration/queues-events.md
:white_check_mark:Succeeded
View

bread/toc.json

[Warning] Error happen when converting bread/toc.json to Pdf. Details: Could not find a part of the path 'T:\opmq\bread\toc.json'.

building-blocks/extending-templates/toc.json

[Warning] Error happen when converting building-blocks/extending-templates/toc.json to Pdf. Details: Could not find a part of the path 'T:\opmq\building-blocks\extending-templates\toc.json'.

toc.json

[Warning] Error happen when converting toc.json to Pdf. Details: Could not find file 'T:\opmq\toc.json'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Ability to configure schema rules

Hi @SamyPesse @Soreine! I ran into a small question while using this excellent plugin. The schema makes an assumption that the child of the list_item is a paragraph node (and thus also, text as the child node of that).
In my case, the editor has images, etc, and it would be ideal to be able to have the child nodes of list_item be configurable to user-specified list of block elements. Is that possible right now, or easy to do with the library?

The schema only impose that list_item contains blocks (node.kind === 'block'). You cannot use list_items as direct container of inlines or texts. I think you should be able to do what you want. I'll be happy to answer further if you give more detail.

oh, I see! Thank you for the clarification!
I got the impression from the Readme that the 'rules' included the block type being a paragraph. I can make a quick Readme PR incase anyone else wonders.


undefined function: RethinkDB.Query.insert/2

Hi, I followed instructions from the README to insert a record with RethinkDB.Query module, but it throws:
undefined function: RethinkDB.Query.insert/2

After investigating the code I found out, that insert and a bunch of other functions are being imported with __using__, so the RethinkDB.Query module should be used not aliased, correct? But then it won't work with qualified name like Query.insert like in the README, will it?
Sorry if the question turns out to be a nooby one, I'm still trying to wrap my head around elixir :smile:

I'm in the middle of changing where these are all defined. My apologies for
the confusion.
For background, my goal was to separate the different parts of the query
language into different modules for maintainability. If you use RethinkDB  everything is under one namespace. This has cause more confusion than
good, so I'm going to move everything under the single namespace of
RethinkDB.Query
Thanks for your feedback! Your confusion is completely valid and is a
driving factor in how the functions should be presented. The outdated
README doesn't help either.
On Fri, Jun 5, 2015, 6:14 AM Łukasz Wnęk<EMAIL_ADDRESS>wrote:

Hi, I followed instructions from the README to insert a record with
RethinkDB.Query module, but it throws:
undefined function: RethinkDB.Query.insert/2
After investigating the code I found out, that insert and a bunch of
other functions are being imported with using, so the RethinkDB.Query
module should be used not aliased, correct? But then it won't work with
qualified name like Query.insert like in the README, will it?
Sorry if the question turns out to be a nooby one, I'm still trying to
wrap my head around elixir [image: :smile:]
—
Reply to this email directly or view it on GitHub
https://github.com/hamiltop/rethinkdb-elixir/issues/47.

Ok, that definitely explains it. Thanks for the response, and keep up the good work :+1:

Everything has now been moved under RethinkDB.Query. The README should be accurate again.