Added parse-connection Function

Added a helper function to parse mongodb connection strings (as used by heroku).  Code originally from http://thecomputersarewinning.com/post/clojure-heroku-noir-mongo, and authors permission obtained for this contribution.

Hi @rodnaph. I'm a little lukewarm on this; the connection URL format supported by this patch is that used by a single application hosting provider, not by the MongoDB project itself. It would therefore better be named "parse-heroku-connection-url", at which point it is questionable whether it belongs in Congomongo.
That said, if @seancorfield sees value in merging the (renamed) function, I'm fine with that.

Ah yeah that makes sense.  I just assumed it was a mongodb standard, didn't think to look into it further.
Maybe better placed in an Heroku Clojure library, assuming you don't want to pull it.

It actually seems to be a standard MongoDB connection URI:
http://www.mongodb.org/display/DOCS/Connections
So I'm inclined to accept this.

Ah, nice; I missed that. Looks like support for those URLs is baked into the Java driver, so we should probably just delegate to that. I guess that adding a :url option to make-connection would be an ideal way to plug this in.

That sounds like a better approach. I'll close this and open an issue for :uri support (it's a URI not a URL, right?)

https://github.com/aboekhoff/congomongo/issues/60

Yup, sounds good, and yes, it's a URI. The fiddly thing is that make-connection currently always expects a db arg which can be a string or a symbol, so it's inconvenient to overload that function to accept a URI in place of any of its args.


Vignette and testthat

I made a couple of minor editorial changes to the vignette to fix some typos. I have also completed a testthat file for the basic magnitude functions.

:+1:


x/tools/gopls: DidModifyFiles: "non-abs file path %q" bug in port.matches

#!stacks
"bug.Reportf" && "cache.port.matches:+5"

Issue created by stacks.
func (p port) matches(path string, content []byte) bool {
	ctxt := build.Default // make a copy
	ctxt.UseAllFiles = false
	path = filepath.Clean(path)
	if !filepath.IsAbs(path) {
		bug.Reportf("non-abs file path %q", path)   // <---------
		return false // fail closed
	...

This stack NaAAKw was reported by telemetry:

gopls/bug
golang.org/x/tools/gopls/internal/util/bug.report:+35
golang.org/x/tools/gopls/internal/util/bug.Reportf:+1
golang.org/x/tools/gopls/internal/cache.port.matches:+5
golang.org/x/tools/gopls/internal/cache.matchingView[...]:+23
golang.org/x/tools/gopls/internal/cache.(*Session).viewOfLocked:+15
golang.org/x/tools/gopls/internal/cache.(*Session).DidModifyFiles:+138
golang.org/x/tools/gopls/internal/server.(*server).didModifyFiles:+36
golang.org/x/tools/gopls/internal/server.(*server).DidOpen:+20
golang.org/x/tools/gopls/internal/protocol.serverDispatch:+253
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.ServerHandler.func3:+5
golang.org/x/tools/gopls/internal/lsprpc.(*streamServer).ServeStream.handshaker.func4:+52
golang.org/x/tools/gopls/internal/protocol.Handlers.MustReplyHandler.func1:+2
golang.org/x/tools/gopls/internal/protocol.Handlers.AsyncHandler.func2.2:+3
runtime.goexit:+0

<EMAIL_ADDRESS>go1.23.2 windows/amd64 vscode (2)

Related Issues

x/tools/gopls: "unexpected file: %q" bug.Report in bestView (reported by telemetry) #67288
x/tools/gopls:  "inline: corrupted reference %v" bug in golang.RemoveUnusedParameter #69896 (closed)
x/tools/gopls: "edit does not belong to syntax of package %q" bug in golang.Rename #70049
x/tools/gopls: bug: load.go:185: go/packages returned unexpected package "golang.org/x/tools/go/callgraph/cha/testdata/iface.go.~master~" for standalone file #69331 (closed)
x/tools/gopls: "unexpected files in command-line-arguments package" bug (via telemetry) #64557 (closed)
x/tools/gopls: ApplyFix: "no file for edit position" bug in suggestedFixToDocumentChange (via telemetry) #68818
x/tools/gopls: bug in analysis importer reported by telemetry #64236 (closed)
x/tools/gopls: analysisinternal.ZeroValue crash on (presumably) unsafe.Pointer #70585 (closed)
x/tools/gopls: toGobDiagnostic bug reported by telemetry #65695 (closed)
x/tool/cmd/gopls: crashes frequently #32564 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

This implies that session.DidModifyFiles was passed a list of modifications that include relative paths. This is most likely because DidOpen (among others) was passed a relative path that it should have either rejected or absolutized.

Agreed. The bug is not that the client sent bad paths, but that they weren't rejected earlier.
I feel like there's a whole category of bad inputs that gopls could do a better job of catching and handling. In this case, there's no good way to reject a bad notification, so gopls needs raise a message or diagnostic (or both) alerting the user that their client is misbehaving.


Attempt to subtract with overflow

Describe the bug
The code panics at
                    .split_off(self.res_stack.len() - 3usize)

from the generated code:
            ProdKind::InlineElStrong => {
                let mut i = self
                    .res_stack
                    .split_off(self.res_stack.len() - 3usize)
                    .into_iter();
                match (i.next().unwrap(), i.next().unwrap(), i.next().unwrap()) {
                    (
                        Symbol::NonTerminal(NonTerminal::StrongDelim(p0)),
                        Symbol::NonTerminal(NonTerminal::Inline(p1)),
                        Symbol::NonTerminal(NonTerminal::StrongDelimOpt(p2)),
                    ) => {
                        NonTerminal::InlineEl(
                            inline_actions::inline_el_strong(&*context, p0, p1, p2),
                        )
                    }
                    _ => panic!("Invalid symbol parse stack data."),
                }
            }

It's possible that this is a grammar issue, but it's not clear what happened from info in the panic itself.
Here's the grammar:
Inline: InlineEl*;
InlineEl: prefix=StrongDelim children=Inline suffix=StrongDelim? {Strong, 11, left}
        | prefix=EmphasisDelim children=Inline suffix=EmphasisDelim? {Emphasis, 11, left}
        | title_prefix=LinkTitlePrefix title=Inline continuation=Link1? {Link , 11, left}
        | prefix=CodeDelim text=CodeChar* suffix=CodeDelim? {Code, 11, left}
        | text=TextChar+ {Text, 9, left};

StrongDelim: StrongT;

EmphasisDelim: EmphasisT;

LinkTitlePrefix: LinkTitlePrefixT;
LinkTitleSuffix: LinkTitleSuffixT;
LinkAddressPrefix: LinkAddressPrefixT;
LinkAddressSuffix: LinkAddressSuffixT;
Link1: title_suffix=LinkTitleSuffix address=LinkAddress?;
LinkAddress: prefix=LinkAddressPrefix address=LinkAddressChar* suffix=LinkAddressSuffix?;
LinkAddressChar: LinkAddressCharT | EscapedChar;

CodeDelim: CodeDelimT;
CodeChar: CodeCharT | EscapedChar;

TextChar: TextCharT | EscapedChar;

EscapeChar: EscapeT;
EscapedChar: prefix=EscapeChar text=AnyCharT;

Layout: Empty;

terminals
Empty: "";
EscapeT: "\\";
AnyCharT: /./;
TextCharT: /[^*_`\\]/;
CodeDelimT: "`";
CodeCharT: /[^`\\]/;
LinkTitlePrefixT: "[";
LinkTitleSuffixT: "](";
LinkAddressPrefixT: "(";
LinkAddressSuffixT: ")";
LinkAddressCharT: /[^)\\]/;
StrongT: "*";
EmphasisT: "_";

So foremost this is a bug about error messages.

Thanks for the report. I don't think it could be a grammar issue. It smells to me like a bug in code gen. Could you make a PR with a failing regression test? Probably the best place to put it is in the tests crate. Something like src/regressions/issue_16_subtract_overflow_panic.

Oh sure! Sorry, it may take me a couple days. Thanks for the pointers for making the test.
Although TBH I'm not confident I have the exact text that caused the issue on hand... I'll see if I can reproduce it.

I figured out what the problem is but it requires a bit of work. Only default builder for GLR is affected. Thus, the workaround until I fix the issue is to either use generic builder or LR parsing.

@andrewbaxter I've finished rework of the generator. This issue is resolved. Thanks again for the regression test. I'll make a bugfix release in the following days.

Awesome, thanks! :bow:


now with added monkeys!

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/644/
Test PASSed.


Punctuation is not correctly dropped from toc_data

markdown.render('## tl;dr')
=> "
tl;dr
\n"

Per this answer, punctuation is stripped from the anchor. I've confirmed GH processes it this way here. So, the resulting id of the above code should be tldr. I believe the ; is getting erroneously replace with a space.
Thanks a bunch!

Hello @xavdid,
GitHub doesn't use Redcarpet as its Markdown processor anymore. This is the expected output ; Redcarpet replaces punctuation elements and spaces with dashes.
I'm giving this a close but thanks for reporting anyway ! :-)


GEOPY-245

Swap nan's for zeros
Protect against empty object selection

@benk-mira Whenever the tests are passing - ready for review


Looking for a good way to override behavior of VFG?

I want, to replace the help tooltip behavior by a modal. I wonder what should be the best approach to do it properly, of course I could use vanilla js to modify DOM on render for each help icon, but I'm affraid it could be a bit heavy.
Anyone as found a good way to do something like that before?

Sorry, but currently there is no good way to change the template of vfg.

Thanks for your answer, I finally made it with JQuery hook. Not perfect but in the meantime I prefer that and keep the possibility to update future versions of VFG.


Error Messages

Hi
I tried to use your package but i am facing following errors

Please userequire("history").createBrowserHistoryinstead ofrequire("history/createBrowserHistory"). Support for the latter will be removed in the next major release.

Uncaught TypeError: Cannot read property 'call' of undefined
I am not sure if its relevant, but can you point out how do I fix them
Thanks

@vivekmpuh I have a PR into this repo, but it seems as though maintenance has stalled. In the meantime, I've forked the repo and published under my own namespace because I need the same updates and maintenance has stalled for the time being on this repo. https://github.com/curiosity26/redux-saga-router


minor day-zero bug: pods not cleaned-up with PodGCOnSuccess

Summary
Once a workflow is complete, all of its pods should be deleted on labeled as complete. If the pod-gc is on success, and the pod fails, it is not labeled.
I think this impact is small otherwise we'd have heard about it.

I think this is no longer an issue and we've covered most of the cases in e2e tests: https://github.com/argoproj/argo-workflows/blob/master/test/e2e/pod_cleanup_test.go
Let me know if I've missed anything else and I can help look into it.


[UI] Replace RKE2 with RKE Federal

What kind of request is this (question/bug/enhancement/feature request):
Feature Component
Summary:
RKE2 clusters will be known as "RKE Federal". Today when you import an RKE2 cluster into ECM the cluster will show up as "RKE2". We should change this -- the cluster should show up and be recognized as "RKE Federal".
Related:
RancherD will need to be recognized separately. Today, with no changes made, RancherD would be recognized as an RKE2 cluster. This will need to be changed so it is recognized as a "rancherd" cluster. A separate issue tracks this work here: https://github.com/rancher/rancher/issues/28651

With latest build from master  - master-31d7ad327d0287329873868ead67b34f2cda7b01-head , imported RKE2 clusters show up as "RKE Federal".


Animations making VS Code feel slow

The empty document well animations (infinity icon motion, text fade in) make the tool feel slow, as if it can't keep up with me resizing the window.  If i make the windows smaller, the text disappears and then the icon catches up with me.  When i make the window larger, the icon motion is behind my resizing gesture, and eventually the text fades in.
All of these visuals happen after i make a resize gesture, which makes me feel like the tool can't keep up, like something is happening in the background, and I should wait for it.  it is distracting too, it always catches my eye and then I lose my context.
VS Code is lightweight and fast. The UI should feel snappy, not delayed. We don't animate in search results or when we open a file.  Quick Open is instantaneous.  Async queries in the Extensions viewlet show me a progress bar immediately.   Why then does our desktop resize animate behind my gestures?
CC @bgashler1 @seanmcbreen @stevencl @chrmarti @joaomoreno

I have exactly the same feeling.

Possible explorations I could try

Remove animation completely (make it snap in/out instantly with no transition)
Reduce the latency and duration of the animation by say 75% (.25 seconds vs. 1 second)
Make the tips dismissible with an affordance for people who don't like it (thus animation would not apply)

One other thing we discussed in UX sync today was  that the tips seem more important than the logo (function over form).  So why are we hiding the tips and not the logo at small window heights?
Since we don't want to invalidate Sean's experiment, we will not attempt to change anything in product for the time being, but we can figure out what our next move is.

Removed all animations/transitions in my PR linked above.


add pinball and exceedance plots + tests

Pull Request
Description
Add pinball and exceedance plots

How Has This Been Tested?
CI tests + new tests

[x] Yes

Checklist:

[x] My code follows OCF's coding style guidelines
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have checked my code and corrected any misspellings

Hi @peterdudfield, These charts look interesting. I left a few questions and suggestions. What do pinball loss and exeedance indicate? Maybe it's worth adding some text about it in the ReadMe or directly in the dashboard.
Also, maybe something to address in the future, but I feel like the Metrics page is starting to get a bit crowded. What do you think?

Yea, ill add some more details in the readme.md
Yea, its a good point its getting more crowded, perhaps we can think of some turning thing on and off in a module way


General: Support ultra wide screens in the course management view

Checklist
General

[x] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Client

[x] I followed the coding and design guidelines and ensured that the layout is responsive.
[x] I added multiple screenshots/screencasts of my UI changes.

Motivation and Context

Since many users nowadays use ultra-wide screens, we need to make sure that all views look good on them as well.
Description

In order to scale the view to the complete width,  i removed the hard-coded width value.
Steps for Testing

Prerequisites:

1 Instructor
Testable after merge of #5205

Log in to Artemis
Navigate to Course Management
Check that the view scales also on large screens

Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Screenshots

Before:

After:

Why don't you just add that one line to #5205  ? :D

I wanted to separate enhancement and bug fix ^^ therefore two small PRs (and we have to check that these changes don't break the view again :D)


Add Support to Swift Package Manager

Please, add support to Swift Package Manager. Best regards

@jacksontaylor13  I forked the project and added support for Swift Package Manager. However, before making the pull request, what would be a good version (tag)? Let me know.


Fairfax Portal RI Fix

Overview/Summary
Providing fix to the Fairfax (US Gov) portal accelerator for the "The element for [steps('lzSettings').denyClassicResources] could not be found in the createuidefinition" issue #1279.
This PR fixes/adds/changes/removes

Updated fairfaxeslz-portal.json

Breaking Changes

N/A

Testing Evidence

Testing URLs
Azure Public

Azure US Gov (Fairfax)

As part of this Pull Request I have

[X] Checked for duplicate Pull Requests
[X] Associated it with relevant issues, for tracking and closure.
[X] Ensured my code/branch is up-to-date with the latest changes in the main branch
[X] Performed testing and provided evidence.
[X] Ensured contribution guidance is followed.
[X] Updated relevant and associated documentation.
[X] Updated the "What's New?" wiki page (located: /docs/wiki/whats-new.md)

@jtracey93 Managed to find a person with privileges to test in Fairfax, and confirm it is all good (as you know). Successfully tested with single subscription deployment.
GTM if you are happy.


Handbook update for CODEOWNERS-based approval model

Migrated from GitLab: https://gitlab.com/meltano/handbook/-/issues/66
Originally created by @aaronsteers on 2022-03-01 17:14:19

I'm not sure if we updated the handbook yet on this topic. Dropping a reminder here to double check and update the handbook if needed.

View 4 previous comments from the original issue on GitLab


levels on contourf creating white border around plot

Specifying the colour limits in the contourf function using the levels keyword argument creates a white border around the plot. Seems like unintended behaviour?
MWE:
using CairoMakie

M = rand(10, 10)
fig = CairoMakie.Figure()
ax = Axis(fig[1,1])
cplot = CairoMakie.contourf!(fig[1,1], 1:10, 1:10, M, levels=0:0.1:1)
Colorbar(fig[1,2], cplot)
fig

Worth noting that this issue is also displayed in the Colorbar examples on the Makie website: link

Just a comment, this does not seem to occur with GLMakie, that may be a problem coming from Cairo itself...

Ahh okay, interesting

Following discussion on the Julia forum, seems like this is intended behaviour, so I'm closing the issue.
For anyone coming along later, tightlimits!(ax) fixes the problem.

@jewh I see now that I did not understand your question correctly, I thought you were referring to the white lines between the different color levels. My bad, sorry!


Missing Catalysis-classifications for ontologies

Extend classification of ontologies by

electrocatalysis
photocatalysis

and see if other disciplines of catalysis also were forgotten in initial template.

solved with commit https://github.com/nfdi4cat/Ontology-Overview-of-NFDI4Cat/commit/ebed057b58dd51df0d71e5a9e088718a216e66d0


Adjust permissions check on creating PR to fix #6302

Some users in #6302 appear to be having difficulty creating pull requests since #6098.
I'm uncertain as to why this additional permissions check is required perhaps these users have a different permissions model but I'm raising this PR as possible fix.
Fixes #6302

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c168095). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master    #6607   +/-   ##
=========================================
  Coverage          ?   40.46%
=========================================
  Files             ?      405
  Lines             ?    54388
  Branches          ?        0
=========================================
  Hits              ?    22006
  Misses            ?    29356
  Partials          ?     3026

Impacted Files
Coverage Δ

routers/api/v1/repo/pull.go
17.7% <0%> (ø)

routers/repo/pull.go
36.67% <0%> (ø)

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 c168095...ea494fc. Read the comment docs.

This is unnecessary the likely issue is something to do with a migration.


Cant login to rabbitmq through RestClient on 2.1.1

After I updated project to 2.1.1 my restClient stoped login to rabbit - Unauthorized.

But if I'm trying login with browser - evething works fine

@Petermarcu this doesn't seem related to ASP.NET Core directly.
@PavelMekhnin - can you provide more info about the problem, such as your code, or other project info?

@PavelMekhnin can you also let us know what you updated from? For example, were you on 2.1.0 and went to 2.1.1 or were you on 1.0 and moved to 2.1.1?

@Petermarcu I updated from 2.0.6 to 2.1.1 and it broked. I'm sure it's bacouse of update.
how I send request before and its worked:
`var ub = new UriBuilder(managementUri)
{
UserName = rabbitMqConfig.User,
Password = rabbitMqConfig.Password
};
            var client = new RestClient(ub.Uri);
            try
            {
                if (HasHaModeAllPolicy(queue, client, rabbitMqConfig)
                    || TryCreatePolicy(queue, client, rabbitMqConfig))
                {
                    return true;
                }
            }`

and method
`        private bool TryCreatePolicy(string queue, RestClient client, RabbitMqConfig config)
{
var createQueuePolicyRequest = new RestRequest
{
RequestFormat = DataFormat.Json,
Resource = $"api/policies/%2f/ha-{queue}",
JsonSerializer = new RestSharpNewtonsoftSerializer(),
};
        var policy = _rmqHaClusterPolicyFactory.CreatePolicy(queue);
        createQueuePolicyRequest.AddBody(policy);

        var response = client.Put(createQueuePolicyRequest);
        return response.IsSuccessful;
    }`

how I fix after update: Added to createQueuePolicyRequest
Credentials = new NetworkCredential(config.User, config.Password)

@PavelMekhnin what OS are you using? Windows?  Linux?

@davidsh Linux
@karelz yes, before it  worked with just uriBuilder and cridensionals
 UriBuilder(managementUri)
                {
                    UserName = rabbitMqConfig.User,
                    Password = rabbitMqConfig.Password
                };

.NET Core 2.0 on Linux used CurlHandler as the HTTP stack.  CurlHandler supported embedded username/password in the URL with formats such as:
<EMAIL_ADDRESS>
.NET Core 2.1 on Linux uses SocketsHttpHandler.  SocketsHttpHandler is following a stricter security model where embedded username/password is ignored in the URL.
In general, the recommendation is to use place username/password in the HttpClientHandler.Credentials property using a NetworkCredential object.

Sounds like by design then. @PavelMekhnin is it ok to close? Or do you think the workaround is not acceptable?


"Invalid regular expression" using PHOTO(?s)(.*)REV despite regex101.com validating it.

Does this issue occur when all extensions are disabled?
Yes

VS Code Version
code-insiders-1.91.0-1718259485.el8.rpm

OS Version
cpe:/o:fedoraproject:fedora:40

Steps to Reproduce

Enter .VCF data containing a PHOTO element, with a REV element beneath it:
BEGIN:VCARD
VERSION:3.0
PRODID;VALUE=TEXT:ez-vcard 0.11.3
FN:Placeholder
UID:47759cae-7de1-4ae5-82c1-b3bc560e90da
PHOTO;ENCODING=BASE64;TYPE=GIF:R0lGODdhYABgAPAAALccHMlFJiH5BAEAAAEALAAAAABgAGAAAAJuhI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsOi8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLiIUgAAOw==
REV;VALUE=DATE-AND-OR-TIME:20240224T161008Z
END:VCARD

Try to select those using PHOTO(?s)(.*)REV at https://regex101.com./#.
This shall work.

Test it in VS Code:

Invalid regular expression: /PHOTO(?s)(.*)REV/gu: Invalid group

This relates to VS Code, not TS:

@IllusionMH That's what I thought too but the issue is very unclear:

@RokeJulianLockhart Please provide full repo steps

https://github.com/microsoft/vscode/issues/216105#issuecomment-2174362276

@mjbvz, what reproduction steps are absent? I've provided sample code and the expression itself, and the version of VSC I'm using.

Share what are you doing. Provide exact steps (with screenshots if useful)

@RokeJulianLockhart you hadn't stated that the bug was about the ctrl+F Find regex

https://github.com/microsoft/vscode/issues/216105#issuecomment-2174555495

@mjbvz, per the undermentioned, I'm trying to select with RegEx the manually selected line (from PHOTO to the \n before REV) but PHOTO(?s)(.*)REV - RegEx which selects that line when the depicted content is utilized at https://regex101.com./# - is considered invalid by VSC.

Apologies if that explanation is not what you request.

Regexp101 also shows an error if you switch to ES/JS

Editor's find widget uses ES/JS engine and its grammar, as mentioned above, and correctly report issue with your pattern.

https://github.com/microsoft/vscode/issues/216105#issuecomment-2343057920

@IllusionMH, so I should the issue as unactionable? Would be nice if the dialogue demonstrated which engine it was using for a given operation.


⚠ ClamAV has degraded performance

In b275361, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 60 ms

Resolved: ClamAV performance has improved in 1e002ca after 11 minutes.


Add Nonce to generated manifest so each one is unique

[ ] Add nonce to the codius manifest during generation so that each generated manifest is unique even if the codius.json and codiusvars.json match.

This will not solve the hyperd issue since an extended manifest will still have the same hash and will create the same problem. Abandoning this issue.


As a software developer of scientific software, I need a native Haskell implementation of the dswap function so that I can swap elements between two vectors in a type-safe, thread safe manner.

Documentation for the dswap function can be found at BLAS.

[x] create native implementation of function
[x] create haddock documentation of function
[x] create unit test to demonstrate byte equivalence to FORTRAN BLAS library function
[x] create benchmark(s) to quantify time performance relative to FORTRAN BLAS library function
[x] demonstrate that native has a relative time performance of no more than 100x the FORTRAN blas function.

Implementation Strategy:

This function can be implemented easily by polymorphising the single precision version.

Attached is the raw benchmark data:
dswap.zip

DSWAP BENCHMARK ANALYSIS
Special Case inc=1
When the increment of traversal is equal to unity, the time performance of both the unsafe and pure implementations are well described by a linear model:
PURE
lm(formula = PURE ~ N, data = dat[dat$INC == 1, ])

Residuals:
     Min       1Q   Median       3Q      Max
-11.9159  -0.6936   1.1982   1.2700  15.6580

Coefficients:
              Estimate Std. Error t value Pr(>|t|)
(Intercept) -1.1362681  0.6927693   -1.64    0.109
N            0.0085626  0.0001053   81.31   <2e-16 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 3.909 on 37 degrees of freedom
Multiple R-squared:  0.9944,	Adjusted R-squared:  0.9943
F-statistic:  6612 on 1 and 37 DF,  p-value: < 2.2e-16

UNSAFE
lm(formula = UNSAFE ~ N, data = dat[dat$INC == 1, ])

Residuals:
    Min      1Q  Median      3Q     Max
-0.9274 -0.1713  0.1733  0.2122  1.0485

Coefficients:
              Estimate Std. Error t value Pr(>|t|)
(Intercept) -1.271e-01  6.699e-02  -1.897   0.0656 .
N            2.095e-03  1.018e-05 205.719   <2e-16 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.378 on 37 degrees of freedom
Multiple R-squared:  0.9991,	Adjusted R-squared:  0.9991
F-statistic: 4.232e+04 on 1 and 37 DF,  p-value: < 2.2e-16

ASYMPTOTIC PERFORMANCE
In the limit as n becomes very large, the relative time performance should approach:
0.0085626
-------- = 4.1x
2.095e-3

which is within the 100x performance threshold for this project milestone
Special Case inc/=1
When the increment of traversal is not equal to unity, the time performance of both the unsafe and pure implementations are well described by a multi-linear model:
PURE
lm(formula = PURE ~ N + Z, data = dat[dat$INC != 1, ])

Residuals:
    Min      1Q  Median      3Q     Max
-1.5123 -0.5542  0.2553  0.5610  1.6729

Coefficients:
              Estimate Std. Error t value Pr(>|t|)
(Intercept) -4.278e-01  1.206e-01  -3.546 0.000884 ***
N            1.848e-02  2.814e-04  65.659  < 2e-16 ***
Z            1.597e-03  2.151e-05  74.235  < 2e-16 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.7332 on 48 degrees of freedom
Multiple R-squared:  0.9986,	Adjusted R-squared:  0.9986
F-statistic: 1.762e+04 on 2 and 48 DF,  p-value: < 2.2e-16

UNSAFE
lm(formula = UNSAFE ~ N + Z, data = dat[dat$INC != 1, ])

Residuals:
    Min      1Q  Median      3Q     Max
-1.2687 -0.3270  0.1990  0.3746  1.0855

Coefficients:
              Estimate Std. Error t value Pr(>|t|)
(Intercept) -3.226e-01  8.506e-02  -3.792 0.000418 ***
N            7.609e-03  1.984e-04  38.343  < 2e-16 ***
Z            9.914e-04  1.517e-05  65.369  < 2e-16 ***
---
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.517 on 48 degrees of freedom
Multiple R-squared:  0.9976,	Adjusted R-squared:  0.9975
F-statistic:  9782 on 2 and 48 DF,  p-value: < 2.2e-16

ASYMPTOTIC PERFORMANCE
In the limit as both n and inc become very large, the relative time performance should approach:
1.597e-03
--------- = 1.6x
9.914e-04

which is within the 100x performance threshold for this project milestone.

Closed as DONE after approval of pull request #80.


decouple repeat from observable

A minor update.. Decoupled repeat from observable.
Please review.
Thank you,
Grigoriy

Thank you!


problem when uglifying multi-line strings starting with escape character

Hello guys, first off... amazing job you're doing here! Love fuse-box and spreading the word whenever i can :p
While trying to bundle postgraphile i came across a problem which only appears in combination with fuse-box and uglify-es. I wasn't able to recreate it using just uglify-es itself.
If a function returns an inline multiline string, which starts with ``` follwed by a linebreak, then the whole return-statement is discarded and the function returns undefined instead.
I've prepared a small repo https://github.com/screencloud/fuse-box-uglify-error-sample which after npm i and npm start shows the problem easily.
This
function shouldReturnSomeString(serverVersionNum) {
    return `\
x`;
}

module.exports = {
    shouldReturnSomeString
};

gets minified as
n.exports = {
                shouldReturnSomeString: function shouldReturnSomeString(e) {
                }
            }

if the leading \ is removed, any character added behind it or the string assigned to variable first, then the result is correct.
note that other functions in the same file following the broken function are eaten up completely as well.
I'm happy to dig a bit deeper, but at least for today i'm out of time and monkeypatching postgraphile solved the more immediate issue for me. If i can help to fix it though i'm happy to :)

@wmathes uglify-es is no longer supported and will be removed from FuseBox soon. Please use terser plugin in fuse-box@next

Any update ?

Just tried it out and it seems to work. Apparently terser though just removes the \ altogether, which is working, but still slightly changes the string. I won't worry about this though.
Thanks for the heads up :)


going to buffer or serial monitor in setup tab crashes after program runs for too long

shit jank

do the same thing as was done for serial monitor but for buffer monitor


proxy should return 200 Connection established instead 200 OK for connect method

 Rebuilt URL to: https://example.com/
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 8072 (#0)
* Establish HTTP proxy tunnel to example.com:443
> CONNECT example.com:443 HTTP/1.1
> Host: example.com:443
> User-Agent: curl/7.54.0
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 200 OK
< Content-Length: 0
* Ignoring Content-Length in CONNECT 200 response
<

https://tools.ietf.org/html/draft-luotonen-web-proxy-tunneling-01#section-3.2

if successful, send a "200  Connection established" response to the client

I found some client will refuse to work if it's not 200 Connection established
https://github.com/google/martian/blob/master/proxy.go#L301
https://github.com/google/martian/blob/013cf2585e275521099df1a6202e8c920eebb41b/proxyutil/proxyutil.go#L35

and Content-Length is not required as well


Adding Transform fields to iTDS request

Allowing someone building a transform server to have access to the Transform fields in a Maltego request.
Also fixed a random incorrect comment on a variable type.

Merged - Thanks for contributing!


code

How to run experiments on Morpho-MNIST dataset in code

Hi,
You could start by downloading the MorphoMNIST dataset as described in the readme, then launching:
https://github.com/biomedia-mira/causal-gen/blob/main/src/run_local.sh
Best,
Fabio


Add support for CircleCI

With this PR the project should also work on CircleCI "out of the box". The following changes were made:

Renamed travis.js to environment.js as it is now more agnostic.
Using Circles env variables to create all necessary parameters parallel to how travis would do it when the CIRCLECI env is found.

Some other things that caught my eye:

I'm not sure how it currently even works, but Circle bailed on me because it could not execute the code. There are some modern features in there that didn't even work with node 8. Perhaps we should create umd and es builds of this package to enable it for legacy runtimes.
I also think that we should add a circle.yml to test this project against itself on both CIs. But the point above shove me away from that.

Other than that - I'm glad I've came across this project and I will happily use it for our app as soon this work on CircleCi :D

@Furizaa This is great! Will test and merge this!


Linux flutter_plugins fails on release branches due to checking out old version of plugins repo

https://ci.chromium.org/ui/p/flutter/builders/try/Linux flutter_plugins/30034/overview is an example failure.
Plugins should run from the tip of tree of that repo instead of at where the betas and stables were branched at.
For the time being, releases should ignore this check.

Plugins should run from the tip of tree of that repo instead of at where the betas and stables were branched at.

That would make them even less hermetic, and create different kinds of out-of-band failures.
I think the best solution here is actually to just remove this test from the release branches. The purpose is to ensure that people don't change Flutter APIs without considering the effects on the plugins repo; nobody is going to make novel changes on a release branch.
I think the cost of maintaining this test on release branches isn't worth any tiny theoretical benefit we get from running it. Is there an easy way to configure it to be main-branch only?


TerminalStore

Closed by #4653 which was merged successfully but due some glitch status didn't update.


rbac: docs for aggregated cluster roles

Updates https://github.com/kubernetes/features/issues/502
/assign @liggitt @deads2k

This change is

one nit on enumerating the verbs in the example, LGTM otherwise


StyleGuideline: Add guideline to not use backslash in file paths

Since we are starting to enforce this, I think we should have a guideline to not use backslashes in file paths.
Instead we should join paths with Join-Path.

Agreed, you can go ahead and make this change if you get a chance. I think you could add it to #217 since that hasn't been merged yet.

I understand that Join-Path is a really powerful tool especially when working with different providers. I'm not sure I am following how not using any backslashes provides value. Many of the paths in resources are very simple, relative, and easy to follow, using Join-Path would add complexity without changing the result.

The main reason is so that these resources could eventually be used cross-plat in the future.

Ah, right, wasn't thinking about cross-plat support. That will be valuable for the resources that are applicable.

@mbreakey3 I will add this to #217

@mbreakey3 The PR is updated with this guideline as well 😄

Can you add that that PR Fixes this issue?

Done! Did it in the commit message, so forgot to do it in the PR. But all done now. Should now auto-close both issues that the PR fixes.


Add AbstractEdge.TrySwapNodes()

name is self explanatory, Should usually work but i want to stick to the "Try" naming convention with these types of functions going forward. Needed for swaping nodes when re-satisfying the heap property in D-aryHeap.
Possible implementation:
public bool TrySwapNodes() {
     var oldSourceEdgeIDs = GetSourceNode().EdgeIDs - this.ID;
     var oldSinkEdgeIDs = GetSinkNode().EdgeIDs - this.ID;
     var newSourceEdgeIDs = new List<string>();
     var newSinkEdgeIDs = new List<string>();
     var edgesToRemove = ParentGraph.GetEdgeList(oldSourceEdgeIDs) + ParentGraph.GetEdgeList(oldSinkEdgeIDs)
     foreach(edge in edgesToRemove) ParentGraph.RemoveEdge(edge);
     //TODO new edge id lists equal the old with SourceNodeID replaced with SinkNodeID and v.v.
     (SourceNodeID, SinkNodeID) = (SinkNodeID, SourceNodeID);
    //TODO id = id reversed
     edgeIDsToAdd = newSourceEdgeIDs + newSinkEdgeIDs;
     foreach(edgeID in edgeIDsToAdd) ParentGraph.AddEdge(new edge(edgeID));
}

will also need to implement the constructor Edge(string _ID)

implemented by adding a new ReplaceEdge method after noting that removing an edge and the replacing it is semantically distinct from removing an edge alone and then adding an edge alone.
Reasoning: you should not be able to remove an edge from a tree, it would break the tree condition. You should, however, be able to remove an edge and replace it with a new edge that would re-satisfy the tree condition. These two operations are now captured by different methods

relevant code for reference:
in AbstractEdge:
public bool TrySwapNodes() {
    var oldSourceEdgeIDs = GetSourceNode().EdgeIDs;
    oldSourceEdgeIDs.Remove(this.ID);
    var oldSinkEdgeIDs = GetSinkNode().EdgeIDs;
    oldSinkEdgeIDs.Remove(this.ID);
    (int oldSourceNodeID, int oldSinkNodeID) = (SourceNodeID, SinkNodeID);
    (int newSourceNodeID, int newSinkNodeID) = (SinkNodeID, SourceNodeID);
    var edgesToRemove = ParentGraph.GetEdgeList(oldSourceEdgeIDs).Concat(ParentGraph.GetEdgeList(oldSinkEdgeIDs)).ToList();
    foreach(var edge in edgesToRemove) {
        if(edge.SourceNodeID == oldSourceNodeID) {
            ParentGraph.TryReplaceEdge(
                edge,
                (AbstractEdge<TGraphType>)Activator.CreateInstance(this.GetType(), newSourceNodeID, edge.SinkNodeID , edge.Weight)

                //? this long line just bypassed us needing to know which edge constructor to call since we know the replacement will share a type with this
            );
        } else if(edge.SourceNodeID == oldSinkNodeID) {
            ParentGraph.TryReplaceEdge(
                edge,
                (AbstractEdge<TGraphType>)Activator.CreateInstance(this.GetType(), newSinkNodeID, edge.SinkNodeID , edge.Weight)
            );
        } else if(edge.SinkNodeID == oldSinkNodeID) {
            ParentGraph.TryReplaceEdge(
                edge,
                (AbstractEdge<TGraphType>)Activator.CreateInstance(this.GetType(), edge.SourceNodeID, newSinkNodeID , edge.Weight)
            );
        } else if(edge.SinkNodeID == oldSourceNodeID) {
            ParentGraph.TryReplaceEdge(
                edge,
                (AbstractEdge<TGraphType>)Activator.CreateInstance(this.GetType(), edge.SourceNodeID, newSourceNodeID , edge.Weight)
            );
        }
    }
    ParentGraph.TryReplaceEdge(
        this,
        (AbstractEdge<TGraphType>)Activator.CreateInstance(this.GetType(),newSourceNodeID, newSinkNodeID , Weight)
    );
    return true;
}

and in AbstractGraph:
public virtual bool TryReplaceEdge(AbstractEdge<TGraphType> oldEdge, AbstractEdge<TGraphType> newEdge) {
    if(newEdge.GetType() != oldEdge.GetType()) {
        Debug.LogWarning("must replace an edge with one of the same type");
        return false;
    } else if(oldEdge.ParentGraph != this || newEdge.ParentGraph != null) {
        Debug.LogWarning("must replace an edge belonging to this graph with a new orphan (null parent graph) edge");
        return false;
    } else if(edges.ContainsKey(newEdge.ID)) {
        Debug.LogWarning($"this graph already has an edge with ID {newEdge.ID}");
        return false;
    } else { //? the new edge is valid in principle to replace the old but still might have id's the graph doesnt
        if(!nodes.ContainsKey(newEdge.SourceNodeID)) {
            AddNode(newEdge.SourceNodeID);
        }
        if(!nodes.ContainsKey(newEdge.SinkNodeID)) {
            AddNode(newEdge.SinkNodeID);
        }
    }

    // ? we bypass remove edge because some subclass prevent removing an edge without replacing it
    GetNode(oldEdge.SourceNodeID).RemoveEdge(oldEdge);
    GetNode(oldEdge.SinkNodeID).RemoveEdge(oldEdge);
    edges.Remove(oldEdge.ID);
    oldEdge = null;
    //? add the new edge (again bypassing TryAddEdge since this is the only way some subclasses will be able to edges after instantiation)
    var newSource = GetNode(newEdge.SourceNodeID);
    var newSink = GetNode(newEdge.SinkNodeID);
    newEdge.SetParent(this);
    edges.Add(newEdge.ID,newEdge);
    newSource.AddEdge(newEdge);
    newSink.AddEdge(newEdge);
    return true;
}


[FLINK-2909] [Gelly] Graph generators

Initial set of scale-free graph generators:

Complete graph
Cycle graph
Empty graph
Grid graph
Hypercube graph
Path graph
RMat graph
Singleton edge graph
Star graph

Hi @greghogan,
thank you for this PR!
As this is quite a big addition, it will take some time to review :)
Could you maybe add some documentation, including descriptions/references for the supported generators, their properties and parameters, and how one can use them?

Thanks for having a look at this @vasia. Is it time to partition the Gelly documentation into multiple pages?

Yes, this sounds like a good idea. I would also have the library methods as a separate page.

@vasia do you know what software was used to create the graphs in the existing Gelly documentation?

Hi @greghogan, it's google drawings.

Do you prefer the look of hand-crafted graphs or should we consider something that will draw graphs in the browser like JSNetworkX? This is BSD licensed. They have yet to fully implement NetworkX but these graph generators map to generators in NetworkX.

JSNetworkX looks nice. Are you suggesting to update all graphs in the Gelly docs or use it for this PR only?

Hi @vasia, I just pushed documentation for the graph generators. I did not split the Gelly page since that should probably be a separate ticket (and likely requires breaking out the entire page). I hand produced the graphs since JSNetworkX is only partially implemented and SVG is relatively simple. I do welcome your opinion on the quality and any suggestions.

Really amazing job @greghogan! I left a few suggestions on improving the docs / usage of the generators. Otherwise, I think it's good to merge. This will be a great addition to Gelly :) Do you have any idea on how the generators scale?

@vasia thank you for the recommendations, the improvements are almost ready to push. Running the Graph500 example on an AWS c4.8xlarge (with 36 'virtual cores') generated a billion edges (scale 26, edge factor 16) in 25.8s wall time (23.4s execution time). When simplifying the graph with 'clip-and-flip' the runtime was 2m33s wall time (2m31s execution time) and when performing a full flip (thus doubling the number of edges) the runtime was 5m00s wall time (4m58s execution time).
Many algorithms require edges to be sorted so that cost is already accounted for. Edge generation should scale beautifully.

Thank you @greghogan. Changes look good to me. +1 to merge.


Synchronous channels

JoCaml also provides synchronous channels, which would be useful in Jolog as well. I guess the ideal interface would be to communicate the results back via variables - so I naively tried to sendsomething like get_result(X) then assign value(s) to X in the body of jolog clause. However as messages are sent using queues and those copy terms, the reference to original variable is lost. I guess something like https://github.com/mndrix/spawn could be used?
@mndrix Do you have any thoughts about this?

Synchronous channels can definitely be useful.  I don't have a great idea how to incorporate them into the jolog package. I've been away from Prolog for a while, but I seem to recall that SWI-Prolog only has asynchronous channels,  you have to implement synchronous channels by sending an asynchronous message then immediately waiting for it.  I hope that's helpful in some way.


[koa-shopify-auth] Apply prefix to cookie redirect url

Description
Fixes #1148
Apply given prefix to the cookie redirect url in koa-shopify-auth.

Type of change

[x]  Patch: Bug/ Documentation fix (non-breaking change which fixes an issue or adds documentation)
[ ]  Minor: New feature (non-breaking change which adds functionality)
[ ]  Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[ ] I have added a changelog entry, prefixed by the type of change noted above

Is there an ETA available when this PR will be merged?

Thank you for contributing to the ongoing improvement of this library - we really appreciate it.
In order to optimize the support on this particular piece of functionality, we have moved it to its own repo.  As a result, I’m closing this PR because the underlying source has been moved to a dedicated new repo; Shopify/koa-shopify-auth (https://github.com/Shopify/koa-shopify-auth).
If you would like the PR to be considered for review, please re-create the change against the new Shopify/koa-shopify-auth repo and open a new PR there.
Thank you!


fix bug with base paths

Description
Fixes #200

Type of Change

Ready Checklist

[ ] I've read the Contribution Guide.
[ ] In case this PR changes one of the core packages, I've modified the respective CHANGELOG.md file using
the semantic_changelog format.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added myself to the AUTHORS file (optional, if you want to).

@schultek neither of the issues described in #200 seem to be resolved with these changes. I see the same exact problems there.
I am using the latest version of this branch as an override for jaspr_router.
pubspec.lock
  jaspr_router:
    dependency: "direct main"
    description:
      path: "packages/jaspr_router"
      ref: "fix/base-paths"
      resolved-ref: "7ed63e9d3826094abbb0d3da301f0cf862992928"
      url: "https://github.com/schultek/jaspr.git"

Changes are in jaspr, not jaspr_router

Changes are in jaspr, not jaspr_router

Oops - missed that on change log. Just confirmed that both items are indeed resolved. With or without a definition of <base href="/"> I get the same, expected, results.
LGTM. Thanks for the quick turnaround.


Remove operation_threading parameter from Forcemerge

The operation_threading parameter was removed on Elasticsearch 1.2. Setting it causes an error to be returned.
https://github.com/elastic/elasticsearch/pull/6044

Thanks for supporting Elastic. It's hard to keep on top of all the changes, even going back to 1.x.


fix: duplicate methods from gRPC reflection

Closes #5891
When getting the available gRPC methods through server reflection, the code checks service by service.
However, for each service, it was grabbing all the methods in the file that the service was defined, so if multiple services were defined in one file, it would duplicate those methods.
I updated the code to only retrieve the methods applicable to each service to avoid duplicate methods.

Brilliant contribution and bug report @nbgraham @Tomasito665
If the CI passes this is good to go in

@nbgraham you can claim a free tshirt for this PR contribution - find more at https://konghq.com/community/open-source-contribution


Postgres Database copatibility issue with postgres 9.6, No vulnerabilities getting populated in DB

We tried installing the anchore engine fromusing docker-compose with the steps mentioned in https://engine.anchore.io/docs/quickstart/
During installation the list of errors faced and resolved with work around-

In the docker compose yaml file the version specified is 2.1 which was not getting accepted so we changed it to 2.0, It got fixed after that.
While executing the same yal file we received error for health check in postgres DB section as invalid arguments, For fixing it temporarirly we commented out the health check section It worked after then.
After fixing the above values we executed Yaml and all the resources got created successfully and in status was showing healthy except postgres which was expected as we commented out that check.
As per the documentation we waited for the Vulnerabilities to get populated in DB, But this did not work, We were getting the following errors on container logs, We verified the postgres version logging into the conatiner it is 9.6.

Error is as follows -
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default timezone ... Etc/UTC
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
Success. You can now start the database server using:
pg_ctl -D /var/lib/postgresql/data -l logfile start

WARNING: enabling "trust" authentication for local connections
You can change this by editing pg_hba.conf or using the option -A, or
--auth-local and --auth-host, the next time you run initdb.
waiting for server to start....LOG:  database system was shut down at 2021-02-25 05:57:32 UTC
LOG:  MultiXact member wraparound protections are now enabled
LOG:  database system is ready to accept connections
LOG:  autovacuum launcher started
done
server started
/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
LOG:  received fast shutdown request
LOG:  aborting any active transactions
LOG:  autovacuum launcher shutting down
waiting for server to shut down....LOG:  shutting down
LOG:  database system is shut down
done
server stopped
PostgreSQL init process complete; ready for start up.
LOG:  database system was shut down at 2021-02-25 05:57:35 UTC
LOG:  MultiXact member wraparound protections are now enabled
LOG:  autovacuum launcher started
LOG:  database system is ready to accept connections
ERROR:  relation "anchore" does not exist at character 355
STATEMENT:  SELECT anchore.service_version AS anchore_service_version, anchore.db_version AS anchore_db_version, anchore.created_at AS anchore_created_at, anchore.last_updated AS anchore_last_updated, anchore.record_state_key AS anchore_record_state_key, anchore.record_state_val AS anchore_record_state_val, anchore.scanner_version AS anchore_scanner_version
FROM anchore
LIMIT 1
ERROR:  relation "anchore" does not exist at character 355
STATEMENT:  SELECT anchore.service_version AS anchore_service_version, anchore.db_version AS anchore_db_version, anchore.created_at AS anchore_created_at, anchore.last_updated AS anchore_last_updated, anchore.record_state_key AS anchore_record_state_key, anchore.record_state_val AS anchore_record_state_val, anchore.scanner_version AS anchore_scanner_version
FROM anchore
LIMIT 1

Hi @akshay654 were you running the database in the container per the docker-compose file, or some other way? I've not seen these specific issues before. Also, for clarity, which docker-compose file did you use? The one from the documentation, or the dev version in this repo?


There is no events Landing Page

Current Behavior

when we click on the events button it shows nothing.
Desired Behavior

When we click on the events button it has to show some past or future events but here it does not show any events.
Screenshots / Mockups

@Git21221 is working on it. It would be available once it's complete.
Would close this issue after the events page is available.

@Kalivarapubindusree If you have any design regarding this then please share that.

I am interested to work on this issue GSSoC'23, so please assign me this task.

Sure, go ahead and make a PR. We'll review it.

I am a GSSoC'23 contributor. I can do the events page. I have all the skills required.
Please assign me this issue, I want to work on this issue under the GSSoC'23.

I am a GSSoC'23 contributor. I can make the events pages. Please assign me this issue.

Hello buddies, Event page enhancement is pinned in the issue section, so will be closing this isssue. If there is any improvements u guys would like to make , can discuss in the pinned issue.
Thank you!


FastGaussQuadrature.jl support?

I was looking though quadrature libraries and spotted https://github.com/JuliaApproximation/FastGaussQuadrature.jl
It might be nice to also hook that up to this interface.
(I don't actually have any need for this, was just speculating)

FastGaussQuadrature.jl just gives quadrature nodes and weights. I am not sure what kind of interface we can add to bridge with FastGaussQuadrature.jl

We could, but it's not adaptive so it's hard. The user would have to supply the number of nodes, and we could then do the calculation, but that wouldn't guarantee a tolerance like the other methods.


Only get data, tree, and config when necessary

Resolve #491.

:tada: This PR is included in version 2.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


add Udacity - andrew-cockerham-transcript.md

I added the Udacity Data Analyst Nanodegree to the README and the Udacity Intro to Comp Sci course to the learn-python.md

Great idea!

Thanks for submitting!

The OSDSM focuses only on financially accessible resources. Paid programming courses are not included. Books are a small exception, as they can be lent from libraries and are far less expensive than courses.
Take a look at the other transcript submissions, they aren't forks of the repo but works in progress.
Please submit separate PRs for each of these issues


Android snapshot and split apk

From @farfromrefug on February 21, 2018 11:3
I am testing split apk to decrease the size of the generated APK.
No i build my apk like this:
tns build  android --bundle --env.uglify --env.snapshot

I then look at the generated apks.
each split apk contains snaphshots for all abis which is not necessary.
It does not represent a huge size, but still everything we can gain is good!
THanks
Copied from original issue: NativeScript/nativescript-cli#3385

From @Pip3r4o on February 22, 2018 12:51
Hey @farfromrefug what is the output of the snapshot command? Is it blob files, or .sos?
By design, only the binary (.so) snapshots can be split by CPU architecture, whereas the snapshot blob files need to be embedded in the application package as assets which are not subject to abi split.

From @farfromrefug on February 22, 2018 16:4
@Pip3r4o yes i am talking about blobs.
Whatever split apk i am in, all the arch blobs are there.

From @RadouaneRoufid on March 29, 2018 9:11
From Nativescript documentation site :

targetArchs - Since the serialization format of the V8 heap is architecture-specific, we need a different blob file for each V8 library target architecture. The Android Runtime library contains 3 architecture slices - ia32 (for emulators), arm and arm64 (for devices). However, if not explicitly specified, the arm slice will be used even on arm64 devices. In other words, generating heap snapshot for all supported architectures (arm, arm64, ia32) will guarantee that the snapshotted heap will be available on every device/emulator. However, when building for the release, you can leave only arm (and arm64 in case you have explicitly enabled arm64 support) in the targetArchs array which will decrease the size of the produced APK file.

@Fatme how does that closes the issue? I get that it ensure it works on simulator. But then their should be an option to only keep corresponding blob to apk abi, when splitting APK.

@farfromrefug, I've moved the issue to android-runtime repository which is the correct one. It is closed in nativescript-cli repo but is open here in android-runtime repo.

@Fatme really and deeply sorry!! on this page i took the closed for this issue, not for the mentioned issue.
Thank you and sorry again!

Closing as there is not really anything actionable to do at this point.

@darind sorry for not following. Will look at this soon.


Admin bazaar page stuck at "is loading..."

Steps to reproduce
( some times | i guess after a cache clear )

install flarum on a intel nuc
install flagrow/bazaar
( 2.1 install german language pack and some other extensions )
open admin page
( 3.1 enable german language pack and select it as default language )
enable bazaar
click on bazaar tab

Expected behaviour
after a short loading time a list of extensions should be shown
Actual behaviour
after some minutes of loading ( and waiting for web request to complete ) -> the page stuck at 'is loading...' ( Wird geladen... ) screen | after about 4min ( 234012ms ) the request anwser was recived and the result is shown
NOTE : no entry was added to flarum.log during the request
Configuration
Debian 9.1, everything is up to date

Flarum core 0.1.0-beta.7
PHP 7.1.8-2+0~20170804100530.7+stretch~1.gbpae7f04
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, session, standard, mysqlnd, PDO, xml, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, json, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Zend OPcache
EXT flarum-bbcode v0.1.0-beta.5
EXT datitisev-dashboard v0.1.0-beta.6
EXT cbmainz-de 0.7.1
EXT flarum-english v0.1.0-beta.7
EXT flagrow-bazaar 0.2.4
EXT flagrow-upload 0.5.7
EXT flarum-lock v0.1.0-beta.7
EXT flarum-markdown v0.1.0-beta.5
EXT flarum-mentions v0.1.0-beta.7
EXT flarum-sticky v0.1.0-beta.7
EXT flarum-subscriptions v0.1.0-beta.6
EXT flarum-tags v0.1.0-beta.8
Base URL: http://<IP_ADDRESS>/flarum
Installation path: /var/www/html/flarum

<!--
If the issue happens when installing/updating/uninstalling an extension, check the Tasks history tab in Bazaar
<p>Otherwise or if you can't access your forum anymore check storage/logs/flarum.log and your webserver logs
-->

Does it works when you disable German ? Or does it also fail on a blank install on that PC as well ?

@puschie286 any news on this ? Is it still happening ?

My first inspiration would be this is related to memory. So even though the German extension was installed it would matter little, one could replace that with any other extension and run into the same issue due to the dependency analysis composer does in the background.
Based on that;

If you remove German and use any other extension, do you run into the same issue?
How much memory does your nuc assign to php? Check the Bazaar memory icon if you have one.

hey, sry for late response - currently i havent the time to test it - i will try it next week
we have assign 1G memory to php, so it should be not the problem

hey, i tired different things and it looks like that composer is the problem - its extremly slow, a single plugin installation ( via cmd ) can take several minutes, so i guess that is the problem.
( i also notice that the bazaar memory icon show the wrong amount of memory )

Hi, sorry to hear that. It's true that Composer is resource-hungry and might now work correctly in all setups.

@puschie286 i also notice that the bazaar memory icon show the wrong amount of memory

That's an odd issue. Could you share the setting you have in your php.ini and what value Bazaar shows ? And what webserver are you running ? Thanks.

i just change the "memory_limit" line in php.ini ( tried with 1024M, but switch back to 256M ). Bazaar shows the default value 128M
i use php7.1.8 and apache 2.4.25-3

There are different php.ini's? For the one in use by apache you'd need to look at: /etc/php/7.1/apache2/php.ini. The output of php -i | grep ini will point to the ini file for cli only.
Also, if you have the correct ini, only a reload of apache will bring the changes into effect.
I'm pretty sure Bazaar is correct in figuring out the configured memory limit. Otherwise it would show no value instead.

well i changed the php.ini you mention - and of cause had restart apache
the cli php.ini has the default value of -1.
hmm, i checked the bazaar memory icon again and currently it shows the correct value - maybe it was cached by my browser

That might be possible 😁
So the problem with the loading screen is caused by a javascript error. If it still pops up could you check the console tab of your browser (eg under f12).


[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?
[x] Have you successfully run brew man locally and committed any changes?

I've found that using url :head in a livecheck block doesn't work if a formula uses a head block.
This is because the head block comes after the livecheck block, so the head URL isn't defined when the livecheck block is called. For this to work as expected, the head block would need to come befoe the livecheck block in rubocops/components_order.rb.
It's technically possible to move the livecheck block after the head block but I think there's value in keeping the livecheck block where it is, as it's near the URLs it uses (homepage, stable, head) and keeping it higher up the formula reduces the chance it will be overlooked if/when related URLs are modified. To me, it makes sense for the head block to come after the stable block in the component order (as seen in this PR), both of which would come before the livecheck block.
I imagine the current head block location is simply to keep it close to the depends_on statements but is there any technical reason preventing us from relocating the head block?

Review period will end on 2020-12-29 at 00:00:00 UTC.

Will https://github.com/Homebrew/homebrew-core/pull/67824 need to be merged shortly after this PR is? I think if it isn't that'll start to cause CI errors in homebrew/core.

Will Homebrew/homebrew-core#67824 need to be merged shortly after this PR is?

I'm not sure what comes first in this scenario, merging the formula changes or merging this brew PR. In either case, it seems like CI is going to inevitably fail in one of these places, depending on which we merge first.
Either way, we need to do the following before merging anything:

Decide on how to proceed here and finish this PR (see above discussion).
Update the homebrew-core PR to include all related changes (reworking the changes if we do something different here and making sure we haven't missed any formulae in the interim time).
Give the linuxbrew-core folks a heads up, so they know about the incoming changes and can merge the related changes in a timely manner (to avoid the brew audit failures).

When the time comes, I can merge the changes here and in homebrew-core but I don't venture into linuxbrew-core, so we'll need to make sure we have someone ready to handle that.

We should be careful about the merge, here. When this is merged, CI will break in all of homebrew-core and linuxbrew-core. When the PR is homebrew-core is merged, linuxbrew-core will need to merge in the ~300 changes. Until that's done, all Homebrew/brew CI will also fail. It doesn't sound like it can be done quickly enough to not cause any breakage.
The best way to handle this is probably to temporarily allow the head block (or whichever block is moved) to be in either place (simply disabling the check for the head block may be sufficient as long as we're careful). The steps would be:

Merge PR here temporarily allowing head in both locations (or any location)
Merge PR in homebrew/core moving the blocks
Wait for changes to be merged to linuxbrew-core
Merge PR here to revert the temporary change, requiring head to be in the new location only.

In terms of the temporary change to allow multiple head locations, I think we can just add a very specific statement to the component_problem method saying "don't complain if the head is in the wrong place"

Review period ended.


column select with related not work

Introduction
Hi, I have a problem selecting columns with relationships,
Issue Description
my query is
const message = await Message
                .where('id', id)
                .fetch({
                    withRelated: [{'user': (qb) => {
                        qb.column('name')
                    }}]
                })

But return all data from database.
`

{ id: 5,
message: 'hmm',
property_id: 1,
property_type: 'dispatchers',
conversation_id: 1,
created_at: 2018-07-24T21:21:07.000Z,
user:
{ name: 'Dispatch',
id: 1,
company_id: 3,
email<EMAIL_ADDRESS>schedule: 'Test',
birthdate: 2017-10-20T05:00:00.000Z,
celphone: '6569092545',
username: '',
licence: 0,
remember_token:
'BVWupDmk5vkupyTVEoUcbgGJefuXgNduUkAaZUDGy8RKkaIOBAwoW1xAb2jN',
auth_token: '',
recover: '',
created_at: 2018-04-12T07:00:38.000Z,
updated_at: 2017-10-23T15:22:58.000Z,
license_token: 'sub_BdTMn0ZanKI2lq_59ee4f0ae6297' } }

`
Thanks for any help

Can you try with:
qb.columns(['name'])

Closing due to lack of response.

@ricardograca Its not working for me. This is my code:
const project = await Project.where('id', id).fetch({ withRelated: [{ author: function (query) { query.columns(['name', 'is_profile_complete', 'has_subscribed_before', 'created_at']) } }, { 'bids.bidder': function (qb) { qb.columns(['name']) } } ]});

It returns {} for both relations.

@ricardograca ok, i solved it myself after hours of searching. I had to explicitly include the id attributes.

Right, good point. If you use the query builder method .column to select only a subset of columns on the relation you have to include any columns required for rebuilding the association since Bookshelf won't do it in that case.


Cannot convert undefined or null to object

I've installed gh-release globally but after running gh-release from my project root, I got the following error. The same error occurs if I run gh-release with a locally installed version and an empty CHANGELOG.md
Both cases using the lates version of gh-release.
The error does not occur if the CHANGELOG.md contains at least one entry:
## 1.0.0 - 2017-12-18

/usr/local/lib/node_modules/gh-release/node_modules/changelog-parser/index.js:119
  delete data.current._private
              ^
TypeError: Cannot convert undefined or null to object
    at pushCurrent (/usr/local/lib/node_modules/gh-release/node_modules/changelog-parser/index.js:119:15)
    at /usr/local/lib/node_modules/gh-release/node_modules/changelog-parser/index.js:35:7
    at finish (/usr/local/lib/node_modules/gh-release/node_modules/line-reader/lib/line_reader.js:123:9)
    at newRead (/usr/local/lib/node_modules/gh-release/node_modules/line-reader/lib/line_reader.js:132:11)
    at /usr/local/lib/node_modules/gh-release/node_modules/line-reader/lib/line_reader.js:153:15
    at getLine (/usr/local/lib/node_modules/gh-release/node_modules/line-reader/lib/line_reader.js:74:9)
    at LineReader.nextLine (/usr/local/lib/node_modules/gh-release/node_modules/line-reader/lib/line_reader.js:93:9)
    at Immediate.readNext [as _onImmediate] (/usr/local/lib/node_modules/gh-release/node_modules/line-reader/lib/line_reader.js:146:16)
    at runCallback (timers.js:789:20)
    at tryOnImmediate (timers.js:751:5)

This is my current environment:
npm -v && node -v
5.6.0
v8.9.1

@ungoldman @jgravois I'm seeing this issue on both of my Windows machines and it doesn't have anything to do with an empty changelog. I think it might have something to do with line-endings, but not sure. Things used to work up until a month or so ago.

Anyone have any ideas on the above?

I think the main problem described in this issue is resolved by the latest release (#81).
@eamodio if your problem (which sounds different from the above problem) persists can you please create a new issue reporting what happens and any environment/OS info you can share? Thank you! 🙏


Graph QL Support

graphql.txt

{
user {
first
last
}
}
As input:
1 or more apidoc service files....
resource for the model named "user"
find the model named user
is first a valid field?
is last a valid field?
what service runs user - well I have the base url... (or at low it's convention user.api.flow.io)
[ GET https://api.flow.io/users ] map { value =>
if value is not an array - return error
value.map { u =>
Json.obj(
first -> u \ "first",
last -> u \ "first"
)
}
{
order {
id
submitted_at
user {
first
}
}
}
get the resource for the model 'order'
note that user field is of type 'user'
get the resource for the model 'user'
GET URL/orders => array
collect ALL the user.id's (how do we know 'id' is primary key?)

by convention, pkey is the first query paramater in the GET call
and must be of type [string]

ordres 12, 14, 15
user id 123, 124
GET URL/users?id=123&id=124 // one API call
filter to requested fields
merge two results
now we return the requested orders with the requested user data, and we did
this all in two API calls

My 2c, we're starting to use graphql and grpc (protobufs). They both provide parts of what apidoc does. In a perfect world we'd define spec's in apidoc and generate graphql  and protobuf specs. From the protobuf specs protoc generates clients and servers, we'd wrap protoc as an apidoc generator.

Note, one of the issues we had with both avro and protobufs is where do we store the specs. To be effective they really need a central place, be it git repo, web service etc. apidoc would be perfect ;)


megaparsec-6.5.0

megaparsec-6.5.0 (Mark Karpov<EMAIL_ADDRESS>@mrkkrp) is out of bounds for:

[ ] dhall-1.13.0 (>=6.1.1 && < 6.5). Gabriel Gonzalez<EMAIL_ADDRESS>@Gabriel439. @dhall-lang. Used by: library, executable

Fixed by dhall-1.13.1


[SEASK-49] Develop starter kit extensions

StudentSchoolAssociation.ReportingSchool
StudentSchoolAssociation.ResidentLocalEducationAgency
StudentSchoolAssociation.ResidentSchool
StudentLanguageInstructionProgramAssociation.RedesignatedEnglishFluent
StudentSpecialEducationProgramAssociation.toTakeAlternateAssessment
All 5 Fields added in SK Extension

Please ignore Build error for Postman test .  This code changes only for Testing purpose with ODS/API

closing pr as it will not be merged


docs: Translate all "guides" documents into Tradionnal Chinese

What ❔
Translate all "guides" folder documents into Tradionnal Chinese:
setup-dev.zh-TW repositories.zh-TW launch.zh-TW development.zh-TW architecture.zh-TW prover_keys.zh-TW how_l2_messaging_works.zh-TW 0_alternative_vm_intro.zh-TW pubdata.zh-TW compression.zh-TW 01_initialization.zh-TW 02_deposits.zh-TW 03_withdrawals.zh-TW advanced_debugging.zh-TW contracts.zh-TW deeper_overview.zh-TW fee_model.zh-TW how_call_works.zh-TW how_transaction_works.zh-TW zk_intuition.zh-TW 01_intro.zh-TW 02_configuration.zh-TW 03_running.zh-TW 04_observability.zh-TW 05_troubleshooting.zh-TW 06_components.zh-TW
Every translated document have the postfix of the zh-TW.md.
Why ❔
Mandarin is currently the most widely spoken first language in the world, with both Simplified Chinese and Traditional Chinese being distinguished. Firstly, many Chinese spoken users will prioritize clicking on documents written in Mandarin. Furthermore, the Mandarin developer community in blockchain is not yet very mature, and some professional terms even lack Chinese vocabulary. In order to expand everyone's awareness of blockchain and the trend of expanding zero-knowledge proofs, these documents must be translated into multiple languages. This not only reduces the barrier to entry for development but also enhances everyone's level of knowledge.
Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.
[ ] Code has been formatted via zk fmt and zk lint.
[ ] Spellcheck has been run via zk spellcheck.
[ ] Linkcheck has been run via zk linkcheck.

Hello. Thank you for your contribution, but after an internal discussion, we have decided that we have no resources to both validate the correctness of the translation and then maintain it to be up-to-date. Moreover, the documentation stored in this repository is mostly relevant for the actual development of the core codebase, and understanding English is a major prerequisite for that, so the benefits of such translations are not obvious. Finally, for those who seek translation anyway, the modern online translation tools seem to provide decent results, so it may be a good interim approach.
With all of the above, we cannot merge this contribution right now. However, once again, thanks for your effort.


include option in profiles for people to disable having their information visible on our websites

We need a new option "Consent to have my name displayed with workshops I teach on the carpentries website" (maybe a better wording) in the profiles.
We'll use this information in the queries that retrieve the names of the instructors/helpers to generate the feeds that populate our websites.
Options: "yes", "no" (and "unset" when first introduced).

Call 02/15: this will be expanded as part of consent project.

@fmichonneau  @lauryndbrown  Is this covered through the consents project? Should we keep this open?

@fmichonneau was this already covered in the consents project?

we have a generic "Consent to making profile public", we could use this information to filter out instructors/helpers from the list of workshops but this isn't part of AMY but our data feeds/redash query. I'll open an issue there to track this.


fix-typo

Ⅰ. Describe what this PR did
fix typo
Ⅱ. Does this pull request fix one issue?

NONE
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
不需要
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #862 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #862   +/-   ##
=======================================
  Coverage   39.67%   39.67%
=======================================
  Files         109      109
  Lines        6432     6432
=======================================
  Hits         2552     2552
  Misses       3672     3672
  Partials      208      208

Impacted Files
Coverage Δ

supernode/daemon/mgr/cdn/file_meta_data.go
48.48% <ø> (ø)
:arrow_up:

dfget/config/metadata.go
84.61% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Please check when you remove one word, there are only one whitespace there. @hwdef

@allencloud
I am sorry about that.And i fixed it.

LGTM


drupalvm installs dev version

How do i get drupalvm to install the stable version and not dev version

---
api: 2

# Basic Drush Make file for Drupal. Be sure to update the drupal_major_version
# variable inside config.yml if you change the major version in this file.

# Drupal core (major version, e.g. 6.x, 7.x, 8.x).
core: "8.x"

projects:

  # Core.
  drupal:
    version: 8.1 # Would pick 8.1.1 at the moment

  # Other modules.
  devel: "1.x-dev"

I just installed drupalvm and it’s picking up 8.1.2-dev

On 15 May 2016, at 9:37 PM, Oskar Schöldström<EMAIL_ADDRESS>wrote:

api: 2
Basic Drush Make file for Drupal. Be sure to update the drupal_major_version
variable inside config.yml if you change the major version in this file.
Drupal core (major version, e.g. 6.x, 7.x, 8.x).
core: "8.x"
projects:
Core.
drupal:
version: 8.1 # Would pick 8.1.1 at the moment
Other modules.
devel: "1.x-dev"
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub https://github.com/geerlingguy/drupal-vm/issues/631#issuecomment-219309075

Are you using the default example.drupal.make.yml? Currently it uses the latest -dev. The version I posted should download 8.1.1 for you.

Thank you. working well now


SyntaxError: invalid syntax

I followed install.md to install handlRefiner, but when i execute this command python handrefiner.py --input_img test/1.jpg --out_dir output --strength 0.55 --weights models/inpaint_depth_control.ckpt --prompt "a man facing the camera, making a hand gesture, indoor" --seed 1 , error occurred below.
ImportError: cannot import name 'get_num_classes' from 'torchmetrics.utilities.data'

I find an answer from https://github.com/wenquanlu/HandRefiner/issues/5, but when I update pytorch_lightning version to 2.1.3. another error occurred.
Traceback (most recent call last):
  File "D:\ai\HandRefiner\handrefiner.py", line 39, in <module>
    from preprocessor.meshgraphormer import MeshGraphormerMediapipe
  File "D:\ai\HandRefiner\preprocessor\meshgraphormer.py", line 8, in <module>
    from MeshGraphormer.src.modeling.bert import BertConfig, Graphormer
  File "D:\ai\HandRefiner\MeshGraphormer\src\modeling\bert\__init__.py", line 3, in <module>
    from .modeling_bert import (BertConfig, BertModel,
  File "D:\ai\HandRefiner\MeshGraphormer\src\modeling\bert\modeling_bert.py", line 1
    ../../../transformers/pytorch_transformers/modeling_bert.py
    ^
SyntaxError: invalid syntax

Why the issue is closed without an answer? I have the same problem and don't find a solution.

Why the issue is closed without an answer? I have the same problem and don't find a solution.
hi, i think this is a path problem, my Python level is relatively low, so i just copied content of ../../../transformers/pytorch_transformers/modeling_bert.py to src\modeling\bert\modeling_bert.py to solve this problem. There are other files here that have some issue. and some path is wrong, you can solve them in pycharm.

if you can understand Chinese, i wrote an installation article https://www.jianshu.com/p/f5d421458746?v=1705760805683, you can find solution;


Adjust rocksdb throttle frequency default value

Scope & Purpose

Change default value for --rocksdb.throttle-frequency to 5000 (i.e. 5 seconds) from previous default value 60000 (60 seconds). This makes the throttling kick in sooner than before, which can help evening out load peaks and prevent server overwhelm.

Docs PR: https://github.com/arangodb/docs/pull/844

[ ] :hankey: Bugfix (requires CHANGELOG entry)
[x] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification
[x] :book: CHANGELOG entry made

Backports:

[x] Backport for 3.9: https://github.com/arangodb/arangodb/pull/15327
[x] Backport for 3.8: TO BE DISCUSSED

Related Information

[x] Docs PR: https://github.com/arangodb/docs/pull/844

Testing & Verification

[x] This change is a trivial rework / code cleanup without any test coverage.
[x] The behavior in this PR was manually tested

Closed in favor of https://github.com/arangodb/arangodb/pull/15364 and ports.


ignore irc messages starting with [off]

Coverage decreased (-0.5%) to 98.925% when pulling b1adf422ffb11861d758d69501534e09d2a795a5 on MichaelDaum:master into d168ebc8a47eb4c47edb14cb6192936a8188698b on ekmartin:master.

Coverage decreased (-0.5%) to 98.925% when pulling b1adf422ffb11861d758d69501534e09d2a795a5 on MichaelDaum:master into d168ebc8a47eb4c47edb14cb6192936a8188698b on ekmartin:master.

This seems very specific. Care to elaborate?

Yes, well, we've got an IRC logger monitoring our main channel of the community. Sometimes we like to exclude private messages or any other message not meant to be archived from being stored in the logs. That's why we prefix an [off] to the message. As Slack is a kind of log archive as well, we need the same feature there as well. Conceptually speaking the way of selectively blocking individual messages IRC -> Slack should be implemented the other way around as well. However, as most of the community will probably stay on IRC, with only newcomers slacking in, the current feature was more urgent than the other way around. Is there any way to have off-ity in the main repo?

I see @MichaelDaum. That definitely makes sense, but I think it's a bit too out of scope for the project. Sorry!


Login fails and return error code as 412

Describe the bug
Login fails and return error code as 412
To Reproduce
Log in, type in email and password, login fails
Expected behavior
Log in, type in email and password, login successful
Screenshots
If applicable, add screenshots to help explain your problem.
Version

OS:  Monterey 12.1
Xcodes: 1.4.0

Hi @whatisyournickname
Did this ever work for you? When logging into say developer.apple.com does the 2fa work?

Hi, I'm having the exact same issue, I'm unable to login within the App to download new versions of Xcode 🙈

@zocario if you log into developer.apple.com does it work?

As of v1.8 we no longer require apple accounts to download Xcode so these errors won't show up anymore 🥳


Any breaking changes from 2.0.6 to 2.0.7?

My xlsx file suddenly won't load after upgrading, any idea?
$occupations = Excel::load(storage_path('app/exports/').'FINAL ALPHABETIC INDEX_CD.xlsx')
        ->skip(3)
        ->take(3698)
        ->toArray();

currupted xlsx file my bad :grin:


Include domain-name support for the service /v1/register-application

Note : This issue can be taken after completing the issue https://github.com/openBackhaul/ApplicationPattern/issues/350
In the initial CONFIGfile , there will not be any attributes related to domain-name.
In the server-side logic , the code needs to be enhanced so that if a domain-name attribute can be added via a service , then the server-side code should include the domain-name attribute along with the values and delete the ip-address attribute at the same time and vice versa.

Resolved this as a part of the PR https://github.com/openBackhaul/RegistryOffice/pull/292. Hence closing this issue.


Change Audio Device Changes and Visualizer Doesn't Realize Audio Device Changed

Description
I have multiple audio speakers hooked to my computer.  Sometimes I switch to my headset or back to my default speakers.  I'm on Windows 10 and easily change the default audio speaker to something else near the notification area.  Upon changing the audio speaker, the Visualizer isn't "paired" to the current audio speaker I'm using.  So, I have to manually go into the Visualizer setting and change it to Default so it will "pair" with my current speaker.  Is there something better I can do besides manually changing it?
Additional notes/images
None

We have actually already implemented this feature already (I was just fixing a bug with it a few moments ago) it just is not part of the latest official release and so you must manually install the latest version from github.
Steps to manually install the most up to date version of monstercat visualizer can be found here

Replaced almost all the plugins besides the Spotify one.  Needed Admin Rights or something.  Should the feature just work automatically?  Or do I have to configure an option?

No it's on by default but it has nothing to do with plugins (the plugin it needs is included with rainmeter) you need to manually install the skin part too as that was where it is implemented


Using VSCode and SF extension unable to perform conflict resolution

When performing a commit vscode is sending a file to a stag

e changes area instead of a merges changed area not allowing for conflict resolution.

Can you give me exact reproducible steps?


Create a custom ItemNotFoundError exception class

Must be raised here:
https://github.com/WEEE-Open/python-tarallo/blob/6c9da5909a425ef15b3ad3cf41b5378dce369fda/tarallo.py#L68
#18

In a "move" operation both the item and its parent could be non existing. The server returns the same code (404 IIRC) but with a different message and possibly a different machine-readable code in the response.
What do we do on the client? Do we use this exception for both or create 1 more or 2 more exceptions?

#27


vimPlugins.mkdx: init at 2020-10-12

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Can you please remove the other update to resolve the merge conflict?

Done, I dropped the other update commits and just left adding in the new plugin to the generated nix file.

Result of nixpkgs-review pr 101232 run on x86_64-linux 1

1 package built:

vimPlugins.mkdx


Prisma Migrate: Better UX when referencing migrations in resolve command

Problem

resolve requires the migration directory as a parameter, but this is not obvious and some users are using the migration name without the timestamp prefix

Additional Context

https://github.com/prisma/prisma/issues/4571#issuecomment-748686678

So this is mostly work on the migration engine side.
We'll need to make sure that we only proceed if name without the timestamp prefix identifies a unique subfolder.
On the CLI side we need to handle the two new ErrorVariants MigrationNotUnique and MigrationNotFound that the engine could return.


Add Read the Docs configuration file v2.

Codecov Report
Patch and project coverage have no change.

Comparison is base (1fc6882) 100.00% compared to head (9de08aa) 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #75   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          129       129
=========================================
  Hits           129       129

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


get Bad Request white trying to getObjectAdapter

port that i'm trying to connect to is 443 (https).
org.apache.xmlrpc.client.XmlRpcHttpTransportException: HTTP server returned unexpected status: Bad Request
at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.getInputStream(XmlRpcSunHttpTransport.java:94)
at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:152)
at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143)
at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)
at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:137)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:126)
at com.debortoliwines.openerp.api.OpenERPXmlRpcProxy.getServerVersion(OpenERPXmlRpcProxy.java:177)
at com.debortoliwines.openerp.api.OpenERPXmlRpcProxy.getServerVersion(OpenERPXmlRpcProxy.java:162)
at com.debortoliwines.openerp.api.Session.getServerVersion(Session.java:222)
at com.debortoliwines.openerp.api.ObjectAdapter.(ObjectAdapter.java:65)
at com.debortoliwines.openerp.api.Session.getObjectAdapter(Session.java:92)
at controllers.OpenERP.create(OpenERP.java:50)

Hy,
It seems that you didn't succeed in connecting to the server.
What instance are your trying to reach? The odoo saas one or a self hosted one?
If it's your own library you'll probably able to make local tests with IP:port instead an https://domain.tld which would probably will be reverse proxied.
Thanks in advance for your precisions

Hi @siddharthkrish ,
Working with https seems to be needing some additionnal R&D. Both the server part and the client are probably part of the clue.
I'll let you know when I'll make additionnal tests
regards

Thanks @challs,


[Bug] Button widget: Changes in the enhancements

Description

Button styles should be called as Button colours
The button style changes are linked to the API pane button, is this linked, we should change this if so. (HIGH)
Form buttons are also seeing these changes probably because of the changes in the core component (HIGH)

Design Changes:

Button style > secondary colour palette needs to change
In button prop pane, The border radius and box shadow attribute need to consume lesser space

Important Details

Version: [Cloud]
OS: [MacOSX]
Browser [chrome]
Environment [release]

Waiting for conclusion on this discussion

@Tooluloope note:

Replace button style with button color (We will get rid of the intents and only have the color picker)
Font color and hover color can still remain automated (should this be done?)
Variant remains as it is

cc @areyabhishek @jsartisan @Nikhil-Nandagopal

@aswathkk note from discussion:
Here’s the way it’ll work:

Primary, secondary, tertiary button styles (button variant > button style)
Every button has an accent color chosen by the user (button color)

What is changing from today:

There’s no warning, info or danger buttons because it wasn’t clear how to create these kinds of buttons for every color chosen by the user

We are removing button styles, but not button variants. Button variants still exist in the new design.
The difference is that the button variants have names like primary, secondary, and tertiary, instead of solid, outline, ghost. That's why it looks like we are removing this property today and again adding it tomorrow. In reality the property functionality (variants) will stay the same even though the names might be different. There'll be no property called button styles in the new designs.


Allow AssociationBuilder to set a relation as orphan removal

The AssociationBuilder, part of the StaticPHP metadata driver, is missing the orphanRemoval functionality.
I know we are in the middle of 2.5 release, so let me know if you need anything from this one when you've got time for it :smile:

@guiwoda :+1:


Added const-time flag to DSA key decoding

Added const-time flag to DSA key decoding to avoid potential leak of privkey

merged to all three branches as shown above.  Thank you for the fix!


MQTT connection issue

I set the MQTT Password, Username, address, port, and QOS but no connection maybe something else not sure
mqtt_client.connect(mqtt_host, port=mqtt_port)
File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 941, in connect
return self.reconnect()
File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 1075, in reconnect
sock = self._create_socket_connection()
File "/usr/local/lib/python3.9/site-packages/paho/mqtt/client.py", line 3546, in _create_socket_connection
return socket.create_connection(addr, source_address=source, timeout=self._keepalive)
File "/usr/local/lib/python3.9/socket.py", line 843, in create_connection
raise err
File "/usr/local/lib/python3.9/socket.py", line 831, in create_connection
sock.connect(sa)
OSError: [Errno 113] Host is unreachable```

Ok must be a problem with my setup on unRAID I installed in another version of Docker and no problem! works great, Thanks


Happy when have same idea

Just message with you that  I have same idea before and very interesting with your project : https://github.com/chuongmep/JupyterBIM
My idea before is extend support for Navisworks, Autocad , Revit,... and the interactive not only write code with C#, it also support write with python script.
Can I know your roadmap are working on ?
Regard !

Amazing ! We think very alike here.
As you say, support for python I also see as an important feature. On the long term, also support for CAD, as you envisioned. I mainly work with Autodesk Revit so it was a natural starting point for me.
For the moment, I am trying to compose a collection of jupyter notebooks in the "samples" folder and test the current implementation. My idea was some kind of Jupyter Book with documentation and showcases. I have made a get started notebok in the "src"-folder.
Put I feel python-support is really interesting and it would be interesting to explore this possibility in the near future! At the same time, as you probably know, Autodesk are migrating the API to .NET 8 and I am hoping that will solve some dll conflicts. There is a conflict with BIM 360 Addin to mention one.
Cheers!


Review logging in all services

remaining work split into:

https://github.com/golemcloud/golem/issues/661
https://github.com/golemcloud/golem/issues/662
https://github.com/golemcloud/golem/issues/663


FastFixtureTestCase does not seem to work with mysql?

Attempting to use FastFixtureTestCase with our mysql database results in a message that it only supports databases which have transactions. Mysql does support transactions, however, so I'm not sure what's going on. I suppose it could be because Mysql doesn't support transactions for DDL, but I'm not certain why it would need to for this?

Does this still reproduce with django-nose 1.4?  Do you have a public project that includes the bug?


Azure AI Language Studio - How to upload files to custom question answering section using REST API?

As title says, I need to upload files to question answering section in Azure AI using REST API. However, I couldn't find any documentation about this. Would be great if someone could share.

https://learn.microsoft.com/en-us/rest/api/language/question-answering-projects/update-qnas?view=rest-language-2023-04-01&tabs=HTTP
This is the reference that I am following but can't find anything suitable.
In Language Studio I can do it like this.

But don't know how to do this through REST API.

@harunB10
Thank you for bringing this to our attention.
I've delegated this to content author, who will review it and offer their insightful opinions.


npm start doesn't work

Hey @hongkongkiwi, thanks for reporting this.
There isn't much documentation to this project yet, but basically you'll need to replace the sample hook-ext directory with your own project hook configurations.
Also there are many options available to override and configure here: https://github.com/doubleleft/hook-admin/blob/master/app/config/app.yaml
Please let me know if you find any trouble.

@hongkongkiwi I've updated the README to make it clear how to set it up and running.


Specify additional files in setup.py.

This avoids needing the MANIFEST.in file.
This seems to work for me, but don't assume it's correct. At the moment it doesn't seem like you package yaml, sh, svg files, but presumably either you don't want to or I'm wrong.

Codecov Report

Merging #248 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #248   +/-   ##
======================================
  Coverage    91.3%   91.3%
======================================
  Files         180     180
  Lines        8363    8363
======================================
  Hits         7636    7636
  Misses        727     727

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 80ea667...174c1a2. Read the comment docs.


quicklogic: PolarPro 3 support

This is essentially #1816 but slimmed down to the bare essentials of PolarPro 3 support - no BRAM, no ABC9, no multiplier inference, and with Yosys-standard tests.

Yeah.
On Wed, 17 Mar 2021, 14:48 Marcelina Kościelnicka, @.***>
wrote:

@.**** commented on this pull request.
In techlibs/quicklogic/pp3_ffs_map.v
https://github.com/YosysHQ/yosys/pull/2673#discussion_r596088472:

@@ -0,0 +1,4 @@
+module $DFFSRE_PPPP (input C, S, R, E, D, output Q);

as in, in post-yosys part of the flow?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/YosysHQ/yosys/pull/2673#discussion_r596088472, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AALPDW6OYTXVADOXQI4XA2DTEC6LZANCNFSM4ZJWWJOQ
.