OpenHab Binding fails after update to 0.106

Describe the bug
States are not correctly read in Openhab after update to 0.106 (from 0.105.2).
State json is correctly read via api, but resolving fails. Did the output of api/state change between 0.105.2 and 0.106?
I will create a parallel issue in openhab
Steps to reproduce

Use openhab binding for evcc
Upgrade from easier version to 0.106
Thing in openhab goes offline (failed to get state)
Log in openhab online shows failure message and the state json result

Configuration details
irrelevant
Log details
2022-11-03 09:18:37.663 [DEBUG] [ab.binding.evcc.internal.EvccHandler] - Running refresh job ...
2022-11-03 09:18:37.666 [TRACE] [ab.binding.evcc.internal.api.EvccAPI] - GET http://localhost:7070/api/state - {"result":{"auth":{"vehicles":null},"batteryConfigured":true,"batteryPower":-4569,"batterySoC":31,"bufferSoC":100,"currency":"EUR","gridConfigured":true,"gridPower":-87,"homePower":1474,"loadpoints":[{"chargeCurrent":10.365217391304347,"chargeCurrents":[11,0,0],"chargeDuration":2663000000000,"chargePower":2400,"chargeRemainingDuration":26449460678210,"chargeRemainingEnergy":7886.888888888886,"chargeTotalImport":14.724,"chargedEnergy":1242.000000000001,"charging":true,"climater":"off","connected":true,"connectedDuration":0,"enabled":true,"maxCurrent":16,"minCurrent":6,"minSoC":0,"mode":"minpv","phaseAction":"inactive","phaseRemaining":0,"phasesActive":1,"phasesConfigured":null,"phasesEnabled":3,"pvAction":"inactive","pvRemaining":0,"targetEnergy":0,"targetSoC":80,"targetTime":null,"targetTimeProjectedStart":null,"title":"Garage","vehicleCapacity":10.4,"vehicleDetectionActive":false,"vehicleFeatureOffline":false,"vehicleOdometer":860,"vehiclePresent":true,"vehicleRange":0,"vehicleSoC":11,"vehicleTargetSoC":0,"vehicleTitle":"Multivan"},{"chargeCurrent":0,"chargeCurrents":[0,0,0],"chargeDuration":78000000000,"chargePower":0,"chargeRemainingDuration":-1,"chargeTotalImport":5.648,"chargedEnergy":0,"charging":false,"climater":"off","connected":true,"connectedDuration":0,"enabled":false,"maxCurrent":16,"minCurrent":6,"minSoC":0,"mode":"pv","phaseAction":"inactive","phaseRemaining":0,"phasesActive":3,"phasesConfigured":null,"phasesEnabled":3,"pvAction":"inactive","pvRemaining":0,"targetEnergy":0,"targetSoC":80,"targetTime":null,"targetTimeProjectedStart":null,"title":"Haustür","vehicleCapacity":46,"vehicleDetectionActive":false,"vehicleFeatureOffline":false,"vehicleOdometer":1873.2,"vehiclePresent":true,"vehicleRange":278,"vehicleSoC":86,"vehicleTargetSoC":0,"vehicleTitle":"e-Corsa"}],"prioritySoC":100,"pvConfigured":true,"pvPower":8530,"residualPower":100,"savingsAmount":0.27292077269657483,"savingsEffectivePrice":0.08038528297380132,"savingsGridCharged":0.0021763677842174885,"savingsSelfConsumptionCharged":1.2405489668026124,"savingsSelfConsumptionPercent":99.82487137554486,"savingsSince":1667394989,"savingsTotalCharged":1.2427253345868299,"siteTitle":"BiBo","tariffFeedIn":0.08,"tariffGrid":0.3,"vehicles":["e-Corsa","Multivan"]}}

2022-11-03 09:18:37.667 [DEBUG] [ab.binding.evcc.internal.EvccHandler] - Failed to get state

What type of operating system are you running?
Linux
Version
0.106

The problem seems to be the change: #4875
Workaround: Don't use floats for vehicle capacity.
The rest should probably be done in the binding.

New is chargeTotalImport

Yes, but gson ignores unknown values, so that is not the problem here. Thus new fields are backward compatible. Problem is the incompatible change from int to float.
My problem here was that I had already a float in my configuration, which evcc silently accepted, but rounded down.
The Openhab binding on the other hand didn't like "10.4" for a long

/cc @florian-h05
Kein evcc Thema ;)

@andig Danke für den Ping!
@pauxus I found the issue on the addons repo, will continue the discussion there.

@pauxus auf keinen Fall. Wir können keine Downstreamabhängigkeiten berücksichtigen.  Wenn das jemand machen möchte bitte auf Slack melden.

@andig gutes Argument.


[Bug] generateVolumePropsFromImageIds allocates an Int16Array if rescale or intercept is negative, which is incompatible with texSubImage3D

Describe the Bug
Cornerstone release: 1.81.2
generateVolumePropsFromImageIds will use an Int16Array instead of a Uint16Array to store the image data if the rescale/intercept parameters are negative and preferSizeOverAccuracy is true. (relevant code). As far as I understand, the texSubImage3D method used by VTK when streaming image data into a volume does not accept Int16Array (MDN reference). This in turns leads to an error being thrown: INVALID_OPERATION: texSubImage3D: type HALF_FLOAT_OES but ArrayBufferView is not NULL and not Uint16Array.
Steps to Reproduce

Init Cornerstone with preferSizeOverAccuracy set to true
Load a CT stack where the rescale intercept parameter (DICOM tag 0028,1052) has a negative value into the streaming volume loader

The current behavior
INVALID_OPERATION thrown by the code
The expected behavior
The volume renders
OS
Linux
Node version
20
Browser
Chrome 126

Could you kindly provide the data if it has been anonymized and you can confirm that there is no patient health information present in any of the headers or embedded within the pixel data?

Please check the latest cornerstone3D; we might have resolved the issue.

This is fixed in Cornerstone3D 2.0


Wrong coun items

Issue description: wrong coun items in barrels  YABBA
What happens: Show only 64 but really another
What you expected to happen:
Steps to reproduce:

...
Version (make sure you are on the latest version before reporting):

Minecraft: 1.12.2
Forge:  2855 latest
Refined Storage: lates your version

Does this issue occur on a server? [no]
If a (crash)log is relevant for this issue, link it here:
[pastebin/gist/etc link here]
https://i.imgur.com/uFq4OHM.png
https://i.imgur.com/BONITHw.png

Fixed in 8033327a456ec2f4d5becb00048427f15ddee709, although what YABBA does is just really dum.


container_id in grid

It is very confusing that there are two container_id variables , one in the grid and one in the core0 (the direct  python client ) , i suggest renaming the one in the grid to container_name for easier understanding

Both of them have the same name but different values


Rename primary branch to main

We are going through all of the node.js repositories to rename the primary branch to main. Please see nodejs/node#33864 for more context.
I don't see any references to the master branch so I don't think the rename will cause any issues.
Please let me know if you have any concerns by June 26th, otherwise I'll go ahead with the rename.

@devsnek FYI

@mhdawson go for it.

@devsnek Hmm, there already seems to be a main branch do you you what that is?

@mhdawson yeah i created that before realizing i don't have perms to change the default branch here.

Ok, I'll just delete and then rename

Renamed, closing


Allow for channel state recovery in WebUI

If the server is able to provide a larger balance proof after a failed payment, simply adopt that one.
This helps making client-side data recoverable/optional.

I plan to completely get rid of the client's state
We could also do that in the Python client. The only reason to keep current balances client-side after recoverability is to avoid asking the server for the current balance first. Not sure that's worth it, especially since we only need to do that once per session.

Basically the new protocol flow would be:

Client requests channel balance and resource pirce from server (including authentication).
Server sends most recent balance, signature, and price back to client.
Client validates balance signature ("oh yeah, right, I sent you that")
Client signs & sends old balance + price.
Server validates signature, sends content.

Authentication is another topic. I'd say just signing sequential nonces works fine. If the server rejects a nonce, also transmit the last signed nonce.
Ideas?

That's too complicated IMO. Client can simply bootstrap by asking for a list of open channels (GET /api/1/channels/<client_addr>) on start and select one of them - the response also includes most recent BP . I don't think mixing resource requests with channel status is necessary.
(We can of course add some auth method to this api call if we want to protect client's privacy.)

Auth can be made by signing something and sending to the server (before first request). It'd require one more click from user on first load (on sign), but only once (per session). It needs to be associated with the client somehow (e.g. the client's IP address), to avoid eternal access to client's balances by someone which manages to steal this signed data (MITM).

The point with auth/signing some challenge is only for privacy, to not allow everyone to be able to query your current channel balance on a given service, but possibly leaking balance proof is not actually a concern, as it serve nothing but for the receiver to close the channel and receive the tokens.
Well, we use HTTPS everywhere, and I think we can assume that if it's broken, the whole privacy point is already lost. My proposal is:
The client becomes stateless. It should send something signed (at least e.g. balance 0 on first load). If not, it's considered a new client with no channel. It's over https, so this info won't be used by someone else to queue indefinitely for client's balance. The server, upon receiving some signed balance that is lower than current registered balance, set the same cookies (RDN-Open-Block, RDN-Sender-Balance, RDN-Balance-Signature) on the 402 request with the latest BP it have. The client, upon receiving a higher balance proof signed by self (and validating it), sets the new channel state and increment from there. If validation fails, it procceeds as if there was no channel.
Advantages of this method: cookies are persisted across sessions, so user's browser automatically is already loading last state; minimum effort: just need some checks on client, and some check+cookie set on server; compliant with current design. This would allow even multiple clients (with same account) to share a single channel, as if they get out of sync, the one behind, on next requisition, will get 402 again with newest BP.


Update GitHub datasource credentials

GitHub Datasource was burned and needs to be replaced.
GitHub Datasource in Grafana no longer works as a result.

Thanks to @bagg3rs we have regenerated the token needed for this ticket, we need to document this process for future reference and I'll leave this ticket open to do this.


Re-write Model to use dataclasses.

Model currently uses a metaclass (which is disallowed by the style guide for good reasons) and Fields which make type checking tricky. (The class attribute is of type Field, but the instance attribute with the same name is of type str, int, or whatever that specific field stores.) I think most of this could be solved by switching to something based on dataclasses. E.g., in Python 3.9+:
@dataclasses.dataclass
class Foo(spanner_orm.Model):
  foo: Annotated[int, spanner_orm.primary_key]

Or in older versions of Python:
@dataclasses.dataclass
class Foo(spanner_orm.Model):
  foo: int = dataclasses.field(metadata={spanner_orm.PRIMARY_KEY: True})

Link to style guide: https://google.github.io/styleguide/pyguide.html#219-power-features

Somewhat related, I've been thinking about how currently every time we change which methods Model has (including adding new methods), it's a breaking API change because the new method name could conflict with a field name in a subclass. I wonder if we could fix that by separating Model from the actual fields and data, e.g.:
class Foo(spanner_orm.Model)
  @dataclasses.dataclass
  class Data:
    foo: int = dataclasses.field(metadata={spanner_orm.PRIMARY_KEY: True})

model = Foo(Foo.Data(foo=5))
assert model.data.foo == 5


Activity time-related bug fixes

What is a quick description of the change?
Fix missed bugs from merges into master.
Is this fixing an issue?
none
Are there more details that are relevant?
Fixes the following:

Country dropdown onChange listener: The timezone dropdown should change when the selected country changes.
Warning coming from editActivity.js
Activity sort inconsistencies (displaying dates in the wrong order)

Check lists (check x in [ ] of list items)

[x] Test written/updating
[x] Tests passing
[x] Coding style (indentation, etc)

Please explain why any are not present, if any.
Any additional comments?
{Fill in here or remove (leave question)}

#129 and #131 tackle these.


Rococo admin

solves: https://github.com/ImbueNetwork/imbue/issues/178
Purpose

[x] The use of Executive instead of blanket hooks for runtime upgrades
[x]  Use proper syntax for on runtime upgrades
[x] inclusion of sudo for production fix

Storage Version migrations:

[x]  pallet-proposals
[x] pallet-briefs
[x] pallet-grants
[x] ALL included into executive

Notes
pallet-proposals versioning
@ time of writing pallet Rococo is at v3 while Kusama is at v4
Currently the Executive of this branch is including the v4 migration.

LGTM once build passes


[SPARK-50285] Metrics for commits to StagedTable instances

What changes were proposed in this pull request?
Commands that commit using the StagedTable interface do not have any metrics at the moment because the interface does not support retrieving metrics after a commit. This PR

Adds a new interface StagedTableWithCommitMetrics that allows to retrieve metrics
Add a method StagingTableCatalog to indicate that the catalog supports metrics
Support metric retrieval in the commands that use the StagedTable interface

Why are the changes needed?
Many create table commands currently return no metrics at all
Does this PR introduce any user-facing change?
No
How was this patch tested?
New tests with a test catalog for the affected commands
Was this patch authored or co-authored using generative AI tooling?
No

FYI @manuzhang this PR intoroduces analogous interfaces to the ones you added in Write for staged tables

Thanks, merging to master


in-app purchase for other account

I have use in-app purchase for other account had previously submitted app?

This does not appear to be a question about a sample. You can open a support case with our Developer Support team who can further help with the specific problem you are experiencing. Please use these steps below for further help:

Visit http://aka.ms/storesupport and sign-in with your Microsoft account
Under the “App Development” section choose "Windows 10 universal app development", then choose the appropriate problem type and category to get engaged through a formal support channel.


NDRS-495: Don't slash validators twice.

This avoids adding validators to accusations in several subsequent eras after they equivocated, which would cause them to be included in the slashing instructions multiple times.
https://casperlabs.atlassian.net/browse/NDRS-495

bors merge


Unit test project templates should set IsPackable as false

Setting IsPackable=false should disable the Pack property pages.
See https://github.com/NuGet/Home/issues/4323 for more details.

This could be added in https://github.com/Microsoft/vstest/blob/master/src/package/nuspec/Microsoft.NET.Test.Sdk.props.
For validation, replace https://github.com/Microsoft/vstest/blob/master/src/package/nuspec/Microsoft.NET.Test.Sdk.props with modified one and verify if package property pages don't show up in IDE and dotnet pack should be no-op from the dotnet cli.

Just FYI, some people do still want to be able to pack their test projects:
https://github.com/dotnet/templating/issues/376#issuecomment-282531196
As long as it can be overridden I imagine they're fine with it.

Oops, just saw your other reply, never mind :)

This is being tracked external to this repo here:
https://developercommunity.visualstudio.com/content/problem/145934/unit-test-project-templates-should-set-ispackable.html


de_DE lang and some en_US cleanup

The de_lang file is empty.

And I have doubts that the en_US lang file is now more "clean" ;)


web/ui/bindata.go changes during runtime

If I want to git pull in a repo I also build & run from, I always get
error: Your local changes to the following files would be overwritten by checkout:
        web/ui/bindata.go
Please, commit your changes or stash them before you can switch branches.
Aborting

I am unsure if said file should not be tracked at all or if local state should be put elsewhere, but either way, this is annoying.

It doesn't change at runtime – at least there's would be no logical cause for that.
It most likely happens when you run make and the assets target is executed. It always wants to update all the timestamps. Best to remove that from the default execution.

Sorry, didn't verify that.
That sounds fine a well.
Richard
Sent by mobile; excuse my brevity.

I agree that it's truly annoying. We removed it from Alertmanager for that reason but didn't do for Prometheus yet.


Feature Request : add support for fbprophet

Problem/Motivation
Time series forecasting with Facebook Prophet fbprophet
https://facebook.github.io/prophet/docs/quick_start.html#python-api
Expected behavior
fbprophet installation using init_command configuration
{
  "log_level": "info",
  "github_access_token": "",
  "ssl": false,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "system_packages": [],
  "init_commands": [
    "pip install fbprophet"
  ]
}

Actual behavior
 From: Community Hass.io Add-ons
 By: Franck Nijhof<EMAIL_ADDRESS>-----------------------------------------------------------
 armhf / Raspbian GNU/Linux 9 (stretch) / HA 0.87.0 / SU 143 / stable
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing...

INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing...
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 11-nginx.sh: executing...
[cont-init.d] 11-nginx.sh: exited 0.
[cont-init.d] 20-notebooks-dir.sh: executing...
WARNING: Not updating Home Assistant notebook!
WARNING: You have made local changes, which we will not overwrite.
WARNING: Not updating Bokeh examples notebook!
WARNING: You have made local changes, which we will not overwrite.
[cont-init.d] 20-notebooks-dir.sh: exited 0.
[cont-init.d] 21-persistent-storage.sh: executing...
[cont-init.d] 21-persistent-storage.sh: exited 0.
[cont-init.d] 51-github.sh: executing...
[cont-init.d] 51-github.sh: exited 0.
[cont-init.d] 80-system-packages.sh: executing...
[cont-init.d] 80-system-packages.sh: exited 0.
[cont-init.d] 81-user-scripts.sh: executing...
Collecting fbprophet
  Downloading https://files.pythonhosted.org/packages/9b/a1/fef4ce00acbc28e75c0d33f60c9777527c4295656903b00ac4c9525cef7f/fbprophet-0.4.post2.tar.gz (45kB)
Collecting Cython>=0.22 (from fbprophet)
  Downloading https://files.pythonhosted.org/packages/e0/31/4a166556f92c469d8291d4b03a187f325c773c330fffc1e798bf83d947f2/Cython-0.29.5.tar.gz (2.0MB)
Collecting pystan>=2.14 (from fbprophet)
  Downloading https://files.pythonhosted.org/packages/96/21/6452aadcbb5807fb8858e8789c74d62f5ebaece0351ff231f44064c44b33/pystan-<IP_ADDRESS>.tar.gz (17.5MB)
Requirement already satisfied: numpy>=1.10.0 in /usr/local/lib/python3.6/dist-packages (from fbprophet) (1.15.4)
Requirement already satisfied: pandas>=0.20.1 in /usr/local/lib/python3.6/dist-packages (from fbprophet) (0.23.4)
Requirement already satisfied: matplotlib>=2.0.0 in /usr/local/lib/python3.6/dist-packages (from fbprophet) (3.0.2)
Collecting lunardate>=0.1.5 (from fbprophet)
  Downloading https://files.pythonhosted.org/packages/4e/7e/377a3cbba646ec0cf79433ef858881d809a3b87eb887b0901cb83c66a758/lunardate-0.2.0-py3-none-any.whl
Collecting convertdate>=2.1.2 (from fbprophet)
  Downloading https://files.pythonhosted.org/packages/74/83/d0fa07078f4d4ae473a89d7d521aafc66d82641ea0af0ef04a47052e8f17/convertdate-2.1.3-py2.py3-none-any.whl
Collecting holidays>=0.9.5 (from fbprophet)
  Downloading https://files.pythonhosted.org/packages/40/b0/3dfe3d3ed79087848a22de46d379462e371517571ee64668791f3d49ea29/holidays-0.9.9.tar.gz (68kB)
Collecting setuptools-git>=1.2 (from fbprophet)
  Downloading https://files.pythonhosted.org/packages/05/97/dd99fa9c0d9627a7b3c103a00f1566d8193aca8d473884ed258cca82b06f/setuptools_git-1.2-py2.py3-none-any.whl
Requirement already satisfied: python-dateutil>=2.5.0 in /usr/local/lib/python3.6/dist-packages (from pandas>=0.20.1->fbprophet) (2.7.5)
Requirement already satisfied: pytz>=2011k in /usr/local/lib/python3.6/dist-packages (from pandas>=0.20.1->fbprophet) (2018.7)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.6/dist-packages (from matplotlib>=2.0.0->fbprophet) (0.10.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib>=2.0.0->fbprophet) (1.0.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib>=2.0.0->fbprophet) (2.3.0)
Collecting ephem<3.8,>=<IP_ADDRESS> (from convertdate>=2.1.2->fbprophet)
  Downloading https://files.pythonhosted.org/packages/c3/2c/9e1a815add6c222a0d4bf7c644e095471a934a39bc90c201f9550a8f7f14/ephem-<IP_ADDRESS>.tar.gz (739kB)
Requirement already satisfied: six in /usr/local/lib/python3.6/dist-packages (from holidays>=0.9.5->fbprophet) (1.12.0)
Requirement already satisfied: setuptools in /usr/local/lib/python3.6/dist-packages (from kiwisolver>=1.0.1->matplotlib>=2.0.0->fbprophet) (40.6.3)
Building wheels for collected packages: fbprophet, Cython, pystan, holidays, ephem
  Running setup.py bdist_wheel for fbprophet: started
  Running setup.py bdist_wheel for fbprophet: finished with status 'error'
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-hh6l25_i/fbprophet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-bk2slxf9 --python-tag cp36:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib
  creating build/lib/fbprophet
  creating build/lib/fbprophet/stan_model
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-hh6l25_i/fbprophet/setup.py", line 120, in <module>
      """
    File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 143, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.6/dist-packages/wheel/bdist_wheel.py", line 188, in run
      self.run_command('build')
    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
      cmd_obj.run()
    File "/tmp/pip-install-hh6l25_i/fbprophet/setup.py", line 44, in run
      build_stan_model(target_dir)
    File "/tmp/pip-install-hh6l25_i/fbprophet/setup.py", line 27, in build_stan_model
      from pystan import StanModel
  ModuleNotFoundError: No module named 'pystan'

  ----------------------------------------
  Failed building wheel for fbprophet
  Running setup.py clean for fbprophet

Steps to reproduce
Proposed changes

It looks like it was fixed by adding a few apt-get installs, but I think I fried my Rpi since it started compiling code.
{
  "log_level": "info",
  "github_access_token": "",
  "ssl": false,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "system_packages": [],
  "init_commands": [
    "apt-get update"
    "apt-get -y --no-install-recommends build-essential python-dev python3-dev"
    "pip install fbprophet"
  ]
}

BUT, it could be fixed in the build by adding this line to the requirements.txt file
bfprophet==0.4.post2

Hi Frenck,
I'm trying to do this by myself and build the docker on my system but I'm getting this error at step 6/12
If you can guide me on what I'm doing wrong that would be very helpful.
$sudo docker run -it --rm --privileged --name build hassioaddons/build-env:latest --repository https://github.com/ejalal/addon-jupyterlab-lite --target jupyterlab --git --armhf --image "ejalal/jupyterlab"

[armhf] Step 6/12 : RUN     MAKEFLAGS="-j$(nproc)"     && export MAKEFLAGS         && apt-get update     && apt-get install -y --no-install-recommends         build-essential=12.4ubuntu1         dirmngr=2.2.4-1ubuntu1.1         git=1:2.17.1-1ubuntu0.4         gpg-agent=2.2.4-1ubuntu1.1         gpg=2.2.4-1ubuntu1.1         libffi-dev=3.2.1-8         libffi6=3.2.1-8         libfreetype6-dev=2.8.1-2ubuntu2         libfreetype6=2.8.1-2ubuntu2         libjpeg-turbo8-dev=1.5.2-0ubuntu<IP_ADDRESS>         libjpeg-turbo8=1.5.2-0ubuntu<IP_ADDRESS>         libmysqlclient-dev=5.7.21-1ubuntu1         libmysqlclient20=5.7.21-1ubuntu1         libnginx-mod-http-lua=1.14.0-0ubuntu1.2         libpng-dev=1.6.34-1ubuntu<IP_ADDRESS>         libpng16-16=1.6.34-1ubuntu<IP_ADDRESS>         libpq-dev=10.6-0ubuntu<IP_ADDRESS>         libpq5=10.6-0ubuntu<IP_ADDRESS>         libssl-dev=1.1.0g-2ubuntu4.3         libtiff5-dev=4.0.9-5         libxml2-dev=2.9.4+dfsg1-6.1ubuntu1.2         libxml2=2.9.4+dfsg1-6.1ubuntu1.2         libxslt1-dev=1.1.29-5         libxslt1.1=1.1.29-5         libzmq3-dev=4.2.5-1         libzmq5=4.2.5-1         luarocks=2.4.2+dfsg-1         nginx=1.14.0-0ubuntu1.2         pandoc=<IP_ADDRESS>~dfsg-1build4         pkg-config=0.29.1-0ubuntu2         python-dev=2.7.15~rc1-1         python3-dev=3.6.7-1~18.04         python3-distutils=3.6.7-1~18.04         python3-minimal=3.6.7-1~18.04         zlib1g-dev=1:1.2.11.dfsg-0ubuntu2         && luarocks install lua-resty-http 0.12-0         && curl -sL https://deb.nodesource.com/setup_8.x | bash -         && apt-get install -y --no-install-recommends         nodejs=8.15.0-1nodesource1         && curl https://bootstrap.pypa.io/get-pip.py | python3         && update-alternatives         --install /usr/bin/python python /usr/bin/python3 10         && pip3 install --no-cache-dir -r /opt/requirements.txt         && jupyter labextension install<EMAIL_ADDRESS>--no-build     && jupyter labextension install jupyterlab_bokeh --no-build     && jupyter labextension install @jupyterlab/github --no-build     && jupyter lab build         && apt-get purge -y --auto-remove         build-essential         dirmngr         gpg         gpg-agent         libffi-dev         libfreetype6-dev         libjpeg-turbo8-dev         libmysqlclient-dev         libpng-dev         libpq-dev         libssl-dev         libtiff5-dev         libxml2-dev         libxslt1-dev         libzmq3-dev         pkg-config         python-dev         python3-dev         zlib1g-dev         && find /usr/local/lib/python3.6/ -type d -name tests -depth -exec rm -rf {} \;     && find /usr/local/lib/python3.6/ -type d -name test -depth -exec rm -rf {} \;     && find /usr/local/lib/python3.6/ -name __pycache__ -depth -exec rm -rf {} \;     && find /usr/local/lib/python3.6/ -name "*.pyc" -depth -exec rm -f {} \;         && npm cache clean --force         && rm -fr         /tmp/*         /root/{.cache,.config,.gnupg,.local,.log,.npm}         /usr/local/share/.cache         /var/{cache,log}/*         /var/lib/apt/lists/*
[armhf]  ---> Running in e8613e3f96bf
[armhf] standard_init_linux.go:190: exec user process caused "no such file or directory"
The command '/bin/bash -o pipefail -c MAKEFLAGS="-j$(nproc)"     && export MAKEFLAGS         && apt-get update     && apt-get install -y --no-install-recommends         build-essential=12.4ubuntu1         dirmngr=2.2.4-1ubuntu1.1         git=1:2.17.1-1ubuntu0.4         gpg-agent=2.2.4-1ubuntu1.1         gpg=2.2.4-1ubuntu1.1         libffi-dev=3.2.1-8         libffi6=3.2.1-8         libfreetype6-dev=2.8.1-2ubuntu2         libfreetype6=2.8.1-2ubuntu2         libjpeg-turbo8-dev=1.5.2-0ubuntu<IP_ADDRESS>         libjpeg-turbo8=1.5.2-0ubuntu<IP_ADDRESS>         libmysqlclient-dev=5.7.21-1ubuntu1         libmysqlclient20=5.7.21-1ubuntu1         libnginx-mod-http-lua=1.14.0-0ubuntu1.2         libpng-dev=1.6.34-1ubuntu<IP_ADDRESS>         libpng16-16=1.6.34-1ubuntu<IP_ADDRESS>         libpq-dev=10.6-0ubuntu<IP_ADDRESS>         libpq5=10.6-0ubuntu<IP_ADDRESS>         libssl-dev=1.1.0g-2ubuntu4.3         libtiff5-dev=4.0.9-5         libxml2-dev=2.9.4+dfsg1-6.1ubuntu1.2         libxml2=2.9.4+dfsg1-6.1ubuntu1.2         libxslt1-dev=1.1.29-5         libxslt1.1=1.1.29-5         libzmq3-dev=4.2.5-1         libzmq5=4.2.5-1         luarocks=2.4.2+dfsg-1         nginx=1.14.0-0ubuntu1.2         pandoc=<IP_ADDRESS>~dfsg-1build4         pkg-config=0.29.1-0ubuntu2         python-dev=2.7.15~rc1-1         python3-dev=3.6.7-1~18.04         python3-distutils=3.6.7-1~18.04         python3-minimal=3.6.7-1~18.04         zlib1g-dev=1:1.2.11.dfsg-0ubuntu2         && luarocks install lua-resty-http 0.12-0         && curl -sL https://deb.nodesource.com/setup_8.x | bash -         && apt-get install -y --no-install-recommends         nodejs=8.15.0-1nodesource1         && curl https://bootstrap.pypa.io/get-pip.py | python3         && update-alternatives         --install /usr/bin/python python /usr/bin/python3 10         && pip3 install --no-cache-dir -r /opt/requirements.txt         && jupyter labextension install<EMAIL_ADDRESS>--no-build     && jupyter labextension install jupyterlab_bokeh --no-build     && jupyter labextension install @jupyterlab/github --no-build     && jupyter lab build         && apt-get purge -y --auto-remove         build-essential         dirmngr         gpg         gpg-agent         libffi-dev         libfreetype6-dev         libjpeg-turbo8-dev         libmysqlclient-dev         libpng-dev         libpq-dev         libssl-dev         libtiff5-dev         libxml2-dev         libxslt1-dev         libzmq3-dev         pkg-config         python-dev         python3-dev         zlib1g-dev         && find /usr/local/lib/python3.6/ -type d -name tests -depth -exec rm -rf {} \;     && find /usr/local/lib/python3.6/ -type d -name test -depth -exec rm -rf {} \;     && find /usr/local/lib/python3.6/ -name __pycache__ -depth -exec rm -rf {} \;     && find /usr/local/lib/python3.6/ -name "*.pyc" -depth -exec rm -f {} \;         && npm cache clean --force         && rm -fr         /tmp/*         /root/{.cache,.config,.gnupg,.local,.log,.npm}         /usr/local/share/.cache         /var/{cache,log}/*         /var/lib/apt/lists/*' returned a non-zero code: 1

[armhf]  !     ERROR: Docker build failed

 !     ERROR: Build failed, exited with errors

Multiple reasons:

hassioaddons/build-env is archived and deprecated.
The community add-ons no longer support cross compiling (e.g., building arm based images on your amd64 machine). All the add-ons from the Community Hass.io Add-ons project build natively on each architecture.

I get it now, I need to build the docker on the rpi, but what's the alternative to the hassioaddons/build-env ?

@ejalal Building on an ARM device is the only option. Other build environments will not help since our base images do not contain have a CPU emulator.

Hi @frenck,
Trying to build now on my rpi,
pi@raspberrypi:~/build/addon-jupyterlab-lite/jupyterlab $ sudo docker build -t jupyterlab .

but getting another error
E: Version '2.2.4-1ubuntu1.1' for 'dirmngr' was not found
E: Version '2.2.4-1ubuntu1.1' for 'gpg-agent' was not found
E: Version '2.2.4-1ubuntu1.1' for 'gpg' was not found

I'm sorry @ejalal, this is not an issue anymore at this point. If the above error causes an issue for you, it clearly indicates that you have no idea what you are doing at this point.
If you are looking for support, I suggest dropping by in our Discord server.
I like to keep GitHub solely for tracking issues.

I'm clearly new to docker, but thanks for the support.


Agree on black formatting

Since CI throws errors on invalid formatting, we will need to agree on a formatting convention in the first place, which is strictly consistent among us devs as well as the CI pipelines.
Of course black is opioniated by default, and the best starting point would be simply not to deviate from it.
Opinions?

I think this is not something you decide once. If someone has a proposal for a change (i.e. changing the allowed line-width to 100 characters) they can create an issue or a PR. The black settings are part of the pyproject.toml anyways, so every local setup should pick them up automatically

I agree. Where are the settings in pyproject.toml? In only see black's package information.

I agree. Where are the settings in pyproject.toml? In only see black's package information.

we are still using the defaults, so there are none

And CI uses only default too? Good. Then we should stick with this everyhwere.
Question is if anyone wants to deviate? I personally don't.

Are you asking about using Black in general or specific rules within Black?
I thought we'd agreed on the former several months ago already, just not yet put any enforcement in place in APIS-RDF. The original idea was to use a pre-commit file, which was being tested – and may have already been included – with another (vanilla) APIS repo. I feel the GitHub actions partially solves this until... then? Or until the topic is picked up again.
Either way, AFAIK several of us have been using Black for a while based on that earlier decision, just not with any "formal" checking (shared file, GH action) in place.

So maybe the ticket oughtn't be about Black specifically but about libraries/settings overall and/or where/how to run checks (on code to be merged).

Yeah, I rembember that too, but to my knowledge we have not agreed on local processes before check-in (manually, or git hooks).  And I didn't bother so far personally.
But now that wrong formatting can cause CI errors, we need to conventionalize something.

Yeah, I rembember that too, but to my knowledge we have not agreed on local processes before check-in (manually, or git hooks). And I didn't bother so far personally.

Why would we agree on local processes? We have a convention, that is checked (and hopefully at some point enforced) by the CI. How you integrate that in your local workflow is up to you.

Of course. But this issue aims to adress two questions for the team:

Any wishes to deviate from black's default?
Any experiences / recommendations in setup? Like pre commit hooks, etc?

Moved back to backlog + removed priority field since this hasn't seen any meaningful activity in over a month and takes up space on the board.

obsolete as the linter forces individual devs anyway and we agreed on black's default.


VS code launch problem

VSCode Version:v1.2.1
OS Version: Windows 8.1

Steps to Reproduce:

I have closed all the chrome instance and then i have tried, still not working
Then i have tried directly from chrome using F5 button
I don't know how to open the port using command prompt
Can anyone help me on this

@MugeshBTech are you using an extension? Are you launching a server on F5? I am having issues understanding in what area of Code there is a bug.

@bpasero Just assigning to get an owner on this, but fwd if necessary.

A number of days has past without answer on the questions asked. I am thereby going to close this issue to clean up our backlog of issues. Once you can answer on the questions, the issue can be reopened again. Thanks for understanding this process!


updated subgraph versions

@scottrepreneur @wtfsayo I'm pushing this through without approval since its pretty minor, also because its urgent.


[Week 6] Tutorials

Before/alongside the V1.1 milestones for week 7, each of us should finish up the week 6 "tutorial" tasks - "Get familiar with the code base".
https://nus-cs2103-ay2324s1.github.io/website/schedule/week6/project.html#4-get-familiar-with-the-code-base
There is at least 1 tangible required submission for the tutorials. Once we have all done it, this issue can be closed.

@bwangpj

[ ] Tutorial 1
[x] Tutorial 2 (#17 #19)
[ ] Tutorial 3

@Cloud7050

[x] Tutorial 1 (#2)
[x] Tutorial 2 (#28)
[x] Tutorial 3

@mamayuan

[x] Tutorial 1 (#18)
[x] Tutorial 2 (#24 #36)
[ ] Tutorial 3

@rayshawntan

[ ] Tutorial 1
[x] Tutorial 2 (#22)
[ ] Tutorial 3

I think anyone has edit access to be able to mark things off in the main post. Just click the checkbox directly and it should automatically edit the post.

@bwangpj @rayshawntan @mamayuan are we ready to close this?


No JSON object could be decoded

I followed readme file and ran trans.py, main.py , process-vmaf.py one by one. I used vmaf-1.3.9 but the error come out: No JSON object could be decoded. And my json file is empty. Has anyone met with this problem? Can anybody tell me how to solve that? thx :D

I think I've seen this. Can you post a log?

Traceback (most recent call last):
File "../ffmpeg2vmaf", line 8, in
from vmaf.config import VmafConfig, DisplayConfig
ImportError: No module named vmaf.config
Traceback (most recent call last):
File "generate.py", line 62, in
eventloop(_file)
File "generate.py", line 44, in eventloop
data = json.load(json_file)
File "/usr/lib/python2.7/json/init.py", line 291, in load
**kw)
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

It looks like it is trying to read a json file on this line:
https://github.com/thu-media/QARC/blob/02c081703e5fd8fd0787b308aed3a48283d1ad7f/videodatasets/generate.py#L42
Did you print the filename and check if the json file exists?

Yeah the json file do exist but I found it was an empty file when I opened it.
I used
 print json_file
before
data = json.load(json_file)
and it showed:
<open file 'tmp_0.flv.json', mode 'r' at 0x7f002321f390>

That looks like the culprit. If you get the training data processing to work, I would be grateful if you would let me know. I tried following the README instructions and ended up with files with a lot of NaNs that couldn't be used for training.


Add tests for riff publish command

Replace defunct jsonpath lib with another.
Fixes #439

LGTM, merging ...

Rebased and merged as commit a7b269dc74142422a6640c9eae082e3808b7b2f6 and  8336a115a524b2f7cf3ae057610ad5d0093d782a


staking: refactor and clean up staking rate calculations

Is your feature request related to a problem? Please describe.
Currently, the staking code is in one giant Component implementation.  In particular, the staking rate calculations are all done in one big loop in the body of the end_block implementation. It would be easier to reason about them if they were broken out into functions that could compute the staking rates for each validator as a pure function with declared inputs and outputs, and if the code was generally a bit cleaner and better organized.
Additional context
This structural refactoring (changing the structure without changing the contents) will unlock the ability to make semantic changes to the functionality of the code.
TODO:

#1481
#3453

This was done in #3453.


LIfecicle Rules. How to set them

Hi there!
Seems that s3 compatible api is the go for tool.
But there are some lifecycle rules that only can be set on the b2 api.
Could someone help me on how to make a createBucket command containing the lifecycle info to set the rules upon creation?
I am trying this below, but the response comes with no lifecycle set.
try {
    await b2.authorize();

    const lifecycleRules = [
      {
        daysFromHidingToDeleting: 35,
        daysFromUploadingToHiding: null,
        fileNamePrefix: 'files/',
      },
    ];
    await b2
      .createBucket({
        bucketName: 'bucketSecretName',
        bucketType: 'allPrivate', // one of `allPublic`, `allPrivate`
        lifecycleRules,
      })
      .then((response) => {
        logger.info(response.data);
      });
  } catch (err) {
    logger.error('Error getting bucket:', err);
  }

And I get this response:
info: {
  accountId: '#########',
  bucketId: '##########',
  bucketInfo: {},
  bucketName: '###########',
  bucketType: 'allPrivate',
  corsRules: [],
  defaultServerSideEncryption: {
    isClientAuthorizedToRead: true,
    value: { algorithm: null, mode: null }
  },
  fileLockConfiguration: {
    isClientAuthorizedToRead: true,
    value: { defaultRetention: [Object], isFileLockEnabled: false }
  },
  lifecycleRules: [],  ==> COMES BLANK
  options: [ 's3' ],
  revision: 2
}

Thanks
Pucci

Looking on the source, seems that this lib does not accept additional parameters to be sent.
So I found another lib to be able to set the lifecycle rules.
if anyone is trying to pragmatically change the lifecycle settings upon bucket creation.
https://github.com/nodecraft/b2-cloud-storage
https://github.com/nodecraft/b2-cloud-storage/blob/main/docs.md#b2CloudStorage+createBucket


Several small arcade bug fixes

Fixes https://github.com/microsoft/pxt-arcade/issues/2367
Fixes https://github.com/microsoft/pxt-arcade/issues/2368
Fixes https://github.com/microsoft/pxt-arcade/issues/2366
Fixes https://github.com/microsoft/pxt-arcade/issues/2363
Fixes https://github.com/microsoft/pxt-arcade/issues/2357
Also fixes a longstanding bug with the folding behavior where monaco folds image literals in such a way that it becomes impossible to enter a newline after them.
For example, here is sprites.create in the current editor:

And here it is with these changes:

In the first picture you would need to unfold the code before you could add another line the document because pressing enter would just edit the image literal and cause it to fold again.

Also, each commit is 1 bug so that might be the easiest way to review


How to manage multiple accounts with certmagic/lego

What is your question?

Hello, I need to manage more than 300 domains (which is the rate limit per 3 hours) and may need to have multiple accounts to issue/renew the cert.
My question is about the private key generated for each account, can I use the same private key for multiple accounts or each account must have a separate private key.
Is this private key only used when issuing or renewing a cert?
What have you already tried?

I have tried single account and it works well
Include any other information or discussion.

I don't really fall into large hosting provider limit so LE will most likely reject my request
https://docs.google.com/forms/d/e/1FAIpQLSetFLqcyPrnnrom2Kw802ZjukDVex67dOM2g4O8jEbfWFs3dA/viewform
Bonus: What do you use this package for, and does it help you?

I am really inspired by his package and thx for your wonderful work, I am using lego go wrapper but would likely migrate to certmagic soon

CertMagic maps account email to ACME account key in storage (but CAs do not, they only care about distinct keys). You would need to generate a new private key to use multiple accounts.
But, I don't think that is a great idea, for a couple reasons: it's more complicated, and it adds pressure/stress on the CA's infrastructure.

I don't really fall into large hosting provider

I mean, if you need to get 300 certificates in a 3 hour timeframe, that's pretty large scale hosting tbh. I would just fill out their form. They're very good about their processes.


Need suggestion on how to convert my autocad building floor plan drawings that has asset numbers on it

Need suggestion on how to convert my autocad building floor plan drawings that has asset numbers on it, to SVG format for use on the web and still be able to read those asset numbers off of SVG file?

infiavinash, general suggestion can be found on other places. If you have some problem with dxf2tblsvg, comment it more precisly.


pull request for e2e test at 12/03/2016 23:56:03

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


make method to determine fov angle

float(uint8_t x1,uint8_t y1,uint8_t x2, uint8_t y2);
Should return the angle between x1y1 and x2y2

done


[question] How to skip password detection in Java Properties File ?

Hello,
We have tried to allow a secret in a property file but java read the full string "xyz # pragram: allowlist secrets"
password=xyz # pragma: allowlist secret

How to manage it ?
Thanks
Sylvain

If you are using pre-commit you can use the exclude option to exclude Java properties files. If you are using this tool directly, you can use the --exclude-files flag.
Let us know if this works for you.

The same issue we are facing.
we cannot add exclude files as user may commit actual passwords and the scan will not detect it.
Any solution on how to add whitelist to .properties file will be helpful.

From https://en.wikipedia.org/wiki/.properties, it looks like the issue with this is that the Java .properties doesn't allow inline comments. This mirrors other config-file like files. For example:
>>> import configparser
>>> parser = configparser.ConfigParser()
>>> parser.read_string("""\
...    [section]
...    password = xyz    # pragma: allowlist secret
... """)

>>> print(parser.items('section')[0])
('password', 'xyz  # pragma: allowlist secret')

The only way we can address this is by adding some form of "skip next line" pragma, like eslint-disable-next-line. Let me see whether I can address this in our new filters system in v1.

Fwiw I just encountered this same issue in a Dockerfile today. It will be very helpful to have a "skip next line" pragma. Anything I can do to help move this along?

@nickiaconis : if you wanted to help, you can certainly contribute a PR that bases atop the current pre-v1-adding-verification branch -- this will give you access to the dependency injected context variable (more information here: https://github.com/Yelp/detect-secrets/blob/pre-v1-launch/docs/filters.md#a-word-about-filter-internals
I'd imagine that with this context object, you can create a new filter that checks the line before to see if the flagged secret has been ignored.


Fix tests and linting in unholy app

Since switching over the api to github, a fresh ignite new Max --max no longer passes linting or tests.

das my bad, I'll fix it.


Distribute Packages

In a future step, we should distribute every domain package and publish them.
- react-tv  (Just renderer)
- react-tv-cli (Template and Generators)
- react-tv-dev-helpers (Simulators)

@raphamorim what you think about separate packages for platforms and navigation?

Hm.
I don't have sure about it right now, just because we need to run in multiples platform. Right now I'm only testing it on WebOS, when I start with Orsay, Tizen, PS4.
Then in the near future we will be able to answer that question.
I already think a premature optimization, think on distributed packages based on present unstable renderer hehe

consider use of Yarn Workspaces.


Add new monthly CMIP6 endpoint

This PR implements a new CMIP6 endpoint that serves the following variables at monthly temporal resolution:

clt
evspsbl
hfls
hfss
pr
pls
rlds
rsds
sfcWind
tas
tasmax
tasmin
ts
uas
vas

The variables are pulled from the cmip6_monthly coverage on Apollo. The variables are stored in their own coverage axis and the new API endpoint uses axis subsetting to pull only the variables that are requested to improve performance. CSV export support is also implemented.
To test, run the API like this:
git checkout cmip6_monthly
export FLASK_APP=application.py
export API_RAS_BASE_URL=https://apollo.snap.uaf.edu/rasdaman/
pipenv run flask run

Then, you can fetch the full set of variables all at once like this (this may take a couple minutes):
http://localhost:5000/cmip6/point/65/-147
To fetch just one variable, or a smaller set of variables, you can do this:
http://localhost:5000/cmip6/point/65/-147?vars=sfcWind
http://localhost:5000/cmip6/point/65/-147?vars=tas,pr
CSV exports also react accordingly, including CSV columns and metadata header lines only for the requested variables. For example:
http://localhost:5000/cmip6/point/65/-147?vars=rsds,rlds,hfss,hfls,clt&format=csv
Try testing a few arbitrary lat/lon points with arbitrary sets of variables to verify that everything works as expected. Also please double check that the values for the requested variables are sane.
Also, this PR does not include documentation for the endpoint. I plan to tackle this separately via ticket #471.

One exception I may have found is when you goof the name of the vars argument like this:
http://localhost:5000/cmip6/point/60/-147?foo=pr
Rather than failing, this will fetch the same data as:
http://localhost:5000/cmip6/point/60/-147

I tried this against some of our other endpoints, and yeah, if you attempt to pass an unrecognized GET parameter, it silently ignores it. Looks like this behavior has already been captured in ticket #337, and IMO it'd be best to tackle this for all endpoints at once as a separate PR.


'-f' switch not working?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2022.10.04 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Simple question. I wanted to download a 4k version of a video. the -F list:
ID       EXT RESOLUTION FPS │   FILESIZE    TBR PROTO │ VCODEC         VBR ACODEC    ABR ASR MORE INFO
quad     mp4 unknown        │                   https │ unknown            unknown
ultra    mp4 unknown        │                   https │ unknown            unknown
hls-8147 mp4 2560x1440   25 │ ~  7.49GiB  8147k m3u8  │ unknown      8147k unknown    0k
mpd-6    mp4 2560x1440   25 │ ~  6.99GiB  7610k https │ avc1.640032  7610k mp4a.40.2  0k 44k DASH video, mp4_dash
hls-9071 mp4 3840x2160   25 │ ~  8.33GiB  9071k m3u8  │ unknown      9071k unknown    0k
mpd-7    mp4 3840x2160   25 │ ~ 15.51GiB 16876k https │ avc1.640033 16876k mp4a.40.2  0k 44k DASH video, mp4_dash
I tried the mpd-7 option in:
yt-dlp -f mpd-7  https://ok.ru/video/1492796246781
and consistently got a 7+gb version,
The output:
C:\yt-dlp>yt-dlp -f mpd-7  https://ok.ru/video/1492796246781
[Odnoklassniki]<PHONE_NUMBER>781: Downloading desktop webpage
[Odnoklassniki]<PHONE_NUMBER>781: Downloading m3u8 information
[info]<PHONE_NUMBER>781: Downloading 1 format(s): mpd-7
[download] Destination: 1958-Ölüm Korkusu-Vertigo-James Stewart-1080p,TR.FHd [1492796246781].mp4
[download]   0.2% of    7.52GiB at    5.03MiB/s ETA 25:28
Did I miss something or is the file just not available?
Thank you.
Jim J.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
C:\yt-dlp>yt-dlp -vU -f mpd-7  https://ok.ru/video/1492796246781
[debug] Command-line config: ['-vU', '-f', 'mpd-7', 'https://ok.ru/video/1492796246781']
[debug] Encodings: locale cp65001, fs utf-8, pref cp65001, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f] (win32_exe)
[debug] Python 3.8.10 (CPython 64bit) - Windows-10-10.0.22621-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 2022-06-16-git-5242ede48d-essentials_build-www.gyan.dev (setts), ffprobe 2022-06-16-git-5242ede48d-essentials_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1690 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.10.04, Current version: 2022.10.04
yt-dlp is up to date (2022.10.04)
[debug] [Odnoklassniki] Extracting URL: https://ok.ru/video/1492796246781
[Odnoklassniki]<PHONE_NUMBER>781: Downloading desktop webpage
[Odnoklassniki]<PHONE_NUMBER>781: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info]<PHONE_NUMBER>781: Downloading 1 format(s): mpd-7
[debug] Invoking http downloader on "https://vd341.mycdn.me/?expires=1667704996182&srcIp=<IP_ADDRESS>&pr=10&srcAg=CHROME&ms=<IP_ADDRESS>&type=7&sig=0VvwHilkxDA&ct=4&urls=<IP_ADDRESS>&clientType=0&id=670726753021"
[download] Resuming download at byte 590002943
[debug] File locking is not supported. Proceeding without locking
[download] Destination: 1958-Ölüm Korkusu-Vertigo-James Stewart-1080p,TR.FHd [1492796246781].mp4
[download]   7.5% of    7.52GiB at    5.05MiB/s ETA 23:31

The approx filesize yt-dlp reports (~ prefix) can sometimes be wildly inaccurate


simple question  - Start in Full Screen

A dumb question... in Json file I can set the resolution for GUI,  ok.
But I want the app starts on full Screen, how I can do that? @joedf

Fullscreen is not a supported feature. Easy to implement, I'll try to add this tonight.

Oh, Will be awesome! @joedf .
Thanks!

Here we go
https://github.com/joedf/Webapp.ahk/commit/3bad43d16ca37f688275fc74d2519323e4545938


Add Extension to Open VSX registry https://open-vsx.org/

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
To be able to access gistpad  from Gitpod
Describe alternatives you've considered
Add Extension to Open VSX registry https://open-vsx.org/
Additional context
N/A

Hey! Unfortunately, I don't have the bandwidth to support this extension in other distributions of VS Code. And so I'm going to close this for now, and we can reassess it later. Thanks! 👍


Add a Predicates.exists(ResultStatement) overload

Like SQL, Cypher supports EXISTS() with subqueries, see:
https://neo4j.com/docs/cypher-manual/current/syntax/expressions/#existential-subquery-with-where
Unless I'm misunderstanding some types from Cypher DSL, this doesn't yet have any representation in Cypher DSL?

Partially there as org.neo4j.cypherdsl.core.StatementBuilder.ExposesExistentialSubqueryCall#asCondition

I see, I can probably work with that for now.

Or, you try it :)

This is an interesting case. Subqueries are useful for constructing Cypher from reusable building blocks.
I have methods returning Statement, for example Statement getParent(Node startNode, Node parentNode), where startNode is input, parentNode is output.
ExposesExistentialSubqueryCall#asCondition works, but it causes that I would have to have two separate methods for the same subquery.
Is there a way to share the building blocks for both CALL and EXISTS?

@zakjan I hope the suggested implementation is what you are referring to. The same API will now be there for count, exists, call, however a bit scattered (see #573, but that is a different story).

Thanks, @zakjan much appreciated!


Crash when adding animation prop to Card

Current Behavior
Hello !
First of all, thank you for your work. I use it for a while already but It seems that I often get a crash when I add an animation prop to components.
Here, I take the tamagui expo router template freshly installed with quick packages update.
It crashes when I simply add to my existing <Card> a pressStyle and then an animation props.
If you need any more helps, let me know!
Thank you !
ERROR  Warning: React has detected a change in the order of Hooks called by Card. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks

   Previous render            Next render
   ------------------------------------------------------
1. useId                      useId
2. useContext                 useContext
3. useContext                 useContext
4. useRef                     useRef
5. useState                   useContext
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    in Card (at (tabs)/index.tsx:8)
    in RCTView
    in Unknown (at (tabs)/index.tsx:5)
    in TabOneScreen (at useScreens.js:112)
    in Unknown (at useScreens.js:116)
    in Suspense (at useScreens.js:115)
    in Route (at useScreens.js:131)
    in Route(index) (at SceneView.tsx:132)
    in StaticContainer
    in EnsureSingleNavigator (at SceneView.tsx:124)
    in SceneView (at useDescriptors.tsx:218)
    in RCTView (at View.js:116)
    in View (at Screen.tsx:63)
    in RCTView (at View.js:116)
    in View (at Background.tsx:13)
    in Background (at Screen.tsx:58)
    in Screen (at BottomTabView.tsx:135)
    in RNSScreen (at createAnimatedComponent.js:54)
    in Unknown (at src/index.native.tsx:314)
    in Suspender (at src/index.tsx:40)
    in Suspense (at src/index.tsx:39)
    in Freeze (at src/index.native.tsx:206)
    in DelayedFreeze (at src/index.native.tsx:313)
    in InnerScreen (at src/index.native.tsx:566)
    in Screen (at ScreenFallback.tsx:39)
    in MaybeScreen (at BottomTabView.tsx:127)
    in RNSScreenNavigationContainer (at src/index.native.tsx:398)
    in ScreenContainer (at ScreenFallback.tsx:30)
    in MaybeScreenContainer (at BottomTabView.tsx:93)
    in RCTView (at View.js:116)
    in View (at SafeAreaProviderCompat.tsx:42)
    in SafeAreaProviderCompat (at BottomTabView.tsx:92)
    in BottomTabView (at createBottomTabNavigator.tsx:118)
    in PreventRemoveProvider (at useNavigationBuilder.tsx:718)
    in NavigationContent (at useComponent.tsx:35)
    in Unknown (at createBottomTabNavigator.tsx:117)
    in BottomTabNavigator (at withLayoutContext.js:65)
    in Unknown (at _layout.tsx:7)
    in TabLayout (at useScreens.js:112)
    in Unknown (at useScreens.js:116)
    in Suspense (at useScreens.js:115)
    in Route (at useScreens.js:131)
    in Route((tabs)) (at SceneView.tsx:132)
    in StaticContainer
    in EnsureSingleNavigator (at SceneView.tsx:124)
    in SceneView (at useDescriptors.tsx:218)
    in RCTView (at View.js:116)
    in View (at DebugContainer.native.tsx:34)
    in DebugContainer (at NativeStackView.native.tsx:82)
    in MaybeNestedStack (at NativeStackView.native.tsx:325)
    in RCTView (at View.js:116)
    in View (at NativeStackView.native.tsx:318)
    in RNSScreen (at createAnimatedComponent.js:54)
    in Unknown (at src/index.native.tsx:314)
    in Suspender (at src/index.tsx:40)
    in Suspense (at src/index.tsx:39)
    in Freeze (at src/index.native.tsx:206)
    in DelayedFreeze (at src/index.native.tsx:313)
    in InnerScreen (at src/index.native.tsx:566)
    in Screen (at NativeStackView.native.tsx:253)
    in SceneView (at NativeStackView.native.tsx:413)
    in Suspender (at src/index.tsx:40)
    in Suspense (at src/index.tsx:39)
    in Freeze (at src/index.native.tsx:206)
    in DelayedFreeze (at src/index.native.tsx:220)
    in RNSScreenStack (at src/index.native.tsx:227)
    in ScreenStack (at NativeStackView.native.tsx:401)
    in NativeStackViewInner (at NativeStackView.native.tsx:474)
    in RCTView (at View.js:116)
    in View (at SafeAreaProviderCompat.tsx:42)
    in SafeAreaProviderCompat (at NativeStackView.native.tsx:473)
    in NativeStackView (at createNativeStackNavigator.tsx:72)
    in PreventRemoveProvider (at useNavigationBuilder.tsx:718)
    in NavigationContent (at useComponent.tsx:35)
    in Unknown (at createNativeStackNavigator.tsx:71)
    in NativeStackNavigator (at withLayoutContext.js:65)
    in Unknown (at _layout.tsx:49)
    in ThemeProvider (at _layout.tsx:48)
    in PortalProviderComponent (created by TamaguiProvider)
    in Theme (created by ThemeProvider)
    in ThemeProvider (created by TamaguiProvider)
    in Provider (created by TamaguiProvider)
    in TamaguiProvider (created by TamaguiProvider)
    in TamaguiProvider (at _layout.tsx:47)
    in RootLayoutNav (at _layout.tsx:40)
    in RootLayout
    in Try (at useScreens.js:73)
    in Unknown (at useScreens.js:112)
    in Unknown (at useScreens.js:116)
    in Suspense (at useScreens.js:115)
    in Route (at useScreens.js:131)
    in Route() (at ExpoRoot.js:90)
    in RNCSafeAreaProvider (at SafeAreaContext.tsx:92)
    in SafeAreaProvider (at ExpoRoot.js:55)
    in wrapper (at ExpoRoot.js:89)
    in EnsureSingleNavigator (at BaseNavigationContainer.tsx:430)
    in BaseNavigationContainer (at NavigationContainer.native.js:105)
    in ThemeProvider (at NavigationContainer.native.js:104)
    in NavigationContainerInner (at ExpoRoot.js:86)
    in ContextNavigator (at ExpoRoot.js:64)
    in ExpoRoot (at qualified-entry.js:20)
    in App (created by ErrorOverlay)
    in ErrorToastContainer (created by ErrorOverlay)
    in ErrorOverlay (at withDevTools.ios.js:29)
    in withDevTools(ErrorOverlay) (at renderApplication.js:57)
    in RCTView (at View.js:116)
    in View (at AppContainer.js:127)
    in RCTView (at View.js:116)
    in View (at AppContainer.js:155)
    in AppContainer (at renderApplication.js:50)
    in main(RootComponent) (at renderApplication.js:67)
 ERROR  TypeError: Cannot read property 'length' of undefined

This error is located at:
    in Card (at (tabs)/index.tsx:8)
    in RCTView
    in Unknown (at (tabs)/index.tsx:5)
    in TabOneScreen (at useScreens.js:112)
    in Unknown (at useScreens.js:116)
    in Suspense (at useScreens.js:115)
    in Route (at useScreens.js:131)
    in Route(index) (at SceneView.tsx:132)
    in StaticContainer
    in EnsureSingleNavigator (at SceneView.tsx:124)
    in SceneView (at useDescriptors.tsx:218)
    in RCTView (at View.js:116)
    in View (at Screen.tsx:63)
    in RCTView (at View.js:116)
    in View (at Background.tsx:13)
    in Background (at Screen.tsx:58)
    in Screen (at BottomTabView.tsx:135)
    in RNSScreen (at createAnimatedComponent.js:54)
    in Unknown (at src/index.native.tsx:314)
    in Suspender (at src/index.tsx:40)
    in Suspense (at src/index.tsx:39)
    in Freeze (at src/index.native.tsx:206)
    in DelayedFreeze (at src/index.native.tsx:313)
    in InnerScreen (at src/index.native.tsx:566)
    in Screen (at ScreenFallback.tsx:39)
    in MaybeScreen (at BottomTabView.tsx:127)
    in RNSScreenNavigationContainer (at src/index.native.tsx:398)
    in ScreenContainer (at ScreenFallback.tsx:30)
    in MaybeScreenContainer (at BottomTabView.tsx:93)
    in RCTView (at View.js:116)
    in View (at SafeAreaProviderCompat.tsx:42)
    in SafeAreaProviderCompat (at BottomTabView.tsx:92)
    in BottomTabView (at createBottomTabNavigator.tsx:118)
    in PreventRemoveProvider (at useNavigationBuilder.tsx:718)
    in NavigationContent (at useComponent.tsx:35)
    in Unknown (at createBottomTabNavigator.tsx:117)
    in BottomTabNavigator (at withLayoutContext.js:65)
    in Unknown (at _layout.tsx:7)
    in TabLayout (at useScreens.js:112)
    in Unknown (at useScreens.js:116)
    in Suspense (at useScreens.js:115)
    in Route (at useScreens.js:131)
    in Route((tabs)) (at SceneView.tsx:132)
    in StaticContainer
    in EnsureSingleNavigator (at SceneView.tsx:124)
    in SceneView (at useDescriptors.tsx:218)
    in RCTView (at View.js:116)
    in View (at DebugContainer.native.tsx:34)
    in DebugContainer (at NativeStackView.native.tsx:82)
    in MaybeNestedStack (at NativeStackView.native.tsx:325)
    in RCTView (at View.js:116)
    in View (at NativeStackView.native.tsx:318)
    in RNSScreen (at createAnimatedComponent.js:54)
    in Unknown (at src/index.native.tsx:314)
    in Suspender (at src/index.tsx:40)
    in Suspense (at src/index.tsx:39)
    in Freeze (at src/index.native.tsx:206)
    in DelayedFreeze (at src/index.native.tsx:313)
    in InnerScreen (at src/index.native.tsx:566)
    in Screen (at NativeStackView.native.tsx:253)
    in SceneView (at NativeStackView.native.tsx:413)
    in Suspender (at src/index.tsx:40)
    in Suspense (at src/index.tsx:39)
    in Freeze (at src/index.native.tsx:206)
    in DelayedFreeze (at src/index.native.tsx:220)
    in RNSScreenStack (at src/index.native.tsx:227)
    in ScreenStack (at NativeStackView.native.tsx:401)
    in NativeStackViewInner (at NativeStackView.native.tsx:474)
    in RCTView (at View.js:116)
    in View (at SafeAreaProviderCompat.tsx:42)
    in SafeAreaProviderCompat (at NativeStackView.native.tsx:473)
    in NativeStackView (at createNativeStackNavigator.tsx:72)
    in PreventRemoveProvider (at useNavigationBuilder.tsx:718)
    in NavigationContent (at useComponent.tsx:35)
    in Unknown (at createNativeStackNavigator.tsx:71)
    in NativeStackNavigator (at withLayoutContext.js:65)
    in Unknown (at _layout.tsx:49)
    in ThemeProvider (at _layout.tsx:48)
    in PortalProviderComponent (created by TamaguiProvider)
    in Theme (created by ThemeProvider)
    in ThemeProvider (created by TamaguiProvider)
    in Provider (created by TamaguiProvider)
    in TamaguiProvider (created by TamaguiProvider)
    in TamaguiProvider (at _layout.tsx:47)
    in RootLayoutNav (at _layout.tsx:40)
    in RootLayout
    in Try (at useScreens.js:73)
    in Unknown (at useScreens.js:112)
    in Unknown (at useScreens.js:116)
    in Suspense (at useScreens.js:115)
    in Route (at useScreens.js:131)
    in Route() (at ExpoRoot.js:90)
    in RNCSafeAreaProvider (at SafeAreaContext.tsx:92)
    in SafeAreaProvider (at ExpoRoot.js:55)
    in wrapper (at ExpoRoot.js:89)
    in EnsureSingleNavigator (at BaseNavigationContainer.tsx:430)
    in BaseNavigationContainer (at NavigationContainer.native.js:105)
    in ThemeProvider (at NavigationContainer.native.js:104)
    in NavigationContainerInner (at ExpoRoot.js:86)
    in ContextNavigator (at ExpoRoot.js:64)
    in ExpoRoot (at qualified-entry.js:20)
    in App (created by ErrorOverlay)
    in ErrorToastContainer (created by ErrorOverlay)
    in ErrorOverlay (at withDevTools.ios.js:29)
    in withDevTools(ErrorOverlay) (at renderApplication.js:57)
    in RCTView (at View.js:116)
    in View (at AppContainer.js:127)
    in RCTView (at View.js:116)
    in View (at AppContainer.js:155)
    in AppContainer (at renderApplication.js:50)
    in main(RootComponent) (at renderApplication.js:67), js engine: hermes

Expected Behavior
No response
Tamagui Version
{
  "name": "astronef",
  "main": "expo-router/entry",
  "version": "1.0.0",
  "scripts": {
    "upgrade:tamagui": "yarn up '*tamagui*'@latest '@tamagui/*'@latest",
    "upgrade:tamagui:canary": "yarn up '*tamagui*'@canary '@tamagui/*'@canary",
    "start": "expo start",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "test": "jest --watchAll"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "@expo/metro-runtime": "~3.1.3",
    "@react-navigation/native": "^6.1.10",
    "@tamagui/babel-plugin": "^1.89.30",
    "@tamagui/config": "^1.89.30",
    "@tamagui/metro-plugin": "^1.89.30",
    "babel-preset-expo": "^10.0.1",
    "expo": "~50.0.7",
    "expo-font": "~11.10.3",
    "expo-linking": "~6.2.2",
    "expo-router": "~3.4.7",
    "expo-splash-screen": "~0.26.4",
    "expo-status-bar": "~1.11.1",
    "expo-system-ui": "~2.9.3",
    "react": "^18.2.0",
    "react-native": "0.73.4",
    "react-native-reanimated": "~3.7.0",
    "react-native-safe-area-context": "4.9.0",
    "react-native-screens": "~3.29.0",
    "tamagui": "^1.89.30",
    "typescript": "^5.3.3"
  },
  "devDependencies": {
    "@babel/core": "^7.23.9",
    "@types/react": "~18.2.56"
  },
  "private": true,
  "packageManager"<EMAIL_ADDRESS>}

Platform (Web, iOS, Android)
Only iOS tested.
I disabled Web on purpose.

Reproduction
import { Card, Text, View } from 'tamagui'

export default function TabOneScreen() {
  return (
    <View flex={1} alignItems="center" gap="$5">
      <Text fontSize={20}>Tab One</Text>

      <Card pressStyle={{ scale: 0.95 }} animation='bouncy'>
        <Card.Header>
          <Text>Card Title</Text>
        </Card.Header>
        <Card.Footer>
          <Text>Card Footer</Text>
        </Card.Footer>
      </Card>
    </View>
  )
}

```js
// babel
module.exports = (api) => {
  api.cache(true)
  return {
    presets: ['babel-preset-expo'],
    plugins: [
      ["@tamagui/babel-plugin", {
        components: ["tamagui"],
        config: "./tamagui.config.ts",
        logTimings: true,
        disableExtraction: process.env.NODE_ENV === 'development'
      }],
      // NOTE: this is only necessary if you are using reanimated for animations
      "react-native-reanimated/plugin",
    ],
  }
}

// metro
// Learn more https://docs.expo.io/guides/customizing-metro
const { getDefaultConfig } = require('expo/metro-config')

/** @type {import('expo/metro-config').MetroConfig} */
let config = getDefaultConfig(__dirname)

// 2. Enable Tamagui
const { withTamagui } = require('@tamagui/metro-plugin')
module.exports = withTamagui(config, {
  components: ['tamagui'],
  config: './tamagui.config.ts',
})

### System Info

```markdown
System:
    OS: macOS 14.3.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 53.22 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm
    bun: 1.0.27 - ~/.bun/bin/bun
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 121.0.6167.184
    Safari: 17.3.1
  npmPackages:
    @babel/core: ^7.23.9 => 7.23.9
    @expo/metro-runtime: ~3.1.3 => 3.1.3
    @react-navigation/native: ^6.1.10 => 6.1.10
    @tamagui/babel-plugin: ^1.89.30 => 1.89.30
    @tamagui/config: ^1.89.30 => 1.89.30
    @tamagui/metro-plugin: ^1.89.30 => 1.89.30
    @types/react: ~18.2.56 => 18.2.56
    babel-preset-expo: ^10.0.1 => 10.0.1
    expo: ~50.0.7 => 50.0.7
    expo-font: ~11.10.3 => 11.10.3
    expo-linking: ~6.2.2 => 6.2.2
    expo-router: ~3.4.7 => 3.4.7
    expo-splash-screen: ~0.26.4 => 0.26.4
    expo-status-bar: ~1.11.1 => 1.11.1
    expo-system-ui: ~2.9.3 => 2.9.3
    react: ^18.2.0 => 18.2.0
    react-native: 0.73.4 => 0.73.4
    react-native-reanimated: ~3.7.0 => 3.7.0
    react-native-safe-area-context: 4.9.0 => 4.9.0
    react-native-screens: ~3.29.0 => 3.29.0
    tamagui: ^1.89.30 => 1.89.30
    typescript: ^5.3.3 => 5.3.3

wasn't able to re-produce!
sometimes that error happens when you can animation config settings, or change the animation on the fly
make sure if you change animation prop you need to change key prop of that component to re-mount the component


Guide on how to compile/run/utilize the emulator

Hi there,
Sorry for creating an "issue", but would you mind providing a tutorial on how to get this up and running on a Windows machine? I'm quite interested in trying it out. I've got python installed, but once it comes to pip and flask and I completely lost.
Another question that I have, do support for games have to be added to the code of the emulator for it to work? Or can one test multiple games to see what is compatible and what isn't?
Thanks,
SC

PIP gets installed with standard Python distros, if you dont have a PATH environment variable for it you should add the path to pip.exe there first.
To run gsconnect web service run this from the project's root dir:
pip install -r requirements.txt
cd gsconnect
python gsconnect.py

This downloads all the needed dependencies and starts the gsconnect server emu on port 80 (http).

Thanks a lot for the quick reply. I'll try out what you said, sounds / seem straight forward enough. And yeah, I wouldn't mind test as many games as I possibly can to see what works and what doesn't work.
If I do encounter working titles, I'll be sure to make a list, that way we can update the list of supported games. Thanks for creating this, I'm always in awe of emu projects such as these and wish that I too had the knowledge to do something similar.
Keep up the great work :)


"Why not platform?" links to discussion not aimed at beginners

Why is the "Why not platform?" link there?
It links at this discussion, which starts with an enumeration of things new people won't understand. Wouldn't a brief explanation that beginners would understand be much better?

Oh probably, but I'd already written that long-butt email so I linked it.

It's just that I don't think it's not very useful for the target audienceto read. Not useful at all actually.
Well, it's your call.

If it needs fixed, it needs fixed. Reopening until it is.


lnk files

I notice that the lnk files do not appear in Files while they are actually present in Explorer. Is an update planned

This is the website repo, not the app repo. please file an issue there.


syscall: EBADFD not defined for the wasip1 target

What version of Go are you using (go version)?
go version go1.21rc2 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env

What did you do?
I tried to compile some code using the spf13/afero library to the wasip1 target
A simple reproducer can be found here:
https://go.dev/play/p/3KyfMD2DTUd
What did you expect to see?
I expected the compilation to be successful
What did you see instead?
The compilation failed with this error:
GOOS=wasip1 GOARCH=wasm go build -o main.wasm
# github.com/spf13/afero
../go/pkg/mod/github.com/spf13/afero@v1.9.5/const_win_unix.go:22:23: undefined: syscall.EBADFD

CC @johanbrandhorst: sorry about the direct mention. I'm pinging you since you are in charge of the WASI port, and I think this might be relevant for you

/cc @golang/wasm

There are lots of systems that don't define EBADFD.  Currently it seems to be defined only on Linux, Solaris, and Windows.  Is it needed for wasip1?  The package github.com/spf13/afero is already set up to use build tags for portability; perhaps we should instead adjust those build tags.

I can totally patch github.com/spf13/afero to make it work with wasip1.
I noticed EBADFD is defined inside of wasi-libc, which is then used by wasi-sdk. However I don't know if this is a strong enough motivation to have Go define this error :woman_shrugging:

I don't know much about wasi, but if the wasi C library does define and use EBADFD, then I'm OK with defining it in Go's syscall package.  Thanks.

It sounds like we just need a patch here, so I applied the "help wanted" label and moved it to NeedsFix. Thanks.


Terraform Error: The bucket does not allow ACLs

Getting the following error when setting up the project:
│ Error: creating S3 bucket ACL for tf-validate-project-rpl20230723095148611900000001: AccessControlListNotSupported: The bucket does not allow ACLs
│   status code: 400, request id: V6MDTSSF5QK5H1JT, host id: KME82KNLmvnEfdMNOsbUfC8+bf1F6KiSYfcppi3NnFOZgVwOjdd0qwoHh+Dfsv+sE7xDNIiten8=
│
│   with module.s3_artifacts_bucket.aws_s3_bucket_acl.replication_bucket_acl,
│   on modules/s3/main.tf line 120, in resource "aws_s3_bucket_acl" "replication_bucket_acl":
│  120: resource "aws_s3_bucket_acl" "replication_bucket_acl" {
│
╵
╷
│ Error: creating S3 bucket ACL for tf-validate-project20230723100746984200000001: AccessControlListNotSupported: The bucket does not allow ACLs
│   status code: 400, request id: ABM8EN00AAZVR2W3, host id: loDvDdpHBCpKuVnLCzztPyQcLiH453qit9bh9rdyZdetBRoY08oFXOlDZmZuNc8Wl9oAo35QbnU=
│
│   with module.s3_artifacts_bucket.aws_s3_bucket_acl.codepipeline_bucket_acl,
│   on modules/s3/main.tf line 199, in resource "aws_s3_bucket_acl" "codepipeline_bucket_acl":
│  199: resource "aws_s3_bucket_acl" "codepipeline_bucket_acl" {
│
╵
Which alignes well with this following issue: https://github.com/terraform-aws-modules/terraform-aws-s3-bucket/issues/223
As s3 buckets would have ACLs disabled by default from April (Announced in december): https://aws.amazon.com/about-aws/whats-new/2022/12/amazon-s3-automatically-enable-block-public-access-disable-access-control-lists-buckets-april-2023/

+1 - will do a PR to have this removed.


Fabio can connect to Consul using TLS for secure communication.

This change updates Fabio's configuration parameters to allow use and specification of TLS certificates for HTTPS. In Consul setups where full TLS is configured using CA private this allows Fabio to work in a secure manner.
I have tested this change locally with a Consul TLS setup; log fragments are shown below to provide further detail:
./fabio -registry.consul.caFile=/Users/rasellj/opt/hashicorp/ca/rasellj-ca.pem -registry.consul.enableSSL -registry.consul.keyFile=/Users/rasellj/opt/hashicorp/consul/consul-server-key.pem -registry.consul.certFile=/Users/rasellj/opt/hashicorp/consul/consul-server.pem -registry.consul.verifySSL

"EnableSSL": true,
"VerifySSL": true,
"CAFile": "/Users/rasellj/opt/hashicorp/ca/rasellj-ca.pem",
"CertFile": "/Users/rasellj/opt/hashicorp/consul/consul-server.pem",
"KeyFile": "/Users/rasellj/opt/hashicorp/consul/consul-server-key.pem"

2017/11/20 09:44:50 [INFO] Version v1.5.3-10-g5b2fe34 starting
2017/11/20 09:44:50 [INFO] Go runtime is go1.9
2017/11/20 09:44:50 [INFO] Metrics disabled
2017/11/20 09:44:50 [INFO] Setting GOGC=800
2017/11/20 09:44:50 [INFO] Setting GOMAXPROCS=8
2017/11/20 09:44:50 [INFO] consul: Connecting to "localhost:8500" in datacenter "dc1"
2017/11/20 09:44:50 [INFO] Admin server access mode "rw"
2017/11/20 09:44:50 [INFO] Admin server listening on ":9998"
2017/11/20 09:44:50 [INFO] Waiting for first routing table
2017/11/20 09:44:50 [INFO] consul: Using dynamic routes
2017/11/20 09:44:50 [INFO] consul: Using tag prefix "urlprefix-"
2017/11/20 09:44:50 [INFO] consul: Watching KV path "/fabio/config"
2017/11/20 09:44:53 [INFO] consul: Registered fabio with id "REDACTED-9998"
2017/11/20 09:44:53 [INFO] consul: Registered fabio with address "<IP_ADDRESS>"
2017/11/20 09:44:53 [INFO] consul: Registered fabio with tags ""
2017/11/20 09:44:53 [INFO] consul: Registered fabio with health check to "http://[<IP_ADDRESS>]:9998/health"
2017/11/20 09:44:54 [INFO] consul: Manual config changed to #1
2017/11/20 09:44:54 [INFO] HTTP proxy listening on :9999
2017/11/20 09:44:54 [INFO] Access logging disabled
2017/11/20 09:44:54 [INFO] Using routing strategy "rnd"
2017/11/20 09:44:54 [INFO] Using route matching "prefix"
2017/11/20 09:44:54 [INFO] consul: Health changed to #6

Feedback would be appreciated, and any changes requested will be acted upon promptly.
Closes #276

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

The test failures seem to be sporadic and I do not believe they are related to my changes.

@magiconair would it be possible to get some feedback on this PR?

Yes. I’ll have a look later today. Sorry for the delay

Why do you need a key? This is for making TLS connections to consul, correct? Can’t you just add the ca file to the trusted root CAs in /etc/ssl?

And use an https URL for consul obviously

@magiconair yes that is an option and is what I currently do in my setups. I was merely adding this feature as detailed in the ticket #276

Ah, the cert and key are used for client cert authentication. The example uses the Consul server cert and that doesn't seem correct.
I can see several use cases:

Use HTTPS:
add registry.consul.scheme=https option

Use custom CA:
add registry.consul.tls.ca_path=/path/to/certs

disable cert validation
add registry.consul.tls.skip_verify = {true,false} to be (somewhat) consistent with the other options

enable client cert authentication
add registry.consul.tls.client_cert=/path/to/cert.pem and registry.consul.tls.client_key=/path/to/key.pem The key should be optional if both cert and key are in the same file. In this case both should point to the same file.

Hi, I also faced a need for this functionality today.
But code in this PR have few issues and is not fully working -  @jrasell  see my comments on File changes tab

Hello, i need this functionality too.
Currently blocked because of lack of https to search consul. :(
How can we help ?

How about merge to next release? It's blocker feature for our deployment.

@jrasell @sev3ryn is this abandoned? I also need this as well as its a blocker .. let me know if I can help, happy to try to refactor this PR.

This can be closed since #602 was merged, right?

Yes, thanks for the reminder.


New version: Zoom.ZoomOutlookPlugin version <IP_ADDRESS>1

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Current manifest version 5.17.0 has 3 parameters, which is less than this PR's version number <IP_ADDRESS>1's 4 parameters.

Hi @PckgrBot,

Current manifest version 5.17.0 has 3 parameters, which is less than this PR's version number <IP_ADDRESS>1's 4 parameters.

Is this intentional?

Yep just checked, it is.


Setup option for writing to a build directory

My installation for TypeScript is writing *.js and *.map files to the source directories, polluting these directories.
I have not yet figured out how to get them to write elsewhere, but it sure would have been nice for this to be a y/n option during setup.
I have another repo that uses Svelte (not SvelteKit) and jest with ts-jest, and it's writing to the outDir directory specified in tsconfig.json. That's not working for me here:
// tsconfig.spec.json
{
  "extends": "./tsconfig.json",
  "compilerOptions": {
    "isolatedModules": false,
    "outDir": "build"
  },
  "exclude": [
    "src/**"
  ],
  "include": [
    "src/**/*.spec.ts"
  ]
}

Aside from extending the setup, I'd love to hear how I might make this happen.

Never mind. This was a problem of habit. In my other ts-jest installations, I'll often run tsc to check things. Can't do that here. Have to run yarn test instead, and then the build files don't pollute the source.


Unnecessary prompts for ng new when using create application false (i.e. Conditional Prompts)

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)
- [x] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

CLI: 7.1.4
Repro steps

Generating workspace without application still causes questions about the app:
ng new myapp --create-application=false
? Would you like to add Angular routing? No
? Which stylesheet format would you like to use? CSS

CREATE myapp/README.md (1027 bytes)
CREATE myapp/angular.json (135 bytes)
CREATE myapp/package.json (1262 bytes)
CREATE myapp/tsconfig.json (435 bytes)
CREATE myapp/tslint.json (2824 bytes)
CREATE myapp/.editorconfig (246 bytes)
CREATE myapp/.gitignore (576 bytes)

The log given by the failure

Desired functionality

The CLI should not ask questions about application it is not going to generate anyway.
Mention any other details that might be useful

There are actually a range of different issues related to --create-application=false. It needs a good deal of cleanup.
For example, it's not expected that ng new --create-application=false --styles=scss --routing=false would accept the styles and routing options and then completely ignore them. They don't get added to the angular.json, so a subsequent ng g app myapp gets generated with .css files.
If these options aren't compatible with --create-application=false (which I believe is the case since there is no spot to put them in angular.json for an empty workspace), then this should be documented and there should be a warning or error message when trying to use them together.
Here's an empty workspace angular.json for reference:
{
  "$schema"<EMAIL_ADDRESS>  "version": 1,
  "newProjectRoot": "projects",
  "projects": {}
}

This testing was done with 7.3.6. @alan-agius4 it sure would be nice to get this cleaned up for version 8 where we add --create-application=false to the official docs.

Hello!
@FrozenPandaz and I were discussing another use case for Conditional Prompts on the Nx repo (see https://github.com/nrwl/nx/issues/1211) which could be achievable via Inquirer's when option.
However, we wanted to move that discussion here since the implementation seemed less trivial than we thought for our particular use case. Given the way the x-prompt schema is defined, if we wanted to only ask questions based on previous answers we would need to define "optional" properties on the schematic's schema (example here: https://github.com/nrwl/nx/issues/1211#issuecomment-478974495).
AFAICT using the when option could also help towards solving the issue described on this ticket without further complexity, but let me know if I should open a separate ticket to specifically address the use case described on the Nx issue :)

I think many of issues related to --create-application=false can be solved by moving some prompts from the ng new schematic to the application schematic where they truly belong.
I have started experimenting with this in this draft PR.
Should I continue working on this issue?

Late to the party, but I just experienced this today (I've never used a workspace before). When it prompted me to select the preferred stylesheet format, I assumed that this would be a default automatically applied or inherited by all subsequent projects. This assumption was reinforced when I called generate application and it did not prompt me ... but then the application it created used the default (css) instead of what I selected on the workspace creation (scss).
So while the obvious fix would be to remove the prompts entirely, a potentially useful alternative would be to inherit the workspace's configuration in generated child projects. (Global configuration, as far as I understand, is one of the benefits of using workspaces for multiple projects...)
Just laying this out there; I didn't want to open a new ticket since this one was already open.

If this issue is affecting you, please 👍 the first post.

The application schematic now supports --routing and --style thanks to PR https://github.com/angular/angular-cli/pull/14638.
Next we need to update the ng new schematic prompting.

Yes, I am currently working on it :)

I just made a PR #15207 to solve this issue 🙂.

For now all unit tests are green but e2e tests are red :(

All looks good in the PR now! Thank you.


Include references on observation page, if that field is a link

For Natuurpunt data this is a shortcut to the observation page on waarnemingen.be.
Example: https://waarnemingen.be/observation/228066944 on https://www.gbif.org/occurrence/3400317634

Excellent suggestion, thanks!

That's implemented!


Changed background of word guessing game

PR Description 📜
Fixes #3924
I changed the background of word guessing game, before that it was quite simple.

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @TusharChamlikar ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @TusharChamlikar , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Look at how to factor out JSON/text support

JSON/text support is currently provided directly in the same generated message as binary support. In some use cases, a client may not need text/JSON support, so it simply adds bloat:

A user wants to use protobuf to represent their application's data model on disk and only needs binary coding.
A user is speaking directly to a service that communicates in binary PB format on the wire for transmission efficiency.

It should be possible to slice JSON/text serialization support out of the standard generated message and move them into extensions, perhaps even in separate files (e.g., foo.pb.swift, foo.pb+json.swift, foo.pb+text.swift; names bike-sheddable).
This would let clients decide which support they need, without adding complexity to the generator with extra switches or options. A user who only needs binary support just takes the .pb.swift files; someone who needs JSON support would also include the .pb+json.swift files, and so forth.
Even in an application that only uses binary encoding for storage/transmission, text format can be useful for debugging. Factoring it out into separate files has the benefit of letting users only include it in their debug/testing builds, and leave production builds slim.
Since the amount of generated code to support these additional formats is not insignificant, this would prevent users from shipping unnecessary bloat (dead stripping can be unpredictable).

If I understand correctly, you're suggesting that we first implement Issue #9, and then:

Have the library provide default (empty) fieldNumber → name and name → fieldNumber maps
Generate extensions in separate files that override those maps with real information

It's an interesting idea.  I'm curious what the real savings are in code size.

Looking more closely, I'm surprised to see that those number/name maps are computed instance properties instead of static properties. That could certainly be a source of performance issues, especially if it's re-creating those arrays every time the property is accessed.
My general thinking is, there's never a scenario where you need the union of all the information in the same pass, which is what #9 will solve. You're either serializing JSON or text, but never both simultaneously. And when you're not doing JSON or text serialization, you don't need the names at all—in other words, the core ProtobufMessage protocol doesn't have to contain any of that information at all, because the extensions can add conformances for specific visitations that provide that information instead.
So, I could imagine something like a ProtobufJSONSerializable protocol that declares static properties for the number→name and name→number mappings. An extension in a separate file would add conformance to that protocol and define static let properties with the specific mapping for that message. Then, to wrap it all up we have a JSON visitor that, through some generics, is constrained to message types M: ProtobufMessage where M: ProtobufJSONSerializable, meaning that it can internally access M's JSON mappings directly instead of passing things around. In other words, we're binding the context needed by the visitor statically at compile-time instead of passing it around at runtime.
I'll have to dig into the code some more to see if all the pieces fit together, but something like this should both speed things and make it possible for users to slice out only what they need.

This would affect the API between the generated code and the library, so I've labelled it accordingly.  I'm looking at it now as part of rethinking the structure of the core Message protocols.

You're either serializing JSON or text, but never both simultaneously.

Yes, but you may need both sets of names simultaneously:  JSON deserialization accepts both proto and JSON names; Java has an option to the JSON serializer to force it to use proto names instead of JSON names.

Here's an interesting case for the ability to omit JSON support:
// File foo.proto
message Foo {
     Bar bar = 1
}
// File bar.proto
message Bar {
     ....
}

If we generate Swift for both of these, then omit the JSON support for Bar, what happens when someone tries to JSON serialize (or deserialize) Foo?

My thinking was that this kind of situation would fail to compile—it could be considered an error to try to use protos that don't include JSON serialization support with those that do. This would imply that anyone producing a framework/shared component that includes user-surfaced protos would have to support JSON/text serialization, of course.
However, I'm not seeing a way to make that work cleanly: essentially, Swift generics aren't powerful enough yet to express what I laid out above, and we'd have to rely on runtime checks like you described.
Given those limitations, I think our best option would be to just have JSON encode/decode throw an error if any of the submessages don't support it. I'll start tinkering and see what I can come up with.

To follow up: We should do this (pull into an extension) for the ProtobufDebugDescription logic as well, not just JSON and text. We can wrap that extension in #if DEBUG instead putting it in a separate file so that it can be easily removed from release builds.
The benefit here is that if a user doesn't need text or JSON support and only uses debugDescription for debug builds, then their release builds will be completely free of field names, which prevents data models from leaking in addition to the space saving benefits.
For ProtobufDebugDescription, we can do the same kind of runtime check and just print field numbers instead of names if the conversion is requested in a release build.

We're not trying for this for the 1.0 Release, but we're keeping it open as something to hopefully consider in the future to make a final decision on.

I think all of the groundwork is in place now:  The text encoders and decoders all test for ProtoNameProviding now, so it should DTRT if that conformance is not present in some future version of the generator.

Might want to look at this as part of a 2.0 release, so bumping it up.
I guess we might also need to decided if this is a generator option or always done.