hipStreamAddCallback, stream not blocked by callback (HIP/HCC)

Refering to this issue in Alpaka, it seems that hipStreamAddCallback callback execution does not block the hip/hcc stream, so when two callbacks are added to the same stream by two different threads, we get a race condition.
// stream is initialized like this (only disables automatic default-stream sync)
ALPAKA_HIP_RT_CHECK(
    hipStreamCreateWithFlags(
        &m_HipQueue,
        hipStreamNonBlocking));

callback includes a wait, which however does not block the hip stream, thus our task execution becomes thread-unsafe (and our tests fail).
static void HIPRT_CB hipRtCallback(hipStream_t /*queue*/, hipError_t /*status*/, void *arg)
{
   /* ... */
    // Wait for the executing thread to finish the task if it has not already finished.
    std::unique_lock<std::mutex> lock(pCallbackSynchronizationData->m_mutex);
    if(pCallbackSynchronizationData->state != CallbackState::finished)
    {
        pCallbackSynchronizationData->m_event.wait( /* ... */ );
    }
}

// call is
ALPAKA_HIP_RT_CHECK(hipStreamAddCallback(
                    queue.m_spQueueImpl->m_HipQueue,
                    hipRtCallback,
                    pCallbackSynchronizationData.get(),
                    0u));

it is either a bug in the HIP implementation or a documentation error see
https://rocm-documentation.readthedocs.io/en/latest/ROCm_API_References/HIP_API/Stream-Management.html#hipstreamaddcallback: The callback will block later work in the stream until it is finished.

attached you find a minimal working example without Alpaka dependency. Issues reproduced with hip-clang on a Radeon VII (gfx906, Vega 20) GPU.

(hipcc)
HIP version: 3.1.20022-fae85cf
clang version 10.0.0 (https://github.com/RadeonOpenCompute/clang a09d37e345861d68f9768939e485d265f4fcb0ce) (https://github.com/RadeonOpenCompute/llvm.git 7b3a23a98c2e869965f64657ee11a7cb13feffa5)

hipstreamcb.zip

@tdd11235813 PR https://github.com/ROCm-Developer-Tools/HIP/pull/1915 seems to fix some of the failures. Still work in progress.

@jeffdaily and @srinivamd I tested with HIP 4.0.0 if this issues is already solved.
From the comment https://github.com/ROCm-Developer-Tools/HIP/pull/1934#issuecomment-597777838 all should work now.
My tests still show that there are synchronization issues.
@jeffdaily Do you used https://github.com/ROCm-Developer-Tools/HIP/issues/1205#issuecomment-586462855 as test case without any changes? I played with the example and if I test only queueShouldNotBeEmptyWhenLastTaskIsStillExecutingAndIsEmptyAfterProcessingFinished and comment out the other tests it mostly passed but sometimes failed. It looked like there is a data race somewhere.
Testsystem:

Ubuntu 20.04
ROCm/HIP 4.0.0 installed with apt
GPU: 2xRadeon VII

@jeffdaily and @srinivamd I tested with HIP 4.0.0 if this issues is already solved.
From the comment #1934 (comment) all should work now.
My tests still show that there are synchronization issues.
@jeffdaily Do you used #1205 (comment) as test case without any changes? I played with the example and if I test only queueShouldNotBeEmptyWhenLastTaskIsStillExecutingAndIsEmptyAfterProcessingFinished and comment out the other tests it mostly passed but sometimes failed. It looked like there is a data race somewhere.
Testsystem:

Ubuntu 20.04
ROCm/HIP 4.0.0 installed with apt
GPU: 2xRadeon VII

Hold on it looked like it is an issue in your example we provided.
The implementation of HIP_ASSERT_IGNORE in combination with how we used this macro together with hipStreamQuery() to query the status of a queue is wrong. When getting hipErrorNotReady back we can not say if the queue is empty or not.
The result should not be used for check where we need to know if the queue is empty or not.

This issue can be closed. The issue reported https://github.com/ROCm-Developer-Tools/HIP/issues/1205#issuecomment-787770694 was a mistake in our code base and will be fixed https://github.com/alpaka-group/alpaka/pull/1266.
@SarbojitAMD could you please close this issue. I am not sure if @tdd11235813 is still checking GitHub because he switched the company last year :-(


added guidance on containers and microservices

This pull request does not include any new content, but instead is a port from the docx format to a md format in order to create the initial working document.

Original DRAFT document developed by TBS Cyber Security team and published on GCpedia (https://www.gcpedia.gc.ca/gcwiki/images/5/59/Guidance_for_Secure_Containers_and_Microservices.pdf).


ci: add codecov token

Description
Fix: https://github.com/autowarefoundation/autoware.universe/actions/runs/9740736192/job/26878461354#step:17:57
Related links
Parent Issue:

https://github.com/autowarefoundation/autoware.universe/issues/7769

https://github.com/codecov/codecov-action?tab=readme-ov-file#usage

For forks:

https://docs.codecov.com/docs/codecov-uploader#if-youre-using-the-action

The Codecov GitHub Action is capable of automatically detecting that it is running from a fork and will automatically correctly populate the branch parameter when uploading.

Should work out of the box but did not test for forks yet.

How was this PR tested?

https://github.com/autowarefoundation/autoware.universe/pull/7767#issuecomment-2199688434

Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.

I'm merging since it's a simple change.


Make Date & DateTime culture-insensitive

When using ToString() on a Date/DateTime it would use the local culture, resulting in invalid ISO8601 timestamps. Space API will reject the invalid timestamp, and reply 400 Bad Request.
As an example, if the culture was en-DK, it would end up with a string looking like 2021-07-22T<IP_ADDRESS>Z, and that's an invalid ISO8601 timestamp as ISO8601 requires hh:mm:ss not hh.mm.ss.

Thanks @PatrickRatzow, that's a really good suggestion! I will merge in a bit, and then publish a new release afterwards.
Out of curiosity, what are you building with the SDK?

I'm building a small application that'll send meeting reminders to participants shortly before the meeting starts. Right now some people are occasionally late due to being busy, and not looking at the time. A reminder will hopefully help with that.
It's why I specifically noticed the timestamp issue. When I called MeetingClient.GetAllMeetingsAsync() it worked fine, but as soon as I added endingAfter: DateTime.UtcNow it started throwing exceptions.

That makes sense, thanks!
Manually merged in https://github.com/JetBrains/space-dotnet-sdk/commit/ecad24f4d6fe2e808c5d80d8e8aa70a04dad56a2 , and an update has been pushed to NuGet.

Regarding meeting reminders, feel free to upvote https://youtrack.jetbrains.com/issue/SPACE-6300 which aims to do this out of the box.
(and if you happen to have other Space and/or SDK feedback, happy to chat!)


Allow image credits

For:

homepage
content thumbnails

Like:
https://ysc-rmarkdown.netlify.app/

https://ysc-rmarkdown.netlify.app/ is cool.  I want to learn from it.  Could you please share the github link?


Add narrative documentation on updating to new address model

Only parts of the migration can be automated; full documentation of the model is in the gist-doc repo; we need to provide a narrative explanation of how you would go about defining categories and migrating data.

This should include a link to the full documentation on gist-doc, so the PR should not be merged until that is merged to provide a link.

Include specific manual steps included to upgrade, and point to the full model documentation in /docs/model_documentation.


Private page and css body

Lately I am very interested in this boilerplate,
and I am interested in learning it. but there are some things I like to know.

How to make a good private page and public page in this boilerplate, which file do I need to edit.
I have 2 pages, ie: /logins and /dashboards and each page has a different css body {}, can this boilerplate do it?

@itgelo I'll spend time to reply your question.

@itgelo

For protected route: this starter use react-router therefore you can handle your protected route like this (there're many authentication with react-router tutorials you can find on Google).

For page styles: each page has its own styles.scss. you can define the body { ... } styles in it.


Create striped volume with multiple disks

There should be a way to add multiple disks to a new volume.

I would love to implement this. Have already done it successfully for 2k12+ Servers using StorageSpaces.
Shall I implement it or wait for the xVolume resource?

Hi @aboersch - we're always grateful for the help over here :grin:
We have been planning on creating an xVolume resource, but if you've got something that exists (or doesn't) that you'd like to contribute then that would be awesome! It is worthwhile posting a proposed MOF file and letting the community provide comment/feedback on the design before developing too much.
All help is really gratefully accepted!

Thanks for the hint with creating the MOF first as this proved to be difficult.
I have a huge issue with using Disk Numbers. I know from personal (tough) experience that these are not even consistent across reboots.
At the same time I would be using this for Virtual Machines where getting the Disk Id is not possible.
After having reviewed the properties of MSFT_PhysicalDisk and looked how these properties look across the machines I have access to I propose using the Model Property to choose disks that should be striped together. Of course the script can only choose disks that are available for striping (RAW and Physical). I would therefore make the following new Resources:
xStoragePool
[Key] FriendlyName
[string/required] DiskModel
xStoragePoolDisk
[Key] FriendlyName
[string/required] StoragePoolFriendlyName
[uint64/required] Size
[bool] UseMaximumSize
[string/required/default=simple/choice=simple,mirror,parity] ResiliencySettingName
[string/required/default=fixed/choice=thin/fixed]ProvisioningType
[int/default=0] NumberOfColumns # use max if -1, auto if 0
[int/default=0]PhysicalDiskRedundancy  #auto if 0
[uint64/required/default=64KB] AllocationUnitSize
[uint64/required/default=64KB] Interleave
xStoragePoolVolume
[Key] DriveLetter
[string/required] StoragePoolFriendlyName
[string/required] StoragePoolDiskFriendlyName
[string/required] Label
[uint64/required/default=64KB] AllocationUnitSize
I am aware that this would only work with Windows Server 2012R2

Here is the Script Resource I am currently using with Azure:
Script SetupStorageSpaces
{
TestScript = {
$disks = Get-PhysicalDisk ï¿½CanPool $true -ErrorAction SilentlyContinue
!$disks
}
SetScript = {
#Remove-VirtualDisk -FriendlyName Space01 -Confirm:$false
#Remove-StoragePool -FriendlyName SpacesPool -Confirm:$false
			$disks = Get-PhysicalDisk ï¿½CanPool $true
			$sp = Get-StoragePool -FriendlyName "SpacesPool" -ErrorAction SilentlyContinue
			if($sp -eq $null) {
				New-StoragePool ï¿½FriendlyName ï¿½SpacesPoolï¿½ ï¿½StorageSubsystemFriendlyName (Get-StorageSubsystem ï¿½friendlyName *Space*).FriendlyName ï¿½PhysicalDisks $disks -ResiliencySettingNameDefault simple -ProvisioningTypeDefault Thin
			} else {
				Add-PhysicalDisk -StoragePoolFriendlyName ï¿½SpacesPoolï¿½ -PhysicalDisks $disks
			}

			#reget sp because size has changed
			$sp = Get-StoragePool -FriendlyName "SpacesPool"
			$d = Get-VirtualDisk -FriendlyName "Space01" -ErrorAction SilentlyContinue
			if($d -eq $null){
				#max size = $sp.Size keep it at 256 GB so we can shrink
				$d = Get-PhysicalDisk -StoragePool $sp
				New-VirtualDisk ï¿½FriendlyName "Space01" ï¿½StoragePoolFriendlyName "SpacesPool" -Size 256GB -NumberOfColumns $d.Count -Interleave 64KB
				$diskNumber = (Get-VirtualDisk ï¿½FriendlyName "Space01" | Get-Disk).Number
				Initialize-Disk -Number $diskNumber
				New-Partition ï¿½DiskNumber $diskNumber ï¿½UseMaximumSize -DriveLetter F
				Format-Volume ï¿½DriveLetter F ï¿½FileSystem NTFS -NewFileSystemLabel "DATA" -AllocationUnitSize 64KB -Force -Confirm:$false
			} elseif($sp.Size -ne $d.Size) {
				#Autogrow:
				#Resize-VirtualDisk -FriendlyName "Space01" -Size $sp.Size
			}
		}
		GetScript = {
			return @{Result = $true}
		}
	}


✨ Migrate to String Catalogs

Description
The project is using the deprecated .strings files internally. It should be migrated to String Catalogs by right-clicking and choosing migrate. It should really be as simple as that. Xcode should then pick up new localization keys from there using SwiftUI's built-in LocalizedStringKey type.
I could do it myself if I get the "Go" from the core maintainers.

I would say lets do it, why not. We are not focused on localization until we reach alpha/beta however we need to prepare and use the latest standard.

Alright, I will migrate to String Catalogs then sometime soon.
I could also localize the app using my app TranslateKit for free to support the project. Updating them is easy one click, so I could do it anytime later again. And if machine-translations aren't good enough, we can still remove languages from the supported list while still keeping the translations in the String Catalog for native speakers to review. Saves a lot of time in any case.


How to disable NSObject+IGListDiffable

I'd like to not import NSObject+IGListDiffable so that I'll have to adopt that protocol manually, otherwise i'll get compiler checks on the objects.
Now I don't see any errors if by mistake I return an object that doesn't implement isEqual.
I try to use as content of the IGList. Can I import IGListKit without import the NSObject+IGListDiffable category using cocoapods?

I'd actually love to get this to work. We could remove #import <IGListKit/NSObject+IGListDiffable.h> from the umbrella header and document that it has to be imported manually (including in the Swift bridging header).
However w/ the Swift bridging header, all Swift NSObjects will auto conform, so that doesn't help. At least you can create a Swift class that conforms to IGListDiffable without inheriting from NSObject.
@jessesquires what do you think? I could experiment w/ it. Could fit this in for 2.0.0 esp since we changed the equality method to -isEqualToDiffableObject:, that'll go hand-in-hand I think.

We could remove #import <IGListKit/NSObject+IGListDiffable.h> from the umbrella header...

I think we should definitely do this. Having all of this implicit conformance is too much "magic" IMO.
In the IGListDiffable docs, we should @note: that you can use NSObject+IGListDiffable.h.

Resolved in 316fbe2b8b2508b58a0f38387c3a343b9c37e282


x/playground: Signal 11 from untrusted code

https://play.golang.org/p/K4d5dZA58K1 <-- Has a ** Signal 11 from untrusted code: pc=465c000898c0 provoked by line 24.
I initially thought it was the assignment to nil, but line 20 does the same and that line is fine.
What version of Go are you using (go version)?
go1.10 (in the Go playground)
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
Go playground
What did you do?
https://play.golang.org/p/K4d5dZA58K1
What did you expect to see?
I expected the program to print:
go1.10
returned that

What did you see instead?
go1.10

** Signal 11 from untrusted code: pc=4f2f000898c0

The error message is definitely wrong, but you don't need all that machinery to reproduce it. Just calling a method on a nil interface will do:
https://play.golang.org/p/J3RPBVxZ8bf

Correct error message on linux:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x4832af]

goroutine 1 [running]:
main.main()
	/home/david/go_ws/src/github.com/urld/foo/main.go:31 +0x2f
exit status 2

This is behaviour is caused by what defer does to named result parameters:

For instance, if the deferred function is a function literal and the surrounding function has named result parameters that are in scope within the literal, the deferred function may access and modify the result parameters before they are returned.
(https://golang.org/ref/spec#Defer_statements)

Duplicate of #23836


Fix mypy type ignore

Honestly, we could just remove the try-except blocks. In TYPE_CHECKING this doesn't do much anyway and Mypy infers Any anyways if the package is missing.


Create new Blob URL for code

generate a new Blob URL for the code and then open that in a new tab.

closes #158

Can you please explain the problem/feature being improved here?

Deploying with    Cloudflare Pages
Latest commit: 7330a15
Status:	 ✅  Deploy successful!
Preview URL: https://727704e5.console-overthinker-dev.pages.dev
Branch Preview URL: https://issue-158-1.console-overthinker-dev.pages.dev
View logs

I noted some observations when playing around with the CloudFlare pages build but I don't know if it is up to date with the changes made today. I'm going to checkout the branch and run it locally to confirm.

@Amnish04, @Rachit1313 are we good to land this?  Anything more from you?

Looks good to me!


RUMM-1677: Prevent native updateTrackingConsent call if libdatadog-native-lib is not loaded

What does this PR do?
This change prevents a crash if during updateTrackingConsent call in the NDK plugin native library is not loaded.
Additional Notes
No test for this change, because it seems spying/mocking native methods is not possible without PowerMock.
Review checklist (to be filled by reviewers)

[x] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[x] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[x] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #718 (0b02913) into master (8669601) will decrease coverage by 0.14%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #718      +/-   ##
============================================
- Coverage     88.56%   88.43%   -0.14%
+ Complexity     1716     1714       -2
============================================
  Files           188      188
  Lines          5658     5660       +2
  Branches        701      701
============================================
- Hits           5011     5005       -6
- Misses          405      411       +6
- Partials        242      244       +2

Impacted Files
Coverage Δ

...n/com/datadog/android/ndk/NdkCrashReportsPlugin.kt
60.00% <0.00%> (-3.64%)
:arrow_down:

...internal/tracking/JetpackViewAttributesProvider.kt
73.91% <0.00%> (-13.04%)
:arrow_down:

...m/internal/domain/scope/ExternalResourceTimings.kt
67.65% <0.00%> (-11.76%)
:arrow_down:

...nternal/tracking/OreoFragmentLifecycleCallbacks.kt
89.74% <0.00%> (-5.13%)
:arrow_down:

...nal/tracking/AndroidXFragmentLifecycleCallbacks.kt
87.80% <0.00%> (-4.88%)
:arrow_down:

...droid/rum/tracking/FragmentViewTrackingStrategy.kt
81.82% <0.00%> (-4.55%)
:arrow_down:

...l/net/info/BroadcastReceiverNetworkInfoProvider.kt
76.04% <0.00%> (-2.08%)
:arrow_down:

...droid/rum/tracking/ActivityViewTrackingStrategy.kt
84.62% <0.00%> (-1.92%)
:arrow_down:

...ore/internal/constraints/DatadogDataConstraints.kt
91.89% <0.00%> (-1.35%)
:arrow_down:

...oid/src/main/kotlin/com/datadog/android/Datadog.kt
77.27% <0.00%> (ø)

... and 6 more


Issue with stopping threads with certain optimizers (scipy maybe)?

Steps to reproduce

Install nevergrad on ubuntu 18.04 , python 3.6.7 (Also seen using anaconda on Red Hat 6.2, python 3.6.8)
Ask and tell with particular optimizers (seen so far with Cobyla, Powell, maybe just the scipy ones)

Observed Results
Script does not terminate properly, requires Ctrl+C.
^CException ignored in: <module 'threading' from '/usr/lib/python3.6/threading.py'>
Traceback (most recent call last):
 File "/usr/lib/python3.6/threading.py", line 1294, in _shutdown
   t.join()
 File "/usr/lib/python3.6/threading.py", line 1056, in join
   self._wait_for_tstate_lock()
 File "/usr/lib/python3.6/threading.py", line 1072, in _wait_for_tstate_lock
   elif lock.acquire(block, timeout):
KeyboardInterrupt

Expected Results
Optimizer (Cobyla) should close normally. Also, if I stop the messaging thread the code terminates, but I still get the following message:
capi_return is NULL
Call-back cb_calcfc_in__cobyla__user__routines failed.

which I think is related to scipy, not sure. Regardless, I don't think I should have to go in and kill the thread.
Relevant Code
Bit redundant with the print statements, but here:
from nevergrad.optimization import optimizerlib
from nevergrad.optimization import registry
from nevergrad.optimization.recaster import _MessagingThread as mt
import threading

def beale2(p):
   x,y = p[0],p[1]
   return (1.5-x+x*y)**2+(2.25-x+x*(y**2))**2+(2.625-x+x*(y**3))**2

print('Initial Threading')
print(threading.enumerate())
a = registry['OnePlusOne'](2,budget=500)
print('Threading after getting 1+1')
print(threading.enumerate())

print('Threading after each step: ')
for i in range(3):
   x = a.ask()
   a.tell(x,beale2(*x.args))
   print(threading.enumerate())

print('Threading after getting Cobyla')
b = registry['Cobyla'](2,budget=5)
print(threading.enumerate())
print('Threading after each step: ')
for i in range(5):
   x = b.ask()
   b.tell(x,beale2(*x.args))
   print(threading.enumerate())
print('Done. Current threads: ')
print(threading.enumerate())
for t in reversed(threading.enumerate()):
   if type(t)==type(mt(None)):
       pass
       #t.stop()
   else:
       pass
print('Final.')
print(threading.enumerate())

Hi,
Thanks for pointing out. I will investigate futher as soon as I have time (but that may not happen before a week or more :s)
Also, I already ran into a similar issue, when scipy optimizer just hangs, which makes the main thread hang as well, and it seems difficult to identify this, so I do not know if there will be an easy fix :s It may also be some error that is not properly caught, I'll need to have a closer look.

I try the script:

I did not experiment any hanging
the thread is only stopped when the optimizer is deleted (del b) which I think is the simplest behavior (the underlying scipy optimizer may still be running, and it is therefore possible to increase the budget of the optimizer and resume the optimization... although this is a bit hacky...).
the error message comes from stopping COBYLA, I'll try to hide it (but it serves me as a reminder that it those optimizers are horribly hacky :s)

Does the script you sent freezes everytime you run it? which version of nevergrad and scipy are you using? And which OS?

Hm....okay. Yeah I realize now there is a certain amount of special manipulation to get those optimizers to work like the other ones.
The script does freeze everytime I run it, unless I stop the messaging thread. I am running 0.2.0 nevergrad, and 1.2.1 scipy. I am just running out of terminal on ubuntu 18.04, though I also tested it on a remote server which has Red Hat 6.2 running and has anaconda.

I have the same config and still not any freeze :s Which version of Python maybe?
I'll be happy to get rid of all this hack but could not find any nicer way :s if you have any idea in mind, let me know :s

I get the same problem, and @brockho as well.
On Macos.

Just to clarify: I did not experience this problem on my own laptop (Windows with Anaconda python and the most recent Nevergrad version). However, when we looked at it together with @teytaud on Monday, I saw it happening on his computer.

I get the same problem too, on TX2.

I get the same problem too, on TX2.

Hi,
Can you try to explicitely delete the optimizer instance (del optimizer) and tell me if it still freezes? Some optimizers (mostly scipy based) require to start a thread, which can prevent the exit if they are not garbage collected :s


register service

[x] build a jwt that will be used in activate/validate processing
[x] refactor User (validated field is not use anymore)
[x] refactor DB interface (only save func is required)
[ ] implement jwt / smtp package & struct + tests
[ ] send email using another goroutine
[ ] prevent additional goroutines to die receiving SIGINT, SIGTERM : use sync.WaitGroup
[x] support advisor, contributor, investor User

should also support HMAC and ECDSA


Neo4j connector

This feature requests serves as a central place to discuss development and progress for the Neo4j connector.
Please leave a 👍 and/or a comment in this issue if you'd like to see support for Neo4j soon.

#1575 Hi, I believe this issue is connected has some concerns and interest being voiced there

That issue was transferred from the the old prisma1 repo. I am not sure why we did that. I am going to close this one as a duplicate though.
Closing as a duplicate of #1575


FLOE-502: Integrate the responsive UIO.

The corresponding JIRA ticket: https://issues.fluidproject.org/browse/FLOE-502

Hewlett logo area getting cut off at increased Text Size preferences:

The container has a fixed 3EM height, which should probably be adjusted to avoid the cut-off.

One other comment (that I think would be a separate issue, since it is present on the site already): the Hewlett logo does not scale with text size adjustments or break well on a responsive layout.
I was speaking with Michelle and I think we can address this pretty quickly - I will make a separate JIRA / PR & self-assign.

Changed height: 3em used on the Hewlett logo area to min-height: 3em to make it flexible to adapt to larger texts.
All comments have been addressed. Ready for more reviews.

@michelled, do you have anything further? Otherwise this looks good to merge to me.

@waharnum nope, nothing more - please merge.


search for all the pages

if i want for exemple inform 83+ the program only search for the first page.

It will search in second page if there are 21 items in page 1, And dont use Random Min Bid or Buy

It will search in second page if there are 21 items in page 1, And dont use Random Min Bid or Buy


delete multiple rows in delta table

Hello , i want to delete multiple rows in a delta table , I've got a list of ids that i will delete  in a spark dataframe, I've tried something like that :
df.foreach(r => {         DeltaTable.forPath(spark, deltaLakePath).as("delta").delete(f"delta.$id_name = '" + r.mkString + "'")       })
but this code run too slow .
thanks .
note : df = contain ids to be deleted.

why not use a merge command with when matched then delete clause only?

hey @JassAbidi,  thx for your reply,
I'm using CDC (change data capture) so i need to delete all rows marked as delete operation .


create controller and service method to join a lobby

closed https://github.com/sopra-fs24-group-12/PeekSeek-server/commit/b8b473c2bd6af270eebbc75b4917d3804f200770


Remove test directories from workspace ignores.

These directories aren't excluded by default in any package manager. We should aim to match the behavior of the upstream package managers even if this may result in a quality of life improvement for some users.
This is an incomplete fix, but I believe that addressing a compatibility issue is more-important than trying to deliver the complete fix.
Closes #1143

@jaredpalmer You introduced this in #310, I'm not sure if this is still required, or what pain point this was attempting to address.


Set up Spark NLP

Steps to install NLPSpark library
Requirements & Setup

Java 8
ssh server
Apache Spark 3.1.x (or 3.0.x, or 2.4.x, or 2.3.x)
spark-nlp

Run the following commands to install Java

sudo apt-get update
sudo apt-get install openjdk-8-jdk
export JAVA_HOME=path_to_java_home
java -version
This should return something like this:
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (build 1.8.0_242-b09)
OpenJDK 64-Bit Server VM (build 25.242-b09, mixed mode)

To install ssh server
If ssh is already installed and enabled, skip this step or else run the following commands;

sudo apt-get install openssh-server
sudo systemctl enable ssh
yping sudo systemctl start ssh

To install Apcahe Spark

wget https://downloads.apache.org/spark/spark-3.0.1/spark-3.0.1-bin-hadoop2.7.tgz
tar xvf spark-*
sudo mv spark-3.0.1-bin-hadoop2.7/* /opt/spark
nano ~/.barsh  (add the following lines below)
echo export SPARK_HOME=/opt/spark
echo export PATH=$PATH:$SPARK_HOME/bin:$SPARK_HOME/sbin
echo export PYSPARK_PYTHON=/usr/bin/python3
To verify that this install correctly, run the following

start-master.sh
start-slave.sh spark://ubuntu1:7077
open the following link in your browser: http://<IP_ADDRESS>:8080/
Then you can kill the process

Register for spark nlp trial license

Go to https://www.johnsnowlabs.com/spark-nlp-try-free/
Select the Spark NLP for Healthcare option
Register and you will receive an email containing a license.json file
export all the fields in the file as environment variables i.e.
export SPARK_NLP_LICENSE=${SPARK_NLP_LICENSE} >> ~/.bashrc
 source ~/.bashrc

To install NLP Spark

run conda install -c johnsnowlabs spark-nlp

Register for spark nlp jsl license at https://nlp.johnsnowlabs.com/docs/en/licensed_install

Run the following command: pip install -q spark-nlp-jsl==${version} --extra-index-url https://pypi.johnsnowlabs.com/${secret.code} --upgrade

run spark-shell --packages com.johnsnowlabs.nlp:spark-nlp_2.12:3.1.0 to Load Spark NLP with pyspark

Spark NLP Models
If you prefer to use the model online, then discard this step, but if offline is the preferred option, then download the following from https://github.com/JohnSnowLabs/spark-nlp-models.

embeddings_clinical
ner_deid_large
sentence_detector_dl_healthcare
embeddings_clinical
Create a folder called nlp_models in the server directory and place the downloaded models there.
i.e. :

   aws s3 cp s3://auxdata.johnsnowlabs.com/clinical/models/ner_deid_large_en_2.5.3_2.4_1595427435246.zip
   aws s3 cp s3://auxdata.johnsnowlabs.com/clinical/models/sentence_detector_dl_healthcare_en_2.6.0_2.4_1600001082565.zip
   aws s3 cp s3://auxdata.johnsnowlabs.com/clinical/models/embeddings_clinical_en_2.4.0_2.4_1580237286004.zip```

The aws commands are missing the target path.


Feature/views

Adding Views, Forms, Models for CRUD on meetups & events

Thank you @raghothams for the first feature branch. We be squashing and merging!


fix(dlq): Removed Generic payload from DLQ Policy

tl;dr
A DLQ Policy does not care about the Payload type of a Message.
context
Originally a Policy itself would take the message as a parameter and the signature for the handler looked like: handle_invalid_message(message: Message[TPayload], e: InvalidMessage).
That was changed in favor of just having the exception itself hold the message. Removing the generic was forgotten about when the signature changed to handle_invalid_message(e: InvalidMessage).

May be worth adding a line to the changelog too

The bot auto adds a line with the PR name and adds the version info, where/what could I manually add without messing up the bots workflow?

Ah, just realised one is automatically generated now if it's empty (didn't used to be). So if you want to go with that and not modify the changelog file itself all good. But the way to do it would be to add an entry to the changelog file under the heading Unreleased and write your changes under that. Craft will update the version number next time the publish workflow is run. The auto changelog policy is described here https://github.com/getsentry/craft/blob/47468020b3576960947b7353cb3eb6bd4e36c402/README.md


Responsive table and Dropdown

When i use dropdown button in responsive-table. the posion of drop down list is not correct (it will not correct when using horizontal scroll, the offset is the same as horizontal scroll). Anybody have a solution for this issue ? Thank you :)

Can you post a code example of this problem?

https://jsfiddle.net/vuquangtam/ufa8gtzz/3/. when scroll the horizontal bar, the dropdown list position isnt corrent :)

There is a similar error in the tabs structure too.
:(

the error offset of dropdown list is the same as the offset of horizontal scrollbar.

Hope someone can fix it. Try days but no luck :(

Fixed in d7ab90e.
You can get it now if you download the latest release, or wait for an official release that is coming soon!

I've just download the lastest and it still has a problem with responsive-table.

I've just download the lastest and it still has a problem with responsive-table.


[feature] match/exclude filenames for rules

⭐ Suggestion
with rules there currently seems to be no way to seelct/deselect
rules were they apply, so rules are always for all matching files
💻 Use Cases
i want to create a python rule that forbids the use of pytest.fixture(autouse=True) outside of a conftest.py file
in order to prevent general pytest plugins shipped in codebases from accidentally adding global autouse fixtures
in order to do that i need a rule that matches on all python files that are not named  conftest.py

I am not 100% sure if I understand your question but ast-grep rule has globbing options. https://ast-grep.github.io/guide/project/lint-rule.html#files-ignores
https://ast-grep.github.io/reference/yaml.html#globbing


SPLAT-1780: api bump for host zonal infra change

Changes

API bump for vm host zone infrastructure changes

Additional PRs

https://github.com/openshift/enhancements/pull/1677
https://github.com/openshift/installer/pull/8873
https://github.com/openshift/library-go/pull/1782
https://github.com/openshift/client-go/pull/294
https://github.com/openshift/cluster-control-plane-machine-set-operator/pull/325
https://github.com/openshift/machine-api-operator/pull/1285
https://github.com/openshift/api/pull/1999
https://github.com/openshift/api/pull/2074

/lgtm

/assign @bertinatto

/lgtm


Extra closing curly brace on endpoints defined with a regex containing a quantifier

When using Springfox with endpoints containing URI path parameters with a defined regex containing a quantifier, an extra closing curly brace is inserted at the end of the URI parameter. The approach being used is described here: http://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/mvc.html#mvc-ann-requestmapping-uri-templates-regex.
For example, with the following annotation:
@RequestMapping(value = "/scored/{path1}/{id:\\d{3}}/{code:\\d{5}}", produces = APPLICATION_JSON_VALUE, method = RequestMethod.GET)
This is the generated path in the API spec:
/scored/{path1}/{id}}/{code}}
This also causes the Swagger UI to function improperly when testing out endpoints.
My guess is this is related to the curly braces on the quantifier that we're using in the regex.
If this is actually an issue with Swagger, please let me know and I can raise the defect with them.

This is a bug! Thanks for pointing it out with an example

Looks like the problem is here.
Things get very messy when there are multiple quantifiers in the regex portion of the RequestMapping pattern.

@erikthered  I thought this was a closed book until u pointed it out :) Pretty sure it will pop right back when there is a more complex or different expression either of us did not thing about. Any ideas?

I think I might have come up with a working solution, I'll open up a PR once I test it.

It seems like my fix causes an unintended side-effect :cry:. API names defined in the annotations seem to be ignored now. Instead the class name is being expanded so that something like MyFirstController becomes my-first-controller.
Any ideas where I can start looking to see why this is happening?

A little more detail: this is only happening when we use the @Api annotation with the value field defined. If we use the tags field instead this works as intended. I have no idea why this side effect was caused as part of my change. Any thoughts?

Want to share your branch so I can take a look?

Should be linked in the PR, here it is: https://github.com/erikthered/springfox/tree/requestparam-regex-fix

This is still an issue with 2.9.2 when path ends with pathVariable and then is followed by a query param:
    @RequestMapping(method = GET, path = "blah/{experimentId}")
    @ApiOperation(httpMethod = "GET", value = "getFullExperiment",
            notes = "Returns full body of Experiment by internal ID.")
    public ResponseEntity getFullExperiment(@PathVariable Long experimentId,
            @RequestParam(value = "shortInfo", defaultValue = "false") boolean shortInfo) {
      ...
   }

Also tried 2.6.0 - same results. But 2.2.2 works fine.


Is there a property to distinguish an event received from a relay?

I store events received (from a subscription and get_events_of) in the same data structure as events I newly create. When my program terminates, I want to submit the new events to the relay in a batch. Before I create a separate structure to hold events to be sent - Is there some event property that differs depending on whether the event was received from a relay or created in the program?

You have 2 options:

use negentropy reconciliation with direction set to up
use the NostrDatabase::event_seen_on_relays method

Negetropy reconciliation (supported only by strfry relays and require a persistent database):
let filter = // Your filter
let opts = NegentropyOptions::default().direction(NegentropyDirection::Up);
let output = client.reconcile(filter, opts).await?;

Event seen on:
let database = client.database();

    for id in ids {
        let set = database.event_seen_on_relays(id).await?.unwrap_or_default();
        if set.is_empty() { // Not seen by any relay (so probably created locally)
            // Mark for broadcast
        }
    }

Oh there is an accessible database, that is helpful - then I might not need to retain an EventId-Event HashMap at all
While we are at it, is there a way to create a subscription that does not receive events submitted by self?
I can use  Filter::remove_authors(), but that would exclude events sent by other programs logged into the same user. Or do I have to manually filter on the client-side, probably with one of those database methods?


Advance pcl to 1.10

Advancing PCL version to 1.10 via pcl_catkin to check everything compiles.

Test FAILed.

Test PASSed.


Improve ZIO interop

Hey all,
Thank you very much for this useful library! We have a client that does not make use of Tagless Final and commits to using ZIO throughout the application along with ZLayers for dependency management which results in the use of a Has that interferes with the current zio interop. The new implementation allows you to freely use parts of the ZIO environment along with the ZIO interop Trace4Cats in a more ergonomic way.
The previous implementation would result in the following errors if I tried to use ZIO directly with Http4S due to the lack of variance + not using Has[Span[...]] but rather using Span[...] directly when it came to the environment:

After the changes, this compiles perfectly and infers all the dependencies automatically (including widening to account for more) which is amazing for the user:
package io.janstenpickle.trace4cats.example

import cats.effect.kernel.{Async, Resource, Sync}
import io.janstenpickle.trace4cats.Span
import io.janstenpickle.trace4cats.base.context.Provide
import io.janstenpickle.trace4cats.http4s.client.syntax.TracedClient
import io.janstenpickle.trace4cats.http4s.common.Http4sRequestFilter
import io.janstenpickle.trace4cats.http4s.server.syntax._
import io.janstenpickle.trace4cats.inject.EntryPoint
import io.janstenpickle.trace4cats.inject.zio._
import io.janstenpickle.trace4cats.kernel.SpanSampler
import io.janstenpickle.trace4cats.model.TraceProcess
import io.janstenpickle.trace4cats.newrelic.NewRelicSpanCompleter
import org.http4s.HttpRoutes
import org.http4s.blaze.client.BlazeClientBuilder
import org.http4s.blaze.server.BlazeServerBuilder
import org.http4s.client.Client
import org.http4s.client.middleware.{RequestLogger, ResponseLogger}
import org.http4s.dsl.Http4sDsl
import org.http4s.implicits._
import zio._
import zio.blocking.Blocking
import zio.clock.Clock
import zio.interop.catz._
import zio.duration._

object Http4sZioExample2 extends CatsApp {
  type Effect[A] = RIO[Clock & Blocking, A]
  type TracedEffect[A] = RIO[Clock & Blocking & Has[Span[Effect]], A]

  def entryPoint[F[_]: Async](process: TraceProcess): Resource[F, EntryPoint[F]] = {
    for {
      client <- BlazeClientBuilder[F].resource
      completer <- NewRelicSpanCompleter[F](
        client = RequestLogger[F](
          logHeaders = true,
          logBody = true,
          logAction = Some(i => Sync[F].delay(println(s"Request: $i")))
        )(
          ResponseLogger[F](
            logHeaders = true,
            logBody = true,
            logAction = Some(i => Sync[F].delay(println(s"Response: $i")))
          )(client)
        ),
        process = process,
        apiKey = "<your-key-here>",
        endpoint = io.janstenpickle.trace4cats.newrelic.Endpoint.US
      )
    } yield EntryPoint[F](SpanSampler.always[F], completer)
  }

  def makeRoutes(client: Client[TracedEffect]): HttpRoutes[TracedEffect] = {
    object dsl extends Http4sDsl[TracedEffect]
    import dsl._

    HttpRoutes.of {
      case GET -> Root / "example" =>
        spannedRIOTrace.span("responding") {
          spannedRIOTrace.put("cal", 1) *>
            spannedRIOTrace.span("sleeping")(ZIO.sleep(1.second)) *>
            spannedRIOTrace.span("working")(
              ZIO.sleep(2.seconds) *>
                spannedRIOTrace.span("hardly") {
                  spannedRIOTrace.put("lolcats", 1) *> ZIO.unit
                }
            ) *>
            spannedRIOTrace.span("response")(spannedRIOTrace.traceId.flatMap(traceId => Ok(traceId.toString)))
        }

      case req @ GET -> Root / "forward" =>
        client.expect[String](req).flatMap(Ok(_))
    }
  }

  override def run(args: List[String]): URIO[ZEnv, ExitCode] = {
    implicit val spanProvide: Provide[Effect, TracedEffect, Span[Effect]] = zioProvideSome
    (for {
      ep <- entryPoint[Effect](TraceProcess("trace4catsHttp4s"))
      client <- BlazeClientBuilder[Effect].resource
      routes = makeRoutes(
        client.liftTrace[TracedEffect]()
      ) // use implicit syntax to lift http client to the trace context
      _ <-
        BlazeServerBuilder[Effect]
          .bindHttp(8080, "<IP_ADDRESS>")
          .withHttpApp(
            routes.inject(ep, requestFilter = Http4sRequestFilter.kubernetesPrometheus).orNotFound
          ) // use implicit syntax to inject an entry point to http routes
          .resource
    } yield ()).useForever.exitCode
  }
}

This also preserves the existing examples making use of the interop with no changes 😺
I would love to hear your feedback and I hope you would consider this change as it makes life so much easier thanks to the many integrations you have kindly provided. Please let me know if you want me to make any changes as I would love to work with you to get this merged 🙏🏽
Thank you very much
Cal
P.S. the old implementation uses Task but I have widened this to RIO[Clock & Blocking, *] because the zio.interop.catz.* imports provide Async instances for this right out of the box. I noticed that interop with FS2 Kafka and HTTP4S usually end up using the same effect (RIO clock, blocking, etc.)  rather than Task which requires you to use ZIO.runtime[Clock & Blocking] to summon the necessary machinery via the ZIO runtime to summon typeclass instances for Async[Task].

@calvinlfer thanks, will check and approve soon.
Could you also look at the examples with ZIO at the t4c-docs repo? They may need some similar changes.

Hey @catostrophe I was testing my changes against the docs by publishing locally so everything works nicely 😸
I'll add this direct usage of ZIO as an example to the docs as soon as this is okay

I have noticed that when using ZIO directly, I have found the following functionality to be nicer to use:
import io.janstenpickle.trace4cats.model._
import io.janstenpickle.trace4cats.{ErrorHandler, Span, ToHeaders}
import zio.blocking.Blocking
import zio.clock.Clock
import zio.interop.catz._
import zio.{Has, RIO, URIO, ZIO}

object ZTracer {
  def currentSpan: URIO[Has[Span[RIO[Clock with Blocking, *]]], Span[RIO[Clock with Blocking, *]]] =
    ZIO.service[Span[RIO[Clock with Blocking, *]]]

  def put(
    key: String,
    value: AttributeValue
  ): URIO[Clock with Blocking with Has[Span[RIO[Clock with Blocking, *]]], Unit] =
    currentSpan.flatMap(_.put(key, value)).ignore

  def putAll(
    fields: (String, AttributeValue)*
  ): URIO[Clock with Blocking with Has[Span[RIO[Clock with Blocking, *]]], Unit] =
    currentSpan.flatMap(_.putAll(fields: _*)).ignore

  def span[R <: Has[_], E, A](name: String, kind: SpanKind, errorHandler: ErrorHandler)(
    effect: ZIO[R, E, A]
  ): ZIO[Clock with Blocking with R with Has[Span[RIO[Clock with Blocking, *]]], E, A] =
    currentSpan
      .flatMap(
        _.child(name, kind, errorHandler).toManagedZIO
          .orElse(Span.noop[RIO[Clock with Blocking, *]].toManagedZIO)
          .orDie
          .use { childSpan =>
            effect.updateService[Span[RIO[Clock with Blocking, *]]](_ => childSpan)
          }
      )

  def span[R <: Has[_], E, A](name: String)(
    effect: ZIO[R, E, A]
  ): ZIO[Clock with Blocking with R with Has[Span[RIO[Clock with Blocking, *]]], E, A] =
    span(name, SpanKind.Internal)(effect)

  def span[R <: Has[_], E, A](name: String, errorHandler: ErrorHandler)(
    effect: ZIO[R, E, A]
  ): ZIO[Clock with Blocking with R with Has[Span[RIO[Clock with Blocking, *]]], E, A] =
    span(name, SpanKind.Internal, errorHandler)(effect)

  def span[R <: Has[_], E, A](name: String, kind: SpanKind)(
    effect: ZIO[R, E, A]
  ): ZIO[Clock with Blocking with R with Has[Span[RIO[Clock with Blocking, *]]], E, A] =
    span(name, kind, ErrorHandler.empty)(effect)

  def headers(toHeaders: ToHeaders): ZIO[Has[Span[RIO[Clock with Blocking, *]]], Nothing, TraceHeaders] =
    currentSpan.map(span => toHeaders.fromContext(span.context))

  def headers: URIO[Has[Span[RIO[Clock with Blocking, *]]], TraceHeaders] = headers(ToHeaders.standard)

  def setStatus(status: SpanStatus): URIO[Clock with Blocking with Has[Span[RIO[Clock with Blocking, *]]], Unit] =
    currentSpan.flatMap(_.setStatus(status)).ignore

  def traceId: URIO[Has[Span[RIO[Clock with Blocking, *]]], TraceId] =
    currentSpan.map(_.context.traceId)
}

It's quite similar to the typeclass implementation but just more forgiving because I eliminate the failure from using Spans so that the user can provide any E. I'm not sure if you want me to add this to the library since its not using the Trace typeclass but I found it useful and would be happy to keep it somewhere else for other ZIO users

@calvinlfer it should be released soon as a snapshot version. Could you improve the docs repo if you think there's something useful to be added?

thanks a lot @catostrophe, i'll add some documentation to the other repo tomorrow 😸


No service for type 'Microsoft.Extensions.PlatformAbstractions.IApplicationEnvironment' has been registered.

When i try to run my application locally i am getting this error :
An unhandled exception of type 'System.InvalidOperationException' occurred in Microsoft.Extensions.DependencyInjection.Abstractions.dll
Additional information: No service for type 'Microsoft.Extensions.PlatformAbstractions.IApplicationEnvironment' has been registered.
Here is my project.json
{
"commands": {
"web": "Microsoft.AspNet.Server.Kestrel"
},
"compilationOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.ApplicationInsights.AspNet": "1.0.0-rc1",
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-rc1-final",
"Microsoft.AspNet.Mvc": "6.0.0-rc1-final",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-rc1-final",
"Microsoft.AspNet.StaticFiles": "1.0.0-rc1-final",
"Microsoft.Extensions.Configuration.FileProviderExtensions": "1.0.0-rc1-final",
"Microsoft.Extensions.Configuration.Json": "1.0.0-rc1-final",
"Microsoft.Extensions.Logging": "1.0.0-rc1-final",
"Microsoft.Extensions.Logging.Console": "1.0.0-rc1-final",
"Microsoft.Extensions.Logging.Debug": "1.0.0-rc1-final",
"System.IdentityModel.Tokens.Jwt": "5.0.0",
"WindowsAzure.ServiceBus": "3.2.2"
},
"exclude": [
"wwwroot",
"node_modules"
],
"frameworks": {
"dnx451": {
"dependencies": {
"Microsoft.Net.Http": "2.2.22",
"WindowsAzure.Storage": "7.0.0"
}
}
},
"publishExclude": [
".user",
".vspscc"
],
"version": "1.0.0-*"
}

Please move to the final 1.0.0 release. Or better yet 1.1.0.

I am using DNX <IP_ADDRESS>. how do i move it to 1.0.0 release or 1.1.0 ?

DNX has been depreciated for over a year now. The easiest way to get started on the current versions is to use VS 2017.

I see. Is there a work around this problem ? OR only option i have is to migrate ? We have Web app which is written over year ago and its working fine in production. it just i am not able to run locally. Migrating might slow down my work, so for now i would just like to run it locally.

We don't have the bandwidth to debug applications running on deprecated versions, especially for areas we know have changed significantly like IApplicationEnvironment.

I understand. Can help me to migrate out of DNX 451. I am going though this document. https://docs.microsoft.com/en-us/dotnet/core/migration/from-dnx. is this right place to start ? which version of "netcoreappX.X" should i use ?
Also i don't see global.json in our project.

@dvmahida You have a long way to go.... the best way might be to actually start a new project and reimport your code and see if it works.
The manual path is to go through all the announcements since the RC1 release and correct things that apply to you. It's hard and it would take longer than just migrating your code to a "New -> Project".
However, if you still want to read what changed, here's what you missed.

RC2
1.0.0
1.1.0

@MaximRouiller @Tratcher Thanks guys for quick reply. We are using VS 2015. which project type should i migrate to (ASP.NET (.NET core) core or ASP.NET (.NET Framework ) )?

Because of your usage for WindowsAzure.ServiceBus, you'll need to go Full Framework.
That package isn't .NET Core compatible last I checked.

ok, i also see the option of ASP.NET CORE (.NET Framework ), should i use that ? or just ASP.NET (.NET Framework) ?

use dotnet core for linux and windows.
dotnet framework for windows only.

You can go with ASP.NET Core Web Application (.NET Framework). You can't use ASP.NET Core Web Application (.NET Core) with all packages yet.

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


Expand Chapter does not work when Expand Parallel scripture pane toggle button is Off

translationCore Create - v1.0.0-beta.2
Expand Chapter does not work when Expand Parallel scripture pane toggle button is Off
https://app.zenhub.com/files/191973535/f884fb78-ce20-4b08-98a1-d227c5848c0c/download

Works fine in translationCore Create - v1.0.0-beta.5.


run unit tests in docker

To ensure unit tests are run consistently they should be run in docker and not in the github runner. This avoids mismatch between go versions in the build and when running tests.

done.


Mekanism weapon and tool rendering

It seems the weapons and tools (except the flamethrower and atomic disassembler) do not render correctly on the user, other players and mobs in 3rd person. They render correctly on the user in 1st person. Tested in a creative world with all the tools and weapons. I am using the 1.10.2-<IP_ADDRESS>8 version of mekanism.

Fixed, thanks!


Zero Allocation Parser

The control line converts the inbound buffer to a string in order to parse the message header.
Instead, should do a hand-rolled zero allocation parser as go-nats.

ts-nats has a more efficient parser that is pluggable.


[YUNIKORN-1977] E2E test for verifying user info with non kube-admin user

This PR adds an end-to-end (E2E) test that verifies pod deployment and user info using a non-kube-admin user. The test ensures that RBAC roles and permissions for non-admin users are correctly configured. Specifically, it verifies that user information can be retrieved through pod annotations.
What type of PR is it?

[ ] - Bug Fix
[x] - Improvement
[ ] - Feature
[ ] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-1977
How should this be tested?
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

@rrajesh-cloudera please fix the merge conflicts in user_group_limit_test.go

@rrajesh-cloudera please fix the merge conflicts in user_group_limit_test.go

Hi @pbacsko , resolved the Merge Conflict.


With Menu component the background sometimes is scrollable in IPhone IPad and should not

Normally if you use the Menu component, the page in the background should not be scrollable anymore, in the desktop app it works correctly but in IPad and iPhone not. If you scroll a bit the page before open the menu, the page remains scrollable and the menu remains fixed until the menu will be fixed in a position and the page is not scrollable anymore.
The behavior is abnormal and has no logic, I think the page should not be scrollable if the menu is open. and have to work like work  on a pc or laptop
Iphone Ipad (Ipad 7 )
IOS 13.6
Safari
you can reproduce in your web site
Open your page in IPad
go in Menu  component
scroll untile Customized Menu or scroll the page and come back on  simple menu
Open the menu
The page still scrollable
scroll until the menu will be fixed
The page is not scrollable

Duplicate of #5750


Add Bahasa Indonesia translation for managing tls

Adding translation for /docs/tasks/tls/managing-tls-in-a-cluster/ in #22296
Signed-off-by: Imre Nagi<EMAIL_ADDRESS>

/assign

@girikuncoro Thanks for the review gan. I've fixed it. Please kindly check :D

@imrenagi all looking good thanks, hope you learned something from this translation, can you help squashing the commits into 1 good message before we get this in?
/lgtm

/lgtm
/approve


Advice requested, declaring this library with a dynamic version or not

I am currently deciding how to declare this dependency in my project. I am thinking of declaring this library with a dynamic minor version (version is 2.+). This project states it conforms to semver, so minor and patch updates must always be backward compatible and non breaking.
Normally i define the dependency fully (2.0.1), but for this dependency, because it embeds the log_list.json, I feel like its good to define this dependency with a dynamic version so I also get the latest embedded log_list on every app update, just like chrome does.
How confident are you that you will properly conform to semver, that you not accidentally breaking stuff with a new minor/patch version? Would another approach be better perhaps? Maybe publish a gradle plugin that automatically updates the log_list.json which is embedded by the application/library that consumers of your library have to configure manually, so that there is no risk of accidental bugs in code that get shipped automatically.
Example: our app needs a hotfix, some text is changed, and our CI builds the hotfix and we dont feel like doing a full regression since the code we see is really only some text. This hotfix then breaks our app because of a bug in the latest version of the certificate transparency library which we didnt have in scope.

Given the setup, patch versions will only ever be updates to the log-list, i.e. all other non-breaking changes will be minor versions.
So if you do decide to use dynamic versioning then for the most safety I would go to the patch version, i.e. use '2.0.+'.
A Gradle plugin or similar mechanism adds a whole extra layer of complexity not just to the users of the library but also to the project itself and I'm not convinced it warrants that. It's worth remembering that the resources copy really is a fallback and in most instances won't actually be used as a later copy should have been downloaded from the network and cached. As part of that it is critical that the project is configured with a disk cache.

Thanks for clarifying. I will configure the dependency then as a dynamic patch version, and periodically check if there is a new minor version. It will take a bit of time before we will actually use it in production, the security team is still busy configuring proper CT monitoring.
And of course I have configured a disk cache, but it's nice to have some fallback to be less dependent on the uptime of log list.


ReferenceError: DEV is not defined

Description
I'm trying to start a new NextJs project using gluestack. I build the project with the command npm create gluestack, but when I build the project, I have the following error
⨯<EMAIL_ADDRESS>(25:0) @ eval
⨯ ReferenceError: __DEV__ is not defined
  at __webpack_require__ (/Users/mdeoliveira/lab/gluestack-nextjs-repro/.next/server/webpack-runtime.js:33:42)
  at __webpack_require__ (/Users/mdeoliveira/lab/gluestack-nextjs-repro/.next/server/webpack-runtime.js:33:42)
  at __webpack_require__ (/Users/mdeoliveira/lab/gluestack-nextjs-repro/.next/server/webpack-runtime.js:33:42)
  at __webpack_require__ (/Users/mdeoliveira/lab/gluestack-nextjs-repro/.next/server/webpack-runtime.js:33:42)
  at eval (./app/providers.tsx:7:78)
  at (ssr)/./app/providers.tsx (/Users/mdeoliveira/lab/gluestack-nextjs-repro/.next/server/app/page.js:162:1)
  at __webpack_require__ (/Users/mdeoliveira/lab/gluestack-nextjs-repro/.next/server/webpack-runtime.js:33:42)

CodeSandbox/Snack link
https://github.com/maximedeoliveira/gluestack-nextjs-repro
Steps to reproduce

Create a new project with npm create gluestack
Select NextJs app
Select Yes, when ask about the app router
Run npm run dev to start the project

gluestack-ui Version
latest
Platform

[ ] Expo
[ ] React Native CLI
[X] Next
[ ] Web
[ ] Android
[ ] iOS

Other Platform
No response
Additional Information
No response

The same thing is happening when I select pages router

hi @maximedeoliveira, we have released the new version of @gluestack/ui-next-adapter: 2.1.11 , please update to the new latest version. This will resolve your issue.


Fatal error when starting

When I open the Fingertip app, I got the following message:

macOS Monterey (M1)

Duplicate of #11. Please reopen if that doesn't resolve your issue. Thanks!


feat: delete team member

Overview
This PR will add the confirmation modal, mutation and loader to enable deleting a team member through the portal.
Type of change

[ ] Bug fix (non-breaking change; fixes an issue).
[x] New feature (non-breaking change; adds functionality).
[ ] Breaking change (fix or feature that breaks existing functionality).
[ ] This change requires a documentation update.
[ ] Operational change.
[ ] Test Coverage.

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

Dependencies
A bulleted list of any pull requests that are required to be merged/deployed
before this pull request can be tested.

Operational changes
Back end changes
Updates to shared libraries
etc

Test Configuration
The hardware stack you used to test your changes.
Fill in those that apply, remove the rest.

Hardware: HARDWARE NAME
OS: OS NAME AND VERSION
Node version: NODE VERSION
PNPM version: PNPM VERSION

Evidence
video, screenshots, log output or other media that demonstrates your changes working.

@PseudoMera suggestions addressed, check again and lmk if anything. thanks

Close T-16500 T-18918 T-18284


How to handle math in bookmarks?

From James Haines email on 7/17/15, item 2.
Regarding the bookmark feature, we noticed that we needed to type:
\section{For \texorpdfstring{{\boldmath$X\cup Y$}}{\textdollar X \textbackslash cup Y\textdollar} or something else}
So that the bookmark comes out as “For $X \cup Y$ or something else” verbatim. There doesn't seem to be an easier way to do this and it does come up on occasion so we received warnings when running our test papers if we didn't put math or certain other special commands inside a \texorpdfstring command (see: http://www.tex.ac.uk/FAQ-texorpdf.html).  For further example,
\section{What?\texorpdfstring{\nopunct}{}}
\section{For \texorpdfstring{{\boldmath$x$}}{x} large}
\section{For \texorpdfstring{{\boldmath$y=\frac{1}{2}$}}{y=1/2} or something else}

From John at Techsetters: I've found that the bookmark text can best be addressed by using the optional argument for sections, placing the \texorpdfstring commands in the square brackets. This works on our "other" books, might be worth a try here.

So basically I told John what Steve came up with to get around the issue and he confirmed that this is what they do at Techsetters as well.  As long as there is a mention in the documentation how to handle this, we can close this issue.

Explained how to do the \texorpdfstring solution, which seems the easiest unless I'm missing something.


Bigger Tflite micro model

@tensorflow/micro
System information

Host OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
TensorFlow installed from (source or binary): binary
Tensorflow version (commit SHA if source): 2.2.0
Target platform (e.g. Arm Mbed OS, Arduino Nano 33 etc.):

Describe the problem
I downloaded tflite Inception_v4 model from https://www.tensorflow.org/lite/guide/hosted_models. The model had a size of 42.9MB. I converted to tflite micro using the xxd command and the .cc file I got after conversion had a size of 264MB. Does the model conversion to cc file increase the tflite model size by 5x times? What I understand is that, tflite micro should give a smaller sized model for execution in microcontrollers. Is my understanding correct. Can you help me in solving the problem?
Please provide the exact sequence of commands/steps when you ran into the problem
xxd -i inception_v4_299_quant.tflite > model.cc

I downloaded the inception_v4.tflite from https://www.tensorflow.org/lite/guide/hosted_models after extraction it is 170.7mb
In order to obtain smallest possible model size, You may want to try performing Quantization on TF Lite Flat Buffer before converting it into C.
We should also note that inception_v4 is fairly heavy architecture so the file size can be relatively bigger.

What is the size of the compiled code? I'm not sure you can use the .cc file size as a direct measure of how it will actually impact binary size.

I downloaded the inception_v4.tflite from https://www.tensorflow.org/lite/guide/hosted_models after extraction it is 170.7mb
In order to obtain smallest possible model size, You may want to try performing Quantization on TF Lite Flat Buffer before converting it into C.
We should also note that inception_v4 is fairly heavy architecture so the file size can be relatively bigger.

Thanks Yasir. But the size of tflite micro model more than the tflite model raised the confusion

What is the size of the compiled code? I'm not sure you can use the .cc file size as a direct measure of how it will actually impact binary size.

Thanks Duke. I will check that. Meanwhile one more question. Can we use python script for the same. Or is it possible with cpp code only?

Note that using xxd converts the tflite model (flatbuffer binary format) into a C array. The model is unchanged and hence the binary size will also be the same.
Here are the steps that I followed to verify what I say above:

Downloaded tflite Inception_v4 model from https://www.tensorflow.org/lite/guide/hosted_models
Confirmed the size of the tflite model is 42855504 bytes with ls -l inception_v4_299_quant.tflite
Used xxd to convert to a C array with xxd -i inception_v4_299_quant.tflite > inception_v4_299_quant.cc
Looked at the last line of  inception_v4_299_quant.cc and confirmed that the C array takes the same number of bytes.
tail -n1 inception_v4_299_quant.cc gave me unsigned int inception_v4_299_quant_tflite_len = 42855504;

I'm going to close this issue, but feel free to reopen if I missed something.
Note that in general, a 48MB model is likely not suited for TF Micro. There will always be exceptions but usual latency and power requirements mean that models <1MB are more suited for systems running TF Micro.

tail -n1 inception_v4_299_quant.cc

Thanks for the clarification @advaitjain, much appreciated !

To add on these comments and as I was myself confused you would expected the size of the c array to be the same and not the size of the c source file dumped with xxd ( the increase due to formatting). Look at the end of the file to know the actual size ( with tail or by manuel inspection) and this should be closer to the tflite model size


Disable AppSignal for EKS Windows

Issue #, if available:
AppSignal is having issues around initializing k8s client on EKS Windows
when running it as Host process container. Similar issues existed for
CI Windows but workaround was implemented for CI, similar workaround is
required for AppSignal or We can upgrade container to 1.7 which solves this
issue.
Description of changes:
Removed app_signal configuration from CW config for EKS Windows.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This is probably fine since this is to a windows ci branch and not main.
But moving forward we want to have application signals enabled by default on windows through the addon once this ever gets merged back to main.


src/bin/run.sh fails after installing ep_comments_page

Hi,
I have installed etherpad lite as per the "Manual Installation" section on its README, and ep_comments_page via npm install ep_comments_page. We I run src/bin/run.sh, the script breaks and exists with the issue below. I am running npm version 7.11.2 on Mac OS.
What could I be doing wrong?
[2022-03-24 01:18:20.938] [INFO] settings - All relative paths will be interpreted relative to the identified Etherpad base dir: /Users/riedelcastro/projects/etherpad-lite
[2022-03-24 01:18:21.052] [INFO] settings - settings loaded from: /Users/riedelcastro/projects/etherpad-lite/settings.json
[2022-03-24 01:18:21.053] [INFO] settings - No credentials file found in /Users/riedelcastro/projects/etherpad-lite/credentials.json. Ignoring.
[2022-03-24 01:18:21.054] [INFO] settings - Using skin "colibris" in dir: /Users/riedelcastro/projects/etherpad-lite/src/static/skins/colibris
[2022-03-24 01:18:21.054] [INFO] settings - Session key loaded from: /Users/riedelcastro/projects/etherpad-lite/SESSIONKEY.txt
[2022-03-24 01:18:21.054] [WARN] settings - DirtyDB is used. This is not recommended for production. File location: /Users/riedelcastro/projects/etherpad-lite/var/dirty.db
[2022-03-24 01:18:21.055] [INFO] settings - Random string used for versioning assets: dedb00ed
[2022-03-24 01:18:21.927] [INFO] server - Starting Etherpad...
[2022-03-24 01:18:22.113] [INFO] plugins - Running npm to get a list of installed plugins...
[2022-03-24 01:18:22.649] [INFO] plugins - npm --version: 6.14.15
[2022-03-24 01:18:34.071] [ERROR] runCmd|npm - npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
[2022-03-24 01:18:38.975] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.975] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.975] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.975] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.975] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.976] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.976] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.976] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.976] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.976] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.976] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.976] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.976] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.991] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.991] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.991] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.991] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.992] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.992] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.992] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.992] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.992] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.992] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.992] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.992] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by etherpad-lite
[2022-03-24 01:18:38.992] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/@typescript-eslint/eslint-plugin
[2022-03-24 01:18:38.992] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/@typescript-eslint/parser
[2022-03-24 01:18:38.992] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/ep_etherpad-lite
[2022-03-24 01:18:38.992] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/eslint
[2022-03-24 01:18:38.992] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/eslint-config-etherpad
[2022-03-24 01:18:38.992] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/eslint-import-resolver-typescript
[2022-03-24 01:18:38.992] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/eslint-plugin-cypress
[2022-03-24 01:18:38.993] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/eslint-plugin-eslint-comments
[2022-03-24 01:18:38.993] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/eslint-plugin-import
[2022-03-24 01:18:38.993] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/eslint-plugin-mocha
[2022-03-24 01:18:38.993] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/eslint-plugin-node
[2022-03-24 01:18:38.993] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/eslint-plugin-prefer-arrow
[2022-03-24 01:18:38.993] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/eslint-plugin-promise
[2022-03-24 01:18:38.993] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/eslint-plugin-you-dont-need-lodash-underscore
[2022-03-24 01:18:38.993] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/etherpad-cli-client
[2022-03-24 01:18:38.993] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/mocha
[2022-03-24 01:18:38.993] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/mocha-froth
[2022-03-24 01:18:39.041] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/nodeify
[2022-03-24 01:18:39.042] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/openapi-schema-validation
[2022-03-24 01:18:39.044] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/selenium-webdriver
[2022-03-24 01:18:39.044] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/set-cookie-parser
[2022-03-24 01:18:39.044] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/sinon
[2022-03-24 01:18:39.044] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/split-grid
[2022-03-24 01:18:39.044] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/supertest
[2022-03-24 01:18:39.045] [ERROR] runCmd|npm - npm ERR! extraneous<EMAIL_ADDRESS>/Users/riedelcastro/projects/etherpad-lite/node_modules/typescript
[2022-03-24 01:18:39.045] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.045] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.045] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.045] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.046] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.046] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.047] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.047] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.047] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.047] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.047] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.047] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.047] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.047] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.047] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.048] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.048] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.049] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.049] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.049] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.049] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.049] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.050] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.050] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.050] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.050] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.050] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.050] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.050] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.050] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.050] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.050] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.051] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.051] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.051] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.051] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.051] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.052] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.053] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.053] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.054] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.054] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.054] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.054] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.054] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.054] [ERROR] runCmd|npm - npm ERR! missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>[2022-03-24 01:18:39.105] [ERROR] server - Error occurred while starting Etherpad
[2022-03-24 01:18:39.106] [ERROR] server - Metrics at time of fatal error:
{
  "httpStartTime": 0,
  "memoryUsage": 47509504,
  "memoryUsageHeap": 14808184,
  "ueberdb_lockAwaits": 0,
  "ueberdb_lockAcquires": 0,
  "ueberdb_lockReleases": 0,
  "ueberdb_reads": 0,
  "ueberdb_readsFailed": 0,
  "ueberdb_readsFinished": 0,
  "ueberdb_readsFromCache": 0,
  "ueberdb_readsFromDb": 0,
  "ueberdb_readsFromDbFailed": 0,
  "ueberdb_readsFromDbFinished": 0,
  "ueberdb_writes": 0,
  "ueberdb_writesFailed": 0,
  "ueberdb_writesFinished": 0,
  "ueberdb_writesObsoleted": 0,
  "ueberdb_writesToDb": 0,
  "ueberdb_writesToDbFailed": 0,
  "ueberdb_writesToDbFinished": 0,
  "ueberdb_writesToDbRetried": 0
}
[2022-03-24 01:18:39.106] [ERROR] server - Error: Command exited with code 1: npm ls --long --json --depth=0 --no-production
    at exports (/Users/riedelcastro/projects/etherpad-lite/src/node/utils/run_cmd.js:119:25)
    at Object.exports.getPackages (/Users/riedelcastro/projects/etherpad-lite/src/static/js/pluginfw/plugins.js:112:48)
    at Object.exports.update (/Users/riedelcastro/projects/etherpad-lite/src/static/js/pluginfw/plugins.js:86:34)
    at Object.exports.start (/Users/riedelcastro/projects/etherpad-lite/src/node/server.js:143:19)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-03-24 01:18:39.106] [INFO] server - Exiting...
[2022-03-24 01:18:39.106] [INFO] server - Waiting for Node.js to exit...

With npm v7 and later you must pass --no-save --legacy-peer-deps when installing plugins:
rm package*.json # Clean up after the failed plugin installation.
cd /path/to/etherpad-lite
npm install --no-save --legacy-peer-deps ep_comments_page

Amazing, that worked right away! Thanks so much for the quick reply.


[#5068]  feat(core): support GCS token provider

What changes were proposed in this pull request?
support GCS token provider
Why are the changes needed?
Fix: #5068
Does this PR introduce any user-facing change?
no
How was this patch tested?
add IT and run with real google acount

@jerryshao please help to review when you have time, thanks

You'd better ping @jerqi and @yuqi1129 review first.

@yuqi1129 , comments are addressed, please help to review again

Will the Gravitino fileset reuse this token provider? If so, credential config file isn't a good choice, because if we have different fileset catalog, they maybe have different different GCS credential files.

Another question, can an Iceberg REST server serve multiple cloud users?

Will the Gravitino fileset reuse this token provider? If so, credential config file isn't a good choice, because if we have different fileset catalog, they maybe have different different GCS credential files.

Gravitino fileset will reuse this token provider, and different fileset catalogs could use different credential config file.

Another question, can an Iceberg REST server serve multiple cloud users?

You mean one cloud user corresponding to one metalake? Not support yet.

No. An Iceberg REST server is used by multiple clouds at the same time. It's not related to the metalake.

Will the Gravitino fileset reuse this token provider? If so, credential config file isn't a good choice, because if we have different fileset catalog, they maybe have different different GCS credential files.

Gravitino fileset will reuse this token provider, and different fileset catalogs could use different credential config file.

I can't get the point why we use the file. It's not convenient for users.

then what's your option?

Another question, can an Iceberg REST server serve multiple cloud users?

You mean one cloud user corresponding to one metalake? Not support yet.

No. An Iceberg REST server is used by multiple clouds at the same time. It's not related to the metalake.

yes, different catalog could use different credential providers

Will the Gravitino fileset reuse this token provider? If so, credential config file isn't a good choice, because if we have different fileset catalog, they maybe have different different GCS credential files.

Gravitino fileset will reuse this token provider, and different fileset catalogs could use different credential config file.

I can't get the point why we use the file. It's not convenient for users.

then what's your option?

Could it be the properties of the Gravitino catalog？

@jerryshao @yuqi1129 @jerqi any other comments?

@yuqi1129 please help to review again


Wrong 11.1 firm in "Old 3DS 11.1.0 to 10.4.0" pack

yep it's wrong

?

I think the one for new 3ds was wrong as well

What the hell are you talking about?

The 11.1 firm bin file is wrong (or was, if the file has changed in the last 10 hours).
FIRM swapped NANDs will result in a blue error screen.
I'm not sure if it was happening only on some consoles but at least it was an issue at least on some of them.
We had to dump new firm partitions with decrypt9.


Can't build service for kubernetes

Can't build service with go mod, after i added k8s "github.com/micro/kubernetes/go/micro" import
go<EMAIL_ADDRESS>unknown revision v0.6.0
go<EMAIL_ADDRESS>unknown revision v0.14.0
go: finding sigs.k8s.io/structured-merge-diff v0.0.0-20190130003954-e5e029740eb8
go: finding github.com/micro/go-grpc v0.11.0
go: error loading module requirements

github.com/micro/kubernetes has been deprecated and archived.
Please use K8s plugin in https://github.com/micro/go-plugins

thx, it works


Added extend support to schemaGenerator

This PR is meant to allow use of the following IDL syntax:
https://github.com/graphql/graphql-js/blob/9ea8196c2af97551bab5cfd57201c29e3085ee4e/src/utilities/__tests__/extendSchema.js#L127
It seems to a feature that was meant to be used for client purposes only.
But, in my opinion, while using the IDL to describe type definitions, you lose to ability to do cyclic dependencies and by that, the ability to create suite packages that will enhance and be enhanced by your own application code base.
e.g:
Consider the accounts package as the sole owner of the User type, being so, in your own schema files, you would like to use that same User type to describe relations to other types.
Lets say Post
type Post {
  id: ID!
  creator: User
}

And so you would also like to expand on the User type to allow for relations to the Post type:
extend type User {
  posts: [Post]
}

Other possible solutions could be to use union types but these will not allow to get the extended User type on the queries provided by the accounts package
This PR is not harming any previous features of the schemaGenerator.
One current limitation is that after you've added an extend type definition, you have to provide type resolvers for all fields.
TODO:

[x] Update CHANGELOG.md with your change (include reference to issue & this PR)
[x] Make sure all of the significant new logic is covered by tests
[x] Rebase your changes on master so that they can be merged easily
[x] Make sure all tests and linter rules pass

@davidyaha Thanks a lot, this looks pretty good! Can you add one test that checks that extensions also work when you define them in different files? To test that, you can just have an array with individual definitions (type strings) as elements instead of having just one long string. That will simulate importing from different files.

Hey @helfer, thanks for the review. The first test I've added uses an array of type definitions. Would you like me to add another one with a string for the more common case?

You're right, in that case it's fine as it is!
The only remaining thing that would be nice to have is if there was a test for this line:
https://github.com/apollostack/graphql-tools/pull/90/files#diff-808ec356ff8ddeab265abfaefebaaf00R138
Right now, that doesn't seem to be covered. If there's no way that line can be reached anyway, then you can remove the whole test altogether.

Absolutely right. There is no need for that check.

Great, thanks for the PR!

@davidyaha Oh, hey, can you make this PR against master? I think you made it against an already merged branch by accident.

Holy crap, we have this feature?!?!!? why is it not documented anywhere!

Hehe, my first PR here.. been telling people about it on slack when ever the subject poped.. but didn't think of adding it to the docs.
Main reason is that it is kind of no intended to be used for servers... Itwas  actually throwing  an error on purpose if you did not specify a resolver for every field your querying. I think with the current version of GraphQL.js it's only throwing for interfaces and unions..
Been using js string templates instead for a while..


Broken ref in comment causes "ref not found error".

What version of Hugo are you using (hugo version)?

$ hugo version
Hugo Static Site Generator v0.72.0/extended darwin/amd64 BuildDate: unknown

(I initially was on 0.65.3, then updated and got the same error.)
Does this issue reproduce with the latest release?
Yes.
Minimal working example:
Start a new site as in the quickstart tutorial
hugo new site quickstart
cd quickstart
git init
git submodule add https://github.com/budparr/gohugo-theme-ananke.git themes/ananke
echo 'theme = "ananke"' >> config.toml
hugo new posts/my-first-post.md

Then make the following for content/posts/my-first-post.md
---
title: "My First Post"
date: 2020-06-14T17:04:28-04:00
draft: true
---

This [link]({{<relref "my-first-post.md">}}) works

<!-- This [link]({{<relref "my-nonexistent-post.md">}}) causes the server to fail, even though its commented -->

I get the following error
[en] REF_NOT_FOUND: Ref "my-nonexistent-post.md": "/Users/boltonbailey/Desktop/test/quickstart/content/posts/my-first-post.md:9:18": page not found
Rebuild failed:

Logged 1 error(s)
Hugo Static Site Generator v0.72.0/extended darwin/amd64 BuildDate: unknown

Reload Page

Wrapping a shortcode call in HTML comments will hide the output, but will not (as you have learned) skip rendering.
If you want to hide the output and skip rendering:
<!-- {{</* shortcode */>}} -->

See:
https://discourse.gohugo.io/t/how-to-comment-out-shortcodes-in-markdown/14893/10
Additionally, unless you have set
[markup.goldmark.renderer]
unsafe=true

in config.toml, the HTML comment will be rendered as <!-- raw HTML omitted -->.
Please post your support questions to the Hugo Forum. Thanks.


method addRow and addRows is updating

The methods addRow and addRows is updating a row. That methods should add a row.
The solution is to change the value in  insertDataOption to INSERT_ROWS in  addRows. However, you can use axios.requestof the GoogleSpreadsheetWorksheet  API, setting the value and adding the values. Ex:
const response = await doc.axios.request({
      method: 'post',
      url: `/values/${encodeURIComponent(this.a1SheetName)}:append`,
      params: {
        valueInputOption: 'USER_ENTERED', // RAW
        insertDataOption: 'INSERT_ROWS', // INSERT_ROWS
        includeValuesInResponse: true,
      },
      data: {
        values: [data, data, data, data, data],
      },
    });

I send PR to fix de bug.
Thanks!!

How can I contribute to the project?. I would like to make a PR but I have permission denied @theoephraim

Well you can't push to this repo directly, but you should be able to open a PR - ie fork the repo, create a branch with your changes, then open a PR to merge it back into this repo. If you're getting permission denied when trying to push to your own fork of this repo, it likely has to do with general permission issues and not being logged in fully on your machine. Sometimes this can be due to github 2FA.

@crisdanilo I made a PR in #305 which you proposed here, I guess. Could you check the fix?

now available as options - see the comments in #305


Bump engine api to 009ba16

This updates engine-api to latest revision to take care of the new types.ContainerStartOptions 🐳
This includes vendoring for :

#22983
#23107
#23172 I think too

🐸

LGTM
can you rename it to "bump" (easier to find back)

LGTM

LGTM


setPage is not a function

Vue.js version: 3.0.11 (v-pagination-3 version is 0.1.2)

FULL error message (including stack trace):

HelloWorld.vue?fdab:19 Uncaught (in promise) TypeError: this.$refs.table.setPage is not a function
    at Proxy.onPageClick (HelloWorld.vue?fdab:19)
    at callWithErrorHandling (runtime-core.esm-bundler.js?5c40:154)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?5c40:163)
    at emit (runtime-core.esm-bundler.js?5c40:642)
    at Proxy.page (vue-pagination-2.min.js?801f:1)
    at callWithErrorHandling (runtime-core.esm-bundler.js?5c40:154)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?5c40:163)
    at Array.job (runtime-core.esm-bundler.js?5c40:2096)
    at flushPreFlushCbs (runtime-core.esm-bundler.js?5c40:328)
    at updateComponentPreRender (runtime-core.esm-bundler.js?5c40:4412)

steps for reproducing the issue:
Go to following page and press a page button.
https://codesandbox.io/s/young-breeze-w9w6s?file=/src/components/HelloWorld.vue

I tried to use setPage, but I got an error("setPage is not a function").
I read this issue(#31) and
this.$refs.table.$children was undefinded in my case.

Fixed in v0.1.5