Need to add a parameter to pass in URL to button component so that it can be used as a link

Need to add a parameter to pass in URL to button component so that it can be used as a link
Originally posted by @rmccar in https://github.com/ONSdigital/design-system/issues/45#issuecomment-520341776

Hasn't this been done?


Support user-defined allocation functions

TypeART should be configurable for user-defined allocation (and deallocation) functions
Consider the AMG multi grid solver.
AMG uses macros for memory allocation, e.g., a calloc-like implementation:
#define hypre_CTAlloc(type, count) \
( (type *)hypre_CAlloc((unsigned int)(count), (unsigned int)sizeof(type)) )

In turn the called function looks approximately like this:
char* hypre_CAlloc(int count, int elt_size) {
  char* ptr;
  int size = count * elt_size;

  ptr = calloc(count, elt_size);

  return ptr;
}

The defect:
Assume a call like:
 double* a = hypre_CTAlloc(double, num_variables);

Our static pass is not aware of this macro, it instead finds the C calloc.
Thus, it deduces the char* type for that calloc, which is put into our runtime.
The subsequent cast of the char* returned by hypre_CAlloc to double is not found by our current implementation.

See also for support target: https://llvm.org/doxygen/MemAlloc_8h.html


Great Explanation!!

Hi Vijendra Singh,
Your project gave me a lot of idea about how to customize R-CNN on my project; therefore, I wanted to mention that.
I may share with you after project done.
Thank you so much for that kind of sharing.

Hi Agit,
I am glad to know that this project helped you but please don't create an issue to mention so. You could write me direct mail for such a thing. :)
All the best for your project. Looking forward to see the result of your project, you could share it with me on<EMAIL_ADDRESS>


Update android sdk and gradle build tools version.

Use common ext block.

+1 This is a much cleaner way to handle these dependencies with so many modules.

OK, I will need to test it and then merge if everything is ok.

It works!
THANK YOU! :)

@konmik Thanks for the framework.  Have some @changetip $1 bitcoin on me.

Hi @konmik, @IgorGanapolsky sent you a Bitcoin tip worth 4,253 bits ($1.00), and I'm here to deliver it ➔ collect your tip.
Learn more about ChangeTip


Can't save empty/blank values

I am unable to save an empty string.  Example:
var conf = Config.Build(fileName);
conf.SetString("Section", "Variable", string.Empty);

I get System.ArgumentException Message=C:\ProgramData\XX\XXX\Login.config(0,13): Expected variable value after '='.
Is this expected?  My workaround was to set the value to a string containing two " values.
var valueToSet = "\"\"";
var conf = Config.Build(fileName);
conf.SetString("Section", "Variable", valueToSet);

This works, but I'm wondering if I'm just doing something wrong.  It doesn't feel like an invalid scenario to want to save a blank setting value.

An empty string is invalid because an empty variable actually works like a boolean switch.
See the Values section: https://dotnetconfig.org/#format


Normalizing English language tag

Debug log ID
FH3W5CKW-refs-euc/6.7.263-7
What happened?
The CSL spec indicates that the language field should provide ISO 639-1 language tags (i.e. IETF tags). Hence, pandoc-citeproc follows this to the letter and will only apply title case to items either with no language specified or with the tag en. Unfortunately, Zotero does not normalize this on import, and many items end up with non-IETF tags in the language field, mostly ISO 639-2 codes, which triggers an undesired sentence-case citation. It would be most helpful if BBT could convert ISO 639-2 to ISO 639-1 language codes, and perhaps also normalize strings such as English to en.

This works well; thank you! I would suggest two improvements:

It appears that there is no need to change en-US to en, as both are valid IETF codes. Including a region still results in the correct capitalization in Pandoc:

pandoc --citeproc -t plain << EOT
---
references:
- id: example
  author: "Author"
  title: "Example title"
  language: "en-GB"
  issued:
    year: 2024
---

Citation: [@example].
EOT

It is possible to have multiple language codes stored in the Language field, delimited with a space (e.g. eng lat) or occasionally a semicolon (e.g. eng;lat). For examples, add the ISBNs 978-0-19-815039-8 or 978-1-908590-41-1 to a Zotero library. If these codes are converted to IETF tags, this will give the expected result in Pandoc:

pandoc --citeproc -t plain << EOT
---
references:
- id: example
  author: "Author"
  title: "Example title"
  language: "en la"
  issued:
    year: 2024
---

Citation: [@example].
EOT

Many thanks again!

A word of caution, though: In CSL, the language variable is supposed to hold one single language tag only, and the variable’s current unique role is to switch on conversion of titles to title-case when rendering an item’s metadata if the language tag starts with en (and if, in addition, asked by the CSL style to do so, of course).
From https://docs.citationstyles.org/en/stable/specification.html#appendix-iv-variables (note the singular!):

language
The language of the item;
Should be entered as an ISO 639-1 two-letter language code (e.g. “en”, “zh”), optionally with a two-letter locale code (e.g. “de-DE”, “de-AT”)

The reason the language: "en la" example works as expected is merely because the tag starts with en; with language: "la en", it does not.
Unfortunately, there is no CSL variable indented to record the language(s) the content of a work is written in (for this purpose, biblatex has language; confusingly, as CSL’s language equals biblatex’s langid).

But then there's no benefit to adding En-US over just en.

I’d still recommend not throwing away information, so I’d always import something like american as en-US rather than just en. (I wouldn’t add information, though, so english should just remain en.)
In any case, keeping language-plus-locale tags is essential when exporting to biblatex, as biblatex can also modify hyphenation, punctuation, and localised terms, all of which might differ between, say, en-US and en-GB, or de-DE and de-AT.
From the current biblatex manual:

It is highly advisable to always specify american, british, australian, etc. rather than english when loading the babel/polyglossia packages to avoid any possible confusion.

But that doesn't apply to CSL, right?

Right. From a CSL (processor) perspective, it currently does not matter if it’s en or en-US.
That being said, en-US is a perfectly valid CSL language tag (see quote from the CSL specs, above), so there’s no reason not to use it.
The OP was about normalising upon import after all, where I would continue to argue that throwing away available information (e.g., by ‘normalising’ from en-US to en) is not a good idea since this very information might be useful, at the very least when exporting to biblatex.

That is not my understanding - I think the OP was talking about items already in Zotero, and that during that import (from whatever source) the dates end up being a hodgepodge (likely so no information is discarded), and how they could be normalized on CSL export. I don't have CSL import, just export.
The reason I'd prefer to leave it as en is that I currently reuse code I already have, and changing it would be kind of involved.

Yes, my aim is purely to export items from Zotero into valid CSL JSON, for use in Pandoc. While currently this only changes whether title case is applied, I plan to see whether language tagging can also be applied to citations, if this field can be normalized reliably.
I hadn't realized that it was against the spec to list more than one language tag. In that case, if more than one is recorded in Zotero, perhaps only the first could be kept?
If I can get Pandoc to output language tagging with citations, it could be useful to be able to distinguish between, for example, de-DE and de-AT  (as @njbart notes), to control hyphenation. It will make no difference for Pandoc's current functionality. I had mainly assumed that the code could be simplified if it were not concerned with discarding this information – it's probably not worth your time if that's not the case.

Zotero doesn't really have the concept of multiple language stored per item. It's a single free-form string.
I can take a look later next week what I can do about locales. It may in the end be simpler but it's not now. The language normalizer in BBT scripts off of babel's language configs, and I don't recall how much flexibility I kept in that process.


Upgraded requirement versions for Python 3.7

Everything actually works with 3.7, just need to allow pypi to install it.

Coverage remained the same at 100.0% when pulling 7a1eea52d1d491909951fd700fe4c22ac6aa2524 on avryhof:py37 into 99438aaa801a197bc5535cfc9f5092f3086088f4 on theskumar:master.

Thank you so much!

@avryhof v0.2.3 uploaded by pypi! 🎉


Fix/add failure behavior #266

Hi team,
This MR addresses the behavior mismatch mentioned in https://github.com/etcd-cpp-apiv3/etcd-cpp-apiv3/issues/266
Have passed the EtcdSyncTest

Merged. Thank you!


Installed PiVPN sucessfully, but ssh and vnc not working

I installed PiVPN with WireGuard sucessfully, but then, my ssh and vnc suddenly stopped working. I've tried rebooting, restaring the services, re-allowing ssh and vnc to pass through ufw, reinstalling openssh-server and tightvncserver, but it is not working. I get the error ssh: connect to host (my ip) port 22: connection refused. I know this is a problem with PiVPN. Is there a fix?

Can you give more information?

Can you ping your ssh machine with the PiVPN installed and connected?
Are you connecting using a DNS name, or a direct IP.  Can you ping with both of these?  If only one works you may have a DNS problem
Is your SSH config set up to only listen on one interface? If so, it may not be listening on the wg0 interface
Are you listening on IPV4? (netstat -ant) If you were using IPv6 before, PiVPN does not support that.
Can you ssh to the machine from itself with PiVPN installed?

When I try to ping:
`Pinging [my raspberry pi ip] with 32 bytes of data:
General failure.
General failure.
General failure.
General failure.
Ping statistics for [my raspberry pi ip]:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),`
I am using a DDNS address. It is working perfectly fine
I am using IPv4.
I can ssh when I am not connected, however, when I am I can't ssh into anything on my network.

When I try to ping:
`Pinging [my raspberry pi ip] with 32 bytes of data:
General failure.
General failure.
General failure.
General failure.
Ping statistics for [my raspberry pi ip]:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),`
I am using a DDNS address. It is working perfectly fine
I am using IPv4.
I can ssh when I am not connected, however, when I am I can't ssh into anything on my network.

So if you cannot ping with wireguard connected, you are getting no VPN connection.  Are the figures in the wireguard client ticking up - showing bytes being send and received? They take  a few seconds to start, but should show some handshaking taking place.

So if you cannot ping with wireguard connected, you are getting no VPN connection.  Are the figures in the wireguard client ticking up - showing bytes being send and received? They take  a few seconds to start, but should show some handshaking taking place.

Yup. Working!

Yup. Working!

So is the data transfer just working, or is the rest working too?
Next step is to check you can ping using the wg0 addresses, probably <IP_ADDRESS> and <IP_ADDRESS> from the client.  This would prove the tunnel is working, and isolate the fault to the server forwarding/firewall.

So is the data transfer just working, or is the rest working too?
Next step is to check you can ping using the wg0 addresses, probably <IP_ADDRESS> and <IP_ADDRESS> from the client.  This would prove the tunnel is working, and isolate the fault to the server forwarding/firewall.

I checked <IP_ADDRESS> and sure enough, it's working
Results:
`Pinging <IP_ADDRESS> with 32 bytes of data:
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Ping statistics for <IP_ADDRESS>:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms`

I checked <IP_ADDRESS> and sure enough, it's working
Results:
`Pinging <IP_ADDRESS> with 32 bytes of data:
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Reply from <IP_ADDRESS>: bytes=32 time<1ms TTL=128
Ping statistics for <IP_ADDRESS>:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms`

Oh, and it's not just my Raspberry Pi. It's also any address that starts with 192.168

Oh, and it's not just my Raspberry Pi. It's also any address that starts with 192.168

1 Get on the client
2 ping <IP_ADDRESS>  that should be the client  (looks like you are currently pinging client from itself from the < 1ms response time), just confirm that.
3 ping <IP_ADDRESS> that's the wireguard server
4 Get on the wireguard server (the pi)  Can you run pivpn -d on the wireguard server and post the diagnostic output,
5 Pinging any 192.168.x.y address from the client (assuming you are on the client) failing just means that you have a failure of routing on the wireguard server, probably.
6 On the wireguard server, (the pi) can you show the output of ifconfig, which should show the addresses you have on that machine's interfaces
7 On the wireguard server (the pi) can you show the output of route, which should show whether you have the routes set up correctly.  The other thing that matters, the masquerade, should be shown in the pivpn debug output I'm asking for above.
Best wishes

1 Get on the client
2 ping <IP_ADDRESS>  that should be the client  (looks like you are currently pinging client from itself from the < 1ms response time), just confirm that.
3 ping <IP_ADDRESS> that's the wireguard server
4 Get on the wireguard server (the pi)  Can you run pivpn -d on the wireguard server and post the diagnostic output,
5 Pinging any 192.168.x.y address from the client (assuming you are on the client) failing just means that you have a failure of routing on the wireguard server, probably.
6 On the wireguard server, (the pi) can you show the output of ifconfig, which should show the addresses you have on that machine's interfaces
7 On the wireguard server (the pi) can you show the output of route, which should show whether you have the routes set up correctly.  The other thing that matters, the masquerade, should be shown in the pivpn debug output I'm asking for above.
Best wishes

<IP_ADDRESS> and <IP_ADDRESS> are pinging perfectly fine.
This is the output of pivpn -d:
::::        Installation settings        ::::
PLAT=Ubuntu
OSCN=groovy
USING_UFW=0
IPv4dev=wlan0
install_user=matrix
install_home=/home/matrix
VPN=wireguard
pivpnPORT=51820
pivpnDNS1=<IP_ADDRESS>
pivpnDNS2=<IP_ADDRESS>
pivpnHOST=REDACTED
INPUT_CHAIN_EDITED=1
FORWARD_CHAIN_EDITED=1
pivpnPROTO=udp
pivpnDEV=wg0
pivpnNET=<IP_ADDRESS>
subnetClass=24
UNATTUPG=1
INSTALLED_PACKAGES=()
::::  Server configuration shown below   ::::
[Interface]
PrivateKey = server_priv
Address = <IP_ADDRESS>/24
ListenPort = 51820
begin matrix
[Peer]
PublicKey = matrix_pub
PresharedKey = matrix_psk
AllowedIPs = <IP_ADDRESS>/32
end matrix
=============================================
::::  Client configuration shown below   ::::
[Interface]
PrivateKey = matrix_priv
Address = <IP_ADDRESS>/24
DNS = <IP_ADDRESS>, <IP_ADDRESS>
[Peer]
PublicKey = server_pub
PresharedKey = matrix_psk
Endpoint = REDACTED:51820
AllowedIPs = <IP_ADDRESS>/0, ::0/0
::::    Recursive list of files in       ::::
::::    /etc/wireguard shown below       ::::
/etc/wireguard:
client_private_key
client_public_key
configs
keys
matrix.conf
matrix-desktop.conf
matrix-updated.conf
server_private_key
server_public_key
wg0-client.conf.save
wg0.conf
/etc/wireguard/configs:
clients.txt
matrix.conf
/etc/wireguard/keys:
matrix_priv
matrix_psk
matrix_pub
server_priv
server_pub
::::            Self check               ::::
:: [OK] IP forwarding is enabled
:: [OK] Iptables MASQUERADE rule set
:: [OK] Iptables INPUT rule set
:: [OK] Iptables FORWARD rule set
:: [OK] WireGuard is running
:: [OK] WireGuard is enabled (it will automatically start on reboot)
:: [OK] WireGuard is listening on port 51820/udp
:::: Having trouble connecting? Take a look at the FAQ:
:::: https://github.com/pivpn/pivpn/wiki/FAQ
:::: WARNING: This script should have automatically masked sensitive       ::::
:::: information, however, still make sure that PrivateKey, PublicKey      ::::
:::: and PresharedKey are masked before reporting an issue. An example key ::::
:::: that you should NOT see in this log looks like this:                  ::::
:::: YIAoJVsdIeyvXfGGDDadHh6AxsMRymZTnnzZoAb9cxRe                          ::::
::::            Debug complete           ::::
:::
::: Debug output completed above.
::: Copy saved to /tmp/debug.log
:::
Output of ifconfig
    ether dc:a6:32:55:40:da  txqueuelen 1000  (Ethernet)
    RX packets 0  bytes 0 (0.0 B)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 0  bytes 0 (0.0 B)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
inet <IP_ADDRESS>  netmask <IP_ADDRESS>
inet6 ::1  prefixlen 128  scopeid 0x10
loop  txqueuelen 1000  (Local Loopback)
RX packets 651834  bytes 86862501 (86.8 MB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 651834  bytes 86862501 (86.8 MB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
ether 52:54:00:6f:10:ea  txqueuelen 1000  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
wg0: flags=209<UP,POINTOPOINT,RUNNING,NOARP>  mtu 1420
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  destination <IP_ADDRESS>
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)
RX packets 1112  bytes 291808 (291.8 KB)
RX errors 106  dropped 0  overruns 0  frame 106
TX packets 928  bytes 472004 (472.0 KB)
TX errors 412  dropped 0 overruns 0  carrier 0  collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
inet6 fe80::7cbe:d1d1:764b:c4d1  prefixlen 64  scopeid 0x20
ether dc:a6:32:55:40:dc  txqueuelen 1000  (Ethernet)
RX packets 1050789  bytes<PHONE_NUMBER> (1.1 GB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 707897  bytes 366204596 (366.2 MB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Output of route;
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         <IP_ADDRESS>     <IP_ADDRESS>         UG    303    0        0 wlan0
<IP_ADDRESS>        <IP_ADDRESS>         <IP_ADDRESS>   U     0      0        0 wg0
link-local      <IP_ADDRESS>         <IP_ADDRESS>     U     1000   0        0 wlan0
<IP_ADDRESS>     <IP_ADDRESS>         <IP_ADDRESS>   U     303    0        0 wlan0
<IP_ADDRESS>   <IP_ADDRESS>         <IP_ADDRESS>   U     0      0        0 virbr0

<IP_ADDRESS> and <IP_ADDRESS> are pinging perfectly fine.
This is the output of pivpn -d:
::::        Installation settings        ::::
PLAT=Ubuntu
OSCN=groovy
USING_UFW=0
IPv4dev=wlan0
install_user=matrix
install_home=/home/matrix
VPN=wireguard
pivpnPORT=51820
pivpnDNS1=<IP_ADDRESS>
pivpnDNS2=<IP_ADDRESS>
pivpnHOST=REDACTED
INPUT_CHAIN_EDITED=1
FORWARD_CHAIN_EDITED=1
pivpnPROTO=udp
pivpnDEV=wg0
pivpnNET=<IP_ADDRESS>
subnetClass=24
UNATTUPG=1
INSTALLED_PACKAGES=()
::::  Server configuration shown below   ::::
[Interface]
PrivateKey = server_priv
Address = <IP_ADDRESS>/24
ListenPort = 51820
begin matrix
[Peer]
PublicKey = matrix_pub
PresharedKey = matrix_psk
AllowedIPs = <IP_ADDRESS>/32
end matrix
=============================================
::::  Client configuration shown below   ::::
[Interface]
PrivateKey = matrix_priv
Address = <IP_ADDRESS>/24
DNS = <IP_ADDRESS>, <IP_ADDRESS>
[Peer]
PublicKey = server_pub
PresharedKey = matrix_psk
Endpoint = REDACTED:51820
AllowedIPs = <IP_ADDRESS>/0, ::0/0
::::    Recursive list of files in       ::::
::::    /etc/wireguard shown below       ::::
/etc/wireguard:
client_private_key
client_public_key
configs
keys
matrix.conf
matrix-desktop.conf
matrix-updated.conf
server_private_key
server_public_key
wg0-client.conf.save
wg0.conf
/etc/wireguard/configs:
clients.txt
matrix.conf
/etc/wireguard/keys:
matrix_priv
matrix_psk
matrix_pub
server_priv
server_pub
::::            Self check               ::::
:: [OK] IP forwarding is enabled
:: [OK] Iptables MASQUERADE rule set
:: [OK] Iptables INPUT rule set
:: [OK] Iptables FORWARD rule set
:: [OK] WireGuard is running
:: [OK] WireGuard is enabled (it will automatically start on reboot)
:: [OK] WireGuard is listening on port 51820/udp
:::: Having trouble connecting? Take a look at the FAQ:
:::: https://github.com/pivpn/pivpn/wiki/FAQ
:::: WARNING: This script should have automatically masked sensitive       ::::
:::: information, however, still make sure that PrivateKey, PublicKey      ::::
:::: and PresharedKey are masked before reporting an issue. An example key ::::
:::: that you should NOT see in this log looks like this:                  ::::
:::: YIAoJVsdIeyvXfGGDDadHh6AxsMRymZTnnzZoAb9cxRe                          ::::
::::            Debug complete           ::::
:::
::: Debug output completed above.
::: Copy saved to /tmp/debug.log
:::
Output of ifconfig
    ether dc:a6:32:55:40:da  txqueuelen 1000  (Ethernet)
    RX packets 0  bytes 0 (0.0 B)
    RX errors 0  dropped 0  overruns 0  frame 0
    TX packets 0  bytes 0 (0.0 B)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
inet <IP_ADDRESS>  netmask <IP_ADDRESS>
inet6 ::1  prefixlen 128  scopeid 0x10
loop  txqueuelen 1000  (Local Loopback)
RX packets 651834  bytes 86862501 (86.8 MB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 651834  bytes 86862501 (86.8 MB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
ether 52:54:00:6f:10:ea  txqueuelen 1000  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
wg0: flags=209<UP,POINTOPOINT,RUNNING,NOARP>  mtu 1420
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  destination <IP_ADDRESS>
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)
RX packets 1112  bytes 291808 (291.8 KB)
RX errors 106  dropped 0  overruns 0  frame 106
TX packets 928  bytes 472004 (472.0 KB)
TX errors 412  dropped 0 overruns 0  carrier 0  collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
inet6 fe80::7cbe:d1d1:764b:c4d1  prefixlen 64  scopeid 0x20
ether dc:a6:32:55:40:dc  txqueuelen 1000  (Ethernet)
RX packets 1050789  bytes<PHONE_NUMBER> (1.1 GB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 707897  bytes 366204596 (366.2 MB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Output of route;
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         <IP_ADDRESS>     <IP_ADDRESS>         UG    303    0        0 wlan0
<IP_ADDRESS>        <IP_ADDRESS>         <IP_ADDRESS>   U     0      0        0 wg0
link-local      <IP_ADDRESS>         <IP_ADDRESS>     U     1000   0        0 wlan0
<IP_ADDRESS>     <IP_ADDRESS>         <IP_ADDRESS>   U     303    0        0 wlan0
<IP_ADDRESS>   <IP_ADDRESS>         <IP_ADDRESS>   U     0      0        0 virbr0

The only thing I can see wrong there, is the wg0 interface has high levels of tx packets dropped - that should not be happening, but if you rebooted and looked again it might look better.
Can you see if you have the problem if you turn off /unconfigure the virbr0 interface?  perhaps that is interfering,
Everything else looks normal to me.  Sorry not to be more helpful.

The only thing I can see wrong there, is the wg0 interface has high levels of tx packets dropped - that should not be happening, but if you rebooted and looked again it might look better.
Can you see if you have the problem if you turn off /unconfigure the virbr0 interface?  perhaps that is interfering,
Everything else looks normal to me.  Sorry not to be more helpful.

No replies in a while, closing...


EPIC: Matt Offboarding

This is an Epic to capture the various tasks Matt needs to complete to ensure the Digital Engagement team can continue to be successful after he leaves.
TASKS

[ ] Move local files and documentation to shared folders
[ ] Hand off contracts, budget items and transition points-of-contact with vendors
[ ] Prepare to hand off admin/ownership of any tools, apps and platforms and transfer control of any assets within them
[ ] Communicate changes in ownership of active projects and services to partners
[ ] Identify and complete any remaining critical documentation

[ ] eComm
[ ] Giving Website
[ ] GitHub
[ ] Workfront
[ ] SharePoint
[ ] Mural
[ ] Gliffy

[ ] communityfunded handoff with contacts and any relevant docs/communications
[ ] any links to docs relevant to https://github.com/CUCentralAdvancement/nextgen-feature-team/issues/16

I didn't want to edit your nicely organized task list, so I'll add my particulars here that relate to it (the other questions/thoughts on my Google Doc are not mission-critical):
-Get Katie access to Momentum List (I know you started this)
-Get Katie Creative Cloud (I think you started this with Chris Rose)
-Create documentation for Kirsten's Fund Manager's List (if this can't get done, maybe we can just chat about it one last time and I'll document). I know it's not super complicated.


Detect HTTP 429 when searching messages

As the endpoint does not respond with JSON on a 429, parsing the
response does not work and we incorrectly report that no message
exists. This change checks the HTTP code before attempting to inspect
the data and returns the relevant exception if needed
Resolves #12

I think it is worth adding the ability to back off and retry, but at a later date when we standardise retry and add the ability to enable/disable it.


TETP-276(bug): JobPostingSearch keywords workFeaturesList

Description :sparkles:
JobPostingSearch keywords can put cause application to crash if no matching keywords found in workFeaturesList
Issues :bug:
In useEffect should check to both keywords and workFeaturesList are not undefined
Testing :alembic:
Testing on local machine
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #2146 (3cc4c9b) into develop (1eefd0b) will increase coverage by 0.56%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop    #2146      +/-   ##
===========================================
+ Coverage    28.44%   29.00%   +0.56%
===========================================
  Files          758       52     -706
  Lines        15468      755   -14713
  Branches      3448      141    -3307
===========================================
- Hits          4400      219    -4181
+ Misses       10511      524    -9987
+ Partials       557       12     -545

Impacted Files
Coverage Δ

...c/components/jobPostingSearch/JobPostingSearch.tsx
0.00% <0.00%> (ø)

... and 706 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-main" workflow

Codecov Report

Merging #533 (708045b) into main (49d4249) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #533   +/-   ##
=======================================
  Coverage   95.69%   95.69%
=======================================
  Files           1        1
  Lines         395      395
  Branches       53       53
=======================================
  Hits          378      378
  Misses         17       17

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Remove release logic for RTOS images

Remove release logic for RTOS images.
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

/cherrypick release-0.20


Speed up first reservable time calculation

🛠 Changelog
Speeds up first reservable time calculation in a two different ways:

Pre-calculates affecting reservations with a materialized view. The view should be updated with a scheduled task.

Run calculation for fewer units based on pagination arguments. Use a custom QuerySet.iterator() to fetch chunks of reservation units and their affecting reservations

The above optimizations achieve <1s fetching for reservation units when calculating FRT, with or without using showOnlyReservable or any pagination args.
🧪 Test plan

Automated tests

🚧 Dependencies

Setup a periodic job in Django to refresh AffectingTimeSpans in platta envs.

🎫 Tickets

TILA-3436

Idea: Maybe there should be a flag set in cache which indicates that the materialized view refresh is valid, in case the job fails for some reason. This would then force a refresh in the endpoint if the value is missing.

Idea: Maybe there should be a flag set in cache which indicates that the materialized view refresh is valid, in case the job fails for some reason. This would then force a refresh in the endpoint if the value is missing.

Or value of when the view was last updated; force refresh if too old?
Some complications may be caused by parallel endpoint hits encountering invalid mat.view, in which case the refresh should be synchronized...

Added a value to cache for when the view was last updated. The FRT calculation will check this and refresh the view if it is too old. Refreshing the view with AffectingTimeSpan.refresh() updates the cached value.
Also, added error handling logic to the .refresh() methods on both materialized views to raise an error if the refresh fails during local development, but log to sentry in other environments.

Merged #1234, #1274, #1261 to this PR so that they can be merged to main together.

/ff


TFRS - New Act Label Changes - IDIR Home Dashboard

Describe the task
Changing labels on the Home Dashboard for IDIR users.
Labels to change:
See attached document for description of label changes:
https://app.zenhub.com/files/80058415/6b964348-36f5-4f20-ae04-7a533b53b314/download
Wireframe:

Note: wireframe does not include the one change on the main nav bar to change 'Fuel Codes' label to 'Administration'. This change is listed in the 'labels to change' attached document.

Purpose
Changes labels and messaging to align with the language and framing used in the new Act.
Acceptance Criteria

[ ] All the labels need to be changed as per the attached document without breaking the functionality

Hey team! Please add your planning poker estimate with Zenhub @AlexZorkin @jig-patel @prv-proton


Snakeyaml vulnerability in OpenSearch

We use opensearch-x-content:2.0.0 and  org.opensearch.client:opensearch-rest-high-level-client:2.0.0 jars in our application, which uses a vulnerable artifact snakeyaml. Even the most recent snakeyaml version v1.33 has a high vulnerability that can lead to remote code execution :- https://nvd.nist.gov/vuln/detail/CVE-2022-1471
Snakeyaml hasn't offered an updated safe version so far. Since we use Opensearch, snakeyaml library is transitively added as well.
Spring boot came up with their analysis on why their use-case of snakeyaml is not vulnerable, even though they use it :- https://github.com/spring-projects/spring-boot/issues/33457
Is there a plan by Opensearch to address this challenge/vulnerability that comes with using Snakeyaml? Please let me know if there's any update.

Thank you @akhil-lm for reporting this issue and relevant artifacts. I am looking into below artifacts to learn more about the vulnerability and how it can be exploited in OpenSearch.
[1] https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479
[2] https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2
[3] https://nvd.nist.gov/vuln/detail/CVE-2022-1471
[4] https://mvnrepository.com/artifact/org.yaml/snakeyaml

Hi @dreamer-89,
I see that the vulnerability associated with the SnakeYaml's Constructor() class has been addressed by Opensearch in this PR by using SafeConstructor() :- https://github.com/opensearch-project/security-analytics/pull/198/files
The latest Opensearch library available is v2.4.1. Would the change in the above PR be a part of the next version v2.4.2? If yes, then could you please let me know when can we expect the new version? Thanks so much.

The latest Opensearch library available is v2.4.1. Would the change in the above PR be a part of the next version v2.4.2? If yes, then could you please let me know when can we expect the new version? Thanks so much.

Thanks @akhil-lm for checking on this. Based on release schedule, the fix should go in 2.5.0 on Jan 17, 2023. As this high severity risk, we are evaluating if 2.4.2  can be released with the fix. I will update once I have more info on this.

Hence, we're interested to know whether these artifacts are affected or not due to the reported snakeyaml vulnerability. Request your inputs on the same.

Inside OpenSearch, no code path was identified that can be exploited for the CVE-2022-1471 vulnerability.

@akhil-lm: The fix in security-analytics plugin will go in 2.5.0 on Jan 17, 2023. Closing this issue, please free to reopen if you have anymore questions.

@dreamer-89  I don't find an option to reopen the issue. But, opensearch-3.0.0-SNAPSHOT.jar is still under security vulnerability due to snakeyaml-1.32.jar. More details are available in the below issue
https://github.com/opensearch-project/geospatial/issues/145

Do I need to reopen this? What do we do about it?

FYI, the Whitesource [1] caches that, along with bc-fips-<IP_ADDRESS>, for both there is no fix yet:

CVE
Severity
CVSS Score
Vulnerable Library
Suggested Fix
Issue

CVE-2022-1471
High
9.8
snakeyaml-1.33.jar

None

CVE-2022-45146
Medium
5.5
bc-fips-<IP_ADDRESS>.jar

None

[1] https://github.com/opensearch-project/OpenSearch/pull/5666/checks?check_run_id=10881469266

I believe all usages of SnakeYaml in OpenSearch are now using SafeConstructor() after #6205, per the recommendation in the CVE.


How to modify preprocess_bunny for qwen-1.5-1.8b-chat

Qwen1.5-1.8B/config.json:
  "bos_token_id": 151643,
  "eos_token_id": 151643,

Qwen1.5-1.8B-Chat/config.json:
  "bos_token_id": 151643,
  "eos_token_id": 151645,

This difference cause the condition if tokenizer.pad_token_id == tokenizer.eos_token_id: in preprocess_bunny is different, which can be seen as follow:
def preprocess_bunny(
        sources,
        tokenizer: transformers.PreTrainedTokenizer,
        has_image: bool = False
) -> Dict:
    conv = conversation_lib.default_conversation.copy()
    roles = {"human": conv.roles[0], "gpt": conv.roles[1]}

    # Apply prompt templates
    conversations = []
    for i, source in enumerate(sources):
        if roles[source[0]["from"]] != conv.roles[0]:
            # Skip the first one if it is not from human
            source = source[1:]

        conv.messages = []
        for j, sentence in enumerate(source):
            role = roles[sentence["from"]]
            assert role == conv.roles[j % 2], f"{i}"
            conv.append_message(role, sentence["value"])
        conversations.append(conv.get_prompt())

    # Tokenize conversations

    if has_image:
        input_ids = torch.stack(
            [tokenizer_image_token(prompt, tokenizer, return_tensors='pt') for prompt in conversations], dim=0)
    else:
        input_ids = tokenizer(
            conversations,
            return_tensors="pt",
            padding="longest",
            max_length=tokenizer.model_max_length,
            truncation=True,
        ).input_ids

    targets = input_ids.clone()

    assert conv.sep_style == conversation_lib.SeparatorStyle.TWO

    # Mask targets
    sep = conv.sep + conv.roles[1] + ": "
    for conversation, target in zip(conversations, targets):
        total_len = int(target.ne(tokenizer.pad_token_id).sum())

        rounds = conversation.split(conv.sep2)
        cur_len = 0
        end_token_cnt = 0

        for i, rou in enumerate(rounds):
            if rou == "":
                break

            parts = rou.split(sep)
            if len(parts) != 2:
                break
            parts[0] += sep

            if has_image:
                round_len = len(tokenizer_image_token(rou, tokenizer))
                instruction_len = len(tokenizer_image_token(parts[0], tokenizer)) - 1
            else:
                round_len = len(tokenizer(rou).input_ids)
                instruction_len = len(tokenizer(parts[0]).input_ids) - 1

            round_len += 1
            end_token_cnt += 1

            target[cur_len: cur_len + instruction_len] = IGNORE_INDEX

            cur_len += round_len
        target[cur_len:] = IGNORE_INDEX

        if tokenizer.pad_token_id == tokenizer.eos_token_id:
            cur_len -= end_token_cnt
        if cur_len < tokenizer.model_max_length:
            if cur_len != total_len:
                target[:] = IGNORE_INDEX
                print(
                    f"WARNING: tokenization mismatch: {cur_len} vs. {total_len}."
                    f" (ignored)"
                )

    return dict(
        input_ids=input_ids,
        labels=targets,
    )

If I want to  modify preprocess_bunny for qwen-1.5-1.8b-chat, it seems that there are two ways:

delete round_len += 1 ; or
delete if tokenizer.pad_token_id == tokenizer.eos_token_id and make cur_len -= end_token_cnt always be done.

I'm not sure which way is correct and will not bring potential errors.

The easiest way is to change <|endoftext|> to <|im_end|> here. However, conv_bunny is used for phi-1.5, phi-2, stalelm-2 and qwen1.5, so this change would invalidate the compatibility with other models.
You may define a new conv_qwen_chat and pay attention to all usages like conv_mode and  version.

For the above question, I can still use the Qwen-Instruct model for the pretraining step, but I received a tokenization mismatch warning during instruction tuning.
@linhaojia13 @Isaachhh I realized that the difference between cur_len and total_len is equal to the number of QA pairs (human-gpt) in the conversation.
So, I commented out this line: round_len += 1. The training loss seems correct; after 5k steps (0.3 epochs), the accumulated training loss decreased from ~1.4 to around 0.8. However, I'm not sure if this approach is correct when masking the targets.

@huyhoang17
Can you print tokenizer.pad_token_id and tokenizer.eos_token_id here?
And can you print a sequence of tokens before and after masking?

@huyhoang17
I tried, just following instructions here would cause no tokenization mismatch.
So, can you share more information?

The easiest way is to change <|endoftext|> to <|im_end|> here. However, conv_bunny is used for phi-1.5, phi-2, stalelm-2 and qwen1.5, so this change would invalidate the compatibility with other models.
You may define a new conv_qwen_chat and pay attention to all usages like conv_mode and version.

Close the issue for now if there's no further discussions. Feel free to reopen it if there's any other questions.


Configure 2-way-audio within Home Assistant

I am using a Tapo C320 cam. My setup is:

I installed the HomeAssistant-Tapo-Control (https://github.com/JurajNyiri/HomeAssistant-Tapo-Control) that provides the SD and HD stream of my Tapo cam within Home Assistant. My Tapo cam is not connected to the cloud, so I use the local user/password.
I installed WebRTC with embedded go2rtc and using the custom:webrtc-camera to get a legless video stream that is provided through the above point.

So far so good! I get a ring signal and can view the video stream in my Home Assistant. If I want to talk to the person in front of my door, I need to switch to the Tapo app to do so.
Now I have read that go2rtc supports two way audio but to be honest: I don't get it running. What I did so far:

I created a tapo stream within go2rtc.yaml named tapo.
I added a virtual media_player based on that tapo stream into configuration.yaml.
I have no idea how I can play audio to the cam or even enable 2-way-audio to speak with the person in front of the cam.

And now I dont know how I can put all together or I even dont know if my usecase will be possible: Instead of only showing the legless stream in Home Assistant I am directly able to use 2-way-audio to speak into the camera.
Thanks for any help!

Hello I am also trying to enable this. actually I somehow made it work once but after adding a second camera it didnt work. Even if I removed it.
maybe @AlexxIT can look into it. It cant be much becoause it did wor for me once. Somewhere I somehow removed or changed something that breaks it.
This error happens when I try to play something
Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/webrtc/media_player.py:74
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:25:20 (24 occurrences)
Last logged: 12:25:32
[140327525726192]
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 200, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1787, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1824, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
future.result()  # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 968, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 720, in _handle_entity_call
await result
File "/config/custom_components/webrtc/media_player.py", line 74, in async_play_media
assert r.ok
AssertionError
The go2rtc.Yyaml looks like:
streams:
cameraeins<EMAIL_ADDRESS>and the configuration.yaml in HA:
media_player:

platform: webrtc
name: cameraeins
stream: cameraeins
audio: PCMA/8000

I have also tried opening the API in the browser (not sure if this could work) butt the result is null:
http://192.168.XX.XX:1984/api/streams?dst=cameraeins&src=ffmpeg:homeserver2:8123/local/Test2.wav#audio=PCMA/8000#input=file

This request can't be send from browser. It should be post with proper handling character #

ok I just tried it i it could help somehow. Can I help or am I able to help to test where the problem is?

@AlexxIT can you give any hints if my usecase would work out and if so, how? See my first post in this thread.

@dm82m according to the docs this should be possible, although ist seems to be rquired to have https access to the HA server.
My endgoal is exactly the same as yours, but I thought before I try to go further the basics should wor but they don't in my case.

My instance is accessible via https, yes. No I am not able to play an audio file to the cam via media_player.

just out of curiosity do you get the same error in your logfile?

I think I found the problem. @AlexxIT do you know why there is the error Unable`` to find a suitable output format for 'PCMA/8000'
2023-02-27 11:51:10.781 DEBUG (webrtc) [custom_components.webrtc.utils] 11:51:10.780 DBG [exec] run url="exec:ffmpeg -hide_banner -v error -re -i http://192.168.XX.XC:8123/api/tts_proxy/b922871f61bd7f7d391db8b13d97ece04bd90198_de-de_-_picotts.wav -vn PCMA/8000 -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp rtsp://localhost:8554/db87d776682d35a1d524894ae1c8104a"
2023-02-27 11:51:10.811 DEBUG (webrtc) [custom_components.webrtc.utils] [NULL @ 0x7fa5f3c84500] Unable to find a suitable output format for 'PCMA/8000'
2023-02-27 11:51:10.811 DEBUG (webrtc) [custom_components.webrtc.utils] PCMA/8000: Invalid argument

Oh. Your problem is PCMA/8000. There is no such template. Check my examples carefully.

I took the info out of here. so maybe this should be edited(?)
by the way is there a possibility to increase the volume. in siren mode it is much louder

What kind of file can you now play on the tapo!

@HAuser1234 There's a line above (which is not in your screenshot): "you should use ffmpeg source for transcoding...". And link to ffmpeg source docs, including audio templates.
You can control volume from Tapo app. Or check Tapo integration. I don't know if it has this function.

@dm82m https://github.com/AlexxIT/go2rtc#stream-to-camera
"you can stream: local files, web files, live streams or any format, supported by FFmpeg"

@HAuser1234 There's a line above (which is not in your screenshot): "you should use ffmpeg source for transcoding...". And link to ffmpeg source docs, including audio templates.
You can control volume from Tapo app. Or check Tapo integration. I don't know if it has this function.

ah ok that was just not obvious to me sorry :)
the audio is at max loudess. So I guess thats the limit, thanks!!

works for me aswell. only thing that I know need is a home assistant card that shows the camera video and has two-way-audio support. but I think it is not existing yet.

works for me aswell. only thing that I know need is a home assistant card that shows the camera video and has two-way-audio support. but I think it is not existing yet.

Hello, can you share you final configurations ?

go2rtc.yaml:
streams:
  tapo<EMAIL_ADDRESS>
configuration.yaml:
media_player:
  - platform: webrtc
     name: tapo_virtual
     stream: tapo
     audio: pcma

With that you have a new virtual media player based on the go2rtc stream and are able to cast audio to it. Please keep in mind that there is still no home assistant card that allows you to use bi-direct audio directly.

There is card with two way audio https://github.com/dermotduffy/frigate-hass-card

There is card with two way audio https://github.com/dermotduffy/frigate-hass-card

Any idea how the exact configuration flow look like?

There is card with two way audio https://github.com/dermotduffy/frigate-hass-card

Any idea how the exact configuration flow look like?

You need to setup frigate, then in frigates config add this:
go2rtc:
streams:
YourCameraNameInFrigate:
- rtsp://USER:PASSWORD@192.168.X.X:554/stream1 or 2
- tapo://admin:MD5 Hash of your cloud password<EMAIL_ADDRESS>Then go to your frigate card, add your frigate camera, force it to go through go2rtc and make it only available with webrtc formant, then enable mic and access it with https.
You could do the same with the go2rtc addon, using the same go2rtc, this guy explains it enough:
https://www.youtube.com/watch?v=WnRJxneCUYE

There is card with two way audio https://github.com/dermotduffy/frigate-hass-card

I used fridgate, but still can't talk two way (even though the microphone icon is activated)
I tested with "https:///api/hassio_ingress/5aPWLsxgC_oYCPNaHiu4rGBNgatzgGUkRRLYPU/webrtc.html?src=hikvision_pk&media=video+audio+microphone" and "https://alexxit.github.io/go2rtc/#share=Kd2eBgh&pwd=hnwK**&media=video+audio+microphone" , still two-way conversation is normal

same here. mic icon is on, but no sound output from doorbell

possibly relates to https://github.com/dermotduffy/frigate-hass-card/issues/1235

the audio is at max loudess. So I guess thats the limit, thanks!!

You could increase the volume with ffmpeg if I read what you said correctly...  If not, ignore.  My reolink needed padding to work 'okay' so you can include or ignore that part.
  - platform: webrtc
    name: Frontdoor
    stream: frontdoor_send
    audio: '-af "volume=10dB,adelay=2s,apad=pad_dur=6" -c:a pcm_alaw -ar:a 8000 -ac:a 1'

or within the go2rtc.yaml:
ffmpeg:
  opus: '-af "volume=10dB" -c:a libopus -b:a 16K -vbr constrained -application:a lowdelay -frame_duration 20 -min_comp 0'

Been a while since anybody posted here, but try my luck. I got a Tapo C310
FW: 1.3.11 Build 231116 Rel.69367n(4555)
I have it up running with webrct
I have installed go2rct
I have FFmpeg
I understand that i probably have to add
media_player:

platform: webrtc
name: tapo_virtual
stream: tapo
audio: pcma

To my configuration yaml.
It looks like I need to make a directory, go2rtc.yaml? If yes where.
and that yaml should have the content:
streams:
cameraeins<EMAIL_ADDRESS>I guess mypassword is my cloud password?
Do I need include the go2rtc.yaml in my config.yaml?
Cards with two way audio, I understand Frigate is heavy on the system? I run on a Rpi4b
Hope somone can help me with this.
Br Freddy


bug: Ingestion schedule form not properly filled when editing existing ingestion

Affected module
UI
Describe the bug
When I add ingestion process with some schedule (say every Day at 5 AM) I click Submit and the change is persisted. I can see in Airflow
To Reproduce

Register ingestion with Schedule: every day 5 pm
Submit change
Go to Edit Ingestion form (schedule tab)
The form contains Schedule: Every Week, Monday midnight

Expected behavior

The form contains Schedule I have defined previously: every day 5 pm

Version:

OS: [e.g. iOS]
Python version:
OpenMetadata version: [e.g. 0.8] 1.5.4
OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ] <IP_ADDRESS>

Additional context
Add any other context about the problem here.

Hey @mgorsk1, can you please provide some screenshots or videos or exact steps to reproduce the issue?

here you go: https://github.com/user-attachments/assets/1530be9a-7904-4f4c-adc2-e86608d6cb2b
notice how schedule is daily but in edit form it renders as weekly

Thanks for the details @mgorsk1 🙇 , This will be fixed in the 1.6 release.


Nuxt-based HCS Chat

Problem
I made a clone of the HCS express chat program that's built on NuxtJS. It also offers two advantages over the starter one: it uses promises instead of sleep statements, and uses json strings over strings demarcated by the Saturn symbol.
Can it be added to the starter projects list for Javascript?
Check it out here: https://github.com/scalemaildev/hashgraph_nuxt_chat
Solution
N/A
Alternatives
No response

Hi @scalemaildev !
Thank you for your contribution. Your project was added here: https://docs.hedera.com/guides/resources/starter-projects.


Rename "dashboard" to "cases"

There are differently dashboards depending on user type, so give this a more accurate name.
I also made the name "all cases" more consistent because it was sometimes squatting on "cases"

Codecov Report

Merging #25 (b9e7619) into main (9501e2c) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #25   +/-   ##
=======================================
  Coverage   87.13%   87.13%
=======================================
  Files          15       15
  Lines         311      311
=======================================
  Hits          271      271
  Misses         23       23
  Partials       17       17

Impacted Files
Coverage Δ

internal/server/all_cases.go
89.47% <ø> (ø)

internal/server/cases.go
100.00% <100.00%> (ø)

internal/server/server.go
92.95% <100.00%> (ø)

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 9501e2c...b9e7619. Read the comment docs.


Import Data.Generic.Rep from prelude

Description of the change
We merged generics-rep into prelude and renamed the Data.Generic.Rep.* modules to Data.*.Generic in https://github.com/purescript/purescript-prelude/pull/235.
Should we mention the removal of generics-rep from the dependencies in the changelog?

The build fails because some packages depends on generics-rep in the package set but it compiles with the rc5 branch of my fork and https://github.com/purescript-contrib/purescript-profunctor-lenses/pull/123:
let upstream =
      https://raw.githubusercontent.com/kl0tl/package-sets/rc5/src/packages.dhall

in  upstream
  with profunctor-lenses =
        upstream.profunctor-lenses
      ⫽ { repo = "https://github.com/kl0tl/purescript-profunctor-lenses.git"
        , version = "fix-Data.Lens.Zoom.zoom"
        }

We should mention the change, as part of the 0.14 updates, but that can be done when we walk through to add release notes for all these libraries.


Missing translations for UK Substitutes

Is there any particular reason why there aren't any translations for UK Substitutes?
object(Yasumi\Holiday)#861 (7) {
  ["shortName"]=>
  string(36) "substituteHoliday:secondChristmasDay"
  ["translations"]=>
  array(0) {
  }
  ["type":"Yasumi\Holiday":private]=>
  string(4) "bank"
  ["displayLocale":"Yasumi\Holiday":private]=>
  string(5) "en_GB"
  ["date"]=>
  string(26) "2027-12-28 00:00:00.000000"
  ["timezone_type"]=>
  int(3)
  ["timezone"]=>
  string(13) "Europe/London"
}

Just trying to work out how to handle them, asides from ignoring them because they won't make any sense to a user?

That shouldn't be the case I think. Just tested this with the USA holiday provider for the year 2016 (when Christmas Day had a substitution), and I can see the translations in the instance.
Would you perhaps share your code/script how you got these results? That would help me assist/debug this issue.
As for the substitutes: they are useful because sometimes you want to know when the original date of the holiday was and when it was substituted (i.e. observed). For example, Christmas in the USA in 2016 is still on the 25th of December, but the USA federal government has decided a non-working day was established on the 26th, since the 25th was on a Sunday.
If for your case the substitute holidays aren't needed, you can easily filter them out (using the prefix).
Cheers! Sacha

@gRoberts84 Just wanted to check whether you had time to view my last comment.

Closing this issue as there as been no activity/response for some time.


Added notes for 7.19

I noticed that the patch notes had not been updated in some time. Before doing all of the lettered patches I thought I'd start here. If this is in line with the desired format, etc I'll look at crafting a script to simplify this process.

All 7.19 patch notes.

If you can work your script into this function that would be optimal:
https://github.com/odota/dotaconstants/blob/master/tasks/updateconstants.js#L506
Then just running npm run build will update the notes automatically.


Trying to bridge this module to Flutter

How I can use the code in flutter

You could check this Flutter project as it use this library under the hood
https://github.com/paytrek/emv-card-reader


Could not find package elm-lang/html

I just downloaded and after going live and successful compile have that message it looks that a file exact-dependiences.json is empty. As I understood it should be working without any recompiling ..

I wasn't sure how to reproduce this based on the information provided, but the latest version of the repo uses elm/html and works a bit different than when you ran into this.


How to reshape an pre trained data input.

Like in caffe one, I can reshape the data layer:
 net.blobs['data'].reshape(1,3,ws,hs)
In caffe2, I create the net using the pretrained model like this:
INIT_NET = 'net_init.pb'
PREDICT_NET = 'net_predict.pb'
init_net = _parseFile(INIT_NET)
predict_net = _parseFile(PREDICT_NET)
predict_net.name = 'predict_net'
workspace.RunNetOnce(init_net)
workspace.CreateNet(predict_net)
net = workspace.Predictor(init_net_12.SerializeToString(), predict_net_12.SerializeToString())

#this is wrong
workspace.FetchBlob('data').reshape(1,3,ws,hs)
result = net.run([scale_img])

workspace.FetchBlob('data').reshape(1,3,ws,hs) can not reshape the data input, how to do this?
workspace.FetchBlob('data').reshape(1,3,ws,hs)
ValueError: total size of new array must be unchanged

Noticed that this issue is still open. Have you made any progress regarding it? I'm stuck on the exact same thing (but I'm running the predictor "GPU-style").

No, I am still struggling on this problem. I am trying to porting mtcnn to caffe2, but first I need to reshape the input data.

Funny, I'm trying the exact same thing! Have loaded my model in a different way tho, but I can try your way. Gonna try to reproduce your code, what does your _parseFile function do?

It is caffe2 built-in function, to load the net from the filename.

@xhsoldier hi, I recently  have been searching for caffe2 mtcnn resources and here I see your work. May I know where have you been and what's your progress now? Thanks a lot.

I do not have any solutions.

Same question about reshape.


highlight color or shake animation

I think it would be great if the animate To function had animation like highlight color or shake animation.

Thanks for your suggestion, but this package is just a simple ScrollView observer, so i think you can use AnimationControllers to let the target item achieve animate effect. : )


Dynamic package with direct download of mariadb

@vorburger Is there any reason mariadb binary files to part of project. it would be good idea to get id dynamically and filter necessay during package phase. this would reduce repository size and git file size limits.
Any dynamically downloaed file needs kept in output/target folder  can be excluede via git ignore.

That is an interesting idea! It's also interesting to do it like that from
a security perspective - instead of trusting binaries in the repo. I would
welcome a Pull Request doing this for a new latest DB binary.  Would you be
willing to work on this?

That is an interesting idea! It's also interesting to do it like that from
a security perspective - instead of trusting binaries in the repo.

That was the main goal.

I would welcome a Pull Request doing this for a new latest DB binary.  Would you be
willing to work on this?

I'll give it a try.
For linux and windws download will be from https://downloads.mariadb.com/MariaDB/
For Mac https://bintray.com/homebrew/bottles/mariadb#files since MariaDB no longer release mac versions since 10.2.12

@srbala coincidentally @jtmuhone just raised #229 with new MariaDB 10.3.7 binaries .. if you are about to propose a PR here doing it this way, that could be very interesting - otherwise I'll merge that. Or perhaps this could be an opportunity for you and @srbala and @jtmuhone to work together on this idea for this project? Also note #213 ...

@vorburger  I am progressing on my PR. I see multiple flavours of linux files to download on https://downloads.mariadb.com/MariaDB/mariadb-10.3.13/ which one needs to choosed?

@vorburger I am progressing on my PR. I see multiple flavours of linux files to download on https://downloads.mariadb.com/MariaDB/mariadb-10.3.13/ which one needs to choosed?

If I had to guess, I would say the /bintar-linux-x86_64/ looks like what you want? But I'd love @jtmuhone to chime in here (and work with you / help you / test your work) and let us know to double check and confirm where he got the binaries he used in #229 from? Of course, you can raise your PR for review already, and we can always tweak the URL later...
BTW note, quote: "MacOS binaries have been compiled from source on MacOS 11.2.6 Sierra VirtualBox machine." - is really nobody out theremaking MacOS binaries of MariaDB? Perhaps worth asking around about on some... MariaDB Forum/ StackOverflow? Let's first get Linux and Windows binaries sorted out, and then worry about Mac.

Greate, right now I am already working with /bintar-linux-x86_64/, so I'm good.
I have used https://bintray.com/homebrew/bottles/mariadb#files on my WIP. MacOS 12/13 available from there too, it's matter of fixing URL.

@vorburger Done with my PR changes, testing in progress https://github.com/srbala/MariaDB4j/commit/835d04e7418ea93d81a4ace533b1ff7ff7f1b199
@jtmuhone My changes are in https://github.com/srbala/MariaDB4j/tree/feat-231 would be able to some testing?


Brackets highlighting does not work

When i switch to your theme, the matching brackets do not highlight.

I have the same problem. I real caveat to an otherwise super neat syntax highlighting.


Feature/expose exceptions

Includes:

expose exceptions
docs usage exceptions
editorconfig
makefile

Coverage remained the same at 100.0% when pulling 0270dea874fd499de1f11da71f06c73fd4fcaaa8 on feature/expose_exceptions into c3858b0a7ae3b4ea8b161986d47f5e15f10de41f on master.


Minor dev support funcs

Thanks for your review @dimitri-yatsenko !

@dimitri-yatsenko - Thanks, I hadn't considered that way of detecting a potential infinite loop. I now check that the list of schemas is shrinking during the while loop, and provide the most recent error on break

Hi @kabilar - To your in-person question of the state of this PR, I believe I've taken all Dimitri's feedback into account. Ready for further review/merge

@CBroz1 ,this is great, will come very handy.
I'd suggest putting this dev_helpers under either the existing sub-packages or its own sub-package.
In this datajoint-utilities repo, everything should be under a specific sub-package with a brief README to description and example use cases.


Improve Share Page Sandbox Display on Small Screens

This partially addresses the issues seen in https://github.com/microsoft/pxt-microbit/issues/4828. While it's not a perfect fix, it's a step in the right direction, and it's at least usable now. I wanted to get this out in time for the hotfix, since I suspect some of the remaining improvements will take me longer to implement.
This change fixes the sim sizing and stops it from disappearing on smaller screens, and it simply removes the sim toolbar for now (which is currently offscreen anyway).

Future improvements that would be worth doing, perhaps in a separate change, would be:

Fix weird gap on the right-hand side where background doesn't fully extend (looking into this now, will add to PR if I figure it out but didn't want to block on it).
Bring back the sim toolbar, but probably remove "debug" from it.
Make the download bar blend a bit more seamlessly into the page.

I'd personally be inclined to cut the download button from this view as there's the other download button that's always there, but seems like a step in the right direction.

Yeah, I considered this too, but the bar isn't there in older versions so I was assuming it was added as an intentional design choice...Then again, I suppose it could just have easily been an accident. I think it may be worth having a quick discussion with the team around what we actually want this page to look like - but for now, I just want to get it functional :)


Cut a new Bionic release

It's time to build a new version of stemcells which include the latest upstream vulnerability fixes. The pipeline should have automatically triggered when this story was created to kick off that process. Detailed instructions on what to do to make a patch lives here
Ensure the OS image and subsequent stemcell builds finished successfully.
https://ubuntu.com/security/notices/USN-4960-1
Acceptance Criteria
A new version of the stemcell can be published from the pipeline.

The affected package is not used in the stemcell, closing this one.


BUG REPORT INFORMATION - Docker CE 1.13.1 issue while changing kernel semaphore changes(kernel.sem)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST
--> docker run --name webserver1 -d -p 9091:80 --sysctl kernel.sem="250 32000 100 2048" nginx
Description

Steps to reproduce the issue:

Make sure u are on docker version 1.13.1 on RHEL-7.5/RHEL-7.4
Change the host kernel settings :  sysctl -w kernel.sem="250 32000 100 2048"
Check weather the changes are reflected on host cat /proc/sys/kernel/sem
Run docker run --name webserver1 -d -p 9091:80 --sysctl kernel.sem="250 32000 100 2048" nginx
if successful:
docker exec -it webserver1 bash
cat /proc/sys/kernel/sem - to cross check weather the changes are reflected inside the container

** Output of error **
aa71efee7bf149794a11fb27eab1a25640c6cc3c09192f610d5b14cafe186b26
/usr/bin/docker-latest: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:364: container init caused "open /proc/sys/kernel/sem: permission denied"".
Describe the results you received:
Docker service was unable to pick the desired kernel changes on host.
Describe the results you expected:
the kernel semaphore changes are supposed to be reflected inside the container.
Additional information you deem important (e.g. issue happens only occasionally):
It perfectly works fine with docker 1.12.x and docker 18.03.

No, SElinux isn't the factor.
error:
/usr/bin/docker-latest: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:364: container init caused "open /proc/sys/kernel/sem: permission denied"".

I take it SELinux is disabled?  Could be capabitliies?  Do you know if the kernel/sem is a namespaced sysctl?

Does it work if you set
--cap-add ALL
If yes then try
--cap-add SYS_ADMIN

BTW Have you tried podman...
Worked successfully with podman on Fedora 28.
# podman  run --name webserver1 -d -p 9091:80 --sysctl kernel.sem="250 32000 100 2048" nginx
Trying to pull quay.io/nginx:latest...Failed
Trying to pull docker.io/nginx:latest...Getting image source signatures
Copying blob sha256:f2aa67a397c49232112953088506d02074a1fe577f65dc2052f158a3e5da52e8
 21.45 MB / 21.45 MB [======================================================] 1s
Copying blob sha256:1cd0975d4f456a5ab3196ae351a2a9d72077ee24da60b42004eb0c3e8d153aad
 21.10 MB / 21.10 MB [======================================================] 1s
Copying blob sha256:72fd2d3be09a6d5bb4eee2e6c66e6929f9f9c71853dd250035a9bdb37fccce89
 205 B / 205 B [============================================================] 0s
Copying config sha256:cd5239a0906a6ccf0562354852fae04bc5b52d72a2aff9a871ddb6bd57553569
 5.88 KB / 5.88 KB [========================================================] 0s
Writing manifest to image destination
Storing signatures
2c68a75d7318421f5329bddf792a22d522f7481fd0754acd7e92da218c8a8340
# podman exec -it webserver1 bash
root@2c68a75d7318:/# cat /proc/sys/kernel/sem
250	32000	100	2048

selinux is enabled.
username is enabled.
Other kernel settings can be changed.
We have only noticed this param kernel.sem not changed.
We tried adding sysctl.conf inside container and that was not able to update the kernel setting.
Seems like bug specific to this kernel setting and docker 1.13.1-rhel

@rhatdan It works fine when I disable user namespaces(--userns=host).

Ah a clue.  So usernamespace is blocking it.
I wonder if this is a bug in usernamespace or in runc?
@giuseppe could you try this out with usernamespace enabled.
Quick tests with podman shows that it is failing.
# ./bin/podman rm webserver4; podman run --uidmap "0:90000:1000" --name webserver4 -d -p 9091:80 --net=host nginx
69acc32b31089e615fbbe24d085e1a7a65008836630e7b3e9197988ee5a2bbd4
3abf029d5ad68fbfe71bca2f7565d8bd43e460281a3c4f90b420b24105c5f296
# ./bin/podman rm webserver4; podman run --uidmap "0:90000:1000" --name webserver4 -d -p 9091:80 --sysctl kernel.sem="250 32000 100 2048" --net=host nginx
3abf029d5ad68fbfe71bca2f7565d8bd43e460281a3c4f90b420b24105c5f296
container "4d436239d5061958ca3d14e8c86df5b6f67c58ec6c00d85d95131f609ad23d95" does not exist
`/usr/bin/runc start 4d436239d5061958ca3d14e8c86df5b6f67c58ec6c00d85d95131f609ad23d95` failed: exit status 1

Without usernamespace:
 ./bin/podman rm webserver4; podman run --name webserver4 -d -p 9091:80 --sysctl kernel.sem="250 32000 100 2048" --net=host nginx
4d436239d5061958ca3d14e8c86df5b6f67c58ec6c00d85d95131f609ad23d95
5aa16e1946ac626028d317c65a23c1c0b978bea5fd61a977b08c85e389a1d444

@ebeiderman  Do you think this is a bug in UserNamespace or in Runc?

@rhatdan I think that is expected.  Writing to /proc/sys/* is done from the container process itself during the setup and AFAIK only root in the init user namespace has write access to /proc/sys/* that is not userNS aware.

Can we change the writing to the sysctl to not be done by the the root in the init user namespace?  IE Can this be fixed in the OCI RUntimes?

I am not sure, it might be possible that the parent process writes to the /proc/fs mounted by the container (as a hook would do) but it will be half solution as it won't work with rootless containers.
Tagging @ebiederm


Add Dockerfile and docker-compose.yml

This is a simple way to add docker support using a small docker image (ubuntu/latest) and installing the latest ord release using install.sh instead of building from source which uses a much bigger image.
Paths in docker-compose.yml can be updated to run on OS X, or in a custom path instead of /ordinals - for example if you prefer /var/local/ord or the more bitcoiny ~/.ord.
Can be easily run with:
docker-compose up -d

Updated docker-compose.yml to include default paths for ord index data in each OS

install.sh doesn't seem to work properly inside a docker image. Maybe we should build from source?
I'm on a Mac and getting this:
 [7/7] RUN ./install.sh --to /ordinals:
#10 0.643 install.sh: Could not determine target from output of `uname -m`-`uname -s`, please use `--target`: aarch64-Linux

That minimum Dockerfile has a huge image for building rust. This Dockerfile uses a smaller image which was chosen based on the comments there. @raphjaph I fixed the Dockerfile so that install.sh works correctly now.


CLI for M365 version for script "Copy a library view across multiple libraries in destination site"

🎯Aim
The aim of this issue would be to add a CLI for M365 version of script Copy a library view across multiple libraries in destination site.
🤔How
I think one of the best approach would be to use the following commands:

list-view-get
list-view-add
list-view-set
list-list

I can look into it

sure 👍
Can't wait to see the PR.
You rock 🤩


Points not dropping?

Hi Torstein, I have encountered a problem in that the drop event has stopped working on all of  my draggable points charts.
I can grab a point and drag it about, but when I try and drop it, it continues to drag about. Leaving the chart area stops the dragging, but the point remains selected and the only way to deselect a point is to select another point, but then the problem repeats. This has happened to various unrelated charts stored in different folders.
Any advice on what could be causing this sort of problem?

Thanks for writing. Can you reproduce it on jsFiddle?

I tried but I've never created one before and couldn't get my chart to work, it may be because it uses some backend PHP.
I will try again tonight but an example of the problem can be seen here.
http://blackartdynamics.com/bagshopify/draggable_points/
(Sorry I am a complete amateur when it comes to this sort of thing!)

No problem, maybe we don't need a jsFiddle demo.
The first thing you should do is to upgrade Highcharts to the latest version.

Hi Torstein, sorry for the slow response, got a new laptop and had issues getting the localhost working!
I updated to the latest version and that seems to have fixed it! It's great it turned out to be so simple, I had assumed it was something I did as it was working and then suddenly stopped!
Keep up the good work!


Fail the build if "go generate" fails

I wrote a little binary that will run a command and error if any files
tracked by Git are modified: github.com/kevinburke/differ.
I used it here to check whether "go generate" generates any changes,
and also to simplify the gofmt command invocation. I tested that they
worked by forking from the commit that didn't run "go generate."
I also updated the .travis.yml file with a go_import_path so
forks work correctly - Travis can run into problems building e.g.
github.com/kevinburke/go-github since the import paths for subprojects
all mention github.com/google/go-github.

@kevinburke - please take a look at #579... I think that may be the direction we want to take.
Please let @shurcooL and I know if that is missing any functionality, but I don't think it is.

OK; I think you should at least consider this, since my approach gives better error messages and it's clearer to a) read the command, b) figure out what the problem is, and c) apply the same technique to more problems in the future, without complex shell hackery, but whatever you like is fine with me.

I see one significant problem with this approach.
Using curl to retrieve a binary linux executable is a security risk and is not transparent.
I much prefer using the commented shell command that anyone can easily understand than a third-party binary executable that I have never seen before and have not looked at its source code.

Sure, though I'd also point out that I've contributed to this library and about 30 changesets to the Go standard library and associated tools, the build script calls go get, the build script installs libc-bin libc-dev-bin libc6 libc6-dev C libraries via apt-get, runs a binary called gimme to install Go, and point you to Reflections on Trusting Trust, etc.
The source code is here, it's about 40 lines, you could just as easily install it with go get. https://github.com/kevinburke/differ/blob/master/main.go

OK, but just for the record, I was not saying that you are a security risk, I was saying that curling a binary executable from the internet is, in general, a security risk. No offense was intended and I apologize for not being clear.
And while I'm here, I would like to thank you for your contributions to Go and all the other great things you have worked on. Your work is greatly appreciated.
Yes, I would prefer a go get solution, but before you change anything, let's hear what @willnorris and/or @shurcooL think about this approach.

Travis is not a trusted secure environment, so running arbitrary binaries there is not a huge deal.  That said, a go gettable approach would be much preferable.  differ certainly looks neat, but I can't say that I have strong opinions on this vs #579

Thanks @kevinburke for wanting to contribute.
I'd like to get #579 in first, it's very simple (1 line, no additional dependencies), functional, and I think it makes a good starting point. We can consider a version of this PR rebased on top as a potential enhancement and discuss that.

approach gives better error messages

Can you provide an example? I don't know what the error message is, so I can't compare.
For reference, this is the error message that the current version of #579 results in when go generate ./... produces a non-zero diff:

(Source: https://travis-ci.org/google/go-github/jobs/208035644.)


Test-MtCaExclusionForDirectorySyncAccount errors out when Directory Synchronization Accounts has no members.

Line |
  27 |  … nAccountRoleId/members" -Select id | Select-Object -ExpandProperty id
     |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Property "id" cannot be found.

Testing against a tenant that was previously synchronizing user with AADC.

The fix is to use Get-ObjectPropertyValue function (which checks if the property exists and returns a null otherwise).

had the same error in Version 0.3:
Maester\0.3.0\public\Test-MtCaExclusionForDirectorySyncAccount.ps1:34:157
Line |
34  |  … nAccountRoleId/members" -Select id | Select-Object -ExpandProperty id
|                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Property "id" cannot be found.


Create Release Notes

Version 1.2.0
GMS detection: When GMS is detected, HMS kits are disabled and GMS AdMob is loaded.
GMS AdMob (Banner, Interstitial, Reward)
Separated ad IDs into debug and release variants.
Fixed various calculator and converter issues.

This pull request has no effect on code. So it's clear.
Test procedure pull down the code then build and run.
Vanh

Team has decided to put release notes in the releases section.


Replace libgsf with libarchive

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

For #117

See https://github.com/libvips/libvips/pull/3476

@conda-forge-admin, please rerender

Is the libarchive arm64 build is broken?
$BUILD_PREFIX/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: $PREFIX/lib/libarchive.so: error adding symbols: file in wrong format

it seems to be finding certain libraries in the "BUILD_PREFIX" which is wrong. not sure why.

Thanks!


[sv] Update swedish validation

~The second commit is up for debate, but alignment with spaces were removed in Laravel 5.7.
https://github.com/laravel/laravel/pull/4830~

Hello,
thank you, but we love alignment ;)

Hello,
thank you, but we love alignment ;)

Ok :)


feat: add batching support with batchRequests

Add a new function to support GraphQL batching
closes #13
closes #75

import { batchRequests } from '../src'
;(async function () {
  const endpoint = 'https://api.spacex.land/graphql/'

  const query1 = /* GraphQL */ `
    query ($id: ID!) {
      capsule(id: $id) {
        id
        landings
      }
    }
  `
  const variables1 = {
    id: 'C105',
  }

  interface TData1 {
    data: { capsule: { id: string; landings: number } }
  }

  const query2 = /* GraphQL */ `
    {
      rockets(limit: 10) {
        active
      }
    }
  `

  interface TData2 {
    data: { rockets: { active: boolean }[] }
  }

  const query3 = /* GraphQL */ `
    query ($id: ID!) {
      core(id: $id) {
        id
        block
        original_launch
      }
    }
  `

  const variables3 = {
    id: 'B1015',
  }

  interface TData3 {
    data: { core: { id: string; block: number; original_launch: string } }
  }

  const data = await batchRequests<[TData1, TData2, TData3]>(endpoint, [
    { document: query1, variables: variables1 },
    { document: query2 },
    { document: query3, variables: variables3 },
  ])
  console.log(data[0].data.capsule)
  console.log(data[1].data.rockets)
  console.log(data[2].data.core)
  // console.log(JSON.stringify(data, undefined, 2))
})().catch((error) => console.error(error))

If this PR could be merged I would be very happy. This feature is all that is missing to give me the go-ahead to use this lib for my project. @GeoffreyHervet  is there anything you need?

@GeoffreyHervet Ah, one thing, docs in REDAME would be great thanks!


non-allocating primitives for asymmetricbox and secretbox

Right now the primitives used by asymmetricbox and secretbox return a Vec for ciphertexts and plaintexts. There are use-cases where dynamic memory allocation might not be possible, thus we need to add primitives that modify their arguments in-place.
Work is ongoing in the box_inplace branch, d1f6cbb6f21418c40286d118a3105c2dd0fe9f9f

The PR I just put up is an example implementation for secretbox. It might be a smaller change than what's in the box_inplace branch, though that's partly because it doesn't touch the box functions yet. Please let me know what you think.

This issue was already fixed by commit c810136bdba20997d381fb127f0c935b6e48db22


At the end of the transaction users did not understand the re-use of their Verify credentials and thought they had spent too much time to just apply for a bus pass

Those users had a more negative perception of the interaction, believing the effort required to be inconsistent with reward offered by the transaction.
Though users understood that this provided a high level of security, they did not understand the need for this security in the context of this transaction.

 do users understand x?

@irinapencheva Suggest title change to "Users need to understand that they can reuse their Verify account for other services"

@sanjaypoyzer - ok, will change the first bit, but also think it's worth keeping the flag that they thought it takes too long for a ConTravel service. Unless you want to split that second part as a separate issue

@irinapencheva I think that's a separate, but related issue.
@petegale Would you agree?

@irinapencheva we have this issue open – changes to the success page could already have had an impact as briefer copy higher up means users more likely to look at rest of page but this seems a good place to progress the content change we discussed just now: reduce the amount of resuse Verify on other services links. @sanjaypoyzer could you suggest which 3/4 to keep as you did for Parking Permit?

@irinapencheva also, as you asked me if this was included in the CD review, here is the relevant section from the CD review which recommends reducing the Verify reuse links to just 3 (but I'd recommend leaving it to Sanjay to recommend exactly which service links are kept, based on usage):
https://docs.google.com/document/d/1e9XkmzaWnWnm9Xa21vovx7Tm-p7shateiultu78ZBBA/edit?ts=59036274#heading=h.1y3oifw6yx14

About your GOV.UK Verify account
Use your GOV.UK Verify account to access other local authority and central government services, like:

check you State Pension
claim your redundancy payment and monies owed
report a medical condition that affect your driving

This demographic is like to be slightly less than average for self-assessment, but there'll still be quite a few self-assessing and the gap is so high, let's keep it in.
These are services that I think are unlikely to be used by the demographic because of their age:

check your State Pension (they already receive it, so would fail this journey)

These are related to being employed, so can get rid as users are likely to be retired:

claim your redundancy payment and monies owed
check your income tax for the current year
complete your Self Assessment
sign in to your personal tax account

These ones are for people who driving lots, our users are likely to prefer public transport:

view or share your driving licence information
check or update your company car tax

This one is aimed more at high confidence digital users:

help friends and family with their tax

Leaving these two:

report a medical condition that affects your driving
complete your claim or access your Universal Credit account

(with renew medical driving license being related to report a medical condition, but with lower usage)
So I reckon those two, plus self-assessment.

@sanjaypoyzer thanks!
@irinapencheva this has been actioned in PR 533, prototype screenshot now:

@sanjaypoyzer @lizziebruce - thanks both, looks great!


connection community and document server error

Healthcheck url: Error: ConnectFailure (Connection refused)
when i setting document service on community server, i got message error.
i submit with domain .
please help..

Hello @Pang6eran  make sure that servers can resolve each other. And look at web.api.log and web.files.log for the more errors.


Update baseline due to broken plugin logic

For https://github.com/vimeo/psalm/pull/8820

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.936%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3108

Relevant Lines:
3110

💛  - Coveralls


Release v0.1.0

What type of PR is this?
Add one of the following kinds:

documentation

What this PR does / why we need it:
Create release branch for v0.1.0 and include CHANGELOG

@yamamoto0104
I would suggest to approve and merge #20 before merging this PR so that the alpha version includes the updated error codes

Hello @eric-murray
I'm fine with your proposal.
we are revieing #20 internally and feedback later.

Hello @eric-murray
I think 0.1alpha1 can be v0.1alpha1


Update Alternate MLM Overlay, no longer unmaintained

was unmaintained due to update elsewhere, now working with current version

Plugin class names must be unique, so you can't use MotherlodeMine because the core plugin uses the same class name. Also, the overlay class name might cause issues if it is the same as the one in core as the overlay configs for storing position are based on the overlay's class name.

Ive changed things and checked that its still working locally, if I still haven't done whats needed please direct me because I'm not very experienced and may have misinterpreted what needed renaming.


(FACT-1406) Fix filesystem resolver for large disks and 32-bit Linux & BSD

On 32-bit OSs, the statfs structure contain 32-bit fields, requiring casts to 64-bit values when calculating total size and available bytes

/cc @MikaelSmith

Oops.

:+1: from me as well. As soon as travis rolls through I can hit the button

CLA signed by all contributors.

@ahenroid cpp-lint failed because of tabs :). It wants spaces


Remove static methods from widgets in widget_toolkit

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 65.31%. Comparing base (0984e22) to head (2b7b956).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #108      +/-   ##
===========================================
+ Coverage    65.25%   65.31%   +0.05%
===========================================
  Files          137        9     -128
  Lines         4760      369    -4391
===========================================
- Hits          3106      241    -2865
+ Misses        1654      128    -1526

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


Use gulp + gulp-newer

Jake is not being maintained actively anymore.

Neither flif-wasm is. I'll close this as it doesn't affect any features.


Make memo mandatory when user sends to a probable exchange address

One of the most seen issues on our socials is users sending STX with their non-custodial wallet or from an exchange and forgetting the memo needed for the exchange to credit the correct account.
Hero Gamer suggested we make the memo mandatory when sending to such addresses, to help our users.
Instead we could do a check against probable inbound Decentralized Exchange (DEX) addresses such as the list that can be obtained from stacksonchain.com https://stacksonchain.com/dashboards/Centralized Exchanges (CEX) %40 Babo/177

I think it would be enough to have "probable suspicion" to demand the memo and I do not think we have to specify which exchange is using which address exactly. I think being that specific could be dangerous because exchanges can rotate addresses and even use multiple. A message like this would work very generally I think:
We detected an address that is likely owned by a Centralized Exchange, a memo is mandatory.
Original request/context: https://discord.com/channels/621759717756370964/745197302255321108/1070358737820319814

Neat idea :)
Just to let you know, the dashboard already has a list of known addresses in the query for the CEX Reserves chart.
with cex (name,accounts) as (
VALUES ('Kraken',ARRAY['SP111MNWTSXGTD0ESMV59WX4KHQA93RTV9F82EK0K'])
, ('Coinbase',ARRAY['SP1FNEJ21BMJCJYEJM2F73QT6WD2MN9MB2J92FZBN','SP1PJWKS5V3X7JR300J3W291DDNCKD6M6XKJFYPAC'
    ,'SPC3T2E3MXHA15Q1TRQJDH57QX6X1D5D7Y9XTXXJ','SPFPBQ30DZ2G4CX8XZGZXD013N2NPHH7K7SB7GEZ'])
, ('Binance',ARRAY['SP1P72Z3704VMT3DMHPP2CB8TGQWGDBHD3RPR9GZS','SP3WV3VC6GM1WF215SDHP0MESQ3BNXHB1N6TPB70S'])
, ('Kucoin',ARRAY['SPX8T06E8FJQ33CX8YVR9CC6D9DSTF6JE0Y8R7DS','SP1V21EG2APTB57VXEM9BK4TFWK1GN8NYW5DB0Q46'
    ,'SP307BHDXSX759Z2XFAM405REWVFJK05HKG7BWRQB'])
, ('Gate.io',ARRAY['SP33XEHK2SXXH625VG6W6665WBBPX1ENQVKNEYCYY'])
, ('Crypto.com',ARRAY['SP1RWW86QN0KKZYZAZ5K4NJX4BQQCVWVSR7CXW5XA','SP243V4D843MNKX5WB46A0PDWH4H5SAQBBHGJN0CH'])
, ('Okcoin',ARRAY['SP3HXJJMJQ06GNAZ8XWDN1QM48JEDC6PP6W3YZPZJ','SP3KANBW2C4E5BRPWNTWZCCDGF2F87CW9D9KV0FFK'])
, ('OKX',ARRAY['SP3RFAZMSH6YA1KTJD7DN997AG2DG54E3Z9ZJWYN8'])
, ('Upbit',ARRAY['SP3G2DMG5WWCP8XF1QZSEQ1XE73X639ABZC835EZV','SPNBYP1MY456K29804XHT4PY5QKMSXNRBHGADTDY'])
, ('BtcTurk',ARRAY['SPXJJ6XPRV52JREBENWFX7TG1CFPFP0QS81BDH0A'])
, ('CoinEx',ARRAY['SP2VK9TBG8E20A0YW228PC70GBMSBFHE7BNVMKB57'])
, ('Unknown 1',ARRAY['SM468VETKA5DB15HWG2QM7Y04EFQKV44R9D6D0QC'])
)

Also should be pointed out that the dashboard currently only considers direct STX transfers and not send-many or send-many-memo contract calls, which I saw recently that some exchanges are using even for singular transfers.

@mica000 could you help with the design please?
design of sending form changed, so our work became irrelevant here: https://github.com/hirosystems/stacks-wallet-web/pull/3061


feat: upgrade plugin to v9

This PR updates our eslint plugin and migrates from v8 to v9. This includes some breaking changes specifically around the config since v9 introduced a flat config file format.
I have also improved some of our custom lint rules and fixed a few bugs and did a bunch of cleanup.
Furthermore, I got rid of yarn in favor of using pnpm.
I also added CI via GitHub Actions which now build, lint, and test the project.
For the version I went with a new minor version since we can't just use another minor version. That's because using this updated plugin requires to update the config on the consumer side as well.

I mean all those changes in the TK repo are just because it didn't meet our conventions defined in our plugin but it's not specific to the upgrade to eslint v9. But yea, we can release an alpha if you prefer that. I think you didn't have any comments to be addressed other than if we know whether it works on other projects. I do think that it should work because there's no new rules added here and it's just upgrading to a newer version of eslint but worth checking! With a pre-release or alpha we can do that testing and fix any bugs that we encounter along the way. It will be an iterative approach anyways so we can upgrade the repos we have one by one if we want to and it shouldn't be a big bang.

Oh I was referring to other reviewers of this PR.
If we want for everyone else to have reviewed it and have their feedback addressed before merging, then I think it would make sense to have an alpha version so that we can move forward on the eslint PR on the TutorialKit repo.
Or we just merge it, release a new version and address the feedback as follow-up PRs which works fine with me.

I was referring to other reviewers of this PR.

Oh but you did ping me, unless I misinterpreted that 🙉

Oh I get it now 😅

But I am fine either way. We can definitely go with an alpha version for now if we want that.

I just tested the new version on our registry proxy and it worked well and caught some issues even.

PR for the registry proxy here https://github.com/stackblitz/registry-proxy/pull/23

Ok, I merged #24 and merged main into this branch so it should be good to go.


feat: port LinearAlgebra.Matrix.NonsingularInverse

bors merge

Sorry - I forgot to fix the comments.

bors merge


fix: handle nested AnyHashable screen

I ran into an assertion failure: "No view builder found for type Swift.AnyHashable" at DestinationBuilderHolder.swift.
It works well on iOS 15 and above.
But the binding.wrappedValue would always be AnyHashable<AnyHashable<MyScreen>> in iOS 14.3.
So I made this PR to get the real base value.

Thanks very much for raising this PR @mo5tone ! I've found it hard to test on iOS 14, as the latest Xcode doesn't seem to support running a Simulator less than iOS 15.
This fix looks good, but I wonder if the condition could be more specific? I'm considering a case where someone might have a screen type that includes the text "AnyHashable" - e.g. MyGenericScreen<AnyHashable>. Would the fix still work if the condition instead checked if key == "Swift.AnyHashable"? Thanks!

This fix looks good, but I wonder if the condition could be more specific? I'm considering a case where someone might have a screen type that includes the text "AnyHashable" - e.g. MyGenericScreen<AnyHashable>. Would the fix still work if the condition instead checked if key == "Swift.AnyHashable"? Thanks!

Yes, it should work well and will update the conditions.

Thanks for this fix @mo5tone !


undefined: v2.NewCloudEventFromHTTPRequest

This pull request has a difference between the document and the implementation.
The document defines it as NewCloudEventFromHTTPRequest, but it is actually NewEventFromHTTPRequet.

Good catch, want to file a doc PR?

@embano1 Thank you for the confirmation!
I will issue a PR for the Document.


[FEATURE] Support for podman

Description
Hi soci-snapshotter maintainers,
We would like to use the SOCI Snapshotter to reduce image pull time for containers running in our remote execution service at BuildBuddy. I’ve managed to get the snapshotter to work in our environment but it requires some modification because we use podman to pull and run container images in production. I’m curious if you would be open to merging a pull request adding support for podman to the snapshotter? It’s worth noting that such support already exists for the stargz-snapshotter on which the soci-snapshotter is based.
I have a forked repository with the changes to support podman at https://github.com/iain-macdonald/soci-snapshotter – the gist of these changes are to add a new binary, soci-store that mounts a fuse that uses the snapshotter to fetch image layers on demand. This is mostly self-contained but required a couple of other changes in the code, most notably exposing the layer-to-ztoc mapping in snapshot.go to the store so that it has that information.
There are a couple of things I still want to clean up in the forked repo, but I’m mostly just curious if you’re interested in accepting this or if we should plan on maintaining this fork.
Thanks for all of your hard work on this, it looks like it’s going to help us out quite a bit!
Iain
Describe the solution you'd like
No response
Describe any alternative solutions/features you've considered
No response
Any additional context or information about the feature request
No response

Hey, cool! I'm glad you got it working, but I think podman support is out of scope for this specific project. Our core use-case is containerd (hence building around a containerd snapshotter) and we don't really have the experience with podman to properly maintain an integration. That said, I think there could be a lot of value in working to separate the core SOCI FS piece from the snapshotter implementation so that we can have separate integrations with various runtimes. I think that could be useful for sharing ideas between SOCI and stargz as well if they're interested.
In the short term, we would be willing to consider the patches you need that would allow you to consume SOCI as a library rather than requiring a fork so long as you're ok with unstable nature of our library APIs.

Thanks for the reply, Kern. If we'll still have to maintain a fork or patch on our side then refactoring the code as you describe isn't as high a priority for me. If I get around to it some time, I'll reach out again. In the mean time, I'll close this feature request. And if you change your mind, let me know!