Hijack the encrypted stream and write that to disk

If and when TLS is used we don't need to encrypt the stream: Provided the ciphersuite is acceptable, we can write everything right to disk to improve security and performance considerably.

Part of websrv6.


Fix TSAN failure in completion queue

Establish proper happens-before between completion queue's vtable->shutdown, vtable->begin_op and vtable->cq_end_op   [using pending_events atomic]
I could not repro this on my machine for some reason. By looking at the code, I think the TSAN failures reported at https://github.com/grpc/grpc/issues/12262 (and more recently here seem to be caused by the fact that there is no happens-before edge established between (1) the thread calling cq_end_op_for_next which does a 'no-barrier' increment of the atomic pending_events  (and without cq-lock) and (2) Thread calling grpc_completion_queue_destroy which destroys the cq
NOTE: Temporarily adding the DO-NOT-MERGE label until I verify this actually fixes the race

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

TSAN C++ tests passed. Running them one more time.

[trickle] No significant performance differences

Corrupt JSON data (indicates timeout or crash):
    bm_fullstack_streaming_ping_pong.BM_StreamingPingPongWithCoalescingApi_InProcessCHTTP2_NoOpMutator_NoOpMutator__2M_2_0.counters.new: 1

[microbenchmarks] No significant performance differences

Tsan C++ passed the second time too.

Ok, this makes sense to me now. Can you add a comment to this effect, and
then revert all the extraneous changes in this pull request. The reason for
adding the comment is to make sure that we never undo that particular
change. The reason for removing the extraneous content is to make it clear
what actually resolved the race.
On Fri, Sep 15, 2017, 2:49 PM Sree Kuchibhotla<EMAIL_ADDRESS>wrote:

@sreecha commented on this pull request.
In src/core/lib/surface/completion_queue.c
https://github.com/grpc/grpc/pull/12564#discussion_r139257206:

@@ -643,8 +643,7 @@ static void cq_end_op_for_next(grpc_exec_ctx exec_ctx,
/ Add the completion to the queue */
bool is_first = cq_event_queue_push(&cqd->queue, storage);
gpr_atm_no_barrier_fetch_add(&cqd->things_queued_ever, 1);

bool will_definitely_shutdown =

 gpr_atm_no_barrier_load(&cqd->pending_events) == 1;

bool will_definitely_shutdown = gpr_atm_acq_load(&cqd->pending_events) == 1;

When you do an "acquire load" on pending_events in T1 on line 646 , that
will "match" will the release store (rather the full cas) on
pending_events done by T2 - thereby establishing T2 happened before T1 .
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/pull/12564#discussion_r139257206, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIdEkMHJdLzIQiVlEXyu7dxFta5XNk0kks5sivDcgaJpZM4PW9aC
.

Added comments,  using no_barrier in places where it makes sense (the init and destroy paths).
I still left my changes in the following two places:

in atm_inc_if_nonzero function
in cq_next before returning GRPC_QUEUE_SHUTDOWN

no-barrier operations are fine in the above two cases for now; but I am worried that as the code evolves, we may run into subtle bugs again. It is a good practice to use acquire for loads and release for stores in general anyway for variables which effect the control-flow of the program.

[trickle] No significant performance differences

Corrupt JSON data (indicates timeout or crash):
    bm_fullstack_streaming_ping_pong.BM_StreamingPingPongWithCoalescingApi_MinInProcessCHTTP2_NoOpMutator_NoOpMutator__2M_2_0.counters.new: 1

[microbenchmarks] No significant performance differences


AttributeError: 'SeleniumEnvironment' object has no attribute 'vnc_env'

I am trying to execute the same example program.
But I am getting the below error:
AttributeError: 'SeleniumEnvironment' object has no attribute 'vnc_env'
Can you please look into it?

I think you need to install docker.

create a Docker image running locally on your computer. The local client connects to the remote using VNC. (More information on client-remote communication can be found in the page on universe internal communication protocols. More on configuring remotes is at remotes.)

Thanks for the prompt response. Can you please share some more links or reference how and why universe, docker, vncdriver communicating with each other.


Remove hhvm-nightly

hhvm-nightly isn't supported on travis anymore, as shown per error message: https://travis-ci.org/reactphp/http-client/jobs/76790406

@cboden @clue Any comments? If not I prefer to merge this next weekend

:+1:

:+1:


test add routine load condition test

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall


:four_leaf_clover: Proposal: jenkins-pipeline Options Redesign

What Would You Like to Add? Why Is This Needed?

jenkins-pipeline options redesign
Design

Old

tools:
- name: jenkins-pipeline
  instanceID: default
  dependsOn: []
  options:
    jenkinsURL: http://<IP_ADDRESS>:32000
    jenkinsUser: admin
    jenkinsfilePath: https://xxx/Jenkinsfile
    jenkinsEnableRestart: true
    projectURL: http://<IP_ADDRESS>:30080/root/spring-demo
    jenkinsNamespace: jenkins
    harborURL: http://harbor.example.com:80
    harborUser: admin

New

tools:
- name: jenkins-pipeline
  instanceID: default
  dependsOn: []
  options:
    jenkins:
      url: http://<IP_ADDRESS>:32000/
      user: admin
      namespace: jenkins
      enableRestart: true
    scm:
      projectURL: http://<IP_ADDRESS>:30080/root/spring-demo
    pipeline:
      path: https://xxx/Jenkinsfile
      imageRepo:
        url: http://harbor.example.com:80
        user: admin

Anything else

LGTM, it's more clear.


:seedling: basecontroller uses committer

Summary
Update the basecontroller/controller to use the committer package.
Signed-off-by: Christopher Sams<EMAIL_ADDRESS>Related issue(s)
#2635

/lgtm
/approve
/retest

/retest

/retest

/retest

This base controller has only one consumer. Why do we have it as separate package?

If I had to guess, we probably kept moving consumers away until we were only left with 1, but never collapsed. I'll do that.


Authorization error from windows client when using DNS A record DNS instead of broker hostname using SASL_PLAINTEXT

Description
We've a kafka cluster running on linux hosts. Configured with SASL_PLAINTEXT. Both linux hosts and windows are on the same Active Directory Domain.
We have Confluent Open Source version 5.3.0, Apache version equiv. 2.3.0 running on Redhat hosts.
As told with issue #2549 we want to use a librdkafka's round robin DNS support and use a DNS record rather than broker's hostname.
When I use kafkacat on linux and it is working as expected. I can consume&produce with a DNS A record other than broker hostname.
I can also consume&produce with java clients when I use client.dns.lookup property.
However, it fails for confluent-kafka-dotnet 1.4.3 librdkafka 1.4.2 on Windows.
Is there a known issue on SASL via SSPI on Windows?
When we use dnsaliasnode01 instead of node01 (which is the part of broker's principle) we get the following error:
[KAFKA_ERROR] Message:sasl_plaintext://dnsaliasnode01:9092/bootstrap: Failed to initialize SASL authentication: InitializeSecurityContext failed: Target unknown (0x80090303) (after 0ms in state AUTH_REQ), Error:sasl_plaintext://dnsaliasnode01:9092/bootstrap: Failed to initialize SASL authentication: InitializeSecurityContext failed: Target unknown (0x80090303) (after 0ms in state AUTH_REQ)
How to reproduce
Checklist
Please provide the following information:

[ ] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
[X] Confluent.Kafka nuget version.
[X] Apache Kafka version.
[X] Client configuration.
[X] Operating system.
[X] Provide logs (with "debug" : "..." as necessary in configuration).
[  ] Provide broker log excerpts.
[X] Critical issue.

The broker hostname (prior to resolve), as set by bootstrap.servers or through the broker's advertisted.listeners, is passed to the SSPI security context as part of the principal:
<sasl.kerberos.service.name>/<hostname>
https://github.com/edenhill/librdkafka/blob/master/src/rdkafka_sasl_win32.c#L509
Are you specifying the exact same bootstrap.servers for kafkacat as you are your windows application? If so then there is something going on in SSPI.
Do note that with SSPI we are using the currently logged on user's credentail to authenticate.
cc @rnpridgeon

We don't have any kafka broker configuration for second dns record (dnsaliasnode01)
both listeners and advertised listeners shows node name.
listeners=SASL_PLAINTEXT://node01.finansbank.com.tr:9092
advertised.listeners=SASL_PLAINTEXT://node01.finansbank.com.tr:9092
We are using the same value for bootstrap.servers on windows and for -b parameter for kafkacat.
If we use hostname of the broker on windows client it is working, and we have ACLs for logged on user of windows client, so I don't think we have problem there.
cc @serdarsert

The host resolution should work the same in librdkafka for both Linux and Windows, the mapping of CNAME to principal that client.dns.lookup=resolve_canonical_bootstrap_servers_only allows in the Java client is not supported in librdkafka, so if your Kerberos auth requires the hostname portion of the principal to match the secondary DNS entry then you are out of luck.

We don't have any kafka broker configuration for second dns record (dnsaliasnode01)
both listeners and advertised listeners shows node name.
listeners=SASL_PLAINTEXT://node01.domain..com:9092
advertised.listeners=SASL_PLAINTEXT://node01.domain.com.:9092
We are using the same value for bootstrap.servers on windows and for -b parameter for kafkacat.
If we use hostname of the broker on windows client it is working, and we have ACLs for logged on user of windows client, so I don't think we have problem there.
cc @serdarsert
Note:deleted previous comment and make some editing.

If you can connect on Linux, but not on Windows, with bootstrap.servers=dnsaliasnode01, my guess is that Windows SSPI cares about the hostname part of the principal while Linux KRB5 does not.
Maybe there's something that needs to be done with SETSPN.

The krb5 client libraries are performing this translation for librdkafka. It's actually configurable in the linux host's krb5.conf.
see dns_canonicalize_hostname
https://web.mit.edu/kerberos/krb5-devel/doc/admin/conf_files/krb5_conf.html#libdefaults
and service principal canonicalization
https://web.mit.edu/kerberos/krb5-devel/doc/admin/princ_dns.html#service-principal-canonicalization
Java ships with its own kerberos client implementation which is why you configure it with the application directly.
I believe you can control this on a windows machine by setting the FEATURE_USE_CNAME_FOR_SPN_KB911149 register to True.

Closing as the issue is resolved.


Export crashes with java.lang.IllegalArgumentException: Comparison method violates its general contract!

Export crashes with following error:
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
WorldPainter scripting host version 2.7.3.
Copyright 2011-2019 pepsoft.org, The Netherlands.
This is free software distributed under the terms of the GPL, version 3, a copy
of which you can find in the installation directory.

Executing script "export.js" with arguments "./v38.world"

[ERROR] RuntimeException while exporting region 12,15
java.lang.RuntimeException: Comparison method violates its general contract! (region: java.awt.Point[x=12,y=15])
	at org.pepsoft.worldpainter.exporting.AbstractWorldExporter.exportRegion(AbstractWorldExporter.java:765)
	at org.pepsoft.worldpainter.exporting.AbstractWorldExporter.lambda$parallelExportRegions$0(AbstractWorldExporter.java:275)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract!
	at java.util.ComparableTimSort.mergeLo(ComparableTimSort.java:744)
	at java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:481)
	at java.util.ComparableTimSort.mergeCollapse(ComparableTimSort.java:406)
	at java.util.ComparableTimSort.sort(ComparableTimSort.java:213)
	at java.util.Arrays.sort(Arrays.java:1312)
	at java.util.Arrays.sort(Arrays.java:1506)
	at java.util.ArrayList.sort(ArrayList.java:1462)
	at java.util.Collections.sort(Collections.java:141)
	at org.pepsoft.worldpainter.exporting.AbstractWorldExporter.exportRegion(AbstractWorldExporter.java:694)
	... 4 common frames omitted
[ERROR] RuntimeException occurred while executing export.js
java.lang.RuntimeException: RuntimeException while exporting region12,15
	at org.pepsoft.worldpainter.exporting.AbstractWorldExporter.lambda$parallelExportRegions$0(AbstractWorldExporter.java:308)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

The world is so big (10000x10000) with lots of custom layers, so I had to export from plain console using wpscript and thoese vm settings:
# Enter one VM parameter per line
# For example, to adjust the maximum memory usage to 512 MB, uncomment the following line:
# -Xmx512m
# To include another file, uncomment the following line:
# -include-options [path to other .vmoption file]
-Xmx28G
-XX:+UseConcMarkSweepGC
-XX:+CMSIncrementalMode
#-XX:+PrintGCDetails
#-XX:+PrintGCTimeStamps

I may provide world file but I don't want to do it publicly (as I use it for project where it's important for players not to know what map looks like) and it weights a lot.

Sorry! Wrong project!


update(build): upgrade libcurl to 8.4.0

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

Does this PR require a change in the driver versions?
No.

What this PR does / why we need it:
Fixes CVE-2023-38545 : https://curl.se/docs/CVE-2023-38545.html
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

update(build): upgrade libcurl to 8.4.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.14.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: cfa1f2475865f078f2eb8ee178e96338a99ed4fb

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP,LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


login.component.ts file running but html file not showing anything

I have created a custome module named Authentication in app folder and the routing is same as in pages module. So my login.components.ts file does get triggered but page just keeps on loading. I tried putting the html code in template under selector tag but still it shows nothing. Here is my authentication routing file
const routes : Routes = [
{
path: '',
component: LoginComponent
},
{
path: 'login',
component: LoginComponent
},
{
path: 'register',
component: RegisterComponent
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule]
})
export class AuthenticationRoutingModule { }`
here is app-routing file
`export const routes: Routes = [
{
path: 'pages',
loadChildren: () => import('./pages/pages.module')
.then(m => m.PagesModule),
},
{
path: 'auth',
loadChildren: () => import('./authentication/authentication.module')
.then(m => m.AuthenticationModule),
},
{ path: '', redirectTo: 'auth', pathMatch: 'full' },
{ path: '**', redirectTo: 'pages' },
];
const config: ExtraOptions = {
useHash: false,
};
@NgModule({
imports: [RouterModule.forRoot(routes, config)],
exports: [RouterModule],
})
export class AppRoutingModule {
}`
I have double checked, all components and routing files are registered and imports are also correct.   It does take me to localhost:4200/auth and in console i see my login.component.ts file triggering as i have put console.log in ngOnInit but still on screen i see nothing except for loader

@nnixaa can you please look into this

@AhsanNissar You can check this url, I Wrote custom auth for ngx:
https://github.com/MHKarami97/ngx-panel/tree/master/src/app/auth

thanks @MHKarami97 I did the same yesterday. Apparently i was trying to create another module but then I stumbled upon a comment of @nnixaa where he said to just copy and paste the files of nebular auth and that worked for me too.


safe area for iPhone XS, iPhone XR and iPhone XS MAX

The Pixels (DPI)  of iPhoneX are the same as iPhoneXS, iPhoneXR are the same as iPhoneXS Max

thank you!

isn't the isIPhoneX_deprecated check will return false before this fix for RN version > 0.50.0 ?
there is a commit to "fix" the isIPhoneX_deprecated, but it probably will be just in the next RN release.
https://github.com/react-community/react-native-safe-area-view/blob/3cbc8d2a79795f04a5b1a2d020a992466552a7ac/index.js#L31-L42

great point @hagaigold - I will remove that line

done


Add getters to the predicates

This is fixed in 1.1.0. The Sort and Limit classes were also given getter.


Microbenchmarks: use existing tests

What is this?
Hello everyone 👋 This pull request contains two major changes. First, support for microbenchmarks. Second, the initial work on migrating the codebase from Python to Golang.
A new go directory is introduced where we can find the micro benchmarking tool, which was initiated in planetscale/vitess by @systay, this tool is now wrapped in a Cobra CLI.
How to run?
# build
go build go/main.go

# get help
./main help

# get help for microbench tool command
./main microbench help

# execute microbench tool
./main microbench run ./go/tools/microbench/integration/... output.txt

# execute microbench tool for another go module
./main microbench run ./vitess ./go/vt/sqlparser/... output_sqlparser_vitess.txt

Related to #62.

Save results to MySQL
Saving micro-benchmarks results to a MySQL database is enabled by giving the correct configuration to the CLI. MySQL configuration should preferably be passed through a file rather than CLI flags. The following elements must be present in the file:
db-host: <host>
db-user: <user>
db-password: <password>
db-database: <db>

The schema used is the same as the one in ./sql/vitess-benchmark.sql. Note that if the program runs without that configuration, results will not be saved, they will only be printed to both stdout and file system.

Thank you for the feedback @systay, I corrected the minor nitpicks. Regarding the unit test package, as @fatih recommended us to start doing, I went for quicktest instead of testify.


Add streaming tests against latest SNAPSHOTs

Description
Add streaming tests against latest SNAPSHOTs
Issues Resolved
See please https://github.com/opensearch-project/OpenSearch/pull/16581
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Will update to recent Docker images once available


Feat/menu commands updating

Closes #175

Why does this always happen when I push a commit?😬😓😤

Why does this always happen when I push a commit?😬😓😤

This is unfortunately a known bug in Squot: https://github.com/hpi-swa/Squot/issues/199 Usually it should help to commit everything before pulling (technically, this allows the pull to act as a fast-forward merge).

So can we now merge this?


handle when dragging the chips

mouse cursor should be fixed (handtool but not text edit) when variable dragging starts.

fixed in dev.


Replace usage of internal java.xml class with public abstraction

This commit fixes problem of using DocumentBuilderFactoryImpl from com.sun.org.apache.xerces.internal.jaxp package. Problem arises as this package is not public (not exported) since JDK 9. Solution is to replace use of this class with DocumentBuilderFactory from exported package java.xml.parsers.

Marvellous, thanks!


Does an object detection model like yolov4-tiny.tflite work on this?

I assume not.

@TexMexMax The library is actually meant to assist pre-processing and post-processing needs. You can use it with any .tflite model.
Please elaborate on the exact issue you are facing. Thanks


Reduce bundle size by 11% by changing the way lodash is imported

Lodash can be a huge library and quite significant in size relative to the project if it is used incorrectly.
There is sometime special about how it is put together, as often many project will import the entire thing when they think it is only a single function.
This is a great writeup on how to import lodash functions while keeping your bundle small.
With these couple changes, the vendors.app.js drops from 47.44kb to 24.05kb, a saving of 49%. Total assets size drops from 204.78kb, to 181.42kb, a saving of 11.4%
Import Cost is a great VS Code extension to help prevent this kind of issue
Before

After

this is great! Thanks for the PR!


feat: support for issued currencies on Escrows and PaymentChannels

High Level Overview of Change

Updates to the explorer to reflect the changes made by amendment xls34d.
Context of Change

Updated the Tx Description to reflect both XPR and currencies
Updated the account to update the escrow when the user changes the primary (current) currency.
Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactor (non-breaking change that only restructures code)
[ ] Tests (You added tests for code that already exists, or your new feature included in this PR)
[ ] Documentation Updates
[ ] Release

TypeScript/Hooks Update

[ ] Updated files to React Hooks
[ ] Updated files to TypeScript

Before / After

Test Plan

Please review. I didn't do paychannels as I wanted to get your thoughts on the escrow. I dont like how its only the currency and not the issuer but the explorer only uses the currency so I think it might suffice unless you add that additional functionality.
If you do want to add that functionality in rippled we use USD/rIssuerAddress for the Amount string.

A small video showing the functionality..
https://user-images.githubusercontent.com/25502424/217374332-b7873885-2eb9-479a-ab96-aada337e7af4.mov

Please add testcases.

I think the PR should be broken out into transaction updates and then one for account page changes.
For the account page I agree with you that grouping by currency is odd.  That is one reason we created the assets tab.
@bugsbunnies do you think it makes sense to add an Escrows and Paychannel tabs so that we can show the breakdowns there?  This would be similar to the account page for XRPScan.  The amount column would show what currency and issuer it is using the  component we use else where.

Concept after discussion with @ckniffen

Concept after discussion with @ckniffen
Transactions
Escrow as a separate tab

This looks really amazing!

Concept after discussion with @ckniffen
Transactions
Escrow as a separate tab

A thought: could the tabs not appear when a user doesn't have escrows or payment channels? Since most users won't have either.

A thought: could the tabs not appear when a user doesn't have escrows or payment channels? Since most users won't have either.

I like the idea of them always being there.  That way we don't have to make requests to get them everytime the user visits an account page like we currently do.  This will speed up load time.

A thought: could the tabs not appear when a user doesn't have escrows or payment channels? Since most users won't have either.

I like the idea of them always being there. That way we don't have to make requests to get them everytime the user visits an account page like we currently do. This will speed up load time.

We already make the requests every time the user visits an account page.

We already make the requests every time the user visits an account page.

Only because we currently show the escrow and paychannel information outside of the tabs.  I am suggesting this change could move it out.

Looks like tests are currently failing on this PR.

For reference: PaychanAndEscrowForTokens amendment in rippled - https://github.com/XRPLF/rippled/pull/4396


Non EntryPoint Startup throws generic NullReferenceException for WebApplicationFactory

Is this a Feature request:
Throw a more useful error message for using a non System.Reflection.Assembly.EntryPoint as the generic passed into the WebApplicationFactory Ideally the Exception would be thrown in a better place (and sooner) then WebApplicationFactory.CreateClient
Steps to reproduce:
https://github.com/caseylobrien/ClassLibraryStartup
Description of the problem:
Original Issue
TLDR - Spin up an in memory server following this guide for integration tests. The structure of the solution is not typical, the program.cs references a Startup.cs that is in a class library
Microsoft.AspNetCore.Mvc.Testing Version="2.1.1"

@javiercn

@javiercn So far I have been able to figure out all the nuances of the Mvc solution so far, but run the Tests (by executing build.cmd /p:NoBuild=true) I get the following error:
C:\Users\Casey\.dotnet\buildtools\korebuild\2.2.0-preview1-20180731.1\modules\NuGetPackageVerifier\module.targets(37,5): error : SignRequestManifest file F:\OpenSource\Mvc\artifacts\signrequest.xml does not exist. [C:\Users\Casey\.dotnet\buildtools\korebuild\2.2.0-preview1-20180731.1\KoreBuild.proj]
But at the same time the results are as follows:
  Total tests: 11938. Passed: 11930. Failed: 0. Skipped: 8.   Test Run Successful.   Test execution time: 1.4913 Minutes
I did check and signrequest.xml does not exist. I am not sure what I am missing, any help would be much appreciated.

Curious, this morning after running the test suite a few more times the signrequest.xml file is now there and the tests run without error. Still skipping 8 tests though. @javiercn @ajaybhargavb Thanks for looking into the error!

This was done as part of 990bed7


Calculator works very slow and not always gets input

Describe the bug
I'm choosing GUI library for my project and tried calculator from examples, but it works very very slow and doesn't always register mouse button(on gif I clicked at every single one button, but only sometimes number shows).
There is no difference between debug and release build.

OS
Ubuntu 20.04
Orbtk
0.3.14-alpha4
2ca5c6efe1f9f2d91fe5955b6f0d09056e9e0f51
Hotspot perf report(https://github.com/KDAB/hotspot)

Thank you for the report maybe it is connected to issue #314 (memory leak) on Linux. We are working on alternatives to the current backend but I will also check to fix this.
What display server are you using?

X11 - Gnome 3.36.4

Thanks.

This commit caused also problems with other demos like  tab_widget

@qarmin thank you very much. This will speed up the fix a lot. I finish one task I'm currently work on and after that I will fix this.


Bring repo up to maintainership standards

We're still reviewing what this means for Tutor plugins, but at least a catalog-info.yaml file and docs.

We were also with the doubt of the docs, and we think it's better to centralize everything in openedx-oars docs

I think that docs about configuration of this plugin and Ralph itself belong here, and things like the way OARS configures event-routing-backends to talk to Ralph belong in the tutor-contrib-oars docs. They'll both end up in docs.openedx.org and can cross link easily enough.

Is it enough with a good readme or do we need a proper docs site hosted?

I think a good readme is a fine start. Mostly we will probably link out to Ralph or OARS docs from here as there isn't a lot of configuration.

Do you have anything in mind that is missing in the readme to consider this as complete?
Currently, we have:

Compatibility notes
Installation
Usage
How to configure ralph with a public domain
How to configure ralph using an external domain

I think this is good for now, we'll likely want to put some more information as to what the different config variables actually do eventually but it's non-blocking so I'll close this out.


Drop Node.js v14, run tests for 20, update dependencies

This PR updates all dependencies, including major version<EMAIL_ADDRESS>(from 5). It also introduces a breaking change by dropping support for Node.js 14 as it's approaching EOL and listr2 needs it.
What do you think, @okonet, should we merge this at the end of the month? Node.js 14 enters EOL at 2023-04-30.

Looking good but build failed

Yeah looks like the listr2 update will be more involved. It seems to work fine but is no longer using console but process.stdout.write, making tests fail that mock the Console.

Let's see if things work now that it's closer to 14 EOL.

@okonet can you update the list of required checks to replace Node.js v14 with v20?

Ping @okonet can you check again; it's still waiting for the Node.js v14 tests?

 Try pushing to the branch please

Ping @okonet looks like this is still waiting for Node.js 14,16,18 instead of 16,18,20.

For whatever reason Windows tests started failing again...

Looking forward to the listr2 v6 update to resolve #1204

Ping @okonet this is still expecting the Node.js 14 tests since the last update.

Well, that one Windows test is still failing... I'll take a look at the end of the week but might be related to the latest dependency update since it was passing at some point of this PR.

@iiroj I’ve updated the branch protection settings. Maybe I didn’t save it last time? Should be good now. 16-20 node version are required.

Feel free to merge as admin when you’re done. I’m still afk.

Thanks, I'll try again this weekend after returning from a trip.

What do you think, @okonet? The tests pass on Node v20.3.1 but are broken on Windows since 20.4.0 introduced a bug with an emoji file. We can either:

pin v20.3.1 for now and update later once it's resolved
let this PR sit until it's resolved
remove v20 from the list of "expected checks" until it's resolved

I would prefer option 1. but it would mean you have to update the list of expected tests at least two more times.

Actually, I will just skip the failing test for now and open a follow-up PR for re-enabling it. 👍

@okonet well, can't merge without approval:
remote: error: GH006: Protected branch update failed for refs/heads/master.
remote: error: At least 1 approving review is required by reviewers with write access.

Looks like feat! didn't trigger the breaking change as expected... I'll open a follow-up PR.

@okonet if you have time it might make sense to deprecate v13.3.0:
npm deprecate<EMAIL_ADDRESS>"This was an accidental breaking release and is the same as v14.0.0."

maybe release 13.4.0 removing the accidental breaking release?

I don't think that's necessary, and deprecation is good enough... I'm not planning on supporting the old version anyway, and releasing a hotfix for v13 would mean having to tweak the semantic-release config... something that caused this error in the first place.
We'll migrate to 🦋 changesets to make sure versioning is easier in the future: https://github.com/okonet/lint-staged/pull/1314


fix: deploy with fip.

Signed-off-by: lixd<EMAIL_ADDRESS>
What type of PR is this?

/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #154
Special notes for reviewers:
when deploy with floatIP,etcd and nats listen on <IP_ADDRESS>

Does this PR introduced a user-facing change?

None

Additional documentation, usage docs, etc.:

/cc @qinyer

/lgtm

/assign @x893675

/approve

/cherrypick release-1.1


Add support for jaxsim simulator with examples

In this PR I'm adding support for JaxSim simulator and explaining how to use its interface with a notebook similar to the ones already available for the other simulators.

I'm waiting for #21 to be fixed and be able to run on a server the same notebook, but the implementation is now complete.

Thanks @xela-95 for this PR! I left minor nits (non-blocking). I'm facing the following problem when running the notebook, does it reproduce also on other setups?
AttributeError                            Traceback (most recent call last)
Cell In[6], line 15
     13 step_length = 0.1
     14 mpc = CentroidalMPC(robot_model=robot_model_init, step_length=step_length)
---> 15 mpc.intialize_mpc(mpc_parameters=mpc_parameters)
     17 # Set desired quantities
     18 mpc.configure(s_init=s_0, H_b_init=H_b_0)

File ~/git/comodo/src/comodo/centroidalMPC/centroidalMPC.py:93, in CentroidalMPC.intialize_mpc(self, mpc_parameters)
     91 self.contact_0_handler.set_parameter_int("number_of_corners", 4)
     92 self.contact_0_handler.set_parameter_string("contact_name", "left_foot")
---> 93 self.contact_0_handler.set_parameter_vector_float("corner_0",self.robot_model.corner_0)
     94 self.contact_0_handler.set_parameter_vector_float("corner_1", self.robot_model.corner_1)
     95 self.contact_0_handler.set_parameter_vector_float(
     96     "corner_2", self.robot_model.corner_2
     97 )

AttributeError: 'RobotModel' object has no attribute 'corner_0'

Should be fixed by https://github.com/ami-iit/comodo/pull/20#discussion_r1797271024

Thanks @xela-95 for this PR! I left minor nits (non-blocking). I'm facing the following problem when running the notebook, does it reproduce also on other setups?

Thanks for the review @diegoferigo! Since I detached this branch from a previous fork of @flferretti, I built my code on his changes, and some of them were needed for this notebook to run correctly (I had these local changes active on my machine). I will update the PR soon to include the missing changes to comodo.

After the fix reported in https://github.com/ami-iit/comodo/pull/20#discussion_r1797271024, FYI I still get the following error, likely related to the changes you still need to port here:
In [22]:
    ...:
    ...: now = time.perf_counter()
    ...:
    ...: logs = simulate(T=T, js=js, tsid=tsid, mpc=mpc, s_ref=s_0)
    ...:
    ...: wall_time = time.perf_counter() - now
    ...: avg_iter_time_ms = (wall_time / (T / js_dt)) * 1000
    ...:
    ...: print(
    ...:     f"\nRunning simulation took {wall_time:.2f}s for {T:.3f}s simulated time. \nIteration avg time of {avg_iter_time_ms:.1f} ms."
    ...: )
    ...: print(f"RTF: {T / wall_time * 100:.2f}%")
n_step_mpc_tsid=10, n_step_tsid_js=20
Exception during simulation at time0.0: 'CentroidalMPC' object has no attribute 'com_traj'
Traceback (most recent call last):
  File "<ipython-input-21-57d7e1812ec4>", line 52, in simulate
    mpc.update_references()
  File "/home/dferigo/git/comodo/src/comodo/centroidalMPC/centroidalMPC.py", line 215, in update_references
    self.com_traj = self.com_traj[1:]
AttributeError: 'CentroidalMPC' object has no attribute 'com_traj'

Running simulation took 0.00s for 6.000s simulated time.
Iteration avg time of 0.0 ms.
RTF: 347104.11%

Great @xela-95  thank you ! Merging  !


SP Online REST API - fails to update metadata, reports OK and new version is created

We are updating managed metadata columns for document library with ~26k documents.
We update items via this url
https://${TENANT}.sharepoint.com/sites/${SITE}/_api/Web/Lists(guid'${listGuid}/items(${id})
...
headers["X-HTTP-Method"] = "MERGE";
headers["IF-MATCH"] = "*";

After trying to update file attributes like this:

we had Account/Region left unchanged, third column updated properly.
We can't change Account and Region columns anymore.
Please notice WssId is not -1 in those requests. We changed WssId to -1 in our requests and new files got properly updated. but not the old ones.
What we have now  - approximately 2k files got 'stuck', their Account/Region attributes can't be changed via REST API anymore. Even after changing attributes via UI.
Every time we call REST API to change Account/Region for those files - api call reports OK, data not changed, new version is created.
How can we update those files?

Did test to update Managed Metadata fieldby Managed Metadata InternalName(the third field you shared), works fine.
Steps:

Find Managed Metadata field GUID
/_api/web/lists/getbytitle('Mydoc2')/fields

Find Managed Metadata field GUID
/_api/web/lists/getbytitle('Mydoc2')/fields(guid'86043549-ea7d-40f3-b49a-a1f32400a942')

Update the item

_api/web/lists/getbytitle('Mydoc2')/items(id)
Request headers:
X-RequestDigest: digest value
If-Match: *
X-HTTP-Method: MERGE
Content-Type: application/json; odata=verbose
Request Body:
{
"m45df7e9fd814aea84e793e00511c2a4": "101 SharePoint 11|eaceb040-526f-482d-9a11-0227ebb55347",
"f7dddcdca3604eb0aced66834e0040a1":"B|86116c77-4761-41f6-9b51-08a49ab851d5",
"__metadata": { "type": "SP.Data.MyDoc2Item" }
}

Finally!
I tried this way some time ago, but failed since was trying to put value in following format
"WssId;#Label|guid" and it wasn't working.
Format "Label|guid" worked well.
Thank you for your help, @OS-Lee !
I still think there is a bug in API which shall be fixed.

It's very tricky way to update managed metadata column,  which involves multiple depenent call for getting actual internalname.
If this steps documented for managed metadata column it will be very helpful to developers.


Ctrl+a did not activate the prompt function, but only selected the command in PowerShell

Ctrl+a did not activate the prompt function, but only selected the command in PowerShell
To Reproduce
Steps to reproduce the behavior:

execute is bind
select powershell and press 'enter'
type git and press Ctrl+a
did not activate the prompt function, but only selected the command git

Expected behavior
active the prompt function for command git
Environment

OS: [Windows 10]
Output of inshellisense --version: 0.0.1-rc.4
Nodejs Version: [v16.20.2]

Additional context
it worked normally via executing is and entering the session.

Hello wsurer, check your .ps1 config (probably in C:\Users\<username>\Documents\WindowsPowerShell\), does the line if(Test-Path 'C:\Users\<username>\.inshellisense\key-bindings-powershell.ps1' -PathType Leaf){. C:\Users\<username>\.inshellisense\key-bindings-powershell.ps1} exist in the config? If not you can add the code manually.
It maybe something wrong happened during binding. In my computer it works well. If this doesn't work, please tell me :)

Same net effect -- When run from a native powershell command, Ctrl+A merely selects the current command, if run from inside inshellisense it simply outputs the letter a
I can confirm the ps1 config file contains the above line and pointing to an existing key-binding-powershell.ps1
Windows 10
Powershell 7.3.8

Same at first. I use Windows 10 with Windows Terminal version 1.18.3181.0 and PowerShell 5.1.19041.3636. Here's how I resolved it:

locate oh-my-posh activate command within the ps1 configuration file:
oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\capr4n.omp.json" | Invoke-Expression
move it to a position after the inshellisense binding command.

After doing this, the ctrl+a shortcut started working smoothly for me.
I'm not an expert on this, but I suspect that oh-my-posh somehow alters the environment. But looking at @wsurer's screenshot, it doesn't seem like he's using oh-my-posh. Therefore, it might be worth checking for other suspicious commands that could be causing this issue.

Closing as this was fixed since we no longer depend on key bindings in 0.0.1-rc.5


quake-injector: Add version 0.16.20

Closes #478

[x] I have read the Contributing Guide.

/verify

/verify

Out of curiosity, why was this PR closed?

The PR closed when I force-pushed the master-branch. Discarding all previous commits, and syncing itself to the latest commits on the head branch.


Bug buffer overrun in debug macro

@axos88 @jfoy @kiyose Please review.  mobile-search-gateway encountered this buffer overrun over the weekend, caused lots of log spam and out-of-disk alarms by enabling debug_level.
I added accessors for curdepth and maxdepth so I can instrument some stuff in Ruby to understand what drives such deep tracing of function entry/exit.

Otherwise LGTM

LGTM


interpolation in dask dataframe

Hello, is there an implementation of 1D interpolation function for irregularly sampled points for dask dataframe columns? Applying a numpy/scipy interpolation function to a column directly through DataFrame.apply() appears very slow, compared with, say, using them separately on an array of the same length without the dask framework.

Hello, is there an implementation of 1D interpolation function for irregularly sampled points for dask dataframe columns?

Not that I know of.

Applying a numpy/scipy interpolation function to a column directly through DataFrame.apply() appears very slow, compared with, say, using them separately on an array of the same length without the dask framework.

Without a minimal reproducible example it's hard for us to say why your code is slower than you'd expect. I recommend looking at df.map_partitions instead of df.apply (which needs to do more work) for tasks like this.

Hi jcrist,
thanks for your suggestion. Let me jump in here, as the original question was coming from me, but posted by RealPolitiX, as I did not have an account yet.
I've created a minimal demonstrator now:
from dask import compute, dataframe as dd
import pandas as pd
from dask.multiprocessing import get
import random
import numpy as np

df = pd.DataFrame({'col_1':random.sample(range(1000000), 1000000)})

ddf = dd.from_pandas(df, npartitions=8)

def myinterp (xs, secs=[], vals=[]):
    ret = np.interp(xs, secs, vals)
    return ret

all_data = np.array(compute(ddf.values))[0,:,:]
data = all_data[:,0]

secs = np.linspace(0,1000000,1000)
vals = np.array(random.sample(range(1000000), 1000))

%time res = myinterp(data, secs, vals)

ddf_copy = ddf

ddf_copy['col_2'] = ddf_copy['col_1'].apply(myinterp, args=(secs, vals), meta=('x', 'f8'))

%time ddf_copy.compute()

def myinterp2 (df, secs=[], vals=[]):
    df['col_2'] = np.interp(df['col_1'], secs, vals)
    return df

ddf_copy = ddf

ddf_copy = ddf_copy.map_partitions(myinterp2, secs=secs, vals=vals)

%time ddf_copy.compute()
ddf_copy.head(8)

the timing on my machine (20 cores) takes:
CPU times: user 476 ms, sys: 948 ms, total: 1.42 s
Wall time: 71.4 ms
CPU times: user 11.5 s, sys: 25 s, total: 36.5 s
Wall time: 21.9 s
CPU times: user 11 s, sys: 21.8 s, total: 32.9 s
Wall time: 20.9 s

70 ms for the interpolation outside Dask, and more than 20s for both versions (apply and map_partitions) for the version with the dask dataframe. This is a factor of ~300 slower...
Both Dask versions work, though, and produce the right results, are just ridiculously slow.

Just noticed that my code above did use the apply version twice, as it did not create copies of the data frame.
A corrected code:
from dask import compute, dataframe as dd
import pandas as pd
from dask.multiprocessing import get
import random
import numpy as np

df = pd.DataFrame({'col_1':random.sample(range(10000000), 10000000)})

ddf = dd.from_pandas(df, npartitions=8)

def myinterp (xs, secs=[], vals=[]):
    ret = np.interp(xs, secs, vals)
    return ret

all_data = np.array(compute(ddf.values))[0,:,:]
data = all_data[:,0]

secs = np.linspace(0,10000000,1000)
vals = np.array(random.sample(range(10000000), 1000))

%time res = myinterp(data, secs, vals)

ddf1 = dd.from_pandas(df, npartitions=8)

ddf1['col_2'] = ddf1['col_1'].apply(myinterp, args=(secs, vals), meta=('x', 'f8'))

%time ddf1.compute()

def myinterp2 (df, secs=[], vals=[]):
    df['col_2'] = np.interp(df['col_1'], secs, vals)
    return df

ddf2 = dd.from_pandas(df, npartitions=8)

ddf2 = ddf2.map_partitions(myinterp2, secs=secs, vals=vals)

%time ddf2.compute()

Produces for 10 Mio entries:
CPU times: user 4.04 s, sys: 204 ms, total: 4.24 s
Wall time: 754 ms
CPU times: user 1min 53s, sys: 3min 56s, total: 5min 49s
Wall time: 3min 27s
CPU times: user 2.74 s, sys: 5.91 s, total: 8.65 s
Wall time: 622 ms

Now, map_partitions is actually even faster than the native code. The difference seems ot be that .apply calls the function once per element of the data frame, and map_partition once per data frame partition, is that correct?

You should verify that each is giving the same output before measuring performance. Series.apply and map_partitions are quite different.


Is CppSharp ready for .NET standards 2.0 for UWP?

UWP will reach .NET standard 2.0 by perhaps Q4 2017.
Why is this relevant to CppSharp?
Right now, there is no "Non Commercial" .NET wrapper for UWP OpenCV (e.g. 3.1)
The key .NET OpenCVSharp abandon the effort to .NET wrap OpenCV for UWP.
However, with .NET standard 2.0, the technical challenges are likely to remove as the what work (wrap- able)  in non UWP (e.g. WPF or WinForm), will likely be similar through .NET standards 2.0 for UWP.
Are CppSharp community Ready for the possibilities of .NET standards 2.0 for UWP?
Perhaps someone already found a Non Commercial solution (beside EMGU) for .NET OpenCV UWP?

I guess it's only partly compatible. Some manual changes must be done.
Am 27.06.2017 00:29 schrieb "JimSw2016"<EMAIL_ADDRESS>
UWP will reach .NET standard 2.0 by perhaps Q4 2017.
Why is this relevant to CppSharp?
Right now, there is no "Non Commercial" .NET wrapper for UWP OpenCV (e.g.
3.1)
The key .NET OpenCVSharp abandon the effort to .NET wrap OpenCV for UWP.
However, with .NET standard 2.0, the technical challenges are likely to
remove as the what work (wrap- able) in non UWP (e.g. WPF or WinForm), will
likely be similar through .NET standards 2.0 for UWP.
Are CppSharp community Ready for the possibilities of .NET standards 2.0
for UWP?
Perhaps someone already found a Non Commercial solution (beside EMGU) for
.NET OpenCV UWP?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mono/CppSharp/issues/874, or mute the thread
https://github.com/notifications/unsubscribe-auth/AYPM8KQumboCdiMtKrCBfPjAUKxejkIRks5sIDDfgaJpZM4OF7u2
.

I don't really understand the question here. Are you asking if CppSharp generated code is compatible with .NET standard 2.0?

I guess so @tritao

@tritao I wonder if there is an option for user to choose to create output that is .NET standard 2.0 compliance or not.  A feature request.

We'll gladly create an option if needed, but first someone needs to actually try to use the generated code with .NET Standard 2.0 and tell us what needs to be fixed.

I know that it used to work (The generated .cs wrappers) with .net core 1.x for a rater complex C++ project.


Miniapp: DALL-E Image generation

Todos

[ ] Re-upload the images somewhere permanent (The URLs from the DALL-E API will remain valid for only for one hour.)
[ ] Need to share end user-ids with OpenAI to comply with moderation rules (https://help.openai.com/en/articles/6704941-dall-e-api-faq)

Known limitations:

Rate limit of 50 per minute (https://help.openai.com/en/articles/6696591-what-s-the-rate-limit-for-the-dall-e-api)
It's not very good at writing text (such as for meme templates)

Flow:

I don't think there's a reasonable way to send anonymous user_ids in a useful way without storing some sort of user data; which we're not doing. We can let the app pass this in as a prop?

ah it presupposed the imgur PR being merged first

@davidfurlong #104 has been merged


Increment key IDs in doSwitch example code.

Not related to any known issue, documentation only - no tests.

Thanks a lot!


python: reproject: 0.5.1 -> 0.6

Motivation for this change

Update reproject to the latest upstream
Enable tests

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build python37Packages.aplpy python37Packages.reproject python38Packages.reproject


Translations for confirmation dialog

Task/Issue URL: https://app.asana.com/0/488551667048375/1204338891508192/f
Description
Translations for confirmation dialog
Steps to test this PR
N/A

Current dependencies on/for this PR:

develop

PR #3035

PR #3036   👈

This comment was auto-generated by Graphite.


directive -> component refactor

I thought this was a little more concise compared to the directive approach.

Thanks very much @kckolz — I've merged your commit with some changes here #9


Problem doing a post request under 'api.auth' middleware

I am doing the Tutorial for the version 3.0. But when I do the post request
$api->group(['middleware' => 'api.auth'], function ($api) {
    $api->post('posts', 'CreatePostController@create');
});

      API.all('posts').post(data).then(function(response){
           ToastService.show('Post added successfully');
       });

I get this error

{
"message": "Failed to authenticate because of bad credentials or an invalid authorization header.",
"status_code": 401
}

I think this 'api.auth' middleware verify if the request has the JWT token, but in what moment this was created? How I can create the token in the application? For manage token is not the best option to use angular 'Satellizer' for store the token in Local Storage?

Hi @intrepido
Thank you for reporting this issue. Indeed there shouldn't be the api.auth in the tutorial.
And yes this will be possible in #151 and/or #41

Fixed in 3.0 and 3.1 docs :+1:
Feel free to open a new issue :smile:


Handle failed Discord OAuth

https://discord.ltseng.me/auth?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request

Should redirect to the homepage (https://discord.ltseng.me)


After Creating container it is working 2 or 3 days then web client is not working so we have to again create container

Please provide more information. At least:

How do you create the container (command)?
Full output from the command above?
What happens after 2-3 days?
What does docker ps -a say - is the container still running?

Please reopen with more information if the issue needs attention.

How do you create the container (command)?
using following command i am creating container and using 'Windows Powershell ISE' as Administrator.
New-NavContainer -accept_eula -ACCEPT_OUTDATED -containerName GFMMDN -imageName microsoft/bcsandbox:us -includeCSide -doNotExportObjectsToText -auth NavUserPassword
Full output from the command above?
PS C:\Windows\system32> New-NavContainer -accept_eula -ACCEPT_OUTDATED -containerName GFMMDN -imageName microsoft/bcsandbox:us -includeCSide -doNotExportObjectsToText -auth NavUserPassword
NavContainerHelper is version <IP_ADDRESS>
Host is Microsoft Windows 10 Pro - 1703
Docker Client Version is 19.03.1
Docker Server Version is 19.03.1
Using image microsoft/bcsandbox:us-ltsc2016
Removing C:\ProgramData\NavContainerHelper\Extensions\GFMMDN
Creating Container GFMMDN
Version: 14.0.29537.31808-US
Platform: 14.0.29530.31705
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.14393.2906 (ltsc2016)
Host OS Version: 10.0.15063.1418 (1703)
The container operating system does not match the host operating system, forcing hyperv isolation.
Using locale en-US
Using hyperv isolation
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Files in C:\ProgramData\NavContainerHelper\Extensions\GFMMDN\my:

AdditionalSetup.ps1
MainLoop.ps1
Creating container GFMMDN from image microsoft/bcsandbox:us-ltsc2016
661aab4ac8d610d8be6f269e71f6ef7f6b235aef1f86305a27fc27d4d3252c92
Waiting for container GFMMDN to be ready
Initializing...
Starting Container
Hostname is GFMMDN
PublicDnsName is GFMMDN
WARNING: DNS resolution not working from within the container.
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 4990E9A853CF5F3007FAEC8B6E7AB4E322017B42
Modifying Service Tier Config File with Instance Specific Settings
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Enabling Financials User Experience
Creating http download site
Setting SA Password and enabling SA
Creating admin as SQL User and add to sysadmin
WARNING: This license is not compatible with this version of Business Central.
Creating SUPER user
WARNING: The password that you entered does not meet the minimum requirements.
It should be at least 8 characters long and contain at least one uppercase
letter, one lowercase letter, and one number.
WARNING: This license is not compatible with this version of Business Central.
WARNING: This license is not compatible with this version of Business Central.
Container IP Address: <IP_ADDRESS>
Container Hostname  : GFMMDN
Container Dns Name  : GFMMDN
Web Client          : http://GFMMDN/NAV/
Dev. Server         : http://GFMMDN
Dev. ServerInstance : NAV

Files:
http://GFMMDN:8080/al-3.0.106655.vsix
WARNING: You are running a container which is 122 days old.
Microsoft recommends that you always run the latest version of our containers.
Initialization took 436 seconds
Ready for connections!
Reading CustomSettings.config from GFMMDN
Creating Desktop Shortcuts for GFMMDN
Container GFMMDN successfully created
What happens after 2-3 days?
Web client is not working  and getting mesg The program could not create a connection to the server. Do you want to try again
What does docker ps -a say - is the container still running?
container is not running.
docker ps -a
faa7a79d7f00        microsoft/bcsandbox:us-ltsc2016                    "powershell -Commandâ€¦"   2 days ago          Up 2 days (unhealthy)             80/tcp, 443/tcp, 1433/tcp, 7045-7049/tcp, 8080/tcp
GFMMDJ
60acfe4ef80b        microsoft/bcsandbox:us-ltsc2016                    "powershell -Commandâ€¦"   3 days ago          Exited<PHONE_NUMBER>) 3 days ago
GFMMDN

Thanks, and if you start the container again, using: docker start GFMMDN
Does it start up working again?
BTW Maybe you need to add -updatehosts to your new-navcontainer

Yes, now it is working but after 3 and 4 days it is giving  this  error msg "The program could not create a connection to the server. Do you want to try again" .

It is probably because your computer has restarted and docker doesn't start your containers automatically (I think there is a bug in Docker around this).
Until that is fixed, you would have to start your containers manually again.
Note that you want to avoid the version here: https://freddysblog.com/2019/08/07/zombie-containers-skip-this-build/ which tries to fix that problem, but makes zombie containers out of the containers.

Thanks for update, I will start containers manually before running web client.

Thanks for update, I will start containers manually before running web client.


Rename kube app manager

renamed instances of 'manager' to 'kube-app-manager' (fixes #173)
Fixed selector on the prometheus ServiceMonitor (kustomize configuration)
Generate a ready to use resource with make generate-resources:
quickstart for new-user becomes: kubectl apply -f deploy/kube-app-manager-aio.yaml
(related to #166)
Grouped all the webhook configuration together, to simplify the main kustomization.yaml file

let me know if you'd prefer it to be cut in multiple PR.

closed and splitted in 3 different commits/PR (#179, #178, #177)


added batching support

Change Description
Describe your changes
Issue reference
This PR fixes issue #XX
Checklist

[ ] I have reviewed the contribution guidelines
[ ] I have signed the CLA (if required)
[ ] My code includes unit tests
[ ] All unit tests and lint checks pass locally
[ ] My PR contains documentation updates / additions if required

Looks great. Please fix the linting issue

Done!


E2e: Basic e2e tests for cf/org/space pages of Cloud Foundry section

Blocked on #2688

@KlapTrap testing...

@richard-cox testing too...

@richard-cox 👋


Adds retry loop when attempting to get an element

This adds a retry loop when attempting to get an element so that the user can set a timeout period. This mirrors the functionality in white and selenium. This is the second pull request where I hopefully did not push an accidental merge from the UIA2 branch.

you need to rework this a tiny bit since the element now moved to core


cc-wrapper: add fortify flags after invocation args, not before

Description of changes
An alternative to #246067, attempting to address issues raised in #224822
This splits hardeningCFlags into hardeningCFlagsAfter and hardeningCFlagsBefore (where most flags still remain) to allow us to append -D_FORTIFY_SOURCE= values to the command-line, forcing our choice of fortify level and avoiding potential redefinition warnings/errors through use of -U_FORTIFY_SOURCE.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

cc @emilazy

If we go down this route, would it make sense to move more (or even all) of these to the end, so that the UI is a consistent "hardening flags are forced and must be overridden out-of-band"?

:+1:
Building:

[ ] x86_64-linux
[ ] powerpc64le-linux
[ ] aarch64-linux (cross from x86_64-linux)
[ ] mips64el-linux mixed n32/64 (cross from x86_64-linux)
[ ] pkgs.tests.cross.sanity

We should be able to revert a bunch of the fortify3 disables now, right?

If it works as intended and we don't have to revert this

Had to add hardeningDisable = [ "fortify3" ]; for pkgsMusl.thunderbird-unwrapped to build on staging-next

Out of interest what error were you getting without that?
Also, is it only required for pkgsMusl?

I still have to debug a bit further to fully understand what's happening.
One error was undefined symbol: __builtin_va_arg_pack

I think that musl does not implement _FORTIFY_SOURCE and you need to get the functions from a separate library. Though I don't know why that'd only be a problem with fortify3; maybe we have some logic to disable fortification on musl that this is overriding, or maybe musl added the fortify stuff but isn't up to date?

Also recently merged: #219421

Was it one of the calls in /nix/store/...-fortify-headers-1.1alpine1/include/stdio.h ?

Also recently merged: #219421

Ah, I knew I'd seen something related to this recently. I guess it's more complex than just "fortify3 is on by default but the fortify compatibility library for musl doesn't support it", then?

It might take me a while to build all the musl build-deps for thunderbird. If you're able to narrow it down to a test case to add to #217390 that would help things along.

Yup, it's in /nix/store/5702fsdnzk6a6ibb5679chgsqcg6hmv3-fortify-headers-1.1alpine1/include/stdio.h, guessing an snprintf call. Could be related to this apparently using clang. Will dig further in the morning.

https://clang.llvm.org/docs/UsersManual.html#gcc-extensions-not-implemented-yet

clang does not support __builtin_va_arg_pack/__builtin_va_arg_pack_len.

Having tested this, it's actually #219421 that's the culprit. The build fails in a similar way if the cc-wrapper makes no attempt to alter _FORTIFY_SOURCE.
Suggest we disable the fortify-headers for musl/clang until we figure out how best to selectively omit the sprintf/snprintf hardening that causes the problem.

Ok I think I have a fix, it moves the compilation of pkgsMusl.thunderbird-unwrapped forward to an error stating:
/nix/store/jmrg5dkmya3nrgscl291pwfhnrwwzi28-gcc-12.3.0/include/c++/12.3.0/stdlib.h:59:7: error: no member named 'moz_xcalloc' in namespace 'std'; did you mean '::moz_xcalloc'?
using std::calloc;
      ^~~~~
/build/thunderbird-115.1.1/mozobj/dist/include/mozilla/mozalloc.h:80:16: note: '::moz_xcalloc' declared here

Was this a pre-existing error?

Sorry I did not provide the complete information.
I also already found the fix for the __builtin_va_arg_pack error, which was simply updating the fortify-headers to the latest alpine patch version.
I'm now bisecting to find the source of the moz_xcalloc errors (they are new (in the last two staging cycles)).

Oh good.
My vague theory with the moz_xcalloc errors is that it's not a clang vs. fortify-headers thing, instead it's just that mozilla are themselves doing some screwy (and potentially brittle) stuff with #include_next, and the fortify-headers unexpectedly importing stdlib.h in wchar.h:26 breaks things.
This makes me wish there were a nice way to omit the fortify headers on a package-by-package basis. Ideally they would omit themselves if _FORTIFY_SOURCE is 0 or undefined, but that's not how things currently work.

Hey, with this change, how would we disable FORTIFY_SOURCE for just one invocation? tpm2-pytss is broken since it needs to disable fortify for running the preprocessor when parsing types, but it doesnt disable fortify package-wide as it builds objects which should have fortify.

The ultimate thing that controls the behaviour of the cc-wrapper is the NIX_HARDENING_ENABLE environment variable. However I'd be careful playing with it too much because its default value has already had all the platform/toolchain-specific disablements/tweaks applied to it.
Suggest grepping nixpkgs for examples of its (rare) use. libffi for instance selectively disables fortify by doing:
NIX_HARDENING_ENABLE=${NIX_HARDENING_ENABLE/fortify3/}
NIX_HARDENING_ENABLE=${NIX_HARDENING_ENABLE/fortify/}

(note the order of the two is important there, and consider why)
However, that being said, doing a hardeningDisable = [ "fortify" ] doesn't necessarily totally disable fortify. It stops the nix cc-wrapper from applying extra flags, but (currently) the cc-wrapper doesn't explicitly disable any fortify flags the package adds itself. And if the package is already micro-managing which files need fortify and which don't, it's probably doing a good job of successfully enabling it for all the other files.


Is Enable SQL Database Auditing in Log Analytics destination possible via automation?

I've been looking around for a while to achieve this and I could only find mentions about doing it in a Storage account with Powershell but I want Log Analytics workspace and I can't seem to find a documented way.
basically... step 7 in following description https://docs.microsoft.com/en-us/azure/sql-database/sql-database-auditing is what I'm after but obviously in a fully automated way
Thanks

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

ID: 4bb1685a-5439-034b-7668-f970390a940e
Version Independent ID: 1dd1d6ed-e465-d9a8-1679-5f9ca37d5e6f
Content: Common questions for transition from OMS portal to Azure portal for Log Analytics users
Content Source: articles/log-analytics/log-analytics-oms-portal-faq.md
Service: log-analytics
GitHub Login: @bwren
Microsoft Alias: bwren

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

@calinmarina I don't see this in Powershell or the REST API.  I would say automated ways of doing this is not supported at this time.

thanks for confirming it @jason-j-MSFT ...
I'd state this in the page somewhere as the way it's written now makes you think it is, via Powershell, but you can only do it manually via portal :(


update xx to v1.6.1 for compatibility with alpine 3.21 and file 5.46+

This fixes compatibility with alpine 3.21 and file 5.46+

Fix additional possible xx-cc/xx-cargo compatibility issue with Alpine 3.21
Support for Alpine 3.21
Fix xx-verify with file 5.46+
Fix possible error taking lock in xx-apk in latest Alpine without coreutils

full diff: https://github.com/tonistiigi/xx/compare/v1.2.1...v1.6.1

I wasn't sure if we'd hit that issue here, but I thought let me update before we do, as one of the errors was rather "surprising" https://github.com/tonistiigi/xx/pull/174#issuecomment-2523454100

I'm wondering @thaJeztah, since our images use alpine 1.20 https://github.com/distribution/distribution/blob/f2658eeb0b21dbaf77b9117242d2200aaff90a0b/Dockerfile#L4
We might wanna bump alpine versions, too 🤔

Yeah, I saw the Go version could also use an update; decided to keep this PR to just the xx bump, but can open a follow

That said, it's probably fine to stick to 3.20 for now though, in case there's other subtle changes hiding; 3.20 is still supported (3.21 was only just released).

Yeah, I saw the release is still super hot right out of the love, but it's worth mentioning we've had a few people telling us their image scanners are triggering alerts because 3.20 has a TLS vulnerability btw (https://hub.docker.com/layers/library/alpine/3.20/images/sha256-029a752048e32e843bd6defe3841186fb8d19a28dae8ec287f433bb9d6d1ad85?context=explore)
Hence my suggestion to bump it if we can

Yeah, I saw the release is still super hot right out of the oven, but it's worth mentioning we've had a few people telling us their image scanners are triggering alerts (https://github.com/distribution/distribution-library-image/issues/171) because 3.20 has a TLS vulnerability btw (https://hub.docker.com/layers/library/alpine/3.20/images/sha256-029a752048e32e843bd6defe3841186fb8d19a28dae8ec287f433bb9d6d1ad85?context=explore)

Oh! Looks like I missed your comment
Looks like upstream OpenSSL considered it low enough to not even issue a security release for it; might still be OK to update, OTOH, 3.20 is still supported, so it's worth  wondering if updating this early in 3.21 brings more risks than the CVE mentioned is addressing;
https://openssl-library.org/news/secadv/20241016.txt

Due to the low severity of this issue we are not issuing new releases of
OpenSSL at this time. The fix will be included in the next release of each
branch, once it becomes available.  It is available
to premium support customers in commit 8efc0cba (for 1.1.1) and in commit
9d576994 (for 1.0.2).

I think it's fine - we're not bumping the official release; we would be bumping the edge release with it, so I see no harm in it. We will bump the official and DOI release later when it's matured a bit more.


[BUG] In the production environment svgo removed the viewBox attribute

What happened?
Simply put, this causes a lot of svg icons not to scale in their default state, and is inconsistent with the behavior of the development environment, and people can spend hours trying to figure it out.
This is the default behavior of svgo, but it can be turned off through svgo configuration. Plasmo should turn off this behavior by default.
https://github.com/svg/svgo/issues/1128
The svgo developers thought that viewBox was a redundant attribute when width and height were equal to the values in viewBox, because at this time viewBox implicitly had a default value of 0 0 width height, so they removed viewBox.
In actual development, people may use many svg icons from different icon libraries, and they have different width/height/viewBox attributes(design tools such as figma also export width&height by default), people will directly use CSS to override width/height to let them auto-scale, and viewBox will use CSS width /height calculations, causing scaling to fail completely.
A temporary solution is to remove the width and height attributes from the SVG icon. This way, svgo will not remove the viewBox attribute, and the icon can be scaled normally when width and height are set with CSS.
Or svgo.config.json in the root directory:
{
  "plugins": [
    {
      "name": "removeViewBox",
      "active": false
    }
  ]
}

Dev env:

Prod env:

Reproduce method:

An svg icon with width/height/viewBox is in assets, viewBox===0 0 width height:

<svg
  width="24"
  height="24"
  viewBox="0 0 24 24"
  fill="none"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    d="M9.17199 14.829L14.829 9.17199M7.04999 11.293L5.63599 12.707C5.26455 13.0784 4.9699 13.5194 4.76888 14.0047C4.56785 14.49 4.46439 15.0102 4.46439 15.5355C4.46439 16.0608 4.56785 16.5809 4.76888 17.0663C4.9699 17.5516 5.26455 17.9925 5.63599 18.364C6.00743 18.7354 6.4484 19.0301 6.93372 19.2311C7.41903 19.4321 7.93919 19.5356 8.46449 19.5356C8.98979 19.5356 9.50995 19.4321 9.99526 19.2311C10.4806 19.0301 10.9215 18.7354 11.293 18.364L12.705 16.95M11.292 7.04999L12.706 5.63599C13.0774 5.26455 13.5184 4.9699 14.0037 4.76888C14.489 4.56785 15.0092 4.46439 15.5345 4.46439C16.0598 4.46439 16.5799 4.56785 17.0653 4.76888C17.5506 4.9699 17.9915 5.26455 18.363 5.63599C18.7344 6.00743 19.0291 6.4484 19.2301 6.93372C19.4311 7.41903 19.5346 7.93919 19.5346 8.46449C19.5346 8.98979 19.4311 9.50995 19.2301 9.99526C19.0291 10.4806 18.7344 10.9215 18.363 11.293L16.949 12.707"
    stroke="black"
    stroke-width="2"
    stroke-linecap="round"
    stroke-linejoin="round"
  />
</svg>

And then in popup.vue:

<script setup lang="ts">
//  @Icon is just an assets path alias.
import LinkIcon from<EMAIL_ADDRESS></script>

<template>
  <div v-html="LinkIcon" class="link" />
</template>

<style>
.link svg {
  width: 13.5rem;
  height: 13.5rem;
}
</style>

Version
Latest
What OS are you seeing the problem on?
Windows
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contribution

[X] I would like to fix this BUG via a PR

Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

Since we're using the upstream parcel plugin for this, making it the default might surprise folks who are already used to it tho :d...:
https://github.com/PlasmoHQ/plasmo/blob/main/core/parcel-config/index.json#L12
Try this:
https://parceljs.org/languages/svg/#minification
(i.e, make an svgo config and disable this behavior)

We have the same problem, trying the config solution now.


Introduction?

Hey there.
Please apologize for bothering this way, but I have not found any contact option...
This is Daniel from Amiga-News.de. I want to ask you if you would like to write a little introduction article for our news website about your library project?
Thanks!
Daniel
<EMAIL_ADDRESS>

I'll see what I can do :)
-Morten-


Enable pins

Initial commit to enable GPIO, AIO, PWM in as many pins as possible and add guards for I2C and UART.

@jontrulson thanks for pointing this out, will fix it

Merged


Contribution GuideLines and planned feature sets ?

I want to Contribute to this project but i couldn't find any contribution guidelines as well; i couldn't find any milestones and feature sets planned that I can work on.
Can the planning and release cycles be planned and organized ?
What are you planning with this project ?
What is the vision ?


Build failure: jq installCheck failure on aarch64 cross-compile

https://github.com/NixOS/nixpkgs/blob/2137dec76549db61decde0142c0c37a72f3c2b62/pkgs/development/tools/jq/default.nix#L55 has a postInstallCheck which doesn't work when cross compiling because it tries to run the aarch64 binary on the host machine which will obviously not work. I made an override to disable the doInstallCheck and it worked just fine.
I don't know what would be the appropriate way to solve this problem properly, so I made the issue to discuss the solution.

installCheckPhase is not run when build can't execute host so there's no issue
pkgsCross.aarch64-multiplatform.jq built on x86_64-linux


hd-wallet  - cleanup docs to match wallet-sdk

added updated docs for hd-wallet to align with wallet-sdk

@lsgunnlsgunn can we check this and merge?


[HW] Osama Buhamad

Name: Osama Buhamad
Email<EMAIL_ADDRESS>Linkedin Profile: https://www.linkedin.com/in/osama-buhamad/
Attach the homework step I screenshots below:
Netlify Deploy:

Build Netlify in Gitpod:

Attach the homework step II screenshots below:
Connecting to ASTRA DB:

The App running:

Call to the Serverless function:

Hey Osama Buhamad, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/mjvdSgVWRwm5c4g8eQtC4g


"--message-format=json" is automatically appended to the cargo command

OS: ubuntu20.04
VSCode version:  1.65.2
CodeLLDB version: v0.2.3
Compiler: rustc 1.59.0 (9d1b2106e 2022-02-23)
Debuggee: x86_64-linux-gnu

When a debugging session is launched, "--message-format=json" is always automatically appended to the cargo command even it is not specified in launch.json.
Cargo command invoked according to the console output:
Running `cargo run --features=c --example=circ examples/C/r1cs/add.c r1cs --message-format=json`...

launch.json file:
{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "lldb",
      "request": "launch",
      "name": "c-r1cs",
      "cargo": {
        "args": [
          "run",
          "--features=c",
          "--example=circ",
          "examples/C/r1cs/add.c",
          "r1cs"
        ]
      },
      "cwd": "${workspaceFolder}",
    }
  ]
}

Thank you for your attention.

This is required to parse cargo output.

This is required to parse cargo output.

Thank you for your response.
In that case, "--message-format=json" will be considered an argument to my "circ" example, which results in the following error:
    Finished dev [unoptimized + debuginfo] target(s) in 0.19s
     Running `target/debug/examples/circ examples/C/r1cs/add.c r1cs --message-format=json`
error: Found argument '--message-format' which wasn't expected, or isn't valid in this context

Is there a way to circumvent that? For example, putting the --message-format option right behind cargo run?

I would recommend building your binary separately, via tasks.json.  Then just point launch configuration directly to the binary, like you'd do with a C program.  You'll get nicer error messages this way too.
The "cargo" attribute exists mostly for test debugging, because they produce unpredictable binary names.

I would recommend building your binary separately, via tasks.json. Then just point launch configuration directly to the binary, like you'd do with a C program. You'll get nicer error messages this way too. The "cargo" attribute exists mostly for test debugging, because they produce unpredictable binary names.

Thanks for the advice. Will look into it.

@vadimcn @FullyNonlinear
i have a workspace project where i want to run an example with cargo run --example block_all
i have a tasks.json file like:
{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "Build Projects",
      "type": "shell",
      "problemMatcher": [],
      "args": [
        "build"
      ],
      "options": {
        "cwd": "${workspaceFolder}",
        "shell": {
          "executable": "/bin/bash",
          "args": [
            "-c",
            "-i"
          ]
        }
      },
      "command": "cargo",
      "group": {
        "kind": "build",
        "isDefault": true
      },
      "presentation": {
        "reveal": "always"
      }
    }
  ]
}

and i can run CMD+SHIFT+B to run that build task (or menu Terminal > Run Build Task...)
i got the error --message-format=json when my launch.json file had the following contents and i ran it by clicking the "Run & Debug" icon, selecting Debug example 'block_all' from the drop-down menu, and clicking the Play icon:
{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
    {
      "type": "lldb",
      "request": "launch",
      "name": "Debug example 'block_all'",
      "cargo": {
        "args": [
          "run",
          "--example=block_all",
          "--package=trin"
        ],
        "filter": {
          "name": "block_all",
          "kind": "example"
        }
      },
      "args": [],
      "cwd": "${workspaceFolder}"
    },
  ]
}

to resolve the error i just changed launch.json to the following, and then i ran it again by clicking the "Run & Debug" icon, selecting Debug example 'block_all' from the drop-down menu, and clicking the Play icon:
{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
    {
      "type": "lldb",
      "request": "launch",
      "name": "Debug example 'block_all'",
      "program": "${workspaceFolder}/target/debug/examples/block_all",
      "args": ["--example=block_all", "--package=trin"],
      "cwd": "${workspaceFolder}",
      "preRunCommands": [],
      "terminal": "integrated"
    },
  ]
}


The settings page should generate and display the sha1 of the saml certificate

openssl x509 -noout -fingerprint -sha1 -inform pem -in myCert.crt

does SAML not support any… better fingerprinting in certificates?

The SHA1 (or other versions) are sometimes (it's not required) used for verification purposes with SAML service providers. I can easily expand this to cover other hash algorithms as well as needed


Research NDFD

Research generated time solutions
Research lat/lon coordinates and how to get them from the db to the url_creator using location name
Make units metric by default
Extract unit name for series object

Philippe says to use the time acquired as the generated time for now until Waylon responds to the email
Will need to calculate the lead time with this approach

Check on tz for UTC


Add preprocess function to split whitespace before romanize

What does this PR changes
@wannaphong According to issue #922 there is room of improvement in transliterate function, where splitting whitespace yield much better performance. What do you think about it ? actually, we can improve this performance by adding tokenization module into the game so that the text can be splitted more logically too. Anyway, please let me know what do you think krub.
from pythainlp.transliterate import romanize

A = "สวัสดี ครับ"
B = "คุณ ชื่อ อะไร ครับ"
A_B = "สวัสดี ครับ คุณ ชื่อ อะไร ครับ"
print(romanize(A, engine="thai2rom"))
print(romanize(B, engine="thai2rom"))
print(romanize(A_B, engine="thai2rom"))
for z in A_B.split(' '):
    roman = romanize(z, engine="thai2rom")
    print(roman, ' ', end="")

# output:
# sawatdi khrap
# khun chue arai khrap
# sawatdi khrap khun chuen chuen chuen chuen chuen chuen chuen chuen chuen chuen chuen chuen chuen chu
# sawatdi  khrap  khun  chue  arai  khrap

Now, i've fixed it, and got a preprocessing of the input text during the function execution
from pythainlp.transliterate import romanize
A_B = "สวัสดี ครับ คุณ ชื่อ อะไร ครับ"
print(romanize(A_B, engine="thai2rom"))
# output: sawatdikhrapkhunchuearaikhrap

ps. just want to know that did PyThaiNLP joined Hacktoberfest 2024 thsi year ? please let me know
Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[ ] Passed code styles and structures
[ ] Passed code linting checks and unit test

Hello @pavaris-pm! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file pythainlp/transliterate/core.py:

Line 88:19: E225 missing whitespace around operator
Line 91:17: E225 missing whitespace around operator

Thank you! PyThaiNLP is already join Hacktoberfest 2024 thsi year!


feat: update for copilot.vim 1.6.0

Thanks for this, I had my hands full with work today and copilot-cmp yesterday. Everything seems to be running much better now.


How to change Component/Row text font and size?

Hi,
Can you please tell how can i change the font and size of text on the dropmenu?

Hi @rajdhakate, you can use the following delegate methods to provide an attributed string for all menu texts:
- (nullable NSAttributedString *)dropdownMenu:(MKDropdownMenu *)dropdownMenu attributedTitleForComponent:(NSInteger)component;
- (nullable NSAttributedString *)dropdownMenu:(MKDropdownMenu *)dropdownMenu attributedTitleForRow:(NSInteger)row forComponent:(NSInteger)component;


Additional PSR compliance?

Any particular reason that LessQL doesn't implement PSR-2 or PSR-4? And how come there are no visibility controls?

I'm not happy with PSR-2, that's just a matter of taste, but I'd be open to conform if the demand is high enough. I'm unsure if LessQL already complies to PSR-4 - what's missing?
There's just a few protected functions, since public is the default in PHP. Some methods might be better of hidden, but I don't see a benefit right now - however I'm def open for suggestions here!

:+1: for psr-2 . But if you prefer it, I don't want to force you also. It is a matter of preference.
The only thing why I like is consistency in every where I write code. open-source to proprietary .
Just my input as you mentioned.

but I'd be open to conform if the demand is high enough

It does not currently use PSR-4. I don't anything other than a composer config change is necessary.

The point of code standards is that it's a standard. There are things I don't love about PSR-2 either, but having a standard is better than having none.

Hi, it's been 3 years of this discussion, by any chance you consider PSR-2 now? If yes, can I adjust. 😄

@nataliawinter, A PR is welcome :) ideally with a composer command to autoformat with php-cs-fixer or something?

Yay 😄 ! Yes, I'm thinking in use. I will fork the repository and create a pull request 👍

Just for information, the PR #50 was the changed about this conversation


bug: Amazon requested verification after an hour or two of usage

All Amazon links sent notifications as being in stock. Log screenshots showed Amazon was requesting captcha verification to confirm it was not a bot.

I believe this is fixed in #54.
Thanks for the report!


Does "with-aws" retire "with-s3"?

I found that "with-s3" is no longer here, I'm guessing it is being replaced by "with-aws".

@zhangyi-hu, this was changed upstream in 1.10.7, specifically in this commit: https://github.com/apache/airflow/commit/627c40c5ae6a445a4a42b81176744a5f2863f964#diff-2eeaed663bd0d25b7e608891384b7298
I just followed the changes made upstream when I updated dependencies in 1.10.7: https://github.com/conda-forge/airflow-feedstock/commit/9f6cc43eabbef8f19b2c9a1eb1a05598585f85e6#
But, yes, I think the change was just a renaming of s3 to aws.

@zhangyi-hu, please close if you feel your question has been addressed.


Video Support

Hi @verlok
Just wanted to find out if there is video support?
Thank you.

That shouldn't be a big deal to implement. Will check.

Awesome, thank you! 😀

@gvenm I started working on it today, I confirm it should be quite easy to do. I'll keep you updated.

@gvenm you can see the few changes I did in this commit. It's still on a feature branch, need to add some tests on it, then merge it to master.

This is brilliant! Appreciate this @verlok

Done and released 10.7.0.
Not yet released in 8.x version.

Done! https://twitter.com/vanillaLazyload/status/1010404143662497793


[IR] Eliminate need for .cast() in most places.

If we tweak how we define TT_Tensor, MLIR can see that it's always a
RankedTensorType.  Then suddenly all our generated functions know this,
and we don't have to cast to RankedTensorType everywhere!!!
This isn't a global cleanup, just a demonstration.
Already found a bug, namely that TritonGPUOps.td defined
InsertSliceAsyncOp's src as PtrLike, but (based on the code) it actually
must be PtrTensor.

Thank you for the reviews!


review profile config Keycloak

We must check :

IdP redirect is working
authentication.updateProfileFirstLogin:"off" is changing the update profile to off.

Refactoring done in cf2638f38a42d8ee01c1aa5dd5eb1382ea096b6e


IGNITE-15979: Calcite engine. Script test runner ignores "statement error" queries result

Looks good.
Les't fix styles and extract static Command classes from SqlScriptRunner to the top-level classes.

Looks good.
Les't fix styles and extract static Command classes from SqlScriptRunner to the top-level classes.

Done + added javadocs and some test cases to _runner/self.test


remove unused RestClient param

not used anymore
Signed-off-by: Xavier Coulon<EMAIL_ADDRESS>

fix for the failed test: https://github.com/kubesaw/ksctl/pull/18


documentation and code is different altogether

[Enter feedback here]

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

ID: 7537a789-92aa-2b04-30bf-028008948c62
Version Independent ID: d07f261b-29af-74af-f5a6-b4f93aaf5bee
Content: Customize claims to be emitted in id_token when using OpenID Connect or OAuth with AD FS 2016 or later
Content Source: WindowsServerDocs/identity/ad-fs/development/Custom-Id-Tokens-in-AD-FS.md
Product: windows-server
Technology: ad-fs
GitHub Login: @anandyadavMSFT
Microsoft Alias: billmath

#assign:xelu86

Mentioned article has been either renamed, moved, or absorbed into another article. Unable to verify or make any changes. Closing thread.
#please-close


Fixed some static properties which were declared with an equal sign.

This is not the syntax for class properties: https://github.com/jeffmo/es-class-fields-and-static-properties

I'm happy to leave this closed, but when trying to use the examples in the repo, webpack complains about those lines specifically. Using node v.4.2.2

Make sure you're using the correct version of Babel with the correct settings.
Unless the proposal for class properties has just changed and the proposal above is out-of-date, what you have is not legal syntax.

Fixed in 471e058e

Oh, I see. Darn. I wonder if we can un-blacklist class properties in the examples? I like supporting IE8 in the core code, but it'd be nice if we didn't have to skip class properties everywhere.

Well, blacklists go away in Babel 6, so we would just not enable it in the core and enable them in the example code. For now, this is fine.

Well, it'd be a different preset. Anyway, nice catch.


Replace MerkleSets in the advice provider with MerkleStore

Now that we have MerkleStore implemented in miden-crypto, we should use it for instead of a map of MerkleSet's in MemAdviceProvider. We should also probable rename the fields like this:

tape -> stack
values -> map
sets -> store

So, the MemAdviceProvider struct could look like this:
pub struct MemAdviceProvider {
    step: u32,
    stack: Vec<Felt>,
    map: BTreeMap<[u8; 32], Vec<Felt>>,
    store: MerkleStore,
}

We might also want to consider renaming tape into stack in the AdviceProvider trait as well.

Closed by #783


MS Teams handler not working in Helm chart

Hi, I'm currently using the version 1.0.13 of the bitnami/kubewatch chart. I know the chart doesn't support MS Teams in the values yet so I edited the config map once the helm release was installed.
My config map looks like this:
apiVersion: v1
data:
  .kubewatch.yaml: |
    handler:
      msteams:
        webhookurl: <REDACTED>
    resource:
      daemonset: false
      deployment: true
      job: false
      persistentvolume: false
      pod: false
      replicaset: false
      replicationcontroller: false
      services: false
kind: ConfigMap

Using the handler described above doesn't work. However, if I replace it for a normal webhook it sends a message to the Teams channel successfully.
    handler:
          webhook:
              url: <REDACTED>

Is the msteams handler actually working? The chart is using the version 0.0.4 of kubewatch, and 0.0.4 included the commits related to the msteams handler.

Hey,
I have the following configuration for integration with teams, however when a new namespace gets created im not getting any notification, any ideas?
--- apiVersion: v1 kind: ConfigMap metadata:   name: kubewatch   namespace: kube-system data:   .kubewatch.yaml: |     namespace: ""     handler:       webhook:         url: <REDACTED>     resource:       namespace: true
bitnami/kubectl:latest
bitnami/kubewatch:latest

@jonbesga I proposed a fix in https://github.com/bitnami/charts/pull/3189


Add mouse gestures on Windows

Description of the new feature / enhancement
I mean gestures like on MacOS with Magic Mouse or like laptop's touchpad or like Logitech's mouse MX-series.
Scenario when this would be used?
People could use it when they work or surf browser or in other scenarious. I think it can be a killer feature, which is gonna help to a lot of people. Also it can add more users for PowerToys.
Supporting information
If users could set some actions to gestures it could help a lot

/dup #4999


feat: Adds notebook for Small-to-big RAG + Gemini

Description
Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[x] Follow the CONTRIBUTING Guide.
[x] You are listed as the author in your notebook or README file.

[ ] Your account is listed in CODEOWNERS for the file(s).

[x] Make your Pull Request title in the https://www.conventionalcommits.org/ specification.
[x] Ensure the tests and linter pass (Run nox -s format from the repository root to format).
[ ] Appropriate docs were updated (if necessary)

Thanks for adding! Just a few minor comments

Thanks for the quick review! resolved all but the df function comment, need a bit more info when you get a chance. Thanks!


Add postHookRender option

This addition of a postRenderHook option means you can easily add your own middleware - in my case I wanted to add Inky.
      var emailTemplate = new EmailTemplate(templatePath, {
        postRenderHook: (rendered, file, locals, locale) => {
          if (file === 'html') {
            return this.inky.releaseTheKraken(rendered);
          }

          return rendered;
        },
      });

Are these always sync?
Not sure I like this a lot, wouldn't it make more sense to return a Promise so you can consume this in your own code?


iOS: icons background color glitches

Often background color appeares under smart folders icons. I haven’t found what actually causes that, sometimes that happens after switching between light and dark themes and sometimes it seems like it appeares randomly.

I think we have made a change coming in the 5.0.1 release that should prevent this from happening.  Could you please reverify for us after we release 5.0.1 that this is no longer a problem please?  If you see it again after that, I will reopen this issue.

Sure


Improve LED signaling during connection

Is your feature request related to a problem? Please describe.
During initial connection currently, LEDs blink while working, then blink fast if there is an error. I believe this is a poor user experience because a user looking at a blinking LED will have to wonder "Is this blinking faster/slower than another hypothetical blinking LED?" They can only tell there is a problem if they know the behavior already and are watching the LEDs closely the entire time.
Describe the solution you'd like
Better, I believe, would be if the LEDs blink while there is activity, and go solid upon an error/failure. This way there is a very clear difference between the working/error states, and blinking has an implication of activity while solid might imply "hung" (or similar).
Additional context
This will go hand-in-hand with the upcoming Adafruit IO WipperSnapper firmware installer, get excited!

This seems to do the opposite of what was requested:

the lights were solid all the way through, never blinking
it worked fine, progressed through the states (yellow, blue, purple, all solid) and pulsed green upon connection


Windows builds are gone for Node.js 5

I can install this module using Node.js v5

ERROR: Failed to download http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/runtimes/tools/healthcenter/agents/nodejs/tgz/5/appmetrics-1.0.9-win32-x64.tgz: HTTP 404

There are no windows builds in:
http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/runtimes/tools/healthcenter/agents/nodejs/tgz/5/

umm, ok, investigating that now for you

@agdevbridge You are correct, we do not have any windows builds avaiilable for Node.js v5 support.  We will get this fixed as soon as we can and an update pushed out with the fixed windows builds in.

We do have them available for Node.js v6 though :-)

@tobespc thanks for information, looking forward to v5 builds, because some dependencies of my app have issues with v6

Hi @agdevbridge - Node v5 windows binaries are now available, if you run npm install appmetrics again it should now work. Closing this issue, feel free to re open if you have problems. Thanks


Add bonus to pull requests that are palindromic or 1337

A very rare bonus 👍. Everyone loves a boost!

This would need to be documented on the commit messages and automatic PR comments. I would also add PRs divisible by 100 or 1000.

Yay! Despite its name, chaosbot is not really chaotic yet. This slightly helps with that... :+1:

Hey everyone,
If I added @rhengles's suggestion of documenting the bonus, would you find this feature more acceptable?

Isn't it more chaotic if you secretly get a +1 boost?

I really like the idea. Makes things more interesting

I don't mind randomness, but this adds a rush to some PR numbers.

And even with randomness, sometimes you need to recreate a PR to get the vote passed.

How about after 'n' votes on a PR, chaosbot randomly assigns a +1/-1 vote?

I'd like to see a random merge now trigger, where if certain pseudo-randomised conditions apply, a PR gets merged instantly. Would be fun.

Any ideas on how to do it? I imagine somebody could submit many PRs for the same code in an attempt to hit the instant merge

Oooo... Maybe if the PR hits a downvote threashold (-20) the PR might get pulled.

random merge now [...] Would be fun.

Says the guy who doesn't have to change Chaos' diaper when it craps itself.

@reddraggone9 oh you can give me ssh access to the server. Would be fun. 😁

On a serious note though, it'd be definitely be wise to only do this after #112 somehow gets some work first, and preferably some syntax/compilation/unittest/etc checks..

@hongaar Agreed.


⚠ Bofrost.at has degraded performance

In 53d93b2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2485 ms

Resolved: Bofrost.at performance has improved in 9ec0ad2 after 8 minutes.


Translations for Error Codes

Are translations for error codes on the roadmap? I'm asking particularly about the Javascript version.

Which error codes are you talking about?

Sorry for the delay, codes is not the right term, error messages is more correct. Sometimes when a number fails validation it returns a string, such as "The string supplied did not seem to be a phone number" or "The string supplied is too long to be a phone number". These seem to be hard-coded as English into the Javascript.

Sorry, we have no plan to provide translations for these. If you look at the Java version, they are enums. Clients are free to choose the best way they want to phrase them in different languages, including English.


[QUERY] - usage

Is there any sample code or documentation where I can understand the usage of this library? In my loopback project, I have OMSUser and Role models which are NOT extending the User and Role models respectively. I am using nJwt for auth. But the issue is, acls do not work with this kind of setup. I was wondering if this library could solve that?

this library links the strongloop user system with the credentials set in the jwt - you can use whatever model you want for the user by passing it in as an option. Also checkout the "beforeCreate" option on setup. Once the jwt has been authorised, then strongloop uses that "user" as the basis for it's security - so acl's etc should work as is

Ok, thanks.


(UI BUG) Export wallet - Address pop up - The background should be blurred (as per design)

Chrome, Desktop
Also, the word "Network" (in the small black text) should not be with a capital 'N'.

@MarianoAmado please

create RN PR from #2711 's commits
make it working on RN web and native. I suppose all you need is to add proper native styles here using Platform.select: https://github.com/GoodDollar/GoodDAPP/pull/2711/files#diff-e790f60d628fc2beea7a953ba14aeae9a95a8f2ad1c120f9582cb23c85061521R47
Like you fixed #2709


ACP: Clarify operators

@langsamu , contributions to work items require us to agree to the CLA by joining the W3C Solid CG: https://www.w3.org/community/solid/ .


Load images using FMS IDs

If my CSV only contains FMS IDs instead of file paths I should still be able to use BFF.

I think 2 should be enough for this. We came across this in the EMT project where we had a CSV with FMS id only. Someone had to do the work of retrieving the corresponding paths from FMS and adding to the CSV. Once that was complete there was no longer a need for this specific feature. All to say this is not urgent and def not blocking anything at the moment.