FIxed README and Variable descriptions

Updated README file to make location a required variable
Updated variable descriptions based on AVM format

@herms14 lease can you pull in the changes from main? This branch is using the old actions and they are all failing.

You should rebase your branch with Azure/main

closing PR. Will submit a new one


Ranger integration 7.9.0

Issue #, if available:
https://github.com/opendistro-for-elasticsearch/security/issues/713
Description of changes:

Made PrivilegesEvaluator configurable through a config opendistro_security.privileges_evaluator
Added apache-hadoop-kerberos-util jar and used it in HTTPSpnegoAuthenticator to fetch username from the principal (Rules can be configured in a file for each principal, if not then username@fqdn is used by default so it makes no change to the default behaviour)
Renamed PrivilegesEvaluator -> OpenDistroPrivilegesEvaluator
PrivilegesEvaluator is now an interface under which new evaluators can be written
AbstractPrivilegesEvaluator is a abstraction of PrivilegesEvaluator under which common features of a privilege evaluator are present
Default behaviour is taken care of as if the evaluator is not provided, OpenDistroPrivilegesEvaluator is used by default
In OpenDistroSecurityPlugin.java we made evaluator configurable which is initialized at runtime using PrivilegesEvaluatorFactory
In PrivilegesEvaluatorResponse fields are made public so can be accessed from a different package
ConfigConstants are updated with ranger configs which can be configured if RangerPrivilegesEvaluator is used

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you for the contribution. We will review it and provide feedback. Meanwhile, please check why CI build fails and fix it.

working on it

@divyansh-jain-guavus Would you please update the plan fof this PR? The CI currently fails. Is it still being actively worked on?

@divyansh-jain-guavus Would you please update the plan fof this PR? The CI currently fails. Is it still being actively worked on?

@cliu123 we are still working on it. It's taking a bit time to get authorization to push the artifact.

@divyansh-jain-guavus please convert it to a draft PR till you get the authorization to push the change. Please also note the change in PR template regarding DCO.

No activity on the PR.


[v2.9] Update ACI-CNI to <IP_ADDRESS>

There is ACI-CNI version <IP_ADDRESS> which is an upgrade to <IP_ADDRESS> we currently have included in KDM for RKE1 provisioned clusters.

Waiting on versions to be added per https://github.com/rancher/rancher/issues/48082 before ACI update PRs are raised.

With https://github.com/rancher/kontainer-driver-metadata/pull/1558 merged this is now unblocked.

Closing based on positive testing feedback


Fix LogCollect empty scramArch issue

Fixes #9049
Status
Tested.
Task name:
wmagent_TC_SLC7_khurtado_slc7test_vb2_190710_192451_2218
Description
JobCreator is adding  an empty list for scramArch/swVersion on LogCollect jobs, hence not setting the REQUIRED_OS classad at submission level on LogCollect (which depend con scramArch) jobs either.
Solution:
Add methods in the LogCollect step type template to retrieve scram/swVersion and use make sure JobCreatorPoller use those methods for LogCollect step types.
Is it backward compatible (if not, which system it affects?)
YES

@amaltaro This PR worked for me with the SLC7 example from #9262

Kenyi, one more thing, given that the release notes use the commit message. Can you please reword your first commit message to something more meaningful? Thanks

@amaltaro Changes made and tested.

Thanks, Kenyi. Code looks good and I ran further tests over the weekend and they are all fine as well.
I'm merging it, backporting it to our latest wmagent branch (1.2.4_wmagent) and patching all the production agents (running 1.2.4.patchX).


COMMAND_EXECUTION_ERROR: Error while executing command: ./prowler $PROWLER_OPTIONS. Reason: exit status 3

Any idea how to solve this issue?

Hello @claviston ,
Could this issue be duplicated with https://github.com/toniblyx/prowler/issues/885 ?
Cheers!

Exactly, this is not an issue with Prowler but the way that CodeBuild (or Jenkins, etc) work in terms of error or exit status. Prease, review the links provided by Ramon and also check out the branch 2.5.1 and see -h for the recently added options -z and -Z. Those options should make the trick for you.


CallableDiscriminator isn't in the docs -- note in release notes (it's Discriminator)

Initial Checks

[X] I have searched Google & GitHub for similar requests and couldn't find anything
[X] I have read and followed the docs and still think this feature is missing

Description
It's a trap!
The release notes for 2.5.0 say CallableDiscriminator, but the class was renamed to Discriminator before release - so searching the docs for "CallableDiscriminator" doesn't find it.
Maybe worth a note in the line of the release notes to indicate it is now called Discriminator to direct users to this cool new feature.
Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .model_dump() and .model_dump_json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - model_construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

Hi @psychedelicious,
Thanks for bringing this up. I'll have a fix up for this tomorrow!

I've fixed the HISTORY.md file here: d7384e58239bfd41dfb4ba5a46d2bc72dc382421.
I also fixed the release notes to include this 👍. Going to go ahead and close this, but marking this as an issue that's part of our 2.5.1 milestone 👍.


Command separator disappears whenever input has value

Describe the bug
I noticed that the separator for the Command disappears in my application and was able to reproduce the same problem on https://next.shadcn-svelte.com, see :
https://github.com/user-attachments/assets/0a5b208d-87e1-4b05-89e4-0033a2986f1a
Reproduction
Video provided above
Logs
No response
System Info
-

Severity
annoyance

This is the same behavior as the original: https://ui.shadcn.com/docs/components/command

https://next.bits-ui.com/docs/components/command#commandseparator

Ah my bad! Seems like I can control it with the forceMount prop. Strange that it doesn't always show, seems visually inconsistent to me.

It's because if you look at the code, the Separator doesn't belong to a group or an item; it simply separates them, so there is no way for the separator to know if it should be rendering or not, e.g., when no Settings are visible, it wouldn't make sense to render the separator.
Most popular cmdk apps have similar behavior (Raycast, Vercel, etc.).


Add support for TLSv1.3

Motivation:
TLSv1.3 support is included in java11 and is also supported by OpenSSL 1.1.1, so we should support when possible.
Modifications:

Add support for TLSv1.3 using either the JDK implementation or the native implementation provided by netty-tcnative when compiled against openssl 1.1.1
Adjust unit tests for semantics provided by TLSv1.3
Correctly handle custom Provider implementations that not support TLSv1.3

Result:
Be able to use TLSv1.3 with netty.

This depends on https://github.com/netty/netty-tcnative/pull/389.

Once this is merged I have a followup PR that will allow to use TLSv1.3 also on Java8,9 and 10 :) But I want to have this one merged first to keep the scope small

Also another question is if we should add TLSv1.3 by default to the protocols used or if the user should enable it explicit... thoughts ?

IIRC TLS 1.3 was subject (sometimes) to replay attacks, which considered ok for idempotent requests like GETs.  I have no idea about the details, but I remember that and being surprised.  Probably worth checking before turning it on by default.

@carl-mastrangelo @ejona86 @Scottmitch @trustin   any more comments ? I would love to pull this in...

@carl-mastrangelo @trustin anything else ?

@netty-bot test this please

@netty-bot test this please

Once this is merged I have a followup PR that will allow to use TLSv1.3 also on Java8,9 and 10 :) But I want to have this one merged first to keep the scope small

Is it fair to say netty does not yet support TLS 1.3 if the jdk used is Java 8?

@thekalinga nope... as long as you use netty-tcnative-boringssl-static it will also support TLSv1.3 with Java8

@normanmaurer Thanks for the clarification

@normanmaurer Request for one small clarification. If so, can you please elaborate on what you mentioned in the comment (please note that I am complete noob to netty), as I'm a bit puzzled

@thekalinga sorry I dont get what you are asking for... Can you clarify ?

I just came across the other pull request of yours where you added support for Java < 11 support
This clarifies my confusion
Please ignore my previous comment. Looks like my question caused more confusion


EXEC{} doesn't wait until build(external Windows subsystem based EXE) is completed

I need to run below command to build SSAS project
& "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" "c:\test\test.dwproj" /build development
When I run this using EXEC{} it doesn't wait till build is completed. Because of that next script that looks for the one of the output files failed. So I had to add "Out-Null"
& "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" "c:\test\test.dwproj" /build development|Out-Null
I suggestion for this is

Add option to make EXEC wait until command is completed
Run as job and add logic to wait

Let me know if you can consider one of my suggestions or whether there's any other good alternatives.
Thank you in advance.

works fine either way with proper syntax...exec waits on return:
Task testexec{
"1"
Exec{c:\windows\system32\Ping.exe "<IP_ADDRESS>"}
"2"
Exec{& "c:\windows\system32\Ping.exe" "<IP_ADDRESS>"}
"3"
}
output:
Executing testexec
1
Pinging <IP_ADDRESS> with 32 bytes of data:
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Ping statistics for <IP_ADDRESS>:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
2
Pinging <IP_ADDRESS> with 32 bytes of data:
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Ping statistics for <IP_ADDRESS>:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
3
Build Succeeded!

Can you test using devenv.exe(visual studio executable)?

Not sure about devenv, but msbuild.exe does.  Does devenv start an additional process and immediately exit?

This issue happened when I used devenv. I don't know how devenv is executing command.

Windows apps will immediatey return when launched from the console.  Possible that devenv.exe falls into that category.  (msiexec.exe is another example.)
If that's what's happening here, use Start-Process -Wait to work around it:
Start-Process -FilePath "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" `
              -Wait `
              -ArgumentList "c:\test\test.dwproj", '/build', 'development'

Ah, that makes sense.  I've only used console apps in my build jobs.

Would you consider making EXEC{} to support this?

Kind of tricky.  We'd have to parse the script block passed to exec, replace calls to external commands with calls to Start-Process, hope it doesn't break anything.  Probably better to make the user responsible for their own scripts, instead of trying to rewrite their code behind the scenes.

OK. I found some good links that explains why you need to use start-process for devenv.
https://social.technet.microsoft.com/Forums/windowsserver/en-US/d1653b41-8d13-4e43-894c-b2eb7fd802f0/retrieving-msiexec-exit-code-in-powershell?forum=winserverpowershell
https://social.technet.microsoft.com/Forums/sharepoint/en-US/5b318b42-27c9-49d1-8c19-c5d7f0b9dbb2/getting-exit-code-from-startprocess?forum=winserverpowershell


feat: upgrade native sdk <IP_ADDRESS>

Update native sdk <IP_ADDRESS> dependencies

This pull request is trigger by bot, you can checkout this branch and update it.

Examples built:

https://nightly.link/littleGnAl/hoe/actions/runs/8534141964/agora_rtc_engine_android_6.1.1-sp.41128_20240403062528.zip
https://nightly.link/littleGnAl/hoe/actions/runs/8534141964/agora_rtc_engine_ios_6.1.1-sp.41128_20240403062624.zip
https://nightly.link/littleGnAl/hoe/actions/runs/8534141964/agora_rtc_engine_macos_6.1.1-sp.41128_20240403062422.zip
https://nightly.link/littleGnAl/hoe/actions/runs/8534141964/agora_rtc_engine_windows_6.1.1-sp.41128_20240403062202.zip

This comment is commented by bot, do not edit it directly


Merge via chevron no-ops

It just changes the merge type to “merge” 😂 maybe we can update the naming?
Sent with GitHawk

Ah! Yeah, good idea.
Sent with GitHawk

Because there’s no visual feedback at all if it was already that.
Sent with GitHawk

Maybe add a title to the sheet? “Merge strategy is now: x”.
Message: “change to...”
And then remove the currently selected one so you can only choose the others?
Sent with GitHawk

Ya title sheet sounds great!
Sent with GitHawk

Why did you close this one?
Sent with GitHawk

Oh ya we’re just changing the title
Sent with GitHawk


iKBC new Poker 2: Not able to swap FN and CAPS

With latest Karabiner 11.3.0, iKBC  new Poker 2 not able to swap FN and CAPS

You can't remap non-Apple FN key
https://github.com/tekezo/Karabiner-Elements/issues/999


What is libcudla?

I can see a new library libcudla in Jetpack 5.x, what exactly is it? I cannot find any documentation on it. Is it just a new name for libcuda?
Thanks!

@ervgan it's a low-level driver for the Deep Learning Accelerator (DLA) engines that only Jetson Xavier + Orin have.   JetPack 5 only supports Xavier and Orin.  https://github.com/dusty-nv/jetson-inference/issues/1657#issuecomment-1568451248

Thanks!


Style EasyAutocomplete

How do I change the list background and font of the list ?

There is style file for this library you can use your browser to find out the classes and ids of elements created by the library and change them in Css file.


extract_executable_version with --version instead of -V

We are using MJML v4.4.1 with NodeJS v10.16.0 in a Rails project. For some reason the #extract_executable_version doesn't work for us with -V but it works with --version.
https://github.com/kolybasov/mjml-ruby/blob/ae086c652ece50f0cf1d12038b8f0b029650d884/lib/mjml.rb#L46
Maybe it's an issue when using newer versions of MJML or NodeJS?
Sorry for this bad and short error report, but hopefully it's still acceptable.

@mmichaa thanks for the report. I just published v0.3.4. Please let me know if it fixed the problem.

@kolybasov, thank you very much! I'm will try to test it today.

@kolybasov, that fixed the problem for us. Thank you very much!


quiche: fix SpdyStringUtilsTest ASAN failure and disable quic_mem_slice_storage_test

Signed-off-by: Dan Zhang<EMAIL_ADDRESS>Exclude the test from the test suit because it breaks coverage test. Will add it back once fixed.
Fix an asan failure in HexDecodeToUInt32():
ource/extensions/quic_listeners/quiche/platform/string_utils.cc:92:16: runtime error: load of misaligned address 0x7ffed8abe381 for type 'const uint32_t' (aka 'const unsigned int'), which requires 4 byte alignment

/assign @mattklein123

Oops can you fix format?
/wait

Oops! Sent out #10279 to fix coverage.


[Question] TF 1.12 timeline

Hey there,
I've encountered a weird bug in using entrypoints built around the surprisingly unsupported Keras -> model_to_estimator -> train_and_evaluate process where the global_step count doesn't increment during training, causing Sagemaker to take the untrained model as the final one.
This issue is resolved in TF 1.12 afaict (I was able to replicate it locally in TF 1.11 but not TF 1.12), however the latest version of the Sagemaker tensorflow containers is still 1.11. Is there an ETA on TF 1.12 containers?
Thanks!

This is a priority for us too. Stay tuned!


No matter where element is dropped it's still added to destination list.

When initiating dragg from destination group to "put" group even if i drop the element outside the destination target container, the dragged element is added.

Yes, this is so by design.
To return the item, you need to to translate it back to the initial list.

When I do so in 'onAdd' method the value of 'evt.to' is still target container. Is there a way to disable this behavior.

To return the item, you need to to translate it back to the initial list.

what does "translate back to inital list" mean exactly?
When I drag an item from the source container to the target container and then back to the source container (without dropping it on the target) it is still added to the target container.

I am experiencing the same issue with the same properties (pull: clone, put: false).
"When I drag an item from the source container to the target container and then back to the source container (without dropping it on the target) it is still added to the target container."
The problem is also that 'event.to' in this case is target container, although it wasn't dropped there. And 'event.newIndex' is also wrong.
So there is practically no way to detect if the item was dropped correctly or returned to the source container.

Ok so i've ran into the same issue and did a bit of testing .
The exemple described above is not a bug for me, so i agree with the project owner.
My problem is a little more tricky :

I pick an item from list 1 where settings are:

group: { name: 'blocks', pull: 'clone', put: false }
sort : false

I drag it over the other list which settings are:

group: { name: 'blocks', pull: true, put: true }
sort : true

The ghost item appears well in the 2nd list
drag it out of the 2nd list, ghost item is still there
drag it back over the 1st list, ghost item disappear
drop it back in the 1st list : item is created in the 2nd list !!! (that is my bug)

NB : if I activate the sort on the first list, the bug is gone, but my item possibly change place in that list and I don't want that behavior... I will dig a bit in the code to propose a fix.


Adding a basic ip_allow test.

This adds a test to verify that ip_allow will block a method if it is configured to do so (CONNECT in this case).

[approve ci autest]

[approve ci autest]

Can you add tests for H2 as well?
Not only this one but I've been worried about tests that only check behavior on H1. Since this test is done with simple curl commands, it should not be difficult to test H2 as well.

HTTP/2 test added.

Cherry-picked to v9.0.x branch.


Simple PHP snippets not highlighted as PHP

Describe the issue
We have many simple PHP snippets on our site and prefer to use them without <?php tags. As I understand it, the "php" grammar should recognize simple pure PHP snippets like below examples  as PHP, but for some it does not.
Which language seems to have the issue?
PHP
Are you using highlight or highlightAuto?
I use it like this:
// first, find all the div.code blocks
document.querySelectorAll('div.code').forEach(el => {
  // then highlight each
  hljs.highlightElement(el);
});

As described here:
https://github.com/highlightjs/highlight.js#using-custom-html
Sample Code to Reproduce
add_action( 'pre_get_posts', function( $query ) {
  if ( $query->is_category() && $query->is_main_query()  ) {
    $query->set( 'posts_per_page', 20 );
  }
});

add_action( 'pre_get_posts', function( $query ) {
  if ( $query->is_home() && $query->is_main_query() ) {
    $query->set( 'post_type', [
      'post',
      'product'
    ] );
    $query->set( 'orderby', 'title' );
    $query->set( 'order', 'ASC' );
  }

add_action( 'pre_get_posts', function( $query ) {
  if ( $query->is_category() && $query->is_main_query()  ) {
    $query->set( 'orderby', [
      'date'  => 'DESC', // Primary sort: by post date
      'title' => 'ASC'   // Secondary, fallback sort: by post title
    ] );
  }
} );

Expected behavior
The above examples render like bash, looking like this:
https://d.pr/i/POHPLB
I'd expect or would like to render them as PHP, not bash or something else.
Additional context
When I add <?php it is highlighted as expected. But from another issue I understand that the PHP grammar should render/recognize these simple non-mixed PHP code examples as PHP. But it does not.
Why we need it without <?php is because beginning dev users paste these snippets in WP functions.php and don't understand you'd have to remove the <?php part.

Auto-detect is more of a toy than a tool, and it's possible we'll even relegate it to a plugin in the future - removing it from core.  Please tag your code snippet explicitly rather than trying to let us "recognize" it...

...

Thanks for pointing me in the direction of explicitly setting that class, that fixes at least part of our issues.

Glad to help!


Display problems on channel page when loaded from HTTPS deep-link

The Issue
Steps to reproduce

Open LBRY Android app
Wait for it to fully load wallet balance
Click on any open.lbry.com/lbry.tv link on a web browser on the device

Expected behaviour
When link is for a channel claim, wonderbar should show correct lbry:// instead of the https:// one. If no content had been consumed when clicking the link the bottom section should not appear.
Actual behaviour
See screenshot. If some content was been consumed when clicking on the link, the bottom bar keeps showing the content, as expected.
System Configuration

Device: Pixel on emulator
Android version: 11
App version: 0.16.2

Screenshots

Internal Use
Acceptance Criteria

Definition of Done

[ ]  Tested against acceptance criteria
[ ] Tested against the assumptions of the user story
[ ] The project builds without errors
[ ] Unit tests are written and passing
[ ] Tests on devices/browsers listed in the issue have passed
[ ] QA performed & issues resolved
[ ] Refactoring completed
[ ] Any configuration or build changes documented
[ ] Documentation updated
[ ] Peer Code Review performed

Fixed.


Linter no longer works over file diffs

GitLens Version: 9.2.0

VSCode Version: 1.30.0
OS Version: Linux x64 4.19.8-arch1-1-ARCH

More or less a week ago linter, spell checker and sonnar (in my case) stop works when i am reviewed commit differences.
Is it a normal behaivor?
Thanks in advance!

Sadly this expected since GitLens changed from using temp files on disk to using a virtual FileSystemProvider. This change was for many reasons (fixes many bugs, opens up many new features), but this one of the consequences of it.
Although for some of those tools, they can "learn" to target not just files (i.e. documents using the file scheme) and could target GitLens' virtual files which use the gitlens scheme

Ouch! Thank you for the answer


Incorrect calculation (start_time).business_time_until(end_time)

Config:
BusinessTime::Config.beginning_of_workday = "08:00 am"
BusinessTime::Config.end_of_workday = "10:00 pm"
Input:
start_time = DateTime.parse("2017-03-12T07:51:00.000Z").to_time.in_time_zone(@time_zone)

=> 2017-03-12 14:51:00 +0700

end_time =  DateTime.parse("2017-03-12T08:51:00.000Z").to_time.in_time_zone(@time_zone)

=> 2017-03-12 15:51:00 +0700

Output:
start_time.business_time_until(end_time)

=> 0.0

Please help me fix this

But when i tried with demo in gem's document.

ticket_reported = Time.parse("February 3, 2012, 10:40 am")
=> 2012-02-03 10:40:00 +0700
[15] pry(main)> ticket_resolved = Time.parse("February 4, 2012, 10:50 am")
=> 2012-02-04 10:50:00 +0700
[16] pry(main)> ticket_reported.business_time_until(ticket_resolved)
=> 40800.0

Pls tell me what happen :)


Binary Killed When Opening Database (Mach-O 64-bit executable arm64)

I am experiencing an issue when trying to open a database using go-libsql. The minimal example provided in the documentation results in the binary being killed during execution.
Building the binary with: CGO_ENABLED=1 go build -v
❯ ./test-binary
[1]    5305 killed     ./test-binary

❯ file test-binary
snippets: Mach-O 64-bit executable arm64

When running the project with go run . there is no issue. I've removed all of the project's dependencies and actually just tried the minimal example below (as exactly taken from the docs):
// go.mod
module github.com/iamhectorsosa/test-binary

go 1.22.5

require github.com/tursodatabase/go-libsql v0.0.0-20241011135853-3effbb6dea5c

// main.go
package main

import (
  "database/sql"
  "fmt"
  "os"

  _ "github.com/tursodatabase/go-libsql"
)

func main() {
  dbName := "file:./local.db"
  db, err := sql.Open("libsql", dbName)
  if err != nil {
    fmt.Fprintf(os.Stderr, "failed to open db %s", err)
    os.Exit(1)
  }
  defer db.Close()
}

There must be either an issue with my env since I also tried running it in a Docker container and it worked there as well. Here's a print of my go env.
❯ go env
GO111MODULE=''
GOARCH='arm64'
GOBIN=''
GOCACHE='/Users/hectorsosa/Library/Caches/go-build'
GOENV='/Users/hectorsosa/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/hectorsosa/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='darwin'
GOPATH='/Users/hectorsosa/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/opt/homebrew/Cellar/go/1.22.5/libexec'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/opt/homebrew/Cellar/go/1.22.5/libexec/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.22.5'
GCCGO='gccgo'
AR='ar'
CC='cc'
CXX='c++'
CGO_ENABLED='1'
GOMOD='/Users/hectorsosa/documents/go-projects/snippets/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/k2/44m5w6m54p5bw93yvqn4flwh0000gn/T/go-build198541139=/tmp/go-build -gno-record-gcc-switches -fno-common'

The original issue was related to a SQL driver requiring CGO_ENABLED=1 to build, which worked fine in a Linux Docker container but failed on macOS (Darwin). The environment appeared to have changed, leading to the need for additional configuration.

# OR to clean unused dependencies
go mod tidy

# Step 3: Rebuild the Go application
CGO_ENABLED=1 go build -v


snapshots seem not to work

this test (simplified for this issue):
test('iterator create snapshot correctly', function (t) {
    db.put('foobatch1', 'bar1', function(err){
      t.error(err)
      var iterator = db.iterator()
      db.del('foobatch1', function () {
        iterator.next(function (err, key, value) {
          t.notOk(err, 'no error')
          t.ok(key, 'got a key')
          t.equal(key.toString(), 'foobatch1', 'correct key')
          t.equal(value.toString(), 'bar1', 'correct value')
          iterator.end(t.end.bind(t))
        })
      })
    })
  })

is failing:
# iterator create snapshot correctly
default_stream.js:27 ok 419 no error
default_stream.js:27 not ok 420 got a key
default_stream.js:27   ---
default_stream.js:27     operator: ok
default_stream.js:27     expected: true
default_stream.js:27     actual:   undefined
default_stream.js:27     at: Test.assert (http://localhost:9966/test.js:12977:17)
default_stream.js:27   ...
iterator-test.js:467 Uncaught TypeError: Cannot read property 'toString' of undefined

@maxogden do you know what's going on here?

@juliangruber Just noticed this myself while trying to bring level.js up to par on abstract-levelown. It seems that it doesn't have support for snapshots and that needs to be implemented.

Can we implement snapshots after we bring the rest up to par? It seems like this is it's own good chunk of work.

The thing with IndexedDB is that you can't have both snapshots and proper backpressure. Details in the thread starting here: https://github.com/maxogden/level.js/issues/46#issuecomment-183709506

I checked memdown and it seems it grabs the tree from the db, which I think is why it works well for memdown

Memdown is a different story. It works because it's backed by functional-red-black-tree which is a persistent data structure. I.e. iteration happens on an immutable tree, unaffected by simultaneous writes.


Improving About us page

Is your feature request related to a problem? Please describe.
The about us page's card is too simple I want to add some shadow and hover effect, and also want to add some effects on social media icons

I want to work on this issue under GSSoC;21 , please assign issue to me.

Hi @kumarishalini6, First of all, thank you so much for taking out the time to create this issue.
However, currently, we don't feel that there is a real need for changes to the about us page.
Thank you, sorry for the inconvenience caused 🙌

It's ok ,please close the issue

it's ok


Bring in 4.x changes for CASSANDRA-18969 (4.5.0_fixes)

👍 , appears to be consistent with prior work


Add deterministic tagging for stack allocations

In each (C) function, stack arrays are allocated contiguously. We want to deterministically guarantee that no two consecutive stack allocations share the same MTE tag. Therefore, we generate an initial MTE tag randomly, and, consequently, increment that value (and apply modulo of course) and use that as the tag. We store the whole tagged index, which includes the MTE tag in its upper bits, instead of just the MTE tag.

Can you quickly glance over https://github.com/TUM-DSE/wasmtime-mte/pull/13/commits/303b31f60affd7b139759ea5cebb9b68f7cef539 and tell me if this is the "generating random tags at compile-time" approach you meant?
Don't check for complete correctness though, I still need to test if this implementation works.

Just some comments from our Slack chat that I wanted to capture/summarize here:
I have implemented the compile-time tagging of both stack and heap addresses. This is the output of some debugging I did:
root@debian-qemu-mte:/home/fritz# ./wasmtime-determ compile --cranelift-enable=use_mte --wasm-features=memory64,mem-safety deterministic-test.wasm
Calling state.tag_index(v23)
initial random tag: RandomMteTag { tag: 15, index: 14 }
Calling state.tag_index(v12)
initial random tag: RandomMteTag { tag: 11, index: 10 }
Calling state.tag_index(v27)
next random tag: RandomMteTag { tag: 12, index: 11 }
Calling state.tag_index(v43)
next random tag: RandomMteTag { tag: 13, index: 12 }
Calling state.tag_index(v59)
next random tag: RandomMteTag { tag: 14, index: 13 }

root@debian-qemu-mte:/home/fritz# ./wasmtime-determ run --cranelift-enable=use_mte --wasm-features=memory64,mem-safety --allow-precompiled deterministic-test.cwasm 10
enabling mte for memory (enable_mte): ptr = 0xffff2ffd0000, len = 0x20000
input integer (just printed so code below doesn't get optimized away) = 10
stack_alloc_1; tag: 11; address 0xb00000000011980; expected random tag X (first stack array in function)
stack_alloc_2; tag: 12; address 0xc00000000011930; expected incremented tag X+1
Tagging memory 0xf00000000011a20, size 16
heap_alloc_1; tag: 15; address 0xf00000000011a20; expected random tag Y (first heap array in function)
Tagging memory 0xf00000000011ad0, size 32
heap_alloc_2; tag: 15; address 0xf00000000011ad0; expected random tag Y+1
stack_alloc_3; tag: 13; address 0xd000000000118e0; expected incremented tag X+2
Tagging memory 0xf00000000011b00, size 64
heap_alloc_3; tag: 15; address 0xf00000000011b00; expected random tag Y+2
stack_alloc_4; tag: 14; address 0xe000000000118a0; expected incremented tag X+3
Untagging memory 0xf00000000011a20, size 16
Untagging memory 0xf00000000011ad0, size 32
Untagging memory 0xf00000000011b00, size 64

Running the second command again and again will always produce different random tags, since these are randomly generated inside cranelift, so randomly generated when (JIT-)compiling input WASM code. This is expected. Of course, if the attacker was able to somehow read the generated .cwasm and able to overwrite points (to set pointer tags themselves, with this knowledge of the random tags), which contains the tags in plain text, that would be a problem. This is, however, much more performant than the previous irg method, since we no longer need an if branch to ensure we don't randomly generate one of the special tags (only 0b0000 currently on this git branch, but more special free tags could be added in the future, which would just make the same problem even worse).
The bigger problem: as one can see, all heap addresses are always tagged with the same tag. The reason is that there is technically only one WASM function that gets reused for every heap allocation: malloc. So, our wasmtime code generator will tag the malloc address once, and that tag then gets reused. There were a few approaches we discussed on how to fix this: Adding separate WASM instructions for stack and heap tagging (which complicates our WASM instruction "API"), simply swallowing the performance overhead (which is only theoretical for now, we have not measured anything) of the multiple if checks, or maybe even not employing deterministic tagging at all.

We have decided to use ARM64's ADDG instruction for the deterministic tagging, and running the same demo C file as in my previous message, we now get:
root@debian-qemu-mte:/home/fritz# ./wasmtime-determ-new run --cranelift-enable=use_mte --wasm-features=memory64,mem-safety --allow-precompiled deterministic-test.cwasm 10
enabling mte for memory (enable_mte): ptr = 0xffff0ffd0000, len = 0x20000
input integer (just printed so code below doesn't get optimized away) = 10
stack_alloc_1; tag: 10; address 0xa00000000011980; expected random tag X (first stack array in function)
stack_alloc_2; tag: 11; address 0xb00000000011930; expected incremented tag X+1
Tagging memory 0x800000000011a20, size 16
heap_alloc_1; tag: 8; address 0x800000000011a20; expected random tag Y (first heap array in function)
Tagging memory 0xb00000000011ad0, size 32
heap_alloc_2; tag: 11; address 0xb00000000011ad0; expected random tag Y+1
stack_alloc_3; tag: 12; address 0xc000000000118e0; expected incremented tag X+2
Tagging memory 0xc00000000011b00, size 64
heap_alloc_3; tag: 12; address 0xc00000000011b00; expected random tag Y+2
stack_alloc_4; tag: 13; address 0xd000000000118a0; expected incremented tag X+3
Untagging memory 0x800000000011a20, size 16
Untagging memory 0xb00000000011ad0, size 32
Untagging memory 0xc00000000011b00, size 64

which is looking very promising! As we can see:

Each heap address is tagged differently (randomly, independently), because a simple irg is used.
The initial stack address is tagged with irg, and consequent stack allocations (in the same C function) use incremented values.
Performance should also not be an issue (in theory), since there are no branches. All we instrument is irg for initial tagging, and band_imm, band_imm, bor and addg for consequent tagging. No branches at all, since addg already excludes our special free tags (if those excluded special tags are configured, which we do with prctl).

I have now tested this wasmtime binary and everything seems to work as expected!
Next steps would be squashing everything into one commit, and including the changes from upstream (our current main branch). @martin-fink Do you want to test the performance on this before merging into main branch? I could also make some sort of feature flag, so the developer can choose if deterministic tagging gets enabled or not. That would, at least, make (performance) testing a lot nicer. Do you want me to do that (if so, what kind of cli flag/option would make sense here)?


rates, histograms can prune empty values

Fixes #187
Rates and Histograms have a new PruneEmpty option that when true, if a rate/histogram value for a set of tags received no hits during an interval, the value will be totally removed instead of being reported as zero.

+1.  Looks gooe


UI: handle cases where the ENS avatar image link is broken

How uniswap handles a broken link

How hop handles a broken link

How uniswap handles a broken link

How hop handles a broken link

Hello has your issue been resolved?


Fixes two glitches in polygon2d wip mode introduced with #10614

Glitch 1: during wip (creating new polys) the new realtime update should not happen. Glitch 2: during wip the previous outline should not be shown.

Note that this comment is valid again: https://github.com/godotengine/godot/pull/10618#issuecomment-324746755
You have too many identities ;)


Getting error while changing admin locale from env file.

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
master
Issue Description
While trying to change the admin local from the env file. so it is showing a blank screen and has errors in the console.
Preconditions

Admin should be logged in.
Admin should have two or more locales.

Steps to reproduce

Go to the project root directory
Edit .env file
Change locale en to nl and save it
Go to the Admin panel
See the error

Expected Result
it should change the admin locale according to the set locale from the env file.
Actual Result
it is showing a blank screen and has errors in the console. Here
Screenshots
No response
Additional context
No response

@suraj-webkul, On the review page, it is still showing the same issue. Here

@Amitk-webkul This is Fixed in this PR

Now, this issue is fixed. so I am closing this issue.
And I have attached a screenshot Here, for future reference.


Is it possible to use with Django Defender?

Has anyone tried using django-defender or some login throttle library?
Seems like one would need to modify decorators.py's token_auth to use custom logic like the example here: https://github.com/kencochrane/django-defender#adapting-to-other-authentication-method

Figured it out: https://github.com/flavors/django-graphql-jwt/pull/65

Hi @kennandavison and sorry for the delay in my response.
In my opinion django-defender and redis can not be a requirement for this package, it should be optional and configurable.
I'm sorry, but I have to refuse the pull request https://github.com/flavors/django-graphql-jwt/pull/65.

I close the issue, if you have any questions please let me know.


Add tests for esm/cjs builds

Package
next-drupal (NPM package)
Describe the feature request
We currently test the src/ code by importing it into Jest and running the tests.
Debates of whether software tests should be run against source or built software are common. For example:
https://softwareengineering.stackexchange.com/questions/296757/in-ci-should-tests-be-run-against-src-or-dist
Right now we have an experimental release that is broken and the Jest tests aren't catching it.
Describe the solution you'd like
Test both the source and the builds.
Additional context
There's a blog post describing how to toggle between source and builds using Jest. https://blog.pshrmn.com/jest-test-builds/

I just swapped the src files with the build files in our Jest tests and the Jest tests still aren't catching the broken build. :\


TypeError: react is not a function when importing via commonjs

When using commonjs imports
const react = require('@vitejs/plugin-react-swc');

We get TypeError: react is not a function. It works with esm imports, but I thought this was worth bringing up.
Example reproduction:
https://stackblitz.com/edit/vitejs-vite-tcrxby?file=vite.config.js

There is not SWC bindings available for Stackblitz yet, so with ESM if fails just after. That's strange though, there is probably an issue with default export. Thanks for reporting!

So yeah basically this a classic interop issue, which is why we should move away from default export (or cjs, but one is simpler than the other).
I can patch esbuild output for the cjs output, but before doing that I want to know if it will be possible to support this directly in esbuild: https://github.com/evanw/esbuild/issues/2733
In the meantime you can change your export to require('@vitejs/plugin-react-swc').default


Missing validation on firewall rule label

When adding a firewall rule that has spaces, there is no error displayed in the UI, but the API has returned a validation error.
The UI just looks like it does nothing - no error is presented to the user.
To reproduce:

Create a new firewall rule
Enter a name with a space (mine was: "MariaDB Downloads")
Click Add Changes, and then Save

Expected behaviour:
Warning message advising that the firewall label contains spaces on clicking Add Changes.
Actual behaviour:
The UI does nothing; the new row remains blue like it is unsaved. In the browser tools, a validation warning has been returned from the request:
PUT  https://cloud.linode.com/api/v4beta/networking/firewalls/xxx/rules

{"errors": [{"reason": "Must include only ASCII letters, numbers, underscores, periods, and dashes", "field": "rules.outbound[4].label"}]}

@andysh-uk The error seems to be displayed in the UI after clicking save. Can you confirm if this is still an issue?

Hi @HanaXu
Yes, I can confirm that message is there.
However I have 2 issues with the implementation of this:

on an iPad (not tried on a desktop browser yet) on clicking Save Changes, the screen jumps slightly as if it is trying to scroll up, but the validation error still isn’t visible. It took me a few seconds to realise it had appeared at the top of the screen, out of view
If I’ve added a few rules, how do I know which one caused the validation error? I feel that message should be displayed when you click to add the rule, in the same way as you get “Must be a valid IPv4 or IPv6 range” when entering an invalid IP address. It should highlight the label field and tell me then it should be alpha


Add notebook for EoT rotation for image classification

Signed-off-by: Beat Buesser<EMAIL_ADDRESS>Description
This pull request adds a notebook showing an example of Expectation over Transformation (EoT) sampling with ART to generate adversarial examples that are robust against rotation in image classification tasks.
Fixes #1004
Type of change
Please check all relevant options.

[x] Improvement (non-breaking)
[ ] Bug fix (non-breaking)
[ ] New feature (non-breaking)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Codecov Report

Merging #1051 (dcccacd) into dev_1.6.1 (4357098) will decrease coverage by 39.68%.
The diff coverage is n/a.

@@              Coverage Diff               @@
##           dev_1.6.1    #1051       +/-   ##
==============================================
- Coverage      64.60%   24.92%   -39.69%
==============================================
  Files            220      220
  Lines          19107    19095       -12
  Branches        3490     3490
==============================================
- Hits           12345     4760     -7585
- Misses          5381    13975     +8594
+ Partials        1381      360     -1021

Impacted Files
Coverage Δ

...rt/defences/detector/poison/clustering_analyzer.py
8.22% <0.00%> (-86.71%)
:arrow_down:

...ces/detector/evasion/subsetscanning/scanningops.py
11.59% <0.00%> (-85.51%)
:arrow_down:

art/attacks/evasion/carlini.py
8.40% <0.00%> (-80.87%)
:arrow_down:

...defences/detector/poison/ground_truth_evaluator.py
17.80% <0.00%> (-79.46%)
:arrow_down:

...ient_descent/projected_gradient_descent_pytorch.py
16.27% <0.00%> (-76.75%)
:arrow_down:

...escent/projected_gradient_descent_tensorflow_v2.py
17.60% <0.00%> (-75.20%)
:arrow_down:

art/metrics/verification_decisions_trees.py
13.75% <0.00%> (-73.02%)
:arrow_down:

art/metrics/privacy/membership_leakage.py
12.72% <0.00%> (-72.73%)
:arrow_down:

art/defences/detector/poison/activation_defence.py
15.71% <0.00%> (-69.90%)
:arrow_down:

...defences/preprocessor/spatial_smoothing_pytorch.py
12.35% <0.00%> (-69.67%)
:arrow_down:

... and 132 more


FWI-2260 - Validate OPA policies in our library during insights-plugins CI

Checklist

[x] I have signed the CLA
[x] I have updated/added any relevant documentation

Description
What's the goal of this PR?
Use the Insights CLI to validate OPA policies modified compared to the main branch.
Example Output
Only policies which have changed are validated. In this example, most policies have been modified to add test Kube manifests to them. Here is an example of a failed validation job in CI and in Slack.
Internal Ticket FWI-2260

@makoscafee Thanks for the thorough review and catching those mistakes!

I also updated the examples-v2/README.md to mention policy testing, and request that new policies have tests added.


Have admin credentials in separate location in BOSH-Lite stubs

Original asker: @ljfranklin
Original location: https://cloudfoundry.slack.com/archives/release-integration/p1451438082001200 (Slack)

hey gang, would you guys be opposed to a PR that adds the following properties to the cf-release bosh-lite stub:
properties:
  admin_username: admin
  admin_password: admin
  skip_ssl_validation: true

We're trying to clean up the stubs for the mysql service, and our errands (e.g. broker-registrar) need creds to talk to CF. It would be nice to pull these creds from a CF manifest rather than asking the operator to copy-paste them into one of our stubs. Unfortunately, we didn't see an easy way to get these creds from the current manifest properties without parsing the scim string (username|password|blah|blah).

Hey @ljfranklin
(I moved the question over here to GitHub, so it doesn't get buried in Slack.)
We definitely need a better way of allowing components to share certain credentials.  Few questions...

Do you only need this for BOSH-Lite or would you need this for the stubs for every IaaS?
Exactly what permissions are required for the stuff you want to do, would it work to just have a separate user for the specific purpose (and with the specific permissions) needed for what you’re trying to do?
Even then, though, it’s hard to parse the credentials out, would be nice if the user list were in a saner format, i’ll try to see what the UAA team thinks about that /cc @mbhave @fhanik @sreetummidi

I'd like to think about the right way to do this, and how this would work in the world of BOSH links /cc @cppforlife @mariash

@ljfranklin I spoke with @sreetummidi and she thinks it's a good idea for users to an array of both the current pipe-separated strings as well as a more structured thing, e.g.
properties:
  uaa:
    scim:
      users:
        - oldstyle|p@ssw0rd|some.scope,some.other.scope
        - name: newuser
          password: pteradactyl
          scopes:
            - scope.one
            - scope.two

The name key will be clutch, as it will allow you to reference it in spiff.  I'm not sure the priority of said story, but I'd rather wait for something like that to land before shoving otherwise unnecessary stuff into the stubs.
Let me know if you want to discuss further, or if you think it's cool to close out this issue.

By the way, here is that story: https://www.pivotaltracker.com/story/show/111089660

@ljfranklin I'll close this out, feel free to reach out if you think it still needs discussion.

Thanks for running with this @Amit-PivotalLabs! We'll follow up with @sreetummidi via Tracker.

https://github.com/cloudfoundry/uaa-release/commit/bd8c61406c60e79364f170a1fe22154f8f0551d0


Create Map Component

We need to create a reactive map component for the project

Finalizing will be done after creating controllers
#18 has done partial commit


Fix link in doc comment

This also fixes a whole bunch of warnings by "cargo doc".

Thanks, @hannobraun.
@homunkulus r+

:pushpin: Commit edb9e9a has been approved by japaric

:hourglass: Testing commit edb9e9a4abf9dffec40afbe5139835a0c42255ae with merge e9386f45e0d9a69a3b4009392cda922d3a44cf78...

:sunny: Test successful - status-travis
Approved by: japaric
Pushing e9386f45e0d9a69a3b4009392cda922d3a44cf78 to master...

Thanks for merging!


🐞 - Email input field encodes Cyrillic characters

Playground Link
https://stackblitz.com/edit/angular-yg2qmr
Description
When trying to enter Cyrillic letters in the email input field, an unexpected text is set for the user.
It is enough to enter 'ы' at the end of the input field from the example on StackBlitz.
Before:

After:

Angular version
16.0.0
Taiga UI version
3.30.0
Which browsers have you used?

[X] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

Which operating systems have you used?

[ ] macOS
[X] Windows
[ ] Linux
[ ] iOS
[ ] Android

I'm not sure this is something we should get into. That's how value of input type="email" behaves like and what Angular forms don't reveal only because they allow text inside input to get out of sync with ngModel/formControl:

Workaround:
<input tuiTextfield<EMAIL_ADDRESS>type="text" inputmode="email" />

In fact, I do not know how this can be solved, since this browser encodes strings in type="email".
if you set the same value back, the browser is not going to decode it.
that is, if you execute input.value = input.value, then the user's value will be replaced with punycode.

I see that the problem is not in the taiga-ui, therefore the bug is not relevant.


npm: Organize all of the npm packages into one subdirectory

This patch moves bindings.js, the initializer, and @quilt/install
(which was formerly in a different repo), all under one subdiretory.
It also changes @quilt/install to use locally built binaries,
instead of pulling them from github.
Note make jscheck fails for me, but it's also failing on master.  This shouldn't be merged until that is sorted.

Also, can you add removing the quilt/install repo to your checklist of things to do when merging this?


docs: add link for Intel VT technology

Rather than just link to the generic Intel site, let's add a link
to an actual VT page as well.
Signed-off-by: Graham Whaley<EMAIL_ADDRESS>

Strange, I seem to have a couple of very old PRs against @MarioCarrilloA repo??? closing them ;-)


SignalFx case corrections

minor updates to fix SignalFx camel case

@ccassar do you need any additional info to accept these doc changes?

Thanks Adam. Corrections merged in.


Reorganized documentation inside source

I've reorganized the documentation inside the source as we discussed a couple days ago, and I have fixed a couple typos that remained. Therefore, the descriptions have been placed at the end, before the example code. The following format has been used:
@ngdoc
@name
@methodOf(eventOf, etc.)
@param
@property (used only in @name stormpath.SpStateConfig:SpStateConfig)
@returns
@description
@example

The other option that I see would be to put the @description after @name.
Below is an example of both scenarios. The first is the scenario that is the current PR here. The second could be done if you like that better.
FIRST
 /**
       * @ngdoc function
       *
       * @name stormpath#uiRouter
       *
       * @methodOf stormpath.$stormpath
       *
       * @param {object} config
       *
       * * **`loginState`** - The UI state name that we should send the user
       * to if they need to login.  You'll probably use `login` for this value.
       *
       * * **`autoRedirect`** - Defaults to true.  After the user logs in at
       * the state defined by `loginState`, they will be redirected back to the
       * state that was originally requested.
       *
       * * **`defaultPostLoginState`**  - Where the user should be sent, after login,
       * if they have visited the login page directly.  If you do not define a value,
       * nothing will happen at the login state.  You can alternatively use the
       * {@link stormpath.authService.$auth#events_$authenticated $authenticated} event to know
       * that login is successful.
       *
       * @description
       *
       * Call this method to enable the integration with the UI Router module.
       *
       * When enabled you can define {@link stormpath.SpStateConfig:SpStateConfig Stormpath State Configurations} on your UI states. This
       * object allows you to define access control for the state.  See the
       * examples below.
       *
       * @example
       *
       *

       * angular.module('myApp')
       *   .run(function($stormpath){
       *     $stormpath.uiRouter({
       *       loginState: 'login',
       *       defaultPostLoginState: 'main'
       *     });
       *   });
       *

       *
       */

Second
 /**
       * @ngdoc function
       *
       * @name stormpath#uiRouter
       *
       * @description
       *
       * Call this method to enable the integration with the UI Router module.
       *
       * When enabled you can define {@link stormpath.SpStateConfig:SpStateConfig Stormpath State  Configurations} on your UI states. This
       * object allows you to define access control for the state.  See the
       * examples below.
       *
       * @methodOf stormpath.$stormpath
       *
       * @param {object} config
       *
       * * **`loginState`** - The UI state name that we should send the user
       * to if they need to login.  You'll probably use `login` for this value.
       *
       * * **`autoRedirect`** - Defaults to true.  After the user logs in at
       * the state defined by `loginState`, they will be redirected back to the
       * state that was originally requested.
       *
       * * **`defaultPostLoginState`**  - Where the user should be sent, after login,
       * if they have visited the login page directly.  If you do not define a value,
       * nothing will happen at the login state.  You can alternatively use the
       * {@link stormpath.authService.$auth#events_$authenticated $authenticated} event to know
       * that login is successful.
       *
       * @example
       *
       *

       * angular.module('myApp')
       *   .run(function($stormpath){
       *     $stormpath.uiRouter({
       *       loginState: 'login',
       *       defaultPostLoginState: 'main'
       *     });
       *   });
       *

       *
       */

Hey @AbdullahAlger !
I just realized something: I didn'nt mention that the changes for NG Docs need to happen in the src/ files, not the dist/ files.  The latter is auto-generated from the former (so the changes will get lost!)
I didn't notice this in PR #8 because there was a mix of changes in both dist/ and src.  I've manually fixed the issues with that PR and put the changes directly on master.
Would you mind opening a new PR that has the changes from this one, but done via the src/ files instead?
REALLY sorry for the confusion here.  I just added a contribution guide that I hope will clarify for the future: Contribution Guide
Thanks again!
-Robert

OK. I will work on that. I should have known.


[Bug] Update translation string

Purpose

...

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Test the code

What to Check
Verify that the following are valid

...

Other Information

@ShaunaSong  are we going to merge to develop beta? or already merged

@ShaunaSong are we going to merge to develop beta? or already merged

I think this translations should be in the next release so that I point it to release branch directly.
Have not merged into dev/beta

This PR has other changes from develop/beta. Luckily, all changes are required this time. :)
In future, it is possible that develop beta has additional features not required in release.

This PR has other changes from develop/beta. Luckily, all changes are required this time. :) In future, it is possible that develop beta has additional features not required in release.

This time is ok since we are gonna bug bash it anyway so that change from develop/beta can be included as well.


Analysis job is stuck

The analysis job seems to be stuck. I was waiting for updates to come around after the 2.0.5 release but saw the logs not proceeding past
2020-09-01T08:39:26.240676698Z Analyzing (limit: 25) ...
2020-09-01T08:39:26.242994310Z [ INFO ] Checkout directory: /checkouts
2020-09-01T08:39:26.269703005Z [ INFO ] pulling https://github.com/BinaryBirds/build-kit.git in /checkouts/github.com-binarybirds-build-kit
2020-09-01T08:39:26.521958828Z [ INFO ] pulling https://github.com/leeceny/perfect-qiniu.git in /checkouts/github.com-leeceny-perfect-qiniu
2020-09-01T08:39:26.760749028Z [ INFO ] pulling https://github.com/vapor-community/imperial.git in /checkouts/github.com-vapor-community-imperial
2020-09-01T08:39:27.071948476Z [ INFO ] pulling https://github.com/NobodyNada/Clibwebsockets.git in /checkouts/github.com-nobodynada-clibwebsockets
2020-09-01T08:39:27.318509335Z [ INFO ] pulling https://github.com/benspratling4/swiftfoundationcompression.git in /checkouts/github.com-benspratling4-swiftfoundationcompression
2020-09-01T08:39:27.559057502Z [ INFO ] pulling https://github.com/kean/Align.git in /checkouts/github.com-kean-align
2020-09-01T08:39:27.828977313Z [ INFO ] pulling https://github.com/alexpiezo/WebRTC.git in /checkouts/github.com-alexpiezo-webrtc
2020-09-01T08:39:28.085790045Z [ INFO ] pulling https://github.com/alexito4/slox.git in /checkouts/github.com-alexito4-slox
2020-09-01T08:39:28.340046955Z [ INFO ] pulling https://github.com/liam923/MathKit.git in /checkouts/github.com-liam923-mathkit
2020-09-01T08:39:28.588958709Z [ INFO ] pulling https://github.com/dankogai/swift-complex.git in /checkouts/github.com-dankogai-swift-complex
2020-09-01T08:39:28.866343241Z [ INFO ] pulling https://github.com/captain-charisma/Sukari.git in /checkouts/github.com-captain-charisma-sukari
2020-09-01T08:39:29.106955258Z [ INFO ] pulling https://github.com/octadero/atarikit.git in /checkouts/github.com-octadero-atarikit
2020-09-01T08:39:29.345351886Z [ INFO ] pulling https://github.com/fcanas/FFCParserCombinator.git in /checkouts/github.com-fcanas-ffcparsercombinator
2020-09-01T08:39:29.585607891Z [ INFO ] pulling https://github.com/apple/swift-corelibs-xctest.git in /checkouts/github.com-apple-swift-corelibs-xctest

Stopping and restarting the container has no effect. Rolling back to 2.0.4 to see if it is related to the 2.0.5 deployment.

It's not 2.0.4 either. It should be polling for candidates every 20 sec but it's stuck again:
2020-09-01T10:43:45.118948175Z Analyzing (limit: 25) ...
2020-09-01T10:43:45.124379485Z [ INFO ] Checkout directory: /checkouts
2020-09-01T10:43:45.152412930Z [ INFO ] pulling https://github.com/CocoaLumberjack/CocoaLumberjack.git in /checkouts/github.com-cocoalumberjack-cocoalumberjack
2020-09-01T10:43:45.546271018Z [ INFO ] pulling https://github.com/BinaryBirds/build-kit.git in /checkouts/github.com-binarybirds-build-kit
2020-09-01T10:43:45.767151407Z [ INFO ] pulling https://github.com/leeceny/perfect-qiniu.git in /checkouts/github.com-leeceny-perfect-qiniu
2020-09-01T10:43:45.981049253Z [ INFO ] pulling https://github.com/vapor-community/imperial.git in /checkouts/github.com-vapor-community-imperial
2020-09-01T10:43:46.178039089Z [ INFO ] pulling https://github.com/NobodyNada/Clibwebsockets.git in /checkouts/github.com-nobodynada-clibwebsockets
2020-09-01T10:43:46.348389147Z [ INFO ] pulling https://github.com/benspratling4/swiftfoundationcompression.git in /checkouts/github.com-benspratling4-swiftfoundationcompression
2020-09-01T10:43:46.522749082Z [ INFO ] pulling https://github.com/kean/Align.git in /checkouts/github.com-kean-align
2020-09-01T10:43:46.710252640Z [ INFO ] pulling https://github.com/alexpiezo/WebRTC.git in /checkouts/github.com-alexpiezo-webrtc
2020-09-01T10:43:46.887515799Z [ INFO ] pulling https://github.com/alexito4/slox.git in /checkouts/github.com-alexito4-slox
2020-09-01T10:43:47.083308873Z [ INFO ] pulling https://github.com/liam923/MathKit.git in /checkouts/github.com-liam923-mathkit
2020-09-01T10:43:47.271794926Z [ INFO ] pulling https://github.com/dankogai/swift-complex.git in /checkouts/github.com-dankogai-swift-complex
2020-09-01T10:43:47.449417247Z [ INFO ] pulling https://github.com/captain-charisma/Sukari.git in /checkouts/github.com-captain-charisma-sukari
2020-09-01T10:43:47.619071356Z [ INFO ] pulling https://github.com/octadero/atarikit.git in /checkouts/github.com-octadero-atarikit
2020-09-01T10:43:47.794503903Z [ INFO ] pulling https://github.com/fcanas/FFCParserCombinator.git in /checkouts/github.com-fcanas-ffcparsercombinator
2020-09-01T10:43:47.978217815Z [ INFO ] pulling https://github.com/apple/swift-corelibs-xctest.git in /checkouts/github.com-apple-swift-corelibs-xctest

All repos accessible. I wonder if it has something to do with https://github.com/CocoaLumberjack/CocoaLumberjack.git, which we added this morning. Going back to 2.0.5 for now.

Couldn't repo any issues running on the same data (minus the checkouts) locally. CocoaLumberjack analysed fine.
I then attached to the container and ran with --limit 1 in prod, which also processed CocoaLumberjack - without errors. I then ran with --limit 1 a few times to see if some other package was the problem by now the candidate list had diverged from the earlier set.
More --limit 5 runs without issue.
I then restarted the analysis docker container and it's picked up processing like nothing had happened 🤷
I'll keep the log open to see if it hangs again and there's maybe the same culprit in the set of packages.

And it has been hanging again for 15+ mins:
2020-09-01T11:43:49.902175303Z Analyzing (limit: 25) ...
2020-09-01T11:43:49.905924094Z [ INFO ] Checkout directory: /checkouts
2020-09-01T11:43:49.944450270Z [ INFO ] pulling https://github.com/nicklockwood/Euclid.git in /checkouts/github.com-nicklockwood-euclid
2020-09-01T11:43:50.328917099Z [ INFO ] pulling https://github.com/drmohundro/SWXMLHash.git in /checkouts/github.com-drmohundro-swxmlhash
2020-09-01T11:43:50.689961627Z [ INFO ] pulling https://github.com/swift-aws/ecr.git in /checkouts/github.com-swift-aws-ecr
2020-09-01T11:43:50.994133668Z [ INFO ] pulling https://github.com/ChimeHQ/Meter.git in /checkouts/github.com-chimehq-meter
2020-09-01T11:43:51.329875271Z [ INFO ] pulling https://github.com/devxoul/AlertReactor.git in /checkouts/github.com-devxoul-alertreactor
2020-09-01T11:43:51.689795878Z [ INFO ] pulling https://github.com/ChimeHQ/SwiftLSPClient.git in /checkouts/github.com-chimehq-swiftlspclient
2020-09-01T11:43:51.996096000Z [ INFO ] pulling https://github.com/davidahouse/xcresultkit.git in /checkouts/github.com-davidahouse-xcresultkit
2020-09-01T11:43:52.297022731Z [ INFO ] pulling https://github.com/apple/swift-llbuild.git in /checkouts/github.com-apple-swift-llbuild

Again
2020-09-01T12:30:01.457303765Z Analyzing (limit: 25) ...
2020-09-01T12:30:01.459862496Z [ INFO ] Checkout directory: /checkouts
2020-09-01T12:30:01.502022163Z [ INFO ] pulling https://github.com/vapor/sqlite-nio.git in /checkouts/github.com-vapor-sqlite-nio
2020-09-01T12:30:01.822277009Z [ INFO ] pulling https://github.com/apple/swift-corelibs-xctest.git in /checkouts/github.com-apple-swift-corelibs-xctest

Each time there's an apple repo in the list. Although I've seen some being processed as well.

This now hangs:
spi@spi-prod ~> docker exec -it spi_analyze_1 bash
root@cf536f2cd4ff:/run# ./Run analyze --env prod --limit 1
Analyzing (limit: 1) ...
[ INFO ] Checkout directory: /checkouts
[ INFO ] pulling https://github.com/vapor/sqlite-nio.git in /checkouts/github.com-vapor-sqlite-nio
[ INFO ] listing tags for package https://github.com/vapor/sqlite-nio.git
root@cf536f2cd4ff:/run# ./Run analyze --env prod --limit 1
Analyzing (limit: 1) ...
[ INFO ] Checkout directory: /checkouts
[ INFO ] pulling https://github.com/apple/swift-corelibs-xctest.git in /checkouts/github.com-apple-swift-corelibs-xctest

This time deleting /checkouts/github.com-apple-swift-corelibs-xctest/ and restarting the analyser makes it continue. I've copied the checkout before deleting it.

Running the git commands manually works fine. The repo has 595 tags but the commands still only take a second or so.

Adn hanging:
2020-09-01T12:52:27.874174450Z [ INFO ] Checkout directory: /checkouts
2020-09-01T12:52:27.907484424Z [ INFO ] pulling https://github.com/IBM-Swift/BlueSocket.git in /checkouts/github.com-ibm-swift-bluesocket
2020-09-01T12:52:28.284649728Z [ INFO ] pulling https://github.com/nicklockwood/Euclid.git in /checkouts/github.com-nicklockwood-euclid
2020-09-01T12:52:28.516363378Z [ INFO ] pulling https://github.com/swift-aws/ecr.git in /checkouts/github.com-swift-aws-ecr
2020-09-01T12:52:28.764287203Z [ INFO ] pulling https://github.com/eneko/sourcedocs.git in /checkouts/github.com-eneko-sourcedocs
2020-09-01T12:52:29.031352115Z [ INFO ] pulling https://github.com/hectr/swift-elementary-cycles.git in /checkouts/github.com-hectr-swift-elementary-cycles
2020-09-01T12:52:29.271285294Z [ INFO ] pulling https://github.com/huri000/SwiftEntryKit.git in /checkouts/github.com-huri000-swiftentrykit
2020-09-01T12:52:29.705509447Z [ INFO ] pulling https://github.com/drmohundro/SWXMLHash.git in /checkouts/github.com-drmohundro-swxmlhash
2020-09-01T12:52:29.962625337Z [ INFO ] pulling https://github.com/svdo/swift-netutils.git in /checkouts/github.com-svdo-swift-netutils
2020-09-01T12:52:30.249037548Z [ INFO ] pulling https://github.com/devxoul/AlertReactor.git in /checkouts/github.com-devxoul-alertreactor
2020-09-01T12:52:30.504428867Z [ INFO ] pulling https://github.com/davidahouse/xcresultkit.git in /checkouts/github.com-davidahouse-xcresultkit
2020-09-01T12:52:30.743027728Z [ INFO ] pulling https://github.com/amine2233/Reactive.git in /checkouts/github.com-amine2233-reactive
2020-09-01T12:52:30.989843865Z [ INFO ] pulling https://github.com/FabioTacke/PubliclyVerifiableSecretSharing.git in /checkouts/github.com-fabiotacke-publiclyverifiablesecretsharing
2020-09-01T12:52:31.285905245Z [ INFO ] pulling https://github.com/kjoneandrei/BRPageControl.git in /checkouts/github.com-kjoneandrei-brpagecontrol
2020-09-01T12:52:31.516012084Z [ INFO ] pulling https://github.com/apple/swift-llbuild.git in /checkouts/github.com-apple-swift-llbuild

It must be these two apple repos.

Analysing with that same checkout works fine locally, from Xcode:
Analyzing (id: A310EDE9-2EB6-4C59-B9EF-5FD0FB040DFE) ...
[ INFO ] Checkout directory: /Volumes/Luna HD/Users/sas/Projects/spi-server/SPI-checkouts
[ INFO ] pulling https://github.com/apple/swift-corelibs-xctest.git in /Volumes/Luna HD/Users/sas/Projects/spi-server/SPI-checkouts/github.com-apple-swift-corelibs-xctest
[ INFO ] listing tags for package https://github.com/apple/swift-corelibs-xctest.git
Program ended with exit code: 0

Now the only remaining thing I can think of is that it's related to running in a docker image or something particular to the prod Mac mini. Or the package is a red herring.

You have got to be kidding me:
2020-09-01T13:06:24.618991551Z [ INFO ] Checkout directory: /checkouts
2020-09-01T13:06:24.645903577Z [ INFO ] pulling https://github.com/daltonclaybrook/apispec.git in /checkouts/github.com-daltonclaybrook-apispec
2020-09-01T13:06:24.896115196Z [ INFO ] pulling https://github.com/dingsoung/network.git in /checkouts/github.com-dingsoung-network
2020-09-01T13:06:25.141974713Z [ INFO ] pulling https://github.com/ikesyo/Himotoki.git in /checkouts/github.com-ikesyo-himotoki
2020-09-01T13:06:25.438403827Z [ INFO ] pulling https://github.com/g-off/xcodeproject.git in /checkouts/github.com-g-off-xcodeproject
2020-09-01T13:06:25.709943109Z [ INFO ] pulling https://github.com/NextLevel/NextLevel.git in /checkouts/github.com-nextlevel-nextlevel
2020-09-01T13:06:26.039798789Z [ INFO ] pulling https://github.com/quickbirdstudios/XServiceLocator.git in /checkouts/github.com-quickbirdstudios-xservicelocator
2020-09-01T13:06:26.384880710Z [ INFO ] pulling https://github.com/Fitzafful/BillboardSwiftLibrary.git in /checkouts/github.com-fitzafful-billboardswiftlibrary
2020-09-01T13:06:26.646658813Z [ INFO ] pulling https://github.com/lukasmoellerch/SwiftUIFormattedText.git in /checkouts/github.com-lukasmoellerch-swiftuiformattedtext
2020-09-01T13:06:26.913355024Z [ INFO ] pulling https://github.com/mxcl/swift-sh.git in /checkouts/github.com-mxcl-swift-sh
2020-09-01T13:06:27.268442762Z [ INFO ] pulling https://github.com/SwiftWebUI/SwiftWebUI.git in /checkouts/github.com-swiftwebui-swiftwebui
2020-09-01T13:06:27.557945761Z [ INFO ] pulling https://github.com/RxSwiftCommunity/RxFlow.git in /checkouts/github.com-rxswiftcommunity-rxflow
2020-09-01T13:06:27.831820072Z [ INFO ] pulling https://github.com/nerdishbynature/RequestKit.git in /checkouts/github.com-nerdishbynature-requestkit
2020-09-01T13:06:28.092643305Z [ INFO ] pulling https://github.com/alexruperez/tagging.git in /checkouts/github.com-alexruperez-tagging
2020-09-01T13:06:28.342308345Z [ INFO ] pulling https://github.com/congnd/FMPhotoPicker.git in /checkouts/github.com-congnd-fmphotopicker
2020-09-01T13:06:28.619711299Z [ INFO ] pulling https://github.com/amine2233/GitHubModel.git in /checkouts/github.com-amine2233-githubmodel
2020-09-01T13:06:28.900997486Z [ INFO ] pulling https://github.com/HeroTransitions/Hero.git in /checkouts/github.com-herotransitions-hero
2020-09-01T13:06:29.247800541Z [ INFO ] pulling https://github.com/SDWebImage/SDWebImageHEIFCoder.git in /checkouts/github.com-sdwebimage-sdwebimageheifcoder
2020-09-01T13:06:29.487084998Z [ INFO ] pulling https://github.com/apple/swift-package-manager.git in /checkouts/github.com-apple-swift-package-manager

All this while staging has been processing fine on 2.0.4. So it seems likely that it's something related to 2.0.5 and the apple repos - which typically have a lot of tags.

Helge just pinged me regarding a build issue. Notice the logs here: https://swiftpackageindex.com/builds/99ED3E35-D737-4426-98AE-845B967090B5
Message: "error: Failed to clone https://github.com/apple/swift-nio.git:
    Cloning into bare repository '/host/.build/repositories/swift-nio-b68c973e'...
    fatal: Unable to read current working directory: No such file or directory
'SwiftBlocksUI' /host: error: Source files for target SlackBlocksModel should be located under 'Sources/SlackBlocksModel', or a custom sources path can be set with the 'path' property in Package.swift"
Output: "Fetching https://github.com/wickwirew/Runtime.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git"

And we're stuck again. I'm going to roll back to 2.0.4 to see if this will run over night.
2020-09-01T14:47:25.744451122Z [ INFO ] Checkout directory: /checkouts
2020-09-01T14:47:25.773193769Z [ INFO ] pulling https://github.com/captain-charisma/Sukari.git in /checkouts/github.com-captain-charisma-sukari
2020-09-01T14:47:26.018752658Z [ INFO ] pulling https://github.com/bannzai/swdifft.git in /checkouts/github.com-bannzai-swdifft
2020-09-01T14:47:26.284209585Z [ INFO ] pulling https://github.com/richardpiazza/CodablePlus.git in /checkouts/github.com-richardpiazza-codableplus
2020-09-01T14:47:26.510252458Z [ INFO ] pulling https://github.com/BellAppLab/Weakable.git in /checkouts/github.com-bellapplab-weakable
2020-09-01T14:47:26.726221130Z [ INFO ] pulling https://github.com/3d4medical/gltfscenekit.git in /checkouts/github.com-3d4medical-gltfscenekit
2020-09-01T14:47:26.959500507Z [ INFO ] pulling https://github.com/noppoman/hexaville.git in /checkouts/github.com-noppoman-hexaville
2020-09-01T14:47:27.188373598Z [ INFO ] pulling https://github.com/cbaker6/CertificateSigningRequest.git in /checkouts/github.com-cbaker6-certificatesigningrequest
2020-09-01T14:47:27.443431197Z [ INFO ] pulling https://github.com/vapor/sqlite-nio.git in /checkouts/github.com-vapor-sqlite-nio
2020-09-01T14:47:27.662285402Z [ INFO ] pulling https://github.com/liam923/MathKit.git in /checkouts/github.com-liam923-mathkit
2020-09-01T14:47:27.921134151Z [ INFO ] pulling https://github.com/RiftValleySoftware/RVS_PersistentPrefs.git in /checkouts/github.com-riftvalleysoftware-rvs_persistentprefs
2020-09-01T14:47:28.163968112Z [ INFO ] pulling https://github.com/dankogai/swift-complex.git in /checkouts/github.com-dankogai-swift-complex
2020-09-01T14:47:28.447079643Z [ INFO ] pulling https://github.com/leeceny/perfect-qiniu.git in /checkouts/github.com-leeceny-perfect-qiniu
2020-09-01T14:47:28.661218964Z [ INFO ] pulling https://github.com/apple/swift-crypto.git in /checkouts/github.com-apple-swift-crypto
2020-09-01T14:47:28.900402265Z [ INFO ] pulling https://github.com/davecom/SwiftGraph.git in /checkouts/github.com-davecom-swiftgraph
2020-09-01T14:47:29.180633713Z [ INFO ] pulling https://github.com/andreamazz/AMScrollingNavbar.git in /checkouts/github.com-andreamazz-amscrollingnavbar
2020-09-01T14:47:29.481866188Z [ INFO ] pulling https://github.com/neoneye/swiftyschwartziantransform.git in /checkouts/github.com-neoneye-swiftyschwartziantransform
2020-09-01T14:47:29.728070828Z [ INFO ] pulling https://github.com/cxa/Piz.git in /checkouts/github.com-cxa-piz
2020-09-01T14:47:29.971412505Z [ INFO ] pulling https://github.com/ferranabello/Viperit.git in /checkouts/github.com-ferranabello-viperit
2020-09-01T14:47:30.256654164Z [ INFO ] pulling https://github.com/OpenKitten/MongoKitten.git in /checkouts/github.com-openkitten-mongokitten
2020-09-01T14:47:30.605398429Z [ INFO ] pulling https://github.com/fcanas/FFCParserCombinator.git in /checkouts/github.com-fcanas-ffcparsercombinator
2020-09-01T14:47:30.875275029Z [ INFO ] pulling https://github.com/fulldecent/FDTake.git in /checkouts/github.com-fulldecent-fdtake
2020-09-01T14:47:31.187165098Z [ INFO ] pulling https://github.com/apple/swift-nio-extras.git in /checkouts/github.com-apple-swift-nio-extras
2020-09-01T14:47:31.511670765Z [ INFO ] pulling https://github.com/octadero/atarikit.git in /checkouts/github.com-octadero-atarikit
2020-09-01T14:47:31.772868104Z [ INFO ] pulling https://github.com/apple/swift-corelibs-xctest.git in /checkouts/github.com-apple-swift-corelibs-xctest

After deploying 2.0.5 to staging for the first time it is now also hanging at
2020-09-02T05:23:33.225471853Z [ INFO ] pulling https://github.com/apple/swift-llbuild.git in /checkouts/github.com-apple-swift-llbuild

For whatever reason that tag deletion is messing up with these repos, likely because they have a large number of tags. We'll need to roll back 2.0.5 for good and try something else.
FWIW, manually running the git commands in the actual container works fine, so it's not simply a linux/container incompatibility.

prod has been processing fine over night, back on 2.0.4 so I'm closing this now. The patch is being rolled back via #699 and #693 is open to track the tag move fix.


Support for UUIDs

I use UUIDs for all my primary keys on my tables.
However when trying to use apartmentex it calls out to the erlang function :erlang.integer_to_binary("87d59c0b-8182-4442-9f57-a44104aac81f") which does not work as a UUID is not a integer.
Thanks 😄

Ahh I see it does already support UUID's but when creating a tenant I have to call Apartmentex.new_tenant(Repo, tenant.id) instead of Apartmentex.new_tenant(Repo, tenant)
I will create a PR to resolve this.


Remove source map references when publishing

@dbaeumer  Take 2 of https://github.com/microsoft/vscode-languageserver-node/pull/899, which was reverted to do compile:publish failing. This adds more tsconfig.publish.json's to the browser, node, and common folders of each package and the associated references.
Fixes https://github.com/microsoft/vscode-languageserver-node/issues/879
The problem
The packages in this repo are configured to produce source maps at compile-time, which includes:

a reference to a source map at the bottom of each generated JS file, e.g.// lib/browser/main.js
...

    return browser_1.createMessageConnection(reader, writer, logger, options);
}
exports.createProtocolConnection = createProtocolConnection;
//# sourceMappingURL=main.js.map

a source map, e.g. lib/browser/main.js.map

However, when the packages are published, the source maps are not uploaded because they are explicitly ignored by npm: https://github.com/microsoft/vscode-languageserver-node/blob/f72faa0975cb2aaa85ce84da819944f84e1aac52/protocol/.npmignore#L4
Therefore, the published package:

does include the references at the bottom of each generated JS file
does not include the actual source maps

These dangling references are causing build errors:
Failed to parse source map from '/home/char0n/Documents/GitHub/test/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js.map' file: Error: ENOENT: no such file or directory, open '/home/char0n/Documents/GitHub/test/node_modules/vscode-languageserver-protocol/lib/common/utils/is.js.map'

The solution
Don't produce source maps. This effectively maintains the current functionality, but removes the dangling references in the generated JS files.

@dbaeumer how's this look?

Sorry, we have endgame right now to prepare a new VS Code version. So this has to wait until beginning of April.

Hey @dbaeumer! Just checking in here

@zachkirsch thanks for the ping. Will do my best to get this in this milestone. I am end game champ these two month which cost a lot of my dev time.

No stress! Game champ sounds fun but I bet it's tiring

@dbaeumer ping on this :)

Thanks for the ping. Will try to look into this in June.

@zachkirsch I looked at the PR and although it adds the rights files (and we discussed it that way) I decided to try a different route. I started to write code that generates these files from a higher level description. Would be a lot easier to maintain. And I have a comparable repository where I could reuse the code. If you are interested to contribute or give feedback a start is on https://github.com/microsoft/vscode-languageserver-node/tree/dbaeumer/tsconfigGeneration

And https://github.com/microsoft/vscode-languageserver-node/blob/dbaeumer/tsconfigGeneration/tools/src/project.ts

This got addressed by the new tsconfig file generation. The repository has now tsconfig.publish.json files.


Importing the dat file to csv

The proposed dataset has not been imported since it is a dat file, importing the dat file can have some few steps needed and I have managed to import it as needed.

Hello, thanks for your help. I have assigned you this task


New script sample - SPO Add Page Template

New sample script to add a custom page template to a SharePoint Online site collection.

Hey @expiscornovus , thank you 👏 for your sample - it is highly appreciated. This should be live shortly 😊
Have you registered for the PnP Recognition program, your submission will qualify for a badge :-) Its opt in so please register here: https://pnp.github.io/recognitionprogram

Thanks @pkbullock, great to see it is already part of the repo. I am already part of that recognition program, I received different PnP badges in the paste :)


Added option to preserve console output in watch mode.

This is handy when you have other things running at the same time in the console. e.g. If you are using the concurrently program, clearing the console would remove the previous output of other programs.

Indeed, thanks for the idea. I implemented it in version 3.2 😉


Implement and Visualise gameplay hints

Description
Implement gameplay hints in the form of pop-ups informing the player on the next logcial action to take if they are failing over time, and the player is in Arcade Mode.
Definition of Done

[ ] Hints are written
[ ] Hints are displayed if player is idle too long at the start of scenario

[ ] Show hint: feeding control

[ ] Hints are displayed when player is failing

[ ] Fish are hungry over time and player is not feeding

[ ] Show hint: Fish are hungry, use control to feed

[ ] Fish are full and player does not stop feeding over time

[ ] Show hint: Fish are full, food is being wasted

[ ] Player is not changing camera to different cage and fish are hungry over time / begin dying

[ ] Display warning about fish being hungry / dying in different cage

[ ] Player is not moving camera position

[ ] Show hint: use joystick to move camera

[ ] Player does not move feeding control out of one position, or only uses max and of or similar

[ ] Show hint: Use the slider to adjust amount, [ food is being wasted | fish aren't recieving enough food ]

[ ] Hints are displayed next to relevant control surfaces (if applicable)
[ ] Control tips are shown once (e.g. "push button to change camera")
[ ] Warnings  are shown through whole tutorial level (e.g. fish dying in other cage)

FYI, in the next release of the code functions, we will have a tooltip prefab. Tooltip is a hint UI element attached to specific objects (e.g., tools). Check here: https://github.com/orgs/vr4vet/projects/7
Other similar UI elements will be coming later. If you want make some that are potentially applicable to any profession workspace, I can give you the basic design guidelines for them.

@fominykh, nice. I already made a crude implementation of this, so we can swap it out once it's released.


Drop Down Button

Steps to Reproduce

...
...
...

Target Platform:
Target OS version/browser:
Devices:
Logs

I/flutter (22309): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter (22309): The following assertion was thrown building Register(dirty, dependencies: [MediaQuery], state:
I/flutter (22309): _RegisterState#84a2d(tickers: tracking 1 ticker)):
I/flutter (22309): There should be exactly one item with [DropdownButton]'s value: Select Blood group.
I/flutter (22309): Either zero or 2 or more [DropdownMenuItem]s were detected with the same value
I/flutter (22309): 'package:flutter/src/material/dropdown.dart':
I/flutter (22309): Failed assertion: line 805 pos 15: 'items == null || items.isEmpty || value == null ||
I/flutter (22309):               items.where((DropdownMenuItem item) {
I/flutter (22309):                 return item.value == value;
I/flutter (22309):               }).length == 1'
I/flutter (22309): Either the assertion indicates an error in the framework itself, or we should provide substantially
I/flutter (22309): more information in this error message to help you determine and fix the underlying cause.

Either zero or 2 or more [DropdownMenuItem]s were detected with the same value
'package:flutter/src/material/dropdown.dart':
Failed assertion: line 805 pos 15: 'items == null || items.isEmpty || value == null ||
items.where((DropdownMenuItem item) {
return item.value == value;
}).length == 1'
Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=BUG.md
The relevant error-causing widget was:
Register file:///Users/altaitsolutions/Desktop/Jayaraj/flutter_altaoss/lib/login_register.dart:829:70
When the exception was thrown, this was the stack:
#2      new DropdownButton (package:flutter/src/material/dropdown.dart:805:15)
#3      _RegisterState.build (package:flutter_altaoss/login_register.dart:1505:31)
#4      StatefulElement.build (package:flutter/src/widgets/framework.dart:4334:27)
#5      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4223:15)
#6      Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
...
════════════════════════════════════════════════════════════════════════════════════════════════════
════════ (2) Exception caught by widgets library ═══════════════════════════════════════════════════
There should be exactly one item with [DropdownButton]'s value: Select Blood group.
Either zero or 2 or more [DropdownMenuItem]s were detected with the same value
'package:flutter/src/material/dropdown.dart':
Failed assertion: line 805 pos 15: 'items == null || items.isEmpty || value == null ||
items.where((DropdownMenuItem item) {
return item.value == value;
}).length == 1'
The relevant error-causing widget was:
Register file:///Users/altaitsolutions/Desktop/Jayaraj/flutter_altaoss/lib/login_register.dart:829:70
════════════════════════════════════════════════════════════════════════════════════════════════════

Please provide the output of flutter doctor and a small self-contained app that demonstrates the problem, and we'll look into it. Note also: https://gist.github.com/ is a useful way to share the code.


Remove defaults from button theme & update border merge

Closes https://github.com/nank1ro/flutter-shadcn-ui/issues/184

There is something wrong with your PR.
I ran the example, opened the Accordion page and it throws:
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following assertion was thrown building ShadDecorator(dirty, dependencies:
[ShadInheritedTheme]):
'package:shadcn_ui/src/theme/components/decorator.dart': Failed assertion: line 138 pos 12:
'BorderSide.canMerge(top, other.top)': is not true.

The relevant error-causing widget was:
  ShadDecorator
  ShadDecorator:file:///Users/ale/github/flutter-shadcn-ui/lib/src/components/switch.dart:174:22

When the exception was thrown, this was the stack:
#2      ShadBorder.mergeWith (package:shadcn_ui/src/theme/components/decorator.dart:138:12)
#3      ShadDecoration.mergeWith (package:shadcn_ui/src/theme/components/decorator.dart:303:35)

Are you sure the BorderSide.canMerge is needed?
Seems like something the Flutter team decided but I don't understand the reason.
/// Two sides can be merged if one or both are zero-width with
/// [BorderStyle.none], or if they both have the same color and style.

I want shadcn_ui to allow every kind of customizations, and not limit for the same style or color.

Forgive me, I misunderstood what BorderSide.merge does. Turns out it's a pretty badly named function.
That function adds the 2 borders, instead of merging them.
Turns out you can't merge Borders, so defining one completely overwrites the previous one, even if you just want to change the color.
Gonna remove the changes and just keep the button stuff. Sounds Good?

Sounds good 👍

done.


Add uv_fs_scandir and Fix fs synchronous case

Add uv_fs_scandir implementation and test
Fix errors in fs synchronous cases

libtuv-DCO-1.0-Signed-off-by: Sanggyu Lee<EMAIL_ADDRESS>

LGTM


[SPARK-9029][SQL] shortcut CaseKeyWhen if key is null

cc @marmbrus

Merged build triggered.

Merged build started.

Test build #37191 has started for   PR 7389 at commit ea4b6ba.

Test build #37191 has finished for   PR 7389 at commit ea4b6ba.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Thanks!  Merging to master.


Source-build-reference-packages System.Linq 4.1.0 net462 vs. net463 mismatch

System.Linq 4.1.0 reference pack has a TFM mismatch between net462 and net463:

csproj: net462 (results in ref/net462/System.Linq.dll)
nuspec: .NETFramework4.6.3
real package: .NETFramework 4.6.3 in nuspec and contains ref/net463.

This raises NU5130 with the presumably newer version of NuGet pack I'm using for https://github.com/dotnet/source-build/issues/1591. I'm ignoring the warning for now and linking to this issue to resolve later. (I'm going for asset parity with my initial PR.) We may want to fix this in 3.1 servicing as well.

Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder have compatible matches, but not exact matches in the other location. Unless intentional, consult the list of actions below:

Add a dependency group for .NETFramework4.6.2 to the nuspec

(I believe the suggestion isn't right for us: we need to fix our TargetFrameworks entry from net462 => net463.)
A handful more projects get the warning, but I haven't investigated them specifically to make sure it's the same cause:

System.Linq.Expressions/4.1.0
System.Linq.Expressions/4.3.0
System.Linq/4.1.0
System.Linq/4.3.0
System.Text.RegularExpressions/4.1.0
System.Text.RegularExpressions/4.3.0

/cc @dseefeld @crummel

This was a historical artifact discovered when originally building these packages. Some pkgs had a TFM of net463, which is an invalid TFM, so they were changed to net462 to allow them to build in SBRP.  The complete list of packages that have this issue is:

system.appcontext/4.1.0
system.appcontext/4.3.0
system.linq.expressions/4.1.0
system.linq.expressions/4.3.0
system.linq/4.1.0
system.linq/4.3.0
system.runtime.interopservices/4.3.0
system.security.cryptography.algorithms/4.2.0
system.security.cryptography.algorithms/4.3.0
system.security.cryptography.cng/4.2.0
system.security.cryptography.cng/4.3.0
system.text.regularexpressions/4.1.0
system.text.regularexpressions/4.3.0


Can place any order with suspended market

Description
When a market is suspended, it is possible to place any order, but only certain orders should be available to be created.
Steps to Reproduce

Go to Console app.
Use market with 'suspended' status (or mock it).
Place some Market or Limit order.

Expected behavior

Only limit orders should be allowed
GFA, GFN, GTC and GTT order TIFs are allowed
We should show a warning message but still allow the order to be submitted

Screenshots

So to be clear. you should be able to place some types of orders while a market is suspended.
or to be more explicit. Console should never prevent you from placing any type of order but should tell you if it knows that that order will not work.
Perhaps there is a poorly worded AC?

We would need some specifics then, what's the message that should be shown? What types of orders are possible to be placed?

Updated the summary according to our conversation with @campbellssource and @mattrussell36 on Slack.

@radoslaw-szpiech to retest and check whether this is resolved now, and close or update ticket accordingly

Looks like the problem is due to the fact the use-order-validation hook will return only a single error at a time (whichever condition is met first). IE if there is a problem with market state, and trading mode, then only the market state error gets shown to the user as its condition will be met first.
I would suggestion some refactoring to extract the rules in the hook and pass them to the rules prop of react-hook-form's Controller component. This way we can handle multiple validation errors simultaneously

@mattrussell36 What about blocking placing market orders & linking that with suspended market? Could you please refine if we need to implement suggested behavior?

Summing up the current situation (I'm also updating issue description accordingly):

The warning is displayed basing on Trading Mode and Trigger.
The warning is displayed only after "Place order" clicked when trying to place one of the disallowed order type.
Placing order is blocked after that.

Questions that needs to be answered, if we want to decide if it's a valid bug or not.

Should the warning be based on Trading Mode and/or Trigger, or Market Status?
Should the warning be visible all the time or only after clicking "Place order" button?
Should an user be allowed to place "invalid order", or should it be possible only for given order types?

@campbellssource @mattrussell36 @pennyandrews please, refine.


[sw/silicon_creator] Harden SHUTDOWN_IF_ERROR

This PR hardens the SHUTDOWN_IF_ERROR() macro and fixes #10549.

Merging this now since all other tests passed except for functests on FPGA which could not be run since bitstream generation failed. Also checked that we don't have a functest that uses this macro.


Improve logic around using Ref with GDExtension virtual functions

As discussed during the GDExtension meeting, we have a problem when calling GDExtension virtual functions when Ref<T> is used as the data type. Unlike "normal" functions, which use Virtual as an intermediate which ensures refcounting is done, with virtual functions we send pointers to Ref<T> objects. Unfortunately GDExtension can't make heads nor tails of this and right now we assign values in a rather dangerous way as well as introducing the risk of returned objects being destroyed before Godot is able to reference them.
This PR introduces two support functions that allow us to get or set an object on a Godot side Ref<T> pointer.
This PR has a companion PR on the godot-cpp side which uses these functions (to be committed soon).

Note that we're using the new naming convention using GDExtension instead of GDNative (pending PR)

For me, this pair of PR's solved random crash when repeatedly transferring a native class from std::map to GDScript through a couple of methods. (these methods returned null multiple times and godot crashes)
But it's strange to me that there is another pair of methods nearby that creates a native object, it is saved in std::map and returns to GDScript without problems. 🤷♂

Thanks!


Add Pomelo MySQL provider

/cc @rowanmiller @natemcmaster

Hi @Kagamine, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Hey,
Can you help us understand a little more about your project. Our main concerns with listing providers is knowing that they have a decent quality level and that they are going to be supported long term. We don't want to push customers toward a provider that is partially implemented, or that they aren't going to get support for in a years time. There is very little history on your GitHub project, so I'm curious where the project came from, who is behind it, etc.
~Rowan

Hey,
Sorry for the long delay on this one. We're going to take the listing of this provider, but I need some changes to what is submitted here. We really just want changes to docs/providers/index.rst and docs/providers/pomelo-mysql/index.rst. The samples folder is really just for our more detailed articles, I think you can just inline the code samples for this page. You may also want to consider just linking off to your own documentation, which is what the other provider writers do.
If you rather I make the changes, then just let me know.
~Rowan

@rowanmiller Certainly, you can make these changes.
Besides, we have implemented a new ado layer for mysql, it is not forked form the official repository and port to .net core, it is a independent library which called MySqlConnector, and it is a real MIT licensed and async supported lib.
So our mysql provider supported async operations and more efficiency than the official one. It's  also under a friendly open source license: MIT license.
Thanks for support us.

We have another product, I opened #252, Could you have a look if you have time?

New PR opened https://github.com/aspnet/EntityFramework.Docs/pull/260


 But maybe we can add the i ≠ j conditions to V, f, f_mono, f_hasPullback, t, t', t_fac and get rid of f_id and t_id?

Hmmm, then the data becomes a dependent function... and we would get even more if then elses everywhere. I suppose it could work...
At least, I think we can consider splitting the data into a structure (maybe this can be called GlueData?) and then different kinds of ways to check the axioms can be put on top of that.

I'll try out the approach Johan mentioned. GlueData.mk₂ is definitely useful, but I don't think we should introduce if then else everywhere.

After some more thought, I think GlueData' is only useful when i = j and i =/= j need different approaches, so maybe adding i ≠ j in the data makes sense as well.

There is quite a lot going on in this PR. I see at least four contributions:

GlueData'
Disjoint unions of schemes.
Disjoint unions of prime spectra.
General API about pullbacks/pushouts/strict initials.

It would be much easier to review this important work if you could break up this PR into smaller pieces.


Fix: case where form input does not contain value attribute.

Before fix: field will not be added if form input does not contain value attribute.
After fix: field will be added if form input does not contain value attribute.

@kgv A few commits have been made to master since this PR was opened -- I bet if you rebased this would be more likely to be merged in sooner.

@mholt You're right, so I think I'm going to close this pull request for now.