Docs page is broken

The readme links to https://totaltypescript.com/ts-reset for docs. That page has some minimal content but is mostly blank (e.g., there's a "Get Started" section with no content). It looks like the actual docs are at https://www.totaltypescript.com/ts-reset-article

Looks fine to me!

Could you give me more steps to reproduce?

Weird. If I load it on my iphone, it works fine. If I load it on my macbook on chrome, safari, or firefox, I get this:

Inspecting the page, the content is all there, but all the invisible elements have opacity:0 in the style tag.

Ok, I figured it out. It happens when prefers-reduced-motion is enabled. Probably an issue with the page's animation logic.

Thanks y'all, this has been fixed.


Bug: comparing a collection to itself

When viewing/editing a collection that has been marked for release, the latest (previously) released version is retrieved for comparison. If the collection being viewed/edited is the first and only version of the collection, it will be compared against itself, incorrectly listing new or changed objects as "unchanged".

Any updates on this?
Any changes do indeed appear as unchanged instead of being reported as a change or minor change. Furthermore, it appears as though any changes would propagate throughout all versions and releases, and not just within a collection, but even across all collections!
It might in fact be showing the wrong version of the collection in the end as you suggest. Either way, it would appear as though the collection versions and releases are not working properly in v2.2.0 of the workbench.


Validating initial block?

I'm wondering if it is necessary to include a check at the beginning of the valid_chain to ensure that the chain has the same history as one would expect?
For example, wouldn't it be possible for a malicious node to make itself i.) the longest node and ii.) with a self-consistent history that nonetheless starts out in a way that is advantageous to the node's owner?
Perhaps something like this:
class Blockchain(object)
   ...

    def valid_chain(self, chain):

        last_block = chain[0]
        current_index = 1

        # Check that initial block is as expected.
        if last_block['previous_hash'] != 1 or last_block['proof'] != 100 or last_block['index'] != 1:
            return False

        while current_index < len(chain):
            block = chain[current_index]
            ...

More generally, why isn't it necessary to validate the chain against some sort of "ground truth" contained within node? It seems like only checking that a given chain is self-consistent creates all sort of possibilities for veering off in bad directions.
A non-malicious related example arises when you have two nodes (on ports 5000 and 5001, say) and that transactions like the below occur:
curl -X POST -H "Content-Type: application/json" -d '{
 "sender": "d4ee26eee15148ee92c6cd394edd974e",
 "recipient": "someone-other-address",
 "amount": 5
}' "http://localhost:5000/transactions/new"

# Send to another address on 5001
curl -X POST -H "Content-Type: application/json" -d '{
 "sender": "d4ee26eee15148ee92c6cd394edd974e",
 "recipient": "yet-other-address",
 "amount": 5
}' "http://localhost:5001/transactions/new"

When and how is a case like this settled? In the present implementation it will be settled whenever a resolve occurs and one node's chain is strictly longer than the other. But that seems super arbitrary?
Perhaps all of this is material to be covered in 2? Or I'm just missing something fundamental...

this!


Unable to embed IFRAME content into ITGlue

Preflight Checklist

[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.
Describe the bug
When embedding a diagram via File ->Embed -> Iframe and copying the source, then embedding into an ITGlue record, the content does not load.  The browser has the following error.
Refused to frame 'https://app.diagrams.net/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' https://teams.microsoft.com https://*.cloud.microsoft".
If i edit the content for the IFRAME to use VIEWER.DIAGRAMS.NET instead of APP.DIAGRAMS.NET it works fine.  (i was running an older desktop version that the IFRAME EMBED code generated VIEWER URLs instead of APP.   If i adjust the URL by hand it works fine.
To Reproduce
Steps to reproduce the behavior:

Click File -> Embed -> Iframe -> Create
Click COPY
Embed into iframe on ITGlue (or anywhere except teams it appears based on error)
Attempt to View

Expected behavior
The diagram should be visible in the ITGlue record as it is when using Viewer URL in iframe.
Screenshots
If applicable, add screenshots to help explain your problem.

draw.io version (In the Help->About menu of the draw.io editor):

draw.io version 24.6.1

Desktop (please complete the following information):

OS: Windows 11
Browser Chrome
Browser Version  126.0.64

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
No due to ITGLUE functions i can't do this.
Additional context
Perhaps on the EMBED IFRAME there should be a toggle to use APP or VIEWER?

I have the same issue when embedding iframe to SharePoint.
I used the app.diagrams.net website to open diagram from OneDrive, Share diagram with Anyone, then generate IFRAME code to embed into SharePoint page. I always got "app.diagrams.net refused to connect" error message.
Thanks @orangevan for your findings with VIEWER instead of APP. The view of the diagram is generated now at least. However, I still have a problem that it requires authentication first, even though it is shared with Anyone. :'(

By replacing app->viewer in the following part : "src="https://app.diagrams.net/?tags[...]" you can "fix" the problem


Enable SAP BTP, Kyma Runtime

Tutorials: https://developers.sap.com/tutorials/cp-kyma-getting-started.html
Write here how you think we can improve the tutorial ...
I do not see the Application Runtime available under Entitlements

Hi @redwoodca ,
are you using trial or free tier for SAP BTP? If yes, you should see the Kyma runtime when searching for Kyma  in the entitlements of your Subaccount. Even if the entitlements are already set you should see the runtime appear.
If that is not the case, maybe you can give me more information or open a ticket with the SAP BTP support team.
Thanks for reaching out and I wish you a happy weekend.
Best KM


Fix race condition in subnet, port and ip API

Transaction not work in port manager, multiple port manager service read same data and it cause data replace back.
Example
portmanager1 delete port1 and portmanager2 delete port2:

portmanager1 and portmanager2 read same data port1 port2 and port3
portmanager1 contains port2 and port3 after deletion.
portmanager2 contains port1 and port3 after deletion.
portmanager1 put back port2 and port3, database contains port2 and port3.
portmanager2 put back port1 and port3, database contains port1 and port3.
After deletion, port1 not be deleted.

Cache lock not ordered in private ip manager.
Example:
Transaction1:
First request ipAddrRangeCache lock then request vpcIpRangeCache lock.
Transaction2:
Frist request vpcIpRangeCache lock then request ipAddrRangeCache lock.

Dynamic lock can not created in private ip manager. update private ip manager data storage structure.
Remove dynamic cache and put ips in subnet to IpAddrRange entity. then put IpAddrRange in to ipAddrRangeCache static
cache.

@DavidLiu506 Need some traction on this PR.


[release-1.22] PeerAuthentication Merging for Ambient

Manual cherrypick required.
#54073 failed to apply on top of branch "release-1.22":
Applying: Stash
Applying: Stash
Using index info to reconstruct a base tree...
M	pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go
M	pilot/pkg/serviceregistry/kube/controller/ambient/policies.go
Falling back to patching base and 3-way merge...
Auto-merging pilot/pkg/serviceregistry/kube/controller/ambient/policies.go
CONFLICT (content): Merge conflict in pilot/pkg/serviceregistry/kube/controller/ambient/policies.go
Auto-merging pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Patch failed at 0002 Stash

Duplicate of #54409


Pubsub: calls hang on recent versions of Java client when deployed to AWS ECS

I have a production application which is working with google-cloud-pubsub 1.33.0.
The subscribing processes are deployed to AWS (ECS docker images, a long running server application) and everything is working as expected.
We have had a problem with a stuck message (https://console.cloud.google.com/support/cases/detail/17826998?project=symphony-gce-stage&folder&organizationId=307209726771) which could not be received with this version of the client. Moving to google-cloud-pubsub 1.56.0 allows the stuck message to be received, but unfortunately this does not work when deployed to AWS.
The application seems to hang on this line
https://github.com/symphonyoss/fugue/blob/master/google-fugue/src/main/java/org/symphonyoss/s2/fugue/google/pubsub/GoogleSubscriberAdmin.java#L157
The log message
About to get subscription with name projects/symphony-gce-dev/subscriptions/dev-s2smoke1-sym-ac6-us1-s2fwd-presenceV1ExchangeEnvelope
is emitted and then the process just hangs, presumably in the call
subscriptionAdminClient_.getSubscription(projectSubscriptionName);
A previous attempt to move to google-cloud-pubsub 1.51.0 was aborted because it did not work when deployed to AWS, but now we have a bug in 1.33.0 which we need to resolve so we have to move.
No other code changes were made, when we link with 1.33.0 the program runs locally and when deployed to AWS, when we change the maven dependency to 1.56.0 and rebuild the program runs normally from the debugger but hangs as described above.
I am unable to connect a debugger to the hanging process or to log onto the virtual server where it is running, all I have is the logs.
Something has obviously changed between 1.33.0 and 1.51.0 which does not work when deployed to AWS, do you have any idea what could cause this? Is there now a requirement for inbound network connectivity or anything like that?
I realise that this may be difficult to resolve and I appreciate whatever help you can give me.

Thanks for raising this. For some more context, do you know the state of your subscriber (running, failed, etc)? Does this hang on any particular message size?

@kolea2 There are two problems, the stuck message problem occurs on the old version of the pubsub client but not on the newer versions, whatever causes that has been fixed and we need to deploy a newer version of the pubsub client. Details about that problem are in the support case I linked above, the one and only stuck message was over 6 MB which is unusually large for out application, but that's not the point of this issue.
The second problem (this issue), is that with newer versions of the pubsub client the application does not start, it hangs on the first call to pubsub. I provided a link to the source code where it is failing above, in a call to SubscriptionAdminClient. getSubscription(ProjectSubscriptionName), there is no message involved.
In terms of context, we have an initialization container (docker image) which is executed at deploy time, it is responsible for creating topics and subscriptions. Our CICD process builds the code and deploys, the init container starts and it is validating that all the subscriptions exist. It is in the method deleteSubscription to remove an obsolete subscription, in fact this subscription has already been removed, but it is calling getSubscription to see if it does. If the call works a NotFoundException will be thrown and the process will move on.
If I run the process locally on my workstation it runs just fine, if I deploy it as a docker image to AWS it hangs. The exact same application code linked with the old version of the pubsub client runs just fine both locally and when deployed to AWS.
I think something has changed in the low level networking code inside the client which does not work in the AWS runtime environment.

I'm not sure what the base layer is but I expect it is Alpine, its an image someone else in our organization built. Upgrading to a later container is on my todo list so I will try that tomorrow and let you know if that makes any difference. If you can give me a reference to a base image you know works I can try to build form that as a means of confirming or eliminating this issue.

Alpine should be fine to use with ca-certificates added in one of the layers.
 To confirm it's not the issue, can you please also verify ca-certificates are added? Thanks!

I have been trying to do this but our image is based on ubuntu not alpine, can you tell me what ca certificate is actually required?
Of course Java has it's own trust anchor so the gist doesn't work for me "out of the box"....

I'm not sure that alpine is viable for this: https://github.com/infostellarinc/stellarstation-api/issues/66
I think I'm stuck with this at the moment.

@kolea2 I have found that the root cert for the pubsub api URL is indeed missing from the Java cacerts file in our docker base image, but adding it in made no difference, I suspect that the native netty implementation that GRCP uses is going to the OS ca-certificates file which does have the GlobalSign root cert in it. Given this and the fact that the debug log output says nothing about SSL or certificate errors I am persuaded that this is not being caused by a root certificate problem and I now have no idea what the actual problem is.
Please let me know what you think the problem might be.

@kolea2 I can now reproduce the problem with a locally deployed docker container and can attach a debugger.
My code is calling the pubsub sdk at
GoogleSubscriberManager.validateSubcription(TopicName, SubscriptionName) line: 153
which is
com.google.pubsub.v1.Subscription existing = subscriptionAdminClient.getSubscription(projectSubscriptionName);
Here is the full stack trace (after I manually suspended the thread), as you can see the thread is blocked in Unsafe.park as it is doing a get on a Future
Thread [main] (Suspended)
	owns: GoogleSubscriberManager  (id=8195)
	Unsafe.park(boolean, long) line: not available [native method]
	LockSupport.park(Object) line: 194
	CallbackChainRetryingFuture<ResponseT>(AbstractFuture<V>).get() line: 497
	Uninterruptibles.getUninterruptibly(Future<V>) line: 142
	Futures.getUnchecked(Future<V>) line: 1558
	ApiExceptions.callAndTranslateApiException(ApiFuture<ResponseT>) line: 53
	UnaryCallable$1(UnaryCallable<RequestT,ResponseT>).call(RequestT) line: 112
	SubscriptionAdminClient.getSubscription(GetSubscriptionRequest) line: 465
	SubscriptionAdminClient.getSubscription(ProjectSubscriptionName) line: 418
	GoogleSubscriberManager.validateSubcription(TopicName, SubscriptionName) line: 153
	GoogleSubscriberManager.initSubscription(SubscriptionImpl<ImmutableByteArray>) line: 135
	GoogleSubscriberManager(AbstractSubscriberManager<P,T>).start() line: 207
	GoogleSubscriberManager(AbstractPullSubscriberManager<P,T>).start() line: 155
	AwsFwd1(AbstractComponentContainer<T>).start() line: 220
	AwsFwd1(FugueServer).start() line: 190
	AwsFwd1.main(String[]) line: 54

The process has 2 AWS related threads doing something unrelated, Gax-1 to Gax-4 which look like this:
Daemon Thread [Gax-2] (Suspended)
	Unsafe.park(boolean, long) line: not available [native method]
	LockSupport.park(Object) line: 194
	AbstractQueuedSynchronizer$ConditionObject.await() line: 2081
	ScheduledThreadPoolExecutor$DelayedWorkQueue.take() line: 1177
	ScheduledThreadPoolExecutor$DelayedWorkQueue.take() line: 899
	ScheduledThreadPoolExecutor(ThreadPoolExecutor).getTask() line: 1054
	ScheduledThreadPoolExecutor(ThreadPoolExecutor).runWorker(ThreadPoolExecutor$Worker) line: 1114
	ThreadPoolExecutor$Worker.run() line: 628
	Thread.run() line: 834

and grpc-default-worker-ELG-1-1 to grpc-default-worker-ELG-1-3 which all look like this:
Daemon Thread [grpc-default-worker-ELG-1-1] (Suspended)
	owns: EPollSelectorImpl  (id=8189)
	owns: SelectedSelectionKeySet  (id=8190)
	EPoll.wait(int, long, int, int) line: not available [native method]
	EPollSelectorImpl.doSelect(Consumer<SelectionKey>, long) line: 120
	EPollSelectorImpl(SelectorImpl).lockAndDoSelect(Consumer<SelectionKey>, long) line: 124
	EPollSelectorImpl(SelectorImpl).select(long) line: 136
	SelectedSelectionKeySetSelector.select(long) line: 62
	NioEventLoop.select(boolean) line: 753
	NioEventLoop.run() line: 408
	SingleThreadEventExecutor$5.run() line: 897
	FastThreadLocalRunnable.run() line: 30
	FastThreadLocalThread(Thread).run() line: 834

That's all the threads in the process, it seems to be permanently stuck.
This doesn't seem especially informative to me, does it give you any clues?

@bruceskingle can you add log level to FINE? Does it come out after 10 min?

It never returns, I will re-run with FINE logs

log.txt
@ajaaym here are the logs, the entry
23:31:59.527 [main] INFO  org.symphonyoss.s2.fugue.google.pubsub.GoogleSubscriberManager - Validating topic sym-ac6-dev-chat-glb-1-internalMsg...
is from immediately before the call which hangs


Move-Item fails while using a wildcard in destination

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Encountered in a script I'd like to use. Easy way to reproduce is like:
cd c:\users\my_name
$null > filename
Move-Item  .\filename "C:\users\my_name\Deskto*"
Error: Move-Item: Invalid name.
In Powershell 5.1 this command succeeds just fine
Expected behavior
The file is moved to c:\users\my_name\Desktop

Actual behavior
Error: Move-Item: Invalid name.

Error details
none

Environment data
Name                           Value
----                           -----
PSVersion                      7.3.5

Visuals
No response

Able to reproduce, Mac also has a where it creates a file called Deskto* and the file I tried moving is gone from original location 😨

The behavior goes back to at least v7.2.10, so this breaking change has been in effect for a while.
You could consider it a blessing in disguise, given that:

The related Rename-Item cmdlet has seemingly always treated its -NewName argument as a literal (verbatim) path.

Treating output paths as wildcard expressions has always been questionable to me, but things have been moving in the right direction:

In at least one context, a similar breaking change was deliberately made (a bucket 3 change: https://github.com/PowerShell/PowerShell/pull/11701
Similarly, in another context an analogous change was green-lit, but has yet to be implemented: https://github.com/PowerShell/PowerShell/issues/13136#issuecomment-659053840
For a list of all related issues, see https://github.com/PowerShell/PowerShell/issues/17106#issuecomment-1088755835

Hi
I'm not exactly sure what your point is, but I would rather expect a behaviour similar to Powershell 5.1.
Are you trying to say this is a wonttfix?
I would appreciate that (simple) scripts built for Powershell 5.1 also could somehow run in Powershell Core.
For completeness I'll post the failing  script line in powershell core (but succeeds in powershell 5.1):
Move-Item -Path "$toolsPath\cacert.pem" -Destination "$toolsPath\curl*\bin\curl-ca-bundle.crt" -Force
The "curl*" is the offending part

I'm not exactly sure what your point is

If there's something unclear about my arguments, please address them specifically.

I would appreciate that (simple) scripts built for Powershell 5.1 also could somehow run in Powershell Core.

While that desire is understandable, given the many breaking changes that PowerShell Core - by design - introduced relative to the legacy Windows PowerShell edition, preserving backward compatibility isn't an end in itself.

Are you trying to say this is a wonttfix?

I have no say in  what will or will not happen. I'm just a fellow user offering input.

Given that it isn't obvious why disallowing wildcards in -Destination in your example command is called for, let me amplify a bit:
The problem that keeps coming up with respect to unintended use of wildcard patterns are meant-to-be literal file paths that contain [ and ]: say you have subfolders .\Pics[1] and .\Pics1 and you try Move-Item *.jpg -Destination .\Pics[1]. In Windows PowerShell, this will target the wrong directory, because wildcard .\Pics[1]  matches Pics1, and that match is considered first.
In other words: what Move-Item appears to be doing in Windows PowerShell is to first look for a wildcard match and then, if none is found, fall back to literal interpretation of the path.
In many other cases - such as Invoke-WebRequest's -Target parameter in Windows PowerShell, only wildcard interpretation happens, so that something like Invoke-WebRequest https://example.org -OutFile foo[1].html simply fails ("the wildcard path foo[1].html did not resolve to a file.")
Fixing the Move-Item command requires awkward, non-obvious escaping: Move-Item *.jpg -Destination .\Pics``[1``] or Move-Item *.jpg -Destination '.\Pics`[1`]' or Move-Item *.jpg -Destination ([WildcardPattern]::Escape('.\Pics[1]'))
In the latter case, a breaking change was deliberately made in PS Core to switch to literal interpretation only.
While the Move-Item change may not have been deliberate, it is beneficial of the same reason: avoiding the pitfalls and awkwardness of - invariably - wildcard interpretation.
You can use a Get-Item call to make your command work, and doing so will continue to be necessary if the current behavior is retained:
Move-Item -Path "$toolsPath\cacert.pem" -Destination (Get-Item "$toolsPath\curl*\bin\curl-ca-bundle.crt") -Force

Hi Michael,
Thanks for the clarification.  I will ask the maker of the "curl-script" to change the failing line into the one that you provided, so that it is compatible with PS7. That is ok with me.
Should I close this issue  then?
regards

Glad to hear it, @PietJankbal.
I don't think you should close this issue yet, because I think an official decision should be made as to whether this seemingly inadvertent - or at least undocumented - change is to be kept (my personal vote is: yes).
And that decision will determine the nature of any documentation changes (which will be required either way).

Just for the record, and also just speaking as a fellow user offering input, I completely agree with @mklement0
It's a blessing in disguise, so to speak.


Support for React Native 0.76.0

Using<EMAIL_ADDRESS>with React Native 0.76.0 results such an issue:

I guess it may come from that the current version portabletext relies on<EMAIL_ADDRESS>and then causing the whole app gets mismatched react-native versions. (My app is using react native 0.76.0)

Yeah that'd be great, we're stuck on RN 0.74 because of PortableText.

Hi! I think it's awesome you made this package, but seems like using it with the latest version of react-native (0.76.0) makes the app crash. Would love to see that the PR that @Jojocaster is talking about would fix the issue.
Thanks!


Injected Lexer class members of type reference cannot be initialized

The %init{ ... } code block cannot be used to initialize injected Lexer class members of type reference, which must be initialized in the constructor member initializer list.
Proposal: add %option ctorinit="initializer, initializer, ..." to add injected member initializers to the constructor's member initializer list, mirroring the existing option %option ctorarg="argument, argument, ..." for adding argument declarations to the constructor.
Example:
%class{
int& refint;
bool& refbool;
}
%option ctorarg="int& ri, bool& rb"
%option ctorinit="refint(ri), refbool(rb)"

Implemented this feature for the next release cycle.

Update 3.2.0 is released.

Thanks!


feat: Stateful testing for the pytest runner

Working prototype
Resolves #616
TODO:

[x] Tests
[x] Docs
[x] Fix pytest percentage display
[x] recursion limit support

Codecov Report

Merging #724 into master will decrease coverage by 0.04%.
The diff coverage is 98.21%.

@@            Coverage Diff             @@
##           master     #724      +/-   ##
==========================================
- Coverage   99.42%   99.38%   -0.05%
==========================================
  Files          59       59
  Lines        3666     3731      +65
  Branches      632      642      +10
==========================================
+ Hits         3645     3708      +63
- Misses          9       10       +1
- Partials       12       13       +1

Flag
Coverage Δ

#unittests
99.38% <98.21%> (-0.05%)
:arrow_down:

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

Impacted Files
Coverage Δ

src/schemathesis/models.py
97.17% <83.33%> (-0.52%)
:arrow_down:

src/schemathesis/__init__.py
100.00% <100.00%> (ø)

src/schemathesis/_hypothesis.py
98.33% <100.00%> (+0.15%)
:arrow_up:

src/schemathesis/cli/__init__.py
100.00% <100.00%> (ø)

src/schemathesis/cli/callbacks.py
100.00% <100.00%> (ø)

src/schemathesis/constants.py
100.00% <100.00%> (ø)

src/schemathesis/extra/pytest_plugin.py
100.00% <100.00%> (ø)

src/schemathesis/runner/__init__.py
100.00% <100.00%> (ø)

src/schemathesis/runner/impl/__init__.py
100.00% <100.00%> (ø)

src/schemathesis/runner/impl/core.py
99.00% <100.00%> (-0.11%)
:arrow_down:

... and 5 more

Continue to review full report at Codecov.

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


Evaluation company in a Sandbox

Hi Stefan,
How does sentinel determine the environment is a Prod instance?
In this example I've deployed the app to a Sandbox and did the analysis:

Its not clear from the line if the agent is referring to the Cronus UK Ltd in the current environment or the company of the same name in the environment called Production:

Cheers
Andy

That is the message, need to fix that.
I also need to spend some time for a better description of the rules, I did not want to do that on stream.
The rule does do the analysis within the current environment, and the rule is an info in sandbox and a warning in production.
The way it identifies companies is by the Evaluation boolean on the company list, if you search for companies you should find that list.

I changed the description so its not as confusing


Level texture appears fragmented

IngameMapHandler::mTexture, on full-screen view (i.e. IngameViewHandler::View::kFullScreen), has tiles that are not "clamped" i.e. non-invisible "borders" are evident around each tile, especially those representing in-game walls. This adversely affects how the game looks.

The solution is surprisingly simple: setting SDL_HINT_RENDER_SCALE_QUALITY to "0" effectively makes everything look good again.


Use FEN for move hash

Create safe URI fragments using https://en.wikipedia.org/wiki/Forsyth–Edwards_Notation for the moves.

Is there a reason why the use of unique id is not enough at the moment?

It is good enough as far as uniqueness goes. FEN in the URI makes it hackable ;)

Is that "hackable" part here a good or bad thing? :laughing:


allow symfony 7

There are no real changes in the console package for symfony 7 so nothing to do here.
The update will not update anything as long as https://github.com/cebe/php-openapi/pull/202 is not merged. 📛

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

Comparison is base (fd7f9b1) 99.31% compared to head (cd1e781) 99.31%.
Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##               main      #40   +/-   ##
=========================================
  Coverage     99.31%   99.31%
  Complexity       90       90
=========================================
  Files            17       17
  Lines           294      294
=========================================
  Hits            292      292
  Misses            2        2

already solved in #43
i changed the core implementation that allows Symfony 7


Undefined function or variable'xavier'！

hi @anilbas,
Thank you for your contribution!
I followed your readme to run the code,but I can't run the training code.Could you please give me some advice on the questions below?
In dagnn_3dmmasstn_init.m line 7. This xavier(1,1,4096,16) should be the algorithm that initializes the network weight, but I run the prompt without definition.
Thanks in advance!

Any update on this ?

Found the xavier.m file in this repo.

Found the xavier.m file in this repo.

hi do you know where is the BFM_UV.mat come from? does if from the result of Output grid which mentioned in the paper 2.3

@ReverseSystem001 yes it is as confirmed here https://github.com/anilbas/3DMMasSTN/issues/8#issuecomment-414996312

@suvojit-0x55aa thanks for your reply ! I will try it as the paper mentioned


Custom::ECSTaskDefinition resource.

Fixes https://github.com/remind101/empire/issues/849
This is a spike into a fix for large templates for apps with lots of environment variables, and lots of processes defined in the Procfile. This drops the template size generated by the TestEmpireTemplate_Large test from 275kb, to 50kb.
Basically, we add two knew custom resources:

Custom::Environment: A really simple resource that just takes some environment variables, and stores them, returning a physical id to reference that set of environment variables.
Custom::ECSTaskDefinition: Pretty much identical to the AWS::ECS::TaskDefinition resource, but the Environment key takes a list of physical id's returned from a Custom::Environment.

Doing this means we don't have to duplicate the environment variables for each task definition. This also opens up the possibility of supporting encryption of environment variables, so that they aren't stored in plain text in the template.
TODO

[ ] Storage? postgres? s3? dynamo? (Leaning towards postgres)
[ ] Sort environment variables when using the custom task definition.
[ ] Tests for new custom resources.
[ ] Don't postfix the task definition?

Gonna close this for now. There may come a time when we need it, but I'd like to avoid the maintenance overhead for now.


[BUG] longhorn-manager - exec user process caused "permission denied"

Describe the bug
longhorn helm chart
Error when pod with longhorn-manager start:
standard_init_linux.go:211: exec user process caused "permission denied"
To Reproduce
Steps to reproduce the behavior:

Edit values.yaml - change image.longhorn by my local registry. defaultSettings.registrySecret and privateRegistry
run - helm install longhorn ./longhorn --debug --namespace longhorn-system
In longhorn-manager pod logs:
standard_init_linux.go:211: exec user process caused "permission denied"

Expected behavior
Start pod
Log
standard_init_linux.go:211: exec user process caused "permission denied"
Environment:

Longhorn version: v1.0.0
Kubernetes version:

Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.6", GitCommit:"72c30166b2105cd7d3350f2c28a219e6abcd79eb", GitTreeState:"clean", BuildDate:"2020-01-18T23:31:31Z", GoVersion:"go1.13.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.6", GitCommit:"72c30166b2105cd7d3350f2c28a219e6abcd79eb", GitTreeState:"clean", BuildDate:"2020-01-18T23:23:21Z", GoVersion:"go1.13.5", Compiler:"gc", Platform:"linux/amd64"}

Node OS type and version: Red Hat Enterprise Linux Server release 7.7 (Maipo)
Kernel: Linux 3.10.0-1062.9.1.el7.x86_64 #1 SMP Mon Dec 2 08:31:54 EST 2019 x86_64 x86_64 x86_64 GNU/Linux

@ttpcodes Is this also related to #608?

It doesn't look like a Longhorn specific problem. Have you enabled SELinux so maybe it imposed some policies? Search for standard_init_linux.go:211: exec user process caused "permission denied" yields lots of information on the topic but my bet is on SELinux for now.

@yasker SELinux in permissive mode

Sorry? it's my error.
Mount /var/lib/docker in /ets/fstab, was created with noexec option. After delete and remount -"mount -o remount /var/lib/docker" and restart docker daemon, it's works!


Network security

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
Chapter on components that network with the SystemLink server and how to secure this communication where possible.
Why should this Pull Request be merged?
This is a very common topic for IT administrators to request and review before they will host SystemLink in their environment.
What testing has been done?
All secure configurations have been setup and tested with a SystemLink server to ensure their nominal operation.

Would there be value in a short section that collects all recommended best practices?

Would there be value in a short section that collects all recommended best practices?

This is a good idea. I will look into putting this together once I resolve the remaining review comment.


(feat) add Localstack SNS

This adds a Localstack SNS provider.
I tried to create a test for subscription & notification functionality that used a test HTTP controller, but that proved difficult for Docker/host networking reasons. The test now just makes sure that the create-topic operation works.

Also, (a) is this the right branch to merge into? and (b) could you say how soon this could go into a release?
Thanks!

Execution failed for task ':micronaut-test-resources-localstack-sns:findBaseline'.

Could not find a previous version for 2.6.0

How do I fix this?

How do I fix this?

You need to add:
micronautBuild {
    binaryCompatibility {
        enabledAfter '2.6.0'
    }
}

in the new module's build.gradle file

Thanks for your contribution!


Cloudformation does not surface error messages generated by Transfer Family on InvalidRequestException

Reproduction Steps

Create an AS2 certificate using a Cloudformation stack
Create an AS2 profile and use the certificate id generated in Step 1 as a certificate in the profile.
Delete the Cloudformation stack created in Step 1.
We get an InvalidRequest error code in Cloudformation which does not have any information about what is wrong with the request.

The error in Cloudtrail does have the correct error message.

Resolved by https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-transfer/pull/42


Error when training!

hi，all
One error happens when training from scratch.

KerasPersonLab-updated_model_def/data_prep.py", line 16, in get_ground_truth
assert(instance_masks.shape[-1] == len(all_keypoints)), '{} != {}'.format(instance_masks.shape[-1], len(all_keypoints))

AssertionError: 7 != 8

+1

Hello @Minotaur-CN @nitzan1207
The cause of this error was a COCO segm annotation with zero area. I updated the generate_hdf5 script to handle this, so you will need to delete your current hdf5 file and re-run the script again.


Make Spectrum->Document conversion part of Spec2Vec class

inspired by recent work we did on MS2DeepScore -> https://github.com/matchms/ms2deepscore/issues/23

Define a Spec2VecModel that contains the Word2Vec gensim model as well as a the parameters used to create the SpectrumDocument
Incorporate the Spectrum to SpectrumDocument conversion into the scoring function, this would allow to have a similarity score that takes Spectrum as input (same as the matchms similarity functions) --> Check performance loss!

For now I skipped making an own Spec2VecModel class, but sticked to the normal gensim Word2Vec model.
But I implemented a method to get the decimal rounding from the model vocabulary to Spec2Vec ( #54). I also incorporated the Spectrum to SpectrumDocument conversion (if necessary, that is if the input is of type Spectrum). This way the workflow will become easier for the user, in particular when combining multiple scores (Cosine, mod.Cosine, Spec2Vec, MS2DeepScore).

Title part was done in #54, an own Spec2VecModel class will further be discussed in #60


[BUG] - Error upgrading Stake pool node from 8.1.1 to latest 8.7.2

External
Area
Upgrading stake pool node to 8.7.2
Summary
Compilation of new node 8.7.2 fails following official node installation instructions (https://developers.cardano.org/docs/operate-a-stake-pool/node-installation-process)
Steps to reproduce
Steps followed to install and compile a cardano node from https://developers.cardano.org/docs/operate-a-stake-pool/node-installation-process
Expected behavior
To obtain a succesfully compiled cardano-cli binary
System info (please complete the following information):

OS Name: [Ubuntu]
OS Version [22.04.3 LTS]
Node version (output of cardano-node --version) : currrent: 8.1.1, wanting to upgrade to 8.7.2
CLI version  (output of cardano-cli --version) :
cardano-cli 8.1.1 - linux-x86_64 - ghc-8.10
git rev 6f79e5c3ea109a70cd01910368e011635767305a

Screenshots and attachments: in the compilation step by step process, the problem arises when launching the command:
"cabal build cardano-node cardano-cli"
which ouputs the following output message:
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: cardano-node-8.7.2 (user goal)
[__1] trying: ouroboros-consensus-<IP_ADDRESS> (dependency of cardano-node)
[__2] trying: cardano-ledger-binary-<IP_ADDRESS> (dependency of
ouroboros-consensus)
[__3] trying: vector-<IP_ADDRESS> (dependency of ouroboros-consensus)
[__4] next goal: cardano-crypto-class (dependency of cardano-node)
[__4] rejecting: cardano-crypto-class-<IP_ADDRESS> (conflict: pkg-config package
libblst-any, not found in the pkg-config database)
[__4] rejecting: cardano-crypto-class-<IP_ADDRESS> (conflict: vector==<IP_ADDRESS>,
cardano-crypto-class => vector<0.13)
[__4] skipping: cardano-crypto-class-<IP_ADDRESS>, cardano-crypto-class-<IP_ADDRESS>,
cardano-crypto-class-<IP_ADDRESS>, cardano-crypto-class-<IP_ADDRESS>,
cardano-crypto-class-<IP_ADDRESS> (has the same characteristics that caused the
previous version to fail: excludes 'vector' version <IP_ADDRESS>)
[__4] rejecting: cardano-crypto-class-<IP_ADDRESS> (conflict: cardano-ledger-binary
=> cardano-crypto-class>=2.1)
[__4] skipping: cardano-crypto-class-<IP_ADDRESS>.1, cardano-crypto-class-2.0.0
(has the same characteristics that caused the previous version to fail:
excluded by constraint '>=2.1' from 'cardano-ledger-binary')
[__4] fail (backjumping, conflict set: cardano-crypto-class,
cardano-ledger-binary, cardano-node, vector)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: cardano-node, cardano-crypto-class,
ouroboros-consensus, vector, cardano-ledger-binary
Try running with --minimize-conflict-set to improve the error message.
So it seems the compiler does not find all of the required dependencies to be able to procedd with the compilation of the cardano-node.
All pre requisites have been strictly followed as documented officially here : https://developers.cardano.org/docs/operate-a-stake-pool/node-installation-process

The solution seems to be the need to install a new library that was not required in previous Cardano node versoins.
This should have been documented (and still should be) in the release notes of the latest Cardano node.
This new library and steps are the following in order to be able to compile on Linux the new node version:
git clone https://github.com/supranational/blst
cd blst
git checkout v0.3.10
./build.sh
cat > libblst.pc << EOF
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: libblst
Description: Multilingual BLS12-381 signature library
URL: https://github.com/supranational/blst
Version: 0.3.10
Cflags: -I${includedir}
Libs: -L${libdir} -lblst
EOF
sudo cp libblst.pc /usr/local/lib/pkgconfig/
sudo cp bindings/blst_aux.h bindings/blst.h bindings/blst.hpp  /usr/local/include/
sudo cp libblst.a /usr/local/lib
sudo chmod u=rw,go=r /usr/local/{lib/{libblst.a,pkgconfig/libblst.pc},include/{blst.{h,hpp},blst_aux.h}}

Yes but it is not in the release notes of the cardano node, although in these release notes they always mention what releases of Cabal and GHC are needed. So the same info about libblst should also be listed, especially if it is a new requirement.
I remember the statements of putting an extra effort on good and easy documentation during the Cardano Summit in november 2022....


Configuration

RxJS 2 has the idea of configuration via a namespace: Rx.config. so you can do Rx.config.Promise = MySuperSweetPromiseImpl if you so choose.
I've played with having an ES6 config module that I can import to each file that requires configuration, and I can attach to the global export... but TypeScript didn't seem to like exporting an object literal as default.
... perhaps there's another way.
this seems like an easy problem to solve, it's just not a high priority ATM.

@blesh .@steveorsomethin et. al. have a pattern they call functor modules. Essentially, all their modules are factory functions, that when invoked, return the contents of the module. Instead of using import/require, the functor accepts the dependencies as arguments.
Here's an example of the Rx module implemented this way:
// Rx.ts
import ObserverFactory from './Observer';
import OperatorFactory from './Operator';
import ObservableFactory from './Observable';
import SubscriberFactory from './Subscriber';
import SubscriptionFactory from './Subscription';

import noop from './util/noop';
import throwError from './util/throwError';
import tryOrOnError from './util/tryOrOnError';

export default function RxFactory({
  Promise,
  setTimeout, clearTimeout,
  setInterval, clearInterval,
  $$observer
}) {
  const Observer = ObserverFactory({ noop, throwError, tryOrOnError });
  const Subscription = SubscriptionFactory();
  const Operator = OperatorFactory({ Observer, Subscription });
  const Subscriber = SubscriberFactory({ noop, throwError, tryOrOnError, Observer, Subscription });
  const Observable = ObservableFactory({ Promise, Operator, $$observer, Observer, Subscriber, Subscription });

  return { Observer, Subscription, Operator, Observable };
}

// index.js for node/CommonJS
var Rx = require('./Rx');
module.exports = Rx({
  Promise,
  setTimeout, clearTimeout,
  setInterval, clearInterval,
  $$observer: Symbol.observer });

@trxcllnt ... I don't dislike this, but it would diverge drastically from the current common pattern. Not so bad, but it would mean the onus would be on the end-user-author to maintain the "namespace" they've created with the Rx function you're proposing. It may not be ergonomic.
I'm not against it, I'm just not sure I'm for it.
I think the implied counter-proposal is to examine global state for an Rx.config object, as is the status quo. However, I'm not sure that's too great going forward either.

@blesh the exported Rx factory function would itself be initialized with defaults, so the end-user wouldn't have to call it, but I agree that it's a departure from existing patterns (dependency injection vs. service location).

Well, clearly it should be a common pattern :)
My original motivation was to parameterize my modules for trivial testing/library replacement/de-duping without a ton of weird require/context hacks. Also, sync/async becomes an implementation detail external to the actual modules.
The same concept exists in OCaml, which is so hot right now:
https://realworldocaml.org/v1/en/html/functors.html

For now, I've added the global configuration, since I think we can support both at a later time.


Bug Report: Outdated when latest

Please check for duplicates, similar issues or closed issues with the same problem, as well performing simple troubleshooting steps (such as deleting the export folder if it's an issue with compiling, reinstalling Kade Engine) before submitting an issue.
If you are playing a downloaded version of the game, what operating system are you using?
Windows (x86), Windows (x86_64), Linux, or macOS? Specify below.
x86_64
What version of the game are you using? Look in the bottom left corner of the main menu.
1.4.2
Have you identified any steps to reproduce the bug? If so, please describe them below. Use images if possible.
Download latest. And get outdated message right after pressing enter
Please describe your issue. Provide extensive detail and images if possible.
Outdated message when latest version

this is because of #447, we're planning on releasing 1.4.3 soon.

as prokube said, caused by #447, use latest appveyor CI/development build if you don't want to get this message


binder: it seems that our primary key can be null

create table t(a int primary key, b int);

will produce a  BoundCreateTable like this
BoundCreateTable {
        database_id: 0,
        schema_id: 0,
        table_name: "t",
        columns: [
            ColumnCatalog {
                id: 0,
                desc: ColumnDesc {
                    datatype: Int(None) (null),
                    name: "a",
                    is_primary: true,
                },
            },
            ColumnCatalog {
                id: 1,
                desc: ColumnDesc {
                    datatype: Int(None) (null),
                    name: "b",
                    is_primary: false,
                },
            },
        ],
    },

I think we need to make primary key default not to be null, so if i type sql query above, we will make a not null. Or we can forbid that syntax.
the reason for this is that
https://github.com/risinglightdb/risinglight/blob/d28389a62069cee31882dcae4a4e10383e4518f2/src/binder/statement/create_table.rs#L90-L99
when we only type a int primary key, we will go to line 98 directly without setting is_nullable to false

Just thought about the constraints in our system, I think we can allow primary key to be null. The storage layer should have fully supported it. But I'm not sure whether there are some places that assume primary key to be non-null.
From my perspective, it's okay to assume primary key to be non-null. When users type statements like create table t(a int primary key, b int);, or create table t(a int, b int, primary key(a));, we can by default make a a non-nullable column.

Let's make this task clearer:
https://github.com/risinglightdb/risinglight/blob/acb624c58334c8be8039baccf83069eeb1578609/src/binder/statement/create_table.rs#L78-L89
When the binder binds a create table statement, here we should iterate all columns, and set those columns where is_primary = true to have a non-null datatype in ColumnDesc.
I think this task is easy enough, we can encourage community members to take this.


Update gcloud.storage docs to use 'from gcloud import storage'

Looks like we use import gcloud.storage a lot in the storage docs (http://googlecloudplatform.github.io/gcloud-python/latest/storage-api.html).
I'd prefer if we kept it consistent with datastore, to use from gcloud import storage.
Thoughts?

I do too. Much to be done still in docs (see #632)

Running
$ git grep 'import gcloud\.storage'

turns up nothing while
$ git grep 'from gcloud import storage' | wc
     10      51     562


[AutoPR web/resource-manager] Fix for https://github.com/Azure/azure-rest-api-specs/issues/1697#iss…

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/2664

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/1430


Release 23

Fixed

Address subtle bug in Project creation, which meant two projects with the same
URN were created in error
Notification banner when users email not recognised is no longer a success
banner.
Fixed a bug where the project information page would not load if a Local
Authority was not found

Added

Raise a specific error page if our access to the Academies Api has been
revoked

Changed

update to hint text in external stakeholder kick-off task so content works for
both sponsored and voluntary conversions
Corrected Legal Advisor's Office to Legal Adviser's Office in trust
modification order task checkboxes
Added new guidance to project creation page so users know to find information
in the advisory board template
Updated content in Confirm the school has completed all actions task so that
it applies to both types of conversion
Removed the "Tell the Regional Delivery Officer the school has opened" task
Update content in Share the grant certificate and information about opening
task to make it appropriate for both conversion types

Checklist

[x] Check that this pull request has the correct version number.
[ ] Attach this pull request to the appropriate card in Trello.
[x] Update the CHANGELOG.md to move Unreleased changes into a new version.
[x] Update the release links at the bottom of CHANGELOG.md to reflect the
new version.

 Release 23


If this work is still desired, feel free to cherry-pick


Search

Hi, this looks like a great promising library. Does searching for text work?
Thanks!

Technically, it's yes. You can use you can get PdfPageText by PdfPage. loadText and search pattern on PdfPageText.
There are also PdfPageTextFragment that contains the page text rectangle corresponding to the text.
PdfPageText.getFragmentIndexForTextIndex is just a helper function that identfies PdfPageTextFragment corresponding the text index.
I'm still working on the default text searching UI on PdfViewer so far.

Thank you! Hopefully this is in there soon as will be a great addition. :-)

I see this is in the code now... Thank you!

0.4.26 introduces PdfTextSearcher that helps you to implement search feature on your app. See README.md for the overall usage.


Implement _check function for Issue #1

_check function added
A _check function was added to tackle issue #1 regarding code repetition.

Thank you for creating this project, it has helped me get started in the world of open source.
Best Regards


Losing messages

In Pade 1.3.1 with Converse 5.0.1 I'm losing messages (PMs). Factory reset doesn't solve this. In other XMPP clients the messages are still available.

Thanks for posting this issue :-)
Could you please paste an image of your conversation the next time it happens in order for me to confirm (from the time-stamps) if the messages are missing from the chat history stored in the Openfire monitoring plugin DB.
I am currently debugging a similar issue,  but in my case the messages were never saved in the DB.

What I see:   I chat and all seems good. I click refresh, and most recent messages do not re-appear.

Timeago doesn't help identifying when this happened. But it was yesterday (Monday) morning, say about 10h? Where the arrow appears, there should be a message from me announcing the release of tiki 20.1 and recruiting volunteer testers, to which Rodrigo Lozada replied.

What I see: I chat and all seems good. I click refresh, and most recent messages do not re-appear.

We still have an outstanding one2one chat history issue with openfire. MAM2 support is only provided for MUC. See @guusdk comment in https://github.com/igniterealtime/openfire-monitoring-plugin/issues/5

Timeago doesn't help identifying when this happened. But it was yesterday (Monday) morning, say about 10h? Where the arrow appears

Thanks. This helps a lot :-)

Looks like the message never got saved. As Rodrigo responded, I can only assume the message go to the server. Looks like it is an issue with monitoring plugin. I think I will create an issue there and reference this for the attention of @guusdk

Is there any kind of error in the logs around that time? I've previously seen a database error preventing a message from being stored in the archive.

I suspect this error was connected to the offline messaging issue on the server. I will reopen if it re-occurs


Qualify JS Code for unloading

What does this PR change?
This change clears the scene JavaScript code cache when memory is low.
How to test the changes?

Visit lots of scenes
Press the "low memory" button
See lower memory usage than without this change

The scenes visited must be the same for the comparison to be valid.
Our Code Review Standards
https://github.com/decentraland/unity-renderer/blob/master/docs/code-review-standards.md

I went for the dumbest possible solution to ensure I can get it in before Friday. Simply clear out the cache when cache cleaner runs. As far as I've tested it, it works fine, and nothing breaks.
 Why aren't we passing the raw byte stream straight into the V8 engine and caching the compiled result instead?


solve Broadcast cluster means that multiple machines will be called,  which is not converted to injvm protocol at this time.

What is the purpose of the change
solve Broadcast cluster means that multiple machines will be called,  which is not converted to injvm protocol at this time.
see more detail from #6842
Brief changelog
XXXXX
Verifying this change
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #7365 (64b3771) into master (a588723) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #7365      +/-   ##
============================================
- Coverage     58.64%   58.59%   -0.05%
+ Complexity      425      424       -1
============================================
  Files          1043     1043
  Lines         42482    42440      -42
  Branches       6217     6187      -30
============================================
- Hits          24914    24869      -45
- Misses        14780    14795      +15
+ Partials       2788     2776      -12

Impacted Files
Coverage Δ
Complexity Δ

...apache/dubbo/common/constants/CommonConstants.java
100.00% <ø> (ø)
0.00 <0.00> (ø)

...apache/dubbo/rpc/protocol/injvm/InjvmProtocol.java
77.77% <0.00%> (-4.58%)
0.00 <0.00> (ø)

...bbo/common/bytecode/CustomizedLoaderClassPath.java
28.00% <0.00%> (-16.00%)
0.00% <0.00%> (ø%)

.../apache/dubbo/rpc/protocol/AsyncToSyncInvoker.java
62.06% <0.00%> (-10.35%)
0.00% <0.00%> (ø%)

...mmon/threadpool/support/fixed/FixedThreadPool.java
80.00% <0.00%> (-7.50%)
0.00% <0.00%> (ø%)

...ng/transport/dispatcher/all/AllChannelHandler.java
82.75% <0.00%> (-6.90%)
0.00% <0.00%> (ø%)

...moting/transport/netty4/NettyEventLoopFactory.java
30.00% <0.00%> (-6.37%)
0.00% <0.00%> (ø%)

.../threadpool/support/limited/LimitedThreadPool.java
83.33% <0.00%> (-5.56%)
0.00% <0.00%> (ø%)

...on/threadpool/support/cached/CachedThreadPool.java
85.71% <0.00%> (-4.29%)
0.00% <0.00%> (ø%)

...dubbo/remoting/exchange/support/DefaultFuture.java
84.07% <0.00%> (-3.97%)
0.00% <0.00%> (ø%)

... and 29 more

Continue to review full report at Codecov.

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


Add support to EnumerateNamedStreams for Mirror Example

For some reason, rawStreamNameLength is 1/2 its real size.
Because of that, I had to put the stream name twice.

Looks already better ! but try to use nuget packages.

I have used a nuget package..
What should I include in my pull exactly? It's my first time and all.. I wanna do it right :\

@shlatchz No problem, the best would be to have only one commit for each pull request. Just commit the c# files and package.config file and do not include binaries.


Invalid Execution Transaction

Describe the bug
the initial zkp, you could call it the tx list validity zkp or something, is only checking if the list is all valid transactions. if one were to try to do a double spend they would just end up failing and spending twice. because they don’t get to propose the computed next state, the prover will do that and also submit a validity proof. a double spend can only happen on l1 if the attacker controls a majority of the validators and can come to consensus on a state transition which ends up giving the attacker some extra funds or something. the nonce let’s the executor of that txlist know which order to do the transactions in so it computes the state correctly. but the prover can’t lie and do some invalid execution it will always do valid execution otherwise the verifying the ZKP will fail
Steps to reproduce
Steps to reproduce here.
Additional context
Additional context here.

Hi @jipan76, I did not catch the principle of this attack, could you explain that if an attacker tries to conduct a double spending attack on L2, what should the attacker do?
If the attacker should control the majority validators of Ethereum, then this apparently is not an issue, because the security of L2 relies on Ethereum working correctly.

I don't think this is a valid attack vector, but I'd also like to learn more. Please feel free to reopen this issue if more information can be provided.


Could not parse path '//rc' - misleading log message when non-Cromwell caller

Describe the bug
Could not parse path '//rc'. error in the logs when a TES task is submitted from a non-Cromwell system
Steps to Reproduce
{"executors":[{"image":"ubuntu:22.04","command":["echo","hello"]}]}
Expected behavior
No log message for this scenario; we can assume it's a non-Cromwell system

This line is relevant to this issue: var cromwellRcContent = await this.storageAccessProvider.DownloadBlobAsync($"/{GetCromwellExecutionDirectoryPath(tesTask)}/rc");
So is this one: //TODO: refactor this to throw an exception instead of logging and error and returning null.
Please consider this: at this point, it would be a breaking change to simply start throwing exceptions from DefaultStorageAccessProvider.MapLocalPathToSasUrlAsync(), because too much code now depends on the current behavior. But, there's no reason throwing an exception couldn't be an opt-in, where the exception message would be what would have been logged. That way, the caller, who as the context to determine if this is something important or not, can make that determination.

@MattMcL4475 test to see if fixed in 4.6


Replace date-fns's formatDate with Intl.DateTimeFormat

Similar to the recent work to use Intl.NumberFormat instead of d3-format for formatNumber(), it would be great use Intl.DateTimeFormat instead of date-fns's format for formatDate

[ ] Add internationalization support
[ ] Add settings() support
[ ] Support existing PeriodType and variant (short/long)
[ ] Evaluate existing date-fns format() usage (sometimes aliased as dateFormat or formatDate) and possibly replace.  Might be difficult as these usually allow passing date format strings)

One day we might be able to replace date-fns with Temporal.  There is a polyfill but not sure it's worth investigating yet.
After formatting, there are a lot of date components (DateField, DatePickerField, DateRangeField, ... ) that would need updated for Intl support (maybe we just allow a global date format string (ex. MM/dd/yyyy) in settings() that we use for these types of use cases.

@jycouet An issue to track thoughts / discussions :)


Remove Resources/doc from components URLs

I have changed pull.py pull procedure to create symlings directly to Resources/doc folder.
See commit https://github.com/tautrimas/ongr-handbook/commit/54b8224209419c5c06d366b3ae6ed8c191330e35
This correctly changes the urls, all links should be fixed after that. However, if in the future we want to include code from repositories, this poses a problem, because no code is visible to sphinx.
We need to discuss this further.

Decision is to shorten the urls.


Tried your workaround, this is what I'm getting

selenium.common.exceptions.SessionNotCreatedException: Message: A new session could not be created. Details: Session capabilities format must comply to the W3C standard. Make sure your client is up to date. See https://www.w3.org/TR/webdriver/#new-session for more details.
Stacktrace:
SessionNotCreatedError: A new session could not be created. Details: Session capabilities format must comply to the W3C standard. Make sure your client is up to date. See https://www.w3.org/TR/webdriver/#new-session for more details.
    at makeNonW3cCapsError (C:\Users\User\AppData\Roaming\fnm\node-versions\v20.16.0\installation\node_modules\appium\lib\utils.js:32:10)
    at AppiumDriver.createSession (C:\Users\User\AppData\Roaming\fnm\node-versions\v20.16.0\installation\node_modules\appium\lib\appium.js:617:32)
    at runCommandPromise (C:\Users\User\AppData\Roaming\fnm\node-versions\v20.16.0\installation\node_modules\appium\node_modules\@appium\base-driver\lib\basedriver\driver.ts:115:20)
    at AppiumDriver.executeCommand (C:\Users\User\AppData\Roaming\fnm\node-versions\v20.16.0\installation\node_modules\appium\node_modules\@appium\base-driver\lib\basedriver\driver.ts:149:15)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at defaultBehavior (C:\Users\User\AppData\Roaming\fnm\node-versions\v20.16.0\installation\node_modules\appium\lib\appium.js:1119:16)
    at AppiumDriver.executeWrappedCommand (C:\Users\User\AppData\Roaming\fnm\node-versions\v20.16.0\installation\node_modules\appium\lib\appium.js:1229:16)
    at AppiumDriver.executeCommand (C:\Users\User\AppData\Roaming\fnm\node-versions\v20.16.0\installation\node_modules\appium\lib\appium.js:1135:17)
    at asyncHandler (C:\Users\User\AppData\Roaming\fnm\node-versions\v20.16.0\installation\node_modules\appium\node_modules\@appium\base-driver\lib\protocol\protocol.js:387:19)

All I really did was separately install appium that I apparently didn't have before. Maybe there's something else I forgot to do?

UPD: had Appium running instead of WinAppDriver.
Run WinAppDriver, not appium.


Credit line review

Few gas cost optimizations in the credit line contract.

Codecov Report

Merging #313 (a9444d3) into master (5876e0d) will increase coverage by 0.13%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #313      +/-   ##
==========================================
+ Coverage   36.72%   36.86%   +0.13%
==========================================
  Files          22       22
  Lines        1868     1861       -7
  Branches      296      294       -2
==========================================
  Hits          686      686
+ Misses       1182     1175       -7

Impacted Files
Coverage Δ

contracts/CreditLine/CreditLine.sol
10.67% <0.00%> (+0.22%)
:arrow_up:

Continue to review full report at Codecov.

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


Customizable "EmojiPicker" icon

Add another prop to the EmojiPicker Component to allow users to choose their own "Picker" emoji, as currently it's an hardcoded "+".
Optional: If it doesn't increase size over 1kb, add the possibility to pass svgs

Done with #9

Done with #9


Allows to use IAvaloniaObjects where a IControl is currently required

#86

I believe this is what I did as part of #220? @JaggerJo are we missing any other part or can we close this PR? 😃


Bump Eirini source so that it uses k8s metrics server

Hi!
There were some changes that went into the eirini master branch very recently that replace the use of heapster with the k8s-built-in metrics server. Heapster has been deprecated, so this bit of code will make metrics collection work on newer k8s versions.
Could you please bump the Eirini submodule to this commit https://github.com/cloudfoundry-incubator/eirini/commit/c745c4755a04be11aa571dbf19905dec56ead92d or later?
Note: I've submitted a PR that also includes a bump of the Eirini submodule, but that bump is farther in the past than the metrics server work. If you don't have any problems with the PR, you may want to merge that in before bumping the Eirini submodule.
Thanks!
Jen

This is outdated now, closing. :)


Problem with Stress layout

I'm moving from Plot's GraphRecipies to GraphMakie.jl. GraphRecipies uses the Stress layout from NetworkLayout.jl as default. Here is an example of one of the graphs I'm trying to port.
plt = graphplot(g,
                nodeshape=nodeshapes,
                curves=false,
                nodecolor=nodecolors,
                nodeweights=nodeweights, # TODO: nodeweights are buggy in GraphRecipes
                nodesize=nodesize,
                size=plotsize,
                names=nodelabels,
                edgelabel=edgelabels,
                linecolor=:black,
                linealpha=0.5,
              )

and here is the same example ported to GraphMakie.jl also using the Stress layout from NetworkLayout.jl:
graphplot!(ax, g,
           layout = GraphMakie.NetworkLayout.Stress(seed=4),
           # layout = GraphMakie.NetworkLayout.Spring(C=1, seed=7),
           # layout = GraphMakie.NetworkLayout.Spectral(),
           nlabels = repr.(1:nv(g)),
           nlabels_align = (:center,:center),
           nlabels_color = :white,
           nlabels_textsize = 14 * scale,
           node_marker = :circle,
           node_size = 40 * scale,
           node_color=nodecolors,
          )

which, as you can see, is not as nicely laid out as with GraphRecipes. In theory, the layout should be the same since both packages rely on NetwrokLayout.jl. Would you know why this difference? I've played around with the parameters iterations, abstols, and reltols but the results are all very similar to the plot above.

It seems like what they call :stress refers to another function by_axis_local_stress_graph which is not taken from NetworkLayout.
I am not sure how those two relate as I am not familiar with the inner workings of the Spring layout. But they reference "section 2.3 from http://link.springer.com/chapter/10.1007%2F978-3-540-31843-9_25#page-1" as a source. It would be cool to add that to NetworkLayout.

In case you're interested: here is a quick&dirty port of those functions for GraphMakie.
using Pkg
Pkg.activate(temp=true)
Pkg.add("GLMakie")
Pkg.add("LightGraphs")
Pkg.add("GraphMakie")

using GLMakie
using LightGraphs
using GraphMakie
using GraphMakie.NetworkLayout
using SparseArrays

adj_matrix = [0 1 1 0 0 0 0 0 0 0;
              0 0 0 0 1 1 0 0 0 0;
              0 0 0 1 0 0 1 0 1 0;
              0 0 0 0 0 0 0 0 0 0;
              0 0 0 0 0 0 0 1 0 1;
              0 0 0 0 0 0 0 0 0 0;
              0 0 0 0 0 0 0 0 0 0;
              0 0 0 0 0 0 0 0 0 0;
              0 0 0 0 0 0 0 0 0 0;
              0 0 0 0 0 0 0 0 0 0]

g = SimpleGraph(SimpleDiGraph(adj_matrix))
graphplot(g; layout=Stress())

# code copied and adapted from GraphRecipes
# https://github.com/JuliaPlots/GraphRecipes.jl/blob/5559436a981089eb842f4c7b7a96a4dbf9abe466/src/graph_layouts.jl#L157-L204
function by_axis_local_stress_graph(g)
    adjmat = adjacency_matrix(g)

    # parameters
    node_weights = ones(size(adjmat,1))
    dim = 2
    free_dims = 1:dim
    x = rand(length(node_weights))
    y = rand(length(node_weights))
    z = rand(length(node_weights))
    maxiter = 1000

    n = length(node_weights)

    # graph-theoretical distance between node i and j (i.e. shortest path distance)
    # TODO: calculate a real distance
    dist = estimate_distance(adjmat)
    # @show dist

    # also known as kᵢⱼ in "axis-by-axis stress minimization".  the -2 could also be 0 or -1?
    w = dist .^ -2

    # in each iteration, we update one dimension/node at a time, reducing the total stress with each update
    X = dim == 2 ? (x, y) : (x, y, z)
    laststress = stressf(X, dist, w)
    for k in 1:maxiter
        for p in free_dims
            for i=1:n
                numer, denom = 0.0, 0.0
                for j=1:n
                    i==j && continue
                    numer += w[i,j] * (X[p][j] + dist[i,j] * (X[p][i] - X[p][j]) / norm_ij(X, i, j))
                    denom += w[i,j]
                end
                if denom != 0
                    X[p][i] = numer / denom
                end
            end
        end

        # check for convergence of the total stress
        thisstress = stressf(X, dist, w)
        if abs(thisstress - laststress) / abs(laststress) < 1e-6
            # info("converged. numiter=$k last=$laststress this=$thisstress")
            break
        end
        laststress = thisstress
    end

    GraphMakie.Pointf.(zip(X...))
end

function estimate_distance(adjmat::AbstractMatrix)
    g = LightGraphs.Graph(adjmat)
    dists = convert(Matrix{Float64}, hcat(map(i->LightGraphs.dijkstra_shortest_paths(g, i).dists, LightGraphs.vertices(g))...))
    tot = 0.0; cnt = 0
    for (i,d) in enumerate(dists)
        if d < 1e10
            tot += d
            cnt += 1
        end
    end
    avg = cnt > 0 ? tot / cnt : 1.0
    for (i,d) in enumerate(dists)
        if d > 1e10
            dists[i] = 3avg
        end
    end
    dists
end

norm_ij(X, i, j) = sqrt(sum(Float64[(v[i]-v[j])^2 for v in X]))
stressf(X, dist, w, i, j) = w[i,j] * (norm_ij(X, i, j) - dist[i,j])^2
function stressf(X, dist, w)
    tot = 0.0
    for i=1:size(X,1), j=1:i-1
        tot += stressf(X, dist, w, i, j)
    end
    tot
end

graphplot(g; layout=by_axis_local_stress_graph)

I figured it was better to move this to NetworkLayout.jl https://github.com/JuliaGraphs/NetworkLayout.jl/issues/39. I'll close this for now.


Ly not showing up/Login fails

Hey there,
I've been experiencing some issues with ly not showing up on boot and redirecting me to tty.
I've made sure to enable the ly service and reboot, no luck though.
When running it via sudo ly or sudo systemctl start ly and logging in, nothing happens at all - There's just this in the service logs:
Not a user managed by systemd-homed: No home for user <user>
Session opened for user <user>
Deprecated reading of user environment enabled

What is going on - Why does it not work?
Am I doing something wrong?
Thanks!
EDIT: I am running manjaro arm

It's most likely that ARM isn't fully supported yet. I don't own an ARM machine so we would likely need more information, if there is. (Maybe it's because I don't know much about ARM too lol)


linear runtime python solution for 128. Longest consecutive sequence

File(s) Modified: 128. Longest consecutive sequence
Language(s) Used: python3
Submission URL: _https://leetcode.com/submissions/detail/767644436/_

Despite the first solution's nested loops, I believe both are linear. Any items that are iterated through in the nested while loop are skipped in the outer for loop.
numSet = set(nums)
longest = 0

for n in nums:
    # check if its the start of a sequence
    if (n - 1) not in numSet:
        length = 1
        while (n + length) in numSet: # if n + length is in numSet then n + length - 1 is also in numSet
            length += 1
        longest = max(length, longest)
return longest


TraceCPU broken after multi-ISA addition

Describe the bug
As reported by Kashish Mittal in a gem5 slack thread, it is currently not possible to replay elastic traces from the TraceCPU.
It is evident from the error message and from a quick investigation that the problem is the lack of definition of the architectural classes a BaseCPU requires:

ArchDecoder
ArchMMU
ArchInterrupts
ArchISA

These were originally (when the TraceCPU was written) set at compile time with the TARGET_ISA variable; therefore the TraceCPU was automatically inheriting them from the BaseCPU. Now the BaseCPU does not set them anymore, and it requires those ISA classes to be set from the child CPU classes:
class ArmCPU:
    ArchDecoder = ArmDecoder
    ArchMMU = ArmMMU
    ArchInterrupts = ArmInterrupts
    ArchISA = ArmISA

https://github.com/gem5/gem5/blob/stable/src/arch/arm/ArmCPU.py#L40
The TraceCPU has not been updated with such logic therefore any trace replay attempt produces the following error:
command line: build/ARM/gem5.opt -d bzip_10Minsts_replay configs/example/etrace_replay.py --cpu-type=TraceCPU --caches --data-trace-file=bzip_10Minsts/deptrace.proto.gz --inst-trace-file=bzip_10Minsts/fetchtrace.proto.gz --mem-size=4GB

warn: The `get_runtime_isa` function is deprecated. Please migrate away from using this function.
AttributeError: object 'TraceCPU' has no attribute 'ArchMMU'
  (C++ object is not yet constructed, so wrapped C++ methods are unavailable.)

At:
  src/python/m5/SimObject.py(847): __getattr__
  src/cpu/BaseCPU.py(303): __init__
  configs/example/etrace_replay.py(79): <module>
  src/python/m5/main.py(629): main

Affects version
v22.1, v23.0

Fixed by #302


Fix signup button in footer(home page)

I want to Fix signup button in footer under JWOC.
sign up button is not working.

That is actually working , i fixed it.
The changes are not yet pushed so it's not visible.


BUG fixes range of pk variable pre-check

closes #9564
I applied pre-check for pk range.
previously pk is only checked by summation value (np.sum(pk) == 1.0).
In this feature, pk is checked by not only summation value but also each parameter range(0<pk<1).
Please review this PR.

Going to close, reopen to see if azure triggers.

Yep, there is goes.

All requests is reflected.

test failures look unrelated to the change, see also issue #9595.
however, the current approach does not work for multi-dimensional input such as pk = np.arange(15).reshape((3, 5)).
Maybe np.greater_equal(pk, 0).all()?

Yes! I did not notice that.
The input variable is an array-like, but I only check a python array.
I will fix that. Thanks @chrisb83

Thanks, addding a unit test would be great.

Sure, No problem @chrisb83 .
I will follow a unit test including a multi-dimension (xk, pk) cases.

@chrisb83 Test case is implemented in test_distributions.py.

@charris requested items are fixed(shorter test, exact test case).
Please review this commit. :)

@ilayn hi, if your comments are addressed, feel free to merge.

Thanks @akahard2dj @chrisb83


Missing icon for golang

I would like to have a golang icon in addition to the existing ones for filenames in code blocks (like markdown and javascript).

PR welcome 👍


x/tools/cmd/goimports: error "root package %s is missing"

What version of Go are you using (go version)?

$ go version
go version go1.11.4 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="~/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="~/Dev/go"
GOPROXY=""
GORACE=""
GOROOT="~/.gimme/versions/go1.11.4.linux.amd64"
GOTMPDIR=""
GOTOOLDIR="~/.gimme/versions/go1.11.4.linux.amd64/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="~/Desktop/test/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build909428892=/tmp/go-build -gno-record-gcc-switches"

What did you do?

goimports built from HEAD:x/tools
Run against: https://gist.github.com/thatguystone/0ce7246431ace4c03a7ae82400ed9050

~ $ git clone git@gist.github.com:0ce7246431ace4c03a7ae82400ed9050.git
Cloning into '0ce7246431ace4c03a7ae82400ed9050'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 4 (delta 0), reused 0 (delta 0), pack-reused 0
Receiving objects: 100% (4/4), done.
~ $ cd 0ce7246431ace4c03a7ae82400ed9050/
0ce7246431ace4c03a7ae82400ed9050 $ goimports -w .
root package strings is missing

What did you expect to see?
goimports should do nothing. If I rm go.mod, it works correctly (in that it doesn't report an error).
What did you see instead?
goimports prints "root package strings is missing" and exits with status 2.
This seems to be a bug introduced from @heschik's fix for #27287.

I won't be able to try your repro today but I suspect this is an issue with your Go installation. Can you set GOPACKAGESPRINTGOLISTERRORS=1 and attach the output?

Here it is:
$ GOPACKAGESPRINTGOLISTERRORS=1 goimports -w .
GOROOT=~/.gimme/versions/go1.11.4.linux.amd64 GOPATH=~/Dev/go GO111MODULE= PWD=~/Desktop/0ce7246431ace4c03a7ae82400ed9050 go [list -e -json -compiled -test=false -export=true -deps=true -- strings .] stderr: <<# github.com/thatguystone/foo
./foo.go:4:9: undefined: strings
>>
root package strings is missing```

Weird. I can't reproduce the problem, so I still think this is an issue with your installation of Go. But I'm not sure what it is.
Can you try running the command printed on the first line there? It should pretty much work if you strip the brackets off the arguments. We're expecting json output that doesn't include an entry for "strings" for some reason. It might also be interesting to run go install std to see if something weird happens there.
@matloob, @ianthehat in case they have any clue.

+1 on heschi's suggestion. I'm curious what the following command produces:
GOROOT=~/.gimme/versions/go1.11.4.linux.amd64 GOPATH=~/Dev/go GO111MODULE= PWD=~/Desktop/0ce7246431ace4c03a7ae82400ed9050 go list -e -json -compiled -test=false -export=true -deps=true -- strings .

Could you give us some information about what "gimme" is? If it's having trouble finding a standard library package, my guess is that it has to do with your GOROOT.

I dug into this a bit more, and it looks this happens when there's another package named "strings". I've updated the test case with a dependency that has such a package.
0ce7246431ace4c03a7ae82400ed9050 $ mkdir ../go
0ce7246431ace4c03a7ae82400ed9050 $ export GOPATH=`pwd`/../go
0ce7246431ace4c03a7ae82400ed9050 $ go mod tidy
go: finding github.com/gobwas/glob v0.2.3
go: downloading github.com/gobwas/glob v0.2.3
0ce7246431ace4c03a7ae82400ed9050 $ goimports -w foo.go
root package strings is missing

If I remove the dependency from foo.go, the problem doesn't go away.
0ce7246431ace4c03a7ae82400ed9050 $ cat go.mod
module github.com/thatguystone/foo

require github.com/gobwas/glob v0.2.3
0ce7246431ace4c03a7ae82400ed9050 $ go mod tidy
0ce7246431ace4c03a7ae82400ed9050 $ cat go.mod
module github.com/thatguystone/foo
0ce7246431ace4c03a7ae82400ed9050 $ goimports -w foo.go
root package strings is missing

If I actually remove the package from the cache, then it works:
0ce7246431ace4c03a7ae82400ed9050 $ chmod u+rw -R ../go/pkg/mod/github.com/gobwas/
0ce7246431ace4c03a7ae82400ed9050 $ rm -rf !$
rm -rf ../go/pkg/mod/github.com/gobwas/
0ce7246431ace4c03a7ae82400ed9050 $ goimports -w foo.go

@heschik

Can you try running the command printed on the first line there? It should pretty much work if you strip the brackets off the arguments. We're expecting json output that doesn't include an entry for "strings" for some reason.

Output here: https://gist.github.com/thatguystone/0ce7246431ace4c03a7ae82400ed9050#file-golist-json

It might also be interesting to run go install std to see if something weird happens there.

Nothing weird happened there: it exited with status 0 and printed nothing.
@matloob

Could you give us some information about what "gimme" is? If it's having trouble finding a standard library package, my guess is that it has to do with your GOROOT.

gimme is the tool travis-ci uses to switch go versions for builds (https://github.com/travis-ci/gimme/)

Thanks for the excellent repro. I understand the problem now. It's a pretty simple bug in the guts of go/packages when a query finds the same package through multiple paths, in this case both via a module  dependency and a module cache scan. Not sure how our tests missed this.
Anyway, I should have a CL soon, probably tomorrow.


no lonely x-ms-enum

fixes https://github.com/Azure/autorest/issues/2674

🤖 AutoRest automatic publish job 🤖
> will publish once PR gets merged


SSH URL parse issue when using Azure DevOps Git source

Attempting to add a git source to an Azure DevOps repository using ssh results invalid port ":v3" after host.
$> flux create source git flux-system \
  --url=ssh://git@ssh.dev.azure.com:v3/example/personal/fluxv2 \
  --ssh-key-algorithm=rsa \
  --branch=master \
  --interval=1m \
  --git-implementation=libgit2
✗ git URL parse failed: parse "ssh://git@ssh.dev.azure.com:v3/example/personal/fluxv2": invalid port ":v3" after host

check out the docs https://toolkit.fluxcd.io/guides/installation/#generic-git-server
TLDR: it’s ssh.dev.azure.com/v3

Thanks for the quick response and apologies for not spotting this in the documentation.
I read the documentation a couple of weeks ago prior to the Add git2go option to enable Azure DevOps pull request.  My mistake was only searching the GitHub organization and fluxcd.io documentation after it was merged.  In both cases the searches including invalid port ":v3" after host or dev.azure.com etc didn't appear to return anything.  Oddly fluxcd.io documentation search does return something if you search for ssh.dev.azure.com.
All sorted now though thanks to your help.

Odd I see this search result:

In both cases the searches including "invalid port ":v3" after host" or "dev.azure.com" etc didn't appear to return anything. Oddly fluxcd.io documentation search does return something if you search for "ssh.dev.azure.com".

In an effort to understand how I'd missed the relevant documentation this morning I was playing around with my search terms and realised dev.azure.com doesn't return any results despite being a substring of ssh.dev.azure.com which does.


ipmiutil: 3.1.2 -> 3.1.3

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ipmiutil/versions.
meta.description for ipmiutil is: '"An easy-to-use IPMI server management utility"'.

Checks done (click to expand)

built on NixOS
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/ipmiutil had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/ievents had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/idiscover had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/ialarms had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/icmd had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/iconfig had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/ifirewall had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/ifru had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/ifwum had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/igetevent had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/ihealth had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/ihpm had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/ilan had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/ipicmg had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/ipmi_port had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/ireset had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/isel had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/iseltime had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/isensor had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/iserial had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/isol had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/iuser had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin/iwdt had a zero exit code or showed the expected version
0 of 23 passed binary check by having a zero exit code.
0 of 23 passed binary check by having the new version present in output.
directory tree listing: https://gist.github.com/0246ad4cb75264372df53caf43674bf9
du listing: https://gist.github.com/915d437e089d4230eb09c5f955be31e3

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

Install cachix from https://cachix.org/
Use r-ryantm's cache:cachix use r-ryantm

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/f9ec698fa9bb81a241e5e6857b1e2fae7d1d9285.tar.gz -p ipmiutil
ls -la /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3

cc @7c6f434c for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: ipmiutil
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: ipmiutil
Partial log (click to expand)
/nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/sbin/ialarms: interpreter directive changed from "/bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
/nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/sbin/ifirewall: interpreter directive changed from "/bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
/nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/sbin/ireset: interpreter directive changed from "/bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
/nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/sbin/igetevent: interpreter directive changed from "/bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
/nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/sbin/iuser: interpreter directive changed from "/bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
/nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/sbin/isensor: interpreter directive changed from "/bin/sh" to "/nix/store/nii7pk6pv4x4as7vsxbvwyzjn67vax6r-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3...
moving /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/sbin/* to /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/bin
moving /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/lib64/* to /nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3/lib
/nix/store/pg2n3lkhfwn34kgv349x1h3xngziysb0-ipmiutil-3.1.3

Success on aarch64-linux (full log)
Attempted: ipmiutil
Partial log (click to expand)
/nix/store/11z94my3zqj0lszp4m1wgsnd8i0dbv9s-ipmiutil-3.1.3/share/ipmiutil/ipmi_info: interpreter directive changed from " /bin/sh" to "/nix/store/017xymp5i03qzigafnfx7sgf6602gmzq-bash-4.4-p23/bin/sh"
/nix/store/11z94my3zqj0lszp4m1wgsnd8i0dbv9s-ipmiutil-3.1.3/share/ipmiutil/ipmi_port: interpreter directive changed from " /bin/sh" to "/nix/store/017xymp5i03qzigafnfx7sgf6602gmzq-bash-4.4-p23/bin/sh"
/nix/store/11z94my3zqj0lszp4m1wgsnd8i0dbv9s-ipmiutil-3.1.3/share/ipmiutil/ipmiutil_evt: interpreter directive changed from " /bin/sh" to "/nix/store/017xymp5i03qzigafnfx7sgf6602gmzq-bash-4.4-p23/bin/sh"
/nix/store/11z94my3zqj0lszp4m1wgsnd8i0dbv9s-ipmiutil-3.1.3/share/ipmiutil/ipmiutil_asy: interpreter directive changed from " /bin/sh" to "/nix/store/017xymp5i03qzigafnfx7sgf6602gmzq-bash-4.4-p23/bin/sh"
/nix/store/11z94my3zqj0lszp4m1wgsnd8i0dbv9s-ipmiutil-3.1.3/share/ipmiutil/ipmiutil_wdt: interpreter directive changed from " /bin/sh" to "/nix/store/017xymp5i03qzigafnfx7sgf6602gmzq-bash-4.4-p23/bin/sh"
/nix/store/11z94my3zqj0lszp4m1wgsnd8i0dbv9s-ipmiutil-3.1.3/share/ipmiutil/evt.sh: interpreter directive changed from "/bin/sh" to "/nix/store/017xymp5i03qzigafnfx7sgf6602gmzq-bash-4.4-p23/bin/sh"
/nix/store/11z94my3zqj0lszp4m1wgsnd8i0dbv9s-ipmiutil-3.1.3/share/ipmiutil/ipmi_if.sh: interpreter directive changed from "/bin/sh" to "/nix/store/017xymp5i03qzigafnfx7sgf6602gmzq-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/11z94my3zqj0lszp4m1wgsnd8i0dbv9s-ipmiutil-3.1.3...
moving /nix/store/11z94my3zqj0lszp4m1wgsnd8i0dbv9s-ipmiutil-3.1.3/sbin/* to /nix/store/11z94my3zqj0lszp4m1wgsnd8i0dbv9s-ipmiutil-3.1.3/bin
/nix/store/11z94my3zqj0lszp4m1wgsnd8i0dbv9s-ipmiutil-3.1.3


New postprocessing for u usage

in this pr the movement from the Z Axis during drawing is changed to U Axis.
Speeds and Accelerations adjusted.
Macros updated.

ok


Removed the link to performance monitoring configuration from dashboard

What type of PR is this?
/kind enhancement
What this PR does / why we need it:
This PR removes the links to the performance metric collection configuration screens.
The performance metrics collection configuration is now implicitly done at the time of device registration in Delfin.
The user does not have to manually configure a device to collect performance metrics.
Which issue(s) this PR fixes:
Fixes #529
Test Report Added?:
/kind TESTED
Test Report:

Special notes for your reviewer:

LGTM . Please hold this till we merge all related  backend changes in delfin

@NajmudheenCT I have added the on hold label. Please remove it when the connected PRs from delfin are merged


HA Direct stack Improvements

### Work items
- [ ] QuorumReader: Support 2-replica state
- [ ] LeaseLost: Force cross region retry immediately
- [ ] 429/3092: Force cross region retry
- [ ] 408 (Reads): Force cross region retry
- [ ] 404/1002: Bail fast in local region
- [ ] MM: Improvements

Related: #4702


Target renamed main branch for precommit workflow

Looks like this was missed when your main branch was renamed from master, which might be why the syntax error from a previous PR was missed.

Ah, TYSM.


open database.db file in my PC with Ubuntu 18 v

Hi every one
I was unable to open the database.db file in my system with Ubuntu v 18  can any one clear this doubt
Thanks in advance...
Happy Codding....

Please shed more light on your problem.
How have you tried to open the database ?
Are you opening via a script or a gui program ?
What problems are being triggered by this issue ?

I frequently use this tool to access various databases such as Sqlite: https://sqlectron.github.io/


linear gradient without EXPO | feature

I am not using expo in my native application, and I need to add it as a dependency for linear gradient.
Can we add support also for the native version?
react-native-linear-gradient
Something similar did native base for their linear gradient.
https://docs.nativebase.io/3.0.x/box#h3-with-linear-gradient
@expo/media-query is a standalone package which is fine because it is not based on the whole expo ecosystem.

The expo package is super small, but open to a PR if we can test it thoroughly to change again. This area churned a lot because expo linear gradient has tons of weirdness so I'm wary of changing again.


documentation enhancements - instructions to install us_crime and airline_flights

Add to the documenation for "Getting Started", that to get the us_crime and airline_flights catalogues you have to install the packages with: conda install -c intake us_crime airline_flights.  Then to load them, I had to use crime = intake.Catalog('[direct path to yaml file]'), instead of intake.cat.us_crime.read() which gave me a KeyError.  Once loaded, I got the dataframe by calling crime.us_crime.read().  Similar process was used to load the flights dataframe.

Thanks, it's unclear to me why intake.cat.us_crime.read() doesn't work, but I'm considering replacing the intake dependency in the docs entirely.


Send headers with auth getAccessToken requests

Fix for issue #254

Coverage increased (+0.0%) to 99.82% when pulling e73c7ac6413c97b78e31b8d1b72365334c42605d on bajb:master into 693025806a1e4c2456549cc50d28a52bdba19d6b on thephpleague:master.

Coverage increased (+0.0%) to 99.82% when pulling e73c7ac6413c97b78e31b8d1b72365334c42605d on bajb:master into 693025806a1e4c2456549cc50d28a52bdba19d6b on thephpleague:master.

Coverage increased (+0.0%) to 99.82% when pulling e73c7ac6413c97b78e31b8d1b72365334c42605d on bajb:master into 693025806a1e4c2456549cc50d28a52bdba19d6b on thephpleague:master.


Cloud Dns Propogation Failed

Cert Manager is saying cloud dns propagation failed
E0412 07:26:52.768374       1 sync.go:186] cert-manager/challenges "msg"="propagation check failed" "error"="DNS record for \"vareniyam.me\" not yet propagated" "dnsName"="vareniyam.me" "resource_kind"="Challenge" "resource_name"="my-quickstart-example-tls12-tmmvx-3876323966-2883862466" "resource_namespace"="default" "resource_version"="v1" "type"="DNS-01"

but clearly it has propagated and correctly points to clouddns _acme-challenge txt record.
 dig -t txt _acme-challenge.vareniyam.me
Output:

; <<>> DiG 9.16.1-Ubuntu <<>> -t txt _acme-challenge.vareniyam.me
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17677
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;_acme-challenge.vareniyam.me.  IN      TXT

;; ANSWER SECTION:
_acme-challenge.vareniyam.me. 60 IN     TXT     "qMLxuBHkTQjzz0sFouhOO80eHkjQoqyMMlQm-jAnohg"

;; Query time: 347 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Tue Apr 12 12:58:20 IST 2022
;; MSG SIZE  rcvd: 113

I am using google kubernetes engine is txt record checking failing due to firewall?

No issuee working

Hi, from your last comment it seems this has been resolved. Is that correct @omkar111111 ?

yes.


Java Toolchain auto-provisioning fails with permission errors

Could not determine the dependencies of null.
> Could not resolve all dependencies for configuration ':classpath'.
  > Failed to calculate the value of task ':build-logic:lifecycle:compileJava' property 'javaCompiler'.
    > Unable to download toolchain matching the requirements ({languageVersion=11, vendor=ADOPTIUM, implementation=vendor-specific}) from 'https://api.adoptium.net/v3/binary/latest/11/ga/mac/aarch64/jdk/hotspot/normal/eclipse'.
      > Could not copy file '/Users/guy/.gradle/jdks/OpenJDK11U-jdk_aarch64_mac_hotspot_11/jdk-11.0.17+8/Contents/Home/legal/java.management.rmi/LICENSE' to '/Users/guy/.gradle/jdks/eclipse_adoptium-11-aarch64-os_x/jdk-11.0.17+8/Contents/Home/legal/java.management.rmi/LICENSE'.
        > /Users/guy/.gradle/jdks/eclipse_adoptium-11-aarch64-os_x/jdk-11.0.17+8/Contents/Home/legal/java.management.rmi/LICENSE (Permission denied)

Suspicion is that it happens when there is already content in the folder where we attempt to install it.

@jbartok I've come across this issue as well, in a multiproject build where some projects use the same toolchain requirement. It looks to me like the toolchain engine doesn't propagate the fact that a JDK was just installed by one project, when another project is trying to query for it.

This reproduces the issue 100%. gradle-issue-22803-jdk-provisioning.zip
Please see the README.md in the archive for how to run the build.

I should add that it seems to affect Gradle 7.6. I just tested it with Gradle 8.0 RC 2 and it works as intended there.

Should be fixed in the upcoming 7.6.1 version.

Cool! If the reproducer doesn't fail in 7.6.1 I'd agree :)


Updated s3_copy.sh: csp changes

Closing as this PR in favour of https://github.com/project-sunbird/sunbird-content-plugins/pull/761

Please close this PR in favour of https://github.com/project-sunbird/sunbird-content-plugins/pull/761