Amw b17954 b17956 fix sit status display days

[Agility ticket] B-17956
(https://www13.v1host.com/USTRANSCOM38/story.mvc/Summary?oidToken=Story%3A869482)
Summary
Is there anything you would like reviewers to give additional scrutiny?
Make sure that when approved days in the SIT is lower than SIT days used, the "SIT days used" number lowers to reflect that change.
Also, when there are no days left in the SIT, the number should not display a '0'.. it should display an 'Expired'.
this article explains more about the approach used.
Verification Steps for the Author
These are to be checked by the author.

[x] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[x] Have the Agility acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

[ ] Has the branch been pulled in and checked out?
[ ] Have the BL acceptance criteria been met for this change?
[ ] Was the CircleCI build successful?
[ ] Has the code been reviewed from a standards and best practices point of view?

Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test

Access Office MilMove as a TOO
View a Move Task Order tab which contains a SIT
Note the values of Days Approved, Days Used, and Days Left.
Click the "Edit" link and make changes to the Days Allowed and/or SIT End date.
a. When lowering the Days Allowed number to below the Days Used number, the Days Used number should change to match the Days Allowed.
b. After you have lowered the Days Allowed to lower than Days Used and observed that the Days Used number has changed to match the Days Allowed, you should then be able to adjust the Days Allowed again and observer Days Used goes up as high as it can go while still reflecting Days Used but also not exceeding Days Allowed.
c. Also, whenever the Days Left number should read a number less than 1, it showed "Expired" in stead.

Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, Edge).
[ ] There are no new console errors in the browser devtools.
[ ] There are no new console errors in the test output.
[ ] If this PR adds a new component to Storybook, it ensures the component is fully responsive, OR if it is intentionally not, a wrapping div using the officeApp class or custom min-width styling is used to hide any states the would not be visible to the user.
[ ] This change meets the standards for Section 508 compliance.

Backend

[ ] Code follows the guidelines for Logging.
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
No DB changes were made and the code changes do not affect the data in the DB in any way moving forward or retroactively.
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys.
[ ] Have been communicated to #g-database.
[ ] Secure migrations have been tested following the instructions in our docs.

Screenshots

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

  Generated by :no_entry_sign: dangerJS against 1c5e54d54a37fc8e267f9bf6a5c828987dbd8de2

When 'Total days of SIT approved' is equal to 'Total days used', 'Total days remaining' is showing 'Expired'. Is this change correct? I believe before it was showing 0 and would show 'Expired' if the days were negative.

When 'Total days of SIT approved' is equal to 'Total days used', 'Total days remaining' is showing 'Expired'. Is this change correct? I believe before it was showing 0 and would show 'Expired' if the days were negative.

It is my understanding that is correct and that now since negative days are no longer possible, if it shows as 0 it should instead show as 'Expired'. At least that's how I read the acceptance criteria.

When 'Total days of SIT approved' is equal to 'Total days used', 'Total days remaining' is showing 'Expired'. Is this change correct? I believe before it was showing 0 and would show 'Expired' if the days were negative.

It is my understanding that is correct and that now since negative days are no longer possible, if it shows as 0 it should instead show as 'Expired'. At least that's how I read the acceptance criteria.

Yeah, I think you are right. It says when it is 0 or negative.


Use Integers in GetNextPixelBoundaryTimeNs

Use Integers in GetNextPixelBoundaryTimeNs

We use the function GetNextPixelBoundaryTimeNs to get the next time to
draw, in order to not draw a timer which all its pixels have already
another element drawn.
This function have 2 issues which leads to return sometimes a previous
time (and therefore incorrect one), which is currently making us drawing
timers than otherwise we will skip.
The first issue is that we have an integer value for ns_per_pixel, which
leads us to a problem because if we multiply the number of pixel with
ns_per_pixel we don't have the total number of pixels. We will fix this
in a different PR. The second issue is that although we use a double
there, we will have precision issues. So, for that we will make all our
calculations using integers, to avoid that.
Addressing: http://b/199736246
Test: Navigate in a capture, confirm that always the function answer a
reasonable time. Load a capture, pixelwise we seem to draw more elements, so we seems to be more
precise.
Before: https://screenshot.googleplex.com/76KYwkkjk7c3eup
After: https://screenshot.googleplex.com/4WEjtteXDethqMz

Hey @pierricgimmig, @vickyliu-go4it. I've modified the comments, renaming variables but I also added a check for when we are zooming-in so much and end_tick == start_tick. Orbit works very strange at this case and we should fix it, but I don't want to crash here because a division by 0.
Re-asking for a review.

I will merge this finally, with the current modifications seems to be that pixelwise we are making a better job, but it's only an intuition based on a few captures where for sure there are less blank spaces.


save objects

Hi,
Is there a way to save asn1 schema objects? i tried pickle put it is not working for some reason. it does not allow __reduce__ operation !
Thanks

There were some fixes related to pickling in 0.3.7. Which pyasn1 version are you using?
If 0.3.7 still does not work, can you give me a short reproducer so I'd understand what you are trying to do?
Thanks!

I am using the latest version. Sure here is a sample :
import pickle
from pyasn1.type import univ, char, namedtype, namedval, tag, constraint, useful

class COORDINATEPAIR(univ.Sequence):
    pass
COORDINATEPAIR.tagSet = univ.Sequence.tagSet.tagImplicitly(tag.Tag(tag.tagClassApplication, tag.tagFormatConstructed, 0))
COORDINATEPAIR.componentType = namedtype.NamedTypes(
    namedtype.NamedType('xcoordinate', univ.Real().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 1))),
    namedtype.NamedType('ycoordinate', univ.Real().subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 2)))
)

coor = COORDINATEPAIR()
coor['xcoordinate'] = 1
coor['ycoordinate'] = 1

outputf = open('CBE_data.pkl', 'wb')
pickler = pickle.Pickler(outputf, -1)
pickler.dump(coor)

with open('CBE_data.pkl', 'rb') as input:
    coor = pickle.load(input)

print(coor.prettyPrint())

Just a quick thought while I'm looking into this issue - did you consider using ASN.1 codec for storing those objects in files? I understand that may not work if you have a mix of ASN.1 and other Python objects to deal with...
For posterity - this snippet works for me:
from pyasn1.type import univ, namedtype, tag
from pyasn1.codec.ber import encoder, decoder

class COORDINATEPAIR(univ.Sequence):
    tagSet = univ.Sequence.tagSet.tagImplicitly(
        tag.Tag(tag.tagClassApplication, tag.tagFormatConstructed, 0)
    )
    componentType = namedtype.NamedTypes(
        namedtype.NamedType(
            'xcoordinate', univ.Real().subtype(
                implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 1)
            )
        ),
        namedtype.NamedType(
            'ycoordinate', univ.Real().subtype(
                implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatSimple, 2)
            )
        )
    )

coor = COORDINATEPAIR()
coor['xcoordinate'] = 1
coor['ycoordinate'] = 1

with open('CBE_data.pkl', 'wb') as outputf:
     outputf.write(encoder.encode(coor))

with open('CBE_data.pkl', 'rb') as inputf:
    coor, _ = decoder.decode(inputf.read(), asn1Spec=COORDINATEPAIR())

print(coor.prettyPrint())

Here is a quick and easy fix. You are welcome to test that branch while I'm adding some tests and reading some more on the Pickle thing.
Thanks!

I understand that may not work if you have a mix of ASN.1 and other Python objects to deal with...

Many thanks, the fix works fine now !

Merged https://github.com/etingof/pyasn1/pull/99


Add Password Visibility Toggle in Login Form and Register Form

Added password visibility toggle feature for both Login and Register pages using an eye icon, allowing users to show or hide their password input.

Hii,  @subhadipbhowmik
I’ve added the password visibility toggle feature for both the Login and Register pages using an eye icon, allowing users to show or hide their password input. Let me know if any changes are needed.

Hii @subhadipbhowmik ,
I raised my PR not only for the Login page but also for the Register page, including the password icon, email icon, and toggle visibility feature for both.

Thanks For Your Contribution


Add KML Export capability to EMP

Add an API which generates  a KML document from the EMP overlay or feature. The KML document shall contain all child objects.

To test us branch 77-add-kml-export-capability.

Build and run testBasic.
Plot several features at least on of each type. I.E. Circle ellipse, rectangle square, point, line, polygon, single point and multi point milstd.
Select from the menu Export To KML / Export Map. This sgould export all feature on the map to a kml file located in the pictures directory on the devices file system.
Transfer the file to your PC.
Import the via to GoogleEarth.
The feature should look the same.

Reintegrate


metadata support for branch command

Similar to develop, but create a new package instead of version, yet somehow keep metadata about its ancestry.
This would enable

creating compatible fixes for old packages without confusing package timeline (although everything depending on the original would need to be branched to use the fix)
use of template packages (e.g. tool invocations already parametrized with some databases as dependencies)

Branching will happen by name of bead.
Branch names are stored volatile in bead, that is not part of its identity.
This makes it possible to rename beads, use beads in more than one branches, and easily take out problematic beads from update chain by simply renaming them.

[ ] workplace.save - add branch names as volatile meta
[ ] workplace.develop - load branch names
[ ] workspace.load - check
[ ] input.update - use branch names if exist, else use input name, update branch name if bead ref is given, warn user if a different kind of bead would be loaded under the same name
[ ] input.add - add/overwrite branch name
[ ] workplace.web - group beads by name instead of bead.kind, output of --to-csv is still available for bead.kind based analysis

workplace.web: d9ea7a7

Work with multiple boxes, having the same bead, but potentially with different input-maps (or other future volatile meta).
[ ] develop requires box name, saves it in workspace's meta
[ ] save saves to box from which it was originated (unless it was a new or developed from file)


Features and tests

It looks like the tests currently don't do anything. I added a panic inside the #[cfg(feature = "bios")] block inside run_test_kernel_internal and it still passes even with the bios feature explicitly enabled. I think this is because features do not get passed on to the test runner crate.
I fixed this by adding a feature dependency, but I'm not entirely sure if that is the proper way to do it. The tests take considerably longer now, so I think that's good.
[features]
default = ["bios", "uefi"]
bios = ["dep:mbrman","bootloader_test_runner/bios"]
uefi = ["dep:gpt","bootloader_test_runner/uefi"]

Thanks a lot for reporting! Looks I made the mistake to disable the features in https://github.com/rust-osdev/bootloader/pull/351. I needed to remove the features because of a bug in cargo that led to errors at publish time: https://github.com/rust-lang/cargo/issues/12225 . However, I should have enabled these features unconditionally instead of disabling them. I'll prepare a fix!


bump joininbox to v0.1.15

Few minor changes in the raspiblitz context, installs the same way.
No problem if does not make it to v1.6.2, the JoininBox scripts can be updated separately within the joinmarket user.

installs JoinMarket v0.8.0
advanced update options in menu to help testing
skip libsecp256k1 tests on update and testPR
usability improvements

Related: https://github.com/rootzoll/raspiblitz/issues/1813
https://github.com/openoms/joininbox/releases/tag/v0.1.15

Is this PR still in progress or ready to merge? Because I see in the code changes just a version change.

Yes ready to merge, all it is a version change. The changes are in https://github.com/openoms/joininbox/releases/tag/v0.1.15


Fix Rack example code and use Ruby markdown

Moved misplaced end from line 116 to 106

Fixed indentation and formatting

Cheers :)

Thank you! 🌹


refactor code #107

Checklist

[x] I have made a material change to the repo (functionality, testing, spelling, grammar)
[x] I have read the [Contribution Guide] and my PR follows them.
[x] I updated my branch with the master branch.
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation about the functionality in the appropriate .md file
[ ] I have added in line documentation to the code I modified

Short description of what this PR does:

Try to fix #107

If you have questions, please send an email to SendGrid, or file a GitHub Issue in this repository.

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

@thinkingserious Why isn't the build successful? How can I set the environment variables? I haven't found any documentation for this.

@42B Oh my bad! Any tips to handle this?
On Sunday, October 28, 2018, 42B<EMAIL_ADDRESS>wrote:

@42B commented on this pull request.
This PR doesn't make sense and the changes seem superfluous at best. These
chained if statements do not need to be broken up into two nested if
statements each. Python already short-circuits and will not even evaluate
the second check if the first one fails in cases like this using and.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sendgrid/open-source-library-data-collector/pull/161#pullrequestreview-169075283,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgXlPkfrIrUr72ATG1XEfd0drkxMJKOrks5upQXXgaJpZM4X8R29
.

@themousepotato
I'm not from sendgrid so I would defer to them as to whether they find this PR useful or not. I'm having trouble seeing how this PR would reduce complexity mentioned in #107  or add any real benefit to the repo but those decisions are not up to me. All you did was break chained if statements into two separate if statements each but you didn't reduce the total number of if statements at all?
Maybe you could give a detailed description on exactly how this PR reduces the complexity score from codeclimate? After that, if the previous score was 27 and the maximum should be 5, what is the new complexity score after your changes were made?

https://docs.codeclimate.com/v1.0/docs/cognitive-complexity


Translations doesn't handle special characters.

This link return 408, from the translater service http://foaas.com/keepcalm/Keep%20Programming/Søren?i18n=da-dk.

Yup, foaas just throws output via mymemory.translated.net. I'm thinking of marking it 'best effort', unless anyone has a better idea for i18n.

@tomdionysus How 'bout real i18n with JSON files for each lang?

That would be preferable. But having dozens of operations translated. I'm going to call it for now and reconsider the whole i18n thing.


Tag with a value of ["-"]

Is there a way to add a Tag with a value of ["-"]
Wasnt clear if there was some clever way to do this from the command line, bearing in mind that "-" is also a switch

I guess nostril --tag "-" "" kind of works, maybe we need a --tag1 or --tagn 3 a b c

Fixed by:

#36


Fix race condition in multiprocess schema init

If the schema was initialized by a different process between when the old schema was read and the write transaction was began, the schema init code would see the updated schema version but not re-read the schema, resulting in it thinking that a migration was required when the schema actually matched.
No changelog entry since we haven't shipped a release since when this was broken.

:+1:


Update configure-on-linux-vm.md

updated JRE version for installation.
JRE11 is not supported with new Jenkins. Requires min 17+

@TomArcherMsft
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@mfkhan267 Thanks once again for giving us feedback, but Jenkins on Azure documentation support is currently limited to security issues only.


Add Web3 Onboard to Docs

Web3 Onboard has added WAGMI support. This PR updates the WAGMI documentation so developers know that is now an option.

These surfaces are currently reserved for sponsors. Feel free to post in the discussion forum instead!


update build.gradle add namespace and jvm target

Hey @yonggipo
This plugin hasn't been updated in 3 years now 🙂 Consider switching to flutter_timezone which is a fork of this repo.


Handle non-ASCII strings in header anchors

Comes in two parts:

First we fix an issue with a dangling quote in 8d8e1eca1
Next, in f2d0ad99 we handle empty anchors with a djb2 hash computed for the header

Overall it should fix #538 for Japanese and any other Unicode characters.
I considered adding heuristics to append a hash if more than X characters were removed, but decided against it because it may break someone's links. This may be beneficial if one have multiple headers in a foreign language that include some ASCII characters. Now every anchor for such headers would only contain said characters, giving duplicate anchors.
(sdbm implementation from hash_link_ref could be used instead of djb2, but that will introduce cross-dependencies)
Unlike #539 (which is also valid in principle) this change is self-contained. It doesn't depend on OpenSSL dev headers or anything else. Promise to require no installed libraries is kept.

Unlike #539 (which is also valid in principle) this change is self-contained. It doesn't depend on OpenSSL dev headers or anything else.

Thank you very much @sanmai, what a beautiful Christmas gift, this has been merged and I took the liberty to credit you in the CHANGELOG ! :-) Merry Christmas and happy new year ! 🎄 🎅 :heart:

❤💛💚💙💜


How to download top posts?

Let's say I want to download only top posts for given hashtag (https://www.instagram.com/explore/tags/puppies/ in our example).
Using:
instaloader "#puppies" --no-pictures --no-videos

Everything works fine, but I'm getting all posts after "top" ones. How to get only top posts?

Commit 83a0f52c60906631b53edef159f4194fee4a9bc0 implements a method Hashtag.get_top_posts() to access the top posts of a hashtag.


Support for DACs

I just got a little speaker to test with, so I thought it might be nice to get started on support for DACs.
Example here:
https://github.com/stm32-rs/stm32f0xx-hal/pull/70

Gist for direct usage:
https://gist.github.com/strom-und-spiele/8155f19258adfd66214d2d0aac956a43

https://github.com/stm32-rs/stm32f3xx-hal/pull/133

#318 implemented a minimal DAC driver


modified RSA

Standard RSA encryption uses a set of two prime numbers to create its encryption key , instead of two use three prime numbers to generate the key and also demonstrate successful decryption of the same.
To verify you outputs hash the initial encrypted message and send it to the decryption algorithm and calculate hash of the text after decryption , if both hashes match encryption decryption is successfully executed.
Add relevant files under the security directory creating a folder advRsa

I have sent a pull request with the code for the problem

The encryption and decryption sent is correct , but to verify the messages compare hash of both initial message and decrypted message .
This part is missing in the code sent until now.

I have included the hashing part also


[Schema Registry] Add XML documentation to internal members

See: https://github.com/Azure/azure-sdk-for-net/pull/13657#discussion_r483630056

We haven't been doing this in general.


Allow more hint types for uniform arrays

Fixes #78213
All repeat/filter hints are now available.

Try this format:
diff --git a/servers/rendering/shader_language.cpp b/servers/rendering/shader_language.cpp
index 67028ddf0d..bbff47f630 100644
--- a/servers/rendering/shader_language.cpp
+++ b/servers/rendering/shader_language.cpp
@@ -8612,9 +8612,11 @@ Error ShaderLanguage::_parse_shader(const HashMap<StringName, FunctionInfo> &p_f
 							}

 							if (uniform.array_size > 0) {
-								static Vector<int> supported_hints { TK_HINT_SOURCE_COLOR, TK_REPEAT_DISABLE, TK_REPEAT_ENABLE,
-																	 TK_FILTER_LINEAR, TK_FILTER_LINEAR_MIPMAP, TK_FILTER_LINEAR_MIPMAP_ANISOTROPIC,
-																	 TK_FILTER_NEAREST, TK_FILTER_NEAREST_MIPMAP, TK_FILTER_NEAREST_MIPMAP_ANISOTROPIC };
+								static Vector<int> supported_hints = {
+									TK_HINT_SOURCE_COLOR, TK_REPEAT_DISABLE, TK_REPEAT_ENABLE,
+									TK_FILTER_LINEAR, TK_FILTER_LINEAR_MIPMAP, TK_FILTER_LINEAR_MIPMAP_ANISOTROPIC,
+									TK_FILTER_NEAREST, TK_FILTER_NEAREST_MIPMAP, TK_FILTER_NEAREST_MIPMAP_ANISOTROPIC
+								};
 								if (!supported_hints.has(tk.type)) {
 									_set_error(RTR("This hint is not supported for uniform arrays."));
 									return ERR_PARSE_ERROR;

Thanks!

Cherry-picked for 4.1.2.


[feat] KVM Support (moonshot)

Unlock full system resource management and running of VMs from StartOS.  This is a major architectural change, and definitely a low priority / moonshot idea.
This would put StartOS in a position to directly compete with the low-level feature-set of projects such as Proxmox, and unlock the full potential of any hardware it is run on.  This is desirable for the homelab crowd, as well as enterprise applications, and could make StartOS the go-to solution for all personal and SMB server needs.

@kn0wmad Would something like bottlerocket be an acceptable solution instead of KVM, so maybe there is more API reusability?

I'm not sure I understand.  This appears to be a Linux distribution for hosting containers and clusters (namely for Amazon from a cursory glance)?  KVM is built into the Linux kernel, but whether or not StartOS ought to leverage this level of virtualization is TBD.

@kn0wmad sorry my bad, I meant firecracker which bottlerocket uses.
The idea is that you could do something like https://github.com/weaveworks-liquidmetal/flintlock , meaning you still rely on the containerd API more or less , but with way better isolation and less overhead than full KVM.

Gotcha.  We have definitely looked into stuff like this, and tools like bubblewrap.  Everything is on the table, and we are always open to new ideas.  There will be another change in this department with v0.4, and these options would be on the table for future versions.  Thanks for your input.


165 dev update derivation tbox namespace

This PR updates the OntoDerivation TBox namespace following the suggestion made in https://github.com/cambridge-cares/TheWorldAvatar/pull/219. The DerivationExample and DerivationAsynExample were updated accordingly. All unit and integration tests passed.

I'm sure this is fine, but it's a bit confusing to me that this PR contains changes from another PR, and if I approve this PR I'm essentially approving the others that I haven't approved


Doesn't work in Chrome 89

Doesn't work in Chrome 99.
Please remove from store.
Waste of time for many users.
Thanks

do you come from the future ?

@ceo sorry I meant 89. But still, doesn't work. Wasted my time

Never reproduced this but it seems to work in Chrome 96.


[BUG] Cannot use lores stream any longer, since update installed today.

Since updating to the latest python3-libcamera (0~git20230124+9b860a66-1), I can no longer initialize the camera with a config that specifies the lores size.
To Reproduce
from picamera2 import Picamera2
picam2 = Picamera2()

pc1 = picam2.create_video_configuration(main={'size': (1664, 1248)},controls={'FrameDurationLimits': (142857, 142857)},lores={'size': (640, 480)}, buffer_count=10)
pc2 = picam2.create_video_configuration(main={'size': (1664, 1248)},controls={'FrameDurationLimits': (142857, 142857)}, buffer_count=10)

Take a look at the difference between pc1 and pc2.  The only think different is the missing "lores=" in the second.  Running picam2.config(pc1) generates the following error:
>>> picam2.config(pc1)
[4850] ERROR Camera camera.cpp:1014 Can't configure camera with invalid configuration
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/dist-packages/picamera2/picamera2.py", line 976, in configure
    self.configure_(camera_config)
  File "/usr/local/lib/python3.9/dist-packages/picamera2/picamera2.py", line 913, in configure_
    raise RuntimeError("Configuration failed: {}".format(camera_config))
RuntimeError: Configuration failed: {'use_case': 'video', 'transform': <libcamera.Transform 'identity'>, 'colour_space': <libcamera.ColorSpace 'Rec709/Rec709/None/Full'>, 'buffer_count': 10, 'queue': True, 'main': {'format': 'XBGR8888', 'size': (1664, 1248), 'stride': 6656, 'framesize': 8306688}, 'lores': {'format': 'YUV420', 'size': (640, 480), 'stride': 640, 'framesize': 460800}, 'raw': None, 'controls': {'NoiseReductionMode': <NoiseReductionModeEnum.Fast: 1>, 'FrameDurationLimits': (142857, 142857)}, 'display': 'main', 'encode': 'main'}

However, omitting the lores= by using the pc2 configuration is fine:
>>> picam2.configure(pc2)
[1:22:26.704975834] [4850]  INFO Camera camera.cpp:1026 configuring streams: (0) 1664x1248-XBGR8888
[1:22:26.706020105] [4854]  INFO RPI raspberrypi.cpp:767 Sensor: /base/soc/i2c0mux/i2c@1/imx477@1a - Selected sensor format: 2028x1520-SBGGR12_1X12 - Selected unicam format: 2028x1520-pBCC

This also fails when setting using create_still_configuration and create_preview_configuration.  Even a simple config such as create_preview_configuration(lores={}) will fail to initialize:
>>> pc4 = picam2.create_preview_configuration(lores={})
>>> picam2.configure(pc4)
[1:29:42.897800860] [4850] ERROR Camera camera.cpp:1014 Can't configure camera with invalid configuration
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/dist-packages/picamera2/picamera2.py", line 976, in configure
    self.configure_(camera_config)
  File "/usr/local/lib/python3.9/dist-packages/picamera2/picamera2.py", line 913, in configure_
    raise RuntimeError("Configuration failed: {}".format(camera_config))
RuntimeError: Configuration failed: {'use_case': 'preview', 'transform': <libcamera.Transform 'identity'>, 'colour_space': <libcamera.ColorSpace 'Rec709/Rec709/None/Full'>, 'buffer_count': 4, 'queue': True, 'main': {'format': 'XBGR8888', 'size': (640, 480), 'stride': 2560, 'framesize': 1228800}, 'lores': {'format': 'YUV420', 'size': (640, 480), 'stride': 640, 'framesize': 460800}, 'raw': None, 'controls': {'NoiseReductionMode': <NoiseReductionModeEnum.Minimal: 3>, 'FrameDurationLimits': (100, 83333)}, 'display': 'main', 'encode': 'main'}

If I initialize the video_configuration without the lores, then run picam2.video_configuration.enable_lores(), I can then set the lores size by doing picam2.video_configuration.lores.size=.  However, I am still uanbleto actually use the lores to get any images as I'm told there is no lores stream:
>>> from picamera2 import Picamera2
>>> picam2 = Picamera2()
[2:04:51.247209241] [6700]  INFO Camera camera_manager.cpp:299 libcamera v0.0.3+24-d81505b8-dirty (2023-01-19T15:38:23-05:00)
[2:04:51.353550659] [6704]  INFO RPI raspberrypi.cpp:1387 Registered camera /base/soc/i2c0mux/i2c@1/imx477@1a to Unicam device /dev/media3 and ISP device /dev/media0
>>> vc = picam2.create_video_configuration(main={'size':(1664,1248)})
>>> picam2.configure(vc)
[2:05:30.013094653] [6700]  INFO Camera camera.cpp:1026 configuring streams: (0) 1664x1248-XBGR8888
[2:05:30.015101977] [6704]  INFO RPI raspberrypi.cpp:767 Sensor: /base/soc/i2c0mux/i2c@1/imx477@1a - Selected sensor format: 2028x1520-SBGGR12_1X12 - Selected unicam format: 2028x1520-pBCC
>>> picam2.video_configuration.enable_lores()
>>> picam2.video_configuration.lores.size = (640,360)
>>> picam2.start()
>>> picam2.capture_array("lores")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/dist-packages/picamera2/picamera2.py", line 1316, in capture_array
    return self._execute_or_dispatch(partial(self.capture_array_, name), wait, signal_function)
  File "/usr/local/lib/python3.9/dist-packages/picamera2/picamera2.py", line 1182, in _execute_or_dispatch
    return job.get_result() if wait else job
  File "/usr/local/lib/python3.9/dist-packages/picamera2/job.py", line 63, in get_result
    return self._future.result()
  File "/usr/lib/python3.9/concurrent/futures/_base.py", line 433, in result
    return self.__get_result()
  File "/usr/lib/python3.9/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/usr/local/lib/python3.9/dist-packages/picamera2/job.py", line 44, in execute
    done, result = self._functions[0]()
  File "/usr/local/lib/python3.9/dist-packages/picamera2/picamera2.py", line 1310, in capture_array_
    result = request.make_array(name)
  File "/usr/local/lib/python3.9/dist-packages/picamera2/request.py", line 155, in make_array
    return self.picam2.helpers.make_array(self.make_buffer(name), self.config[name])
  File "/usr/local/lib/python3.9/dist-packages/picamera2/request.py", line 142, in make_buffer
    raise RuntimeError(f'Stream "{name}" is not defined')
RuntimeError: Stream "lores" is not defined

Expected behaviour
I expect this to work as documented here .  An application I am using relies on the ability to change this resolution and also read "lores" frames along side the normal video stream.  This is completely broken now.
Hardware :
Pi4 B 8GB
Additional context
As I stated, this was fine up until I installed the latest updates.  Reboots don't fix.

I should note that after more playing around, I was able to get my things back up and working...I had to rollback the python3-libcamera AND libcamera0 packages both to the previous version I pulled from apt cache:
libcamera0:arm64 (0~git20221130+0684c373-1)
lpython3-libcamera (0~git20221130+0684c373-1)

Are you using standard Raspberry Pi OS 64-bit?
There might be a mismatch between latest python3-libcamera and libcamera0. Investigating.

Sorry I forgot to mention that, but yes, using the standard Bullseye install.  The python3-libcamera update changes the libcamera so to libcamera.so.0.0.3 (previously libcamera.so.0.0.2).  I'm assuming the python3-picamer2 install is aware of this as when I rolled back that package first, it complained about the missing libcamera.so.0.0.2 (during init).  So that's what made me roll that back too.  I suspect something changed in the libcamera3 in regards to the lores handling but no one caught it.  So that's why I filed this here.  I could be wrong though as I tried briefly to debug the is code, but haven't been able to trace the root of the issue just due to my lack of knowledge on libcamera.

A clean 64-bit install, update, upgrade gives these versions:
libcamera-apps/stable,now 0~git20230125+9f08463-1 arm64 [installed]
libcamera-tools/stable,now 0~git20230124+9b860a66-1 arm64 [installed]
libcamera0/stable,now 0~git20230124+9b860a66-1 arm64 [installed,automatic]
python3-libcamera/stable,now 0~git20230124+9b860a66-1 arm64 [installed,automatic]
python3-picamera2/stable,stable,now 0.3.8-1 all [installed]

Can you try updating and upgrading all of those?
Of your examples, the last one - setting lores after configure - did not work for me. It needs another picam2.configure("video") to switch to the modified configuration.

That's the combination of packages that breaks things (last update of them), which is what I'm referring to here with this bug.  I could try it again but I'm sure it will fail.

Yes, I am able to capture lores images with that change, and also with your first pc1. On a Pi4 2GB with HQ Cam.
What is the result of find /usr -name '*libcamera*'?  Are there any obvious duplicates (that are not symlinks) or anything in /usr/local`?  Perhaps there are remnants of an older version somewhere.

Well its not the latest (as we know), but here's what it looks like working right now:
/usr/bin/libcamera-jpeg
/usr/bin/libcamera-vid
/usr/bin/libcamera-still
/usr/bin/libcamera-raw
/usr/bin/libcamera-hello
/usr/lib/python3/dist-packages/libcamera
/usr/lib/python3/dist-packages/libcamera/_libcamera.cpython-39-aarch64-linux-gnu.so
/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstlibcamera.so
/usr/lib/aarch64-linux-gnu/libcamera_app.so
/usr/lib/aarch64-linux-gnu/libcamera
/usr/lib/aarch64-linux-gnu/libcamera-base.so.0.0.2
/usr/lib/aarch64-linux-gnu/libcamera_app.so.1.1.0
/usr/lib/aarch64-linux-gnu/libcamera.so.0.0.2
/usr/lib/aarch64-linux-gnu/libcamera_app.so.1
/usr/share/libcamera
/usr/share/doc/libcamera-tools
/usr/share/doc/libcamera-0.0.2
/usr/share/doc/libcamera0
/usr/share/doc/python3-libcamera
/usr/share/doc/libcamera-apps
/usr/local/lib/python3.11/site-packages/libcamera
/usr/local/lib/python3.11/site-packages/libcamera/_libcamera.so
/usr/local/lib/aarch64-linux-gnu/gstreamer-1.0/libgstlibcamera.so
/usr/local/lib/aarch64-linux-gnu/pkgconfig/libcamera-base.pc
/usr/local/lib/aarch64-linux-gnu/pkgconfig/libcamera.pc
/usr/bin/libcamera-jpeg
/usr/bin/libcamera-vid
/usr/bin/libcamera-still
/usr/bin/libcamera-raw
/usr/bin/libcamera-hello
/usr/lib/python3/dist-packages/libcamera
/usr/lib/python3/dist-packages/libcamera/_libcamera.cpython-39-aarch64-linux-gnu.so
/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstlibcamera.so
/usr/lib/aarch64-linux-gnu/libcamera_app.so
/usr/lib/aarch64-linux-gnu/libcamera
/usr/lib/aarch64-linux-gnu/libcamera-base.so.0.0.2
/usr/lib/aarch64-linux-gnu/libcamera_app.so.1.1.0
/usr/lib/aarch64-linux-gnu/libcamera.so.0.0.2
/usr/lib/aarch64-linux-gnu/libcamera_app.so.1
/usr/share/libcamera
/usr/share/doc/libcamera-tools
/usr/share/doc/libcamera-0.0.2
/usr/share/doc/libcamera0
/usr/share/doc/python3-libcamera
/usr/share/doc/libcamera-apps
/usr/local/lib/aarch64-linux-gnu/gstreamer-1.0/libgstlibcamera.so
/usr/local/lib/aarch64-linux-gnu/pkgconfig/libcamera-base.pc
/usr/local/lib/aarch64-linux-gnu/pkgconfig/libcamera.pc

In your last code block there is the line
[2:04:51.247209241] [6700]  INFO Camera camera_manager.cpp:299 libcamera v0.0.3+24-d81505b8-dirty (2023-01-19T15:38:23-05:00)

With the latest version, I would expect to see v0.0.3+40-9b860a66.
I believe this problem is fixed on the latest versions from apt (but perhaps not those from pip).

Ok, I will remove the hold on the packages and update again today.  I'll report back my results once I do.

Ok, unheld and updates/upgraded all packages.  Drumroll please... :drum: :drum: :drum:
>>> from picamera2 import Picamera2
>>> picam2 = Picamera2()
[68:08:28.258800184] [57742]  INFO Camera camera_manager.cpp:299 libcamera v0.0.3+40-9b860a66
[68:08:28.331874806] [68030]  INFO RPI raspberrypi.cpp:1425 Registered camera /base/soc/i2c0mux/i2c@1/imx477@1a to Unicam device /dev/media3 and ISP device /dev/media0
>>> pc1 = picam2.create_video_configuration(main={'size': (1664,1248)},controls={'FrameDurationLimits':(142857, 142857)},lores={'size': (640,480)})
>>> picam2.configure(pc1)
[68:13:26.244568473] [57742]  INFO Camera camera.cpp:1028 configuring streams: (0) 1664x1248-XBGR8888 (1) 640x480-YUV420
[68:13:26.245754850] [68030]  INFO RPI raspberrypi.cpp:805 Sensor: /base/soc/i2c0mux/i2c@1/imx477@1a - Selected sensor format: 2028x1520-SBGGR12_1X12 - Selected unicam format: 2028x1520-pBCC
>>>

We have a winner! :trophy:
@njhollinghurst Yep, looks like it's fixed now. Thanks for the assist!  :beers:


feature(pu): add gfootball imitation learning and reinforcement learning demo config

Description

adapt gfootball env to DI-engine env interface.
add gfootball imitation learning config, use the rule_based_bot and kaggle_5th_place model to collect demo data.
add episode_to_transitions_filter to only use the demo data whose return is larger than a given threshold.
add dqn config for gfootball.

Related Issue
https://github.com/opendilab/DI-engine/issues/335
TODO
Check List

[ ] merge the latest version source branch/repo, and resolve all the conflicts
[ ] pass style check
[ ] pass all the tests

we have a new PR https://github.com/opendilab/DI-engine/pull/418.


Remove DOM element

Love the package, used it for ages, thanks a million for making it!
Is it possible to include the component without it's DOM element? Currently I remove the DOM element with CSS but it would be nice if this wasn't there in the first place as I can't see what value or features it gives being included.
https://github.com/shentao/vue-global-events/blob/405b25a3fecc3b7af88e6f2bf7e3a4ecc74b21e8/src/index.js#L39
The render function simply calls createElement, but could it be replaced with h => null,? Which I believe would make Vue render the component out as a comment: <!-- -->
I can't see anywhere in the codebase that actually uses $el so I don't believe this would have a knock on effect to the package itself, but I could be missing something that might make it a breaking change for user of the package. Would be good to get other people thoughts.

We do rely on it being mounted/removed though as this allows us to turn the listeners on/off with a v-if. But this might still work the way you suggested – will have to investigate! Thanks for the suggestion! I’m glad you like the library 😃

It appears that Vue still respects these lifetime hooks even when you don't have a DOM element. I've made a quick codepen to demo that at least: https://codesandbox.io/s/wonderful-neumann-cnm2l

This is already implemented in v2


Securing Helm documentation: add tillerless plugin

Hello,
The team I'm on wanted to not have an unauthenticated gRPC endpoint (that has access to change things) in our K8s cluster. We looked into enabling TLS, but instead ended up using the Tillerless Helm v2 plugin (https://github.com/rimusz/helm-tiller).
FWIW, our opinion was we found it more desirable / easier (at least for us) to use the plugin, vs creating *.tls certs and setting up a pipeline to manage them (to store them, and create new ones when current ones expire - and this would've been especially cumbersome if we setup a separate TLS certificate for each endpoint).
Also, whenever helm v3 comes out, the proposal calls for going tiller-less.
So I'd like to ask if it would make sense to update securing_installation.md to at least mention the plugin as another (if not the recommended) option (besides enabling TLS) for not having a wide open gRPC endpoint?
If the answer is yes, I'd be happy to create such a PR to modify securing_installation.md - I just wanted to ask first.
(By the way, currently the only place where this repo mentions the "Tillerless Helm v2" plugin is docs/related.md.)
Thanks!

I'm incredibly wary about recommending users to trust third-party plugins as a security practice.
That being said, I would definitely look forward to an amendment to the documentation that recommended the following:

fetch the latest helm release tarball from the GitHub release page
extract and move helm and tiller somewhere on your $PATH
run tiller
run export HELM_HOST=:44134
run helm as usual

It's a lot less clunky to use once it's set up as you can use helm commands as usual once $HELM_HOST has been set.
If you're interested in contributing that to the documentation, we'd really appreciate that.

@jolson490 When ever we talk about security we want to take the more secure, trusted, and conservative approach. For example, the helm-tiller plugin is outside the control of the Helm project and I'm not aware of a security issue reporting mechanism. While it's approach is useful we are trying to be careful when we recommend anything.
As @bacongobbler noted, the approach works. It's even one many of us have used for local development. There's just a difference between recommending or sharing an approach and pointing people to use a 3rd party plugin.
For what it's worth, if I were the author of the plugin I would say this about myself.
But, we would be very open to documentation on the topic.

That all makes sense and sounds good, thank you both for taking the time to respond.
When I get a chance, I'll work on the proposed changes that @bacongobbler described and create a PR for that.

@jolson490 update PR as @bacongobbler suggest and just mention my plugin at the end as an option for automated way :)


Bug- Error V1 outputs "EMPTY" when no scope

When a V1 error is outputted in V2 format and the scope is EMPTY it looks like
  ✓  Status code is 200
  ┌
  │ {
  │   errors: [
  │     {
  │       message: 'The provided keyspace does not exist:
  │ default_keyspace',
  │       errorCode: 'KEYSPACE_DOES_NOT_EXIST',
  │       id: '1e511f25-19c4-4624-bbaf-7a332da1d100',
  │       title: 'The provided keyspace does not exist',
  │       family: 'REQUEST',
  │       scope: 'EMPTY'
  │     }
  │   ]
  │ }

Scope when empty should be an empty string.
Change line JsonAPIException.getCommandResultError()  line 180
          new HashMap<>(
              Map.of(
                  "id",
                  id,
                  "errorCode",
                  errorCode.name(),
                  "family",
                  errorFamily,
                  "scope",
                  errorScope,
                  "title",
                  title));

call errorScope.scope() to get the name of the scope, currently this gets the name of the ENUM

closing, we will remove all of these soon enough


Draft: Add support for non-organization accounts in GitHub Discovery

Signed-off-by: Simon Knittel<EMAIL_ADDRESS>Hey, I just made a Pull Request!
This PR adds support for non-organization accounts in GitHub Discovery. This isn't possible at the moment since the organization endpoint in GitHub's GraphQL API only returns repositories of actual organization accounts. Closes #5544
⚠ This PR is still a draft since I'm not sure if this is the best way to solve this.
TODO:

[ ] Add changeset
[ ] Update tests

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Tugboat has finished building the preview for this pull request!
Link:

https://pr5547-nlpkbw7hde5jkboftvy8ww1hv7nugnzb.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/608c04e1a55c9a5deba5bc68

Hi @adamdmharvey, thanks for the hint. Looks like that there exists something similar for the GraphQL API.
{
  repositoryOwner(login: "simonknittel") {
    id
    __typename
  }
}

This query will respond with the ID and either "User" or "Organization". So, I could add an additional query which first checks what that login belongs to and then either does the organization.repositories or user.repositories query.

Tugboat has finished building the preview for this pull request!
Link:

https://pr5547-nlpkbw7hde5jkboftvy8ww1hv7nugnzb.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/608c04e1a55c9a5deba5bc68

But in that case, why not repositoryOwner(login: "simonknittel") { repositories { ... }}?
https://docs.github.com/en/graphql/reference/interfaces#repositoryowner

Yeah, that seems to be working. I missed that. It returns the list of repositories in the exact same format, doesn't matter if it's a user or organization then.
I'll update my PR.

Tugboat has finished building the preview for this pull request!
Link:

https://pr5547-nlpkbw7hde5jkboftvy8ww1hv7nugnzb.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/608c04e1a55c9a5deba5bc68


Bump up the Beam version to 2.2.0

Bump up the version from 2.0.0 to 2.2.0.
New exciting features like the Python SDK and the Beam SQL await us. :)

Beam 2.3.0 has been released with the following updates, can you update the issue description?

full Java 8 support
Spark 2.x support in Spark runner
Amazon WS S3 filesystem support
General-purpose writing to files (FileIO)
Splittable DoFn support in Python SDK
Improvements on Portability layer
Improvements on SDKs & runners
Improvements on several IOs

File IO has been the main thing blocking this issue, and apparently there had been an update regarding this bit, so upgrading Beam version straight to 2.3.0 makes more sense to me.

Done. :)

Moved to https://issues.apache.org/jira/projects/NEMO/issues/NEMO-3.


Locale

what's the best way to set up a locale?
I've tried the same approach used for mat-datepicker but for saturn-datepicker doesn't work

via ng-compiler option ng serve|build --locale=fr. Also see #8

Thanks man! Great work, by the way


Add TextInput event

fix for #1010

Text Input event
Options:

Variable (the variable that the input will be stored to)
Text (will by default be displayed above the line edit)
Default
Placeholder
Allow Empty

Is missing an icon
Text input display node
A control node that has three exported node paths to a text label, an input line edit and a confirmation button.
A node of this type along the needed child nodes was added to the DefaultDialogNode scene.

Okay, after testing it I think there should be a way to customize what the input says.
I know this makes things a bit more complicated because of localization but I'm sure people will want to customize the "Please enter some text" prompt.


mssql

Does this work with mssql?

I have not tested this but it should if you use ODBC:
http://php.net/manual/en/ref.pdo-odbc.php

On Windows, PDO_ODBC is built into the PHP core by default. It is linked against the Windows ODBC Driver Manager so that PHP can connect to any database cataloged as a System DSN, and is the recommended driver for connecting to Microsoft SQL Server databases.


Zoom Links

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that a supported site is broken
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Provide a description that is worded well enough to be understood
I am getting errors in my zoom links from 2-3 days
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
ERROR: [zoom] U5nWanIXmwwzwnRBSreDD4YBPOuaYeghnAev5Sch0BpxbFTwP7YZPNPurLu96xhd.4gmi8Fo_I8cM5cU1: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

#6677


added a website

Hi i have created another project check this out
Here is video how it looks.
https://github.com/user-attachments/assets/3c8b0ff1-9ba1-4e70-b893-28cf8bfe45eb
Thank you for your time.

Please delete this branch and proceed with your next PR.


cant send messages ingame to discord

Hello there!
I really like this mod!, I just seem to have a slight problem sending messages
from in-game to discord.
I am getting the following error when I type a message in game:
Uncaught exception in thread "Interweave"
java.lang.ClassCastException: class net.minecraft.class_7417$1 cannot be cast to class net.minecraft.class_2585 (net.minecraft.class_7417$1 and net.minecraft.class_2585 are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @dfd3711)
at main.Interweave.lambda$sendMessage$4(Interweave.java:165) ~[interweave-1.0.3.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
The server is running the latest Fabric-API 0.56.0 for Minecraft 1.19
Its neither crashing nor preventing other functions of the interweave mod, I can send messages from discord to minecraft without a problem, as well as receive start/stop join/leave messages on discord.
If theres any way I can showcase this problem to you better please let me know!

I don't seem to be able to recreate this, could you send me your mod list and your interweaveConfig.json? (Make sure to redact the discordToken and channelID).

Yes!
heres the interweaveConfig.json:

and heres the mod-list with all what we currently use: (might be worth noting that I extracted it from the "latest" log, I hope this isnt too cluttered, if not I'll send in just the normal mod-list)

This is my first time really interacting on github so I hope I'm not being too much!
thanks a lot!


Error loading data

Describe the bug
Gives me "Error loading data" when i want to enter the rooms and make changes on bio.
To Reproduce
Steps to reproduce the behavior:

Go to 'clubhouse app'
Click on 'room or change bio'
Scroll down to '....'
See error

Expected behavior
I want to change my bio and want to join in rooms.
Screenshots

Smartphone (please complete the following information):

Device: [Samsung S9 Plus]
OS: [e.g. Android 9]
Version [e.g. 1.0.8]

Additional context
Add any other context about the problem here.

Уведомление смотрите, прошёл массовый бан андроид юзеров. Минута молчания...

Me too i can't join any room 😭

This might be because your account has been suspended, try checking the notifications.

Check here : https://github.com/khaleds-brain/Houseclub/ =)
please give credit and contribute to it

@khaleds-brain does your version work? Can you publish Apk. Why not a new version #?

Can please contribute and fix it please ?

Guys clubhouse has ban my account i will try one more time to enter buy the best way in to create account in ios system.


--mount option problem for building Postgres image

Expected Behavior
Running pgbench benchmark on PostgreSQL as a probe should be enough for docker-slim to create a minified image which can handle same load. Creating a database, filling it with some data and running some concurrent queries is what pgbench do.

Actual Behavior
But after building slim image some odd behavior appear:

Postgres image (specially on alpine)  isn't minified.
docker-slim doesn't respect --mount and --exclude-mounts, generated image still has files in mounted volume location.
Some log showing artifact sensor facing don't exist problem and missing in rawNames

Steps to Reproduce the Problem
docker-slim build \
    --target postgres:14.3-alpine \
    --env POSTGRES_HOST_AUTH_METHOD=trust \
    --show-clogs=true \
    --http-probe=false \
    --mount pgdata:/var/lib/postgresql/data/ \
    --exclude-mounts \
    --exec "pgbench -i -U postgres -s 10 postgres && pgbench -U postgres -c 10 -t 2000 postgres && psql -U postgres postgres -c 'DROP TABLE pgbench_accounts, pgbench_branches, pgbench_tellers, pgbench_history;'"

log file is attached.
for testing minified image run this docker-compose:
version: '3.3'
services:
  postgres:
    image: postgres.slim:latest
    environment:
      POSTGRES_HOST_AUTH_METHOD: trust
  tester:
    image: postgres:14.3
    entrypoint:
      - bash
      - -c
      - "sleep 3; pgbench -i -U postgres -h postgres -s 50 postgres && pgbench -U postgres -h postgres -c 30 -t 10000 postgres"

Postgres exits with this error:
PostgreSQL Database directory appears to contain a database; Skipping initialization
FATAL:  58P01: could not open directory "/usr/local/lib/postgresql": No such file or directory

Specifications

Version: docker-slim version linux|Transformer|1.37.6|26a36c88a94c677efd734e874ba081dabb84a224|2022-04-23_06:03:56AM
Platform: Ubuntu 18.04.6 LTS, docker-slim ran on host (not in a container)

@kcq What is the process of checking issues in this repository?

Great issue @erfan-mehraban ! Thank you for sharing it and the repro info. It'll make it easier to root cause the problem. Give me a couple of days to review and I'll post an update

@kcq
I would appreciate it if you could point me in the right direction to debug this issue.

I have the same issue too lol

Trying to investigated additional adjacent issues with the setup, which is taking extra time... Respecting the --mount and --exclude-mount flags problem can be addressed on its own (i'll do that for the next release as an incremental improvement).


Adds new different reaction types.

Adds touch, injection (unused currently) and ingestion (unused currently) reactions for entities.
Adds tile reactions.
Removes GasSprayerComponent in favor of SprayComponent.
Gives fire extinguishers a safety.
Gives spray puffs a sprite.
Improved spray and fire extinguisher in general.
Fire extinguisher now ACTUALLY puts out fires. Amazing, eh?
Fire extinguisher sprays three 'clouds' at once.
Spraying flammable chemicals at fire makes them worse. Whoops!
Gives spray and fire extinguisher their classic sounds.
Most chemicals now don't make puddles. Too bad!
Space lube now makes a very slippery puddle. Honk.
Spraying water (or using a fire extinguisher) on existing puddles makes them bigger.
probably more that I've missed

Good first pr


[Bug]: FormStore validateField appears to have a race condition on simultaneous onBlur validation and submission with a form that removes itself on submission

Which packages are impacted?

[X] remix-validated-form
[ ] @remix-validated-form/with-zod
[ ] @remix-validated-form/with-yup
[ ] zod-form-data

What version of these packages are you using?

remix-validated-form: 4.5.5

Please provide a link to a minimal reproduction of the issue.
(could not reproduce outside of Cypress test environment)
Steps to Reproduce the Bug or Issue

Create a form with an input that performs default validation behavior (on blur, then on change). Have the form submission remove the form itself from the DOM when the submission completes, using onSubmit.
Type into the form a valid value.
Click the submit button of the form, which blurs the field and triggers field-level validation at the same time as the form itself is validating and submitting.
Sometimes (!!) the form submission completes and the form is removed before validateField completes, and the get().clearFieldErrors(...) call throws an error as get() returns undefined.

Expected behavior
The order of field validation and form submission should be predictable.
Screenshots or Videos
Error when test moves straight from typing to clicking the form submission button:

Identical test works fine when the field is manually blurred prior to submission:

Platform

OS: macOS
Browser: Chrome
Version: 105

Additional context
I'm not able to duplicate it manually, only when the browser is being run in a Cypress test environment.

Interesting interaction -- Thanks for bringing this up. I bet we could even reproduce this manually with an async validator that takes a couple seconds. Seems like we could fix this and #117 all in one go.
If you have time, could you write a failing cypress test for this in the test-app? That would involve writing a new route (might even be able to reuse a route) and adding a test to one of the existing test files (maybe async-validation)

I just released 4.6.0 which includes some pretty extensive refactoring of the form store. It's been months since I worked on it though. Would you mind verifying if this is still an issue in the latest version?

RVF v6 has been released 🎉
This should now longer be an issue in v6. If it's still a problem in that version, please feel free to open a new issue.
You can find the documentation here and the migration guide here.

Ah sorry, I migrated away from Remix over a year ago, so I haven't checked in. But thank you for following up!


Fix bugs import feature

closes #206, closes #214, closes #226 - More user-friendly error message
closes #218 - Default values could be contacts
closes #265 - Import requirements and add requirements not aligned
also clears some redundant/unused code

Codecov Report
Attention: Patch coverage is 17.39130% with 19 lines in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

...va/seedu/address/logic/commands/ImportCommand.java
0.00%
6 Missing :warning:

.../java/seedu/address/storage/JsonAdaptedPerson.java
44.44%
5 Missing :warning:

...java/seedu/address/storage/CsvToJsonConverter.java
0.00%
4 Missing :warning:

.../main/java/seedu/address/storage/JsonImporter.java
0.00%
2 Missing :warning:

...u/address/storage/JsonSerializableAddressBook.java
0.00%
1 Missing and 1 partial :warning:

Files with missing lines
Coverage Δ
Complexity Δ

.../main/java/seedu/address/storage/JsonImporter.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...u/address/storage/JsonSerializableAddressBook.java
73.68% <0.00%> (-3.59%)
4.00 <0.00> (-1.00)

...java/seedu/address/storage/CsvToJsonConverter.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

.../java/seedu/address/storage/JsonAdaptedPerson.java
66.66% <44.44%> (+5.12%)
14.00 <1.00> (-2.00)
:arrow_up:

...va/seedu/address/logic/commands/ImportCommand.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)


unable to run image at cloudjiffy.co

Hi,
I'm trying to run version 1.3.0 with the following variables set:
LDAP_ORGANISATION olymp LDAP_DOMAIN olymp.local LDAP_ADMIN_PASSWORD ... LDAP_CONFIG_PASSWORD ... LDAP_TLS false
`*** CONTAINER_LOG_LEVEL = 3 (info)
*** Search service in CONTAINER_SERVICE_DIR = /container/service :
*** link /container/service/:ssl-tools/startup.sh to /container/run/startup/:ssl-tools
*** link /container/service/slapd/startup.sh to /container/run/startup/slapd
*** link /container/service/slapd/process.sh to /container/run/process/slapd/run
*** Set environment for startup files
*** Environment files will be proccessed in this order :
Caution: previously defined variables will not be overriden.
/container/environment/99-default/default.startup.yaml
/container/environment/99-default/default.yaml
To see how this files are processed and environment variables values,
run this container with '--loglevel debug'
*** Running /container/run/startup/:ssl-tools...
*** Running /container/run/startup/slapd...
Database and config directory are empty...
Init new ldap server...
Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.48+dfsg-1~bpo10+1... done.
Creating initial configuration... done.
Creating LDAP directory... done.
invoke-rc.d: policy-rc.d denied execution of restart.
dpkg: error: dpkg frontend lock is locked by another process
*** /container/run/startup/slapd failed with status 2`
As you can see, startup of slapd fails, any help is highly appreciated!
BR

@gartl1337 please note that you might also want to increase log verbosity by adding
--loglevel debug to the arguments of your docker launch command/yaml file.
To do so, please have a look at the debug section of the README or if you have K8s like YAML deployment it should look as follows:
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: ldap
  labels:
    app: ldap
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: ldap
    spec:
      containers:
      - name: ldap
        image: osixia/openldap:1.2.4
        args: ["--loglevel", "debug"]
        volumeMounts:
...

In case of Docker compose:
./docker-compose-1.yml
version: '3.2'
services:

    openldap:
        hostname: openldap
        image: osixia/openldap:1.2.0
        command: "--loglevel debug"

        ports:
            - '389:389'
...

And even better if you use the following 2 options:
command: ["--copy-service", "--loglevel", "debug"]

@gartl1337 potentially versions of Docker, K8s, ... could also help if you have them available

@gartl1337 I am not familiar with cloudjiffy so did you also try to use docker locally on your machine too with the same arguments to see if it works or not ???

@obourdon Thank you very much for your support! :)
Just tested locally and it worked like a charm, so obviously it's a issue at the hoster. - I'm now moving for a dedicated server anyway.

@gartl1337 you are very welcome. If you think you will not need this to be investigated more for cloudjoffy as you tend to suggest, thanks to close the issue ;-)


Adding .babelrc requires including "env" ?

[x] I have searched the issues of this repository and believe that this is not a duplicate.

These seem related maybe?

https://github.com/zeit/next.js/issues/2499
https://github.com/zeit/next.js/issues/2197

Expected Behavior
I should be able to add a .babelrc with a custom plugin and the next/babel preset and everything should work without having to include the env preset.
Current Behavior
When doing this I'm getting the following error when running tests (with Jest):
~/Developer/glamorous-with-next (pr/fix-config)
😇  $ npm run test --silent
 FAIL  components/__tests__/toggle-button.js
  ● Test suite failed to run

    /Users/kdodds/Developer/glamorous-with-next/components/__tests__/toggle-button.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){var _jsxFileName = '/Users/kdodds/Developer/glamorous-with-next/components/__tests__/toggle-button.js';import React from 'react';
                                                                                ^^^^^^

    SyntaxError: Unexpected token import

      at ScriptTransformer._transformAndBuildScript (node_modules/jest-runtime/build/ScriptTransformer.js:289:17)
          at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:188:7)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        0.908s
Ran all test suites.

Steps to Reproduce (for bugs)
Run the following script (from a directory of your choosing):
mkdir next-preset-issue
cd next-preset-issue
npm init -y
npm install next react react-dom jest babel-preset-env --save
echo "{\"presets\": [\"next/babel\"]}" > .babelrc
echo "import fs from 'fs';test('works', () => {});" > index.test.js
./node_modules/.bin/jest
echo "{\"presets\": [\"next/babel\", \"env\"]}" > .babelrc
./node_modules/.bin/jest

You'll notice that the first invocation of jest will fail with the error above, but the second (after adding the env preset has been added) will succeed.
Context
I'm making a course for glamorous and I want to show how to do server rendering and testing. Next.js is the obvious choice, but I want to make sure I'm doing things properly and no more than necessary. If it's necessary to add the env preset that's fine, but I want to make sure that I understand why it's necessary.
Your Environment

Tech
Version

next
v3.2.1

node
v8.3.0

OS
macOS

browser
N/A

Thanks!

Oh, by the way, here's a PR that removes the env plugin from my demo repo and reveals the issue in my specific use case: https://github.com/kentcdodds/glamorous-with-next/pull/1

Do you try this?
"env": {
    "production": {
      // somting barbel
    }
  }

I did not, but I don't think that I should have to...

If that is necessary, I'd love to know why...

@kentcdodds Hey :wave: the reason for this is that we use webpack to handle imports/exports so that webpack can do three shaking. So we've disabled the modules bit of preset-env to make sure it doesn't get handled by Babel. Maybe the reason it's like that should be documented in the with-jest example https://github.com/zeit/next.js/blob/master/examples/with-jest

That makes sense. I'll contribute to the with jest example to explain what's going on. Thanks!

Here's the PR: https://github.com/zeit/next.js/pull/2911


Remove version: GnuWin32.Tar version 1.13-1

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/gnuwin32/files/tar/1.13-1/tar-1.13-1-bin.exe/download
Status Code: 200
(Automated message - build 900)

Close with reason: URL works;


Problems hosting content with /slim in path.

I am trying to have SliM served up from a non-root directory, so that I can have the same hostname for the two different viewers and route traffic based on the URL. (e.g. I want https://hostname.example.com/slim/studies/blah... to go to the SliM Bucket, and other paths to go to radiology).
I have followed the build output instructions to put "homepage"="/slim" into the top-level package.json file. And after putting it in the /slim bucket folder, and routing 404s and index calls to /slim/index.html, it does work, but only if I launch it from a URL like https://hostname.example.com/studies/blah... (no /slim). You can see that the calls are really going to /slim, but the initial call cannot have /slim in it. If it does, then I get the static content, and then it stalls with a blank screen.
I have tried changing the "path" argument in the local.js from "/" to "/slim" and back, but it does not seem to have an effect.

This appears to be the main roadblock for deploying slim in IDC, please mark this as priority.

Regarding /slim basename problem, in your bucket deploy yaml file have you tried this?
runtime: nodejs10
handlers:

url: /
static_files: build/index.html
upload: build/index.html
url: /slim
static_files: build/index.html
upload: build/index.html
url: /(.)$
static_files: build/\1
upload: build/(.)
adding another url to fallback to the index.html?
e.g. https://idc-external-006.uc.r.appspot.com/slim
i think updating react publicpath wont help since youre not using the webpack-dev server (edited)

I've fixed the path configuration via 3e00c491fa4c8574bc769ddc9b4586957cb0258e, which will be included via #52. Note that I have updated the default local configuration to use this feature. When deploying the viewer together with the archive locally using the provided Docker compose configuration, the app will be located at http://localhost:8008/viewer.


Tululbot Interaction Finding

Melanjutkan dari #47:

Perlu dicatat kurangnya interaksi dua arah antar member tulul sebagai efek dari tululbot sudah menjadi salah satu keluhan yang gue temukan dari proses riset gue.

#Goal
To find out the cause of declining usage and what we should improve next
#Finding

All participants finds /leli is very useful for everyday needs and a really cool feature

While /leli is useful, it is not easy to use because we should type manually

/quote becomes favorite because it is easy to use and has interesting contents

Participants need something interactive from Tululbot. One of the requested feature is quiz

Participants find that currently Tululbot is being abused and give out spamming effect which hinder the socialization between Tulul members because everyone is too busy using the bot.

Participants want Tululbot to become a bot that support interactivity among Tulul members for the purpose of “nulul bareng"

#Recommendation

Create another way to use /leli just like imagebot so users could use /leli with single click without the need to type /leli manually
Response in /leli “Jangan ngeleli! Googling dong..” should be improved so it comes out more friendly but still “Tulul"
(high priority) implement "delay feature” to tululbot especially for /quotes . Next question: Do we need to implement different delay rules for each feature?
(high priority) update quotes database
(long term) Implement quiz feature that encourage discussion among Tulul members. Should prevent as much as possible the interaction which makes it seems like we only interact with the bot. Suggested concept (additional to the mufid’s concept): treat command /answer just like imagebot and future /leli. Need command to retrieve the recent opened question. Further discussion in #47


Treeview Layout - Lowest level fromating.

Hi,
i recently build dox for a plugin with this nice css. But i found following problem:
The lowest level of the tree view is always at the right border of the tree view.

I already fixed it for me locally by adding display: inline-block; to the .arrow section of the .css file. The the tree view looks as i expected:

I would make a pull request my self, but i don't have the right to do so.
Cheers - darkblizzard

Given the fact that the problem doesn't seem to occur on the demo page, I am tempted to think that this may be a problem with your specific setup, or with an incompatible Doxygen configuration.

The second screenshot that you posted raises a question to me: Is "DatamodelFeedback" really a subsection of "Datamodel Class Hierarchy"? Because the arrow in the blue rectangle indicates to me that the "Datamodel Class Hierarchy" tree is closed (►), which means it's children should not be visible. 🤔
Can you pls provide the following information about your setup?

Doxygen version
Doxygen Awesome CSS version
if possible, the Doxyfile you are using to generate the docs
if possible, a link to the repository or the generated docs, so I can inspect the problem myself.

I would make a pull request my self, but i don't have the right to do so.

You should be able to create a PR, if not I'll have to fix the repository configuration. :/
Can you describe what you tried to open a PR, or what gh is telling you why you're not allowed to do so? 🤔

Yes it happened to all leafs in my documentation.
The structure of the "Module: Balanceable Variables DataModel" page is the following:
@section datamodelLayers Datamodel Class Hierarchy

@subsection datamodelLayerOne IIDataModel

@subsection datamodelLayerTwo FDataModel

@subsection datamodelLayerThree FDataModelBackendLinked

@section datamodelFeedback DatamodelFeedback

@section datamodeloverviewvisual Complete Visual-Overview

So my fix is not 100% clean, because the section with subsections is still on a different level than those without subsections.
My setup:

Doxygen version: 1.9.1
Doxygen Awesome CSS version: 1.5.1 (cloned at 12.07.21)
Browser version: checked with FireFox 89.0.2 and 90.0
if possible, the Doxyfile you are using to generate the docs: doxyfile (datapaths shorted) BalancingHubDoxyfile.txt
if possible, a link to the repository or the generated docs, so I can inspect the problem myself: the project currently is saved on the gitlab of my university. So im unfortunately not able make the repository public at the moment.

Hi there. I was just testing this on a private repo and ran into the same problem. It turns out I accidentally placed the CSS link in the HTML_STYLESHEET field instead of the HTML_EXTRA_STYLESHEET field. I just downloaded your Doxyfile and it looks like you made the same mistake.


Support jump/seek in bookmarks and Reset paginator after jump/seek

Actually I don't know what's that "hint" for

The hint was required before the code look up existing pages to find the current page, a relic not needed anymore,you are right!


feat: add pretty-ts-errors to recommended vsc extensions

Closes #
✅ Checklist

✅ I have followed every step in the contributing guide (updated 2022-10-06).
✅ The PR title follows the convention we established conventional-commit
✅ I performed a functional test on my final commit

Changelog
added the prerry-ts-errors VSC extension to the recommended extension list

thanks for the pr :)
i agree with this but will wait for at least one other review before merging

@juliusmarminge approved it in the create-t3-turbo so I guess he's onboard with this.
See here


WIP-Fix distortion of thumbnail imgs if they're not square

https://jira.lib.unc.edu/browse/BXC-2562

Rather messed up. Going to start fresh


Update ObjFW definition

This updates the ObjFW definition in order to be more accurate and work better

please push to dev branch next

please push to dev branch next

Will do, ill make a new PR


Why i'm not marked as tester anymore?

I know i'm not the best, and sometimes I'm annoying... but I reported a lot of issues and almost all of them were valid. :(

We are only including the core members who have been with us since the start, as we are considering a kickstarter and we need to lock down our contributor list.
We do appreciate your issue submissions and your help, but we aren't looking to expand our team any more at this time.

We are only including the core members who have been with us since the start, as we are considering a kickstarter and we need to lock down our contributor list.
We do appreciate your issue submissions and your help, but we aren't looking to expand our team any more at this time.

Also idc about the money.

Sorry, but yesterday that was fine and now it isn't?!
Might as well delete this...
https://gbatemp.net/threads/homebrew-game-famidash-gets-major-beta-update.655135/

There's a difference between a) getting to know the team, joining the discord, working your way up to becoming part of the team and b) making a ton of issue reports for the sole purpose of getting your name in the credits.
Thank you for the GBAtemp article, though I have a GBAtemp contact already who has already published an article.
Feel free to remove your article if you are unhappy with our collective decisions.
Your issue reports will always be public and viewable by anyone who can see you contributed.

Sorry, but yesterday that was fine and now it isn't?!
Might as well delete this...
https://gbatemp.net/threads/homebrew-game-famidash-gets-major-beta-update.655135/

There's a difference between a) getting to know the team, joining the discord, working your way up to becoming part of the team and b) making a ton of issue reports for the sole purpose of getting your name in the credits.
Thank you for the GBAtemp article, though I have a GBAtemp contact already who has already published an article.
Feel free to remove your article if you are unhappy with our collective decisions.
Your issue reports will always be public and viewable by anyone who can see you contributed.

I can join the DS then but I use it rarely.

Regardless of discord or not, we don't have room in the core development team for another member.
All of us are testing this as we can, and likely would have found the issues you stated over time on our own as well.
We do appreciate you bringing the issues directly to us via bug reports that force us to act, but the team has unanimously agreed that our development team is full and closed.

Hey sorry 4 yesterday, I overreacted.

It happens to the best of us, don’t sweat it. :)

At this point you are now going around youtube videos telling people thank you for playing "our game"...you do not represent our team and are not part of the development team.
At this point we need to make it more clear, so we will be disabling your access to this repo.


PrebuiltModuleGen: check if an interface is for macabi by reading interface contents

Previously, we were using the file name to infer whether an interface is for macabi.
However, this seems to be inaccurate because some macabi interfaces don't have "-macabi" in
the file names. This patch teaches the driver to open interface files and check
module targets specifically.

@swift-ci please test

@xymus @artemcm @beccadax This may explain why we saw excessively more macabi interface failures in the prebuilt module job.

@swift-ci please test


Add Greek translations for job provider

Hello there!
This is my first contribution to your nice project!
I have started using this library in one of the projects I work on and there was some gap I would like to contribute to.
I added the translations for the Greek language for the job provider. Some words under seniority section were left untranslated because I could not find proper Greek words to replace them with. They can be used as is, though.
Since this was the first bunch of translations for the Greek language, also README.md was updated accordingly.
 Comparing base (b37c566) to head (d916a56).
Report is 56 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1156      +/-   ##
============================================
+ Coverage     92.35%   92.37%   +0.02%
- Complexity     2821     2833      +12
============================================
  Files           292      293       +1
  Lines          5609     5614       +5
  Branches        599      598       -1
============================================
+ Hits           5180     5186       +6
+ Misses          275      272       -3
- Partials        154      156       +2

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

I would like to ask: is there a plan of when there will be a new release on maven central with latest changes?

A snapshot version should already be available.
The 2.2.0 plan is here: https://github.com/datafaker-net/datafaker/issues/1113

Hi @gvrettos , thanks for your contribution here!


force update in iOS

How to make user force update in iOS, like IMMEDIATE in android.

Hi, it seems you've found the way, can you tell me how to do that?

Hi, it seems you've found the way, can you tell me how to do that?

I see, I can use forceUpgrade option, thank you


With tensorboard try

just trying stuff out, and i might have clicked some wrong tabs lol. consider this nothing.


improve fetch error messages

include complete error object in fetch error handler

Coverage decreased (-0.6%) to 79.677% when pulling 1965dacea24f61f87bd0c06d1617ad1616d73bd0 on fetch-full-error into 0229ce7a31bd99767c8cafe5a5ab03ced951d14a on master.


Manual process with TANs

User Stories ID # E06.04, E06.05 and E06.06 describe a manual process. Honestly I wonder how this should work if by then the user is not known and still anonymous and therefore not identifiable? Does this mean, that there is some kind of manual key exchange with a call-center agent? Assuming there will be 82 Mio users how long must a key be to maintain entropy and to prevent replay-attacks? How to ensure that the caller triggering the manual process is the person he/she claims to be?

Please wait until the architecture docs are released. You will find more info in those docs.


Mature authentication offering

This is more of a tracking issue for a series of features around building out and maturing the authentication capabilities of ashirt. This is meant to ask and answer questions so that we can move toward creating the set of individual features that we'll end up actually building. This issue does not mean that all of the below features have the same priority or that we need to build all of them but they are at least worth discussing and coming up with a plan for if and when they will be built.
Currently ashirt supports local auth and okta which meets our needs internally and likely the needs of some potential users. In general we're missing integration with some other common single sign on options and new/upcoming mfa options that we are likely to see others desiring to use. This will split into two categories: authN and mfa options.
AuthN

Generic OIDC2 (can okta share this?)
SAML
webauthn

MFA

u2f/FIDO2

Generic ODIC:

Back end
It looks like Okta is at least 90% compatible with Google and Discord. Making Okta work with these two might be easy enough. At a glance, it looks like we need to change how the token exchange works slightly (it looks like google and discord expect the client id and secret  provided as query parameters. Okta, at least previously, expected these as basic authentication), and we should expand the number of configurations we need -- specifically we need the authorization url and token url.
Front end
This is a bit tricky. I think we should be able to abstract this enough to work with generic oidc providers, but we're likely to lose specific styling. So, if we wanted to use google odic, we probably wouldn't have the google G next to the button. One possibility, if we really want this, would be to have named service integration are just fancy wrappers around generic OIDC.

Generic OIDC2 implementation has been added (#358) and we've removed the original Okta specific version (#452). There doesn't seem to be any reason to implement SAML for federated auth at this point since we've implemented generic OIDC2. I'm going to close this issue and open a specific one for adding webauthn.


Add Stepup API configuration to docker

Originally the configuration was done in the Stepup API project, but we decided that it would be better to add it to the devconf as well. Mostly because the API uses the Middleware.
This PR is based on the PR created by Dan, to which I added the docker configuration for the Stepup API.

Closing this for now. Given the low complexity of adding this project we can add it at a later stage.


No way to test new features for DartPad API doc sample

When writing new API documentation, it may not be possible to write DartPad samples for features that do not exist in the Flutter version that https://dartpad.dartlang.org/ uses (I'll assume it's stable).
The snippets documentation suggests pasting the code in there to see what the sample looks like, but that did not work for https://github.com/flutter/flutter/pull/50058, since in that PR, prefixIconConstraints and suffixIconConstraints were new parameters that did not yet exist in stable.

/cc @gspencergoog

/cc @RedBrogdon

It doesn't target stable, it targets a particular ref (listed here as the flutter @ <ref> directory). So new features will be available a couple of weeks or so after the commit of the feature.  Ideally, there would be a DartPad per branch, selectable via query parameter.  This will get worse once DartPad samples make it to the stable docs, since any breaking change has the potential to break samples, with no way to update the sample.

cc @RedBrogdon

We've got backend services running with the dev, beta, and stable channels, which makes it possible to test with a local copy of DartPad by switching out the endpoint URL.
We plan to update the front-end to make using these endpoints as simple as flipping a switch, but weren't able to fit that work into our Q3 roadmap.

Samples can be tested now that they life in their own file


Improve CertificateOwnsSecret and add tests

⚠ Depends on #6608
Adds a unit test for CertificateOwnsSecret and refactors the function to start using slices.
Kind
/kind cleanup
Release Note
NONE

/test pull-cert-manager-master-e2e-v1-28

/approve


Run a single feature file from Maven command Line

Requirement:
To be able to execute a single feature file from Maven Command Line after implementation of Cucumber-JVM-Parallel-Plugin.
As of now, we are not able to execute a single feature file from Maven Command Line after implementation of Cucumber-JVm-Parallel-Plugin.
I am using below command:
mvn test -Dcucumber.options="src/test/Features/Episode2.0/PatientTopNavigation/expandPatientCard.feature"
It gives me error:
[ERROR] Failed to execute goal com.github.temyers:cucumber-jvm-parallel-plugin:4.2.0:generateRunners (generateRunners) on project Remedy2Application: Execution generateRunners of goal com.github.temyers:cucumber-jvm-parallel-plugin:4.2.0:generateRunners failed: Parameter 'directory' is not a directory -> [Help 1]
Please help me fixing this one.

Can you provide a stacktrace? You may need to run maven with --debug.

Hi @mpkorstanje ,
I executed the below command:
"mvn test -Dcucumber.options="src/test/Features/Episode2.0/PatientTopNavigation/expandPatientCard.feature" --debug >> out.txt"
This command ignored the Dcucumber.options that I have passed from the above command line argument and instead executed the feature files (in parallel) present in  tag under Cucumber-JVM-Parallel-Plugin in pom.xml.
Refer attached verbose output of the same.
out.txt

This trace does not contain the original problem...
Keep in mind this plugin generates runners. It does not execute cucumber tests. If you don't clean you'll keep the old runners.

I even tried below command:
"mvn clean install test verify -Dcucumber.options="src/test/Features/Episode2.0/PatientTopNavigation/expandPatientCard.feature" --debug >> out.txt"
It still executes the feature files (in parallel) present in  tag under Cucumber-JVM-Parallel-Plugin in pom.xml.
Also, instead of making the changes in the pom.xml every time, can this plugin be tweaked to pass the featureDirectory path from maven command line ?

The user propery for the features directory is featuresDir. You can use that to pass it to maven.
I am having some issues reproducing the problem from just your description. Can you provide a PR with a failing integration test? They are in the it folder. Alternatively a github project with mcve would help.
https://stackoverflow.com/help/mcve


docs: add output in example config

bug: Just tried with output.html, which resolves in an error. Other formats work.

Thanks!  I'll look into that html issue


[DIR-620] settings: broadcasts

This adds broadcasts to the settings page.

Feel free to merge at any time 👌


fake: fix delete element from map operation.

On delete map element value is not required.
Fix unit test reference to the stale table. fake.Table is a new object after every transaction, so after each Run() it should be re-assigned.

/lgtm
/approve


Timeout for running command "systemctl stop gpustack"

Is your enhancement related to a problem? Please describe.

Using script to install GPUStack.
Execute this command sudo systemctl stop gpustack in the terminal.

It will take some time to get a response and time out. But the process will be terminated eventually.

(gpustack-test) ➜  ~ ps aux | grep gpustack
root     2982989  0.8  0.2<PHONE_NUMBER>84 ?       Ssl  12:02   0:04 /home/sophia/.local/share/pipx/venvs/gpustack/bin/python /home/sophia/.local/bin/gpustack start --port 8080 --worker-port 10152 --bootstrap-password 123456 --system-reserved {"gpu_memory":3,"memory":2} --debug

gpustack-test) ➜  ~ systemctl status gpustack
● gpustack.service - GPUStack Service
     Loaded: loaded (/etc/systemd/system/gpustack.service; enabled; vendor preset: enabled)
     Active: deactivating (stop-sigterm) since Wed 2024-08-07 12:11:53 GMT; 12s ago
   Main PID: 2982989 (gpustack)
      Tasks: 3 (limit: 76789)
     Memory: 122.7M
        CPU: 19.855s
     CGroup: /system.slice/gpustack.service
             └─2982989 /home/sophia/.local/share/pipx/venvs/gpustack/bin/python /home/sophia/.local/bin/gpustack start --port 8080 --worker-port 10152 --bootstrap-password 123456 --system-reserved "{\"gpu_memory\":3,\"memory\":2}" --debug
(gpustack-test) ➜  ~ systemctl status gpustack
× gpustack.service - GPUStack Service
     Loaded: loaded (/etc/systemd/system/gpustack.service; enabled; vendor preset: enabled)
     Active: failed (Result: timeout) since Wed 2024-08-07 12:13:23 GMT; 2min 0s ago
    Process: 2982989 ExecStart=/home/sophia/.local/bin/gpustack start --port 8080 --worker-port 10152 --bootstrap-password 123456 --system-reserved {"gpu_memory":3,"memory":2} --debug (code=killed, signal=KILL)
   Main PID: 2982989 (code=killed, signal=KILL)
        CPU: 20.043s

Describe the solution you'd like

Describe alternatives you've considered

Additional context

If there are HTTP chunked requests when stopping GPUStack, it will take some time to stop.

GPUStack version: main bb225f0
Uninstalling when viewing instance logs still encounters this issue.

Verified on main 1d54441


tls: fix tag extraction of tls cipher, version, sigalgs, curves

Commit Message: Fixed metric tag extraction so that TLS parameters are properly extracted from the stats, both for listeners and clusters. This changes the Prometheus names from envoy_listener_ssl_ciphers_ECDHE_RSA_AES128_GCM_SHA256{envoy_listener_address="<IP_ADDRESS>_10000"} to envoy_listener_ssl_ciphers{envoy_listener_address="<IP_ADDRESS>_10000", envoy_ssl_cipher="ECDHE_RSA_AES128_GCM_SHA256"}, and similar for envoy_listener_ssl_versions_TLSv1_2, envoy_cluster_ssl_versions_TLSv1_2, envoy_listener_ssl_curves_P_256, envoy_cluster_ssl_curves_P_256,
envoy_listener_ssl_sigalgs_rsa_pss_rsae_sha256.
Additional Description:
Risk Level: Medium - this does change existing stats
Testing: new tests added
Docs Changes:
Release Notes: added
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

lgtm generally but is there a risk this is a breaking change for someone?

Yes, it could be breaking for someone, but there's not a good way around that other than leaving it broken. This is the same thing we discussed in https://github.com/envoyproxy/envoy/pull/23081 (and a couple other changes). There's not a way to add a runtime guard on these changes.

/retest

/retest


Mavenize the directory layout and the site

Hi,
Here is the changeset to mavenize the directory structure (src/main/java, src/test/resources, etc). I also reworked the documentation such that the "mvn site" command decorates the pages with a nice looking skin and enhance the xml examples with syntax highlighting.

Wow, this looks great!  Thanks for taking this on!


Publish Spring Boot metrics to Cloudwatch

+1

Sorry, but I am confused about what milestone would this be part of? Also, if there are any dates around release?
I am in need to do this and rather than creating something custom of my own it might be better to just wait.

Hi @sachinlad we are publishing a 1.1 milestone next week and this PR will be part.
We will merge this week into trunk.
Sorry for the delay.

Nice to hear its available now. Are there any examples around how to configure it?

Is there any documentation or example code to reference it? It seems like most of the beans are auto-configured so enable this only involves setting some configuration to application.properties file? Is that correct?

@sachinlad Indeed the documentation is unfortunately missing, we will create a updated version within the next releases. Do enable the metic export to Cloud Formation, you will need to configure the namespace with the property cloud.aws.cloudwatch.namespace
Have a look at the integration test https://github.com/spring-cloud/spring-cloud-aws/blob/master/spring-cloud-aws-integration-test/src/test/java/org/springframework/cloud/aws/metric/MetricExporterTest.java that is an integration test and export the metrics to cloud formation.
Hope that helps, feel free to come back in case of any problems.

What is the release date for this feature?
Presently, we incorporated this with the MileStone version.
Also, for Spring Metrics to be available to MetricExporter, we had to create the MetricsEndpointMetricReader bean. Is there a reason, why that is not part of the CloudWatchMetricAutoConfiguration?
How can we send Metrics with Dimensions? Will there be a provision to do that? At this point, looking at the code, we wont be able to do it. or am I missing something?

any help with the docs on this or the ETA on release @aemruli

Any update on the questions asked by @nyashodhar?

@aemruli is there any documentation apart of that JUnit test?

Where the hell is the document or sample on how to use these spring-cloud stuff?????

I had implemented this long back and its pretty straight forward the autoconfiguration mostly takes care of all the heavy lifting I will post some snippets here once I get some time .


Allow sort multiroot workspace list

This might be considered a bug, although it is ambiguous.  In a multiroot workspace, the folders are sorted according to the order in which they are added, and can be reordered by dragging.  But there is a setting Explorer->Sort Order that says that the ordering will be (by default) that folders are sorted alphabetically.
Either provide a separate setting to allow sorting of root folders in a multi-root workspace, OR have the ordering of the root folders honor the  Explorer->Sort Order setting(s).

This is mostly a duplicate of #41351 - will move comment there.  Search of multiroot did not find multi-root.


Problem with folders using white spaces

Hello there,
I'm having some troubles when navigating inside folders whose parent directory name has white spaces in it. It only happens when powerlevel9k is enabled (it works correctly when I disable powerlevel9k)

I got a very basic powerlevel9k settings, I don't have anything else in my .zshrc file

I haven't been able to find a solution for this problem yet and I don't know if it is a bug with the theme and my settings or there is something else.
I would appreciate some help. Thank you!

I have the same problem. Would be nice to have a fix soon.

I have the same problem. Don't know where to look to solve this problem.
Someone has a tip for this ?
Thank you :)

I just added an Pull-Request with a fix for this behavior. #686

This has been fixed by @Corwynt's PR #686, and is now in both master and next. Update your P9k installation and you should be all set!
Thanks so much for the bug report, @jesus87hlm, for confirming @pucicu and @Nuntis, and for the fix, @Corwynt!


Error tone when using 'move lines down' action on macOS

Using the keybinding cmd-ctrl-downArrow to perform the action editor.action.moveLinesDownAction causes a macOS error tone. Running macOS Sierra 10.12.6 and VSCode 1.15.1. Anyone seen this?

Judging from this atom thread, it may be an electron issue

https://github.com/electron/electron/issues/2617


Switch to Jest

Phantom is so sloooow!

👍 This looks good! They ship a fork of Jasmine with Jest that will be deprecated in the future, and that we're using right now (for example, spyOn as opposed to jest.spyOn uses the fork), so we should run the codemods they provide: https://jestjs.io/docs/en/migration-guide
A separate ticket for that would be fine by me.

Fallout: #206.


keep isDragging to prevent rendering

i'm using react-dnd with redux and i'm calling an action (that makes an ajax call to the backend) in the drop method of my dropTarget, also i'm hiding the dragged element while dragging. ajax call triggers the reducer, which changes the state of app and the props of draggable items container (i'm dragging <tr> items from table and those rows are each drag sources). the issue for me is that there is some time between the drag was ended and the component will receive new props to rerender without dragged item - after the drag ended the <tr> returns to its place for a while, because isDragging returned false. i've decided to modify isDragging method with the tip from docs:
isDragging(props, monitor) {
    // If your component gets unmounted while dragged
    // (like a card in Kanban board dragged between lists)
    // you can implement something like this to keep its
    // appearance dragged:

   return monitor.getItem().id === props.id;
  }

but with no success, the dragged item still returns back during ajax call.
thank you!

got a workaround:
i've added a state value visible in dragSource, and set it to false in endDrag method respectively to monitor.didDrop() and in render method i've modified the show condition to
if(isDragging ? visible : !visible) {
  return null
} else {
  ...
}


HEP: Higress Smooth Migration

Why do you need it?
Is your feature request related to a problem? Please describe in details
Support smooth migration:

from Nginx
from SpringCloud Gateway
from Ingress to Gateway API

Implement hgctl migrate command to translate xx resource to higress resources:
hgctl migrate --from=nginx-ingress --to=higress-ingress
hgctl migrate --from=springcloudgateway --to=higress-ingress
hgctl migrate --from=higress-ingress --to=gateway-api


[Feature Request] Attatch Files in Notes

Hello,
it would be nice if there is an option to add files in the note. (.dll, .lib., .exe, .pdf, and so on)
Usecase:

a note with instructions how to fix a computer problem, wich requires a .dll File. in this case i could do all the steps and download the file from the note.

if i have a pool of .pdf files from a magazine and one topic e.g. animals or money is my favorite.
i could group the pdf files in one note with short info texts and could download the pdf. and read it.

i hope this is understandable :-)
should be more or less easy to implement if you use the fileupload an linking system from the pictures.
greetings

Duplicate of #134. Please give that a thumbs up to record your interest.


43 search packages via regex display be

Regex search works locally on my database

Awesome work, Anthony! Thanks so much for getting your feature in on time!!


Sok integration

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 3 committers have signed the CLA.:white_check_mark: RandyInterfish:x: 杨熙:x: chengmengli06杨熙 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.