RFE: Support TLS/Encrypt options

Opening this as a reference - I plan on working to add this at some point, as we're wanting this when using it for Vault purposes.
Documentation:
https://www.consul.io/docs/agent/encryption.html
Note there WOULD be a challenge if someone attempted to use this on an existing cluster that did NOT have encryption appropriately enabled, but that's a separate discussion.
Places that need to be modified:
Config file:
https://github.com/hashicorp/terraform-aws-consul/blob/master/modules/run-consul/run-consul#L194
User data files to pass it to run-consul
https://github.com/hashicorp/terraform-aws-consul/tree/master/examples/root-example
Finally the below to add variables for the user data scripts
https://github.com/hashicorp/terraform-aws-consul/blob/master/main.tf#L92
Might be missing things... but it's a start

I'll be submitting a PR for this shortly...

I'd appreciate any feedback on the PR above :)

Fixed in #58.


artifacts can be copy

This adds the possibility of copying files vs. just moving for artifacts.

👍

Looks good, but Travis seems to be failing.

Coverage decreased (-0.06%) to 83.831% when pulling 53bfe6d3a4622c6bbbfd73d292ca8361c1efc685 on antgonza:adding-cp-artifact into 4b632dd2938a80d77bcfae82e39547c15b9f6fac on biocore:master.


Fix connection recovery when using URIs

Hi @michaelklishin ,
I found a bug when using connection autorecovery and URIs.  I think the bug was introduced in 2.9.0 - but I'm not sure if it ever worked when using URIs.

:+1: please submit another PR that updates change log?


feat: Add feature to configure “role-session-name” in config

Feature Overview
I want to be able to set any role-session-name in aws-actions/configure-aws-credentials.
Why is the feature needed?
Currently, tfaction has a fixed value of samplerolesession when execute AssumeRole operation, which is undesirable.
https://github.com/suzuki-shunsuke/tfaction/blob/1f76ed16ff681ff5bff6feaa117f97a39d0b5808/setup/action.yaml#L93
This value is mainly recorded in CloudTrail as the User name.

Ideally, different names should be set for different IAM Roles. This makes it easier to track which session performed which operation.
Example Code
tfaction-root.yaml
target_groups:
  - working_directory: fastly
    target: fastly
    aws_region: ap-northeast-1
    terraform_plan_config:
      aws_assume_role_arn: arn:aws:iam::123412341234:role/github-actions-terraform-plan-role
      aws_role_session_name: fastly-plan
    ...

expand as follow:
- uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
      if: steps.target-config.outputs.aws_assume_role_arn != ''
      with:
        role-to-assume: ${{ steps.target-config.outputs.aws_assume_role_arn }}
        role-session-name: fastly-plan
        aws-region: ${{ steps.target-config.outputs.aws_region }}

Note
No response

I created the following PR. What do you think?
https://github.com/suzuki-shunsuke/tfaction/pull/1931

Thank you for your suggestion and pull request.
Looks good, but I think we can improve the default role session name.
e.g. tfaction-{plan or apply}-{target}
The maximum length of IAM Role session name is 64, so if target is too long, we need to remove {target} from the session name.
tfaction-{plan or apply}
https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html

Thank you for you follow up! It seemed like a good idea!

📝
The maximum length of the session name is 64.
And it must satisfy regular expression pattern [\w+=,.@-]*.
The default value of session name is

tfaction-{plan or apply}-{normalized target}-${GitHub Actions Run ID}
tfaction-{plan or apply}-{normalized target}
tfaction-{plan or apply}-${GitHub Actions Run ID}
tfaction-{plan or apply}

/ in the default targets are converted to _.
And if target is too long, it is removed from the default session name.

tfaction v1.11.0 is out 🎉
https://github.com/suzuki-shunsuke/tfaction/releases/tag/v1.11.0


feat: port Data.Holor

@Komyyy We've decided that adding docs is orthogonal to the porting process, and so we've disabled the docBlame linter. Feel free to just remove these docs again. Then some expert on holors (not me!) can add them later.


Remove extra character in description of Verbosity parameter

Docs Build status updates of commit 592bbf9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/tools/cli-ref-restore.md
:white_check_mark:Succeeded
View

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

thanks! @roger-cruz !


Rasmugo/markdown-spelling-and-links

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct

This adds spell checking and broken links checking as github actions.
Spell checking can be enabled locally in vscode with Code Spell Checker and/or run in batch mode with cspell.

Now why isn't the action run on this PR? 🤔

Do you need to activate github actions for this repo perhaps?

This repository is set up exactly like our main rerun repo, so I don't wee why this doesn't run…

Could it be that there currently are no actions in the main repo (only in my fork) and that makes github think no workflows should be run?

Let's see what happens when we merge!


Fixing bug in authentication method in Conda-Store authentication

Fixes #1394

@HarshCasper can you validate that you can spin up a Nebari cluster and authentication on the https://.../conda-store login button. You should be able to follow the entire auth flow.


Maven repo change

maven repo nexus3-public.monetplus.cz is breaked
maven { url "https://nexus3-public.monetplus.cz/repository/ahead-talsec-free-rasp" }

Is there any plan to change maven repo to jitpack or maven Central Repository

Hi @big-thousand,
We’re aware of this issue. There was a temporary shutdown. The repository should be up and running right now, so you should be able to connect. You can also use https://nexus3-public.monetplus.cz/#browse/browse:ahead-talsec-free-rasp to check if the service is available. Please, let us know if it works. We haven’t planned to migrate to maven central, but if the connectivity remains the issue, we will consider it.
Best regards,
Talsec Team


Fix/rad import

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

169 of 174 (97.13%)  changed or added relevant lines in 7 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.6%) to 69.552%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

compass/management/commands/load_rad_data.py
22
27
81.48%

Totals

Change from base Build<PHONE_NUMBER>7:
2.6%

Covered Lines:
2780

Relevant Lines:
3997

💛  - Coveralls


./mwaa-local-env build-image fails

Running on AWS workspace Ubuntu 22.04, got same result as davetbo-amzn
curl http://amazonlinux.default.amazonaws.com/2/core/latest/x86_64/mirror.list
_https://cdn.amazonlinux.com/2/core/2.0/x86_64/95051b33cb06275a2be90f45ee8fbd12a95dc2afe7ba94bff90e197f4d6a9403_
curl https://cdn.amazonlinux.com/2/core/2.0/x86_64/95051b33cb06275a2be90f45ee8fbd12a95dc2afe7ba94bff90e197f4d6a9403
<Error>
  AccessDenied
  <Message>Access Denied</Message>
  <RequestId>NE7V2WHK6JG5999Z</RequestId>
  <HostId>
x8dLJXRsK106CaHEBwKhjuOzXhfFpBodneRAhzlytkjMkMfk7S/NfeOAi8qDn20Sa70W5JOBGUo=
  </HostId>
</Error>

you can always reopen the original issue thread if you feel like issue is still going on.
How do I do it exactly?


K8SPXC-1456: add tests for initContainer security-context

CHANGE DESCRIPTION
Problem:
The   initContainer.containerSecurityContext was added to cr but tests for it were not present.
Cause:
Short explanation of the root cause of the issue if applicable.
Solution:
Add tests and clean up k8s 1.27 files as it is not supported any more.
CHECKLIST
Jira

[ ] Is the Jira ticket created and referenced properly?
[ ] Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
[ ] Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

[ ] Is an E2E test/test case added for the new feature/change?
[ ] Are unit tests added where appropriate?
[ ] Are OpenShift compare files changed for E2E tests (compare/*-oc.yml)?

Config/Logging/Testability

[ ] Are all needed new/changed options added to default YAML files?
[ ] Are all needed new/changed options added to the Helm Chart?
[ ] Did we add proper logging messages for operator actions?
[ ] Did we ensure compatibility with the previous version or cluster upgrade process?
[ ] Does the change support oldest and newest supported PXC version?
[ ] Does the change support oldest and newest supported Kubernetes version?

Test name
Status

affinity-8-0
passed

auto-tuning-8-0
passed

cross-site-8-0
passed

custom-users-8-0
passed

demand-backup-cloud-8-0
passed

demand-backup-encrypted-with-tls-8-0
passed

demand-backup-8-0
passed

haproxy-5-7
passed

haproxy-8-0
passed

init-deploy-5-7
passed

init-deploy-8-0
passed

limits-8-0
passed

monitoring-2-0-8-0
passed

one-pod-5-7
passed

one-pod-8-0
passed

pitr-8-0
passed

pitr-gap-errors-8-0
passed

proxy-protocol-8-0
passed

proxysql-sidecar-res-limits-8-0
passed

pvc-resize-5-7
passed

pvc-resize-8-0
passed

recreate-8-0
passed

restore-to-encrypted-cluster-8-0
passed

scaling-proxysql-8-0
passed

scaling-8-0
passed

scheduled-backup-5-7
passed

scheduled-backup-8-0
passed

security-context-8-0
passed

smart-update1-8-0
passed

smart-update2-8-0
passed

storage-8-0
passed

tls-issue-cert-manager-ref-8-0
passed

tls-issue-cert-manager-8-0
passed

tls-issue-self-8-0
passed

upgrade-consistency-8-0
passed

upgrade-haproxy-5-7
passed

upgrade-haproxy-8-0
passed

upgrade-proxysql-5-7
passed

upgrade-proxysql-8-0
passed

users-5-7
passed

users-8-0
passed

validation-hook-8-0
passed

We run 42 out of 42

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/1894/commits/dc3162ebca59c839ebd5e9941501eec497b0b9c7
image: perconalab/percona-xtradb-cluster-operator:PR-1894-dc3162eb


Localization text are displayed but getting error

Am currently trying out localization in data table which is not specific to data table alone but for whole page. When i load the page the translated text is displayed but am getting
ERROR TypeError: Cannot read property 'data' of undefined
Then the whole page functionality is disturbed.  How could i avoid this ?

And also am not having a static data , am getting data via ngOnInit()

I have similar doubt regarding Localization...
Localization key words mentioned in "https://hjalmers.github.io/angular-generic-table/localization" are predefined or you configured those some where and referring those?.
If you configured keys manually, You configured keys for data as well?
Thanks in advance.

@Liahus1996 and @SangiliMuthu are you both using ngx-translate? I think you might have two separate issues/questions but to answer your question first @Liahus1996, it's hard to say without being able to see the code but generic-table isn't doing anything specific in terms of localisation/translations. My guess is that you're initiating the table before the translations have loaded, either load an empty setup that you change when you have the translations or put a condition on the table (like *ngIf) so it's only initiated when you have translations. If you could provide a plunker with some code I could take a look at it:) The example I've provided is only one way of implementing localisation but there are other setups too that might suit your needs better.
Not sure I got your question @SangiliMuthu, but in my example I'm using static files loaded over http for the translations, but you could use an REST-api or whatever really. Below is an example of how ngx-translate is setup for the example.
import { TranslateModule, TranslateLoader} from '@ngx-translate/core';
import { TranslateHttpLoader } from '@ngx-translate/http-loader';

export function createTranslateLoader(http: HttpClient) {
    return new TranslateHttpLoader(http, './assets/i18n/', '.json');
}

@NgModule({
    declarations: [
        ...
    ],
    imports: [
        ...
        TranslateModule.forRoot({
            loader: {
                provide: TranslateLoader,
                useFactory: (createTranslateLoader),
                deps: [HttpClient]
            }
        })
    ],
    bootstrap: [AppComponent]
})
export class AppModule { }

Regarding keys for the data, I guess it depends on the data but you'll probably have it in some database somewhere and you probably just want to store the raw data and not the translation keys and perhaps do the translation server-side so you ask for the data in a specific language when you fetch the data to the table. But again, it's really hard to say as it might differ depending on your specific use case.

Thanks for the quick reply.
I understood the things :)

I have gone with the empty setup mate ! Works fine


Fix coverage on re-run

Coverage doesn't work on re-runs, try to only pass the options on the
first run.

/azp run

/azp run

/azp run


Validation for shader translator

Validate structure of blocks used in shaders

Hey team! Please add your planning poker estimate with ZenHub @Kryptos-FR @satendrapalsingh @sinkingsugar

Ignored for now so we can do it at the visual UI level


This added everything donated from MicroProfile-Ext to SmallRye.

Fixes #138
Signed-off-by:Phillip Kruger<EMAIL_ADDRESS>

With the addition of these extra checks, do we need to consider a separate artifact for all the checks, which has the implementation as a dependency?
Do the checks work in Quarkus native image?

I have not tested this with native. I'll have a look

Logo can be replaced. See the GraphQL UI in smallrye and in Quarkus. Thanks for the review, looking at that now.

The Build in Checks does not work in native. The UI works fine in native.

As the checks don't work in native, I wonder whether we do need to split all the "provided" health checks into a separate module.
But that can be done in a follow PR before a release

Agreed, we will take out all provided checks into new module in new PR - #142.
However, I'm not sure why that should be the reason why the checks don't work in native. I'll take a look as a follow-up.

@phillip-kruger needs rebase after that I'll merge.

Maybe we can handle the checks in native, so when native return up with Meta data that say native. Do you know if there is a way to check if  it's native ? Or maybe just catch the exception ?

@phillip-kruger it's still saying it needs to rebase :)
Shoudn't we rather take the native question in the Quarkus issue? I am assuming that the checks work in JDK mode.

Hi @xstefank - just hold on, I am doing one more small change

Above is in native mode. Only two lines under 'threads' now shows as "Unavailable" . Rest is fine in native.

@phillip-kruger I see. So the native doesn't comply nicely with ManagementFactory. Did you try to write this directly without CDI/Health? It might be issue in Graal/Mandrel.

Hi @xstefank

Did you try to write this directly without CDI/Health? It might be issue in Graal/Mandrel.
How do you mean ?


Add gradle plugin for google java format. Enforce all files to be formatted.

To format all files:
./gradlew goJF
To verify that all files are correctly formatted:
./gradlew verGJF
Added a travis check for all files to be well formatted.

Coverage increased (+0.1%) to 78.297% when pulling e22f687d1231fd6f9f41f0dc7a71d5f53134bb75 on bogdandrutu:googlejavaformat into 078349906aa2a6041ab5799f23e30ab0a6a99c07 on census-instrumentation:master.

I'll have a few conflicts to resolve, but should be ok.

Coverage increased (+0.1%) to 78.297% when pulling acede6424952a37b98a740d2e23be7b066759029 on bogdandrutu:googlejavaformat into 078349906aa2a6041ab5799f23e30ab0a6a99c07 on census-instrumentation:master.

Coverage increased (+0.1%) to 78.297% when pulling fca6ecda82276904aa5a7ffa33c33624cbfe84ef on bogdandrutu:googlejavaformat into 078349906aa2a6041ab5799f23e30ab0a6a99c07 on census-instrumentation:master.

Yay!


657: Display total cost of position on portfolio page

closes #657

Blocked due to missing transaction info. Issue opened on subsquid.

I'm seeing negative total cost on some positions, why's that?

I'm seeing negative total cost on some positions, why's that?

Did you check if useTradeHistory displayed all the trades for those markets/assets? One of the issues I mentioned was surrounding some missing transactions and that resulted in negative values being calculated since it only showed sells.
The other issue I'm realizing is that total cost may not be a good measure because it can result in negative values anyways - which is actually good because it reflects a gain but may be confusing to the user. For example: if I purchase an asset and the price of that asset goes up and then I sell most of that asset then the total cost of acquiring that asset would become negative.
Example:
10 units of asset yes is purchased for 2 ZTG. Cost = 20 ZTG
Asset yes price increases to 3 ZTG
8 units of asset yes is sold for 3 ZTG. Cost = -24 ZTG
Total cost = -4 ZTG
Average price per unit then that may be a better reflection of the cost of acquiring that asset. Alternatively we could show both total cost and average cost and include a tooltip that explains how each is calculated.

I'm seeing negative total cost on some positions, why's that?

Did you check if useTradeHistory displayed all the trades for those markets/assets? One of the issues I mentioned was surrounding some missing transactions and that resulted in negative values being calculated since it only showed sells.
The other issue I'm realizing is that total cost may not be a good measure because it can result in negative values anyways - which is actually good because it reflects a gain but may be confusing to the user. For example: if I purchase an asset and the price of that asset goes up and then I sell most of that asset then the total cost of acquiring that asset would become negative.
Example: 10 units of asset yes is purchased for 2 ZTG. Cost = 20 ZTG Asset yes price increases to 3 ZTG 8 units of asset yes is sold for 3 ZTG. Cost = -24 ZTG Total cost = -4 ZTG
Average price per unit then that may be a better reflection of the cost of acquiring that asset. Alternatively we could show both total cost and average cost and include a tooltip that explains how each is calculated.

Thanks that makes sense, what do you think about showing profit/loss (current value - how much they spent)? I think that would ultimately be what the user wants to know

I'm seeing negative total cost on some positions, why's that?

Did you check if useTradeHistory displayed all the trades for those markets/assets? One of the issues I mentioned was surrounding some missing transactions and that resulted in negative values being calculated since it only showed sells.
The other issue I'm realizing is that total cost may not be a good measure because it can result in negative values anyways - which is actually good because it reflects a gain but may be confusing to the user. For example: if I purchase an asset and the price of that asset goes up and then I sell most of that asset then the total cost of acquiring that asset would become negative.
Example: 10 units of asset yes is purchased for 2 ZTG. Cost = 20 ZTG Asset yes price increases to 3 ZTG 8 units of asset yes is sold for 3 ZTG. Cost = -24 ZTG Total cost = -4 ZTG
Average price per unit then that may be a better reflection of the cost of acquiring that asset. Alternatively we could show both total cost and average cost and include a tooltip that explains how each is calculated.

Thanks that makes sense, what do you think about showing profit/loss (current value - how much they spent)? I think that would ultimately be what the user wants to know

Yeah I think so too. I find myself often checking average price too when I buy/sell assets like crypto so I think including PnL and average price is the way to go. I'll update this PR to include those features.

Just thinking... you can also acquire/lose tokens via liquidity provision and minting/burning full sets. So I wonder if some of the issues are related to that

I think it would helpful for the user to get an explanation of the terms via a tooltip; I'll open a separate issue for that.
Lastly, I just need to refactor some code so that the table columns conditionally loaded whether or not it's in the subsidy section.


Command: use Postgres service address

In case Postgres pod is deployed on different node than command.

recheck ha

recheck ha


oak saplings in the reactor access port can be picked and taken out

Checklist

[X] You are using official & LATEST version downloaded from Builds (https://github.com/PranavVerma-droid/AdvancedTech/releases)
[X] You did not modify the jar file
[X] You searched existing issues, and could not find any existing bug report on this

Description
the oak saplings named start and stop can be dragged into your inventory and used for other purposes like planting
Reproduction Steps
pull the saplings out
Expected Behavior
the saplings should be virtual and non useable
Server log
No response
Error report
No response
Server Software
Paper
Minecraft Version
1.20.x
Slimefun version
rc-35
Plugin version
Dev version <IP_ADDRESS>

I have Fixed the Issue, Please Check the Latest Dev Build:
https://thebusybiscuit.github.io/builds/PranavVerma-droid/AdvancedTech/dev/


Add support or documentation on how to integrate SDK with additional NestJS GraphQL resolvers

Could you explain more? What do you mean by additional NestJS GraphQL resolvers? SDK is just a set of functions that call your operations against the GraphQL Schema generated by GraphQL Mesh.

@ardatan yeah sorry, my bad.
What I initially meant was something along the lines of this https://github.com/Urigo/graphql-mesh/issues/598 :smiley:

You can use GraphQLSchema exposed by Mesh in NestJS.

@marcus-sa could you try to create an example repo we could collaborate on?

@marcus-sa Feel free to open a new issue with a minimal reproduction if it still persists. GraphQL Mesh is able to export an executable GraphQLSchema instance that can be used any kind of executor like HTTP servers, playgrounds etc.


API Gateway now working with Consul and Swagger implemented

Hi,
Here you can see that Swagger is pulling the documentation from the service:

And a working request via Swagger also showing that the API gateway is working:

I also added a method to migrate the database, as anyone trying to run the project will have problems with a database not existing. So now it migrates on startup, not the best as multiple services that could be starting multiple instances will cause issues.

Wow this is really cool.
Thank you for participating!

@madslundt Do you have Discord or anything? I'd like to speak to you about some design decisions?

@jbonnett92 Can you send me an email with some of your thoughts? Then I'll see if I can set up a meeting to discuss it.

What is your email address?

You can find my email on my github profile page.


Make README less verbose

The README file is a little bit verbose.  Ideally, it should just include some basic stuff.  Principles could be extracted to the Wiki or to another .md file.
Open to feedback and ideas.

Yeah, lots of stuff should be extracted to the wiki or CONTRIBUTING.md.


Add information on notebooks and NHS-R guidance link

Guidance link to be added: https://nhsdigital.github.io/rap-community-of-practice/implementing_RAP/notebooks_versus_ide_development/#what-is-this-guide-for
Also summarise key points/differences in new page on ADA/Databricks section

 Add info on notebooks to Analysts Guide


Name clash when importing adapter syntax from multiple type classes in to the same scope

The implicit conversion that enables OO syntax is currently named Adapter and exists in the companion of the type class. This has the unfortunate effect of making it impossible to use syntax from two unrelated type classes in the same lexical scope without name aliasing one of the adapter implicit conversions.
Per discussion on Gitter, new plan is to name the adapter class and conversion FooOps where Foo is the name of the type class. This makes direct importing of ops look like import Foo.FooOps instead of import Foo.Adapter.

Besides fixing the name clash, we should also support libraries that want to offer convenience objects that bundles up all the implicit conversions in to a single import. For example, something like import mylib.ops._ which would give access to the implicit conversions for all type classes in the library.
One proposal which handles this is generating a ToFooOps trait in the companion object which contains the implicit conversion to FooOps. Additionally, we'd define an object ops extends ToFooOps in the companion to handle the direct import use case. Then, libraries can define convenience ops objects manually via object ops extends Foo.ToFooOps with Bar.ToBarOps.
This proposal changes direct import of a type class ops from import Foo.Adapter to import Foo.ops._.


🪲 BUG: Cost data blinking at startup

The whole block is "blinking" because the data has not been loaded yet (by the get_fm_data module).
In the UI add a check to see if this data has been loaded, if not show a text Loading cost data...

Closed by #186


Can't stand up Cassandra Ring with firewalld enabled on node that runs Cassandra Cluster

I'm trying to get the cassandra-mesos project to run in conjunction with a configured firewalld service.  I can't seem to find a way to get the scheduler to work when firewalld is running.  Here's what I'm seeing:

The entire range of mesos ports 31000-32000 are open in firewalld
When i start the cassandra cluster on the node i see the following logging repeating (every minute) in the mesos-cassandra.log file:

2015-10-30 07:52:56,671 INFO  [main] o.g.g.http.server.NetworkListener - {} Started listener bound to [bodega-cnt7-247.auto4.labs.aspect.com:31252]
2015-10-30 07:52:56,680 INFO  [main] o.g.grizzly.http.server.HttpServer - {} [HttpServer] Started.
2015-10-30 07:52:56,682 DEBUG [main] i.m.m.f.c.scheduler.SeedManager - {} Scheduling background syncing task to run every 60 seconds
2015-10-30 07:52:56,686 INFO  [pool-1-thread-1] i.m.m.f.c.scheduler.SeedManager - {} Syncing seeds ...
2015-10-30 07:53:11,937 DEBUG [Grizzly-worker(2)] i.m.m.f.c.s.h.HealthReportService - {} > generateClusterHealthReport()
2015-10-30 07:53:12,035 TRACE [Grizzly-worker(2)] i.m.m.f.c.s.h.HealthReportService - {} < generateClusterHealthReport() = ClusterHealthReport{healthy=false, results=[ClusterHealthEvaluationResult{name='nodeCount', ok=false, expected=3, actual=0}, ClusterHealthEvaluationResult{name='seedCount', ok=false, expected=2, actual=0}, ClusterHealthEvaluationResult{name='allHealthy', ok=false, expected=[true, true, true], actual=[]}, ClusterHealthEvaluationResult{name='operatingModeNormal', ok=false, expected=[Optional.of(NORMAL), Optional.of(NORMAL), Optional.of(NORMAL)], actual=[]}, ClusterHealthEvaluationResult{name='lastHealthCheckNewerThan', ok=false, expected=[1446209291974,<PHONE_NUMBER>974,<PHONE_NUMBER>974], actual=[]}, ClusterHealthEvaluationResult{name='nodesHaveServerTask', ok=false, expected=[true, true, true], actual=[]}]}
2015-10-30 07:53:12,035 INFO  [Grizzly-worker(2)] i.m.m.f.c.s.a.HealthCheckController - {} Cluster Health Report Generated. result: healthy = false
2015-10-30 07:53:41,144 DEBUG [Grizzly-worker(3)] i.m.m.f.c.s.h.HealthReportService - {} > generateClusterHealthReport()
2015-10-30 07:53:41,144 TRACE [Grizzly-worker(3)] i.m.m.f.c.s.h.HealthReportService - {} < generateClusterHealthReport() = ClusterHealthReport{healthy=false, results=[ClusterHealthEvaluationResult{name='nodeCount', ok=false, expected=3, actual=0}, ClusterHealthEvaluationResult{name='seedCount', ok=false, expected=2, actual=0}, ClusterHealthEvaluationResult{name='allHealthy', ok=false, expected=[true, true, true], actual=[]}, ClusterHealthEvaluationResult{name='operatingModeNormal', ok=false, expected=[Optional.of(NORMAL), Optional.of(NORMAL), Optional.of(NORMAL)], actual=[]}, ClusterHealthEvaluationResult{name='lastHealthCheckNewerThan', ok=false, expected=[1446209321144,<PHONE_NUMBER>144,<PHONE_NUMBER>144], actual=[]}, ClusterHealthEvaluationResult{name='nodesHaveServerTask', ok=false, expected=[true, true, true], actual=[]}]}
2015-10-30 07:53:41,144 INFO  [Grizzly-worker(3)] i.m.m.f.c.s.a.HealthCheckController - {} Cluster Health Report Generated. result: healthy = false
2015-10-30 07:53:56,686 INFO  [pool-1-thread-1] i.m.m.f.c.scheduler.SeedManager - {} Syncing seeds ...
2015-10-30 07:54:11,169 DEBUG [Grizzly-worker(1)] i.m.m.f.c.s.h.HealthReportService - {} > generateClusterHealthReport()
2015-10-30 07:54:11,170 TRACE [Grizzly-worker(1)] i.m.m.f.c.s.h.HealthReportService - {} < generateClusterHealthReport() = ClusterHealthReport{healthy=false, results=[ClusterHealthEvaluationResult{name='nodeCount', ok=false, expected=3, actual=0}, ClusterHealthEvaluationResult{name='seedCount', ok=false, expected=2, actual=0}, ClusterHealthEvaluationResult{name='allHealthy', ok=false, expected=[true, true, true], actual=[]}, ClusterHealthEvaluationResult{name='operatingModeNormal', ok=false, expected=[Optional.of(NORMAL), Optional.of(NORMAL), Optional.of(NORMAL)], actual=[]}, ClusterHealthEvaluationResult{name='lastHealthCheckNewerThan', ok=false, expected=[1446209351170,<PHONE_NUMBER>170,<PHONE_NUMBER>170], actual=[]}, ClusterHealthEvaluationResult{name='nodesHaveServerTask', ok=false, expected=[true, true, true], actual=[]}]}
2015-10-30 07:54:11,170 INFO  [Grizzly-worker(1)] i.m.m.f.c.s.a.HealthCheckController - {} Cluster Health Report Generated. result: healthy = false

If i stop firewalld on the node running the scheduler nothing changes.
if I check the ports in use by the cassandra scheduler i see this:

[root@bodega-cnt7-246 ~]# ps -ef | grep cassan
root      4266  4246 31 07:07 ?        00:00:09 /tmp/mesos/slaves/58d76858-1d00-4ce7-8803-dfcb726f3859-S8/frameworks/58d76858-1d00-4ce7-8803-dfcb726f3859-0000/executors/monk_cassandra-scheduler.ba82b85d-7efe-11e5-8468-00155dc80d0d/runs/4ca0733d-005f-4fc1-9e62-6a2da45d296f/jre1.7.0_76/bin/java -Xms256m -Xmx256m -classpath cassandra-mesos-framework.jar io.mesosphere.mesos.frameworks.cassandra.framework.Main
root      4419  4294  0 07:07 pts/0    00:00:00 grep --color=auto cassan
[root@bodega-cnt7-246 ~]# lsof -i | grep 4266
java      4266 root   10u  IPv4  27275      0t0  TCP bodega-cnt7-246.auto4.labs.aspect.com:56453->bodega-cnt7-243.auto4.labs.aspect.com:eforward (ESTABLISHED)
java      4266 root   12u  IPv4  28911      0t0  TCP *:39220 (LISTEN)
java      4266 root   15u  IPv4  28241      0t0  TCP bodega-cnt7-246.auto4.labs.aspect.com:36634->bodega-cnt7-245.auto4.labs.aspect.com:eforward (ESTABLISHED)
java      4266 root   16u  IPv6  28970      0t0  TCP bodega-cnt7-246.auto4.labs.aspect.com:31483 (LISTEN)
java      4266 root   29u  IPv4  28361      0t0  TCP bodega-cnt7-246.auto4.labs.aspect.com:36635->bodega-cnt7-245.auto4.labs.aspect.com:eforward (ESTABLISHED)
java      4266 root   30u  IPv4  28362      0t0  TCP bodega-cnt7-246.auto4.labs.aspect.com:39459->bodega-cnt7-243.auto4.labs.aspect.com:mmcc (ESTABLISHED)
java      4266 root   31u  IPv4  29104      0t0  TCP bodega-cnt7-246.auto4.labs.aspect.com:39220->bodega-cnt7-243.auto4.labs.aspect.com:37815 (ESTABLISHED)
java      4266 root   32u  IPv6  29942      0t0  TCP bodega-cnt7-246.auto4.labs.aspect.com:31483->bodega-cnt7-245.auto4.labs.aspect.com:39495 (ESTABLISHED)
java      4266 root   33u  IPv6  29954      0t0  TCP bodega-cnt7-246.auto4.labs.aspect.com:31483->bodega-cnt7-245.auto4.labs.aspect.com:39508 (ESTABLISHED)
[root@bodega-cnt7-246 ~]#
the port 39220 that the scheduler listens on seems to be a random port and it's not in the mesos range:
java      4266 root   12u  IPv4  28911      0t0  TCP *:39220 (LISTEN)
I've tried adding an exclusion for this port after the scheduler is up and running and it still doesn't rectify the problem.

the only way that i've been able to standup a working cassandra ring is to make sure that the firewalld service is turned off on the node that runs the cassandra scheduler PRIOR TO IT STARTING.  NOTE: the firewall is configured and enabled on the nodes that run the cassandra nodes and executors.  The firewall exclusions for those applications seem to be working fine.

Any tips on what it takes to get the scheduler to run with an enabled firewall?
I'm using the following versions:
marathon-0.11.1-1.0.432.el7.x86_64
mesos-0.25.0-0.2.70.centos701406.x86_64
mesosphere-zookeeper-3.4.6-0.1.20141204175332.centos7.x86_64
cassandra-mesos-0.2.0-1.tar.gz
jre-7u76-linux-x64.tar.gz
apache-cassandra-2.1.4
Thanks!

Are you also running firewalld on the executor nodes or only the scheduler node? How do the executor nodes look, if any? The description only mentions the scheduler, but the logs point out that no nodes are up (nodeCount/seedCount).
Going by the recommended ports to be reserved in the cassandra-mesos docs (http://mesosphere.github.io/cassandra-mesos/docs/), it looks like the following ports may be involved, at least on the executors, and opening them may help: 31000-32000,7000-7001,7199,9042,9160
One port worth pointing out from that list is 7199, used on the executors for JMX. By default this port would just be listening over loopback/localhost, but firewalld may conceivably be blocking that regardless as well? The executors use JMX over loopback to interact with their respective local cassandra tasks.

I'm not having any issues with the executors or the nodes.  I currently have all of these ports open on the firewall where the executors and nodes components run: 31000-32000,7000-7001,7199,9042,9160.  But the only way that I can seem to get the Cassandra scheduler to launch anything is to START it on a machine that has the firewalld service disabled.

I was able to find an acceptable solution to this problem.  I found if you set the LIBMESOS_PORT environment variable in the Marathon JSON file for the Cassandra scheduler application and ensure that that same port is open in the firewall this issue does not occur.
Reference information from this link for a similar problem: https://github.com/mesos/chronos/issues/338
Actual fix was to change the 'cmd' parameter in the Cassandra Scheduler Marathon JSON file to be this:
"cmd": "export LIBPROCESS_PORT=9875 ; $(pwd)/jre*/bin/java $JAVA_OPTS -classpath cassandra-mesos-framework.jar io.mesosphere.mesos.frameworks.cassandra.framework.Main",
And to ensure that port 9875 is open on the slave that runs the Cassandra Scheduler.
NOTE: the port 9875 was randomly selected.

By default libmesos that provides the implementation of the SchedulerDriver connecting to mesos requires bidirectional communication.  The scheduler will connect to the master to send messages, but will tell the master where it's listening so that the master can send messages back to the scheduler.
This scenario will be reduced in the future with the introduction of the new HTTP APIs being built into mesos and will result in unidirectional access being sufficient (scheduler to master).


Publish 11/02/2021, 3:30 PM

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

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOTenantRenameStatus.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-online/Start-SPOTenantRename.md
:white_check_mark:Succeeded
View (sharepoint-ps)

sharepoint/sharepoint-ps/sharepoint-online/Stop-SPOTenantRename.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Adding Ubuntu Flavors: Fix whitespaces

When adding or using an Ubuntu Flavor, all the logos don't have whitespaces. If anything they have just white in them. To see the full logos and everything actually accurate, visit https://ubuntu.com/download/flavours.
The following logos are incorrect and need whitespace fixes asap. I'd love to SRU this to backport this into Ubuntu 20.04 Focal LTS and it'd be great!
Lubuntu

Sidenote: As I go along the list-Ubuntu Budgie's colors are inverted (Gray/White to White/Gray). Might've been due to terminal colors but you might want to flip it. Your choice.
Sidenote #2: You need to add support for Ubuntu Kylin (I'll probably PR)
Ubuntu MATE

Xubuntu

Ubuntu Cinnamon Remix
You get the point of the image-it's not on the flavor site so I can't show you the logo comparison but I can show you the issue.

I'm happy to accept PRs for this change. :+1:

Yeah. Just wish I knew how to deal with ASCII.

It should simply be a matter of filling the space with some kind of character, surrounding each instance on each line with the needed color formatting variables. What's the deadline on these changes (for Ubuntu)? If there's still adequate time left, I'll take a look. :+1:

Ubuntu deadline let's see... well the MOTUs aren't doing any work with my Cinnamon patch requests but I may be able to push someone for neofetch.
The white spaces: on plain Ubuntu they are filled in white. All you need to do is fix the blank spaces by filling them white-take the letters of the classic Ubuntu/Ubuntu Budgie for example

Here's Xubuntu, thoughts?

Much better. There are a few white spots but you got the right idea, keep going you're doing gr8 m8

I`ve also tried xubuntu, seemed the easiest one. ;)

The code is
        "Xubuntu"*)
            set_colors 4 7 1
            read -rd '' ascii_data <<'EOF'
${c1}           `-/osyhddddhyso/-`
        .+yddddddddddddddddddy+.
      :yddddddddddddddddddddddddy:
    :ydddddddddddddddddddhhdddddddy:
  `oddddddddddd${c2}hhh${c1}ddddddd${c2}hh${c1}ddd${c2}hh${c1}ddddo`
 `ydddddd${c2}hhh${c1}dd${c2}hhhhh${c1}ddddd${c2}hhh${c1}dd${c2}hhh${c1}dddddy`
 sdddddd${c2}hhhhh${c1}d${c2}hhhhh${c1}ddddd${c2}hhh${c1}d${c2}hhh${c1}ddddddds
:ddddddd${c2}hhhhhhhhhhh${c1}ddddd${c2}hh${c1}d${c2}hhh${c1}ddddddddd:
ydddddddd${c2}hhhhhhhhhhhhhhhhhhhh${c1}ddddddddddy
dddddddd${c2}hhhhhhhhhhhhhhhhhhhhhhh${c1}ddddddddh
hddddddd${c2}hhhhhhhhhhhhhhhhhhhhhhhh${c1}dddddddh
ydddddd${c2}hhhhhhhhhhhhhhhhhhhhhhhhhh${c1}ddddddy
:dddddd${c2}hhhhhhhhhhhhhhhhhhhhhhhhh${c1}ddddddd:
 sddddd${c2}hhhhhhhhhhhhhhhhhhhhhhh${c1}dddddddds
 `yddddd${c2}hhhhhhhhhhhhhhhhhhh${c1}ddddddddddy`
  `oddddd${c2}hhhhhhhhhhhhhh${c1}dddddddddddddo`
    :yddddd${c2}hhhhhh${c1}dddddddddddddddddy:
      :yddddddddddddddddddddddddy:
        .+yddddddddddddddddddy+.
           `-/osyhhddhhyso/-`
EOF
        ;;

I'll see if I can play around and fix stuff via PR

Anddd as the people say, I can't. I'm just not experienced enough. I could do it but I would likely not be 100% correct, up to you
However, I think the colors are a bit off for gnome-terminal-especially for UCR-the colors I suggest for it are "130 7" (set_colors 130 7)

For the colors: check out #1517
Whitespaces will still have to be fixed-but colors being more serious and accurate will help.

I reworked Xubuntu and Lubuntu, see #1518

For Cinnamon see #1521

For Mate see #1522

What about budgie? Currently it is white with spaces.

Should it be converted to dark-grey with white filling to better match the logo shown here?
https://ubuntu.com/download/flavours

Budgie terminal by default I believe (tilix) theme is gray. That should be fine but you might want to color in the blank spaces with gray. Not 100% sure

Ok, then I think it's ok to leave it as is for now. :)

If you find the original logo you want, open it with GIMP, scale image to 20x40(HxW) so it scales properly for letters being taller than wide. Save image as a .xmp file. You can open this with nano or other text editor, and have the ASCII art done for you. You will have to go in and manually add the coloring barrier sections though: "${c#}" ...
Or, take a look at what letters/symbols GIMP's .xmp file used for the whitespaces, and just add those into neofetch default ASCII code. Not too hard, but semi-time consuming.
Either way you go about getting some symbol in place of whitespace, you may need to add another ${c#} color number in set_colors, and inline, if you are adding a new symbol that wasn't there to begin with. For set_colors, just test random numbers in that spot til you find what you like. I ran 0-99 and saw the majority of colors. Can't find Orange or light brown yet, so good luck getting what you need...

If you find the original logo you want, open it with GIMP, scale image to 20x40(HxW) so it scales properly for letters being taller than wide. Save image as a .xmp file. You can open this with nano or other text editor, and have the ASCII art done for you. You will have to go in and manually add the coloring barrier sections though: "${c#}" ...
Or, take a look at what letters/symbols GIMP's .xmp file used for the whitespaces, and just add those into neofetch default ASCII code. Not too hard, but semi-time consuming.
Either way you go about getting some symbol in place of whitespace, you may need to add another ${c#} color number in set_colors, and inline, if you are adding a new symbol that wasn't there to begin with. For set_colors, just test random numbers in that spot til you find what you like. I ran 0-99 and saw the majority of colors. Can't find Orange or light brown yet, so good luck getting what you need...

The only way to find a correct color or tune one is to change the terminal theme. Easier said then done and nobody wants a distro specific terminal color, espesially for a DE

Thanks, that's about where I'm stuck at... .Xresources and dkeger fix ascii, but I really don't want tux colors for terminal, lol.

Hold on-we are leaving this on hold-I think we are

Leaving budgie the way it is
Keeping UCR colors the same as Ubuntu but lighter-the one we currently have

I think this issue has been solved, so I'll close this issue. Thanks guys!


Possible to have acoustic detections without trackline?

Hi @ybarkley @kmyano,
I got the final leg 2 acoustics file and am working on closing out Leg 2/setting up for Leg 3. On the second to last day, there is a beaked whale acoustic detection that is not on a trackline Is that possible if weather is bad? E.g., visuals would be considered off effort but acoustics could still be working?
dailyMap_acoustics.png
Or is something wrong with the code?
Thanks!
sf.

Nothing is wrong with the code :)
The last couple of days had really rough seas, Bft 7, so the observers were off effort. But Acoustics can still work and they detected those species. So all good!

Yay! That was my hope and suspicion. Pretty impressive that it took until the last few days to actually have it happen :)


Re-enable e2e tests

Please describe the task that needs to be done
Now that the main issues with the code editor have been resolved, we should be able to add back e2e tests.

[x] Create common happy paths
[x] Update existing e2e tests
[x] Add any missing e2e tests
[ ] Update relevant API keys where necessary
[ ] Ensure e2e tests are run on each PR

Tests should only be run against the main branch, not for forks. Relates to #1100.

@tplevko no worries I will take a look, thank you for all of your help with this!

@kahboom closing this as the e2e tests are already reenabled on PR's. Thanks for helping out with this.


Notes under games

http://forums.faforever.com/forums/viewtopic.php?f=42&t=11241#p115335

I'm not exactly sure how it was meant, can we sort out if it's something client-side or for the game-lobby and how exactly it would work?
If it's for the game-lobby, this suggestion should be posted in https://github.com/FAForever/fa instead.

I think he means for when hosting a game you can add a special note for the game tile, I think we can display this when hovering over the game. Adding it to the streaming protocol shouldn't be too hard

Ok he means in the actual game, i misunderstood


DEVOPS-280-configurable-parameters-in-server-helm-chart

 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.Yariv Freifeld seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Store confidences in neural networks output

There is no notion of confidences in neural networks at the moment which is baad.

Maybe that is not so bad. NN's notion of confidence is neither calibrated nor stable. Using them to quantify uncertainty usually is dangerous. Or has this changed?

Well softmax is pretty calibrated.
I met this issue when applied to some classification when ranking is important. SVM outputs some data which is not calibrated as well but you can extract ranking

Guys,
Feedforward NN do not understand uncertainty on their parameters. The only thing they can do is quantify uncertainty on final output variables, but is is a maximum likelihood or MAP estimate which has previously thrown away all the uncertainty between inputs and that.
As such, the output (i.e. of a softmax or the probability of binary unit for classification or the variance of a gaussian) is the error bar of the NN in terms of its outputs. This does not need to be read out explicitly in any further way, really, it is part of the output parameters.

The outputs of the network can very well be interpreted as confidences in the case of multiclass classification using softmax or logistic units. I guess we could add that, since implementing it would be very easy.


Cannot read properties from undefined (reading 'map')

Preflight Checklist

[x] I have read the Contributing Guidelines for this project.
[x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

Operating System:

Azure Web App (I think Ubuntu, but not sure)

Browser:

Chrome

Expected Behavior
I should have my cloud carbon footprint estimation.
Actual Behavior
I only get an error message withtout any of the estimation. But it seems that my Azure services are fetch correctly, so this could indicate that my Azure configuration is fine.
To Reproduce

Use the last Backstage version
Use the last ccf-backstage-plugin version
Configure the azure connection

cloudCarbonFootprint:
  client:
    dateRangeType: months
    dateRangeValue: 1
    groupBy: week
  azure:
    useBillingData: true
    clientId: ${AZURE_CLIENT_ID}
    clientSecret: ${AZURE_CLIENT_SECRET}
    tenantId: ${AZURE_TENANT_ID}

Start the server, and go to the ccf page.

Screenshots

The error

Logs

The services (which seem to indicate my Azure resources, so the configuration should be fine)

Additional Information

© 2022 Thoughtworks, Inc.

@4upz @4upz-tw did you have time to check on this ?

Hi @LvffY , sorry for going quiet on this! We started looking at it but had to prioritize another urgent improvement needed  for CCF. Now that the work is winding down, we'll be able to continue looking into this soon. Thanks for your patience!

Hi @LvffY, I'm having some trouble reproducing this error using our Azure credentials and the same date range. By looking at the logs, it seems that estimations were fetched but something happens while setting the cache. Can you answer the following questions to help isolate the issue:

Did this error occur the first time you fetched estimates? Or only on subsequent times?
Does this error repeat every time you try to load the dashboard?
In your packages/backend folder of your Backstage project, do you see a file named estimates.cache.week.json? If so, does it have estimates in it or is it empty?
Lastly, if you have an estimates file, can you try deleting it and reloading the dashboard? Does the error occur again after it creates a new cache file?

Sorry for all of the follow-up questions, and thanks in advance for helping us isolate this!

No worries :) @4upz

Did this error occur the first time you fetched estimates? Or only on subsequent times?

It happens every time

Does this error repeat every time you try to load the dashboard?

Yes

In your packages/backend folder of your Backstage project, do you see a file named estimates.cache.week.json? If so, does it have estimates in it or is it empty?

I see a file but it only contains  :
[]

Lastly, if you have an estimates file, can you try deleting it and reloading the dashboard? Does the error occur again after it creates a new cache file?

Same error

@LvffY Thanks for the quick response. The fact that your cache file is empty is interesting. If you're seeing services on the dashboard, that means that the estimates are in fact making it to the client as the list of services are pulled from the resulting estimates. I'm wondering if this is an error occurring on the client when trying to display the estimates, or weird behavior with the cache when it tries to save them.
To help confirm this and whether the API is returning the expected data -- would you mind reloading the page once more while the browser devtools are open, navigate to the network tab, and showing me what you see as the direct response from the API after the request is completed? Here's a screenshot as an example:

Hi @4upz
It seems that I get an answer :

Hi @LvffY , sorry for the delay. We just did a release that updated the plugin with the latest release of CCF along with some other outdated dependencies. Would you mind giving this another try and seeing if you see the issue?
Additionally, it would be helpful if you tried running the plugin with a local (non-Azure hosted) version of the app to see if you see the issue as well. If the issue is persisting, this could help us isolate whether the issue is environment or not.

Hi @4upz
After upgrading backstage to 1.7.0.next.2, reinstalling this plugin and running yarn dev on my local machine I have the following issue :

Is there any I'm missing ?

@LvffY This seems to be a separate issue caused by potential conflicts in the version of react-router that Backstage has just added to the next version of their app, and the version that our plugin uses from the previous scaffolder. We did just make a release, in which you can try to update your plugin when it publishes and see if it resolves that issue. Otherwise, I would try cleaning your cache or deleting your node_modules folder and doing a fresh install to try to clear the conflicts.
If the issue still persists, we can look into that separately as that would involve a deeper look into troubleshooting and updating to the next version of Backstage's create-app. For the scope of the issue, I would try to testing the current version of the app with the most stable release of Backstage (1.7.0) to see if you still encounter the original error. That way, we're minimizing environmental variables. We recommend using the stable version (not using the --release next flag) instead of the Next version, as that is the release we often test against.

@4upz I updated the backstage to 1.7.0 and add the ccf plugin. But I got the same kind of errors :

UI

Logs

Do you think I'm (again) missing something ?

@LvffY The logs in the second image seem to only be sub-dependency warnings. So I wouldn't worry about those as they shouldn't be breaking the app. However, the browser error in the first image is interesting, yet it doesn't mention the plugin in the error trace and only Backstage core.
I think there's still a mismatch in dependencies going on that is separate from the plugin. Regardless, it may be more productive to hop on a call to truly understand what's happening. If you're interested, do you want to send me an email at<EMAIL_ADDRESS>and perhaps we can find some time to hop on a call and troubleshoot?

@4upz Thanks, it would be easier :)
Because I think this new problem is somehow related to the 1.7.0 version, I opened a backstage issue (https://github.com/backstage/backstage/issues/14239) about that. When it will be resolved, I'll retry about your issue here and reach out to you on your mail :)


The "Smooth" function creates a weird delay

By default the smooth function is enabled and it always seems to create a weird delay on the leds.
So far I have not noticed any upside when enabling smooth on the X-touch, so I will either remove it completely, or take the non-smooth as default mode.

Disabled smooth by default: https://github.com/bramdebouvere/fltouch/commit/3bb6e861cff35224b045eebe64d4b1164aac8cc5


[WIP] review upstream updates

latest librealsense2is broken https://github.com/intel-ros/realsense/issues/451
downgrade via:
./cob-pcs-execute.sh "sudo apt install librealsense2=2.15.0-0~realsense0.83 librealsense2-dev=2.15.0-0~realsense0.83 librealsense2-utils=2.15.0-0~realsense0.83"

also investigate in what way these upstream changes are useful to be pulled into our fork, e.g. travis magic

superseded by #5


Build dependecies problem still there

I followed the instruction by dear MR. Ringrunnermg, installed vcpkg, and installed all dependencies. However, when compiling the program, there are still a lot of errors. It seemed that the wxwidgets and socket-io-client and etc. have changed, many of them are upgraded and of different versions now.  I really hope that the author Ringrunnermg can share his own dependecy files in a folder, so it will be easier for us to focus on coding. My goal is to write a joystick button layout to better suit the game Elden Ring.  This current joystick button layout and gyro functions is diffcult for playing that game.  The Youtuber, @SuperLouis64 's solution is more suitable. However, his solution is to use hardwares like Titan Two, it is costly and hard to get.
It probably requires the following directories:
glm
ViGEm
wx
and head files like
sio_clients.h sio_message.h sio_socket.h
hidapi.h
I tried coping those from the original joycon driver source code, but they are not compatible with this.
Many thanks.

help with the JoiCon problem: https://github.com/ringrunnermg/Ringcon-Driver/issues/22?ysclid=llhxsz6lkk27258939


2.2 Preview 3 SQL Server Computed Location Column - Distance Function

I have a SQL Server DB with a Latitude, Longitude, and Location column (computed)
In EF, I should be able to use the Distance function to query. When I use it, I receive no results. I should receive my Venue back as it's less than 100 miles away (per the query)
See the stripped down test case below.
using GeoAPI.Geometries;
using Microsoft.EntityFrameworkCore;
using NetTopologySuite;
using System.Linq;

namespace Location
{
    public class Venue
    {
        public int Id { get; set; }
        public IGeometry Location { get; set; }
        public double Latitude { get; set; }
        public double Longitude { get; set; }
    }

    public class Ctx : DbContext
    {
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
            => optionsBuilder
                .UseSqlServer(@"Server=(localdb)\mssqllocaldb;Database=Test;ConnectRetryCount=0",
                    b => b.UseNetTopologySuite());

        public DbSet<Venue> Venue { get; set; }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            modelBuilder.Entity<Venue>(entity =>
            {
                // this is how db scaffold generates the column
                entity.Property(e => e.Location).HasComputedColumnSql("([geography]::Point([Latitude],[Longitude],(4326)))");
            });
        }
    }

    public class Program
    {
        public const double MILES_TO_METERS = 1609.344;

        public static void Main()
        {
            var geometryFactory = NtsGeometryServices.Instance.CreateGeometryFactory(srid: 4326);

            using (var context = new Ctx())
            {
                context.Database.EnsureDeleted();
                context.Database.EnsureCreated();

                var lat = 39.9568;
                var lng = -86.1432;
                var point = geometryFactory.CreatePoint(new Coordinate(lat, lng));

                // not exactly sure why I have to explicity add Location as it should be computed if
                // not, it throws null pointer
                context.Add(new Venue { Latitude = lat, Longitude = lng, Location = point });

                context.SaveChanges();
            }

            using (var context = new Ctx())
            {
                var radiusMiles = 100;
                var distanceMax = MILES_TO_METERS * radiusMiles;
                var currentLoc = geometryFactory.CreatePoint(new Coordinate(39.869730, -86.142460));

                var venues = (from v in context.Venue
                              where v.Location.Distance(currentLoc) <= distanceMax
                              select v).ToList();

                //venues.Count == 0, should be 1
            }
        }
    }
}

@aherrick This is because in an NTS Coordinate type, X is longitude, and Y is latitude. The code above has them switched in the two places that you create a Coordinate instance.

Thanks! Seems strange I've always seen Lat,Lng
Anyway, can you help me understand what value Location.Distance(point) returns? I can't seem to understand. Doesn't seem to be Meters or anything I can easily convert to Miles. I've resorted to a custom DistanceTo method. In EF Distance always returned Meters.

@aherrick, I believe it returns arc degrees. According to NASA 1 arc degree is 111'139 meters. I'm not sure how this translates to WGS84 though.
It would be great though if there would be methods that return reasonable values for distance calculations and other common tasks, because I would see myself copying the code multiple times to different projects. (Calculating bearing between two points is another common use-case for me, as example)

@corstian Thanks for the comment. In EF (not Core) Distance would just return meters which was great plus it was baked in.
I'm currently using the following method. It works, but again not ideal.
Any thoughts from the team? @ajvickers @bricelam Thank you!
   public static double DistanceTo(double lat1, double lon1, double lat2, double lon2, char unit = 'K')
        {
            double rlat1 = Math.PI * lat1 / 180;
            double rlat2 = Math.PI * lat2 / 180;
            double theta = lon1 - lon2;
            double rtheta = Math.PI * theta / 180;
            double dist =
                Math.Sin(rlat1) * Math.Sin(rlat2) + Math.Cos(rlat1) *
                Math.Cos(rlat2) * Math.Cos(rtheta);
            dist = Math.Acos(dist);
            dist = dist * 180 / Math.PI;
            dist = dist * 60 * 1.1515;

            switch (unit)
            {
                case 'K': //Kilometers -> default
                    return dist * 1.609344;

                case 'N': //Nautical Miles
                    return dist * 0.8684;

                case 'M': //Miles
                    return dist;
            }

            return dist;
        }

Additionally, It appears to return different values when called in memory vs against the DB.
// pull all venues into memory (imagine a cache), doesn't work
  var venues = (from v in await DB.Venue.ToListAsync()
                          where v.Location.Distance(point) <= distanceMax
                        select v).ToList();

// filter from DB, works
            var venues = await (from v in DB.Venue
                                where v.Location.Distance(point) <= distanceMax
                                select v).ToListAsync();

@aherrick For SQL Server, the default mapping is to "geography" types. This means that when SQL Server performs the Distance calculation it will return the distance in meters. For example, this:
Console.WriteLine(context.Venue.Select(v => v.Location.Distance(currentLoc)).First());

will output ~9668 meters, which is ~6 miles.
However, if you perform the calculation on the client, rather than in SQL Server, such as your code is doing, then NTS performs raw geometry values since it doesn't support geography calculations.
This is certainly something we are concerned about from the usability perspective. We will likely follow up with the NTS people on this, and also highlight it in the docs.

Exactly what I'm seeing... Thank you!

We've discussed it with the NTS team, but I couldn't find an issue for it. You may want to submit a new issue on them to rally support from the community.

@aherrick if you're filing an issue be sure to link to here. You've got my vote!

@bricelam are we certain this is the case? When I switch back to Preview 2, the Coordinate constuctor works with Latitude, Longitude.
            var coord = new Coordinate(lat, lng);

            var geomFactory = new GeometryFactory(new PrecisionModel(), 4326);
            return geomFactory.CreatePoint(coord);

Preview 2 maps to SQL Server geometry columns which calculates without units on a Cartesian plane so flipping x and y will give the same result.
Preview 3 maps to geography where switching lat and long will make a difference.


Correct clippy ding

After upgrading our Rust toolchain we got dinged by clippy in a new spot. Simple
little patch, mechanical really.
Signed-off-by: Brian L. Troutwine<EMAIL_ADDRESS>

Closing in favor of #244.


Nil value for uid_field

I tried implementing the module as part of an overall Ueberauth, Guardian & Canary implementation. But I was getting an error on the callback indicating:
nil given for :uid. Comparison with nil is forbidden as it is unsafe. Instead write a query with is_nil/1, for example: is_nil(s.uid)
The error appears to be arising due to the fact that line 21 of ueberauth_auth0/lib/ueberauth/strategy/auth0.ex is set as follows: uid_field: :user_id.
However, I don't think that user_id is set anywhere in the strategy or a value available from Auth0.
I've set it as follows instead: uid_field: :email, which seems to resolve this issue.
How did you work around this @sntran? Has anyone else encountered the issue?
I'll submit a PR for the above in case it's of use.
BTW, I'm running elixir 1.5 and Phoenix 1.3.

Hi there,
Yes, the user_id was missing, and there was a PR here https://github.com/sntran/ueberauth_auth0/pull/12.
Let me publish a new version for this.

Update to the above. I just reviewed the code on the github repo, and see there that the value is set to: uid_field: :sub instead over :user_id, and that value also seems to work.
I see that was resolved in PR #12

Thank for the speedy reply :) ... you were replying just as I did. I saw that PR when I was trying to create something similar. Sorry for the distraction.
Please LMK if there's anything I can do to assist with documentation or development.
I'm writing an authentication guide for Elixir/Phoenix, and will be sure to cover this package. So hopefully that will help in terms of some supplemental documentation/screencast.
Thanks for your wonderful work/contribution.

No worry.
If you find typo or something that needs clarification in the document, or bugs in the codes, or enhancement, please contribute.


blog: Add blogpost for user namespaces

For KEP: https://github.com/kubernetes/enhancements/issues/127
Signed-off-by: Giuseppe Scrivano<EMAIL_ADDRESS>

supersedes https://github.com/kubernetes/website/pull/35483

@katcosgrove is the date correct on this post?

This was removed from tracking due to a family emergency with the original author, and never assigned a publication date. Publishing today (well, retroactively) would result in too many blog posts going out this week. @giuseppe, can you change the date to October 3?

@katcosgrove sure!
Pushed a new version with the date set to October 3

thanks for the review.  I've addressed your comments and pushed a new version

@sftim thanks for the review.  Pushed a new version

@sftim thanks for the additional review.  I've addressed two of your comments (as I don't think it is worth mentioning the detail about UID=0) and pushed a new version.  If you think it is better to address the UID=0, I can push a new version, just let me know what would you like to see clarified there.

Thanks!
/lgtm
/approve


Fixed syntax highlighting of a number with percent.

I fixed a bug with percent from the issue https://github.com/browserslist/browserslist-vscode/issues/3

Hi, thanks for your PR!
I've added an .editorconfig recently, so the source would be normalized, could you format the file to match it?
I've used Prettier for that.

@wspwebben I fixed everything.

@wspwebben I fixed everything.

Great, thank you


RVIZ_RENDERING_PUBLIC for class member functions

Hi,
In Windows dll, RVIZ_RENDERING_PUBLIC is used to export class or functions. For class member functions, I see 2 different ways to use RVIZ_RENDERING_PUBLIC in rviz2 code.
One  way is to export the whole class (therefor export all member functions), like https://github.com/ros2/rviz/blob/rolling/rviz_rendering/include/rviz_rendering/material_manager.hpp#L47
class RVIZ_RENDERING_PUBLIC MaterialManager
{
}

The other way is to only export selected member functions, like https://github.com/ros2/rviz/blob/rolling/rviz_rendering/include/rviz_rendering/render_system.hpp#L66
class RenderSystem
{
public:
  RVIZ_RENDERING_PUBLIC
  static
  RenderSystem *
  get();

  ...
  void
  prepareOverlays(Ogre::SceneManager * scene_manager);

In the code above, both get() and prepareOverlays() are public member functions but only get() is exported. I'm not sure why and I'd like to check if the design could be changed.
In my case, I'm building some code in Windows and the code uses prepareOverlays():
rviz_rendering::RenderSystem::get()->prepareOverlays(manager);

In my case, the get() function can be linked but prepareOverlays() has link error. I think I have 2 options to fix it, to export one additional function of prepareOverlays() or to export the whole RenderSystem class.
I'd like to seek some comments here.

I'm not sure why and I'd like to check if the design could be changed.

I don't think we have a set design for this; we usually use whatever works.  I know in the past I've personally had some problems with exporting entire classes, and in those cases exporting the individual methods works.  But I've never dug into the details of why that is.
In any case, we'd be happy to take a patch which exported either the class or the individual method, as long as it continues to build, link, and run on Windows.


Implement automated krew-index updates

Please consider implementing automated (or if you prefer manual, more frequently reviewed) krew index updates. Docs are here: https://krew.sigs.k8s.io/docs/developer-guide/release/automating-updates/
/kind feature

cc @inteon


estimation for resolution

Adding changes to estimate function

First sample on how estimation can be done
imported estimate and extraction files to test files
fix for last extraction error

Linked to #14


Get Openai model list from api

Instead of writing the models hardcoded, allow to get it from the SDK,
from openai import OpenAI
import os

client = OpenAI(
    api_key = os.getenv('OPENAI_API_KEY')
)

models = client.models.list()

print(models)

This will allow the get custom models from OpenAI like APIs like vllm

Hey @itaybar
How are you?
We'd love to have that but we'll probably need a solution that runs well with and without an API key.
We'll see what we can do. Please tell if you have any Component suggestion.

This will list all models including the ones that do not support Text.

@ogabrielluiz
Hello, how are you?
What do you think about parsing the OpenAI official documentation (https://platform.openai.com/docs/models) using BeautifulSoup and pyppeteer?
In my code, I fetch the list of models from the anchor at:
https://platform.openai.com/docs/models/models
From there, I parse the model tables on the entire page that include "token" and "CONTEXT WINDOW".
For text models, the expression "token" is essential, so it seems appropriate to use it as a filtering condition.
I also tried using requests, but due to a 403 error caused by Cloudflare, I had to resort to using pyppeteer.
OpenAI has consistently updated their documentation alongside their announcements, and it is likely that they will continue to do so in the future. Although the structure of the site may change, the format of the documentation has remained relatively stable. This approach should be sufficient to handle occasional user requests. Since Pyppeteer mimics an actual browser, integrating it directly into OpenAI components could result in frequent unnecessary connections. Therefore, it would be best to implement this as a custom component in a format that can be docked to the model name field.
Additionally, since the max token value can be retrieved, it would be beneficial to integrate this value automatically if the component is unified.
import asyncio
from pyppeteer import launch
from bs4 import BeautifulSoup

async def fetch_page(url):
    """
    Fetches the HTML page from the given URL.

    Args:
        url (str): URL of the page

    Returns:
        str: HTML page content
    """
    browser = await launch(headless=True, args=['--no-sandbox'])
    page = await browser.newPage()
    await page.setUserAgent('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36')
    await page.goto(url)
    # Wait until the table is loaded
    await page.waitForSelector('.models-table table')
    content = await page.content()
    await browser.close()
    await browser.disconnect()
    return content

def parse_models(url):
    """
    Extracts model names, descriptions, and token counts from the page.

    Args:
        url (str): URL of the model overview page

    Returns:
        dict: Dictionary containing model names, sub-model names, and token counts
    """
    loop = asyncio.get_event_loop()
    html_content = loop.run_until_complete(fetch_page(url))
    soup = BeautifulSoup(html_content, 'html.parser')

    models = {}

    # Find model type sections
    sections = soup.select('.anchor-heading-root')

    for section in sections:
        type_name = section.text.strip()
        table = section.find_next_sibling('div').select_one('table')
        if table:
            headers = [header.text.strip() for header in table.find_all('th')]
            rows = table.find_all('tr')[1:]

            for row in rows:
                cells = row.find_all('td')
                # Ensure the row contains Model, Description, Context window, Training data
                if len(cells) >= 4:
                    model_name = cells[0].text.strip()
                    detailed_model_name = cells[0].text.strip()
                    context_window = int(cells[2].text.strip().replace(
                        ' tokens', '').replace(',', ''))

                    # Add sub-model names and token counts under the model type key
                    if type_name not in models:
                        models[type_name] = {}
                    models[type_name][detailed_model_name] = context_window

    return models

def main():
    overview_url = "https://platform.openai.com/docs/models/models-overview"

    # Parse model information
    model_details_dict = parse_models(overview_url)

    # Print results
    for type_name, details in model_details_dict.items():
        print(f"{type_name}: {details}")

    return model_details_dict

if __name__ == "__main__":
    model_details_dict = main()
    # Print model details in a readable format
    for type_name, details in model_details_dict.items():
        print(f"{type_name}: {details}")

The output results are as follows:
GPT-4o: {'gpt-4o': 128000, 'gpt-4o-2024-05-13': 128000}
GPT-4 Turbo and GPT-4: {'gpt-4-turbo': 128000, 'gpt-4-turbo-2024-04-09': 128000, 'gpt-4-turbo-preview': 128000, 'gpt-4-0125-preview': 128000, 'gpt-4-1106-preview': 128000, 'gpt-4-vision-preview': 128000, 'gpt-4-1106-vision-preview': 128000, 'gpt-4': 8192, 'gpt-4-0613': 8192, 'gpt-4-32k': 32768, 'gpt-4-32k-0613': 32768}
GPT-3.5 Turbo: {'gpt-3.5-turbo-0125': 16385, 'gpt-3.5-turbo': 16385, 'gpt-3.5-turbo-1106': 16385, 'gpt-3.5-turbo-instruct': 4096, 'gpt-3.5-turbo-16k': 16385, 'gpt-3.5-turbo-0613': 4096, 'gpt-3.5-turbo-16k-0613': 16385}
GPT base: {'babbage-002': 16384, 'davinci-002': 16384}
GPT-4o: {'gpt-4o': 128000, 'gpt-4o-2024-05-13': 128000}
GPT-4 Turbo and GPT-4: {'gpt-4-turbo': 128000, 'gpt-4-turbo-2024-04-09': 128000, 'gpt-4-turbo-preview': 128000, 'gpt-4-0125-preview': 128000, 'gpt-4-1106-preview': 128000, 'gpt-4-vision-preview': 128000, 'gpt-4-1106-vision-preview': 128000, 'gpt-4': 8192, 'gpt-4-0613': 8192, 'gpt-4-32k': 32768, 'gpt-4-32k-0613': 32768}
GPT-3.5 Turbo: {'gpt-3.5-turbo-0125': 16385, 'gpt-3.5-turbo': 16385, 'gpt-3.5-turbo-1106': 16385, 'gpt-3.5-turbo-instruct': 4096, 'gpt-3.5-turbo-16k': 16385, 'gpt-3.5-turbo-0613': 4096, 'gpt-3.5-turbo-16k-0613': 16385}
GPT base: {'babbage-002': 16384, 'davinci-002': 16384}

In fact, I am more hopeful that Selenium Hub will be integrated into Langflow rather than Pyppeteer. However, I currently lack the capability to make such modifications to the main code.


Unexpected status code 403

The script has been working flawlessly until recently. It throws the following error and exits:
Unexpected status code 403 for  https://api.thingiverse.com/files/2046728/download/?access_token=***
I have created a new token to no avail. The URL generated in filelist.txt initiates a download when opened in browser. Something happens at SESSION.get(file_link.link) on line 683 in file thingy_grabber.py
Any help would be appreciated.

I debugged this a little more and was able to solve the issue. I think thingiverse made a change where it rejects UserAgent that says "python-requests". I changed it to say "firefox" (in this file "/home//.local/lib/python3.10/site-packages/requests/utils.py") and downloads started working again. This is not a permanent solution as an OS update would override the file in the future. Maybe we should override the UserAgent here?


Storage migration: Remove from gufe

This removes some of the storage code, which we've determined will be more openfe-specific, from gufe.
This removes:

metadatastore.py
resultclient.py
resultserver.py

and relevant tests.
This does not remove the externalresource structures. The intent is to reuse those as the solution to #120, although the API needs there are probable smaller than what is provided by ExternalResources. Further discussion on that can go in #120.
A later PR will move/restructure imports for ExternalResources, since the current nested structure is nonsense when the rest of storage is gone.
Sibling PR on openfe: OpenFreeEnergy/openfe#266

The failed check here codecov/project, which is failing because the PR removes fully-covered code. That shouldn't be a blocker to review/merge.


connection error handling across the board

what should happen if a connection (TCP, WebSocket, MQTT, etc.) goes down
attempt reconnect? retry limit? backoff?
user configurable?

I'd vote retry connections and could be talked into retry limits or progressive back offs as options.

mqtt now attempts to reconnect


Non developer got into a stuck state due to docker not initially running and was unrecoverable via ddev commands

Describe the bug
I was trying to get a not-very-technical person started with DDev to try and do a little theming in a Drupal 8 project. I gave them the DDev installation instructions and they installed DDev and ran the ddev config command to create the settings files etc. This obviously failed.
Once docker was installed they tried again in a new directory, but were told the project was already registered. ddev rm --unlist was recommended, but this failed as it couldn't find docker-compose.yaml.
To Reproduce
Steps to reproduce the behavior:

Have a fresh install of DDev (i.e. nothing in ~/.ddev), but docker stopped/not installed.
Clone an existing DDev project.
Run ddev config/ddev start -> will fail due to no docker
Install/start docker
Clone the DDev project in a different directory.
Run ddev config -> will fail due to already being registered, suggests ddev rm --unlist
Run ddev rm --unlist -> will fail due to no docker-composer.yaml.

Expected behavior

Perhaps we should stop and error immediately on all commands if docker is not available?
ddev rm --unlist should manage to run even if docker-composer.yaml is missing?
Perhaps give an option as part of ddev config/ddev start to replace the previous listed project inline?

Version and configuration information (please complete the following information):

Mac OS
Don't have any further details.

Additional context
I was able to work out the issue quite quickly, but for someone less technical they couldn't make any progress.

No idea if it's something worth trying to fix, but I thought at least getting this up here may help some poor sod trying to google the issue!

Just a note... a ddev config in the same directory as it was originally done will work fine in this scenario. It was apparently done in a new directory. Also, if anyone is trying to sort this out and gets in a loop, just edit out items in ~/.ddev/global_config.yaml, it does no harm, that's just a registry.

ddev start checks:
 % ddev start
Could not connect to docker. Please ensure Docker is installed and running.

but ddev config doesn't check. That's an easy fix.


chore: update env for plugin-goat

Relates to:

Risks

Background
What does this PR do?
Update ALCHEMY_API_KEY to EVM_PROVIDER_URL for plugin-goat
which is more accurate as user can provide any rpc URL. it is not an alchemy api key what needs to be provided
What kind of change is this?

Documentation changes needed?

Testing
Where should a reviewer start?
Detailed testing steps

Will need to update the documentation

Where?

search the repo for any mention of ALCHEMY_API_KEY
if none, at a bare minimum include the instructions of the plugin README


Various missing fixes and improvements after the 1.10.0 release

R: @RyanSkraba

@iemejia Can you rebase against master? Looks like the CI is not happy for a flaky reason


Feat: Allow for iFrame popup to be closed by msg

Hi @icke1983
I was wondering whetehr one could also close a iframe popup by sending a specific msg, for instance when showing the door bell video feed for some time when someone rings. The proposed way seems to be fairly simple - what do you think?
Cheers, Alex

ping @icke1983


Miss part of data

I push a uint8_t to the vector, but miss some data when i try to read it.
#include <Vector.h>

Vector<uint8_t *> vector;

void setup()
{
    Serial.begin(115200);

    uint8_t v[] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09};
    vector.PushBack(v);

    for (int i = 0; i < vector.Size(); i++)
    {
        uint8_t *e = vector[i];
        Serial.println(sizeof(e));
        // print 4

        for (int j = 0; j < sizeof(e); j++)
        {
            Serial.printf("%02x", e[j]);
        }
        // print 01020304
    }
}

void loop()
{
}

Hey @TimonPeng, thanks for your interest in my repo!
Have a look at the BasicUseage example and try to take it from there. Good luck!

What's the problem? What is the difference with example? Thank you. @tomstewart89

I know the problem, cheers!


System should correctly report that it can't open target pptx because it protected by password

Steps to Reproduce
Try on both - Stand Alone version and on Remote version

Click Open... button (Ctrl+O)
Select open from file
Select file: PasswordProtected.pptx
Click Open

Actual behavior
System reports: No embedded structures found in the file

Expected behavior
System detects that file is password protected and ask user to remove it if it wants to load molecules from it
Environment details:

Ketcher Version 2.18.0-rc.6 Build at 2024-02-13; 19:05:50
Indigo Toolkit Version 1.18.0-rc.7.0-g8a5c36802-wasm32-wasm-clang-12.0.0
Chrome Version 121.0.6167.185 (Official Build) (64-bit)
Win10
Issue found while testing https://github.com/epam/ketcher/issues/3914

Correct error message (report that we can't open it - may be it is password protected)


Retrieve offset

In your example, you set ng-model="timezone", which will populate the timezone as a string. Any way to retrieve the actual offset of the timezone along?

No for current version. I used select2 to render the dropdown select box, which wraps a <select> element. Timezone string is the value of <select> options.


How to use openai api?

I read the code, and it seems support real openai api. But When I set it up something is wrong.
Just make sure if this supports open ai api? I mean realy openai api.

did you solved? same issue here.

did you solved? same issue here.

yes, I have fixed that in my fork. You can have a look at it.
It just used old api which is not supported now.

thanks, saw it. seems huggingface's openai api is different to origin openai 🤔


Circular references between Vue 3 components cannot be resolved

We have two components that import each other. This works fine in Vue but leads to lots of errors inside the components' templates displayed in vscode.
We use Vue 3 single-file components with setup tag.
Our components look roughly like this:
MonitorChain.vue
<template>
  <MonitorChainDialog v-if="condition"/>
</template>

<script setup lang="ts">
import MonitorChainDialog from<EMAIL_ADDRESS>// ...
</script>

MonitorChainDialog .vue
<template>
  <MonitorChain/>
</template>

<script setup lang="ts">
import MonitorChain from<EMAIL_ADDRESS>// ...
</script>

The displayed errors look like this:

Every property and imported component of both of the components is marked with "Cannot find name 'X'".

This is expected behavior of TypeScript. You need to change your implementation if use TS. (Change to JS / GlobalComponent / merge to single component...)

Thank you for the quick response.
If it would be an issue with typescript why does the typescript compiler run successfully then?
Just to remember: The app builds and runs perfectly fine. There are no runtime or compile time errors.
In addition, we opened the project in Webstorm which does not have any issues with it either.

This is only a problem in .vue and .ts files where setup returns exports. If you write your vue code in tsx where setup returns a render function, mutually recursive components work, and type checking works too.
Foo.tsx
import { defineComponent, ref } from "vue";
import Bar from "./Bar";

interface FooProps {
    a: number;
}

export default defineComponent<FooProps>({
    setup(props) {
        const x = ref(0);
        return () => <Bar a={x.value} />;
    },
});

Bar.tsx
import { defineComponent, ref } from "vue";
import Foo from "./Foo";

interface BarProps {
    a: number;
}

export default defineComponent<BarProps>({
    setup(props) {
        const x = ref(0);
        return () => <Foo a={x.value} />;
    },
});

The above code works without any type checking errors. So if you really want proper type-checking, tsx is really great. But the downside of tsx is that I can't use vue directives like v-if and v-for and nice syntactic sugars like <template #slot>.

This is only a problem in .vue and .ts files where setup returns exports. If you write your vue code in tsx where setup returns a render function, mutually recursive components work, and type checking works too.
Foo.tsx
import { defineComponent, ref } from "vue";
import Bar from "./Bar";

interface FooProps {
    a: number;
}

export default defineComponent<FooProps>({
    setup(props) {
        const x = ref(0);
        return () => <Bar a={x.value} />;
    },
});

Bar.tsx
import { defineComponent, ref } from "vue";
import Foo from "./Foo";

interface BarProps {
    a: number;
}

export default defineComponent<BarProps>({
    setup(props) {
        const x = ref(0);
        return () => <Foo a={x.value} />;
    },
});

The above code works without any type checking errors. So if you really want proper type-checking, tsx is really great. But the downside of tsx is that I can't use vue directives like v-if and v-for and nice syntactic sugars like <template #slot>.

I found a workaround to beat the typechecker, but you cannot use <script setup lang="ts">. You have to use <script lang="ts">.
Foo.vue
<template>
    <Bar :a="x" />
</template>

<script lang="ts">
import { defineComponent, DefineComponent, ref } from "vue";
import Bar, { BarProps } from "./Bar";

export interface FooProps {
    a: number;
}

export default defineComponent({
    setup() {
        const _Bar: any = Bar; // putting directly in return doesn't work
        const x = ref(0);
        return {
            Bar: _Bar as DefineComponent<BarProps>,
            x,
        };
    }
});
</script>

Bar.vue
<template>
    <Foo :a="x" />
</template>

<script lang="ts">
import { defineComponent, Component, ref } from "vue";
import Foo, { FooProps } from "./Foo";

export interface BarProps {
    a: number;
}

export default defineComponent({
    setup() {
        const _Foo: any = Foo; // putting directly in return doesn't work
        const x = ref(0);
        return {
            Foo: _Foo as DefineComponent<FooProps>,
            x,
        };
    }
});
</script>

Typechecking of the Foo and Bar props work as expected. Perhaps script setup could apply this additional transformation to get typechecking to work?

I found a way to get it to work with script setup.
Foo.vue
<template>
    <Bar :a="x" />
</template>
<script setup lang="ts">
import { defineAsyncComponent, DefineComponent, ref } from "vue";
import type { BarProps } from "./Bar.vue";

export interface FooProps {
    a: number;
}

const Bar = defineAsyncComponent<DefineComponent<BarProps>>(() => import("./Bar.vue") as any);
const x = ref(0);
</script>

Simply defining an async component will cause recursive type definitions between the two components, and the type checker will give up. You prevent recursion by typing the module as any, and you enable type checking using DefineConponent<BarProps>.
Hope this helps whoever is trying to get recursive components working.

@profound7 thanks, works perfectly :)
Since Volar as VSC extension doesn't really have docs I wonder where this could be documented 🤔

@zigomir nice to have a pr for add it to https://github.com/johnsoncodehk/volar/tree/master/extensions/vscode-vue-language-features#note. :)

Sorry to dig up this old things, but I'm using a different solution, and it might be clearer. It requires Vue 3.3
Foo.vue
defineOptions({
  components: { Bar: defineAsyncComponent(() => import('./Bar.vue')) }
})

Bar.vue
defineOptions({
  components: { Foo: defineAsyncComponent(() => import('./Foo.vue')) }
})

It's not even required to do this in both, only one.


No publications attached to pre-populated submissions

This makes the submissions chart look odd.

Caused by me using yarn instead of npm.


With latest changes pulled in, Ajax is facing error for automatically adding strikes, can you elaborate on the inputs required? API and non API way both not working

Request fails with {"status": "error","message": "Bad Request","error_type": "InputException"}
400 Bad Request
enctoken is working for SL trail and save profits

Hi Onkar, are you referring the new feature which lets you add ATM+- n strikes in the watchlist?

yes @amit0rana  i am talking about the same

Which version are you using? Works fine with 4.07

I merged 4.07 into my fork, i have my own changes too but facing problems, Following is merge link https://github.com/amit0rana/betterOptionsTrading/commit/312bb3f3358a3348dbc5e1e13872513598721634
I will double check my work once and if i am at fault will close this in 2 days.
BTW thank you very much for the script, much respect ! do check out my fork if u find anything interesting
https://github.com/sidonkar/betterOptionsTrading

Just fyi, many apis have stopped working without the api key, even this feature 'OC' (short for option chain) only works with api key.

I tried with api key too but that did not work, i had one system in place via the sensibull option chain which i have checked in on my fork, please check if you find it usefull, its much more user friendly i feel and wont require api key !

For api key you need to generate token first. I have not added token generation code to this repo.
I checked your repo today, and I am taking in some good features. Will do it today once I go through sensibull feature as well.
Thanks for adding new features.

the api and token part are still not working for me, for some reason they dont work, i have paid api subscription and i have an app created too

Have you enabled CORS?
What error do you get?
I used CORS Everywhere extension to enable CORS

i have not enabled CORS, i get no error, it silently fails,

You have to enable CORS, without that api requests cannot be made. They will fail.

There is also a settings which you have to enable to use api. Its a checkbox.


Update to reqwest 0.8

Also ran cargo fmt with the newest rustfmt-nightly.
This is a breaking change, because the reqwest error that is returned from some functions has changed.

Thanks very much for helping with this :)

I have just published 0.8.0 on the crates.io.


Lts new

Date:

Developer Name:
ashif  khan

Issue Ticket Number

Description

Documentation Updated?

[ ] Yes
[x] No

Under Feature Flag

[ ] Yes
[x] No

Database Changes

[ ] Yes
[ ] No

Breaking Changes

[ ] Yes
[x] No

Development Tested?

[x] Yes
[ ] No

Screenshots

Screenshot 1

Test Coverage

Screenshot 1

Additional Notes

can you also try to build the app , if that works do attach that in description


Vulkan: Error spam when using Particles Billboard mode on a BaseMaterial3D in GPUParticles3D

Godot version
4.0alpha8
System information
Windows 10, Vulkan, RTX 3060 Laptop GPU
Issue description
When creating a GPU Particles system with a standard process material and setting the material to "particle billboard", the following error is spammed to log:
"Uniforms were never supplied for set (3) at the time of drawing, which are required by the pipeline"
The particle rendering then seems to bug out (the material becomes black and the billboarding does not work at all).
Interestingly, this seems to be dependent on the order in which things are done (see the Steps to Reproduce). Adding a new process material after the billboard mode is set up seems to fix the issue?
Steps to reproduce

Create a GPUParticles3D node.
Add a Quadmesh to "Draw Passes - Pass 1".
Change the Quadmesh material to a "New StandardMaterial3D"
In the "billboard" section of this new material, change "mode" to "Particle Billboard"
Godot will either crash or spam out the error "Uniforms were never supplied for set (3) at the time of drawing, which are required by the pipeline"
If I add a process material now, the issue resolves itself. However note that adding a process material before adding the billboard material will still result in the above error.

Minimal reproduction project
No response

I can reproduce the issue on Linux with AMD GPU (Mesa RADV drivers) in 4.0 alpha 11.

Yes, Material3D in GPUparticles is completly broken - this bug is reproducing while almost any parameter is changed in:
-transparency tab
-shading tab
-vertex color
-emission
-normal map

etc...

Tested on Godot_v4.0-alpha14_win64, Vulkan Clustered, AMD Ryzen 5300U.
ERROR: Uniforms were never supplied for set (3) at the time of drawing, which are required by the pipeline
at: (drivers/vulkan/rendering_device_vulkan.cpp:7784)
ERROR: Condition "!shader" is true. Returning: RID()
at: render_pipeline_create (drivers/vulkan/rendering_device_vulkan.cpp:6434)
ERROR: Condition "pipeline.is_null()" is true. Returning: RID()
at: _generate_version (servers/rendering/renderer_rd/pipeline_cache_rd.cpp:60)
ERROR: This render pipeline requires (0) bytes of push constant data, supplied: (16)
at: (drivers/vulkan/rendering_device_vulkan.cpp:7736)
ERROR: No render pipeline was set before attempting to draw.
at: (drivers/vulkan/rendering_device_vulkan.cpp:7753)

Seems its some sort of GUI bug? Because i found a workaround: create mesh and add material to it, separately in filesystem, then dragndrop this mesh into draw pass property and it works.

This still seems to be an issue with 4 beta 13. Updating material while particlematerial is active still causes these errors and after that a crash.


Drop Python 3.7 testing

Given that there are some testing errors due to changes in MagicMock between Python 3.7 and 3.8 in #38 and that NumPy no longer provides Python 3.7 support it may be beneficial for conda-project to discontinue testing against it.

I agree. I think we should modernize our support versions for Python & conda too. And update the test matrix accordingly.

Will do. I've determined that experimental_solver was deprecated in Conda 22.11 in favor of solver so I'll take special care of that in the libmamba tests when I add Conda versions to the test matrix


HOSTEDCP-1569: test: e2e: skip unknown conditions instead of erroring

Rehearsal failure trying to use main HO with 4.16 release
https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_release/52306/rehearse-52306-periodic-ci-openshift-hypershift-release-4.16-periodics-e2e-aws-ovn/1818008709683482624
    nodepool_test.go:289: correct condition: wanted ValidReleaseImage=True, got ValidReleaseImage=True: AsExpected(Using release image: registry.build01.ci.openshift.org/ci-op-0vx638ni/release@sha256:6f727aeaa9a820058419e293027d0d1c006d5776b32dbebd23d9180cc4b7e245)
    nodepool_test.go:298: Failed to validate NodePool conditions in 0s: unknown condition ValidArchPlatform
        --- FAIL: TestNodePool/Main/TestNodepoolMachineconfigGetsRolledout (1380.22s)

HO in main adds a condition that is not in the set of known conditions in 4.16 ValidArchPlatform.  The condition does, in fact, exist in 4.16, so we could add it to the set of known/validated conditions.  However, we do have the potential of the HO adding HC or NP conditions in the future that do not exist in 4.16 and we should just skip over the unknown condition instead of erroring on it.
cc @muraee

/test e2e-aws


Create Cloud Foundry metadata files for deployment

As a [developer]
I need [to create the necessary Cloud Foundry metadata files]
So that [so that IBM Cloud will know how to deploy your application]
Details and Assumptions

manifest.yml, Procfile, runtime.txt

Acceptance Criteria
Given [some context]
When [certain action is taken]
Then [the outcome of action is observed]

IBM Cloud toolchain: Delivery Pipeline deployed orders to dev, including commits 8d07c576447df76d7f8b1e07a904802dfe7e1d23, 657df6f85e54bb4c197a37f57ef6e941b09daff7


Better handling for opaque pointers in replace bitcasts

Contributes to #816

Further generalizes the fix from #973 to only operate on a single implicit bitcast at a time instead of all bitcasts from the same source

properly handles both non-casts cases (previous PR) and when there are multiple different types of casts from the same source

This fixes the roundTrip half CTS test.

This fixes the roundTrip half CTS test.

This test is passing in g3 as well as in chromeos. Do you mean it fixes it with the opaque pointers enabled?

This fixes the roundTrip half CTS test.

This test is passing in g3 as well as in chromeos. Do you mean it fixes it with the opaque pointers enabled?

Yes, it is failing with opaque pointers on main.


net: checksum offloading not working for virtual network interfaces used for Virtual LAN (VLAN)

Describe the bug
The checksum offloading capabilities of an Ethernet interface are not respected for virtual network interfaces as the function need_calc_checksum() in "net_if.c" always returns true for the virtual interfaces. This increases CPU utilization as checksums are calculated in software even though they would be automatically calculated by the Ethernet MAC. Even worse, some Ethernet MACs require the checksum to be cleared to zero for TX checksum offloading as otherwise an incorrect checksum will be generated by the Ethernet MAC (for example NXP MIMXRT1060-EVK).
To Reproduce
Use the Virtual LAN sample

disable IPv6 as IPv6 will disable TX/RX checksum offloading on i.MX RT1060 (CONFIG_NET_IPV6=n)
west build --pristine -b mimxrt1060_evk samples/net/vlan
west flash
From PC, ping <IP_ADDRESS> (untagged, working)
From PC, ping <IP_ADDRESS> (VLAN 100, request timed out)
Incorrect checksum (0xffff) for IP header and ICMP message will be shown in Wireshark for the Echo reply

Expected behavior
TX/RX checksum offloading should also work on virtual network interfaces used for Virtual LAN (VLAN).
Impact
TX/RX checksum offloading can be disabled for i.MX RT1060 by setting CONFIG_ETH_NXP_ENET_HW_ACCELERATION=n. Therefore, impact is mainly the increased CPU utilization.
Environment:

OS: Windows
Zephyr SDK 0.16.8
Zephyr 3.7.0

@stomschik-ask I have a fix proposal at # #78745. Would you be able to check if it works for you?

Thanks, the fix is working fine for me.


Feature: Add support for Angular 18

Hi,
I naively migrated the NX-workspace to version 19.
Angular was updated to version 18, too.
Several imports to @angular-devkit were broke.
I fixed them.
Interestingly, some utilities have been moved to @angular/build/src/..
Both Modular Federation and Native Federation compile.
We might need to have a closer look at executeDevServerBuilder which seems to replace serveWithVite.
I am not sure if I pass the parameters correctly.
Maybe buildApplication is not needed any more, because it seems that executeDevServerBuilder can decide which builder needs to be used.
Thanks for providing Module- & and Native Federation to the community. 🙏🏻
Related issues

#562

Big thanks, Gregor!