Create mit-sch.is-cool.dev.json

Requirements

[x] You have completed your website.
[x] The website is reachable.
[x] The CNAME record doesn't contain https:// or /.
[x] There is sufficient information at the owner field.
[x] Your website is not hosting on the following due to SSL issues: Vercel, Netlify

Description
domain will be used to hide unwanted request from outside country. hide the original ip address. Prevent public from finding my vps ip address to prevent spam and attcks
Link to Website

Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

I have read the CLA Document and I hereby sign the CLA

it will be for school and project use


correctly handle redirected requests

at https://github.com/photonstorm/phaser/blob/5c8ecbcf999e6f328d21884e877c9e5935d2d350/src/loader/File.js#L468
and similar eventQueue emits
the value of this.xhrLoader.responseURL should be added to the event data
not the keys though or it may break event listeners

I think you can find it in FILE_LOAD.

The data parameter contains the xhr response. The FILE_LOAD should be used if you need to obtain the actual File instance itself, from which you can then get anything extra you need like this.


NOTHING is working anymore...

https://alexa-node-red.bm.hardill.me.uk/ not working - nginx Error. I cannot switch lights too.

As an error report this is next to useless

Please include a lot more details when you report errors (to any project), just saying everything is broken doesn't help anybody.
I have restarted the process, it should be working again now.


Blacklist PUIDs

Mechanism to blacklist certain PUIDs to place them into a separate listing in some useful manner.
Examples might be fmt/111 - OLE2 Compound Object Format, or x-fmt/411 - Windows Portable Executable.
These are files identified by DROID but are likely to require action before ingest, e.g. the more specific identification of fmt/111 as a child format, e.g. Microsoft Word, San Serif Page Plus.
This will be institution specific.
Note: Likely to be configured by external config file for usability.

Complete. Can be configured using blacklist.cfg.


mczmaestro - device info

Hello @Aohzan
First, thanks for your work with this integration :+1:
I've installed your integration, connected to my stove and I'm also able to add a new entry. Although, as soon as I add it fails to set up, shown in the image below.

Looking at the logs, it seems HA couldn't get all the info required to validate the device.
Logger: homeassistant.config_entries
Source: config_entries.py:586
First occurred: 9:22:13 AM (5 occurrences)
Last logged: 9:38:34 AM

Error setting up entry MCZ Maestro <IP_ADDRESS>:81 for mczmaestro
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 586, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/mczmaestro/__init__.py", line 70, in async_setup_entry
    device_registry.async_get_or_create(
  File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 747, in async_get_or_create
    device_info_type = _validate_device_info(config_entry, device_info)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/device_registry.py", line 244, in _validate_device_info
    raise DeviceInfoError(
homeassistant.helpers.device_registry.DeviceInfoError: Invalid device info {'default_manufacturer': 'MCZ', 'default_model': 'Maestro', 'default_name': 'MCZ Maestro <IP_ADDRESS>:81', 'identifiers': {('mczmaestro', '<IP_ADDRESS>')}} for 'mczmaestro' config entry: device info needs to either describe a device, link to existing device or provide extra information.

Could you help me with this ?
Thank you.

Hello,
something incompatible with a HA update I think, I have to check

Hey @Aohzan, have you had a chance to look at this ?
Thanks.

Hello, can you test with last update

Thanks for taking time to look at this :+1:
I think this new version fixed the previous error, but it seems we're getting a new one:
`Logger: homeassistant.config_entries
Source: config_entries.py:604
First occurred: 10:47:06 PM (5 occurrences)
Last logged: 10:52:30 PM
Error setting up entry MCZ Maestro <IP_ADDRESS>:81 for mczmaestro
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/mczmaestro/init.py", line 53, in async_setup_entry
hass.data[DOMAIN][entry.entry_id] = {
~~~~~~~~~^^^^^^^^
KeyError: 'mczmaestro'`

Indeed, try 0.1.7 version please https://github.com/Aohzan/hass-mcz-maestro/releases/tag/0.1.7

Awesome ! It's connected !
Thank you very much for your help.
I'll close this issue 👍


Resuming an interrupted backup when using REST backend doesn't work until you manually repair index

Output of restic version
restic 0.16.4 compiled with go1.21.6 on windows/amd64
What backend/service did you use to store the repository?
REST
Problem description / Steps to reproduce
I start a backup using the following command: restic -r<EMAIL_ADDRESS>backup D:\MyData
After uploading 500+ MB I press Ctrl + C to interrupt the backup.
Restic ends with the following output:
signal interrupt received, cleaning up
Fatal: unable to save snapshot: context canceled

Now I re-run the previous command to resume backup. Instead of continuing backup where Restic stopped, Restic is re-reading from beginning and re-uploading already uploaded files.
When I check the repository before resuming the backup with the command restic check I'll get the following output:
[...]
check all packs
pack 956ded1b716dd3f09fd816028290d67b39255ca73922eb1c5aa3b1407082a04d: not referenced in any index
pack aa036d14c4b569a42a2b24f449bda4e1d6220d204146b31b4325c06add8e80b7: not referenced in any index
pack 17851792d472748bd1d160ff11878e292cf63685b99be5b6c336a26c33412adf: not referenced in any index
pack ba3dc39796ad03beac7abe39087c2c5573728b84c0a11582f070368d121aa971: not referenced in any index
pack 4c711429133f693200d940620ed2e921524b59c5946344afe4de0ccf74bc5f74: not referenced in any index
pack 925ad153f9d76d90fd047833d88337ba8d3ef83b990daca3d9243dc26c20c75b: not referenced in any index
pack 62f8d52c6fb5d7f8462ca085c92af930ed53a1c651a9253f64fea7e7e3a40181: not referenced in any index
pack a290f232d88ee3833423b9972d380fb6d2249834dceaf117d23ffa30b0731ba2: not referenced in any index
8 additional files were found in the repo, which likely contain duplicate data.
This is non-critical, you can run `restic prune` to correct this.
check snapshots, trees and blobs
[0:00] 100.00%  1 / 1 snapshots
no errors were found

If I will now run the command restic repair index which will generate the following output
repository f5e95b89 opened (version 2, compression level auto)
loading indexes...
getting pack files to read...
adding pack file to index 17851792d472748bd1d160ff11878e292cf63685b99be5b6c336a26c33412adf
adding pack file to index 4c711429133f693200d940620ed2e921524b59c5946344afe4de0ccf74bc5f74
adding pack file to index 62f8d52c6fb5d7f8462ca085c92af930ed53a1c651a9253f64fea7e7e3a40181
adding pack file to index 925ad153f9d76d90fd047833d88337ba8d3ef83b990daca3d9243dc26c20c75b
adding pack file to index 956ded1b716dd3f09fd816028290d67b39255ca73922eb1c5aa3b1407082a04d
adding pack file to index a290f232d88ee3833423b9972d380fb6d2249834dceaf117d23ffa30b0731ba2
adding pack file to index aa036d14c4b569a42a2b24f449bda4e1d6220d204146b31b4325c06add8e80b7
adding pack file to index ba3dc39796ad03beac7abe39087c2c5573728b84c0a11582f070368d121aa971
reading pack files
[0:00] 100.00%  8 / 8 packs
rebuilding index
[0:00] 100.00%  225 / 225 packs processed
deleting obsolete index files
[0:00] 100.00%  1 / 1 files deleted
done

The next time I resume backup will continue backup where I previously interrupted as expected.
I am unable to reproduce this behavior using local or sftp backend.
Expected behavior
There shouldn't be an error when the backup was interrupted.
The backup should resume from where the previous run was interrupted (i.e., already uploaded files should not be re-uploaded) — without the need to repair the index.
Actual behavior
When a backup using REST backend got canceled, there's an error message (Fatal: unable to save snapshot: context canceled) that doesn't occur when using other backends.
When the backup is re-run (resumed), Restic starts from scratch (re-uploading files that were already uploaded).
Do you have any idea what may have caused this?
No, except that using REST backend seems to trigger this.
Did restic help you today? Did it make you happy in any way?
I am new to Restic and still evaluating. But it was really pleasing to see that the built-in support for volume shadow copies seems to work flawlessly.

This is expected behavior, see https://restic.readthedocs.io/en/stable/faq.html#will-restic-resume-an-interrupted-backup

This effectively makes it continue from where it saved the last index, which should be up to a few minutes ago.

Index files are currently uploaded every 10 minutes, that is your test case is apparently shorter than that.

I am unable to reproduce this behavior using local or sftp backend.

The index upload behaves exactly the same for all backends. The different behavior must be caused by your test setup, maybe your upload to those backends is much faster?
At some point in the future it might be possible that restic updates the index when the backup gets interrupted, but for now index updates only happen periodically.

Are you really sure there's no issue? What about the fact that when canceling a backup with a REST backend, we encounter that error message, whereas it doesn't happen with a local or SFTP backend?
However, I can confirm the following: I repeated the test with a new repository. After running for 20 minutes, I canceled the backup with CTRL+C. Once again, I received the error message, which I hadn't seen with other backends so far.
Now, I waited for 60 minutes. During this time, I regularly invoked restic check, which consistently showed that 160 packs were not yet assigned (pack e75...: not referenced in any index) — even after 60 minutes. I was quite convinced that you must be mistaken. But when I restarted (resumed) the backup after these 60 minutes, it indeed skipped the previously backed-up files as expected and continued from where I had interrupted the first backup run.

Are you really sure there's no issue? What about the fact that when canceling a backup with a REST backend, we encounter that error message, whereas it doesn't happen with a local or SFTP backend?

Whether that error message is shown or not depends on how fast restic can remove the lock that's held during a backup. Either way, it doesn't matter; what's happening behind the scenes is the same in both cases.

Now, I waited for 60 minutes. During this time, I regularly invoked restic check, which consistently showed that 160 packs were not yet assigned (pack e75...: not referenced in any index) — even after 60 minutes.

The rest-server has no clue about the internals of the repository format, just like storing the repository locally or via sftp. Thus, nothing will change while no backup or similar runs.


Silverstripe 5 support

Seems to work absolutely fine on Silverstripe 5, so I've updated the version requirement in composer.json.

@purplespider Thanks for checking and thanks for contributing! :)


No Internet Access and No LAN Access

PiVPN Issue Template

Console output of curl install.pivpn.io | bash

Console output of pivpn add or pivpn add nopass

Console output of pivpn debug
`:: PiVPN Debug ::
:: Latest commit ::
commit 2468c69d9aef5522b04b65d411df5ab97c465fba
Author: Kaladin Light<EMAIL_ADDRESS>Date:   Fri Nov 11 21:55:47 2016 -0500

    Fix escaping stuff in for password of client key
    Was overzealously escaping... oops
:: list of files in /etc/openvpn/easy-rsa/keys ::
01.pem	Default.txt  ca.key	 index.txt	 index.txt.attr.old  macbookpro.3des.key  macbookpro.csr  macbookpro.ovpn  serial.old  server.csr  ta.key
02.pem	ca.crt	     dh2048.pem  index.txt.attr  index.txt.old	     macbookpro.crt	  macbookpro.key  serial	   server.crt  server.key
:: /etc/pivpn/* ::
:: START /etc/pivpn/DET_PLATFORM ::
Ubuntu
:: END /etc/pivpn/DET_PLATFORM ::
:: START /etc/pivpn/INSTALL_PORT ::
1194
:: END /etc/pivpn/INSTALL_PORT ::
:: START /etc/pivpn/INSTALL_PROTO ::
udp
:: END /etc/pivpn/INSTALL_PROTO ::
:: START /etc/pivpn/INSTALL_USER ::
deploy
:: END /etc/pivpn/INSTALL_USER ::
:: START /etc/pivpn/NO_UFW ::
1
:: END /etc/pivpn/NO_UFW ::
:: START /etc/pivpn/REVOKE_STATUS ::
0
:: END /etc/pivpn/REVOKE_STATUS ::
:: /etc/openvpn/easy-rsa/keys/Default.txt ::
client
dev tun
proto udp
remote dnsname.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
key-direction 1
remote-cert-tls server
tls-version-min 1.2
verify-x509-name server name
cipher AES-256-CBC
auth SHA256
comp-lzo
verb 1
:: done ::`

Issue
I am unable to connect to either the internet or the other hosts on my LAN (using IPs, not even trying DNS). My local subnet at home is <IP_ADDRESS>/24 and I am able to ping my router at <IP_ADDRESS>, but nothing else.

same here

What OS is this installed on?

Sorry for forgetting such an obvious thing.. Ubuntu 16.04

OK. I'll test on that again.
On Thu, Nov 17, 2016, 15:49 Sam Oehlert<EMAIL_ADDRESS>wrote:

Sorry for forgetting such an obvious thing.. Ubuntu 16.04
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pivpn/pivpn/issues/151#issuecomment-261365080, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADc_mNSChOE4CWYLm29Sn5IGxg1CvqtSks5q_L28gaJpZM4Kw7fm
.

Might be related to Issue #80

Unfortunately not. For more info, I also run pihole on my LAN. My /etc/resolv.conf on my vpn host points to that. The vpn host itself is able to reach the internet fine and resolve everything locally just fine.

/etc/openvpn/server.conf is misconfigured maybe, mine was:
server.conf it pushs route to x.x.x.x where x.x.x.x is your PI's ip when it should be a subnet: EG: <IP_ADDRESS>

Thanks for the thought, but it already is my LAN subnet. <IP_ADDRESS>/24
push "route <IP_ADDRESS> <IP_ADDRESS>"

What is your IPTables output? and could you post your whole server.conf file?

just had a similar problem, fixed it by editing iptables:
sudo /sbin/iptables -P FORWARD ACCEPT
sudo /sbin/iptables --table nat -A POSTROUTING -o eth0 -j MASQUERADE

I am currently only using a hardware firewall in front of the host. IPtables is off.
dev tun
proto udp
port 1194
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh2048.pem
server <IP_ADDRESS> <IP_ADDRESS>
# server and remote endpoints
ifconfig <IP_ADDRESS> <IP_ADDRESS>
# Add route to Client routing table for the OpenVPN Server
push "route <IP_ADDRESS> <IP_ADDRESS>"
# Add route to Client routing table for the OPenVPN Subnet
push "route <IP_ADDRESS> <IP_ADDRESS>"
# your local subnet
push "route <IP_ADDRESS> <IP_ADDRESS>"
# Set your primary domain name server address for clients
push "dhcp-option DNS <IP_ADDRESS>"
push "dhcp-option DNS <IP_ADDRESS>"
# Override the Client default gateway by using <IP_ADDRESS>/1 and
# <IP_ADDRESS>/1 rather than <IP_ADDRESS>/0. This has the benefit of
# overriding but not wiping out the original default gateway.
push "redirect-gateway def1"
client-to-client
duplicate-cn
keepalive 10 120
tls-version-min 1.2
tls-auth /etc/openvpn/easy-rsa/keys/ta.key 0
cipher AES-256-CBC
auth SHA256
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
#crl-verify /etc/openvpn/crl.pem
status /var/log/openvpn-status.log 20
log /var/log/openvpn.log
verb 1
# This configuration file was originally written by Lauren Orsini at ReadWrite.

Having the same issue. Not sure if it matters, but I'm running pihole on the same machine.
I can access my router and the pihole admin pages via IP so it appears to be a DNS issue. However, I've modified my openvpn server settings to (a) push the eth0 IP (pihole dns), (b) push the eth0 IP and the tun0 IP (pihole dns), (c) router (which upstreams to my service provider), and (d) google DNS. None worked. Also completely remove the push of DNS, and the client indicated it used a Google default DNS, also with no luck. My client is an IOS device, so I have limited tools to check client configurations.

maybe what pihole adds to iptables is conflicting with this installer's adds?
can you print out your iptables config here?

I didn't think that pihole added anything to iptables.
[pi@pi:/etc/init.d $ sudo iptables-save -c
Generated by iptables-save v1.4.21 on Wed Nov 30 13:29:56 2016
*filter
:INPUT ACCEPT [1829:350272]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [862:110897]
COMMIT
Completed on Wed Nov 30 13:29:56 2016

I don't have pihole installed on the same host. I don't want my issue to get conflated with that.

I don't believe it has to do with pihole, just providing that information knowing pivpn and pihole use similar approaches. I'm not using iptables, and I am not using ufw.

Isn't that the issue? You need to have some rules to have the vpn client traffic masquerade out. The pivpn script puts these in yet you say you don't have them. Add the iptables lines and enable iptables and you client should be able to route out.

Hmm. That makes sense. Perhaps the problem is that the current pivpn installation has a bug in the script and isn't setting up the iptables? What rules are supposed to be in the iptables?

Perhaps I found it in the installation script:
if hash ufw 2>/dev/null; then
    if $SUDO ufw status | grep -q inactive
    then
        noUFW=1
    else

I don't have ufw installed, so the status doesn't have "inactive" in the response, so it jumps to the else state and configures ufw. Whereas, it should have jumped to the then state and configured iptables (which it doesn't appear to have done).

I think I've got it...
I believe that there are 2 problems:

Routing. I believe the pivpn installation script doesn't set the iptables when ufw isn't installed (as mentioned in my previous post). Once I added in the iptables configuration, and set the DNS server to either my router, OpenDNS, Google, my provider's DNS, etc. I was able to browse the internet without issue but NOT using the pihole running on my network.
pihole restriction - Although the dnsmasq.conf file doesn't have any restrictions, I see dnsmasq is running with --local-service option, which I believe is restricting responses from clients on the VPN network. Testing now....

Pihole restriction confirmed.
According to dnsmasq documentation, by default it runs with the --local-service option (confirm yourself by running ps -aux | grep dnsmasq on your pihole server). This option "[a]ccept[s] DNS queries only from hosts whose address is on a local subnet, ie a subnet for which an interface exists on the server. This option only has effect is there are no --interface --except-interface, --listen-address or --auth-server options. It is intended to be set as a default on installation, to allow unconfigured installations to be useful but also safe from being used for DNS amplification attacks."
To resolve, on pihole server add the following line to /etc/dnsmasq.conf:
listen-address=<IP_ADDRESS>,ww.xx.yy.zz
where ww.xx.yy.zz is the ip address of your pihole server.
Restart dnsmasq.conf
sudo /etc/init.d/dnsmasq restart
IF you are running pihole and pivpn on the same server, you could instead use:
interface=eth0,wlan0,tun0
or
listen-address=<IP_ADDRESS>,ww.xx.yy.zz,<IP_ADDRESS>
where ww.xx.yy.zz is the ip address of your pihole server and assuming <IP_ADDRESS> is your pivpn server ip.
Hope that helps!

@mplawner per your

above, it does set iptables

# else configure iptables
    if [[ $noUFW -eq 1 ]]; then
        echo 1 > /tmp/noUFW
        $SUDO iptables -t nat -A POSTROUTING -s <IP_ADDRESS>/24 -o "$IPv4dev" -j MASQUERADE
        if [[ $PLAT == "Ubuntu" || $PLAT == "Debian" ]]; then
            $SUDO iptables-save | $SUDO tee /etc/iptables/rules.v4 > /dev/null
        else
$SUDO netfilter-persistent save

question is why didn't that seem to work on your install.
You never stated which OS you are on, the more details you can provide the more we can try to figure out why the iptables rules didn't get applied or saved on your machine.  Ideally you can run an uninstall and reinstall and paste in the install output where it probably had any errors it encountered.

for the pihole, I'll probably just add this to the wiki so we can direct those who have pihole on same server the modification to make to get it to work.

@soehlert try running the iptables commands i pasted above where $IPv4dev is your interface, like eth0 or wlan0.
so if you are on raspbian with a network cable plugged in just run as root:
iptables -t nat -A POSTROUTING -s <IP_ADDRESS>/24 -o "eth0" -j MASQUERADE
netfilter-persistent save

@0-kaladin Thanks for your reply.
Sorry, version info:
pi@applepi:~ $ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 8.0 (jessie)
Release:	8.0
Codename:	jessie
pi@applepi:~ $ uname -a
Linux applepi 4.4.32-v7+ #924 SMP Tue Nov 15 18:11:28 GMT 2016 armv7l GNU/Linux

I believe the problem is further up in the script:
if hash ufw 2>/dev/null; then
    if $SUDO ufw status | grep -q inactive
    then
        noUFW=1
    else

If I run the above command:
pi@applepi:~ $ sudo ufw status | grep -q inactive
sudo: ufw: command not found

This would then skip the "then" statement and go right into configuring ufw. iptables wouldn't be set because noUFW would never be set to 1. (And if [[ $noUFW -eq 1 ]]; then later in the code would never be true, which is needed.)
Perhaps you are missing the word service?
   if $SUDO service ufw status | grep -q inactive

I believe this entered the code in May when you added support for ufw. I can see an issue https://github.com/pivpn/pivpn/issues/55 back in July which indicates the same problem.

I think the code is right but I'll retest. The first hash line checks if ufw exists.  And you don't need service first cause if you have ufw then ufw status is a valid command.

This did not help. Still the same situation.

Can you just uninstall and reinstall and paste in the output of the whole install?

This worked for me:-
iptables -t nat -A POSTROUTING -s <IP_ADDRESS>/24 -o "eth0" -j MASQUERADE netfilter-persistent save
Thanks O-kaladin!
I am using a brand new Debian Jessie lite installation on a Pi2. No software installed before the pivpn script, just an apt-get update/upgrade.

so what seems to work for you guys is getting the iptables rules in there...
the script tries to do this and does for me (and many).  I'd love to know why it's failing for you.  if any of you can duplicate this and send the install output that would help.  I'll try to guess at some adjustments.

@chrismelikian can you paste output of the pivpn debug command?
@soehlert you are on ubuntu.  so you would run as root(or the script is supposed to):
iptables -t nat -A POSTROUTING -s <IP_ADDRESS>/24 -o "eth0" -j MASQUERADE
iptables-save |  tee /etc/iptables/rules.v4 > /dev/null

@soehlert paste any output of the above.  it concerns me you said iptables is off.  ensure the package iptables-persistent got installed.  if the save above doesn't seem to save then try
invoke-rc.d iptables-persistent save

pi@pivpn:~ $ pivpn -d
::: Generating Debug Output
:: PiVPN Debug ::
:: Latest commit ::
commit f61b26f669cbf7a351ccc43c1b7c65125c25185a
Author: Kaladin Light<EMAIL_ADDRESS>Date:   Tue Nov 22 23:47:09 2016 -0500

    Small adj
:: list of files in /etc/openvpn/easy-rsa/keys ::
01.pem
02.pem
ca.crt
ca.key
chris.3des.key
chris.crt
chris.csr
chris.key
chris.ovpn
Default.txt
dh2048.pem
index.txt
index.txt.attr
index.txt.attr.old
index.txt.old
serial
serial.old
server.crt
server.csr
server.key
ta.key
:: /etc/pivpn/* ::
:: START /etc/pivpn/DET_PLATFORM ::
Raspbian
:: END /etc/pivpn/DET_PLATFORM ::
:: START /etc/pivpn/INSTALL_PORT ::
1194
:: END /etc/pivpn/INSTALL_PORT ::
:: START /etc/pivpn/INSTALL_PROTO ::
udp
:: END /etc/pivpn/INSTALL_PROTO ::
:: START /etc/pivpn/INSTALL_USER ::
pi
:: END /etc/pivpn/INSTALL_USER ::
:: START /etc/pivpn/NO_UFW ::
1
:: END /etc/pivpn/NO_UFW ::
:: START /etc/pivpn/REVOKE_STATUS ::
0
:: END /etc/pivpn/REVOKE_STATUS ::
:: /etc/openvpn/easy-rsa/keys/Default.txt ::
client
dev tun
proto udp
remote melikian.duckdns.org 1194
resolv-retry infinite
nobind
persist-key
persist-tun
key-direction 1
remote-cert-tls server
tls-version-min 1.2
verify-x509-name server name
cipher AES-256-CBC
auth SHA256
comp-lzo
verb 1
:: done ::
:::
::: Debug output completed above.
::: Copy saved to /tmp/debug.txt
:::

so @chrismelikian the script knew you were raspbian and didn't have ufw.  which means it would have run the exact commands you said worked for you.  No idea why they didn't seem to take when the script ran them.  I'd have to see the install output during install to have clues to that.
no who reports no internet access has pasted in the install output.  that would really help.

Hi @0-kaladin all I can say is that I started with a fresh Debian Jessie lite image from https://www.raspberrypi.org/downloads/raspbian/ . Th only thing I did before the pivpn install was to change the SSH configuration to prevent password-based login after doing an apt-get update/upgrade. I know the pivpn script does this anyway but I wanted to run it beforehand.

I can't risk running the installer again, I need it up and running. Can try again in the new year if you've not been able to fix it.

Sorry, life has a funny way of getting in the way. Will try a full new install and post the results here ASAP.

@soehlert you also have pi-hole so check this https://github.com/pivpn/pivpn/wiki/FAQ#installing-with-pi-hole

So my entire infrastructure died (both servers' disks died). In the coming weeks, I'll be rebuilding as I get time. The problem with this idea, however, is that I could not even ping anything on my network by IP, nor could I ping anything outside by IP. So DNS was not the problem (yet?).

This was the error I receive when installing PiVPN this morning, after installing Pi-Hole last night.

Hope  that helps

Yes.. Did you reboot and try the install again? Maybe after a full
uninstall? What OS are you on?
On Fri, Dec 16, 2016, 11:49 jwdv22<EMAIL_ADDRESS>wrote:

This was the error I receive when installing PiVPN this morning, after
installing Pi-Hole last night.
[image: pivpninstallationerror]
https://cloud.githubusercontent.com/assets/2905060/21270683/a5de47d0-c385-11e6-831f-147e7637099e.png
Hope that helps
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pivpn/pivpn/issues/151#issuecomment-267638599, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADc_mJE3fldAy86FuZSiBjQ68gSp9_sfks5rIsExgaJpZM4Kw7fm
.

Raspian Jessie with Pixel
rebooted
It was disconnecting immeditatly
Running the install again.
Thanks
On Fri, Dec 16, 2016 at 12:10 PM, 0-kaladin<EMAIL_ADDRESS>wrote:

Yes.. Did you reboot and try the install again? Maybe after a full
uninstall? What OS are you on?
On Fri, Dec 16, 2016, 11:49 jwdv22<EMAIL_ADDRESS>wrote:

This was the error I receive when installing PiVPN this morning, after
installing Pi-Hole last night.
[image: pivpninstallationerror]
<https://cloud.githubusercontent.com/assets/2905060/21270683/a5de47d0-
c385-11e6-831f-147e7637099e.png>
Hope that helps
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pivpn/pivpn/issues/151#issuecomment-267638599, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADc_
mJE3fldAy86FuZSiBjQ68gSp9_sfks5rIsExgaJpZM4Kw7fm>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pivpn/pivpn/issues/151#issuecomment-267643773, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACxT5D3HuaPYFSkWu3bsvouywY4l6y8Eks5rIsXsgaJpZM4Kw7fm
.

--
John Dean
<EMAIL_ADDRESS>484 393 1346

Went through second install just fine. But I still get disconnected immediately from my Win 7 laptop client.
Options error : Unrecognized option or missing parameter(s) in stdin"11" tls-version-min (2.1.1oOAS)
Client OVPN file says tls-version-min 1.2
I have other problems. Sorry

Remove that line from the ovpn. Which client are you using on the windows 7?
On Fri, Dec 16, 2016, 14:49 jwdv22<EMAIL_ADDRESS>wrote:

Went through second install just fine. But I still get disconnected
immediately from my Win 7 laptop client.
Options error : Unrecognized option or missing parameter(s) in stdin"11"
tls-version-min (2.1.1oOAS)
Client OVPN file says tls-version-min 1.2
I have other problems. Sorry
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pivpn/pivpn/issues/151#issuecomment-267680683, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADc_mO6F91gR9NlNdeSPKX3RpfLqlkJnks5rIusqgaJpZM4Kw7fm
.

Old OpenVPN Client.msi but open to try an alternative
I removed it from server.conf and rebooted-- no luck then removed it from client.ovpn and it error on the next parm of verify-x509-name

yea just use a new one and it'll work https://openvpn.net/index.php/open-source/downloads.html

That fixed it. And I can confirm I am seeing ads blocked in the Pi_Hole console from <IP_ADDRESS> when VPNing from laptop to my Verizon Wireless hotspot. Thanks so much this is awesome

On Raspbian Jessie here, just typed in those 2 commands from @brunoamaral and it works fine now!

Just did a fresh install of Rasbian Jessie Lite on a pi3, and had the same issue - no Internet, no LAN access. Like other posters, I was able to solve it by re-adding the iptables rules. Nothing to note in the install log:
:::
::: Stopping OpenVPN service... done.
:::
::: Checking for existing base files...
:::    Checking /etc/.pivpn is a repo...:::    Cloning https://github.com/pivpn/pivpn.git into /etc/.pivpn... done!
:::
::: Installing scripts to /opt/pivpn... done.
::: Using protocol: udp
::: Building CA...

::: CA Complete.

Note: using Easy-RSA configuration from: ./vars

Note: using Easy-RSA configuration from: ./vars

DH parameters of size 2048 created at /etc/openvpn/easy-rsa/pki/dh.pem

net.ipv4.ip_forward = 1
::: Using Google DNS servers.

When the interface screen comes up did you hit space to select an
interface? There may only be one there but it is not selected.
On Wed, Jan 25, 2017, 00:10 drvan<EMAIL_ADDRESS>wrote:

Just did a fresh install of Rasbian Jessie Lite on a pi3, and had the same
issue - no Internet, no LAN access. Like other posters, I was able to solve
it by re-adding the iptables rules. Nothing to note in the install log:
:::
::: Stopping OpenVPN service... done.
:::
::: Checking for existing base files...
:::    Checking /etc/.pivpn is a repo...:::    Cloning https://github.com/pivpn/pivpn.git into /etc/.pivpn... done!
:::
::: Installing scripts to /opt/pivpn... done.
::: Using protocol: udp
::: Building CA...
::: CA Complete.
Note: using Easy-RSA configuration from: ./vars
Note: using Easy-RSA configuration from: ./vars
DH parameters of size 2048 created at /etc/openvpn/easy-rsa/pki/dh.pem
net.ipv4.ip_forward = 1
::: Using Google DNS servers.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pivpn/pivpn/issues/151#issuecomment-275020800, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADc_mO6CTvT9GGAIyTMAtHby4U9xYUaaks5rVtk8gaJpZM4Kw7fm
.

I selected eth0, as best as I can recall (both eth0 and wlan0 were available, if I recall correctly).

Hi,
Same issue here on Raspian Jessie - installed, but no internet/LAN access after installation.
Doing:
iptables -t nat -A POSTROUTING -s <IP_ADDRESS>/24 -o "eth0" -j MASQUERADE netfilter-persistent save
... commands fixed the problem and I had internet access working straight away without rebooting.
However, after rebooting the Pi, nothing works again.
Here is the output when I type the above code:
pi@pi:~ $ sudo iptables -t nat -A POSTROUTING -s <IP_ADDRESS>/24 -o "eth0" -j MASQUERADE pi@pi:~ $ sudo netfilter-persistent save run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables save run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables save
Any recommendations for getting it to save?

Hey Thanks stualoo, that is what I needed for it to work for me also! Just not going to reboot it lol

This looks like one way to do it... https://github.com/pivpn/pivpn/issues/182
But, I was wondering if there was another method :-)

not work on fresh install on raspbian normal up-to-date (have try 2x). I have try the solution linked (#182

I have this installed on Pi 2. Everything works fine from android devices LAN/internet, but from an iPod ios 9.3 there is no LAN. LAN from iPod ios will show only router, ap, and printer. Android 5, 6, and 7 all work fine.
Using OpenVPN on all devices. Any ideas?

@redfast00 this is labeled as a bug ... however, i think this can be closed ... there are some failures related to this but aren't usually directly related to PiVPN ... what do you think?

Sure, I'll close it.

just had the same problem, fixed it by editing iptables:
sudo /sbin/iptables -P FORWARD ACCEPT
sudo /sbin/iptables --table nat -A POSTROUTING -o eth0 -j MASQUERADE

Hi!
I had the same problem, and no pihole is installed in the same or other server. The first line:
sudo /sbin/iptables -P FORWARD ACCEPT
actually solved the problem which I had been struggling with for a while.
I don't really know what the second line is for, but it really seems it is working. Thanks a lot! :) :+1:


Use of proxies kwarg in httpx==0.28.0

Confirm this is an issue with the Python library and not an underlying OpenAI API

[X] This is an issue with the Python library

Describe the bug
httpx version 0.28.0 removes the deprecated proxies argument; this argument is hardcoded in the library at the moment.
To Reproduce

Update to httpx version 0.28.0

Code snippets
  File "/var/lang/lib/python3.10/site-packages/openai/_client.py", line 337, in __init__
    super().__init__(
  File "/var/lang/lib/python3.10/site-packages/openai/_base_client.py", line 1438, in __init__
    self._client = http_client or AsyncHttpxClientWrapper(
  File "/var/lang/lib/python3.10/site-packages/openai/_base_client.py", line 1335, in __init__
    super().__init__(**kwargs)
TypeError: AsyncClient.__init__() got an unexpected keyword argument 'proxies'

OS
macOS
Python version
Python 3.10.12
Library version
openai-1.55.2

This is causing a fresh install of openai to be broken currently.
Here's a reproducer:
from alpine:edge

RUN apk update
RUN apk add python3 py3-pip

RUN pip install  --break-system-packages openai
RUN python -c 'import openai; client=openai.AsyncOpenAI(api_key="X")'

Having this issue too, with the synchronous client. A temporary fix I've found is to hardcode the httpx version in my requirements to the previous release, which is 0.27.2.
Just adding httpx==0.27.2 makes my code work again.

Hi, thank you for the reports, we (@stainless-api) are actively working on a fix.

Thanks for the reports, this will be fixed shortly

Should be fixed once https://github.com/openai/openai-python/pull/1905 gets merged (all the credits to the amazing @RobertCraigie for the quick fix)

Sorry for the delay, we're trying to get a hold of someone with the credentials to publish a new release.

@dgellow @RobertCraigie In the pyproject.toml file, the httpx version is defined as httpx>=0.23.0, <1. Isn't this too wide? It seems to me the dependent libraries versions should only include the current and tested versions. But <1 allows many future upgrades that can potentially break stuff like the current issue. Other dependent libraries are defined in the same manner and seems to have the same issue.

Hi @vvaezian, thanks for pointing that out. I tend to agree. That's something we identified and will be discussing today as part of our internal post-mortem for that httpx v0.28.0 incident. I expect we will share an update later today in this thread

@dgellow @RobertCraigie FYI it looks like we need the same fix in the CLI: https://github.com/openai/openai-python/blob/534d6c58f6c07d219ca74dd336eaca59d48d0ada/src/openai/cli/_cli.py#L179-L182

ah good catch thank you!

@vvaezian Following up on your question, we decided against narrowing the version constraints. Instead we decided to invest into improving our testing setup to be sure we have coverage for nightly/dev versions of httpx (and other core dependencies), before they are released publicly.


Changing RequestId is not possible

Right now I cannot set the requestId myself. But for tracability it would be nice if I could set the requestId to a specific value that I use for this request throughout the system.
The current code looks like this and it can be seen that a new requestId is generated per request without the possibilty to configure oneself
func (c *GRPCClient) IsAllowed(ctx context.Context, principal *Principal, resource *Resource, action string) (bool, error) {
	// ...
	reqID := xid.New()
	req := &requestv1.CheckResourcesRequest{
		RequestId: reqID.String(),
		// ....
	}
        // ....
}

A possibility without changing the signature and actually something that other libraries do as well could be something like this
func (c *GRPCClient) IsAllowed(ctx context.Context, principal *Principal, resource *Resource, action string) (bool, error) {
	// ...
        requestId := ctx.Value(c.RequestIdContextKey)
	if requestId == nil {
             requestId := xid.New().String()
        }
	req := &requestv1.CheckResourcesRequest{
		RequestId: requestId,
		// ....
	}
        // ....
}

while c.RequestIdContextKey is something that I can configure while creating the client.
Then I could easily use the method with the same signature but the requestId of the current request would be used. This would allow tracing and finding logs throughout a microservice architecture that belong together.

You can now provide a function to the client that'll be called for each request to generate the request ID. The request context is available to that function.
client = client.With(cerbos.RequestIDGenerator(func(ctx context.Context) string {
    // Extract the ID from the context or compute it some other way
    return  generatedID
})

thank you!


[enhancement]: Embed the command line for recreating an image as PNG comment

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
No response
What should this feature add?
It would be very useful, for reproducing earlier work where the invoke log may not be available, such as after distribution or archival of a PNG format output sample, if the full effective invoke command line could be stored in the image file as a PNG comment (see section 4.3.2 of http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html).
This should probably be a non-default option to avoid violating expectations that users may have that their prompt and settings are private and not distributed with an image.
Alternatives
No response
Aditional Content
No response

All info is saved in the png file already, if you use a program like exiftool you can read the data back or simply add back the the  image from your archive to your output folder and you can reuse the prompt and settings from it

Pardon me, is this documented? I didn’t find it.

Pardon me, is this documented? I didn’t find it.

Sorry I'm not sure I haven't read the readme docs for a while, it should be as the user needs to know if they wish to remove it from there images before posting them somewhere

Ah ok. I found it mentioned in the NSFW Checker page. That’s why I missed it. A minor suggestion would be to pull that discussion about watermarking out elsewhere. FWIW first place I checked was the Other page.


sexy_bash_prompt_parse_git_ahead returns 1 when not ahead

I don't have time to look into this right this second, so, github issue. I have a tarball of the repo in this state.
ryan at iris in ~/src/other/LS_COLORS on lscolors_data_dir-fix↑
$ git fetch --all
Fetching origin
ryan at iris in ~/src/other/LS_COLORS on lscolors_data_dir-fix↑
$ git status
On branch lscolors_data_dir-fix
nothing to commit, working tree clean
ryan at iris in ~/src/other/LS_COLORS on lscolors_data_dir-fix↑
$ echo "dirty: $(sexy_bash_prompt_parse_git_dirty)" ; echo "ahead: $(sexy_bash_prompt_parse_git_ahead)" ; echo "behind: $(sexy_bash_prompt_parse_git_behind)"
dirty:
ahead: 1
behind:
ryan at iris in ~/src/other/LS_COLORS on lscolors_data_dir-fix↑
$ git push
Everything up-to-date
$

Interesting, usually only see that behavior when the remote doesn't yet have the branch but it looks like it does
Skimming the code, I'd bet the remote is misconfigured but only way to know is to run it:
https://github.com/twolfson/sexy-bash-prompt/blob/0.30.0/.bash_prompt#L164-L184
sexy_bash_prompt_parse_git_ahead () {
  # Grab the local and remote branch
  branch="$(sexy_bash_prompt_get_git_branch)"
  remote="$(git config --get "branch.${branch}.remote" || echo -n "origin")"
  remote_branch="$remote/$branch"

  # $ git log origin/master..master
  # commit 4a633f715caf26f6e9495198f89bba20f3402a32
  # Author: Todd Wolfson<EMAIL_ADDRESS>  # Date:   Sun Jul 7 22:12:17 2013 -0700
  #
  #     Unsynced commit

  # If the remote branch is behind the local branch
  # or it has not been merged into origin (remote branch doesn't exist)
  if (sexy_bash_prompt_is_branch1_behind_branch2 "$remote_branch" "$branch" ||
      ! sexy_bash_prompt_branch_exists "$remote_branch"); then
    # echo our character
    echo 1
  fi
}

Still under a bit of a mountain, I will have time to parse this later if you don't get to it
ryan at iris in ~/src/other/LS_COLORS on lscolors_data_dir-fix⇡
$ ( set -x -v ; sexy_bash_prompt_parse_git_ahead )
+ line 5: sexy_bash_prompt_parse_git_ahead
++ sexy_bash_prompt_parse_git_ahead():line 1: sexy_bash_prompt_get_git_branch
+++ sexy_bash_prompt_get_git_branch():line 1: git symbolic-ref HEAD
+++ sexy_bash_prompt_get_git_branch():line 1: sed -e 's/refs\/heads\///'
++ sexy_bash_prompt_get_git_branch():line 4: ref=lscolors_data_dir-fix
++ sexy_bash_prompt_get_git_branch():line 5: [[ lscolors_data_dir-fix != '' ]]
++ sexy_bash_prompt_get_git_branch():line 6: echo lscolors_data_dir-fix
+ sexy_bash_prompt_parse_git_ahead():line 3: branch=lscolors_data_dir-fix
++ sexy_bash_prompt_parse_git_ahead():line 1: git config --get branch.lscolors_data_dir-fix.remote
+ sexy_bash_prompt_parse_git_ahead():line 4: remote=git@github.com:dnedrow/LS_COLORS.git
+ sexy_bash_prompt_parse_git_ahead():line 5: remote_branch=git@github.com:dnedrow/LS_COLORS.git/lscolors_data_dir-fix
+ sexy_bash_prompt_parse_git_ahead():line 16: sexy_bash_prompt_is_branch1_behind_branch2 git@github.com:dnedrow/LS_COLORS.git/lscolors_data_dir-fix lscolors_data_dir-fix
++ sexy_bash_prompt_is_branch1_behind_branch2():line 1: git log git@github.com:dnedrow/LS_COLORS.git/lscolors_data_dir-fix..lscolors_data_dir-fix -1
+ sexy_bash_prompt_is_branch1_behind_branch2():line 10: first_log=
+ sexy_bash_prompt_is_branch1_behind_branch2():line 13: [[ -n '' ]]
+ sexy_bash_prompt_parse_git_ahead():line 17: sexy_bash_prompt_branch_exists git@github.com:dnedrow/LS_COLORS.git/lscolors_data_dir-fix
+ sexy_bash_prompt_branch_exists():line 3: git branch --remote
+ sexy_bash_prompt_branch_exists():line 3: grep --quiet git@github.com:dnedrow/LS_COLORS.git/lscolors_data_dir-fix
+ sexy_bash_prompt_parse_git_ahead():line 19: echo 1
1

Okay, a variable I forgot about is that this is a PR I checked out with hub. The issue is probably somewhere in that area, but I'm still not sure where "responsibility" lies.

It's annoying how set -v doesn't always say what the response was due to not setting it to a variable =/
It looks like the git log is caught up but git branch --remote is having a bad grep (since the || isn't short circuiting)
+ sexy_bash_prompt_branch_exists():line 3: git branch --remote
+ sexy_bash_prompt_branch_exists():line 3: grep --quiet git@github.com:dnedrow/LS_COLORS.git/lscolors_data_dir-fix

I think the problem could be that we hard-code "origin" as the remote name but we don't actually know that that is the remote being tracked on the local branch

origin is the fallback parameter, the set -v output shows we're picking up the right location:
+ sexy_bash_prompt_parse_git_ahead():line 4: remote=git@github.com:dnedrow/LS_COLORS.git

What's the output from git branch --remote?

$ git branch --remote
  origin/HEAD -> origin/master
  origin/japh
  origin/master
  origin/motherofgod

Yep, that's the discrepency. Either:

git@github.com:dnedrow/LS_COLORS.git/lscolors_data_dir-fix isn't showing up in git branch when it should
or
The branch has a custom remote set when it should be set to origin/lscolors_data_dir-fix
or
Maybe we missed something in our repo (e.g. expand symbolic origin in git branch to full URL) but I think everything is acting as expected

Alright, maybe this is a bug with hub. I'll close this until I get a repro with just git


[Feature request] Minimum date range

Is your feature request related to a problem? Please describe.
Not a problem, an unaddressed use-case. Being able to define a minimum date range when selectsRange is true, so that you can force users to select only a range bigger than X days
Describe the solution you'd like
Something like a minimumDays prop where you could define the smallest range a user can select. Days lower than that range should show as disabled after selecting a starting date.
Describe alternatives you've considered
We've migrated from react-dates to react-datepicker due to the Moment dependancy on the former, and this is the only missing feature we need to find a workaround for.

Just realised that this would essentially only be sugar for the following
<ReactDates
  excludeDates={startDate && [
  	addDays(startDate, 1),
    addDays(startDate, 2),
	...
	]
  }
/>

So feel free to close if it's not a big enough use-case

Closing this since it's easily addressible with current features


New RuboCop autocorrect

The autocorrection API was changed in Rubocop v0.87.0 (pull request rubocop-hq/rubocop#7868). This PR makes rubocop-rspec compatible with those changes.
The superclass of RuboCop::Cop::RSpec::Cop is changed from ::RuboCop::Cop::Cop to ::RuboCop::Cop::Base.
This has a few consequences:

Our #message methods get called with a different argument than before. It can be customized by defining a #callback_argument method, but I think it is clearer to avoid callbacks altogether.
Our #autocorrect methods don't get called anymore. Instead, we extend Autocorrector, and the corrector is being yielded when calling #add_offense, so the code is mostly moved in there. For some cases, this means that some code can be removed, which is nice. For some cases, it means that the methods get too long, or the code complexity gets too high, and in those cases I chose to just call out to an #autocorrect method anyway, but of course passing the corrector and any usable local variables along.
Our dependency of RuboCop is bumped from '>= 0.68.1' to '>= 0.87.0'.

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[ ] Updated documentation.
[ ] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

We probably need some documentation changes too; I haven’t looked into that yet.


Audit / Access Logging

I'm finding the logging for fleet is inadequate for diagnosing / tracking down issues, so I'd like to request adding additional info to fleet's logs.
For each action taken by users, supplement with the following fields:

user id (to see who performed the action)
IP address (w/ X-Forwarded-For handling) for better access logs
endpoint / full URL
method (GET, POST, DELETE, etc)

Additionally for distributed queries in particular:

actual queries that were run
the target / count of hosts that will run the query (something like: "targets": [0, 3, 13] or maybe "target_count": 1600)

Addressed by #2155


[bug]:  Decimals cause the Price Oracle to have significant price deviations or failures.

When Assets have decimals, for example, USDT with 5 decimals, and BTC/USDT = 60,000,
then 1 unit of USDT = (1 BTC Sat) * 1,000 (msat) / (Price * decimal)

1  unit USDT = 100,000,000 * 1000 / (6000 * 100000) = 16.667 mSat.

Since the PriceOracle cannot return values below 1/1000 sat, after rounding, the result will be 17 mSat, the resulting price deviation can be quite significant.
For assets with more decimals or lower prices, it may no longer be possible to return 1 mSat.

if AssetA = 0.01 USDT , So 1 unit AssetA = 0.16667 mSat.

As a solution, since subject_asset_max_amount is already provided in the QueryRateTickRequest, could the Price Oracle return the total value instead of the unit price for the asset, thereby avoiding the issue described above?

This will be addressed by https://github.com/lightninglabs/taproot-assets/pull/1059 (and the changes following from it).

Will reopen issue and close once #1059 is merged

I think let's keep this open until https://github.com/lightninglabs/taproot-assets/pull/1117 (or the updated version of it) is merged.

Fixed now with the latest RFQ revamp which will be release alongside v0.4.2.


Ability to Access Alternating Colors Info

In excel for fill color I can select from Alternating Colors or Conditional Formatting.
Is there any way to access the Alternating Colors information using the library?

Thanks for your issue. This library can set conditional formatting rules but does not support getting them currently.


bugfix: update label compatibility with alidocker

Signed-off-by: Michael Wan<EMAIL_ADDRESS>Ⅰ. Describe what this PR did
fix  update compatibility with  alidocker
alidocker update container label is []string
pouch UpdateConfig.Label is map[string]string
Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #1228 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #1228      +/-   ##
==========================================
- Coverage   15.44%   15.43%   -0.01%
==========================================
  Files         171      171
  Lines       10576    10579       +3
==========================================
  Hits         1633     1633
- Misses       8823     8826       +3
  Partials      120      120

Impacted Files
Coverage Δ

daemon/mgr/container.go
0% <0%> (ø)
:arrow_up:

cli/update.go
0% <0%> (ø)
:arrow_up:

LGTM


Remove use of NSString.replacingOccurrences(of:with:)

Prefer to use String.replacing(_:with:) instead of the NSString operations for the strings.  This should avoid an unnecessary use of Foundation API and a dispatch to the NSString API.

@swift-ci please test

@swift-ci please smoke test

NativePathExtensions.swift:21:29: error: 'replacing(_:with:maxReplacements:)' is only available in macOS 13.0 or newer
                return repr.replacing("\\", with: "\\\\")
                            ^
/Users/ec2-user/jenkins/workspace/swift-package-manager-with-xcode-self-hosted-PR-osx/branch-main/swiftpm/Sources/Basics/NativePathExtensions.swift:21:29: note: add 'if #available' version check

Not sure if it makes more sense to add #if os(macOS) checks here instead of runtime version checks. I'd expect file path functions to be frequently invoked, so a runtime check there would be undesirable.

@MaxDesiatov I have the same concern about the frequency of this, and a call to __isOSVersionAtLeast on each iteration seems ... unnecessarily expensive.  I think that #if os(macOS) is the best option here :-(

@MaxDesiatov is there a good way to annotate the availability?  Ideally we could use the same path on macOS as well 😞

Since this is for main, we could consider increasing the the deployment target so that we don't need any checks.

@neonichu oh?  That really would be my preference.

@swift-ci smoke test

@swift-ci test windows

@swift-ci please test Windows platform

Actually, I think the CI is using macOS 12, so that would have to be updated before we can upgrade the deployment target :/

@compnerd maybe add availability check, then we can deprecate the old path when we can raise the min target

@compnerd do you want to take this forward, or close?

I think that if we can get this sorted out, it is better.  IMO, we should lean on the standard library wherever feasible.

agreed - I think that can be achieved by changing the package min deployment platform back to 12 and adding inline availability checks until we can raise the min deployment target

agreed - I think that can be achieved by changing the package min deployment platform back to 12 and adding inline availability checks until we can raise the min deployment target

-1 for this. It seems just increase the code complexity. I'd suggest we merge this after we can safely bump the minimal corresponding OS version.

that may take a while which means this will bit rot. the increased complexity is a good argument, but its a tradeoff


OSVR-Unity RenderManager

Adds RenderManager functionality to OSVR-Unity (nVidia Direct mode, timewarp, distortion).
Will require Unity 5.2+ to use RenderManager features.
Also requires osvrUnityRenderingPlugin.dll, osvrRenderManager.dll, SDL2.dll, glew32.dll to be added to Plugins folders.

This looks good. I had a couple of questions, but this should be OK to merge.

Thanks for the review. Merging.


Information about car rental stations like from teilauto?

What do you think about extending the specification with information about car rental stations? Which properties might be of interest?
Motivation
One might want to know if the station is reachable or if there are notable obstacles, like holes or threshold on the way. For me its not about rental stations with cars for people with disabilities. Its about people who might want to know, for instance, if their grandparents with rollator can reach the station resp. cars.
Random thoughts

Main entity should be Parking.
Because stations are mostly with cars not suitable for wheelchair users, WheelchairParking could be ignored here IMHO.
When starts the station? So here pathways around the station of interest? What radius makes sense?
The following questions should be answered:

Has the station a door i have to use? (e.g. door width, door height, automatic or not,..)
Has the area obstacles, like holes in the ground, which might hinder you?
How accessible are the ways to the station, like from the next main street or TRAM station?

What do you think?

I think this is a complex structure that OSM is good at already - we could simply use data from there.


use OffscreenCanvas for workers?

Why isn't the monkey-patch available in web Workers?
The monkey-patch makes most of its work on an HTMLCanvasElement 2d context, and relies in various places in the ability to have DOM Elements (for instance HTMLImageElements are used to load images from Blobs). Since Web-Workers don't have access to the DOM nor any Elements, the scope of what this monkey-patch could do currently seems too limited to be worth the pain.

Thanks for the interest.
As of today, only Chromium based browsers support the OffscreenCanvas API.
These browsers already have (almost) full support of the createImageBitmap options, the only feature we could add there is the loading of SVG images from a Blob, except that to be able to load such an image, we need an HTMLImageElement, which as said in the quoted text is not available in Workers.
Firefox does support the WebGLRenderingContext behind a flag, but they don't support the OffscreenCanvasRenderingContext2D at all, and they do support the basic syntax of createImageBitmap.
So yes, we could add the resize options in Workers to the users having that flag on in Firefox, by rewriting the resizing part to use the webGL context, but I don't think it's worth the trouble at all.
Not to mention that at least a basic implementation would be necessary anyway for all sources but OffscreenCanvases.
So, while it would have been really great to be able to polyfill this too, I think I'll close this issue for now.


Implement #598: interop-reactiveStreams

Allow conversion of Stream to Publisher and Sink to Subscriber.
Follows the spec at https://github.com/reactive-streams/reactive-streams-jvm and the TCK at https://github.com/reactive-streams/reactive-streams-jvm/tree/master/tck.
The TCK is implemented in TestNG. Scalatest is used  instead of specs in the subproject, because it integrates well with TestNG. An alternative would be using the sbt-testng-plugin.

This is awesome, @runtologist. Thank you for working on this. I'll review this today.

A few comments on the latest version:

According to the reactive streams protocol, no calls are allowed fail with Exceptions, (except for NPEs, if nulls are supplied). Hence, most Tasks in previous versions actually should have been UIOs. I've changed that accordingly.
StreamPublisher now uses Stream.zipWith. This works, because under the hood, zipWith is also built using toQueue. However, the code in StreamPublisher still looks clean.
Signaling demand in SinkPublisher now is driven by consumption at the cost of a Queue.size call per message consumed. As consumption is not serialized with production, we need some sort of synchronization here. In the future, one could tune the request strategy further by allowing to signal demand a bit before the queue is empty, keeping tome "safety stock".

Right so it must be lazy. Let’s stick with fromQueue/toQueue then :-)
On 5 Mar 2019, 7:09 +0100, Simon Schenk<EMAIL_ADDRESS>wrote:

@runtologist commented on this pull request.
In interop-reactiveStreams/shared/src/main/scala/scalaz/zio/interop/reactiveStreams/StreamPublisher.scala:

stream: Stream[R, E, A],

runtime: Runtime[R]
+) extends Publisher[A] {

override def subscribe(subscriber: Subscriber[_ >: A]): Unit =
if (subscriber == null) {

 throw new NullPointerException("Subscriber must not be null.")

} else {

 runtime.unsafeRunAsync_(

   for {

     demand  <- Queue.unbounded[Long]

     _       <- UIO(subscriber.onSubscribe(createSubscription(subscriber, demand)))

     control = Stream.fromQueue(demand).flatMap(n => Stream.unfold(n)(n => if (n > 0) Some(((), n - 1)) else None))

     fiber <- stream

               .zipWith(control) {

                 case (Some(a), Some(_)) =>

n could be Long.MaxValue. I don't have enough RAM for that approach. ;-)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Hopefully the final larger iteration: I've implemented a custom Sink, that combines unfolding demand from the demand queue and signaling the Subscriber. This way we don't need an additional Queue and all side effects can be suspended.

Twitter: @runtologist. Don't be surprised, I'm currently completely passive on Twitter. :)

Thanks for the great review, it was a pleasure. :)


HDDS-11518. Recon OmDB Insights show isKey=true for directories

What changes were proposed in this pull request?
The value of isKey for the keyEntityInfo is set to true by default. However, this should not be the case when using this object for deletedDirectories insights. Instead, we need to set the value to match what is present in the omKeyInfo in the RocksDB table.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11518
How was this patch tested?
Tested it out manually by creating a deleted directory record and validating in the json response.

replicationInfo indicating one replica for directory doesn't seem right either.

@adoroszlai I was confused as well since directories are just logical entities and do not take up any significant space
I am currently running a non-HA Docker cluster, so that is the output I get. In the code, we fetch the replication info from omKeyInfo, which is extracted from the record present in the deletedDirectoryTable. Therefore, we don't modify anything in the Recon code; it simply picks up the available information and includes it in the JSON response.
https://github.com/apache/ozone/blob/10d3b213e8f0c9156b885f989e7d69c9287c6be4/hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/api/OMDBInsightEndpoint.java#L243
keyEntityInfo.setReplicationConfig(omKeyInfo.getReplicationConfig());


黄油汉化组微信公众号报错了

关于黄油汉化组微信公众号报错了
>>>>>>点/此/进/入/最/新/观/看/入/口<<<<<<
的繁华大街便到工地是座新建的摩天大楼很高很大搭满竹架用蓝色的大网罩着山娃总爱仰起头在满墙蜘蛛般的工人中找寻父足

你可以将黄油汉化组微信公众号报错了风来自自然的艺术，云出自野生的美术学院，将生存置身于首页，将人生置身于封皮，每天都在实际中与功夫寰球践行一齐向前。

黄油定位组微信公众数量错误
Three hours' drive finally reached our destination, at this time is close to the noon, we decided to find a place in the attractions in the afternoon after lunch.
Rich farm-style very have appetite to eat, even and strange friend sitting together feels like a long lost friend, a basin of shredded radish I ate three bowls of rice in retrospect the delicious food is still hovering in my mind.

请参考下方链接：
https://github.com/downdesa/jeqi/issues/3
https://github.com/tooere/mwdpfj/blob/main/README.md
https://github.com/fowerv/ynjl/issues/1
https://github.com/powercvt/zss-vcesr/issues/new
https://github.com/fowerv/zdwim/issues/3
https://github.com/makedete/rda-rdagu/issues/2
https://github.com/gtghyu/dndqtz/blob/main/README.md
https://github.com/powercvt/xai-xaixy/blob/main/README.md
https://github.com/powercvt/cmcsqy/issues/4
https://github.com/goodiders/dauebyz/blob/main/README.md
https://github.com/nyueed/4808125/issues/3
https://github.com/gtghyu/dndqtz/issues/1
https://github.com/dedesew/xmsaai/blob/main/README.md
https://github.com/aoyouzg/xnjbv/issues/8
https://github.com/tuderw/ysptep/issues/2
https://github.com/powercvt/lbahep/blob/main/README.md
https://github.com/powercvt/mst-mstwm/issues/2
https://github.com/goodiders/xqci/issues/3
https://github.com/aoyouzg/vfpb
https://github.com/aoyouzg/gijyp/issues/6


Add formatting and Warnings as Errors

WHAT
This reapplies the formatting and WarningsAsErrors from #24, and modifies the pipeline to fail on formatting failure.
It doesn't include the dependabot addition.
WHY
<3 Fantomas

This depends on #32, but I can't see how to do that in GitHub?

you can't do it because the source branch for #32 is on your fork. you could create this PR against your own fork and then you could use the correct branch base, but that's just annoying. once #32 is merged this should clear up

ok, now if you rebase and stuff this should look reasonble

ok, now if you rebase and stuff this should look reasonble

Done, and squashed further formatting


Consider switching to clipboard.js

It's IE9+ so we should be OK.
https://github.com/zenorocha/clipboard.js

Lack of Safari support kinda sucks.

Agreed @mdo.

@mdo @cvrebert @hnrch02: do you know of any alternative solutions that doesn't use Flash?

BTW @mdo from its docs

Although copy/cut operations with execCommand aren't supported on Safari yet (including mobile), it gracefully degrades because Selection is supported.

It falls back to a "Press CMD+C to copy" mode in Safari though and Flash isn't supported in Safari anyway (unless the user has installed it globally).

:100: on switching.

+1

Based on the safari workaround mentioned above, I'd also support removing Flash. :+1:

@mdo have you seen in action how it gracefully degrades on Safari? I think it's a pretty good trade-off when comparing to ZeroClipboard's 30kb minified JS + Flash

Can you check the PR I made for this and suggest any improvements for the
JS part?
On Oct 1, 2015 22:50, "Zeno Rocha"<EMAIL_ADDRESS>wrote:

@mdo https://github.com/mdo have you seen in action how it gracefully
degrades on Safari? I think it's a pretty good trade-off when comparing to
ZeroClipboard's 30kb minified JS + Flash
—
Reply to this email directly or view it on GitHub
https://github.com/twbs/bootstrap/issues/17736#issuecomment-144827170.

There's a lot of work to be done on that PR @XhmikosR. Can't really help at this moment because of all the attention that this clipboard.js is having. But I'll make sure to revisit this in a near future.

I've just updated the other PR and I'm pretty satisfied with the result.
Here's how it works on Chrome, Opera, Firefox, and Internet Explorer 9+:

And here's how it works on Safari:

By accepting #17751 you'll be dropping dependency from Flash and saving 30kb on every request.

Thanks a lot! I'll take care of it asap.
On Oct 13, 2015 23:21, "Zeno Rocha"<EMAIL_ADDRESS>wrote:

I've just updated the other PR and I'm pretty satisfied with the result.
Here's how it works on Chrome, Opera, Firefox, and Internet Explorer 9+:
[image: supported]
https://cloud.githubusercontent.com/assets/398893/10467002/41da0480-71ac-11e5-8c7e-8287821d9a84.gif
And here's how it works on Safari:
[image: not supported]
https://cloud.githubusercontent.com/assets/398893/10467009/4d0a7218-71ac-11e5-8fbd-e8cadae87802.gif
By accepting #17751 https://github.com/twbs/bootstrap/pull/17751 you'll
be dropping dependency from Flash and saving 30kb on every request.
—
Reply to this email directly or view it on GitHub
https://github.com/twbs/bootstrap/issues/17736#issuecomment-147840051.


Q: Are OpenTelemetry metrics supported in the newest version?

Hi,
I can see traces coming into New Relic, but the metrics are left empty. Are metrics supported or under development?
Regards,
Mark

Hi @mark-veenstra-ait, I'm glad to hear that traces are working. This OSS module supports sending traces only; the metrics module is not part of our OSS solution.
Regards,
Manik

Hi @manikmagar is it part of any other solution?

Hi. I placed a request to get in contact on that website. Awaiting your response.


Support for hexadecimal literals

Use case: I would like to define an intEnum with values expressed using hex notation. I don't care how this is serialized over the wire -- I'm just interested in the representation in docs and code.
Example
I want to model RFC 1997. This defines some well-known constants which are typically written in hex.
intEnum BgpWellKnownCommunity {
    NO_EXPORT = 0xFFFFFF01
    NO_ADVERTISE = 0xFFFFFF02
    NO_EXPORT_SUBCONFED = 0xFFFFFF03
}

Because hex literals aren't supported, I have to convert to an integer<PHONE_NUMBER> instead of 0xFFFFFF01), which is less readable.

Hi there @mcmasn-amzn, thanks for bringing this idea to us!
Since this change can impact model loading capabilities in a incompatible way and demand for this change is low we've moved this request into our list of possible features in case of a new IDL version release and will be closing this issue for now.


Footer component render issue on Android

If you have state changes inside a true sheet in android, and u dismiss  It, present it, make changes again, dismiss it, present it, the footer sometimes ends up at where the grabber renders.
The workaround? Make the footer part of the True Sheet children.

Footer in android needs revisiting. The currently implementation is a bit hacky and I'm not really happy about it.
I'm going to try and use different approach when I get a chance.

If you're not using the Footer in a scroll view, yes, add the footer as children instead.

I played around on different solution but there's no really elegant ways to handle footer natively on android :/ Will keep it as is
for now.
Regarding your issue, I assume it happens when you're making changes with hot reload? If that's the case, we'll have to live with it since there's really not much I can do.. But feel free to open up a PR if you find something that fixes this issue.
Thank you!

https://github.com/BlueWallet/BlueWallet/blob/modal/components/BottomModal.tsx
This is my workaround

Good stuff wrapping it -- I do the same on mine. I don't use FooterComponent too :D


Database() initialization should treat DB path differently

Currently, db path is relative to the Database() caller. It should either be relative, or relative to the Database.__class__.__file__ (not sure about my syntax there)
This confused me when I instantiated a database using the sql.yaml file, and the db instance kept creating and referencing an empty database. I didn't understand why it was empty and spent way too much time debugging a working session.

Thanks for reporting. Where in the code are you finding this to occur?

I'd actually totally forgotten about this until just now. I encountered this when working on the (unfinished) api, and since worked around it. I'm closing the ticket unless it comes up again (at which point, I'll just fix and submit a PR)


Suggest builtin snippets

Is your feature request related to a problem? Please describe
If conditions and for loops in FEEL are very different from the widely used languages. It is hard for new developers to understand the syntax
Describe the solution you'd like
Suggest code snippts with placeholders that create the correct syntax for the user
Describe alternatives you've considered

Additional context

related to https://github.com/bpmn-io/feel-editor/issues/11

Closed via #11

closed with https://github.com/bpmn-io/feel-editor/pull/21


redox: add siginfo_t and rename sa_handler to sa_sigaction

This improves support for crates like signal_hook_registry

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 20b7e44baa26da0b7c5cc06a916e142ac89382b1 has been approved by Amanieu

:hourglass: Testing commit 20b7e44baa26da0b7c5cc06a916e142ac89382b1 with merge 179242ec7be96c1b2a2492f86e73c137e516024c...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing 179242ec7be96c1b2a2492f86e73c137e516024c to master...


Add projections schema to start doc

Description
This is a take on another PR related to "techniques", which turned into "projections". https://github.com/bluesky/event-model/pull/130. I considered trying to commit to that PR, but this seemed cleaner, even though 130 has a lot of critical discussion in it. This really isn't very different from that.
Motivation and Context
I won't got into too much detail here, but the basic thought was to address the need for mapping from a beamline's ontology to one ore more ontologies. I had in mind a case where a beamline is doing a scattering experiment and wants to provide the map to downstream users/application about how to map fields in NXsas fields. with that in mind, I had a few things in mind in the design:

A Projection is a mapping to a vocabulary or ontologies.
The Projections object is collection of potential projections. No inherent limit to how many a beamline decides to project to.
Each Projection is an object with a unique name and a value with fields that map to event_model objects.

I took no position on the names of Projections. For this all to work in, say, the NeXuS case, there will still need to be some sort of agreed format for specifying the fields to do this mapping. But I felt that that "unique string" was all we need for this  (uniqueness being enforced by being property names in the Projection object.
How Has This Been Tested?
Tested by updated test_em.py, including at least one failing case (which exposed a nice bug in my initial schema attempt).

@tacaswell and @danielballan, I debated adding to #130 vs. a whole new PR, especially since what we came up with was so similar. But if it was better in Tom's PR, then I suppose it's just one click away.

The test_em.py file is very long. I think projections tests should get their very own test file test_projections.py.

I changed compose_run to actually allow a projection to be written to the run_start document.
@jklynch While adding a test, moved stuff out of test_em.py and into new test_projections.py

I added calculation fields.
There is a corresponding PR for a projector in databroker that uses these projections: https://github.com/bluesky/databroker/pull/585

Andi points out a concern that the the start document is already getting big at some beamlines, and that adding this to it might get in the way of searching.

@dylanmcreynolds Please add mention of this to the documentation, probably in this section, https://blueskyproject.io/event-model/data-model.html#run-start-document and note clearly that this is experimental.
Note: On today's pilot call, we agree to merge this (marked "experimental") by a week from today.

@dylanmcreynolds Please add mention of this to the documentation, probably in this section, https://blueskyproject.io/event-model/data-model.html#run-start-document and note clearly that this is experimental.
Note: On today's pilot call, we agree to merge this (marked "experimental") by a week from today.

Committed a brief note there.

We agreed to merge this in order to lower the barrier for people to play with it, on the understanding that we will very likely make backward-incompatible changes as we gain more experience with it.
Just waiting flake8 fixes, then good to go! :rocket:

I bumped the version of jsonschema from 2 to 3 in the travis run that pegs jsonschema version and it runs. I don't know if this is appropriate or if it's better to remove that test run. @tacaswell , @danielballan ?

[Already covered this on Slack but re-summarizing for the public record:]
The build that pins jsonschema==2 is meant to protect against the problem described in https://github.com/bluesky/event-model/issues/145, and it should stay until we need some feature in a newer version of jsonschema. I force-pushed to remove the commit that altered the CI configuration. It turns out that jsconschema==2 was finding a minor mistake in the schema that was for whatever reason ignored by jsonschema 3.x. Fixed in 2ca0aec.


Networks without support for ENS spew errors

Describe the bug
If the chosen network does not support ENS (e.g. local testnet, non-Ethereum), the ENS lookup will spew errors into the console:
Error: network does not support ENS (operation="ENS", network="unknown", code=UNSUPPORTED_OPERATION, version=providers/5.5.0)
    makeError index.ts:225
    throwError index.ts:237
    _getResolver base-provider.ts:1653
    fulfilled vendors~main.chunk.js:22178
    promise callback*step vendors~main.chunk.js:22193
    node_modules vendors~main.chunk.js:22196
    node_modules vendors~main.chunk.js:22175
    _getResolver vendors~main.chunk.js:24056
    lookupAddress base-provider.ts:1702
    fulfilled vendors~main.chunk.js:22178
    promise callback*step vendors~main.chunk.js:22193
    node_modules vendors~main.chunk.js:22196
    node_modules vendors~main.chunk.js:22175
    lookupAddress vendors~main.chunk.js:24114
    resolveENS useENS.ts:14
    useENS useENS.ts:23
    React 5
    unstable_runWithPriority scheduler.development.js:468
    React 3
    workLoop scheduler.development.js:417
    flushWork scheduler.development.js:390
    performWorkUntilDeadline scheduler.development.js:157
    js scheduler.development.js:180
    js scheduler.development.js:645

To Reproduce
Steps to reproduce the behavior:

Select chain other than Ethereum mainne
Visit the staking page

Expected behavior
Nothing. Don't make the call if ENS isn't supported.
Workarounds (if any)
Check if the network supports ENS. Only run provider.lookupAddress if it does.

Describe the bug If the chosen network does not support ENS (e.g. local testnet, non-Ethereum), the ENS lookup will spew errors into the console:
Error: network does not support ENS (operation="ENS", network="unknown", code=UNSUPPORTED_OPERATION, version=providers/5.5.0)
    makeError index.ts:225
    throwError index.ts:237
    _getResolver base-provider.ts:1653
    fulfilled vendors~main.chunk.js:22178
    promise callback*step vendors~main.chunk.js:22193
    node_modules vendors~main.chunk.js:22196
    node_modules vendors~main.chunk.js:22175
    _getResolver vendors~main.chunk.js:24056
    lookupAddress base-provider.ts:1702
    fulfilled vendors~main.chunk.js:22178
    promise callback*step vendors~main.chunk.js:22193
    node_modules vendors~main.chunk.js:22196
    node_modules vendors~main.chunk.js:22175
    lookupAddress vendors~main.chunk.js:24114
    resolveENS useENS.ts:14
    useENS useENS.ts:23
    React 5
    unstable_runWithPriority scheduler.development.js:468
    React 3
    workLoop scheduler.development.js:417
    flushWork scheduler.development.js:390
    performWorkUntilDeadline scheduler.development.js:157
    js scheduler.development.js:180
    js scheduler.development.js:645

To Reproduce Steps to reproduce the behavior:

Select chain other than Ethereum mainne
Visit the staking page

Expected behavior Nothing. Don't make the call if ENS isn't supported.
Workarounds (if any) Check if the network supports ENS. Only run provider.lookupAddress if it does.

this is just a console.log of the caught error... You could just submit a pr removing the console.log


[Bug]: Source soft validation "Cached should be updated" is not calculating correctly after fix

Steps to reproduce the bug
1. When I fix the cached issue, then the soft validation persists

Screenshot
See New source task.
Expected behavior
Soft validation is gone
Additional Screenshots
No response
Environment
Development (native)
Sandbox Used
No response
Version
No response
Browser Used
FF

Need an example. This is not always the case.

Does the validation method compare the same two methods, i.e. it includes the method that produces the cached?

I am not sure what is going on. Need an example to experiment. I may find one in my project sources.


Support fast seek (Video is not seeking while sliding the control slider without touching up.)

Feature Request
Video is not seeking while sliding the control slider bar without touching up.
Why it is needed
I'd like to preview when sliding the bar， at least in the short video.
Possible implementation
Is it possible to support it on android and iOS?  Maybe Animated Value can do it? Just like progress in lottie-react-native
Code sample
Not at this moment.

This is best implemented in a custom scrubber.

But how？The seek method is not fast, I can't do it.

Have you looked at react-native-video-controls?

Use scrubbing


missing logs when running in multiple docker

configuring stdout appender and running 2 dockers, one for main rails other for sidekiq, only rails logs are being logged, sidekiq logs are lost.
It works as expected when running both proccesses in local dev environment

We don't use Sidekiq anymore, we only run Rocket Job, so don't know how to help you there. Sounds it works fine with Rails, you should look into the way Sidekiq is booting your Rails environment inside the docker container.

Seems not related to sidekiq itself, as it works with lograge to plain Rail slogger

I'm having the same issue. In my case, logs from Sidekiq are written to the file, but are not sent to STDOUT.

Ok, that makes sense. With Rails, the Rails Semantic Logger gem patches the Server code to add stdout logging when it creates the stdout logger: https://github.com/rocketjob/rails_semantic_logger/blob/master/lib/rails_semantic_logger/extensions/rails/server.rb
Sounds like a similar patch would be required for Sidekiq. Or try adding a stdout logger in an initializer when Sidekiq is started. Just be sure it does not add the extra stdout appender when running inside of a Rails server.
Someone mentioned that they were going to look into creating a gem to patch Sidekiq the same way Rails Semantic Logger patches Rails, something like sidekiq_semantic_logger.

Thanks, you're right. Adding this to config/environments/development.rb was enough to make it work.
if Sidekiq.server?
  Sidekiq::Logging.instance_eval do
    def logger
      SemanticLogger.add_appender(io: $stdout, formatter: :color)
    end
  end
end

Adding this setting to config/environments/development.rb should also work.
# Add a stdout logger when running Sidekiq.
config.semantic_logger.add_appender(io: $stdout, formatter: :color) if Sidekiq.server?


Feature request: add option to skip nonmatching properties when snapshot does not match

I often test object from the database-like:
{
    "campaign_banner_id": null,
    "campaign_email_id": null,
    "campaign_id": 1,
    "is_last_message": null,
    "notification_id": null,
    "notification_processed_id": null,
    "type": "join",
    "user_id": 1,
    "timestamp": "2018-04-01T14:45:54.555Z"
  }

they are usually bigger and not just flat and small like this, but this will suffice as example.
Now when I have a snapshot assertion it will fail because the timestamp prop is different each time the test is run. This is in some cases solvable by mocking out time, but often I am doing an integration test where the time would have to be mocked on my system level. I am not aware of any reliable way to mock a time on system level-changing it won't help because test execution takes some time and this time is always different.
So my only option currently is to use something like
import omitDeep from 'omit-deep-lodash'
expect(omitDeep(myObject, ['timestamp'])).toMatchSnapshot()

this works, but it makes it a little tedious to write these assertions. Couldn't we store this information into the snapshots themselves? Like a list of paths in the snapshots that should be skipped when comparing?
Ideally jest should be able to write this upon a snapshot failuire where currently I can press u to update so I would press s or p to skip failed properties.
It should also work for properties which are deeper than on the root of the compared object.

IMO this functionality is covered by #5847


PayPal payout API

As suggested by @dodgepong
We're currently using Paypal Adaptive Payments. It was, at the time of implementation, what worked best for us:

One application
Multiple senders (hosts)
Multiple recipients

It has however some limitations:

Fees are high: around 2.5% + $0.30
Host needs to re-generate a pre-approval every $2,000
Cannot pay more than $2,000 from the host dashboard

PayPal introduced a Payout API that provides the following benefits over adaptive payments:

Payout limit is $20,000 USD
For payouts made through the API, it’s just $0.25 USD per U.S. transaction.
For international payments, the fee is 2% of the payment amount to each recipient (up to a maximum of $20)

It seems that just migrating to this API without batching would already greatly improve the amount of fees paid to PayPal. But with this API it's also possible to batch multiple payouts in one request, then you only pay $0.25 fees for the total.
Batching is not part of this issue as we should before run queries to see how much money would really be saved. This issue is about investigating the possibility of migrating from adaptive to payout only.
Specs
Still need some investigation before writing proper specs

This is great.

This would be amazing!!

From looking at the data, I found out that the actual fees applied by PayPal for paid expenses are currently closer to 3.5% + $0.30. The following table summarizes the fees on all times and on the last 6 months for expenses payed via PayPal.
Estimating fees is not easy because there's a big difference between domestic (US) payouts and international (see pricing above). The presented table below shows a range between international-only (max fees) and US-only (min fees). The actual fees should be somewhere between the two.
The TLDR ; of this is: Using the Payout API would save between $1000 and $11800 per month to payees.
That in my view would justify to prioritize this project, especially for OSC which is the most impacted by this.

Period
Count
Total paid
Current Fees
Min Estimated Payout API fees
Max Estimated Payout API fees

All time
4511
$977 798,00
$34 040,00
$902,20
$19 555,96

Last 6 months
1331
$298 289,00
$12 077,00
$266,20
$5 965,78

Using the Payout API would save between $1000 and $11800 per month to payees. That in my view would justify the prioritization of this project, especially for OSC which is the most impacted by this.

I completely agree. This would be extremely welcome. Do we have any developers around us who could take this on, or does it have to be a core team member? OSC could contribute toward the budget for sure.

@alanna My personal opinion is that because this project is complex and we want the implementation to be the cleanest possible, we should handle it internally. But @znarf has a better view on this than I do.

The core team should do the specifications. After that, I think any good developer can do it.
What I like about this project is that it's not necessarily a rewrite of what we have but something that can run in the background.
The expenses could be "Marked for Payout" by Host Admins and after that a background job would do the magic behind the scenes. If there is any problem with the new system, we could always fallback to the previous implementation or manual payments.

@kewitz since the base is now implemented, maybe we can close this one and follow up in https://github.com/opencollective/opencollective/issues/3131?

Agreed, the base API is already implemented and merged.


[DO NOT MERGE] Remove travis build

Let's wait a bit to have full confidence in github actions, then let's remove travis build.

This looks good.
Should the same fate come of appveyor as well since GH actions run Windows servers?
I would recommend an indicator in the title that indicates not to merge, perhaps either [WIP] or [DO NOT MERGE].

I/we have less access to windows (which is server 2019 for github actions) and prefer having a fallback in case of failure to see how it behaves on other windows flavors.

@kevin-bates @Zsailer any objection to process with this to remove travis and appveyor, see https://github.com/kevin-bates/jupyter_server/pull/1 ?

As discussed during the server meeting, this PR remove now travis and appveyor CI build.

Let's wait until Thursday's meeting to merge. I'm stoked about this! 😎


Questions for robust decision tree.

I really appreciate your implementation.
I found a some attack method for various decision trees.
And now I'm trying to find some robust decision tree models against adversarial attack.
I found some defense method against poisoning attack, but I'm not sure they're compatible with decision trees.
Is there any robust decision tree models against adversarial attack?

Hi @hin1115 We have an open discussion on this topic:https://github.com/Trusted-AI/adversarial-robustness-toolbox/discussions/2060


While advanced paste is turned on, pasting into any application also pastes into slack while it's closed to system tray

Microsoft PowerToys version
0.81.0
Installation method
PowerToys auto-update
Running as admin
None
Area(s) with issue?
Advanced Paste
Steps to reproduce
This started recently so I think it was a recent update that caused it.
video of the issue with me explaining what i'm doing.
Video_2024_05_24-2.webm
advanced paste settings

Pre-requisite: Have slack installed.

Open slack and have a chat open. Input does not need to be focused in my testing.
Minimize slack to the system tray - I turn the setting on and click the windows chrome close button
Paste text from your clipboard into any other application - i simply pasted into the URL bar of the chrome browser
Open slack

✔ Expected Behavior
Nothing is pasted into slack input
❌ Actual Behavior
The clipboard content you pasted is also pasted into a slack input
Other Software
Slack 4.38.127 64-bit

Advanced Paste pasting into chat apps is very problematic and even it being turned on by default is not good.
that amount of time it accidently put stuff in Slack chat which is not relevant (switching between work and back to the chat) could also expose private info.

/dup #32971


Changes to Block 23 for VS WriteTheDocs

See #5664 for reference.
Changed instances of "click" to "select" and other such instances for Block 23 of VisualStudio Docs.

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

Hello,
Still working on this Draft Pull Request. Will click ready for review once it's done!
In the meantime I am unable to add the label "Write the Docs 2020" to this PR. Could you add it or help me out on how to add it please?

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

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

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

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

@ghogen could you please do a quick review of this?


Make RouterName and ServiceName uniquely identifiable in k8s Ingress provider

What does this PR do?
Since namespaces and service names are allowed to contain - in them, current RouterName and ServiceName do not uniquely identify the underlying resource. This PR tries to address that by using . instead of - as a separator, resulting in a unique mapping.
Motivation
Currently, there is no clean way to identify the actual Ingress/Service an access log line belongs to.
More

[ ] Added/updated tests
[ ] Added/updated documentation

Additional Notes

@ldez Friendly ping. Do you think it's possible to have this merged?

Hello @SeMeKh  ,
Thanks for your contribution!
This PR is labeled needs-design-review,
as you can see in our contribution guide, this means that we have to take a closer look at the scope of impact for that PR to see, how it would interact with the other parts of Traefik.
We will come back to you soon when we did the first design review iteration. We understand that this PR has been in review for a while, but it has not been forgotten. If you would like to update this PR to resolve merge conflicts and to fix CI failures, that would assist in moving this PR along.
Thanks again!

Hello @SeMeKh,
Thank you very much for your contribution.
We took the time to review your pull request.
There are two main issues with the change you are proposing that make it breaking for existing configurations:

it would be breaking for people who are today relying on the current format to parse the access logs
it would be breaking for configurations that use cross provider references (services)

Unfortunately, for those reasons, I'll decline your PR.
As for now, the next step would be to discuss of that enhancement in a dedicated proposal issue.


local authentication not working!

Error: Unknown authentication strategy "local-login" this error comes on login and when I replace "local-login" with "local" the passport.authenticate funtion always returns false and I am unable to log in

found the bug inside my user model still do not understand why this was giving the above error


dsPIC33 support

Will it support this series in the future on MPLAB SNAP programmer?
The original MPLAP utility is really bad, and JAVA based.

Hi @mrx23dot
pymcuprog is a utility primarily for use with Microchip's CMSIS-DAP-based debuggers - this means AVR devices with UPDI.
In addition 8- and 16-bit Curiosity Nano boards are supported (since they use the same API).
Snap only supports AVR via this API, so generic dsPIC33 is not possible for pymcuprog.


Theming not working

Hi,
I am using react-dates v13.0.2 with react v15.6.1. I am trying to apply a custom theme to the DateRangePicker component. I am using the same example as shown on the project readme -
import ThemedStyleSheet from 'react-with-styles/lib/ThemedStyleSheet';
import DefaultTheme from 'react-dates/lib/theme/DefaultTheme';

ThemedStyleSheet.registerTheme({
  ...DefaultTheme,
  color: {
    ...DefaultTheme.color,
    highlighted: {
      backgroundColor: '#82E0AA',
      backgroundColor_active: '#58D68D',
      backgroundColor_hover: '#58D68D',
      color: '#186A3B',
      color_active: '#186A3B',
      color_hover: '#186A3B',
    },
  },
});

But I am getting this error -

Hi @ArunMichaelDsouza, this is happening because you are not also registering an interface. This issue is a dupe of https://github.com/airbnb/react-dates/issues/758 and you can see some more conversation there.
I will be following up with an update to the documentation to clarify things a bit.


[Feature Request] Support for deployments using a private API Gateway

Is your feature request related to a problem? Please describe.
We are deploying this solution in a Gov Cloud account and we are required to use a private API gateway.
Describe the solution you'd like
It would be nice to pass in an argument when running the environment deployment script so that the solution is configured to use a private API gateway.
Describe alternatives you've considered
This change will require changing the way the code makes API calls.

Thank you for creating this feature request. I'll create a ticket in our team's backlog.


Issue with "Gmail Single User (Beta)" in @site/docs/reference/integrations/gmail-single-user.md

Gmail Single User (Beta) documentation missing steps required for building own Google app

Page: Gmail Single User (Beta)
Source: https://github.com/demisto/content/blob/master//Packs/GmailSingleUser/Integrations/GmailSingleUser/README.md

This page is missing required information to help a user build their own Google app, rather than use the Demisto app (which Google won't allow to auth to my personal account.  When creating the iOS OAuth Client ID, the user is required to enter the Bundle ID, but no guidance is given as to what this Bundle ID should be, or where to find it.
Screenshots

Environment
N/A
Suggested fix
More detailed documentation required.

Thanks for reporting this. We will take a look.


infinite loop while preparing splits

Hi I have a 3 known class dataset and 2 novel classes. I am trying to prepare the splits according to prepare_coco_few_shot.py but for shots of 5 or more, for some classes the script gets stuck in an infinite loop. It works fine for the coco dataset. Any suggestion?

With the COCO shots, we're assuming we can find a combination of images for each class such that the number of annotations sum up to exactly the number of shots we want. For your case, you might not have enough images for this to always happen. What you can do is remove this line and change this and the following if statement to >= instead of ==. This will exit the while loop once you have enough shots. You also have to modify the COCO dataloader here to only select k shots from the list of annotations.


fix milliseconds timeout problem

"If libcurl is built to use the standard system name resolver, that portion of the transfer will still use full-second resolution for timeouts with a minimum timeout allowed of one second."
The problem is that on (Li|U)nix, when libcurl uses the standard name resolver, a SIGALRM is raised during name resolution which libcurl thinks is the timeout alarm.
The solution is to disable signals using CURLOPT_NOSIGNAL.

please read my pull request

Give us some time please, this is not something we can validate via static analysis of the code, we will have to do some research as well. Thank you very much for your PR, will be reviewed shortly.

if you set timeout < 1s,  curl return timeout error directly。

Thanks for your contribution. This is a duplicate of #1718, which was created after this one, but it seems to be more precise, so I am going to merge it soon. Thanks for your efforts though and sorry for the long wait.


FileTypeIcon enhancements

Q
A

Bug fix?
[ ]

New feature?
[x]

New sample?
[ ]

Related issues?
#270

What's in this Pull Request?
Added some events to the FileTypeIcon control.
The new events are the following:

onClick
onDoubleClick
onMouseEnter
onMouseLeave
onMouseOver
onMouseUp

Hi @michaelmaillot, thanks for the reviews. I've made the changes you asked for 👍

Merged manually, thank you!


Allow pressing | to surround closure arguments in VSCode

This makes pressing | while some text is selected surround that text with pipes. This is useful when writing closures.
In this demo, I press | to easily surround some text (predicate) with pipe characters to create a closure. Before, this would have replaced predicate with just |.

(I am getting failures when I do cargo test even on master locally (due to #8585 I think), but GH Actions is fine with this)

Hm, I guess I am OK with it, but this is papering over a gaping hole in our UX. I think we should:

forcefully trigger completion when the cursor is in the position of an argument of a closure typer
suggest |param1, param2| $0 as a completion variant

Alternatively, we can show two completion variants for filter:
filter(...)
filter(|x| ...)

IMO completing |x| $0 when you type | would be enough? Making | surround wouldn't actually help with that.

bors r+

changelog feat (first contribution) allow pressing | to surround closure arguments in VS Code


fix(network): correct PoolDistr and update ProtocolParam

A field of the Pool struct (corresponding to the node's PoolDistr) was a naively encoded rational number Fraction; this one is indeed needed in the genesis config struct, which I renamed from Genesis to the more explicit GenesisConfig.
In the case of ProtocolParam, the ProtocolVersion is now a tuple (major, minor).
Both corrections have an impact on the examples/n2c-miniprotocols folder; two broken examples there now run smoothly. In that folder, I moved the initial Point of the block-fetching performed by do_chainsync to a more recent moment in order to be able to witness the reaching of the chain tip.
This solves #496.

I believe so, because the encoding of the fraction at GenesisConfig is
not the same (!). So it seems two different types are needed.
El mié, 11 de dic de 2024, 22:02, Santiago Carmuega <
@.***> escribió:

@.**** commented on this pull request.
In pallas-network/src/miniprotocols/localstate/queries_v16/mod.rs
https://github.com/txpipe/pallas/pull/551#discussion_r1881218172:

+/// Type used at [GenesisConfig], which is a fraction that is CBOR-encoded
+/// as an untagged array.
#[derive(Debug, Encode, Decode, PartialEq, Clone)]
pub struct Fraction {
#[n(0)]
pub num: u64,

 #[n(1)]

pub dem: u64,

pub den: u64,
}

Do we need this struct now that we're using RationalNumber instead?
—
Reply to this email directly, view it on GitHub
https://github.com/txpipe/pallas/pull/551#pullrequestreview-2497338973,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE54AUWQR3NR566W2VPZUIL2FDOCVAVCNFSM6AAAAABSVPE4X2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDIOJXGMZTQOJXGM
.
You are receiving this because you authored the thread.Message ID:
@.***>