jwt.exceptions.DecodeError: Not enough segments

Traceback (most recent call last):
File "/home/container/.local/lib/python3.8/site-packages/jwt/api_jws.py", line 190, in _load
signing_input, crypto_segment = jwt.rsplit(b".", 1)
ValueError: not enough values to unpack (expected 2, got 1)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/container/.local/lib/python3.8/site-packages/flask/app.py", line 2073, in wsgi_app
response = self.full_dispatch_request()
File "/home/container/.local/lib/python3.8/site-packages/flask/app.py", line 1518, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/container/.local/lib/python3.8/site-packages/flask/app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
File "/home/container/.local/lib/python3.8/site-packages/flask/app.py", line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "./site/fdpy.py", line 63, in callbackk
discord.callback()
File "/home/container/.local/lib/python3.8/site-packages/flask_discord/client.py", line 160, in callback
return jwt.decode(state, current_app.config["SECRET_KEY"], algorithms="HS256")
File "/home/container/.local/lib/python3.8/site-packages/jwt/api_jwt.py", line 119, in decode
decoded = self.decode_complete(jwt, key, algorithms, options, **kwargs)
File "/home/container/.local/lib/python3.8/site-packages/jwt/api_jwt.py", line 90, in decode_complete
decoded = api_jws.decode_complete(
File "/home/container/.local/lib/python3.8/site-packages/jwt/api_jws.py", line 149, in decode_complete
payload, signing_input, header, signature = self._load(jwt)
File "/home/container/.local/lib/python3.8/site-packages/jwt/api_jws.py", line 193, in _load
raise DecodeError("Not enough segments") from err
jwt.exceptions.DecodeError: Not enough segments

Can you share how you're setting your flask application SECRET_KEY.

app.secret_key = 'secret'

Can you ensure these two things:

You're not using mixed callback URLs. As like <IP_ADDRESS> and localhost. https://github.com/weibeu/Flask-Discord/issues/26#issuecomment-692439451
Your pyjwt and flask-discord version is latest.

Closing this due to inactivity. Reopen if issue is still persisting.


[FEATURE] AUv3 support

Is your feature request related to a problem? Please describe.
It'd be amazing to be able to use this plugin as an iPad application.
Describe the solution you'd like
A release targeting AUv3 so that I can load it into host apps like Drambo or Garageband.
Describe alternatives you've considered
I've considered using BiasFX 2 but it doesn't support AUv3. There are some other apps too, but they don't compete with this feature because NAM works with machine learning, and the output is much nicer.
Additional context
I'd be happy to support adding this feature to the code as well, however I'd need some help understanding the architecture and also with building the code.

It should be possible to build from source--I just did so today myself out of curiosity on this.
A pre-built release distributed on the app store is a bit of a different matter. The issues there are mainly general and not really specific to NAM's code.
In the meantime, I'm going to close this as a duplicate of #261. We can continue to track this there.

Thanks, I will try this out today 😄


Yahoo problem for Pyfolio usage

Hi all,
i'm new on this community. I'm trying to use pyfolio packcage but when i run this parte of the code:
"stock_rets = pf.utils.get_symbol_rets('FB')"
i get that problem:
"ConnectionError: HTTPConnectionPool(host='ichart.finance.yahoo.com', port=80): Max retries exceeded with url: /table.csv?s=AGG&a=0&b=1&c=1970&d=7&e=29&f=2017&g=d&ignore=.csv (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x000002384CC7D588>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',))"
It seems that it's not possible to dowload the data from yahoo. Is there any solutions?
thaks all very much,
Daniele

Can you update to master with:
pip install -U --no-deps git+https://github.com/quantopian/pyfolio and see if the problem persists?

hello,
thanks for your answer. Now there is a problem that gives the following error:
"mktime argument out of range"
thanks very much
I really would like to use pyfolio, but nothing seems works on my pc!

same for me...
same error....
I'm just trying to run the single stock example here:
https://quantopian.github.io/pyfolio/notebooks/single_stock_example/
and I stop at the first action:
stock_rets = pf.utils.get_symbol_rets('FB')
...
D:\Anaconda\lib\site-packages\pandas_datareader\yahoo\daily.py in _get_params(self, symbol)
97
98     def _get_params(self, symbol):
---> 99         unix_start = int(time.mktime(self.start.timetuple()))
100         day_end = self.end.replace(hour=23, minute=59, second=59)
101         unix_end = int(time.mktime(day_end.timetuple()))
OverflowError: mktime argument out of range

I updated get_symbol_returns_from_yahoo function from empyrical plugin and that has corrected this issue. This was caused by a change in csv headers from Yahoo.

I decided to leave Yahoo API altogether and went with Quandl API. This update does not require any changes to the modules; I describe it in more detail in this article
Basically, add the following code before running pf.utils.get_symbol_rets:
from empyrical.utils import get_utc_timestamp, get_returns_cached, _1_bday_ago, data_path
from pandas_datareader import data as web
from datetime import datetime
import pandas as pd

def get_symbol_returns_from_quandl(symbol, start=None, end=None):
    """
    Wrapper for pandas.io.data.get_data_quandl().
    Retrieves prices for symbol from quandl and computes returns
    based on adjusted closing prices.

    Parameters
    ----------
    symbol : str
        Symbol name to load, e.g. 'SPY'
    start : pandas.Timestamp compatible, optional
        Start date of time period to retrieve
    end : pandas.Timestamp compatible, optional
        End date of time period to retrieve

    Returns
    -------
    pandas.DataFrame
        Returns of symbol in requested period.
    """

    px = web.get_data_quandl(symbol, start=start, end=end)
    rets = px[['AdjClose']]
    rets = rets.shift(-1)
    rets.iloc[-1]['AdjClose'] = px.tail(1)['AdjOpen']
    rets = rets.shift(1) / rets - 1
    rets = rets.dropna()
    rets.index = rets.index.to_datetime()
    rets.index = rets.index.tz_localize("UTC")
    rets.columns = [symbol]
    return rets

def returns_func(symbol, start=None, end=None):
    """
    Gets returns for a symbol.
    Queries Quandl Finance. Attempts to cache SPY.

    Parameters
    ----------
    symbol : str
        Ticker symbol, e.g. APPL.
    start : date, optional
        Earliest date to fetch data for.
        Defaults to earliest date available.
    end : date, optional
        Latest date to fetch data for.
        Defaults to latest date available.

    Returns
    -------
    pd.Series
        Daily returns for the symbol.
         - See full explanation in tears.create_full_tear_sheet (returns).
    """

    if start is None:
        start = '1/1/1970'
    if end is None:
        end = _1_bday_ago()

    start = get_utc_timestamp(start)
    end = get_utc_timestamp(end)

    if symbol == 'SPY':
        filepath = data_path('spy.csv')
        rets = get_returns_cached(filepath,
                                  get_symbol_returns_from_quandl,
                                  end,
                                  symbol='SPY',
                                  start=start,
                                  end=datetime.now())

        try:
            rets = rets[rets.index.isin(pd.bdate_range(start, end))]
        except Exception as e:
            rets = rets[start:end]
    else:
        rets = get_symbol_returns_from_quandl(symbol, start=start, end=end)
    rets.sort_index(inplace=True)
    return rets[symbol]

pf.utils.register_return_func(returns_func)

Now tell me, would you like me to update pyfolio module to use Quandl by default?

@jaycode Yes please!

@nemozny I am about to go to bed now so expect a longer wait before my next reply.
The change has been incorporated into pyfolio, but just a few days ago Quandl no longer give away their WIKI/SPY data for free. I am not quite sure where else we can get historical SPY data from.

@jaycode Yes, I noticed the same yesterday, as I tried to replace benchmark_rets from your script above. I don't know where to get the SPY, in this state of things.
When you backtest 1960+, all free data sources are  of extremely poor quality. Including Quandl WIKIP, which is in fact just stolen Yahoo.
I found morningstar is the only "free" reliable source, but they make hard to obtain the data.
http://globalquote.morningstar.com/globalcomponent/RealtimeHistoricalStockData.ashx?ticker=SPY&showVol=true&dtype=his&f=d&curry=USD&isD=true&isS=true&hasF=true&ProdCode=DIRECT


Validate external linked libraries

At the moment of deployProxy, we have to validate that the linked libraries are using code that has been validated to be upgrade safe. In the solc output for a contract we find the locations in the bytecode where the addresses of linked libraries will be found. During deployProxy we have to extract those addresses, fetch the bytecode at that address, and look it up in the validations object.
We may have issues with fetching the bytecode if the library deployment hasn't been mined yet. I think this is a real concern that we should think about a little bit before proceeding. This is what I meant in the first paragraph. It's different from https://github.com/OpenZeppelin/openzeppelin-upgrades/issues/22 because we deploy those impls ourselves, but in my proposed workflow for libraries, it's the user who deploys those libraries so we don't have the information about the library deployment (e.g. "version", txid, etc.) unless we can somehow retrieve the bytecode from the address.

Why does this matter if external libraries cannot modify the state? @frangio Thanks!

External libraries can 100% modify state, they can even selfdestruct the contract.

@julianmrodri You should be able to place it above the contract definition.

@julianmrodri You should be able to place it above the contract definition.

Nice thanks! worked..

Does it matter if I am sure the library being used does not modify the state variables or has a selfdestruct function?

If you're sure about that you can use an override via unsafeAllow.

Hi, guys. Any updates on this?

Giving this an annual bump


wg_engine: fix custom scene blending with opacity

fixed incorrect opacity applience for scene blending
See guitar.json
Before/After

Hold off on this until the v0.15 release.


Error_checkModeration Coordinated universal time connection error on Local

I am trying use my ollama mounted in local with LMstudio, but it not work

what should i do?
thank u very much !

Try toggle off "Use Moderator"

thank you very much! it now works !


fix(docs): fix avm instruction set table

Something changed in latest docusaurus (or in one of its dependencies like react-markdown), and for whatever reason I need to escape backticks () used inside of ` elements.
Basically we are generating an html table, and the opcode names in the table were surrounded with backticks to make them look like this ADD (probably unnecessary but I liked it). For whatever reason they now need to be escaped :shrug:
Previewed here

Docs Preview
Hey there! 👋 You can check your preview at https://66703148bfb2b2139b7b454b--aztec-docs-dev.netlify.app


 Let's assume I have a simple list:
words = PyCall.builtins.list(['Foo', 'Bar', 'Foobar'])

Is there any way to convert this list into a ruby array? Or get the content of this list otherwise?
Thanks in advance

You need to put . between list and ( like:
words = PyCall.builtins.list.(['Foo', 'Bar', 'Foobar'])

Thank you very much for your answer. Unfortunately I have another question. Assume I want to return only words with 3 characters or less:
words = ['Foo', 'Bar', 'Foobar']
short_words = PyCall.builtins.filter.('lambda word: len(word) < 4', words)

If I call PyCall.builtins.list.(short_words) I will get the following error:
PyCall::PyError (<class 'TypeError'>: 'str' object is not callable)

Can you tell me what I am missing here? Thanks in advance.

@wynksaiddestroy You can pass a Proc object to Python function like:
irb(main):001:0> words = ['Foo', 'Bar', 'Foobar']
=> ["Foo", "Bar", "Foobar"]
irb(main):002:0> short_words = PyCall.builtins.filter.(->{ _1.length < 4 }, words)
=> <filter object at 0x7f1b369214b0>
irb(main):003:0> PyCall.builtins.list.(short_words)
=> ['Foo', 'Bar']


Fix build on win arm64

Tested on Windows Dev Kit 2023.
Ref: https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170

I have no idea why AppVeyor jobs fail. It's the same behavior with https://github.com/BYVoid/OpenCC/pull/658 and maybe the same reason.

Then I just merge


DNS config issue

When using master, I am getting this error:
==> a1: Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
==> a1: 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"

I've logged into to the box and checked /etc/resolv.conf, it was configured properly.
> env DCOS_CONFIG_PATH=etc/config-1.7.yaml vagrant destroy -f ; env DCOS_CONFIG_PATH=etc/config-1.7.yaml vagrant up m1 a1 a2 boot;
==> boot: VM not created. Moving on...
==> p3: VM not created. Moving on...
==> p2: VM not created. Moving on...
==> p1: VM not created. Moving on...
==> a6: VM not created. Moving on...
==> a5: VM not created. Moving on...
==> a4: VM not created. Moving on...
==> a3: VM not created. Moving on...
==> a2: VM not created. Moving on...
==> a1: VM not created. Moving on...
==> m3: VM not created. Moving on...
==> m2: VM not created. Moving on...
    m1:
    m1: Vagrant insecure key detected. Vagrant will automatically replace
    m1: this with a newly generated keypair for better security.
    m1:
    m1: Inserting generated public key within guest...
    m1: Removing insecure key from the guest if it's present...
    m1: Key inserted! Disconnecting and reconnecting using new SSH key...
==> m1: Running cleanup tasks for 'dcos_ssh' provisioner...
==> m1: Forcing shutdown of VM...
==> m1: Destroying VM and associated drives...
==> m1: Updating /etc/hosts file on active guest machines...
==> m1: Updating /etc/hosts file on host machine (password may be required)...
Bringing machine 'm1' up with 'virtualbox' provider...
Bringing machine 'a1' up with 'virtualbox' provider...
Bringing machine 'a2' up with 'virtualbox' provider...
Bringing machine 'boot' up with 'virtualbox' provider...
==> m1: Importing base box 'mesosphere/dcos-centos-virtualbox'...
==> m1: Matching MAC address for NAT networking...
==> m1: Checking if box 'mesosphere/dcos-centos-virtualbox' is up to date...
==> m1: Setting the name of the VM: m1.dcos
==> m1: Clearing any previously set network interfaces...
==> m1: Preparing network interfaces based on configuration...
    m1: Adapter 1: nat
    m1: Adapter 2: hostonly
==> m1: Forwarding ports...
    m1: 22 (guest) => 2222 (host) (adapter 1)
==> m1: Running 'pre-boot' VM customizations...
==> m1: Booting VM...
==> m1: Waiting for machine to boot. This may take a few minutes...
    m1: SSH address: <IP_ADDRESS>:2222
    m1: SSH username: vagrant
    m1: SSH auth method: private key
    m1:
    m1: Vagrant insecure key detected. Vagrant will automatically replace
    m1: this with a newly generated keypair for better security.
    m1:
    m1: Inserting generated public key within guest...
    m1: Removing insecure key from the guest if it's present...
    m1: Key inserted! Disconnecting and reconnecting using new SSH key...
==> m1: Machine booted and ready!
==> m1: Checking for guest additions in VM...
==> m1: Setting hostname...
==> m1: Configuring and enabling network interfaces...
==> m1: Mounting shared folders...
    m1: /vagrant => /Users/ilya/Code/dcos/dcos-vagrant
==> m1: Updating /etc/hosts file on active guest machines...
==> m1: Updating /etc/hosts file on host machine (password may be required)...
==> m1: Running provisioner: dcos_ssh...
    host: Found existing keys
==> m1: Inserting generated public key within guest...
==> m1: Configuring vagrant to connect using generated private key...
==> m1: Removing insecure key from the guest, if it's present...
==> m1: Running provisioner: shell...
    m1: Running: script: Certificate Authorities
==> m1: >>> Installing Certificate Authorities
==> a1: Importing base box 'mesosphere/dcos-centos-virtualbox'...
==> a1: Matching MAC address for NAT networking...
==> a1: Checking if box 'mesosphere/dcos-centos-virtualbox' is up to date...
==> a1: Setting the name of the VM: a1.dcos
==> a1: Fixed port collision for 22 => 2222. Now on port 2200.
==> a1: Clearing any previously set network interfaces...
==> a1: Preparing network interfaces based on configuration...
    a1: Adapter 1: nat
    a1: Adapter 2: hostonly
==> a1: Forwarding ports...
    a1: 22 (guest) => 2200 (host) (adapter 1)
==> a1: Running 'pre-boot' VM customizations...
==> a1: Booting VM...
==> a1: Waiting for machine to boot. This may take a few minutes...
    a1: SSH address: <IP_ADDRESS>:2200
    a1: SSH username: vagrant
    a1: SSH auth method: private key
    a1:
    a1: Vagrant insecure key detected. Vagrant will automatically replace
    a1: this with a newly generated keypair for better security.
    a1:
    a1: Inserting generated public key within guest...
    a1: Removing insecure key from the guest if it's present...
    a1: Key inserted! Disconnecting and reconnecting using new SSH key...
==> a1: Machine booted and ready!
==> a1: Checking for guest additions in VM...
==> a1: Setting hostname...
==> a1: Configuring and enabling network interfaces...
==> a1: Mounting shared folders...
    a1: /vagrant => /Users/ilya/Code/dcos/dcos-vagrant
==> a1: Updating /etc/hosts file on active guest machines...
==> a1: Updating /etc/hosts file on host machine (password may be required)...
==> a1: Running provisioner: dcos_ssh...
    host: Found existing keys
==> a1: Inserting generated public key within guest...
==> a1: Configuring vagrant to connect using generated private key...
==> a1: Removing insecure key from the guest, if it's present...
==> a1: Running provisioner: shell...
    a1: Running: script: Certificate Authorities
==> a1: >>> Installing Certificate Authorities
==> a1: Running provisioner: shell...
    a1: Running: script: DC/OS Agent-private
==> a1: Loaded plugins: fastestmirror
==> a1:
==> a1:
==> a1:  One of the configured repositories failed (Unknown),
==> a1:  and yum doesn't have enough cached data to continue. At this point the only
==> a1:  safe thing yum can do is fail. There are a few ways to work "fix" this:
==> a1:
==> a1:      1. Contact the upstream for the repository and get them to fix the problem.
==> a1:
==> a1:      2. Reconfigure the baseurl/etc. for the repository, to point to a working
==> a1:         upstream. This is most often useful if you are using a newer
==> a1:         distribution release than is supported by the repository (and the
==> a1:         packages for the previous distribution release still work).
==> a1:
==> a1:      3. Disable the repository, so yum won't use it by default. Yum will then
==> a1:         just ignore the repository until you permanently enable it again or use
==> a1:         --enablerepo for temporary usage:
==> a1:
==> a1:             yum-config-manager --disable <repoid>
==> a1:
==> a1:      4. Configure the failing repository to be skipped, if it is unavailable.
==> a1:         Note that yum will try to contact the repo. when it runs most commands,
==> a1:         so will have to try and fail each time (and thus. yum will be be much
==> a1:         slower). If it is a very temporary problem though, this is often a nice
==> a1:         compromise:
==> a1:
==> a1:             yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
==> a1:
==> a1: Cannot find a valid baseurl for repo: base/7/x86_64
==> a1: Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
==> a1: 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

> env DCOS_CONFIG_PATH=etc/config-1.7.yaml vagrant ssh a1
[vagrant@a1 ~]$ yum update
Loaded plugins: fastestmirror
You need to be root to perform this command.
[vagrant@a1 ~]$ sudo !!
sudo yum update
Loaded plugins: fastestmirror
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"

 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Disable the repository, so yum won't use it by default. Yum will then
        just ignore the repository until you permanently enable it again or use
        --enablerepo for temporary usage:

            yum-config-manager --disable <repoid>

     4. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: base/7/x86_64
[vagrant@a1 ~]$ ping -c1 mirrorlist.centos.org
ping: unknown host mirrorlist.centos.org
[vagrant@a1 ~]$ cat /etc/resolv.conf
# Generated by NetworkManager
search dcos

# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
[vagrant@a1 ~]$ logout
Connection to <IP_ADDRESS> closed.

I see the exact same issue with the current master.

Yeah, this is a combination of a known bug with the latest dcos-vagrant-box (fixed by https://github.com/dcos/dcos-vagrant-box/commit/316ee4b44b5d591c66891514a3eeed62033a7eb9 but not yet published to a new box) and a new yum install command I pushed yesterday to install netcat. I'm still working on fixing the underlying DNS issue, but the yum error should be resolved by https://github.com/dcos/dcos-vagrant/commit/0e664d4f8d9eb6395d4d276f5547bbe2efae30ce

This is fixed on master.


Add OnSelectedCandidatePairChange callback

Non-standard, but useful for logging the chosen candidate.

Hey @mjmac
I think I saw some of the conversation on Slack, but my 2 cents (and hopefully just repeating what was already agreed on)
I am not against adding something non-standard that is helpful. Seems like a good opportunity to to innovate.
I am not sure, but would adding any of the ones in the spec satisfy your logging needs? Pulled from here
onicecandidate of type EventHandler

The event type of this event handler is icecandidate.

onicecandidateerror of type EventHandler
The event type of this event handler is icecandidateerror.

onsignalingstatechange of type EventHandler
The event type of this event handler is signalingstatechange.

oniceconnectionstatechange of type EventHandler
The event type of this event handler is iceconnectionstatechange

onicegatheringstatechange of type EventHandler
The event type of this event handler is icegatheringstatechange.

onconnectionstatechange of type EventHandler
The event type of this event handler is connectionstatechange.

Hi @Sean-Der... After talking with @backkem, I changed the callback to OnCandidatePairChange to match the ORTC spec for RTCIceTransport: https://draft.ortc.org/#dom-rtcicetransport-oncandidatepairchange
I think the question is whether or not we mind exposing this via the RTCPeerConnection API even though it's not part of the official WebRTC spec. I don't see anything in the standard RTCPeerConnection callbacks that will make the selected candidate pair available to a user-supplied callback, but I'm willing to believe that I missed something... In my use case, this is an important detail to log so that we have a record of which connection method was used in order to retroactively diagnose connectivity/performance issues.

@mjmac The ICE Transport isn't exposed on PeerConnection because WebRTC allows for separate ICE connections to be made for each media stream. The correct way to add this to the WebRTC would be:

RTCIceTransport has an onselectedcandidatepairchange . The name diverts in ORTC, maybe because the WebRTC api doesn't provide info about the selected pair. I suggest we just keep one.
RTCDtlsTransport has an iceTransport attribute that can be used to get the RTCIceTransport.
RTCRtpSender, RTCRtpReceiver and RTCSctpTransport has a transport attribute that can be used to get the RTCDtlsTransport.
RTCPeerConnection has a sctp attribute that can be used to get the RTCDtlsTransport.
RTCPeerConnection has ways to access the RTCRtpSender and RTCRtpReceiver objects.

@backkem: OK, I'm looking at this again. I understand now that adding a single callback on PeerConnection wouldn't be sufficient.
I'm pushing another revision which removes the callback from PeerConnection but implements
OnSelectedCandidatePairChange on ICETransport. Let me know if that's what you had in mind.
Once we're OK on that part of it, I'll need to figure out how to expose the transport to user code so that the callback can be set. I see PeerConnection has e.g. GetSenders(), but I don't see a way to get at the ICETransport for that sender unless we export something new.

Ok, great. I guess we can implement these:

https://w3c.github.io/webrtc-pc/#dom-rtcrtpsender-transport
https://w3c.github.io/webrtc-pc/#dom-rtcdtlstransport-icetransport

@backkem @mjmac should we move pkg/ice -> internal/ice? Just to make sure we don't leak anything that is non-standard into the public API?

Fine by me.


eth vanity sometimes fails

There is a bug in web3 that makes this happen. A PR with a fix is already open in web3 (see https://github.com/ethereum/web3.js/pull/1912). When that PR is merged and a new version is published, we should update the web3 dependency and close this.

This should work with the latest web3 versions.


Make included_environments, :environment_name not required

https://docs.sentry.io/hosted/clients/ruby/config/


nixos/plasma: add qtbase by default

Description of changes
xdg-mime now calls qtpaths which is available in the qtbase package, see: https://gitlab.freedesktop.org/xdg/xdg-utils/-/merge_requests/92/diffs

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

That's intentional, it's going to fall through to the generic path if it doesn't find qtpaths, as it should.


Tab: fix a tabindex issue

Description
Do the tabindex trick before checking whether the element has the role="tab" or not.
Motivation & Context
I couldn't spot any breaking change.
I tried to change the role of the tab component to make it a menubar but I went into the following issue following those steps:

Click on the active tab
Tab and Shift + Tab works well 🟢
→, Tab and Shift + Tab works but not as expected 🟡
→, →, Tab and Shift + Tab doesn't work at all 🔴

Is there a need for role="tablist/tab" to make it work/accessible ? If yes, why the behavior still works if I stay on the tabs element ?
Here is the Codepen I used to make some tests:
https://codepen.io/louismaximepiton/pen/oNqOEWG

Type of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring (non-breaking change)
[ ] Breaking change (fix or feature that would change existing functionality)

Checklist

[x] I have read the contributing guidelines
[x] My code follows the code style of the project (using npm run lint)
[x] My change introduces changes to the documentation
[x] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

Live previews

https://deploy-preview-38154--twbs-bootstrap.netlify.app/docs/5.3/components/navs-tabs#javascript-behavior

Related issues
Might be linked to #33079.

can you explain what you're actually trying to achieve here, @louismaximepiton ? what's the current problem, and how does your PR resolve that problem?

Hi Patrick,
I'm trying to achieve a side navigation (heavily draft) using the tab js. It works well until I change the role from tablist to menubar and tab to menuitem. Then if I focus the tab element (left part of the example) and I play with arrows as mentionned in the description, I can't reaccess the tab element when I drop the focus on it.

I'm trying to achieve a side navigation (heavily draft) using the tab js

I'm not 100% convinced that particular UI widget is best suited to be represented as a tabbed interface, rather than a set of accordions/menus/megamenus ?

I'm not 100% convinced that particular UI widget is best suited to be represented as a tabbed interface, rather than a set of accordions/menus/megamenus ?

I was trying to achieve it only using the Bootstrap bundle but yeah it's far from ideal right now. Haven't thought about using the megamenus since those weren't in Bootstrap bundle but yeah I could try to implement it like that 🤔

do you have a working "after" example that shows the behaviour or your specific case/example with your changes applied?

Not yet but I could maybe give it a try.

unless i'm mistaken, you're basically trying to hijack the tabs behaviour for non-tabs, and bumping against the guardrails that try to make sure this code only runs on a tabbed interface? looking over the code change, you'll achieve the effect visually, but the currently selected/expanded/live "menuitem"/"tab" also won't programmatically expose that it's expanded/open, which is doesn't sound good from an accessibility point of view...

Yes you're right, I'm trying to hack a bit the component here and it doesn't update well the aria attributes.
The main issue for me here that it seems we allow people to use several ways to make a working tab:
const SELECTOR_TAB_PANEL = '.list-group, .nav, [role="tablist"]'
const SELECTOR_INNER = `.nav-link${NOT_SELECTOR_DROPDOWN_TOGGLE}, .list-group-item${NOT_SELECTOR_DROPDOWN_TOGGLE}, [role="tab"]${NOT_SELECTOR_DROPDOWN_TOGGLE}`

But only one way keep the behavior so I was a bit surprised.
I can see two ways to resolve this issue:

Changing/Removing the role should at least not impact the behavior : the way I do in this PR (or maybe a better version of what's done atm), but we leave folks the possibility to have a not well accessible tab element. IMO, could be done until v6.
Changing/Removing the role should impact the behavior : Change the selectors might be a better way to achieve this but it might be breaking for folks and maybe we should wait for v6 ?

Closing this since it doesn't seem to land in anyway.


LE Enhanced Connection Complete indicates Resolved Public once connected to Public peer address

Describe the bug
PTS test case GATT/SR/GAS/BV-04-C, GATT/SR/GAS/BV-07-C require pairing. PTS connects with Public address type, but distributes IRK during pairing.
> HCI Event: LE Meta Event (0x3e) plen 31                                                                                #50 [hci0] 22.423416
      LE Enhanced Connection Complete (0x0a)
        Status: Success (0x00)
        Handle: 0
        Role: Slave (0x01)
        Peer address type: Public (0x00)
        Peer address: 00:1B:DC:08:E6:76 (Vencer Co., Ltd.)
        Local resolvable private address: 58:D4:77:1E:98:EF (Resolvable)
        Peer resolvable private address: 00:00:00:00:00:00 (Non-Resolvable)
        Connection interval: 75.00 msec (0x003c)
        Connection latency: 0.00 msec (0x0000)
        Supervision timeout: 20000 msec (0x07d0)
        Master clock accuracy: 0x01
...
> ACL Data RX: Handle 0 flags 0x02 dlen 11                                                                                #55 [hci0] 22.477316
      SMP: Pairing Request (0x01) len 6
        IO capability: KeyboardDisplay (0x04)
        OOB data: Authentication data not present (0x00)
        Authentication requirement: Bonding, No MITM, Legacy, No Keypresses (0x01)
        Max encryption key size: 7
        Initiator key distribution: EncKey IdKey Sign (0x07)
        Responder key distribution: EncKey IdKey Sign (0x07)
< ACL Data TX: Handle 0 flags 0x00 dlen 11                                                                                #56 [hci0] 22.479016
      SMP: Pairing Response (0x02) len 6
        IO capability: NoInputNoOutput (0x03)
        OOB data: Authentication data not present (0x00)
        Authentication requirement: Bonding, No MITM, Legacy, No Keypresses (0x01)
        Max encryption key size: 16
        Initiator key distribution: EncKey IdKey Sign (0x07)
        Responder key distribution: EncKey IdKey Sign (0x07)

Host adds PTS to Resolving list with IRK distributed.
< HCI Command: LE Add Device To Resolving List (0x08|0x0027) plen 39                                                                                #83 [hci0] 23.298916
        Address type: Public (0x00)
        Address: 00:1B:DC:08:E6:76 (Vencer Co., Ltd.)
        Peer identity resolving key: aa3341ca020d4835838b0d6c8f93aaae
        Local identity resolving key: 7fc6689ad83cc3ba07fcb63d65ddc27c

PTS reconnects and initiates pairing again using Public address type
> HCI Event: LE Meta Event (0x3e) plen 31                                                                                #126 [hci0] 28.442216
      LE Enhanced Connection Complete (0x0a)
        Status: Success (0x00)
        Handle: 0
        Role: Slave (0x01)
        Peer address type: Resolved Public (0x02)
        Peer address: 00:1B:DC:08:E6:76 (Vencer Co., Ltd.)
        Local resolvable private address: 58:D4:77:1E:98:EF (Resolvable)
          Identity type: Random (0x01)
          Identity: DD:AD:FB:8F:B7:AE (Static)
        Peer resolvable private address: 00:1B:DC:08:E6:76 (Non-Resolvable)
        Connection interval: 75.00 msec (0x003c)
        Connection latency: 0.00 msec (0x0000)
        Supervision timeout: 20000 msec (0x07d0)
        Master clock accuracy: 0x01
...
> ACL Data RX: Handle 0 flags 0x02 dlen 11                                                                                #132 [hci0] 28.539816
      SMP: Pairing Request (0x01) len 6
        IO capability: KeyboardDisplay (0x04)
        OOB data: Authentication data not present (0x00)
        Authentication requirement: Bonding, No MITM, Legacy, No Keypresses (0x01)
        Max encryption key size: 7
        Initiator key distribution: EncKey IdKey Sign (0x07)
        Responder key distribution: EncKey IdKey Sign (0x07)
< ACL Data TX: Handle 0 flags 0x00 dlen 11                                                                                #133 [hci0] 28.541516
      SMP: Pairing Response (0x02) len 6
        IO capability: NoInputNoOutput (0x03)
        OOB data: Authentication data not present (0x00)
        Authentication requirement: Bonding, No MITM, Legacy, No Keypresses (0x01)
        Max encryption key size: 16
        Initiator key distribution: EncKey IdKey Sign (0x07)
        Responder key distribution: EncKey IdKey Sign (0x07)

The controller indicates the Peer address type: Resolved Public (0x02). This should be Public (0x00).
As the result, pairing fails
      SMP: Pairing Failed (0x05) len 1
        Reason: Confirm value failed (0x04)

To Reproduce
Steps to reproduce the behavior:

Set TSPX_iut_device_name_in_adv_packet_for_random_address tester
Execute GATT/SR/GAS/BV-04-C
bt init
bt clear all
gatt register
bt name tester
bt advertise on

Expected behavior
Pairing succeeds
Impact
Qualification test cases GATT/SR/GAS/BV-04-C, GATT/SR/GAS/BV-07-C
Environment (please complete the following information):

nrf52840pdk

gatt_cach.zip

sniffer_traces.zip


robots.txt?

my site root dir is /dist
when i run generate,
robots.txt will be delete...
so, how can i do?

As said in Getting Started Doc. - put it in the static folder.

Example: /static/robots.txt is mapped as /robots.txt

@xerq
cool ~ !


Setting up authentication to check if user is logged in

Hi,
I'm looking to set up the router to have this flow:

If logged out then show Login/Register route
if logged in then show Home route

Can anyone give me some hints what I need to set up for that to happen?
Should I make a constructor that checks to see if an user is logged in/out then set the initial={true} or {false}? Or should I rather redirect based on actions?

Currently I'm doing following - Launch 'initial' screen will check logged/unlogged status then do redirect based on it.

@aksonov please land it in userland with hooks onEnter and onLeave, because some developers want restrict certain scenes, not entire app.

@theaqua  #60 is created for that, closing this issue.

@aksonov Sorry, but I have another question about this... I'm using the initial screen (launch) to check the user status and base my redirect on it. But what do you do when you logout? Is there are way to clear the complete route stack and transition to the login screen? I think this behaviour is possible in ExNavigator (https://github.com/exponentjs/ex-navigator/blob/master/ExNavigatorMixin.js#L61), is there a way to access those functions this project?

Would it make better sense to have Login be the initial that leads to Launch?

I think Launch stands for a splash screen... There you could do an Ajax request to check authentication. Based on the outcome you would navigate to the right page. But maybe the login and launch could be the same component? And have the render function take care of showing the right view?

On 15 Dec 2015, at 07:55, Jerry Wang<EMAIL_ADDRESS>wrote:
Would it make better sense to have Login be the initial that leads to Launch?
—
Reply to this email directly or view it on GitHub.

I got it figured out
For me I have now set as Launch checks for Parse.currentUser
If not found then show the auth options

I also pass extra custom data to Login for the switch case to display the corresponding SDK wrapper to save the auth data and logging into Parse
Which then kicks off to my TabView
I'm still trying to make sense of the new toys in 1.0.7 like renderLeftButton and renderRightButton, any insight there?

Also, is there a way to redirect by Actions rather than just return the TabView directly if the user is logged in?
    render() {
        var User = this.data.user
        if (!User) {
            return (
                <View style={styles.container}>
                    <Text style={styles.logo}>Hello!</Text>
                    <Icon.Button name="facebook-official" backgroundColor="#3b5998" onPress={()=>Actions.login({data:"facebook", title:"Login with Facebook"})} size={32} width={220} borderRadius={0} padding={10}>
                        Login with Facebook
                    </Icon.Button>
                    <Icon.Button name="twitter-square" backgroundColor="#55acee" onPress={()=>Actions.login({data:"twitter", title:"Login with Twitter"})} size={32} width={220} borderRadius={0} padding={10}>
                        Login with Twitter
                    </Icon.Button>
                    <Icon.Button name="envelope" backgroundColor="#aaaaaa" onPress={()=>Actions.login({data:"email", title:"Login with Email"})} size={29} width={220} borderRadius={0} padding={10}>
                        Login with email
                    </Icon.Button>
                </View>
            )
        }
        return (<ActivitiesFeed />)
    }

@aksonov, can you provide an example of your Launch 'initial' screen redirect implementation?
In my app, this would throw an Cannot read property 'getCurrentRoutes' of undefined error
class Launch extends Component {
  render() {
    Actions.login();
  }
}

And, this works on button pressed:
class Launch extends Component {
  goLogin() {
    Actions.login();
  }

  render() {
    return (
      <View>
        <Button onPress={this.goLogin}>Go to Login page</Button>
      </View>
    );
  }
}

Thanks!

Related to #82

@TangRufus I managed to hack around this issue until a proper fix is in place.
    render() {
      setTimeout(() => {
        Actions.login();
      }, 50);
      return ( <View /> );
    }

Brilliant!

I had the same issue but I solved it with action-store instead.
My initial route is set to Home.js, so in there I do the check:
var authenticationActions 	= require('../authentication/authenticationActions');
....
mixins: [Reflux.listenTo(authenticationStore, 'onLoggedInStatus')],
componentDidMount: function(){
  authenticationActions.isLoggedIn();
},
onLoggedInStatus: function(event, status){
  if (!status) {
    //not logged in, redirect
    routerActions.login();
  } else {
    //logged in, do your thing for this component
  }
},
render: function() {
  return(
    //here you can have a "loading view"
    ....
  )
}

In the authenticationStore:
isLoggedIn: function(){
  //do your check to see if you have a user stored and return logged in status
  var status = true;
  this.trigger('loggedInStatus', status);
},

Maybe you can turn this into a mixin and add it to the routes you want to protect behind authentication.

I want to redirect the scene based on the authentication by firebase


Synpress with Playwright Test Failed in Github actions using metamask.acceptAccess() ;

code: metamask.acceptAccess();
Error: [switchToMetamaskNotification] Max amount of retries to switch to metamask notification window has been reached. It was never found.
        15 |
        16 |   await page.click("text=MetaMask");
    > [17] |   await metamask.acceptAccess();
           |   ^
      [18] |   const element = await page.getByText("Arcana(s) detected. Welcome, Prime.");
      [19] |   await expect(element).toBeVisible();
      [20 | });

        at Object.switchToMetamaskNotification (/home/runner/work/metamsk-test/metamsk-test/node_modules/@synthetixio/synpress/commands/playwright.js:132:13)

I attempted to run a Playwright test with Synpress on Github Actions, but encountered an error causing the test to fail. However, the test passed successfully on my local machine.

sure ! here it is- https://github.com/ighmaZ/metamsk-test

hello @neuodev ! were u able to find the issue?

Thanks brother!

thanks @neuodev ! it worked


Mac Teams App won't display new chat messages on Chat tab

If a message is received from a sender that you have not previously conversed with, a notification is received but a new conversation is not created in the Chat's tab.
The web application does create a new chat conversation and works as expected. See the screenshot for the same account signed into the Mac app as well as the web app. The web app shows newers chats that aren't displayed on the Mac app.

@viksd thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


[BUG] form.getChanges() does not detect changes to enum fields in certain cases

Short description
form.getChanges() does not detect changes to enum fields in certain cases, e.g. if you are deleting the last item in the input (unless it's the "last item remaining").
Link to jsfidle/codepan with sample code
http://jsfiddle.net/9o34nvsw/
Steps to reproduce or sample

Delete the last item in the input field ("enum item 1") -> click "Changes?" button -> no changes detected

There is still no change if the now last item ("enum item 3") is deleted.
Funnily, if all items are deleted, a change is detected.
If any other item then the last is deleted, there's also a change detected.

Closing because PR #1976 has been merged


Excessive number of pending callbacks warning

Environment
Platform: iOS
Platform OS: iOS 15.5
Device: iPhone 13
Emulator/ Simulator: yes
Dev OS: MacOS 12.4
@rnmapbox/maps "@rnmapbox/maps": "github:rnmapbox/maps#main"
$RNMapboxMapsImpl = 'mapbox'
$RNMapboxMapsVersion = '~> 10.6.0'
React Native Version 0.68.2
Repro
Unfortunately I don't have specific repro steps for this one, but maybe the error log has enough info to trace the issue. The error showed up after I had the app open for awhile with the map active in the top or second to top position of the navigation stack.
 WARN  Please report: Excessive number of pending callbacks: 501. Some pending callbacks that might have leaked by never being called from native code: {"3493":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"3588":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"3607":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"3677":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"3690":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"3836":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"3850":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"3939":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"3952":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"4022":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"4035":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"4102":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"4115":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"4182":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"4261":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"4340":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"4429":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"4513":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"4592":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"4695":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"6096":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"6110":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"6235":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"6494":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"6509":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"7131":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"7145":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"7326":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"11156":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"23807":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"23808":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"23843":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"23844":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"23845":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"23846":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"23847":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"23848":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"23849":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"23850":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"23851":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"23852":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"23853":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"23854":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"30255":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"30256":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"30257":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"30258":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"30259":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"30260":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"30261":{"module":"MGLMapView","method":"setHandledMapChangedEvents"},"...(truncated keys)...":451}

I see the exact same thing on iOS 15.5, with mapbox (10.6.0) and mapbox-gl (5.9.0). RN 0.67.3, Xcode 13, MacOS 12.3.
JS frame rate drops like a stone, app quickly becomes unusable.


Feature request: Export LogLevel Type

Use case
Hi there,
As discussed with Andrea we pull in a logging level from an external config file.
I'd like to be able to set the logging level based on a string from this file.  According to the current code I need to set a LogLevel.  I cannot do that as this is not an exported type I can use.
Solution/User Experience
Please export the type so others can set the logging level themselves.  Ideally provide a utility method or easy way to pass in a string (INFO, DEBUG, ERROR) that returns a logging level.
Alternative solutions
No response
Acknowledgment

[X] This feature request meets Lambda Powertools Tenets
[ ] Should this be considered in other Lambda Powertools languages? i.e. Python, Java, and .NET

Future readers
Please react with 👍 and your use case to help us understand customer demand.

Hi there, thank you for reporting this.
We recently made the typing for the logLevel stricter and having this feature would help.
I'll add this to the backlog.

Hi @jdoherty, after reviewing the current exports, you can already use the LogLevel and all other types available to Logger via @aws-lambda-powertools/logger/lib/types, like so:
import type { LogLevel } from '@aws-lambda-powertools/logger/lib/types';

I'm going to close the issue for the time being and I have already taken note to improve these exports to something more ergonomic like @aws-lambda-powertools/logger/types in the discussion for v2.


Update index.md

Hi @TheSilentDawn
Thanks for your interest in our project. This pull request contains a lot of personal information. I guess you created this pull request by mistake. If you have any suggestions on this project, please feel free to let me know.

Sorrt for the mistake.


python312Packages.publicsuffixlist: <IP_ADDRESS>40412 -> <IP_ADDRESS>40416

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 304486 run on x86_64-linux 1

2 packages failed to build:

parsedmarc (python311Packages.parsedmarc)
parsedmarc.dist (python311Packages.parsedmarc.dist)

11 packages built:

pretalx
pretalx.dist
pretalx.static
python311Packages.checkdmarc
python311Packages.checkdmarc.dist
python311Packages.publicsuffixlist
python311Packages.publicsuffixlist.dist
python312Packages.publicsuffixlist
python312Packages.publicsuffixlist.dist
trustymail
trustymail.dist


[docs] Improve demo clarity by using form elements

[x] I have followed (at least) the PR section of the contributing guide.

The Paper element is now rendered with a form and the IconButton uses submit. This makes submitting the InputBase element much clearer and wires in the IconButton.
Fixes #18240

I see that the failure is because Type '"form"' is not assignable to type ... with a list of html elements. Is there a reason that form is not an option there?

I suspect an issue with the TypeScript definitions.

Ja, that's what I mean - shall I add form to that definition?

@jcuenod I have updated the definition to match the Typography one. I think that it will be better this way.


Context dependency in initialization events

It is for now impossible to depend on the machine's context in initialization events.
The context should be explicitly present in the InitEventSpec structure

This is in fact not an issue.
Withing an initialisation structure the context is available.
def Init : InitEvent (Machine ctx) A B := newInitEvent {
  guard (x:A) := -- ok ctx is available
  -- ...
}

If one wans to define the guard outside the event structure, then it is enough to pass the context as a parameter :
def ext_guard (ctx : Context) (x:A) := -- ctx is available

def Init : InitEvent (Machine ctx) A B := newInitEvent {
  guard (x:A) := ext_guard ctx x
  -- ...
}


bedrivelling, aegophony

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[a,b]

/trunk merge


Bump more resource requests

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


ShapeFile support problem.

Issue Type
[x] Bug
add shapefile to map view failed.
even the sample file TM_WORLD_BORDERS_SIMPL-0.3 is not supported.
some borders in the file can't show in map.
(And my own shapefile totally dosen't work.)
Screenshot
https://github.com/sun-jiao/GitHubUse/blob/master/Screenshot_20200311-140846.png
Code
File myshape = new File (getExternalFilesDir("TM_WORLD_BORDERS_SIMPL-0.3") +"/TM_WORLD_BORDERS_SIMPL-0.3.shp");
        List<Overlay>  folder = null;
        try {
            folder = ShapeConverter.convert(mMapView, myshape);
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        if (folder == null)
            Log.i("SHP", "onCreate: null");
        else{
            mMapView.getOverlayManager().addAll(folder);
            mMapView.invalidate();
        }

Environment
known affected version:
Android 10.
hardware
Google Pixel 3
Version of osmdroid the issue relates to:
6.1.6

@sun-jiao For further debugging you should post your own shp-file here. Since it is a binary file format you can use a third party tool for extracting the data (coordinates):

https://mapshaper.org/
https://wiki.openstreetmap.org/wiki/Shapefiles

The osmdroid ShapeConverter is a simple parser mapping the shape data to osmdroid equivalents. It returns a List<Overlay>.

@sun-jiao For further debugging you should post your own shp-file here. Since it is a binary file format you can use a third party tool for extracting the data (coordinates):

https://mapshaper.org/
https://wiki.openstreetmap.org/wiki/Shapefiles

The osmdroid ShapeConverter is a simple parser mapping the shape data to osmdroid equivalents. It returns a List<Overlay>.

the sample file TM_WORLD_BORDERS_SIMPL-0.3 is not fully supported, too.

@sun-jiao For further debugging you should post your own shp-file here. Since it is a binary file format you can use a third party tool for extracting the data (coordinates):

https://mapshaper.org/
https://wiki.openstreetmap.org/wiki/Shapefiles

The osmdroid ShapeConverter is a simple parser mapping the shape data to osmdroid equivalents. It returns a List<Overlay>.

and, our own shape file is here:
https://drive.google.com/file/d/1O1Wqt7gPbsuWDd4rGaquEKM6OFNddRf3/view?usp=sharing

Quick *.shp import into Google Earth from your file shows lots of rectangles. Is this correct?

From http://thematicmapping.org/downloads/TM_WORLD_BORDERS_SIMPL-0.3.zip some countries look okay (AR). Others not (HI, DK). Only tried randomly.

this could be an artifact of the point reducer. maybe...or there is something fundamental that was missed in the conversion class

Google Earth is complaining when importing TM_WORLD_BORDERS_SIMPL-0.3.shp :

Translated:
"Invalid data found"
"Some functions were not imported due to invalid or out of area coordinates."

Quick *.shp import into Google Earth from your file shows lots of rectangles. Is this correct?

Yeah, it has lots of rectangles，but they are all over the world.

@sun-jiao Yes, I see them all over the world. Your file is okay in Google Earth. Google Earth has also problems with the TM_WORLD_BORDERS_SIMPL-0.3.shp file.
But there seems to be something wrong with the osmdroid ShapeConverter. There are no unit test for verification. The file format does not look that complicated: https://en.wikipedia.org/wiki/Shapefile . Maybe there are also free tested Java shape file parsers.

@sun-jiao Yes, I see them all over the world. Your file is okay in Google Earth. Google Earth has also problems with the TM_WORLD_BORDERS_SIMPL-0.3.shp file.
But there seems to be something wrong with the osmdroid ShapeConverter. There are no unit test for verification. The file format does not look that complicated: https://en.wikipedia.org/wiki/Shapefile . Maybe there are also free tested Java shape file parsers.
Update. Quick Google search:

https://stackoverflow.com/questions/2044876/does-anyone-know-of-a-library-in-java-that-can-parse-esri-shapefiles
http://docs.geotools.org/ under LGPL, https://github.com/geotools/geotools, API doc https://docs.geotools.org/stable/userguide/library/data/shape.html

yeah, I saw it. but I found osmdroid is using the same library, so I didn't try it.

@mat8854 The TM_WORLD_BORDERS_SIMPL-0.3.shp file is shown perfectly in dabebro's Shapefile Over Map. ( https://play.google.com/store/apps/details?id=com.dabebro.somdemo&hl=zh ) And so  is my "rectangles".
If the file isn't correct, I think it's better to change the sample files provided in osmdroid's userguide.

well there are shape file readers, but there few that are license compatible with osmdroid and will actually run on android. The convertor basically iterates over all objects in the shape file and attempts to convert them. If you have time, load file a file that isn't working correctly and step through the osmdroid shape converter and try and figure out what the issue is. The only "test" that exists is loading a shape file and visually comparing them against another reference point. Shapefiles are similar to KML, some programs interpret or extend the format in funky ways which can cause unpredictable output with different visualization tools.  The shape format also has quite a lot of intricate details related to holes, volumes, volumes with holes. Not everything is currently mapped to osmdroid overlays.
Geotools is a gigantic library and will probably never run on android due to their heavy usage of SPI. If you have a sample shape file that has an issue and can point me to specifics in the file, such as an id, name or lat lon, i can try and figure out what's going on

well there are shape file readers, …………
…………If you have a sample shape file that has an issue and can point me to specifics in the file, such as an id, name or lat lon, i can try and figure out what's going on

OK， thank you, I'll try it.

well there are shape file readers, but there few that are license compatible with osmdroid and will actually run on android. The convertor basically iterates over all objects in the shape file and attempts to convert them. If you have time, load file a file that isn't working correctly and step through the osmdroid shape converter and try and figure out what the issue is. The only "test" that exists is loading a shape file and visually comparing them against another reference point. Shapefiles are similar to KML, some programs interpret or extend the format in funky ways which can cause unpredictable output with different visualization tools. The shape format also has quite a lot of intricate details related to holes, volumes, volumes with holes. Not everything is currently mapped to osmdroid overlays.
Geotools is a gigantic library and will probably never run on android due to their heavy usage of SPI. If you have a sample shape file that has an issue and can point me to specifics in the file, such as an id, name or lat lon, i can try and figure out what's going on

@spyhunter99  Oh, I did not the library is that big. I meant just copying over the ShapeParser (if it was allowed by license). You are more familiar with this whole ShapeFile stuff ...
For own implementation one can use a script language to generate lots of test data files (valid, invalid, all edge cases). With a proven generator of course. Then verify the own parser output. If verification also needs visual comparison after rendering that is quite hard to do.

@mat8854 @spyhunter99
Problem resolved.
This shapefile has some Geo Points close to the 180° longitude, whose longitude is out of range. These numbers are slightly larger than 180.00 or smaller than -180.00. Because of which, the BondingBox throws a illegal argument exception.
I have discussed with the GIS developer, who created the file using ArcGis and ENVI. We think it's due to an error during the floating-point arithmetic of these software.
Considering the errors that these software may cause, I think it's a good idea to add an inspection operation: if the longitude and latitude is slightly out of range, we can adjust it to a critical value in the ShapeConverter.java.
Thanks to all developers who helped me.


Add sub-allocations properties extensions

Depending on target platform, certain Level Zero drivers may split an L0 allocation into smaller sub-allocations for performance purposes. This extension allows applications to query for the number and size of those sub-allocations.
Signed-off-by: Jaime Arteaga<EMAIL_ADDRESS>

@bashbaug : Please see here.

@bashbaug

Since this is currently an experimental extension I think we only need the "EXP version below and this "EXT" version should be removed.

correct. done.

The spelling of $x_sub_allocations_properties_exp_desc_t doesn't look quite right - should this be $x_sub_allocations_exp_desc_t instead?

correct. done.

Is this structure "passed in" or "returned from" the query?

it is an array, as we have other queries that use pCount. I have added a sample usage so it is clearer.

Thanks, the example is consistent with the spec now, but now I'm going to try one more time to convince you that the stype and pNext are extraneous in this case and they should be removed :smiley:.
We already have an stype and pNext for ze_sub_allocations_exp_desc_t, to identify and allow extending the structure passed into this query.  Do we really need another one for stype and pNext for ze_sub_allocations_exp_properties_t, which is the data returned from the query?
This is only an experimental extension so I'm OK merging this as-is, but I'd still prefer to get this as right as possible.

@bashbaug . Agree, in terms of actually needing it for exp_properties, we dont. They are base of base_properties, which is why we added them. The one actually needed is the one for exp_desc here.
so if what you are saying is that we should eliminate the definition of SUB_ALLOCATIONS_EXP_PROPERTIES. Or are you saying to we should not have x_sub_allocations_exp_properties_t being a child of x_base_properties_t?

Both of these, actually:

so if what you are saying is that we should eliminate the definition of SUB_ALLOCATIONS_EXP_PROPERTIES. Or are you saying to we should not have x_sub_allocations_exp_properties_t being a child of x_base_properties_t?

We should only need one stype and pNext on the structure we're linking in.  We shouldn't need a stype or pNext on any of the "output" structures.
Note that naming-wise the structure we're linking in is currently a "desc" and the output structures are currently "properties", but this seems a little weird too.  I'd consider renaming the structure we're linking in to "properties" to match the ze_memory_allocation_properties_t structure it is linked into, and then choosing somethign different for the output structures, maybe something like ze_sub_allocation_t (no "desc" or "properties").

@bashbaugh: you are right. I was trying to make it align with other structs, but your suggestion is good. Please see latest changes.


Return errors as Promise reject

Any plans for rejecting the ask Promise when host side reject get called?

hi ernoaapa
there are no plans for this at the moment. sounds like a good idea though.


Bug 1948415: Set the log level in operands

Sidecar containers have the log level set through the ${LOG_LEVEL} placeholder, as usual. That placeholder doesn't work for vSphere CSI driver and syncer, though.
First of all, the Deployment controller from library-go replaces ${LOG_LEVEL} with a number representing the log level. However, both the CSI driver and syncer containers expect the log level to be set through the environment variable X_CSI_LOG_LEVEL as a string, as in Debug, Trace, etc.
Another problem is that the CSI driver uses logrus instead of klog; and numbers representing log levels have different meanings. For instance, the verbosity value for Debug in klog is 4, while in logrus it's 5.
In order to overcome these differences, this patch takes the following approach: when CR.Spec.LogLevel is Debug or higher, we set the X_CSI_DEBUG environment variable in the CSI driver and syncer to a positive value.
CC @openshift/storage

/bugzilla refresh

/lgtm


Document normalization: warning on checkbox-unselected

Question
Hello,
Thank you for the awesome work, I having a warning when converting a PDF and was wondering 2 things:

What does this warning means?
Is there a way to disable it so it don't pollute my logs?

Warnings:
2024-11-21 12:59:17.367 (   6.660s) [        92BD3300]    doc_normalisation.h:448   WARN| found new `other` type: checkbox-unselected
2024-11-21 12:59:17.367 (   6.660s) [        92BD3300]    doc_normalisation.h:448   WARN| found new `other` type: checkbox-unselected

Thank you

@pierre-sigwalt I think this has to do with the underlying layout model. It should not hurt, but it is not great either.
@cau-git @sh-gupta let's get to the bottom of this!

@pierre-sigwalt This log output has no practical meaning and we will remove it in the near future.


Chef13 Resource warnings

Warnings when running recipe which uses autofs cookbook:
   [2015-07-01T08:47:08+00:00] WARN: Class Chef::Provider::ReplaceOrAdd does not declare 'resource_name :replace_or_add'.
   [2015-07-01T08:47:08+00:00] WARN: This will no longer work in Chef 13: you must use 'resource_name' to provide DSL.

:+1: we should see a few more of these come through as J Keiser puts in more RFCs and merges his changes to master.
We probably don't need to fix this right away.

this is an upstream issue in the line cookbook https://github.com/someara/line-cookbook

although I'm guessing that's an example and autofs has it's own warnings that we need to clean up

OK so resource has now been deprecated in favour of compat_resource

Looks like I filed an issue as duplicate of this.
Also see you have a branch to fix this.
Hows the effort coming along? Something I can help with?
Thanks
Ajay

Hi Ajay,
This cookbook was originally built against the resource cookbook. In newer versions of chef this functionality was incorporated into chef core (as 'custom resources') and the resource cookbook was deprecated as a result.
It's been a while since I worked on the code here, but I think have 2 options:

use compat_resource cookbook
migrate to custom resources

If you want to help, a PR based on either of those 2 would be awesome!

I think using compat_resource would be most economical.
Working on this at https://github.com/agautam-hs/chef-autofs
Will submit PR as soon as I get around to testing. (Hopefully soon)
Thanks

Thanks Ajay.  Our newer resources we've been writing as custom resources, but we haven't updated this one yet.  Thanks for helping with this.  Let us know if you have any issues.

<rant>
The whole point of a "compat" library is to serve as a drop in replacement for an older implementation to work with new versions of the system. Looks like compat_resource does not follow this convention!
Whats the point of naming something "compat" if we are going to have to update code to use it anyway!
... sigh ...
</rant>
I was hoping compat_resource would be a drop in replacement for resource. This is not the case.
Unfortunately, my chef knowledge is not advanced enough to migrate this cookbook to the new way of doing custom resources.
Abandoning my effort / branch. Good luck with the migration.
Apologies

Hey Ajay, absolutely no need to apologise - I really appreciate you took the time to look at this.

I've forked the repo and made an attempt to rewrite the code based on the "custom resources" in Chef 12.5 and generally using this doc https://docs.chef.io/custom_resources.html for reference. One of the major things you have to do is move things out of the "libraries" folder and make a file for each customer resource in a new "resources" folder. In this case I made a file for each resource (auto_masterentry, map_entry, and nfs). There are also a few problems with this approach.

The "Path" type doesn't seem to be an option for a property anymore, I had to replace it with String to get things to work.

Certain conventions don't seem to work, specifically having two arguments like is currently available for auto_masterentry. The docs provide a "name_property: true" option you can set that will allow you do it but can only be 1 argument and that argument is required to be there. To illustrate this point this code won't work with this approach (unless we find a workaround):

automaster_entry '/smb', '/etc/auto.smb' do
  options '--timeout 600'
end

Instead it may have to be something like this (or do away with the in line argement entirely):
automaster_entry '/smb' do
  map '/etc/auto.smb'
  options '--timeout 600'
end

I've gotten to the point with the code that in a few hours I have something that seems to write the automaster entry correctly, however nothing seems to mount. I also am not quite sure how the tests are run I'd really like to get some help from someone on this if possible. You can look at what I've done so far in my fork: https://github.com/jbsmith86/chef-autofs

@jbsmith86 I can take a look at that today.
Thanks!
On Tue, 30 Aug 2016, 03:47 Joel Smith<EMAIL_ADDRESS>wrote:

I've forked the repo and made an attempt to rewrite the code based on the
"custom resources" in Chef 12.5 and generally using this doc
https://docs.chef.io/custom_resources.html for reference. One of the
major things you have to do is move things out of the "libraries" folder
and make a file for each customer resource in a new "resources" folder. In
this case I made a file for each resource (auto_masterentry, map_entry, and
nfs). There are also a few problems with this approach.

The "Path" type doesn't seem to be an option for a property anymore, I
had to replace it with String to get things to work.
2.
Certain conventions don't seem to work, specifically having two
arguments like is currently available for auto_masterentry. The docs
provide a "name_property: true" option you can set that will allow you do
it but can only be 1 argument and that argument is required to be there. To
illustrate this point this code won't work with this approach
(unless we find a workaround):
automaster_entry '/smb', '/etc/auto.smb' do
options '--timeout 600'
end
Instead it may have to be something like this (or do away with the in line
argement entirely):
automaster_entry '/smb' do
map '/etc/auto.smb'
options '--timeout 600'
end
I've gotten to the point with the code that in a few hours I have
something that seems to write the automaster entry correctly, however
nothing seems to mount. I also am not quite sure how the tests are run I'd
really like to get some help from someone on this if possible. You can look
at what I've done so far in my fork:
https://github.com/jbsmith86/chef-autofs
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/universityofderby/chef-autofs/issues/15#issuecomment-243318005,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACfUnrrO4c_5xAXdr_Xq_Aq-J9z2s91ks5qk5nJgaJpZM4FPu31
.

I think that if we aren't allowed the two arguments (or can't find a suitable workaround) we should try to get opscode to put it in. I have a number of cookbooks in my work environment that are dependent on autofs and rewriting them all would not be easy.

I had another crack at it today.
Getting some chef resource cloning issues. So I've posted on the chef
slack.
Right now it's only the NFS recipes that don't work (which are just a less
generic auto master mount).
I'll push it tonight. But with the current vagrant bug in 1.8.5 you'll only
be able to do kitchen test against something like the Amazon driver
On Tue, 30 Aug 2016, 18:38 Joel Smith<EMAIL_ADDRESS>wrote:

I think that if we aren't allowed the two arguments (or can't find a
suitable workaround) we should try to get opscode to put it in. I have a
number of cookbooks in my work environment that are dependent on autofs and
rewriting them all would not be easy.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/universityofderby/chef-autofs/issues/15#issuecomment-243518988,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACfUpqMCaw4R7pCCY-3j8wIxW4gav25ks5qlGqrgaJpZM4FPu31
.

It looks like they have some notes on other custom resource approaches here: https://docs.chef.io/custom_resources_notes.html
May take another crack at it when I get time

This should be fixed in 2.0.0, now using custom resources.


Example using multiple components together.

Would be good to see more examples using components together.  Ideally something with a router based render, and async loading of components via import('./SomeComponent').then(({ SomeComponent }) => SomeComponent)

In case of any use, I played with it and made one this weekend: https://github.com/ndrean/vanjs-dialog-modal

You can check out my Van Cone add-on. It has routing and the ability to use async imports for the route component.


ci: run ci when updating tests dir

You can try https://github.com/ankane/setup-postgres as what pgvector if it can make everything simpler. Also please consider merge the build and test sections, so that it won't build twice

Also please consider merge the build and test sections, so that it won't build twice

Build will use debug mode, test will use release mode. Otherwise building the index in e2e test will take a long time. So, we can't avoid build twice.
In the future, we can use github cache to avoid installing and building dependencies. This will save considerable time.

@all-contributors please add @silver-ymz for code contribution, tests and infra


Updated schema validation to include zip archives

In order to ensure that reference data sets comply with scehma,
the validation script now extracts any zip archives and includes
any .json files within them.
As this can be very computationally demanding, additional arguments
have been added to the validation script to allow validation of a
(randomized) subset of all events.
The Travis CI script is unchanged, meaning that it will not check
archive contents.

This addresses issue #100.

:+1:


Modal close buttons

Just a small Usability improvement.
As every Dialog in any case has a "Cancel"-Button, it makes sense to also provide a "X" in the top right corner to close modals for user friendly interaction.
I added it to all actual modal dialogs.
Furthermore I changed the way how "add Watch-Only Address" was handled actually. Every Modal in the Code was handled by an own html template except this one, so i changed it to the regular way here and created a template.
With this change I also added a Close Button here to keep it consistent and solid.

sorry i was a bit late on this one. Can you remove the commented code form this PR. We don't need to keep it if you improved it :)

alright. will do in a second.

done

+5


Fix Concurrent user reads leading to constraint violation in UM_UUID_DOMAIN_MAPPER

Purpose

Introduce a new method setDomainForUserIdIfNotExists to check if the Domain already exists for a User ID in UM_UUID_DOMAIN_MAPPER before trying to set the User ID to fix the constraint violation when in concurrent user reads.
We check an SQLException has been thrown to identify if the error is DB related and retry.
Based on the similar fix
https://github.com/wso2/carbon-identity-framework/pull/3645

Related Issue

https://github.com/wso2/product-is/issues/20474

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/9364164820

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/9364164820
Status: success


More readable progress counter

It it possible to keep the bar in the last line ?

This requires clearing the terminal screen like in JLine. I found no go library which can do that. Maybe there is C one which we can then bind to GO.

Someone worked on advanced stuff line https://github.com/gizak/termui

FOUND IT: https://github.com/sethgrid/multibar @games647

Sadly https://github.com/sethgrid/multibar/issues/12

https://github.com/gosuri/uiprogress ?

uiprogress conflicts with the logger output too although it has a higher refresh rate

Do you really need to use the logger?

Theoretically no. I could make it configurable

What's the reason you are using the logger?

Just the timestamp?

Anyway, i sent you another request on skype

What's the reason you are using the logger?

fmt would have the same result

?

fmt.Println has the same problems as logger on a progressbar

in my opinion you can replace the status bar with a x/total at the start of the line, remove the timestamps

The problem is that this runs concurrent. So the output isn't ordered.

just keep a counter of the completed tasks, who cares about the order

Anyway, i sent you another contact request on skype

Already accepted it a long while ago


Fix for Rails 5

Releasing the activerecord and activesupport gems strict versioning allows installing crono gem in a Rails 5 beta 3 app.
Specs are passing.

Thank you @adamico

+1


Compilation died

Summary
Hi I am trying to pass level 2 for project but the following error occurs. I have checked and I did indeed submit a Main2.java file. Has anyone faced a similar error? Thank you
Screenshots (if any):

Ok I have tried submitting it again and the same error does not occur again. Nvm


Flavor text enhancement.

I would like to see the ability to add flavor text to any element of the mod to enhance the user friendliness and story telling aspect of this mod.

Text like this wouldn't be added directly to progression as it's goal is to be more of a behind the scenes running tool. I have integration with Enchiridion in the works, which would let you display progression data, rewards, perform actions and other things, as well as write the usual text.


Add support for Expo

#1 #9
Shows that many wanna use this within their expo projects. The response has always been that it's not supported on expo.
Any chance we could see support for expo?

@Darhagonable With EAS build, you can build a development client which works with react-native-drop-shadow, simply install it and build your development client. No extra steps or plugins needed.

Interestinly, even after doing building our app through EAS build, a development cut of the app raises this error.
However, as mentioned previously, no issues were observed running the app through a simulator build.
Has anyone else observed this? A am intentionally running Android 10 on the device which observed the failure.


ARROW-4539: [Java] Fix child vector count for lists.

Child vector count was not set correctly for lists. Fixed to use the right count.

@siddharthteotia - could you please review..

Codecov Report

Merging #3625 into master will increase coverage by 1.23%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #3625      +/-   ##
=========================================
+ Coverage   87.76%     89%   +1.23%
=========================================
  Files         673     447     -226
  Lines       82839   53792   -29047
  Branches     1069       0    -1069
=========================================
- Hits        72704   47877   -24827
+ Misses      10020    5915    -4105
+ Partials      115       0     -115

Impacted Files
Coverage Δ

cpp/src/arrow/csv/reader.h
0% <0%> (-100%)
:arrow_down:

cpp/src/arrow/array/builder_union.h
0% <0%> (-100%)
:arrow_down:

cpp/src/arrow/array/builder_union.cc
4.16% <0%> (-95.84%)
:arrow_down:

cpp/src/arrow/csv/reader.cc
0.53% <0%> (-90.38%)
:arrow_down:

cpp/src/arrow/adapters/orc/adapter.cc
0.26% <0%> (-73.04%)
:arrow_down:

cpp/src/arrow/csv/options.h
66.66% <0%> (-33.34%)
:arrow_down:

cpp/src/parquet/column_scanner.cc
59.09% <0%> (-22.73%)
:arrow_down:

cpp/src/arrow/vendored/xxhash/xxhash.c
51.26% <0%> (-22.34%)
:arrow_down:

cpp/src/arrow/memory_pool.cc
68.8% <0%> (-16.52%)
:arrow_down:

cpp/src/arrow/io/interfaces.cc
40% <0%> (-15%)
:arrow_down:

... and 277 more

Continue to review full report at Codecov.

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


Remapped keys are sent across an RDP session together with the original keypress

Microsoft PowerToys version
0.45.0
Running as admin

[ ] Yes

Area(s) with issue?
Keyboard Manager
Steps to reproduce

Remap Right-ctrl to <. Works flawlessly on local machine.
Open an RDP session to remote machine, and right-ctrl does not work as expected.
Using KeyboardStateView to show keypresses, on local machine it shows the expected < as pressed, but on the remote machine, it shows 3 keystrokes: <, ctrl, and right-ctrl.

Local machine:

Remote machine:

✔ Expected Behavior
Right-Control to produce a < keypress also in RDP session
❌ Actual Behavior
Right-Control failed to produce a < keypress in RDP session
Other Software
No response

Using PowerToys on the remote machine to diable right-control works ok, but is a bit of a hack...

@opronningen this is good feedback, can you attach a copy of your logs to a new comment on this issue? You can generate them from the Report Bug tool in the systray.

Logs as requested
PowerToysReport_2021-09-24-19-51-56.zip
ed

done
On Fri, Sep 24, 2021 at 7:48 PM Deondre Davis @.***>
wrote:

@opronningen https://github.com/opronningen this is good feedback, can
you attach a copy of your logs to a new comment on this issue? You can
generate them from the Report Bug tool in the systray.
[image: image]
https://user-images.githubusercontent.com/61330599/134718770-a11e01be-cfef-416b-a9d6-ffdb09b176b9.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/13403#issuecomment-926813724,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AECYM62MM7XQHKDWYBT3FOLUDS2YFANCNFSM5EUERF5Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

0.47 shows same behaviour.

In my case, remapped keys aren't sent at all in the remote session. Original keys are sent instead.

/dup https://github.com/microsoft/PowerToys/issues/9337


Load & performance testing

As a developer I would like to know how our application reacts on a huge amount of data to detect performance issues.
ACs

[x] Create a script which inserts dummy data into the database

Current State: Marking a topic as done takes up to 10 seconds if the minute contains 100 topics!!! This is caused by the fact that the complete topic list will be updated currently.
Enhancement: When a user now toggles a topic only the isOpen-Flag of the selected topic will be updated wich speeds up the operation by the factor of 10.


Add Buildah buildstep plugin

Maintainers will complete the following section:

[x] Commit messages are descriptive enough
[ ] "Signed-off-by:" line is present in each commit
[x] Code coverage from testing does not decrease and new code is covered
[x] JSON/YAML configuration changes are updated in the relevant schema
[x] Changes to metadata also update the documentation for the metadata
[ ] Pull request includes link to an osbs-docs PR for user documentation updates
[x] New feature can be disabled from a configuration file

LGTM, just a couple inline questions.
Should we start documenting this feature right away? I mean, should this already include a PR for osbs-docs?
Also, the 1st commit does not have a signed-off-by line. I wouldn't oppose to waiving that one for this PR though.

I would leave out the documentation for the time being, until we have a plugin that can actually work.
We should have Signed-Off-By though.

Waiving third party signed off by entry

rn updated: - new Buildah buildstep plugin


Any class implementing Command that have the @RdiService annotation will always be registered as a top-level command

Describe the bug
Any class implementing Command that have the @RdiService annotation will always be registered as a top-level command.
To Reproduce

Create a new class
Implement the Command interface
Annotate it with @RdiService
Annotate it with @Alias and give it any name

Expected behavior

It should not be registered as a top-level command because you didn't put @TopLevelCommand
Actual behavior

It will be registered as a top-level command no matter what.
Additional context
This is caused by a bug in MatcherConsumer#matchType that makes it ignore the predicate. In this case the predicate is to check if @TopLevelCommand is present. MatcherFunction is affected by the same bug.

This bug is already fixed on the main branch and accessible via 1.0.0-SNAPSHOT, but will need to wait for the next milestone release.

Fixed in 1.0.0-RC1.


Extra behat tests for missing endpoints

Added the missing behat tests for reuse and forgot party url email
+ some various fixes to the behat suite

@acrobat going strong :-) :+1:
just deployed to production


Extract recursive with logical operation

Fixes #3478.
Method called extractRecursiveWithLogicalOperation is recursive call, including method called findFirstChildNodeNoneRecursive, which cause StackOverflowError when recursive get leftPredicate.
Changes proposed in this pull request:

Getting leftPredicate or rightPredicate uses loop, not recursive, to avoid StackOverflowError caused by recursive call.

Pull Request Test Coverage Report for Build 887

11 of 36 (30.56%)  changed or added relevant lines in 2 files are covered.
44 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.2%) to 68.473%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

shardingsphere-sql-parser/shardingsphere-sql-parser-common/src/main/java/org/apache/shardingsphere/sql/parser/core/extractor/util/ExtractorUtils.java
11
13
84.62%

shardingsphere-sql-parser/shardingsphere-sql-parser-common/src/main/java/org/apache/shardingsphere/sql/parser/core/extractor/impl/dml/PredicateExtractor.java
0
23
0.0%

Files with Coverage Reduction
New Missed Lines
%

sharding-core/sharding-core-execute/src/main/java/org/apache/shardingsphere/core/execute/sql/execute/SQLExecuteCallback.java
6
0.0%

sharding-core/sharding-core-route/src/main/java/org/apache/shardingsphere/core/route/router/sharding/ShardingRouter.java
7
90.0%

sharding-proxy/sharding-proxy-frontend/sharding-proxy-frontend-core/src/main/java/org/apache/shardingsphere/shardingproxy/frontend/command/CommandExecutorTask.java
12
0.0%

sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/executor/AbstractStatementExecutor.java
19
53.47%

Totals

Change from base Build 547:
-0.2%

Covered Lines:
11524

Relevant Lines:
16830

💛  - Coveralls


Plugin doesn't work with mainactivity.kt

it appears that the plugin does not work when the flutter app uses a kotlin based main activity.
I followed the example and modified the java code to meet the Kotlin syntax but was met with an error saying that it expected a function in java form, not kotlin.

Ditto, any suggestions?

So, I'm try to use this package but now it's to difficult to find the key to register a new package, because they doesn't show in the generatedpluginregistrant file
by the way,  probably this it's the kotlin file
package change.this.withyourprojectname

import androidx.annotation.NonNull
import androidx.arch.core.util.Function
import dev.thinkng.flt_worker.FltWorkerPlugin.*
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugin.common.PluginRegistry
import io.flutter.plugins.GeneratedPluginRegistrant

class MainActivity: FlutterActivity() {
    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
        GeneratedPluginRegistrant.registerWith(flutterEngine)
        FltWorkerPlugin.registerPluginsForWorkers = Function { registry: PluginRegistry ->
            io.flutter.plugins.pathprovider.PathProviderPlugin.registerWith(
                    registry.registrarFor("io.flutter.plugins.pathprovider.PathProviderPlugin"))
            //// If you need to add another package
           //// io.flutter.plugins.pathprovider.PathProviderPlugin.registerWith(
           ////         registry.registrarFor("io.flutter.plugins.pathprovider.PathProviderPlugin"))

            null
        }
    }
}

Has anyone managed to make this work with kotlin?

Has anyone managed to make this work with kotlin?

@hectorAguero have you got a solution?
Can i just register all plugins for the background task?


Fixed #5 #9 #11 #6 #4 issues and updated the notebook to a working state #10

Many thanks for all the issues and contributions! I appreciate the effort you've gone into.
Please could you do two things:

Check each of these issues against the bokeh branch and close them if they are fixed in that branch - at least some of the problems you've found have already been fixed there, e.g. issues #4 #5 #6 . In a couple of weeks, I'll be moving the merging the bokeh branch with main, so it would make sense to test everything on bokeh instead.
Please do not submit empty PR text. I'd like to understand what the fixes are for each issue, and it would be easier if there was a summary provided by you as to what's changed.

Thank you!

I'll close this pull and open it for the other branch.


Shouldn't test return a promise?

Right now test is modeled like this:
@send external test: (t, testTitle, zoraTest) => unit = "test"

Shouldn't it be modeled like this instead:
@send external test: (t, testTitle, zoraTest) => Js.Promise.t<unit> = "test"

Otherwise you can write multiple tests in a Zora block, finish with a done() and get an error:
tried to collect an assertion after it has run to its completion.
You might have forgotten to wait for an asynchronous task to complete

What do you think?

@tsnobip Did Dusty's suggestion work for you?

Are you doing the same thing as parallel.test.res? Does that file work for you?

@tsnobip Did Dusty's suggestion work for you?

Are you doing the same thing as parallel.test.res? Does that file work for you?

to be honest I don't remember anymore, I left the project since then and switched to vitest for my new projects 😬

The best solution here is to migrate everything to async/await syntax. I think that would clarify the docs.

The best solution here is to migrate everything to async/await syntax.

The only explicit promise I can see is:
https://github.com/dusty-phillips/rescript-zora/blob/main/src%2FZora.res#L2
So are you saying to move that line and the tests?

I'm also pretty sure it now works out of the box.


Landing Page

Can you put this text in between the placeholder picture and the map on the landing page?
Welcome to the Creative Commons Legal Database! This database comprises case law and legal scholarship to help you learn more about legal issues surrounding Creative Commons licenses and legal tools. These resources aim to help you clearly understand the enforceability and precedents set by courts around the world concerning Creative Commons licenses. The Case Law Database includes court decisions from around the globe concerning Creative Commons. The Scholarship Database aims to provide users with articles and resources concerning the use and enforceability of Creative Commons licenses.

Updated text available in the google doc. https://docs.google.com/document/d/1toG-WxUBr4qvCiQiX8Fi00Tf2QQnHVo_KEM3OlKeezs/edit?usp=sharing

Done! We can flesh out the content that is currently placeholders with other issues.
Thank you!


Add format args and labrador format

Example:
<|system|>
You are Labrador, an AI language model developed by IBM DMF (Data Model Factory) Alignment Team.  You carefully follow instructions. You are helpful and harmless and you follow ethical guidelines and promote positive behavior. You always respond to greetings (for example, hi, hello, g'day, morning, afternoon, evening, night, what's up, nice to meet you, sup, etc) with "Hello! I am an AI language model, created by IBM. How can I help you today?". Please do not say anything else and do not start a conversation.
<|user|>
Classify the grammatical acceptability of the following text to one of these options: unacceptable, acceptable.
Your response should only include the answer. Do not provide any further explanation.

Here are some examples, complete the last one:
Input:
text: We're dancing the night away.
Output:
The grammatical acceptability is acceptable

Input:
text: One more pseudo generalization and I'm giving up.
Output:
The grammatical acceptability is acceptable

Input:
text: They drank the pub.
Output:
<|assistant|>
The grammatical acceptability is

Waiting for feedback  if input and output labels are part of template or format.

these are the guidelines:
{{INSTRUCTION}} - High level description of the task. In the classification use case, this should include a
list of all the potential classes, in the extraction use case, this should include a list of all the types of
entities that should be extracted.
Format: Freeform Text
2. {{INPUT_LABEL}} - 1-2 word label to describe the input text.
Note, this can be generic, and just be “Text:” or “Input:”, or you could include something more
descriptive of the text, like “Movie Review” or “Complaint”. The key is to establish a pattern.
Format: Freeform Text, 1-2 words
3. {{OUTPUT_LABEL}} - 1-2 word label that describes the expected output.
Similar to the input label, the output label could be generic e.g. “Output:”, or “Answer:”, or it could be
task-specific, e.g. “Class:”, “Entities:”, or “Sentiment:”.
Format: Freeform Text, 1-2 words
4. {{ICL_INPUT}} / {{ICL_OUTPUT}} - These are the in-context learning input / output examples for the
task. [OPTIONAL]
You can add as many ICL examples as the context length allows. Or, to run the task in the zero-shot
setting, simply remove the examples, and remove the preceeding text “Here are some examples,
complete the last one:”.
Format: Freeform Text
5. {{INPUT}} - This is the actual text that the task should be performed on.
Format: Freeform Text

so my understanding is that instead of this:
Input:
text: They drank the pub.
Output:
<|assistant|>
The grammatical acceptability is

we should do this:
Text:
They drank the pub.
The grammatical acceptability is :
<|assistant|>


changed vote-deployment.yaml

Changed to test with SysDig PR capability

Sysdig Checks failed, closed the PR.


Added github actions

The configuration in appveyor.yml is broken, let's use github actions instead.

Let's try this out, and I'll create another PR to change things to grumphp, because it has some extra rules configured.


[Feat] Hover effects to the card

Description
I think it is looking better when we add hover effect over the cards. This give best User experience.
Screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

As of now, we do not need it. We will let you know in the future if there is a need. Please search for another issue and raise it, which I'm happy to assign to you.


Clean code and change the UI

I can make changes in the program, if you please assign me.

Closing since I think this is outdated (End of Hacktoberfest 2020)


bug

TypeScript Version:  2.2.1 / nightly (2.2.0-dev.201xxxxx)
Code
function  name(参数:string,数字:number){
return 参数+数字.toString()
}
// A *self-contained* demonstration of the problem follows...
参数名称不支持 utf8 字符

Expected behavior:
Actual behavior:

I'm not sure what you're asking, but I'll guess.
Every major browser's JavaScript runtime includes a declaration called name. That's probably why you're getting an error.