Creating PowerShell Hosts: Licensing question

Anyway, I was reading through the third party license list and taking deep breaths. I suppose that every PowerShell host must now redistribute the entire license file, right? I'm not exactly looking for a lawyer's opinion -- but it seems like this should be mentioned as a reminder in any documentation created about hosting PowerShell Core, because it's a major change from hosting Windows PowerShell.
As a side note:
Someone pointed out that there's a lot of libraries listed as being under the
MICROSOFT SOFTWARE LICENSE TERMS
MICROSOFT .NET LIBRARY

Which is, you know ... the old .NET license which is a bit confusing about redistribution.
I should point out that this section in particular is being decried online as non-free:
4.      SCOPE OF LICENSE.  The software is licensed, not sold. This agreement only gives you some rights to
use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite
this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you
must comply with any technical limitations in the software that only allow you to use it in certain ways.
You may not
•          work around any technical limitations in the software;
•          reverse engineer, decompile or disassemble the software, except and only to the extent that
applicable law expressly permits, despite this limitation;
•          publish the software for others to copy;
•          rent, lease or lend the software;
•          transfer the software or this agreement to any third party; or
• use the software for commercial software hosting services.

Hi @Jaykul - I'm trying to get some clarification for you. BTW - is this related to the Jupyter stuff you're working on?

Yes @BrucePay
I'm obviously not personally too bother about the .Net SDK license -- but someone mentioned that post online, and when I looked at the license list, it dawned on me that I really probably need to include all that text in my project too -- and it made me wonder what redistribution rights I even have.
The whole thing gets complicated. In addition to NuGet packages, currently there are modules and assemblies I have to outright copy from PowerShell's deployment package (i.e. not just the SDK from NuGet).
This whole thing (plus the monthly bugfix release) has made me a bit nervous about the maintenance. I don't suppose you guys want a PR to just add the jupyter kernel to the core? ;-)

Any word on this @BrucePay?
I'm creating a release for the Jupyter-Kernel, and I basically need to re-ship everything in the PowerShell package for the OS. The Chocolatey validator automatically failed me because I don't have a license file.
After double-checking, it turns out the same is true of PowerShell releases: there's no license file in the PowerShell release except the license_thirdparty_proprietary.txt
Y'all need to sort this out. 😕 Currently we have one license file and two (or three) third party license files -- but only one of the third party license files ships in the product (even the main license file doesn't).

https://github.com/PowerShell/PowerShell/blob/master/LICENSE.txt
https://github.com/PowerShell/PowerShell/blob/master/ThirdPartyNotices.txt
https://github.com/PowerShell/PowerShell/blob/master/license_thirdparty_proprietary.txt
https://github.com/PowerShell/PowerShell/blob/master/assets/AppImageThirdPartyNotices.txt

To make matters worse, there are also source code files with Apache License in them. Here are just a few (note these aren't just examples or tests):

/src/System.Management.Automation/engine/interpreter/ILightCallSiteBinder.cs
/src/System.Management.Automation/engine/interpreter/RuntimeVariables.cs
/test/powershell/Modules/PackageManagement/PackageManagement.Tests.ps1
/src/System.Management.Automation/engine/interpreter/PowerShellInstructions.cs
/src/System.Management.Automation/engine/interpreter/DynamicSplatInstruction.cs

cc @TravisEz13

Ping

If you don't think this license situation blocks shipping PowerShell -- at all, by anyone, including you -- I'd like to know why...

I have done an initial review of this issue with our legal team.
The two Third Party Notices can be combined.  These are notices about other licenses that apply.

https://github.com/PowerShell/PowerShell/blob/master/ThirdPartyNotices.txt
https://github.com/PowerShell/PowerShell/blob/master/license_thirdparty_proprietary.txt

The following file is the license for the PowerShell Core project/product itself and I was advised to keep it separate to keep that clear (This is a recognized best practice).

https://github.com/PowerShell/PowerShell/blob/master/LICENSE.txt

The DotNet License is the current license on the package(s) we consume.  For example, click License Info on Microsoft.CodeAnalysis.CSharp.  I'm following up directly with the team, but feel free to open an issue with the team
The Apache licence header files were copied from other Microsoft Sponsored projects with Apache Licenses.  Attribution should be added for clarity.
This Third Party Notice only applies to AppImage Packages and we believe it should remain seperate (we currently have issues generating AppImages):

https://github.com/PowerShell/PowerShell/blob/master/assets/AppImageThirdPartyNotices.txt

@Jaykul 	I removed the offending terms in PR https://github.com/PowerShell/PowerShell/pull/8415.  There are discussions that we may be able to simplify further.  Please tell us if you have any additional concerns.

Well updated is a better term that removed.  DotNet updated their license.


chore: trust mlmd due to refactor

mlmd was recently refactored to use the sidecar pattern, which now requires this charm to be trusted as it applies k8s resources.

Closing this as we'll also need to refactor kfp-metadata-writer. Related to #407 .


Refactor deploying docs

I've added a top level "Fundamentals" heading for "Deploying Clusters" as things seemed a bit buried under "How To". I've also removed a bunch of things that were duplicated from the scheduling.rst page and tried to shift the wording towards deployment rather than task scheduling.
cc @jsignell

Thanks for doing this @jacobtomlinson! I think we need a bunch of top-level redirects unfortunately. There is a whole section in docs/source/conf.py

Thanks for the review @jsignell. I've added the redirects and addressed the feedback.


Create lts-19.30 Snapshot

This PR was created automatically because a new LTS was available.
See here for more details.
For a list of changed packages, see here.

Yeah, will do!

Seems like GitHub is having some kind of issue in the caching layer, it's returning blobs bigger than expected and then failing,
Received<PHONE_NUMBER> of<PHONE_NUMBER> (78.3%), 213.3 MBs/sec
Received<PHONE_NUMBER> of<PHONE_NUMBER> (91.1%), 220.5 MBs/sec
Received<PHONE_NUMBER> of<PHONE_NUMBER> (100.0%), 225.4 MBs/sec
Error: RangeError [ERR_OUT_OF_RANGE]: The value of "length" is out of range. It must be >= 0 && <=<PHONE_NUMBER>. Received<PHONE_NUMBER>

:thinking:


Fix Windows 11 detection #1848

Description
Replace hardcoded "on Windows 10" with the output of wmic os get Caption called via PowerShell interop when running on WSL, fixing #1848
It also correctly shows Fluent as DE when running natively on Windows 11 instead of Aero.
Issues
It now shows "Microsoft Windows" instead of just "Windows" because that's what wmic returns.

Also it will be good to fix the Windows 7 logo when running neofetch via scoop.

(#1981 seems to have the relevant art - I'd recommend adding it or a variation of it in this PR)

Duplicates:
#2109 (Merged into HyFetch)
#2014
#2059
#1818


Option to disable sdformat.log

See https://github.com/RobotLocomotion/drake/issues/9087.
Drake incorporates libsdformat as part of its stack.  Drake's policy as a library is that it should not autonomously create log files, but rather just offer the spdlog API for users to set up their own logging choices in their own application.  Drake's default needs to be "Do not write files in $HOME".
As such, it would be convenient for us if libsdformat offered an option to disable writing the sdformat.log file.

In the meantime, I am using a work-around at https://github.com/RobotLocomotion/drake/pull/13850.

what mechanism would you prefer for enabling this option?

wrap it in an ifdef so it could be disabled when compiling?
read from an environment variable to determine whether to write to log file?

I think in addition to enabling/disabling internal SDFormat logging, there should additionally be a way of setting the log file destination.  I recently ran into this with Bazel, which doesn't like you to write outside of the file structure it creates.
Maybe something like:
SDFORMAT_LOG_DIRECTORY=$HOME
SDFORMAT_LOG_DISABLE=True

The first option (#ifdef) would be slightly more ergonomic for us, but really anything would work.
Another alternative would be an API we could call to change the behavior.  This gets at another fundamental question of libsbformat that parsing should always be done against a parsing context or configuration, so that using-code can pass down customizations to any given request to parse, without having process-wide globals.  We could add more argument to LoadSdfString but that gets awkward when there are too many.  A parsing object would help consolidate (and reuse) the configuration.
In the long term, the best outcome is that libsdformat posts its messages (calls a function) on some logger interface or infrastructure, so that downstream code can easily capture / prefix / redirect / threshold the messages.  That might even be better formulated as a "parsing error" interface, rather than unstructured text logging.  A parsing library really has no business just remarking plain text into a console -- if the input text is malformed, then libsdformat should be reporting those errors in a structured way (with input line and column numbers, severity, configuration of strict vs permissive parsing, etc.) so that application code can inform the user in a way consistent with the application's behavior.

The first option (#ifdef) would be slightly more ergonomic for us, but really anything would work.

I think an #ifdef would be the easiest thing to implement in the short term.

Another alternative would be an API we could call to change the behavior. This gets at another fundamental question of libsbformat that parsing should always be done against a parsing context or configuration, so that using-code can pass down customizations to any given request to parse, without having process-wide globals. We could add more argument to LoadSdfString but that gets awkward when there are too many. A parsing object would help consolidate (and reuse) the configuration.

This makes sense to me, but I don't think we'll have time to implement this or the other long-term suggestion in libsdformat10, which freezes next week.

I've proposed adding an #ifdef in #348

The first option (#ifdef) would be slightly more ergonomic for us, but really anything would work.
Another alternative would be an API we could call to change the behavior. This gets at another fundamental question of libsbformat that parsing should always be done against a parsing context or configuration, so that using-code can pass down customizations to any given request to parse, without having process-wide globals. We could add more argument to LoadSdfString but that gets awkward when there are too many. A parsing object would help consolidate (and reuse) the configuration.
In the long term, the best outcome is that libsdformat posts its messages (calls a function) on some logger interface or infrastructure, so that downstream code can easily capture / prefix / redirect / threshold the messages. That might even be better formulated as a "parsing error" interface, rather than unstructured text logging. A parsing library really has no business just remarking plain text into a console -- if the input text is malformed, then libsdformat should be reporting those errors in a structured way (with input line and column numbers, severity, configuration of strict vs permissive parsing, etc.) so that application code can inform the user in a way consistent with the application's behavior.

@jwnimmer-tri we've added the #ifdef option in #348. Should we close this issue or do you want it to pivot towards some of these other changes that you've mentioned here?

I think we can open a new issue for the other future work.  I think the gist of it would be "Remove all global variables", e.g., g_uriPathMap as well as the console config, etc.

We just hit feature freeze for libsdformat10 and are aiming for a libsdformat11 release in December or so. Paging @EricCousineau-TRI to see if we want to prioritize removing global variables for libsdformat11. If so, then we'll make an issue for it and add it to the relevant milestone.

Yes, removing globals (as a stretch) would be great. I would like the pose proposal to have priority (I favor features over software-that-still-works-but-needs-factoring when possible).
Can you make the issue?


cmd/asm: s390x instruction VREPI{H,F,G} encoding is incorrect

The M3 field isn't being written out (it is hardcoded to 0) so VREPI{H,F,G} are all encoded as VREPIB.

I assume this is for 1.9?  Seems very late for 1.8, though also not very risky, and the risk is almost entirely on PPC/IBM.

I can work around it so 1.9 is fine I think.


A patch makes twemproxy work with redis-sentinel

I’m doing a patch for twemproxy. It makes twemproxy work with redis-sentinel to auto detect redis instance failover, and change its forward address.
The design of the patch is shown below.

configure sentinels in configuration like servers.

Sentinel address can be configured one or more like servers. Twemproxy pick one, and connect.
2.  fetch redis addresses and maintain it consistency with sentinel
twemproxy will send info sentinel and subscribe requests to sentinel when it connects to sentinel.
twemproxy update servers’s addresses from info sentinel response, and fetch redis failover event from subscribe channel. So twemproxy can maintain the consistency of redis addresses with redis-sentinel.
3. sentinel reconnect
Twemproxy will pick an sentinel to reconnect When sentinel connection is done.
A different sentinel will be picked if multiple sentinels are configured. So twemproxy can switch to a good sentinel when some sentinels are done.
Twemproxy will send info sentinel and subscribe requests to sentinel when the new connection is established, just like it connect to sentinel at the first time.
4. Identify the same redis between proxy and sentinel
We configure the servername in the proxy as same as the master-name configured in sentinel. The servername is the redis identification between proxy and sentinel.
For example, configuration in proxy:
  servers:
   - <IP_ADDRESS>:6379:1 server1

configuration in sentinel:
  sentinel monitor server1 <IP_ADDRESS> 6379 2

some small feature

Twemproxy will dump a new configuration when it changes the redis address. It can let user know the status in the proxy and avoid some problem when proxy is restarted.
That's design of the patch. I’m glad to hear your advices about the patch.

@typhoon1986 I have written 40% code of the patch. I'm too busy to do the patch in the last two weeks. I plan to continue to complete it in the next one or two weeks.
I'd like to know how do you make the client keep in touch with the sentinels.

@andyqzb very happy to hear that.
well, the client first choose the first available sentinel as the config server, and keeps a connection to fetch redis cluster changes(master down and switch to slave), when this happens, update the inner distribution varibles, so new client call will map to the new server.
Hope this helps.

@andyqzb any news?

@kri5 Just remain a reconnect feature for sentinel when conn has some error. I will complete it in this week. You can find the code in my fork project https://github.com/andyqzb/twemproxy/tree/ha_with_sentinel

I'm excited about this, the prospect of having to restart twemproxy with a NodeJS or Python agent wasn't as exciting.

@mishan the code of the patch is done. I will create a pull request in this week.

@andypiper Great!Look forward to the patch!

I have created a pull request #324
Hope to hear your feedback for the patch.


Filebot not running correctly

Hyprland Version
 System/Version info
<Paste the output of the command here>

Bug or Regression?
Bug
Description
Installed hyprland on Arch. Very impressed but couldn’t get Filebot to operate correctly. Neither the AUR version or the flatpak version runs in hyprland arch. Advised filebot who responded they had “never heard of hyprland” and wished me luck in sorting it myself. Great.
How to reproduce
Try Filebot on hyprland arch and let us know
Crash reports, logs, images, videos
No response

invalid.
No version.
No logs.

dvised filebot who responded they had “never heard of hyprland” and wished me luck in sorting it myself.

it's their app. Not my problem. Every other app runs.
Never heard of filebot.

Now resolved. Discovered a solution.


Server-side functions not working anymore in v3.2.2

OrientDB Version: 3.2.2
Java Version: JDK8
OS: Debian 10
Hello everyone
Having updated from version 2.2.31 to 3.2.2
I have currently done several functions but this one no longer works on 3.2.2
For example:
var db = orient.getGraphNoTx();

var retour = {};
odbCountryCode = odbCountryCode.toUpperCase();
var Clogins = db.getVertexType("Logins_"+ odbCountryCode) || db.createVertexType("Logins_"+ odbCountryCode, "Logins");

I tried by replacing orient.getGraphNoTx() by orient.getDatabase()
Error on parsing script at position #0: Error on execution of the script\nScript: InsertNewLogin\n------^\r\n\tDB name=\"Totoum\"\norg.graalvm.polyglot.PolyglotException: TypeError: invokeMember (getDatabase) on com.orientechnologies.orient.core.command.script.OScriptOrientWrapper@4956c6ae failed due to: Unknown identifier: getDatabase\nTypeError: invokeMember (getDatabase) on com.orientechnologies.orient.core.command.script.OScriptOrientWrapper@4956c6ae failed due to: Unknown identifier: getDatabase"
I tried to put the value in orientdb-server-config.xml
<entry value="false" name="OGlobalConfiguration.SCRIPT_POLYGLOT_USE_GRAAL" />
But in the logs here is what it returns to me:
Ignored storage configuration because not supported: OGlobalConfiguration.SCRIPT_POLYGLOT_USE_GRAAL = null [OClusterBasedStorageConfiguration]
I also read that the problem could come from TinkerPop which has been removed but honestly I am lost in relation to the documentation. I have not found an alternative on the functions that are no longer present
Do you have any information to provide me on the migration from the old functions to the new ones or any other information ?
Best Regards

Same here.

@Funky89 have you find a way?

@calebeaires
To deactivate GRAAL you have to use :
<entry name="script.polyglot.useGraal" value="false" />
All functions have changed. So we have to replace the old ones with the new ones that are here
https://orientdb.org/docs/3.2.x/java/ref/
For info my old code:
var db = orient.getGraphNoTx();
var Clogins = db.getVertexType("Logins_"+ odbCountryCode) || db.createVertexType("Logins_"+ odbCountryCode, "Logins");

BECOMES :
var gdb = orient.getDatabase();
var Schema = gdb.getMetadata().getSchema ();
var Clogins = Schema.getOrCreateClass ("Logins _" + odbCountryCode, Schema.getClass ("Logins"));

Hi All,
The use of the graal runtime for functions should be fixed from 3.2.6, with more improvements in 3.2.14 please upgrade and test again.
Bye

@tglman I am encountering an exception when attempting to use the getDatabase() function in OrientDB Studio with GraalVM enabled. When I execute the script,
let db = orient.getDatabase()
The following exception I see:
{     "errors": [         {             "code": 400,             "reason": "Bad request",             "content": "Error on parsing script at position #10: Error on execution of the script\nScript: TestFunction\n---------------^\r\n\tDB name=\"TestDB\"\norg.graalvm.polyglot.PolyglotException: TypeError: invokeMember (getDatabase) on null failed due to: Message not supported.\nTypeError: invokeMember (getDatabase) on null failed due to: Message not supported."         }     ] }
However, when I disable GraalVM using the script.polyglot.useGraal = false option, then I don't get any exception.
I am using OrientDB version 3.2.14. Is it possible to use server-side functions with GraalVM, and if so, how can I resolve the error I am experiencing when using getDatabase()?
Please let me know if you need any other information.

Hi,
the reason for this error is that the method orient.getDatabase() to get the database from a function has been deprecated since a while now is enough just use the variable db that should work with both engines.
Regards

@tglman Thank you, server side script works without any issues.

Ok, so can I close this issue ?

@tglman The scripts gets executed without any issues. Whereas we are facing issue while accessing the data received the query result -
When we execute the command var data = db.command("select from #240:45"), we are not able to access the result, even the object with the given RID is exist but when we try to access the data by logging it on console via stringify it is empty object. If we just log the received record then we get the result as "com.orientechnologies.orient.core.sql.parser.OLocalResultSetLifecycleDecorator@1efe660b" on the console.
Is there any handling we need to do explicitly to access the data received after running the command?

Hi @tglman, will you please provide your inputs on above? If you have need any other details then please let me know.

Hi @praveen-mamdge ,
So the command seems to return a result set, so you could return it directly or do:
var result = db.command("select from #249:0");
var data = result.next();
result.close();
return data

Regards

Thanks @tglman.
There is one observation, now on db object the commit and rollback methods are not available? With disabling the graalVM we see any error for db.commit and db.rollback. We are getting following error.
{     "errors": [         {             "code": 400,             "reason": "Bad request",             "content": "Error on parsing script at position #1: Error on execution of the script\nScript: TestFunction\n------^\r\n\tDB name=\"MC_InteliNotionDB\"\norg.graalvm.polyglot.PolyglotException: TypeError: invokeMember (rollback) on com.orientechnologies.orient.core.command.script.OScriptDatabaseWrapper@536ebdbf failed due to: Unknown identifier: rollback\nTypeError: invokeMember (rollback) on com.orientechnologies.orient.core.command.script.OScriptDatabaseWrapper@536ebdbf failed due to: Unknown identifier: rollback"         }     ] }


Add support for expand/collapse all task

@mgsloan Thanks for the awesome work! This is one of the things I miss.
The keyboards shortcuts are really useful and powerful. Thanks for developing it 😊

@ClydeRomo Glad they are useful to you!  This is a good idea.  I've implemented it, just took ~20 minutes.

I just tried this. It seems that it only expands/collapse the currently selected tasks (similar to how h or l works). Is this by design? 🙂

It should expand / collapse all tasks in the current view.  Are you using the latest master version?  A new version of todoist-shortcuts hasn't been released yet.

Yes, I'm using the latest. It's likely I don't have the latest version then 😅
Thanks again!


NPM version tagged as latest still 2.62.2

On npm the version marked as latest is still 2.62.2 even though according to github there is already a 2.64.2 version.
I want to the use the signInAnonmymously fn, but cant.
For some reason I get No Access-Control-Allow-origin when the lib is trying to get the /user, no matter if anonymous or with magic link. This is working fine in 2.62.2.
I was not sure if maybe there is a connection between these two.
Also there is @supabase/auth-js and @supabase/gotrue-js why is that? Is there a difference?

Hey
Thanks for flagging this - can you try installing: npm install<EMAIL_ADDRESS>for now? We'll look into the latest tag.

Also there is @supabase/auth-js and @supabase/gotrue-js why is that? Is there a difference?

Supabase renamed GoTrue to Auth so as to clear up the name


Payment problem WWCode Berlin

Jodi from Open Collective sent this from Natalia:

We tried again now after more than a week and again there seems to be an error - please see the screenshot below. :-/

Hey @piamancini  is this still an issue?

waiting to hear back from user.

closing for lack of activity


GCPKmsClient with existing Credentials

Hello Team
GcpKmsClient() doesn't seem to expose withCredentials which can accept an existing Credentials (PR pull 244 suggests this is fixed)
We are trying to use tink with authenticated proxy. We are hoping to use this function getApplicationDefault(HttpTransportFactory transportFactory) which customizes the proxy as per this article https://github.com/googleapis/google-auth-library-java/blob/master/README.md#configuring-a-proxy
It would be great if you could guide me on this.
Thanks
Satish

How's about this https://github.com/google/tink/blob/master/java_src/src/main/java/com/google/crypto/tink/integration/gcpkms/GcpKmsClient.java#L111?

Please ping back if you still want to chat about this.

I have a similar question -- I am also trying to run tink within a Spring Boot server locally. I have a service account JSON downloaded locally (into src/main/j/c/main/resources/my_dev_creds.json). I'm trying to initialize a GcpKmsClient using those credentials explicitly, but am limited by the fact that register only accepts a path to credentials, not an actual GoogleCredential object.
Example:
    public KeysetHandle generateKeyset() throws Exception {
        // Register all AEAD key types with the Tink runtime.
        AeadConfig.register();

        ClassPathResource credsResource = new ClassPathResource("my_cred_in_resources_folder.json");
        System.out.println("GCP creds filepath exists: " + credsResource.exists());

        InputStream credsAsStream = credsResource.getInputStream();

        // Explicitly create credentials from stream, this works.
        GoogleCredential credential = GoogleCredential.fromStream(credsAsStream);
        GcpKmsClient kmsClient = new GcpKmsClient(kekUri).withCredentials(credential);

       // Trying to use this fails...

This creates the GcpKmsClient, but later attempts to use the client fail with the following error:
Handle creation failure: java.security.GeneralSecurityException: No KMS client does support: gcp-kms://[redacted]
java.security.GeneralSecurityException: No KMS client does support: gcp-kms://[redacted]
	at com.google.crypto.tink.KmsClients.get(KmsClients.java:60)
	at com.google.crypto.tink.aead.KmsAeadKeyManager$1.getPrimitive(KmsAeadKeyManager.java:46)
	at com.google.crypto.tink.aead.KmsAeadKeyManager$1.getPrimitive(KmsAeadKeyManager.java:42)
	at com.google.crypto.tink.KeyTypeManager.getPrimitive(KeyTypeManager.java:152)
	at com.google.crypto.tink.KeyManagerImpl.validateKeyAndGetPrimitive(KeyManagerImpl.java:138)
	at com.google.crypto.tink.KeyManagerImpl.getPrimitive(KeyManagerImpl.java:65)
	at com.google.crypto.tink.Registry.getPrimitiveInternal(Registry.java:978)
	at com.google.crypto.tink.Registry.getPrimitive(Registry.java:971)
	at com.google.crypto.tink.Registry.getPrimitive(Registry.java:1034)
	at com.google.crypto.tink.KeysetHandle.getPrimitiveWithKnownInputPrimitive(KeysetHandle.java:324)
	at com.google.crypto.tink.KeysetHandle.getPrimitive(KeysetHandle.java:345)
	at com.logchain.digitalsignature.util.Crypter.generateKeyset(Crypter.java:81)

Which, I expect, as the exposed register method Adds the given client to KmsClients here: https://github.com/google/tink/blob/master/java_src/src/main/java/com/google/crypto/tink/integration/gcpkms/GcpKmsClient.java#L169.
Any advice? I feel like I'm making this more complicated than it needs to be :D

Ah, I can simply add the client myself using the static KmsClients.add method. Resolved.


94 guardian show list of guardians in federation

Displays Peer Id and Name alongside connection status.
Fixes typo in API endpoint field name.

needs rebase after #144 ?

needs rebase after #144 ?

I don't believe so since this works on a different component. #144 was working on the header status bar and this is the lower right card with Peer status.
We should probably colorize the Peers in some way too?

It did require a rebase though, I rebased and resolved conflicts.


Teddy, Charity, and Hotline

Major cross pollination across the three bots modified in this PR. This lands Teddy & Charity, as well as a bunch of refactorings to the Hotline that stemmed from some concurrent deployments and learnings.

replaced by #214


Added a "close on disconnect" option

Added a close-on-disconnect option.  This enables/facilitates automation (for example: you can invoke a connectbot shortcut from tasker and this will ensure that the screen isn't stuck on the disconnect prompt).
Close-on-disconnect will not take effect if stay-connected is checked.

Slightly modified from peffreyking's branch.

Can this be added in the next release please


The size of tensor a (8388608) must match the size of tensor b (4096) at non-singleton dimension 0

During training of glora i am facing the error "The size of tensor a (8388608) must match the size of tensor b (4096) at non-singleton dimension 0"
I am using glors from PR https://github.com/Arnav0400/peft/blob/main/src/peft/tuners/glora.py
I am using same as I use qlora , fir I quantized model in 4 bit using bnb quantization then I make peft model using glora confic after when I train for dpo even for sft it shows the same error.
peft_config =GLoraConfig(
peft_type="GLORA",
task_type="CAUSAL_LM",
r=8,
target_modules=["q_proj", "v_proj"],
)
peft_model = get_peft_model(model, peft_config)

@Arnav0400 please help me to solve this issue

Same problem
  File "/home/guest/peft/src/peft/tuners/glora/layer.py", line 102, in forward
    result = F.linear(x, self.weight + self.weight*A + B, bias=E+torch.matmul(self.weight, C).squeeze())
RuntimeError: The size of tensor a (4194304) must match the size of tensor b (4096) at non-singleton dimension 0

@Arnav0400 can you help us ?

Alsow i create PR in main PEFT repo with GLoLa
https://github.com/huggingface/peft/pull/1835

For this to work with bitsandbytes, you need to implement a different class of layers specific for quantized weights, check for instance this in PEFT: https://github.com/huggingface/peft/blob/main/src/peft/tuners/lora/bnb.py
However, be aware that the glora fork you use is very far behind PEFT, so to port this functionality, there is quite a bit of extra work required.


Add Relation Hydrators for all Objects

Currently only a small number of objects have hydrators.
Methods are in all objects, but they are empty methods

this will be handled with the builder and the .with*() methods


VScode git view dies when editing a large TS project e.g Typescript

VSCode Version: Version 1.18.0 (1.18.0)
OS Version: OSX Sierra

Steps to Reproduce:

Open Typescript project. Build it using 'gulp local'
Edit some files in tests/cases/compiler
Run 'gulp runtests'
Run 'gulp baseline-accept'

The git view seems like its dead. The buttons show click animation but no actions are taken. The terminal works with 'git status and git add' but built in git view is unresponsive.
Typescript has a large number of files in tests/baselines/** folder.
It seems like the git view does a lot more than one would expect. E.g git status works super fast but git view shows the loading line for a long time. Git push, pull, commit all work fast from command line but take forever in git view or git view dies without any error to user.
Explorer window cannot show diff between files as well

How fast does git status run? How many changes (modified, untracked, etc) are there in total?

Git status finishes in less than a second. Total of 7 modified + untracked files.
Works well for 5 mins. After a new commit + push through UI, or clicking the sync button on bottom bar seems to crash something. I don't see anything standing out in git log too.

How about in the devtools console?

[Extension Host] Error: EMFILE: too many open files, open '/Users/nojvek/git/TypeScript/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/diskFile1.d.ts'

It seems ripgrep might be opening too many files somehow causing git to have issues

console.ts:123 [IPC Library: Search] Error: spawn /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules/vscode-ripgrep/bin/rg EAGAIN
    at exports._errnoException (util.js:1050:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
    at onErrorNT (internal/child_process.js:367:16)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

@joaomoreno How does one re-open the issue?
This problem is very evident with Typescript repo. Just build + do a simple ctrl+shift+f search and git will stop working. Pressing refresh button won't work anymore too.

This is no longer happening for me. Whatever magic you magic elves have been doing is working. Thank you.


Breaks new beam layout.

AKA "The Spaceships"

Could you look at updating your extention.
Thanks :)

hahaha


Parser fixes w/ respect to #873

[x] Is it mergeable?
[x] Did it pass the tests?
[ ] If it introduces new functionality in scripts/ is it tested?
Check for code coverage with make clean diff-cover
[ ] Is it well formatted? Look at make pep8, make diff_pylint_report,
make cppcheck, and make doc output. Use make format and manual
fixing as needed.
[ ] Did it change the command-line interface? Only additions are allowed
without a major version increment. Changing file formats also requires a
major version number increment.
[ ] Is it documented in the ChangeLog?
http://en.wikipedia.org/wiki/Changelog#Format
[ ] Was a spellchecker run on the source code and documentation after
changes were made?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Please don't merge yet; will also add a test.

Added new test data and a corresponding check.  Ready to merge; please check.

Jenkins, ok to test


mint.get_transactions_json()

Got everything (that I am using so far) working with one exception.  I am trying to limit how far this method reaches back in time.  Here is my code:
first_of_month = datetime.date.today()         first_of_month = datetime.datetime.strptime(str(first_of_month.year) + "-" + str(first_of_month.month) + "-1","%Y-%m-%d")         print "getting transactions from " + str(first_of_month) + "..."         transactions = mint.get_transactions_json(include_investment=False, skip_duplicates=False,                                                   start_date=first_of_month)
I checked the date and it looks good (1/10/16) but it is pulling transactions from years ago.  Am I doing something wrong?

Never-mind - I just RTFM and see that it needs to be a string.  Will change and try again when I get a chance...

:)


Activity Create/Edit/File Upload page: converted to view models, both forms now validate separately

For review:
This converts the Activity Create/Edit/File Upload page to use ViewModels: one parent, and one child each for Create/Edit form on one hand and File Upload form on the other.
This allows for separate validation of the two forms, which differ in their Required fields as noted in issue #48.
It fixes #48.
Image upload to Azure works if you alter AzureStorage in config.json appropriately.

Thanks for the submission.
Unfortunately I am in the middle of a big refactoring of this whole area of the code. I don't think that the changes you have made here will fit in with the direction we are planning to take this.

Okay, no problem.  I did ask about the approach on issue #48, but never mind.
Which areas is your refactoring encompassing (just so I can try to avoid this happening again)?


non-existent docker image referenced in manifest

Hi!
I tried to install the applicationset CRD into my cluster and found that the docker images for controller deployment doesn't exist.
manifests
docker pull argoprojlabs/
argocd-applicationset:latest
Error response from daemon: pull access denied for argoprojlabs/argocd-applicationset, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

can you point me to the correct image if exists? makefile also points to this image.

@jgwest, why not publish a "latest" image on every commit to master?

@rumstead Working on it :smile:.


complete compatibility regression testing

Description

split compCheck.sh as two script so we can build and test separately
redirect services' logs to a file for easy of debug
complete and enable test during rolling upgrade/rollback
fix some minor bugs.

Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes
If you have tagged this as either backward-incompat or release-notes,
you MUST add text here that you would like to see appear in release notes of the
next release.
If you have a series of commits adding or enabling a feature, then
add this section only in final commit that marks the feature completed.
Refer to earlier release notes to see examples of text
Documentation
If you have introduced a new feature or configuration, please add it to the documentation as well.
See https://docs.pinot.apache.org/developers/developers-and-contributors/update-document

Codecov Report

Merging #6650 (0064dc4) into master (1beaab5) will decrease coverage by 0.62%.
The diff coverage is 62.64%.

@@            Coverage Diff             @@
##           master    #6650      +/-   ##
==========================================
- Coverage   66.44%   65.81%   -0.63%
==========================================
  Files        1075     1360     +285
  Lines       54773    66533   +11760
  Branches     8168     9697    +1529
==========================================
+ Hits        36396    43792    +7396
- Misses      15700    19620    +3920
- Partials     2677     3121     +444

Flag
Coverage Δ

unittests
65.81% <62.64%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...e/pinot/broker/api/resources/PinotBrokerDebug.java
0.00% <0.00%> (-79.32%)
:arrow_down:

...pinot/broker/api/resources/PinotClientRequest.java
0.00% <0.00%> (-27.28%)
:arrow_down:

...ot/broker/broker/AllowAllAccessControlFactory.java
71.42% <ø> (-28.58%)
:arrow_down:

.../helix/BrokerUserDefinedMessageHandlerFactory.java
33.96% <0.00%> (-32.71%)
:arrow_down:

...ker/routing/instanceselector/InstanceSelector.java
100.00% <ø> (ø)

...ava/org/apache/pinot/client/AbstractResultSet.java
66.66% <ø> (+9.52%)
:arrow_up:

...n/java/org/apache/pinot/client/BrokerResponse.java
100.00% <ø> (ø)

.../main/java/org/apache/pinot/client/Connection.java
35.55% <ø> (-13.29%)
:arrow_down:

...org/apache/pinot/client/DynamicBrokerSelector.java
82.85% <ø> (+10.12%)
:arrow_up:

...n/java/org/apache/pinot/client/ExecutionStats.java
68.88% <ø> (ø)

... and 1241 more

Continue to review full report at Codecov.

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


Sample app does not compile

Hi,
the sample app does not compile because of those issues

SwiftMQTT.framework is not linked
MQTTSessionDelegate not property implemented.

Is this project dead btw? I see a lot of open PR without any activity from the maintainer ..

Address in #32 and latest release


Connection from revad to nextcloud fails

Log entries from revad:
24 14:24:56.133 INF ../../reva/pkg/auth/manager/nextcloud/nextcloud.go:163 > Authenticate alice {"clientID":"alice","clientSecret":"alice123"} pid=7 pkg=rgrpc

2021-11-24 14:24:56.133 INF ../../reva/pkg/auth/manager/nextcloud/nextcloud.go:118 > am.do ~alice/api/auth/Authenticate {"clientID":"alice","clientSecret":"alice123"} pid=7 pkg=rgrpc

2021-11-24 14:24:56.134 WRN ../../reva/internal/grpc/services/authprovider/authprovider.go:158 > error authenticating user error="authsvc: error in Authenticate: Post \"~alice/api/auth/Authenticate\": unsupported protocol scheme \"\"" pid=7 pkg=rgrpc

It looks like the am.endPoint is an empty string.
This is the configuration:
[grpc.services.authprovider]
auth_manager = "nextcloud"

[grpc.services.authprovider.drivers.nextcloud]
endpoint = "https://alice:alice123@sciencemesh-nextcloud_nc_1/apps/sciencemesh/"
mock_http = false

I'll try to reproduce!

Found it!
The key in the config should be:
[grpc.services.authprovider.auth_managers.nextcloud]
instead of
[grpc.services.authprovider.drivers.nextcloud]

Ah :)
I just found it as well :)
OK, will fix :)

Fixed in reva 'sciencemesh' branch and in ocm-test-suite 'revanc' branch.
See #53 for instructions on how to update to the fixed code


How to map devices in device tree to pxt-jacdac packages?

It's unclear how devices in the device tree map to service clients in pxt-jacdac. This is problematic if you are using mkc and visual studio code to write programs for makecode + jacdac.

Add to this bug

you can do mkc add jacdac-joystick already
can we have more details about this?

Right, that's fine if you know joystick maps to "jacdac-joystick" in pxt-jacdac. The issue is, for someone who isn't us and is using mkc + visual studio, how do they work out what packages to specify in the mkc add command

It would be cool for the mkc command to auto detect modules, but i understand there are dragons with usb via node...

sample output?
mkc jdls
-> rotary -> jacdac-rotary
-> button -> jacdac-button
-> joystick -> jacdac-joystick
Auto install? [y/n]

we should extend search to also return jacdac sub-repoes. the cloud search does not support mono-repoes

@pelikhan - does this need to be documented somewhere?

it should go here https://microsoft.github.io/jacdac-docs/clients/makecode/code/


Support incremental updates

Running this script can take several hours against a large notes database.
Would be neat if it could run against just the notes that have been modified since it last ran. Could pull the max updated date and then keep on looping until it finds one modified before then.
Problem is I don't actually know what order it iterates over the notes in.

It looks like the iteration order is most-recently-modified-first - I tried editing a note a bit further back in my notes app and it was the first one output by apple-notes-to-sqlite --dump.

In terms of the UI: I'm tempted to say that the default behaviour is for it to run until it sees a note that it already knows about AND that has matching update/created dates, and then stop.
You can do a full import again ignoring that logic with apple-notes-to-sqlite notes.db --full.


Unable to use Ollama models - Adding chat/completions to URL

I have my Ollama endpoint on another machine and have a domain mapped to the endpoint. When I try to use it I get an error and logs seems to be saying it is not found. The model is installed, but it looks like Source is adding chat/completions to the URL. Is there any way to change this?

It happens the same to me. Ollama runs but somehow srcbook cannot get the models. I have srcbook running through WSL on windows.


Component doesn't work with nested subdomains

What happened?
If I set the targetDomain to a nested subdomain (e.g. foo.bar.baz.com), and if my hosted zone is the top level domain (baz.com in this example) then I get an error like this:
error: Error: invocation of aws:route53/getZone:getZone returned an error: invoking aws:route53/getZone:getZone: 1 error occurred:
	* no matching Route53Zone found

Steps to reproduce
Set the targetDomain to a nested subdomain, e.g. foo.bar.baz.com and run pulumi up.
You will see the above error.
From a look at the code, it appears the getDomainAndSubdomain function assumes only the first domain "part" is the subdomain, so in the case of this example it will return:
{
  subdomain: "foo",
  parentDomain: "bar.baz.com."
}

The component then tries to lookup the hosted zone by the parentDomain, but typically this won't be the hosted zone (unless the subdomain has its own hosted zone), so you see the error above.
Expected Behavior
Typically, I would expect that if I specify foo.bar.baz.com for the targetDomain, then the subdomain should be foo.bar and the hosted zone should be baz.com.
I note that AWS does support hosted zones for subdomains. So I think it's impossible to infer the hosted zone in the general case. However, that may not be a case this component needs to support, as I think the use cases are typically only relevant to enterprises which require different IAM roles across different subdomains? (I could be mistaken about this, however.)
Actual Behavior
The error mentioned above.
Output of pulumi about
This isn't relevant to the error but I'll edit the issue with these details if requested.
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Thanks for writing this up @jbrunton. We'll put this on the backlog for future planning.
I've not followed the implementation through fully, but I think the simplest fix here would be to add an optional zone input property which would be used instead of the automatically calculated "parent".

I think the simplest fix here would be to add an optional zone input property which would be used instead of the automatically calculated "parent".

Thanks! I agree with the suggestion here. (It might be necessary to pass the record name as an optional property too.)


Z-index problems with nav

added z-index to structure ul so that it does not overlap content ul in the nav.

I would also port this to 2.6.x.

@beaubbe Can you please resubmit this against the 2.6.x branch?

@jensscherbl I think this fix should go in both branches. What's the prefered way for this ? Submitting against 2.6.x ?

I think this fix should go in both branches.

Yes, sure.

What's the prefered way for this ? Submitting against 2.6.x ?

Yes. Patches should be submitted against 2.6.x. 2.6.x will then be merged with integration after release to make sure that integration receives all patches as well.

Ok perfect. Since I am the one who told @beaubbe to push against integration, I will open a new PR.

Resubmitted against 2.6.x in #2402. Closing.


deploy zbin compiled by zksolc-bin without hardhat plugin

Hi Team，
I'm trying to deploy my smart contract on zksync era, after compile solidity smart contract with zksolc,
    zksolc-macosx-amd64-v1.4.0 -o ./build --overwrite smartcontract.sol --bin

the output is a .zbin file.
My question is , how can I deploy the .zbin file, just as deploy bytecode with create2 as the normal EVM deploy ?
        await wallet.sendTransaction(
            {
                to : ethers.constants.AddressZero,
                data : compiledContract.bytecode,
                gasLimit : 5000000
            }
       )

Since I am not familiar with hardhat，and it's a heavy burden for me to learn it from start, so the below link is not a good guide for me.
https://docs.zksync.io/build/tooling/hardhat/hardhat-zksync-deploy.html.

@hedgar2017 Ser, could you please help check?

@MexicanAce @githubdoramon not a compiler issue. Could you transfer it to the proper place?

I suggest you to read the differences with Ethereum when it comes to smart contract deployments. If you have other questions, please create a new thread in our GitHub Discussions and we'll try to help


Apple M1 install with homebrew

Hey guys! Nice work there!
Just to inform that i had to set these environments on a Mac M1 install:
export CFLAGS="-std=c99 -I<EMAIL_ADDRESS>export LDFLAGS="-lcrypto -L<EMAIL_ADDRESS>export CPPFLAGS="-I<EMAIL_ADDRESS>I'm using homebrew and asdf.
Maybe you could shine more about it on docs.
Thanks!

It also works for Mac Intel Core i5


Bug BP import_topSNPs

import_topSNPs doesn't seem to like if you change the positional column name from BP even if you change the input too:
Nalls_top_SNPs
setnames(Nalls_top_SNPs,"BP","SNP_pos")

top_SNPs <- import_topSNPs(
  # topSS = "~/Desktop/Fine_Mapping/Data/GWAS/Nalls23andMe_2019/Nalls2019_TableS2.xlsx",
  topSS = Nalls_top_SNPs,
  chrom_col = "CHR",
  position_col = "SNP_pos",
  snp_col="SNP",
  pval_col="P, all studies",
  effect_col="Beta, all studies",
  gene_col="Nearest Gene",
  locus_col = "Nearest Gene",
  grouping_vars = c("Locus"),
  remove_variants = "rs34637584")

I think this is down to the munge functionality, where you over ride the position_col variable's value (line 73)

I've rewritten much of this function in echodata (used by the echoverse branch) so it better uses MungeSumstats's colname standardisation function, in a way that also allows users to manually specify colnames without the two standardization strategies interfering with each other.


LDAP Result Code 20 "Attribute Or Value Exists": modify/add: cn: value #0 already exists

Hello,
I was try to create user and primary group and get LDAP Result Code 20 "Attribute Or Value Exists": modify/add: cn: value #0 already exists error. Is it my fault or bug?
Sample of tf-file:
resource "ldap_object" "account_t_user" {
  dn = "uid=t.user,ou=accounts,dc=domain,dc=lan"
  object_classes = [
    "top",
    "posixAccount",
    "shadowAccount",
    "ldapPublicKey",
    "inetOrgPerson",
    "organizationalPerson",
    "person",
    "hostObject"
  ]
  attributes = [
    { sn = "User" },
    { givenName = "Test" },
    { cn = "Test User" },
    { mail = "t.user@localhost" },
    { uidNumber = "1025" },
    { gidNumber = "1025" },
    { homeDirectory = "/home/t.user" },
    { loginShell = "/bin/bash" },
    { host = "somehost" },
  ]
}

resource "ldap_object" "group_t_user" {
  dn = "cn=t.user,ou=accounts,dc=domain,dc=lan"
  object_classes = [
    "top",
    "posixGroup"
  ]
  attributes = [
    { gidNumber = "1025" },
    { cn = "t.user" }
  ]
}

I think you don't need to add the cn attribute as it is included in the dn. At least removing it after the creation worked.

@dploeger thank you for your answer. It seems you absolutely right. Removing cn from attributes eliminate the issue:
resource "ldap_object" "group_t_user" {
  dn = "cn=t.user,ou=accounts,dc=domain,dc=lan"
  object_classes = [
    "top",
    "posixGroup"
  ]
  attributes = [
    { gidNumber = "1025" },
  ]
}


Update conversation SDK to v4.0.2

Updates conversation SDK to v4.0.2
Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

[x] I acknowledge that all my contributions will be made under the project's license.

In scope of migration to v4.0.2 we also should drop TwilioExtensions.kt, instead we should use extensions from the SDK taking into account that they throw TwilioException, not ConversationException

In scope of migration to v4.0.2 we also should drop TwilioExtensions.kt, instead we should use extensions from the SDK taking into account that they throw TwilioException, not ConversationException

Just a note - There are a few extensions which are not yet added in the SDK.

lgfm, but wait until we recover SI.


exclude function names from obfuscation

Hello,
I know that there's a way to exclude function names from obfuscation since it works fine in https://obfuscator.io/ after unchecking the String array checkbox. But somehow I couldn't find the exact Options to pass to the JavaScriptObfuscator
I tried to play with reservedNames and reservedStrings but it doesn't exclude function names from obfuscation.
Any ideas ? Thnx.

Hi, you can exclude obfuscationnof all global identifiers with renameGlobals: false option. Or use reservedNames option

@sanex3339 since i'm using webpack, nothing is considered as a global identifier therefore renameGlobals: false doesn't work in this case.
Here's my webpack config :
let webpack = require('webpack');
let path = require('path');
const JavaScriptObfuscator = require('webpack-obfuscator');

module.exports = {
    entry: {
        'admin': './js/admin.js',
    },
    output: {
        path: path.resolve(__dirname, './dist'),
        filename: '[name].js'
    },
    optimization: {
        minimize: false,
      },
    plugins: [
        new JavaScriptObfuscator({
            renameGlobals: false,
        }
        )
    ]
};

Why do you want to ignore obfuscation of function names?

I'm calling functions by their name in other files and i needed to obfuscate few files only in my project, therefore i need to ignore obfuscation of function names.
Solved without webpack
var JavaScriptObfuscator = require('javascript-obfuscator');
const fs = require('fs')

const src = './js/'
const dist = './dist/'
const filesname = [
    'admin.js',
    'client.js',
]
const config = {
    compact: true,
    controlFlowFlattening: true,
    controlFlowFlatteningThreshold: 1,
    numbersToExpressions: true,
    simplify: true,
    shuffleStringArray: true,
    splitStrings: true,
    stringArrayThreshold: 1,
    renameGlobals: false
};

filesname.forEach(filename => {
    let file_content = fs.readFileSync(src+filename, 'utf8');
    let obfuscationResult = JavaScriptObfuscator.obfuscate(file_content,config);
    fs.writeFile(dist+filename, obfuscationResult.getObfuscatedCode(),function (err) {
        if (err) throw err;
        console.log('Obfuscated : ' + src+filename + ' => ' + dist+filename);
      });
});


Duplicate "Running job" logs?

Nice library! I'm not sure if this is intended, but I'm seeing duplicate log messages displayed when running a job:

One has Running job: with colon and one Running job without a colon. It is a bit deceiving to see duplicate logs.

In Short - No :) so thanks for reporting.
Which version of the library are you running?

I believe the latest bits: 2.0.3

Thanks!


Only / path works. How to get HTTPS without Ingress, i.e. I want to keep my ports

I've followed all the instructions here and only the / path works, anything else like /foo only the index works, any sub-path strips the /foo part. Like the most basic functionality of ingress doesn't work. And anyway I just want HTTPS with AKS, but this is the only guide for HTTPS I could find. How to get HTTPS without Ingress

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

ID: ada58160-dc50-b977-d3bc-65f92406e16d
Version Independent ID: 5c596e04-fddb-effe-3b72-575f4df42d4e
Content: Create an HTTPS ingress with Azure Kubernetes Service (AKS) cluster
Content Source: articles/aks/ingress-tls.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

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

@novaterata I am not seeing anything related to /foo in this doc.
Can you elaborate more on your question?
As per using HTTPs with AKS, the services you deploy are created using a Cluster IP. These IPs are not accessible from the internet. In order to access the services you need to create a ingress route that will direct traffic from the outside to the cluster. Hence, if you want to use HTTPs you need to use an ingress controller to route the HTTPS traffic to the services.

/foo means any path other than /

@novaterata still not getting where in the doc you are seeing the issue. Which section? What error?

@MicahMcKittrick-MSFT I'm sorry, the error is not in the docs per se, it's with nginx-ingress not working when following this guide. Only the / route works for me, and since the only guide for HTTPS and AKS involves nginx-ingress, I was hoping for an alternative guide using an ingress or load-balancer or proxy whatever that works

I'll just close this since it's not an issue with the documentation. I'm just trying to get HTTPS working and am frustrated by my options

@novaterata I am happy to help you get it working. Just want to make sure I am understanding the issue correctly so I can provide you with useful and relevant options :)
In my experience, I have ran though this specific doc and I have been able to get HTTPS working. That being said, I have used the ingress controller to route the HTTPS traffic to the node.
If I am understanding you correctly, you are basically looking to have a AKS cluster running your services and be able to directly reach them via HTTPS without going through the process of setting up an additional ingress controller. Rather you would just prefer to use the say load balancer IP that is created when you create you cluster to begin with.
I am not sure if that is possible or not. @iainfoulds would you be able to comment further on this scenario?

@novaterata  For HTTPS with ingress, it's either this approach to use cert-manager with Let's Encrypt, or generate your own certs and create a Kubernetes secret - https://docs.microsoft.com/en-us/azure/aks/ingress-own-tls
I've tested all these ingress docs in the past few days and can validate they work, so I'm not sure why you're having issues with the different routes unless there's a mismatch on the app naming. Do you encounter the same problems when trying to provide your own TLS certs? That's where @MicahMcKittrick-MSFT can help troubleshoot what's causing that.

Honestly, I just need both my API and admin services accessible via HTTPS, and I just couldn't get a secondary path to work with ningx-ingress, as I've said it only works for the index of the secondary route. Ideally I would be able to keep my topology the same and use multiple ports. I just don't see why this is such a big deal vs path routing. Is there some HTTPS standard that frowns on custom ports?

@iainfoulds I haven't tried with my own certs because I don't have that information yet from whoever has it, I'm just trying to get any HTTPS to work first, then i'll switch to that. My main problem  with routing, either that secondary routes don't work or why I have to do routing in the first place and can't just use my ports.

For secondary routes am I supposed to use different annotations? the nginx-ingress documentation for their annotations "beg the question" they don't explain what they do unless you already know what they do, e.g. rewrite-target is only ever shown with / as a value, why? why would I ever use something else. Is that the problem?

@MicahMcKittrick-MSFT I just wanted to clarify, that I do get the 2 demo apps running on 2 different routes as described in this document, but since the demo apps are single pages they don't demonstrate routing 2 whole service topologies to 2 routes, so what I'm seeing with my own API and Admin services requires something more complex than a single page.

@MicahMcKittrick-MSFT Ok, so I tried again, and the issue is more specific, the secondary routes do work if manually accessed, but links are not updated, so it looks like my Dropwizard services might need to be configured differently to use relative paths or something. I'm closing this issue again, thanks everyone!

@novaterata sounds good. Thanks for the collaboration :) feel free to come back to this issue if you have anything I can assist with.


Add cperl faces

I kept the bold for arrays and bold/italic for hashes, but removed the jarring backgrounds.
Old:

New:

Good catch, thanks!


Switch to generated kube json, upgrade to version 0.6.1

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/338/
Test PASSed.


params from napari is not linked to the code

be careful that we need to use import lsfm_fuse instead of import FUSE when calling this package from napari

change that accordingly, and also:
link all parameters from napari to the code
change a few argument names to be consistent with napari;
add one more save_separate_result for DeStripe-FUSE


add get_config()

See details in the parent issue napalm-automation/napalm-base#65

Closing via https://github.com/napalm-automation/napalm-fortios/pull/11


Update CONTRIBUTING.md

Update CONTRIBUTING.md's information on how to run tests for android
in light of the new android test runner.
BugzId: 47815
reviewer @mikerhodes
reviewer @tomblench

+1 once these latest issues addressed

+1


train.py and predict.py have different result help please

sorry for my english skill
we have problem with predict.py. We train with overlapped_speakers and train is over epoch 500. Truth and Decoded are
same.
But predict result is weird. For example Truth and Decoded are bin blue at f nine soon. But predict.py result is bbbfffffaaaaaa.
Help please :(

sorry for my english skill
we have problem with predict.py. We train with overlapped_speakers and train is over epoch 500. Truth and Decoded are
same.
But predict result is weird. For example Truth and Decoded are bin blue at f nine soon. But predict.py result is bbbfffffaaaaaa.
Help please :(

hi i need help in running this code. i have installed all the dependencies but still it is giving errors. are you successful in running this code?


witness UTXO produces no terminals nor bundles

Trying to do a witness UTXO transfer using our rgb-sandbox I hit what looks like a consignment issue.
When trying to transfer using witness UTXO every step completes and no error is returned, but when I check the balance of the involved peers, it's not what I expect.
Some more details:

starting balances are 2000 for the sender and 0 for the recipient
the invoice requests payment of 100 assets to an address (instead of a blinded UTXO)
the psbt is created with 2 outputs: 1 for the sender's change + 1 for the recipient
the transfer succeeds and the resulting consignment passes validation
after the tx is mined both peers successfully accept the consignment
final balances for sender/recipient are 0 and 0, instead of 1900 and 100 as expected

When using a blinded UTXO for the transfer, everything works as expected and the final balances match the expected ones.
The difference seems to lie in the consignment contents. Specifically, the terminals and bundles sections are empty in the witness UTXO case, which explains why the consignment gets successfully validated and accepted. Once the tx is mined balances will of course be zero, because the issuance UTXO has been spent and no new allocations have been created.
Here's an excerpt of the consignment (inspect) from the failing case:
terminals: Confined(
    {},
),
bundles: Confined(
    [],
),

Here's the corresponding excerpt from a success case:
terminals: Confined(
    {
        Terminal {
            bundle_id: BundleId(
                Array<32>(a354a76e7752e3c6dc500ac29b73d3f0efe36f886e244e0490f4ed6f5cb9fbf1),
            ),
            seal: ConcealedUtxo(
                SecretSeal(
                    Array<32>(87e58953d9363c7bebfd6bdb41b8426e54aec2203bd14aebbfa48592a2923f96),
                ),
            ),
        },
    },
),
bundles: Confined(
    [
        AnchoredBundle {
            anchor: Anchor {
                txid: Txid(
                    "6fe84173a0816c92299107ecfc45689cac3d793361662870f0e9918832bbd785",
                ),
                mpc_proof: MerkleProof {
                    pos: 9,
                    path: Confined(
                        [
                            MerkleNode(
                                Array<32>(8c304cbf86b71be497656e5f2a2f4dbb2293899a902b82ea314101995bf1eea4),
                            ),
                            MerkleNode(
                                Array<32>(e7898716bd7cba977a6b71be11146589820018ea2342c81a0e77671f5434ff41),
                            ),
                            MerkleNode(
                                Array<32>(3e501e52b4da17675008aa1d96b9e3eb110b0b2db81c940b935f38176fbdb8ae),
                            ),
                            MerkleNode(
                                Array<32>(9fdef351b7125f355e7aa29ee4e999efad973878a8ae3d6f6c9e4db70f5706d7),
                            ),
                        ],
                    ),
                },
                dbc_proof: OpretFirst,
            },
            bundle: TransitionBundle(
                Confined(
                    {
                        OpId(
                            Array<32>(0d7e29b7bfbd96600c6f19e6220c700c0cea12f0a6afb432f51ba952b7a03522),
                        ): BundleItem {
                            inputs: Confined(
                                {
                                    0,
                                },
                            ),
                            transition: Some(
                                Transition {
                                    ffv: Ffv(
                                        0,
                                    ),
                                    contract_id: ContractId(
                                        Array<32>(290e83b8b2003d83b182b2596b4f8192e26e6881120b13c776ee5d22fd5759dd),
                                    ),
                                    transition_type: 2000,
                                    metadata: Confined(
                                        [],
                                    ),
                                    globals: GlobalState(
                                        Confined(
                                            {},
                                        ),
                                    ),
                                    inputs: Inputs(
                                        Confined(
                                            {
                                                Input {
                                                    prev_out: Opout {
                                                        op: OpId(
                                                            Array<32>(290e83b8b2003d83b182b2596b4f8192e26e6881120b13c776ee5d22fd5759dd),
                                                        ),
                                                        ty: 2000,
                                                        no: 0,
                                                    },
                                                    reserved: ReservedByte(
                                                        0,
                                                    ),
                                                },
                                            },
                                        ),
                                    ),
                                    assignments: Assignments(
                                        Confined(
                                            {
                                                2000: Fungible(
                                                    Confined(
                                                        [
                                                            Revealed {
                                                                seal: BlindSeal {
                                                                    method: OpretFirst,
                                                                    txid: WitnessTx,
                                                                    vout: Vout(
                                                                        0,
                                                                    ),
                                                                    blinding:<PHONE_NUMBER>4928001241,
                                                                },
                                                                state: RevealedValue {
                                                                    value: Bits64(
                                                                        1900,
                                                                    ),
                                                                    blinding: BlindingFactor(
                                                                        Array<32>(976e76cd030ace95f642c067b1a6bb4673a6e52019e7914466085f45ced52ae5),
                                                                    ),
                                                                },
                                                            },
                                                            ConfidentialSeal {
                                                                seal: SecretSeal(
                                                                    Array<32>(87e58953d9363c7bebfd6bdb41b8426e54aec2203bd14aebbfa48592a2923f96),
                                                                ),
                                                                state: RevealedValue {
                                                                    value: Bits64(
                                                                        100,
                                                                    ),
                                                                    blinding: BlindingFactor(
                                                                        Array<32>(646ab9cf46c7c1536786bff5376bb3d5948fd9abffd706c53c5f5cef05bcc3ce),
                                                                    ),
                                                                },
                                                            },
                                                        ],
                                                    ),
                                                ),
                                            },
                                        ),
                                    ),
                                    valencies: Valencies(
                                        Confined(
                                            {},
                                        ),
                                    ),
                                },
                            ),
                        },
                    },
                ),
            ),
        },
    ],
),

@dr-orlovsky you can use this branch of the rgb-sandbox to reproduce my fidings

Can't replicate: when I am using the link for the sandbox everything seems to run correctly and at the end I get
sender balance: 0
receiver balance: 1742

Can you pls provide me with a stock.dat - and the latest PSBT file before it was finalized?

Can't replicate: when I am using the link for the sandbox everything seems to run correctly and at the end I get
sender balance: 0
receiver balance: 1742

Can you pls provide me with a stock.dat - and the latest PSBT file before it was finalized?

Strange result, as 2000 assets are issued and 100 transferred, so the expected final balances are:

sender: 1900
receiver: 100
and the script checks them, reporting an error as soon as a mismatch is found.

Did you modify the sandbox code in any way or were you running it exactly as in commit 4147e65?
This is an example of what I get as last messages (and what I would also expect in your case):
 > final balances
outpoints: 8e2f3db0bb3d748cab7ef9d8ac26de40df8999d8b2ad43e4dfe3339e241b204f:2
wallet issuer allocations:
    amount=2000  utxo=7237edb79b641b51107d19bf84a61d8c66093d9487a97de1331dba2a69cf4220:0

ERROR: balance (0) differs from expected (1900)

where 8e2f3db0bb3d748cab7ef9d8ac26de40df8999d8b2ad43e4dfe3339e241b204f:2 is the current wallet unspent and 7237edb79b641b51107d19bf84a61d8c66093d9487a97de1331dba2a69cf4220:0 is the issuance UTXO.
I have re-run the sandbox from a clean clone, to make sure I had no local differences from what you downloaded and it didn't work anymore. The problem seems due to changes in rgb-contracts and its dependencies.
I think the breaking change is in rgb-wallet commit e6dbafe (iface: refactor VelocityClass). By modifying the wallet descriptor to use change index 0 (instead of the previous 1) the sandbox is now working again as expected.
I have pushed an update to the same rgb-sandbox branch (commit 1cf57de).
Note: I also added a check for the electrs port being already in use (it now quits with an error), to help prevent issues like the ones you were describing in yesterday's call.
Please try using the updated sandbox and let me know your findings. I expect it to give you the same error I get.

Did you modify the sandbox code in any way or were you running it exactly as in commit 4147e65?

I haven't modified it. But I just cloned your fork, so now I see that it points to your master which is 095800b8807f136b57fd2ff4e333f82d1a4243e9. Will check with that specific commit!

Now it "works" (i.e. I get error of 0 balance you described).
Can you pls let me know how I can extract PSBT and stock.dat?

Can you pls let me know how I can extract PSBT and stock.dat?

You can find files from the last run inside the data0/1/2 directories (respectively: issuer, recipient 1, recipient 2).
As examples, the stock file for the issuer can thus be found in data0/regtest/stock.dat and the psbt for the 1st transfer in data0/tx_1.psbt.

The sandbox has been updated to use the fix in branch fix/71.
The issue seems to still be there.
You can fetch the new commit and should be able to reproduce it.
Note: the rgb-schemata submodule needs to be updated.
In the sandbox I updated the contract template so the issuance now works with rgb-contracts from the master branch. I still use my fork of it as rgb-wallet needs a fix for beneficiary vs assetOwner FieldName (just a quick&dirty workaround so the transfer works).

Ok, it seems I need to print out debug info from the code - so I need to keep rgb-std updated and see output in the sandbox. How hard it will be to use the RGB-WG/rgb-wallet/fix/71 branch in the sandbox?

Ok, it seems I need to print out debug info from the code - so I need to update rgb-std over and over again to see the output in the sandbox. How hard it will be to use the RGB-WG/rgb-wallet/fix/71 branch in the sandbox?

That's easy, the sandbox installs rgb-contracts on each run, so you can change it (e.g. to a local version) and patch the (e.g. rgb-std) dependencies there.
To do so, look for the install_rgb_crates() function in the demo.sh script. There you can tweak the cargo install command for rgb-contracts.

Updated the sandbox to use the latest rgb-contracts (cd81a7b) and rgb-schemata (c356aee), plus related changes.
Updates pushed to the usual branch (commit f6c49fb).
I can confirm the transfer to an invoice containing an address is now working.


prestosql/Map.cpp:191, Function:offsetsAligned, Expression: values->size() >= rows.size() (99 vs. 100)

buck run velox/expression/tests:velox_expression_fuzzer_test -- --velox_fuzzer_enable_complex_types   --velox_fuzzer_max_level_of_nesting 2 --only "element_at,map" --seed<PHONE_NUMBER>

I1026 22:51:11.987653 1401984 ExpressionFuzzer.cpp:704] ==============================> Started iteration 0 (seed:<PHONE_NUMBER>)
I1026 22:51:11.990541 1401984 ExpressionVerifier.cpp:130] Executing expression: element_at(map("c0",10 elements starting at 270 {[270->76] [76->790] [790->605] null, null, [272->751] [751->98] [98->775] 0, [273->67] [67->403] [403->69] 0, [274->382] [382->795] [795->501] 1, ...}),element_at("c1",2817592878))
I1026 22:51:11.990922 1401984 ExpressionVerifier.cpp:133] 2 vectors as input:
I1026 22:51:11.990978 1401984 ExpressionVerifier.cpp:135]       [DICTIONARY ARRAY<SMALLINT>: 100 elements, 8 nulls], [CONSTANT ARRAY<SMALLINT>: 100 elements, 10 elements starting at 20 {-24223, 24107, null, 10587, 26304, ...}], [ARRAY ARRAY<SMALLINT>: 9 elements, no nulls]
I1026 22:51:11.991128 1401984 ExpressionVerifier.cpp:135]       [DICTIONARY ARRAY<SMALLINT>: 100 elements, 9 nulls], [DICTIONARY ARRAY<SMALLINT>: 100 elements, 12 nulls], [DICTIONARY ARRAY<SMALLINT>: 100 elements, 10 nulls], [DICTIONARY ARRAY<SMALLINT>: 100 elements, 14 nulls], [CONSTANT ARRAY<SMALLINT>: 100 elements, 10 elements starting at 470 {null, null, null, null, null, ...}], [ARRAY ARRAY<SMALLINT>: 72 elements, 8 nulls]
E1026 22:51:11.998283 1401984 Exceptions.h:68] Line: velox/functions/prestosql/Map.cpp:191, Function:offsetsAligned, Expression: values->size() >= rows.size() (99 vs. 100), Source: RUNTIME, ErrorCode: INVALID_STATE
E1026 22:51:11.999745 1401984 ExpressionVerifier.cpp:64] Only simplified path threw exception:
terminate called after throwing an instance of 'facebook::velox::VeloxRuntimeError'
  what():  Exception: VeloxRuntimeError
Error Source: RUNTIME
Error Code: INVALID_STATE
Reason: (99 vs. 100)
Retriable: False
Expression: values->size() >= rows.size()
Function: offsetsAligned
File: velox/functions/prestosql/Map.cpp
Line: 191

A fix could be to use rows.end() instead of rows.size() in offsetsAligned:
    VELOX_CHECK_GE(keys->size(), rows.end());
    VELOX_CHECK_GE(values->size(), rows.end());

CC: @pedroerp

I was just looking at this codebase yesterday. I can take this one.

Fixed in #2997


Towards version 3

Now I'm using WP Starter in all my work and personal projects since about 1 year, everything works very well and I'm happy, but I feel there are things that we can improve in the next major version.
This issue is just for preliminary discussion, and include different topics, each topic will probably have own issue if we decide to go on with it.
PHP version
Currently we support PHP 5.3+. Even if that version is still very popular among WordPress users, there's no doubt that who use WP Starter is a developer, not just an user. A developer who knows about Composer and pretty advanced WordPress development. A developer who won't use a version of PHP less than PHP 5.5 these days. This is my feeling, at least.
"Content" Development
The most "natural" way to use WP Starter is to pull themes and plugins as Composer packages.
However, very often I found myself in the need to have some plugin or mu-plugins only for the website I'm working on. An example could be a MU plugin used to store configurations...
Considering that one hardly wants to create a package for that kind of things, there are, at least, 2 ways to do this.

Create Gists, and set up a Composer repository for them. An example of doing this is even included in current WP Starter documentation. However this is not a very good approach, since it is hard keep in sync local with remote

Include the package in the main repository, the one that contains the main composer.json.

This is valid for plugins, MU plugins and even for themes. When a package is developed just for the website and will never be used in any other place, it makes perfectly sense keep under the same repository of the website stack.
This has been discussed in #23
In my projects I'm currently using an approach where I have a content-dev folder, with plugins, themes and mu-plugins subfolders. On install / update all of these folders are symlinked in the related "wp-content" folder, so WordPress recognize them.
This way I can keep under version control plugin and themes without keep under version control the content folder, that contains 3rd party plugin and themes.
I found this approach works very well, and I think it worth to be more integrated in WP Starter.
WP Starter scripts
Using WP Starter I found myself writing custom Composer scripts for different purposes.
In those scripts I often find the need to access WP Starter configuration. I think that would be useful to add some sort of  "WP Starter scripts", very similar to Composer scripts, but that accepts only PHP scripts and pass to them a WP Starter API object that makes access to WP Starter configuration and maybe some helpers.
Instead of relying on Composer events, we could use specific WP Starter events, e.g. before / after each WP Starter step, or just after WP starter completed installation.
Improve translations download
WordPress core translations have to be downloaded to languages folder inside content folder.
Same goes for plugins that use "language packs" and have their translations hosted in https://translate.wordpress.org/.
We should find a way to ease the process of getting these translations via Composer.
We can start by exploring https://wp-languages.github.io/

PHP version
I share your feeling about devs and 5.5, however I would nevertheless try to match the Composer requirement unless there's a substantial advantage to bumping it.
"Content" development
There's one other option that seems valid: https://github.com/blazersix/satispress
This allows you to have a "dev/testing" server where you install and test individual plugins, and then have Composer pull them from there for a deploy.
WP Starter scripts
Having each of the steps provide hooks would be great. So, the current wp-starter would be the default configuration, but each of the steps can be modified/overridden by custom scripts.
 Also, I would love it if we could bring a WordPress install closer to mirroring a hexagonal architecture. A step in that direction would be to have wp-cli be tightly integrated, and wrap it with wp-starter code. This would allow one to get all sorts of information directly from the command-line. For stuff that wp-starter is not responsible, it would pass it on to wp-cli. Something like having a wp script be a Decorator around the wp-cli binary. This would automate fetching wp-cli configuration, and it would be aware of the stuff surround the WP install, for which the wp-cli has no clue.
Improve translations download
I'm not sure how custom-installer support for this is atm, but this can also easily be solved through a custom Composer plugin you can require.

Regarding languages probably its better just forget about it and suggest the usage https://wp-languages.github.io/.
Even if a custom installer could be done easily for core languages, with more and more plugins/themes shipping translation to translate.wordpress.org I think we need a simple way to download those translations.
Even if https://wp-languages.github.io workflow is not very straightforward, it probably does not worth to put effort into different solution since it works.
Yes, it's another possible failure point, but... we have what we have.

Unfortunately https://wp-languages.github.io/ isn't complete. In contrast to http://wpackagist.org/ it doesn't mirror everything but just core and some selected themes and plugins. So this is at most a duct-tape solution. Don't really know what to do instead though. :disappointed:

@kraftner yes... my mainly concern is core, which can be translated with https://wp-languages.github.io/. And at the moment is enough for me... I don't want this as a blocker for v3, we can always improve what we have later...

Main question about l18n now is: Can we write & host a replacement by ourself?

I've just created #44 so me don't mess up this issue.

This issue is too broad. I'm going to close it and open better focused issues.


Reference for https://github.com/nautobot/nautobot/pull/6091

Do not have push permission in @alextremblay's forked repo but added unitt ests for some of his bug fixes.
PR for his reference here.

Hi @HanlinMiao thank you so much for helping to improve my PR!
Apologies for taking so long to get to this, this week has been extremely chaotic for me.
I've gone ahead and pulled your changes (with great thanks) into my branch for PR#5050, so i think you're ok to close this PR now


[feature request] import srt for local video

I'm thinking it could be helpful if it support import srt into it, then that open the possibility to use elfeed-tube for local videos (which has srt)..

I'm thinking it could be helpful if it support import srt into it, then that open the possibility to use elfeed-tube for local videos (which has srt)..

I didn't understand, what do you mean by "it" above? Are you suggesting adding a subtitle import feature to Elfeed Tube? But your disk-local videos aren't available as RSS feeds to begin with.
Or do you mean adding the ability to follow along to mpv (playing a local video) in a subtitle buffer? Elfeed would be unnecessary for this.

I'm thinking it could be helpful if it support import srt into it, then that open the possibility to use elfeed-tube for local videos (which has srt)..
I didn't understand, what do you mean by "it" above? Are you suggesting adding a subtitle import feature to Elfeed Tube? But your disk-local videos aren't available as RSS feeds to begin with. Or do you mean adding the ability to follow along to mpv (playing a local video) in a subtitle buffer? Elfeed would be unnecessary for this.

Sorry for not being clear, I'm refer to the first case you mentioned. But then I realize I forgot local video is not rss, so let's drop it for now


update bp component

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/kind api-change
/kind backend-change
/kind ui-change
/kind bug
/kind cleanup
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

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

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


Argument that matches anything

Would really like to be able to supply an argument to matchers like receive:withArguments: that will match anything - often one test will have nothing to do with the other arguments, so instead of having to make them correct, it's nice to just ignore them.
OCMock has OCMOCK_ANY for this purpose. Especially useful if both id and value types are supported.

Any further thoughts on this? One of Kiwi's big advantages is its integrated mocking & stubbing, and this kind of wildcard matching would be a big help.


Shippable Badges seem to not work anymore

It seems to me that the badges for shippable do not work anymore.
This holds for my own project as well as for the badges on the examples page; see, for instance, .
At least when I access them (from China), they all render to "build inaccessible."

Thanks for raising the issue.
First of all, it seems that this issue is not limited to China. In fact, Shippable's own badge shows "none": https://api.shippable.com/projects/54d119db5ab6cc13528ab183/badge. Do you know whether there is a Shippable badge that does not show "none"?

How about:
: https://api.shippable.com/projects/56981e821895ca4474685412/badge
corresponding to
: https://img.shields.io/shippable/56981e821895ca4474685412.svg

I believe #711 fixed this. Please reopen if you disagree.


Examples are broken on r170

I ran into an issue with r170 with type errors in syncing the uniforms. I did see that you recently updated to 170 an the examples waves, points are broken ...

It is this line exactly that caused the break:
https://github.com/mrdoob/three.js/blame/841ca14e89f3ec925e071a321958e49a883343c0/src/materials/Material.js#L22
Introduced by this commit:
https://github.com/mrdoob/three.js/commit/ac963e25c6ddf9ea1f5f070e90e78529db96f701#diff-4081cb9cffbf3263819b3e910698bdd58231bf0ddbda61dd527fec68750d3ea3R22
Basically, threejs decides what default uniforms to give to a material based off the type, so, to make a CSM paterial transparent to ThreeJS, we need to override this type.

Fixed with 6.1.1, please confirm

That fixed it, thank you for the quick attention!


feat: ✨ Add utility classes for typography

Checklist (for the issue creator)

[x] I have looked at the documentation site and was not able to find the required feature.
[x] I have looked into the Figma boards and was not able to find the required feature.
[ ] I would be willing to provide a PR for this feature.

Story

As a user of the Synergy Design System, I would like to use typographic styles for headline and body text in a easy way so that my product uses the generally valid styles.
Figma branch: https://www.figma.com/file/bZFqk9urD3NlghGUKrkKCR/branch/4oqUjJbgNpMsX7fqfgOMyl/Synergy-Digital-Design-System?type=design&node-id=104%3A235&mode=design&t=LdKsFz2sUGWhh0kP-1
Acceptance criteria

[ ] All DoD items successfully completed
[x] check the generated tokens from branch feat/add-text-styles from Figma
[ ] Create a new package with the name that fit future usecases
[x] Create classes instead of tokens synchronization
[ ] Create documentation in Storybook (e.g. Readme, Changelog, Story for all typographic items)
[ ] Use typography for Storybook stories
[x] Offer a css file for basic styling

Hi @schilchSICKAG and @mariohamann
would you like to take a look at the ticket here and add/adapt it so that it can be refined more easily.
Thanks
Stefan

I have just created a first draft for an RFC for this at https://github.com/orgs/synergy-design-system/discussions/278. Please have a look and discuss @synergy-design-system/dev.

As discussed with @mariohamann and @LeaLeRose, we will provide generic css helper functions for font weights, e.g. something like .syn-bold and .syn-semi-bold instead of the low level tokens for body copy.

Sounds good with the helpers.
Also the typography prefix was removed from the tokens int the branch already.

Sounds good with the helpers. Also the typography prefix was removed from the tokens int the branch already.

Hey @reichst1SICKAG, I already added a branch some time ago, which uses an older version of the typo tokens. You can see what I did there here: https://github.com/synergy-design-system/synergy-design-system/blob/feat/269-add-css-utility-package/packages/css/src/modules/typography.css.
I will update it when the merge of https://github.com/synergy-design-system/synergy-design-system/pull/318 is done

I have just updated the branch to use the new tokens and add the mentioned utility classes for bold fonts. You can see the result at https://github.com/synergy-design-system/synergy-design-system/blob/feat/269-add-css-utility-package/packages/css/src/modules/typography.css.

I built the package and looked at the dist folder.
This looks very good.
Do we need to test this on a plain HTML file? Or is the _private/vanilla-demo using this? (Open sans is not loaded in the demo)
Also I was wondering about the inline woff2 font files.
We don't use italic in any styles, so maybe remove them for about 60KB less filesize? We can keep them as woff2 in the fonts folder if somebody really needs it.
Also we need to inline-add the semibold font, to have all 3 weights there.

I built the package and looked at the dist folder. This looks very good. Do we need to test this on a plain HTML file? Or is the _private/vanilla-demo using this? (Open sans is not loaded in the demo)

Hey @reichst1SICKAG, thanks for the feedback. I am currently not using it anywhere currently, because dev is still not finally setteled. When the styles are fine for all persons, we will have to find a fitting name, create real README instructions, link it to storybook and finally, add templates for the utility classes (e.g. via https://storybook.js.org/docs/api/doc-block-typeset#fontsizes if it is applyable with our stuff).

Also I was wondering about the inline woff2 font files. We don't use italic in any styles, so maybe remove them for about 60KB less filesize? We can keep them as woff2 in the fonts folder if somebody really needs it.
Also we need to inline-add the semibold font, to have all 3 weights there.

Will sure do this, this was just for demos sake. Would also like to discuss what you think about using default fonts instead of web-fonts to lessen the load burdon for downloads slightly. The question for me is, if Open-Sans really is required for a good and holistic feel during usage in Web-Applications.

As discussed today:

No form styling will be shared
Demos have to be reverted
Stories for form styling will be reverted
Table will get deleted
Creation of text styles have to be changed to match the new expections

Currently onhold because of ongoing research in #365

Doing this will be part of https://github.com/synergy-design-system/synergy-design-system/issues/455


[Feature Request]: Unable to Copy the Transform from one Pipeline to Another Pipeline

What would you like to happen?
Apache Hop version?
2.9.0
Java version?
11
Operating system
Docker Container
What happened?
While working with HOP Web (Docker Installation Setup), when the user tries to copy the Transform from one Pipeline to Another Pipeline, we face the following error:
There was an unexpected error while copying data to the clipboard.
org.eclipse.swt.SWTError: Cannot set data in clipboard
at org.eclipse.swt.dnd.DND.error(DND.java:263)
at org.eclipse.swt.dnd.DND.error(DND.java:219)
at org.eclipse.swt.dnd.Clipboard.setContents(Clipboard.java:272)
at org.apache.hop.ui.core.gui.GuiResource.toClipboard(GuiResource.java:1318)
at org.apache.hop.ui.hopgui.file.pipeline.delegates.HopGuiPipelineClipboardDelegate.toClipboard(HopGuiPipelineClipboardDelegate.java:63)
at org.apache.hop.ui.hopgui.file.pipeline.delegates.HopGuiPipelineClipboardDelegate.copySelected(HopGuiPipelineClipboardDelegate.java:340)
at org.apache.hop.ui.hopgui.file.pipeline.HopGuiPipelineGraph.copySelectedToClipboard(HopGuiPipelineGraph.java:5221)
at org.apache.hop.ui.hopgui.HopGui.menuEditCopySelected(HopGui.java:896)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.hop.ui.core.gui.GuiMenuWidgets.executeMenuItem(GuiMenuWidgets.java:173)
at org.apache.hop.ui.core.gui.GuiMenuWidgets.lambda$addMenuWidgets$0(GuiMenuWidgets.java:121)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:109)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:687)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:594)
at org.eclipse.swt.widgets.MenuItem.handleAcceleratorActivation(MenuItem.java:687)
at org.eclipse.swt.widgets.AcceleratorBinding.handleEvent(AcceleratorBinding.java:35)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:109)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1819)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:685)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:594)
at org.eclipse.swt.widgets.Display.executeNextEvent(Display.java:1216)
at org.eclipse.swt.widgets.Display.runPendingMessages(Display.java:1197)
at org.eclipse.swt.widgets.Display.safeReadAndDispatch(Display.java:1180)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1172)
at org.eclipse.rap.rwt.application.AbstractEntryPoint.createUI(AbstractEntryPoint.java:69)
at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWTLifeCycle.java:177)
at org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle$UIThreadController.run(RWTLifeCycle.java:290)
at java.base/java.lang.Thread.run(Thread.java:829)
at org.eclipse.rap.rwt.internal.lifecycle.UIThread.run(UIThread.java:107)
Why?
To minimize the development effort, an already configured Transform needs to be reused across multiple Pipelines. There is a need to copy/paste the Transform ('s) from one Pipeline to another Pipeline. However, on the HOP Web Ctrl+C / Ctrl+V OR Copy to Clipboard/Paste from the Clipboard is giving errors.
Reproduction Steps:-

Open HOP Web on the Web browser.

Open any existing Pipeline.

Select an existing Transform from the Canva and click the option Copy to Clipboard or Ctrl+C

Create a New Pipeline and click on the Canva and select option Paste from the Clipboard or Ctrl+V

HOP Web gives an Error message as shown below:

Note: The issue doesn't exist in the HOP client GUI
Issue Priority
Priority: 3
Issue Component
Component: Hop Gui, Component: Hop Web

Could you try the following:
Normally the first time you try to copy it will give you an option to allow it. But as it is marked as an unsecured website you might have to manually enable it.
https://stackoverflow.com/questions/64060102/how-to-change-the-site-setting-of-unsecuredhttp-websites-on-chrome

Ah, I just noticed you are not on localhost.
You will have to enable HTTPS it seems. Or use a workaround to mark the website as "secure"

Sure thing. Let us check that workaround and update the status.