change capabilities value for ApplePay

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

How can I update/change the value of ApplePay capabilities in xcode? I use ApplePay in my app, and I have different merchantID's for debug and release config's. Is there a way I can change these values from the fastfile? If so, please guide me.
I use xcode 9.2
below is the result of fastlane env:
Stack

Key
Value

OS
10.13.2

Ruby
2.3.3

Bundler?
false

Git
git version 2.14.3 (Apple Git-98)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.13.2 (17C88)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib

OpenSSL Version
LibreSSL 2.2.7

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
9.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do
  desc "Description of what the lane does"

  lane :beta do
	clear_derived_data
	clean_cocoapods_cache
	xcclean
	increment_build_number
  	build_app(scheme: "ParkMobile")
  	crashlytics(api_token: "7140673dfadf1c1d34085114e992033ff233bee2",
              	build_secret: 	"ce2d3126c8b0f71d6f3bc6797e9f3b5b9dbfa19c91a3ceed75b3fc50cf1e985b")
   end

lane :deploy do
	clear_derived_data
	clean_cocoapods_cache
	xcclean
	increment_build_number
	build_ios_app(
  		workspace: "ParkMobile.xcworkspace",
  		configuration: "Release",
  		scheme: "ParkMobile",
  		silent: true,
  		clean: true,
  		output_name: "ParkMobile.ipa"
	)
end
end

`./fastlane/Appfile`
# app_identifier("[[APP_IDENTIFIER]]") # The bundle identifier of your app
<EMAIL_ADDRESS># Your Apple email address

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem
Version
Update-Status

fastlane
2.83.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.0.0

slack-notifier
2.3.2

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.5.3

rouge
2.0.7

xcpretty
0.2.8

terminal-notifier
1.8.0

unicode-display_width
1.3.0

terminal-table
1.8.0

plist
3.4.0

public_suffix
2.0.5

addressable
2.5.2

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.4

tty-cursor
0.5.0

tty-spinner
0.8.0

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.60.0

faraday
0.14.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.1

gh_inspector
1.1.2

json
1.8.3

mini_magick
4.5.1

multi_json
1.13.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.2.1

bundler
1.16.1

faraday_middleware
0.12.2

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.1

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
2.1.0

memoist
0.16.0

os
0.9.6

signet
0.8.1

googleauth
0.6.2

httpclient
2.8.3

google-api-client
0.13.6

io-console
0.4.5

libxml-ruby
2.9.0

this was still a problem and i never received a solution/suggestion to this.


App Power Forms connector artifacts for certification

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)

[ ] I attest that the connector works and I verified by deploying and testing all the operations.
[ ] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[ ] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[ ] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[ ] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[ ] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[ ] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[ ] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

Hi @TerhoAntila! Our certification engineer, Srikanth, is currently on emergency leave. Please expect a delay with your PR. He will return January 31st, 2022. We apologize for any inconveniences.

Hi @TerhoAntila! Our certification engineer, Srikanth, is currently on emergency leave. Please expect a delay with your PR. He will return January 31st, 2022. We apologize for any inconveniences.

Thanks for the info. I was also contacted two days ago via email by Amjed Ayoub. I just can't get over the fact that the whole certification process is so drastically dependent on a single person.

Hi @TerhoAntila! Our certification engineer, Srikanth, is currently on emergency leave. Please expect a delay with your PR. He will return January 31st, 2022. We apologize for any inconveniences.

Thanks for the info. Hopefully everything will turn out for the best with Srikanth and/or his close ones.


Audit - Reports - List period

You can only select the last three months to download the email list.
Visual?

We need to remove the limitation for paid users who can go back further in time.


Plumb HiveConfig logLevel into controller manager

HIVE-2535

/assign @dlom

/lgtm

/override "Red Hat Konflux / hive-on-pull-request"

This doesn't really seem to have done anything.

This doesn't really seem to have done anything.

I think it may be because the logger itself only does Info and Error. And that's our util wrapper -- which I think is there to convert upstream Info to Debug -- but the upstream thing we're wrapping also only has Info and Error. Not sure where to go from here :shrug:


added cpu and memory limits and requests

JIRA
https://issues.jboss.org/browse/RHMAP-17414
Changes
Added cpu limit and memory and cpu request limits  for jenkins and android sdk based on the ticket above.

:eyes:

@matskiv requests updated now for jenkins


Too generic

The article is good. However almost the same story is always told. For example, the article does not tell us about a single use-case. Also, the article does not show the difference between Microservices and other web-service approaches. Also,it  does not address the learning curve or cost or requirements to adopt this approach.

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

ID: 9da8bfc3-34f4-4b28-58bc-44db1d5990b9
Version Independent ID: 8fb2214a-ade9-7cef-4fc8-e6888e5c1fd0
Content: Introduction to microservices on Azure
Content Source: articles/service-fabric/service-fabric-overview-microservices.md
Service: service-fabric
GitHub Login: @athinanthny
Microsoft Alias: atsenthi

Thanks for the feedback! We are currently investigating and will update you shortly.

@egkareem have you looked at any of the other concepts we discuss?

We don't want to make introduction articles too long otherwise they can be hard to read and take in. So some of your questions may be answered in other concept docs.

OK, thanks.


Create Object Registry

This change introduces a global registry for objects; mainly channel and subchannels for now. There is no consumer of the data yet, but I will be using it shortly for channel tracing.
A monotonically increasing uuid is assigned atomically to each object. Each object also knows it's own type, such that all a consumer needs is a uuid. From that they can retrieve both the object and its type.

Please let me know if you have any questions about any of this.

Reviewed 14 of 18 files at r1, 5 of 5 files at r3.
Review status: all files reviewed at latest revision, 9 unresolved discussions, some commit checks failed.

src/core/ext/client_channel/subchannel.c, line 321 at r3 (raw file):

  c = gpr_zalloc(sizeof(*c));
  c->uuid =
      grpc_object_registry_register_object(c, GPRC_OBJECT_REGISTRY_SUBCHANNEL);

Instead of tracking the channel or subchannel objects, I would just track the tracer object.

src/core/lib/support/object_registry.c, line 54 at r3 (raw file):

static void destroy_intptr(void* not_used) {}
static void* copy_intptr(void* key) { return key; }
static long compare_intptr(void* key1, void* key2) { return key1 > key2; }

I think the comparison function is support to have strcmp() semantics -- i.e., it should return less than, equal to, or greater than 0 if key1 is less than, equal to, or greater than key2.

src/core/lib/support/object_registry.c, line 85 at r3 (raw file):

  tracker->object = object;
  tracker->type = type;
  intptr_t prior = gpr_atm_no_barrier_fetch_add(&g_uuid, 1);

g_uuid is not a gpr_atm.  Also, since we're taking the lock anyway, we can just deal with it inside of the lock, in which case we can treat it as a normal integer anyway.

src/core/lib/support/object_registry.h, line 33 at r3 (raw file):

 *
 */

This module needs documentation.  Please add a high-level description of the module and its purpose here on top, and document the purpose and parameters of each method below.

src/core/lib/support/object_registry.h, line 42 at r3 (raw file):

  GRPC_OBJECT_REGISTRY_CHANNEL,
  GPRC_OBJECT_REGISTRY_SUBCHANNEL,
} grpc_object_registry_type;

In our recent design discussions, I think we decided that all nodes in the tree are going to use a common representation, although not every field in that representation will have all of the fields (e.g., only the leaf nodes will have the TCP info).  Given that, it's not clear to me why we need to indicate the type here.  Wouldn't all nodes just be the same type of object?

src/core/lib/support/object_registry.h, line 44 at r3 (raw file):

} grpc_object_registry_type;

void grpc_object_registry_init();

A couple of naming nits:
I think "object" is a bit too broad of a term here.  I suggest using a term like "channel" or "channel_tree" instead.
Also, the term "registry" is being used here to mean something different than what it means elsewhere in C-core.  For example, in the cases of lb_policy_registry, proxy_mapper_registry, and resolver_registry, the term is used to mean "a way for plugins to register new implementations".  In this case, it seems to mean "track a list of active channel objects", which is a different use-case.  I suggest using the term "index" instead here.

src/core/lib/support/object_registry.h, line 44 at r3 (raw file):

} grpc_object_registry_type;

void grpc_object_registry_init();

Given that @ctiller is trying to cut down core/lib to the bare minimum, I think it would make more sense to put this in core/ext instead.  How about putting it in core/ext/grpcz?

src/core/lib/support/object_registry.h, line 47 at r3 (raw file):

void grpc_object_registry_shutdown();

intptr_t grpc_object_registry_register_object(void* object,

Why intptr_t as the type here?  This isn't a pointer, so I would think something like uint64 would make more sense.

src/core/lib/surface/channel.c, line 109 at r3 (raw file):

  memset(channel, 0, sizeof(*channel));
  channel->uuid = grpc_object_registry_register_object(

As mentioned elsewhere, I think we should register the channel's tracer object, not the channel object itself.

Comments from Reviewable


[v1] notes for ssg rewrite

The primary way ssg will work:

ReadConfig

Read in all plugins and markdown and site global info
Create plan to create indexes

Refresh

Pull indexes, run thru all plugins, create desired manifest
Pull existing files/create old Manifest (skipped in DEV)

Plan  (skipped in DEV)

Diff desired vs old manifest
generate list of pages (and other files) to generate

Build (in DEV - only build on demand)

Pull data slices
Generate HTML, JS, CSS and JSON

PostBuild (n/a in DEV)

FullData => RSS
Serverside Redirects?

Concepts:

Site global info is readable anywhere. changing it forces complete rebuild.
We break up data fetching into (cheap) data index and (expensive) data slices. We memoize data slice calls and attach them to data Index in a FullData object, with which we can do final builds like for RSS.
ssg can generate pages, images, and misc files - we just call these "files"
plugins can:

contribute indexes
map from index they own to files
map from FullData index to files
map from indexes to new index? -> eg how to generate tags/categories

Features to design for:

shadowed/eject templates and webpack config
We want programmatic page creation
We want incremental builds
We want a nice dev mode
We want redirects -> clientside as well as serverside
We want typescript/postprocessing/postcss
We want RSS (dataslices)
we can stop and rerun any stages if misconfigured
REPL for data
Filesystem routing

nonfeatures

No js in main page - just has mount points for svelte
no clientside routing
no functions/api routes

===
https://github.com/sw-yx/ssg-prototype

Other attempts at a Svelte Site Generator

Sapper
https://github.com/jakedeichert/svelvet/issues/31
https://github.com/PKlknr/svatic

https://twitter.com/addyosmani/status/1261183257762164736?s=20

add remark autolink headings https://github.com/sw-yx/swyxdotio/pull/35#issuecomment-632162753


Show config values in task info

Currently cci task info <task> shows us the description, class, and options of the task. But it does not show the values from project config. So we end up with misleading situations like cci task info push_qa which under Options says "orgs (required): The path to a file containing one OrgID per line." But the task can actually be run without this option since the config populates it for us. We should somehow show how the config is merged into the options.

This is actually a bug because the functionality was there, just was looking up the default incorrectly.


[Feature]: Developers should only be able to get the current droplet for apps they have access to

Background
As an admin
I want to assign the SpaceDeveloper role to the users I trust
So that they can push apps to their spaces
Acceptance Criteria
GIVEN two spaces space1 and space2 exist
AND app1 exists in space1
AND app2 exists in space2
AND user has a RoleBinding to the SpaceDeveloper ClusterRole in space1

WHEN I get the current droplet for app1 as user
THEN I see it working

WHEN I get the current droplet for app2 as user
THEN I get the following response:

HTTP/1.1 404 Not Found
Content-Type: application/json

{
  "errors": [
    {
      "code": 10010,
      "title": "CF-ResourceNotFound",
      "detail": "Droplet not found"
    }
  ]
}

@gcapizzi I think this should be returning a 404 rather than a 403 on failure

@kieron-dev I have updated acceptance, still not 100% sure about the title and description (CC has many 404 variants) but this should do for now!

Switched 'detail' in description to 'Droplet not found' after trying on cf-on-vms

Switched 'detail' in description to 'Droplet not found' after trying on cf-on-vms

Take it all back! Wrong endpoint


python instalation instruction wrong

your instructions r wrong ...
see my comments

Working on a clean install. Will close this when the changes are done.

Clean install done using venv


Filtering out all tags except those in a chosen driver

It would be nice if it could do that.

Thanks, adding to my todo list.


Remove ineffectual assignments in udev_test.go

Fixes #166
According to the Go Report Card for this project, there are two occurrences where the err variables are declared, but not used:

Codecov Report

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

@@           Coverage Diff           @@
##           master     #167   +/-   ##
=======================================
  Coverage   54.31%   54.31%
=======================================
  Files          42       42
  Lines        1598     1598
=======================================
  Hits          868      868
  Misses        668      668
  Partials       62       62

Continue to review full report at Codecov.

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


rtcp_sender_report::report_blocks is always empty

Hello,
As the title says, there is no content to the rtcp_sender_report. This issue can be replicated with examples/rtcp_hook.cc.
A couple more questions:
What is the intended way of calculating the packetloss? Do the values rtcp_report_block::fraction and rtcp_report_block:lost convey the same information but fraction is basically total / lost?

Thanks!
Just to clarify, if I have a one-way stream, what does receiver_report report as loss? So, if I am streaming video and I want the receiver to have information about lost video packets, do I need to parse the receiver_report on the sender side and then send it to the receiver (as an APP packet for example)?

Loss is basically a sequence number that has not arrived. I don't currently remember the details in uvgRTP for this.
Usually it is the sender who is interested in how many of its packets are being lost so it can react. The data does exist inside uvgRTP receiver, but currently there is no way to retrieve it. Using APP packet is probably the easiest way to do this, but it certainly is not the intended way.

Okay, thank you for clarification


[red-knot] Rules and rule selection

Add a Rule concept
Implement rule selection (settings)

Non Goal

Supporting different severities

One thing that I think is very valuable about mypy is per-module configuration (in config file or inline), it would be great if red-knot had similar expressivity


Began adding signing process to verification page

Added basic styling for verification page
Added /api/nonce method to server
Added ability to perform basic message signing on verification page
Added stub /api/sign_in method to server

merged into master to keep it simple


Add openscapes credentials to repo

These were never added to the repo!

sounds great - I'm not quite sure what this means (e.g., why we were able to deploy the hub at all given that we didn't have credentials for it), but this sounds like a good thing to do :-)

@choldgraf, the AWS clusters we deploy use kops, and kops saves the state of the cluster in an S3 bucket, so if you have access to the AWS account (and access to that bucket), you can actually get admin credentials using the kops CLI (exporting the kubeconfig file) and do stuff on the cluster: https://kops.sigs.k8s.io/cli/kops_export_kubeconfig/

More details about generating this file lives here: https://pilot-hubs.2i2c.org/en/latest/howto/operate/add-aws-hub.html#deploy-the-new-hub


Migration

Welcome to the future!

Current coverage is 100% (diff: 100%)

Merging #12 into develop will not change coverage

@@           develop   #12   diff @@
====================================
  Files           26    26
  Lines          501   501
  Methods          9     9
  Messages         0     0
  Branches        64    64
====================================
  Hits           501   501
  Misses           0     0
  Partials         0     0

Powered by Codecov. Last update f107a84...c8cf204


Add seamless.ai directory and file

Add seamless.ai documentation and new directory under /tech-stack
related issue: https://github.com/meltano/internal-marketing/issues/652

@therebbie are you available to review and merge?


Broken link

specific documentation about the schema files

Here )is the readme with the broken link.

From what I can tell, this was already resolved, as the link is no longer broken.


dpp::cluster::current_application_get throws exception

Describe the bug
when i call dpp::cluster::current_application_get, i get the following error:
terminate called after throwing an instance of 'nlohmann::detail::type_error'
  what():  [json.exception.type_error.302] type must be boolean, but is null

Expected behavior
no exception and the application returned
System Details:

DPP v10.0.8 (01-May-2022)

nvm already fixed


The certificate of 'cld-smact-02.pd.infn.it' is not trusted.

I am trying to build the file using the instructions on the master. However it fails building Dockerfile-environment.
--2022-12-07 23:50:59--  https://cld-smact-02.pd.infn.it/artifacts/repository/repo-files/mc-extras.repo
Resolving cld-smact-02.pd.infn.it (cld-smact-02.pd.infn.it)... <IP_ADDRESS>
Connecting to cld-smact-02.pd.infn.it (cld-smact-02.pd.infn.it)|<IP_ADDRESS>|:443... connected.
ERROR: The certificate of 'cld-smact-02.pd.infn.it' is not trusted.
ERROR: The certificate of 'cld-smact-02.pd.infn.it' hasn't got a known issuer.

Due to a misunderstanding the certificate for the host has been renewed with a new one issued by a different CA.
We correct the documentation but not the docker configuration.
I've just committed a fix for that, moreover I've changed also the host name. "cld-smact-02" was just a test site, now the production level site is "nexus.pd.infn.it".
Unfortunately I'm experiencing several problems with C8S repositories, a package seems to be missing so I put a temporary workaround.
Sorry for the inconvenience and let me know if the fixes work fine.


Strange output from "go tool vet"

Please answer these questions before submitting your issue. Thanks!

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

go version
go version go1.6.2 windows/amd64

What operating system and processor architecture are you using (go env)?

go env
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\GoLib
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GO15VENDOREXPERIMENT=1
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1

What did you do?

Ran "go vet", producing mysterious results
A tiny Go source file that demonstrates the issue (which I named "vet_check.go"):
package xxx

type XXX struct {
    s string
}

func (xxx *XXX) Peek(length int) string {
    return xxx.s
}

What did you expect to see?

No suggestions.

What did you see instead?

go tool vet \junk\vet_check.go
\junk\vet_check.go:7: method Peek(length int) string should have signature Peek(int) ([]byte, error)

If the name of the method is changed from Peek to Peekx, problem goes away.
I was able to reproduce this problem with my test program isolated from all other Go source files, in its own directory, and the $GOPATH environment variable removed (wondering if there might have been interaction from other source files -- apparently not).

Peek is on the list of canonical methods in cmd/vet/methods.go.  A Peek method is normally expected to have the signature Peek(int) ([]byte, error), just like Read is expected to be Read([]byte) (int, error).
So, I'm going to close this issue as working as expected.  Note that the warnings from vet are advisory.  Your code is likely still correct.

Hi Ian --
Thanks for the quick reply -- that clears up the mystery.
A thought: I had never heard of "canonical methods" before, and spent a
fair amount of time trying to figure out why on earth my method signature
was wrong. Perhaps adding a bit of explanation to the message issued by
"vet" could save others an hour or so of wild-goose-chase time...
Bob
On Tue, Jun 7, 2016 at 9:58 AM, Ian Lance Taylor<EMAIL_ADDRESS>wrote:

Closed #15990 https://github.com/golang/go/issues/15990.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/15990#event-684659912, or mute the
thread
https://github.com/notifications/unsubscribe/AFYNAeei4qZV4WP5m-dIjtDqiIxdvdw0ks5qJaNHgaJpZM4IwGGM
.


Added deprecation notice to the top of document, with a link to tstn-020

Do you want to remove the content as well?


feat: add documentation about IPv6 rotation

closes https://github.com/TeamPiped/Piped/issues/3242

Hello @Bnyro, it looks like that new contents is not shown in https://docs.piped.video/docs/self-hosting/. Could you please update the website to use the up-to-date contents?

Kavin is the only one having access to the docs website.

Hello @FireMasterK, could you please update the website to use the up-to-date contents from this repo?

it looks like that new contents is not shown in https://docs.piped.video/docs/self-hosting/. Could you please update the website to use the up-to-date contents?

Thanks!


Adding constexpr to static const functions

The name() function seems to always return a pointer to a compile time defined string. It has the following signature:
static const char* name();
I see no reason it should not be possible to add constexpr to the name functions other than backwards compatibility issues. Adding constexpr would enable the use of the function in compile time initialization of parameters in user code. Now it is not possible to do so which means duplication of name definitions. The same name thus must be defined in the schema file and in the c++ sources.
My intended use is as follows:
struct Xml_tags
{
    using Max_qos = mqtt5::field::SubscribeOptionsMembersCommon::MaxQosCommon;
    constexpr char static * max_qos = Max_qos::name();
    // More tags follows
};

Hi @ponast,
I try not to abuse usage of constexpr in my work in general, and it CommsChampion Ecosystem in particular. Although C++ is quite flexible in allowing indiscriminate usage of this keyword and spits out errors only when the result of constexpr function is attempted to be used for compile time code generation conditions (such as using classes from type_traits), but evaluation of the return value at compile time cannot be calculated.
My convention is to add constexpr only for functions that are expected to be used for compile time evaluation, mostly for boolean expressions of std::conditional<...> or similar. It becomes a "contract" for the function that it's usage of the compile time evaluation will never fail. Once constexpr - always constexpr. Anything else I leave for the regular compiler optimizations.
As for the suggested change, the constexpr on the return type of const char* doesn't make much sense, it doesn't preserve the size of the string, i.e. it's not const char[N]. To allow the compile time strings the name should be a static variable, rather than a function
static constexpr const char NameStr[] = "some_name";

However, my experiments show that some compilers (clang for example) don't handle this case properly. The link stage reports error of inability to find the string symbol:
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid or unhandled FORM value: 0x23
...:(.text+0x14e2e): undefined reference to `SomeField::NameStr'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

However if the constexpr string is put in the anonymous namespace in the cpp file instead of the static member of the class, everything compiles normally.
Also worth mentioning that when developing initial versions of the code generator I intended to make sure that the strings are not duplicated, i.e. having single class accumulating all the strings to avoid repetition. However, when analyzing the binary code produced by the compiler I noticed that it cleans up all the duplicates by itself during its optimization stage, i.e. the following classes will reference the same and the only "SomeName" string in the read only section of the binary.
struct SomeField
{
    static const char* name()
    {
        return "SomeName";
    }
};

struct SomeOtherField
{
    static const char* name()
    {
        return "SomeName";
    }
};

As the result complicating the code for strings storage wasn't worth the effort.
Another thing: I personally use CommsChampion Ecosystem at work for the old product that is compiled using quite old gcc-4.8. So I put a significant effort not to introduce code supported by C++14/17/20, but not C++11 or having difficulties being compiled with gcc-4.8. At least not at this stage.

The bottom line, I don't think your suggestion of adding constexpr to the signature of name() member function has any (significant) added value.

Thanks for the thorough elaboration. You definitely have considered the topic in more depth than I have. I will take a look at my own use of constexpr which until now has been indiscriminate.


Question about adam_onecycle optimizer

Hi,
I'm currently using a custom adam_onecycle optimizer implemented in this codebase, with true_wd=True and bn_wd=True, along with its associated scheduler. However, I've noticed that PyTorch provides AdamW optimizer and OneCycleLR scheduler, which seem to have similar functionality.
I ran some experiments switching between custom adam_onecycle and PyTorch's implementation, and I noticed significant performance differences.
Could you help me in understanding the main differences between:

custom adam_onecycle optimizer (with true_wd=True, bn_wd=True) + its scheduler
PyTorch's AdamW + OneCycleLR scheduler

Specifically, I'm interested in understanding what might be causing the performance differences I observed.
Thanks!

Hi,
I'm currently using a custom adam_onecycle optimizer implemented in this codebase, with true_wd=True and bn_wd=True, along with its associated scheduler. However, I've noticed that PyTorch provides AdamW optimizer and OneCycleLR scheduler, which seem to have similar functionality.
I ran some experiments switching between custom adam_onecycle and PyTorch's implementation, and I noticed significant performance differences.
Could you help me in understanding the main differences between:

custom adam_onecycle optimizer (with true_wd=True, bn_wd=True) + its scheduler
PyTorch's AdamW + OneCycleLR scheduler

Specifically, I'm interested in understanding what might be causing the performance differences I observed.
Thanks!

Does adamw perform better than adam? How much better?


After editing multiple Translation equivalents, the field shows only one

When editing multiple (comma-separated) Translation equivalents in Dutch, after clicking the OK button, only one translation is shown. After leaving Edit mode, still only one translation is shown. Only after refreshing the page, all translations are shown.
(note: if you edit the translations again before refreshing the page, only the shown translation can be edited)

Ah, apparently, I didn't completely clean up the mess I made for #64 . It was only a visual thing (as you already discovered, it saved correctly in the database), but I can imagine this is highly confusing. It now works again!


Fixed screenshot in documentation

The screenshot applied to the current documentation is not correct. I have uploaded the correct screenshot.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: rahulrai-in sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@rahulrai-in : Thanks for your contribution to the Azure documentation! The author, @shizn, has been notified to review your proposed change.

#sign-off Looks cool! Thanks so much.


Bigblade

Add support for multi-pod machines
Switch to new application-as-shared-object flow for simulation
Move tests into independent directories
Add support for Credit limit CSR
Add bigblade-vcs platform as default platform
Add tapeout-vcs platform for running on a simv in an external repository
Add RISC-V compilation flow with support for per-object gcc / LLVM compilation

285 changes are from moving tests into independent directories
15 are from unit tests
The remaining changes are mostly to support pods, DMA, and the two new platforms.


[TOMEE-4140] Update MicroProfile to 6.0

this updates MicroProfile to 6.0

i may have been a bit agressive on the update. should i revert my changes on fault tolerance fallback (fallback to 1.0 ?)

What is the difference to https://github.com/apache/tomee/pull/997 ? Seems to have an overlap (regarding MP6) ?

What is the difference to #997 ? Seems to have an overlap (regarding MP6) ?

Edit:

PR 997 will only update properties names (without changes to versions numbers)
this PR (1009) will only update versions numbers
this PR will have to be rebased upon 997

I think, that the target should be https://github.com/apache/tomee/pull/1005

rebased and still intended to be merged AFTER PR https://github.com/apache/tomee/pull/997

@rzo1 @jeanouii rebased and ready


Eviction by key for RMap

Is your feature request related to a problem? Please describe.
If I set the RMap with write-behind, then I can't evict a key manually without affecting my storage.
Describe the solution you'd like).
RMap to have evict method that will only evict from Redis without affecting external storages when using the write-behind strategy.
Describe alternatives you've considered
Possibly can be solved by adding evict(key) and simply calling removeOperationAsync (that is protected encapsulation thus no simple workaround).

you can do it with Map object acquired without defined MapWriter

you can do it with Map object acquired without defined MapWriter

HI, @mrniko thank you for the suggestion. It indeed solves the problem.
So maybe this is just a suggestion to make it easier, not really a blocker.

Sorry, this doesn't fit in architecture of RMap object.


Insurgency: Sandstorm

Game Title
Insurgency: Sandstorm
Game Website
https://www.focus-entmt.com/en-us/games/insurgency-sandstorm
Anti-Cheat Software
Easy Anti-Cheat
Status of the Anti-Cheat
❔ Unconfirmed
Proof of Mention
N/A

duplicates #3


task: add iframe content restrictions

Description: Adds a sandbox attribute to our iframes in order to apply some restrictions and make things more secure. The secure payment iframe gets allow-forms allow-same-origin allow-scripts. The overlay iframe (used, for example, for the intermediary BOIPA payment screen) uses the same but with the addition of allow-popups, as we're using window.open in that case.
Ticket: https://gr4vy.atlassian.net/browse/TA-1384

:rocket: PR was released in v2.11.0 :rocket:


uds.ugrid.sel_points() also broadcasts face_dimension on variables without it

The code below adds a face_dimension to variables that not defined there if some of the points are out of bounds.

import numpy as np
import xugrid as xu
import xarray as xr

uds = xu.data.adh_san_diego()
facedim = uds.grid.face_dimension
facesize = uds.grid.sizes[facedim]
uds['face_var'] = xr.DataArray(np.ones((facesize)), dims=facedim)
ds = uds.ugrid.sel_points(x=[475153,475153,1],y=[3621027,3621027,1])

print(uds.elevation.dims)
print(ds.elevation.dims)

Prints:
('node',)
('node', 'face')

If only providing points that are in bounds, this issue does not occur and ds.elevation has only a node dimension.

This is due to the fact that isel doesn't broadcast, but .where does.
Might have to solve it by filtering variables based on dimension, then only applying where if the dimension is present.


Feature+Fix: Update Reviews API

[x] This PR updates the parser to the ^4 release
[x] Fixes reviews API call for Anime/Manga Reviews, Reviews, User Reviews
[x] Adds sort, spoiler, and preliminary filters for Anime/Manga Reviews, and Reviews. (User Reviews does not support this)
[x] Update tests
[x] Update docs

@pushrbx New commits attempt to resolve the repeating of code. The implementation could be the starting+testing point for this PR before we put this elsewhere.
I've introduced a QueryResolver class for handling queries that will be passed into the scraper instance. It includes a validation layer with ValidationTypeInterface being the first of its type. It also accepts a custom exception to throw in the event the validation fails. Validation is optional and in this case, is only used for sort.
ScraperHandler bootstraps the QueryResolver along with the getter function name and the respective request object (thanks for the example code!). There are instances where the name of the request class could differ from the getter function of the scraper. So we need to provide their values separately.
A util method, getSerializedJSON(), is also present in ScraperHandler to convert the response object into a serialized JSON.
Let me know what you think.


Latest Yolov4 Models Not Working

I have been trying to load in the latest Yolov4 models below to Viseron for testing and when I do, no objects get detected.
https://github.com/AlexeyAB/darknet/releases/tag/yolov4
The scaled Yolov4 model seems interesting, so was trying to see if that would work.

Great idea, hadn't seen those!
I need to upgrade OpenCV for it to work, will do so soon!

That would be awesome, thanks! I updated the OpenCV version to the latest release, 4.5.4 in the .env file and compiled the OpenCV docker container from source, but it still didn't work.

Did you also build the main image? They are chained together

Yeah, built the OpenCV image followed by the main image. From reading the github threads for OpenCV, it's hard to tell if the required updates are actually in the latest build or not. https://github.com/opencv/opencv/issues/18975

Seems to be in 4.5.4 according to this comment

I see this error in the debug log when it attempts to perform object detection with the yolov4-csp weight and cfg:
viseron    | Exception in thread object_detection:
viseron    | Traceback (most recent call last):
viseron    |   File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
viseron    |     self.run()
viseron    |   File "/usr/lib/python3.8/threading.py", line 870, in run
viseron    |     self._target(*self._args, **self._kwargs)
viseron    |   File "/src/viseron/detector/init.py", line 105, in object_detection
viseron    |     frame_to_scan.frame.objects = self.object_detector.return_objects(
viseron    |   File "/src/viseron/detector/darknet/init.py", line 108, in return_objects
viseron    |     objects = self.post_process(labels, confidences, boxes)
viseron    |   File "/src/viseron/detector/darknet/init.py", line 81, in post_process
viseron    |     self.labels[int(label[0])],
viseron    | IndexError: invalid index to scalar variable.

Seems the code has to change as well, see here
Not sure how to apply it right now tho but i will get to it soon!

let us know if when can try  yolo4...

Will be in #306 when its done

i will follow the progess on https://github.com/roflcoopter/viseron/pull/306
thanks for notifying here 🤝

YOLOv4 and even YOLOv7 is available in v2


Update Supported Windows OS by DSC Extension to include Server 2022

Related Issue #107794

@bobbytreed

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

emailed BR

IM'd author

@ericd-mst-github - can you take a look at this update and sign off on the PR if you approve?
@bobbytreed - fyi.

#sign-off


Add Form Validator

Validate data in signup and login method
Use express-validator

First time contributing, looking to add the validator.

I want to test on postman but I can't start the server cause you're running the dist folder. I don't want to change anything. How can i start the server?

still not starting the server. Just watching for file changes.

Ok. what node version you are using. my node verison is 18. may be it would be the reason.
did it create dist folder or not??

v20 and the dist folder got created.  I could make a pull request and you test it. I'm sure it works


Error: Cannot read property ... of undefined

Error in MakeCode.
Here's details on the likely cause/workaround:  https://forum.makecode.com/t/c-extensions-issues/6836/2

Fixed --- added empty return to all empty shims in .ts.


Linux Mint 21.1 -- Nothing found in deb-get repo

Reporting a bug 🐛
Should this be working on Linux Mint? For about 6 months or so, it worked fine but I had to use "--include-unsupported" to list anything.
However, today, all is not well. I think it's after a big Mint update.
I think it has something to do with the first line in the output for deb-get update, where it says it can't open 01-main.repo. I don't know why this would be the case. I tried uninstalling deb-get and running the installation step again. I'm not sure what I should do from here.
Expected behavior
Listing available packages (including unsupported) should list them all, and show the ones I have installed.
Installing a package that is available according to the list in the readme should install it.
Actual behavior
Listing available packages only ever shows "deb-get" even if I use the --include-unsupported flag:
$ sudo deb-get list --include-unsupported
deb-get                         [ installed ]

Attemping to install a known package results in it telling me it is unsupported:
$ sudo deb-get install franz
  [!] ERROR! franz is not a supported application.

Steps to reproduce
Install Linux Mint as per the system information below.
Install deb-get using the step at the top of the readme.
Attempt to use the commands as listed above in "actual behaviour".
System information
Run the following a paste the output below:
/etc/os-release
cat /etc/os-release

Command not available in my OS version but I think this is the relevant info:
Operating System: Linux Mint 21.1 Cinnamon
Cinnamon Version: 5.6.8
Linux Kernel: 5.15.0-75-generic
deb-get version
deb-get version

0.3.9
deb-get update
deb-get update

$ sudo deb-get update
[+] Updating /etc/deb-get/01-main
tail: cannot open '/01-main.repo' for reading: No such file or directory
No URLs found in /01-main.repo.tmp.
[+] Updating cache of supported apps in the background
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Ign:2 http://packages.linuxmint.com vera InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:4 https://crawl.develz.org/debian crawl InRelease
Hit:5 http://packages.linuxmint.com vera Release
Hit:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:9 https://updates.signal.org/desktop/apt xenial InRelease
Hit:10 https://packages.microsoft.com/ubuntu/23.04/prod lunar InRelease
Hit:11 https://packages.microsoft.com/repos/vscode stable InRelease
Ign:12 https://repo.vivaldi.com/archive/deb stable InRelease
Hit:13 http://repo.sinew.in stable InRelease
Hit:14 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:15 https://repo.vivaldi.com/stable/deb stable InRelease
Hit:16 https://repo.vivaldi.com/archive/deb stable Release
Hit:17 https://repo.vivaldi.com/stable/deb stable Release
Hit:20 https://ppa.launchpadcontent.net/apandada1/foliate/ubuntu jammy InRelease
Hit:21 https://apt.syncthing.net syncthing InRelease
Hit:22 https://ppa.launchpadcontent.net/touchegg/stable/ubuntu jammy InRelease
Hit:23 https://ppa.launchpadcontent.net/unit193/encryption/ubuntu jammy InRelease
Reading package lists...
W: https://crawl.develz.org/debian/dists/crawl/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

It looks like if you delete deb-get files in /etc/deb-get and reinstall it, it works until you do anything with Mint's own update manager, after which, the behaviour in the original post above will kick in.

Possibly related to #822
One thing to note: do not ever sudo deb-get ...  - that often breaks things.
Please do a deb-get clean and also sudo rm /var/cache/deb-get/*lock then reinstall deb-get and do a deb-get update. Once it has finished building the cache of supported apps (wait for the background process to finish) do you still have issues ?
I have a Mint 21 with working deb-get from working on 822 so I'll take a look at updating that and see what happens.

Ok - I fired up my Mint 21, deb-get update was normal (showed a pending update for deb-get, which I applied - also fine).  There were lots of (~800M) of updates including kernel pending so I used the updater to apply those and reboot.  deb-get still works fine and happily installed franz... I cannot reproduce your issue and am fairly certain this is all due to having run with sudo.  Amongst other things the sudo environment will most likely miss the API key for github so updates and the caching will break (which will break the app's view of supported apps ....) .  If you cannot get to a working state maybe pop into the discord for further help.

Apologies for the late reply -- alright, it sounds like I've over-sudo'd and caused this. That's a force of habit for Linux novices, as we usually get the idea doing anything involving adding/removing software typically needs sudo'd. Worth a wee note in the usage guide in case anyone else has this misconception?
Thanks a lot for taking the time to try it in Mint to confirm for me.
I'll be able to try this on my laptop tomorrow to see if I can get back into a working state, and if not, I'll hop onto the discord.

Ok - I fired up my Mint 21, deb-get update was normal (showed a pending update for deb-get, which I applied - also fine). There were lots of (~800M) of updates including kernel pending so I used the updater to apply those and reboot. deb-get still works fine and happily installed franz... I cannot reproduce your issue and am fairly certain this is all due to having run with sudo. Amongst other things the sudo environment will most likely miss the API key for github so updates and the caching will break (which will break the app's view of supported apps ....) . If you cannot get to a working state maybe pop into the discord for further help.

The Discord is quite quiet at the moment -- but whilst I wait, would it be possible for someone to list the steps someone should do to clean-slate a screw-up like mine? If it works on a clean VM, it theoretically should work if I manage to clean-slate deb-get somehow. I guess such steps would be handy in a troubleshooting page or the readme for anyone else that ends up with things in a mess.

The docs could indeed benefit from some extra caveats and an FAQ/troubleshooting page.
As for clean-slating, my approach would be something like:

optionally back up /etc/deb-get/installed and /etc/deb-get/aptrepos and any overrides (/etc/deb-get/99-local.d/) or non-default external repos somewhere
apt remove deb-get
sudo rm -r /var/cache/deb-get /etc/deb-get


Refactor EVM.BridgeRouter from interface to resource & impl

Closes: #60

For contributor use:

[x] Targeted PR against main branch
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Code follows the standards mentioned here.
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[x] Added appropriate labels

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

Project coverage is 85.81%. Comparing base (428634e) to head (338c076).
Report is 85 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #61      +/-   ##
==========================================
+ Coverage   82.88%   85.81%   +2.92%
==========================================
  Files          18       19       +1
  Lines         818      881      +63
==========================================
+ Hits          678      756      +78
+ Misses        140      125      -15

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


GUI NFT DID assignment crash

What happened?
Attempted to transfer an NFT to my profile. Something went wrong.
Windows 11.
Version
1.5.0
What platform are you using?
Windows
What ui mode are you using?
GUI
Relevant log output or stacktrace
Cannot read properties of undefined (reading 'map')

URL
#/dashboard/nfts

Stacktrace
at webpack://@chia/gui/src/components/nfts/NFTMoveToProfileDialog.tsx:220:17 map
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:172:114 useLayoutEffect
at webpack://@chia/gui/node_modules/react/cjs/react.production.min.js:23:112 useLayoutEffect
at webpack://@chia/gui/src/components/nfts/NFTMoveToProfileDialog.tsx:211:36 useMemo
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:157:136 Ch
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:267:459 b?b.sibling:null}I
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:250:346 Pj
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:250:277 Pj
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:250:137 Pj
at webpack://@chia/gui/node_modules/react-dom/cjs/react-dom.production.min.js:243:162 Lj

Aaaaaaand on app restart, it looks like my keys are all gone.
So I stopped the app again, and notice there's still start_full_node and start_wallet processes hanging out in my perfmon.
This is looking pretty bj0rken. I'm gonna give it another couple of hours for those processes to finish, lest I corrupt my DB unnecessarily, but a reboot seems likely in the near future.

(this bug duplicates #841)

okay ... I do not know Windows process management well enough to deal with all these start_* processes which appear to have lost their controlling chia.exe (while still writing a sustained 6-7MB/s to disk) - guess it's time for a reboot.


tests(ci/cd): add codecov upload step

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Touch events doesn't work on mobile devices

I'm trying to use onClick event in my app- the event works fine on the browser (desktop) while on mobile devices (including chrome dev tools in mobile mode) the event wasn't fired.
<ReactKonva.Stage height={150} width={230} onClick={chooseArea}>

This is probably unclear in Konva docs. But you just need to add onTap listener.
<ReactKonva.Stage height={150} width={230} onClick={chooseArea} onTap={chooseArea}>

Thanks a lot!
Maybe its a good idea to add it to this repo's README.

I do have a listener, I'm getting data back, it's just all coming in the wrong order.
        <Stage
          style={{ background: 'red' }}
          width={768}
          height={400}
          onTap={this.handleCanvasClick}
          onContentTouchEnd={this.handleCanvasRelease}
          onContentTouchMove={this.handleMouseMove}
        >
          <Layer ref={this.layer}>
            {this.state.shapes.map((shape) =>
              (console.log(`And the shape is ... : ${JSON.stringify(shape)}`))
            )}
          </Layer>
        </Stage>

If I log that, using my mobile phone in dev mode through chrome...
I get 'a movement', then it triggers the touch, then it tries to draw a shape, with width: 0 height: 0, and no origins, then it triggers the release. The touch is happening after the movement?
Here are my handlers...
  handleCanvasClick = (e) => {
    console.log(`Got a Touch at ${JSON.stringify(e)}`);
    // otherwise, add a new rectangle at the mouse position with 0 width and height,
    // and set isDrawing to true
    const newShapes = this.state.shapes.slice();
    newShapes.push({
      x: e.evt.layerX,
      y: e.evt.layerY,
      width: 0,
      height: 0,
    });

    this.setState({
      isDrawing: true,
      shapes: newShapes,
    });
  }

  handleCanvasRelease = () => {
    console.log('And we\'re done!');
    // if we are drawing a shape, a click finishes the drawing
    if (this.state.isDrawing) {
      this.setState({
        isDrawing: !this.state.isDrawing,
      });
    }

    const currShapeIndex = this.state.shapes.length - 1;
    const currShape = this.state.shapes[currShapeIndex];
    if (currShape.width < 50 || currShape.height < 50) {
      this.state.shapes.splice(currShapeIndex, 1);
    }
  }

  handleMouseMove = (e) => {
    console.log(`We're moving! ${e}`);
    const mouseX = e.evt.layerX;
    const mouseY = e.evt.layerY;

    // update the current rectangle's width and height based on the mouse position
    if (this.state.isDrawing) {
      // get the current shape (the last shape in this.state.shapes)
      const currShapeIndex = this.state.shapes.length - 1;
      const currShape = this.state.shapes[currShapeIndex];
      const newWidth = mouseX - currShape.x;
      const newHeight = mouseY - currShape.y;

      const newShapesList = this.state.shapes.slice();
      newShapesList[currShapeIndex] = {
        x: currShape.x,
        y: currShape.y,
        width: newWidth,
        height: newHeight,
      };

      this.setState({
        shapes: newShapesList,
      });
    }
  }

For anyone who ends up here and wants to implement more complex touch events on desktop as well as mobile, you can try using onContentTouchstart, onContentTouchmove and onContentTouchend for Stage as follows:
<Stage
       width={window.innerWidth}
       height={window.innerHeight}
       onContentTouchstart={handleMouseDown}
       onContentTouchmove={handleMouseMove}
       onContentTouchend={handleMouseUp}
       onContentMousedown={handleMouseDown}
       onContentMousemove={handleMouseMove}
       onContentMouseup={handleMouseUp}
       ref={(node) => {
           stageRef = node
        }}
>
</Stage>


add Lazy Type

Hi! I want to use Yup.lazy, but I get a type error.
https://codesandbox.io/s/lingering-frog-0bryw?file=/src/App.tsx

It worked fine when I changed the type to any, so I added the Lazy type to Schema.
Lazy seems to be the same as the Schema type.
// tslint:disable-next-line:no-empty-interface
export interface Lazy extends Schema<any> {}

Thanks @Ryomasao


When install laravel has error??

Missing argument 3 for RachidLaasri\LaravelInstaller\Helpers\DatabaseManager::response(), called in E:\wamp64\www\laravel\2\vendor\rachidlaasri\laravel-installer\src\Helpers\DatabaseManager.php on line 59 and defined

Kindly refer to Issue #120. I have posted a possible solution to fix and run this without issues.


Issue facing during Web3.Storage

Problem description
We have setup Web3.Storage credentials while launching Guardian but facing error with account.
Step to reproduce
We are facing "account is suspended" error when using Web3. storage account credentials.
Expected behavior
Account should be activated and used without any error and should be used while launching Guardian

This is no longer valid


[logging] Log RFC3339 timestamp for better granularity

Background
Currently, the timestamp in structured logs is just the day and time, in
seconds.  This gives us better granularity by using a well known time
format that will let us order all of the logs.
We should be using the log time timestamp instead of the logstash submission time @timestamp.  Through some log diving that had been up to 2 seconds of a difference, and as a result could cause some log ordering issues.  First step is to fix this timestamp so it can be used to order logs, then change the logstash configuration to use this timestamp.
Related Reference
https://docs.rs/chrono/0.4.13/chrono/struct.DateTime.html#method.to_rfc3339_opts

/land

:broken_heart: Test Failed - Build images and run cluster test

/land

:broken_heart: Test Failed - commit-workflow

/land


Not showing full images

It seems like the image viewer is broken. The thumbnail-quality image shows up full-screen sized for a second, then just white. The full image never comes up. The image viewer interface seems like it's loading up fine.

Is your adblocker blocking the images by chance?

idk what I did, but it's working now. The adblocker was only blocking trafficjunky.

Ok, never mind. I'm getting this problem in sankakucomplex and it doesn't seem to be working.

I recommend using uBlock Origin or uMatrix for blocking ads, I know those do not interfere with this image viewer script.

This is what ublock origin shows me on sankakucomplex

I have turned on every single ruleset except uBlock experimental and a few regional ones and I still do not get a rule that blocks the image. Refresh the page, click the icon to the right of the eyedropper, try opening an image and see what is being blocked.

Ok, well now I just see the thumbnail-quality picture in full-window size.
What I see from the ublock origin is this

This afr thing is blocked by Easylist


Windows 10 Insider Preview DirectShow Image Capture Crash

In the xx319 build and later, opening the camera in the tracker plugin causes a crash. Camera apparently works fine in the native camera app as well as "dsgrab".
My hypothesis is either a Windows bug, or this new build doesn't like us setting the powerline frequency.
cc @d235j

A test would be to pass &nullAction as the second param to new directx_camera_server here: https://github.com/OSVR/OSVR-Core/blob/master/plugins/videobasedtracker/DirectShowHDKCameraFactory.h#L91 , with that function defined as:
inline void nullAction(IBaseFilter &) {
	// Might be needed on newer builds of Windows.
}

(I've sent such a build to one user experiencing this)
In any case, unless this is a documented intentional change, it's a bug in the Windows preview build and should be reported through their feedback mechanisms - all the code there has proper checks of the hresult as far as I can tell and should be logically sound.

That code is using a deprecated header/struct to talk to the camera.  That struct broke when reading from files several years back, but kept working for cameras.  Maybe they finally did away with this for cameras as well.  Don't remember the details, but it was a version-2 struct change that took things from 32 bits to 64 bits as I recall.

The issue I had before did not have to do with the powerline frequency, so it may be a red herring.

The non-deprecated way is to use the Windows Media Foundation API (described at https://msdn.microsoft.com/en-us/library/bb970511(v=vs.85).aspx). That said, the old methods should not break entirely — but neither should they be relied on.

Hi Guys,
I will no longer be working on the OSVR project, and should be removed from
this mailing list. I'm not sure how to unsubscribe. Perhaps someone can
help me to do so.
Stan
On Wed, May 18, 2016 at 8:48 AM, Ryan Pavlik<EMAIL_ADDRESS>wrote:

A test would be to pass &nullAction as the second param to new
directx_camera_server here:
https://github.com/OSVR/OSVR-Core/blob/master/plugins/videobasedtracker/DirectShowHDKCameraFactory.h#L91
, with that function defined as:
inline void nullAction(IBaseFilter &) {
// Might be needed on newer builds of Windows.
}
(I've sent such a build to one user experiencing this)
In any case, unless this is a documented intentional change, it's a bug in
the Windows preview build and should be reported through their feedback
mechanisms - all the code there has proper checks of the hresult as far as
I can tell and should be logically sound.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/OSVR/OSVR-Core/issues/434#issuecomment-220070105

@stanmanwplan go to the Github URL at the bottom of the email, then log in and there should be an "unstar" button on the upper right hand corner, and an "unsubscribe" button at the lower right. Maker sure both of them are clicked so this project is no longer starred, and this issue is no longer subscribed to.

@russell-taylor I agree about the powerline freq not being the issue. After trying the test apps that @rpavlik sent me, they both tried to open the device and then crashed.

@gothickitty93 did you try at all with DSGrab? That didn't work for me either with the OSVR camera.
However, a Logitech webcam worked just fine!
I did do some debugging of the crash so I know where it happens — I can easily do this again if it would benefit @russell-taylor or @rpavlik.

@d235j I didn't get anything with DSGrab either. The only thing that seems to work with the IR camera (that I currently have installed) is the default Camera application that comes with Windows 10. I think you should post your debug stuff just in case. (If anything, I'm interested in looking at it.)

@gothickitty93 do you mean it crashed?
If you want to debug it yourself you can get the source code for DSGrab from https://github.com/thegrandpoobah/dsgrab and compile it and run it in Visual Studio and it should crash there too.

@d235j My bad, for some reason I thought you meant you debugged the crash in OSVR server, not DSGrab.

I debugged both and both crash in the same function calls, IIRC. Just DSGrab is simpler and easier to follow.

Ah. OK. Since that is the case, I'll try to get some debug info and post it
tonight.
On Thursday, May 19, 2016, David Ryskalczyk<EMAIL_ADDRESS>wrote:

I debugged both and both crash in the same function calls, IIRC. Just
DSGrab is simpler and easier to follow.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/OSVR/OSVR-Core/issues/434#issuecomment-220332268

--
Sent from one of my iOS devices.

@d235j Sorry, but I don't have any experience with source code building on Windows. I attempted to get it to work, but I could not get it to build in VS, and it seems that it requires Boost, and I have no idea how to add dev libraries on a non *NIX OS. Tried putting the boost source folder in the same dir, but no luck. (I'm more of a "./configure;make;make install" guy)

So two approaches that don't involve finding and fixing the crash itself would be:

MS MF backend for ImageSource
backend for ImageSource based on the code in Chromium (which is closer to our code - close enough that I was able to learn from it how to do the powerline frequency stuff, but doesn't quite use the same stuff, doesn't use the qedit.h header IIRC)

We've ruled out the powerline thing as not the cause, and we've also concluded that uvbi-view-cam is enough of a test app, don't need the full plugin to get the crash. I had thought DSGrab didn't crash, but knowing that it did is interesting. Where exactly does it all crash?

I'd have to try again, but I'm no longer on the insider build.

I have updated to build 14352, and the issue seems to be gone. Test app I was given is functioning, as well as normal OSVR server.

Hi guys, sorry to just jump in to this, but, can you please let me know if you can "calibrate" the HMD with the video tracker calibration utility from osvr folder?
I am on this inside build now and the server does not crash anymore, however, when I run the calibration utility it seems that the beacons are seen, but not detected correctly. So I can see them shining but no numbers appear and no calibrations happens. I just want to doublecheck if others also have such an issue.

What I have happen is after the beacons are seen, the calibration app
freezes when trying to perform the actual calibration

--
Sent from one of my iOS devices.

Same problem here, at first the camera works without showing the red/green numbers and when the numbers show up the application freezes.

I am still having this issue, and I'm not even using insider previews anymore. I'm running the Windows 10 Anniversary Update.

Try to reinstall everything osvr related. I am not having issues with the server anymore while using it. However, when shutting down the machine, it goes into a bluescreen.

Could the issue described in this article be a possibility? https://www.thurrott.com/windows/windows-10/76719/microsoft-broken-millions-webcams-windows-10-anniversary-update

Yes, this is now a different issue than the one that initially promoted
this report, but is now a known issue and does seem to be related to the
webcam architecture changes. Additionally there are USB host driver changes
(for motherboards, add in cards, etc) which also are sometimes causing
failure at earlier steps (can't get an image at all)
On Mon, Aug 22, 2016, 8:39 AM Ryan Kitty<EMAIL_ADDRESS>wrote:

Could the issue described in this article be a possibility?
https://www.thurrott.com/windows/windows-10/76719/microsoft-broken-millions-webcams-windows-10-anniversary-update
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OSVR/OSVR-Core/issues/434#issuecomment-241415264, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AADuyaC2Nm5hbm6R6FUo1PIxboTa70Vwks5qiaargaJpZM4Ihauz
.

--
Ryan A. Pavlik, Ph.D.
CTO - OSVR Platform
Sensics, Inc.
www.sensics.com
--
Latest news and blog posts (subscribe here
http://sensics.com/subscribe-to-our-mailing-list/ to get weekly updates):
Aug 17: VRGuy podcast: Nonny de la Pena on immersive journalism
http://sensics.com/vrguy-podcast-episode-20-nonny-de-la-pena-co-founder-emblematic-group/
Aug 9: Why we launched the OSVR Store
http://sensics.com/launch-osvr-store/
Aug 1: OSVR, a look ahead http://sensics.com/osvr-look-ahead/


Fix user message message link

This refactor fix an specific use case. For instance:
You define a custom delete view with its url.
# urls.py
url(r'^custom/(?P<pk>\d+)/delete$', CustomDeleteView.as_view(), name='custom_delete')

# views.py
from material.frontend.views import DeleteModelView

class CustomDeleteView(DeleteModelView):
    model = CustomModel

    def get_success_url(self):
        return reverse('related_custom', kwargs={'pk': self.related.pk})

After delete the instance, the delete view is trying to get the detail view of instance. It is not possible for two reasons:

The url is not defined because there is not ModelViewSet defined.
You has just to delete it.

that's wrong way to customize frontend


data size of GPU shuffle write is less than that of CPU ? [QST]

when I run TPC-DS query-13 on GPU  , I found that the stage shuffle write data size is 528G，but when I run it on CPU, the same stage shuffle write data size is 770G+ , and the input data row is same ,part of DAG as :

my question is that :
1 . why gpu shuffle write data size is less that cpu ? Because the compression algorithm is different ？ because shuffle data format  is  column ,and  data size is less than row data of cpu  shuffle ?
2 . it's said that gpu is not suport GpuSortMergeJoinExec ？ Is there a schedule to support this operator ？
workload : TPC-DS QUERY-13
query-13 :
SELECT avg(ss_quantity), avg(ss_ext_sales_price), avg(ss_ext_wholesale_cost), sum(ss_ext_wholesale_cost) FROM store_sales , store , customer_demographics , household_demographics , customer_address , date_dim WHERE s_store_sk = ss_store_sk AND ss_sold_date_sk = d_date_sk AND d_year = 2001 AND ((ss_hdemo_sk = hd_demo_sk AND cd_demo_sk = ss_cdemo_sk AND cd_marital_status = 'M' AND cd_education_status = 'Advanced Degree' AND ss_sales_price BETWEEN 100.00 AND 150.00 AND hd_dep_count = 3 ) OR (ss_hdemo_sk = hd_demo_sk AND cd_demo_sk = ss_cdemo_sk AND cd_marital_status = 'S' AND cd_education_status = 'College' AND ss_sales_price BETWEEN 50.00 AND 100.00 AND hd_dep_count = 1 ) OR (ss_hdemo_sk = hd_demo_sk AND cd_demo_sk = ss_cdemo_sk AND cd_marital_status = 'W' AND cd_education_status = '2 yr Degree' AND ss_sales_price BETWEEN 150.00 AND 200.00 AND hd_dep_count = 1 )) AND ((ss_addr_sk = ca_address_sk AND ca_country = 'United States' AND ca_state IN ('TX', 'OH', 'TX') AND ss_net_profit BETWEEN 100 AND 200 ) OR (ss_addr_sk = ca_address_sk AND ca_country = 'United States' AND ca_state IN ('OR', 'NM', 'KY') AND ss_net_profit BETWEEN 150 AND 300 ) OR (ss_addr_sk = ca_address_sk AND ca_country = 'United States' AND ca_state IN ('VA', 'TX', 'MS') AND ss_net_profit BETWEEN 50 AND 250 )) ").show;
this is my config file :
cpu-config.txt
gpu-config.txt

We shuffle the data in a different format so the compression ration can be very different. Most of the time we see smaller shuffles with a columnar shuffle, but there are cases where we have seen it be larger.

by the way,  I need explain that I test cpu with spark.sql.optimizer.dynamicPartitionPruning.enabled = true and spark.sql.adaptive.enabled = true ;
and also I observes a phenomenon that ： when I turn on dynamicPartitionPruning and AQE（spark.sql.adaptive.enabled ） on GPU ， that stage will shuffle write 770G+ data like CPU .

We are still working on AQE and typically we are not able to do a columnar shuffle when AQE is enabled.  So it is likely that we still did a row based shuffle in that case.  @andygrove is heading up the AQE work and can probably help you understand what is happening there.

As for the sort merge join question that is a harder one.  We don't have any item on the backlog right now, but if you have a use case for it file a feature request describing the exact use case and problem that you are seeing.  Then we can go back to prioritize how to address that use case.

Oh I forgot to add that we do support SortMergeJoinExec, but we replace it with a ShuffledHashJoinExec this really only becomes a problem when you have a skewed join that cannot fit in GPU memory.

We shuffle the data in a different format so the compression ration can be very different. Most of the time we see smaller shuffles with a columnar shuffle, but there are cases where we have seen it be larger.

thanks a lot ，I have another 2 questions：

Can you describe in detail the issues related to shuffle data format? Is compression supported now?
In addition, it should be noted that we do not use shuffle plugin now. If we do not have RDMA, will shuffle plugin work ？

To answer your question you need to understand that there really are three different shuffles that can show up in a plan.

The row based shuffle that happens for all CPU processing. This essentially dumps out the in memory format for unsafe rows and uses the configured compression library to compress it. This is what you see any time there is an Exchange in the plan.
The columnar based shuffle that happens for all GpuColumnarExchange nodes when not using the shuffle plugin.  This does the same thing as the row based CPU shuffle, but instead of writing the data out in the InternalRow format it writes the data out in an arrow-ish format, which we may switch to arrow at some point.  It still relies on the CPU to compress the data using the configured compression library and store it. This shuffle works anywhere that the SQL plugin works, which is why it is on by default.
The Shuffle Plugin, which is configured separately. This is where you can get the RDMA transfers if you have UCX configured properly to do them. There is no compression for this yet, but we are working on it.  Because this relies on UCX to do the transfers you can use essentially all of the transports that UCX supports, so if you don't have RDMA you could configure it to use TCP/IP, but we have not really been testing that so the performance and stability is a bit less known right now.

@revans2
An another question need your help，
We want to eval the time for the shuffle phase (only shuffle write and shuffle read, not include the upstream or downstream computing or IO), where should we add sql-metrics or time-counting point in the code (both for Exchange shuffle and GpuColumnarShuffle)

I don't remember exactly when we grab/release the GPU semaphore during the columnar exchange. I know that we release it after we have copied the data off of the GPU and that we grab it before we copy data onto the GPU.  I think it is in the serialization plugin for the shuffle, but I would have to look it up to be sure.
As for measuring the shuffle time, that is kind of hard and you probably want to look at SortShuffleManager, which is the default ShuffleManager in spark. In regular spark it is doing row at a time processing, so it is really hard to get an accurate measurement of the shuffle independent of the other processing and I/O, because it is all intermixed. I think your best bet in those cases would be to try and use a sampling profiler to see how much of the time is spent in different parts of the code, and see how much is spent in the code that is related to shuffle.  This is not perfect because the read operations happen in the thread pool and can overlap with each other.

We shuffle the data in a different format so the compression ration can be very different. Most of the time we see smaller shuffles with a columnar shuffle, but there are cases where we have seen it be larger.

why columnar shuffle's compression ration is bigger in most case?

We are still working on AQE and typically we are not able to do a columnar shuffle when AQE is enabled. So it is likely that we still did a row based shuffle in that case. @andygrove is heading up the AQE work and can probably help you understand what is happening there.

@revans2 @andygrove
(1) I hear rapids-0.2 will support AQE， so if we use rapids-0.2 with AQE enabled，whether the spark/rapids will do a row-based shuffle or a columnar-based shuffle?
(2) if the spark/rapids-0.2 will do a row base shuffle when AQE=true, whether the overhead of row-based shuffle will eliminate the performance gain by AQE？

@JustPlay With the support for optimized AQE that we are currently working on, any shuffle or broadcast that would run on GPU with AQE off will now run on GPU when AQE is on as well. With the 0.1 release, all shuffle and broadcast exchanges happen on CPU, which I would think outweighs the benefit of AQE in most cases.

Closing as no more questions in 4 days

We shuffle the data in a different format so the compression ration can be very different. Most of the time we see smaller shuffles with a columnar shuffle, but there are cases where we have seen it be larger.

Recently, some query shuffles are found to be larger than the CPU during the test, such as tpc-ds query-13
I found that the filter operator after scan operator did not filter enough data, but CPU filtered more data：
cpu dag：

while gpu dag：

compared to physical plans :

so ,What are the possible reasons

@chenrui17 it would be best if this was put on a new issue that is not closed, or we might lose track of it.

Also when I run the query at scale factor 200 I see the exact same number of outputs for each filter in the query.  You plan appears to have hit DPP, because I see a subquery broadcast.  Did you run the query with any different settings?


[Bug]: Completion items are not properly ordered for client resource access actions

Description
Completions are not properly ordered, as described in the proposed solution: https://github.com/ballerina-platform/ballerina-lang/issues/41636

Steps to Reproduce
Prompt completions for the cursor position below.
client class MyClass {
    resource function get First() {

    }

    resource function get First/[string second]() {

    }

    resource function get First/[string second]/Third() {

    }
}

function name() {
    MyClass myClass = new ();
    myClass->/<CURSOR>
}

Affected Version(s)
2201.9.0 test pack
OS, DB, other environment details and versions
OS: macOS 14.4.1 23E224
JDK: openjdk 17.0.8 2023-07-18
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Added to 2201.9.1 milestone: https://github.com/ballerina-platform/ballerina-release/issues/2699


Show preview tag on extention page if extension is in preview

This fixes #13276

@golf1052 Thanks for the PR. I am not aware of preview extensions. Guess this is market place feature. Do you have an example of such an extension and how it is show in the market place?

There's an example in the issue. https://marketplace.visualstudio.com/items?itemName=Tyriar.terminal-tabs

@golf1052 My bad, Did not notice the issue. Will take a look. Thanks.

Wanted to ping on the status of this, anything that I need to do?

@golf1052 Will be taken care in November.

Hoping this will be merged in this month, thanks.

LGTM

Great, thanks!


@angular-devkit/build-angular 0.803.14 results in devServer error

🐞 Bug report
Command (mark with an x)

[x] serve

Is this a regression?
 Yes, the previous version in which this bug was not present was: ....
"@angular-devkit/build-angular": "0.803.13",
Description
After updating Angular and the CLI etc with the latest: "@angular-devkit/build-angular": "0.803.14",
ng serve gives the following error:
> ng serve "frontend-with-graphql"

An unhandled exception occurred: webpack Dev Server Invalid Options

options should NOT have additional properties

N.B.

the same issue happens with a newly generated app
And with all other projects removed from angular.json

🔬 Minimal Reproduction
Upgrade to "@angular-devkit/build-angular": "0.803.14",
🔥 Exception or Error

❯ cat /tmp/ng-OxQsei/angular-errors.log
[error] ValidationError: webpack Dev Server Invalid Options

options should NOT have additional properties

    at validateOptions (/home/the_ult/dev/tkp/nx/node_modules/schema-utils/src/validateOptions.js:32:11)
    at new Server (/home/the_ult/dev/tkp/nx/node_modules/webpack-dev-server/lib/Server.js:83:3)
    at Observable._subscribe (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-webpack/src/webpack-dev-server/index.js:28:24)
    at Observable._trySubscribe (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-webpack/node_modules/rxjs/internal/Observable.js:44:25)
    at Observable.subscribe (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-webpack/node_modules/rxjs/internal/Observable.js:30:22)
    at /home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-webpack/node_modules/rxjs/internal/util/subscribeTo.js:22:31
    at Object.subscribeToResult (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-webpack/node_modules/rxjs/internal/util/subscribeToResult.js:10:45)
    at SwitchMapSubscriber._innerSub (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-webpack/node_modules/rxjs/internal/operators/switchMap.js:65:54)
    at SwitchMapSubscriber._next (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-webpack/node_modules/rxjs/internal/operators/switchMap.js:55:14)
    at SwitchMapSubscriber.Subscriber.next (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-webpack/node_modules/rxjs/internal/Subscriber.js:66:18)
    at Observable._subscribe (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-webpack/node_modules/rxjs/internal/observable/scalar.js:6:20)
    at Observable._trySubscribe (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-webpack/node_modules/rxjs/internal/Observable.js:44:25)
    at Observable.subscribe (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-webpack/node_modules/rxjs/internal/Observable.js:30:22)
    at SwitchMapOperator.call (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-webpack/node_modules/rxjs/internal/operators/switchMap.js:33:23)
    at Observable.subscribe (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-webpack/node_modules/rxjs/internal/Observable.js:25:31)
    at MapOperator.call (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/operators/map.js:32:23)
    at Observable.subscribe (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-webpack/node_modules/rxjs/internal/Observable.js:25:31)
    at /home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/util/subscribeToObservable.js:10:20
    at Object.subscribeToResult (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/util/subscribeToResult.js:10:45)
    at SwitchMapSubscriber._innerSub (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/operators/switchMap.js:65:54)
    at SwitchMapSubscriber._next (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/operators/switchMap.js:55:14)
    at SwitchMapSubscriber.Subscriber.next (/home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/Subscriber.js:66:18)
    at /home/the_ult/dev/tkp/nx/node_modules/@angular-devkit/build-angular/node_modules/rxjs/internal/util/subscribeToPromise.js:7:24
    at processTicksAndRejections (internal/process/task_queues.js:85:5)

Could be a combination of NX with Angular?

🌍 Your Environment

      _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 8.3.15
Node: 12.9.1
OS: linux x64
Angular: 8.2.12
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.803.3
@angular-devkit/build-angular     0.803.13
@angular-devkit/build-optimizer   0.803.13
@angular-devkit/build-webpack     0.803.13
@angular-devkit/core              8.3.15
@angular-devkit/schematics        8.3.3
@angular/cdk                      8.2.3
@angular/cli                      8.3.15
@angular/material                 8.2.3
@ngtools/webpack                  8.3.13
@schematics/angular               8.3.3
@schematics/update                0.803.15
rxjs                              6.5.3
typescript                        3.6.4
webpack                           4.39.2
-----------------------------------------------------------
"@nrwl/angular": "8.7.0",
"@nrwl/cypress": "8.7.0",
"@nrwl/eslint-plugin-nx": "8.7.0",
"@nrwl/express": "8.7.0",
"@nrwl/jest": "8.7.0",
"@nrwl/node": "8.7.0",
"@nrwl/workspace": "8.7.0",

Anything else relevant?
I first tought the issue was caused by NX (upgraded to 8.7.0) or Angular 9.

cleanup up the complete angular.json

checked all settings in angular.json etc.

to be sure I tested with style and skipTests as well

Deprecated styleext and spec options have been removed. Use style and skipTests options instead.

Example repo:
https://gitlab.com/ultimate-solutions/ultimate-nx-starter-workspace

This is a (first | WIP) setup for some best practices etc. Yet Another Starter Project
With NX, Angular and GraphQL

npm run start simple-app

upgrading "@angular-devkit/build-angular": "0.803.13",  to "@angular-devkit/build-angular": "0.803.14", shows the ERROR.

 If you are experiencing multiple issue I strongly recommend to open separate issues.
I have tried to generate a new application to replicate the first issue you reported. However I was unable to replicate the issue you are reporting.
$ npx<EMAIL_ADDRESS>new webpack-dev-test --defaults
$cd webpack-dev-test
$ ng serve

10% building 3/3 modules 0 activei ｢wds｣: Project is running at http://localhost:4200/webpack-dev-server/
i ｢wds｣: webpack output is served from /
i ｢wds｣: 404s will fallback to //index.html

chunk {main} main.js, main.js.map (main) 47.8 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 264 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 9.71 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 3.81 MB [initial] [rendered]
Date: 2019-10-30T09:57:15.799Z - Hash: c0bb8f2388d9e04046c4 - Time: 8903ms
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

Can you setup a minimal repro please?
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.

Hi @alan-agius4,
I provided the the issue about @angular-devkit/build-angular": "0.903.x just for context, to show why I was using the 'older' 0.803.13 version with Angular 9.
I wil try to replicate the the issue and make my (gitlab) project public.

Version 0.803.14 did in fact have a defect that could cause the error when using the public host option. This was corrected in the latest release (0.803.15).

@alan-agius4 I updated the Description of the topic with a link to a working Repo.
Upgrading @angular-devkit/build-angular": "0.803.13" to 0.803.14 or 0.803.15 wil show the error.
@clydin 0.803.15 is showing the same error

Thanks for the quick replies.
Is this something we should take up with @vsavkin ?
What would be a solution to this problem?

Closing as this in actionable from our end.


Ecosystem: Set up a version catalog system to better sync dependencies

To simplify gradle dependency resolution management, a dependency version catalog can be used.
This is essentially a list of GAV (group, artifact, version) tuples.
A catalog can be imported in a gradle build, such that dependency versions are looked up in the catalog.
Futhermore, we can publish a catalog from our main project (the pgpainless repository) and reuse that not only in direct subprojects (pgpainless-core, pgpainless-sop etc.), but also from external project repositories (sop-java, wkd-java etc.).
That way we can have the main repository define all the dependencies and then simply bump the catalog version for stable, synced releases.
https://docs.gradle.org/current/userguide/platforms.html#sec:version-catalog-plugin

@jerbell do you happen to know what is the usual approach for that in gradle? In case you have any input. If you don't, no worries :shrug:

The usual approach tends to change over time, but I can tell you what I'd do.

(Optional) switch from Groovy to Kotlin DSL.  This is personal preference.
Update Gradle (currently 8.2.1)
Use a libs.versions.toml file which will be picked up by Gradle and used.  I'll cover this below (this covers most of this issue)

libs.versions.toml file:

Here's an example:
[versions]
# plugins
kotlin = "1.9.0"
shadow = "8.1.1"
# main
jackson = "2.15.2"
bouncy-castle = "1.70"
# test
junit = "5.10.0"
assertj = "3.24.2"

[plugins]
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
kotlin-kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
shadow = { id = "com.github.johnrengelman.shadow", version.ref = "shadow" }

[libraries]
# main
jackson-bom = { module = "com.fasterxml.jackson:jackson-bom", version.ref = "jackson" }
jackson-databind = { module = "com.fasterxml.jackson.core:jackson-databind" }
jackson-module-kotlin = { module = "com.fasterxml.jackson.module:jackson-module-kotlin" }
jackson-datatype-jsr310 = { module = "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" }
bouncy-castle = { module = "org.bouncycastle:bcpkix-jdk15on", version.ref = "bouncy-castle" }
# test
junit-jupiter = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit" }
junit-jupiter-params = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "junit" }
assertj = { module = "org.assertj:assertj-core", version.ref = "assertj" }

Then in your core/base lib module build.gradle.kts you can look like: (this is Kotlin DSL - need to adjust for Groovy)
plugins {
  kotlin("jvm")
}

dependencies {
  api(kotlin("stdlib-jdk8"))
  api(libs.jackson.databind)
  api(libs.jackson.module.kotlin)
  api(libs.jackson.datatype.jsr310)
  api(libs.bouncy.castle)

  testApi(libs.junit.jupiter)
  testApi(libs.junit.jupiter.params)
  testApi(libs.assertj)
}

Anyway - those lib dependencies will be available in any build.gradle(.kts) file.  I'd never heard of a toml format before using this, but it all works.

Thanks for the insights! I will see if I can adopt this for PGPainless.

If you need assistance just ask.


As a user, I want data loader and data exporter templates for Azure SQL

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hey @tommydangerous,
I would like to give this a go, if that's OK. This will be my first time contributing, so if you have any docs or examples I could refer, I'd really appreciate that.

Hey @MinuraPunchihewa!!!
That would be super duper amazing!
@johnson-mage can share some example files and pointers on how to add these templates.
The data engineering community thanks you so much for helping!

Hey @johnson-mage,
Will you be able to share the examples mentioned above, please?

Hey @johnson-mage, Will you be able to share the examples mentioned above, please?

Hi @MinuraPunchihewa, thanks for the reminder, just saw this thread. So sorry I missed it earlier in the month. This is where we keep the files for the actual templates that you can refer to:
Data loaders: https://github.com/mage-ai/mage-ai/tree/master/mage_ai/data_preparation/templates/data_loaders
Data exporters: https://github.com/mage-ai/mage-ai/tree/master/mage_ai/data_preparation/templates/data_exporters
The naming of the template file depends on the name of the data_source in the Block POST request payload's config. You can refer to this PR where David added sensor templates.  You may need to update the data source types in this file to include Azure SQL.
When a block is added, we call the create method in the this file, and this is where we load the templates: https://github.com/mage-ai/mage-ai/blob/master/mage_ai/data_preparation/models/block/init.py#L474-L480
If you have any questions, it'll be easier to reach me through our Slack channel. You can just DM me. Thanks!

@johnson-mage Thank you very much. I will have a look and start my work as soon as I can.

This feature is supported now. Azure SQL is Microsoft SQL Server: https://docs.mage.ai/integrations/databases/MicrosoftSQLServer


Suggestion for hook addition to message log

I am using Google translation because I can not speak English.
Description
Suggestion.
I would like to retrieve the contents of Main.NewText.
The following usage is assumed.

immediate translation of messages
Output to file
Original processing according to the message

Code example
[Terraria.Main.cs]
    public static void NewText(string newText, byte R = 255, byte G = 255, byte B = 255, bool force = false)
    {
        ModHooks.OnNewText(ref newText, new Microsoft.Xna.Framework.Color(R, G, B), force);
            :

[Terraria.ModLoader.ModHooks.cs]
    public abstract partial class Mod
            :
        public virtual void OnNewText(ref string newText, Color color, bool force)
        {
        }
            :
    internal static class ModHooks
            :
        internal static void OnNewText(ref string newText, Color color, bool force)
        {
            foreach (Mod mod in ModLoader.mods.Values)
            {
                mod.OnNewText(ref newText, color, force);
            }
        }

I don't see much use for this, and it would be very easy to simply check Main.chatLine in an Update method and do whatever you want with them.


Create an author view

Create an author view to show all generated content by that user using backend/api/social/author/:login/:source
Depends on:

https://github.com/clj-codes/docs.frontend/issues/9
https://github.com/clj-codes/docs.backend/issues/14

Closed by: https://github.com/clj-codes/docs.frontend/pull/46


header fix

initial load content padding and transition font bug fix on webkit browsers

@projectmushroom 💯 🍰
Just to note
I discovered 2 Issues on mobile & desktop browser.
On initial site load there is a space between banner and header until you visit a different page

On mobile content is behind header

@Mitso those are the problems that should now be fixed


[EV-4308] update kibana and elastic version for 3.17

Product Version(s):

Issue:

Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

Merge checklist:

[ ] Deploy preview inspected wherever changes were made
[ ] Build completed successfully
[ ] Test have passed

addressed here: https://github.com/tigera/docs/pull/1061

addressed here: https://github.com/tigera/docs/pull/1061


[FLINK-22312][yarn][test] Fix test instabilities due to expected heartbeat exceptions in log

What is the purpose of the change
(For example: This pull request makes task deployment go through the blob server, rather than through RPC. That way we avoid re-transferring them on each deployment (during recovery).)
Brief change log
(for example:)

The TaskInfo is stored in the blob store on job creation time as a persistent artifact
Deployments RPC transmits only the blob storage reference
TaskManagers retrieve the TaskInfo from the blob cache

Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (100MB)
Extended integration test for recovery after master (JobManager) failure
Added test that validates that TaskInfo is transferred only once across recoveries
Manually verified the change by running a 4 node cluser with 2 JobManagers and 4 TaskManagers, a stateful streaming program, and killing one JobManager and two TaskManagers during the execution, verifying that recovery happens correctly.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

+1 for merging.
We could simply ignore the "Exception on heartbeat" and java.io.InterruptedIOException: Call interrupted if all other verification passed. It usually happens when the AMRMClientAsync is closing.