Running anonymous block as part of Flyway migration script in Snowflake fails with error code 90232

Which version and edition of Flyway are you using?
Using Flyway Maven plugin version 8.5.12 to run migration scripts.
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
I was not able to test this feature on the latest release.
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Maven plugin
Which database are you using? (Type & version)
Snowflake.
Which operating system are you using?
Running the maven plugin on Linux.
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
The issue is that I have a migration script that has to run an anonymous block.
The anonymous block looks something similar to this - I can provide the entire SQL per request:
EXECUTE IMMEDIATE
$$
DECLARE
        hierarchy_id NUMBER(38,0);
        BEGIN
            SELECT id INTO :hierarchy_id FROM SCHEMA.HIERARCHY WHERE name = 'Hierarchy';
            CREATE OR REPLACE TEMPORARY TABLE COMMON_CONFIG_DATA_LOADS AS
                SELECT DISTINCT COMMON_DATA_LOAD_ID, CONFIG_DATA_LOAD_ID
                FROM SCHEMA.DATA_LOAD
                WHERE REQUIRES_COMMON_AND_CONFIG
                AND COMMON_DATA_LOAD_ID IS NOT NULL
                ORDER BY 1;

            INSERT INTO INTEGRATION_SCHEMA.ORG_HIERARCHY_NODE
            (
               fields....
            )
            SELECT
                fields...
            FROM SCHEMA.LEGAL_ENTITY_HIERARCHY leh
            JOIN COMMON_CONFIG_DATA_LOADS ccdl ON leh.data_load_id = ccdl.CONFIG_DATA_LOAD_ID
            ORDER BY
                leh.LEGAL_ENTITY_LEVEL ASC,
                leh.LEGAL_ENTITY_1 ASC,
                leh.LEGAL_ENTITY_2 ASC NULLS FIRST,
                leh.LEGAL_ENTITY_3 ASC NULLS FIRST,
                leh.LEGAL_ENTITY_4 ASC NULLS FIRST
            ;
END;
$$
;

What did you expect to see?
I expected the anonymous block to be executed correctly.
The anonymous block, copied from the script (the text between the $$) executes correctly when ran from the Snowflake Web UI.
What did you see instead?
The script fails with the following error:
build	18-Jul-2022 17:06:27	[ERROR] SQL State  : 25000
build	18-Jul-2022 17:06:27	[ERROR] Error Code : 90232
build	18-Jul-2022 17:06:27	[ERROR] Message    : Stored procedure execution error: Scoped transaction started in stored procedure is incomplete and it was rolled back.
There is no scoped transaction being opened in the text of the anonymous block.

Hi,
I reported something symilar here: https://github.com/flyway/flyway/issues/3512. For me, direct addition of below line helped.
ALTER SESSION SET AUTOCOMMIT = TRUE;

I was unable to reproduce this from the information provided, could you provide a reproduction?

Closing until further activity

One can try to enclose it with a single apostroph:
EXECUTE IMMEDIATE '
... your script
';
Note: All single quotes have to get another one.  ('->'')


Add Gateway resource for Service Mesh usage.

Short description:
Add Gateway resource for Service Mesh.
More details:
Add Gateway resource with apiVersion: networking.istio.io/v1alpha3.
Add ApiGroup and ApiVersion.
What this PR does / why we need it:
Service Mesh
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

/approve

/approve

/verified


I am trying to implement your application but it gives me error in importing 4 modules.

fbbot/views.py", line 4, in
import json, requests, random, re
ImportError: No module named 'requests'
Can you solve this?

You should install requests. If you've downloaded the contents of the repository, you can find "pip install -r requirements.txt" in the list of commands that you have to run. This will install requests.

I have connected your application and interacts with facebook, but the chat application does not return any answers, I have dedicated this afternoon but I have been a long time with this error, just as you can give me a solution.
This is the message that returns me, the code is just as I have changed the tokens.
fbbot/views.py", line 73, in post
post_facebook_message(message['sender']['id'], message['message']['text'])
/fbbot/views.py", line 39, in post_facebook_message
joke_text = 'Yo '+user_details['first_name']+'..! ' + joke_text
KeyError: 'first_name


Rename jbpm-console-ng-business-domain module to jbpm-console-ng-kie-…

…server

Depends on https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/pull/316

@nmirasch Could you please review?

@cristianonicolai even the git doesn't show conflicts, I hat problems to test this pr after the last merged commit https://github.com/droolsjbpm/jbpm-console-ng/commit/db6e154f28c3712318af1420be31076f7c6d9d76, can you update the commit? Thanks!

@nmirasch sure. PR rebased on latest master, thanks.


Feature Request: Support Volume Control

In my opinion, Volume Control is probably the #1 most critical feature.  If players are left to fend for themselves, they more often than not just mute it.  Even if it is limited to specific values like 5%, 10%, 50%, 25%, or very-low, low, medium, high.

Thanks for the request. This would be very easy for someone to inplement

It would be worth noting that as discussed in the discord channel, it would be preferable to have the config persisted through restarts.

An embedded DB would be nice

Feel free to open a separate issue about persisting volume levels

The volume setting now gets saved in the new database.
The database is zero-maintenance. Ukulele creates and migrates it automagically.

BEAUTIFUL!  Thanks!


Property to turn off Webflow for x509 (REST only)

I have included the following in my report:

[] CAS server version 5.1 RC4
[] Container/environment any

Already works with dependency:

org.apereo.cas
cas-server-support-x509-rest
${cas.version}

without x509-webflow.


[Kernel] Default Parquet reader implementation

Context
This PR is part of delta-io/delta#1783. Currently it is stacked on top of delta-io/delta#1842.
Description
It implements Parquet reader based on parquet-mr and generates the output as columnar batches of ColumnVector and ColumnarBatch interface implementations.
How was this patch tested?
UTs

(1) I'd like to understand more about the need for the nullability array? It seems to me like it's only necessary for the GroupConverters and not the primitive ones. Also, the group converters need to be fixed for empty groups vs null values.

The nullability array is needed for primitive types, because the values array is of Java primitive types where you can't have the null value. Also this is optional. So in future if we know the value is not going to have any null, then we don't need to pass any nullable array.

(2) We have multiple (primitive) converters for the same parquet type based on our datatypes. What's the reasoning for converting types in the converters vs the column vectors? We kind of convert between types in two places

Converters for types in the PrimitiveConverters
In the ColumnVector for BinaryColumnVector (string vs binary)

Essentially why not have converters only for the parquet types -- and convert to our data type in the column vectors as we already are doing in BinaryColumnVector?

I think there is some duplicate code here. Will clean up.

(2) We have multiple (primitive) converters for the same parquet type based on our datatypes. What's the reasoning for converting types in the converters vs the column vectors? We kind of convert between types in two places

Converters for types in the PrimitiveConverters
In the ColumnVector for BinaryColumnVector (string vs binary)

Essentially why not have converters only for the parquet types -- and convert to our data type in the column vectors as we already are doing in BinaryColumnVector?

I think there is some duplicate code here. Will clean up.
I think the reason we have different types is because we have different vectors and different access methods (getShort vs getInt). These vectors need different value vector types. Thats the reason we have. Let me know if you think we can remove any specific converter.

(2) We have multiple (primitive) converters for the same parquet type based on our datatypes. What's the reasoning for converting types in the converters vs the column vectors? We kind of convert between types in two places

Converters for types in the PrimitiveConverters
In the ColumnVector for BinaryColumnVector (string vs binary)

Essentially why not have converters only for the parquet types -- and convert to our data type in the column vectors as we already are doing in BinaryColumnVector?

I think there is some duplicate code here. Will clean up.

I think the reason we have different types is because we have different vectors and different access methods (getShort vs getInt). These vectors need different value vector types. Thats the reason we have. Let me know if you think we can remove any specific converter.

I guess it's just inconsistent since BinaryType and StringType share DefaultBinaryVector? But the other types that share the same parquet base type do not.

(2) We have multiple (primitive) converters for the same parquet type based on our datatypes. What's the reasoning for converting types in the converters vs the column vectors? We kind of convert between types in two places

Converters for types in the PrimitiveConverters
In the ColumnVector for BinaryColumnVector (string vs binary)

Essentially why not have converters only for the parquet types -- and convert to our data type in the column vectors as we already are doing in BinaryColumnVector?

I think there is some duplicate code here. Will clean up.

I think the reason we have different types is because we have different vectors and different access methods (getShort vs getInt). These vectors need different value vector types. Thats the reason we have. Let me know if you think we can remove any specific converter.

I guess it's just inconsistent since BinaryType and StringType share DefaultBinaryVector? But the other types that share the same parquet base type do not.

String and Binary vector contents are same byte[][], but not the same for for example: Short and Integer vectors (its short[] vs int[])

I think the reason we have different types is because we have different vectors and different access methods (getShort vs getInt). These vectors need different value vector types. Thats the reason we have. Let me know if you think we can remove any specific converter.

I guess it's just inconsistent since BinaryType and StringType share DefaultBinaryVector? But the other types that share the same parquet base type do not.

String and Binary vector contents are same byte[][], but not the same for for example: Short and Integer vectors (its short[] vs int[])

I guess my question then would be why do they need different value vector types. What's the difference between doing the conversion between types in for example getShort vs ShortColumnConverter.addInt. Checking for illegal access to a getter could be done in the same way as in DefaultBinaryVector. Mostly just asking questions for my own understanding

Storage space and unnecessary check for every call of getShort


wireguard: Reinitialize peer when public key changes

When a node's public key changes, as is the case after a node restart, all other nodes delete the peer entry for the old key and create a new peer entry for the new key. However, the logic introduced by commit https://github.com/cilium/cilium/commit/3ebfa4d636af626c7484209a512bfefa6e027c93 ("wireguard: Use dummy peer for allowed IP removal") fails to reinitialize the allowed IPs state for the new entry, namely the node IPs.
TestAgent_AllowedIPsRestoration actually did have test coverage for this scenario, but passed with a false positive since k8s2PubKey and k8s2PubKey2 were not different enough it seems. Setting k8s2PubKey2 to a completely different key makes the unit test fail as it should have.
Reinitialize peer inside UpdatePeer() whenever a node's public key changes to trigger a full resync of node and pod IPs for the new key, and ensure that TestAgent_AllowedIPsRestoration properly tests for this scenario.
Testing

Deploy Cilium to a cluster with WireGuard enabled cilium install --set image.override=$MY_REGISTRY/cilium:latest --set image.pullPolicy=Always --set operator.image.override=$MY_REGISTRY/operator-generic:latest --set operator.image.pullPolicy=Always --set operator.image.suffix="" --set encryption.enabled=true --set encryption.type=wireguard --set encryption.nodeEncryption=true --set kubeProxyReplacement=true --set bpf.masquerade=true --set cluster.name=jrife
Reboot one of the worker nodes
On another worker node observe the output of wg show and cilium status for the node that was rebooted.

Before This Fix
wg show shows the public key for node <IP_ADDRESS> change and does not resync the node IP(s) until an agent restart. The output below is before and after the node in question reboots.
jrife@gke-cilium-10481617798-1-5-ubuntu-big-9eaebb54-l39a:~$ sudo wg
interface: cilium_wg0
  public key: F2QtZjXwljAiRzkIyihCFxkJxGaCkI208RFir166R1s=
  private key: (hidden)
  listening port: 51871
  fwmark: 0x1e00

peer: cxfTnc0InUC2HF7uT3SeqZGWV593BNfE13ApYLVBKiQ=
  endpoint: <IP_ADDRESS>:51871
  allowed ips: <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32
  latest handshake: 1 minute, 31 seconds ago
  transfer: 1.73 MiB received, 1.18 MiB sent
jrife@gke-cilium-10481617798-1-5-ubuntu-big-9eaebb54-l39a:~$ sudo wg
interface: cilium_wg0
  public key: F2QtZjXwljAiRzkIyihCFxkJxGaCkI208RFir166R1s=
  private key: (hidden)
  listening port: 51871
  fwmark: 0x1e00

peer: 2C7QPnKXaw6/d3eAiNZ2YeqAjR+uqKKLAm5VegaklAk=
  endpoint: <IP_ADDRESS>:51871
  allowed ips: <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32
  latest handshake: 45 seconds ago
  transfer: 3.28 KiB received, 16.46 KiB sent
jrife@gke-cilium-10481617798-1-5-ubuntu-big-9eaebb54-l39a:~$

cilium status shows 1/2 nodes are reachable.
jrife@jrife-kvm:~/code/cilium$ kubectl exec -it -n kube-system cilium-zr6xv -- cilium status
Defaulted container "cilium-agent" out of: cilium-agent, config (init), mount-cgroup (init), apply-sysctl-overwrites (init), mount-bpf-fs (init), wait-for-node-init (init), clean-cilium-state (init), install-cni-binaries (init)
KVStore:                                                      Ok   Disabled
Kubernetes:                                                   Ok   1.30 (v1.30.5-gke.1014001) [linux/amd64]
Kubernetes APIs:                                              ["EndpointSliceOrEndpoint", "cilium/v2::CiliumClusterwideNetworkPolicy", "cilium/v2::CiliumEndpoint", "cilium/v2::CiliumNetworkPolicy", "cilium/v2::CiliumNode", "cilium/v2alpha1::CiliumCIDRGroup", "core/v1::Namespace", "core/v1::Pods", "core/v1::Service", "networking.k8s.io/v1::NetworkPolicy"]
KubeProxyReplacement:                                         True   [ens4   <IP_ADDRESS> fe80::4001:aff:fe0d:6aa1 (Direct Routing)]
Host firewall:                                                Disabled
SRv6:                                                         Disabled
CNI Chaining:                                                 none
CNI Config file:                                              successfully wrote CNI configuration file to /host/etc/cni/net.d/05-cilium.conflist
Cilium:                                                       Ok   1.17.0-dev (v1.17.0-dev-3ecac71128)
NodeMonitor:                                                  Listening for events on 8 CPUs with 64x4096 of shared memory
Cilium health daemon:                                         Ok
IPAM:                                                         IPv4: 10/254 allocated from <IP_ADDRESS>/24,
IPv4 BIG TCP:                                                 Disabled
IPv6 BIG TCP:                                                 Disabled
BandwidthManager:                                             Disabled
Routing:                                                      Network: Native   Host: BPF
Attach Mode:                                                  Legacy TC
Device Mode:                                                  veth
Masquerading:                                                 BPF   [ens4]   <IP_ADDRESS>/21 [IPv4: Enabled, IPv6: Disabled]
Controller Status:                                            71/71 healthy
Proxy Status:                                                 OK, ip <IP_ADDRESS>, 0 redirects active on ports 10000-20000, Envoy: external
Global Identity Range:                                        min 256, max 65535
Hubble:                                                       Ok              Current/Max Flows: 4095/4095 (100.00%), Flows/s: 16.87   Metrics: Disabled
Encryption:                                                   Wireguard       [NodeEncryption: Enabled, cilium_wg0 (Pubkey: F2QtZjXwljAiRzkIyihCFxkJxGaCkI208RFir166R1s=, Port: 51871, Peers: 1)]
Cluster health:                                               1/2 reachable   (2024-11-04T21:28:10Z)
Name                                                          IP              Node   Endpoints
  jrife/gke-cilium-10481617798-1-5-ubuntu-big-9eaebb54-ehtt   <IP_ADDRESS>   0/1    0/1
Modules Health:                                               Stopped(0) Degraded(1) OK(68)

After This Fix
wg show shows the public key for node <IP_ADDRESS> change and a full set of allowed IPs, including the node IPs. The output below is before and after the node in question reboots.
jrife@gke-cilium-10481617798-1-5-ubuntu-big-9eaebb54-l39a:~$ sudo wg
interface: cilium_wg0
  public key: F2QtZjXwljAiRzkIyihCFxkJxGaCkI208RFir166R1s=
  private key: (hidden)
  listening port: 51871
  fwmark: 0x1e00

peer: 2C7QPnKXaw6/d3eAiNZ2YeqAjR+uqKKLAm5VegaklAk=
  endpoint: <IP_ADDRESS>:51871
  allowed ips: <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32
  latest handshake: 10 seconds ago
  transfer: 399.55 KiB received, 289.02 KiB sent
jrife@gke-cilium-10481617798-1-5-ubuntu-big-9eaebb54-l39a:~$ sudo wg
interface: cilium_wg0
  public key: F2QtZjXwljAiRzkIyihCFxkJxGaCkI208RFir166R1s=
  private key: (hidden)
  listening port: 51871
  fwmark: 0x1e00

peer: N9XGxTQV+XoTymShfcv7sHvkQVMzGqiq08NTcQfR01M=
  endpoint: <IP_ADDRESS>:51871
  allowed ips: <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32, <IP_ADDRESS>/32
  latest handshake: 1 minute, 29 seconds ago
  transfer: 30.56 KiB received, 38.21 KiB sent
jrife@gke-cilium-10481617798-1-5-ubuntu-big-9eaebb54-l39a:~$

cilium status shows 2/2 nodes are reachable.
jrife@jrife-kvm:~/code/cilium$ kubectl exec -it -n kube-system cilium-4ldq6 -- cilium status
Defaulted container "cilium-agent" out of: cilium-agent, config (init), mount-cgroup (init), apply-sysctl-overwrites (init), mount-bpf-fs (init), wait-for-node-init (init), clean-cilium-state (init), install-cni-binaries (init)
KVStore:                 Ok   Disabled
Kubernetes:              Ok   1.30 (v1.30.5-gke.1014001) [linux/amd64]
Kubernetes APIs:         ["EndpointSliceOrEndpoint", "cilium/v2::CiliumClusterwideNetworkPolicy", "cilium/v2::CiliumEndpoint", "cilium/v2::CiliumNetworkPolicy", "cilium/v2::CiliumNode", "cilium/v2alpha1::CiliumCIDRGroup", "core/v1::Namespace", "core/v1::Pods", "core/v1::Service", "networking.k8s.io/v1::NetworkPolicy"]
KubeProxyReplacement:    True   [ens4   <IP_ADDRESS> fe80::4001:aff:fe0d:6aa1 (Direct Routing)]
Host firewall:           Disabled
SRv6:                    Disabled
CNI Chaining:            none
CNI Config file:         successfully wrote CNI configuration file to /host/etc/cni/net.d/05-cilium.conflist
Cilium:                  Ok   1.17.0-dev (v1.17.0-dev-5307ea33da)
NodeMonitor:             Listening for events on 8 CPUs with 64x4096 of shared memory
Cilium health daemon:    Ok
IPAM:                    IPv4: 10/254 allocated from <IP_ADDRESS>/24,
IPv4 BIG TCP:            Disabled
IPv6 BIG TCP:            Disabled
BandwidthManager:        Disabled
Routing:                 Network: Native   Host: BPF
Attach Mode:             Legacy TC
Device Mode:             veth
Masquerading:            BPF   [ens4]   <IP_ADDRESS>/21 [IPv4: Enabled, IPv6: Disabled]
Controller Status:       71/71 healthy
Proxy Status:            OK, ip <IP_ADDRESS>, 0 redirects active on ports 10000-20000, Envoy: external
Global Identity Range:   min 256, max 65535
Hubble:                  Ok              Current/Max Flows: 4095/4095 (100.00%), Flows/s: 17.03   Metrics: Disabled
Encryption:              Wireguard       [NodeEncryption: Enabled, cilium_wg0 (Pubkey: F2QtZjXwljAiRzkIyihCFxkJxGaCkI208RFir166R1s=, Port: 51871, Peers: 1)]
Cluster health:          2/2 reachable   (2024-11-04T21:47:40Z)
Name                     IP              Node   Endpoints
Modules Health:          Stopped(0) Degraded(2) OK(67)
jrife@jrife-kvm:~/code/cilium$

Fixes: #35644
Fixes: #34612
Fixes: 3ebfa4d636af ("wireguard: Use dummy peer for allowed IP removal")
wireguard: Fix connectivity issues following node reboots.

/test

cc @jschwinger233 @pchaigno

/test

Given that https://github.com/cilium/cilium/pull/34612 was backported to v1.16, also adding the label here.


Find widget hangs around after toggling renderSideBySide

Issue Type: Bug
"diffEditor.renderSideBySide": true,

Open diff
Search Ctrl+F in the left split side (deleted)
toggle.diff.renderSideBySide
Find widget is partly visible

Insiders 1.37.0-insider (7e03eb1a1fce3beb6ccea5f3b8f828e01940be61); Stable 1.36.0  (0f3794b38477eea13fb47fbe15a42798e6129338)
OS version: Windows_NT x64 10.0.18362

@usernamehw can you help me understand Find widget is partly visible ? A screenshot can help.


nixvim: expose config for nixvim's standalone mode

Allow standalone nixvim users to take advantage of stylix by exposing the generated config as config.stylix.targets.nixvim.config.
I'm open to other names; maybe out, build, cfg, module?
This can be passed to the nixvim derivation's extendNixvim function, as described in the option description.
Ideally, this would be documented outside of the home-manager/nixos options page, but IMO this is fine. I guess stylix would still be installed via nixos/hm/etc even if nixvim was a standalone build...
I also considered detecting the environment the option is being used in and producing a more specific example; i.e. use home.packages in the home-manager docs' example. I figured this was overkill, and the example should be clear enough for anyone choosing to use standalone nixvim.
Here's a docs screenshot, for reference

FYI this diff is more readable with whitespace changes hidden.

Thanks for your in-depth feedback! I'll try and respond inline below:

I successfully tested this PR in my standalone Home Manager configuration, which uses NixVim.

Checking config.programs ? nixvim and options.programs ? nixvim is redundant; the mkIf check had no benefit.
This now matches the pattern used elsewhere.
-- e5c11e9

The pattern originates from 7a57dff.

Thanks for linking the actual commit. I did understand the use of optionalAttrs is to ensure the attrset is only evaluated when the relevant option exists, since using mkIf would still evaluate the config to check it's valid even when the condition is false.

by exposing the generated config as config.stylix.targets.nixvim.config. I'm open to other names; maybe out, build, cfg, module?

AFAIK, the Nix convention is to interface packages as package and wrapped packages as finalPackage. Since Stylix does not wrap the NixVim config, I assume it is better to omit the final prefix, and keep config.stylix.targets.nixvim.config.
See #415 (comment) for an alternative configuration interface.

Thanks for your thoughts. See my questions on that thread.

I guess stylix would still be installed via nixos/hm/etc even if nixvim was a standalone build...

I assume the same.

I think for now it's fine to consider this a platform-specific option, since it is exposed via a nixos/hm module.

I also considered detecting the environment the option is being used in and producing a more specific example; i.e. use home.packages in the home-manager docs' example. I figured this was overkill, and the example should be clear enough for anyone choosing to use standalone nixvim.

Agreed. Also, runtime environment detection is a non-trivial task.

Well, it can be done fairly trivially; options ? home should do the trick. I just figured it was over-engineering a simple example.

If there's still interest from the maintainers, I'm happy to rebase resolving conflicts so that you can re-review.
I don't really want to spend time understanding what's changed so I can correctly resolve the conflicts, if there's no interest in reviewing/merging :wink:
Let me know if you'd prefer I open another PR, so that you can review fresh without the clutter of outdated comments :slightly_smiling_face:

If there's still interest from the maintainers

Definitely! Btw, thanks for all your hard work on Nixvim!

I'm happy to rebase resolving conflicts so that you can re-review.
I don't really want to spend time understanding what's changed so I can correctly resolve the conflicts, if there's no interest in reviewing/merging :wink:

IIRC, the only blocker was how to document and interface the new functionality.
Documenting through the option's description looks good to me.
Since our last discussions, I stumbled across the config.lib.stylix.<TARGET>.<OPTION> pattern introduced in commit 01c39ac253ae ("Create Sway module") and e43c98f9e7b6 ("Add an i3 module based on Sway module (#18)"):

https://github.com/danth/stylix/blob/01c39ac253ae3d3170ce6befdfc89b72de601c1b/modules/sway.nix#L57-L58
https://github.com/danth/stylix/blob/e43c98f9e7b6f999e004b35020451978fb2a5a67/modules/i3.nix#L60-L61

@danth, should we expose the NixVim config through config.lib.stylix.nixvim.config?

Let me know if you'd prefer I open another PR, so that you can review fresh without the clutter of outdated comments :slightly_smiling_face:

It may be best to continue in this PR to keep the previous discussions for reference, but I'm open to either.

should we expose the NixVim config through config.lib.stylix.nixvim.config?

As mentioned, this is consistent with what we are currently doing in other modules, so it's fine by me.
(Eventually, we may want to look at moving these to a more idiomatic location.)


Fix Google Analytics pageview command arguments

I made a mistake in my previous pull request (#40) and should not have used { location: '…' }. We should be using a third String parameter instead, according to this documentation article.
Sorry about that!

thx


rqrcode version fix

redmine_2fa is not compatible with rqrcode >= 1.0
This PR locks rqrcode on ~> 0.10.1

Is anybody here?

Hello! Thanks for your PR. We're using rqrcode 1.0+ in new version (1.7.2), so closing this.


Added polymorphic definition for Schema

closes #7

That looks correct, I'd like this to have a test/example to show how it is used though, which means waiting for #15 to be merged.

When you say schema values, do you mean personSchema? So I can use anything from any given SchemaModule to create a schema using record for instance, right?
My understanding is that a SchemaModule defines 3 things Prim[A], SumTermId and ProductTermId.
If I were to replace the existing essentialField call, how could infer just using the given SchemaModule that its ProductTermId is String in this case?

In the existing test there is a jsonModule that implements SchemaModule with JSON primitives and String for product and sum identifiers.
So I think you can indeed define personSchema with something along the lines of

object PersonSchema extends Schema[Person] {
  def apply(m: SchemaModule): m.Schema[Person] = {
    import m._
    record[Person](...)
  }
}

// inside the test
val personSchema = PersonSchema(jsonModule)

So @jdegoes I think we reached a blocking point there.
The problem is basically that from within the apply method's body, we don't know anything about Prim[A], ProductTermId, and SumTermId and we don't have any mean of creating values of these types.
Maybe we can partially solve this problem using the Aux trick and typeclasses:
object SchemaModule {
  type Aux[P[_], R, U] = SchemaModule { type Prim[A] = P[A]; type ProductTermId = R; type SumTermId = S}
}

trait Schema[A] {
  def apply[P[_], R, U](module: SchemaModule.Aux[P, R, U])(implicit P: TC1[P[A]], R: TC2[R], U: TC3[U]): module.Schema[A]
}

Where TC1, TC2 and TC3 would provide the necessary functionality to build values of types P[A], R and U respectively. But honestly, I'm not sure this is doable (those TCs would need an additional type parameter to tell out of which type we can build these values) nor convenient, nor the path we want to explore.
Therefore, I think we need a little help ^^

In the original ticket I wrote:

If now we had a way to abstract over the primitives required by a schema, it would then be possible to have polymorphic schemas (across, e.g., Scala, JSON, XML, etc.).

However, I didn't have a good idea how to do it.
It's possible we could parameterize SchemaModule by constructors and deconstructors, something like:
trait SchemaModule[PrimConstruct[_[_]], PrimDeconstruct[_[_]]] {
  type Prim[A]
  implicit def primConstruct: PrimConstruct[Prim]
  implicit def primDeconstruct: PrimDeconstruct[Prim]
}

Now you can define polymorphic schemas but you can require some ability to construct and deconstruct values.
In the base case, maybe something like:
trait ScalaConstruct[+Prim[_]] {
  def int(v: Int): Prim[Int]
  def bool(v: Boolean): Prim[Boolean]
  ...
}
trait ScalaDeconstruct[-Prim[_]] {
  def fold[Z, A](prim: Prim[A])(int: Int => Z, bool: Boolean => Z, ...): Z
}

Then you modify Schema to pass along the constraints required for construction and deconstruction.
The Deconstruct type classes could have something else, like "is not one of the above", to allow more compatibility. Sometimes you can deal with failure.
The "loosest coupling" deconstructors would look like this:
trait ScalaDeconstruct[-Prim[_]] {
  def toInt[A](prim: Prim[A]): Option[Int]
  def toBoolean[A](prim: Prim[A]): Option[Boolean]
  ...
}

This way you can do things like ScalaDeconstruct[Prim] with JsonDeconstruct[Prim] to compose over multiple deconstructor types. Unfortunately it does mean deconstruction can always fail, which will propagate up into whatever code uses these things. Yet it will be hard to avoid failure anyway, so maybe it's not a big problem.


Add TTransportFactory

Add TTransportFactory class for future use.
https://issues.apache.org/jira/browse/THRIFT-3299
@evanweible-wf
@tylertreat-wf
@stevenosborne-wf requested this

+1

+1

+1


Page titles should always appear

I'm not sure why the app doesn't show the title if package count is zero, so maybe this is not the correct fix, but the root cause is that packageCount is updated by the child but it doesn't cause the parent to rerender.

it was a ui adjustment suggest by tom. when we have 0 updates the ui is imbalanced.


fullmatchesandshows.com (playwire) no longer working: ".m3u8: Protocol not found"

[x] I've verified and I assure that I'm running youtube-dl 2016.08.06

Before submitting an issue make sure you have:

[X] At least skimmed through README and most notably FAQ and BUGS sections
[X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[X] Bug report (encountered problems with youtube-dl)

Previously I was able to use the playwire share links from fullmatchesandshows.com in the form:
youtube-dl config.playwire.com/21772/videos/v2/5095352/zeus.json
But now they no longer work. I get
https://cdn.video.playwire.com/21772/videos/5095352/video-sd.m3u8: Protocol not found
ERROR: ffmpeg exited with code 1

I tried  brew reinstall ffmpeg --with-openssl but that did not help.

Post the output of:
youtube-dl -v http://config.playwire.com/21772/videos/v2/5095352/zeus.json

$ youtube-dl -v http://config.playwire.com/21772/videos/v2/5095352/zeus.json
[debug] System config: []
[debug] User config: [u'--recode-video', u'mp4']
[debug] Command-line args: [u'-v', u'http://config.playwire.com/21772/videos/v2/5095352/zeus.json']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.06
[debug] Python version 2.7.10 - Darwin-15.5.0-x86_64-i386-64bit
[debug] exe versions: avconv 11.4, avprobe 11.4, ffmpeg 3.1.1, ffprobe 3.1.1
[debug] Proxy map: {}
[Playwire] 5095352: Downloading JSON metadata
[Playwire] 5095352: Downloading f4m manifest
[Playwire] 5095352: Downloading m3u8 information
[debug] Invoking downloader on u'https://cdn.video.playwire.com/21772/videos/5095352/video-sd.m3u8'
[download] Destination: FCB vs LEI 1H ENG-5095352.mp4
[debug] avconv command line: avconv -y -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
' -i https://cdn.video.playwire.com/21772/videos/5095352/video-sd.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:FCB vs LEI 1H ENG-5095352.mp4.part'
avconv version 11.4, Copyright (c) 2000-2014 the Libav developers
  built on Mar  1 2016 12:20:19 with Apple LLVM version 7.0.2 (clang-700.1.81)
https://cdn.video.playwire.com/21772/videos/5095352/video-sd.m3u8: Protocol not found

ERROR: ffmpeg exited with code 1
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 422, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 412, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1775, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 693, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 739, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1421, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1683, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1625, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 350, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/external.py", line 43, in real_download
    self.get_basename(), retval))
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 161, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 556, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 518, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

youtube-dl finds avconv instead of ffmpeg. Could you try again with --prefer-ffmpeg? For example:
youtube-dl -v --prefer-ffmpeg http://config.playwire.com/21772/videos/v2/5095352/zeus.json

That seems to be working ... but with lots of Unable to parse errors, and it seems very slow ... is that normal?
Thank you!
$ youtube-dl -v --prefer-ffmpeg http://config.playwire.com/21772/videos/v2/5095352/zeus.json
[debug] System config: []
[debug] User config: [u'--recode-video', u'mp4']
[debug] Command-line args: [u'-v', u'--prefer-ffmpeg', u'http://config.playwire.com/21772/videos/v2/5095352/zeus.json']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.06
[debug] Python version 2.7.10 - Darwin-15.5.0-x86_64-i386-64bit
[debug] exe versions: avconv 11.4, avprobe 11.4, ffmpeg 3.1.1, ffprobe 3.1.1
[debug] Proxy map: {}
[Playwire] 5095352: Downloading JSON metadata
[Playwire] 5095352: Downloading f4m manifest
[Playwire] 5095352: Downloading m3u8 information
[debug] Invoking downloader on u'https://cdn.video.playwire.com/21772/videos/5095352/video-sd.m3u8'
[download] Destination: FCB vs LEI 1H ENG-5095352.mp4
[debug] ffmpeg command line: ffmpeg -y -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
' -i https://cdn.video.playwire.com/21772/videos/5095352/video-sd.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:FCB vs LEI 1H ENG-5095352.mp4.part'
ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 7.3.0 (clang-703.0.31)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.1.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --enable-openssl --disable-lzma --enable-nonfree --enable-vda
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 47.100 /  6. 47.100
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
[https @ 0x7f9ce0500680] Unable to parse '4373253701664373272'
[https @ 0x7f9ce070ee20] Unable to parse '3127237142909200682'
[https @ 0x7f9ce05062e0] Unable to parse '7249810112351187836'
[https @ 0x7f9ce0506880] Unable to parse '9048767392831749302'
Input #0, hls,applehttp, from 'https://cdn.video.playwire.com/21772/videos/5095352/video-sd.m3u8':
  Duration: 00:46:46.57, start: 0.000000, bitrate: 0 kb/s
  Program 0
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 83 kb/s
    Stream #0:1: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 854x480 [SAR 1:1 DAR 427:240], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
[mp4 @ 0x7f9ce0827e00] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.

I got those warnings, too. You can hit Ctrl+C and check whether the partial file FCB vs LEI 1H ENG-5095352.mp4.part can be played or not.


Contactform works ok, but page does not refresh/fields are not cleared/deleted after submitting

Contactform 2.0.2 works ok in Prestashop 1.7.1, but page does not refresh/fields are not cleared/deleted after submitting the message. Customer sees a succes message + the complete contact form they submitted.
Is there a fix?

@khouloudbelguith do you still reproduce this issue ?

@robbiebak007, No, I did not manage to reproduce the issue with PS<IP_ADDRESS> & the contactform v4.1.1
https://drive.google.com/file/d/1mIFzMWs2UMi2ot2ZMOz7H7KOzWI6ZNRD/view
Thanks!

Thanks you @khouloudbelguith , I close the issue then !
@robbiebak007 feel free to open it again if needed.


k4run: allow addition of additional parameters from steering files

Supersedes https://github.com/key4hep/k4FWCore/pull/131
With this change you can add  a parameter from a steering file by simply doing something like
from k4FWCore.parseArgs import parser
parser.add_argument("-f", "--foo", type=int, help="hello world")
my_opts = parser.parse_known_args()
print(my_opts[0].foo)

this is achieved by wrapping the python argparse.ArgumentParser into a singleton to share it with the steering file without any global variable magic. I also got rid of the usage of the ApplicationMgr global variable in k4run.
BEGINRELEASENOTES

k4run: allow addition of additional parameters from steering files

ENDRELEASENOTES

@hegner here the PR I mentioned

This PR shouldn't have been merged. This is the list of PRs with fixes for what this PR broke:

https://github.com/key4hep/k4FWCore/pull/137
https://github.com/key4hep/k4FWCore/pull/135
https://github.com/key4hep/k4FWCore/pull/138

FYI, this PR broke running fccrun with the following macro: https://github.com/BrieucF/LAr_scripts/blob/main/FCCSW_ecal/runTopoAndSlidingWindowAndCaloSim.py
fccrun runTopoAndSlidingWindowAndCaloSim.py
/home/gmarchio/work/fcc-main/FCCDetectors/
Traceback (most recent call last):
File "/cvmfs/sw-nightlies.hsf.org/key4hep/releases/2023-08-28/x86_64-almalinux9-gcc11.3.1-opt/k4fwcore/948460e49c28c33a342434334119b89969569113=develop-rstv2h/bin/k4run", line 127, in
load_file(file)
File "/cvmfs/sw-nightlies.hsf.org/key4hep/releases/2023-08-28/x86_64-almalinux9-gcc11.3.1-opt/k4fwcore/948460e49c28c33a342434334119b89969569113=develop-rstv2h/bin/k4run", line 26, in load_file
exec(file.read())
File "", line 79, in
File "", line 79, in
NameError: name 'path_to_detector' is not defined
Code works fine with Aug10 nightly but fails with Aug11 one

I can reproduce that bug, but it looks like a weird quirk of the combination of python list comprehensions and exec() see e.g. https://stackoverflow.com/questions/45132645/list-comprehension-in-exec-with-empty-locals-nameerror
Previously we passed globals() to exec so this didn't show up but that also leaked every local variable into the k4run execution.
I will look for a fix tomorrow.

@giovannimarchiori can you check if the change to k4run in https://github.com/key4hep/k4FWCore/pull/140 fixes yout problem?

Hi @Zehvogel
the initial problem I reported is fixed by #140 but then a new one appears
/home/gmarchio/work/fcc-main/FCCDetectors/
Traceback (most recent call last):
  File "/home/gmarchio/work/fcc-main/k4FWCore/install/bin/k4run", line 131, in <module>
    add_arguments(parser, ApplicationMgr())
  File "/home/gmarchio/work/fcc-main/k4FWCore/install/bin/k4run", line 65, in add_arguments
    parser.add_argument( f"--{propName}", f"--{propNameReversed}", type=proptype, help=props[prop][1],
  File "/cvmfs/sw-nightlies.hsf.org/key4hep/releases/2023-06-24/x86_64-almalinux9-gcc11.3.1-opt/python/3.10.10-4lh2y5/lib/python3.10/argparse.py", line 1441, in add_argument
    return self._add_action(action)
  File "/cvmfs/sw-nightlies.hsf.org/key4hep/releases/2023-06-24/x86_64-almalinux9-gcc11.3.1-opt/python/3.10.10-4lh2y5/lib/python3.10/argparse.py", line 1807, in _add_action
    self._optionals._add_action(action)
  File "/cvmfs/sw-nightlies.hsf.org/key4hep/releases/2023-06-24/x86_64-almalinux9-gcc11.3.1-opt/python/3.10.10-4lh2y5/lib/python3.10/argparse.py", line 1643, in _add_action
    action = super(_ArgumentGroup, self)._add_action(action)
  File "/cvmfs/sw-nightlies.hsf.org/key4hep/releases/2023-06-24/x86_64-almalinux9-gcc11.3.1-opt/python/3.10.10-4lh2y5/lib/python3.10/argparse.py", line 1455, in _add_action
    self._check_conflict(action)
  File "/cvmfs/sw-nightlies.hsf.org/key4hep/releases/2023-06-24/x86_64-almalinux9-gcc11.3.1-opt/python/3.10.10-4lh2y5/lib/python3.10/argparse.py", line 1592, in _check_conflict
    conflict_handler(action, confl_optionals)
  File "/cvmfs/sw-nightlies.hsf.org/key4hep/releases/2023-06-24/x86_64-almalinux9-gcc11.3.1-opt/python/3.10.10-4lh2y5/lib/python3.10/argparse.py", line 1601, in _handle_conflict_error
    raise ArgumentError(action, message % conflict_string)
argparse.ArgumentError: argument --SimG4Svc.SimG4FullSimActions.OutputLevel/--OutputLevel.SimG4Svc.SimG4FullSimActions: conflicting option strings: --SimG4Svc.SimG4FullSimActions.OutputLevel, --OutputLevel.SimG4Svc.SimG4FullSimActions


Error: Cannot connect to host httpbin.org:443 ssl:default [None]

Hi, Any Is there a way to fix this error?

do you use proxy?


utils: Add init.py file

Reviewers Checklist

[ ] Appropriate logging is done.
[ ] Appropriate error responses.
[ ] Handle every possible exception.
[ ] Make sure there is a docstring in the command functions. Hint: Lookout for
botcmd and re_botcmd decorators.
[ ] See that 100% coverage is there.
[ ] See to it that mocking is not done where it is not necessary.

ack https://github.com/coala/corobo/pull/319/commits/0db66f73555cc41ea6afd27e79cf961cfd60f317

@rultor merge

@rultor merge

@meetmangukiya OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@meetmangukiya Done! FYI, the full log is here (took me 2min)


cranelift-fuzzgen fuzz bug: "assertion failed: (left == right)"

This fuzzbug was discovered on OSS-Fuzz (https://oss-fuzz.com/testcase-detail/5638913573650432):
thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
--
  | left: `[I16(80), B(false), I16(80), I8(106)]`,
  | right: `[I16(0), B(false), I16(0), I8(106)]`', wasmtime/fuzz/fuzz_targets/cranelift-fuzzgen.rs:102:9

thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
  left: `[I16(80), B(false), I16(80), I8(106)]`,
 right: `[I16(0), B(false), I16(0), I8(106)]`', [wasmtime/fuzz/fuzz_targets/cranelift-fuzzgen.rs:102](https://github.com/bytecodealliance/wasmtime/blob/d620705a323e3da59bd90473b4e627c8502b1255/fuzz/fuzz_targets/cranelift-fuzzgen.rs#L102):9

base64 -d to decode testcase here:
amkgICAEIGogaiAgICCCICAg//8AAP8BamogICBQICAgICAgICA=

cc @afonso360

Formatted:
ubuntu@instance-20220805-0848:~/git/wasmtime/fuzz$ cargo fuzz fmt cranelift-fuzzgen ./4755.in --no-default-features

Output of `std::fmt::Debug`:

;; Fuzzgen test case

test interpret
test run
set enable_llvm_abi_extensions
target aarch64
target s390x
target x86_64

function u0:1(i8 sext, b1 sext, i64 sext, i16 sext) -> b1 sext, b1 sext, i16 sext, b1 sext system_v {
block0(v0: i8, v1: b1, v2: i64, v3: i16):
    v4 = iconst.i128 0
    v5 = iconst.i64 0
    v6 = iconst.i32 0
    v7 = iconst.i16 0
    v8 = iconst.i8 0
    v9 = sshr v3, v2
    return v1, v1, v9, v1
}

; Note: the results in the below test cases are simply a placeholder and probably will be wrong

; run: u0:1(32, false,<PHONE_NUMBER>818453584, 32) == [false, false, 0, false]
; run: u0:1(0, false, 0, 0) == [false, false, 0, false]
; run: u0:1(0, false, 0, 0) == [false, false, 0, false]

This looks suspiciously like some form of https://github.com/bytecodealliance/wasmtime/pull/4752

I'm not sure where you copied that assertion failure message from but the failure for this input, according to both the non-public OSS-Fuzz report and my local reproduction, is:
thread '<unnamed>' panicked at 'assertion failed: `(left == right)`
  left: `[B(false), B(false), I16(32), B(false)]`,
 right: `[B(false), B(false), I16(0), B(false)]`', fuzz/fuzz_targets/cranelift-fuzzgen.rs:102:9

Since all three test inputs have v1=false, it's not immediately obvious which one is failing, but I'm going to guess it's the first one, because if the interpreter thinks sshr 0, 0 is not 0 then I'm going to be sad.
So I'm assuming that sshr 32,<PHONE_NUMBER>818453584 is the problem, and from the assertion we see that the interpreter says the result should be 32, while the x64 backend says it's 0.

I tested this on https://github.com/bytecodealliance/wasmtime/pull/4752 (with the new changes to preserve the input format) and it no longer crashes, so I think that this should be fixed as soon as that is merged.

Can someone confirm on OSS Fuzz if this was fixed by #4752?

It was! Thanks for checking.


Add types and functionality to pass through api-information about usage etc. from OpenAI

I added the option to access the information OpenAI adds to the response about total usage etc. For this I had to modify the types slightly and adjusted the example for sentiment analysis to print the amount of tokens used.
Not sure if this works with Azure instances as well, because I don't have such an instance running.

@microsoft-github-policy-service agree [company="Intuity Media Lab GmbH"]

@microsoft-github-policy-service agree company="Intuity Media Lab GmbH"


A question about the use of "qa_id" of each dataset item

Thanks for your great work and I am a new guy in this research area. I try to follow your code and one question confuses me. In the common/dataset.py, we just concat the question and answer pair to form the input_ids and attention_masks.

And in the models/amortized_enddec.py, we input the "qa_ids" and "qa_attention" into base_lm for the "qa_loss".

I wonder if this will cause information leak to the llm, since we already input the answer with the question to it? As I mentioned I am new in this area and not familiar with the whole online adaptation pipeline. Would you kindly please give me some ideas? Looking forward to your reply.

Hi, thank you for your interest in our paper!
This is a typical way to define QA loss in the literature, and it is unrelated to online adaptation. Specifically, we use teacher forcing, which is commonly used for autoregressive modeling (using the ground truth previous tokens to predict the next token). In the QA setup, it is using the previous answer token (and the question tokens) to predict the next answer token.
Also, note that this is used for the training stage, hence, there is no leakage in the online adaptation stage (we do not use the answer when adapting and generating the answer).

https://github.com/jihoontack/MAC/blob/main/evals/qa_utils.py#L91
This part generates the answer where we do not use the answer.

We are still refactoring and polishing the code, so if you have any bugs or issues, please let us know!
Thank you again for your interest.
Best,
Jihoon

Thanks for your kind help. I have another question: what is the "lift_ratio" in the file config?


Validation of service update --publish-add in swarmkit API

This issue tries to cover the issue raised in
https://github.com/docker/docker/pull/25428#issuecomment-238413885
where the validation of service update --publish-add might hide the validation in swarmkit API.
For service update --publish-add there are several scenarios:

service update --publish-add 80:80 --publish-add 80:20 should return error
service update --publish-add 80:80 (with 80:80 already exists) should silently succeed
service update --publish-add 80:20 (with 80:80 already exists) should change the mapping to 80:20.

Item 1 can only be validated through the client (in docker) but 2 and 3 could be validated either on client (docker) side, or swarmkit side.
One thing to take notice: when swarmkit received api.UpdateServiceRequest, docker client could either just pass the delta (only publish-add or publish-rm) portConfig, or pass the whole portConfig (after apply publish-add and publish-rm). The later case will limit the ability for swarmkit to perform validation as swarmkit.

My vote is to send the whole port config as part of UpdateServiceRequest (in the ServiceSpec, as before), instead of sending a delta. Our API is based on desired state reconciliation, and I think it would take a very strong argument to change this model.

@yongtang Can you comment on what else has to be done to close this issue? Did #1349 close this issue? If not, what else needs to be fixed?

@dperny With #1349 merged, I think all the listed items in this issue has been covered.
The PR #1349 assumes that the client (docker side) always requests for desired state, and swarmkit will return error (no normalizing or sanitizing the request). If this is the right assumption then I think this issue could be closed.

--publish-rm 82:80 fails when I published before with the same port pair. Full commands are:
docker service update --publish-add 80:80 root_nginx
docker service update --publish-add 81:80 root_nginx
docker service update --publish-rm 81:80 root_nginx

I'd expect that only 80:80 is left, but the only thing that works is --publish-rm 80 but that removes both bindings instead of only one.

@sheerun this isn't an issue with --publish-add, I think it's an issue with --publish-rm Would you mind opening a new issue with that problem? I'm going to close this issue because I think it's taken care of.


Issue #271110 - Attempt to pass -DarchetypeRepository to 3.x maven-archetype-plugin

The fix of BZ #271110 was pushed to Mercurial by @tstupka a couple months before the initial code donation, but apparently was never ported to Git. I am very disturbed that at least two months’ worth of commit history seems to have been discarded. What else was lost?

Not much happened in the months prior to the initial code donation, so not much could have been lost.

I think that @tstupka should create a PR if possible because he is the author of the code.

Ah, sorry, it's your patch.

Thanks, merging.

all people listed as committers in mercurial, that created commits after the donation

BTW in this case I was not listed even as the author, since the patch was applied without the right hg command.


How to Use Python Tkinter to Make a Music Player GUI

We ask that you please be patient as our team works through approving and publishing all articles/tutorials in a timely manner. Allow 1-3 days for a topic to be reviewed and/or approved - allow 3-7 days for an articles to be reviewed and/or published.
Be sure to visit our Resources Page for tools, resources, and example articles to go over.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
NOTE: We tend to stray away or tend not to publish reviews/comparisons of commercial product offerings.
We're looking for the first 2-3 paragraphs of the article that appropriately summarize what your article will be about.
Proposed title of article
How to Use Python Tkinter to Make a Music Player GUI
Introduction paragraph (2-3 paragraphs):
A graphical user interface (GUI) allows users to interact with electronic devices using electronic symbols, as opposed to text-based user links, typed commands, or text exploration. GUIs were designed in response to command-line networks, an apparent steep learning curve, which requires command input via a computer keyboard.
In most cases, activities in a GUI are performed by directly manipulating the graphical elements. GUIs are utilized in a range of mobile gadgets, including MP3 players, gaming devices, workplaces, and industrial controllers, in addition to computers.
In this tutorial we will learn how to build a music player GUI using python.
Key takeaways:

understand the basic concept of GUI and its functions.
be able to build a music player GUI from scratch.

References:
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Good afternoon and thank you for submitting your topic suggestion. @majiezra
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

Hello @majiezra, Upon a quick google search, there are several articles on this topic. Can you explain how your article will be different from the ones that exist? Thank you.

Hello @lalith1403, This tutorial is a follow-up to a previously published essay on this platform by me (https://www.section.io/engineering-education/introduction-to-gui-in-python-using-tkinter/). This post will go over the pygame module and its basic tools and applications in greater depth, as well as educate the reader on how to create a music app.
thank you

@lalith1403, could you follow up on this when you have time? Thanks.

This is a good topic to explore. Be sure to focus on building the application and cover each step in detail. Thank you.

@majiezra
Just wanted to follow up on this topic, as we will be clearing up the queue where possible.
Just and FYI I will be closing this topic form just to help clear up the queue where possible - can be REOPENED at anytime when ready. 👍


net-mgmt/telegraf: add unbound

Add unbound statistics and change permissions (add group wheel)

Merged, thanks!


Figure 7 is too small. Unreadable on the printed version

It should use the full width of the document.

All figures needs to be overlooked and perhaps redrawn so this will be handled when we are doing that.


Mod Request

i dont want to sound pushy but here goes, i want to request a mad that will allow you to type in a code or press a button and it would give you every single gun in the game, there was this mod that i used all the time https://github.com/Xekep/ZOMBIZDER that would act like a cheat code enterer, if you entered the code iddqd you would give you all weapons, if you entered in idkfa you would enter god mod etc etc, but when uplay changed their name it broke,i was wondering if you could replicate that as a mod as i dont have any modding experience

I do have plans to add a dev console to the loader that would have features like this, however my backend does not currently support giving weapons, I still need to work on that since I'm still in a very early stage of development.

@Darkstar6423 I may be able to help to a degree in the dev console area for giving items and weapons.
I have already made a private trainer (Written in C++) And can offer a great deal of help if you want to collab!
My discord is here -> Külf#0001

I do have plans to add a dev console to the loader that would have features like this, however my backend does not currently support giving weapons, I still need to work on that since I'm still in a very early stage of development.

@Darkstar6423 I may be able to help to a degree in the dev console area for giving items and weapons.
I have already made a private trainer (Written in C++) And can offer a great deal of help if you want to collab!
My discord is here -> Külf#0001


Add phantomJS support

adds support for phantomjs resolves #186 and part of #142

Should we also update this test, getCapabilitiesFromList , in the same test class?

@plessbd

sorry it took so long, snow in the north east makes life difficult.


Enhancement -> Style Setting for a custom background image

I did not know that it was possible to have a custom background image as part of a theme in Obsidian, but now that I myself have gotten into making themes, I know that it is indeed possible.
After some digging, I found some sample code that can make this possible
.horizontal-main-container { /* below is the background image. Change it to whatever you want */
    background: url(https://images.unsplash.com/photo-1454496522488-7a8e488e8606?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2076&q=80);
    background-size: cover;
}

Pulled from here
The benefit of such a feature is immense. It can make different vaults stand out even more when Alt+Tabbing, or give the document a more "notebook" feel. Moreover, it can help vaults that use the same accent colour stick out from each other by simply changing the background image.

I've explored this a bit, and I think having a background image would work well for some themes, but isn't a good fit for Kakano. The problem is that the Kakano design puts text directly on the background. If there's also a background image it can make the text hard to read.

If you're OK with that, or if you're happy to select an image that works well for your vault, here's a snippet you can use with Kakano.
.app-container {
  --backgroundImageUrl: url(https://images.unsplash.com/photo-1454496522488-7a8e488e8606);
  --gradientOverlayPercentage: 50%;
  background-image: linear-gradient(
      to bottom,
      color-mix(
        in srgb,
        var(--theme-color-gradientTop) var(--gradientOverlayPercentage),
        transparent
      ),
      color-mix(
        in srgb,
        var(--theme-color-gradientBottom) var(--gradientOverlayPercentage),
        transparent
      )
    ),
    var(--backgroundImageUrl);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.workspace-split.mod-root {
  background: transparent;
}

There are two variables at the top to modify:

backgroundImageUrl is web address for your image. I've used your example https://images.unsplash.com/photo-1454496522488-7a8e488e8606, but change it to whatever you like.
gradientOverlayPercentage sets how much of the normal Kakano gradient background should be overlaid onto the image. My screenshot above has 50%, and I think you'll want it around 80% for a typical photographic image to keep text visible. If you have a very low-contrast image though, you could bring it down to zero.

Hope that's useful!

Honestly, you're right. Some images will look nice with a background image and some blur, but I do think that it's best to leave that up to the user entirely. Thanks for the snippet though! I'll be sure to use it in my vaults if I need to.


ACME server URL host and ACME private key registration host differ. Re-checking ACME account registration

Problem details:
There was a working cert-manager on my old Kubernetes cluster. Now I just rebuilt this complete Kubernetes cluster.
I use the 1.0.0 cert-manager version. The all required three pods started as required.
Cloud you please help in this issue? I tried to do a lot of possible solution/things but one of them was good for me.
I hope that I attached all things what required.
Technical Information:
root@kubernetes-master-01:~/certmanager# k get po -owide -n cert-manager
NAME                                      READY   STATUS    RESTARTS   AGE     IP           NODE                   NOMINATED NODE   READINESS GATES
cert-manager-65b7c8bd86-nz6jn             1/1     Running   0          6m29s   <IP_ADDRESS>   kubernetes-worker-01   <none>           <none>
cert-manager-cainjector-5d5698ff5-kr4sk   1/1     Running   0          6m29s   <IP_ADDRESS>   kubernetes-worker-03   <none>           <none>
cert-manager-webhook-7d674bbb8d-6fqw2     1/1     Running   0          6m29s   <IP_ADDRESS>   kubernetes-worker-02   <none>           <none>

NGINX:
root@kubernetes-master-01:~/certmanager# k get po -owide
NAME                                           READY   STATUS    RESTARTS   AGE   IP           NODE                  NOMINATED NODE   READINESS GATES
ingress-nginx-nginx-ingress-7cb4cc7d4f-f6ssp   1/1     Running   0          30m   <IP_ADDRESS>   kubernetes-infra-01   <none>           <none>

LOGS:
root@kubernetes-master-01:~/certmanager# k logs -f cert-manager-webhook-7d674bbb8d-6fqw2
Error from server (NotFound): pods "cert-manager-webhook-7d674bbb8d-6fqw2" not found
root@kubernetes-master-01:~/certmanager# k logs -f cert-manager-webhook-7d674bbb8d-6fqw2 -n cert-manager
W1017 17:38:38.928974       1 client_config.go:608] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
I1017 17:38:38.929428       1 webhook.go:57] cert-manager/webhook "msg"="using dynamic certificate generating using CA stored in Secret resource"  "secret_name"="cert-manager-webhook-ca" "secret_namespace"="cert-manager"
I1017 17:38:38.929765       1 server.go:146] cert-manager/webhook "msg"="listening for insecure healthz connections"  "address"=":6080"
I1017 17:38:38.929842       1 server.go:159] cert-manager/webhook "msg"="listening for secure connections"  "address"=":10250"
I1017 17:38:38.929957       1 server.go:185] cert-manager/webhook "msg"="registered pprof handlers"
I1017 17:38:38.933065       1 reflector.go:207] Starting reflector *v1.Secret (1m0s) from external/io_k8s_client_go/tools/cache/reflector.go:156
I1017 17:38:39.998126       1 dynamic_source.go:199] cert-manager/webhook "msg"="Updated serving TLS certificate"

root@kubernetes-master-01:~/certmanager# k logs -f cert-manager-cainjector-5d5698ff5-kr4sk -n cert-manager
I1017 17:38:39.578921       1 start.go:89] "starting" version="v1.0.0" revision="28f102f3333e471a60d090fca6ca7f299e1285fb"
I1017 17:38:40.340461       1 leaderelection.go:243] attempting to acquire leader lease  kube-system/cert-manager-cainjector-leader-election...

I1017 17:40:04.765467       1 reflector.go:207] Starting reflector *v1beta1.Ingress (30s) from external/io_k8s_client_go/tools/cache/reflector.go:156
I1017 17:48:58.183905       1 setup.go:90] cert-manager/controller/clusterissuers "msg"="generating acme account private key" "related_resource_kind"="Secret" "related_resource_name"="letsencrypt-staging" "related_resource_namespace"="cert-manager" "resource_kind"="ClusterIssuer" "resource_name"="letsencrypt-staging" "resource_namespace"="" "resource_version"="v1"
I1017 17:48:58.727629       1 setup.go:178] cert-manager/controller/clusterissuers "msg"="ACME server URL host and ACME private key registration host differ. Re-checking ACME account registration" "related_resource_kind"="Secret" "related_resource_name"="letsencrypt-staging" "related_resource_namespace"="cert-manager" "resource_kind"="ClusterIssuer" "resource_name"="letsencrypt-staging" "resource_namespace"="" "resource_version"="v1"
E1017 17:48:58.822390       1 setup.go:218] cert-manager/controller/clusterissuers "msg"="failed to verify ACME account" "error"="Get \"https://acme-staging-v02.api.letsencrypt.org/directory\": x509: certificate is not valid for any names, but wanted to match acme-staging-v02.api.letsencrypt.org" "related_resource_kind"="Secret" "related_resource_name"="letsencrypt-staging" "related_resource_namespace"="cert-manager" "resource_kind"="ClusterIssuer" "resource_name"="letsencrypt-staging" "resource_namespace"="" "resource_version"="v1"

Steps to reproduce the bug:
$ helm install   --name cert-manager   --namespace cert-manager   --version v1.0.0   jetstack/cert-manager --set installCRDs=true
$ k create -f cluster-issuer.yaml
$  k get po -owide -n cert-manager
NAME                                      READY   STATUS    RESTARTS   AGE   IP           NODE                   NOMINATED NODE   READINESS GATES
cert-manager-65b7c8bd86-vfchd             1/1     Running   0          20m   <IP_ADDRESS>   kubernetes-worker-02   <none>           <none>
cert-manager-cainjector-5d5698ff5-tkn9t   1/1     Running   0          20m   <IP_ADDRESS>   kubernetes-worker-01   <none>           <none>
cert-manager-webhook-7d674bbb8d-6jz2s     1/1     Running   0          20m   <IP_ADDRESS>   kubernetes-worker-03   <none>           <none>

Environment details:

Kubernetes version: v1.18.3
Cloud-provider/provisioner: KVM BareMetal
cert-manager version:1.0.0
Install method: helm (Basic configuration what was describe in the official page)
OS: Ubuntu 20.04
Container Engine: Docker

/kind bug

The problem has been solved by me. The problem was the following:
There was a search domain section in /etc/resolv.conf. I just edit the netplan configuration file, and I just removed the search domain section in the file.
$ netplan apply
I repeat these steps on each nodes, and finally I restarted the cert-manager pods and  nginx controller too.
After these steps the cluster issuer creation was smooth.
Thank you.

This also was the fix for me.  In a new cluster not on my domain I still had a 'search' line in my /etc/resolv from when I originally built the vms before moving them to the public network.  This being a public network, the search was invalid.  After removing that line I was able to get past the error.

This all depends on how your local dns server handles requests ... I saw in my local dns server a cached failed attempt for "acme-staging-v02.api.letsencrypt.org.my-domain.local ... you can change this behavior by adding a dot "." to the end of the domain-name as follows  --
 Server:  https://acme-staging-v02.api.letsencrypt.org./directory

For whatever reason the DNS provider needs to contact the cluster (control-plane-endpoint) to get ACME registration done.
And for some strange reason the DNS does not use /etc/hosts.
My problem was that I had 2 nameservers in /etc/resolv.conf and one of them would resolve my cluster name to the "outside world" ip. cert-manager apparently caches this on startup, so it was a bit random if it worked or not after a restart.

I am in this rabbit hole.   I have pfsense managing dns, suspicion is that 443 is getting blocked some where while verification is required.  Applied the changes as suggested in this blog (removing search line and applying netplan).  I guess need something more to resolve.


[FEATURE] XciT model soon?

Paper- https://arxiv.org/pdf/2106.09681.pdf

Yes, soon ;)

Yes, soon ;)

Great 😁

PR is up https://github.com/rwightman/pytorch-image-models/pull/747 @nakshatrasinghh

Really appreciate it @alexander-soare. @rwightman I tried using Xcit with timm, even after updating the version, it doesn't seem to appear in the timm.list_models("*"). Any reasons why?

@nakshatrasinghh what are the steps you've take to udpate timm?

@alexander-soare pip3 install -q --upgrade timm

Yep so you need pip install -u git+https://github.com/rwightman/pytorch-image-models.git

Great, it seems to work, thanks a lot.


remove cli installation from setup script

Description
We no longer do this by default. The cli is installed in the dockerfile, and if users want to use the remote version these instructions are in the docs.
Related PRs
List related PRs if applicable
Todos

[ ] Tests
[ ] Documentation
[ ] Link to Trello

@martineehrlich this is no longer needed as the CLI has been removed from the install script in https://github.com/sparkswap/broker/pull/454


Part 3 - RedNAND setup

Step 8 of the instructions states "Ignore the starter.bin prompt and press A to continue". EmuNAND9 requires you to press down, up, left, right, A to continue.


Update Ruby version

Update Ruby version since the version in this repo is quite old

Updated to 2.5.3


Bumped production RELEASE for 1.19-22

Bumped production RELEASE for 1.19-22
closes #1141
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve

/unhold
/approve


Setup script doesn't work on IPv6-only machine

Environmental Info:
K3s Version:
k3s version v1.24.3+k3s1 (990ba0e8)
go version go1.18.1
Node(s) CPU architecture, OS, and Version:
Linux control-1 5.15.0-43-generic #46-Ubuntu SMP Tue Jul 12 10:30:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Cluster Configuration:
3 servers, 2 agents
Describe the bug:
The download of files from github.com fails, starting with the hash file.
Steps To Reproduce:

Get a virtual machine without access to ipv4 (e.g. Hetzner Cloud server)
run curl -sfL https://get.k3s.io | sh -s -

Expected behavior:
The install script works or at least gives me a hint that it doesn't work on ipv6-only machines
Actual behavior:
After figuring out the version to download, the script stops, without downloading.
[INFO]  Finding release for channel stable
curl: (7) Couldn't connect to server
[INFO]  Using v1.24.3+k3s1 as release
[INFO]  Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.24.3+k3s1/sha256sum-amd64.txt

The order of messages is also confusing, the message curl: (7) Couldn't connect to server comes before the Downloading hash XXX message, making it look as if a previous download failed and the hash download succeeded.
Additional context / logs:
The problem here is that GitHub does not serve ipv6 with their github.com address. See this discussion: https://github.com/orgs/community/discussions/10539
raw.githubusercontent.com seems to have at least AAAA records and they are pingable

The problem here is that GitHub does not serve ipv6 with their github.com address.

I'm not sure this is something we can fix, but I guess we could document it. Since you're the first to complain about it, I suspect not many folks have pure ipv6 nodes.

I agree that you can't do much about what GitHub does and does not (except rage in discussions and forums).
I updated the description with the actual log output, so you can see what you could improve. As you can see, the curl output shows before the download and the script does not output "Download failed". I don't know if that has something to do with the shell. Ubuntu 22.04 LTS uses the dash for the /bin/sh, this is the version info I get from apt: 0.5.11+git20210903+057cd650a4ed-3build1
Some documentation would also be nice.
As a bad workaround, you could go to the releases page on github, copy the commit id of the newest release and do export INSTALL_K3S_COMMIT=<NEWEST_COMMIT_ID> before running the install command. I just did that with success. Maybe that's also something for the documentation.

Commit installs come from S3, which does support ipv6.

I'm not sure this is something we can fix, but I guess we could document it. Since you're the first to complain about it, I suspect not many folks have pure ipv6 nodes.

Ever heard of gitlab.com? ;) This is just another issue proving to me that moving our projects there was a really good idea.
Everyone's been talking for years about IPv4 namespace being exhausted, about how it's time to move to IPv6 eventually for all of its benefits. And github.com owned by one of the major tech companies (which is running a major cloud service consuming lots of IPv4 addresses for sure) is failing to assign an IPv6 address to the sun of a universe of projects relying on it. Seriously?
Actually, using public IPv4 addresses has become a matter of costs nowadays. Hetzner for example is charging extra per server which is definitely sth. I'd like to prevent when setting up a cluster of such servers.

We're not planning on changing to a different project host. Do you have anything reasonable to suggest for users that want to install on ipv6 only nodes, or did you just want to soapbox for a moment?

I was just opposing to the fact that there is nothing you could do about it. Using multiple remote repositories is a feature of git that's available, too. IMHO, doing so would be solution-oriented. IoT is one of the major forces behind the growing demand for a viable public network based on IPv6. If a contemporary IPv6-only IoT device isn't capable of reaching out to a product like k3s for installation, I'd prefer having solutions at hand for that. Since I'm no k8s expert at all (thus being attracted by k3s' offer for a simple start with k8s) I don't have a solution myself other than setting up reverse proxies to overcome such shortcomings on behalf of github/Microsoft. But most simple solution seems to be a second remote repository hosted by a different git provider.
Sorry for ranting about github as I don't get it how a company like Microsoft is failing to offer IPv6 connectivity for it.  Sorry for that.

Closing this as GH is now rolling out IPv6 endpoints, see latest updates on discussion linked.

Just sharing my experience with IPv6-only node install. TLDR: It's not for tomorrow.

As mentioned above, release hashes is retrieved by the install script from GitHub, which fails because github.com doesn't have IPv6. This can be worked-around by using INSTALL_K3S_COMMIT=abce... env var to bypass the hash finding.
But then, as mentionned above, the script tries to download the packages from AWS S3 (k3s-ci-builds.s3.amazonaws.com) which unlike suggested above, does NOT support IPv6. But this can be worked-around by modifying script to use the S3 dual-stack endpoint (k3s-ci-builds.s3.dualstack.us-east-1.amazonaws.com).

It seems that with these 2 work-arounds, the script finally passes. It installs and starts k3s successfully.
BUT then, k3s never fully configures, because any pod it tries to start fails downloading the Docker image, simply because docker.io doesn't support IPv6 either.
To sum up, IPv6-only is not for tomorrow out of the box. Too many cloud services out there still don't support it. Here we've identified GitHub, AWS and DockerHub. It's probably only the tip of the iceberg but that's enough for me to give up now and keep paying for IPv4 addresses a while longer.


[SPARK-33426][SQL][TESTS] Unify Hive SHOW TABLES tests

What changes were proposed in this pull request?

Create the separate test suite org.apache.spark.sql.hive.execution.command.ShowTablesSuite.
Re-use V1 SHOW TABLES tests added by https://github.com/apache/spark/pull/30287 in the Hive test suites.
Add new test case for the pattern 'table_name_1*|table_name_2*' in the common test suite.

Why are the changes needed?
To test V1 + common  SHOW TABLES tests in Hive.
Does this PR introduce any user-facing change?
No
How was this patch tested?
By running new test suite:
$  build/sbt -Phive-2.3 -Phive-thriftserver "hive/test:testOnly org.apache.spark.sql.hive.execution.command.ShowTablesSuite"

@cloud-fan @HyukjinKwon Could you take a look at this PR, please.

Test build #130947 has started for PR 30340 at commit 4fb6ddc.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35553/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35553/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35553/
Test PASSed.

Test build #130947 has finished for PR 30340 at commit 4fb6ddc.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130947/
Test PASSed.

Test build #130978 has started for PR 30340 at commit 8dfd9c7.

Test build #130978 has finished for PR 30340 at commit 8dfd9c7.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130978/
Test FAILed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35584/

Test build #130984 has started for PR 30340 at commit fb74566.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35584/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35584/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35590/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35590/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35590/
Test PASSed.

Test build #130991 has started for PR 30340 at commit bd0f785.

Test build #130984 has finished for PR 30340 at commit fb74566.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait ShowTablesSuite extends QueryTest with SharedSparkSession

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130984/
Test FAILed.

Test build #130994 has started for PR 30340 at commit 7eab687.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35597/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35600/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35597/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35597/
Test FAILed.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35600/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35600/
Test PASSed.

Test build #130991 has finished for PR 30340 at commit bd0f785.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait ShowTablesSuite extends QueryTest with SQLTestUtils
trait ShowTablesTests extends CommonShowTablesSuite
class ShowTablesSuite extends CommonShowTablesSuite with SharedSparkSession
class ShowTablesSuite extends v1.ShowTablesTests with TestHiveSingleton

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130991/
Test FAILed.

Test build #130994 has finished for PR 30340 at commit 7eab687.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait ShowTablesSuiteBase extends QueryTest with SQLTestUtils
  case class ShowRow(namespace: String, table: String, isTemporary: Boolean)
trait ShowTablesSuiteBase extends command.ShowTablesSuiteBase
class ShowTablesSuite extends command.ShowTablesSuiteBase with SharedSparkSession
class ShowTablesSuite extends v1.ShowTablesSuiteBase with TestHiveSingleton

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130994/
Test FAILed.

retest this please

Test build #131015 has started for PR 30340 at commit 7eab687.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35621/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35621/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35621/
Test PASSed.

Test build #131015 has finished for PR 30340 at commit 7eab687.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait ShowTablesSuiteBase extends QueryTest with SQLTestUtils
  case class ShowRow(namespace: String, table: String, isTemporary: Boolean)
trait ShowTablesSuiteBase extends command.ShowTablesSuiteBase
class ShowTablesSuite extends command.ShowTablesSuiteBase with SharedSparkSession
class ShowTablesSuite extends v1.ShowTablesSuiteBase with TestHiveSingleton

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/131015/
Test PASSed.

thanks, merging to master!


examples/console: add a lightweight example

This PR is a WIP, and at this point is me mostly experimenting.
What
Add a lightweight example using the sdk's state package.
Why
To learn how easy the API is to use now in lightweight application. To learn how other problems we know need solving get solved if they aren't implemented as part of the SDK. To demonstrate what's working at the moment.
This will also likely be foundation for #40 in next milestone.
Close #122

This example code is worthy of merging at this point I think.
The PR has some code in it that we could migrate into the SDK, like the Submitter and ChannelSubmitter classes, but we can circle back to doing that later. Those classes are helpful utilities.
The example is truly an example and optimizes for simplicity rather than completeness. However, it adequately demonstrates some major use case: 1) happy path, 2) other participant disappears. It doesn't demonstrate contesting or a bad actor.

@leighmcculloch still taking a look at this but first thought is could we add a README? trying to run it I'm getting an error, but I'm definitely doing something wrong
ran this command:
go run . -account GDA47MAGFUB4XDZMWAVHUAU6KUU7JOSX5PDURBZ2MWTF7WWPWAWE56W3 -signer SALRWV7PJUHBZRW27POF5JN7IKKQHKKWLCSWYUJAKURASR2IJHAU45HB

with a fresh local Horizon so makes sense account doesn't exist, but then getting this error
account GDA47MAGFUB4XDZMWAVHUAU6KUU7JOSX5PDURBZ2MWTF7WWPWAWE56W3 does not exist, attempting to create using network root key
error: Failed to parse account sequence number: strconv.ParseInt: parsing "": invalid syntax

Thanks, I added a readme and pushed a fix to the bug you were seeing.


Commit

Related Issue
#801
#801
Description
Language translator has been implemeted successfully. Kindly review it.
Type of PR

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
https://github.com/Suchitra-Sahoo/AgriLearnNetwork/assets/119414762/1dcd275c-f009-48f4-a1b4-192debf9ad63
Checklist:

[x] I have performed a self-review of my code
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

Additional context:
Kinldy review it and add relevent level to the PR.

Everything in navbar has got mixed up. The language changing option should look similar to other navbar options. Keep only indian languages.

@Suchitra-Sahoo  Yes for that we have alter some changes in css file for alignment.
For similarity it will be achieved in  next commit.
As it is Provided by google so all language are inlcuded so in order to customize the language as per your point of view then it will more lengthy.

Okay but then this feature will not be useful for the website. I am attaching an example where you can see that there are only few specific languages and the option is matching with navbar too.

So inform me whether you will be able to create something like this or not.

@Suchitra-Sahoo  Yes i can customize the types of language, that it will consist of indian native languages.
I can style the navbar in proper manner.
@Suchitra-Sahoo

gothrough it

Try to make something as provided by me in previous image bcs the second one is very simple and will look totally different in navbar.

@Suchitra-Sahoo  Its just the image depicts that i can integrate the native indian languages i will add more styling to it.
Kinldy open the issue i want to work on it.


Add Interface Iterable to SequentialStream

There is an interesting discussion at https://github.com/jOOQ/jOOL/issues/58 targeting a similar behavior of a Stream wrapper like SequentialStream.

dropped the Stream wrapper feature. Instead implemented a javaslang.collection.Stream which also allows intermediate operations without having parallel functionality. The syntax is much more concise than java.util.stream.


Release 0.49.0

Target release date is Saturday February 26.
post pony_test breakage PR:
every "update to work" below includes switching any pr tasks to run against latest/nightly/nightlies in pr.yml for the respective project. each "update to work" below should have release notes that  state that it is a fix to work with the renaming of ponytest to pony_test. The release notes should link to https://github.com/ponylang/ponyc/pull/4032.
Example release notes for the below that only involve PonyTest.
## Update to work with ponytest name change in Pony 0.49.0

The Pony unit testing framework PonyTest had [its package name renamed](https://github.com/ponylang/ponyc/pull/4032) from `ponytest` to `pony_test` to match standard library naming conventions. We've updated to account for the new name.

[x] update appdirs to work
[x] update peg to work
[x] update corral to work
[x] update crypto to work
[x] update fork_join to work
[x] update regex to work
[x] update net_ssl to work
[x] remove ponycheck dependency from corral.json and lock.json for valbytes
[x] update valbytes to work
[x] update logger to work
[x] update reactive_streams to work
[x] update semver to work

Post-release tasks:

[ ] release new version of library documentation action
[ ] update with documentation in the tutorial
[ ] do new corral release to get updated to latest runtime to attempt to address weirdness on windows
[ ] move mac tools install back to release and use release docker image for linux PR builds in changelog-tool
[ ] merge object capabilities pony patterns change
[ ] merge rfc #72 related tutorial updates
[ ] merge PonyTest rename updates to the Tutorial
[ ] merge PonyTest rename updates to Pony Patterns
[ ] merge PonyCheck addition to the Tutorial
[ ] merge website updates
[ ] merge PonyCheck is now in stdlib PR for PonyCheck
[ ] archive the ponylang/ponycheck repository
[ ] set appdirs back to release in pr.yml
[ ] release appdirs 0.1.5
[ ] set peg library pr.yml back to run against release pony
[ ] release peg library 0.1.4
[ ] set corral pr.yml and nightlies.yml back to run against release pony builds
[ ] release corral 0.5.7
[ ] set crypto pr.yml back to run against release builds
[ ] release crypto 1.1.4
[ ] set fork_join pr.yml back to run against release builds
[ ] release fork_join 0.1.1
[ ] set regex pr.yml back to run against release builds
[ ] release regex 1.1.5
[ ] set net_ssl pr.yml back to run against release builds
[ ] release net_ssl 1.2.1
[ ] set valbytes pr.yml back to run against release builds
[ ] release valbytes 0.6.2
[ ] set logger pr.yml back to run against release builds
[ ] release logger 1.0.1
[ ] set reactive_streams pr.yml back to run against release builds
[ ] release reactive_streams 0.2.1
[ ] set semver pr.yml back to run against release builds
[ ] release semver 0.2.4

2nd round:

[ ] update glob to work with 0.49.0
[ ] release glob 1.0.6
[ ] update changelog-tool to work with 0.49.0
[ ] update github_rest_api to work with 0.49.0
[ ] update http to work with 0.49.0
[ ] release http 0.5.2
[ ] remove ponycheck dependency from corral.json for http_server
[ ] update http_server to work with 0.49.0
[ ] release http_server 0.4.1
[ ] remove ponycheck dependency from corral.json for templates
[ ] update templates to work with 0.49.0
[ ] release templates 0.2.3

3rd round:

[ ] update ponyup to work with 0.49.0
[ ] update pony-sync-helper to work with 0.49.0
[ ] update rfc-tool to work with 0.49.0

4th round (sean personal)

[ ] update lori
[ ] release lori 0.2.1
[ ] update msgpack
[ ] release msgpack 0.2.4

Release is underway


IsDirty property on class never changes from False value?

Hello T10 team,
I just started to use the Nuget validation package in my app and I am noting that the IsDirty property on the class never changes from False.
The doco does not state exactly what this property does so here is my assumption.
I assume it tracks if any data has been changed in your class. I think the use of this would be in say your Save command on the CanExecute side you can look at the IsDirty and IsValid properties.  This means you only light up the Save button when the user has modified some data and it also passes your validation rules.
That is how I assume IsDirty works.  Looking at the IsDirty property on the class it never changes from False.  I can see my IsValid on the class change as my validation logic is tested.
Is my assumption on how the IsDirty is meant to work correct and any idea's on why it is not working as expected?  A quick look at the Class implementation of the IsDirty property and I cannot see how it is bound to the many properties IsDirty of the fields in the class?
Cheers
Chris ....

Hi @Chris-Marassovich
As I understood the IsDirty working is, the first/last value of the property is changed to the new one,
so on start-up, the first value of the property is = "", and you change it to the new one like = "hello",
the IsDirty changes to the true value, and the OriginalValue stays to= "".
However, the whole scenario is for example, if you have an object obj1 with properties like prop1 and prop2,
and at the initializing ob1 = new obj1() { prop1 = “”, prop2=””}, optionally Validate() it on startup.
And the process follows, if you change value for prop1 or prop2, the IsDirty property changes to = true for each changed property, and the OriginalValue stays =””, like old one in this case.
So the IsDirty property is not changed for obje1 itself unless you do not bind-it or change it programmatically.
Hope this could help you!
Regards,
Isa.

@IsmajlMaliqi
Are you saying that it is my responsibility, using your example above, that I must monitor prop1 and prop2 for changes and set IsDirty on obj1 myself?
Mmm that does not follow the pattern for IsValid.  Changes to IsValid on prop1 and prop2 flow up to IsValid on obj1.
My gut feeling and reading of the code is that the IsDirty class property is not quite implemented yet.  :-( note I am not a skilled C# dev so please take my last comment as such.
Cheers
Chris ...

for what it is where here is one of his original posts using this method of validation in Windows 8.1 before it was slightly modified for UWP
http://blog.jerrynixon.com/2014/07/lets-code-handling-validation-in-your.html

Thanks @Chris-Marassovich. Real bug. Fixed in repo.


[BZ-1266076] add support for guided rule templates with DSL

guided templates use the same mechanism as guided dtables. If it
contains DSL sentences, the generated string is treated as DSLR,
otherwise as standard DRL

Merged by https://github.com/droolsjbpm/drools/commit/6bc7cdb4a


Renaming the 'related lessons' section?

I think linking out to lessons from other areas is a great idea, but would like to see a more 'friendly' or appealing way to describe them - 'other Griffith units' doesn't really explain for people. But ... I don't have a good recommendation either, so hopefully someone else is feeling inventive

It is from eResearch so I might just say that.


Localization strings does not updated

all nibs updated but I want to update Localizable.strings
`if which bartycrouch > /dev/null; then
# Incrementally update all Storyboards/XIBs strings files
bartycrouch interfaces -p "$PROJECT_DIR"
# Add new keys to Localizable.strings files from NSLocalizedString in code
bartycrouch code -p "$PROJECT_DIR" -l "$PROJECT_DIR" -a -s

else
echo "warning: BartyCrouch not installed, download it from https://github.com/Flinesoft/BartyCrouch"
fi`
I have Localizable.strings in my project but it's seems can't find Localizable.strings file
I got this message
Error! No localizations extracted from Code in directory '/Users/jord/Desktop/Test/test'.
any advice please.

I forget build project to update
every thing work now thanks :)

Can you provide a demo project, please? Also, which version of BartyCrouch are you using?

Ahh, now that I have looked at this in more detail, note that the error explicitly states that it couldn't extract any localizations from Code, which could simply be the case because your files don't contain any NSLocalizedString entries. I'm not sure why this is an Error!, maybe we should change it to Warning! but in any case this is not a problem. Actually the command line should return status ok as you can see in this line.

Test.zip
Can you tell me what I missing in my demo
I but my localization string files in folder Localizable inside my project folder and user this script in Xcode
bartycrouch code -p "$PROJECT_DIR/$PROJECT_NAME/Localizable" -l "$PROJECT_DIR/$PROJECT_NAME/Localizable" -a -s
Thanks.

Thanks for your help 👍


SOLR-16179 : Updated the documentation as reported in the ticket , along with the examples

https://issues.apache.org/jira/browse/SOLR-16179
Description
terms.fl can be specified in the query multiple times, which is not clear from the documentation.
Solution
Added the respective documentation with examples in JSON and XML
Tests
Reviewed the created doc with asciidoctor and verified the changes.
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[x] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[x] I have run ./gradlew check.
[ ] I have added tests for my changes.
[x ] I have added documentation for the Reference Guide

The rest of the Terms page ONLY has xml...    And since the xml output and the json output are really jsut the same, I don't think having both formats helps the readability.   I could see a case for just using JSON everywhere????


alignment of language and pricing section in dark mode

Related Issue
None
Fixes:  #849
Description
The alignment of the literature book section and pricing section is off because the grids in these sections are not the same size. In light mode, the size of these grids is not visible because the grid color and background color are the same. However, in dark mode, they are evident. After the changes you can see the size of all grids are the same and responsive.
Fixed Issue #849

Type of PR
[  ] Bug fix
[✅] Enhancement
[  ] Documentation update
[  ] Other (specify): _______________
Screenshots / videos (if applicable)
[I've attached the relevant screenshots that are before & after screenshots]
BEFORE

AFTER

Checklist:

[✅] I have made this from my own
[✅] My code follows the style guidelines of this project
[✅] I have performed a self-review of my own code
[✅] I have made corresponding changes to the documentation
[✅] My changes generate no new warnings
[✅] I have tested the changes thoroughly before submitting this pull request.
[✅] I have provided relevant issue numbers, screenshots, and videos after making the changes.

is it responsive @Vijayaa21 ?

is it responsive @Vijayaa21 ?

yes, it is


Client

Makes the client code a lot better. Creation of a ClientLib module (that could be exported to clients).

@vamsikc @colinman did some work on client module, check it out make sure its sane. everything works equivalently as far as i can tell!

Sweet - much nicer! If everything works let's merge it in