Segmentation fault on start

I've built from source, and I get a segmentation fault when I try to start the program.  No warnings, no explanations, no log files, just
$ ahoviewer
Segmentation fault
$

I'm at a bit of a loss as to what to do.
I'm on Debian 10.3, GNOME 3.30.2 ... using Wayland, I think?

This probably has something to do with Wayland, but I have no method of testing.
If you could run ahoviewer with gdb and give a backtrace that would be very helpful.

Is this what you wanted?
GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ahoviewer...done.
(gdb) run
Starting program: /usr/local/bin/ahoviewer
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff06c9700 (LWP 8193)]
[New Thread 0x7fffefec8700 (LWP 8194)]
[New Thread 0x7fffef6c7700 (LWP 8195)]
[New Thread 0x7fffeeec6700 (LWP 8196)]
[New Thread 0x7fffee4aa700 (LWP 8197)]
[New Thread 0x7fffedca9700 (LWP 8198)]
[Thread 0x7fffedca9700 (LWP 8198) exited]
[Detaching after fork from child process 8199]

Thread 1 "ahoviewer" received signal SIGSEGV, Segmentation fault.
0x00007ffff6ab34bb in ?? () from /usr/lib/x86_64-linux-gnu/libX11.so.6
(gdb) bt
#0  0x00007ffff6ab34bb in  () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#1  0x00007ffff6ab3d05 in _XFlush () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#2  0x00007ffff6ab67f5 in _XGetRequest ()
    at /usr/lib/x86_64-linux-gnu/libX11.so.6
#3  0x00007ffff6aa0fc4 in XListExtensions ()
    at /usr/lib/x86_64-linux-gnu/libX11.so.6
#4  0x0000555555679aa7 in AhoViewer::ImageBox::ImageBox(_GtkScrolledWindow*, Glib::RefPtr<Gtk::Builder> const&)
    (this=0x555555940e10, cobj=0x555555e94e60, bldr=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../src/imagebox.cc:115
#5  0x00005555556baeb5 in Gtk::Builder::get_widget_derived<AhoViewer::ImageBox>(Glib::ustring const&, AhoViewer::ImageBox*&)
    (this=0x555555d53200, name=..., widget=@0x55555596e7b8: 0x0)
    at /usr/include/gtkmm-3.0/gtkmm/builder.h:781
#6  0x00005555556a18da in AhoViewer::MainWindow::MainWindow(_GtkApplicationWindow*, Glib::RefPtr<Gtk::Builder>)
    (this=0x55555596e750, cobj=0x555555e9e2b0, bldr=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../src/mainwindow.cc:35
#7  0x0000555555673247 in Gtk::Builder::get_widget_derived<AhoViewer::MainWindow>(Glib::ustring const&, AhoViewer::MainWindow*&)
    (this=0x555555d53200, name=..., widget=@0x7fffffffcff0: 0x0)
    at /usr/include/gtkmm-3.0/gtkmm/builder.h:781
#8  0x0000555555671de3 in AhoViewer::Application::create_window()
--Type <RET> for more, q to quit, c to continue without paging--c
    (this=0x5555557b76c0 <AhoViewer::Application::get_instance()::app>) at ../src/application.cc:144
#9  0x0000555555672019 in AhoViewer::Application::on_activate() (this=0x5555557b76c0 <AhoViewer::Application::get_instance()::app>) at ../src/application.cc:172
#10 0x00007ffff769c6bb in Gio::Application_Class::activate_callback(_GApplication*) () at /usr/lib/x86_64-linux-gnu/libgiomm-2.4.so.1
#11 0x00007ffff7f01c8d in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ffff7f14bbd in  () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007ffff7f1e2be in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff7f1e97f in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff6ca57e8 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#16 0x00007ffff769c1db in Gio::Application::local_command_line_vfunc(char**&, int&) () at /usr/lib/x86_64-linux-gnu/libgiomm-2.4.so.1
#17 0x00007ffff769c42d in Gio::Application_Class::local_command_line_vfunc_callback(_GApplication*, char***, int*) () at /usr/lib/x86_64-linux-gnu/libgiomm-2.4.so.1
#18 0x00007ffff6ca599b in g_application_run () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#19 0x0000555555671ffd in AhoViewer::Application::run(int, char**) (this=0x5555557b76c0 <AhoViewer::Application::get_instance()::app>, argc=1, argv=0x7fffffffd868) at ../src/application.cc:167
#20 0x000055555569eeef in main(int, char**) (argc=1, argv=0x7fffffffd868) at ../src/main.cc:5
(gdb)

Yeah that works, I know where the problem is now, I'll try to fix it soon.

Oh cool; thanks

I have the same issue on under xorg

different backtrace tho

nevermind it seems like it had something to do with my old settings files, deleting them made it run

been getting another segfault now, using sway version 1.6-rc2-62fbf33c (Apr  3 2021, branch 'master')
Thread 1 "ahoviewer" received signal SIGSEGV, Segmentation fault.
0x00007ffff5795751 in xcb_take_socket () from /usr/lib/libxcb.so.1
(gdb) bt
#0  0x00007ffff5795751 in xcb_take_socket () at /usr/lib/libxcb.so.1
#1  0x00007ffff6af8b6f in  () at /usr/lib/libX11.so.6
#2  0x00007ffff6af94d5 in _XFlush () at /usr/lib/libX11.so.6
#3  0x00007ffff6afc1f6 in _XGetRequest () at /usr/lib/libX11.so.6
#4  0x00007ffff6ae5fb3 in XListExtensions () at /usr/lib/libX11.so.6
#5  0x00005555556810d0 in AhoViewer::ImageBox::ImageBox(_GtkScrolledWindow*, Glib::RefPtr<Gtk::Builder> const&)
    (this=0x5555559b2410, cobj=0x555555c1cd00, bldr=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../src/imagebox.cc:115
#6  0x00005555556c5119 in Gtk::Builder::get_widget_derived<AhoViewer::ImageBox>(Glib::ustring const&, AhoViewer::ImageBox*&) (this=0x555555be08f0, name=..., widget=@0x555555987f08: 0x0)
    at /usr/include/gtkmm-3.0/gtkmm/builder.h:801
#7  0x00005555556ab1a5 in AhoViewer::MainWindow::MainWindow(_GtkApplicationWindow*, Glib::RefPtr<Gtk::Builder>)
    (this=0x555555987ea0, cobj=0x555555c362c0, bldr=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../src/mainwindow.cc:35
#8  0x000055555567a0f1 in Gtk::Builder::get_widget_derived<AhoViewer::MainWindow>(Glib::ustring const&, AhoViewer::MainWindow*&) (this=0x555555be08f0, name=..., widget=@0x7fffffffe388: 0x0)
    at /usr/include/gtkmm-3.0/gtkmm/builder.h:801
#9  0x0000555555678ca0 in AhoViewer::Application::create_window() (this=0x5555557c1880 <AhoViewer::Application::get_instance()::app>) at ../src/application.cc:144
#10 0x0000555555678ee6 in AhoViewer::Application::on_activate() (this=0x5555557c1880 <AhoViewer::Application::get_instance()::app>) at ../src/application.cc:172
#11 0x00007ffff77b135c in Gio::Application_Class::activate_callback(_GApplication*) () at /usr/lib/libgiomm-2.4.so.1
#12 0x00007ffff7ef0096 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#13 0x00007ffff7ef0210 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#14 0x00007ffff6d40079 in  () at /usr/lib/libgio-2.0.so.0
#15 0x00007ffff77b0dda in Gio::Application::local_command_line_vfunc(char**&, int&) () at /usr/lib/libgiomm-2.4.so.1
#16 0x00007ffff77b10d1 in Gio::Application_Class::local_command_line_vfunc_callback(_GApplication*, char***, int*) () at /usr/lib/libgiomm-2.4.so.1
#17 0x00007ffff6d401fa in g_application_run () at /usr/lib/libgio-2.0.so.0
#18 0x0000555555678ebb in AhoViewer::Application::run(int, char**) (this=0x5555557c1880 <AhoViewer::Application::get_instance()::app>, argc=1, argv=0x7fffffffe938) at ../src/application.cc:167
#19 0x00005555556a86ab in main(int, char**) (argc=1, argv=0x7fffffffe938) at ../src/main.cc:5

@tzlils You're 100% sure you are running the latest version of ahoviewer?

@tzlils You're 100% sure you are running the latest version of ahoviewer?

i think i was using ahoviewer-git from the AUR, but regardless i compiled latest and it works now


Update CONTRIBUTING.md with instructions for just

Remove references it Make and replace with instruction for just.

Can you describe it more?

I don't have a good way to put the updated text into the issue because formatting gets messed up, but the change is similar to the references to ruff here. The sections that mention make should be updated to just.
Some of the commands will be different, to see a full list of commands available here and where they are different run just --list, or you can look at the justfile


Object by reference

I am completely new to WCF and are looking into migrating some DCOM code. I am trying to understand the "The service returns an object by reference" example.
The intention in the example seems to be to create an instance of SessionBoundObject in the GetInstanceAddress method on the server side and send the address of that object back to the client. But it doesn't seem to do that. When sessionBoundObjectFactory.CreateChannel() is called on the client a new instance of SessionBoundObject is created each time.
Is the example wrong or is it just me misunderstanding how it is supposed to work? In either case I think the example is unclear what it is actually supposed to do.
In my case I basically need to port DCOM interfaces that looks like the following:
public interface IRemoteService
{
IRemoteObject GetObjectByReference(uint id);
}
where the IRemoteObject is instantiated on the server side differently depending on the value of the id parameter.

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

ID: b840d57e-38e2-e701-536e-5963fd9651b8
Version Independent ID: cf8c443f-7673-d7ea-28a0-ae7db5b1bf65
Content: How to: Migrate Managed-Code DCOM to WCF
Content Source: docs/framework/interop/how-to-migrate-managed-code-dcom-to-wcf.md
Service: unspecified
Product: dotnet-framework
GitHub Login: @mairaw
Microsoft Alias: mairaw

@zhenlan can you or your team help with this question?

@mconnew can you help to clarify?
cc: @Lxiamail

@reinfallt, I'm going to help the best I can but your question is lacking some details required to give you a full answer. The article is using an unusual way of basically returning a URL for the client to use to connect to the service. There are multiple ways you could achieve what you are looking for but it would depend on how you implement the call dispatch on the server side. When you call IRemoteService.GetObjectByReference(id), you will get some information come back which will allow you to create a channel to the service and make calls to the object you want. The return type of that method you listed as IRemoteObject. If your remote objects are to be the actual service instances, you either need to have a common base class and use an IInstanceContextProvider to create an instance of the derived type based on some headers passed, or you will need a full ServiceHost for each type. If you are okay having a delegating proxy service, then you could read the incoming message header to obtain the information about which service instance you are using and retrieve the instance from some collection and make the calls through to the actual instance. This will require you to manage the lifetime yourself.
There are a couple of ways to pass the information that is returned by GetObjectByReference through to the service call. In the example, an endpoint address is serialized and returned to the client. You could use an EndpointAddressBuilder and add an AddressHeader with this information, create the EndpointAddress and return an instance of EndpointAddress10. Then on the server side you can retrieve the extra address header and use whatever instantiating model you are using.
You could also pass the information over using session context. For example, you can use NetTcpContextBinding, create a channel, get the IContextManager from the channel properties, disable the manager and add the information as context. You would then get this information from the ContextMessageProperty contained in the incoming message properties.
Sorry the response is a bit vague, but I could write a whole series of blog post articles based on the question you asked using different instancing models for each article. I would need more information to give a more concrete recommendation.

@reinfallt Does the above answer help? Do you need more updates?

It definitely helps. I just haven't had time to look into it any further.


Task 2.3

When changing value F0 = generate_f(pn)[0] to F0 = generate_f(pn)[1] or other index

Such thing is unreal

Issue was fixed, pull the code and try again.


Cannot send through new channel because FAILURE_REASON_INSUFFICIENT_BALANCE

Background
This looks similar to https://github.com/lightningnetwork/lnd/issues/5468 . Not sure if it is same or different but my case doesn't have ""min_htlc_msat": "0"," which was identified as the cause there.
I have opened a new channel to a new peer I have not done connection with before.  Soon after the channel is established the owner of the remote channel sends me an invoice for a sample amount, 10sats, and I try to pay it but get FAILURE_REASON_INSUFFICIENT_BALANCE.
Everything looks as though there is a local balance on that channel and it is active.
I have channel to other node that works fine and doesn't show this behavior.
The same problem has appeared in other channels from my node in the past and I've just given up on them, closed them, and tried again with a different node.
This time I was very meticulous and worked with the owner of the remote node in an attempt to be sure I wasn't just confused.
Your environment

version of lnd: lnd version 0.13.1-beta commit=v0.13.1-beta
which operating system (uname -a on *Nix): Linux [redacted] 5.10.17-v7l+ [hash]1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux
version of btcd, bitcoind, or other backend: Bitcoin Core version v0.21.1

Steps to reproduce
Channel has been opened and shows in list of channels:
lncli listchannels
{
    "channels": [
        {
            "active": true,
            "remote_pubkey": "033b4b17a264d3a476632224929ec5c7a037b0d2e7daf33a3709aed2177a89976a",
            "channel_point": "432ce4b0659806c382e10ea7f177a2f6e1c066fb4159bd42fe86ebdf33790d65:0",
            "chan_id": "761499763243089920",
            "capacity": "20000",
            "local_balance": "19618",
            "remote_balance": "0",
            "commit_fee": "382",
            "commit_weight": "600",
            "fee_per_kw": "529",
            "unsettled_balance": "0",
            "total_satoshis_sent": "0",
            "total_satoshis_received": "0",
            "num_updates": "0",
            "pending_htlcs": [
            ],
            "csv_delay": 144,
            "private": false,
            "initiator": true,
            "chan_status_flags": "ChanStatusDefault",
            "local_chan_reserve_sat": "573",
            "remote_chan_reserve_sat": "573",
            "static_remote_key": true,
            "commitment_type": "STATIC_REMOTE_KEY",
            "lifetime": "7806",
            "uptime": "7769",
            "close_address": "",
            "push_amount_sat": "0",
            "thaw_height": 0,
            "local_constraints": {
                "csv_delay": 144,
                "chan_reserve_sat": "573",
                "dust_limit_sat": "573",
                "max_pending_amt_msat": "19800000",
                "min_htlc_msat": "1",
                "max_accepted_htlcs": 483
            },
            "remote_constraints": {
                "csv_delay": 144,
                "chan_reserve_sat": "573",
                "dust_limit_sat": "573",
                "max_pending_amt_msat": "19800000",
                "min_htlc_msat": "1",
                "max_accepted_htlcs": 483
            }
        },

......

I have a balance:
lncli channelbalance
{
    "balance": "47969",
    "pending_open_balance": "0",
    "local_balance": {
        "sat": "47969",
        "msat": "47969704"
    },
    "remote_balance": {
        "sat": "10010",
        "msat": "10010296"
    },
    "unsettled_local_balance": {
        "sat": "0",
        "msat": "0"
    },
    "unsettled_remote_balance": {
        "sat": "0",
        "msat": "0"
    },
    "pending_open_local_balance": {
        "sat": "0",
        "msat": "0"
    },
    "pending_open_remote_balance": {
        "sat": "0",
        "msat": "0"
    }
}

I try to pay a test invoice of 10 sats sent from the node I'm connected to:
lncli sendpayment --pay_req lnbc100n1ps06s84pp5fqm3yfuv2a5y99yjdg0pqnf3x2y97ddndmrtm8w3lnpyte58xpwsdqqcqzpgxqr23ssp5nk86mefrletc9ae2rpflyg7ldrtwgjt0nlu3ve0rnzpxxu03sqaq9qyyssqmlg2nxslw5tt9knuc3v9nmha2gjpw6rmlppfjwxsn33ugcju7cgypf6dnpeqcfjy7md2usj4gftzx6jfxc363rsw3nf3lmp7ksxv4sqqfufwzl --outgoing_chan_id<PHONE_NUMBER>43089920
Expected behaviour
It should pay
Actual behaviour
Payment hash: 483712278c57684294926a1e104d3132885f35b36ec6bd9dd1fcc245e687305d
Description:
Amount (in satoshis): 10
Fee limit (in satoshis): 10
Destination: 033b4b17a264d3a476632224929ec5c7a037b0d2e7daf33a3709aed2177a89976a
Confirm payment (yes/no): yes
+------------+--------------+--------------+--------------+-----+----------+----------+-------+
| HTLC_STATE | ATTEMPT_TIME | RESOLVE_TIME | RECEIVER_AMT | FEE | TIMELOCK | CHAN_OUT | ROUTE |
+------------+--------------+--------------+--------------+-----+----------+----------+-------+
+------------+--------------+--------------+--------------+-----+----------+----------+-------+
Amount + fee:   0 + 0 sat
Payment hash:   483712278c57684294926a1e104d3132885f35b36ec6bd9dd1fcc245e687305d
Payment status: FAILED, reason: FAILURE_REASON_INSUFFICIENT_BALANCE
[lncli] FAILED

The lnd log at the time I try the payment looks like this:

Jul 25 21:00:18 fridge lnd[21486]: 2021-07-25 21:00:18.897 [ERR] NANN: Unable to retrieve chan status for Channel(432ce4b0659806c382e10ea7f177a2f6e1c066fb4159bd42fe86ebdf33790d65:0): edge not found
Jul 25 21:00:19 fridge lnd[21486]: 2021-07-25 21:00:19.844 [WRN] CRTR: Failed to find route for payment 483712278c57684294926a1e104d3132885f35b36ec6bd9dd1fcc245e687305d: insufficient local balance
Jul 25 21:00:19 fridge lnd[21486]: 2021-07-25 21:00:19.988 [ERR] CRTR: Payment 483712278c57684294926a1e104d3132885f35b36ec6bd9dd1fcc245e687305d failed: insufficient_balance

Trying to get info on the channel also doesn't work:
lncli getchaninfo<PHONE_NUMBER>43089920
[lncli] rpc error: code = Unknown desc = edge not found

If I look for it in the list of peers lncli listpeers then I can see:
...

        {
            "pub_key": "033b4b17a264d3a476632224929ec5c7a037b0d2e7daf33a3709aed2177a89976a",
            "address": "<IP_ADDRESS>:46678",
            "bytes_sent": "4457",
            "bytes_recv": "487894",
            "sat_sent": "0",
            "sat_recv": "0",
            "inbound": true,
            "ping_time": "41468",
            "sync_type": "PASSIVE_SYNC",
            "features": {
                "0": {
                    "name": "data-loss-protect",
                    "is_required": true,
                    "is_known": true
                },
                "5": {
                    "name": "upfront-shutdown-script",
                    "is_required": false,
                    "is_known": true
                },
                "7": {
                    "name": "gossip-queries",
                    "is_required": false,
                    "is_known": true
                },
                "9": {
                    "name": "tlv-onion",
                    "is_required": false,
                    "is_known": true
                },
                "12": {
                    "name": "static-remote-key",
                    "is_required": true,
                    "is_known": true
                },
                "14": {
                    "name": "payment-addr",
                    "is_required": true,
                    "is_known": true
                },
                "17": {
                    "name": "multi-path-payments",
                    "is_required": false,
                    "is_known": true
                }
            },
            "errors": [
                {
                    "timestamp": "1627209134",
                    "error": "disconnecting 033b4b17a264d3a476632224929ec5c7a037b0d2e7daf33a3709aed2177a89976a@<IP_ADDRESS>:9735, reason: read handler closed"
                }
            ],
            "flap_count": 5,
            "last_flap_ns": "1627209170636766064"
        },

...

The remote end of this channel is using lnd version 0.12.1-beta

Similar to the other issue you've opened, it appears you're having connectivity issues, baed on how frequenrtly your connect peer is flapping (connecting, then disconnecting). If you don't know of that edge at all (which is very odd), then it makes sense that path finding isn't able to route outbound, if it doesn't actually know of that edge.
If you restart and/or try to reconnect to that peer, do you eventually get the channel announcement? Also assuming that the rest of the network knows about the channel, then your node should eventually query again for that channel as we essentially spot check our view of teh graph with the peers we're connected with periodically.

What fixed this was removing tor / proxy.
I understand this is a network issue and don't expect lnd to magically fix that.
My only thought is that an error message indicating that the problem was a connectivity issue would save a lot of troubleshooting effort. The "insufficient balance" was quite a red herring.

What fixed this was removing tor / proxy.

Nice!

My only thought is that an error message indicating that the problem was a connectivity issue would save a lot of troubleshooting effort. The "insufficient balance" was quite a red herring.

Yeah that would be ideal, but from lnd's PoV, it just knows that it can't reach the node, that may be due to a networking issue, or it just being offline all together.


Recreate of issue #203

Bumped into the same issue as described in #203 while building with gccgo on ppc64 (big endian):
$ go get github.com/mattn/go-sqlite3
$ go install src/github.com/mattn/go-sqlite3/_example/simple/simple.go
# command-line-arguments
/usr/bin/ld: $WORK/libgo-sqlite3.a893956317(sqlite3-binding.o): undefined reference to symbol 'pthread_mutexattr_destroy@@GLIBC_2.3'
/usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

but as @ianlancetaylor rightly pointed out, this ought not to be happening because libpthread should be linked in automatically. The code works fine on linux-amd64 with gccgo 5.3.0 (go v1.4.2), but not on linux-ppc64 with gcc-6.1.0 (go v1.6.1).
The simplest solution does seem to be to add -lpthread into LDFLAGS in this package, but if you'd rather I chase the gccgo side of things instead then this issue can be closed; it seemed worth providing the recreate (missing from #203) just in case it helps (even if it's just a misconfiguration of gccgo).
Version for gccgo:
$ gccgo -v
Using built-in specs.
COLLECT_GCC=gccgo
COLLECT_LTO_WRAPPER=/usr/contrib/libexec/gcc/powerpc64-unknown-linux-gnu/6.1.0/lto-wrapper
Target: powerpc64-unknown-linux-gnu
Configured with: ../gcc-6.1.0/configure --prefix=/usr/contrib --enable-languages=c,c++,go --disable-multilib
Thread model: posix
gcc version 6.1.0 (GCC)

libgo ldd output:
$ ldd /usr/contrib/lib64/libgo.so
        linux-vdso64.so.1 (0x00003fff9d5a0000)
        libpthread.so.0 => /lib64/power6/libpthread.so.0 (0x00003fff9bfb0000)
        libm.so.6 => /lib64/power6/libm.so.6 (0x00003fff9bec0000)
        libgcc_s.so.1 => /usr/contrib/lib64/libgcc_s.so.1 (0x00003fff9be80000)
        libc.so.6 => /lib64/power6/libc.so.6 (0x00003fff9bc60000)
        /lib64/ld64.so.1 (0x0000000028430000)

@tdolby can you please checkout branch fix/306 and try to compile for linux-ppc64.

@tdolby any update ?

@GJRTimmer  Sorry - missed the first notification :( I'll try and test this early next week.

@tdolby I hope the fix works for you.

@tdolby I rebased fix/306 with the latest master.

@tdolby fix/306 branch successful with Travis-CI we will await your test.

@tdolby Any success ?

Having issues building now, as it looks like the world has moved on: when I run
$ go get github.com/mattn/go-sqlite3
I now get
package context: unrecognized import path "context" (import path does not begin with hostname)
which looks like I need go 1.7 and can't build with gccgo 6.1.0 . . .
I shall try and get gcc7 going and see how it works there.

I don't have gcc7 working yet, but I have applied your branch changes on top of release 1.2 (which does work with go 1.6) and they build successfully. From the perspective of the original environment, your fix is looking good, and works for ppc64.
From the perspective of current source, I haven't confirmed that the solution still works with current master code and recent GCC versions; I can try and get that going if it's worthwhile?

@tdolby I think you should give it a try, I will incorperate the fix at least into the current v2.0.0 branch I'm building

@tdolby made small change, included the options within sqlite3_other.go instead of separate files and included ppc64le also. Would it be too much to do a quick retest after you pull the latest change from fix/306 ? I also created a PR so when Travis-CI is succesfull you can start using the master branch.

No problem - I'm building gccgo 7.3 right now but can certainly try out the new changes on that version and also 6.1.0.

@tdolby Should great, PR is awaiting your test and approval.

Add
Enhancement:

ppc
ppc64
ppc64le

@tdolby any update on latest test ?

Yes - just finished testing everything with gccgo 6.1, 7.3, and 8.1 on ppc64, and everything works as expected. The patched sqllite3 1.2 source works for all compilers, and the current 306 source works for 7.3 and 8.1 due to language constraints described above stopping 6.1 from working.
Thanks for fixing this!


fullwidth Outlined Textfield breaks

What RMWC Version are you using [major.minor.patch]:  latest

Name your build system [Webpack, Rollup...]: webpack

Describe the bug with as much detail as possible:
https://rmwc.io/text-fields -> second one from the Top: Outlined.
As soon as you add fullwidth as prop it breaks.

What happened, and what was supposed to happen:
Should not break.

This is a documented shortcoming of MDC. I can build a warning for the console that complains when both are set.
Honestly it makes no sense that they did it that way anyways, just use css or the style prop to set an outlined text field to width 100%

It would be good to use a representation that prevents people choosing both at the same time, e.g. variant: "filled" | "outlined" | "fullwidth" = "filled"

Some components in this library can have a large number of possible prop combinations which makes the concept of variant hard to maintain. Would be easier and more straight forward to add a warning in the console for this.


transpilling to Node 4 instead of dropped 0.x

You docs says that 2.x dropping support to node 0.x while Babel transpilling still targets that version. This PR fixes that as well as updates babel-preset-env to latest version

Codecov Report

Merging #240 into master will decrease coverage by -0.77%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #240      +/-   ##
=========================================
- Coverage   98.97%   98.2%   -0.77%
=========================================
  Files           6       6
  Lines         391     391
  Branches      117     117
=========================================
- Hits          387     384       -3
- Misses          2       4       +2
- Partials        2       3       +1

Impacted Files
Coverage Δ

src/headers.js
96.73% <ø> (-3.27%)
:x:

Continue to review full report at Codecov.

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

We have only dropped 0.10.x

Why somebody who doesn't want to upgrade a node from 5 versions back 0.x will want to upgrade node-fetch to next major version?

I'm fine with dropping 0.12.x as well, since it ran out of service at the end of last year.

@tinovyatkin, please check the coverage report and remove a Node.js v0.12-specific hack.

🎉  Finally, RIP 0.x

I agree 0.12 can be dropped. (Though I should note the reason we target 0.12.x was because 2.x was schedule to release in 2016, but anyway.)

So, it's hopefully will be merged somewhere soon? I have another PR waiting (removing a dependency)...


Update the Puppet logo

Fixes #942
Changes proposed:

[ ] Add
[ ] Prepare
[ ] Delete
[x] Fix

Things I've done:

[x] My pull request fixes an issue, I referenced the issue.

The Puppet logo was modified in mid 2016 however the logo was not updated in
the vscode-icons extension.  This commit adds the Puppet logo as a square SVG
icon as per the icon guidelines.

Screenshot of the new file in effect:

@JimiC Apologies for that.  I'll get that cleaned up.  Thank for the quick response.

Ok.  I think that should now be ok.  Viewbox is 32x32 and at that size there's a 2px margin

Thanks @JimiC @jens1o abd @robertohuertasm


Actual API

Hello, where can i find actual methods of API?
Thanks

This is the actual API (or what's been discovered of it), there are just no official docs; ostensibly to prevent bot creation, though at this point it's fairly obvious that obscurity wasn't the right choice for that.

I've open-sourced my own library written on Java where you can find all basic requests including authorization and registration via SMS: https://github.com/RMatushkin/tinder-api


ROX-12712: Address scanner OOMs in CI

Description
As per https://github.com/stackrox/stackrox/pull/751, don't alter scanner requests/limits in CI. This PR makes the same change for the upgrade-test and helm based installs.
Checklist

[ ] Investigated and inspected CI test results

Testing Performed
CI is sufficient

/test gke-upgrade-tests
/test gke-postgres-upgrade-tests
/test openshift-newest-qa-e2e-tests
/test openshift-penultimate-qa-e2e-tests

This is new, when trying to dump the DB when tests fail:
    go<EMAIL_ADDRESS>requires
<EMAIL_ADDRESS>invalid version: git ls-remote -q origin in /go/pkg/mod/cache/vcs/490949d4ae5eefdc73aceb001a97037702f10305266d6ab409726415cbd222ed: exit status 128:
    	fatal: could not read Username for 'https://github.com': terminal prompts disabled
    Confirm the import path was entered correctly.
    If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.

probably not related to the changes on the PR though.

The OpenShift 4 tests fail because sensor is pending. Presumably because resources are starved due to the scanner changes.
sensor-54f6c5874d-b2gn7             0/1     Pending            0               9m28s   <none>        <none>                         <none>           <none>

/test gke-upgrade-tests
/test gke-postgres-upgrade-tests
/test openshift-newest-qa-e2e-tests
/test openshift-penultimate-qa-e2e-tests

/test gke-upgrade-tests
/test gke-postgres-upgrade-tests
/test openshift-newest-qa-e2e-tests
/test openshift-penultimate-qa-e2e-tests

/test gke-upgrade-tests
/test gke-postgres-upgrade-tests
/test openshift-newest-qa-e2e-tests
/test openshift-penultimate-qa-e2e-tests

/test gke-upgrade-tests

/test gke-upgrade-tests
/test openshift-newest-qa-e2e-tests
/test openshift-penultimate-qa-e2e-tests

ci/prow/gke-upgrade-tests

/test gke-upgrade-tests

/test openshift-newest-qa-e2e-tests
/test openshift-penultimate-qa-e2e-tests

@RTann I've updated this PR so that it is only addressing the issue with OpenShift e2e test failures (the original reason behind ROX-12712).


Enforce logic is wrong for perishable-goods

This logic seems to be backwards:
https://github.com/accordproject/cicero-template-library/blob/master/src/perishable-goods/lib/logic.ergo#L57

Fixed.


Fix sequence error for session stop in ISO15118-20

As long as a welding detection request message  with 'ongoing' is sent, the next request message needs to be a welding detection request also.
Fixes #212

Dear @jpo-stx - apologies this PR was somehow missed.
I see the fix for this issue is present in master though. Hence I'm closing this PR for now. Please feel free to reopen this if any aspects were left unaddressed.


Allow to configure labels for service

We want to make it possible to add service Labels from values.yaml under service.labels

Hi @azatsafin, can you please take a look at this PR. Thank you very much!

@azatsafin don't you mind to check it?


add ability to scan card + add ability to add pass to google wallet

@Skyyo Now it's 2 screens, update/delete only possible with rest, no apis, so most likely it'll be handled by backend


Run widgets on startup + laggy movements

First of all, brilliant.
Second, I'm wondering why there's no option for "run widgets on startup". I mean, I could write differents widgets and place them all around my desktop in a specific way, but then on a new startup I can't get them to be loaded automatically?
Third, I'm having some issues with lag while moving the widget. My pc is quite medium, ryzen 5 + 16gb ram but I still don't get why would it lag that much.
This is my code:
`

Track all markets on TradingView

`
I want to display a tradingview widget with some info about a stock. I'm using this one: https://www.tradingview.com/widget/mini-chart/
Cheers,
Alessio

"Run Widgets on Startup" is a feature I am planning on adding for the next stable release.
And as for the lag, I'm guessing it's due to the following reason:
The logic for mouse up/down detection is handled in the javascript of the widgets to update the positioning of the widget relative to the mouse. The JavaScript is too slow to send the update instructions back to the widget, so it lags when moving the widgets around.
        private void OnBrowserInitialized(object sender, EventArgs e)
        {
            /*
            @@  Injecting JavaScript code to tell when the window is being dragged.
            */
            browser.ExecuteScriptAsync(@"
                window.onload = () => {
                    let isDrag = false;

                    document.body.onmousedown = (e) => {
                        if (e.buttons === 1) {
                            isDrag = true;
                        }
                    }

                    document.body.onmouseup = () => {
                         isDrag = false;
                    }

                    document.body.onmousemove = () => {
                        if (isDrag) {
                            CefSharp.PostMessage('mouseDrag');
                        }
                    }
                }
            ");

            browser.JavascriptMessageReceived += OnBrowserMessageReceived;
        }

The real fix would be to handle this in the form itself instead of the widget's javascript. I tried to fix it once but had issues doing so because the browser element was obstructing the form control. I will attempt to fix the issue again for the next release.

@Icaras12x
I implemented the "Run Widgets on Startup" and attempted to fix the window move bug (altough it doesn't work the same now; toggling to move will make the widget follow your cursor until you left click).
Could you take a look at these features and tell me if they work? You can find them in the release page of the github under pre-release.
P.S: There are some stability issues with this version so it might crash from time to time. I am working on it. 💪
https://github.com/beyluta/WinWidgets/releases/tag/v1.3.0-alpha

Btw you have to enable one setting in the settings page of the app. The best way to test it is probably to quit the app through task manager and reopen the program. You can also quit the app through the little icon in the system tray.

should be fixed with #41


Rename time_resolution_minutes to sample_period_minutes to make the code consistent

Pull Request
Description
Rename time_resolution_minutes to sample_period_minutes to make the code consistent
Fixes #584
Checklist:

[ x] My code follows OCF's coding style guidelines
[ x] I have performed a self-review of my own code
[ x] I have made corresponding changes to the documentation
[ ]x I have added tests that prove my fix is effective or that my feature works
[ x] I have checked my code and corrected any misspellings

@all-contributors please add @RishiKumarRay for code


Update ep3 from v1.0.0 to v1.7.0

It supports a metrics collection feature (compatible with CWL-metrics format 0.2.0).

Release note: https://github.com/tom-tan/ep3/releases/tag/v1.7.0

Thanks!


TCMR missmatch??

RuntimeError: Error(s) in loading state_dict for TCMR:
size mismatch for regressor.smpl.shapedirs: copying a param with shape torch.Size([6890, 3, 10]) from checkpoint, the shape in current model is torch.Size([6890, 3, 300]).
Anyone know about this?

I am not sure what your running (demo or test?), but just change the current model to [6890, 3, 10].

Thank you for your help but I couldn't find on the code where I should change. It gives the error on TCMR, before even creating the SMPL model but in the error message, it mentions regressor.smpl.shapedirs. I tried to add "shapedirs = [6890,3,10]" to SMPL constructor but as I get the error before that line is compiled.

Thank you for your help but I couldn't find on the code where I should change. It gives the error on TCMR, before even creating the SMPL model but in the error message, it mentions regressor.smpl.shapedirs. I tried to add "shapedirs = [6890,3,10]" to SMPL constructor but as I get the error before that line is compiled.

Hello, have you solved this problem? I have the same problem, do you know how to change the code? Thanks.

感谢您的帮助，但我在代码中找不到应该更改的地方。它在创建 SMPL 模型之前就给出了 TCMR 错误，但在错误消息中，它提到了 regressor.smpl.shapedirs。我尝试将“shapedirs = [6890,3,10]”添加到 SMPL 构造函数中，但在编译该行之前我收到了错误。

你好，你解决了这个问题吗？我也有同样的问题，你知道怎么改代码吗？谢谢。

I have the same problem, have you solved it?

I think you can add this line here:
self.smpl.shapedirs = self.smpl.shapedirs[:, :, :10]

I have the same problem, have you solved it?

I think you downloaded different smpl model..?
https://hongsukchoi.github.io
On Tue, Oct 29, 2024 at 11:19 PM jiangguangan @.***>
wrote:

I have the same problem, have you solved it?
—
Reply to this email directly, view it on GitHub
https://github.com/hongsukchoi/TCMR_RELEASE/issues/27#issuecomment-2445965691,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHNGKW64CAQERL2KFARVZ3TZ6B26BAVCNFSM6AAAAABLCXAKUWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBVHE3DKNRZGE
.
You are receiving this because you commented.Message ID:
@.***>

Which one did you guys download from the SMPL homepage?
It should be this: Download version 1.0.0 for Python 2.7 (female/male. 10 shape PCs)


Validate SpvOpVectorShuffle

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

Waiting for the bots to pass

One bot failed spuriously.  I kicked it off again.

Rebased, squashed, and pushed into master as 90862fe4b1c6


doxygen: 1.9.6 -> 1.9.7

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/doxygen/versions.
meta.description for doxygen is: Source code documentation generator tool
meta.homepage for doxygen is: https://www.doxygen.nl/
meta.changelog for doxygen is: https://www.doxygen.nl/manual/changelog.html
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.9.7 with grep in /nix/store/7xz5y7mkyf40190637yz52bg12jaq894-doxygen-1.9.7
found 1.9.7 in filename of file in /nix/store/7xz5y7mkyf40190637yz52bg12jaq894-doxygen-1.9.7

Rebuild report (if merged into master) (click to expand)

21101 total rebuild path(s)

21101 package rebuild(s)

First fifty rebuilds by attrpath

AusweisApp2
CHOWTapeModel
ChowCentaur
ChowKick
ChowPhaser
CuboCore.coreaction
CuboCore.corearchiver
CuboCore.corefm
CuboCore.coregarage
CuboCore.corehunt
CuboCore.coreimage
CuboCore.coreinfo
CuboCore.corekeyboard
CuboCore.corepad
CuboCore.corepaint
CuboCore.corepdf
CuboCore.corepins
CuboCore.corerenamer
CuboCore.coreshot
CuboCore.corestats
CuboCore.corestuff
CuboCore.coreterminal
CuboCore.coretime
CuboCore.coretoppings
CuboCore.coreuniverse
CuboCore.libcprime
CuboCore.libcsys
DisnixWebService
EBTKS
EmptyEpsilon
Fabric
HentaiAtHome
LibreArp
LibreArp-lv2
MIDIVisualizer
MMA
OSCAR
OVMF
OVMFFull
PageEdit
R
SDL
SDL2
SDL2_gfx
SDL2_image
SDL2_image_2_0_5
SDL2_mixer
SDL2_mixer_2_0
SDL2_net

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7xz5y7mkyf40190637yz52bg12jaq894-doxygen-1.9.7 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A doxygen https://github.com/r-ryantm/nixpkgs/archive/a946656ee7e58913b7a722ae78b2e66f0722c418.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/7xz5y7mkyf40190637yz52bg12jaq894-doxygen-1.9.7
ls -la /nix/store/7xz5y7mkyf40190637yz52bg12jaq894-doxygen-1.9.7/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings

@ofborg build wayland


Record Modification in Transaction Leads to Loading Issues and Errors

OrientDB Version:  3.2.31
Java Version: corretto-<IP_ADDRESS>
OS:  Windows 11
Problem:
When a record is modified and saved within a transaction, and in a subsequent query, filtering is performed on that record by a field, for example:
SELECT expand(out('SomeEdge')[status = 'ACTIVE']) FROM :p_entity

In the code ODocument.getProperty(field), the ODocument is in the NOT_LOADED status. Therefore, we fall into com.orientechnologies.orient.core.tx.OTransactionOptimistic#reloadRecord(com.orientechnologies.orient.core.id.ORID, com.orientechnologies.orient.core.record.ORecord, java.lang.String, boolean, boolean) where, on the comparison passedRecord != null && txRecord != passedRecord, we have txRecord loaded from the transaction and lazy loaded passedRecord. Consequently, we receive a warning in the database console:
Found record in transaction with the same RID #4190:930 but different instance. Probably the record has been loaded from another transaction and reused on the current one: reload it from current transaction before to update or delete it [OTransactionOptimisticServer]
Additionally, sometimes this warning correlates with an error in our application:
com.orientechnologies.orient.core.exception.ORecordNotFoundException: The record with id '#4190:930' was not found
Additional Context:
The record that generates the warning is retrieved from the edge out('SomeEdge').
Steps to Reproduce:

Modify and save a record within a transaction.
Perform a query on this record with a filter on a field within the same transaction.
Observe the status of the ODocument and the subsequent operations leading to the warning and potential error.

Expected Behavior:
The record should be properly loaded without causing warnings or errors in the transaction.
Actual Behavior:
Warnings and errors are generated due to the record being in NOT_LOADED status and issues with transaction handling.

Here is the stack trace at the point where we get the warning
reloadRecord:329, OTransactionOptimistic (com.orientechnologies.orient.core.tx)
reload:782, ODatabaseDocumentAbstract (com.orientechnologies.orient.core.db.document)
reload:80, ODatabaseDocumentAbstract (com.orientechnologies.orient.core.db.document)
reload:272, ORecordAbstract (com.orientechnologies.orient.core.record)
reload:261, ORecordAbstract (com.orientechnologies.orient.core.record)
reload:1249, ODocument (com.orientechnologies.orient.core.record.impl)
reload:120, ODocument (com.orientechnologies.orient.core.record.impl)
checkForLoading:485, ORecordAbstract (com.orientechnologies.orient.core.record)
getProperty:407, ODocument (com.orientechnologies.orient.core.record.impl)
execute:90, OSuffixIdentifier (com.orientechnologies.orient.core.sql.parser)
execute:63, OBaseIdentifier (com.orientechnologies.orient.core.sql.parser)
execute:107, OBaseExpression (com.orientechnologies.orient.core.sql.parser)
execute:60, OExpression (com.orientechnologies.orient.core.sql.parser)
evaluate:37, OBinaryCondition (com.orientechnologies.orient.core.sql.parser)
evaluate:32, ONotBlock (com.orientechnologies.orient.core.sql.parser)
evaluate:33, OAndBlock (com.orientechnologies.orient.core.sql.parser)
evaluate:35, OOrBlock (com.orientechnologies.orient.core.sql.parser)
evaluate:60, OOrBlock (com.orientechnologies.orient.core.sql.parser)
filterByCondition:172, OModifier (com.orientechnologies.orient.core.sql.parser)
execute:137, OModifier (com.orientechnologies.orient.core.sql.parser)
execute:133, OBaseExpression (com.orientechnologies.orient.core.sql.parser)
execute:102, OExpression (com.orientechnologies.orient.core.sql.parser)
execute:177, OProjectionItem (com.orientechnologies.orient.core.sql.parser)
calculateSingle:167, OProjection (com.orientechnologies.orient.core.sql.parser)
calculateProjections:41, ProjectionCalculationStep (com.orientechnologies.orient.core.sql.executor)
mapResult:33, ProjectionCalculationStep (com.orientechnologies.orient.core.sql.executor)
lambda$syncPull$0:27, ProjectionCalculationStep (com.orientechnologies.orient.core.sql.executor)
map:-1, ProjectionCalculationStep$$Lambda/0x000001d1c32ad048 (com.orientechnologies.orient.core.sql.executor)
next:28, OResultSetMapper (com.orientechnologies.orient.core.sql.executor.resultset)
fetchNext:114, ExpandStep (com.orientechnologies.orient.core.sql.executor)
access$100:18, ExpandStep (com.orientechnologies.orient.core.sql.executor)
hasNext:40, ExpandStep$1 (com.orientechnologies.orient.core.sql.executor)
hasNext:24, OLimitedResultSet (com.orientechnologies.orient.core.sql.executor.resultset)
fetchNext:37, OLocalResultSet (com.orientechnologies.orient.core.sql.parser)
<init>:27, OLocalResultSet (com.orientechnologies.orient.core.sql.parser)
execute:377, OSelectStatement (com.orientechnologies.orient.core.sql.parser)
execute:85, OStatement (com.orientechnologies.orient.core.sql.parser)
query:614, ODatabaseDocumentEmbedded (com.orientechnologies.orient.core.db.document)
executeQuery:1326, OConnectionBinaryExecutor (com.orientechnologies.orient.server)
execute:143, OQueryRequest (com.orientechnologies.orient.client.remote.message)
sessionRequest:354, ONetworkProtocolBinary (com.orientechnologies.orient.server.network.protocol.binary)
execute:238, ONetworkProtocolBinary (com.orientechnologies.orient.server.network.protocol.binary)
run:68, OSoftThread (com.orientechnologies.common.thread)

Hi,
How are you obtaining the instance of the record that you are modifying ?
The warning means that there are two instances of ODocument that have two different state for the record in the current context, this often happen if the instance of the ODocument is  created by hand assigning the id, and than saved.
So do you have an example of the logic of load + modify + save of the record?
Regards

The record already exists at the moment of the transaction. I retrieve it from another vertex through an edge, modify it status, and then in another query within the same transaction, I retrieve a field of this record using a query like this:
SELECT expand(out('SomeEdge')[status = 'ACTIVE'].someField) FROM :p_entity

At this moment, during the execution of the filtering, I receive the warning in the database.

I tried replacing the dependencies with the current snapshot, but it didn't help; the warning is still logged, and through the debugger, we don't even reach the class com.orientechnologies.orient.core.sql.method.misc.OSQLMethodField which was modified.
I also found another query without which we don't get the warning. It also goes through the record class that triggers the warning but only reads it and doesn't change its state.

Moreover, this happens only if the query is in the form SELECT expand(out('SomeEdge')[status = 'ACTIVE'].someField) FROM :p_entity. However, if we rewrite the query to SELECT FROM Record WHERE in('SomeEdge').@rid = :p_entity AND status= 'ACTIVE', the warning does not occur.

Moreover, this happens only if the query is in the form SELECT expand(out('SomeEdge')[status = 'ACTIVE']) FROM :p_entity. However, if we rewrite the query to SELECT FROM Record WHERE in('SomeEdge').@rid = :p_entity AND status= 'ACTIVE', the warning does not occur.

@mikhalov may I ask you to try this branch https://github.com/andrii0lomakin/orientdb . There was substantial work done to avoid such problem there.

@andrii0lomakin
I do a clean install and replace the version of dependencies in my project's pom.xml with this snapshot. Is this not enough?

If this is enough, then nothing has changed; the warning is still logged, and additionally, the bootstrap of our application is broken and it crashes (I checked via a test bypassing the bootstrap).

Do you use JDK 22 ?  We did not fix the grave dependency for this case. I will fix it and let you know tomorrow then.

@andrii0lomakin
The 22 version was used by default. I changed it to 17, and now the build completes, but it doesn't solve the problem.

I will work on this @mikhalov thank you for all your efforts. I will notify you when I fix it.

@mikhalov do you use remote or embedded deployment?

@andrii0lomakin I use remote deployment, as I run the database through .\orientdb-community-3.2.31\bin\server.bat.

Hi,
I see from what you are reporting there is a good chance that there is an issue in the expand( logic, @andrii0lomakin  if you want to check also that you are welcome, otherwise let me know I can put some effort in that check.
Bye

@andrii0lomakin @tglman
I investigated this issue further and found new facts: the problem is not with expand(), but with filtering through []
This issue doesn't reproduce with just filtering in this way; a specific sequence of actions must occur. However, investigating this further has led me to a dead end. I can only say that in this sequence, both the queries and the code navigate through the same vertices via edges (we use VertexFrame wrappers and in the code, we call company.getCompanyFeature()).
It's also important to note that in this sequence, we modify the vertex field status value in the code(feature.setStatus(ACTIVE)), which is used for filtering in the final query and logs a warning in the console.
Below, I will provide variations of the final query (the one that produces the warning in the logs).
Both of these queries produce a warning in the logs:
SELECT expand(out('CompanyFeature')[status = 'ACTIVE'])
FROM :p_company

SELECT expand($feature)
FROM :p_company
let
$feature = out('CompanyFeature')[status = 'ACTIVE']

But if I rewrite it to WHERE filtering, the issue doesn't occur:
SELECT FROM (
SELECT expand(out('CompanyFeature'))
FROM :p_company
)
WHERE status = 'ACTIVE'

SELECT
FROM Feature
WHERE in('CompanyFeature') = :p_company AND status = 'ACTIVE'

@andrii0lomakin
I tried to reproduce this in unit tests to share with you, but I couldn't. I managed to reproduce it on an empty database, but by running our main tests, creating all the vertices and edges, and executing a certain sequence of method calls from our codebase.

@tglman, It looks like the issue has been resolved. The fix seems to work well, and the warning is no longer logged.


Metric Types

Is it possible to get an example of what/how each type type of metric is used.
Example What is a Gauge and when is it used
Thanks!

@john898 sure, the types of metrics in this library are based on the ones in the Dropwizard library, so I think their documentation would be a good starting point for when to use certain things: http://metrics.dropwizard.io
If you have any specific questions about how those are implemented in this library I can answer that for you

This is exactly what I was looking for. Thank you.


LayoutBuilder does not respect constrained width in Widget test

The unexpected behaviour is only occurring in a Widget Test. Have not reproduced it during runtime of the app.
Steps to Reproduce

Create a widget test with the following content.
testWidgets("Layout Builder Behaviour", (tester) async {
  await tester.pumpWidget(
    MaterialApp(
      home: Material(
        child: SizedBox(
          width: 250,
          child: LayoutBuilder(
            builder: (context, constraints) {
              print(constraints.maxWidth);
              return Text("Why 800 and not 250?");
            },
          ),
        ),
      ),
    ),
  );
});

Expected results:
I'd expect the LayoutBuilder to know that its width is constrained in the widget test.
Actual results:
The constraints contain the following values:
maxHeight:600.0
maxWidth:800.0
minHeight:600.0
minWidth:800.0

Logs

Flutter (Channel stable, 2.5.1, on macOS 11.4 20F71 darwin-x64, locale de-DE)
    • Flutter version 2.5.1 at /Users/christian/Documents/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (vor 2 Wochen), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

Hmm now it works as expected...


json-stream is a dev-dependency, should be a regular dependency

Title says most, this saves having to also install json-stream before getting to business.

Thanks for the feedback.
The fix is already in. I will release a new version in a couple days.

Thanks!

Fixed in v0.6.0.


Adding customer review

Sure for this create a form to take review and star rating then store it in database

Bro i don't know how database works I can only give you random reviews with different stars .

????


Adding REST/swagger API and docker image in the official repo

Dear whisper webui team,
i would like to know if your program could be install on a linux server.
it seems there is no official docker image, are you going to this direction?
i would like to know also if you provide a rest/swagger api to be able to call your program directly?
Thanks for the work done.
François from France

Hi.

Here's the Dockerfile you can use.

Regarding REST API, you can build it in gradio by settingapi_open=True.
After setting it, you'll see such things in footer of the app.

If you click on "Use via API", you'll see documentation like this:

You can call it like, http://localhost:7860/transcribe_file.
I'll add api_open as a command line argument!


How can i see the Segy's header?

In this moment i am using your code for plot some Segy's files. The visualization that i get just show me the graphic, but i need to see the header metadata for my implementation, i debug the object returned in the code for the function "new SEGY.SegY(ab)" and i cant see the header metadata like the company or the line sismic information. i share you a screen for more datails thank you

I guess thats meta data is stays in first 3200 bytes. I did not parsed that area yet. thank you for your opinion, I will check that section to be parsed!!

ParserSEGY can parse text header now, but as far as I know there is no standard attributes or name of each text, so I can not parse them as key-value. what you will get is just text string for now.
check link below, which is an example of reading header from segy
https://observablehq.com/d/a87981822c051c72

Thank you for your supporting, I gonna continue with the research and developtment of my implementation, If you find something new or discover a way to see this metadata, I would like you to contact me thank you very much

Okay I will!! thank you!!


Added GPT-J FP8 support

What does this PR do?
Add GPT-J FP8 supported
Command Lines:

Measure the tensor quantization statistic on EleutherAI/gpt-j-6b

QUANT_CONFIG=./quantization_config/maxabs_measure.json python run_generation.py \
  --model_name_or_path EleutherAI/gpt-j-6b \
  --use_hpu_graphs \
  --use_kv_cache \
  --limit_hpu_graphs \
  --bucket_size 128 \
  --max_new_tokens 128 \
  --batch_size 1 \
  --bf16

Quantize the model based on previous measurements for EleutherAI/gpt-j-6b

QUANT_CONFIG=./quantization_config/maxabs_quant.json python run_generation.py \
--model_name_or_path EleutherAI/gpt-j-6b \
--use_hpu_graphs \
--use_kv_cache \
--limit_hpu_graphs \
--bucket_size 128 \
--max_new_tokens 128 \
--batch_size 256 \
--bf16 \
--fp8

@kplau1128 , Can you please add some command lines to the PR description, that was used to test this

@ssarkar2 Command lines for measure and quantization added on description.

@kplau1128 , This PR seems to be in "Draft" mode. Can you please more it to regular PR

@kplau1128 , This PR seems to be in "Draft" mode. Can you please more it to regular PR if its ready

@ssarkar2 We seeing output is incorrect when run quantization mode, debug in progress, once identify the cause and fix will update to ready.
Did you see this issue before? Any guide suggestion for debugging this issue?
 All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Can you please run bf16 tests and make sure you are getting similar numbers with and without this PR as well.
for example a couple of configs like 128->128, 128->2048, 2048->128, 2048->2048 (i->o, meaning max_input_tokens=i and max_new_tokens=o)

Can you please run bf16 tests and make sure you are getting similar numbers with and without this PR as well. for example a couple of configs like 128->128, 128->2048, 2048->128, 2048->2048 (i->o, meaning max_input_tokens=i and max_new_tokens=o)
also can you please run make style at the topmost folder, because the PR is failing style check

Style checked.
Also add commit with added --reuse_cache option support.

Test with this PR seeing throughput improve, but still low.
Also see main  GPT-J code already has The size of tensor a (2048) must match the size of tensor b (2176) at non-singleton dimension 3 issue, when either max_input_tokens or max_new_tokens set to 2048
Without this PR:

Model
batch_size
max_input_tokens
max_new_tokens
Throughput (tokens/second)
Number of HPU graphs
Memory allocated (GB)
Max memory allocated (GB)
Total memory available (GB)
Graph compilation duration (seconds)
Error

GPT-J-6B Measure
1
128
128
147.26
11
11.52
11.68
94.62
8.71

GPT-J-6B Quantization
1024
128
128

RuntimeError: [Rank:0] FATAL ERROR :: MODULE:PT_DEVMEM Allocation failed for size::2147483648 (2048)MB

GPT-J-6B Quantization
640
128
128

RuntimeError: [Rank:0] FATAL ERROR :: MODULE:PT_DEVMEM Allocation failed for size::33030144000 (31500)MB

GPT-J-6B Quantization
320
128
128

RuntimeError: [Rank:0] FATAL ERROR :: MODULE:PT_DEVMEM Allocation failed for size::16515072000 (15750)MB

GPT-J-6B Quantization
256
128
128
4978.55
15
40.21
86.68
94.62
80.36

GPT-J-6B Quantization
120
2048
128

RuntimeError: The size of tensor a (2048) must match the size of tensor b (2176) at non-singleton dimension 3

GPT-J-6B Quantization
120
1024
128

RuntimeError: [Rank:0] FATAL ERROR :: MODULE:PT_DEVMEM Allocation failed for size::27869184000 (26578.1)MB

GPT-J-6B Quantization
120
368
128
2823.54
15
37.01
76.51
94.62
78.28

GPT-J-6B Quantization
120
128
2048

RuntimeError: The size of tensor a (2048) must match the size of tensor b (2176) at non-singleton dimension 3

GPT-J-6B Quantization
120
128
1024

RuntimeError: [Rank:0] FATAL ERROR :: MODULE:PT_DEVMEM Allocation failed for size::27869184000 (26578.1)MB

GPT-J-6B Quantization
120
128
624

RuntimeError: [Rank:0] FATAL ERROR :: MODULE:PT_DEVMEM Allocation failed for size::18192384000 (17349.6)MB

GPT-J-6B Quantization
120
128
512
3706.45
15
46.02
94.62
94.62
113.97

GPT-J-6B Quantization
120
128
256
4687.05
15
30.01
62.27
94.62
77.36

GPT-J-6B Quantization
64
2048
128

RuntimeError: The size of tensor a (2048) must match the size of tensor b (2176) at non-singleton dimension 3

GPT-J-6B Quantization
64
1024
128
1183.81
15
44.39
91.28
94.62
103.23

GPT-J-6B Quantization
64
512
128
2032.33
15
27.35
54.08
94.62
70.22

GPT-J-6B Quantization
64
2048
2048

RuntimeError: The size of tensor a (2048) must match the size of tensor b (4096) at non-singleton dimension 3

GPT-J-6B Quantization
64
1024
1024

RuntimeError: [Rank:0] FATAL ERROR :: MODULE:PT_DEVMEM Allocation failed for size::26424115200 (25200)MB

GPT-J-6B Quantization
64
512
512
2514.55
15
40.12
82.57
94.62
113.1

With this PR

Model
batch_size
max_input_tokens
max_new_tokens
Throughput (tokens/second)
Number of HPU graphs
Memory allocated (GB)
Max memory allocated (GB)
Total memory available (GB)
Graph compilation duration (seconds)
Error

GPT-J-6B Measure
1
128
128
87.77
21
11.52
11.57
94.62
6.44

GPT-J-6B Quantization
1024
128
128

RuntimeError: [Rank:0] FATAL ERROR :: MODULE:PT_DEVMEM Allocation failed for size::52848230400 (50400)MB

GPT-J-6B Quantization
640
128
128
5822.32
74
56.74
94.62
94.62
115.87

GPT-J-6B Quantization
320
128
128
5654.14
74
31.34
65.78
94.62
85.91

GPT-J-6B Quantization
256
128
128
5717.59
74
26.27
53.58
94.62
80.37

GPT-J-6B Quantization
120
2048
128

RuntimeError: The size of tensor a (2048) must match the size of tensor b (2176) at non-singleton dimension 3

GPT-J-6B Quantization
120
1024
128
1533.06
74
48.53
78.33
94.62
103.88

GPT-J-6B Quantization
120
368
128
3323.75
74
24.32
48.44
94.62
86.0

GPT-J-6B Quantization
120
128
2048

RuntimeError: The size of tensor a (2048) must match the size of tensor b (2176) at non-singleton dimension 3

GPT-J-6B Quantization
120
128
1024
3910.81
74
48.53
78.33
94.62
169.21

GPT-J-6B Quantization
120
128
624
4892.65
74
33.77
70.57
94.62
118.27

GPT-J-6B Quantization
120
128
512
5022.39
74
29.64
61.05
94.62
101.95

GPT-J-6B Quantization
120
128
256
5714.56
74
20.19
38.94
94.62
80.3

GPT-J-6B Quantization
64
2048
128

RuntimeError: The size of tensor a (2048) must match the size of tensor b (2176) at non-singleton dimension 3

GPT-J-6B Quantization
64
1024
128
1464.83
74
28.66
58.54
94.62
84.13

GPT-J-6B Quantization
64
512
128
2402.4
74
18.58
35.04
94.62
73.62

GPT-J-6B Quantization
64
2048
2048

RuntimeError: The size of tensor a (2048) must match the size of tensor b (4096) at non-singleton dimension 3

GPT-J-6B Quantization
64
1024
1024
2431.85
74
48.18
76.33
94.62
140.18

GPT-J-6B Quantization
64
512
512
3365.81
74
26.15
52.71
94.62
91.72

Fixed RuntimeError: The size of tensor a (2048) must match the size of tensor b (2176) at non-singleton dimension 3 issue.

@kplau1128  what's the latest test result for this?

@kplau1128 what's the latest test result for this?

@libinta I had updated in GS-103 here is the latest test result:

Model
batch_size
bucket_size
max_input_tokens
max_new_tokens
Throughput (tokens/second)
Number of HPU graphs
Memory allocated (GB)
Max memory allocated (GB)
Total memory available (GB)
Graph compilation duration (seconds)
Error

GPT-J-6B Measure
1

128
128
88.79
19
11.51
11.53
94.62
6.41

GPT-J-6B Quantization
1024

128
128

RuntimeError: [Rank:0] FATAL ERROR :: MODULE:PT_DEVMEM Allocation failed for size::26424115200 (25200)MB

GPT-J-6B Quantization
928
128
128
8186.81
72
68.47
94.61
94.62
121.32

GPT-J-6B Quantization
120
128
128
2048
5114.44
492
64.32
70.6
94.62
599.7

GPT-J-6B Quantization
64

2048
128
794.87
72
49.45
77.64
94.62
98.83

GPT-J-6B Quantization
64
128
2048
2048

RuntimeError: [Rank:0] FATAL ERROR :: MODULE:PT_DEVMEM Allocation failed for size::26424115200 (25200)MB

GPT-J-6B Quantization
60
128
2048
2048

RuntimeError: [Rank:0] FATAL ERROR :: MODULE:PT_DEVMEM Allocation failed for size::12096000 (11.5356)MB

GPT-J-6B Quantization
56
128
2048
2048
2041.35
492
66.2
90.89
94.62
625.4


Reviewer updates

@aaristov here you are!
Sorry, since there were only two small lines of code that were changed (except in the notebooks) I dodn't tag you in the PR.

I've got a problem with the notebook

Stupid ass { that was missing grrrr

fixed both branches now

I have a new problem

It's running and working locally on my computer, how is it possible?

could you show the status bar to verify the branch?

mine
jupyter lab --version
3.3.2

I see, the notebook in the revewer branch is still broken

It works from main

but in main it is missing my changes

to the notebook? Your changes are included in the code though?

ARGH

it depends, some yes, some no


feat: add Pluralith/pluralith-cli

#6223 Pluralith/pluralith-cli: A tool for Terraform state visualisation and automated generation of infrastructure documentation
$ aqua g -i Pluralith/pluralith-cli

Thank you always!

Released. https://github.com/aquaproj/aqua-registry/releases/tag/v3.53.0


Add Google Tasks to Todo providers, fix Todo url validation

Description
Add Google Tasks to the dropdown list of Todo providers. Also switched the logic for URL validation from the complex regex parsing to the Javascript-provided URL api.
Motivation and Context

Adding a common Todo provider - https://support.google.com/tasks/answer/7675772?co=GENIE.Platform%3DDesktop&hl=en
How Has This Been Tested?

Manually verified by logging in to Google Tasks
Screenshots (if appropriate):

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My code follows the code style of this project (run $ yarn lint).

@all-contributors please add dannyqiu for code

Where does this feature stand?
I don't see it and tried adding a custom server with the URL in the pull request changes, but I can't login, looks like google throws me away saying my browser isn't secured.
Any information would be very welcomed!


Team Meeting - Sep 18 2024

Date and Time
Sept 18 2024 @12:30pm
Virtual or Hatch 204A
Attendance

[ ] Adam Podolak
[ ] Austin Bennett
[ ] Christian Petricca
[ ] Evan Sturmey
[ ] Jacob Kish

Agenda
Discuss:

[ ] Dev Plan
[ ] Problem Statement
[ ] POC
[ ] Requirements SRS
[ ] Next Steps w/ Supervisor

POC Plan: Showcasing FULL stack interconnectivitiy


feat: Add impossible_comparisons #76

Issue
76
Description

Implement is_impossible_double_comparison.
Fix the current implementation.
Add and update tests.

@0xLucqs

@0xLucqs

@0xLucqs , I joined the two logics in is_impossible_double_comparison and added two more examples.

@0xLucqs ,I updated the initial function to include two additional cases: checking for x > y && x >= y and x <= y && x > y.

@0xLucqs ,Based on your feedback, I adjusted the logic and placed it in is_redundant_double_comparison

@all-contributors please add @MariangelaNM for code and tests


Error : 'charmap' codec can't decode byte 0x8f in position 26

2024-12-20 15:17:01 [error    ] [gradio_gulliver.py] _tts_with_subtitle - Error : 'charmap' codec can't decode byte 0x8f in position 26: character maps to
i got error when i trying vietnames

Thanks for reporting the error. Can you help me reproduce your error? What screen and what action are you performing when the error occurs? It would be helpful if you could upload the subtitles.


[FEAT] Expose router helpers

Is your feature request related to a problem? Please describe.
I was dealing with needs to do some custom route-related computation/manipulation not to long ago and may need to again in the future.
I would like to see everything in https://github.com/refinedev/refine/blob/32c4549896c180b471ffb5ed4e2dfc4327f4f91d/packages/core/src/definitions/helpers/router/index.ts exported at https://github.com/refinedev/refine/blob/32c4549896c180b471ffb5ed4e2dfc4327f4f91d/packages/core/src/definitions/helpers/index.ts. Currently only getActionRoutesFromResource is.
Describe alternatives you've considered
No response
Additional context
No response
Describe the thing to improve
Export the router helpers

Hey @pcfreak30, we don't want to expose them because they are for internal use-only and exporting them will add maintenance burden for us for no good reason. For example we may rename, remove or change the behavior for them.
Could you let us know your use-case for this one? We may have some other things that could be useful to you.

I believe #6419 is related. I don't have any other need off my head now but I have run into it during my development at-least once.

I see, as I said we don't want to have additional maintenance liability for some internal helpers. Closing the issue now. You can also copy/paste these helpers as you need them.


SpokenWOZ dataset: bad audio data encoding

Hello,
I find issue with encoding audio data. Files have suffix .wav but they are encoded like mp3.  Specifically:

audio_5700_test/SNG0885.wav
audio_5700_test/SNG0903.wav
audio_5700_test/SNG0601.wav
audio_5700_test/SNG0890.wav
audio_5700_test/SNG0877.wav
audio_5700_test/SNG0646.wav
audio_5700_test/SNG0901.wav
audio_5700_test/SNG0653.wav
audio_5700_test/SNG0897.wav

Thank you for being so interested in SpokenWOZ.
Now we update the new version of test audio data and fix the issue about the mentioned dialogue.

Thank you for being so interested in SpokenWOZ.
Now we update the new version of test audio data and fix the issue about the mentioned dialogue.


Deepspeed example should use gather_for_metrics

I believe this example should be using gather_for_metrics here instead of gather to work correctly on distributed setups.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[5.6] Fix eager loading MorphTo relationship with custom name

When eager loading a MorphTo relationship with a custom name, Eloquent falsely initializes the relationship with the original method name:
class Like extends Model
{
    public function likeable()
    {
        return $this->morphTo('likeable_custom', 'likeable_type', 'likeable_id');
    }
}

$like = Like::with('likeable')->first();
dd($like->getRelations());

// expected
array:1 [▼
  "likeable_custom" => Post {#123 ▶}
]

// actual
array:2 [▼
  "likeable" => null
  "likeable_custom" => Post {#123 ▶}
]

Fixes #24787.

BelongsTo and BelongsToMany relationships also allow the user to specify a custom name  ($relation/$relationName). However, neither of them actually uses the name on eager loading. BelongsTo only uses it when calling associate()/dissociate().
I assume that's a bug and should also be fixed?

I don't even really understand why this is even customizable? Just name the method what you want the relationship to be called?

I was surprised, too. As far as I can see, MorphTo has been behaving like this since the beginning.
What was the idea behind custom relationship names in BelongsTo and BelongsToMany?

I think this is just bad use. AFAIK, the point of custom name is to decouple the database value from the eloquent namespace. If you customise the name, You should define your method with the same name as the custom name.

I absolutely agree. But if you use a relationship like this to customize the column names, you also change the relationship name.
Regardless of whether this is a useful behavior or not, there shouldn't be a falsely initialized entry in $relations.

I understand there is a bad behaviour in Eloquent, however I'm still not sure if we should fix it. The linked issue shows the user trying to user custom names without being consistent with himself, which seem to be the trigger of all of this.
To me, it doesn't sound nice to support that inconsistency.
I'm waiting to see what he has to say.

Meh, don't think I'm going to take any action here for now.


Add ndcg

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (1a32607) to head (2ba11b1).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #455   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          107       108    +1
  Lines         2728      2744   +16
  Branches       164       165    +1
=========================================
+ Hits          2728      2744   +16

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


fix: correct bug on sentence-transformers trainer with a list of values in the records

Description
This PR solves an error in the ArgillaTrainer for sentence-similarity when the records include nested lists.
Closes #4088
Type of change
(Please delete options that are not relevant. Remember to title the PR according to the type of change)

[x] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested
(Please describe the tests that you ran to verify your changes. And ideally, reference tests)
Tested locally
Checklist

[x] I followed the style guidelines of this project
[x] I did a self-review of my code
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I filled out the contributor form (see text above)
[ ] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)

@plaguss, could you add some small tests for this too?

@plaguss could you also check if the other implementations allow for passing generators too?

@plaguss could you also check if the other implementations allow for passing generators too?

We only have tests for generators in the text-classification frameworks. I'm not sure if trl/openai work, let me check

@plaguss could you also check if the other implementations allow for passing generators too?

We only have tests for generators in the text-classification frameworks. I'm not sure if trl/openai work, let me check

I was speaking with @sdiazlor and it seems that the generators are not working properly with the other frameworks (she mentioned the chat-completion task I think). Maybe we can close this one and tackle that in a different issue?

@plaguss, I agree. Feel free to create a separate issue.


change from wget to curl in install.sh script

Cause the OSX does not contains wget native, I changed the download of paket.exe in install.sh script to curl. In my tests (existing and not existing paket.exe) everything works fine.


feat: Add experimental DirectPath support

Previously DirectPath was enabled by an environment variable. Now since gax-java v1.57.0 DirectPath can be enabled by using InstantiatingGrpcChannelProvider.Builder.setAttemptDirectPath(true).
Some changes are temporary and will be removed once DirectPath goes public using the default spanner endpoint. For now we want to be able to test the DirectPath-enabled endpoint with different client scenarios:

Client is running on a ipv4-only VM
Client is running on a ipv6-enabled VM
Client fallbacks to use normal CFE path

For the purpose of our internal E2E tests, I added a test profile called spanner-directpath-it which introduces two new sys props:

spanner.attempt_directpath: this defines whether the test client would call setAttemptDirectPath(true) and set the spanner endpoint to use the DirectPath-enabled target aa423245250f2bbf.sandbox.googleapis.com:443.
spanner.directpath_test_scenario: this defines which of the three scenarios mentioned above to test.

And for different scenarios we would have different assertions for the test:

For ipv4-only VM, we introspect the peer IP addresses and expect they have DP_IPV4_PREFIX.
For ipv6-enabled VM, we introspect the peer IP addresses and expect they have either DP_IPV4_PREFIX or DP_IPV6_PREFIX.
For fallback cases, we should allow both DirectPath addresses and CFE addresses.

+cc @chingor13 , @vnorigoog

Hi @thiagotnunes and @chingor13, is there anything else need to be done before this can be merge?

@WeiranFang nothing from side. Can you merge?

Hi @thiagotnunes Actually I don't have access to merge this PR:

"Only those with write access to this repository can merge pull requests."

is it OK to add me write access to this repo? Thanks!

@WeiranFang you are right, I will merge it for you and follow up if I can give you write access.


🐛 [EXTENSION_NAME_HERE] Geniusbot7

[READ] Step 1: Are you in the right place?
Issues filed here should be about a feature request for a specific extension in this repository. To file a feature request that affects multiple extensions or the Firebase Extensions platform, please reach out to
Firebase support directly.
[REQUIRED] Step 2: Extension name
This feature request is for extension: _ (storage-resize-images, firestore-send-email, etc)
What feature would you like to see?
Describe the feature you would like to add, or how you'd like to see the extension change.
How would you use it?
Tell us how you'd use this feature in your app.

Integration()amp-components


Determine the container runtime from the environment.

What does this PR do?
This eliminates the need for the temporary logs_config.use_podman_logs
configuration value, based on the assumption that the agent is running
in the context of only one container runtime.
Motivation
Remove unnecessary configuration.
Describe how to test/QA your changes
Tail a container in

a docker environment
a (daemonful) podman environment

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] The appropriate team/.. label has been applied, if known.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

@DataDog/container-integrations flagged for review to check if this is the right way to determine the container runtime.


⚠ BCR Bot has degraded performance

In 4d367ec, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 8667 ms

Resolved: BCR Bot performance has improved in 6c132b6.


How to get index of contentChild List?

how to get index of content child list ?
contentChild: (context, value) {)

check my fork repo
if is what u like star the forked
 comment_tree:
    git:
      url: https://github.com/gbbest15/flutterCommentTree.git
      ref: master

@gbbest15 not getting the index of content child list?