Checking if user accounts are deleted (cleaning up the database)

This will need a way to tell for certain that the person is actually gone vs the discord API is not responding. When we go to activate bans, it doesn't make sense to waste a ban command on an user account that cannot come back (deleted permanently by Discord).
This requires checking to see if the account is deleted, and if so, remove them from the database.

This actually doesn't seem to be fully possible, not sure why but the API doesn't seem to return anything that makes it clear that an User has been fully deleted. Going to remove this from Early Access.

Closing this issue. Discord API does not reliably give enough information to determine if an user is deleted. The only factoring case is if their avatar is a default one (no way to reliably tell), and if their username becomes Deleted User.
Adding this functionality would open a security hole where scammers could in theory get themselves temporarily off the ban list by making account modifications at the perfect time.


Cache isn't updating

Ryans-MacBook-Pro:~ ryan$ keybase id m1  ▶ INFO Identifying m1 ✔ <tracked> public key fingerprint: 88DA 9ED7 6DD2 985C AA91 6EFB 57DB 7AD2 EEAF 6A3E You last followed m1 on 2017-01-12 13:12:43 PST ✔ <tracked> "weirdorange" on github: https://gist.github.com/0683faba64199d464b04 [cached 2017-01-24 12:15:22 PST]
https://keybase.io/m1 shows that he has 2 devices. When I look on my local client, I see only this:

How do I force dump the cache so I'll get the updated view?

I don't think we render the device count in the GUI yet. What makes you think it's a cache issue?

Because I wasn't seeing them on the command line, either?
It might be a UX issue instead :-)

BTW, Congratz on the chat launch! I was very excited for it.

Yeah, just a website UX that hasn't been made for the local client yet. CC @malgorithms
Thanks re Chat! Not announcing it for real until some more bugs are fixed.


Angular2 tree not expanding by default if the entire tree is changed

I am working on angular2 tree component where initially I am displaying the tree as onInit
var nodes =
[
    {
        name: 'a',
        isExpanded: true,
        children: [
            {
                name: 'b',
                isExpanded: true,
                children: [
                    { name: 'c', }
                ]
            },
        ]
    },
    {
        name: 'b',
        isExpanded: true,
        children: [
            {
                name: 'a',
                children: [
                    { name: 'c' },
                ]
            }
        ]
    }
];

this works absolutely fine and the tree is displayed in expanded, on a button click i am changing the entire tree and the new tree looks something like this
 changeTree{
  nodes =
        [
            {
                name: 'new Node a',
                isExpanded: true,
                children: [
                    {
                        name: ' new Node b',
                        isExpanded: true,
                        children: [
                            { name: 'new Node c', }
                        ]
                    },
                ]
            },
            {
                name: 'new Node b',
                isExpanded: true,
                children: [
                    {
                        name: 'new Node a',
                        children: [
                            { name: ' new Node c' },
                        ]
                    }
                ]
            }
        ];

this.tree.treeModel.update();
this.tree.treeModel.expandAll();
}

I tried using this.tree.treeModel.update(); and this.tree.treeModel.expandAll(); but still the tree is not getting expanded when a new tree is loaded.
Any help would be appreciated.

Looks like this is the issue...
https://github.com/500tech/angular-tree-component/blob/master/lib/models/tree.model.ts#L212-L215
if (this.firstUpdate) {
      if (this.roots) {
        this.firstUpdate = false;
        this._calculateExpandedNodes();
      }

only runs _calculateExpandedNodes() first time through...
as a hack you can do:
this.tree.treeModel.update();
this.tree.treeModel._calculateExpandedNodes();

but typescript will complain about calling a private method

Thanks.
Merged and published in 8.1.0


Azure Event Hub Network Ruleset missing properties for 2018-01-01-Preview

Hi,
after the Azure Event Hub Network Ruleset has been made available (was missing as reported here: https://github.com/pulumi/pulumi-azure-nextgen/issues/17), I now miss some properties in the Pulumi.AzureNextGen.EventHub.V20180101Preview.NamespaceNetworkRuleSetArgs class:

trustedServiceAccessEnabled
virtualNetworkRules

I can find them in the Microsoft Specs: https://github.com/Azure/azure-rest-api-specs/blob/master/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/networkrulessets-preview.json
Thanks.

It looks like there is another file that contains exactly the same resource path and the same type but without those properties which makes us confused... https://github.com/Azure/azure-rest-api-specs/blob/master/specification/relay/resource-manager/Microsoft.Relay/preview/2018-01-01-preview/NetworkRuleSets-preview.json#L40

I believe this is tracked upstream https://github.com/Azure/azure-rest-api-specs/issues/12065


Gracefully handle HTTP errors in SimSimi.com

Any HTTP error thrown in SimSimi.com will cause the application to crash. This will result in Telegram hitting our Google App Engine application continuously until it gets a response (causing the application to start up and crash over and over again, as long as there's a problem with the SimSimi site). To mitigate this "boot loop" and satiate the hungry Telegram, we will simply return the stringified message of the HTTP error as a bot response.

Merged. Thanks!!


Dispatchable ComponentArrays

It would be nice to dispatch on ComponentArrays. Unfortunately, the type of the ComponentArray is pretty coupled with the size of its components. For example, it's reasonable to want these two to have the same dispatchable type:
x1 = ComponentArray(a=rand(1))
x2 = ComponentArray(a=rand(4))

This will require some reconfiguring of the AbstractAxis stuff. I think some metadata is going to have to be stored in the AbstractAxis types rather than the ComponentArray type. I'll have to give this some thought.

Thank you for opening the issue! My initial use case required using a ComponentArray as a struct containing the parameters of a stochastic model. I wanted to maximize its likelihood, and write a generic MLE algorithm with autodiff, whose logpdf function would then dispatch onto the model type.

I see this issue has been up for a while, is there any recommended way of achieving this (or reasons not to)?
@jonniedie Any thoughts on if a subtype of AbstractAxis that stores the indices in a struct field, with only the dimension of each component array being stored in the type would be a reasonable way to implement this?
I started to hack something together by instead wrapping ComponentArray, but I don't think I'd want to use this approach for anything serious. I've pasted it below on the off chance anyone finds it useful.
using LinearAlgebra
using ComponentArrays

struct DComponentArray{T, N, A<:AbstractArray{T,N}, DMap} <: DenseArray{T,N}
    ca::ComponentArray{T, N, A, Axes} where {Axes<:Tuple{Vararg{AbstractAxis}}}
end

# get component dimensions from each Axis
_diminfo(c) = (length ∘ size)(c)
_diminfo(va::ViewAxis)= _diminfo(va.ax)
_diminfo(a::Axis) = map(_diminfo, ComponentArrays.indexmap(a))
function DComponentArray(ca::CA) where {T, N, A, CA<:ComponentArray{T, N, A}}
    DComponentArray{T, N, A, _diminfo.(getaxes(CA))}(ca)
end

#type unstable
getCA(x::DComponentArray) = getfield(x, :ca)

# Restore some type stability, essentially by hand
Base.convert(::Type{<:DComponentArray}, ca::ComponentArray) = DComponentArray(ca)
@inline Base.getproperty(x::DComponentArray, s::Symbol) = Base.getproperty(x, Val(s))
@inline function Base.getproperty(x::DComponentArray{T, N, A, DM}, s::Val{V})::_viewtype(T, N, A, first(DM)[V]) where {T, N, A, DM, V}
    Base.getproperty(getCA(x), s)
end
function _viewtype(T, N, A, DM)
    SA_parent = A <: SubArray ? Vector{T} : A
    SA = SubArray{T, N, SA_parent, NTuple{N, UnitRange{Int64}}, true}
    _vt(SA, T, N, A, DM)
end
_vt(SA, T, N, A, DM::NamedTuple) = DComponentArray{T, N, SA, (DM,)}
function _vt(SA, T, N, A, dim::Integer)
    iszero(dim) ? T  :
    isone(dim)  ? SA :
    Base.ReshapedArray{T, dim, SA, Tuple{}}
end

# Forward some other methods
Base.getindex(x::DComponentArray, idx...) = Base.getindex(getCA(x), idx...)
Base.setindex!(x::DComponentArray, d, idx...) = Base.setindex!(getCA(x), d, idx...)
Base.size(x::DComponentArray) = size(getCA(x))

# a basic test
thisprod(mca) = mca.m1 * mca.m2
thisprod!(res, ca) = mul!(res, ca.m1, ca.m2)
function atest(nd)
    mca = ComponentArray(; m1=rand(nd, nd), m2= rand(nd))
    wca = DComponentArray(mca)
    @time thisprod(mca) # recompiles for each new nd, allocates
    @time thisprod(wca) # still recompiles for each new nd, allocates
    res = zeros(nd)
    @time thisprod!(res, mca) # recompiles, no allocations,
    @time thisprod!(res, wca) # no recompile, minimal allocations that don't scale with nd
    @code_warntype thisprod!(res, wca) # type stable
    nothing
end


Add API router, first handler for /info

Also contains minor internal refactorings to share the error handler implementation between the API router and the other app routes.

Coverage decreased (-2.6%) to 91.121% when pulling 390e296e6349ff8151e3d440b8b61c4d4e3a1548 on info-api into 563d4d0089e894f0a3feac9548a5a8ba6725d691 on master.

Ah, the coverage dropped because of lines in the errorHandler that I've added in anticipation of future API methods. Going to leave them in for now and merge anyway.


Iphoneos deployment target fix

Description
Make iOS 9 the default OS target for Cocoapods. Fixes issues with FlutterFire and Xcode 14.
Related Issues
Fix for: https://github.com/flutter/flutter/issues/66103
Tests
I added the following tests:
None, I'm unsure how to test this one
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

This has been tried quite a few times and there are a few reasons not to do it.  See https://github.com/flutter/flutter/issues/66103#issuecomment-694977604 for links to relevant discussions and PRs.
I had a thought for another way to do this, if you're still interested in contributing a fix https://github.com/flutter/flutter/issues/40109#issuecomment-694998304
Closing for now.


process.env.npm_lifecycle_event doesn't get set when running through a hook

I created a simple repo that uses git-validate to add pre-push hooks to your package.json.  It was brought to my attention that the npm_lifecycle_event is  not set when running through a hook.  I wanted to bring it up here to see if you've ran into this and what your thoughts are on fixing.
Here's the link to the original issue in my repo:
https://github.com/sturdynut/git-prepush-hook/issues/1
I'd be happy to help fix, but just not sure how.

interesting.. i'll take a look and see what's going on

Any luck? Anything I can do to help?

@nlf - Did you ever have a chance to take a look at this?  Anyway to set process.env.npm_lifecycle_event in hooks if it is undefined?


erro at run "npm run start"

<EMAIL_ADDRESS>start /home/rai/Projetos/megaboilesqlite
> node server.js

events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::3000
    at Object.exports._errnoException (util.js:1007:11)
    at exports._exceptionWithHostPort (util.js:1030:20)
    at Server._listen2 (net.js:1253:14)
    at listen (net.js:1289:10)
    at Server.listen (net.js:1385:5)
    at EventEmitter.listen (/home/rai/Projetos/megaboilesqlite/node_modules/express/lib/application.js:617:24)
    at Object.<anonymous> (/home/rai/Projetos/megaboilesqlite/server.js:86:5)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.runMain (module.js:575:10)
    at run (node.js:348:7)
    at startup (node.js:140:9)
    at node.js:463:3

npm ERR! Linux 4.4.0-28-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "start"
npm ERR! node v6.2.2
npm ERR! npm  v3.9.5
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>start: `node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'node server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the hidden-cherry package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs hidden-cherry
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls hidden-cherry
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/rai/Projetos/megaboilesqlite/npm-debug.log
 ▲  rai@rslinux ~/P/megaboilesqlite  $

@raisiqueira That's a very common node.js error where you already have an existing app running on port 3000. Either kill that app to free up the port or change port 3000 to something else, e.g. 4000 in server.js.


Angular-lize job page

Current status (from candyam5522):
Display, 90% works, the only thing left behind is date-time picker, I have code there(main.html), but for some reason it does not work now, the developer whoever take over this assignment needs to debug it.
What is left behind:

Tree component, Jason to provide a detailed documentation about how to add his tree component to Job page

The functionalities in eureka.job.js file needs to be added to job controller, mainly is poll() function and save() function

I finished this.


404 link on README

Confirm this is an issue with the Python library and not an underlying OpenAI API

[X] This is an issue with the Python library

Describe the bug
In the real-time API documentation, there is a link which is no longer active.
To Reproduce

Go to https://github.com/openai/openai-python/tree/main
Search for "A full event reference can be found here and a guide can be found here." This is under the "Realtime API beta"
This takes you to this webpage - https://github.com/openai/openai-python/blob/main/platform.openai.com/docs/api-reference/realtime-client-events

This leads to a page with 404 error -

Code snippets
No response
OS
macOS
Python version
Python v3.11
Library version
open v1.0.1

Okay, I've checked the link, and you're right, it's throwing a 404 error. That's definitely a problem. Developers need that event reference to properly integrate with the real-time API.
I'll open an issue on the openai-python repository to report this dead link. Hopefully, they'll fix it soon. In the meantime, we might need to find an alternative source for that event reference or reach out to OpenAI directly for clarification.
This kind of oversight can be a real headache for developers. We need accurate and up-to-date documentation to ensure smooth integration and avoid unnecessary frustration.
I'll keep an eye on the issue and let you know when it's resolved. In the meantime, we'll find a workaround and keep this project moving forward. Those bots aren't going to wait for us to catch up.


Don't gitignore committed files

A couple of files are being gitignored even though they have been committed:
$ git ls-files -i --exclude-standard
mesalock-rt/libprotobuf.so.9
mesalock-rt/libsgx_uae_service.so
mesalock-rt/libsgx_urts.so
mesalock-rt/libstdc++.so.6
mesalock-rt/libz.so.1
samplecode/psi/SMCClient/sample_libcrypto/libsample_libcrypto.so
samplecode/remoteattestation/ServiceProvider/sample_libcrypto/libsample_libcrypto.so
sgx_backtrace_sys/libbacktrace/backtrace_t.h
sgx_unwind/libunwind/include/config.h.in
sgx_unwind/libunwind/include/libunwind-common.h.in
sgx_unwind/libunwind/include/libunwind.h.in

Looks like some of these are essential and do need to be tracked:
sgx_backtrace_sys/libbacktrace/backtrace_t.h
sgx_unwind/libunwind/include/config.h.in
sgx_unwind/libunwind/include/libunwind-common.h.in
sgx_unwind/libunwind/include/libunwind.h.in

Cool! Thanks!


Command Prompt must close

Greetings there,
when the installation process was cancelled by the user the command prompt that was opened ( at 25% process ) is not closing. that must be checked once.
https://drive.google.com/file/d/1xtxsWsBOOyGz8xOTDrlcJwKCxiN4h9FL/view?usp=sharing
thanks in advance.

Okay I will look into it. Thanks for your notice 🙏

I believe the problem is in Process.run() itself. I am researching on how to solve it. And I have also reached out to the package owner @tekartik
GitHub Repo: https://github.com/tekartik/process_run.dart

😅😅 I still see some issues that needs a fix and I will update you soon

That's great! 😁✌

@YazeedAlKhalaf I have a suggestion for this application downloading process. can I give it here?

It is better to open a new issue. Sine an issue is meant to track one problem at a time.

@YazeedAlKhalaf If possible please do read mail I have sent you. And delete this comment here after checking mail.

@yahu1031
It seems this is a Dart specific issue, we have to wait until it is solved.
https://github.com/dart-lang/sdk/issues/39945

@imReker gave his workaround here https://github.com/flutter/flutter/issues/47891#issuecomment-708850435 and it was really so helpful.
I have updated the main.cpp and the problem is fixed now. A new release will be soon up 🚀.
I feel safe to close this issue.


Nitsmell : Adding new code smells and print console updated

Add :

New "no abstract implementation" code smell
Toolcontext option to print one by one a detected codesmell
Update :
Print console improve
Feature envy codesmell prepose a move help

ok to test

missing signed-off-by

things to fix

[ ] whitespaces http://gresil.org/jenkins/job/CI_github/5342/testReport/junit/cmd/check/whitespaces/
[ ] signed off by http://gresil.org/jenkins/job/CI_github/5342/testReport/junit/cmd/check/signed_off_by/

Please, fix the tests.


Import Gohai into the agent

What does this PR do?

Import Gohai's git history into the main branch of the agent.
Motivation

The end goal is to define a new API for Gohai living in pkg/gohai and archive the old Gohai github repository.
Additional Notes

This PR is just a combination of the two following PRs:

https://github.com/DataDog/datadog-agent/pull/16724 : import Gohai's git history as is
https://github.com/DataDog/datadog-agent/pull/16994 : fix the CI

The imported code is not used yet.
Follow-up PRs will define the new API and use it instead of the current one.
Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.17 out of 23 committers have signed the CLA.✅ olivielpeau✅ gmmeyer✅ derekwbrown✅ arbll✅ truthbk✅ julien-lebot✅ zippolyte✅ ian28223✅ djmitche✅ albertvaka✅ mx-psi✅ pgimalac✅ iglendd✅ sgnn7✅ hush-hush✅ KSerrania✅ dependabot[bot]❌ degemer❌ tariq1890❌ toyozaki❌ davidnewman❌ step-security-bot❌ jauderhoYou have signed the CLA already but the status is still pending? Let us recheck it.

Note: this was discussed with open-source who told us we can ignore.


[https://github.com/remkop/picocli/issues/1706] Resolve messages against parent resource bundles with updated i18n unit tests

[https://github.com/remkop/picocli/issues/1706] Resolve messages against parent resource bundles. Also provided are updated i18n unit tests.

Thank you for the contribution!
I won't be able to review until after this weekend.

No worries at all. You give clear instructions and I definitely overlooked those issues in the file. I've got no issues with getting a bit of tough love. 😉👍

Merged. Thank you for the contribution! I will update the release notes when I get to my PC.


Add CrateDB database support to the time series benchmark suite.

The PR adds the CrateDB database support to the time series benchmark suit. CrateDB supports the PostgreSQL wire protocol v3 so we use the pgx  PostgreSQL driver to connect to the database.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #71 into master will increase coverage by 0.1%.
The diff coverage is 56.58%.

@@            Coverage Diff            @@
##           master      #71     +/-   ##
=========================================
+ Coverage   53.93%   54.04%   +0.1%
=========================================
  Files          76       83      +7
  Lines        3719     4165    +446
=========================================
+ Hits         2006     2251    +245
- Misses       1690     1886    +196
- Partials       23       28      +5

Impacted Files
Coverage Δ

internal/inputs/utils.go
78.26% <ø> (ø)
:arrow_up:

cmd/tsbs_load_cratedb/processor.go
0% <0%> (ø)

cmd/tsbs_load_cratedb/main.go
0% <0%> (ø)

internal/inputs/generator_queries.go
91.4% <100%> (+0.13%)
:arrow_up:

cmd/tsbs_generate_data/serialize/cratedb.go
100% <100%> (ø)

internal/inputs/generator_data.go
89.92% <100%> (+0.37%)
:arrow_up:

cmd/tsbs_load_cratedb/creator.go
21% <21%> (ø)

cmd/tsbs_load_cratedb/scan.go
82.97% <82.97%> (ø)

query/cratedb.go
88.88% <88.88%> (ø)

.../tsbs_generate_queries/databases/cratedb/devops.go
98.42% <98.42%> (ø)

... and 7 more

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 19932e7...98d71a8. Read the comment docs.

Hi, thanks for doing this! We'll take a look and should have a review shortly. Apologies for the delay

@RobAtticus please take a look at the last two fixup commits. I've done necessary changes and rebased the branch with master.

@RobAtticus please take a look at the last fixup commits. I've done necessary changes and rebased the branch with master.

Hi @RobAtticus is there anything from my side that blocking this PR from being merged?

Sorry @kovrus , we've been having an off-site this week so things have been a bit slow on our end preparing for it and this week. I'll hopefully have more time to look at it next week. As long as it's up to date rebased on master, it should be good from your end and I'll check ASAP.

@RobAtticus thanks for your time and the review! 👍 I've addressed you comments.

Thanks for submitting this btw, looks great and we're happy to add CrateDB!

Merged in, thanks again for contributing this!

@RobAtticus Thanks for the review!


Support for async logging

I've looked everywhere but can't seem to find how to enable async logging via spdlog_setup.
Am I missing something? Is this planned to be supported soon?

Thanks for the feedback, it's not supported at the moment.
It seems like the way it's constructed is not too different from sync, so I might take a look when I'm free and try implementing it.

Thanks, that would be great! That's the one thing stopping from switching to spdlog_setup... I'll see if I find time to contribute a PR, but it would probably a lot faster for you to do it if you get to it.

Any hope of getting this soon? Just trying to plan for our release...

Hey thanks for the wait, the support for async has arrived, the example for async looks something like this:
[global_thread_pool]
queue_size = 8192
num_threads = 1

[[thread_pool]]
name = "tp"
queue_size = 4096
num_threads = 2

# Uses global thread pool
[[logger]]
type = "async"
name = "global_async"
sinks = ["console_mt"]
pattern = "succient"

[[logger]]
type = "async"
name = "local_async"
sinks = ["console_mt"]
pattern = "succient"
thread_pool = "tp"
overflow_policy = "overrun_oldest"  # block (default) | overrun_oldest

Will be prepping this whole thing as a proper 0.3.0 release too.

Wow, now that was fast!!
Thank you so much! This looks perfect!


Tightening GRPCRoute validation, fixing gaps in HTTPRoute and Gateway webhook validation

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This PR started with a single goal - address feedback from #1538 by filling in missing GRPCRoute webhook validation. As I started that process, I realized that we'd introduced some significant gaps between v1a2 and v1b1 validation among the resources that had graduated. This also updates that logic to share code where possible and provide a consistent experience.
Does this PR introduce a user-facing change?:
- GRPCRoute: Regex validation for Method and Service has been tightened to match GRPC spec.
- GRPCRoute: Webhook validation of GRPCRoute has been expanded to closely match HTTPRoute validation.
- HTTPRoute and Gateway: Gaps between webhook validation for v1alpha2 and v1beta1 have been closed.
- HTTPRoute: Validating webhook now ensures that Exact and Prefix path match values can now only include valid path values per RFC-3986. (RegularExpression path matches are not affected by this change).

Adding a hold since I want to wait for a couple reviews on this one.
/hold

Still need one more LGTM, but removing hold since I think we have consensus on the changes here.
/hold cancel

I had a question about the validation here


S133 is not locally countable

Answers https://topology.pi-base.org/spaces?q=%24G_\delta%24+space%2BT_1%2Bscattered%2B~Locally+countable

Since we are removing P53 (metrizable), I think P55 (completely metrizable) should have the following sentence at the beginning, since P55 in defined as being metrizable plus some extra condition:
"The space is metrizable by construction."
Also, in the README file the post office metric is denoted by $p$.  In P55, some of the $d$ should be replaced by $p$.

Also, looking at the trait for P26 (separable), it gives as justification "It contains an uncountable discrete set, namely ...".
That does not seem valid.  One can have an uncountable discrete set and still be separable.
Maybe we should just say: Every point $x\ne 0$ is isolated.

And P129 can also be removed.

Hmm, I see more stuff that needs to be cleaned up, from the time that the space was based on $\mathbb R^2$.  If you want, I can do all these little changes in a separate PR.  Or feel free to do it all here.

Thanks for the careful eye. I'll do the housekeeping now...

README: not sure what the last sentence is adding, as the first one already mentioned that all points $x\ne 0$ are isolated.  And as for the corresponding parallel construction for $\mathbb R^n$, it was already mentioned.  No need to mention $\mathbb R^n$ again.
I don't really see that calling the origin a "particular point" helps the overall understanding.  But if you want to have that, it could be mentioned as part of the first sentence in the README: "with basic open neighborhoods of the "particular point" $0$ ..."
P23: no problem.  Possibly use interval notation $(-\varepsilon,\varepsilon)$, etc
P26: redundant, thanks to P29
P29: The README already said that $0$ is the particular point.  Repeating this here is puzzling.
P129: redundant

FYI, I added an answer to https://math.stackexchange.com/questions/4833751 to expand on yours.  That level of generality will be useful to show the space is a LOTS (which could be done in a separate PR).

which could be done in a separate PR

could, but wasn't. I think it's ready to merge here.

I realized my mathse answer is missing something.  One must additionally require that the $V_n$ form a neighborhood base at the particular point.  That is needed, but not guaranteed as currently written.
It's also needed to have $V_0=X$ to ensure $X$ is continuum-sized; otherwise the cardinality of the whole space is not even guaranteed.  Plus other minor things need to be fixed.  Let me fix a few of these things, and then you can take a look.

Fixed a few things and added P126 (Door) and P166 (has a coarser separable metrizable topology).  Please take a look.


[DO NOT MERGE - this is a clone of #13242]

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Seed Job

cc: lazylynx @kamilwu command worked.

cc: @lazylynx @kamilwu command worked.


feature required exist validator OR condition

Hello, exist validator currently using AND condition to verify existence among many fields, as far as i have found it's impossible to use OR condition in validation. I'd like user use username or email as a login to sign in and i need to verify existence of login in either username or email field.

Sorry seems like it targetAttributeJunction property in the validator to specify OR|AND, but still can not validate existence among 2 attributes.

This could be solved by RequireAny validator.


xml.toObject compile errors

Hi Vincent,
Using v19r3 (mac)...

Can you tell me what I need to do to fix?
Thanks,
John...

Hi John,
Did you solve this problem?

Hi Vincent,
yes changing to .with and .size fixed the problems with the sample code.
Thank you!
The other projects are in the planning stage. Learning new tools so I can more easily upgrade them.
Appreciate all your help and suggestions,
John…

On Mar 3, 2022, at 3:15 AM, Vincent de Lachaux @.***> wrote:
Hi John,
Did you solve this problem?
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#issuecomment-1057939238, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHC5F7FEY7FV5M4VKHX3U6CNLRANCNFSM5OYK3REQ.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.

Hi Vincent,
Thank you.
John…

On Sep 5, 2022, at 9:00 AM, Vincent de Lachaux @.***> wrote:
Closed #3 https://github.com/vdelachaux/SVG-with-Classes/issues/3 as completed.
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#event-7324420125, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHC32YCVJLBKFRSKTUVDV4YKILANCNFSM5OYK3REQ.
You are receiving this because you authored the thread.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

Hi Vincent,
A new bug has been introduced within existing method:
Error when executing the method "svg.newCanvas" at line number 53
Unknown member method.
Error code: -10729 (4DRT)
Unknown member method.
component: '4DRT'
task -6, name: 'P_1'
Call chain:
[
{
"type": "classFunction",
"name": "svg.newCanvas",
"line": 10,
"database": "SVG-with-Classes"
},
{
"type": "classFunction",
"name": "svg:constructor",
"line": 11,
"database": "SVG-with-Classes"
},
{
"type": "projectMethod",
"name": "Code Sample",
"line": 4,
"database": "SVG-with-Classes"
}
]
Thanks,
John...

On Sep 5, 2022, at 9:02 AM, John J Foster @.***> wrote:
Hi Vincent,
Thank you.
John…

On Sep 5, 2022, at 9:00 AM, Vincent de Lachaux @.*** @.***>> wrote:
Closed #3 https://github.com/vdelachaux/SVG-with-Classes/issues/3 as completed.
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#event-7324420125, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHC32YCVJLBKFRSKTUVDV4YKILANCNFSM5OYK3REQ.
You are receiving this because you authored the thread.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

My bad, I forgot to update the xml class.
I just did it.
v i n c e n t    d e    l a c h a u x
Bee green - keep it on the screen
@.***
Vincent de Lachaux
Développeur 4D Senior
Email<EMAIL_ADDRESS>Web :   www.4D.comhttp://www.4D.com
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq - France
Standard :      +33 1 30 53 92 00

Hi Vincent,
Thank you kind Sir!
I’m sure you ignored this as it has nothing to do with the error. But do you have a small example of using the svg class library to create, select, and resize (or moves) some shape?
I am keen on seeing how to set up interactivity using the most modern approach in 4D v19r5 with svg classes?
I do appreciate your efforts!
John…

On Sep 5, 2022, at 9:32 AM, Vincent de Lachaux @.***> wrote:
My bad, I forgot to update the xml class.
I just did it.
v i n c e n t d e l a c h a u x
Bee green - keep it on the screen
@.***
Vincent de Lachaux
Développeur 4D Senior
Email<EMAIL_ADDRESS>Web : www.4D.comhttp://www.4D.com
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq - France
Standard : +33 1 30 53 92 00
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#issuecomment-1237284562, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHCZIB3P6WL56AKT4Q73V4YOBDANCNFSM5OYK3REQ.
You are receiving this because you authored the thread.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

I don't have any but I will try to do something tomorrow.
Vincent de Lachaux
Développeur 4D Senior
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq
France
Standard : +33 1 30 53 92 00
Email :    @.***
Web :      www.4D.com

Hi Vincent,
That would be awesome!
I am building an updated editor for my tool. It will build charts based upon 13 overlapping circles (outer to inner) infrastructure. All but a few start by being hidden. Previously it was all done by changing values in a panel. I want  make it interactive and allow the end user to select a circle and drag it outward to a max and inward.  Then the property panel will be updated as the user drags and resizes.
Two goals:
Speed: Using an optimum (speedy) approach to draw as they are more complex then juts 13 circles (hundreds of svg objects).
Efficient and modern so I am correctly managing interactivity in a picture variable on a form.
Hope that makes sense! And I look forward to learning.
BTW, all my new work is using your svg/xml classes.
Appreciate,
John…

On Sep 5, 2022, at 9:53 AM, Vincent de Lachaux @.***> wrote:
I don't have any but I will try to do something tomorrow.
Vincent de Lachaux
Développeur 4D Senior
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq
France
Standard : +33 1 30 53 92 00
Email : @.***
Web : www.4D.com
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#issuecomment-1237304137, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHC7W5TGBBYNGYMWKCIDV4YQQBANCNFSM5OYK3REQ.
You are receiving this because you authored the thread.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

you can see a sample here: Downloadhttps://github.com/vdelachaux/screencasts/raw/main/D%26D and SVG.mov
The code is done with the class
Tomorrow a sample
v i n c e n t    d e    l a c h a u x
Bee green - keep it on the screen
@.***
Vincent de Lachaux
Développeur 4D Senior
Email<EMAIL_ADDRESS>Web :   www.4D.comhttp://www.4D.com
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq - France
Standard :      +33 1 30 53 92 00

Hi Vincent,
I have blocked out some time to study the example you’ll be making available. That is if you’ll be able to make available today?
No pressure just trying to plan and move things forward.
Appreciate, as always,
John…

On Sep 5, 2022, at 10:42 AM, John J Foster @.***> wrote:
Hi Vincent,
Very nice UI!
Looking forward to it!
Appreciate,
John…

On Sep 5, 2022, at 10:09 AM, Vincent de Lachaux @.*** @.***>> wrote:
you can see a sample here: Download<https://github.com/vdelachaux/screencasts/raw/main/D%26D and SVG.mov https://github.com/vdelachaux/screencasts/raw/main/D%26D and SVG.mov>
The code is done with the class
Tomorrow a sample
v i n c e n t d e l a c h a u x
Bee green - keep it on the screen
@.***
Vincent de Lachaux
Développeur 4D Senior
Email<EMAIL_ADDRESS>Web : www.4D.com http://www.4d.com/<http://www.4D.com http://www.4d.com/>
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq - France
Standard : +33 1 30 53 92 00
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#issuecomment-1237318420, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHC723UMW2ROPTMXNH5DV4YSOHANCNFSM5OYK3REQ.
You are receiving this because you authored the thread.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

Hi John,
I have started to extract the code of the 4D Mobile App component, but it is not trivial.
I will try to make the demo by the end of the week.
Vincent
Vincent de Lachaux
Développeur 4D Senior
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq
France
Standard : +33 1 30 53 92 00
Email :    @.***
Web :      www.4D.com

Hi Vincent,
Still on track for “end of week”?
Thanks,
John…

On Sep 6, 2022, at 10:31 AM, John J Foster @.***> wrote:
Hi Vincent,
OK, thanks for the heads up.
I will plan tentative time over the weekend.
I really appreciate your efforts!
John…

On Sep 6, 2022, at 10:06 AM, Vincent de Lachaux @.*** @.***>> wrote:
Hi John,
I have started to extract the code of the 4D Mobile App component, but it is not trivial.
I will try to make the demo by the end of the week.
Vincent
Vincent de Lachaux
Développeur 4D Senior
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq
France
Standard : +33 1 30 53 92 00
Email : @.***
Web : www.4D.com http://www.4d.com/
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#issuecomment-1238432381, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHC5EH4NOFN2OWTMRI6DV452XXANCNFSM5OYK3REQ.
You are receiving this because you authored the thread.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

Hi Vincent,
Any closer?
Thanks,
John…

On Sep 9, 2022, at 9:19 AM, John J Foster @.***> wrote:
Hi Vincent,
Still on track for “end of week”?
Thanks,
John…

On Sep 6, 2022, at 10:31 AM, John J Foster @.*** @.***>> wrote:
Hi Vincent,
OK, thanks for the heads up.
I will plan tentative time over the weekend.
I really appreciate your efforts!
John…

On Sep 6, 2022, at 10:06 AM, Vincent de Lachaux @.*** @.***>> wrote:
Hi John,
I have started to extract the code of the 4D Mobile App component, but it is not trivial.
I will try to make the demo by the end of the week.
Vincent
Vincent de Lachaux
Développeur 4D Senior
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq
France
Standard : +33 1 30 53 92 00
Email : @.***
Web : www.4D.com http://www.4d.com/
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#issuecomment-1238432381, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHC5EH4NOFN2OWTMRI6DV452XXANCNFSM5OYK3REQ.
You are receiving this because you authored the thread.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

Hi John,
Too much work this week for 4D.
But I don't forget.
You'll hear from me soon.
Vincent
Vincent de Lachaux
Développeur 4D Senior
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq
France
Standard : +33 1 30 53 92 00
Email :    @.***
Web :      www.4D.com

Hi Vincent,

You'll hear from me soon.

I will be waiting.
Thank you for the update,
John…

On Sep 16, 2022, at 11:45 AM, Vincent de Lachaux @.***> wrote:
Hi John,
Too much work this week for 4D.
But I don't forget.
You'll hear from me soon.
Vincent
Vincent de Lachaux
Développeur 4D Senior
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq
France
Standard : +33 1 30 53 92 00
Email : @.***
Web : www.4D.com
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#issuecomment-1249693346, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHCY4ALQJWTXPPC7AFDDV6S53NANCNFSM5OYK3REQ.
You are receiving this because you authored the thread.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

Hi Vincent,
Thank you kind Sir!
Appreciate and look forward to understanding,
John…

On Sep 19, 2022, at 4:41 PM, John J Foster @.***> wrote:
Hi Vincent,

You'll hear from me soon.

I will be waiting.
Thank you for the update,
John…

On Sep 16, 2022, at 11:45 AM, Vincent de Lachaux @.*** @.***>> wrote:
Hi John,
Too much work this week for 4D.
But I don't forget.
You'll hear from me soon.
Vincent
Vincent de Lachaux
Développeur 4D Senior
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq
France
Standard : +33 1 30 53 92 00
Email : @.***
Web : www.4D.com http://www.4d.com/
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#issuecomment-1249693346, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHCY4ALQJWTXPPC7AFDDV6S53NANCNFSM5OYK3REQ.
You are receiving this because you authored the thread.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

Hi John,
It's not complete (not enough time) but the main mechanic is in place
You can start to try and could modify the project if you wish.
Vincent
Vincent de Lachaux
Développeur 4D Senior
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq
France
Standard : +33 1 30 53 92 00
Email :    @.***
Web :      www.4D.com

[cid:12F7C9DB-F443-4145-97BD-CE937594046F]
@.***
Vincent de Lachaux
Développeur 4D Senior
Email<EMAIL_ADDRESS>Web :   www.4D.comhttp://www.4D.com
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq - France
Standard :      +33 1 30 53 92 00

Hi Vincent,
What was the purpose?
Nothing happens? Appears to be a link to nowhere.
John…

On Sep 23, 2022, at 8:51 AM, Vincent de Lachaux @.***> wrote:
[cid:12F7C9DB-F443-4145-97BD-CE937594046F]
@.***
Vincent de Lachaux
Développeur 4D Senior
Email<EMAIL_ADDRESS>Web : www.4D.comhttp://www.4D.com
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq - France
Standard : +33 1 30 53 92 00
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#issuecomment-1256383335, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHC3WFFS7NSF6TLCKBNDV7XGXBANCNFSM5OYK3REQ.
You are receiving this because you authored the thread.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

Just a screencast
Vincent de Lachaux
Message ID: @.***>
@.***
Vincent de Lachaux
Développeur 4D Senior
Email<EMAIL_ADDRESS>Web :   www.4D.comhttp://www.4D.com
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq - France
Standard :      +33 1 30 53 92 00

Hi Vincent,
Ah. In that case the link went nowhere and I cannot see a screencast.
I’m guessing I would like to?
Could you try sending it again?
Appreciate,
John…

On Sep 24, 2022, at 6:38 AM, Vincent de Lachaux @.***> wrote:
Just a screencast
Vincent de Lachaux
Message ID: @.***>
@.***
Vincent de Lachaux
Développeur 4D Senior
Email<EMAIL_ADDRESS>Web : www.4D.comhttp://www.4D.com
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq - France
Standard : +33 1 30 53 92 00
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#issuecomment-1256971454, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHC3ZHSATNIS5HPGCQXDV73747ANCNFSM5OYK3REQ.
You are receiving this because you authored the thread.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

I added the gif to the repository
@.***
Vincent de Lachaux
Développeur 4D Senior
Email<EMAIL_ADDRESS>Web :   www.4D.comhttp://www.4D.com
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq - France
Standard :      +33 1 30 53 92 00
On 24 Sep 2022, at 15:39, truegold<EMAIL_ADDRESS>wrote:
Could you try sending it again?

Hi Vincent,
I have bene studying the class hierarchy and I under Super() in terms of calling the parent class.
For example the ‘Demo’ class is a kind of ‘form’ class.
In the class constructor of the ‘Demo’ class it uses Super()
and the debugger can show the constructor of the ‘form’ class.
Perfect!
BUT…
In the class constructor of the ‘form’ class it also uses Super()
But I can neither see what it is (object?) nor use the debugger with it.
So what is the parent of the form class that Super() works with?
Hope that makes sense?
Thanks,
John…

On Sep 23, 2022, at 8:49 AM, John J Foster @.***> wrote:
Hi Vincent,
I will study.
My endpoint is kind of like a drawing program but of domain specific shapes. The user can design the page (portrait/landscape) and add objects to the page, move objects around the page, resize selected objects, etc.
Do you have any examples, using SVG, of moving an object or resizing an object?
The reason I am not using a webarea and a javascript library is because everything in one of these shapes is user customizable. So it’s much easier to handle all the UI stuff in 4D. Things like properties panels, for example.
It’s likely that many ( most) of the panels will be made of reusable subforms.
So I have quite a bit of work and understanding moving forward. Plus they will all be managed through classes.
Again, thank you for your willingness to help.
Appreciate,
John…

On Sep 23, 2022, at 8:41 AM, Vincent de Lachaux @.*** @.***>> wrote:
Hi John,
It's not complete (not enough time) but the main mechanic is in place
You can start to try and could modify the project if you wish.
Vincent
Vincent de Lachaux
Développeur 4D Senior
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq
France
Standard : +33 1 30 53 92 00
Email : @.***
Web : www.4D.com http://www.4d.com/
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#issuecomment-1256374291, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHC7DIR7PV6476LUINADV7XFUJANCNFSM5OYK3REQ.
You are receiving this because you authored the thread.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

Hi Vincent,
Ahhhh!
This drove me nuts for a while (Over several days)! I couldn’t find any explanation in any of the 4D docs. I could not see any related class/object info in the debugger.
So the only solution was to ask Vincent!
Perhaps adding a note might save the next person the “search".
Otherwise, I am enjoying the learning.
Thank you,
John…

On Sep 29, 2022, at 9:18 AM, Vincent de Lachaux @.***> wrote:
Calling super() if there is none, is not a problem but omitting to call super() if there is one, is a frequent mistake I make.
So I got into the habit of always calling super() ;-)
v i n c e n t d e l a c h a u x
Bee green - keep it on the screen
@.***
Vincent de Lachaux
Développeur 4D Senior
Email<EMAIL_ADDRESS>Web : www.4D.comhttp://www.4D.com
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq - France
Standard : +33 1 30 53 92 00
On 29 Sep 2022, at 18:13, truegold<EMAIL_ADDRESS>wrote:
In the class constructor of the ‘form’ class it also uses Super()
But I can neither see what it is (object?) nor use the debugger with it.
So what is the parent of the form class that Super() works with?
Hope that makes sense?
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#issuecomment-1262508635, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHC4MIPQKWHIJ23KVISLWAW6MDANCNFSM5OYK3REQ.
You are receiving this because you authored the thread.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

You are welcome.
Depending on my free time, I will update the demo with more interactions.
v i n c e n t    d e    l a c h a u x
Bee green - keep it on the screen
@.***
Vincent de Lachaux
Développeur 4D Senior
Email<EMAIL_ADDRESS>Web :   www.4D.comhttp://www.4D.com
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq - France
Standard :      +33 1 30 53 92 00
On 29 Sep 2022, at 18:36, truegold<EMAIL_ADDRESS>wrote:
Otherwise, I am enjoying the learning.

Hi Vincent,
That would be awesome.
Please let me know as you do.
I mentioned previously that my endpoint is kind of like a drawing program but of domain specific shapes (customized charts, tables, legends, dials, rulers, etc). The user can design the page (portrait/landscape) and add objects to the page, move objects around the page, resize selected objects, etc.
So anything that helps me understand how to correctly think about, design and implement using 4D classes would be awesome!
Appreciate your willingness to share,
John…

On Sep 29, 2022, at 9:39 AM, Vincent de Lachaux @.***> wrote:
You are welcome.
Depending on my free time, I will update the demo with more interactions.
v i n c e n t d e l a c h a u x
Bee green - keep it on the screen
@.***
Vincent de Lachaux
Développeur 4D Senior
Email<EMAIL_ADDRESS>Web : www.4D.comhttp://www.4D.com
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq - France
Standard : +33 1 30 53 92 00
On 29 Sep 2022, at 18:36, truegold<EMAIL_ADDRESS>wrote:
Otherwise, I am enjoying the learning.
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#issuecomment-1262531858, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHCYSYTH2TV6Z6ZGDZ7LWAXA25ANCNFSM5OYK3REQ.
You are receiving this because you authored the thread.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

Hi Vincent,
I will study.
My endpoint is kind of like a drawing program but of domain specific shapes. The user can design the page (portrait/landscape) and add objects to the page, move objects around the page, resize selected objects, etc.
Do you have any examples, using SVG, of moving an object or resizing an object?
The reason I am not using a webarea and a javascript library is because everything in one of these shapes is user customizable. So it’s much easier to handle all the UI stuff in 4D. Things like properties panels, for example.
It’s likely that many ( most) of the panels will be made of reusable subforms.
So I have quite a bit of work and understanding moving forward. Plus they will all be managed through classes.
Again, thank you for your willingness to help.
Appreciate,
John…

On Sep 23, 2022, at 8:41 AM, Vincent de Lachaux @.***> wrote:
Hi John,
It's not complete (not enough time) but the main mechanic is in place
You can start to try and could modify the project if you wish.
Vincent
Vincent de Lachaux
Développeur 4D Senior
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq
France
Standard : +33 1 30 53 92 00
Email : @.***
Web : www.4D.com
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#issuecomment-1256374291, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHC7DIR7PV6476LUINADV7XFUJANCNFSM5OYK3REQ.
You are receiving this because you authored the thread.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.

Hi Vincent,
OK, thanks for the heads up.
I will plan tentative time over the weekend.
I really appreciate your efforts!
John…

On Sep 6, 2022, at 10:06 AM, Vincent de Lachaux @.***> wrote:
Hi John,
I have started to extract the code of the 4D Mobile App component, but it is not trivial.
I will try to make the demo by the end of the week.
Vincent
Vincent de Lachaux
Développeur 4D Senior
4D SAS
66 route de Sartrouville
Parc Les Erables - Batiment 4
78230 Le Pecq
France
Standard : +33 1 30 53 92 00
Email : @.***
Web : www.4D.com
—
Reply to this email directly, view it on GitHub https://github.com/vdelachaux/SVG-with-Classes/issues/3#issuecomment-1238432381, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGECHC5EH4NOFN2OWTMRI6DV452XXANCNFSM5OYK3REQ.
You are receiving this because you authored the thread.

John Foster
Eternity Software
425-486-1622
http://www.eternity-software.com http://www.eternity-software.com/
This e-mail contains confidential & proprietary information intended for the use of the original addressee.  If you are not the addressee you are hereby notified that any dissemination or other action in reliance upon this communication could result in legal liability to you and your Organization.


Update equivalent property name from hasRole to hasObjectRole (WIP)

Description
https://github.com/edmcouncil/fibo/blob/fc3e59cb178e3ba23aa98e74cf6dd9d5e3c39916/FND/Parties/Parties.rdf#L260
When this property was deprecated for the cmns-pts ontology the owl:equivalentProperty asserted was cmns-pts:hasRole, which could not be found in the ontology. The closest match I think is cmns-pts:hasObjectRole.
Fixes: #2015
Checklist:

[x] I'm familiar with the FIBO developer quide. My contribution meets all the requirements described there.
[x] My contribution follows the principles of best practices for FIBO.
[x] My changes have been reconciled with latest master and no merge conflicts remain.
[x] This PR is related to exactly one issue. The issue is referenced by using a GitHub keyword such as "fixes", "closes", or "resolves".
[x] Hygiene tests have been applied by a PR with "(WIP)" in title.
[x] The issue has been tested locally using a reasoner (for ontology changes).

@aamedina Hi Adrian, Good catch but not the right fix :).  I've addressed it in a parallel pull request, which hopefully works for you.


Bug in descriptions of some software vulnerability TWA

The descriptions of two access-related TWA (and associated Misbehaviours) are incorrect.

Extrinsic-VA-TW: is low if the vulnerability is accessible only from an adjacent network, but the description doesn't specify what that means. Should be made consistent with the CVSS v2 specification.
Extrinsic-AU-TW: is low if the vulnerability is accessible without authentication, but the description says it allows authentication to be bypassed. This is simply wrong, and should be fixed.

Addressed in branch 65.


Better error handling for Google API

Apparently if you share the Drive folder with everybody, the response here may not include any email addresses. We should handle that. More generally we should try to generate good error messages for these API calls if we can.

Here's what the error you encounter might look like:


Adds getsubscriptioninfo to the CLN plugin

From https://github.com/talaia-labs/rust-teos/pull/82#pullrequestreview-1059016422

Also this should spell listtowers not list_towers. Can we fix it in the PR?

Also this should spell listtowers not list_towers. Can we fix it in the PR?

Sure, will squeeze it here

@meryacine both issues should have been fixed in d4a293f


Undefined argument "qtype" in CSW update transaction

Trying to use the CSW update transaction, I get the following exception:
NameError: global name 'qtype' is not defined
It points to csw.py, line 448, where the second argument "qtype" is an undefined variable. Maybe it has to be set to None, as for the delete transaction below, or a default value should be assigned before.

Can you provide a code snippet so I can reproduce? As well as version of OWSLib.

I use the latest release 0.13.0. Here's a simple code snippet:
csw = CatalogueServiceWeb(
    'https://www.geocat.ch/geonetwork/srv/ger/csw-publication',
    username='********',
    password='********',
    skip_caps=True
)

for item in items:
    csw.transaction(
        ttype='update',
        typename='gmd:MD_Metadata',
        propertyname='/'.join([
            'gmd:identificationInfo',
            'che:CHE_MD_DataIdentification',
            'gmd:citation',
            'gmd:CI_Citation',
            'gmd:date',
            'gmd:CI_Date',
            'gmd:date',
            'gco:Date'
        ]),
        propertyvalue=item.get('date'),
        identifier=item.get('uuid')
    )

Everything works fine, if I replace "qtype" with "None" at the mentioned line in csw.py.

@kdeininger fixed in master in e185a50028dc566881005a2ad2d750dec00079a5.  Can you confirm and close the issue if this works for you?

Works perfect now. Thanks a lot!


Add supports for render in controllers

I published a gem that adds support for render in Rails controllers when using Turbolinks.
I think this should be officially supported by Turbolinks and I am willing to work on that PR.
I would include a comprehensive suite of tests as part of the PR, and I am willing to follow any guideline or consideration you may have. I just don't want to do the work if there is no hope to have it used.
As mentioned in this comment:

I think the situation right now is inconsistent and can be really confusing:

Rails 5 adds Turbolinks by default
Forms are remote by default
render won't work with the defaults mentioned above.

The fact that forms in scaffolds are generated with local: true in Rails 5.2 looks like an smell to me. The vanilla code generated by Rails won't use its own defaults!

Nice work @jorgemanrubia! I agree, that this (or something similar) should be enabled in Rails by default so default remote forms don't need any custom SJR. And if they need it, then Turbolinks can be disabled for the action and custom SJR can be returned.

Any news on this?

@sstephenson @rafaelfranca could you please weight in on this one? I am really good with any decision, I just suspect this hasn't even entered into your radar yet.
In addition to my comment above, I wrote a couple of pieces on why I think this should be officially supported by Rails:

On form validations with modern rails
On why I created the gem

The gem got much better on its last iteration but I know there are probably additional scenarios to handle. As mentioned above, I'd love to put the work to make this happen.

@jorgemanrubia This looks great! We need this in rails core, or something similar. My only addition would be to allow the scroll position reset to be optionally disabled as this can sometimes be useful on a search results page; so that you can do dynamic filtering etc.

I believe @sstephenson and @javan suggested this might be included in Turbolinks 6 on the Remote Ruby podcast:

They each share how they got started programming, a brief insight into how they work at Basecamp, the transition from CoffeeScript to ES6, Typescript, as well as (wait for it...) upcoming features in Stimulus (🙌) and considerations for Turbolinks 6 (no feature promises made 😉).

Thanks @MrHubble, that's great news. I haven't been able to get any kind of response on this one despite of trying different channels so I'll grasp at this 🤷🏽♂.

I'm a new Rails user and I was really confused with forms not just working. At first nothing was working because a xhr request occurred and I didn't now I should handle it. I then handled it with custom javascript to only replace the form, but error handling was not working correctly.
I then installed this Gem and now it works as I hoped it would the first time.
I really hope a solution like this will go into Rails/Turbolinks by default.

Ping @sstephenson @rafaelfranca, it would be really great to hear the Turbolinks team official stance on this! 😄

yes.  js in rails needs to work or all-js starts feeling better ;-/

@sstephenson @rafaelfranca - Another vote to include in core. Sure seems like the missing link...

I can confirm Turbolinks 6 will handle form submissions in a way that makes this unnecessary, among many other goodies 😀

@jorgemanrubia that's great news! Is this something you're personally working on at Basecamp?
For someone who has yet to tackle this problem, would you recommend using your turbolinks-render gem or wait for Turbolinks 6 to be released? The main concerns are ease of migrating from turbolinks_render to use Turbolinks 6, and the unknowns around a potential release date for Turbolinks 6.

@MrHubble I am not working on Turbolinks 6. @sstephenson and @javan are. It will introduce a bunch of new features that, among other things, will solve the problem this gem addressed. It will use a different approach compared to the gem, so it should not affect to your decision of using the gem now (it won't make adopting it harder or easier).
Sorry I can't share more details yet. Hopefully we'll have exciting news about the new version next year. I attended an internal presentation and all I can say is that it's going to be huge.

@jorgemanrubia I guess no movement on this or Turbolinks 6 even after more than an year? What's the recommended way to handle remote forms these days? 😄

Creating simple forms in a fresh rails 6 app is a pain these days. I miss the golden convention our configuration days when it was so simple to keep moving 😄
For some reason redirect_to now no longer works for my turbolinks forms (though it seems to work in a fresh app). The logs say Redirected to xyz but no real redirect happens. Not sure what's happening. Also relying on redirect for ajax requests seems fragile to me given what if future versions of rails just broke this behaviour (not sure if redirect_to works across all remote requests even now). Other people seemingly are complaining about rails forms as well:
https://discuss.rubyonrails.org/t/default-handling-of-remote-forms/74680
It would be so nice if the defaults for forms were fixed and the rails guides gave examples of how to build forms in a rails app. The current information is scattered and incomplete. Or have we just assumed that everyone is using SPAs these days. The barrier to entry for a newcomer seems significant as of now and I am not sure if that's helpful for growing the community.

Additionally I have no idea where turbolinks 6 is (there is no branch with that name and I don't see a turbolinks-next either) and if it is being worked upon. So I have no idea if it's coming in 2020 or 2025 🤔
I guess I'll go with local: true for now (default rails scaffolds seem to be using that hack as well instead of doing it the recommended rails way) to move forward.

@amitsaxena Unfortunately you're right, there is not much info on when the next version of Turbolinks will be available.
There is a thread about it on the Rails discussion forum: https://discuss.rubyonrails.org/t/turbolinks-and-stimulus-are-developed-behind-a-wall/75124

It would be so nice if the defaults for forms were fixed and the rails guides gave examples of how to build forms in a rails app.

The Rails guides are open-source and everyone can contribute! If you can't find something that you think should be in there, consider adding it:
https://guides.rubyonrails.org/contributing_to_ruby_on_rails.html#contributing-to-the-rails-documentation

I can confirm Turbolinks 6 will handle form submissions in a way that makes this unnecessary, among many other goodies 😀

Hey @jorgemanrubia, now that hotwire is out, do you think this is still relevant? It seems the gem you have created and hotwire works a bit different. Your gem replaces the whole page and is very automatic, whereas hotwire requires to add respond_to turbo_stream for every form and it creates a lot of work. I still think it would be really great to have something like this in the core (or maybe v2 of your gem 😄 )

I had two hopes for Hotwire: that it would fix remote form validations and provide a viable Android wrapper. I am grateful for the Android wrapper, don't doubt for a moment.
I created Optimism to handle validations for remote UJS forms. I was really excited to sunset the library, because it shouldn't need to exist.
You're our human on the inside. Please, we're counting on you!

Support for form validations is totally in the plans. There is a PR here with a proposed solution. We discussed this internally before releasing Hotwire and, while it was left out for launch, we agreed this was necessary as it's a common Rails pattern.

@jorgemanrubia @seanpdoyle It actually works only for the error scenario. For the happy path, if the form submission simply render something, it doesn't (yet) works.
Scenario where you do some in-place editing (so you POST some data, but stay on the same page with some valid feeback displayed) are actually pretty common.
How to handle this right now ?

@jorgemanrubia @seanpdoyle It actually works only for the error scenario. For the happy path, if the form submission simply render something, it doesn't (yet) works.
Scenario where you do some in-place editing (so you POST some data, but stay on the same page with some valid feeback displayed) are actually pretty common.
How to handle this right now ?


Cache resolved locales in Intl.js

In order to resolve a locale, there is a cost to create date time formatter. We should simply cache the resolved locale for a given input locale.
See : https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/10156769/
I verified https://www.flixbus.com/ and it no longer is unresponsive.
Here is the example where there is performance bottleneck and is slow.
function sorter(a, b) {
    // here, every time we try to resolve locale
    return a.localeCompare(b, 'en');
  }

  // imagine this array contains lot of elements
  var arr = ['a', 'b', 'c', 'd', 'e'];
  arr.sort(sorter);

There is more room for improvement as mentioned in #2352.

@curtisman - Can you please review?

@EdMaurer - FYI.

@dotnet-bot please test Ubuntu ubuntu_linux_test_static


TSC Meeting notes

This PR qualifies for single approver rule and could be merged this week if no objections.

My 2 cents on these PRs is that we merge them after 48 hours if nobody has voiced objections. Notes can always be amended later if needed. Open to other opinions of course.

Good. I will merge it tomorrow unless there are any objections.

Yeah, these are pretty low impact, not sure if we can do conditionwl rules. But 48 hours is more than enough time.

IMHO, all the usual rules should be exempted for PRs that are purely administrative or internal documentation that can't break builds, introduce bugs, or confuse users. I don't think it even needs a single "approval", if the person writing the notes already has commit privileges.
I think it's more than sufficient to post a PR with the simple message "Here are the minutes from this week's meeting, please suggest edits in the next 48 hours, at which time I will merge." And then do it.
There is already a flood of truly important messages about neglected PRs and deadlines thereof. There's no need to dilute that stream with repeated notices about meeting minutes. There is no negative consequence at all of merging quickly and without fanfare, and occasionally needing to make corrections in a subsequent commit.
My view on it, anyway.


Author #name should return the full name

Scenario
Given an author a with first name 'Alan' and last name 'Turing'
Then a.name should be 'Alan Turing'
Hints
The author model should have a first_name, last_name and homepage, which are all strings.
It should furthermore have a method name (no parameters) which returns the full name of an author (the first name followed by the last name), e.g. 'Alan Turing'.
Test this model behavior in a model test. Create spec/models/author_spec.rb and in the describe block, specify type: :model.
In a model test, behavior is tested directly on the model object, e.g.
author = Author.new(...)
expect(author.first_name).to eq(...)

The eq matcher tests for object equivalence.
See this reference for more matchers.
To pass your test a Rails model for authors must be created. Rails has generators which make creating things easier. You can answer 'no' when Rails asks if you want to overwrite files, then your edited files stay the way they are.
Here is the relevant section (5.4) of the Rails Guide. The generator creates the required model attributes (e.g. first_name:string, see db/schema.rb for the changes) and maps them to the corresponding model. You can then use the attributes as variables in the model (i.e. author.first_name).
Additional model methods are specified in the model's file, e.g. app/models/author.rb using standard Ruby syntax.
Error

Got NoMethodError: undefined method `name' for #Author:0x0000562e88a3f748

5 exercise tests have passed. There are 44 in total. You will solve multiple at once towards the end.

Sorry, it's not working for me yet:
Scenario
Given an author a with first name 'Alan' and last name 'Turing'
Then a.name should be 'Alan Turing'
Error

Got NoMethodError: undefined method `name' for #Author:0x00005583bed51a28

If you have problems solving this task, please don't hesitate to contact the teaching team!


[ldd-msn] Add year number

Add two new keywords to msn:Surface_Mission.  These go alongside solar_longitude, to which they are related.  Both are cardinality 0-1.  If you want to constrain it so if you have one, the other is required, that would be okay.  (if that's not feasible/easy then it's not required).
<year_number> - int
Identifies the year of the observation, using the definition for year specified in year_number_reference.
<year_number_reference> - string
Identifies the system used to measure year_number. Current values include:
Mars Year: Mars year as defined by Piqueaux et al (2015), extending Clancy et al (2000). Mars Year 1 started on April 11, 1955 at Ls (areocentric solar longitude) = 0, with subsequent years starting at Ls=0. Reference: https://doi.org/10.1016/j.icarus.2014.12.014
Note that we are currently defining only one year_number_reference since that's all we need, but obviously more would be added as needed.  For example, Earth_AD for calendar dates, or something related to the J2000 epoch.  But I don't know enough about those to propose them at this time, nor do I have a need, and this framework should support this easily.  One could argue "Mars Year" is rather unspecific but it does seem to be widely accepted and I don't have a better name for it.

closed by https://github.com/pds-data-dictionaries/ldd-msn/pull/9


das-war-schon-kaputt: Update website

The server doesn't have a certificate for the www subdomain
openssl s_client --showcerts 'daswarschonkaputt.tech:443'
[...]
---
Server certificate
subject=CN = daswarschonkaputt.tech
issuer=C = US, O = Let's Encrypt, CN = R3
---
[...]

Danke!


pyrs: Declarations must appear before use

The NotImplementedError occurring in https://github.com/adsharma/py2many/blob/28e3b38/tests/test_transpile_self.py#L32 is
self = <pyrs.transpiler.RustTranspiler object at 0x1085aa940>, node = <ast.Call object at 0x108c02ca0>, fname = 'NestingTransformer', fndef = <ast.ClassDef object at 0x108c02c10>

    def _visit_struct_literal(self, node, fname: str, fndef: ast.ClassDef):
        vargs = []  # visited args
        if not hasattr(fndef, "declarations"):
>           raise NotImplementedError(f"Missing declarations for {fname}")
E           NotImplementedError: Missing declarations for NestingTransformer

pyrs/transpiler.py:384: NotImplementedError

This is occurring whenever a function/method uses a class which is defined later in the same file.  In Python, all of the top level attributes are processed before any of the code within them, so logic in a function is not evaluated until all classes in a module are loaded.
pyflakes solves this by deferring visiting of the def (etc) until after the outer level has been visited.
e.g. https://github.com/PyCQA/pyflakes/blob/da197ee/pyflakes/checker.py#L917
That is complicated, but efficient.
The alternative is to do multiple passes.  We're already doing that, so doing a few more passes wont hurt.
A temporary solution is to restructure the logic in py2many/ so that the logic complies with the capabilities of pyrs.  I did this for one bit of pyrs/ , but I didnt do it for py2many/ in my PR https://github.com/adsharma/py2many/pull/259 because I felt it would involve too much code changes for code that I didnt write, re-effectively authoring those lines.  @adsharma, it would be great if you could do this, so we can get all of py2many to pass the trnspile phase, and then we can investigate how to get py2many to generate compile-able Rust code (that would do py2rs only probably) - self-hosting!

Class declarations still need to appear before their use.


Add ARM interface to FTDI

Closes #1716
Not a lot was missing in theory but all I get at this moment is an IR scan, an IDCODE and a timeout.
I'm not entirely sure what I have to see for probe-rs info but the current output is the following, matching my J-Link over JTAG:
❯ probe-rs  info
Probing target via JTAG

ARM Chip:
Debug Port: Version 0, DP Designer: <unknown>
└── 0 MemoryAP
    └── Generic

Just to clarify, this means using JTAG?

Yes, FTDI probes currently only implement JTAG, I'm not yet certain if we can do SWD with them.

FTDIs should support it, e.g. the tigard has a example config for SWD with FTDI and openocd: https://github.com/tigard-tools/tigard#swd-on-cortex-header


[FEATURE] Add strongly typed ids to the project

Describe the solution you'd like
Defining entities Ids as separate structs would help differentiate from simple Guids.
Also, using NewId for generation, it would help with index fragmentation.

Fixed on https://github.com/yanpitangui/dotnet-api-boilerplate/pull/38


You may have an infinite update loop in a component render function.

Version
2.6.11
Reproduction link
https://codesandbox.io/s/restless-river-v6r59?file=/src/components/HelloWorld.vue
Steps to reproduce
Just run the attached sandbox. Please pay attention to link() method.  If we comment "this.counter  ;" line then it works correctly.
What is expected?
Console should output 'test' string only 10 times. Now it outputs hundreds of it.
What is actually happening?
IDK

Here is an additional screenshot with the issue https://prnt.sc/12bttrd

you are changing a reactive value while the template is being rendered, which means: now the template has to re-render, because a value it depends on just changed - and off you are into the infinite loop.
Rule: Never change reactive data during render.


Split out end points

What is the context of this PR?
Describe what you have changed and why, link to other PRs or Issues as appropriate.

Split questionnaire submit and get requests
Pull out thank-you page
Pull out previous
Remove first end point

first end point only ever appeared to be used in integration test

Making use of flasks error handling framework to take care of
exception handling
Using flask.before_request to check questionnaire state
Delete unused methods

The delete_user_data function was only used by the questionnaire end
point and not in the questionnaire_store therefore refactoring to the
relevant place.
get_current_state methods
_previous
submitted

How to review
Describe the steps required to test the changes (include screenshots if appropriate).
Run tests

Previous discussions on this at https://github.com/ONSdigital/eq-survey-runner/pull/497

LGTM 👍


adds Khronos license to LICENSES folder.

This license is in spirv.h, but absent from the LICENSES file.

@oddhack Is this something you need to look at?

@oddhack Is this something you need to look at?

I suggest using a more qualified SPDX identifier (LicenseRef-KhronosFreeUse? I'm not sure what we actually call this specific MIT variant or indeed if we have a formal name for it).
Otherwise, it looks like this (whitespace changes aside) is just putting a copy of the license statement in LICENSES/ as REUSE requires, which is good. You could make the headers a bit shorter by replacing the full license text with '// SPDX-License-Identifier: LicenseRef-Khronos<whatever>'. But that would probably require corresponding changes in the generator scripts, which I think are in another repo, so best to leave that complication for another PR.

Thanks for looking into that 😊

I suggest using a more qualified SPDX identifier (LicenseRef-KhronosFreeUse? I'm not sure what we actually call this specific MIT variant or indeed if we have a formal name for it).

done!

Otherwise, it looks like this (whitespace changes aside)
Is the whitespace change an issue? (Just thought I'd clean this at the same occasion)

Thanks for looking into that blush

I suggest using a more qualified SPDX identifier (LicenseRef-KhronosFreeUse? I'm not sure what we actually call this specific MIT variant or indeed if we have a formal name for it).

done!

Otherwise, it looks like this (whitespace changes aside)
Is the whitespace change an issue? (Just thought I'd clean this at the same occasion)

I'm not very familiar with the SPIR repository ecosystem but I had the impression that this header is generated elsewhere and copied in here, so any local changes could be overwritten eventually? If not then it's not an issue.

Ahh yes, probably copied from SPIRV-Headers.
Reverting this so it's clean.


fix: rest param type

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (3f4c1fb) 47.05% compared to head (69c4d1d) 47.05%.

:exclamation: Current head 69c4d1d differs from pull request most recent head 0556d41. Consider uploading reports for the commit 0556d41 to get more accurate results

Files
Patch %
Lines

src/types/invoke-route/InvokeParam.ts
0.00%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #11   +/-   ##
=======================================
  Coverage   47.05%   47.05%
=======================================
  Files          18       18
  Lines         442      442
  Branches       55       55
=======================================
  Hits          208      208
  Misses        234      234

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


Transition to pyproject

Description
Aims to transition the project opensearch-py-ml from setup.py and setup.cfg to pyproject.toml of the PEP 621 standard
Issues Resolved
https://github.com/opensearch-project/opensearch-py-ml/issues/308
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@bilal-aamer , can you mark this PR as draft? Since, its a work in progress?

Sure @rawwar

Kindly guide me on the next steps.

Kindly guide me on the next steps.

I am sorry. I assumed you were still working on this. Do you have any specific doubts or issues you are facing?

@bilal-aamer are you working on this PR? Do you have any assistance here? If yes, please ask questions in details.

Yes, I'm looking for some assistance on the next steps and/or resources to complete this draft PR

Assuming you are looking for background knowledge, I would suggest you to go through this video to get started - Packaging your python code with pyproject.toml


update features API to reduce changes

Updates to the feature API which allow the user only to select a set of curated features.  This also provides the canonical list of options which we will use in each component.
@sjenning @derekwaynecarr @openshift/sig-master @gnufied

LGTM

Fix the nit then feel free to self tag


Does not find its configuration file

Which version of matterbridge are you using?
0.10.1 936bccc
Please describe the expected behavior.
Launches

Copy the matterbridge.toml.sample to matterbridge.toml in the same directory as the matterbridge binary.

Please describe the actual behavior.
$ ./bin/matterbridge-linux64
INFO[2017-03-22T00:57:49+01:00] Running version 0.10.1 936bccc
2017/03/22 00:57:49 open matterbridge.toml: no such file or directory

Any steps to reproduce the behavior?
Put matterbridge-linux64 and matterbridge.toml into a bin/ directory and run the binary from outside of that directory

I think it's normal that it should look in the CWD, not in the directory where the binary is launched.
Most programs I know work like this. Do you have examples that do otherwise ?

When I launch this matterbridge using a launcher, then I don't even know what cwd is...

You specify the full path with -conf /path/to/yourconfig/matterbridge.toml

...which means that I'd have to write a launcher script for it, oh well.

AFAIK this is normal behaviour for applications with config files. Any examples that doesn't follow this rule ?

The issue is fixed for me by having written a wrapper script. Still the README.md reads differently.


Add missing KERN_INSUFFICIENT_BUFFER_SIZE mach error code

What's in this pull request?

Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    OS X platform               | @swift-ci Please test OS X platform
    Linux platform              | @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

The added code is present in kern_return.h of OS X 10.11 SDK, but not here.

@compnerd Oops, fixed.

@swift-ci Please test

Looks like an unrelated error

@lattner Can you please re-run the test? Thanks!


[BUG] Node Unschedulable do not have storage

Describe the bug
Third row allocated is -40G

The node is been replaced before(using same node name, but redeployed k3s), then upgrade longhorn from 1.0.2 to 1.1.0
To Reproduce
Expected behavior
Correct node storage
Log
If applicable, add the Longhorn managers' log when the issue happens.
You can also attach a Support Bundle here. You can generate a Support Bundle using the link at the footer of the Longhorn UI.
Environment:

Longhorn version:
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: k3s

Number of management node in the cluster: 2
Number of worker node in the cluster: 1

Node config

OS type and version: alpinelinux 3.13
CPU per node: 2,4,8
Memory per node: 2,16,32
Disk type(e.g. SSD/NVMe): SSD - Virtual
Network bandwidth between the nodes: 50M, 1GbE, 1GbE

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): libvirtd
Number of Longhorn volumes in the cluster: 1

Additional context
Add any other context about the problem here.

Is the disk of the replaced node the same as that of the removed node? If NO, you can try to delete the disk and recreate it.

@shuo-wu Recreated before, seems the dir not exists, changed to /var/lib/longhorn, now works, thanks


Item Size

Does it describe the height or the width, because this doesn't seem to work when your table has to scroll horizontally

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

ID: 0f4ab8b4-4d2e-9e1b-793e-dbb17f6d694d
Version Independent ID: 26ed2425-63ec-e206-edcb-e51f17edb844
Content: ASP.NET Core Blazor component virtualization
Content Source: aspnetcore/blazor/components/virtualization.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

No, it doesn't describe height and width for tables. Those styles are under your control, and the Virtualize component should work with scrollable tables.
If you think you've found a bug in the framework, you can report it to the product unit at ...
https://github.com/dotnet/aspnetcore/issues
... but we recommend that you chat with other community engineers for support before opening a bug report in case it's just a general HTML support question and not an actual problem with the framework. We recommend the usual support channels for general questions ...

Stack Overflow
ASP.NET Core Slack
ASP.NET Gitter

btw ...

doesn't seem to work

If you open an issue for the product unit, please be specific. They need to see code, screenshots, and a full explanation of the problem.

The product unit claims that ...

The Virtualize component calculates how many items to render based on the height of the container and the size of the rendered items.

If you have a container that is a fixed height (and/or with an overflow-x:scroll width) and you're not detecting that it's loading the table's content correctly (i.e., just to fill the visible area) per their remark, that might be a bug 🐞. You will need to lay it out for them ... provide them an example and show your code.


Quantum Node

er there's a logn list of commits here only because the previous PR (3d towers) is outstanding.