DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_47ece677-cef2-4ba7-b8b5-c7b277b74d06/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_47ece677-cef2-4ba7-b8b5-c7b277b74d06.git

Docs Build status updates of commit db51710:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


sbin/ermrest-registry-manage is broken

This script has been broken by changes sometime in the past year or so. At this point we should evaluate it and decide to either fix it or drop it.

I think we should drop any scripts which have a REST interface
equivalents.  I'd also drop all the associated wrapper functions
at the top-level ermrest module.


MM-30810 Remove special props from /me post

Originally, /me posts were just styled by adding asterisks to force them to become italic, but we wanted to change how they were formatted, so we stored the non-formatted message in props to allow the client to do its formatting. We still needed the Post.Message to be wrapped in asterisks for compatibility with mobile and other clients.
That ended up causing problems because editing the post would only change the Post.Message without changing the copy in the props, so instead of trying to manage two copies of the post, we're just going to have the web app remove the asterisks from the message.
Ticket Link
https://mattermost.atlassian.net/browse/MM-30810
Related Pull Requests
https://github.com/mattermost/mattermost-server/pull/16456

Merging this for now without the server changes. They're only needed to remove the post prop that's no longer used.


1.5x scaling is rounded up to 2x on Windows

Hi,
On Windows with 150% scaling, the app is rendered at 200% instead of 150%.
For Qt 5.15 please set QT_SCALE_FACTOR_ROUNDING_POLICY=Passthrough. It can be done in main.cpp via QApplication QGuiApplication::highDpiScaleFactorRoundingPolicy().
This will stop the 1.5 scale factor being rounded to 2
If this env var is set then Gittyup does look good at 150% rendering.

Hi @mappu can you provide a MR for this?


fix #4 setup_comp() to install packages on non-kaggle platforms

Not final.  Work in progress submitted for inital discussion, first about how this fits in with the philosphy of the package.  It addresses a personal view that its useful for setup_comp() to maintain install packages for non-kaggle platforms, but there may be counter arguments. Regardless, its also practice with the contribution process.
Considering the style guide advice on using shorter variable names, I recognise mine might be longish, but I'll see what the feedback is.
nbdev_update_lib ran okay, but nbdev_test_nbs is producing the following error, which btw is pre-existing in the original clone.
An error occurred while executing the following cell:
------------------
api = import_kaggle()
L(api.competitions_list())
------------------

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
Input In [6], in <cell line: 2>()
      1 api = import_kaggle()
----> 2 L(api.competitions_list())

NameError: name 'L' is not defined
NameError: name 'L' is not defined

Traceback (most recent call last):
  File "/home/ben/mambaforge/bin/nbdev_test_nbs", line 10, in <module>
    sys.exit(nbdev_test_nbs())
  File "/home/ben/mambaforge/lib/python3.9/site-packages/fastcore/script.py", line 113, in _f
    tfunc(**merge(args, args_from_prog(func, xtra)))
  File "/home/ben/mambaforge/lib/python3.9/site-packages/nbdev/test.py", line 122, in nbdev_test_nbs
    raise Exception(msg + '\n'.join([f.name for p,f in zip(passed,files) if not p]))
Exception: The following notebooks failed:
00_core.ipynb

btw, its really hard to google a single letter like "L" to identify which package I need to import to get it.  I gave up after dozen tries.  This is running on my home laptop.
Some dev process queries:

I see stuff like "\u001b[0;32mIn [6]\u001b[0m" in the raw diff.  Is this something I need to/able to clean up?

I don't know why # %% ../00_core.ipynb 5 converted to simple Cell?

Is that github-notebook-diff setp up in this repo?  I can't remember where to look for it - is it not here or do I need to hunt further. {EDIT: Ah, there it is, after PR is created]

How significant is the newline dropped at end of file?  Not sure how that happened.

What is the view on output verbosity?  I've tried to provide enough to help a user know what versions end up installed on disk and active in memory, to help self-diagnose issues.  I find the most troublesome issues are when my belief that something happened, when it did not.  Here is sample output from the two test cases...

require fastcore < 1.4.5
  found 1.4.5, installing... installed 1.4.4, active 1.4.1
require fastcore == 1.4.5
  found 1.4.4, installing... installed 1.4.5, active 1.4.1

In this case we can see "active" lags, indicating a kernel restart is required.

Is the os.system(f'pip install...) preferred over !pip install... mainly to keep the pink highlighted guff out of sight, or is there additional benefit?

I consisdered using importlib.reload(__import__(pkg)) to auto-update the loaded active package, but wasn't sure if that was a step too far.

This is my first time using importlib & pkg_resources or doing any kind of python module management, so I will understand if using them like this is not appropriate.

Closing. Jeremy advised this doesn't fit the intent of the function.


Websocket support

I've merged in all latest changes and added a working example for subscriptions. Can you review so we can merge this one and release it? I haven't updated the version number of this one yet I believe.

graphql-java-servlet needs to be merged (and released) first before this one can successfully be released. It depends on the new graphl-java-servlet version 6.0.0.

@oliemansm graphql-java-servlet 6.0.0 is syncing now, it can take a while for it to show up though: https://search.maven.org/#search|gav|1|g%3A"com.graphql-java" AND a%3A"graphql-java-servlet"

@oliemansm I'm going to release 6.1.0 of graphql-java-servlet real quick to pick up https://github.com/graphql-java/graphql-java-servlet/commit/e932a55d70db4492af818277e02f1d358cca2fa3 before releasing this

Released in 5.0.0!

Thanks!


fix module issue when "npm install"

When I try to use npm install to setup the project, I encounter the following problem.

Therefore, I find the solution from stackoverflow, I add the alias for pinia in nuxt.config.ts
So now it can run successfully.

Thank you for the inspiration your solution provided. I tried a more general solution and resolved the issue.
// package.json
{
  "dependencies": {
    // ...
    "pinia": "^2.1.7"
  },
  "peerDependencies": {
    "vue": "^3.4.27"
  }
}

You can test this solution and update your PR (Pull Request), and I will merge it into the main repository so that your avatar will be displayed for contributors.
My English is not good, this response was generated using AI translation.

Thank you for the inspiration your solution provided. I tried a more general solution and resolved the issue.
// package.json
{
  "dependencies": {
    // ...
    "pinia": "^2.1.7"
  },
  "peerDependencies": {
    "vue": "^3.4.27"
  }
}

You can test this solution and update your PR (Pull Request), and I will merge it into the main repository so that your avatar will be displayed for contributors.
My English is not good, this response was generated using AI translation.

I'm sorry, there is an issue with this method; it will cause an error when running npm run dev.

BTW, I also found some issue when I try to run "npm run dev" , it show that missing some package from @nuxtjs/i18n, I found that it is an syntax errors

so I fix it and run again,

but after I open the localhost:3000, then I see another error


runtime error: invalid memory address or nil pointer dereference

Bug report

General Information

Cilium version 1.3.2
Kernel version Linux gentle-mole 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Orchestration system version in use Kubernetes 1.12.2 with Containerd 1.2.0

Here is the related logs:
2019-02-14T03:08:09.545736912Z level=info msg="Completed endpoint regeneration" bpfCompilation=0s buildDuration=0s containerID=dc68f922ce datapathPolicyRevision=947 desiredPolicyRevision=947 endpointID=32701 ipv4= ipv6= k8sPodName=evr/evr-database-2 mapSync=0s policyCalculation=0s prepareBuild=0s proxyConfiguration=0s proxyPolicyCalculation=0s proxyWaitForAck=0s reason="one or more identities created or deleted" subsys=endpoint waitingForCTClean=0s waitingForLock=476ns
2019-02-14T03:08:09.545768119Z level=info msg="Completed endpoint regeneration" bpfCompilation=0s buildDuration="92.254µs" containerID=cca1cba769 datapathPolicyRevision=947 desiredPolicyRevision=947 endpointID=52446 ipv4= ipv6= k8sPodName=analytics/zk-0 mapSync=0s policyCalculation=0s prepareBuild=0s proxyConfiguration=0s proxyPolicyCalculation=0s proxyWaitForAck=0s reason="one or more identities created or deleted" subsys=endpoint waitingForCTClean=0s waitingForLock=476ns
2019-02-14T03:08:09.545828527Z level=info msg="Completed endpoint regeneration" bpfCompilation=0s buildDuration="92.254µs" containerID=0baa548560 datapathPolicyRevision=947 desiredPolicyRevision=947 endpointID=49279 ipv4= ipv6= k8sPodName=gis-backend/gis-database-1 mapSync=0s policyCalculation=0s prepareBuild=0s proxyConfiguration=0s proxyPolicyCalculation=0s proxyWaitForAck=0s reason="one or more identities created or deleted" subsys=endpoint waitingForCTClean=0s waitingForLock=476ns
2019-02-14T03:08:09.549022051Z panic: runtime error: invalid memory address or nil pointer dereference
2019-02-14T03:08:09.549038414Z [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xfcda97]
2019-02-14T03:08:09.549043272Z
2019-02-14T03:08:09.549047696Z goroutine 11280099 [running]:
2019-02-14T03:08:09.54905928Z github.com/cilium/cilium/pkg/endpoint.(*endpointPolicyStatusMap).UpdateMetrics.func1(0x2612540, 0xc427d80750, 0x26e05a0, 0xc42446b1f0, 0x1)
2019-02-14T03:08:09.549064568Z     /go/src/github.com/cilium/cilium/pkg/endpoint/metrics.go:123 +0x74
2019-02-14T03:08:09.549068116Z sync.(*Map).Range(0xc420386510, 0xc429241640)
2019-02-14T03:08:09.54907276Z     /usr/local/go/src/sync/map.go:337 +0x136
2019-02-14T03:08:09.549080988Z github.com/cilium/cilium/pkg/endpoint.(*endpointPolicyStatusMap).UpdateMetrics(0xc420386510)
2019-02-14T03:08:09.549096356Z     /go/src/github.com/cilium/cilium/pkg/endpoint/metrics.go:121 +0x19b
2019-02-14T03:08:09.549103776Z github.com/cilium/cilium/pkg/endpoint.(*endpointPolicyStatusMap).Update(0xc420386510, 0x8920, 0x0, 0x4)
2019-02-14T03:08:09.549107887Z     /go/src/github.com/cilium/cilium/pkg/endpoint/metrics.go:103 +0xd4
2019-02-14T03:08:09.549112069Z github.com/cilium/cilium/pkg/endpoint.(*regenerationStatistics).SendMetrics(0xc421b161d8)
2019-02-14T03:08:09.549139495Z     /go/src/github.com/cilium/cilium/pkg/endpoint/metrics.go:50 +0x65
2019-02-14T03:08:09.549157732Z github.com/cilium/cilium/pkg/endpoint.(*Endpoint).regenerate.func1(0xc429241f28, 0xc421b161d8, 0xc4289e8900, 0xc421b161c0)
2019-02-14T03:08:09.549176358Z     /go/src/github.com/cilium/cilium/pkg/endpoint/policy.go:665 +0x105
2019-02-14T03:08:09.549181426Z github.com/cilium/cilium/pkg/endpoint.(*Endpoint).regenerate(0xc4289e8900, 0x2bf9020, 0xc42210a000, 0xc421b161c0, 0x0, 0x0)
2019-02-14T03:08:09.549186172Z     /go/src/github.com/cilium/cilium/pkg/endpoint/policy.go:806 +0xb53
2019-02-14T03:08:09.549191568Z github.com/cilium/cilium/pkg/endpoint.(*Endpoint).Regenerate.func1(0xc421b161c0, 0x2bf9020, 0xc42210a000, 0xc42406bf00, 0xc4289e8900)
2019-02-14T03:08:09.549210804Z     /go/src/github.com/cilium/cilium/pkg/endpoint/policy.go:842 +0x1fc
2019-02-14T03:08:09.549216132Z created by github.com/cilium/cilium/pkg/endpoint.(*Endpoint).Regenerate
2019-02-14T03:08:09.549221144Z     /go/src/github.com/cilium/cilium/pkg/endpoint/policy.go:820 +0x123
2019-02-14T03:08:09.575528727Z level=fatal msg=“Agent pipe unexpectedly closed, shutting down” subsys=cilium-node-monitor

After this, Cilium pod restarted and some network timeouts started in this node. Our guess is that the reason for the network disruption is because we didn't mount the BPF FS but we can't verify that.
We were not able to reproduce the issue.

I was unable to reproduce it at all, the line that panicked is here:
https://github.com/cilium/cilium/blob/v1.3.2/pkg/endpoint/metrics.go#L123
policyStatus[epPolicyStatus]++

I suspect that between lines 122 and 123 GC occurred and caused epPolicyStatus underlying byte slice to be freed (since sync.Map stores the data in unsafe.Pointer). Strings created from unsafe pointers use the same underlying byte slice (proof here: https://play.golang.org/p/glZDZ9srpSM ).
Proposed fix would be to change endpointPolicyStatusMap to be a normal map with locks instead of sync.Map.

@nebril that makes total sense.
A google search returns this result :D https://github.com/cilium/cilium/pull/5621#issuecomment-423976222
Also, it seems the map doesn't need to be initialized
 func (epPolicyMaps *endpointPolicyStatusMap) UpdateMetrics() {
-       policyStatus := map[models.EndpointPolicyEnabled]float64{
-               models.EndpointPolicyEnabledNone:    0,
-               models.EndpointPolicyEnabledEgress:  0,
-               models.EndpointPolicyEnabledIngress: 0,
-               models.EndpointPolicyEnabledBoth:    0,
-       }
+       policyStatus := map[models.EndpointPolicyEnabled]float64{}

@eloycoto it seems in update we call the endpointPolicyStatus.UpdateMetrics() but not on delete. Is this a bug?
https://github.com/cilium/cilium/blob/fc1bac1f79bdabe77452f2c8e0793a0e2255e2ea/pkg/endpoint/metrics.go#L93-L104
@sedooe The stack trace correspondes to the v1.3.0 code base, be aware that you might be running cilium v1.3.0 in your cluster without realizing that is not v1.3.2

@aanm You're right, it was my bad to write v1.3.2, we downgraded the v1.3.0 couple of days ago. Will edit it to not confuse others.


Add diffusions

Codecov Report

Merging #14 (5ad1447) into main (f202873) will decrease coverage by 2.75%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
- Coverage   88.05%   85.31%   -2.75%
==========================================
  Files           8        9       +1
  Lines         134      143       +9
==========================================
+ Hits          118      122       +4
- Misses         16       21       +5

Impacted Files
Coverage Δ

src/priors/matern.jl
0.00% <0.00%> (ø)

src/priors/ioup.jl
81.81% <33.33%> (-18.19%)
:arrow_down:

src/priors/iwp.jl
92.85% <71.42%> (-7.15%)
:arrow_down:

src/KalmanFilterToolbox.jl
100.00% <100.00%> (ø)

src/priors/ltisde.jl
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Bizarre breakpoint behaviour in VSCode

Issue Description
Code window behaviour does not match actual runtime behaviour whilst debugging.
Steps to Reproduce
I have just installed dotnet-script on my W10 system and used the command "dotnet-script init" to create a basic "Hello World" CSX project. I replaced the default with a simple 3-line script that creates two integer variables and then outputs their sum, set a breakpoint on the 1st line and hit F5. What I get is really weird - the code window appears as though execution has stopped on my breakpoint, but the debug window shows that the code has already run through to completion and output the result. If I hit F10 or use the mouse to click the "step over" button, the code window then immediately reflects the fact that the code has completed (i.e. it goes back to basic editor mode).
Expected Behavior
Execution pauses at breakpoint.
Actual Behavior
Code window gives the appearance that execution has paused at the breakpoint, but in reality the code has run all the way from start to finish. See scereenshot.

Logs
OmniSharp log
Starting OmniSharp server at 09/05/2021, 14:38:41
    Target: c:\Dev\CSX\play1
OmniSharp server started.
Path: c:\Users\micha.vscode\extensions\ms-dotnettools.csharp-1.23.11.omnisharp\1.37.8\OmniSharp.exe
PID: 21320
    Starting OmniSharp on Windows 6.2.9200.0 (x64)

    DotNetPath set to dotnet

    Located 2 MSBuild instance(s)
        1: Visual Studio Community 2019 16.8.30907.101 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"
        2: StandAlone 16.9.0 - "c:\Users\micha\.vscode\extensions\ms-dotnettools.csharp-1.23.11\.omnisharp\1.37.8\.msbuild\Current\Bin"

    Registered MSBuild instance: Visual Studio Community 2019 16.8.30907.101 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140

    Detecting Cake files in 'c:\Dev\CSX\play1'.

    Could not find any Cake files

    No solution files found in 'c:\Dev\CSX\play1'

    Detecting CSX files in 'c:\Dev\CSX\play1'.

    Found 1 CSX files.

    Searching for compilation dependencies with the fallback framework of 'net5.0'.

    Added CSX project 'c:\Dev\CSX\play1\main.csx' to the workspace.

    Configuration finished.

    Omnisharp server running using Stdio at location 'c:\Dev\CSX\play1' on host 14484.

Received response for /findusages but could not find request.
Received response for /findusages but could not find request.

C# log
N/A - there is none
Environment information
VSCode version: 1.56.0
C# Extension: 1.23.11
Dotnet Information
.NET SDK (reflecting any global.json):
 Version:   5.0.104
 Commit:    ca6b6acadb
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.19042
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\5.0.104\
Host (useful for support):
Version: 5.0.5
Commit:  2f740adc14
.NET SDKs installed:
2.1.523 [C:\Program Files\dotnet\sdk]
3.1.301 [C:\Program Files\dotnet\sdk]
3.1.408 [C:\Program Files\dotnet\sdk]
5.0.102 [C:\Program Files\dotnet\sdk]
5.0.104 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.All 2.1.27 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.27 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.14 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.27 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.14 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.1.14 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

csharp
ms-dotnettools
1.23.11

I've just realised a major part of what's wrong here, and that bit is my own stupid fault. However, there is still an issue to be addressed here.
The mistake I made was to set a breakpoint on a variable definition with implicit initialisation. This does not compile to any executable instructions, but instead merely reserves and initialises memory. Consequently it is not an appropriate target for a breakpoint - I'm way too old to be making mistakes like that, or so I'd have thought...
However, this has exposed an issue. What should have happened in this scenario is that omnisharp should have automatically corrected my mistake by moving the breakpoint to the next appropriate line of source code (as I've seen in the past when working in Visual Studio), and then stopped at that breakpoint. What actually happened was confusion - one part of the debugging environment stopped and another part didn't (which indicates to me that we have at least two concurrent threads sharing the debugging load).
So there's still something that needs to be fixed - it just isn't exactly as I first thought.
Regards,
Michael


Set the authorization token in the header

It's not always possible to set the token in the headers, can we have it also as a query param?

Hey @long1eu,
Thank you for submitting this idea. Could you please show us in which environment you are not able to specify the token in the header?
Have a nice day,

My use case it very specific. I have a load balancer that has a health
check on the VM instance that runs the meilisearch. The healthcheck run the
version endpoint, but I can't specify headers in the load balancer.
On Wed, 30 Dec 2020 at 14:57, Thomas Payet<EMAIL_ADDRESS>wrote:

Hey @long1eu https://github.com/long1eu,
Thank you for submitting this idea. Could you please show us in which
environment you are not able to specify the token in the header?
Have a nice day,
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/meilisearch/MeiliSearch/issues/1144#issuecomment-752559407,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACG2OVVYGMPIGVICIFN6TQ3SXMPTFANCNFSM4VLMA7AA
.

Hey @long1eu, any reason for not using the health endpoint for this purpose?

Didn't know about it. Does it require a key?

nope

thanks

I'm back. Looks like this doesn't help. I can observe that a 204 is not something that the health check likes. It must be 200.
https://cloud.google.com/load-balancing/docs/health-checks#optional-flags-hc-protocol-http

Thanks for the feedback, @LegendreM can you take it from there since you worked on this ?

This will be fixed in the v0.20.0 (release next week). You can already give a try with the v0.20.0rc0 😄

I forgot to close it! 😅


❓ Stream video rather than record?

Question
Is there any way to get access to the video stream rather than the end recording?
What I tried
No response
VisionCamera Version
2.15.2
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

I have the same problem, I need to record the video on the device and transmit the recording in real time.
Does anyone have any suggestions or could help out?

Do you need audio? If not then you could look into frame processors

@Sid-Turner-Ellis Can u provide some way to do it? I saw Agora WebRTC can using it by this method:
Agora.pushWebRTCFrame(newFrame)

But I dont know how it were decraled

Closing as this is a stale issue - this might have been fixed with the full rewrite in VisionCamera V3 (🥳) - if not, please create a new issue.
If your issue has been fixed, consider sponsoring me on GitHub to say thanks 💖
JFYI; You can implement this with a native FP plugin 👍


[Bug] Parsing failure when tasks.json contains comments

Environment data
latest of everything
linux
sdk: 5.0.102
vscode: 1.52.1
c# extension: 1.23.8
Problem
When opening a project, I get a popup error:

Failed to parse tasks.json file

Sample
This is .vscode/tasks.json which is a jsonc file:
// this comment is allowed
{
  // this comment is allowed
  "version": "2.0.0",
  "tasks": [
    {
      // this comment is allowed
      "label": "run",
      "type": "process",
      "command": "dotnet",             // this comment is allowed
      "args": [
        "run",
        "--project",
        "${workspaceFolder}/src/Foo/Foo.csproj",
        //"--launch-profile", "Production",           // <<<<<<<<<< THIS IS THE PROBLEM
      ],
    },
  ],
  // this comment is allowed
}

The comment inside the args array is the problem. When removed, there is no error.

Working as of current version.

Nope it's still a problem. The underlying parse doesn't like jsonc.

@lonix1 Sorry we didn't respond to this issue earlier. I believe it is VS Code sending your this error popup. I think you will want to report this issue at https://github.com/microsoft/vscode/issues

Thanks I've done that.

Apparently they don't think it's a vscode issue.
One more thing, the error shows this:

Failed to parse tasks.json file
Source: C# (Extension)                          <----------

Any thoughts?

+1 I am still seeing this issue on latest omnisharp.
Proof that it is the omnisharp extension: If you restart the omnisharp server, the error message pops up again.

@lonix1 Fine in this case, since it does look to be the same issue.


Feature: Sphinx Documentation

This is the start of the Sphinx Documentation for the Project. At the moment just spits out the API docs from the doc strings.
We still need to actually write the proper tutorial style documentation :wink:

:+1:


Feature Request: Upgrade Prisma CLI to at least v4.10

Unfortunately GitHub isn't really happy about me having a customized fork so I can't fork the repo again to contribute a PR myself. However I'd be happy if you can upgrade the CLI to v4.10 which enables the new --generator flag to selectively generate files which is useful to separate jobs in CIs in mixed monorepo codebases.

I do plan on doing this and even started work on it in my forks, I just didn't want to do it with 0.6.5. I'll make sure the next update has it though.

@Brendonovich could you point to how multiple generators are used? there does not seem to be an option such as prisma generate --generator client1 that the npm version of prisma has.
Currently I have resorted to commenting out the second generator when I need to run cargo prisma generate.

@jareducherek use main instead of 0.6, 0.7 isn't out yet


[Server] Clicking sort on a container can sometimes cause items to move outside of the containers grid and become inaccessible

InventoryController.sortInventory()

Originally written by chomp

Fixed in 370

Originally written by chomp

If it is confirmand to be fix can we change the https://dev.sp-tarkov.com/SPT-AKI/Server/src/commit/fa6568a174a45fe1cac0779728bb223100664081/README.md#L146

Originally written by patrikbelgian

done

Originally written by chomp


What is the right click menu?

I have no idea what right-click menu this plugin is referring too. I've tried right-clicking just about everything I can think of in obsidian and don't see any of my personalized options.
Please update the readme to make this more clear and consider adding images.
--
Update: Looks like it only works when clicking a note in edit mode. This should be mentioned in the description.

Closed in favor of #5. ("Soon" clearly did not materialize, sorry! I'm hoping that I'll have time when my semester ends to come back to my Obsidian plugins, but I've learned my lesson about promising times).


FEATURE CMSRequiredFIelds() - implement until Validation bug is fixed

Describe the solution you'd like
Require values for the following fields:

Price
Code
Weight (Shippable)
Foxy Category

public function getCMSValidator()
{
    return RequiredFields::create(
        'DocType',
        'DocTitle',
        'DocNumber'
    );
}

closed via #95


Fix incorrect Kuhn Poker max game length:

The original computation probably did not include the chance nodes.

Max game length is not supposed to include chance nodes: https://github.com/deepmind/open_spiel/blob/5354afc54d8cb1f96ebc320af16243ac6bdcb0cb/open_spiel/spiel.h#L756

Oh sorry, I missed that. However some code needs to get a number from the game, which upper bounds (and ideally equals) the maximum MoveNumber(). Should I add a method Game::MaxGameMoveNumber() which will include chance as well?

Sorry, can you give more context? What do you need it for? Are these move numbers only used in the games under public states API or in fogs? If so, can we make them part of that (sub-)API only?

Sure. I am generating (action) histories based on sequence of public observations in the game. I need to pre-allocate a buffer to store the observations. Since chance nodes contribute to public observations as well, I can't currently compute the size of the buffer just based on MaxGameLength.

Ok I guess we can add a virtual MaxLengthWithChance or, maybe an even better name: MaxHistoryLength, with defaults to MaxGameLength() but has to be overridden in games with chance. But if we do that, it would be good to implement it for all our games that have chance.
CAn you think of way we could put this function in the public states API or fog-specific code not in the core API?

Hi, I can't think of a clean way to do so without putting it in Game. I like MaxHistoryLength(). We can say it has to return upper bound on the value, and authors should try to make the bound as tight as possible. I will make it tight for games where I know what the exact value is. I can also add it to remaining games, and return MaxGameLength() * 2 -- that should cover all the remaining ones, as AFAIK in OpenSpiel there aren't games which have more chance nodes than player nodes. I will also implement a test for the sparse sampling to check the samples aren't longer than the bound. What do you think @lanctot ?

Sounds perfect to me. @elkhrt you ok with this?
I can also tighten the ones I know more about upon import.
I think it's ok to assume should be fine. So we will close this PR and you will open a new one?

Yes, sounds good.

Sounds good to me.

Actually, there is a small issue with sim move games, because the actions are flattened for history. MaxHistoryLength() would be a number unnecessarily larger than MoveNumber(), up to multiplicative constant of NumPlayers(). So I thought to do it differently, and factorize the computation. As someone might also want to recover the maximum number of chance events (like number of times we roll dice), I thought I can add a

MaxChanceNodesOnTrajectory()
MaxMoveNumber() which will return the sum of MaxGameLength() + MaxChanceNodesOnTrajectory()
MaxHistoryLength() which will return MaxGameLength() * NumPlayers() + MaxChanceNodesOnTrajectory() for sim games, and without player multiplication for sequential games.

If you think the change is too much, I'm happy with just adding the first method, and compute the remainder in algorithm code.

Fine by me!

Sure, SGTM.
On Mon, 21 Sep 2020, 17:33 lanctot<EMAIL_ADDRESS>wrote:

Fine by me!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/deepmind/open_spiel/pull/360#issuecomment-696229422,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHAF7TAY5A532KONAIU4JULSG556VANCNFSM4RQMYKFQ
.


chore: 2.3 & 3

some chore

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


CLOUDSTACK-8530: KVM hosts without active agents should be in Disconnected state

KVM hosts which are up but their agents are shutdown should be put
in disconnected state. This would avoid getting the VMs HA'd and other commands
such as deploying a VM will exclude that host and save us from errors.
The improvement is that, we first try to contact the KVM host itself. If it fails
we assume that it's disconnected, and then ask its KVM neighbours if they can
check its status. If all of the KVM neighbours tell us that it's Down and we're
unable to reach the KVM host, then the host is possibly down. In case any of the
KVM neighbours tell us that it's Up but we're unable to reach the KVM host then
we can be sure that the agent is offline but the host is running.

Issue: https://issues.apache.org/jira/browse/CLOUDSTACK-8530

pinging KVM and HA gurus to help review this @kishankavala @wilderrodrigues @remibergsma @mlsorensen @abhinandanprateek @devdeep and others
thanks :)

Looks fine to me.
On Mon, Jun 1, 2015 at 12:13 PM, Rohit Yadav<EMAIL_ADDRESS>wrote:

pinging KVM and HA gurus to help review this @kishankavala
https://github.com/kishankavala @wilderrodrigues
https://github.com/wilderrodrigues @remibergsma
https://github.com/remibergsma @mlsorensen
https://github.com/mlsorensen @abhinandanprateek
https://github.com/abhinandanprateek @devdeep
https://github.com/devdeep and others
thanks :)
—
Reply to this email directly or view it on GitHub
https://github.com/apache/cloudstack/pull/340#issuecomment-107674771.

After running this on my KVM host:
[root@kvm1 ~]# systemctl stop cloudstack-agent
[root@kvm1 ~]#
The management server said:

Then I started it agains:
[root@kvm1 ~]# systemctl start cloudstack-agent
[root@kvm1 ~]# systemctl status cloudstack-agent
cloudstack-agent.service - SYSV: Cloud Agent
Loaded: loaded (/etc/rc.d/init.d/cloudstack-agent)
Active: active (running) since Tue 2015-06-02 07:20:10 EDT; 3s ago
Process: 20054 ExecStop=/etc/rc.d/init.d/cloudstack-agent stop (code=exited, status=0/SUCCESS)
Process: 20090 ExecStart=/etc/rc.d/init.d/cloudstack-agent start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/cloudstack-agent.service
├─20106 jsvc.exec -Xms256m -Xmx2048m -cp /usr/share/java/commons-daemon.jar:/usr/share/cloudstack-agent/lib/activation-1.1.jar:/usr/share/cloudstack-agent/lib/antisamy-1.4.3.jar:/usr/share/cloudstack-agent/lib/aopalliance-1.0.jar:/usr/share/cloudstack-agent/...
└─20107 jsvc.exec -Xms256m -Xmx2048m -cp /usr/share/java/commons-daemon.jar:/usr/share/cloudstack-agent/lib/activation-1.1.jar:/usr/share/cloudstack-agent/lib/antisamy-1.4.3.jar:/usr/share/cloudstack-agent/lib/aopalliance-1.0.jar:/usr/share/cloudstack-agent/...
Jun 02 07:20:10 kvm1 systemd[1]: Starting SYSV: Cloud Agent...
Jun 02 07:20:10 kvm1 cloudstack-agent[20090]: Starting Cloud Agent:
Jun 02 07:20:10 kvm1 systemd[1]: Started SYSV: Cloud Agent.
[root@kvm1 ~]#
And on the UI:

Thanks, Rohit!
I will merge.

@wilderrodrigues thanks, but the test you did is perhaps not enough as it cleanly shutsdown the agent. In my test, I did these things:

kill -9 the agent to see what happens
add firewall rule to block mgmt server traffic to the kvm host, using something like: iptables -A INPUT -s <IP_ADDRESS> -j DROP
using a cluster of three nodes, add the firewall rules to see how it behaves when neighbours report it is Up/Down and host is not reachable

Nice write up, @bhaisaab
I can still take some time, later this week, and go through the steps you have tested. Just quite busy right now.
Let's try to have template for PRs, so the "test steps" are also added.
Cheers,
Wilder


Allow configuring flexible startup message

Thx again for this super cool application!!!
Minor request: Currently, we can set the name of an app. When ShinyProxy starts the container, the browser then displays "Loading $app_name$...". The Loading is hard-coded.
Instead, it would be very nice if the "Loading" and the "..." wouldn't be hard-coded, but configurable or even dynamic. Some ideas:

just allow the user to configure a loading-name for each app
make the "Loading" multi-lingual
allow for dynamic setting of the load message, e.g. by specifying it as a parameter in the URI

Hi @gluc , you can add a template folder in you shinyproxy, put the app.html file into  ./template/app.html.
You can change everything inside of the app.html file until get what you want. Actually, you can even change
What's more, shinyproxy use the file in real-time, so there's no need to reboot shinyproxy when you are tweaking the page.
See https://github.com/openanalytics/shinyproxy-config-examples for more information.

I think shinyproxy is really really flexible... I've almost achieved all I wanted after some slight tweaking and modifications... It uses the Spring framework which is a very good choice, IMHO.


 Through tireless dedication and shrewd investments, I meticulously built a modest fortune of $178,000. However, this narrative of success swiftly unraveled when the shadows of betrayal cast their ominous veil upon me.It was a seemingly ordinary day when my close circle of friends became privy to my burgeoning financial triumphs. Almost overnight, my inbox became inundated with insidious emails, a harbinger of the calamity that was soon to befall me. Succumbing to a moment of naivety and vulnerability, I made the grievous error of opening one of these malicious emails. In an instant, my financial empire crumbled, as my accounts were mercilessly compromised, leaving me bereft of my hard-earned wealth.In the throes of panic and despair, I embarked on a desperate quest for salvation, stumbling upon the beacon of hope amidst the darkness: Cyber Tech Wizard. From the moment of our initial contact, the team at  Cyber Tech Wizard   became my stalwart allies, offering not only technical expertise but also unwavering emotional support. Despite the tempest of uncertainty that raged within me, their reassuring words and effective communication served as a balm to my fractured spiritWithin a mere 32 hours,  Cyber Tech Wizard   accomplished the seemingly impossible, reclaiming control of my email account and fortifying it against future breaches. Yet, the scars of the cyber onslaught ran deeper than mere financial loss, as my entire digital existence lay laid bare by the malevolent forces that had besieged me. Nevertheless, the indomitable resolve of  Cyber Tech Wizard   once again emerged victorious, as they deftly uncovered the nefarious orchestrators behind the cyber siege: my own erstwhile friends.In a twist of fate, fueled by a fervent desire for justice, legal recourse was pursued with the aid of   Cyber Tech Wizard . Despite the initial sting of betrayal, a surprising denouement transpired as my erstwhile friends, contrite and repentant, extended a gesture of substantial restitution. This resolution not only provided a semblance of financial solace but also heralded a poignant lesson in the fragile tapestry of trust and loyalty.Reflecting upon this harrowing odyssey, I gleaned invaluable insights into the imperatives of vigilance and cybersecurity in our digital epoch. Moreover, the crucible of adversity imparted a profound appreciation for the sanctity of genuine friendship and the pernicious ramifications of betrayal. Throughout the tumultuous saga,   Cyber Tech Wizard   stood as an unwavering beacon of support and expertise, guiding me through the labyrinthine corridors of cyber tumult my odyssey with   Cyber Tech Wizard   serves as a poignant testament to their unwavering dedication and efficacy in navigating the treacherous terrain of cyber-related crises. To those ensnared within the tendrils of similar tribulations, I ardently proffer   Cyber Tech Wizard    as a steadfast ally in the quest for digital security and restitution. For in the crucible of adversity, cacophony of betrayal, emerges the resplendent light of redemption, illuminating the path towards healing.

CONTACT<EMAIL_ADDRESS>WHATSAPP  {1859743502 }
As a 23-year-old undergraduate student immersed in the bustling campus life of the USA, my foray into the world of trading began during my formative high school years. Through tireless dedication and shrewd investments, I meticulously built a modest fortune of $178,000. However, this narrative of success swiftly unraveled when the shadows of betrayal cast their ominous veil upon me.It was a seemingly ordinary day when my close circle of friends became privy to my burgeoning financial triumphs. Almost overnight, my inbox became inundated with insidious emails, a harbinger of the calamity that was soon to befall me. Succumbing to a moment of naivety and vulnerability, I made the grievous error of opening one of these malicious emails. In an instant, my financial empire crumbled, as my accounts were mercilessly compromised, leaving me bereft of my hard-earned wealth.In the throes of panic and despair, I embarked on a desperate quest for salvation, stumbling upon the beacon of hope amidst the darkness: Cyber Tech Wizard. From the moment of our initial contact, the team at  Cyber Tech Wizard   became my stalwart allies, offering not only technical expertise but also unwavering emotional support. Despite the tempest of uncertainty that raged within me, their reassuring words and effective communication served as a balm to my fractured spiritWithin a mere 32 hours,  Cyber Tech Wizard   accomplished the seemingly impossible, reclaiming control of my email account and fortifying it against future breaches. Yet, the scars of the cyber onslaught ran deeper than mere financial loss, as my entire digital existence lay laid bare by the malevolent forces that had besieged me. Nevertheless, the indomitable resolve of  Cyber Tech Wizard   once again emerged victorious, as they deftly uncovered the nefarious orchestrators behind the cyber siege: my own erstwhile friends.In a twist of fate, fueled by a fervent desire for justice, legal recourse was pursued with the aid of   Cyber Tech Wizard . Despite the initial sting of betrayal, a surprising denouement transpired as my erstwhile friends, contrite and repentant, extended a gesture of substantial restitution. This resolution not only provided a semblance of financial solace but also heralded a poignant lesson in the fragile tapestry of trust and loyalty.Reflecting upon this harrowing odyssey, I gleaned invaluable insights into the imperatives of vigilance and cybersecurity in our digital epoch. Moreover, the crucible of adversity imparted a profound appreciation for the sanctity of genuine friendship and the pernicious ramifications of betrayal. Throughout the tumultuous saga,   Cyber Tech Wizard   stood as an unwavering beacon of support and expertise, guiding me through the labyrinthine corridors of cyber tumult my odyssey with   Cyber Tech Wizard   serves as a poignant testament to their unwavering dedication and efficacy in navigating the treacherous terrain of cyber-related crises. To those ensnared within the tendrils of similar tribulations, I ardently proffer   Cyber Tech Wizard    as a steadfast ally in the quest for digital security and restitution. For in the crucible of adversity, cacophony of betrayal, emerges the resplendent light of redemption, illuminating the path towards healing.


Remove extra apostraphe in trusted proxies example

Q
A

Is bugfix?
no

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues

I apologize that the branch name this PR is coming from isn't a meaningful branch name. Since this is just a simple documentation fix, I did it all through the GitHub interface, which didn't let me specify the branch name for my edit. If you want me to rename the branch and re-submit the PR, please let me know. (Thanks.)

Merged. Thanks!


Can we add icon to the tabs?

Has anyone tried adding icons to the tab instead of text?
Original implementation:

Expected:
I want to add icon:

I know there is no property called icon_src, but I want to know if this is something that I can achieve?

You probably need custom tab bar https://github.com/skv-headless/react-native-scrollable-tab-view#injecting-a-custom-tab-bar.

As i see you implement in on the parent ScrollableTabView,
But how can i specific different icon for separate tab?


more modification features required

feature 1 modify the width of the top bar.
feature 2 modify the string "CapsLock is on." as I would prefer "On" for simplicity.
feature 3 add events to the toolbar icon's menu to manually show the top bar.

@ZzzzzzzSkyward

feature 1 modify the width of the top bar.

Do you really mean the "Width" or did you wanted to mention "Height"?

feature 2 modify the string "CapsLock is on." as I would prefer "On" for simplicity.

There are NumLock and ScrollLock keys too. They will also trigger the flyout. Wouldn't it be confusing if there was just "On/Off"? How could users distinguish between the lock keys?

feature 3 add events to the toolbar icon's menu to manually show the top bar.

I'm sorry what? What toolbar? What menu?
Could you please explain more clearly?

i agree with @ShankarBUS just "on" could be confusing
don't understand 1 and 3


[Bug]: Consistent crash on metrics reload after increasing NumWheelItems under [MusicWheel]

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
discord: .jole
Version Info
Latest available release
What operating system are you seeing the problem on?
Windows
Bug Behavior
Increasing NumWheelItems while in ScreenSelectMusic can consistently crash the game after reloading metrics without any traceable reason in logs. Decreasing the value does not appear to cause any issues. When the crash happens, the log file ends with this:
[2023-08-19 08:09:18][INFO]: Reloaded metrics
This behaviour also checks out for rebirth but I don't see why you would be changing this in rebirth's context because it doesn't really use a metrics wheel
Expected Behavior
Not crash or at the very least provide a reason for the crash
Reproduction Steps

Use a theme with metrics songwheel (Til Death for example, but technically rebirth will work for this too)
Go to ScreenSelectMusic
Open metrics.ini, find [MusicWheel], increase NumWheelItems= by at least 1, save
Reload metrics
Game go poof

Anything else?
No response

done 0f5185c844d6f08976d5abfc2b56cd056bee197e 7ccaf31ada33d25f93d56961d91158c797264b6d


Pr fail threshold v2

Codecov Report

Merging #6 (756eb22) into main (8767042) will decrease coverage by 18.07%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             main       #6       +/-   ##
===========================================
- Coverage   66.87%   48.80%   -18.07%
===========================================
  Files          10       10
  Lines         160      168        +8
===========================================
- Hits          107       82       -25
- Misses         53       86       +33

Impacted Files
Coverage Δ

...Repositories/PhotoRepository/PhotoRepository.swift
50.00% <0.00%> (-50.00%)
:arrow_down:

...es/Core/Repositories/SearchHistoryRepository.swift
33.33% <0.00%> (-66.67%)
:arrow_down:

... and 3 files with indirect coverage changes


Why no jitter?

Why it doesn't jitter when you zoom in?

ok. Never-mind I found it out.

I believe you are refering to the rendering of the rectangles. The rendering of the rects happens in to steps:
https://github.com/tsoding/nothing/blob/deced0f20762d49c27a4233898a3c3be2b963194/src/game/camera.c#L73

Mapping the rect to screen (according to camera position and scale)
Converting rect to SDL_Rect, which effective converts all of the floats to ints
And just rendering SDL_Rect with SDL

If the camera position and scale don't change between the frames, the end result of the rendering should be the same.


Need ability to reset display settings (plus documentation)

I changed the display settings in the dashboard and can no longer see the screen when the dashboard is booted. It would be great if there was a way via the controller to reset these to the default. I am using this with XEMU.
As it turns out, the FTP server, is working, so in the meantime is there a file on the hard drive that I can edit or delete to reset the dashboard settings?

The video settings are stored in the EEPROM. Edit your eeprom.bin (or simply delete it) to revert back to "standard" settings, whatever that is. :)

Key combination is possibly a good idea, but I'm torn on what settings should be the "defaults".

Perhaps we could do what many videogames do on PC: When changing video settings, give a 5-10 second window where a dialog is shown allowing to accept/cancel the change, and if the dialog times out, revert to previous?

@dracc Thank you for the pointers. I was able to revert to an older eeprom.bin backup and that resolved the issue. I narrowed the issue cause down to the video: 1080i setting. Enabling that caused the dashboard (after a reboot) to present a black screen and nothing else, even though all my games still appeared to work fine.
@LukeUsher If the video is changed on the fly confirm or revert prompt would be great, although it appears that those video settings aren't applied by the dashboard until a reboot, which is why I was thinking about some way to at least temporarily ignore the settings or boot the dashboard into normal 4:3 mode as an emergency.


Update examples + switch from TYPE to VENDOR enums

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 57.964%

Files with Coverage Reduction
New Missed Lines
%

topo/topo.go
2
76.92%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2329

Relevant Lines:
4018

💛  - Coveralls

/gcbrun

/gcbrun

/gcbrun


Sources: seemingly not detecting duplicates

I was able to create a new source from a citation that was already in the database. Apparently the DOI is present in both, but still there were no duplication warnings.
Refs are 19117 and 62267.

There is no DOI on the first record.   Not sure if this was prevented, or if it wasn't there and therefor the record was caught as duplicate on create.

also seems weird, crossref seems to give a different year. noticing now

this could be one of the things to add to a soft validation: "likely duplicate reference, check year"


Failed on MacBook Pro m2 with "User specified an unsupported autocast device_type 'mps'"

I think  it's pytorch related,  maybe someone here could give me some suggestions? thanks.
I use latest version, and here are some env infomations.

transformers version: 4.40.0
Platform: macOS-14.5-arm64-arm-64bit
Python version: 3.10.0
Huggingface_hub version: 0.24.2
Safetensors version: 0.4.3
Accelerate version: 0.33.0
Accelerate config: 	not found
PyTorch version (GPU?): 2.3.1 (False)
Tensorflow version (GPU?): not installed (NA)
Flax version (CPU?/GPU?/TPU?): not installed (NA)
Jax version: not installed
JaxLib version: not installed
Using GPU in script?:
Using distributed or parallel set-up in script?:

The detailed logs are here:
got prompt
Detecting, cropping, and processing..:   0%|                                  | 0/1 [00:00<?, ?it/s]
!!! Exception during processing!!! User specified an unsupported autocast device_type 'mps'
Traceback (most recent call last):
File "/Users/peng/Code/ComfyUI/execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/Users/peng/Code/ComfyUI/execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/Users/peng/Code/ComfyUI/execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/Users/peng/Code/ComfyUI/custom_nodes/ComfyUI-LivePortraitKJ/nodes.py", line 652, in process
x_s_info = pipeline.live_portrait_wrapper.get_kp_info(I_s)
File "/Users/peng/Code/ComfyUI/custom_nodes/ComfyUI-LivePortraitKJ/liveportrait/live_portrait_wrapper.py", line 71, in get_kp_info
with torch.autocast(get_autocast_device(self.device_id), dtype=torch.float16) if self.cfg.flag_use_half_precision else nullcontext():
File "/Users/peng/Code/miniconda3/envs/ComfyUI/lib/python3.10/site-packages/torch/amp/autocast_mode.py", line 241, in init
raise RuntimeError(
RuntimeError: User specified an unsupported autocast device_type 'mps'
Prompt executed in 0.16 seconds

Have to use fp32 as dtype on the loader node on Mac, or auto, which it should have been but I may have forgotten it on fp16 in the example workflow.

Have to use fp32 as dtype on the loader node on Mac, or auto, which it should have been but I may have forgotten it on fp16 in the example workflow.

@kijai It worked, thanks!


Design Jupyter notebook interface

Background
User problems, context, goals, known challenges, unknowns, etc
See examples of Jupyter notebooks here.
Once complete, add implementation details to this issue
Users [may] need a modified UI design for the controls in a modified viewer that displays in a Jupyter notebook cell.
A few differences from the main web viewer:

This viewer will be in a smaller window so the interface will take minimal screen real estate, and maybe have an easy way to toggle full screen or hide some controls.
Users will be able to generate and display plots directly in the notebook interface so the plots panel is likely not needed.
The model will be loaded through code so the 'Load model' menu (and the rest of the top bar?) is likely not needed.

User needs statement(s)
As a [type of user], I need/want to [action(s)], so that I can [goal].
As a computational biologist using a jupyter notebook to develop a new simulation model, I want to be able to view my spatial results interactively without leaving the notebook application so that I can iterate on debugging my model faster with less steps to view Simularium results.
As a biologist using a jupyter notebook to view an existing model shared by another biologist, I want to be able to view spatial results interactively in the notebook so that I can understand the model.
Size
Expected level of user research, discovery and design effort (xs, sm, m, lg, xl)

XS discovery/research
likely none or XS design effort

Design Requirements

Talk to internal users to assess user needs (After identified, we will decide what is in scope for this project, and list further requirements here)

Likely requirements:

UI will look the same as the web viewer in browser, minus the plots panel
Banner at top in lieu of website's header with Simularium title???
A way to view view either full screen or adjust widget height???

Deliverables

It is not yet known if UI design is needed for this project. It was determined at kickoff that UX will start with a discovery phase and identify any user needs that require design efforts

Stakeholder(s)
Who is directly involved? (developers, main points of contact, final approver)
Blair, Megan
Timeline
Add completion date to ticket and any time specific notes here
Notes
Additional notes here
Scenario 1:
Running a short simulation or debugging a simulation, they want to make sure things are running as expected.
Send data directly from their simulation results (in memory) into the jupyter simularium widget
Scenario 2:
Longer simulation, maybe intend to convert a precomputed file to a simularium file, but first able to view it in the conversion process.

Run simulation, save to file
In notebook: load file into viewer widget
Add any metadata they want, be able to see how that will end up labeling things
Save out the simularium file (by calling nbsv.save())

My notes from interviews w/thao + saurabh https://docs.google.com/document/d/1Y_2nAM8XyZJiGIMwpfAZRqY5aO7LD90xmiEPwbQ5UhA/edit


Add page for react-native-xaml

It would be good to add a page showcasing how you can use XAML directly from JSX :)
https://github.com/asklar/react-native-xaml

Merged #88


ApiSharp exception crashes app

On 1.5.0 and 1.5.1 versions of OKX.API I have started experiencing a bug that crashes my app.
I don't know what makes the app crash, because It happens randomly after using your package to trade on OKX for a while.
All I get is this stack trace:
Unhandled exception. System.AggregateException: One or more errors occurred. (Collection was modified; enumeration operation may not execute.)
---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.Queue1.Enumerator.MoveNext()    at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()
at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable1 source, Int32& length)    at System.Collections.Generic.Queue1..ctor(IEnumerable`1 collection)
at ApiSharp.Models.AsyncResetEvent.<>c__DisplayClass5_0.b__0() in E:\Github\ApiSharp\ApiSharp\Models\AsyncResetEvent.cs:line 51
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
--- End of inner exception stack trace ---
at System.Threading.CancellationTokenSource.ExecuteCallbackHandlers(Boolean throwOnFirstException)
at System.Threading.TimerQueueTimer.Fire(Boolean isThreadPool)
at System.Threading.TimerQueue.FireNextTimers()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
Only this OKX.Api package uses ApiSharp in my app, so the issue must come from there.

I've fixed this issue today on ApiSharp side. I'll release new version of OKX.Api tonight. Thanks for feedback

thank god


fixFix the prompt that be arrow_flight_sql_port is not set

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run beut


resolved parameter and response references are null for unresolvable refs

When using SwaggerParser with resolve==true and parameters or responses contain references that can't be resolved
then the operations parameters list contains a null at those points.
It would be better if resolution did two things:

add the location to unresolved references to the messages

for both resolved and unresolved cases, have ParameterProcess.processParameters return some sort of "Reference" object with the original reference and either a null of the inlined reference when resolving, and a null when not resolving.

Use-case: using swagger-parser for semantic validation, e.g., :

report the location and unresolved reference (that could be done by setting resolve==true, but see next)
report multiple body parameters (that is easiest if the parameters are resolved)

See #412 for tests around this.  Should be resolved, but please reopen if you see otherwise.


Short solution needed: "How to get last row of a data frame" (python-pandas)

Please help us write most modern and shortest code solution for this issue:
How to get last row of a data frame (technology: python-pandas)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to get last row of a data frame


Initial install failure of Chef Server 14.3.14 on ubuntu 20.04

Trying to install stand alone chef Infra server.
14.3.14-1
using :
chef-server-core_14.3.14-1_amd64.deb
OS Ubuntu 20.04 server
I am doing an initial install on Ubuntu VM and everyting I do the initial
chef-server-ctl reconfigure
It does not complete.
To Reproduce
Install 14.3.14 on a slow system, small hardware
Notice during this initial reconfiguration the following problem
....other parts of the attempted reconfiguration....
Running handlers:
Running handlers complete
Chef Infra Client failed. 185 resources updated in 01 minutes 30 seconds
[2021-05-04T12:47:43+00:00] FATAL: Stacktrace dumped to /var/opt/opscode/local-mode-cache/chef-stacktrace.out
[2021-05-04T12:47:43+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2021-05-04T12:47:43+00:00] FATAL: Chef::Exceptions::MultipleFailures: Multiple failures occurred:

RuntimeError occurred in Chef Infra Client run: Failed to connect to elasticsearch service at http://<IP_ADDRESS>:9200: 503 "Service Unavailable"
Mixlib::ShellOut::ShellCommandFailed occurred in delayed notification: component_runit_service[nginx] (private-chef::nginx line 246) had an error: Mixlib::ShellOut::ShellCommandFailed: runit_service[nginx] (/var/opt/opscode/local-mode-cache/cookbooks/enterprise/resources/component_runit_service.rb line 85) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx ----
STDOUT: fail: /opt/opscode/service/nginx: unable to change to service directory: file does not exist
STDERR:
---- End output of /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx ----
Ran /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx returned 1
Expected behavior

The reconfiguration completes successfully whether the system is slow or fast.
Actual behavior
The above error appears to be a timing issue. Like, the services are being sent signals before their /opt/opscode/service/SERVICENAME links have been made. When the system is slow, with small hardware, it tends to work more often.
Associated GitHub Issue
This appears to be the same problem, except it happens when a system to be restored is wiped and re-installed before the data is restored chef/chef-server#2316

https://github.com/chef/chef-server/pull/2524


Improve Job Reporting infra

AzCopy reports the total number of transfers, # of transfers completed and percentage transfer while the transfer is in progress. These are fetched by looping through all the jobparts individually. All this data will be saved in mem and reported to the frontend whenever queried.

A separate Summary struct is introduced to hold all stats to be reported - ListJobSummaryResponse
A separate Goroutine is introduced to interact with this struct. This shall be only thread which modifies above struct. Change 482196a
At time where each part is created, total number of transfers are updated (change 6dab8c7 & 482196a)
At end of each transfer, completed or failure count in updated. (Change
d941b28)
FE requests status to the go-routine, which then creates a copy of statement at that point.
(2811adf)
Using buffered channels to reduce contention. In a very large job, a small offset should not matter. In a small job, the channels are not full.

Rebase with dev and resolve the conflicts :shipit:


Should the connectionException Message add info with the host?

Description
Now with curl to send a http request, when there is ConnectionErrors(), including (            CURLE_OPERATION_TIMEOUTED ,CURLE_COULDNT_RESOLVE_HOST, CURLE_COULDNT_CONNECT, CURLE_SSL_CONNECT_ERROR, CURLE_GOT_NOTHING)
but the exception with error does not has host info, when we see the default exception we can not clearly know which host is wrong.
Example
for example, the error 7's error message:
error: cURL error 7: couldn't connect to host (see http:\/\/curl.haxx.se\/libcurl\/c\/libcurl-errors.html)

Additional context
now the format is
$message = sprintf(
            'cURL error %s: %s (%s)',
            $ctx['errno'],
            $ctx['error'],
            'see http://curl.haxx.se/libcurl/c/libcurl-errors.html'
        );

I suggest whether we can add info in the (), like this:
$message = sprintf(
            'cURL error %s: %s (%s)',
            $ctx['errno'],
            $ctx['error'],
            'see http://curl.haxx.se/libcurl/c/libcurl-errors.html, while request host is xxxxx'
        );

when we the error, we know the host and we can quickly deal with it.
If the RFC is OK, I can implement this feature.
Thanks .

You should take care that some error messages returned by curl_error() (which is used to fill $ctx['error']) already include the host name, by instance:

Could not resolve host: nonexistent.tld

@sandacn most probably your example will throw a ConnectException which contains the request object.
Why don't you simply get the info from there?

You should take care that some error messages returned by curl_error() (which is used to fill $ctx['error']) already include the host name, by instance:

Could not resolve host: nonexistent.tld

In my test case, the host does not on the error arrray

@sandacn most probably your example will throw a ConnectException which contains the request object.
Why don't you simply get the info from there?

I just use error, not exception to catch like this.

I just use error, not exception to catch like this.

I am not sure what this means...

You should take care that some error messages returned by curl_error() (which is used to fill $ctx['error']) already include the host name, by instance:

Could not resolve host: nonexistent.tld

In my test case, the host does not on the error arrray

Which PHP version are you using? Could you please confirm if your issue is related to https://bugs.php.net/bug.php?id=77946?

@phansys: https://bugs.php.net/bug.php?id=77946 is about no error message at all, while this is about no host info in the error message

@phansys: https://bugs.php.net/bug.php?id=77946 is about no error message at all, while this is about no host info in the error message

Yes，you are right.
Can you reproduce my error message ?

You should take care that some error messages returned by curl_error() (which is used to fill $ctx['error']) already include the host name, by instance:

Could not resolve host: nonexistent.tld

In my test case, the host does not on the error arrray

Which PHP version are you using? Could you please confirm if your issue is related to https://bugs.php.net/bug.php?id=77946?

I use 7.2.x  version.  This bug does not match my error message.
And the error code is not match, the issue code is 6, but mine is 7.

With #2661 (which will be part of Guzzle 7.1.0), your error message should look like (emphasis mine):

cURL error 7: couldn't connect to host (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://example.test/foo/bar

With #2661 (which will be part of Guzzle 7.1.0), your error message should look like (emphasis mine):

cURL error 7: couldn't connect to host (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://example.test/foo/bar

This is nice.  I'll close the issue.


Fix all the things

This PR incorporates many of the issues from the other PR's in addition to many other fixes and improvements.
It's updated to work with daterangepicker 3.0 (most of that didn't really change, just the removal of the BS3 dependency)

Listening of the model to update the picker now works properly and doesn't require an entirely new object so just the moment item can be updated.
Validation work better with single and range picker.  The min/max date can just be included with the daterangepicker options instead of having to be attributes.
Numerous bugs with daterangepicker have been fixed as well.
Can now cancel out of selection if clicking outside of datepicker without applying.
Can now apply additional classes to the picker popup (for example to add an inline class or custom styling class).
Daterangepicker data object can now be sent back to a variable via a "picker=obj" attribute

README.md has been updated with new updations.  example.html has been updated to work and include new options and better formatting.

Also update version to 0.3.0

Looks good to me 👍
Thanks for the hard work. Do I have a green light to merge this?
Lukas
PS: You should add yourself to CONTRIBUTORS.md and the authors tag in package.json 😀

Did as you suggested.  PR is GTG.


Fix overlay click through

Removing pointer-events: none; from .zoom-overlay fixes fat/zoom.js#18, so we can remove all the document click handling js.

you need the pointer events none for the scrolling away etc behavior


Lifecycle design changes (persistent component instances)

Fixes #115

Codecov Report

Merging #130 into master will decrease coverage by 0.5%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #130      +/-   ##
==========================================
- Coverage   64.72%   64.22%   -0.51%
==========================================
  Files           5        5
  Lines         309      327      +18
==========================================
+ Hits          200      210      +10
- Misses         97      101       +4
- Partials       12       16       +4

Impacted Files
Coverage Δ

dom.go
69.62% <66.66%> (-1.16%)
:arrow_down:

Continue to review full report at Codecov.

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

Also see this branch which has one additional commit, which I don't intend to merge (for obvious reasons). It's a test / example file I used for developing this: https://github.com/gopherjs/vecty/tree/lifecycle-test

@pdf here is what I've managed to get. It's EOD Sunday for me, and I'm not sure when I'll have time again to dive into Vecty code (probably a few weeks).
In an effort to not block you from making changes, I suggest:

If this looks mostly good to you, I can merge it and you can work from there.
If you think it needs more work before merging, I can close this PR and you can create a new one based on this one.
If you think this is all wrong for some reason, or that there's a better approach to take, I can close and you can create a brand new PR. :)

Just let me know which you prefer ^^

Will be next weekend before I can review and make a determination, thanks @slimsag

Sorry for the last-minute change BTW, hope that isn't too confusing. ^^  let me know what you think..

No problem, however I think there are some bad assumptions made, particularly in the latest commit - I don't believe it accounts for the possibility that a child may change types between renders, and there are no checks for component type equality.
  I would certainly like to add some tests though.
Let me know what you think, and we can continue either here or there, based on your thoughts.

I wasn't quite ready for this to be merged to master, as there are some outstanding things to discuss, mostly around what I'll cover in #132.

@pdf apologies for the premature merge, I figured that me and you both felt pretty confident about this implementation and, even if not complete due to things like #132, merging would be OK given Vecty hasn't had a 1.0 release yet. I should have waited for your go ahead, though, I'll do that next time! If desireable, we can temporarily revert out of master.

No problem, I should have been explicit about my opinion of the code state.  My concern is mostly for people trying to take Vecty for a spin and running into the inconsistent and hard to diagnose behaviour that this change may exhibit currently.

The changelog says:

Properties should be denoted via `vecty:"prop"` struct field tags.

What are properties and what are non-properties? How do I know if a field should be marked with that struct field tag?

Fields that are updated from the parent need to be tagged:
type InnerComponent struct {
  vecty.Core
  ParentSet bool `vecty:"prop"`
  LocalState bool
}

func (c *InnerComponent) Render() *vecty.HTML {
  return elem.Div(
    vecty.If(c.ParentSet, elem.Span(`true updated from parent`)),
  )
}

type OuterComponent struct {
  vecty.Core
  flip bool
}

func (c *OuterComponent) Render() *vecty.HTML {
  c.flip = !c.flip
  return elem.Div(
    &InnerComponet{ParentSet: c.flip},
  )
}


@types Definitions for leaflet-groupedlayercontrol Feature Request

Would love someone to help me defined the typing's for this plugin. I've been struggling with it for a few days but haven't gotten far.  It may be because I'm trying to integrate this into a project using ngx-leaflet.

I'm trying to integrate this into a project using ngx-leaflet.

did u get any further, @marcus343a ?

Hello
I'll be interested in your layer opacity code. Would you share it ?


Add aquery blog post

This PR adds the blog post to announce aquery.

(please do not remove me from reviewers - I am acting as a meta-reviewer trying to make sure that all relevant people are aware and are reviewing blog posts - thanks!)


Discord URLs with /channels/ in URL should open in same Discord instance by default

I've noticed a new behavior where when I open a message URL in Discord from within Ferdi it no longer jumps to the linked message. This is very inconvenient as a server moderator or when working with message links frequently. In the past these simply jumped to the message and/or channel+message in question. Now it opens another browser.
Could we please have a way to instruct Ferdi to handle certain URLs, especially from the web app in use, to use it's own instance to handle certain URLs? For example, if ti is from the same current app URL parent, then it would make sense to open it with itself... Does this make sense?

You can right click on any link in a service, and it should show you the option to "Open link in Ferdi" - please try that and report whether that works for you. (though its an inconvenient workaround, at least it'll enable you to use Ferdi for the timebeing)

Wow, that's an odd one. Thanks for letting me know about that - at least I won't go insane any longer. It's rough when working on projects with folks in Discord especially.
Definitely feels funky/clnky and was most certainly unexpected, but at least you're aware of it. Thanks.

Duplicate of #1501


WIP: Adding ability to configure colors for console

Specifically this useful for dark console backgrounds where the default
for 'Blue' for log level INFO is difficult to read.
Most of the changes are in src/encode/patter/mod.rs. I added default
parameters for deserializing. I added a function to describe the default
pattern string, and defined that at the top of the source file.
I added a color_map to the Encoder structs which is a HashMap that
defines the LogLovel->Color mapping. The color_map is of type
HashMap<Level, Option<Color>>, if the Option is None, then no styling
is applied.
TODO: Adding a feature means adding documentation, which isn't complete.
I can do this and add to the PR, however before i continue i want to
make sure this is the direction that the maintainer wants to take.
TODO: Other testing may need to be done. I was testing with cargo test --features file with a modified config option in the yaml test config.
As i am not familiar with this code base there may be other cases that
need to be tested.
TODO/Future: This patch only allows foreground color to be specified.
There are other aspects of styling like bold,italics,background color.
Does it make sense to allow for more detailed styling? That involves
more work and more work for the maintainer. I think foreground color will
probably cover most everyone's cases.
To use, the relevant config change is as follows:
      pattern: "%m"
      color_map:
        INFO: Blue
        TRACE: Black

Related: issue:#17, PR:#186,
Continued from: PR:#194

closing due to inactivity, when its out of WIP please re-open

Hello -- I have adding some tests and docs to my branch for the custom colors. I cannot re-open the PR from my account. Perhaps you can re-open it, or i can create a new PR.
Thanks!


Centered title bar text and aero glass

Today there is no programs that can give you centered title bar text or/and aero glass for Windows 11
Add the centered title bar text or/and aero glass

github.com/valinet/wincentertitle on Win10

github.com/valinet/wincentertitle on Win10

doesnt work

github.com/valinet/wincentertitle on Win10

doesnt work

It works on Windows 10 20H2+ only, not Windows 11.
You can switch your Windows 11's theme to 'Aero Lite' by using Winaero Tweaker(https://winaero.com) and use it
:)

Or 'downgrade' your Win11 to win10 22H2.

Ok, what about aero glass?

Ok, what about aero glass?
Aero Glass doesn't support Win11, and it doesn't support center title either.

But AeroGlass has more options to customize it.
and AeroGlass need your Windows 10 version to be 1909 or earlier.

Better option for you: Windows 1909 + AeroGlass.

Better option for you: Windows 10 21H2 + WinCenterTitle.

Windows 11's Mica doesn't support title position.
You can replace uDWM.dll to Windows 10's udwm.dll to disable Mica and use WinCenterTitle.


Add possibility to filter board by user

Discussed in https://github.com/inovex/scrumlr.io/discussions/4132

Originally posted by kevin-hoog May  7, 2024
Would make it easier to present your tickets if you could filter the whole board for a specific user easily.

Idea:
@Usertag in notes. Registered users should have the ability to tag other users.
Use Case 1: In larger meetings, the ability to directly tag someone to draw their attention to specific points.
Use Case 2: For future developments, tagging could be linked to action items (e.g., integration with Jira).


Integrate any required/desired tools into the gridcoin-community org

 Issue by grctest
Monday Jan 30, 2017 at 14:46 GMT
Originally opened as https://github.com/Erkan-Yilmaz/Gridcoin-tasks/issues/76

https://cryptocointalk.com/topic/52186-gridcoin-community-development-process-idea/#entry232500
We've created a gridcoin-community organization, where we can explore improved github workflow.
What tools should we directly integrate into the org or individual repos? We can add them as long as they're free, any requests?
https://github.com/integrations?utf8=✓&query=
Originally raised:
https://github.com/Erkan-Yilmaz/Gridcoin-tasks/issues/41

 Comment by denravonska
Monday Jan 30, 2017 at 14:51 GMT

We can consider following gitflow. It's pretty well adapted so if we start using it as well people know what to expect in terms of branching, merging and releases.

 Comment by LokiToki
Tuesday Mar 14, 2017 at 10:15 GMT

I'm totally new to github and would like to see the correct usage of the default tools. Additionally i would advise to keep it as simple as possible with a clear structure.
Is this community org repo ready-to-use? If yes i put it in the next easy-dev-start Virtual Machine instead of the master-branch.

 Comment by grctest
Tuesday Mar 14, 2017 at 12:59 GMT

The community org repo is behind master in terms of development, you should include the official gridcoin-research repo's development branch instead.

Is this still relevant? We have Travis CI included, and I do not see any other  that might be needed.

Closing.


[6.3] ensure resumption on upgrade leader

Description

Forces resumed upgrades that contain etcd upgrade phases to be run on the node coordinating the upgrades. This prevents unsynced plan phases from blocking the upgrade due to dependency resolution failures.
Type of change

Bug fix (non-breaking change which fixes an issue)
This change has a user-facing impact

Linked tickets and other PRs

Closes #, refs #
https://github.com/gravitational/gravity/issues/1689

Backports

#1737

TODOs

[x] Self-review the change
[ ] Write tests
[x] Perform manual testing
[ ] Address review feedback

Implementation

Testing done

Do a manual upgrade that contains an etcd upgrade, and then resume from a different node.
Node 1:
root@kevin-test1:~/build# ./upload
Thu Jun 18 20:12:20 UTC	Importing application telekube v7.1.0-alpha.1.91
Thu Jun 18 20:13:15 UTC	Synchronizing application with Docker registry <IP_ADDRESS>:5000
Thu Jun 18 20:15:07 UTC	Synchronizing application with Docker registry <IP_ADDRESS>:5000
Thu Jun 18 20:16:18 UTC	Application has been uploaded
root@kevin-test1:~/build# ./gravity upgrade --manual
Thu Jun 18 20:16:38 UTC	Upgrading cluster from 7.0.0 to 7.1.0-alpha.1.91
Thu Jun 18 20:16:39 UTC	Deploying agents on cluster nodes
Deployed agent on kevin-test2 (<IP_ADDRESS>)
Deployed agent on kevin-test1 (<IP_ADDRESS>)
The operation has been created in manual mode.

See https://gravitational.com/gravity/docs/cluster/#managing-an-ongoing-operation for details on working with operation plan.

Node 2:
root@kevin-test2:~/7.0.0# /var/lib/gravity/site/update/agent/gravity plan resume
[ERROR]: Plan must be resumed on node Server(AdvertiseIP=<IP_ADDRESS>, Hostname=kevin-test1, Role=node, ClusterRole=master)

Additional information

@knisbet I don't think we need to be backporting to 6.3 anymore. The only customer's using it is upgrading to 7.0.

I meant to do 6.1, not sure why I did 6.3.


Create master pipeline based on Jenkinsfile

This defines a pipeline for master, releases/* and pipelines/* branches.
The marathon-unit-integration-tests-pushes should be removed once this is merged.
Closes #4893.

Can we enumerate the steps, so the result is shown in order?

Can we add test coverage reporting?

Here is the new ordering once we remove the old pipelines:


Highlighting issues related to percent literals

I noticed some issues related to how % literals are being highlighted:

Ruby allows a wide array of different delimiters for % literals, such as %+foo+, %!bar!, %~baz~, etc. Crystal only allows (), {}, <>, [], and ||, but vim-crystal is currently highlighting the full range of Ruby delimiters.
%W, %I, and %s are also not allowed in Crystal.
%q literals are like "raw" strings, so any escaped delimiters inside them shouldn't affect their highlighting. For example, %q((\)) should be highlighted properly, since it compiles to "(\\)".

This PR should correct these issues.

Thank you for the improvements! I'll review them tonight.


chore(main): release 2.10.0

:robot: I have created a release beep boop
2.10.0 (2024-07-12)
Features

EMS-1027: no PDF - account - sign in - verify email after expiry (#2492) (2910cb2)
EMS-1027: no pdf - account sign in, creation - unverified email enhancements (#2540) (e85b2f8)
EMS-1269: no PDF - CRON - Application submission deadline reminder email (#2550) (d0954c5)
EMS-1289: added Azure DNS Zone and recorsets (c38b326)
EMS-2433: no PDF - Eligibility - Contract too short exit page (#2610) (dbb94a3)
EMS-2433: no PDF - Eligibility - No short term cover redirect (#2621) (1753a3a)
EMS-3063: no PDF - Your business - Turnover - Dynamic legend (#2467) (2ef84f3)
EMS-3338: no pdf - application submission - XLSX - export contract (#2583) (051c3c8)
EMS-3342: no pdf - application submission - XLSX - loss payee - financial information (#2562) (4c1d9fd)
EMS-3342: no pdf - application submission - XLSX - policy (#2546) (05e8120)
EMS-3342: no pdf - application submission - XLSX - policy section (#2578) (a4a6e90)
EMS-3344: no PDF - application submission - XLSX - buyer (#2495) (28d9cd5)
EMS-3345: no PDF - application submission - XLSX - exporter business (#2471) (30756c8)
EMS-3428: no PDF - CRON - Application - submissionDeadline (#2501) (ea2ceb1)
EMS-3461: no PDF - Account creation with a blocked account (#2577) (015ec50)
EMS-3487-3493: no pdf - application submission - XLSX - country mapping (#2594) (cbc1a8a)
EMS-3490: no pdf - application submission - xlsx - protect from modification (#2584) (c6ef02d)
EMS-3532: no pdf - application submission - XLSX - worksheets (#2654) (965e618)
EMS-3533: no pdf - start page/URL redirect (#2684) (b0d2924)
EMS-3547: added version flag to Azure MysQL flexible server creation (845f03d)
EMS-3548: no pdf - post data migration - company data (#2680) (74a046f)
EMS-895: no PDF - CRON - Abandoned application access (#2433) (a67483c)
validate-yml: added YAML validation (28303ab)

Bug Fixes

deployment-yaml: removed repeated line (#2606) (aeaa7dd)
deployment-yaml: removed repeated lines (#2607) (9c95635)
EMS-1269: no PDF - CRON - Submission deadline email (#2670) (743388c)
EMS-1289: discriptive steps name (b9f49a4)
EMS-3234: no PDF - Export contract - Fixed sum amount - decimal number data saving (#2653) (8ae5ba9)
EMS-3234: no PDF - Validation - Number validation decimal places (#2582) (61c51a1)
EMS-3268: no PDF - policy - check your answers - redirect (#2505) (65b4808)
EMS-3348-3402: no PDF - check your answers - export contract - submit button (#2502) (7011ab9)
EMS-3385: no PDF -  policy - nullify data when changing policy type (#2500) (55424cf)
EMS-3399: no PDF - Export contract - Agent charges - Changing back to standard currency (#2593) (18d2b0b)
EMS-3401: no pdf - remove MOJ dependency (#2551) (2a902fb)
EMS-3412: no PDF - your business - content update (#2503) (d7dd2b4)
EMS-3413: no PDF - all sections - check your answers task status (#2506) (0b12a5c)
EMS-3434-3435: no pdf - application submission - XLSX - eligibility, declarations copy (#2517) (4036c84)
EMS-3436-3448: no pdf - application submission - XLSX - content mapping issues (#2547) (abc8b51)
EMS-3439: no pdf - business - company name with special characters (#2672) (21d5f0e)
EMS-3439: no PDF - Eligibility - Check your answers - Special characters (#2632) (3c22794)
EMS-3443: no pdf - application submission - xlsx - content updates (#2549) (515f36a)
EMS-3454: no PDF - XLSX - Currency symbols (#2605) (cf59647)
EMS-3459: no pdf - account creation - account exists - validation rules (#2588) (7925d2f)
EMS-3462: no pdf - application submission - xlsx - buyer - fix typos (#2567) (b3dc63f)
EMS-3466: no pdf - application submission - XLSX - your buyer section (#2554) (3750ce1)
EMS-3471: fix incorrect email url (#2633) (1e4d6ea)
EMS-3471: no PDF - console.info for debugging urlOrigin (#2604) (e2b8523)
EMS-3471: switched to req.headers.origin (#2608) (140f138)
EMS-3494: no pdf - application submission - xlsx date format (#2644) (380704f)
EMS-3508-3543: no pdf - application submission - XLSX - agent values (#2675) (3e15309)
EMS-3508: no pdf - application submission - XLSX - buyer conditions (#2647) (1c69898)
EMS-3515: no PDF - XLSX - Policy - Pre credit period (#2636) (1bd056e)
EMS-3516: no PDF - application submission - XLSX - Name on policy (#2648) (18cfcd9)
EMS-3518: no pdf - application submission - XLSX - final destination (#2642) (6123d86)
EMS-3518: no pdf - application submission - XLSX - final destination (#2649) (542aa6b)
EMS-3520: no pdf - dashboard - policy currency code (#2641) (44a1f60)
EMS-3524: no pdf - data migration - account, application relationships (#2652) (7e5c902)
EMS-3524: no pdf - data migration - account, buyer relationships (#2650) (6022563)
EMS-3524: no pdf - data migration - eligibility section review condition (#2677) (bb5a99e)
EMS-3530: no PDF - Pure number in text field (#2673) (adaea21)
EMS-3534: no pdf - account sign in - password input width (#2669) (cc7a2ca)
EMS-3546: no PDF - Export contract - Agent charges - fixed sum commas (#2678) (26c1b6e)
validate-yml: added --legacy-peer-deps flag (497757f)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.10.0
:sunflower:


Configure Data Retention period

I am currently evaluating Umami for use in my applications. The first thing I want to say is that it is a fantastic project, so congratulations and thanks to the creator and the contributors.
However, one of the weak issues that I see is regarding data retention.
It would be great to be able to configure a data retention period and automatically delete data prior to that period.
The retention period can have high value especially under European jurisdiction. The way I imagine it is maybe at the configuration level for each site, you could select the number of days you want to retain the data, and then the server automatically deletes every day all the data before the period.
I have searched and have not seen anything similar in Umami, I have also looked at the API and there is no endpoint to remove. If there was, I could create a script that would do it.

I have the same concern, having the possibility to delete old data, automatically or not, would be nice.
That said, I ending up thinking I will do it directly on the database:
deleting entries in session table with created_at older than what is wanted is enough to clean all the data.

Umami itself is just a web app. It's not a long running process where you could issue commands like that. This is more of a task for a cron job. That said, we can probably add a delete script that your cron job could call if that's what you need.

Umami itself is just a web app. It's not a long running process where you could issue commands like that. This is more of a task for a cron job. That said, we can probably add a delete script that your cron job could call if that's what you need.

This would be a good way to go.

Umami itself is just a web app. It's not a long running process where you could issue commands like that. This is more of a task for a cron job. That said, we can probably add a delete script that your cron job could call if that's what you need.

That would be awesome. A script would be good, or maybe a new API endpoint to delete data to give more flexibility. Then one could create a script that runs in a cron job and triggers this endpoint in the desired moments.

I was thinking a bit about this, and I think there are two types of solutions to solve this problem, which both includes a cron job. If you have PHPmyadmin installed alongside your MySQL database instance, you can create cron jobs inside PHPmyadmin, which would delete data if they are too old, which you specify.
The other way is for you to have a cron job running. I don't think it's possible to run it directly from the website, but you can setup a serverless function to run every time, you again specify. Both Netlify and Vercel supports this, and it could be done by having an API endpoint which would delete it. But you could also set the cron job on your own server.

Yeah okay. I havn't read the API documentation so much. But it does seem like it's a very simple task to do. Maybe the only thing that's needed for it to work with a bash script is a new API-endpoint, which deletes the data from the database. The endpoint could have some time/date for which data should be deleted

Hello
Automatic data retention support would also work better for hosting on free resources as Heroku.
I have an idea to support it.  On "Settings > Websites > Edit" on Umami, have new parts as
-new textbox as "retention period"
-new button1
-new button2
As well as "Get tracking code", button1 output auto delete script based on "retention period" textbox.  And use implement it as own automatic retention maintenance.  This is for professional user.
Button 2 is for manual retention maintenance.  Pushing this button, Umami deletes records out of retention period.  This is for hobby user as using Heroku.
At least, Umami doesn't need to care execution timing of data deletion in both cases.

What about something like https://www.easycron.com/ it would be possible to just add a API endpoint that can be called with a POST Request and some kind of Webhook-Secret. Whenever the webhook endpoint is called you can check if some websites need to delete data.
The retention would be by default unlimited but can be define per website in days or via dropdown for example 1day; 1 month; 1year; and so on


MIRTARBASE import fails

ImportError: Pandas requires version '3.0.10' or newer of 'openpyxl' (version '3.0.7' currently installed).

I updated the minimum version of openpxyl and retested. MIRTARBASE now successfully imports


num_rational::Ratio's Hash is incompatible with Eq.

As of 0.1.38, num_rational::Ratio implements PartialEq and Eq by the numeric value, while Hash is derived. This violates the rule of Eq + Hash which is a == b ⇒ hash(a) == hash(b) when non-reduced ratio is involved:
let a = Rational::new_raw(4, 2);
let b = Rational::new_raw(6, 3);
assert_eq!(a, b); // ok.

let mut h = HashSet::new();
h.insert(a);
h.insert(b);
assert_eq!(h.len(), 1); // likely panic, 2 ≠ 1

The hash should be computed using the reduced value. This unfortunately means the GCD will need to be calculated every time we need the hash.

Ugh.  Yes, I agree this is wrong, and needs to be fixed.
I wish we could just assume they're in reduced form as an invariant, but we'd probably need to make new_raw unsafe to signal that contract.
I wonder if it's worth trying to be more clever than performing a full GCD-reduction in Hash?  I'm thinking something like this pseudo-code:
while (denom != 0) {
    hash(numer / denom);
    (numer, denom) = (denom, numer % denom);
}

That's basically what Ratio::cmp is doing too, used for Ratio::eq.
Incidentally, I think cmp is broken for zero denominators.  Might just deserve a non-zero assertion, unless we want to treat them like infinities...


nix-shell --pure doesn't expose sphinx binary

Works with the regular nix-shell but not with the pure one. Is it possible to have the binary in the pure shell too?
❯ cat -p shell.nix
let
  mach-nix = import (builtins.fetchGit {
    url = "https://github.com/DavHau/mach-nix";
    ref = "refs/heads/master";
  }) {};
in
mach-nix.mkPythonShell {
  requirements = "sphinx==4.2.0";
}
❯ nix-shell
...
[nix-shell:~/tmp/mach-nix-pure]$ sphinx-build --version
sphinx-build 4.2.0

[nix-shell:~/tmp/mach-nix-pure]$
exit

~/tmp/mach-nix-pure took 25s
❯ nix-shell -p

[nix-shell:~/tmp/mach-nix-pure]$ sphinx-build --version
The program 'sphinx-build' is not in your PATH. It is provided by several packages.
You can make it available in an ephemeral shell by typing one of the following:
  nix-shell -p python310Packages.sphinx
  nix-shell -p python39Packages.sphinx

Oh my, I did it again: mixed up -p and --pure... Sorry!


brew doctor should detect missing command-line tools

I upgraded to El Capitan and "brew doctor" said I was good to go, but I wasn't, because I hadn't yet installed the new version of the command-line dev tools.  "brew install php56" failed because it couldn't find libz.  Seems like something "brew doctor" should catch..

Heh, that got me too. And last time I upgraded. This is a good idea.

We're closing out all issues relating to features that no-one is implementing in the short term in favour of pull requests.


Cannot connect to X server Segmentation fault when running

This usually occurs because you're trying to run TFLite detection program over an SSH connection. The program needs a monitor to display results to, so if there is no monitor, the program will crash. Plug a monitor in to your Raspberry Pi and try running it again!

Just for anyone not using a monitor, you can use the image_detection script and cv2.imwrite to write the output to a file instead:
Script to run:
python3 TFLite_detection_image.py --modeldir=Sample_TFLite_model --image test1.jpg
Section to modify (currently line 178):
#cv2.imshow('Object detector', image)
cv2.imwrite("output`.jpg", image)


The Red Line in Right side of the terminal.

How to deal with the red vertical line appearing in right side of the terminal.

Hi @AJgotBeard ,
What do you want to make with it? Do you want to remove it completely or move it left?
Thanks,
Roman

I wanted it to be gone actually.

Sorry about this issue being open for too long.

Hi, you can convert that to gray by adding the following line in your .vimrc.
hi ColorColumn ctermbg=8


fix(at_onboarding_cli): README typos

- What I did
Corrected some typos
- How I did it
- How to verify it
- Description for the changelog
fix(at_onboarding_cli): README typos

Poor network conditions caused a duplicate PR


feat: added password toggle button for stakeholder

📋 Description

Added a password toggle button in the password field of signup and login page for stakeholder.
🔨 Changes Made

Added the icon in "stk_signup.html" and "stk_login.html" while containing it in a div
Added the toggle script and font-awesome CDN link in the same pages
Added the appropriate styles in "login_style.css"
Formatted the file structure

✅ Checklist
Before submitting the PR, please make sure you have completed the following:

[x] I have followed all the guidelines mentioned in CONTRIBUTING.md.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation (if applicable).
[x] I have tested it locally and it works fine.
[x] Any dependent changes have been merged and published in downstream modules.

🏷 Types of Changes
What type of changes does your code introduce? (Check all that apply)

[ ] Bug fix (non-breaking change which fixes an issue) 🐛

[x] New feature (non-breaking change which adds functionality) ✨

[x] UI enhancement (non-breaking change which enhances UI) 🎨

[ ] Documentation update 📚

Fixes #420

📸 Screenshots (if applicable)

Login Page

Signup Page

Thank you for contributing to Research Nexus! We look forward to reviewing your PR and getting it merged!

@trinetra110 The icons will trigger like this-

Oh, sorry I'll fix that.

@Harshdev098 Issue fixed for both the pages; please check.