add slice data structure to Golang language

What the program do ?
----Add slice data structure in Golang
In what programming language it is written?
----Golang

Sorry i cant understand

Hi @Lopamudra89
You can't understand what?


Long labels in outlined inputs behave in a weird manner

When using longer input labels with selects and inputs of the outlined variant, the label width detection does not work properly.

Here's a reproduction: https://codesandbox.io/s/material-demo-3gqm2
It's also not really clear to me why the input does not resize when the label is down. But I guess that's just a limitation. I wish I could simply give it a label, and it'd take the space it needs to display it properly.
material-ui v4.2.1

@Floriferous Same problem and limitation than #12255.


build(devs-infra): use docusaurus for documentation site

Summary

Our documentation workflow keeps failing and no idea how to fix it. Better switch to docusaurus which is a popular tool for documentation site
Test plan

Let's see after merging this, docs can be generated and deployed
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
N.A.

Pull Request Test Coverage Report for Build 409408771

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 93.652%

Totals

Change from base Build 407635484:
0.0%

Covered Lines:
940

Relevant Lines:
970

💛  - Coveralls

Oops CI failed with the workflow, will look into that


abnormal lipogenesis

If this is a request for a new term, please provide us with the following information.

Preferred term label (e.g., asplenia)
abnormal lipogenesis

Synonyms (e.g., absent spleen)

Textual definition (the definition should be understandable even for non-specialists. Include a PubMed ID or URL(s) to refer to any relevant article(s) that provides information about the suggested term).
Process of fatty acid and triglyceride synthesis from glucose or other substrate or the metabolic formation of fat.
From Merriam-Webster: the formation of fatty acids from acetyl coenzyme A in the living body and especially in adipose tissue and liver
https://www.merriam-webster.com/dictionary/lipogenesis
https://www.sciencedirect.com/topics/biochemistry-genetics-and-molecular-biology/lipogenesis

Any additional notes to clarify the meaning or use of the term. Please provide a PubMed ID or URL(s) for the source of this information.
J:249664 distinguishes between lipogenesis and lipolysis using two models. We already have a lipolysis MP term. We also have 38 annotations using lipogenesis in the notes so it makes sense to add the term.

Suggested parent term (Please look in the hierarchy of the MP using the MP Browser or other browsers such as OLS and find the place in the MP where the new term best fits)
abnormal lipid homeostasis

If you would like a nanoattribution, please indicate your ORCID id or provide a label such as MGI:sbello (organization, first initial-last name)

MP:0020866 placed under abnormal lipid metabolism as this follows the GO structure

MP:0020868 - decreased lipogenesis
MP:0020867 - increased lipogenesis


Refactor reporter handling to be able to pass it through request params

Codecov Report

Merging #355 (6074bf2) into main (937b0ce) will decrease coverage by 0.02%.
The diff coverage is 86.66%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main     #355      +/-   ##
==========================================
- Coverage   73.04%   73.02%   -0.02%
==========================================
  Files         183      183
  Lines        8721     8723       +2
  Branches     1431     1432       +1
==========================================
  Hits         6370     6370
- Misses       2169     2170       +1
- Partials      182      183       +1

Files Changed
Coverage Δ

orchestrator/schemas/__init__.py
100.00% <ø> (ø)

orchestrator/api/api_v1/endpoints/processes.py
82.55% <80.00%> (-1.26%)
:arrow_down:

orchestrator/app.py
83.33% <100.00%> (ø)

orchestrator/db/filters/resource_type.py
83.33% <100.00%> (ø)

orchestrator/schemas/process.py
100.00% <100.00%> (ø)

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


Upgrading to 2.24.1 produces a compile time warning: BaselineIgnore not found

Description
We're trying to update from 2.17.1 ->  2.24.1 but we've encountered compile warnings due to missing annotations.  It looks like essentially the same same issue as https://github.com/apache/logging-log4j2/issues/2144 and https://github.com/apache/logging-log4j2/issues/2232
Configuration
Version:.  2.24.1
Operating system:   OSX Sonoma 14.4
JDK:
openjdk 17.0.12 2024-07-16
OpenJDK Runtime Environment Homebrew (build 17.0.12+0)
OpenJDK 64-Bit Server VM Homebrew (build 17.0.12+0, mixed mode, sharing)
Logs

/gradlew compileTestjava

Task :compileJava
/Users/louisb/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.24.1/7ebeb12c20606373005af4232cd0ecca72613dda/log4j-api-2.24.1.jar(/org/apache/logging/log4j/Level.class): warning: Cannot find annotation method 'value()' in type 'BaselineIgnore': class file for aQute.bnd.annotation.baseline.BaselineIgnore not found

Reproduction
Update log4j to 2.24.1 in our build.gradle
    platform('org.apache.logging.log4j:log4j-bom:2.24.1)
    implementation 'org.apache.logging.log4j:log4j-api'
    implementation 'org.apache.logging.log4j:log4j-core'

This was very surprising to me.  Have you considered changing the annotation dependencies to be included.  Or they processed out of the published jar?
We need to include log4j-core at compile time, because we want to change the default logging level at runtime based on command line input from the user.  If there is a way to do this through the API we would be happy to switch.
I've solved the warning by adding 2 additional dependencies
    implementation 'biz.aQute.bnd:biz.aQute.bnd.annotation'
    implementation 'org.osgi:org.osgi.annotation.bundle'

Just adding biz.aQute.bnd:biz.aQute.bnd.annotation causes additional failures because it includes OSGI bundle annotations which are not included in it's dependency list.
I feel like I'm doing something wrong but I'm not really sure what I should be doing instead.

Hi @lbergelson,
It's ironic that adding annotations for third-party static code analysis tools, causes warnings in Oracle's -Xlint tool. My recommendation would be to add -classfile to your custom -Xlint option. As far as I could find in my IDE, there are only two warnings in the whole javac compiler code that use that category. They are both in c.s.t.javac.jvm.ClassReader and concern:

Missing annotations at compile time. This includes annotations with a retention of CLASS, which are not used at runtime, like the ones you are reporting.
The presence in a classfile of attributes from a future Java version, e.g. the sealed attribute in a class that uses Java 8 bytecode. I can not think of a natural situation, when this could happen.

If you disable classfile, you won't miss anything important.

This was very surprising to me. Have you considered changing the annotation dependencies to be included. Or they processed out of the published jar?

We have considered both solutions and each one comes at a cost. Currently we are using the following annotations, which all have their specificity:

OSGi annotations (like @Version) and BND annotations. These are license (or dual licensed) under Apache-2.0 and have a retention of CLASS. OSGi users (admittedly a small group) need them in the classfiles.
Annotations for the SpotBugs static analysis tool. They are licensed under LGPL-2.1, so inclusion in some products might be problematic (I am not a lawyer). On the other hand I don't know if Log4j users can benefit from them. They have a retention of CLASS.
Annotations for the Error Prone static analysis tool. These are definitively useful for a large group of users (see the @InlineMe annotation we also use in our code base). Some of them have a retention of RUNTIME, but I believe we only use those with a retention of CLASS.
Nullability annotations from JSpecify. This seems to be the first standard for nullability annotations supported by multiple vendors and it could really benefit the users. For some reason they have a retention of RUNTIME.

Adding annotations to the compile/implementation scope
We certainly could not add Spotbugs annotations to our compile scope, at least our lawyers say so.
Some of these annotations would be very useful to Log4j API users (e.g. JSpecify), but in general the PMC is quite reticent to add any dependency to the compile scope for log4j-api. We only have OSGi dependencies in the provided scope (which corresponds to Gradle's compileOnly configuration and is not transitive).
For Log4j Core there are even less reasons to add the (compile-time only) annotations to the compile scope, since most users have Log4j Core in the runtime scope (runtimeOnly for Gradle). These dependencies would end up in the applications even if users do not use them.
Removing annotations from the class files
The problem with removing annotations from the class files is that AFAIK, there is no tool for that! Admittedly it must be a couple of hundred lines of ASM 9 code, but we didn't have time to develop it yet. I have opened apache/logging-log4j-tools#153. If you are willing to contribute such a tool, we love PRs! :heart:
As I stated earlier, not all annotations are eligible for removal (I think JSpecify, the OSGi @Version and Error Prone @InlineMe should stay), but @BaselineIgnore does not give any useful information to the compiler. We only use it to make breaking changes according to Java, which are not breaking changes according to the documentation: e.g. removing a public class that was always documented as private.

Thank you for the in depth response.  It sounds like you've done a lot more thinking about than this than I have.
It was just a surprising gotcha to trip over for me.  I had never seen that warning pop up before, but missing class files sounded worrisome so I didn't want to disable it in general.  It sounds like it's extremely niche and not gaining us much though.
I've worked around it and you're obviously aware so I'll close this out.

Since @BaselineIgnore is an annotation with CLASS retention and absolutely nothing wrong will happen if it is not available at compile time, I have reported this as JDK-8342833 bug.


Install @opentelemetry/api when instrumenting app

The auto instrumentation docs are broken because at some point, the @opentelemetry/api dependency was changed to a peer dependency in the upstream packages.
This causes packages install to fail.
This PR adds the api package to the install command.

Thanks!


Add support for Spoon in Android test modules

I am trying to include Spoon in an Android test module (https://developer.android.com/tools/studio/studio-features.html#test-module), but it looks like that plugin type is not supported yet (https://github.com/stanfy/spoon-gradle-plugin/blob/master/src/main/groovy/com/stanfy/spoon/gradle/SpoonPlugin.groovy#L23).

Correct. This plugin use case is putting tests into the app module under `src/androidTest/. What you can do is configuring spoon task on your own in your test module: add the plugin artifact to the build script classpath (but do not apply it) and then do something like
import com.stanfy.spoon.gradle.SpoonRunTask
android.applicationVariants.all { variant ->
  task "spoon${variant.name.capitalize()}"(type: SpoonRunTask) {
    testSize = SpoonRunTask.TEST_SIZE_ALL
    applicationApk = variant.outputs[0].outputFile
    instrumentationApk = variant.outputs[0].outputFile
    // ... See other options https://github.com/stanfy/spoon-gradle-plugin/blob/master/src/main/groovy/com/stanfy/spoon/gradle/SpoonRunTask.groovy#L33-L90
  }
}

Or you can add another plugin to this project that can be applied to test modules.

Hi Roman. I'm in a similar position as patrick. I have an Android library project that has about 5 different modules in it, each with their own set of unit tests.  I would love to use spoon as it let's me use multiple devices and is great for granting runtime permissions for the tests.
This would be a great feature to have!   But for now, I'm looking at the sample code you provided above. I'm pretty new with gradle, so I was hoping you could expand upon your sample code and maybe explain how I could get something working.  For example: Not sure what you mean by "adding plugin artifact to the buildscript classpath (but do not apply it)."  Also would I add that task to each of my module level build.gradle files? Or top level? My project doesn't use flavors or variants.
Sorry I'm a gradle noob, but I would love to get Spoon working so any help is appreciated!


Text is difficult to read when using Visual Studio "Blue" theme

When Visual Studio's theme is set to Blue or Blue (extra contrast), the text in the Terminal Window is difficult to read (e.g., yellow text on white background).

Isn't Blue the default theme of Visual Studio? It doesn't make a good first impression when the first thing I notice after installing this extension is that it's difficult to read.
For now I'll just switch to the Dark theme (since that's easier than editing the Whack Whack Terminal css file in the user settings).

I've been trying to determine the best way to fix this issue. Since if I fix the colors in the blue and light themes there will probably be unreadable colors in the Dark theme. I could build in a color set for all three themes, but the issue there is that users can install their own themes which my terminal would be unable to deal with.
In the meantime, if you do wish to use the Blue theme and you don't mind the terminal being black, you can use this as your css file:
.terminal {
    color: white;
}

.terminal .xterm-viewport {
    background-color: black;
}

.terminal .xterm-color-15 {
    color: white;
}

.terminal:not(.focus) .terminal-cursor {
    outline-color: transparent;
    border-bottom: 1px solid white;
}

.terminal.focus:not(.xterm-cursor-style-underline):not(.xterm-cursor-style-bar) .terminal-cursor {
    color: black;
    background-color: white;
}

Must fix this

I've looked into this further and it would appear that the 3.0 release of xterm.js will have a theming API. Since the release looks to be soon I will wait until that lands to work on this feature.


registry.New outputs logging

registry.New is calling Ping() from newFromTransport method and Ping() outputs logging with
r.Logf("registry.ping url=%s", url).
We cannot set logging callback before New function. So it makes it impossible to mute that ping log line.

I also made a PR https://github.com/heroku/docker-registry-client/pull/53
Sadly, the maintainer of this project seem to be... dead... 13 PR never merged...


No release at https://apps.nextcloud.com/apps/les_pas_photo_app_for_android_phone

Is your feature request related to a problem? Please describe.
I am trying to package lespas for my linux distribution. The packaging of nextcloud apps is done by this software that for some reason can't package lespas https://github.com/helsinki-systems/nc4nix/issues/10
My guess is that no release is listed at https://apps.nextcloud.com/apps/les_pas_photo_app_for_android_phone contrary to https://apps.nextcloud.com/apps/maps for instance.
Describe the solution you'd like
I would like a release to appear on the official apps.nextcloud.com (for nextcloud 27 at least since that's the one I am using).
Describe alternatives you've considered
I dont know enough about nextcloud apps to present an alternative.

Les Pas is an Android app, you can install it from Google Play Store, F-Droid and github. It's a pure mobile solution, nothing needed to be installed on Nextcloud server.
There are at least two types of listing on Nextcloud market, App and Integration. Les Pas is the later one.

oh sh** sry I misunderstood that part ! that's greater. From the description, lespas seems to be the only solution that ticks everything I am looking for so very eager to try. Closing then and thanks for everything.

Though you don't have to install anything on Nextcloud for using Les Pas, you'd better set up Preview Genrator Nextcloud app. There is detail instruction on how to customize it in FAQ


More emojis

Just wanted to let you all know I made some yml files and published on github over here https://github.com/spoike/emojis
The emojis have been uploaded on imgur and the yml files are referencing them. It is possible to use the raw urls specified in the README file in the emojipacks program.

Thank you, I'll make sure they're added!

Added in PR https://github.com/lambtron/emojipacks/pull/57.


Page titles are not unique to action

Currently the page titles is the same for every page. This makes navigation via history difficult.

The page title can be created dynamically, with a default behaviour that creates action specific titles based on a combination of controller, action and id. Then this can be over written with a content_for call for particular page. There is an example here

The page template pattern fixed this problem. Page title are now populated by page headings.


Prismic-specific image fragments don't exist

https://www.gatsbyjs.org/packages/gatsby-source-prismic/?=primsic#using-imgix-transformed-images
Following the documentation for the recommended On-the-fly transformed using Imgix image processing method, when attempting to use the image fragments such as ...GatsbyPrismicImageFixed_noBase64 I get the following error in the browser:
The fragment "GatsbyPrismicImageFixed_noBase64" does not exist.
If I replace the fragment with ...GatsbyImageSharpFluid_noBase64 everything appears to work fine. By using the standard Gatsby image fragment am I losing out on any functionality?
Worth noting that the official Gatsby image fragment documentation includes fragments for other headless CMS's such as Contentful and Sanity but not for Prismic.

Hi @ConnorTCM, these fragments should exist globally:

GatsbyPrismicImageFixed
GatsbyPrismicImageFixed_noBase64
GatsbyPrismicImageFluid
GatsbyPrismicImageFluid_noBase64

But these will only work for Imgix images, not gatsby-transformer-sharp images.

Imgix - You would use the GatsbyPrismicImage* fragment on imageField.fluid or imageField.fixed
Sharp - You would use the GatsbyImageSharp* fragment on imageField.localFile.childImageSharp.fluid or imageField.localFile.childImageSharp.fixed

If the Sharp fragments are working, it sounds like you need to change your query to use the non-localFile field.
Check out this section of the migration guide: https://github.com/angeloashmore/gatsby-source-prismic/blob/882a5a41daac14e1caea039277cb876d97ae8a1c/docs/migrating-from-v2-to-v3.md#replace-local-images-with-imgix-processed-ones
Hope that helps!

Brilliant, thanks @angeloashmore this is helpful. Out of interest, should imageField.fluid and imageField.fixed be exposed in the GraphiQL interface? The only fields being exposed to me are dimensions, alt, copyright, url, localFile and __typename.

Thanks very much @angeloashmore, this is helpful!


Introspection as a custom manual instrumentation implementation

Add ability to define a custom implementation of manual instrumentation
functions defined in Orbit.h (define ORBIT_API_INTERNAL_IMPL).
OrbitService and Orbit itself will use this custom implementation for introspection.
Remove obsolete files.

NOTE: Introspection currently works end to end in #1112.  I'm breaking down the changes in multiple PRs.  As is, this PR introduces no functional change. The UI side introspection code will come in the next PR.

Hi @dimitry- , I changed the way scopes are handled, the callback is now called from a worker thread. It was implemented using the ThreadPool class. The idea is to defer the processing onto a worker thread to minimize contention on the instrumented threads. I'd be curious to have your thoughts on the usage of ThreadPool here. I only need a single worker by the way, the callback locks further down the pipe so having many threads won't help.  It's also nice to guarantee that callbacks are called from a single thread.

Looks good I am not sure how expensive is the callback and if the cost of scheduling an event

Yeah same here, but I have a feeling offloading to a worker will be faster. The callback will consist of sending the data over through grpc, but it uses a lock that seems to be under high contention. The real test will be to measure it (using introspection!!).
I'll add tests and fix the variable names tomorrow...

Looks good I am not sure how expensive is the callback and if the cost of scheduling an event

Yeah same here, but I have a feeling offloading to a worker will be faster. The callback will consist of sending the data over through grpc, but it uses a lock that seems to be under high contention. The real test will be to measure it (using introspection!!).

I gave it a little bit more thought and it seems to like the threading should be shifted to callback implementation. The idea is that it knows better if the action is expensive or not. It is also easier to read and more visible as of why this is done on a separate thread.

So for me to understand: the goal is for this to work both on the service and on the client, and they will set completely different global_callbacks (other PR?) as the path from the introspection scope to the capture is obviously different in the two cases?

Yes that is exactly right. On top of that, we are re-using the same interface (Orbit.h) as the manual instrumentation API that will be distributed to partners.

I gave it a little bit more thought and it seems to like the threading should be shifted to callback implementation. The idea is that it knows better if the action is expensive or not. It is also easier to read and more visible as of why this is done on a separate thread.

As discussed, since we are measuring time here, we need to make sure that the callback won't affect the measurement, that's why we are doing the work on our side to minimize the overhead of "scope" processing.


Docs link in latest docker image points to broken github page

I was using the installation instructions from the docs, and the docs link in the UI (top left, under Woodpecker) points to: https://github.com/laszlocph/woodpecker/blob/master/docs/usage/pipeline.md
Any idea why that happens?
I've checked the code and it correctly points to: https://woodpecker.laszlo.cloud/ so maybe the docker image is wrong?
laszlocloud/woodpecker-server:v0.9.0

Nevermind, this is fixed in v0.11.0


Make compatible with core 1.9

Update requirements to use datacube-core 1.9, replacing datacube.config with datacube.cfg and datacube.utils.geometry with odc-geo.

We will probably need to maintain parallel 1.8 and 1.9 branches for a while (as we are in core and OWS).  I don't think it's possible for one branch to work with both.

This needs to be kept as a parallel branch for now, so closing now that all tests are passing.


Consider using the spaCy tokenizer

When looking at the config.yml I read:
  - name: "SpacyEntityExtractor"
    # Note: It is not possible to use the SpacyTokenizer + SpacyFeaturizer in
    #       combination with the WhitespaceTokenizer, and as a result the
    #       PERSON extraction by Spacy is not very robust.
    #       Because of this, the nlu training data is annotated as well, and the
    #       DIETClassifier will also extract PERSON entities.

This reads as a fair warning, but it also begs the question: why aren't we using the spaCy tokenizer here? I'll gladly make a PR but I'm curious if there's something that I'm currently not considering.

@koaning ,
Great question!
When using the spaCy tokenizer, the performance of the time/duration entity extraction by duckling goes down.
That was the reason not to switch over to the spaCy tokenizer, but it definitely deserves a re-evaluation.

Ah yeah. This was brought up during a research meeting a while ago.
I ended up making an experimental alternative to Duckling, should you be interested. It's part of rasa-nlu-examples.


REQ - Use nicknames rather than Discord base names when sending messages to game

Noticed this evening that a message sent from Discord to game came through with their base discord handle (text portion of username#1234) rather than their nickname (which is the same as their steam name / IGN). It would be great if Dishorde can pick up the nickname instead (or at least have that as a configurable option).

Done! fd2d76e

Done! fd2d76e

Now that's service!


Upgrading bubbletea v0.25.0 → bubbletea v0.26.6 breaks table rendering

(if you scroll over the rows, they are redrawn correctly)
Most likely a problem in my application, but afaik I'm not anything unusual with the table, so any suggestion will be appreciated.
Code is at codeberg if you want to have a look (internal/tui/tui.go)

When I git clone your repository and update bubbletea v0.26.6, I don't seem to see this behavior out of the gate.  However, I do see all kinds of artifacts if I resize the terminal, regardless of whether I update or not.  I also see this with the flex example locally here, though, so maybe I need to investigate this more to see if there's some redrawing thing we're both missing.

Weird, now I also cannot reproduce the behaviour shown in the screenshot above. Maybe some othere package was updated in the meantime?
Currently, when resizing, if the table isn't smaller than the terminal, everything works fine.
However, if there's a vertical resize beyond table size:

urxvt: broken:

kitty: initially ok, but if then resized horizontally, it also breaks:

This happens for all combinations of bubbletea (v0.25.0, v0.26.6) and bubble-table (v0.15.6, v0.16.1) I tested, so it seems it's not a new issue.

That'd be #121 in action, it seems.

Indeed, even though it's supposed to be fixed.
Anyway, since I can't reproduce the initial issue anymore, and this is now something else and not related to the table, I'm closing this.
Thanks for looking into it!


Update css links and others

Update old out-of-service css links
add optional --server <CAS_SERVER> flag

@mmoayyed Do you have any comment Misagh? :D

Yes. One: Thanks!


inference to h5 with cursor

to avoid out of memory errors

Coverage increased (+0.08%) to 95.005% when pulling 9bd0364f65d9ec8ee0d8e1f03811d93840d595d4 on kashefy:new_infer_to_h5 into 61d99390258513313fb01ae8fa42980e10a9bf5e on nigroup:master.


Merging The new Mobile Nav Link into master

Testing on Develop looks great, merging the changes in.

Thanks Andy!


Remove decoraror

Can just use enumerate :)

Thanks Bob! I worked on making this update and should ship it in the next PR.


Update smallweb.txt

Add judithvanstegeren.com, aaronweb.net and thomwiggers.nl
As I'm a native Dutch speaker, I checked all *.nl domains. I ended up removing two sites that violate the requirements:

outflank.nl is a commercial blog
noncummutativegeometry.nl's recent posts are mostly academic vacancies

Thanks!


TTL callback

Is there a way to call an callback function when one document have to leave?

Has this yet been resolved? Would be a huge value-add!
~


Build out project registry/core concepts/ids and anchors page

This page should explain anchors in depth (both the anchor address and contract)

Why anchors?

Contract address to represent an identity globally
Can do anything addresses can do: attestations, tokens, SBTs, registry
Gives people building allocation strategies a lot of flexibility for how they determine eligibility

How are anchors created

Check the code for the latest, but: a small contract is deployed
If certain data about the project changes, a new anchor is created (list which data, see the contract)

IDs and Anchors.pdf


Fix print statements

Ah!  That was debug stuff while I was writing that I missed.  It shouldn't be in production at all.  Can you ammend your commit to remove the lines entirely or I'll delete them tonight?

Or maybe squash the changes into single commit?

Yeah, that would be great!


feat: introduce StorageControl

Adding "Do Not Merge" label because I'd like to get in https://github.com/googleapis/gapic-generator-php/issues/705 before we release this (although it isn't a blocker)


Spleling

@mrwacky42 you need a version bump even for a documentation change.

/ok-to-test
/assign

/test pull-charts-e2e

Spelling sure is a lot of work. Are you sure we need all the DCO/e2e tests just to change docs?

@mrwacky42 yes, they are needed, see the failing "checks" section in this PR

@davidkarlsen - I realize the repository is configured to require these checks. However, the checks are timing out not because good spelling and grammar is breaking the test, but because the tests are bad.
I was just wondering out loud if there is a better way to short-circuit changes that are purely cosmetic.

/retest

/test pull-charts-e2e

/retest

/test pull-charts-e2e

Ok, good luck fixing your test suite, I'm unsubscribing from this PR.

Stale bot, spelling and grammar is important.

@mrwacky42 please rebase the PR

/lgtm

ping @davidkarlsen

/lgtm


show infoWindow of marker from another method

how i can show infoWindow text of marker by onTap from Button not click in marker

i find solution
so thank you

Hi @Ahmedtaha123
I'm glad that you fixed the issue,
thank you for letting me know


[Feature] Sync log for deployments

Description
We have a created_at field in the deployment_schemas table, but it would be nice to also have a synced_at.
This is primarily to benchmark sync speeds for various subgraphs.
Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.
No response
Some information to help us out

[X] Tick this box if you plan on implementing this feature yourself.
[X] I have searched the issue tracker to make sure this issue is not a duplicate.

This #5566 PR adds this feature and has been merged


http.server.active_requests usually does not have route attribute

Routing usually happens after the request starts, so it's not possible up record +1 on http.server.active_requests and provide route.
Is there any instrumentation that can provide route data there? Should we consider removing the attribute?

I don't see http.route listed as an attribute here: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/http/http-metrics.md#metric-httpserveractive_requests

Indeed 😄 thank you!


Schedule on timestamp breaking on postgres on 0.5.1

Error
On calling PostgresStorage schedule method:
"column \"run_at\" is of type timestamp with time zone but expression is of type bigint"

Context
I've imported manually all the postgres migrations  in  https://github.com/geofmureithi/apalis/tree/master/packages/apalis-sql/migrations/postgres
I did this to avoid the conflicts with my own set of migrations
I noticed there were some changes around the Timestamp typing, now it is an i64 which doesn't seem to translate property into the sqlx postgres model.
Am I missing any migration?

Not really, this is a bug. It needs the right type.

I've created a PR, not sure if it's fully ok, postgres is not my expertise :)

Please consider also this suggestion #292


Add AdministrativeGender ValueSet to be used by Patient Registration Questionnaire in gallery app

The expanded CodeSystem for the AdministrativeGender ValueSet used by the Patient Registration Questionnaire: https://www.hl7.org/fhir/codesystem-administrative-gender.json.html

Duplicate of #180

Duplicate of #180


API default template opens invalid url by default

Describe the bug
While the new template no longer has the ValuesController and only has a WeatherForecastController controller, when you run the API, the default url is "api/values" by default, which returns a 404.
To Reproduce
Steps to reproduce the behavior:

Create a new .net core web API 3.0
Run the application

Expected behavior
By default, it points to /WeatherForecast

Thanks for contacting us, @neville-nazerane.
This is a known issue with preview7 release, and the fix is coming in Preview8. The fix is trivial and it's to update the launchSettings.json to reflect the correct path, as was done in the fix for it: https://github.com/aspnet/AspNetCore/pull/11753/files#diff-dda1b7b71a5698180e79d02c5401d65fR24

Dupe of https://github.com/aspnet/AspNetCore/issues/11699


JS Bangladesh Tutorial Added

What does this PR do?
Add resource(s)
For resources
Description
JS Bangladesh Tutorial Playlist added it is created by JS Bangladesh.
Why is this valuable (or not)?
It is valuable for Bangla speaking peoples who want to learn Javascript.
How do we know it's really free?
It is completely free
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!


Devs SBAT see helpful error msgs from contracts

Seems to work on ganache, not celo-blockchain

Tracking upstream issue - https://github.com/ethereum/go-ethereum/issues/18360

Thanks to @nambrot for digging up this relevant PR: https://github.com/ethereum/solidity/pull/3364


Could not run on a real device

I tried exporting the example app into an APK to run it on a real device. But I found that the images will not load when I click on the buttons.
Everything works on an Android emulator.
Is there a special permission needed to run on a real device?

Android device?
I will re check permissions and test it

Yes Android device

It should work now as expected
you can download the updated code and try again
thank you for letting me know ♥

Cool! I'll try it and get back. Thanks a lot buddy!

Perfect! It works now!


Async request

I added new executeAsync methods to HttpRequest. The new approach is to use callback
instead of returning Future object and let users handle the result. It will be easily abused as
the get method on Future object is blocking thread. There is no point to create the new thread then block the current thread until we get the result from another thread.
The return type for executeAsync is FutureTask because it lets users cancel the submitted task.
I also added test case for those methods I created.
One more thing, the old executeAsync method that take no parameter, creates ThreadPool for every calls. That's kind of expensive call. Not sure whether it will make a memory leak or not but I'm feeling like it will. I didn't mark @depreciated on the old executeAsync and didn't fix the issue that I just mentioned. Just want to point out and let you guys decide what to do. Maybe I'm wrong.
This project is awesome because I don't like dealing with Apache HTTP Client configuration and
when I create a library relying on Apache HTTP Client. One of the user told me that Google AppEngine doesn't support it :(. Feel like google-http-java-client is a way to go.

Hi Thanks for the contribution.  I'm unable to accept due to the CLA not being signed.  I'm also going to close this because it's stale.  (It actually seems like a useful contribution)


refactor(starters/apps/empty/src/global.css): remove redundant comment

closes #4287
Overview

What is it?

[ ] Feature / enhancement
[ ] Bug
[ ] Docs / tests / types / typos

Description
There is a comment in the starters/apps/empty/src/global.css file, when creating the qwik-app with the help of this command npm create qwik@latest, the content of the Base global.css is being added to the empty app's global css file resulting in duplicate comment.
Use cases and why

One use case

Another use case

Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

You're welcome! Glad I could help 😄


FMUv5: Fix RGB led usage - these are individual status leds.

Fixes https://github.com/PX4/Firmware/issues/9537

@LorenzMeier Does this affect https://docs.px4.io/en/flying/led_meanings.html ? (I have not seen the board, but individual LEDs sounds potentially different in terms of what people see).

After my fix it is following those specs now.


Cannot install dotnet no matter what I try.

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: Linux Ubuntu 19.04 - x64
Provide details about the problem you are experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
BEGIN TERMINAL MESSAGE---------------------------------------
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dotnet-sdk-2.2 : Depends: aspnetcore-runtime-2.2 (>= 2.2.5) but it is not going to be installed
Depends: dotnet-runtime-2.2 (>= 2.2.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Note: I'm running Mint 19.1, and have tried all of the ubuntu packages, as well as Debian just to be sure. All ended up with this same error.

Ubuntu 18.04's package seems like the one that will work for Mint 19.1. 18.04 has libicu60, which matches Mint 19.1's libicu60. Ubuntu 19.04 went on to libicu63.
(I used the linuxmintd/mint19-amd64 Docker image to check what Mint has, not completely sure if that's correct.)
The install error you're getting unfortunately doesn't give enough info to do anything about this, you have to follow the package dependency chain down manually to see what the root cause is. Can you run these for more info?
# This install command will show exactly which dependency can't be met.
sudo apt-get install dotnet-runtime-deps-2.2
# Shows the repositories you have configured. Source: https://askubuntu.com/a/741948
grep -r --include '*.list' '^deb ' /etc/apt/sources.list /etc/apt/sources.list.d/

Hey thanks for your reply! Fortunately I was able to [fix it]https://stackoverflow.com/questions/54065894/cannot-install-net-core-2-2-on-ubuntu-18-04l) with this stack over flow answer and get  it installed! Thanks again!

Seems to be addressed, closing.


You need to provide credit.

If you're going to basically copy my code line for line you should probably credit me in your repo and application. Considering you've been releasing it on software websites without mention of my authorship.  I'd be okay with a link to the original github added in your program.

whats this https://github.com/builtbybel/moin-11#credits ?

hmm https://github.com/builtbybel/moin-11#credits

That's hardly a credit. You're saying you based it off of it. You took the code line for line.  You really should provide credit in your compiled application that you're distributing as well. It's just a good faith practice. In the future I hope you consider the worth of others a bit more when doing things like this. We could have coloraborated together on the project instead of you copy pasting it to a new repo making some minor changes and stamping your name on it.

Also you've added a MIT license and your own copyright to my code without even mentioning me in the license information. I hope you really understand how truly bad that is.

:sleepy: https://github.com/builtbybel/moin-11/blob/main/LICENSE

You don't have to give me full credit but you can link to me at least. Thank you for understanding my point though.

actually i just wanted to push your code, because no one else on this earth would have seen it. i discovered it by chance when i wanted to deal with tpm, but found no way to access it in .net. i'm honest and can tell you that i spent 3 minutes on the code and 11 more on the gui during the work breaks and actually it was finished for me. the basic idea is not bad so i went on again.
I will also mention you in the program. You were the first to come up with the idea, you're right! although today I discovered a tool called whynotwin11, which does the same but it is just an autoit script and I don't like it at all. maybe we can do it better :grin:


FATAL error: component xxx at line xxx has the same tag as component xxx at line xxx

Hi,
I am getting a same tag error while compiling my asn schema. This is similar to #291 that @velichkov very kindly resolved.
I followed the instructions there (Added AUTOMATIC TAGS and passed compilation options -fcompound-names -pdu=all.
The command I used is:
asn1c -fcompound-names -pdu=all ISO_TS_14906_v6.asn ISO_TS_14906_generic_v7.asn ISO_TS_14816.asn
This is the error I get:
FATAL: Processing Action-Response at line 41: component "iid" at line 43 has the same tag as component "ret" at line 45 in ISO_TS_14906_generic_v7.asn FATAL: Consider adding AUTOMATIC TAGS after module EfcDsrcGeneric DEFINITIONS, or manually tag components in ISO_TS_14906_generic_v7.asn
FATAL: Processing Get-Response at line 285: component "iid" at line 287 has the same tag as component "ret" at line 289 in ISO_TS_14906_generic_v7.asn FATAL: Consider adding AUTOMATIC TAGS after module EfcDsrcGeneric DEFINITIONS, or manually tag components in ISO_TS_14906_generic_v7.asn
I am unable to make sense of this.
Any help will be much appreciated.
Attached the asn1 schema (renamed to .txt)
ISO_TS_14816.asn.txt
ISO_TS_14906_generic_v7.asn.txt
ISO_TS_14906_v6.asn.txt

Ok, I got it to work by adding manual tags for both of those components. No idea why the AUTOMATIC TAGS directive doesn't work. Maybe it has something to do with the Request/Response grammar (ROSE)?

@sandman  I am also facing the same issue. Can you please share the ASN.1 after manual tagging ?


NaN in experiment for simulated spectra

Please could you check why in simulated spectra the experiment is NaN ? I guess it is a problem from https://github.com/cheminfo/nmr-parser and you may have to check this with @jobo322. I think there should be at least 1D or 2D if nothing better could be determined.

@lpatiny @jobo322
This value comes from info. experiment so it should be handled from mr-parser.

@lpatiny, I assume that it is a jcamp. do you put any metadata there? I mean something to determine the dimension of the spectrum.

@jobo322 Here is the file: https://raw.githubusercontent.com/cheminfo/nmr-displayer/master/public/data/tests/simulated/d1-1.2_j7.jdx
I guess you should be able to find out that the experiment is 1d (fall back ?)


Cancel the change with modal bootstrap

Hello! I have a question:  It is possible to cancel the change of the select with a confirm modal from bootstrap? I tried this but it doesn't work :/ http://www.bootply.com/iSeFO0yxDI
Thank you for your answer!

You'll want to store the previous value, pop up the alert, and if they click "Cancel" then set the value of the select to its original value. Then, call selectpicker('refresh').


Add support for LinearRing outside Polygon

This converter seems not to import KML <LinearRing> geometries that are nested directly within a <Placemark> (as opposed to being contained within a <Polygon>). I'm attaching an example kmz from NOAA that uses a <LinearRing> as a bounding box. togeojson and Placemark.io import placemark as a feature with null geometry. Importing as a GeoJSON LineString makes sense to me.
Archive.zip

Hey Matt - totally, that makes sense. Didn't realize that LineStrings could be directly nested. I'll look into it.


Combined reducers?

Should introduce a way to make a global application store that can combine multiple reducers.
This helps if you want to dispatch actions that are captured in a middleware for logging purposes and have application wide subscriptions on the store.
As of now, I see this for being a per viewmodel basis, but there is nothing preventing one to use a store for the entire application as well to keep content and state.
Do you see any way to get a Redux like behaviour here?

Thanks for asking :) Redux has global main store but ReactorKit doesn't. Global main store requires the whole application to follow the single architecture (Redux) but ReactorKit can be partially adopted to specific view. The main purpose of a reactor is to separate the business logic from a view, so there's is nothing like Redux-style-store at this time.

Oh, your question was "Don't you think there should be something for preventing from using a Reactor as redux-style?" If I understood your question correctly, I think people can use ReactorKit as they want. My recommendation is to make view has its corresponding reactor but it's just a recommendation :)

Not preventing! But actually helping. Most applications are a combination of local and global state.
This tackles local state to components, but there's some missing for managing a large application wide state.

ReactorKit is not a Redux. Redux manages every state with State but ReactorKit doesn't. ReactorKit lets users to manage global state as they want and just provides a way to combine those local and global state: transform().
This example merges the local Action and global TaskEvent stream and generates Mutation.


Merge prTesting_201905191115 branch to master branch

Docs Build status updates of commit cf477fa:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


"get current song" Warning

Thank you very much for this great Sonos nodes!
Is there a way to hide this warning message from the debug output?
Just a warning: get current song - invalid combination artist title received :: Details: received-> {"id":null,"parentID":null,"title":"aacp?aw_0_1st.playerid=tunein.com","artist":null,"album":null,"albumArtURI":null,"position":0,"duration":0,"albumArtURL":null,"uri":"aac://https://s7-webradio.rockantenne.de/rockantenne/stream/aacp?aw_0_1st.playerid=tunein.com","queuePosition":1}

I have just published 1.1.0 with the suppressWarnings. Please check and let me know whether it works for you.

It works perfect for me. Thank you!

Can you pls make a example. I didn't know how this will work

I can not find that comment. Do you still need an example?
On Mon, Feb 24, 2020 at 7:34 PM Missenberger79<EMAIL_ADDRESS>wrote:

Can you pls make a example. I didn't know how this will work
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/hklages/node-red-contrib-sonos-plus/issues/23?email_source=notifications&email_token=AEDZCHZTNTXGVDCAAVRMVF3REQHLBA5CNFSM4KH3CO2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMZAWOY#issuecomment-590482235,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDZCH5GH2CAS3F3IU3DGSTREQHLBANCNFSM4KH3CO2A
.


AbuseIPDB Logic App has incorrect targetProduct

Describe the bug
In the select statement of the logic app AbuseIPDB-BlacklistIpToThreatIntelligence the select statement for targetProduct has the value as Microsoft Sentinel but the api only allows for Azure Sentinel.
To Reproduce
Steps to reproduce the behavior:

Deploy AbuseIPDB solution from content hub
Set permissions for managed identity
Run runbook AbuseIPDB-BlacklistIpToThreatIntelligence
Observe failure after runtime (see print screen: Error Message Screenshot before being fixed)

Expected behavior
Data gets added to the ThreatIntelleginceIndicator datatype in log analytics but returns an error
Screenshots
Broken Select Statement

Fixed Screen Shot

Error Message Screenshot before being fixed

Hi @dustypaulson Can you please check the following points once and confirm for us:

Got to AbuseIPDB solution from content hub then go to playbook AbuseIPDB-BlacklistIpToThreatIntelligence
Select the API connections tab

Select abuseipdb-AbuseIPDB-BlacklistIpToThreatIntelligence connection and go to Edit API Connection and ensure the API key parameter has your required key and save the changes

Again back on API connections tab select the ThreatIntelligence-connection-AbuseIPDB-BlacklistIpToThreatIntelligence connection and in the Edit API tab ensure that you have Authorized the usage of the API save the changes and run again.

If you still face the same issues please let us know, we would discuss further with the team, thanks!

Hi @dustypaulson Can you please check the following points once and confirm for us:

Got to AbuseIPDB solution from content hub then go to playbook AbuseIPDB-BlacklistIpToThreatIntelligence
Select the API connections tab

Select abuseipdb-AbuseIPDB-BlacklistIpToThreatIntelligence connection and go to Edit API Connection and ensure the API key parameter has your required key and save the changes

Again back on API connections tab select the ThreatIntelligence-connection-AbuseIPDB-BlacklistIpToThreatIntelligence connection and in the Edit API tab ensure that you have Authorized the usage of the API save the changes and run again.

If you still face the same issues please let us know, we will discuss further with the team, thanks!

Hello! There was no issue with AbuseIP Blacklist action gathering the data from their API. The issue was with the action submit multiple ti indications. The targetProduct for the TI indications which is a static string in the select statement needs the product name of Azure Sentinel not Microsoft Sentinel. I have already resolved the issue in my environment. Just wanted to let you know the app itself in the content hub has incorrect information.
If you look at the print screens above that is the actual fix for the app.
Have a great day!

Thanks for flagging this, @dustypaulson, we appreciate your feedback and will discuss and apply it, as per your comment, I am closing this issue as resolved, if you still face this issue, feel free to open again this, thanks.

Thanks for flagging this, @dustypaulson, we appreciate your feedback and will discuss and apply it, as per your comment, I am closing this issue as resolved, if you still face this issue, feel free to open again this, thanks.

Hello @v-vdixit ! I missed one piece to the solution for this. In Microsoft Sentinel the data connector Threat Intelligence Platforms (Preview) needs to be connected otherwise the logic app will run correctly but no data is added to the Threat Intelligence feed. Just wanted to let you know!

Sure, thanks for this update, we will convey this to the team.


[DD-932] Auto generate release notes

Great! Please share with us an example of it when it is working.


SEO friendly?

Hey there,
does anyone have any experience with this library and its SEO-friendliness? If so, would be glad if you could share your experiences!
Thanks.

@sajadghawami had answered this question in FAQs section


Can't use const constructors with mixins

Consider this code:
class Superclass {
  const Superclass(this.foo);
  final int foo;
}

abstract class Mixin {
  factory Mixin.fixed(int baz) = _FixedMixin;
}

class _FixedMixin extends Object with Mixin {
  _FixedMixin(this.baz);
  final int baz;
}

class Subclass extends Superclass with Mixin {
  Subclass(int foo, this.bar) : super(foo);
  final int bar;
}

I want the Mixin.fixed and Subclass constructors to be const, but today that isn't possible. It's not clear why.

Does this belong in flutter/flutter or dart-lang/sdk?

oops. moved.


problem build in jetson nano jetpack4.6

❓ Question
Hello
I tried to compile the torch-tensorrt on the jetson nano I got this error
suggestions please
Thanks
bazel build //:libtorchtrt --platforms //toolchains:jetpack_4.6 --verbose_failures
jetson@jetson-desktop:~/TensorRT$ bazel build //:libtorchtrt --platforms //toolchains:jetpack_4.6 --verbose_failures
INFO: Analyzed target //:libtorchtrt (10 packages loaded, 2870 targets configured).
INFO: Found 1 target...
ERROR: /home/jetson/TensorRT/core/lowering/BUILD:10:11: Compiling core/lowering/register_trt_placeholder_ops.cpp failed: (Exit 1): gcc failed: error executing command
(cd /home/jetson/.cache/bazel/bazel_jetson/8770c998fbff2b8d5ee14d56a02ce872/sandbox/linux-sandbox/66/execroot/Torch-TensorRT &&
exec env -
PATH=/home/jetson/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/proc/self/cwd
/usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD -MF bazel-out/aarch64-fastbuild/bin/core/lowering/objs/lowering/register_trt_placeholder_ops.pic.d '-frandom-seed=bazel-out/aarch64-fastbuild/bin/core/lowering/objs/lowering/register_trt_placeholder_ops.pic.o' -fPIC -iquote . -iquote bazel-out/aarch64-fastbuild/bin -iquote external/tensorrt -iquote bazel-out/aarch64-fastbuild/bin/external/tensorrt -iquote external/cuda -iquote bazel-out/aarch64-fastbuild/bin/external/cuda -iquote external/cudnn -iquote bazel-out/aarch64-fastbuild/bin/external/cudnn -iquote external/libtorch -iquote bazel-out/aarch64-fastbuild/bin/external/libtorch -Ibazel-out/aarch64-fastbuild/bin/external/libtorch/virtual_includes/ATen -Ibazel-out/aarch64-fastbuild/bin/external/libtorch/virtual_includes/c10_cuda -Ibazel-out/aarch64-fastbuild/bin/external/libtorch/virtual_includes/c10 -isystem external/tensorrt/include/aarch64-linux-gnu -isystem bazel-out/aarch64-fastbuild/bin/external/tensorrt/include/aarch64-linux-gnu -isystem external/cuda/include -isystem bazel-out/aarch64-fastbuild/bin/external/cuda/include -isystem external/cudnn/include -isystem bazel-out/aarch64-fastbuild/bin/external/cudnn/include -isystem external/libtorch/include -isystem bazel-out/aarch64-fastbuild/bin/external/libtorch/include -isystem external/libtorch/include/torch/csrc/api/include -isystem bazel-out/aarch64-fastbuild/bin/external/libtorch/include/torch/csrc/api/include '-fdiagnostics-color=always' '-std=c++14' -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE="redacted"' '-D__TIMESTAMP="redacted"' '-D__TIME="redacted"' -c core/lowering/register_trt_placeholder_ops.cpp -o bazel-out/aarch64-fastbuild/bin/core/lowering/_objs/lowering/register_trt_placeholder_ops.pic.o)
Configuration: 308cf0c0559d698e898984ad86ba68902429f53ed3b621b21d0881d53f6d42af
Execution platform: @local_config_platform//:host
Use --sandbox_debug to see verbose messages from the sandbox
core/lowering/register_trt_placeholder_ops.cpp:16:34: error: invalid user-defined conversion from 'torch::jit::<lambda(torch::jit::Stack&)>' to 'torch::jit::OperationCreator {aka std::function<void(std::vectorc10::IValue)> ()(const torch::jit::Node*)}' [-fpermissive]
aliasAnalysisFromSchema()),
^
core/lowering/register_trt_placeholder_ops.cpp:15:24: note: candidate is: torch::jit::<lambda(torch::jit::Stack&)>::operator void ()(torch::jit::Stack&)() const
[](Stack& stack) { /noop/ },
^
core/lowering/register_trt_placeholder_ops.cpp:15:24: note:   no known conversion from 'void ()(torch::jit::Stack&) {aka void ()(std::vectorc10::IValue&)}' to 'torch::jit::OperationCreator {aka std::function<void(std::vectorc10::IValue)> ()(const torch::jit::Node)}'
In file included from external/libtorch/include/torch/csrc/jit/runtime/custom_operator.h:5:0,
from core/lowering/register_trt_placeholder_ops.cpp:1:
external/libtorch/include/torch/csrc/jit/runtime/operator.h:98:3: note:   initializing argument 2 of 'torch::jit::Operator::Operator(std::__cxx11::string, torch::jit::OperationCreator, c10::AliasAnalysisKind)'
Operator(
^~~~~~~~
Target //:libtorchtrt failed to build
INFO: Elapsed time: 115.163s, Critical Path: 73.60s
INFO: 16 processes: 5 internal, 11 linux-sandbox.
FAILED: Build did NOT complete successfully
Environment

Build information about Torch-TensorRT can be found by turning on debug messages

PyTorch v1.8.0
Jetson nano
How you installed PyTorch ( pip):

Additional context

The issue is PyTorch 1.8.0 is too old for latest Torch-TensorRT, if you can using PyTorch 1.11.0 is the easiest or using trtorch v0.3.0 would work if you need 1.8.x

Reopen if you need more help


raise_to_shaped: preserve weak_type by default

As we look at deprecating the X64 flag, the notion of weakly-typed abstract values becomes more important (see #3903). This will require weak_type to be preserved within aval transformations wherever possible; this PR makes that change for the raise_to_shaped utility.

Marking as pull ready so I can test internally... this swaps-out the foundation of a lot of operations, and I still have to kick the tires on it a bit.


Director envoy

Introduced Director/Envoy long-living entities. Fixes #120
Added semi-automatic PKI exchange via step-ca. Fixes #38

Merge this with creation of #128 to fix minor comments to this PR and add documentation.


Add Private Browsing shortcut for Edge as a browser

There are instructions for Internet Explorer, but not for Edge, which are the same as Chrome: CTRL + SHIFT + N

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 13b1b7b8-5414-2242-6b27-32ce18651ba9
Version Independent ID: 47052c23-01a6-7ec2-f634-d95137c3dc63
Content: Use your free Azure Active Directory subscription in Office 365 - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/use-your-free-azure-ad-subscription-in-office-365.md
Service: o365-seccomp
GitHub Login: @markjjo
Microsoft Alias: markjjo

@manknewl Thanks for pointing this out. I just tested, and keystrokes are the same as IE: CTRL + SHIFT + P. I will update document accordingly.
CTRL + SHIFT + N in edge opens a new (non-In Private) window.

I use the beta version of edge, and CTRL + SHIFT + N (maybe it’s something else on my configuration but CTRL + SHIFT + P opened my printer.

On Mar 11, 2020, at 6:02 PM, Mark Johnson - MSFT<EMAIL_ADDRESS>wrote:

@manknewl Thanks for pointing this out. I just tested, and keystrokes are the same as IE: CTRL + SHIFT + P. I will update document accordingly.
CTRL + SHIFT + N in edge opens a new (non-In Private) window.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@manknewl Thanks for following up/clarifying. I do see the CTRL + SHIFT + N to open inprivate session in beta version of edge.


[Run] Support making aliases for applications

Description of the new feature / enhancement
Allow users to add custom aliases for apps or add support for macros that will be replaced by custom-defined words in the actual searching progress.
Scenario when this would be used?
I'm a Chinese. There are many CJK characters in apps' names. Even the mail app requires typing in Chinese which is quite inefficient. Currently I manually change the .lnk file in the starting menu folder but I'm afraid it may cause issues in other scenarios. So an alias or macro would be very helpful.
Supporting information
I'm, like, addicted to Powertoys. So thank you very much as you developed these.
Also, excuse me for my poor English.

Thank you for the suggestion @BurnoutAg7, we're glad you're enjoying PowerToys! We'll log this under our suggested ideas milestone and evaluate its feasibility following our general stability efforts.

What?

This would be tracked via #3600


Legacy docs

Linked issue(s):
What change does this PR introduce and why?
Please check if the PR fulfills these requirements

[ ] Include reference to internal ticket and/or GitHub issue "Fixes #NNNN" (if applicable)
[ ] Relevant tests for the changes have been added
[ ] Relevant docs have been added / updated

Updated hotfix/0.100.x to be cut from the 0.100.0 tag, rather than an arbitrary point in time from trunk. Unfortunately, the changes don't cherry pick cleanly as a result -- will require some more elbow grease next week :(


C3D_SetScissor parameter names

At the time of  posting this issue, on C3D_SetScissor, the method signature parameters are: left,top,right,bottom
I suggest that they should probably be named left,bottom,right,top instead.
Or maybe x0,y0,x1,y1
Considering the Framebuffer Rotated 90 Degrees Clockwise, calling:
C3D_SetScissor(GPU_SCISSORMODE::GPU_SCISSOR_NORMAL, 20, 40, 80, 160);

Will result in the following clip region being used to render (Black Area):

left:20, top:40, right:80, bottom:160 thus makes no sense, as top is below bottom.

I think your diagram is incorrect: the PICA "has" (by convention) the origin on the top-left, with x and y increasing to the right and to the bottom, respectively, this is opposite to the OpenGL convention. With that in view, the names make sense.
However, I really recommend x0,y0,x1,y1 or x_min,y_min,x_max,y_max instead of any format involving the names of each side, because that completely removes any confusion about coordinate frames.

Not really sure about where origin is for scissor testing, but from what i tested when to create that image, 0,0 is in bottom right of 3ds Screen (bottom left if you tilt the 3ds 90 CW)
but using x,y instead of top left or w/e makes it less confusing as to what is where

You're probably V-flipping while doing a display transfer. The origin of the LCD framebuffer is the top-left (with the 3DS 90° CW).

No v-flip as far as i'm aware, my display transfer flags are:
#define DISPLAY_TRANSFER_FLAGS \
	(GX_TRANSFER_FLIP_VERT(0) | GX_TRANSFER_OUT_TILED(0) | GX_TRANSFER_RAW_COPY(0) | \
	GX_TRANSFER_IN_FORMAT(GX_TRANSFER_FMT_RGBA8) | GX_TRANSFER_OUT_FORMAT(GX_TRANSFER_FMT_RGB8) | \
	GX_TRANSFER_SCALING(GX_TRANSFER_SCALE_NO))

and i'm using
C3D_RenderTargetSetOutput(_topLeftRt, GFX_TOP, GFX_LEFT, DISPLAY_TRANSFER_FLAGS);

with it


Docs/update docs landing page

Changes

Removed unnecessary logs in LoanController
Added comments to new test cases
Expanded API documentation
Improved error handling in LoanController
Added new test cases for CRUD operations
Updated API docs in public/docs/index.html

Verified.


feat: emulated MiMC

Needed for #847.
Should be relatively straight-forward. Should support all known parameters from gnark-crypto, but it is sufficient if we start with the parameters required for proof aggregation (BLS12-377 scalar field).

We used short-hash instead. We should understand what is most efficient approach:

emulated mimc
shorthash
shorthash working on bytes (but range checking for correctness)


Span overlapping

In some cases a colspan might overlap a rowspan

as shown in this html example:

    A
    B
    C

    a1
    r
o
w
s
p
a
n
    c2

    c  o  l  s  p  a  n

    a3
    c3

A
B
C

a1
rowspan
c2

c  o  l  s  p  a  n

a3
c3

Implemented (also included in pester tests)


Show warnings in UI if query have returned some warnings

show warnings in UI if query have returned some warnings
improve warning (error) text if query to remote was finished with error

As follow up of MR https://github.com/prometheus/prometheus/pull/5963

@brian-brazil Could you please take a look to this MR?

Thanks!


add roundcorners

I'm not sure that "curve" and "type" are the best designed interface.
use<BOSL2/std.scad>
use<BOSL2/beziers.scad>

// Function: roundcorners()
//
// Description:
//   Takes a 2d or 3d point list as input (a path or the points of a polygon) and rounds each corner by a specified amount.
//   The rounding at each point can be different and some points can have zero rounding.  The roundcorners() function supports
//   two types of rounding, circular rounding and continuous curvature rounding using 4th order bezier curves.
//   Circular rounding can produce a tactile "bump" where the curvature changes from flat to circular.
//   See https://hackernoon.com/apples-icons-have-that-shape-for-a-very-good-reason-720d4e7c8a14
//
//   You select the type of rounding using the `curve` option, which should be either "smooth" to get continuous curvature
//   rounding or "circle" to get circular rounding.  Each rounding method has two options for how you specify the amount of rounding, which
//   you select using the `type` argument.  Both rounding methods accept `type="cut"`.  This mode specifies the amount of rounding
//   as the distance from the corner to the curve.  This can be easier to understand than setting a circular radius, which can
//   be unexpectedly extreme when the corner is very sharp.  It also allows a systematic specification of curves that is the same
//   for both "circle" and "smooth".
//
//   The second `type` setting for circular rounding is "radius", which sets a circular rounding radius.  The second `type`
//   setting for smooth rounding is "joint" which specifies the distance away from the corner where the roundover should start.
//   The "smooth" type rounding also has a parameter that specifies how smooth the curvature match is.  This parameter ranges
//   from 0 to 1, with a default of 0.5.  Larger values give a more abrupt transition and smaller ones a more gradual transition.
//   If you set the value much higher than 0.8 the curvature changes abruptly enough that though it is theoretically continuous, it may not
//   be continous in practice.  If you set it very small then the transition is so gradual that the length of the roundover may be extremely long.
//
//   If you select curves that are too large to fit the function will fail with an error.  It displays a set of scale factors that you can apply to
//   the (first) smoothing parameter that will reduce the size of the curves so that they will fit on your path.  If the scale factors are larger than
//   one then they indicate how much you can increase the curve sizes before collisions will occur.
//
//   To specify rounding parameters you can use the `all` option to round every point in a path.
//   Examples:
//   * `curve="circle", type="radius", all=2`: Rounds every point with circular, radius 2 roundover
//   * `curve="smooth", type="cut", all=2`: Rounds every point with continuous curvature rounding with a cut of 2, and a default 0.5 smoothing parameter
//   * `curve="smooth", type="cut", all=[2,.3]`: Rounds every point with continuous curvature rounding with a cut of 2, and a very gentle 0.3 smooth setting
//
//   The path is a list of 2d or 3d points, possibly with an extra coordinate giving smoothing parameters.  It is important to specify
//   if the path is a closed path or not using the `closed` parameter.  The default is a closed path for making polygons.
//   Path examples:
//   * [[0,0],[0,1],[1,1],[0,1]]: 2d point list (a square), `all` was given to set rounding
//   * [[0,0,0], [0,1,1], [1,1,2], [0,1,3]]: 3d point list, `all` was given to set rounding
//   * [[0,0,0.2],[0,1,0.1],[1,1,0],[0,1,0.3]]: 2d point list with smoothing parameters different at every corner, `all` not given
//   * [[0,0,0,.2], [0,1,1,.1], [1,1,2,0], [0,1,3,.3]]: 3d point list with smoothing parameters, `all` not given
//   * [[0,0,[.3,.7], [4,0,[.2,.6]], [4,4,0], [0,4,1]]: 3d point list with smoothing parameters for the "smooth" type roundover, `all` not given.  Note the third entry is sometimes a pair giving both smoothing parameters, sometimes it's zero specifying no smoothing, and sometimes a single number, specifying the amount of smoothing but using the default smoothness parameter.
//
//   The number of segments used for roundovers is determined by $fa, $fs and $fn as usual for circular roundovers.  For continuous curvature roundovers $fs and $fn are used and $fa is ignored.  When doing continuous curvature rounding be sure to use lots of segments or the effect will be hidden by the discretization.
//
// Arguments:
//   path = list of points defining the path to be rounded.  Can be 2d or 3d, and may have an extra coordinate giving rounding parameters.  If you specify rounding parameters you must do so on every point.
//   curve = rounding method to use.  Set to "circle" for circular rounding and "smooth" for continuous curvature 4th order bezier rounding
//   type = rounding parameter type.  Set to "cut" to specify the cut back with either "smooth" or "circle" rounding methods.  Set to "radius" with `curve="circle"` to set circular radius rounding.  Set to "joint" with `curve="smooth"` for joint type rounding.  (See above for details on these rounding options.)
//   all = curvature parameter(s).  Set this to the curvature parameter or parameters to apply to all points on the list.  If you set this then all values given in the path are treated as geometrical coordinates.  If you don't set this then the last value of each entry in `path` is treated as a smoothing parameter.
//   closed = if true treat the path as a closed polygon, otherwise treat it as open.  Default: true.
//
// Example: Standard circular roundover with radius the same at every point. Compare results at the different corners.
//   shape = [[0,0], [10,0], [15,12], [6,6], [6, 12], [-3,7]];
//   polygon(roundcorners(shape, curve="circle", type="radius", all=1));
//   %down(.1)polygon(shape);
// Example: Circular roundover using the "cut" specification, the same at every corner.
//   shape = [[0,0], [10,0], [15,12], [6,6], [6, 12], [-3,7]];
//   polygon(roundcorners(shape, curve="circle", type="cut", all=1));
//   %down(.1)polygon(shape);
// Example: Circular roundover using the "cut" specification, the same at every corner.
//   shape = [[0,0], [10,0], [15,12], [6,6], [6, 12], [-3,7]];
//   polygon(roundcorners(shape, curve="circle", type="cut", all=1));
//   %down(.1)polygon(shape);
// Example: Continous curvature roundover using "cut", still the same at every corner.  The default smoothness parameter of 0.5 was too gradual for these roundovers to fit, but 0.7 works.
//   shape = [[0,0], [10,0], [15,12], [6,6], [6, 12], [-3,7]];
//   polygon(roundcorners(shape, curve="smooth", type="cut", all=[1,.7]));
//   %down(.1)polygon(shape);
// Example: Continuous curvature roundover using "joint", for the last time the same at every corner.  Notice how small the roundovers are.
//   shape = [[0,0], [10,0], [15,12], [6,6], [6, 12], [-3,7]];
//   polygon(roundcorners(shape, curve="smooth", type="joint", all=[1,.7]));
//   %down(.1)polygon(shape);
// Example: Circular rounding, different at every corner, some corners left unrounded
//   shape = [[0,0,1.8], [10,0,0], [15,12,2], [6,6,.3], [6, 12,1.2], [-3,7,0]];
//   polygon(roundcorners(shape, curve="circle", type="radius"));
//   %down(.1)polygon(array_subindex(shape,[0:1]));
// Example: Continuous curvature rounding, different at every corner, with varying smoothness parameters as well, and $fs set very small
//   shape = [[0,0,[1.5,.6]], [10,0,0], [15,12,2], [6,6,[.3,.7]], [6, 12,[1.2,.3]], [-3,7,0]];
//   polygon(roundcorners(shape, curve="smooth", type="cut", $fs=0.1));
//   %down(.1)polygon(array_subindex(shape,[0:1]));
// Example: 3d printing test pieces to display different curvature shapes.  You can see the discontinuity in the curvature on the "C" piece in the rendered image.
//   $fn=200;
//   ten = [[0,0,5],[50,0,5],[50,50,5],[0,50,5]];
//   linear_extrude(height=14){
//   translate([25,25,0])text("C",size=30, valign="center", halign="center");
//     translate([85,25,0])text("5",size=30, valign="center", halign="center");
//     translate([85,85,0])text("3",size=30, valign="center", halign="center");
//     translate([25,85,0])text("7",size=30, valign="center", halign="center");
//   }
//   linear_extrude(height=13)
//   {
//     polygon(roundcorners(ten, curve="circle", type="cut"));
//     translate([60,0,0])polygon(roundcorners(ten,  curve="smooth", type="cut"));
//     translate([60,60,0])polygon(roundcorners([[0,0],[50,0],[50,50],[0,50]],all=[5,.32],$fs=5,$fa=0,
//                                             curve="smooth", type="cut"));
//     translate([0,60,0])polygon(roundcorners([[0,0],[50,0],[50,50],[0,50]],all=[5,.7],
//                                             curve="smooth", type="cut"));
//   }

function roundcorners(path, curve, type, all=undef,  closed=true) =
  let(
    default_curvature = 0.5,   // default curvature for "smooth" curves
    typeok = type == "cut" || (curve=="circle" && type=="radius") ||
                              (curve=="smooth" && type=="joint"),
    pathdim = array_dim(path,1),
    have_all = all==undef ? 1 : 0,
    pathsize_ok = is_num(pathdim) && pathdim >= 2+have_all && pathdim <= 3+have_all
  )
  assert(curve=="smooth" || curve=="circle", "Unknown 'curve' setting in roundcorners")
  assert(typeok, curve=="circle" ? "In roundcorners curve==\"circle\" requires 'type' of 'radius' or 'cut'":
                                   "In roundcorners curve==\"smooth\" requires 'type' of 'joint' or 'cut'")
  assert(pathdim!=undef, "Input 'path' has entries with inconsistent length")
  assert(pathsize_ok, str("Input 'path' must have entries with length ",2+have_all," or ",
                          3+have_all, all==undef ? " when 'all' is not specified" : "when 'all' is specified"))
  let(
    pathfixed= all == undef ? path : array_zip([path, replist([all],len(path))]),
    dim = len(pathfixed[0])-1,
    points = array_subindex(pathfixed, [0:dim-1]),
    parm = array_subindex(pathfixed, dim),
    // dk will be a list of parameters, for the "smooth" type the distance and curvature parameter pair,
    // and for the circle type, distance and radius.
    dk = [for(i=[0:len(points)-1]) let(
      angle = pathangle(select(points,i-1,i+1))/2,
      parm0 = is_list(parm[i]) ? parm[i][0] : parm[i],
      k = curve=="circle" && type=="radius" ? parm0 :
          curve=="circle" && type=="cut" ? parm0 / (1/sin(angle) - 1) :
            is_list(parm[i]) && len(parm[i])==2 ? parm[i][1] : default_curvature
      ) !closed && (i==0 || i==len(points)-1) ? [0,0] :
        curve=="circle" ? [k/tan(angle), k] :
        curve=="smooth" && type=="joint" ? [parm0,k] :
	      [8*parm0/cos(angle)/(1+4*k),k]
    ],
    lengths = [for(i=[0:len(points)]) norm(select(points,i)-select(points,i-1))],
    scalefactors = [for(i=[0:len(points)-1])
      min(lengths[i]/sum(array_subindex(select(dk,i-1,i),0)),
          lengths[i+1]/sum(array_subindex(select(dk,i,i+1),0)))]
  )
  echo("Roundover scale factors:",scalefactors)
  assert(min(scalefactors)>=1,"Curves are too big for the path")
  [ for(i=[0:len(points)-1])
        each  dk[i][0] == 0 ? [points[i]] :
	      curve=="smooth" ? bezcorner(select(points,i-1,i+1), dk[i]) :
                                circlecorner(select(points,i-1,i+1), dk[i])
  ];

function bezcorner(points, parm) =
  let(
     d = parm[0],
     k = parm[1],
     prev = normalize(points[0]-points[1]),
     next = normalize(points[2]-points[1]),
     P = [points[1]+d*prev,
          points[1]+k*d*prev,
          points[1],
          points[1]+k*d*next,
          points[1]+d*next],
     N = $fn>0 ? max(3,$fn) :
          ceil(bezier_segment_length(P)/$fs)
    )
    bezier_curve(P,N);

function circlecorner(points, parm) =
  let(
    angle = pathangle(points)/2,
    d = parm[0],
    r = parm[1],
    prev = normalize(points[0]-points[1]),
    next = normalize(points[2]-points[1]),
    center = r/sin(angle) * normalize(prev+next)+points[1]
    )
  circular_arc(center, points[1]+prev*d, points[1]+next*d, 300);

// Compute points for the shortest circular arc that is centered at
// the specified center, starts at p1, and ends on the vector
// p2-center.  The radius is the length of (p1-center).  If (p2-center)
// has the same length then the arc will end at p2.

function circular_arc(center, p1, p2, N) = let(
   angle = pathangle([p1,center,p2]),
   v1 = p1-center,
   v2 = p2-center,
   N = ceil(angle/360) * segs(norm(v1))
   )
   len(center)==2 ?
     let(dir = sign(v1.x*v2.y-v1.y*v2.x),   // z component of cross product
         r=norm(v1))
	 assert(dir != 0, "Colinear inputs don't define a unique arc")
	 [for(i=[0:N-1])
	    let(theta=atan2(v1.y,v1.x)+i*dir*angle/(N-1))
	      r*[cos(theta),sin(theta)]+center] :
     let(axis = cross(v1,v2))
         assert( axis != [0,0,0], "Colinear inputs don't define a unique arc")
         [for(i=[0:N-1])
	    matrix3_rot_by_axis(axis, i*angle/(N-1)) * v1 + center];

function bezier_curve(P,N) =
   [for(i=[0:N-1]) bez_point(P, i/(N-1))];

function pathangle(pts) = vector_angle(pts[0]-pts[1], pts[2]-pts[1]);

Another thing I'm not sure about is how to deal with the output of the scale factors.  They are printed unconditionally, which could be awkward if the list is long.  But they are a pretty handy aid when trying to figure out how to make your roundovers fit.

There should probably be an example of a non-closed path and also an example in 3d.  Not sure how to actually display either one of those, though.

Working on integrating this now.

Display of 2D paths can be done with stroke() or trace_polyline().  For 3D paths, just trace_polyline().

I kinda dislike underscores...but for consistency with the general library practice I suppose you'll change the name to round_corners(), and that's probably the right thing to do.
Another comment that could affect integration.  I wrote circular_arc for this function which draws an arc in 2d or 3d based on a center point and two end points.   It might be nice to generalize this to have a 'longest path" option (to draw the other arc).  But also there's the question of how you draw semicircles.  Maybe this function just can't do that.
I had to write another function, circular_arc_3pts, which can draw semicircles.  I don't know if this should be a separate function, or if the interface should be merged somehow.  At the moment, this function only supports 2d, though, and it wasn't obvious how to generalize it.  I actually wonder if the right answer is to find the plane containing the 3 points, transform to the 2d case, make a recursive call, and then untransform.   (The circular_arc_3pts is located in the path offset and rounded extrude stuff.)

Truthfully, I hadn't even thought of changing roundcorners() name.
You can easily use xyz_to_planar() and planar_to_xyz() for going from 3D planar to 2D and back.

I would honestly like to see geometry functions to find the center of a circle from 3 points, and then have an arc() 2D Function&Module to do the arc path (and/or drawing via stroke()?)

Well, even though I'm not a fan of underscores, I think you should change the name to round_corners because you always use underscores, so running it together will confuse the users.
Circle from 3 points works (mathematically) in 3d, so why should it be limited to 2?   The code is actually pretty simple in 2d:
center = line_intersection(normal_segment(p1,p2),normal_segment(p2,p3))
Of course, you'll notice I've cleverly hidden all the complexity elsewhere.  :)
It does appear that xyz_to_planar will do the job of mapping to 2d for arc construction.  It seems like it is kind of inefficient to have to do all the geometry calculation over again each time for my 1000 point long arc, though.
I agree that the arc function you have now can be produced by a stroke() call of some sort.   Also the slot module I think.  And note that every time I've needed a lot in my designs I've needed one end to open out (fillet), which your function doesn't do but my stroke does.  I'm in the final debugging phases of my fancy stroke function that does various end treatments.   It's not clear how this will integrate with the stroke module you wrote.  It seems like we want both somehow, because they have different limitations.   (I have struggled in the past to do stuff to the ends of strokes that I had created via difference of polygons.)
Also I've been using "closed" to refer to a path being closed and you used "close", I guess as a verb to say "close the path".  I like my usage better, of course.  In the case of round_covers the path isn't being changed by the algorithm, so "close=true" doesn't make sense there.  So that's the case for using "closed" instead of "close"---some functions act on paths and just need to know.

I've committed roundcorners.scad, and the docs are here.
There's obviously something still broken, based on the results of Examples 3 and 4.
This is a preliminary checkin, as I still plan to extract circular_arc()

Do we want bezcorner() and circlecorner() exposed?  If not, we should prefix their names with a _.

I took a look at the docs and actually the only thing that's broken is that $fs and $fn were badly set.  Arguably the test for this needs to be more aggressive.  It seems that the default is $fs=2 and $fn=0 which gave N=1 and so I think it didn't compute any points.   Maybe change the last computation in bezcorner to read
     N = max(3,
               $fn>0 ? $fn :
               $fs>0 ? ceil(bezier_segment_length(P)/$fs) :
                       3),

But also, the examples ought to be run with a decently large $fn or small $fs so that things look nice. Like $fs=0.1 or $fn=50.

I pondered the question of whether to expose bezcorner and circlecorner and I'm leaning to keeping them hidden.  It seems like users should use functions that call these, not call them directly.   It's also not obvious that round_corners needs its own file.  But I guess we can shuffle things around later.

Like I think round_corners() cooperates with rounded_extrude(), which perhaps needs to be renamed to rounded_sweep(), if we're going to use the nomenclaturel of "sweep" for modules that take a path and "extrude" for modules that take geometry.

Here's a non-polygon (not closed) example for rounded corners:
zigzagx = [-10, 0, 10, 20, 29, 38, 46, 52, 59, 66, 72, 78, 83, 88, 92, 96, 99, 102, 112];
zigzagy = concat([0], flatten(replist([-10,10],8)), [-10,0]);
zig = zip(zigzagx,zigzagy);
echo(zigzagy);
$fs=.1;$fa=1;

polygon(stroke(zig,thickness=1));   // Original shape

fwd(20)            // Smooth all corners with a cut of 4 and curvature parameter 0.6
  polygon(stroke(roundcorners(zig,all=[4,0.6],closed=false, curve="smooth", type="cut"),thickness=1));

fwd(40)            // Smooth all corners with circular arcs and a cut of 4
  polygon(stroke(roundcorners(zig,all=[4,0.6],closed=false, curve="circle", type="cut"),thickness=1));

                   // Smooth all corners with a circular arc and radius 1.5 (close to maximum possible)
fwd(60)            // Note how the different points are cut back by different amounts
  polygon(stroke(roundcorners(zig,all=1.5,closed=false, curve="circle", type="radius"),thickness=1));

You'll need to fix the stroke calls, I think.
And here are some examples for 3d.  I think the module you recommended, trace_polyline() was terrible.  It doesn't do any sort of blending at the corners, so it's not at all good for demonstrating curves.
$fn=36;
// Construct a square spiral path in 3d
square = [[0,0],[1,0],[1,1],[0,1]];
spiral = flatten(replist(concat(square,reverse(square)),5));
z= list_range(40)*.2+[for(i=[0:9]) each [i,i,i,i]];
   // Make rounding parameters, which get larger up the spiral
   // and set the smoothing parameter to 1.  (Could use circular arc instead?)
rvect = zip([for(i=[0:9]) each [i,i,i,i]]/20,replist(1,40));
rounding = [for(i=rvect) [i]];  // Needed because zip removes a list level
path3d = zip([spiral,z,rounding]);
rpath = roundcorners(path3d, curve="smooth", type="joint",closed=false);
extrude_2dpath_along_3dpath( path2d_regular_ngon(n=36, r=.1), rpath);

$fn=36;
list1= [[2.88736, 4.03497, 6.37209], [5.68221, 9.37103, 0.783548], [7.80846, 4.39414, 1.84377],
        [0.941085, 5.30548, 4.46753], [1.86054, 9.81574, 6.49753], [6.93818, 7.21163, 5.79453]];
list2= [[1.07907, 4.74091, 6.90039], [8.77585, 4.42248, 6.65185], [5.94714, 9.17137, 6.15642],
        [0.66266, 6.9563, 5.88423], [6.56454, 8.86334, 9.95311], [5.42015, 4.91874, 3.86696]];

extrude_2dpath_along_3dpath(path2d_regular_ngon(n=36,r=.1),roundcorners(list1,closed=false, curve="smooth", type="cut", all=.65));
right(6)     // Could change this to use "circle" once it is fixed for 3d
  extrude_2dpath_along_3dpath(path2d_regular_ngon(n=36,r=.1),roundcorners(list2,closed=false, curve="smooth", type="cut", all=.75));

Something changed in the matrix libraries that broke circular_arc, but the new arc works (once the projection functions are there) so once it is inserted into round_corner that should work.

I think if you add those examples to round_corners then we can close this issue.


calibration crawlers failing due to connection error

Describe the bug
The job-s1_calibration_crawler:develop jobs are failing with the following error:
HTTPConnectionPool(host='aux.sentinel1.eo.esa.int', port=80): Max retries exceeded with url: /AUX_CAL/2021/12/01/ (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known'))

To Reproduce
Query for job_type:"job-s1_calibration_crawler:develop" in Figaro

Looks like host is hardcoded into pge: https://github.com/aria-jpl/s1_qc_ingest/blob/b15dc6db515647c36c11d1172d048c1c4929f6e7/crawl_cals.py#L42-L43

What is the new site? Without that, there is nothing to be done.

It looks like the old, commented out links are actually up again -- may just be a matter of switching them back.
https://github.com/aria-jpl/s1_qc_ingest/blob/b15dc6db515647c36c11d1172d048c1c4929f6e7/crawl_cals.py#L40-L41

Updated QC_SERVER = 'https://qc.sentinel1.groupcls.com/' and built new PGE. Confirmed it is working again.


When "Configure who should be able to login and use Rancher" is restrictive with Keycloak SAML provider - additional listed users cannot log in

Summary:

If you set up the Keycloak SAML provider and restrict users via either of the two below options - any additional users you list can never log in.

Allow members of clusters and projects, plus authorized users & groups
Restrict access to only the authorized users & groups

I reproduced this on v2.6.1 and v2.6-head c0edb9b (10/22/21).
I CANNOT REPRODUCE THIS ON OTHER AUTH PROVIDERS SUCH AS:
Active Directory (LDAP)
Github (OAuth)

Environment:
Rancher version: v2.6.1 or latest v2.6-head c0edb9b (10/22/21).
Rancher cluster type: single-node docker install
Docker version: 20.10
Downstream cluster type: n/a
Downstream K8s version: n/a
Steps to Reproduce:

Set up Keycloak (SAML) auth provider

After enabling it, set "Allow members of clusters and projects, plus authorized users & groups" option and add one or more additional users to the "Authorized Users & Groups" list. The PUT request is successfully sent and the allowedPricipalIds list appears correct. (See additional info below though)

Log out. Close the browser session so your login isn't cached. Log in as one of the additional users you added.

The login will always fail. You will pass the keycloak auth page, but when redirected to Rancher you will see the login screen has a 403 error. You will also observe [ERROR] SAML: User does not have access <nil> in the Rancher Server logs.

Try again, but this time as the admin keycloak user, set the "Restrict access to only the authorized users & groups" option with the same user list. Save. This too will not work, when you attempt to login as any of those additionally listed users they never can fully log in to rancher. They again pass the Keycloak login fine, but when redirected to Rancher they see a 403 error in the UI.

Expected Result:
I expected any additional users listed in the "Authorized Users & Groups" list to indeed be able to login to Rancher when using the Keycloak SAML provider.
Actual Result:
None of the additional users listed in the "Authorized Users & Groups" list are able to login to Rancher when using the Keycloak SAML provider.  I could not reproduce with Active Directory (LDAP) provider or Github (OAuth) provider. I did not try other providers.
Additional Info:
I notice that when I add additional users they do not have the<EMAIL_ADDRESS>appended to the end of their usernames. I suspect this doesn't matter but I thought I should mention it. Here is the relevant snippet of my PUT request when I saved my "Authorized Users & Groups" setting for either the "Allow members of clusters and projects, plus authorized users & groups" option or "Restrict access to only the authorized users & groups" option.
"allowedPrincipalIds"<EMAIL_ADDRESS>"keycloak_user://qauser2", "keycloak_user://qauser3"]

Note these additional users "qauser2" and "qauser3" can log in just fine when we set the "Allow any valid user" option. This is the only way they can log in. I did not try adding users as cluster owners/members or project owners/members -- I should not have to if they are added to the "Authorized Users & Groups" list.

Bumping this


Update forum references with a logo

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

1.2.0
GitHub release

Your semantic-release bot :package::rocket:


Format frame documentation nicely

I spent much longer on this than I should have. At least now the CSS is used - initially it was referencing hard-coded http:// URLs for the CSS & JS, and so browsers were rejecting the mixed content and nothing was formatted. What I really wanted was to have a sidebar that showed all the frames, all the mixins, etc., either in indented lists or as two side-by-side sidebars (choose a module then a class). But the context for the sidebar handlebars partial doesn't include the modules (just their names), and the context given to individual class partials doesn't include the other classes with enough info to tell which are in the same module. Getting further would have required forking the yuidoc code itself and digging into how the docs are generated, which seemed silly for formatting.