Home Page Graphics

Questions to Consider

Animation styles - how exactly each graphic will be animated (if it even will be animated)

explore different js libraries that could be used (leave them in the comments)

Where to store images so that git doesn't freak out

Possible Solutions

Use this to maybe store images separately

Goals

Change the cloud graphics to a gradient
add particles using this library (this is customizable later, but we should have some aesthetic visuals for now)

Particles on homepage are implemented with #29
Only thing left to consider is blurb-specific graphics and their animations

Particles on homepage are implemented with #29
Only thing left to consider is blurb-specific graphics and their animations


Don't fingerprint paths when caching is ignored

Codecov Report

Merging #72 (ce176e3) into master (2e8c39c) will decrease coverage by 0.45%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
- Coverage   93.06%   92.61%   -0.46%
==========================================
  Files           3        3
  Lines         404      406       +2
  Branches       49       50       +1
==========================================
  Hits          376      376
- Misses         17       18       +1
- Partials       11       12       +1

Impacted Files
Coverage Δ

src/fscacher/cache.py
90.15% <0.00%> (-1.39%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2e8c39c...ce176e3. Read the comment docs.


ITM/iprint send data in 32-bit chunks

Be careful with alignment.

Note to self: benchmark this with the time module

Have you noticed any problems losing output when sending data quickly? I'm running the same code on the F4 and sometimes lose characters.
I have a feeling that it may be dropping it on the ST-Link side, unfortunately.

Have you noticed any problems losing output when sending data quickly?

Not yet but I haven't tried high throughput either.
I wouldn't expect it to lose data though. The iprintln has a busy wait loop in it to prevent queuing more data if the bus is already busy. I'd expect that to "throttle" the data rate.

I have a feeling that it may be dropping it on the ST-Link side, unfortunately.

FWIW, the ST-LINK is an STM32F1 device and I doubt it's clocked at a high frequency.

Done in cortex-m some time ago.


Fixed crashes when trying to open YouTube videos with emojis

Noticed that when I try to sync YouTube videos on MPC with youtube-dl.
If the video title contains emojis it starts disconnecting and reconnecting infinetely.
Stacktrace:
Traceback (most recent call last):
  File "C:\Users\VIKTOR\AppData\Local\Programs\Python\Python38\lib\site-packages\twisted\python\log.py", line 103, in callWithLogger
    return callWithContext({"system": lp}, func, *args, **kw)
  File "C:\Users\VIKTOR\AppData\Local\Programs\Python\Python38\lib\site-packages\twisted\python\log.py", line 86, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "C:\Users\VIKTOR\AppData\Local\Programs\Python\Python38\lib\site-packages\twisted\python\context.py", line 122, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "C:\Users\VIKTOR\AppData\Local\Programs\Python\Python38\lib\site-packages\twisted\python\context.py", line 85, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "D:\syncplayGit\syncplay\syncplay\vendor\qt5reactor.py", line 153, in _read
    why = w.doRead()
  File "C:\Users\VIKTOR\AppData\Local\Programs\Python\Python38\lib\site-packages\twisted\internet\tcp.py", line 243, in doRead
    return self._dataReceived(data)
  File "C:\Users\VIKTOR\AppData\Local\Programs\Python\Python38\lib\site-packages\twisted\internet\tcp.py", line 249, in _dataReceived
    rval = self.protocol.dataReceived(data)
  File "C:\Users\VIKTOR\AppData\Local\Programs\Python\Python38\lib\site-packages\twisted\internet\endpoints.py", line 132, in dataReceived
    return self._wrappedProtocol.dataReceived(data)
  File "C:\Users\VIKTOR\AppData\Local\Programs\Python\Python38\lib\site-packages\twisted\protocols\basic.py", line 572, in dataReceived
    why = self.lineReceived(line)
  File "D:\syncplayGit\syncplay\syncplay\protocols.py", line 55, in lineReceived
    self.handleMessages(messages)
  File "D:\syncplayGit\syncplay\syncplay\protocols.py", line 26, in handleMessages
    self.handleSet(message[1])
  File "D:\syncplayGit\syncplay\syncplay\protocols.py", line 175, in handleSet
    self._SetUser(values)
  File "D:\syncplayGit\syncplay\syncplay\protocols.py", line 167, in _SetUser
    self._client.userlist.modUser(username, room, file_)
  File "D:\syncplayGit\syncplay\syncplay\client.py", line 1372, in modUser
    self.__displayModUserMessage(username, room, file_, user, oldRoom)
  File "D:\syncplayGit\syncplay\syncplay\client.py", line 1362, in __displayModUserMessage
    self.__showUserChangeMessage(username, room, file_, oldRoom)
  File "D:\syncplayGit\syncplay\syncplay\client.py", line 1290, in __showUserChangeMessage
    self.ui.showMessage(message, hideFromOSD)
  File "D:\syncplayGit\syncplay\syncplay\client.py", line 1581, in showMessage
    self.showOSDMessage(message, duration=constants.OSD_DURATION, OSDType=OSDType, mood=mood)
  File "D:\syncplayGit\syncplay\syncplay\client.py", line 1611, in showOSDMessage
    self._client._player.displayMessage(message, int(duration * 1000), OSDType, mood)
  File "D:\syncplayGit\syncplay\syncplay\players\mpc.py", line 416, in displayMessage
    self._mpcApi.sendOsd(message, constants.MPC_OSD_POSITION, duration)
  File "D:\syncplayGit\syncplay\syncplay\players\mpc.py", line 94, in sendOsd
    cmessage.strMsg = message
builtins.ValueError: string too long (111, maximum length 109)

Added filter for non-ASCII characters to solve the issue.

I remembered a friend had the same issue with VLC (on Windows) so that's why I updated it to include all players.
Want me to have only for MPC-HC?

I've able to reproduce on MPC-HC (64-bit) 1.7.13 on Windows 10 by sending the following chat message: 😂😂😂😂😂😂 - It generates the error: builtins.ValueError: string too long (19, maximum length 14).
The change you proposed means it prints nothing at all when I send those emojis, but alternatively you can change ('strMsg', ctypes.c_wchar * (len(message) + 1)) in mpc.py to ('strMsg', ctypes.c_wchar * (len(message.encode('utf-8')) + 1)) to fix it. Does that solve the issue for you?
I've not been able to reproduce the issue on VLC Maybe your friend could provide specific reproduction instructiong, including which version of VLC and Syncplay they are using.

Seems like the issue is now resolved 👍


Revert "Add ability for clients to specify their own Aws ClientConfig…

…uration"
This reverts commit 128cf1762c4717da30d3f9785d4c67c1b79a1671.
No longer needed since we'll use default java proxy properties instead.

@ryanhall07 it's unique to our setup. 1) Our proxy setup will be detailed in our container contract 2) Misk devs won't have to think about this because we share dockerfiles.

I mean outside of SQ, how is a misk user going to know misk relies on these Java system vars

I mean outside of SQ, how is a misk user going to know misk relies on these Java system vars

Eh yeah, you mean like, the only way misk users can configure a proxy is to set these vars? Yeah true. Misk honestly probably needs some sort of container expectations as well.

I mean outside of SQ, how is a misk user going to know misk relies on these Java system vars

Eh yeah, you mean like, the only way misk users can configure a proxy is to set these vars? Yeah true. Misk honestly probably needs some sort of container expectations as well.

Like the ENVIRONMENT env variable


feat(hooks): add usePaginationState and useTableSortState hooks with examples

Replaces #50. Giving these hooks some more thorough examination to make sure they are nice and clean and extensible.
usePaginationState is largely the same as it was in forklift-ui, that one is pretty simple. useTableSortState has some important differences from useSortState in forklift-ui:

We want to support usage with the composable table components or any custom table, not just the legacy PF Table. The only way to update the sort was previously the onSort function with its weird signature requiring an event and the direction enum. Instead this version provides separate setters for sortColumnIndex and sortDirection and also returns a legacy-compatible tableSortProps for plugging into PatternFly.
There's no support for custom sorting logic in the current forklift-ui version, you have to use getSortValues to provide a number or string value for each cell that will be compared. This version enhances the params of the hook so you can instead pass a custom sort comparison function. One of either compareFn or getSortValues is required, enforced by a TypeScript discriminated union.

TODO: use localeCompare for strings in the default sort implementation? See PF Table examples

Note to self: look at https://github.com/konveyor/tackle2-ui/pull/355 and fix the same issue here eventually

Closing this for now, we may eventually want to move all of the table-control hooks from tackle2-ui into here. Probably want to revisit some of the tweaks that were made in this PR as part of that, particularly adding the compareFn for client-side sorting flexibility.


Multiline Input Documentation

Needs to cover v1 and v2

Awaiting content review

reviewed by sion, pr https://github.com/jpmorganchase/salt-ds/pull/2125


Show possible action IDs when tracking, based on current shortcut

Some actions are registered with a local component, and not with ActionManager, for example NextTab has a different implementation for editor tabs and tool window tabs. This means we can't use the action instance to look up an action ID from ActionManager, and the "track action IDs" feature can't show the executed action ID.
However, the action is a copy of the global "template" action, including shortcuts. We can use the shortcuts to look up and display all possible action IDs as candidates. The notification might therefore include multiple actions, but it is likely to include the required action.
Fixes VIM-3499.

This is great, thank you!

@citizenmatt thanks.


Add Mapped Condition

Fixes #2103

@stbischof I have worked on your PR and created this one, can you review it (your turn! :smile:) to check if I have properly captured your idea - please check the javadoc.
A few notable points:

I have renamed mapped to mappedCondition which feels more expressive to me.
I have revamped the javadoc
refactor the tests.

I will have a look. But at first I would say thank you very much!

@stbischof @nach-o-man I have further simplified the code by having only one method to set the mapping description and made it protected so that it can be overridden.
I also simplified a bit the description itself, check the latest commit https://github.com/assertj/assertj-core/pull/2193/commits/0a0af1a587a5767fa1188c63ca80d6f5ec0a2e96

Lgtm

Lgtm

I sevond that.

thanks for the review!


Change ansible-lint version since version 6.0.0 and greater doesn't work

Closes #3498
molecule with version 3.4 depends on prerun module in ansible-lint but ansible-lint with version 6.0.0 and greater doesn't have prerun module.
We should restrict the version of ansible-lint.

To make this work you need to also add a ceiling on pre-commit config files that are now failing,... due to the same reason.

Hi, @ssbarnea
I've modified the version of ansible-lint in pre-commit hook
Since there is a dependency issue in black in pre-commit hook and it doesn't work correctly, I've fixed it in the new PR (https://github.com/ansible-community/molecule/pull/3508)


Fix GS stream types

The code in DeclRefType::Create was treating all of the point/line/triangle output stream types as HLSLPointStreamType, which meant we always output GLSL geometry shaders with layout(points) out;.

This is a fixup for something I missed in #423.

Since I am working on lower-to-ir.cpp to generate IR types, I'll probably need to take care of it too.

Since I am working on lower-to-ir.cpp to generate IR types, I'll probably need to take care of it too.

I think this will Just Work for you (once this change is applied) as long as you detect the different subclasses and handle each. The problem here was entirely in the front-end not instantiating the right C++ subclass of Type to reprsent these, even though the standard library declarations were done correctly.


add correct Content-Type to refresh token form

The 'refresh token' action was not working for my Chrome extension until I made this change, which is based on this stack overflow solution - http://stackoverflow.com/questions/18820302/using-refresh-token-for-google-oauth-2-0-returns-http-400-bad-request

Thanks!

:) no problem @borismus !


Re-add OutputLayer's _estimated_size for Cohere and Gemma2

Fixes #46
It seems these were removed during the DPO refactoring.

I just saw this PR after pushing my latest commit. I noticed this problem during the refactoring and fixed it there.

No problem. Will close now.


Themes and styles guide add details

There are multiple things which can be added to themes and styles guide - Google I/O talk and Dan's talk.
Summary:

Add implicit vs explicit parenting.
Pre-21 vs Post21 and how app compat unifies it.
Default themes for different UI widgets.

Just to add, I would love to see these added to the styles guide: https://guides.codepath.com/android/Styles-and-Themes if anyone is up for it!

I can give it a shot (only if I am able to understand all this myself).


chore: use our forked verison of dockle-action

For testing purposed we forked the action and we will test what's going on every night when it runs
Closes #47
Signed-off-by: Jonathan Gonzalez V<EMAIL_ADDRESS>

It was fixed on the main project


xorg-server: 21.1.8 -> 21.1.9

(cherry picked from commit 7f6947092bd15e2ed2247d2d2c4e6c3134d5f4f3)
Security advisory:
https://lists.x.org/archives/xorg/2023-October/061514.html
The minimal list of changes is shown in:
https://lists.x.org/archives/xorg-announce/2023-October/003431.html
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

@ofBorg build xorg.xorgserver


self.__delta = self._fail_prob/5?

In line 33 of https://github.com/Alanthink/banditpylib/blob/master/banditpylib/learners/bestarmid/fixconf/ordinarylearner/lilucb_heur.py, it uses
self.__delta = self._fail_prob/5
Why don't you let users input delta(confidence level) directly instead of fail_prob? Does this mean if I want to get confidence level 0.1 like used in the paper, I should specify fail_prob = 0.5?

delta in the paper does not mean confidence level. Here I follow the description of lilUCB heuristic.

In the paper, delta = 0.1 is used. Does this mean v is set to 0.5 in the paper? The paper doesn't explain what v is. Also, setting delta = 0.1 is quite large. That means the error rate can be as large as 10%. In real application, what delta should we use?

I think in the experiment description delta means the confidence interval (i.e., v). Usually, I will choose 0.05.


Quick OSX install instructions

Quick OSX install instructions. This assumes that the user has brew installed.

@changetip 1,000 bits

Hi @lunokhod, @super3 sent you a Bitcoin tip worth 1,000 bits (1,000 bits/$0.27), and I'm here to deliver it ➔ collect your tip.
Learn more about ChangeTip


send&receive and play audio media

Now the audio media file is handled as a normal file, I think it should be treated as the meida, display a audio logo, can play in app directly etc. just like video.

Duplicate of #57


Spring Security Integration

Would someone on the project team mind checking over these changes before they are commited to the main line?
I've tested the functionality as best I can, I'd like to know if anyone objects the the way that I've integrated Spring Secuirty.  There is probably a lot of room for improvement on this script, so another question is how much more does it need before it can be released?

Looks great to me!
I've started in a new job so I'm not that invested in this plugin anymore, but after spending quite a bit of time working on the plugin it makes me very happy to see that someone is still working on it!

Hi guys...
I'm already in contact with sronderos, we'll get this working.
[]s,


Make AuRa generic over cryptography

As is so often the case in Rust, most of the work was fixing compiler
errors.

CI is failing -- it's usually a good idea to check if cargo test --all --no-run is successful before pushing, and that tests on the crates you've altered are passing.


Clicking on Polygon2D resets vertices and enters placement mode after using the Poly/UV editor.

3.1 alpha 463af5b6ef0b4014b4d235364eb3a9713f7bc314
It should be related to this https://github.com/godotengine/godot/issues/21698, it appears at least this was two problems together.
@groud fixed the polygon manipulation getting trapped:  https://github.com/godotengine/godot/pull/22247
Summary
When creating a new polygon in the poly/uv editor, the first thing that happens when attempting to drag or move it, is that it resets and goes back into edit mode as if there were no vertices.  So there may be some loss of information when swapping between the UV window and the main canvas.
No longer does it get stuck, but this will reset your polygon.

Steps to Reproduce

Create a Polygon2D (Don't assign any vertices here.)
Assign a texture.
Enter the UV editor from the toolbar.
Switch to the Poly tab.
Draw out a polygon here.
Hit OK and return to the canvas viewport.
Try to drag the newly created polygon.  (It will reset)

As far as I can tell nothing else appears to be selected on the canvas toolbar that may cause this, but it is at the very least an unexpected/undesirable behavior.  XD

That's normal, you're in the "add point" mode, which resets the polygon if it's already closed.

@groud Oh I see, totally missed it.  It is still on after making the polygon in the UV editor.  It normally turns off when you close the polygon.
Boy, I'll have to be careful.  XD  The icon highlights are a bit subtle now that I'm looking at it again.
Perhaps this is more of a feature request then, maybe it is better if the UV window flips it into selection mode if you complete a polygon.

Perhaps this is more of a feature request then, maybe it is better if the UV window flips it into selection mode if you complete a polygon.

Did it switched to the "add point" mode automatically or were you in this mode already ?

I started in that mode and it stays in it, nothing is switching automatically.  By adding the node, then a texture, and going directly to the UV editor, it is left as it was when it entered the tree.
Noticing that this UV Poly tab in the UV window is trying to do the same thing, but it isn't quite the same.  It starts in edit/drag mode when there is no polygon, and after creating the polygon you can't add points there.
Outside the UV window, same tools, but the modes can be in a different state from each other (one in add the other in edit, etc).  They both individually will move out of add mode when the polygon is closed, so it feels at least that the intention is that you'd want to re-initiate add mode manually.
I suppose it is a minor confusion, it can at least be undone once I get re-oriented.
Thanks again for taking a look at this.

Gave my partner a heads up on this, since she is going to be doing most the work with this.  And she also commented during my demo that she couldn't tell which mode button was active.  It seems the dark blue can be a bit subtle on certain buttons.
I edited the original post to be more clear, since it falls probably mostly under usability.  We can still get the job done, but it can a involve some minor back and forth, and can be a little error prone until you get used to the modes being in different states and make the extra click where needed.


no cheque in bee 0.6.2。

i was  upgrade bee from 0.5.3 to 0.6.2 few days ago . and it with full localstorage size .  before upgrade  i can got 5-15 cheque one day 。 after upgrade my node upload datasize  totaly 100 gigabytes at least .but i can't got any cheque。

This is not a problem report, but a complaint.  This sort of thing is better handled in the #bee-support channel of our Discord server.  If you read the conversations there, you'd know that checks are very rare in the 0.6 swarm at this time and that the developers are aware of it and looking into it.


Pull request for Kanban board

This is a two people project and the participants are:
Agneta Pupienyte & Toyyib Ballo
Link below is our projects Kanban board
https://github.com/users/agneta1991/projects/3

Hi @agneta1991 and @Simpleshaikh1,
Good job so far!
Highlights!

Good task assignments ✔
Descriptive Issue ✔

Hello ✋, you have done well reaching this point of the milestone 🤝 . But there are some issues that you still need to work on to go to the next project but you are almost there!
Status: Required Changes ♻⛔

[ ] The In Review column should come before the Done column. Kindly rearrange the columns.

[ ] Ensure the N+1 query task is added.

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread and tag me @julie-ify if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Added an additional issue called N+1, it has been assigned.
The columns has been swapped places and now in review is placed before done column.

Hi @julie-ify & @Simpleshaikh1 👋,
Your project is complete!  There is nothing else to say other than... it's time to merge it.
Congratulations! 🎉 🥳🥇
Highlights

Progress columns are properly ordered ✔
N+1 task card is properly added ✔

Optional suggestions

N/A

Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Add yaml tags in InstallSchema and update go mod

@mauromorales @Itxaka can you review this

please tag the issue that this PR is fixing

please tag the issue that this PR is fixing

@santhoshdaivajna Can you please help in addressing this?


Compatible with django 3.1 version?

Hi, I do see you have made changes for Django 2.1 Compatability here #234 but I don't see a doc/PR that says it's compatible for Django 3, so just wanted to clarify.

Also, the programing language is python 3.5 ( written over here ), dose it supports a higher version of python


numactl: 2.0.16 -> 2.0.17

Signed-off-by: Muhammad Falak R Wani<EMAIL_ADDRESS>Description of changes
Diff: https://github.com/numactl/numactl/compare/v2.0.16...v2.0.17

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

2.0.18 is out now btw

@alyssais should create a new update for it or wait for this to settle down?

New update please :)

New update please :)

/cc
@alyssais

#287652


Feature request: Image/SVG overlay

In some cases, it would be helpful to have an image or vector drawing with some opacity render on the X-Y plane, at the lowest z data point, or at some offset.  An example would be to add an outline of the US States in the Demo Vote example.  Another example would be to load a custom logo or watermark.  Another example would be to load a data point of interest with a different symbol.
I suspect loading such an image would require some parameters for offset and scaling.
A stretch goal for this feature is to import a 3D model for 3D plots.

We now have a background Image feature, check it out at the bottom of the Chart options:


supported by @typescript-eslint/typescript-estree

Bug Report

🔎 Search Terms

🕗 Version & Regression Information

This is a crash
This changed between versions ______ and _______
This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
I was unable to test this on prior versions because _______

⏯ Playground Link

Playground link with relevant code
💻 Code

// We can quickly address your report if:
//  - The code sample is short. Nearly all TypeScript bugs can be demonstrated in 20-30 lines of code!
//  - It doesn't use external libraries. These are often issues with the type definitions rather than TypeScript bugs.
//  - The incorrectness of the behavior is readily apparent from reading the sample.
// Reports are slower to investigate if:
//  - We have to pare too much extraneous code.
//  - We have to clone a large repo and validate that the problem isn't elsewhere.
//  - The sample is confusing or doesn't clearly demonstrate what's wrong.

🙁 Actual behavior

🙂 Expected behavior

WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.
You may find that it works just fine, or you may not.


Adding docs for non-HTML pages to the Pages section

RFC PR
This adds docs and a couple examples for the new non-HTML pages feature.  This is only supported in the newer static build (behind the --experimental-static-build flag).
📚 Preview

Merging this as-is and making the suggestions in a followup commit. Thank you for the docs, @tony-sull!


Prevent Identity users returning to question pages after redirect

Context
When the Identity journey is complete the user should not be able to press back and resubmit their TRN to Identity.
Changes proposed in this pull request
Prevents a user going 'back' to any of the pages in Find (when used via Identity) after the API call to Identity has been made.
Checklist

[x] Attach to Trello card
[x] Rebased main
[x] Cleaned commit history
[x] Tested by running locally

 Prevent a user going 'back' to any of the pages in Find


Adds SharingEnabled for Network RB and SharingCapable for Storage RB

Closes #471
Closes #472

Coverage increased (+0.002%) to 91.365% when pulling 9591ffae62456d46efc8f8700d4a15cebb0ccd43 on enhacement/adds_sharing_enabled_and_sharing_capable_attr into 14224360a8459c9707a672322d43c70a1af0639b on master.


Mondo: formal protocol for obsoletions

I would suggest this simple protocol:

Every obsolete term has owl:deprecated true^^xsd:boolean
Every obsoleted term without a replacement term has a label starting with obsolete, e.g obsolete gene A
A term with a replacement term does not have to have a label, but replaced_by: must be an exact replacement
Every term must have a rdfs:seeAlso to a GitHub issue. Where we don't have one for historical reason, we link a github discussion that invites people to ask for obsoletion reasons. seeAlso should have type anyURI, not string
Every term should have an obsoletion reason from taxonomy:

MergedTerm (better than to say duplicate)
ObsoletedInSource
IsPhenotypeAndNotDisease
OutOfScope

Restrict properties? Currently no.
Currently:

consider:
replaced_by:
rdfs:seeAlso
http://www.geneontology.org/formats/oboInOwl#hasAlternativeId
http://www.geneontology.org/formats/oboInOwl#id
http://www.geneontology.org/formats/oboInOwl#hasDbXref
rdfs:comment
http://www.geneontology.org/formats/oboInOwl#inSubset
http://purl.obolibrary.org/obo/mondo#excluded_subClassOf
http://www.w3.org/2004/02/skos/core#closeMatch
http://www.w3.org/2004/02/skos/core#exactMatch
http://purl.obolibrary.org/obo/IAO_0000231
http://www.geneontology.org/formats/oboInOwl#hasExactSynonym
http://purl.obolibrary.org/obo/IAO_0000115
http://www.geneontology.org/formats/oboInOwl#hasBroadSynonym
http://www.geneontology.org/formats/oboInOwl#hasRelatedSynonym
http://www.geneontology.org/formats/oboInOwl#hasNarrowSynonym
http://www.geneontology.org/formats/oboInOwl#created_by

I love this

@nicolevasilevsky can you start a github discussion with a nice text explaining why some terms may not have obsoletion reasons recorded for historical reasons, and inviting people to use the discussion to ask for the obsoletion reason of specific terms? The idea is basically, when we don't have a real obsoletion reason, why can link to this discussion, and people can ask there.

Queries:

all obsolete terms including relevant metadata

Why and when are we using alt_id as opposed to replaced_by? This seems odd:
[Term]
id: MONDO:0022263
name: obsolete congenital hepatic fibrosis
alt_id: MONDO:0022266
property_value: seeAlso https://github.com/monarch-initiative/mondo/issues/399 xsd:anyURI
is_obsolete: true
replaced_by: MONDO:0018840

All seeAlso We may have to make some slow progress on this:
https://docs.google.com/spreadsheets/d/13eIa2Ihe6ChwOjH0s-8hp0K9IGMtveIqpFTtVvuvWK4/edit
Maybe during QC calls?

@matentzn how is this?
https://github.com/monarch-initiative/mondo/discussions/2765

Documenting the tags we'll use:
MONDO:outOfScope

we will use IAO property:
IAO:0000231 has obsolescence reason

Can we work on making sure to use the proper obsoletion reasons from IAO?
Currently, we have stuff like
property_value: IAO:0000231 "terms merged" xsd:string

Which should really be using
http://www.ontobee.org/ontology/OMO?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FIAO_0000227
Is the problem that OBO format does not allow these?

We were having problems with it at one point, now I don't remember exactly what the issue was, but it was causing some kind of weird diff maybe?
We said we'd use strings for now, then go back and fix them all later to use individuals

No worries, this was the problem: https://github.com/information-artifact-ontology/ontology-metadata/issues/81


How to set JVB_WS_SERVER_ID ?

Hello, How can I pass a value for variable JVB_WS_SERVER_ID (or JVB_WS_SERVER_ID_FALLBACK)? It has to take pod ip. Because now I see empty value between 2 slashes in a line below. There was pod ip before.
wss://dev85.local.com/colibri-ws//6e955f1068d0fb0a/5418726e?pwd=3nlu61jkso7karg95getskpepl' failed:
In a 10-config file the line  -  XMPP_SERVER_IP=$(dig +short ${XMPP_SERVER}) returns empty value. Then next line
export JVB_WS_SERVER_ID_FALLBACK=$(ip route get ${XMPP_SERVER_IP} | grep -oP '(?<=src ).*' | awk '{ print $1 '}) returns anerror in jvb logs:
[cont-init.d] 10-config: executing...
need at least a destination address
[cont-init.d] 10-config: exited 0.
...

Hello @publishunity!
You can do this by setting the .Values.jvb.extraEnvs.JVB_SERVER_ID variable in your chart installation. The proper way to do it without modifying the chart itself is:
# custom-values.yaml
jvb:
  extraEnvs:
    JVB_WS_SERVER_ID: <insert your jvb service name>.<namespace>.svc
web:
  extraEnvs:
    NGINX_RESOLVER: <insert your kube-dns service ip>

I opened a PR in #28 that adds a couple of ways to set it automatically, you can check it out.

Thank you!


Docs: Provide instructions on how to connect Prometheus and Grafana

Current State:
The current set of documentation regarding Meshery's integration with Grafana and Prometheus (https://meshery.layer5.io/docs/mesh-management#grafana-and-meshery) needs enhanced.
Desired State:
There should be a separate section in the docs that covers how Meshery integrates with Grafana and Prometheus:

how users may connect and use these integrations
how to create a custom Prometheus query.
How to import Grafana boards and panels.
How to create a custom Grafana panel.

Related issues:

https://github.com/layer5io/meshery/pull/856#issuecomment-616524906
https://github.com/layer5io/meshery/issues/864

Contributor Resources

Meshery documentation site
Meshery documentation source
Instructions for contributing to documentation

@vijcheru you may want to knock this one out in the interim to changing the deployment behavior.

Has this issue been resolved??

Lee, I will look into this and get back to you right away. I will give you
feedback as soon as possible.
On Mon, Dec 21, 2020, 05:46 Franklin Okolie<EMAIL_ADDRESS>wrote:

Has this issue been resolved??
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/layer5io/meshery/issues/869#issuecomment-748932792,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOF4QXKBACPWB4XEQPX5HQDSV4YTBANCNFSM4MMNBE4Q
.

Lee, I will look into this and get back to you right away. I will give you
feedback as soon as possible.
On Mon, Dec 21, 2020, 05:46 Franklin Okolie<EMAIL_ADDRESS>wrote:

Has this issue been resolved??
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/layer5io/meshery/issues/869#issuecomment-748932792,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOF4QXKBACPWB4XEQPX5HQDSV4YTBANCNFSM4MMNBE4Q
.

@vijcheru thank you, thank you.

@vijcheru thank you, thank you.


689: translations not generated for choice list used with search()

existing test case search_and_select didn't cover the multi-language case, which requires that itext is emitted for the inline selects.
approach and details described in Survey._redirect_is_search_itext.

Closes #689
Why is this the best possible solution? Were any other approaches considered?
What are the regression risks?
Does this change require updates to documentation? If so, please file an issue here and include the link below.
Before submitting this PR, please make sure you have:

[ ] included test cases for core behavior and edge cases in tests
[ ] run nosetests and verified all tests pass
[ ] run black pyxform tests to format code
[ ] verified that any code or assets from external sources are properly credited in comments

Thanks for this. This makes me kind of wish we weren't as obsessed with keeping old forms working but I continue to think it's important for our users.
Forgive me -- I'm going to go ahead and merge even though you marked this as draft! I have one suggestion for the tests that I'll do a follow-up PR for. I'd really like to put this release behind us and I think this is a very pragmatic approach and is easy to figure out with the comment.


docs(operators): fix typo in delay JSDoc

I have no idea how that "order" sneaked in but it really shouldn't be there.
Baby PR. :baby: :baby_bottle:

Merged with 0f17d5f, thanks @staltz .


Disable OAuth 2 confirmation Screen from CAS Server

Hello community,
At CAS 4.0.0 is possíble to disable OAuth 2 confirmation Screen?

Hello good sir.
First, see https://apereo.github.io/cas/4.2.x/installation/OAuth-OpenId-Authentication.html#add-oauth-clients
Second please pay attenttion to the issue template before submitting an issue:

If you have a question about how to configure a feature in CAS, please use the CAS mailing lists instead. If your submission is not an actual issue or does not carry enough diagnostic data, the issue may be automatically closed.

And it doesn't look like it's possible with 4.0.x


doc: Separate build, installation, and usage docs

Also:

Update Docker image docs
Separate dev/user docs
Document building with LLVM 10
Prefer running with opt, as that's what's available with the release artifacts (Debian packages/Docker images)

@thinkmoore Thanks for the review!


documentation for set method

PR for documentation of set method for issue #2680

thanks for this! We've changed how we handle documentation now to generate it automatically instead. Closing in preference to #3101


Reference Substrings in Apply Time Mutations

Describe your problem
I  am trying to create a Memcached Instance and a DNS Entry for that instance in a single package
I'm trying to use apply-time-mutation which will get the discoveryEndpoint of the memcached and create a DNS record for it in DNS.
The problem is the result includes the port:
kubectl get MemcacheInstance memcached-kpt-test -o jsonpath='{.status.discoveryEndpoint}'
<IP_ADDRESS>:11211

And I can't find a way to split it as jsonPath doesnt let me index strings (strings aren't arrays I suppose?)
> kubectl get MemcacheInstance memcached-kpt-test -o jsonpath='{.status.discoveryEndpoint[0:-6]}' -n waze-platform-codelabs
error: error executing jsonpath "{.status.discoveryEndpoint[0:-6]}": Error executing template: string is not array or slice. Printing more information for debugging the template:
	template was:
		{.status.discoveryEndpoint[0:-6]}

The whole object we tried as reference
metadata:
  name: memcached-kpt-test
  annotations:
    config.kubernetes.io/apply-time-mutation: |
      - sourceRef:
          kind: MemcacheInstance
          name: memcached-kpt-test
        sourcePath: $.status.discoveryEndpoint[0:10]
        targetPath: $.spec.rrdatas.value
        token: ${memcache-discovery-ip}
spec:
  name: "memcached-kpt-test.dretest."
  type: "A"
  ttl: 60
  managedZoneRef:
    external: dretest
  rrdatas:
  - "${memcache-discovery-ip}"

This is not a massive blocker for us as Apply Time Mutations aren't supported yet in Config Sync which is the eventual consumer of this output.
Let us know if you need more information or want us to test something out.  Or, if there is a more kpt native way to do this.
Thanks in advance!

/cc @karlkfi since he has expertise in this area.

Sounds like it’s working as intended. The error message is even pretty clear. ;)
I don’t think there’s really any way to do what you’re trying to do with the current design.
Ironically, I initially proposed yq as a parser, which would have allowed this. The jsonPath code can’t easily be modified to add this kind of thing.
We could hypothetically add another field to describe how to process the value, but it’d probably need to support more than just substring operations by index. Regex might work.
pattern: “(.+):\d+”
value: “\1”

Regex by pattern would work for us.  Anyway to extract some of the value instead of all of it really


Added Topic "yii" for Yii Framework

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md

I am:

[ ] Suggesting edits to an existing topic or collection
[x] Curating a new topic or collection

CURATING A NEW TOPIC

[x] I've formatted my changes as a new folder directory, named for the topic as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME])
[x] My folder contains a *.png image (if applicable) and index.md
[x] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please explain why you think this topic should be curated:
The topic and its aliases are used by a great number of repositories:

https://github.com/topics/yii2 1126
https://github.com/topics/yii 334
https://github.com/topics/yii2-extension 431

Yii framework and all the user contributed extensions are a big part of the PHP community, repository count when searching for Yii is nearly as big as for Symfony:
https://github.com/search?utf8=✓&q=symfony&type= (31K)
https://github.com/search?utf8=✓&q=yii&type= (29K)

Thanks so much for your first contribution!  You rock, @cebe!


Unable to run app from clone repo

I just cloned the repo in my window 7 pro 64bit.
I used the reccomended (in the readme.md file) command
git clone --depth 1 https://github.com/NativeScript/nativescript-marketplace-demo.git

When executing tns run android I got
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'examples'.
> Could not resolve all dependencies for configuration ':_F0F1F2F3F4DebugCompile'.
   > Could not find any matches for com.google.firebase:firebase-core:9.8.+ as no versions of com.google.firebase:firebase-core are available.
     Searched in the following locations:
         https://jcenter.bintray.com/com/google/firebase/firebase-core/maven-metadata.xml
         https://jcenter.bintray.com/com/google/firebase/firebase-core/
         file:/C:/Users/mirko/Downloads/nativescript-marketplace-demo/platforms/android/libs/aar/
         https://repo1.maven.org/maven2/com/google/firebase/firebase-core/maven-metadata.xml
         https://repo1.maven.org/maven2/com/google/firebase/firebase-core/
         file:/C:/Users/mirko/AppData/Local/Android/android-sdk/extras/android/m2repository/com/google/firebase/firebase-core/maven-metadata.xml
         file:/C:/Users/mirko/AppData/Local/Android/android-sdk/extras/android/m2repository/com/google/firebase/firebase-core/
     Required by:
         :examples:unspecified

Also, after this, related to com.google.firebase:firebase-core I've the same error for

com.google.firebase:firebase-database:
com.google.firebase:firebase-auth
... and so on.

I tried
$ tns plugin add nativescript-plugin-firebase
Plugin "nativescript-plugin-firebase" is already installed.

I tried
$  npm install firebase --save

I see only now this :
https://github.com/PanayotCankov/nativescript-plugin-firebase/tree/nativescript-marketplace-demo

"Could not find com.google.firebase:firebase-auth:9.4.0". That means making sure you have the latest Google Repository bits installed. Just run android from a command prompt and install any pending updates.

I'll try and then write here the exit

This problem is gone away.
Now, I'll check this one
"FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':processF0F1F2F3F4F5DebugResources'.

Error: more than one library with package name 'com.telerik.android.common'"


feat: allow safe json upload into osnap tx builder

Fixes #UMA-2431
Can drag n drop or click and choose a file
screenshots:

idle state

add file, choose transaction

Native transfer

Contract Interaction (includes erc20 transfers)

If you drag n drop a non-json file

If there is an error while attempting to parse the file. can be syntax errors in the file or the schema does not match what we expect.

closing this in favor of #147


Remote Connection Issue

Each time I try to open my code-space, it displays that I should retry connecting which never works. I  #need a solution to this please.

/extCodespaces


Unable to output custom layer

Hi,
I've built a layer called dissimilarity which returns :
K.sqrt(K.sum(K.square(inputs[1] - concatenated),axis=1, keepdims=True))
but the following error raised on buildinf the Model:
Output tensors to a Model must be Keras tensors. Found: <__main__.Dissimilarity object at 0x10f444908>
The test code is:
`
A = Input(shape=(3, None, None))
B = Input(shape=(3, None, None))
    crop_right_bound = Boundary(1)(A)
    crop_left = Crop_Side(3,0)(B)

    dis = Dissimilarity([crop_left, crop_right_bound])

    patch_compare = Model([part_A_input, part_B_input], dis)`

Do i need to configure anything else in my implementation of the layer?

+1 would like to know the answer to this also.  I ran into the same problem implementing a simple custom layer that's not even at the end of the network and it fails:
class Bilinear(Layer):
    """ Computes $x^T zI y rowwise for a batch"""
    def __init__(self, **kwargs):
        super(Bilinear, self).__init__(**kwargs)

    def build(self, input_shape):
        assert len(input_shape) == 3, "Input should be shape (batch_size, 3, embed_size)"
        embed_dim = input_shape[2] # 0 is the batch dim
        self.trainable_weights = []

    def call(self, tensor, mask=None):
        x = tensor[:,0,:]
        y = tensor[:,1,:]
        z = tensor[:,2,:]
        xTz = Merge(mode='mul')([x, z])
        xTzy = K.batch_dot(xTz, y, axes=1)
        return xTzy

    def get_output_shape_for(self, input_shape):
        return (input_shape[0], 1)

vocab_size = 100
target_embed_size = 100

x_input = Input(shape=(1,), dtype='int32', name='x_input')
y_input = Input(shape=(1,), dtype='int32', name='y_input')
z_input = Input(shape=(target_embed_size,), dtype='float', name='bilinear_input')

x_embed = Embedding(input_dim=vocab_size, output_dim=target_embed_size)(x_input)
y_embed = Embedding(input_dim=vocab_size, output_dim=target_embed_size)(y_input)

z_embed = K.expand_dims(z_input, dim=1)

xyz = Merge(mode='concat', concat_axis=1)([x_embed, y_embed, z_expand])
score = Bilinear()(xyz)
output = Activation('sigmoid')(score)
#output = Activation('linear')(score) # trivial identity output layer doesn't work
#output = Lambda(lambda x:x, lambda in_shape:in_shape)(score) # another identity output that doesn't work

bi = Model(input=[x_input, y_input, z_input], output=[output])
bi.compile(optimizer=RMSprop(), loss='accuracy')

Throws error:
Exception: Output tensors to a Model must be Keras tensors. Found: Tensor("Sigmoid_1:0", shape=(?, ?), dtype=float32)

@teffland Three potential problem:
First, I think you misuse Merge. (doc) It should be:
from Keras.layers import merge
# in def call:
xTz = merge([x, z], mode='mul')
xyz = merge([x_embed, y_embed, z_expand], mode='concat', concat_axis=1)
# z_expand not exist in your code, typo?

Second, the reason why you get the error is attempting to merge "Tensor" and "Keras Tensor". Can be fixed by
 z_embed = Reshape((1, target_embed_size))(z_input) # or writing Lambda layer

Last, K.batch_dot seems not work as you wish. Check this?
xTzIy = K.sum(x*y*z, axis=1, keepdims=True)

I also got this Exception: Output tensors to a Model must be Keras tensors. from a similar code.
I could not find any documentation about Keras Tensor, could some one point out what is the difference between keras tensor to a tensor defined by K.variable or K.placeholder? Why does keras need them? How to convert a keras variable into keras tensor?

After some dig I found the answer to my previous questions in the source code of topology.py. I think it would be helpful to add the Input layer in the core layers documentation.
    `Input()` is used to instantiate a Keras tensor.
    A Keras tensor is a tensor object from the underlying backend
    (Theano or TensorFlow), which we augment with certain
    attributes that allow us to build a Keras model
    just by knowing the inputs and outputs of the model.
    For instance, if a, b and c and Keras tensors,
    it becomes possible to do:
    `model = Model(input=[a, b], output=c)`
    The added Keras attributes are:
        ._keras_shape: integer shape tuple propagated
            via Keras-side shape inference.
        ._keras_history: last layer applied to the tensor.
            the entire layer graph is retrievable from that layer,
            recursively.

@joelthchao
Thanks for the recommendations.

The way I used Merge works for the functional API
This is counterintuitive.  So what you're saying is you can't mix and match backend calls with Layers w/o wrapping those calls in Layers (eg, with a LambdaLayer)?
Seems like a good way to do the dot product
A silly mistake (but the code didn't make it that far yet anyways)

I've had the same error. @fchollet said it can be solved by using a Lambda layer but it does not work at all.
It has no effect to have a Lambda layer of the form lambda x: x. It doesn't make sense.
The argument you pass to a Lambda layer should be a function that returns a TF or Theano tensor. All TF/Theano operations being applied should be inside that function. This is explained clearly in the documentation for the Lambda layer.
Otherwise, you can use a custom layer, and put your custom TF/Theano code in the call method, as explained here: http://keras.io/layers/writing-your-own-keras-layers/
@teffland your code is incomplete so it isn't possible to give you precise pointers. I think @joelthchao has already pointed out the most likely issues.

@ghost : a Model has to be defined with tensor inputs and tensor outputs, as explained throughout the documentation. You are setting as output a class instance instead.
Your code:
dis = Dissimilarity([crop_left, crop_right_bound])  # that's a class instance
patch_compare = Model([part_A_input, part_B_input], dis)  # dis should be a tensor, but it's a class instance!

Hence you get an error message that explicitly tells you what you did wrong:
Output tensors to a Model must be Keras tensors. Found: <__main__.Dissimilarity object
So maybe you meant to write:
layer = Dissimilarity()
dis = layer([crop_left, crop_right_bound])  # this is now a tensor (if the Dissimilarity layer has been correctly implemented)


Add nodejs versions 16,18,20,21 (fixes #949)

Closes #949

Please remove nodejs-?? and leave just the working one pointing to the 21 repo

@philclifford Done, thx.

@rasa Oops - missed adding to manifest I think


Snippet: single search result

testing notes
zeplin links
list with results: L / M / S
notes

is it responsive?
is the important metadata there (e.g. publisher)?
do long titles or weird metadata distort it significantly?

Single search result is responsive. Handles long and strange metadata in rational ways. All important metadata is there.

on mobile, stack page thumbnail and text snippets. there's not enough width for text block to get good readability.

Updated the test site so that highlighted text flows below image on mobile.


Fails on Windows with exit code<PHONE_NUMBER>

A new Windows runner regression popped up recently.
C:\hostedtoolcache\windows\Python\3.10.2\x64\Scripts\flake8.exe --version
Error: The process 'C:\hostedtoolcache\windows\Python\3.10.2\x64\Scripts\flake8.exe' failed with exit code<PHONE_NUMBER>

Possibly related?:

https://github.com/actions/toolkit/issues/992
https://github.com/actions/setup-python/issues/328
https://github.com/actions/virtual-environments/issues/5027

I need to explore the issue trackers in more detail to understand how we should address it.

Based on https://github.com/actions/toolkit/issues/992#issuecomment-1030691417, it sounds like we should use the following to install Python packages in Win runner env's to address the issue:
python -m pip install [package]

which we do here.  Looking for another solution.

Reverting the pip version in https://github.com/py-actions/flake8/pull/140/commits/465c8cfbacb0e3ffc1d57c58a6fc7233efbca574 addresses this issue.

This may have been addressed in pip release https://github.com/pypa/pip/releases/tag/22.0.4


Added TurtleBlocksJS

You removed the old TurtleJS from the activities.json but you need to remove the whole content of the old activity too.

It seems that github has trouble handling such a big diff.

Right, the old directory and all its content has disappeared but github show only one file removed


Q: Whether does it make sense to merge clipnotify with clipmenu?

I would like to make a debian package for clipmenu, and feel it make sense to merge clipmenu and clipnotify together.
How do you think?

I think everything is answered here, so closing -- but feel free to poke me if there's anything else :-) Thanks!


compositeRoundingInaccuracies function issues

There is an issue with how rounding inaccuracies are handled. The compositeRoundingInaccuracies function has some logical issues when a discount is applied to the cart. We have noticed this issue because Klarna didn't want to accept some of the orders.
Below is a function that handles these inaccuracies more effectively:
private function compositeRoundingInaccuracies($remaining, $apiRoundingPrecision, $orderLines)
{
    $remaining = round($remaining, $apiRoundingPrecision);

    if ($remaining < 0) {
        foreach (array_reverse($orderLines) as $hash => $items) {
            // Grab the line group's total amount
            $totalAmount = array_sum(array_column($items, 'totalAmount'));

            // Remove when total is lower than remaining
            if ($totalAmount > 0 && $totalAmount <= abs($remaining)) {
                // The line total is less than remaining, we should remove this line group and continue
                $remaining = $remaining + $totalAmount;
                unset($items);
                continue;
            }

            // Otherwise spread the cart line again with the updated total
            //TODO: check why remaining comes -100 when testing and new total becomes different
            $orderLines[$hash] = static::spreadCartLineGroup($items, $totalAmount + $remaining);
            break;
        }
    } elseif ($remaining > 0) {
        foreach (array_reverse($orderLines) as $hash => $items) {
            // Grab the line group's total amount
            $totalAmount = array_sum(array_column($items, 'totalAmount'));
            // Otherwise spread the cart line again with the updated total
            $orderLines[$hash] = static::spreadCartLineGroup($items, $totalAmount + $remaining);
            break;
        }
    }

    return $orderLines;
}

With this fix, the issue from the TODO comment: TODO: check why remaining comes -100 when testing and new total becomes different should be resolved.

Talking a bit about the code fixes – implementing it the way I described ensures that orders with discounts applied to products will have the discount correctly handled, and there won’t be issues with discrepancies between the sum of the product values in orderLines and what we pass from PrestaShop as the total order amount. We had a situation where PrestaShop, after applying discounts, had an inaccuracy of 0.02 euros, which caused the code to malfunction and add as much as around 1.6 euros to one of the products – which is, of course, completely incorrect due to the faulty logic of this function.

Hi there @mariuszsienkiewicz,
Can you please provide us with the exact steps to recreate this issue?
Product prices, discounts, and order total would be needed.
Thanks!
Best Regards,
Invertus Support team.

I will provide you with more information soon, so please don't close this issue in the meantime. :)

@mariuszsienkiewicz,
When you are available, please provide more information. We created several discounts which were applied to cart and product, with several vouchers as well.
Tried different discount types, but Klarna payments seems to be working fine .
Can we get configurations and shop information(ps version)

Discount settings
Product settings
Currency decimal settings

If you have any questions, please let me know!
Best Regards,
Invertus Support team.

Hello there,
As this has been inactive for some time now, I am closing the issue.
If you are still facing it and decide to come back, please reply and with the answer and we will continue working.
If you have any questions, please let me know!
Best Regards,
Invertus Support team.


Update to sev 1.0

This fixed sevctl build with sev 1.0. Required a fix to sev imports over here: https://github.com/virtee/sev/pull/39
Once that lands we should drop the top patch here and adjust Cargo.toml

Using sev 1.0 doesn't work, but sev.git now does. We could bump Cargo.toml to point to sev.git, but I don't think it buys us much at the moment.


Purpose/Performance thoughts

Currently, half-light makes a few important decisions on how it works....

It uses a @media rule to keep everything valid and useable from CSSOM. This saves re-fetching or re-parsing (as well as the code it would take to do that which is huge) because everything is valid.

It uses requestAnimationFrame to wait a beat for the body to become available before making sure rules come from the head and then collecting them all into the sets they might match. More or less this shouldn't fire until very shortly after it is and it could, in theory paint something

Right after 2, it attaches a mutation observer to the head.  Again, the head should be closed/done - but if someone  (rarely?) manipulates a style or link tag in the head after, it will work.  For example, if you open devtools and edit rules in a <style> that should actually work as you expect.

Creates a proxy(conceptually)/aspect around .attachShadow() which means that it can be pretty performant and work for whenever/however shadows are attached.... As long as it's done by calling that method.  DSD does not, and so it doesn't work with DSD.

Perhaps #3 is debateable. Someone mentioned that that gave them some pause about adopting it.  It's not really fundamentally necessary for many/most use cases I guess. It sure makes it nice when you want to play around with dev tools or a code pen or something though.
Is #4 the right tradeoff?  @knowler was mentioning (I think) that you could walk the tree and check for shadow roots, and that would support DSD.  I guess we could just provide a method you could call manually when ready and it would happen late, just once and that would support DSD?  It would be hella efficient I guess, but have bad FOUC and wouldn't handle anything live?  I'm not sure that's a set of tradeoffs I would make myself though -- another option could be to just use a mutation observer on body instead - it's less efficient maybe by a lot, but almost all mutations just bail out because you're just checking for a shadow root and this is a thing a lot of polyfills do.. and it would work with DSD, not late.
So... What are we going for here? I'm debating maybe even just making a few flavors of the script because none of them are very complicated... I could use more thoughts before I make any updates to these though.

Here's my $0.02...

Using @media is good, but walking style rules imposes a potentially notable cost (average CSS size is ~75KB). There should be an opt-out (or in?) attribute data-no-half-light or something. I think a very common use case is to just pull in 1 or a few entire stylesheets (e.g. a reset or library like bootstrap) and specify the media attribute on it. If that's done, it shouldn't be processed (not sure if it is now), and there might be other stylesheets intended for the page only that it would be nice to prevent processing.
I agree that preventing FOUC is important, and I believe waiting for requestAnimationFrame be fine to accomplish this. Theoretically, I guess the parser could yield and paint before the head is done, but that seems rare enough not to bother with.
In think this should be optional. The concern I have isn't the mutation observer but the Set of shadowRoots maintained. That's a memory leak since it'll maintain references to elements removed from the DOM. Dealing with the removal via disconnection would be possible, but imo, it's not worth it and would require either an intrusive mutation observer or a base class implementing disconnectedCallback. I don't think this library should be coupled to custom elements if possible since Shadow DOM is not.
I like the attachShadow override. Walking nodes is problematic for the general case as you mention, and an opt-in API is cumbersome. I do think it might be worth adding DSD support that just does a 1 time walk only. DSD is really not dynamically created after the page is complete.

Re: A few flavors... Personally, I wouldn't bother with this. Aside from being harder to maintain, it's cumbersome to choose and switch. I think the "live styles" option should either just be removed or I'd favor just having a data-observe attribute on the script that you get via document.currentScript.

@sorvell does #1 differ from https://github.com/bkardell/shadow-boxing?  Or do you just prefer that one? Like, if we switch #1, what is left of half-light and how is it not just shadow-boxing?
re: #4 ... This seems pretty reasonable I guess.. When? On DOMContentLoaded?

what is left of half-light and how is it not just shadow-boxing?

Things I value about this approach:

can consume either an entire stylesheet or a subset of rules within a stylesheet
provides a selector to specify what scopes to which the styling should apply


Cannot locate WSL 2 vEthernet Properties (on Windows 11)

Windows Build Number
Microsoft Windows [Version 10.0.22000.51]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
Kernel version: 5.10.16
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
Control Panel > Network Connections
Look for "vEthernet (WSL)" adapter (or similar).
Expected Behavior
Should see a dialog box for the vEthernet (WSL) adapter.
Actual Behavior
It's not showing up.  It's working fine.  It's showing up with "ipconfig":
Ethernet adapter vEthernet (WSL):
Connection-specific DNS Suffix  . :
Link-local IPv6 Address . . . . .
My objective is to experiment with Large Send Offload Version 2 (IPv4) to try to get better download performance within WSL 2.
I can find the WSL Virtual Switch in the Virtual Switch Manager from Hyper-V Manager, but, again, cannot access adapter properties from there.
Yes, I can use "Disable-NetAdapterLso" (and I can query state with "Get-NetAdapterLso -Name *") and that changes the adapter, but, shouldn't it be visible somewhere in the UIs?
(I fear I am missing something (very) obvious ...)
Diagnostic Logs
No response

Perhaps related, but, I can't make the (command line) Set-NetAdapterLso commands "stick" to the adapter. I am able to disable LSO, and then (after recovering the way DNS then breaks down by manually modifying resolv.conf and doing the "chattr +i" magic on it.  But on (host) system restart, kicking WSL off again sets LSO defaults back to being "True".
(Note, the reason for all the above is to fix WSL 2 download speeds.  The fix for me works, eventually, with a 50x performance boost ...  so the struggling is worth it, but, should this really be so cumbersome to adjust?)

@petersmagnusson - I think what's happening is you're modifying the host adapter on the WSL2 network, not the adapter in the VM.

@petersmagnusson - I think what's happening is you're modifying the host adapter on the WSL2 network, not the adapter in the VM.

you mean with respect to why the "Disable-NetAdapterLso" command is not "sticking"?   (because to be clear, the changes "work" in the sense that download speed is fixed.)


Update documentation related to runtime parameters

There have been some runtime parameter changes in master (e.g. #3689) which require documentation updates as the examples are no longer up to date.

This was done as part of #3903.


add kube-linter to task

Fixes: https://github.com/redpanda-data/helm-charts/issues/1061
adding task file, will look to add action in next PR but first we should get an idea of what things to exclude, what things need to be fixed. Please run
task ci:kube-lint-template
this is preliminary and it justs tests the redpanda chart, we can add more templates later if we wish. For now i included hooks, but we can add the --no-hooks flag.

blocking until we have a good idea of what things to ignore.


Oghliner service worker is not deleting out of date offline caches

STR:

Offline an application with oghliner
Change an asset
Run gulp offline
Explore offline caches with DevTools

Expected:
The current offline cache is listed and all the former caches not.
Actual:
Former offline caches remain.

Nice catch! I published v1.0.4 to NPM with this fix.


Use paging modular methods in Search controller

This is code cleanup PR where I've removed repetitive code for generating paging boundaries for the paging link, inside the Search controller.

Codecov Report

Merging #782 into master will increase coverage by 0.26%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #782      +/-   ##
==========================================
+ Coverage    72.1%   72.37%   +0.26%
==========================================
  Files          83       83
  Lines        5034     4985      -49
==========================================
- Hits         3630     3608      -22
+ Misses       1055     1034      -21
+ Partials      349      343       -6

Impacted Files
Coverage Δ

search.go
61.7% <100%> (+8.57%)
:white_check_mark:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2e26bc9...46690ee. Read the comment docs.


wslg is delaying time to load user accounts

Environment
Windows build number: Version 10.0.22000.160
Your Distribution version: 20.04
Your WSLg version: 1.0.26

Steps to reproduce

Restart windows, and open Ubuntu console...
Console opens with wslg user
All other users are missing...

This problem continues for around 7-10 minutes, and thereafter all wsl is initialized to the normal state with all users and files.
After full initialization of WSL, wslg user disappears

Expected behavior
WSL should load with all files at start, and wslg should be working in background(If it's taking time to load some stuff)
Actual behavior
Probably wslg is doing some stuff, delaying loading of files in wsl

@benhillis, any clue on this? could this be waiting system-distro to start up, then wslg disappear? but 7-10mins sounds too long.

Something funky definitely going on, I'd have to look at a trace: https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#record-wsl-logs-manually

I'm trying to recreate this issue, but instead I'm getting another error
Here's the link to feedback: https://aka.ms/AAet3z0

Yesterday, I upgraded to Build version 10.0.22000.258.
There's no longer a delay in WSL loading.
It appears that the problem has been resolved.


urg_node: 1.0.0-1 in 'eloquent/distribution.yaml' [bloom]

Increasing version of package(s) in repository urg_node to 1.0.0-1:

upstream repository: https://github.com/ros-drivers/urg_node.git
release repository: https://github.com/ros2-gbp/urg_node-release.git
distro file: eloquent/distribution.yaml
bloom version: 0.9.3
previous version for package: null

urg_node
* migrate ros2 devel (#50 <https://github.com/ros-drivers/urg_node/issues/50>)
* Merge pull request #42 <https://github.com/ros-drivers/urg_node/issues/42> from BadgerTechnologies/detect-time-warp-and-reset
* synchronize_time: reset when clock is warped
* Merge pull request #41 <https://github.com/ros-drivers/urg_node/issues/41> from BadgerTechnologies/synchronize-time
* synchronize system clock to hardware time
* Add Travis config.
* Fixed linter errors.
* Contributors: Aarush Gupta, aswinthomas, Brett, C. Andy Martin, Chris Lalancette, Gu Chao Jie, Karsten Knese, Marc-Antoine Testier, Tony Baltovski, Zoe

Travis is still having problems, but the CI build succeeded: https://travis-ci.org/github/ros/rosdistro/builds/666487083?utm_medium=notification&utm_source=github_status


hit this today

/home/ubuntu/hypermirror/node_modules/hypercore/lib/replicator.js:443
this.upgrading.resolve()
^
TypeError: Cannot read property 'resolve' of null
at RequestPool._onupgrade (/home/ubuntu/hypermirror/node_modules/hypercore/lib/replicator.js:443:20)
at async Replicator.ondata (/home/ubuntu/hypermirror/node_modules/hypercore/lib/replicator.js:805:7)

@mafintosh
this.upgrading is null unless one of two specific lines are run. There are lines 319 and 379.
319 is inside the function _updateUpgrade. I think the error might be in 379. The two lines above it have the comment:
// TODO: if the peer fails, we need to resolve the promise as well woop woop
// so we need some tracking mechanics for upgrades in general.

My guess is something went wrong with

The UpgradeLock constructor. But I can't really think of a way a constructor so simple my run into an error and return null.
The conditions to set this.upgrading, which are in lines 318 and 362-390 (a lot of TODO notes in that area).

Is there a way to replicate the error?


Example and wasm-terminal use undocumented API (wasmerFs.volume.fds[1].write)

When looking for a way to get stdout as it is produced, I stumbled upon the use of wasmerFs.volume.fds[1].write in the source code, the purpose of which is pretty self-explanatory from the naming. The unfortunate thing is that the chain is basically undocumented:

wasmerFs.volume is not yet documented as pointing to a memfs Volume. This can be fixed easily on wasmerio docs.
memfs's Volume is not documented to have fds in their markdown API reference either. Now that's someone else's problem, and it makes things messier because I am familiar with neither wasmer-js nor memfs.

It should also be noted that the JSON stuff in wasmerFs are not documented anywhere either -- neither in the ts source nor in the reference API md at https://docs.wasmer.io/integrations/js/reference-api/wasmer-wasmfs. Any chance we can find a way to write the doc once and have the other thing be generated somehow?

We moved away from memfs into a pure rust/wasm FS implementation.
Closing the issue :)


Translation: redis.adoc.po

Here is the Portuguese translation for the redis.adoc.po file.
I translated the 'Increment' code as well
That PR is related to the issue fixed: #22
PS: This is my very first open source contribution so feel free to correct me if I did something wrong.

Thanks for the quick reply! I have a few comments:
1 I didn't understand why the build failed. Did I do something wrong?
2 good to know that it's not necessary to translate the code. Maybe we could add that to the tutorial on discord

https://pr-preview-27-pt-quarkusio.surge.sh/guides/redis


Include instructions to upload

Hi,
I've started developing in react-native just recently and I had a lot of trouble to implement this module with upload. I found out that many people have this problem also.
I suggest to include instructions to upload to the bottom of the Read Me. I'm willing to make the pull request if you consider this interesting too.
By the way, my main problem was php upload_max_filesize, which I solved by using options maxWidth and maxHeight for the ImagePicker.

There are a ton of different ways to upload an image to a web server, so I doubt 1 set of instructions in the README would even begin to cover everyone's use cases. Besides, image uploading isn't the responsibility of this package - choosing the image is.


Promise dependency seams to fail

node HttpsProxyAgent.js

/home/aemonge/user/studies/mongoose/node_modules/hoxy/node_modules/co/index.js:50
  return new Promise(function(resolve, reject) {
             ^
ReferenceError: Promise is not defined
    at Proxy.co (/home/aemonge/user/studies/mongoose/node_modules/hoxy/node_modules/co/index.js:50:14)
    at Server.<anonymous> (/home/aemonge/user/studies/mongoose/node_modules/hoxy/lib/proxy.js:244:23)
    at Server.emit (events.js:98:17)
    at HTTPParser.parser.onIncoming (http.js:2109:12)
    at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:122:23)
    at Socket.socket.ondata (http.js:1967:22)
    at TCP.onread (net.js:528:27)

What version of node are you running?
On 29 Oct 2015 22:45, "Andres Monge"<EMAIL_ADDRESS>wrote:

node HttpsProxyAgent.js
/home/aemonge/user/studies/mongoose/node_modules/hoxy/node_modules/co/index.js:50
return new Promise(function(resolve, reject) {
^
ReferenceError: Promise is not defined
at Proxy.co (/home/aemonge/user/studies/mongoose/node_modules/hoxy/node_modules/co/index.js:50:14)
at Server. (/home/aemonge/user/studies/mongoose/node_modules/hoxy/lib/proxy.js:244:23)
at Server.emit (events.js:98:17)
at HTTPParser.parser.onIncoming (http.js:2109:12)
at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:122:23)
at Socket.socket.ondata (http.js:1967:22)
at TCP.onread (net.js:528:27)
—
Reply to this email directly or view it on GitHub
https://github.com/greim/hoxy/issues/63.

aemonge@FHFXTY1 ~/u/s/mongoose> node -e 'console.log(process.versions.v8);'                                               master↓-!?
<IP_ADDRESS>
aemonge@FHFXTY1 ~/u/s/mongoose> node --version                                                                            master↓-!?
v0.10.37
aemonge@FHFXTY1 ~/u/s/mongoose> npm --version                                                                             master↓-!?
1.4.28

Well, there you have it. Hoxy dependency co needs a newer version of node.

Got it !!!! Yei !!!! Thaks a LOT men !!!
By the way, I'm trying to log ( and store in mongoose ) all request to :5000 port, creating a proxy (or inversed one, don't really know the difference). What Incantiation would you recomend me to start with.

By the way, I'm trying to log ( and store in mongoose ) all request to :5000 port, creating a proxy (or inversed one, don't really know the difference). What Incantiation would you recomend me to start with.

Try creating a reverse proxy to yourmachine:5000, then in the intercept handler just console.log anything you want. Hope that helps!

Thanks !!!!!  (:


scripts/ci/test-operator: create OperatorGroup if one does not exist

Create an OperatorGroup if one does not exist in $NAMESPACE.

It's passing tests, so please rebase these commits, then I'll merge


Problem with github_team_member

Describe the bug
It is not possible to provide a set instead of a single value for the organization field when querying the github_team_member table.
This is supported for the slug field though.
Steampipe version (steampipe -v)
version 0.16.3
Plugin version (steampipe plugin list)
| hub.steampipe.io/plugins/turbot/github@latest          | 0.22.0  | github    |
To reproduce
Query:
> select
    login
  from
    github_team_member
  where
    organization IN (select login from github_my_organization)
    AND slug IN ('team-A', 'team-B')
Error: rpc error: code = Internal desc = 'List' call for table 'github_team_member' is missing 1 required qual: column:'organization' operator: =
 (SQLSTATE HV000)

Expected behavior
Support both = and in for the organization field.
Additional context
There is 1 organization in my github_my_organization.

Hello @mariadb-ChristianBauer, sorry for the delayed response. I might need to look up the design of quals but it is a known limitation.
For now, you could use the following query to stay unblocked:
select
  t.organization as organization,
  t.name as team_name,
  t.slug as team_slug,
  t.privacy as team_privacy,
  t.description as team_description,
  tm.login as member_login,
  tm.role as member_role,
  tm.state as member_state
from
  github_team as t,
  github_team_member as tm
where
  t.organization = tm.organization
  and t.slug = tm.slug
  and tm.role = 'maintainer';

Please let me know if it unblocks you. Thanks once again for raising this issue and apologies for the delayed response 👍 .

Hi @misraved ,
A workaround has already been found, but it is not optimal.

Hi @misraved ,
Results are mixed.
When using one element in the slug list:
> select
    login
  from
    github_team_member
  where
    organization IN (select login from github_my_organization)
    AND slug IN ('team-A')
+------------------------+
| login                  |
+------------------------+
| my-user-id         |
+------------------------+

When using two elements in the slug list:
select
    login
  from
    github_team_member
  where
    organization IN (select login from github_my_organization)
    AND slug IN ('team-B', 'team-A')

Error: rpc error: code = Internal desc = 'List' call for table 'github_team_member' is missing 1 required qual: column:'organization' operator: =
 (SQLSTATE HV000)

Version numbers:
$ steampipe -v
steampipe version 0.17.1
$ steampipe plugin list | grep github
| hub.steampipe.io/plugins/turbot/github@latest          | 0.24.0  | github    |

Thanks for the reply @chr-b 👍. I am still investigating it, I have similar results as you do. I will try to check if something funky turns up in the Postgres planner 👍.
Thanks for your patience, I will keep you posted once I have some more data.

Was able to reproduce when using a query similar to that posted above:
select
  organization,
  slug,
  login
from
  github_team_member
where
  organization IN (select login from github_my_organization)
  AND slug IN ('steampipe', 'steampipe-read', 'steampipe-admin');

Result: [HV000] ERROR: rpc error: code = Internal desc = 'List' call for table 'github_team_member' is missing 1 required qual: column:'organization' operator: =
Weirdly, can adjust to lock the first IN down to one exact value and the query works:
select
  organization,
  slug,
  login
from
  github_team_member
where
  organization IN (select login from github_my_organization where login = 'turbot')
  AND slug IN ('steampipe', 'steampipe-read', 'steampipe-admin');

Query plan from not working approach:

Query plan & analysis from working approach:

@kaidaguerre - is it possible that this is an issue in the FDW?

I've sent you some logs


EdDSA support (Ed25519 and Ed448) with OpenSSL

The problem
OpenSSL supports EdDSA since version 1.1.1, so in theory ACMEd can use it to support Ed25519 and Ed448 certificates and account keys.
However, if certificates are not a problem, account keys are because OpenSSL's EdDSA support is not complete yet:
The ACME protocol requires that account keys be exported in the JWK (JSON Web Keys) format. To do so, we uses bindings to OpenSSL's EVP_PKEY_get1_* functions (EVP_PKEY_get1_RSA for RSA and EVP_PKEY_get1_EC_KEY for ECDSA). Unfortunately, OpenSSL does not currently provides the EVP_PKEY_get1_ED25519 and EVP_PKEY_get1_ED448 functions we need. Those functions has recently been added in OpenSSL (openssl/openssl@7c664b1f1b5f60bf896f5fdea5c08c401c541dfe) and should be available in version 3.0.0, which has not been released when this issue has been created.
Having those functions coming with OpenSSL 3.0.0 is a thing, but having bindings to those functions is a different topic. Although the people behind the openssl crate already started to work on OpenSSL 3.0.0 support (sfackler/rust-openssl#1263), bindings for those new EVP_PKEY_get1_* functions are yet to be done (sfackler/rust-openssl#1334).
On ACMEd's side, the EdDSA has already implemented wherever possible and is subject to conditional compilation and therefore not activated. I do not plan to release partial EdDSA support: either it is supported for both certificates and account keys or not supported at all. However, Ed25519 and Ed448 are separated: one can be activated without the other.
The plan
So, the plan to support EdDSA in ACMEd is the following :

:heavy_check_mark: Implement EdDSA support in ACMED wherever possible.
:stop_sign: Wait for OpenSSL 3.0.0 to be released.
:stop_sign: Have bindings to EVP_PKEY_get1_ED25519 and EVP_PKEY_get1_ED448 implemented in the openssl crate.
:stop_sign: Use those bindings in ACMEd and activate Ed25519 and Ed448 when compiling against OpenSSL 3.0.0 or later.

What can you do to help?
Contributing to the openssl crate in order to add bindings to EdDSA deserializers seems to be the most effective (and only?) way to help ACMEd on this topic.

As stated in openssl/openssl#12880, the EVP_PKEY_get1_ED25519 and EVP_PKEY_get1_ED448 were not what was expected and have been reverted in openssl/openssl@25b16562d386bfd30c7059366d09864260d9f271. We still have to find how to export the account keys to JWK.


make the controller-manager and scheduler usable

Signed-off-by: Thorsten Schifferdecker<EMAIL_ADDRESS>

Can you remove the "fixes" portion of your commit message and comment? That will auto-close the issue and we don't like that pattern. We like to close it manually after verifcation

Done

I'll try to get this merged tomorrow.


Extend limits of max value size to > 1Gb

Search before asking

[X] I had searched in the issues and found no similar issues.

Motivation
I like kvrocks and I'm interested in storing values that are larger than 256M, rocks db supports larger values and I'd like to take advantage of that capability.
Solution
I don't yet know where the limitations are and would appreciate clues so that I can investigate further.
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

Hi @wessorh Thanks for your report.
Maybe we can add a configuration proto-max-bulk-len for this purpose like Redis: config.c#L3206


introduce how to install in macOS system

close #25

I forgot about this issue, thanks for addressing it. I will add additional information in this same pull request.


Put pokestop everywhere

hey,
Its possible to put pokestop everywhere ????
 But all for fun and not the real ones. Pleasure :)


Dynamic warming cluster lasts about 75s

If you are reporting any crash or any potential security issue, do not
open an issue in this repo. Please report the issue via emailing
<EMAIL_ADDRESS>where the issue will be triaged appropriately.
Title: One line description
Dynamic warming cluster lasts about 75s
Description:

What issue is being seen? Describe what should be happening instead of
the bug, for example: Envoy should not crash, the expected value isn't
returned, etc.

When I add service into envoy xDS server, the response is 503 NC. AND I found that it takes about 75s for the cluster to change from warming state to active state.
envoy build in docker
envoy --version
envoy  version: edd69583372955fdfa0b8ca3820dd7312c094e46/1.23.1/Clean/RELEASE/BoringSSL

Repro steps:

Include sample requests, environment, etc. All data and inputs
required to reproduce the bug.

Note: The Envoy_collect tool
gathers a tarball with debug logs, config and the following admin
endpoints: /stats, /clusters and /server_info. Please note if there are
privacy concerns, sanitize the data prior to sharing the tarball/pasting.

Admin and Stats Output:

Include the admin output for the following endpoints: /stats,
/clusters, /routes, /server_info. For more information, refer to the
admin endpoint documentation.

...
"dynamic_warming_clusters": [
    {
     "version_info": "24",
     "cluster": {
      "@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
      "name": "service-3g3aLod3tDPBXQD3626-align_flRrz7Xj6-dataProvider",
      "type": "STRICT_DNS",
      "connect_timeout": "10s",
      "lb_policy": "RING_HASH",
      "ring_hash_lb_config": {
       "hash_function": "MURMUR_HASH_2"
      },
      "load_assignment": {
       "cluster_name": "service-3g3aLod3tDPBXQD3626-align_flRrz7Xj6-dataProvider",
       "endpoints": [
        {
         "lb_endpoints": [
          {
           "endpoint": {
            "address": {
             "socket_address": {
              "address": "<IP_ADDRESS>",
              "port_value": 42939
             }
            },
            "hostname": "<IP_ADDRESS>"
           }
          }
         ]
        }
       ]
      },
      "typed_extension_protocol_options": {
       "envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
        "@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
        "explicit_http_config": {
         "http2_protocol_options": {
          "max_outbound_frames": 1000000
         }
        }
       }
      }
     },
     "last_updated": "2023-11-27T03:43:58.586Z"
    }
...

Note: If there are privacy concerns, sanitize the data prior to
sharing.

Config:

Include the config used to configure Envoy.

config.json
Logs:

Include the access logs and the Envoy logs.
envoy.log

Note: If there are privacy concerns, sanitize the data prior to
sharing.

Call Stack:

If the Envoy binary is crashing, a call stack is required.
Please refer to the Bazel Stack trace documentation.

@yanavlasov another question
From the example config, if the cluster type is STRICT_DNS, and the endpoint of a dynamically registered service is the IP address, Will this affect the duration of cluster warming?
...
"dynamic_warming_clusters": [
    {
     "version_info": "24",
     "cluster": {
      "@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster",
      "name": "service-3g3aLod3tDPBXQD3626-align_flRrz7Xj6-dataProvider",
      "type": "STRICT_DNS",
      "connect_timeout": "10s",
      "lb_policy": "RING_HASH",
      "ring_hash_lb_config": {
       "hash_function": "MURMUR_HASH_2"
      },
      "load_assignment": {
       "cluster_name": "service-3g3aLod3tDPBXQD3626-align_flRrz7Xj6-dataProvider",
       "endpoints": [
        {
         "lb_endpoints": [
          {
           "endpoint": {
            "address": {
             "socket_address": {
              "address": "<IP_ADDRESS>",
              "port_value": 42939
             }
            },
            "hostname": "<IP_ADDRESS>"
           }
          }
         ]
        }
       ]
      },
      "typed_extension_protocol_options": {
       "envoy.extensions.upstreams.http.v3.HttpProtocolOptions": {
        "@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions",
        "explicit_http_config": {
         "http2_protocol_options": {
          "max_outbound_frames": 1000000
         }
        }
       }
      }
     },
     "last_updated": "2023-11-27T03:43:58.586Z"
    }
...

Please see if disabling wait_for_warm_on_init (https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto) solves your issue.

@adisuissa Thank you very much！

@adisuissa hi！
I have disabled wait_for_warm_on_init, and received 503 no healthy upstream, and it lasted about 75s, but in envoy container, I went to telnet upstream service during 503, which was successful.
My question is if telnet is successful, why does it return 503?

As @yanavlasov  said, it is indeed a DNS resolution problem!


Add back NumPy citation as secondary source

I discussed this change with @rgommers.  I asked at some point that we remove the citation to my and Gaël's paper in favor of Travis's book.  However, I've received feedback that a) the new source is not available openly online, b) is harder to cite (no DOI, URL, etc.), and c) sends academic credit to a place where it is not very useful.  So, this PR adds the paper back as a secondary reference.  I leave the decision of whether to incorporate this change fully up to the team.
I think the solution, in the longer term, is to write a new NumPy paper.  Perhaps to accompany the release of NumPy 2.0, which shouldn't be too far off.  It will document all the changes that happened over the past two years, which are numerous.  I know there is interest in writing such a paper, and it may be the first to give some historical perspective on NumPy.
Also note that there is no "how to cite NumPy" section on numpy.org.  We may want to remedy that.

Thanks Stefan, LGTM. Let's leave it open for a few days to give people time to comment.
And +1 for a new paper, even if there's no NumPy 2.0:)

merge?

Merged, thanks @stefanv


General Question about 5.0

GENERAL QUESTION ABOUT 5.0
DBFlow Version: 5.0
Bug or Feature Request: Feature
Description:
What is the future of DBFlow? The last commits are from November of last year, and there is no movement in any direction here. 5.0 is a step in the right direction, but it is quite incomplete and race conditions in change notification system makes Paging unusable (I noticed there is a branch for re-implementation of that feature, so I don't create specific bug for that). The library is used in our projects so it's important to me if it will progress, or stagnate (moving to another solution is hard, so I would avoid it as long as possible).

@martin-felczerek Nice question. I would love to know what is the future of DBFlow as well for exact the same reasons: we use it in our projects and we know how hard it is to change to another solution.

The 5.0.0-alpha1 version is a bit big, the documentation is not very well explained, and some past usages have failed.

The 5.0.0-alpha1 version is ... ?

The 5.0.0-alpha1 version is ... ?      Who Uses Documents ^_^

I would also be interested in knowing the current state of the project. It's a good database but I'm afraid it got abandoned! Any news?

I think this project is not maintained anymore. I would switch to sth else - maybe https://developer.android.com/topic/libraries/architecture/room

I took some time away from the library as it was causing more stress than fun.  I plan on trying to be more active once again and provide more regular updates as I can.


SketchApp Symbols

Would anyone be interested in a SketchApp file of visual design assets to accompany the react-bootstrap-table2 examples?

@iammichaelneal you mean like https://www.sketchapp.com/learn/documentation/symbols/ ?

@AllenFang correct.

got it.. I think it will be hard to implement in current lol. In my opinion, I wanna have a clean and easy way to find some real case or basic usage by example page, I think it will me more useful for most users, because in react-bootstrap-table1, a lots of user ask me some real case or some basic questions, I think it's not easy to find/navigate in my examples, so that's the problems I wanna fix.
Anyway, thanks your feedback and maybe you can have a PR in future to implement this awesome idea, thanks 👍


How to train with pictures from multiple different perspectives

Hello, I would like to ask how to use pictures from multiple perspectives for training.

Same question!


support managing workflow roles

Connect #292
Use:
tower-cli role grant --type admin --user org_member --workflow my_workflow_jt

Coverage decreased (-0.03%) to 90.74% when pulling 7b0ac7424c6aace06f1404cf28c433630e0bae59 on AlanCoding:workflow_roles into 3735f79efe222b156ca479f831f5ae241167e6d4 on ansible:master.


ELF registration Restructuring

Restructure the ELF handling to be completely agnostic to the OS.
Rather than usng the loader to query the section information, use the
linker to construct linker tables and synthetic markers for the
beginning and of the table.  Save off the values of these pointers and
pass them along through the constructor to the runtime for registration.
This removes the need for the begin/end objects.  Remove the special
construction of the begin/end objects through the special assembly
constructs, preferring to do this in C with a bit of inline assembly to
ensure that the section is always allocated.
Remove the special handling for the various targets, the empty object
file can be linked on all the targets.
The new object file has no requirements on the ordering.  It needs to
simply be injected into the link.
Name the replacement file srt.o mirroring crt.o from libc.  Merge
the constructor and the definition into a single object file.
This approach is generally more portable, overall simpler to implement,
and more robust.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC: @dcci @modocache @hpux735
@jrose-apple not sure if you remember anyone else who may be interested in this reworking

perhaps @tienex ?

After a quick glance, I think this is great.  To be perfectly honest, it's a little over my head (this was Tienex's innovation).  To perform robust regression testing on arm, however, we have work to do to get Swift 4+ working there.

I'd want a @jckarter or @gparker42 to comment on it as well.

CC: @zbowling this is the change that I was referring to (there is something odd going on with the actual reading of the registration data that I need to figure out, and then this is ready to go I think)

Awesome, yeah, this should work on Fuchsia.

@zbowling yeah, and should be faster/smaller as well (this is ELF specific rather than OS specific now)

@jckarter @rjmccall @gparker42 any suggestions as to where to start digging to figure out why strings are being printed as:

String(_core: Swift._StringCore(_baseAddress: Swift.Optional<Swift.UnsafeMutableRawPointer>.some(Swift.UnsafeMutableRawPointer(_rawValue: (Opaque Value))), _countAndFlags: Swift.UInt(_value: (Opaque Value)), _owner: Swift.Optional<Swift.AnyObject>.none))

That probably indicates that the protocol conformances aren't getting indexed properly, so the lookup for String's CustomStringConvertible conformance is failing.

Ugh, I had forgot to populate two of the functions sigh.  This should be relatively easy to fix and finish up.

@swift-ci please test linux platform

Build failed
Swift Test Linux Platform
Git Sha - fd82c922b846adcd7ecc77d65623fac45e7ad7f1

@swift-ci please test linux platform

Build failed
Swift Test Linux Platform
Git Sha - 594e60969d7bc6a93c27008dd12b4dadfa9bc66b

The Swift/Arm team (specifically @uraimo ) tested this patch, and it improved Swift 4+ on arm.  This patch seems to have fixed regressions in the REPL that have come up since Swift 3.1.1.

FWIW, this change would take us a long way to supporting older versions of Android (which don't support dlopen()). About 14% of Android devices are still running 4.4.4, which would then become in-reach to Swift devs. That amounts to about 280 million devices worldwide that would be able to run compiled Swift code.

This looks good now. Thanks @compnerd !

@swift-ci please test linux platform

Build failed
Swift Test Linux Platform
Git Sha - 415f552fe411d591341d81581db07bda43b9f118

Please test with following pull request:
https://github.com/apple/swift-corelibs-foundation/pull/1330
@swift-ci please test linux-platform

apple/swift-corelibs-foundation#1330
@swift-ci please test linux-platform

apple/swift-corelibs-foundation#1330
@swift-ci please test linux-platform

Please test with following pull request:
apple/swift-corelibs-foundation#1330
@swift-ci please test linux-platform

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 202982e933f2f2a188bef69bdc1ab61cf6a1bf7c

Build failed
Swift Test OS X Platform
Git Sha - fd82c922b846adcd7ecc77d65623fac45e7ad7f1

@swift-ci please test linux platform

Build failed
Swift Test Linux Platform
Git Sha - 75253f427b5c8f868801556dd339dc4a02616d6d

CC: @slavapestov

Please test with following pull request:
apple/swift-corelibs-foundation#1330
@swift-ci please test Linux platform

Build failed
Swift Test Linux Platform
Git Sha - 8281bbd8e4d47d86da656b0c3d1d6cd5031e19fd

The driver one Im surprised I didnt hit locally.  The LSAN one looks like its unrelated to my change.  The typeref_lowering is the associated type failure that still needs to be resolved.

Please test with following pull request:
apple/swift-corelibs-foundation#1330
@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 3a14c81af09b0ebe62cede2dfc051e522aebbc95

Build failed
Swift Test OS X Platform
Git Sha - 75253f427b5c8f868801556dd339dc4a02616d6d

Please test with following pull request:
apple/swift-corelibs-foundation#1330
@swift-ci please test Linux platform

Build failed
Swift Test Linux Platform
Git Sha - 2ab930bc9e9bde8f88727fac60ca7d440065a903

@swift-ci please test macOS platform

Build failed
Swift Test OS X Platform
Git Sha - 2ab930bc9e9bde8f88727fac60ca7d440065a903

Please test with following pull request:
apple/swift-corelibs-foundation#1330
apple/swift#13118
@swift-ci please test Linux platfrom

Please test with following pull request:
apple/swift-corelibs-foundation#1330
apple/swift#13118
@swift-ci please test Linux platform

Build failed
Swift Test Linux Platform
Git Sha - 098b44f7021e1f1f17e09d32031ee63a15795b3c

Please test with following pull request:
apple/swift-corelibs-foundation#1330
@swift-ci please test Linux platform

Build failed
Swift Test Linux Platform
Git Sha - 098b44f7021e1f1f17e09d32031ee63a15795b3c

Please test with following pull request:
apple/swift-corelibs-foundation#1330
@swift-ci please test macOS platform

Build failed
Swift Test OS X Platform
Git Sha - 098b44f7021e1f1f17e09d32031ee63a15795b3c

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 098b44f7021e1f1f17e09d32031ee63a15795b3c

Build failed
Swift Test Linux Platform
Git Sha - 098b44f7021e1f1f17e09d32031ee63a15795b3c

Please test with following pull request:
apple/swift-corelibs-foundation#1330
@swift-ci please smoke test Linux platform

Please test with following pull request:
apple/swift-corelibs-foundation#1330
@swift-ci please test

Did this break: https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/1815 ?

Apparently.  For the record, apple/swift#13180 addressed that failure that the testing didnt catch.


Add a "Goals" section to README

Roadmap:

Add basic pre-flight tests
Ensure consistent labeling
Validate integrity of assets
Reference testing (if a check/handler refers to an asset, is the asset resource definition also present?)
Actual resource type validation (and linting?)

Needed for linking from the announcement blog post.

Needed for linking from the announcement blog post.

Taken care of by PR #12

Taken care of by PR #12


fix: replaced appc  command with ti

ok, there are quiet a few ti ti commands :smile: check your search and replace :wink:
Try to search and replace ti ti with ti now. Think that will remove those duplicates and I don't have to mark all

@cb1kenobi i would be a honor to me if you would merge it together

FYI, you shouldn't touch things in the .vuepress directory. It gets regenerated when the site is deployed.


[CAMEL-9320] Cannot set XStream permissions on a per CamelContext basis

Any cached data format should be stored on CamelContext like we have for components etc.  that would require us to introduce a getDataFormat(string name) api which we do not have, which is a road we have not taken with data formats. They are isolated and you configure it in the  section or in the route build and use that instance.

I logged a ticket about the share data format, aka. a getDataFormat method
https://issues.apache.org/jira/browse/CAMEL-9322
Do you mind closing this PR, as the work is now tracked by CAMEL-9322