Update configure-azure-elastic-san.md

Change made to the text concerning, how to remove an ESAN VMFS datastore. Instructions require a graphic to ensure this process is more intuitive.

@jjaygbay1
Can you review the proposed changes? Note that the validation warning must be resolved before merging.
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Thanks, @jjaygbay1!
@DP-Miller, before we can merge this PR, the following changes need to be made to the new image filename:
articles/azure-vmware/media/configure-azure-elastic-san/esan-datastorelist-ellipsis-removal.png

Spell out "esan" ("elastic-san")
Add a hyphen between "datastore" and "list" ("datastore-list")

Thanks!
#hold-off

[like]  Dean Miller reacted to your message:

From: Courtney Wales @.>
Sent: Thursday, May 2, 2024 3:56:39 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Dean Miller @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Update configure-azure-elastic-san.md (PR #121966)
Thanks, @jjaygbay1https://github.com/jjaygbay1!
@DP-Millerhttps://github.com/DP-Miller, before we can merge this PR, the following changes need to be made to the new image filename:
articles/azure-vmware/media/configure-azure-elastic-san/esan-datastorelist-ellipsis-removal.png

Spell out "esan" ("elastic-san")
Add a hyphen between "datastore" and "list" ("datastore-list")

Thanks!
#hold-off
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/121966#issuecomment-2090879160, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXVHUJ7N7FLB3YPDGLZB7MDZAJO3PAVCNFSM6AAAAABGY5RSHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJQHA3TSMJWGA.
You are receiving this because you were mentioned.Message ID: @.***>

Thanks, @DP-Miller! The file articles/azure-vmware/media/configure-azure-elastic-san/esan-datastorelist-ellipsis-removal.png is still in the PR. Can you remove it?

[like]  Dean Miller reacted to your message:

From: Courtney Wales @.>
Sent: Thursday, May 9, 2024 2:28:21 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Dean Miller @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Update configure-azure-elastic-san.md (PR #121966)
Thanks, @DP-Millerhttps://github.com/DP-Miller! The file articles/azure-vmware/media/configure-azure-elastic-san/esan-datastorelist-ellipsis-removal.png is still in the PR. Can you remove it?
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/121966#issuecomment-2102773951, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXVHUJ6IHPVQCIHUKAZYHATZBOBYLAVCNFSM6AAAAABGY5RSHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBSG43TGOJVGE.
You are receiving this because you were mentioned.Message ID: @.***>

[like]  Dean Miller reacted to your message:

From: Courtney Wales @.>
Sent: Thursday, May 9, 2024 3:22:31 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Dean Miller @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Update configure-azure-elastic-san.md (PR #121966)
Merged #121966https://github.com/MicrosoftDocs/azure-docs/pull/121966 into main.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/pull/121966#event-12758667400, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXVHUJ3J6OR4JNE5YXQD2RTZBOIDPAVCNFSM6AAAAABGY5RSHCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSG42TQNRWG42DAMA.
You are receiving this because you were mentioned.Message ID: @.***>


Implement plant list screen in compose

I've migrated partially plant list screen to compose, there is only a filter menu item that still described from XML
There is a little small caveat with this migration in comparison with the old approach:
-We've lost the animation of moving elements within recyclerView when clicking on filter icon to change the order of items

implemented meanwhile


Implement full Unicode 16.0.0 extended grapheme breaking.

Includes rule GB9c (Indic Conjunt Break rule).
This change has a significant cost in size since the information needed per character no longer fits in 4 bits. The base table is therefore twice as big (one byte per entry rather than half of that).
The number of states in the state automatons have also increased slightly, but in comparison that's a negligible change.
Tests have been made more thorough, testing not only the Unicode Consortium provided tests, but also variants of those with representative characters for each category of character that either in or not-in the BMP, to test that surrogate pair decoding works correctly.
Test also check that the created automatons are minimal, in that no state is unreachable and no two states are indistinguishable.

Health check is wrong. The changelog is correct since the version wasn't changed, and the existing changelog didn't list missing part that is now implemented.

Out of these comments my primary concern is the return statements in loops in tests.
Should some of those be continue instead of return?

They could be break, and now they are.
(They should break to an expect that will not be able to fail, but that still means every test run goes through that expect, one way or another.)

Think I'm done now. Much cleaned up (and nicer, IMO).


chore/nrt-as-error

there's a number of places where we had ignored possible null reference warnings, this enables them to be errors and helps us catch them ahead of time. A number of these were due to EF Core, I think the way to handle that moving forward is for us to make navigation properties (the objects represnentign a relation to another table) nullable, then we need to handle that in our code.

there's a lot of commits here...do you intend to rebase?

Yeah I probably started this work from the wrong branch, thanks for catching that


FIREBASE ESP32S

I am actually having a problem with this Library with Esp32.
The Firebase.getString("path"); command takes mora than 1sec to run, i am using this in house automation and in my loop i nedd to get at least 5 variables from FireBase and the hardware takes almost 8 seconds to react to the command. Any help? Thank you anyway.


Alerts on failure for Exec Doc testing

When an exec doc fails the automatic tests, we should email the author as noted in the yaml metadata at the top of the doc.

Duplicate of #91


StrawberryShake should generate code always in the same order, which is ideal for source control

Is your feature request related to a problem?
Every time a build occurs, a new code generation might take place.
If a new code generation takes place, the new generated code is not per se in the same order, and causes a difference to be seen by git, and possibly checked in if we don't look carefully.  The essence of the generated code is however exactly the same.
A original generated code could be a line for query 1 and a line for query 2.
namespace Microsoft.Extensions.DependencyInjection
{
    [global::System.CodeDom.Compiler.GeneratedCode("StrawberryShake", "<IP_ADDRESS>")]
    public static partial class OurClientServiceCollectionExtensions
    {
        public static global::StrawberryShake.IClientBuilder<global::MyNamespace.State.OurClientStoreAccessor> AddOurClient(this global::Microsoft.Extensions.DependencyInjection.IServiceCollection services, global::StrawberryShake.ExecutionStrategy strategy = global::StrawberryShake.ExecutionStrategy.NetworkOnly)
        {
...
global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService<global::MyNamespace.Query1>(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService<ClientServiceProvider>(sp)));
global::Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(services, sp => global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService<global::MyNamespace.Query2>(global::Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService<ClientServiceProvider>(sp)));
...
}

In the regenerated code, the lines could be in a different order.
The solution you'd like
Have the generated lines always in the same order.
If the code lines for the query singletons are generated one after the other, generate them in the same order, every time, for example in alphabetical order.
Product
Strawberry Shake

How can this be stale if and only because nobody responds to it ?  The issue remains valid...

Closing, as in v13, code is generated into the obj directory, which is not committed to source control.


Add image store viewer to SF - visualize your cluster page.

@jeffj6123 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Spoke w/ @athinanthny , this is ready to merge. #sign-off

@erikadoyle: I'm sorry - only the author of this article, @mikkelhegn, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@jeffj6123 @erikadoyle - there were some blocking issues and since this update should go through the private repo, I've moved the commits over. See https://github.com/MicrosoftDocs/azure-docs-pr/pull/79195.  Thanks.


Gethistory

need https://github.com/revault/revaultd/pull/279
It retrieves all the history, no pagination yet

Is there a specific reason for not including https://github.com/danielabrozzoni/revault-gui/commit/59731267ce28ec0f58b462cf121ea8f8d26a255b ?

I rebased several time in order to include the new gethistory-2 from revaultd, so I wanted to have a single PR doing only one thing.
We may include danielabrozzoni@5973126 in a new PR

ACK 22dabf1957602d8eb48ed1dce0c59472d858505d

I removed the pagination to get_full_history. We will introduce pagination in a simpler way after https://github.com/revault/revaultd/pull/337

ACK 493e8f8015fb616f67148c25b7438060cf1913a8


Fixed hard crash in VS when specific F# code is used.

Resolves this issue: https://github.com/Microsoft/visualfsharp/issues/5615
This fixes a hard crash in VS by simply not re-raising exceptions when parsing in our service layer.

@cartermp the failure is expected.  Issue here:  https://github.com/Microsoft/visualfsharp/issues/5618

:-)  … it's dev15.9 branch, needs approval.

Approved for next 15.9 Preview.


[Icon Request] Support for TeX auxiliary files

[x] I'm sure this issue is not a duplicate.

[x] I'm submitting an icon request:

Type: extension

Icon Name: tex_temp

Sample original Icon: , basically just the original TeX logo print in orange, the color is open for discussion.

Extensions: "aux","atfi","bbl","blg","hst","lof","lot","out","ver" (I don't know if there is a record of all possible auxiliary LaTeX files)

Language ids: tex

More info: The goal here is essentially to show the auxiliary TeX files with a specific icon, but different from the default one. Otherwise, the .tex is hidden in the middle of potentially numerous files.

An addition could be to have different colors for .cls (class), .sty (package), or .bib (bibliography) files.

Here is a list of interesting TeX file extensions https://github.com/github/gitignore/blob/master/TeX.gitignore

The overall behavior would be quite equivalent to what happens in atom with the file-icons extension

The current behaviour is displaying the following language ids as the same Tex Icon:
{
      icon: 'tex',
      extensions: ['texi', 'tikz'],
      languages: [
        languages.tex,
        languages.latex,
        languages.bibtex,
        languages.doctex,
      ],
      light: true,
      format: FileFormat.svg,
},

Those were based on LaTeX-Workshop extension.
Based on that, we could provide a colour variant per languageId related to this Tex extension but not sure what other members think about it. @JimiC @robertohuertasm

@KingDarBoja I am currently using LaTeX-Workshop myself. To make my proposal more precise, my idea is only to add some icon for not already supported extensions. Basically, one color could go to temporary files, and another for configuration files (class, packages).


[BUG] SKMatrix IsInvertible property crashes the debugger silently on trying to peek an variable values

Open visual studio
Write a simple console app that creates an SKMatrix into a variable and prints it in a second row.
Launch app with debugging and try to peek values of SKMatrix.
App is crashed.

Source of a crash is IsInvertible property.
Me and 2 other devs has this issue. I hope you can repro it too. This issue is critical, because it disables any matrix calculation debugging scenarios.

@mattleibow This issue is not unit-testable. Here is a screenshot of a problem:

Here is a bit detailed steps:

create empty project in the visual studio and write next thing:

            var matrix = SkiaSharp.SKMatrix.CreateIdentity();
            Console.WriteLine("Hello World!" + matrix);

set breakpoint to the second line with writeLine.
launch app with debugger attached
hover mouse over matrix property declaration and expand properties list
observe crash from screenshot above

Disabling property evaluation is not a fix of a problem, because this option is essential for debugging.

I think marking the IsInvertible property with  [DebuggerBrowsable(DebuggerBrowsableState.Never)] should do the trick. I'll check this and will provide a PR.

@Mikolaytis sorry I didn't ping you over the weekend. But thought you would have seen my pr I merged.
That should fix it and the bits are already out on the preview feed. Unless you saw that already and it didn't fix the issue?
It should be fixed in preview 9. You can check out the actual fix https://github.com/mono/skia/commit/a7b3674c74e3b0b5252cc8cc3e41168c5b6b7492
Basically, the managed code was passing null as the dest matrix, but then I didn't check it.

@mattleibow I've missed your mono/skia commit. I've seen only unit test. Thought that you did not understand my bug and just added unit test, and closed the issue. It turns out I was wrong :)

☺
Let me know if the preview works for you! I think I am reaching the first preview of 2.80.3 very soon. A nice bunch of fixes and features.

preview 9 - issue fixed! thanks

Thanks for the feedback!


feat: add tree shaking 'module' to eliminate module which has no export used and sideEffects free.

Related issue (if exists)

Summary

🤖 Generated by Copilot at 6d8f8c6
This pull request adds a new option for tree shaking ES modules in rspack, a Rust-based bundler for web development. It refactors the tree_shaking field of the Builtins struct and related types to use a TreeShaking enum instead of a bool. It also updates the relevant code and tests to use the new enum.

Walkthrough

🤖 Generated by Copilot at 6d8f8c6

Add a new option "module" for the tree_shaking field of the Builtins struct and interface that enables tree shaking only for ES modules (link, link, link)
Change the type of the tree_shaking field of the Builtins struct from a bool to a TreeShaking enum with three variants: True, False, and Module (link)
Change the type of the tree_shaking field of the RawBuiltins struct from a bool to a String to match the Builtins interface (link)
Convert the tree_shaking field of the RawBuiltins and TestConfig structs into a TreeShaking enum using the into method (link, link)
Add methods to the TreeShaking enum to check the variant and to convert from a String (link)
Add a resolveTreeShaking function to the builtins.ts file to convert the treeShaking option from the Builtins interface to the RawBuiltins struct and handle the default value based on the production flag (link)
Use the enable and is_true methods of the TreeShaking enum to check if tree shaking should be applied in the compilation.rs, mod.rs, and visitors/mod.rs files (link, link, link)
Use the resolveTreeShaking function to resolve the treeShaking option in the resolveBuiltinsOptions function in the builtins.ts file (link)
Change the type of the tree_shaking field of the TestConfig struct from a bool to a String to allow for the new option "module" in the test cases (link)

When I was investigating this problem, I needed to debug js layer constantly, which was very troublesome, so I wrote that the rebuild method can be tested in the rust layer. Is there any help。
https://github.com/web-infra-dev/rspack/pull/3091

When I was investigating this problem, I needed to debug js layer constantly, which was very troublesome, so I wrote that the rebuild method can be tested in the rust layer. Is there any help。
#3091

Would you mind creating a new discussion or discussing this question under your pull request? I think this might not be relevant, maybe let other reviewers hard to review this pr.

!bench


Switch ExposureClass controller to controller-runtime

How to categorize this PR?

/area dev-productivity scalability
/kind enhancement
What this PR does / why we need it:
Refactor the ExposureClass controller to controller-runtime.
Which issue(s) this PR fixes:
Part of https://github.com/gardener/gardener/issues/4251
Release note:

NONE

/test pull-gardener-e2e-kind

Thanks!
/lgtm

/test pull-gardener-e2e-kind-migration


ALPN setting no longer checked as of 1.17.0

What version of gRPC and what language are you using?
Versions of gRPC after 1.17.0 in Ruby are no longer checking the ALPN setting as advertised by the peer, using default channel credentials.
What operating system (Linux, Windows,...) and version?
Ubuntu, MacOS
What runtime / compiler are you using (e.g. python version or version of gcc)
Ruby 2.5.3.
What did you do?
We use AWS ELB in SSL/TCP mode to proxy gRPC traffic. Prior to gRPC version 1.17.0, connections failed with the following error:
Connect failed: {"created":"@1553715424.830762000","description":"Cannot check peer: missing selected ALPN property.","file":"src/core/lib/security/security_connector/s
ecurity_connector.cc","file_line":869}

The service is used with very minimal defaults.
creds = GRPC::Core::ChannelCredentials.new
stub = Service::Stub.new("<elb>:443", creds)

openssl s_client shows No ALPN negotiated, which is expected.
What did you expect to see?
After 1.17.0, we expected the connection to still fail. I don't see anything in the release notes about this either.
It would be great if the ALPN verification was a runtime setting for Ruby, similar to how the Go libraries expose an option for constructing the raw TLS configuration.
What did you see instead?
The connections successfully negotiate SSL after 1.17.0, through 1.19.0 even with missing ALPN.
Anything else we should know about your project / environment?
We normally use a proxy to get around this behavior, but noticed that this suddenly started working.
This code seems to be under constant refactoring in the past few versions of gRPC. Would this potentially be related? https://github.com/grpc/grpc/commits/master/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc

@yihuazhang maybe you can take a look? It may be related to your refactoring of ssl_security_connector

@jiangtaoli2016 The problematic PR that did refactoring has been reverted in #18469.
Based on the error log, the security connector linked to the version of gRPC before 1.17.0 (the one outputs expected behavior) is the one before https://github.com/grpc/grpc/pull/16963 gets merged.
@f3nry, could you please elaborate your use case in more details so that I can reproduce it?

@yihuazhang we were just surprised that gRPC core after 1.17 is no longer validating the ALPN protocol with default channel credentials.
Is this something we would be able to rely on at this point or will the behavior revert at some point? It would be great if this validation was a bit more lax, as we run a layer 4 TCP proxy between gRPC services that doesn't advertise ALPN.

Agree with @f3nry. Prior to 1.17 we were unable to connect to a gRPC service running behind a layer 4 AWS CLB with anything other than Go clients (possibly related: #9991). After 1.17 Ruby clients can now connect fine. Our preference would be that we can continue to connect with these C++ backed clients, but perhaps with an opt-in or opt-out of ALPN verification.


Update to Latest Release of Trivy :)

Update to Latest Release of Trivy :)

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

@simar7 would love your thoughts on this ❤

@krol3 could you take a look?

Thanks, @krol3 :) If you could merge and release that would be amazing ❤

I tested the new version using this rep: https://github.com/krol3/demo-trivy/runs/4337332773


destroing plugin on some elements

When uploading content via Ajax (for example, using table pagination), the plugin re-initialized. How is it possible to remove it from certain items?

Thanks. Found out: $("element").datetimepicker('destroy'); Is it right?

It is right.

$("element").datetimepicker('destroy'); is not working.


how can i set enviroment var for process?

how can i set enviroment var for process?how can i set enviroment var for process?

Typically one would write something like Process process("TEST=1 env", ...). You can replace env with your program. The child process also gets the enviroment of the parent process, so you can use setenv as well before starting the child process.


Fix renaming of  get|setLabel to get|setName

This PR fixes issues with renaming ROI's get|setLabel to get|setName:

Renaming was not done in sx.ginput while it is needed.
Renaming has been done accidentally in plot3d where it is not done (and can wait another release).

Nice catch.

Well, nice exceptions....


Add to Watch from tooltip window

Issue Type: Feature Request
If you hit a breakpoint in your code, you can move the mouse over something like, say productFluid in this case, and then expand its m_substance member, and then see myCounter in there. It would be really nice to be able to right click on myCounter, and choose Add to Watch, and then have productFluid->m_subtance->myCounter added as a watch. See screen shot.
Extension version: 1.8.0-insiders2
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

The vscode-cpptools developers said "The extension cannot modify the debug UI except for the debug toolbar that shows the continue, stop, and step* buttons. This would also be a feature that other extensions can use too, so it should be implemented in the VS Code client instead of a specific extension."


Logo

Hello!
I'm going to post a bunch of different logos and we can decide which one to go with during the next meeting. Please keep in mind that these are just drafts and are always subject to change. Will edit this post as much as kind with some new ideas.
Feel free to post if you have any suggestions / ideas.
Thanks!
Logo 1

Logo 2

Logo 2 (revision)

Logo 3

I like the 3rd one the best, but it sort of reminds me of this:

Huh, Wolfenstien. Will come up with some more this week, have some other ideas.

Hey! Sorry for slowing down, will add some more logos today.

Cool, I am working on the API today. I will have commits late tonight sometime.

Cool! Did you want to have a meeting tomorrow?

Logo 4

Since we aren't 100% sure about the name, we could just use this as a placeholder

cool, I think it looks pretty good.

I will be around for a meeting tomorrow at 2 if you have time.

Sure! Let's do that then, 2 PM.


Introduce and use Subject to fix race-condition when sending last leadership transition

This commit fixes a race condition that existed in ElectionService.subscribe. The old logic would:

Add a subscription to the event stream
Send the last known election state value

It was possible that between 1-2, a new value was available, and that this value was published to the subscriber before the last known election state value was updated. This would result in step 2 sending a stale election state value after a newer one was published.
To solve, we introduce a Subject component, which provides the following guarantees:

The last received event will be propagated to new subscribers
The last received event will not be propagated out of order
All events following the initially published last received event will be delivered.

JIRA Issues: MARATHON-8305

I struggled with introducing the Subject abstraction. I ultimately decided it was the last hacky way to solve this. I explored versioning the leadership transition states and then having logic to drop out-of-order events, but this did not provided guarantees that we would completely miss an update in the following scenario:

Transition event 2 is in flight
We add out subscription, just barely missing transition event 2
ElectionService re-publishes the last seen transition event, event 1 (initial state)
ElectionService receives transition event 2 and updates it's local value

In this case, we would completely lose event 2 and the subscriber would erroneously think that event 1 is the current value.

Even though Subject seems to work under pretty heavy testing, I'm still unsure about introducing it. I tried an alternate approach involving versioning to resolve the race without introducing another component. I'm undecided if it's better.

After consideration, I'm inclined to stick with the Subject implementation since it separates the concurrency complexity concern better from ElectionService. Also, it is much easier to test the implementation in isolation.

There are other uses of Subject in our code base for RX. With the introduction of this component we can remove RX from our code base and move completely to Akka Streams, reducing the number of concurrency abstractions we are using.

@timcharper yeah in general I am not very happy about dragging such a non-trivial piece of code inside the code base (as the Subject is). But I believe you revised other options and this was the best one :)

I've reached out to the Akka development team about the process to propose the inclusion of Subject in Akka core. There isn't a lot of urgency to this PR, so we can hold the merge until we have a clear picture of where Subject will end up.


Reduce the number of retain cycles between host and guest

[x] CHANGELOG.md's "Unreleased" section has been updated, if applicable.

Ooooh darn.
e: file:///Users/runner/work/redwood/redwood/test-app/schema/protocol-host/build/generated/redwood/sources/com/example/redwood/testapp/protocol/host/redwoodlazylayout/ProtocolRefreshableLazyList.kt:112:17 Implementing function interface is prohibited in JavaScript


Unusual syntax error

Hey there,
I am getting this syntax error- but it seems to just be a block of comments, so I'm unsure why this is flagging an error. I understand that it seems to be from bignumber but the stack does go all the way back to mysql.

Invalid or unexpected token

/var/www/099/node_modules/bignumber.js/bignumber.js:1720
        /*
        ^^
SyntaxError: Invalid or unexpected token
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/var/www/099/node_modules/mysql/lib/protocol/Parser.js:4:25)

Any ideas?
Here's my package.json: package.txt

Seems that it was because npm didn't install the latest dependencies... /t


Update WMDP Dataset

Hi,
We have just improved the quality of the WMDP Dataset last week. You can refer to the updated dataset on the hugging face page or on our github repo. This is the detailed of the latest update.
Update 2024-04-23: the WMDP multiple choice questions were modified due to issues with data formatting and unicode encoding. Some questions in WMDP-Cyber were also removed for being excessively long, which makes evaluation with a fixed batch size challenging. Some questions in WMDP-Bio were also removed for insufficient dual-use potential (h/t folks from Google DeepMind and OpenAI). The modified version is now uploaded on all mirrors; please re-download the dataset. Thanks!

Can you also re-update the datasets/orchestrators/benchmark/question_answer_dataset

Note: we're switching towards just fetching datasets, so I'd love to use this item to implement the fetch functionality similar to #267 / #280.

I will take a look at this for FHL

I will be looking at this for hackathon


FEAT: Add dpy2 support.

Adds support for async loading of dpy2.
Fixes avatar_url attr breaking changes.
Fixes Converting to "Context" failed for parameter "ctx". due to some change affecting the Mixin for group command.

Just gonna trust you on this one :)


Added onscroll animation

Related Issue

Issue No. #111

Changes you made :

I added onScroll fade-in animation to some of the content of all the pages

Describe the changes :

Earlier the page looked very static, as in no animation or anything

So, I added a reveal animation , to give a effect of content revealing to the user on scroll to retain the users attention on scroll
Check list :

[x] I have followed code style of this project.
[x] I have read the CONTRIBUTING document.
[x] All the aspects mentioned in the issue are covered.
[x] The website is properly working after my changes.
[x] 🌟 ed the repo

Type of change :

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Output Screenshots :

Here is a video to showcase how it looks
https://user-images.githubusercontent.com/92802892/194271681-9740daa5-c2c8-41bf-a4bb-36a99a135d6a.mp4

Good work @MridulTi
But plz resolve branch conflicts

@Arun9739 done!

@MridulTi again there have been branch conflicts
Plz resolve. 😃

@MridulTi again there have been branch conflicts Plz resolve. 😃

@Arun9739  check now, I fixed it again


FixedLayout DataTableColumn widths don't actually apply

Repro:
Go to the documentation or storybooks and observe that the  never gets the width from the column. Only the  gets it. Not sure how this ever worked in any previous version.
From my observations the  doesn't actually need the width and the column width is mainly determined by the
Most my application's fixed tables also just lost any sort auto-default sizing when upgrading 0.7.x -> 0.8.x so this may be something to watch out for.

It looks like I made that change back in May. I know there were some column header and CSS issues with getting the columns to work right. https://github.com/salesforce/design-system-react/pull/1385/files#diff-3cb7b26035bf69c334a280c711f1214dR188


Unable to generate interface, no feedback after entering generate command.

schemats generate -c postgresql://username:secret@localhost:5432/temphelium -o  psqltypes.ts
anyone having issues generating interface?

I had the same issue.. I guess the project is dead :disappointed_relieved:

Oof I thought I was doing something wrong here. Guess not :(
I'm hitting this same issue. Been having a lot of trouble debugging it without any output.

Oof I thought I was doing something wrong here. Guess not :(
I'm hitting this same issue. Been having a lot of trouble debugging it without any output.

Here's an alternative click me

If anyone is still using this as of 2023, I was able to generate output by using node 12.22.12. I was not able to get any output (errors or otherwise) for any newer releases of node.

I found an alternative if you are using mysql db
https://www.npmjs.com/package/@typed-code/schemats

If you are using mysql, I have been developing an alternative library TypeSQL. Instead of generating the types definitions for the database tables, it generates the types from the SQL queries.
I started developing TypeSQL after reading the motivation article of this project (the article is now offline).
https://github.com/wsporto/typesql


Generate an artifact in the CI for the pi3hat spine

When running the CI, build and save as an artifact the spine for pi3hat so that it can be used instead of recompiling each time locally.

Let's use the artifact generated from #151 in the upcoming release :+1:
As a future step, we could automate attaching artifacts to new releases (I will do it manually this time).

Closing this issue as pi3hat spines are now attached automatically to new releases. Thanks @pgraverdy!


apps keys create and update not setting expiration on key

Both "apps keys create" and "apps keys update" have an --expires option, but it doesn't set the expiration on the key, it's always -1.
I think this is an API limitation, as I've not been able to find the API to do this.

Actually, this is supported using expiresInSeconds property, but cannot setting expiresAt is not supported.


Federate with Arch Linux's GitLab instance

Summary
We want to federate so we can sign our container image[1] and perhaps more in the future.
[1] https://gitlab.archlinux.org/archlinux/archlinux-docker/

This is great! Please let me know if you have any feedback about using GitLab with sigstore. FYI we're making some changes to the certificate mapping: https://github.com/sigstore/fulcio/pull/1206.

Thanks for adding this! Have you gotten a chance to test this out with a local instance of fulcio?

@klausenbusk Change has been rolled out to staging. Can you give it a try?

This is mostly working with this .gitlab-ci.yml:
sleep:
  id_tokens:
    SIGSTORE_ID_TOKEN:
      aud: sigstore
  script:
    - pacman -Syu --needed --noconfirm skopeo cosign
    - skopeo login "${CI_REGISTRY}" -u "${CI_REGISTRY_USER}" -p "${CI_REGISTRY_PASSWORD}"
    - skopeo copy docker://docker.io/archlinux/archlinux:latest "docker://${CI_REGISTRY_IMAGE}:${CI_JOB_ID}"
    - mkdir ~/.docker
    - cp /run/containers/0/auth.json ~/.docker/config.json
    - curl -sSfO https://raw.githubusercontent.com/sigstore/root-signing/main/staging/repository/1.root.json
    - cosign initialize --mirror=https://tuf-repo-cdn.sigstage.dev/ --root=1.root.json
    - cosign sign --yes --oidc-issuer "https://gitlab.archlinux.org" --fulcio-url "https://fulcio.sigstage.dev" --rekor-url "https://rekor.sigstage.dev" "${CI_REGISTRY_IMAGE}:${CI_JOB_ID}"
    - cosign verify "${CI_REGISTRY_IMAGE}:${CI_JOB_ID}" --rekor-url "https://rekor.sigstage.dev" --certificate-identity "https://gitlab.com/klausenbusk/fulcio-test@refs/heads/master" --certificate-oidc-issuer "https://gitlab.archlinux.org"
    - cosign verify "${CI_REGISTRY_IMAGE}:${CI_JOB_ID}" --rekor-url "https://rekor.sigstage.dev" --certificate-identity "https://gitlab.archlinux.org/klausenbusk/fulcio-test@refs/heads/master" --certificate-oidc-issuer "https://gitlab.archlinux.org"

log here
But as it can be seen from the last command, the subject is incorrect (it was also incorrect in my earlier testing (https://github.com/sigstore/fulcio/pull/1214#issuecomment-1588030117), but I somehow missed it):
none of the expected identities matched what was in the certificate, got subjects [https://gitlab.com/klausenbusk/fulcio-test@refs/heads/master] with issuer https://gitlab.archlinux.org/

Reading the code, the URL is hardcoded to https://gitlab.com/ here:
https://github.com/sigstore/fulcio/blob/1beb42991616b0f3f3773450992d2d6f7508c860/pkg/identity/gitlabcom/principal.go#L156
I would assume changing it to url:               token.Issuer, should work, but maybe I'm missing something, since it wasn't done this way initially?

@cpanato maybe you can shed some light on, why the url is hard-coded to https://gitlab.com instead of using e.g. the issuer? It is causing a incorrect subject (see ^).

This is meant to be a fixed string, while the Issuer extension represents the specific instance of the identity provider. For example for GitHub, we chose to just use “GitHub.com” even though the issuer is something like “tokens.actions.GitHub.com”.

what @haydentherapper said :)

Thanks for clearing up that misunderstanding :)

@klausenbusk It's now rolled out to production. Lemme know if there's any issues.

It seems to work🎉 and I have created a MR so we can start signing our container images.
@haydentherapper I noticed that the OIDs embedded in the certificate, are also using gitlab.com instead of gitlab.archlinux.org, is the expected?
E.g. Build Signer URI, Source Repository URI, Source Repository Owner URI, Build Config URI and Run Invocation URI.
$ cosign verify "registry.archlinux.org/klausenbusk/fulcio-test:160161" --certificate-identity "https://gitlab.com/klausenbusk/fulcio-test@refs/heads/master" --certificate-oidc-issuer "https://gitlab.archlinux.org" 2>/dev/null | jq -r .[0].optional.Bundle.Payload.body | base64 -d | jq -r .spec.signature.publicKey.content | base64 -d | openssl x509 -text -noout -in /dev/stdin
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            0e:18:6d:1a:e9:82:1c:e1:9e:11:09:49:1c:df:f3:14:bb:5d:32:8d
        Signature Algorithm: ecdsa-with-SHA384
        Issuer: O = sigstore.dev, CN = sigstore-intermediate
        Validity
            Not Before: Jun 23 21:14:12 2023 GMT
            Not After : Jun 23 21:24:12 2023 GMT
        Subject:
        Subject Public Key Info:
            Public Key Algorithm: id-ecPublicKey
                Public-Key: (256 bit)
                pub:
                    04:1c:b6:62:23:94:a3:e5:8a:9f:24:3c:df:96:e6:
                    f4:e7:25:1f:67:8b:b3:f5:bf:52:8c:63:22:85:69:
                    2d:30:0f:19:fe:60:e4:f4:1c:41:82:84:d7:d5:a9:
                    ad:90:7d:f3:62:78:8d:2d:b7:60:3e:d7:af:4a:37:
                    2f:d3:2b:c9:b4
                ASN1 OID: prime256v1
                NIST CURVE: P-256
        X509v3 extensions:
            X509v3 Key Usage: critical
                Digital Signature
            X509v3 Extended Key Usage:
                Code Signing
            X509v3 Subject Key Identifier:
                D2:5D:C1:92:E9:45:A0:03:63:54:12:5F:26:49:1D:12:97:51:36:AA
            X509v3 Authority Key Identifier:
                DF:D3:E9:CF:56:24:11:96:F9:A8:D8:E9:28:55:A2:C6:2E:18:64:3F
            X509v3 Subject Alternative Name: critical
                URI:https://gitlab.com/klausenbusk/fulcio-test@refs/heads/master
            <IP_ADDRESS>.4.1.57264.1.1:
                https://gitlab.archlinux.org
            <IP_ADDRESS>.4.1.57264.1.8:
                ..https://gitlab.archlinux.org
            <IP_ADDRESS>.4.1.57264.1.9:
                .8https://gitlab.com/klausenbusk/fulcio-test/-/jobs/160161
            <IP_ADDRESS>.4.1.57264.1.11:
                ..self-hosted
            <IP_ADDRESS>.4.1.57264.1.12:
                .*https://gitlab.com/klausenbusk/fulcio-test
            <IP_ADDRESS>.4.1.57264.1.13:
                .(c7d3e3bfeafc85ca4a56f4daa29fbf7c51cb535f
            <IP_ADDRESS>.4.1.57264.1.14:
                ..refs/heads/master
            <IP_ADDRESS>.4.1.57264.1.15:
                ..44402
            <IP_ADDRESS>.4.1.57264.1.16:
                ..https://gitlab.com/klausenbusk
            <IP_ADDRESS>.4.1.57264.1.17:
                ..85
            <IP_ADDRESS>.4.1.57264.1.18:
                .8https://gitlab.com/klausenbusk/fulcio-test/-/jobs/160161
            <IP_ADDRESS>.4.1.57264.1.20:
                ..push
            <IP_ADDRESS>.4.1.57264.1.21:
                .<https://gitlab.com/klausenbusk/fulcio-test/-/pipelines/70893
            CT Precertificate SCTs:
                Signed Certificate Timestamp:
                    Version   : v1 (0x0)
                    Log ID    : DD:3D:30:6A:C6:C7:11:32:63:19:1E:1C:99:67:37:02:
                                A2:4A:5E:B8:DE:3C:AD:FF:87:8A:72:80:2F:29:EE:8E
                    Timestamp : Jun 23 21:14:12.163 2023 GMT
                    Extensions: none
                    Signature : ecdsa-with-SHA256
                                30:46:02:21:00:EB:64:18:AC:B2:D0:80:38:49:E8:77:
                                83:E6:7E:95:F9:81:72:A8:52:E8:BD:1D:49:65:8F:B7:
                                30:5A:87:BA:6D:02:21:00:E3:92:D6:4F:A1:95:25:85:
                                5A:44:E4:A7:74:FA:EB:8D:17:F5:0D:71:12:AC:6C:0F:
                                08:B1:4E:B0:6B:27:DD:20
    Signature Algorithm: ecdsa-with-SHA384
    Signature Value:
        30:65:02:30:0d:b7:ac:b5:29:c8:c2:bd:47:c7:3e:57:0d:81:
        42:16:04:ca:2b:4a:ec:ba:71:12:7a:4e:9a:9f:ec:ed:6a:a2:
        32:0a:94:58:ae:84:36:bc:1c:14:11:7a:81:34:a9:92:02:31:
        00:87:a2:c3:62:80:9a:e7:0a:56:65:fc:e1:b3:6d:83:2b:5a:
        82:ef:d6:f0:10:68:24:02:26:47:8e:cc:fb:7a:7b:c6:f6:28:
        dc:85:00:a4:ed:db:b7:c5:ce:07:ad:61:70

That’s for the same reasons as above. A verifier will create a verification policy that should look the same regardless of which Gitlab (or other CI) instance they verify against, except for the issuer, which will differ.
If you see any issue with this, we can chat about changing this.


matching-ws - cursor is loading entire resultset

The ibatis logic for exporting name usages is loading the entire resultset instead of respecting fetchSize.

Fixed with https://github.com/CatalogueOfLife/backend/commit/6327d93c93cc48f94464e628e6c5e963df593056


Shopware Installer does not use specified Database Port

PHP Version
8.2
Shopware Version
6.5
Expected behaviour
When specifying a database port during the installation process the installer should use this port and not fall back to the default value of 3306
Actual behaviour
An exception gets thrown and ignored and the port is set to the default value of 3306
How to reproduce
try to install shopware and specify a non default Database port.
error message
failed with error: TypeError: Cannot assign string to property Shopware\Core\Maintenance\System\Struct\DatabaseConnectionInformation::$port of type int in /var/www/mywebsite.com/vendor/shopware/core/Framework/Struct/AssignArrayTrait.php:28
Stack trace:
#0 /var/www/mywebsite.com/vendor/shopware/core/Installer/Controller/DatabaseConfigurationController.php(62): Shopware\Core\Framework\Struct\Struct->assign()
#1 /var/www/mywebsite.com/vendor/symfony/http-kernel/HttpKernel.php(163): Shopware\Core\Installer\Controller\DatabaseConfigurationController->databaseConfiguration()
#2 /var/www/mywebsite.com/vendor/symfony/http-kernel/HttpKernel.php(74): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#3 /var/www/mywebsite.com/vendor/symfony/http-kernel/Kernel.php(184): Symfony\Component\HttpKernel\HttpKernel->handle()
#4 /var/www/mywebsite.com/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php(35): Symfony\Component\HttpKernel\Kernel->handle()
#5 /var/www/mywebsite.com/vendor/autoload_runtime.php(29): Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
#6 /var/www/mywebsite.com/public/index.php(12): require_once('...')
#7 {main}

possible fix
diff --git a/src/Core/Framework/Struct/AssignArrayTrait.php b/src/Core/Framework/Struct/AssignArrayTrait.php
index 5b05c4d984..d92830244c 100644
--- a/src/Core/Framework/Struct/AssignArrayTrait.php
+++ b/src/Core/Framework/Struct/AssignArrayTrait.php
@@ -15,6 +15,10 @@ trait AssignArrayTrait
     public function assign(array $options)
     {
         foreach ($options as $key => $value) {
+            if ($key === 'port' && is_numeric($value)) {
+                $value = (int) $value;
+            }
+
             if ($key === 'id' && method_exists($this, 'setId')) {
                 $this->setId($value);

@@ -24,6 +28,7 @@ trait AssignArrayTrait
             try {
                 $this->$key = $value; /* @phpstan-ignore-line */
             } catch (\Error | \Exception $error) {
+                // TODO: handle exceptions correctly...
                 // nth
             }
         }

whoops, did not check issues.shopware.com beforehand.
so this is a duplicate of: https://issues.shopware.com/issues/NEXT-25852
would be great though if it could be prioritized higher as non default Database Ports are quite common.

Could you create a MR with your proposed changes? That's often the fastest way, especially if you already found a way to fix it.

Oh wait a minute i just took a look at your proposed fix and i think the generic trait should not know anything about specific properties.

Hi,
thx for your issue we will put it into our new evaluation process and have a look at it again.

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-37926.
[created from NEXT-37926, comment 488864]


AccelerationStructure and use of vk::Device

AccelerationStructure holds a vk::Device and some functions use it while other require the vk::Device as an argument.
Is there a reason for that ?

That looks to have been yet another porting artifact when migrating to the stable headers. Same applies to RayTracingPipeline. It should just be removed from function signatures to match the rest of the functions and extensions. Done so in the attached PR.


Large workflow won't start, even with persistence enabled

Checklist:

[x] I've included the version.
[x] I've included reproduction steps.
[x] I've included the workflow YAML.
[x] I've included the logs.

What happened:
This is what I get when trying to argo submit the workflow which I put in this gist
ERRO[0028] Create request is failed. Error: etcdserver: request is too large
2020/05/03 20:30:57 Failed to submit workflow: etcdserver: request is too large

After digging for a bit, I figured out that the above is a hard limit on etcd and that it is possible to persist workflow status using postgresql/mysql, which I have enabled applying the linked configmap/controller .yaml config (redacted the host out, except for that it's identical to what I have applied on my cluster)
It seems that what's persisted is the workflow status, and not the workflow definition itself: that is still on etcd and if it is larger that 1Mb compressed (and mine is) it still fails.
What you expected to happen:
I would expect argo not to use etcd at all when persistence is enabled
How to reproduce it (as minimally and precisely as possible):
You can try and start the linked workflow definition against a persistence enabled controller
--
I would be very happy to delve in and implement this myself, if this is really not implemented and I'm just not missing something - please let me know, and thanks in the meantime for the great tool you provide :)

Argo version:

argo: v2.7.5
  BuildDate: 2020-04-21T00:55:01Z
  GitCommit: ede163e1af83cfce29b519038be8127664421329
  GitTreeState: clean
  GitTag: v2.7.5
  GoVersion: go1.13
  Compiler: gc
  Platform: linux/amd64

Kubernetes version :

clientVersion:
  buildDate: "2019-04-08T17:11:31Z"
  compiler: gc
  gitCommit: b7394102d6ef778017f2ca4046abbaa23b88c290
  gitTreeState: clean
  gitVersion: v1.14.1
  goVersion: go1.12.1
  major: "1"
  minor: "14"
  platform: linux/amd64
serverVersion:
  buildDate: "2020-02-21T18:09:01Z"
  compiler: gc
  gitCommit: 879c3621692a32b5d77a951ca0e61ee55aefc80f
  gitTreeState: clean
  gitVersion: v1.13.12-eks-879c36
  goVersion: go1.11.13
  major: "1"
  minor: 13+
  platform: linux/amd64

Message from the maintainers:
If you are impacted by this bug please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

try the WorkflowTemplate feature to reduce your Workflow definition Size.

Hi! thanks for your reply :) workflow templates might help in some cases but the workflow definitions I am generating are highly dynamic, so for some of the extreme outliers I have I would still easily go above 1Mb for the definition itself. I guess there's no other way to work around this, and I suppose there's no way currently to have argo store the definitions themselves in the persisted storage instead of using etcd. Is that correct?

are you using managed k8s cluster (GKE/EKS)? if it is no, you can increase the etcd request size from 1.5 Mb to your max size.
etcd is designed to handle small key value pairs typical for metadata. Larger requests will work, but may increase the latency of other requests. By default, the maximum size of any request is 1.5 MiB. This limit is configurable through --max-request-bytes flag for etcd server.
https://stackoverflow.com/questions/59922350/etcd-key-value-size-limit

@bolthar have you managed how to resolve this?


don't convert dists to pointset when rendering lambdas

Context: https://eaforecasting.slack.com/archives/C03LAG3EDE0/p1662371030000569

Ugh, f.useRunnerState is not a function in playground and failing tests strike again.
f.useRunnerState is not a function is related to that hooks mess from #1068, I don't know how it still lingers around.
Failing tests are hard to decipher:
error: builder for '/nix/store/4q9jvfhsiw3j8249m817mi4073mlh81v-squiggle-lang-test.drv' failed with exit code 1;
       last 10 log lines:
       >                    ~~~~~~~~~~~~~~
       >
       >
       > Test Suites: 1 failed, 3 skipped, 54 passed, 55 of 58 total
       > Tests:       23 skipped, 1004 passed, 1027 total
       > Snapshots:   0 total
       > Time:        64.22 s
       > Ran all test suites.
       > error Command failed with exit code 1.
       > info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
       For full logs, run 'nix log /nix/store/4q9jvfhsiw3j8249m817mi4073mlh81v-squiggle-lang-test.drv'.
Error: Process completed with exit code 1.

@quinn-dougherty do you know if this error message can be improved?


using DocumentAssembler, word template tags

Hi Eric,
thanks for DocumentAssembler introduction video is very usefull.
But how could I define a image content in my .docx template?
For regular text content is, for example:  "
For Table is "
there are Repeat and Conditional tags too.
And for image? is something like media?
Where could I find all avaliable tags?
I have search in OpenXmlPowerToolsExamples project without success
those tags are specific of Open-Xml-PowerTools or are from XPath or are from Word..... I'm confused
thanks for your time.

Hi,
Certainly images and media need to be added to DocumentAssembler.  I plan on adding images this month, but we'll see.  Currently, I'm working on the functionality to include a named range from Excel, or any specified sheet/range from Excel into the generated document.
Also, you are correct, there needs to be better documentation.  The two videos actually demonstrate everything that is possible, at this point in time, with the exceptions of some small enhancements that we've made since then.  You can see evidence of these enhancements in the commit history.
All of the tags that you see, i.e. Content, Repeat, EndRepeat, Conditional, EndConditional, Table, are specific to Open-Xml-PowerTools and DocumentAssembler.  Once you generate the finished document, none of this is left in the file.  The result is a canonical Open XML document.
I'm leaving this issue open - once I add images, and create a doc page for DocumentAssembler, I'll close the issue.
Cheers, Eric

Issue has dependency on #42

Any news on this issue?

Closing all issues as this repo is being archived and will no longer be maintained by Microsoft. The project is licensed for continued use and development by forking to your own repo.


Add missing issue number for 1.9 release notes

Part of https://github.com/istio/istio.io/pull/8884

In response to a cherrypick label: new pull request created: #30553


added output support for tuple of tensors to support custom model

This is a strong assumption about what it means for the output to be a tuple of tensors, but I think it's good enough for our purposes at this moment.

Closing, we can just wrap our model in something returning a tensor instead


Drop unnecessary type conversions

Reported by unconvert linter.

If you want to integrate it, I can add it in a separate PR.

Yes, that would be nice.

I just came to add unconvert but it's already done by you :+1:
How about using gometalinter to run all these linters so as to have smaller make file.

Hey, I'm sorry if you were about to open a PR. I was trying to fix a bug in the Makefile and just added this at the same time.
Gometalinter is interesting, but we had some trouble with that at work and I'd prefer to stick to the explicit approach we use right now.

No worries, I will try to make myself useful in other parts.


test(html/parser): refactor tests

Description:
Refactor test
BREAKING CHANGE:
No
Related issue (if exists):
Fixes https://github.com/swc-project/swc/pull/6014/

@kdy1 SOme problems on window, I am debugging them right now

@kdy1 Ready for review/merge


Add i18n and ja locale

@anders94 This change is to introduce Internationalization into the demo. As Blockchain is a global technology, I think this demo may benefit from being able to be done in multiple languages.

New dependency 'i18n'
Form labels, headings and button labels are localizable

#{__('Block')} would lookup 'Block' inside the locales dictionary, and if unfound it would default to the passed in String, so this change will not break the look for English. Locales are detected from the request header.
This is what it looks like in Japanese.

Thanks for doing this!


Kinesis Appender

We use AWS fairly heavily and would be interested in seeing a new appender that wrote to an AWS Kinesis stream.
There is already a logstash plugin that consumes events from a Kinesis stream (see https://github.com/codekitchen/logstash-input-kinesis). Being able to write to a stream would nicely decouple event producers from logstash and allow us to spin up multiple ELK stacks consuming the same log data (for testing and transitioning for example).
I'd be happy to look at implementing this - although some pointers as how best to go about doing so in the current Appender hierarchy would be welcome.
I'd also be interested in hearing from anyone else who might find this interesting.

Hi @sihil,
I'd suggest making a separate project for a kinesis logback appender (similar to how there is one for log4j).
It's fairly simple to create a logback appender.  Just subclass UnsynchronizedAppenderBase or AppenderBase.  The appender should be able to configured to use any encoder, just like most other appenders.

Hi @philsttr,
Thought you might like to know that my colleague @kenoir has created a logback appender as suggested. It's available at https://github.com/guardian/kinesis-logback-appender.
Regards,
Simon


KindleGen detection on linux

https://github.com/ciromattia/kcc/blob/515b83637fd0e531b1b21cac39a7fa42ed0a3f27/kindlecomicconverter/KCC_gui.py#L839
KindleGen is not detected correctly on linux (Manjaro) with kindlegen in KCC root folder.
Changing this line to
kindleGenExitCode = Popen('./kindlegen -locale en', stdout=PIPE, stderr=STDOUT, stdin=PIPE, shell=True)
fixes the issue.

same issue on archlinx when using flatpak package. open a pull request?

I don't even know if I have the right file for KindleGen, nor if it is in the right place. I'm still a noob, anyone able to help?

I don't even know if I have the right file for KindleGen, nor if it is in the right place. I'm still a noob, anyone able to help?

same here, could someone help us ?

same problem even if kindlegen is in your path?

adding to your path should fix it.
reopen if needed


Remove version: GNU.MidnightCommander version 4.8.24-222

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/mcwin32/files/mcwin32-build222-setup.exe/download
Status Code: 200
(Automated message - build 896)

Close with reason: Package still available.;


Make item image styling and HTML more consistent

This does change the background color in some places. I can swap it to the secondary color if that's the preferred one.

Can we simply preserve the original appearance?


Orange report & testing

 【week5】Data Collection and Preprocessing: add sentiment score to Bitcoin Price dataset

 【week5】Phase 1 - (Report) Data Scientist Salary Analysis Replication


Filer Filesystem assignment fails

replacing the 9P filesystem with Filer with new Object creation 'const options = Object.create(emulatorParams);' in filesystem.js and assign it to filesystem doesn't work. Did you make any changes in the v86 library JS to make this workaround 'options.filesystem = filerAPI';

Correct, I had to hack some things into v86.  You can see what I did here:
https://github.com/humphd/v86/compare/f6ae3ea58aee15f2a9be71f2847738367ef31747...humphd:filer-9p-lastknowngood
I haven't looked at this code since I did it, and it was done "to make something work" so there are likely cleaner ways to do it against v86 master now.

Correct, I had to hack some things into v86. You can see what I did here:
humphd/v86@f6ae3ea...humphd:filer-9p-lastknowngood
I haven't looked at this code since I did it, and it was done "to make something work" so there are likely cleaner ways to do it against v86 master now.

Thank you very much! you are a life saver. It all helped me and worked!


Question: How to Change Icon Color

i have Question: there is in some situation that we want to change the color for the icon. Is there an option to change the color or do we have to delete the icon and create it again with a new color?

Hi @mgh2010 ! Not totally sure what would be triggering the color change in your use case but maybe a check to the toggle state styling example could be useful: https://qtawesome.readthedocs.io/en/latest/usage.html#examples (Apply toggling state styling item).
Let us know if the info above helps!

I'm not sure if my question is same as OP, but worth a try, I guess.
I am aware, that I can get a QIcon with colored glyph when it is instantiated like this:
self.qicon = qta.icon(inchoice, color='darkgray', animation=self.animation)

Then, I can use this to set pixmap of a QMessageBox, which works fine, too:
self.msgBox.setIconPixmap(self.qicon.pixmap(self.icon_qsize))

However, then the icon is the same color, from instantiation to end of its lifetime.
My question is: Sure we can if I instantiate a new QIcon with red color after 10 seconds (and I delete the previus one from memory)  -- but can we change color of the same QIcon after instantiation (without deleting it and instantiating a new open)? Say, I show the icon 10 seconds in darkgray, then 10 seconds in red (without instantiating a new QIcon)? ... I guess that is what OP meant by:

Is there an option to change the color or do we have to delete the icon and create it again with a new color?

This could also help with animating the icon color, I guess ...
In any case, I can see that IconicFont basically uses draw color from a dict; one can do qta.set_defaults(color='green'), which calls iconic_font.set_global_defaults(color='green'), which sets _default_options['color'] = 'green' - but then, this is only transferred to options in IconicFont.parse_options via live_dict; and then this becomes api_options, and it is api_options used for drawing the icon via self.icon_cache[cache_key] = self._icon_by_painter(self.painter, api_options) ... In other words, in theory, if I could do:
self.qicon = qta.icon(inchoice, color='darkgray', animation=self.animation)
qta.set_api_options(color='green') # pseudo!
self.msgBox.setIconPixmap(self.qicon.pixmap(self.icon_qsize))

... I could (maybe) hope the pixmap applied to messagebox to be green; however, there is no equivalent to set_api_options in the API I could find - and if I just do set_defaults instead:
self.qicon = qta.icon(inchoice, color='darkgray', animation=self.animation)
qta.set_defaults(color='green')
self.msgBox.setIconPixmap(self.qicon.pixmap(self.icon_qsize))

... then this has no effect, - somewhat as expected, because by the time I've said set_default, the qta.icon has already applied the api_options, including the color that is going to be used to render the glyph.
So, yeah - is there a way to change the icon glyph color, without re-instantiating the qicon for that glyph?


Getting client timeouts even with --wait argument

time="2017-12-01T10:58:45+02:00" level=error msg="Failed Starting myproject-api-web : Get http://<IP_ADDRESS>:8111/v2-beta/projects/1a54/services/1g508: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"
time="2017-12-01T10:58:45+02:00" level=error msg="Failed to start: myproject-api-web : Get http://<IP_ADDRESS>:8111/v2-beta/projects/1a54/services/1g508: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"
time="2017-12-01T11:08:50+02:00" level=fatal msg="Get http://<IP_ADDRESS>:8111/v2-beta/projects/1a54/services/1g508: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"

This is the Rancher API not respoding in time/being under load/any other difficulties. We need a bit more info to reproduce and investigate.
Let us know if you can provide more steps to reproduce.


👷♂CI/CD includes build publishing

Summary
All the GitHub Actions workflows are changed according to the new utils/inject_build_props.py.
Technically we have next flows implemented here:

Dev flows

PR opened/edited to main: dev build pushed to internal pypi
guidellm-dev package name, #.#.#.dev[PR#] for version
commit to main: nightly build pushed to internal pypi
guidellm-nightly package name, #.#.#.[YYYYMMDD]
nightly on main: nightly build pushed to public pypi if nightly tests pass
guidellm-nightly package name, #.#.#.[YYYYMMDD] for version

Staging flows

release branch created or committed to: release candidate pushed to internal pypi
guidellm package name, #.#.# for version

Production flows

release tag created: release build pushed to public pypi
guidellm package name, #.#.# for version

@markurtz waiting for real secrets we are going to use here.


chore(proptypes): prepare to React 16

When updating to React 16 beta, the App stopped working because PropTypes are no more under the package react.
I tried to run the example, but it gets stuck. I also try to build it to test it locally but can't fight the command to use. Could you indicate them?

Indeed, a big breaking change for the community :)
Thanks for the PR, looks good!

@ptomasroos do you think you'll be able  to release a new version with this soon? Thank you so much!

Thanks!
I will do this on monday, sorry for keeping you on hold but I'm at vacation!

Thanks for the PR!


Charts div not showing on safari mobile

Hi everyone, charts works perfectly on chrome/firefox. On IOS devices, with safari showing only transparent div without svg data. How can i solve?

Please post a working example on codepen, so I can reproduce the error.

Sorry for late response, i solved it changing date format to ISO 8601. Thanks for support.


Yaml configuration now broken

As of an upgrade to dropwizard 0.9.2, this now appears in the logs, both using the command line to launch or a ServerRule in test:

Unrecognized field at: server.maxThreads
Did you mean?:

adminMaxThreads
adminMinThreads
adminConnectors
adminContextPath
applicationConnectors
[1 more]

The yml is question has:
server:
gzip:
enabled: false
maxThreads: 1024
minThreads: 8
This seems like a regression, and I can't find anything in the release notes to indicate a change here.

This seems to have been the result of a mismatch in jackson parsers.  All works fine now with dropwizard 0.9.2 and jackson 2.6.3 combination.


List available network devices

Allow to list available network interfaces. The main run command should input the desired file/interface, this is a QoL improvement to let the user know what is available. Part of #20.

Closes #20.


Allow hosting behind reverse proxy with prefixed path

To be hosted behind a reverse proxy like Traefik or nginx Justpy needs to be aware about the prefixed path. These proxies provide a X-Forwarded-Prefix header for this purpose. On the browser side we can use the location.pathname to access the prefix and establish the connection accordingly.

Thank you for this. I see why it is important and would be valuable in the package. Unfortunately, I do not have the experience nor the setup to test this if it is incorporated into justpy. Just thinking out loud, can this made into a standalone package, a version of justpy for reverse proxies?

can this made into a standalone package, a version of Justpy for reverse proxies?

Interesting! It would still require some extensive hook-points within Justpy:

We would need to set the page_options.prefix_path externally according to the current request header. Therefore the WebPage needs a callback function on_request or similar with the request object and page_options as parameter. Still, the templates need to interpret the path_prefix.
We also need to move the websocket path determination from Javascript to Python (see
https://github.com/elimintz/justpy/pull/258/commits/7f86f0a44a49c10b43cc4db969b9ecb5b6e622aa#diff-9b0be2bc0877639d984fb3df3beb313ea2bbab0f5dc828423dbd537c500e588f). Maybe as an other callback WebPage.get_websocket_uri? It should have the current request object as parameter to access request.url.path, request.url.scheme and similar.

This would be much better than my hack for our NiceGui  library which is based on Justpy. Currently I saw no other option then to apply the patch into the installed Justpy library within a docker container. Obviously this should be replaced as soon as possible.

Give me a few days to think this over and  figure out how much change is needed in the code. I was thinking more along the following lines: Once a version of JustPy is ready, if this is something worth your time, you would make the changes required and test the package in your configuration. Then you could publish a package called for example justpy-reverse-proxy for people to use.
Since you have experience with docker, perhaps you could define a container that would make it simple for people to deploy JustPy? Any ideas in general on how to make deployment as simple as possible would be much appreciated. A command that takes a JustPy project and deploys it to one of the cloud service providers would be a huge improvement to the project.

I found a solution which only needs modifications in the template dir and hence can be used on top of Justpy without code modifications. I just copied the original templates dir and applied this modifications.

Since you have experience with docker, perhaps you could define a container that would make it simple for people to deploy JustPy? Any ideas in general on how to make deployment as simple as possible would be much appreciated. A command that takes a JustPy project and deploys it to one of the cloud service providers would be a huge improvement to the project.

I started a new discussion about the dockerization at https://github.com/elimintz/justpy/discussions/260

I found a solution which only needs modifications in the template dir and hence can be used on top of Justpy without code modifications. I just copied the original templates dir and applied this changes.

This is great, thank you. I will include this in the next version of JustPy.


OSG.js license change. Feedback request.

Dear OSG.JS contributors,
OSG.JS is becoming a very productive library for display 3D models on the Web, used by more and more developers. Some of the Web applications built on this Javascript library are commercial (for profit), typically as part of a Software as a Service (SaaS) approach.
The growing use of OSG.JS in Web applications has prompted us to investigate about the license under which the current code is released, which is LGPL v3. While we are not legal experts (even if we were, there seems to be no definitive agreement on all legal implications of LGPL v3), it seems this license is not commonly used in JS libraries. Two reasons are: a) the difficulty in interpreting what it means "derivative work" and "distribution" in Web applications, in the context of the convoluted legal text of LGPLv3; b) complex license compatibility issues if a LGPL v3 library is combined with other libraries with different licenses.
For these reasons, most open source JS libraries (like Three.js, jQuery, Bootstrap) use the MIT license or a similar non-restrictive license to avoid any legal issues. This the full text of the MIT license, which must be included in the code:
=============================
The MIT License (MIT)
Copyright (c)       // COPYRIGHT holders must be stated here and       copyright notice replicated in derivative work (see below)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
==============================
On the other hand, some JS libraries have a commercial philosophy (revenue is sought by selling library licenses), but still want an open developer community. These libraries usually have a dual GPL + commercial license, for instance:
DHTMLX: http://dhtmlx.com/docs/products/licenses.shtml
WEBIX:  http://webix.com/licenses/
ExtJS: http://www.sencha.com/legal/
Developers who use the GPL are forced to release the code of any derivative work that is published on the Web, while 'close' proprietary applications are also possible by paying the commercial license.
So, in summary, while LGPL is very standard in open sourced desktop libraries (like OSG), it seems to present problems and is avoided for JS libraries.
Our suggestion is to switch the OSG.JS license to a MIT license, making easier to work with the library without legal issues getting in between, and helping us to compete with other libraries like Three.js. An alternative would be to have a commercial license for commercial applications. However, this would probably be difficult to handle because of the multiple contributors involved.
We would like to have feedback from you regarding this change (if you accept it or not). Because we have received some requests from partners to make this change as soon as possible, we would like to receive your feedback before the end of this month (June 2015). Even if you agree with the change, please respond to this request, so we know your opinion.
Thanks for your contributions to the project. We hope it keeps growing as the best choice for interactive 3D visualization on the Web.
Best regards
Cedric Pinson (SketchFab)
Jordi Torres (Mirage Technologies)

I Agree and Accept

cc: @stephomi @sylvinus @DamonOehlman @zqsd @arcanis @Teybeo @pierreant-p @RemyAlves @sbouafif

+1

+1
On Jun 15, 2015 9:48 AM, "Jordi Torres"<EMAIL_ADDRESS>wrote:

cc: @stephomi https://github.com/stephomi @sylvinus
https://github.com/sylvinus @DamonOehlman
https://github.com/DamonOehlman @zqsd https://github.com/zqsd @arcanis
https://github.com/arcanis @Teybeo https://github.com/Teybeo
@pierreant-p https://github.com/pierreant-p @RemyAlves
https://github.com/RemyAlves @sbouafif https://github.com/sbouafif
—
Reply to this email directly or view it on GitHub
https://github.com/cedricpinson/osgjs/issues/339#issuecomment-111969724.

+1

:+1:

+1
For some time, I was pretty sure it was MIT actually :)
2015-06-15 10:02 GMT+02:00 Maël Nison<EMAIL_ADDRESS>
[image: :+1:]
—
Reply to this email directly or view it on GitHub
https://github.com/cedricpinson/osgjs/issues/339#issuecomment-111972208.

I accept

:+1: for a change to MIT.

No problem, +1

License has been changed, I'm closing this issue. Thank you all!


Redirect to an action with some arguments

I recommend the Redirect method with some arguments, but not using the Redirect to a formatted string.
such as:
return c.Redirect(Hotels.Settings, ... params Inteface {})
there should be some convenient when batch modify url later.

Closing simmered long enough


typo in blog titile

http://dubbo.apache.org/#/blog/qcon-beijing-2018.md?lang=en-us

Dubbo roadmap is accouned in QCon Beijing 2018 -> announced?

http://dubbo.apache.org/#/blog?lang=en-us

Fixed.


feat: Add toggle option for xhprof command, fixes #5782

The Issue
The xdebug command has a toggle option, but xhprof doesn't. They're both really similar in their operation so it makes sense to add a ddev xhprof toggle option.
How This PR Solves The Issue
Adds the option.
Also some unrelated-but-adjacent refactoring of xdebug, which was pretty convoluted.
Manual Testing Instructions

Try ddev xhprof toggle and validate the status with ddev xhprof status
Check that hitting tab after typing ddev xhprof  gives you toggle amongst the other options.
Try ddev xdebug toggle and ddev xdebug status as a sanity check for the refactor

Automated Testing Overview
Existing tests should cover the xdebug refactoring.
There's no tests at all for xhprof that I could find, so adding them seems out of scope. Happy to add if maintainers disagree with that assessment though.

Related Issue Link(s)

#5782

Release/Deployment Notes

N/A

See https://github.com/ddev/ddev/blob/b0fb8cea16ee67564a0cf02991d61a59f3d0e4ef/pkg/ddevapp/ddevapp_test.go#L1097-L1209 for TestDdevXhprofEnabled.
Your IDE should have been able to find this! :)

Does this mean that you often use xhprof?

Does this mean that you often use xhprof?

I almost never use it, but if there's anyone using DDEV who does a lot of profiling, I could see this being helpful - while at the same time it adds next to no additional maintenance.

Your IDE should have been able to find this! :)

If I had done a blanket search for xhprof it would have - I was just expecting a separate file like xdebug has since the commands are basically identical.
Looking at that test, it's testing the underlying enable_xhprof and disable_xhprof functions, not the ddev xhprof command itself. Unless I missed something.

The xhprof command just runs enable_xhprof, etc.
I found the test by using symbol search and typing TestXhprof and it brought it right up (Goland)

The xhprof command just runs enable_xhprof, etc.

By that argument there's no need for me to update any tests, because that's still what it's doing. That doesn't test whether the existing ddev xhprof status command outputs correctly or whether this new toggle option works as expected - but as I say, that's a completely different test than the one that currently exists.

I'm happy to add testing coverage for the actual ddev xhprof command itself if you want - just noting that that's not what the current test covers, which is why I didn't add tests for the toggle option there.

It's all good, no need to go further IMO. Maybe when we integrate xhprof more thoroughly later this year with integrating the ddev-xhgui behavior.

In testing this PR I did ddev xdebug toggle a number of times. When xdebug was not enabled, it did the right thing. But often when xdebug was enabled, it would hang. The hang is in php -r 'echo ini_get("xdebug.mode");'.
I was testing on macOS, and where this happened I was on php 8.2

It has nothing to do with this PR. I tested with HEAD and saw the same.
It doesn't matter whether mutagen is enabled or not

Ohhh, interesting. I guess that's 'cause in order to get the xdebug status, we're running php while xdebug is enabled - and xdebug is trying to connect to an IDE or anything that'll listen, and not finding anything to connect to?
Probably we should use php -i, or check the INI file(s) directly, or something else that doesn't require executing code via PHP to get the status.

php --ri xdebug will exit with a 0 status if xdebug is enabled, and a non-0 status if it's disabled, so that's another option.

You're right, congratulations! This doesn't happen if PhpStorm IDE isn't listening!

I think that php --version, which is widely used in tests and such is probably an extremely robust technique. php --version | grep xdebug for example.

Followups in

https://github.com/ddev/ddev/issues/6191

XHprof works as expected. No conflicts with tyler36/ddev-xhgui.
xdebug also continues to function after "rework".
Seems good to me.
Test

Confirm DDEV version

$ ddev -v
ddev version v1.23.0-beta1-23-gbb51e6fc8

Start a new Drupal 10 project following quick start guide.
Toggle xhprof

$ ddev xhprof toggle
Enabled xhprof.
After each web request or CLI process you can see all runs, most recent first, at
https://xhprof-test.ddev.site/xhprof

Visit https://xhprof-test.ddev.site/xhprof to confirm working.
Refresh page to confirm XHprof is generating content

Test with tyler36/ddev-xhgui

Install tyler36/ddev-xhgui addon

ddev get tyler36/ddev-xhgui
ddev restart

Following Drupal instructions, add perftools/php-profiler

ddev composer require perftools/php-profiler --dev

Following Drupal instructions, update web/sites/default/settings.php

if (file_exists("/mnt/ddev_config/xhgui/collector/xhgui.collector.php")) {
 require_once "/mnt/ddev_config/xhgui/collector/xhgui.collector.php";
}

Toggle xhprof

ddev xhprof toggle

Launch XHGui page

ddev xhgui

Visit main Drupal page and confirm reports are generated in XHGui.

Test Xdebug still functions

Add breakpoint to web/index.php on lin 16: $kernel = new DrupalKernel('prod', $autoloader);
Start xdebug listening in Vscode
Toggle xdebug on

ddev xdebug on

Attempt to homepage; page does NOT finish loading as breakpoint is hit (expected behavior).


Extend email/social footer section width to 100% on mobile

Email/social footer section looks 100% width for me. what viewport/browser?

790px ish wide. Safari.

this what you're looking for @veganstraightedge ?

That'll do!


disable tests that require local auth

Will re-enable them when we move to test tenant.

API change check
API changes are not detected in this pull request.


[FEATURE] New firewall configuration: 3rd party firewalls interconnected to the cloud tenancy via Transit Gateway Connect

Required Basic Info
To properly assess the enhancement request, we require information on the version of the Accelerator you based this request upon:

Accelerator Version:  v1.5.5

Is your feature request related to a problem? Please describe.
Multiple customers are interested in migrating how their 3rd party firewalls interconnect with their TGW. Currently, the only supported option using the ASEA configuration file is leverage Site-to-Site VPN attachments which have a throughput limit of 1.25 Gbps per tunnel and require the CGW (3rd party firewall software running on EC2) to dedicate a lot of compute resources to encrypting/decrypting traffic.
Describe the solution you'd like
This feature request is to enable TGW Connect attachments between the 3rd party firewalls and the TGW in the ASEA code and configuration file. The benefit is that this will allow an increase of throughput from 1.25 Gbps to 5 Gbps (per GRE tunnel with TGW Connect). It will also allow customers to down-size their 3rd party firewall appliance running on EC2 as they won't need beefy, compute-intensive instances to encrypt/decrypt traffic.
Describe alternatives you've considered
Alternatively, customers moving ahead with this architecture are building out the TGW Connect attachments manually outside of the ASEA config file.
Additional context
Screenshot of the proposed solution:

Did not implement


Merge prTesting_201905071036 branch to master branch

Docs Build status updates of commit 3165e78:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestCon.md
:white_check_mark:Succeeded

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


map drive folder as Source directory

Hi,
We want to use in-place bulk import, the content store is on map drive E. When I specify the any folder on the map drive as source directory, the error "Source directory not exits" occurred from filesystemBulkImportSource class.

However the import ( streaming) worked with source folder from D drive, Alfreco app server Tomcat is on drive D.
I tried a java program to access the same folder on E and it is finding the folder.
Could you please advice on how can we use the source folder from map drive with bulk import.

G'day @suneethababu - it would be great if you could post this on the mailing list.  Thanks!


Send key to S3 bucket to CEDRI

We need to create a new key for the S3 bucket and send it to CEDRI so that they can access the bucket to access the MATS bulk files.
For reference: https://github.com/US-EPA-CAMD/easey-docs/blob/develop/CAMDRunbook.md#56-s3-buckets

I have reviewed the reference materials in CAMD Runbook
https://github.com/US-EPA-CAMD/easey-docs/blob/develop/CAMDRunbook.md#53-service-keys
Section 5.3 Service Keys -
Tried to follow the steps, however received an error when ran the following command prompt:
$ cf connect-to-service -no-client ssh-tunnel mats-bulk-files
Error Message:
'$' is not recognized as an internal or external command,operable program or batch file.

Prerequisites:
1. Cloud.gov account
2. Access to Cloud "Spaces" (Dev/ Test) for the target "Organization" (epa-easey)
3. Install Cloud Foundry CLI
4. Install Service Connect Plugin
Steps:

Run command: cf login -a api.fr.cloud.gov --sso
Get Temporary Authentication Code at https://login.fr.cloud.gov/passcode
Proceed with the standard cloud.gov login process
Temporary Authentication Code: xxxxxxxxxxx
Copy the code
Paste in command prompt and hit Enter
Targeted org epa-easey.
Select a space: 1. dev 2. test
Select 1
Run command: cf connect-to-service -no-client ssh-tunnel mats-bulk-files
Run command: cf service-keys mats-bulk-files
Run command: cf service-key mats-bulk-files mats-bulk-files-svc-key
Generates Service Key:
"secret_access_key": "K1C8E1uknkMQXExlQwS4zehbI20bZfn//36Qy4aV",


Follow up for 1669, removed unnecessary check

Sorry, forgot to add this yesterday (see #1669).

thanks ;)


bundle can't find Gemfile

@rultor release, tag is 0.0.9

@rultor release, tag is 0.0.9

@rultor release, tag is 0.0.9

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.0.9

@yegor256 Done! FYI, the full log is here (took me 9min)


New segments not used for translation unless context is provided

Hello, it took me some time to figure this out, so it may be worth fixing (if thats not on purpose) or at least mentioning it somewhere in the API docs.
I started with training of a new engine, then created a new domain and added some segments to that domain. All seems fine (learn progress = 100%), but the translation results did NOT use newly added contributions. Apparently this additional domains are used ONLY if 'context' parameter is provided (with one domain it doesn't really matter what's inside as long as it's not empty).
My thoughts:

That may be a bug. In MMT 2.4 domains were used even without any context.
If they are not used then the whole adaptivity is gone, which make no sense so perhaps this 'context' parameter should be required not optional?
If that's expected behavior then some explanation in the docs would be nice, as this is rather breaking change for someone who switch from 2.x to 3.x

One thing is not clear in your explanation : is the text to be translated also used with the context to identify the memory profile, or only the context ?
With the older version, when having a project without a clear predefined specialisation, I used to set a model without context, and hope it to be adapted on-the-fly according the sentences themselves.
With the new version, if I would like to benefit from an adaptive behaviour, should I simply use a generic context, with words having no real profile, like "the this and or that". In this case:

will I benefit from sentences added after the training ?
will I benefit from adaptations according to the sentences themselves ?

@EtienneAb3d
Only the provided context is exploited to identify the context vector (we prefer this expression instead of "memory profile").
If you want an adaptive behaviour, you have to specify a context file or string (or directly the context vector). The more the context is related to the sentence(s) to be translated, the better the translation will be, because the system will adapt on more related data.
Obviously, you can use the sentence to be translated also as context. In this way, the adaptivity will take advantage of the data "closer" to the input, which is probably what you are interested in.
In my opinion, setting a very generic context (like "the this and or that") is definitely a bad choice.
All sentence pairs in the memories, even if added after the training, play a role in the adaptation process.

All sentence pairs in the memories, even if added after the training, play a role in the adaptation process.

This is not what was said just before, when no context is provided.

Ok. After re-read of your text: I will use the sentence itself, to get an adaptive behaviour 1) according to the content of each specialized memory, and 2) according to new sentences added after training.

I was assuming the adaptivity scenario.
To be more precise:
If the adaptivity is activated by means of setting the context (or context vector),
then all sentence pairs in the memories, even if added after the training, play a role in the adaptation process.
Nicola
--
Le informazioni contenute nella presente comunicazione sono di natura privata e come tali sono da considerarsi riservate ed indirizzate esclusivamente ai destinatari indicati e per le finalità strettamente legate al relativo contenuto. Se avete ricevuto questo messaggio per errore, vi preghiamo di eliminarlo e di inviare una comunicazione all’indirizzo e-mail del mittente.
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you received this in error, please contact the sender and delete the material.

On 12 Nov 2018, at 18:22, Etienne Monneret<EMAIL_ADDRESS>wrote:
All sentence pairs in the memories, even if added after the training, play a role in the adaptation process.
This is not what was said just before, when no context is provided.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/ModernMT/MMT/issues/415#issuecomment-437962378, or mute the thread https://github.com/notifications/unsubscribe-auth/ABDaXPQFQoHoNdS4em40b6wdWMSnYbjQks5uua49gaJpZM4YWSit.


Why nerfstudio support viewer and viewer_legacy?

When I read the nerfstudio code, there are two different viewer:

Viewer in viewer subdirectory
ViewerLegacyState in viewer_legacy subdirectory

It seems like ViewerLegacyState is similar to Viewer and have same UI. But viewer_legacy has extra NodeJS projection under the viewer_legacy/app subdirectory.
My Question is that:

The difference between Viewer and ViewerLegacyState, their design for what?
NodeJS project under viewer_legacy/app subdirectory is for what?

With the release of version 1.0, we shifted the viewer to use viser which was redesigned from the ground up to be more modular and extendable. The original viewer provided in nerfstudio was hacked together by a group of us that had minimal background in web development 😄. We've kept the original for now as viewer_legacy for folks that aren't ready to move to the new viewer yet.

Thanks for you reply, very clear. Nice Project!


tflite::ops::builtin::BuiltinOpResolver resolver is causing crash in a webassembly application opened in Android chrome browser.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04
TensorFlow installed from (source or binary): Tensorflow lite (compiled for web assembly)
TensorFlow version (or GitHub SHA if from source): (2.5.0)

Standalone code to reproduce the issue
  void init(const char *api_key)
    {

        cout << "initilizing the init function"<< endl;
        const char *env = getenv("ENVIRONMENT");
        ENV = std::string(env);
        sdk_status = statuscode->running;

        cout << "initilizing step 2"<< endl;

        sdk_status = statuscode->success;

        auto landmark_predict_model_ = tflite::FlatBufferModel::BuildFromFile("data/face_detection_front_128x128_float32.tflite");
        if(!landmark_predict_model_){
            cout <<  "Failed to load model " << endl;
        }else{
                cout <<  "Model loaded " << endl;
        }
        cout <<  "start " << endl;
        // tflite::MutableOpResolver resolver;
        // RegisterSelectedOps(&resolver);
        tflite::ops::builtin::BuiltinOpResolver resolver;    //this is causing crash.
        // std::unique_ptr<tflite::Interpreter> landmark_interpreter_;
        // tflite::InterpreterBuilder(*landmark_predict_model_, resolver)(&landmark_interpreter_);
        // landmark_interpreter_->AllocateTensors();
        // landmark_interpreter_->SetAllowFp16PrecisionForFp32(true);
        // landmark_interpreter_->SetNumThreads(4);

        cout << "initilizing step 3"<< endl;

    }

Also, please include a link to a GraphDef or the model if possible.
model file: tflite model from here
Any other info / logs
The crash is happening only in chrome running in mobile phones (tested on Android phone, Processor: snapdragon 710 and above). It is running properly in PC chrome browser.

@Jargon4072 Could you please try to execute your code on latest stable version of TF 2.7.0 and let us know if the issue still persists? Thank you!

Hi @sushreebarsa. I will try it and let you by tomorrow. Thank you!

@Jargon4072 Could you please let us know if you have tried with TF v2.7.0 ? Please let us know the outcome .Thank you!

I am not able to build tflite for wasm. I have tried with version 2.6.1 (source : https://github.com/visualcamp/tensorflow) and it is still giving issues. I have tried bazel to build but there are two issues: 1. there is no proper instruction to build tflite for wasm, 2. if I am setting --config=wasm, it is giving an error that .bazelrc doesn't have any config for wasm. Can anyone please help me in builduing tf 2.7.0 for wasm?

Could you please try again with the latest version with the required hardware compatibility.
https://www.tensorflow.org/lite/android/lite_build


[docs] added note about shap package

Refer to https://github.com/Microsoft/LightGBM/issues/1350#issuecomment-395903942 and ping @slundberg.

Looks good to me as well. Thanks!


WebUI Editor: load ace package from unpkg instead of cloudflare

https://github.com/AlexxIT/go2rtc/releases/tag/v1.8.0


cannot open file 'atls.lib'

Hello,
I am unable to compile the examples because I get the follwing message:
LINK : fatal error LNK1104: cannot open file 'atls.lib'
I use windows 10 with visual studio 2019. I have cmake installed and onnxruntime installed for x86. When using cmake, I used the flag -DONNXRUNTIME_ROOTDIR=c:\hrl\ort_install
Could you help ?
Thanks

atls.lib belongs to Desktop development with C++ workload. Could you please ensure you visual studio has the component installed.

It worked, thanks


Make "Mute this bot" work for system bots

While system bots have a "Mute this bot" option in their user card, it doesn't actually seem to do anything. We should fix this.
If making it work is complicated, we can temporarily improve the situation by dropping the option for system bots.

CZO thread

@sahil839 Adding this to your list as a low-priority release goal.

@zulipbot claim


per each new uploaded file(for test), it got unique name(random), and…

… uploaded file is verified for its content
Signed-off-by: gal salomon<EMAIL_ADDRESS>

the main modification for tests, is unique name per object.


Adding SSL certificate chain

In German academia, SSL certificates are often created having more than one hop from a generally trusted authority to the SSL certificate itself:

Telekom CA creates a certificate for DFN CA
DNF CA creates a certificate for a local CA
The local CA signs a certificate for machine.example.com

Now, generally only the first certificate is shipped with browsers and operating systems. (e.g., see openssl s_client -connect www.bihealth.org). In order to make the site appear as valid, I know that you can make Apache send more than one certificate (in the right order, the certificate closest to the root comes last).
When I'm trying to add multiple certificates in one PEM file with flynn route add, then Flynn fails with the error message:
validation_error: Certificate invalid: tls: private key does not match public key

Please advise.

The certificates should be in a PEM formatted file in order from leaf to CA, so something like this:
Leaf (machine.example.com, signed by Intermediate 2)
Intermediate 2 (signed by Intermediate 1)
Intermediate 1 (signed by CA, in trust store)


[csv] allow csv cell with separate line

Is your feature request related to a problem? Please describe.
We have a lot of users who want to upload csv format data into Superset. But currently Superset's csv parser only accept comma separated content.
Describe the solution you'd like
Right now modern tools (like Excel etc) can parse more complicated content. According to CSV standard https://en.wikipedia.org/wiki/Comma-separated_values:
More sophisticated CSV implementations permit them, often by requiring " (double quote) characters around values that contain reserved characters (such as commas, double quotes, or less commonly, newlines).
Could we improve CSV support, which allows line break in the cell (use double quote around cell values)?

Thanks for the request!
@yousoph This seems to be helpful and relatively small effort. I think we should include this in roadmap?

It seems that Hive does not support multiline fields per https://stackoverflow.com/a/48764063. CSV files are notoriously troublesome and thus I wonder if we should:

Have a mechanism within Superset to convert them to JSON and use the JSON row format (per the JsonSerDe ) as described. here.
Add a form for uploading of JSON files directly, given if we implement (1) we would be able handle/store JSON files.

The one question/caveat is the CSV upload form is based on a FAB form and thus was wondering whether the whole import (from CSV, JSON) etc. should be modernized in React.

At the risk of going deep into a rabbit hole, I'm almost curious to understand why Hive doesn't support multiline CSV. I remember having worked with CSV importers on a JVM project a while ago, and the standard commons CSV handled even the wackiest CSVs just fine (I assume Hive uses this library for CSV import/export). So instead of fixing this downstream, perhaps we could open an issue on the Hive Jira and see if something can be done about this upstream?

Actually per this example using the Parquet format (as opposed to a text file) may resolve the problem. There are likely additional wins since the binary Parquet format should be significantly more performant from
a retrieval perspective than storing the data as a text file and parsing the CSV via the opencsc SerDe.
Note this change would serve as a perquisite for https://github.com/apache/superset/issues/14020.


t is not a function

when i first run the project in 2.3.0 the server logged t(...) is not a function, i downgraded for 2.2.3 and worked just fine. So keep an eye on that new version

Just to confirm, same here. Only solution is to downgrade to 2.2.3

Same here 😞

Just to confirm, same here. Only solution is to downgrade to 2.2.3

Did not work for me.  Running on an m1 w/ Node v14.8.2 and npm v8.3 (Also tried v14.7, v14.15 and v16.13.1).  Installed 14.x in intel architecture

Just to confirm, same here. Only solution is to downgrade to 2.2.3

Did not work for me. Running on an m1 w/ Node v14.8.2 and npm v8.3 (Also tried v14.7, v14.15 and v16.13.1). Installed node 14.x w/ intel architecture and 16 w/ apple silicon architecture

Anyone care to put what os they are running, node and npm versions they have to get this to work?
Hopefully that's enough to narrow down the issues.

I can't replicate the problem in StackBlitz. Could you explain how to replicate it step-by-step?

@fzaninotto
Happened to me too locally with Node v17.3.0.

npm install -g json-graphql-server
npm WARN deprecated<EMAIL_ADDRESS>The querystring API is considered Legacy. new code should use the URLSearchParams API instead.

added 16 packages, removed 15 packages, changed 79 packages, and audited 96 packages in 8s

2 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

json-graphql-server db.js --p 4200
db.js:

module.exports = {
    posts: [
        { id: 1, title: "Lorem Ipsum", views: 254, user_id: 123 },
        { id: 2, title: "Sic Dolor amet", views: 65, user_id: 456 },
    ],
    users: [
        { id: 123, name: "John Doe" },
        { id: 456, name: "Jane Doe" }
    ],
    comments: [
        { id: 987, post_id: 1, body: "Consectetur adipiscing elit", date: new Date('2017-07-03') },
        { id: 995, post_id: 1, body: "Nam molestie pellentesque dui", date: new Date('2017-08-17') }
    ]
}

Output:
Seems like the whole script itself with this error message at the end:

TypeError: t(...) is not a function
    at en (/usr/local/lib/node_modules/json-graphql-server/lib/json-graphql-server.node.min.js:2:1504746)
    at Object.<anonymous> (/usr/local/lib/node_modules/json-graphql-server/bin/json-graphql-server.js:26:14)
    at Module._compile (node:internal/modules/cjs/loader:1097:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47

Node.js v17.3.0

For me v.2.2.3 also works with no issues. Thank you for your work.

Reproduced, thanks

I've reverted the changes pushed in 2.3.0 in 2.3.1, which should solve the problem.