Build failed with error code: 1

yarn install v1.13.0
warning package.json: No license field
info No lockfile found.
warning<EMAIL_ADDRESS>No license field
[1/4] Resolving packages...
warning babili-webpack-plugin ><EMAIL_ADDRESS>babili has been renamed to babel-minify. Please update to babel-preset-minify
warning css-loader > cssnano > autoprefixer ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > postcss-merge-rules ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > postcss-merge-rules > caniuse-api ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning eslint > file-entry-cache > flat-cache ><EMAIL_ADDRESS>CircularJSON is in maintenance only, flatted is its successor.
[2/4] Fetching packages...
info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[1/2] ⡀ electron
error E:\project\cuni\node_modules\node-sass: Command failed.
Exit code: 1
Command: node scripts/build.js
Arguments:
Directory: E:\project\cuni\node_modules\node-sass
Output:
Building: E:\Program Files\nodejs\node.exe E:\project\cuni\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ 'E:\Program Files\nodejs\node.exe',
gyp verb cli   'E:\project\cuni\node_modules\node-gyp\bin\node-gyp.js',
gyp verb cli   'rebuild',
gyp verb cli   '--verbose',
gyp verb cli   '--libsass_ext=',
gyp verb cli   '--libsass_cflags=',
gyp verb cli   '--libsass_ldflags=',
gyp verb cli   '--libsass_library=' ]
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb which failed Error: not found: python2
gyp verb which failed     at getNotFoundError (E:\project\cuni\node_modules\which\which.js:13:12)
gyp verb which failed     at F (E:\project\cuni\node_modules\which\which.js:68:19)
gyp verb which failed     at E (E:\project\cuni\node_modules\which\which.js:80:29)
gyp verb which failed     at E:\project\cuni\node_modules\which\which.js:89:16
gyp verb which failed     at E:\project\cuni\node_modules\isexe\index.js:42:5
gyp verb which failed     at E:\project\cuni\node_modules\isexe\windows.js:36:5
gyp verb which failed     at FSReqCallback.oncomplete (fs.js:158:21)
gyp verb which failed  python2 { Error: not found: python2
gyp verb which failed     at getNotFoundError (E:\project\cuni\node_modules\which\which.js:13:12)
gyp verb which failed     at F (E:\project\cuni\node_modules\which\which.js:68:19)
gyp verb which failed     at E (E:\project\cuni\node_modules\which\which.js:80:29)
gyp verb which failed     at E:\project\cuni\node_modules\which\which.js:89:16
gyp verb which failed     at E:\project\cuni\node_modules\isexe\index.js:42:5
gyp verb which failed     at E:\project\cuni\node_modules\isexe\windows.js:36:5
gyp verb which failed     at FSReqCallback.oncomplete (fs.js:158:21)
gyp verb which failed   stack:
gyp verb which failed    'Error: not found: python2\n    at getNotFoundError (E:\project\cuni\node_modules\which\which.js:13:12)\n    at F (E:\project\cuni\node_modules\which\which.js:68:19)\n    at E (E:\project\cuni\node_modules\which\which.js:80:29)\n    at E:\project\cuni\node_modules\which\which.js:89:16\n    at E:\project\cuni\node_modules\isexe\index.js:42:5\n    at E:\project\cuni\node_modules\isexe\windows.js:36:5\n    at FSReqCallback.oncomplete (fs.js:158:21)',
gyp verb which failed   code: 'ENOENT' }
gyp verb check python checking for Python executable "python" in the PATH
gyp verb which failed Error: not found: python
gyp verb which failed     at getNotFoundError (E:\project\cuni\node_modules\which\which.js:13:12)
gyp verb which failed     at F (E:\project\cuni\node_modules\which\which.js:68:19)
gyp verb which failed     at E (E:\project\cuni\node_modules\which\which.js:80:29)
gyp verb which failed     at E:\project\cuni\node_modules\which\which.js:89:16
gyp verb which failed     at E:\project\cuni\node_modules\isexe\index.js:42:5
gyp verb which failed     at E:\project\cuni\node_modules\isexe\windows.js:36:5
gyp verb which failed     at FSReqCallback.oncomplete (fs.js:158:21)
gyp verb which failed  python { Error: not found: python
gyp verb which failed     at getNotFoundError (E:\project\cuni\node_modules\which\which.js:13:12)
gyp verb which failed     at F (E:\project\cuni\node_modules\which\which.js:68:19)
gyp verb which failed     at E (E:\project\cuni\node_modules\which\which.js:80:29)
gyp verb which failed     at E:\project\cuni\node_modules\which\which.js:89:16
gyp verb which failed     at E:\project\cuni\node_modules\isexe\index.js:42:5
gyp verb which failed     at E:\project\cuni\node_modules\isexe\windows.js:36:5
gyp verb which failed     at FSReqCallback.oncomplete (fs.js:158:21)
gyp verb which failed   stack:
gyp verb which failed    'Error: not found: python\n    at getNotFoundError (E:\project\cuni\node_modules\which\which.js:13:12)\n    at F (E:\project\cuni\node_modules\which\which.js:68:19)\n    at E (E:\project\cuni\node_modules\which\which.js:80:29)\n    at E:\project\cuni\node_modules\which\which.js:89:16\n    at E:\project\cuni\node_modules\isexe\index.js:42:5\n    at E:\project\cuni\node_modules\isexe\windows.js:36:5\n    at FSReqCallback.oncomplete (fs.js:158:21)',
gyp verb which failed   code: 'ENOENT' }
gyp verb could not find "python". checking python launcher
gyp verb could not find "python". guessing location
gyp verb ensuring that file exists: C:\Python27\python.exe
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (E:\project\cuni\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack     at PythonFinder. (E:\project\cuni\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR! stack     at E:\project\cuni\node_modules\graceful-fs\polyfills.js:282:31
gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:158:21)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "E:\Program Files\nodejs\node.exe" "E:\project\cuni\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd E:\project\cuni\node_modules\node-sass
gyp ERR! node -v v11.10.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1

yarn install v1.13.0
warning package.json: No license field
info No lockfile found.
warning<EMAIL_ADDRESS>No license field
[1/4] Resolving packages...
warning babili-webpack-plugin ><EMAIL_ADDRESS>babili has been renamed to babel-minify. Please update to babel-preset-minify
warning css-loader > cssnano > postcss-merge-rules ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > postcss-merge-rules > caniuse-api ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > autoprefixer ><EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning eslint > file-entry-cache > flat-cache ><EMAIL_ADDRESS>CircularJSON is in maintenance only, flatted is its successor.
[2/4] Fetching packages...
info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
error An unexpected error occurred: "ENOENT: no such file or directory, copyfile 'C:\Users\仔仔\AppData\Local\Yarn\Cache\v4\npm-ansi-styles-2.2.1-b432dd3358b634cf75e1e4664368240533c1ddbe\node_modules\ansi-styles\package.json' -> 'E:\project\cuni\node_modules\node-sass\node_modules\ansi-styles\package.json'".
info If you think this is a bug, please open a bug report with the information provided in "E:\project\cuni\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.


⚠ Processors has degraded performance

In 59c799e, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 76 ms

Resolved: Processors performance has improved in 3707b5a.


Y-axis is reversed when using to_zarr()

What happened?
When I export a dataset to NetCDF and Zarr, the y axis appears to have been reversed with gdalinfo. I also cannot build a vrt file with the Zarr file since it complains about positive NS axis, but this works fine with the NetCDF file.
Example NetCDF file as input: in.nc.zip
gdalinfo on output NetCDF file:
$ gdalinfo NETCDF:out.nc:air_temperature_2m
Driver: netCDF/Network Common Data Format
Files: out.nc
       out.nc.aux.xml
Size is 949, 1069
Coordinate System is:
PROJCRS["unnamed",
    BASEGEOGCRS["unknown",
        DATUM["unnamed",
            ELLIPSOID["Sphere",6371000,0,
                LENGTHUNIT["metre",1,
                    ID["EPSG",9001]]]],
        PRIMEM["Greenwich",0,
            ANGLEUNIT["degree",0.0174532925199433,
                ID["EPSG",9122]]]],
    CONVERSION["unnamed",
        METHOD["Lambert Conic Conformal (2SP)",
            ID["EPSG",9802]],
        PARAMETER["Latitude of false origin",63.3,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8821]],
        PARAMETER["Longitude of false origin",15,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8822]],
        PARAMETER["Latitude of 1st standard parallel",63.3,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8823]],
        PARAMETER["Latitude of 2nd standard parallel",63.3,
            ANGLEUNIT["degree",0.0174532925199433],
            ID["EPSG",8824]],
        PARAMETER["Easting at false origin",0,
            LENGTHUNIT["metre",1],
            ID["EPSG",8826]],
        PARAMETER["Northing at false origin",0,
            LENGTHUNIT["metre",1],
            ID["EPSG",8827]]],
    CS[Cartesian,2],
        AXIS["easting",east,
            ORDER[1],
            LENGTHUNIT["metre",1,
                ID["EPSG",9001]]],
        AXIS["northing",north,
            ORDER[2],
            LENGTHUNIT["metre",1,
                ID["EPSG",9001]]]]
Data axis to CRS axis mapping: 1,2
Origin = (-1061334.000000000000000,1338732.125000000000000)
Pixel Size = (2500.000000000000000,-2500.000000000000000)
Metadata:
  air_temperature_2m#coordinates=longitude latitude
  air_temperature_2m#grid_mapping=projection_lambert
  air_temperature_2m#long_name=Screen level temperature (T2M)
  air_temperature_2m#standard_name=air_temperature
  air_temperature_2m#units=K
  air_temperature_2m#_FillValue=9.96921e+36
  height1#description=height above ground
  height1#long_name=height
  height1#positive=up
  height1#units=m
  height1#_FillValue=nan
  NC_GLOBAL#coordinates=projection_lambert time
  NETCDF_DIM_EXTRA={height1}
  NETCDF_DIM_height1_DEF={1,5}
  NETCDF_DIM_height1_VALUES=2
  projection_lambert#earth_radius=6371000
  projection_lambert#grid_mapping_name=lambert_conformal_conic
  projection_lambert#latitude_of_projection_origin=63.3
  projection_lambert#longitude_of_central_meridian=15
  projection_lambert#standard_parallel={63.3,63.3}
  x#long_name=x-coordinate in Cartesian system
  x#standard_name=projection_x_coordinate
  x#units=m
  x#_FillValue=nan
  y#long_name=y-coordinate in Cartesian system
  y#standard_name=projection_y_coordinate
  y#units=m
  y#_FillValue=nan
Geolocation:
  LINE_OFFSET=0
  LINE_STEP=1
  PIXEL_OFFSET=0
  PIXEL_STEP=1
  SRS=GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AXIS["Latitude",NORTH],AXIS["Longitude",EAST],AUTHORITY["EPSG","4326"]]
  X_BAND=1
  X_DATASET=NETCDF:"out.nc":longitude
  Y_BAND=1
  Y_DATASET=NETCDF:"out.nc":latitude
Corner Coordinates:
Upper Left  (-1061334.000, 1338732.125) ( 18d10'24.02"W, 72d45'59.56"N)
Lower Left  (-1061334.000,-1333767.875) (  0d15'55.60"E, 50d18'23.10"N)
Upper Right ( 1311166.000, 1338732.125) ( 54d17'24.85"E, 71d34'43.38"N)
Lower Right ( 1311166.000,-1333767.875) ( 33d 2'20.10"E, 49d45' 6.51"N)
Center      (  124916.000,    2482.125) ( 17d30' 3.21"E, 63d18' 1.50"N)
Band 1 Block=949x1069 Type=Float32, ColorInterp=Undefined
  Min=236.480 Max=284.937
  Minimum=236.480, Maximum=284.937, Mean=269.816, StdDev=9.033
  NoData Value=9.96920996838686905e+36
  Unit Type: K
  Metadata:
    coordinates=longitude latitude
    grid_mapping=projection_lambert
    long_name=Screen level temperature (T2M)
    NETCDF_DIM_height1=2
    NETCDF_VARNAME=air_temperature_2m
    standard_name=air_temperature
    STATISTICS_MAXIMUM=284.93682861328
    STATISTICS_MEAN=269.81614967971
    STATISTICS_MINIMUM=236.47978210449
    STATISTICS_STDDEV=9.0332172122638
    units=K
    _FillValue=9.96921e+36

gdalinfo on output Zarr file:
$ gdalinfo ZARR:out.zarr:/air_temperature_2m:0
Driver: Zarr/Zarr
Files: none associated
Size is 949, 1069
Origin = (-1061334.000000000000000,-1333767.875000000000000)
Pixel Size = (2500.000000000000000,2500.000000000000000)
Metadata:
  coordinates=longitude latitude
  grid_mapping=projection_lambert
  long_name=Screen level temperature (T2M)
  standard_name=air_temperature
Corner Coordinates:
Upper Left  (-1061334.000,-1333767.875)
Lower Left  (-1061334.000, 1338732.125)
Upper Right ( 1311166.000,-1333767.875)
Lower Right ( 1311166.000, 1338732.125)
Center      (  124916.000,    2482.125)
Band 1 Block=475x268 Type=Float32, ColorInterp=Undefined
  NoData Value=9.96920996838686905e+36
  Unit Type: K

The main issue is that the origin and y-axis direction is reversed, as you can see from the origin and pixel size. I have tried taking the CRS from the netcdf and adding it to the Zarr file as a _CRS attribute manually, but this doesn't make any difference to the origin or pixel size.
What did you expect to happen?
Origin, pixel size and corner coords should match those in the netcdf file.
$ gdalinfo ZARR:out.zarr:/air_temperature_2m:0
Driver: Zarr/Zarr
Files: none associated
Size is 949, 1069
Origin = (-1061334.000000000000000,1338732.125000000000000)
Pixel Size = (2500.000000000000000,-2500.000000000000000)
Metadata:
  coordinates=longitude latitude
  grid_mapping=projection_lambert
  long_name=Screen level temperature (T2M)
  standard_name=air_temperature
Corner Coordinates:
Corner Coordinates:
Upper Left  (-1061334.000, 1338732.125) ( 18d10'24.02"W, 72d45'59.56"N)
Lower Left  (-1061334.000,-1333767.875) (  0d15'55.60"E, 50d18'23.10"N)
Upper Right ( 1311166.000, 1338732.125) ( 54d17'24.85"E, 71d34'43.38"N)
Lower Right ( 1311166.000,-1333767.875) ( 33d 2'20.10"E, 49d45' 6.51"N)
Center      (  124916.000,    2482.125) ( 17d30' 3.21"E, 63d18' 1.50"N)
Band 1 Block=475x268 Type=Float32, ColorInterp=Undefined
  NoData Value=9.96920996838686905e+36
  Unit Type: K

Minimal Complete Verifiable Example
import xarray as xr
from pyproj import CRS

ds = xr.open_dataset("in.nc")

# Optionally take copy CRS to Zarr (produces and error, but does work)
crs_wkt = CRS.from_cf(ds["projection_lambert"].attrs).to_wkt()
ds["air_temperature_2m"] = ds["air_temperature_2m"].assign_attrs(_CRS={"wkt": crs_wkt})

ds.to_zarr("out.zarr")

ds.to_netcdf("out.nc")

MVCE confirmation

[X] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
[X] Complete example — the example is self-contained, including all data and the text of any traceback.
[X] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
[X] New issue — a search of GitHub Issues suggests this is not a duplicate.
[X] Recent environment — the issue occurs with the latest version of xarray and its dependencies.

Relevant log output
No response
Anything else we need to know?
 Interestingly the default output Zarr is identical in memory to the starting netCDF dataset:
ds = xr.open_dataset("in.nc")
ds.to_zarr("out.zarr")
dz = xr.open_zarr("out.zarr")
xr.testing.assert_identical(ds, dz) #True

Also bypassing Xarray entirely and just using GDAL still has this flipped y-axis, so I'm thinking there is some issue with in.nc rather than Xarray's to_zarr() method.
gdalmdimtranslate -of ZARR in.nc out-gdal.zarr
gdalinfo ZARR:"out-gdal.zarr":/air_temperature_2m

# Origin = (-1061334.000000000000000,-1333767.875000000000000)
# Pixel Size = (2500.000000000000000,2500.000000000000000)

Can you share a bit more about where in.nc comes from and check on the metadata structure? https://github.com/cedadev/cf-checker could be useful here, for example I see a few warnings, GDAL can have trouble if you have a non-compliant NetCDF (https://github.com/OSGeo/gdal/issues/8477):
CHECKING NetCDF FILE: in.nc
=====================
Using CF Checker Version 4.1.0
Checking against CF Version CF-1.8
Using Standard Name Table Version 84 (2024-01-19T15:55:10Z)
Using Area Type Table Version 11 (06 July 2023)
Using Standardized Region Name Table Version 4 (18 December 2018)

INFO: Attribute coordinates is being used in a non-standard way; as a global attribute. (See Appendix A)
WARN: (2.6.1): No 'Conventions' attribute present

Closing as upstream; please reopen with an MCVE if that's not correct

I finally followed up on this and found out that gdal_translate does not flip the axis while gdalmdimtranslate does. I opened an issue with gdal about this (https://github.com/OSGeo/gdal/issues/11041), but apparently this is expected behaviour due to different conventions in the classic raster and multidimensional raster models in GDAL. So it is not a problem with the netcdf file, rather with there being different conventions for where the origin is in the dataset, and xarray apparently takes the multidimensional raster convention. This however causes problems as there are a number of downstream tools which only work with negative y-axes, I can see there is probably some debate about whether those tools should rather start supporting positive y-axis, but it may be useful if a user could choose when one exports to zarr whether the y-axis is positive or negative?
In the meantime, if anyone knows a quick way to apply a transform to correct this I would really appreciate it!
I will let some else decide if this warrants reopening the issue, there is an MCVE which demonstrates the issue in the initial post.

If anyone else finds this and needs a workaround you can use a vrt connection string to override the origin:
gdalinfo vrt://ZARR:"out-gdal.zarr":/air_temperature_2m?a_ullr=-1061334.000,1338732.125,1311166.000,-1333767.875


move BUILDTMP/mocha.js to .karma//mocha.js

...because this directory already exists, and the contents are shipped to S3 for debugging in CI.  It would be helpful to have the built mocha.js which the tests run against available as an artifact.

The subdir is determined by an env var (see karma.conf.js) which is local if not run in CI.

this will be addressed by #2861


Charging Capacity is sometimes not correct

Sometimes the charging capacity is off by decimals. This is a problem when the parking time is equal to the minimum needed charging time. See the example below

The charging point efficiency was set to 1.0 in this run and the charging capacity should therefor be 3.7 and not 3.69

@timroepcke will check this


README: Add guidelines for incompatible grep

Actually, I fixed the dependency on GNU sed yesterday, and the grep commands seem to work with both GNU and BSD grep.


Don't pass -Wno-unused-variable to build proxygen for MSVC

Because MSVC doesn't understad -Wno-unused-variable, and gives errors.

I'd be amazed if MSVC ever supported this named form of warning disabling, so this is definitely needed.


Update Composer dependencies (2023-06-26-00-11)

Visual regression test passed!
View the visual regression test report


gandiv5 plugin failed to build with

After last commits
https://github.com/mholt/caddy/commit/8f583dcf3694a55e32a1eb9ae4316c3f99d38c6f
https://github.com/mholt/caddy/commit/8f583dcf3694a55e32a1eb9ae4316c3f99d38c6f
I get this:
../../../caddyserver/dnsproviders/gandiv5/gandiv5.go:26:10: undefined: gandiv5.NewDNSProviderCredentials

im also having similar problems

All the DNS adapters need reworking; see https://github.com/caddyserver/dnsproviders/pull/46.


docs: add a note about "hanged" tcp connections

What does this PR do?
Clarifies why some connections may appear to have "hanged".
Motivation
I was struggling to understand why am I not seeing the SMTP greeting when connecting to an email server behind Traefik. It appeared to work once I hit "enter", but obviously that's not how the protocol works and from the documentation it wasn't immediately clear that Traefik was waiting for bytes to arrive before deciding how to handle the request.
More

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

Hello @romantomjak ,
this PR raised some questions about how we want to document some aspects related to what you're saying.
We need to think a bit more about it, and we might have to commit some things ourselves on the PR if that's alright with you.

Yeah of course! No worries at all


missing node from edges when using arguments "last" and "before"

hey @bellini666, when using arguments {last: 2, before: "..."}, one node missing from edges:
before using arguments:

after using arguments:

cursor: "YXJyYXljb25uZWN0aW9uOjE=" missing from edges,
when I remove "-1" from this code on Connection it is work as expected
  if before:
            before_type, before_parsed = from_base64(before)
            assert before_type == _connection_typename
            end = min(end, int(before_parsed) - 1)

@darwinhace when I fixed the previous issue, I naively changed before, forgetting that slices doesn't include the latest index.
Just fixed it and released the version 0.8.1. Please, tell us if you find any other issues with this lib.


fix(client): Wait for childwindow to load

Build is failing due to latest qunit version: "karma-qunit": "*"

Thanks :octocat:


Allow use in app extensions

Makes it possible to use the framework in app extensions such as an Xcode Source Editor extension. This partially fixes jpsim/SourceKitten#299.

Can you also update the podspec to do the same?

This looks good to me - I'll merge it tonight after work and get a new version published.

@jpsim just checking, but regarding your comment to update the podspec to do the same, was that something you were asking @klaaspieter to do on this same PR? I'm not 100% clear what your requesting.

Yes, setting APPLICATION_EXTENSION_API_ONLY in the podspec should also be done in this PR, it's the same change, just applied to all the ways you can build SWXMLHash.
It's pretty easy:
s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' }

👍 got it - I'll hold off until @klaaspieter can get that change in. Thanks for clarifying!


Add WiZ A80.E27

Device information
WiZ A80.e27
https://www.wizconnected.com/en-au/p/modern-bulb-bulb-150w-a80-e27/8719514554634
150W 2452 lumens globe
Home Assistant Device information
WiZ A80.E27
by Signify
Firmware: v1.0
Hardware: v1.0
Device info
Node ID:
7
Network Type:
Wi-Fi
Device type:
End-device
MAC address:
44:4f:8e:ef:7d:ee
Checklist

[x] I have created a single PR per device. When you have multiple submissions please create separate PR's.
[x] For lights - I have only included the gzipped files (*.gz), not the raw CSV files.
[x] For lights - I have provided a CSV file per supported color mode. Look that up in Developer Tools -> States

Additional info

@cammurray Thanks for the PR. Measurements look good, exect for the standby power in model.json.
Seems your smartplug was unable to pick up a reading, because it's too low.
Could you try again manually, switching of the light and see if you get a reading in your smartplug?
Found some references mentioning 0.4W, so that would be a good estimate when you are unable to measure.

Hi @bramstroker
The power usage doesn't seem to be able to be detected by the Shelly 1 PM. When the light is off, I get a power reading of 0 from the Shelly's REST API:
    "meters": [
        {
            "power": 0,
            "overpower": 0,
            "is_valid": true,
            "timestamp":<PHONE_NUMBER>,
            "counters": [
                2.898,
                0,
                0
            ],
            "total": 6193
        }
    ],
    ```

    Turning it on, I can see the power adjusts correctly:

    ```
        "meters": [
        {
            "power": 11.64,
            "overpower": 0,
            "is_valid": true,
            "timestamp":<PHONE_NUMBER>,
            "counters": [
                2.898,
                0,
                0
            ],
            "total": 6193
        }
    ],
    ```

Than you can set to 0.4W manually in model.json

@cammurray, can you still edit the model.json to set standby power to 0.4W. Than we can merge.

@cammurray, can you still edit the model.json to set standby power to 0.4W. Than we can merge.

I've updated model.json with standby power 0.4

thanks. LGTM

Hey @bramstroker
I can see that this was pulled in now, but it appears that powercalc isn't autodetecting my lights. Is there something i've done wrong here? (For adjusting this one and for future calcs that I do)
This is what it appears in home assistant as:

Ah, am I missing a manufacturer in my model.json?
"light.guest_bathroom_light: Skipping sensor setup: Model not found in library (manufacturer: Signify, model: WiZ A80.E27)"


How to install Modsecurity + Nginx on OpenBSD

Describe the bug
I cannot install complie Modsecurity on OpenBSD
Anyone can show me how to install or guideline for this OS.
Tks so much

Hello @copph33 ,
It might help if you described in detail what steps you have been attempting to follow, which of those you believe you have done successfully, at what point you encounter difficulty, and what error message(s) or problems you encounter at that point.


Update the link for tensorflow hub lite models

The lite models link for Tensorflow Hub is broken because of alignment issue. Updated the link w.r.t alignment.
Thanks.

This is not a broken link. The purpose of our g3doc files are to build up our website. Check it out here: https://www.tensorflow.org/lite/models/trained and note that the link works just fine.

Hi @grantjensen
The current documentation points to https://tfhub.dev/s but as per g3doc it is expected to point to https://tfhub.dev/s?deployment-format=lite which has lite pretrained models. The issue seems to occur as there is a space created in hyperlink in g3doc.
Thanks.


Unable to create Virtual smartcard

Describe the bug
I have a basic test app using VS Studio Blank app for winUi 3 where I try to call the following code
When I try to run the following code which works in UWP
SmartCardPinPolicy pinPolicy = new SmartCardPinPolicy();
pinPolicy.MinLength = 6;
IBuffer adminkey = CryptographicBuffer.GenerateRandom(24);
SmartCardProvisioning provisioning = await
SmartCardProvisioning.RequestVirtualSmartCardCreationAsync(
"Card friendly name",
adminkey,
pinPolicy);
I get the runtime error
Exception thrown: 'System.Runtime.InteropServices.COMException' in WinRT.Runtime.dll
Are some components of Windows.Devices.SmartCards; not supported. ? Will they ever be supported or should we move to PInvokes
Trying to migrate a UWP app
Steps to reproduce the bug
create a blank project
Open Visual Studio, and on the start window, choose Create a new project.
On the Create a new project screen, enter WinUI in the search box, choose the C# template for Blank App, Packaged (WinUI 3 in Desktop), and then choose Next.
add the following code to some button click
SmartCardPinPolicy pinPolicy = new SmartCardPinPolicy();
pinPolicy.MinLength = 6;
IBuffer adminkey = CryptographicBuffer.GenerateRandom(24);
SmartCardProvisioning provisioning = await
SmartCardProvisioning.RequestVirtualSmartCardCreationAsync(
"Card friendly name",
adminkey,
pinPolicy);
Expected behavior
A set PIN Prompt dialog should be presented and virtual smartcard instance should be created
Screenshots
No response
NuGet package version
None
Packaging type
Unpackaged
Windows version
No response
IDE
Visual Studio 2022
Additional context
No response

Do we know if this UWP Gap will ever be addressed?


http_helper.HTTPDoWithRetry does not support HTTP/2 with TLS config

Currently the http_helper.HTTPGetWithRetry method supports the use of HTTP/2 even when TLS config is provided as a result of changes made in PR#560. Unfortunately, the same changes are needed for the http_helper.HTTPDoWithRetry method. PR#987 was opened to address this issue but seems to be stuck waiting to be rebased and reviewed at this point.
Can someone advise on next steps to get PR#987 looked at? I'm not sure if @ngyl88 is still available to rebase that PR and address any review comments, but if not I would be happy to open a new PR as well if needed.

Hi,
I think the most simples approach is to open another PR that will include all required fixes

@denis256 Can you please review #1140 so this can get merged? Would like to stop having to hack around this issue if possible.


Integrate SSO with Frontend

Task

Make the SSO the landing page for front end

Deliverables

Integrate SSO code to front end as /login
Handle so that users are always redirected to /login until they sign in

Due 12/6


fix(json-schema): verify templateOptions exists on field

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
bugfix
What is the current behavior? (You can also link to an open issue here)
See #1944
Please check if the PR fulfills these requirements

[x] The commit messages follow our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[x] A unit test has been written for this change.
[x] Running npm run build produced a successful build. (Unit testing can be done by running npm test;)
[x] My code has been linted. (npm run lint to do this. npm run build will fail if there are files not linted.)

Thank you @juristr!


Modernize Python 2 code to get ready for Python 3

Another shot at #183
Some minimal, "safe" changes to make the code syntax compatible with both Python 2 and Python 3.

Run futurize --stage1 http://python-future.org/futurize_cheatsheet.html
Adjust adjust some lambda and tuple expressions to be compatible with Python 3.

Fixes #182 and helps with  #128
Ready for review.  Python 3 syntax compatibility does not mean that the port is complete.

it will take some time.

Too many files in conflict...  Staring the process over again in #242


Combine most of the different collection tests into a singular file.

Added edit and delete to the end of the create empty collection test
Added search to the end of the test created with existing works
Co-authored-by: Adam Wead<EMAIL_ADDRESS>Co-authored-by: Dan Coughlin<EMAIL_ADDRESS>Connected to #1437

Coverage decreased (-6.6%) to 51.245% when pulling 238704f28874844279098ca79b349d9f88832a33 on i#1437.c into d2dc3b58b672cf6f8f9588851cdb3a10737ccc62 on develop.


Propagate block metatags to code node and output node

This is the first part of implementation for jupyter meta tags support, as discussed in here.
After merging this, there are at least 4 things on the list:

[x] release new myst-cli and myst-spec-ext version
[ ] change according components in myst-theme
[ ] create new block component to control the visibility of the whole cell
[ ] update doc on the executable content section

For this pr, there are still 2 questions, which are mentioned in the comments:

[x] can we ensure that there will only have single code node and output node in a block node?
[x] will we raise when hide-xx and remove-xx appear at the same time?

For will we raise when hide-xx and remove-xx appear at the same time? I think that we could raise a warning, and then go with the most strict -- i.e. remove > hide > show.

From a functionality point of view do you think the feature is now complete? Core-review wise it looks solid!
Let me know and I can take it for a test drive. :)

For mystjs side, it is complete. But as you see from my task list, changes should also be made in myst-to-react which now I'm going to do after I'm able to use this new myst-cli version.

Perfect -- I will try to get to this today!

Hi @rowanc1, if you are planning to merge this in and do a patch release today, I will have some spare time to finish the rest of tasks in myst-theme at this weekend. Not rushing, just want to know is there any blocker. Thanks :blush:

Hi @GYHHAHA I was stuck doing some major code renovations over in #417. I think that will help a lot of things, including the dev experience and downstream packaging. But it will probably mean a few issues with the merge, I will try to deal with them and then get on to testing this shortly!!

Sure! I think this will be great. Take your time!

Didn't quite get to actually testing, I hope I can get to it this eve -- tests are now passing again though! :)

This looks great! I am going to merge and release once the tests go green. We should add some docs after we get the frontend working!
Thanks again for your help on this feature, another check on #189. 🚀

This is released as v1.0.2. 🚀 Let me know how the theme work goes or if you need any help!


feat: add a webhook to prevent eviction of pods on kosmos NotReady nodes

What type of PR is this?

/kind feature
What does this PR do?

add a webhook to prevent eviction of pods on kosmos NotReady nodes
Which issue(s) does this PR fix?

Fixes #343
Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

/cc @hanweisen
/cc @wuyingjun-lucky
/cc @xyz2277
/cc @OrangeBao

/cc @duanmengkk

We need to add the relevant documentation, such as putting it in the 'docs' dir, to instruct users how to use this feature.

/cc @rxy0210


Rails 7 and TailwindUI components with JavaScript are not working

Steps to reproduce
rails new my_app -j esbuild --css tailwind --database=postgresql
cd my_app
bin/dev
in my gemfile both jsbundling-rails and cssbundling-rails were added.
# Bundle and transpile JavaScript [https://github.com/rails/jsbundling-rails]
gem "jsbundling-rails"

# Bundle and process CSS [https://github.com/rails/cssbundling-rails]
gem "cssbundling-rails"

in package.json I see Tailwind added
{
  "name": "app",
  "private": "true",
  "dependencies": {
    "@hotwired/stimulus": "^3.0.1",
    "@hotwired/turbo-rails": "^7.1.0",
    "autoprefixer": "^10.4.0",
    "esbuild": "^0.14.8",
    "jquery": "^3.6.0",
    "postcss": "^8.4.5",
    "tailwindcss": "^3.0.7"
  },
  "scripts": {
    "build": "esbuild app/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds",
    "build:css": "tailwindcss -i ./app/assets/stylesheets/application.tailwind.css -o ./app/assets/builds/application.css"
  }
}

When I add any Tailwind UI component that requires JavaScript it does not work.  For example, adding the HTML for the "simple dropdown" here https://tailwindui.com/components/application-ui/elements/dropdowns
Adding other Tailwind elements to a page works correctly, however, anything that requires JavaScript is not rendering correctly.
Expected behavior
The dropdown should open or close normally
Actual behavior
The dropdown is expanded on the page and does not close/open when the button is toggled.
System configuration
Rails version: Rails (7.0.0)
node: 16.5.0
npm: 8.3.0
yarn 1.22.10
TailwindCSS 3.0.7
Ruby version:
3.0.1

The cssbundling gem with Tailwind doesn't do much of itself.
Did you follow the steps on the Getting set up guide? Based on your package.json, you are likely also interesting in the using your own JS guide.


Added a deprecation warning to weighted.py

This is probably a good idea even if you are currently in the alpha phase.

Great! Thanks.


Brand logo is not properly aligned on smaller screen sizes

The navbar brand logo is not properly aligned on a smaller screen size. It is having unnecessary extra margin from the left which is not looking good.

Hello @DeveloperAshish8, please look into this issue and kindly assign it to me with a hacktobest label. I will be happy to work on it.

Go ahead @simransia .


fix ideal labeler for MLC problem

#176

Codecov Report

Merging #178 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #178   +/-   ##
=======================================
  Coverage   89.47%   89.47%
=======================================
  Files          37       37
  Lines        1567     1568    +1
=======================================
+ Hits         1402     1403    +1
  Misses        165      165

Impacted Files
Coverage Δ

libact/labelers/ideal_labeler.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Why does export plugin didn't export md5 hashes?

Pip does not support installation from a requirements.txt file with hashes not for all packages. Why does poetry export simple skip hashes insted of raise an error? If the lock file contains hashes that are not listed in ALLOWED_HASH_ALGORITHMS, then the resulting requirements.txt file is not suitable for installation. Is it better to raise the error or export all the hashes?

I was just having this issue because i user pypiserver and it defaults to md5. What i did to get around the issue was set --hash-algo to sha256 to solve it. The reason it doesnt take md5 is because its not one of the allowed hashing algorithms
https://github.com/python-poetry/poetry-export-plugin/blob/27949b9abddb3089863831a154256b4a8d17a718/src/poetry_export_plugin/exporter.py#L23


How to off Beep sound

In MediaRecorder when i start to capturing a video it's create beep sound.
also it's play beep sound when i stop the recording.
So How to i off this sound.

ZTE Blade S6 Lite with Android version 5.0.2


MySQL is not starting as vm1 is missing the cluster ip address.

Fix for issue : https://github.com/bloomberg/chef-bach/issues/1091

See https://github.com/bloomberg/chef-bach/issues/1091#issuecomment-385400123


Product Card bug

Issue Summary
Browser crush when exit from Product card
Steps to Reproduce

Call product card
Exit exit product card edit

Ghost Version
Latest 4.32
Node.js Version
Latest
How did you install Ghost?
Digital Ocean one click install
Database type
MySQL 8
Browser & OS version
Firefox windows 11
Relevant log / error output
No response
Code of Conduct

[X] I agree to be friendly and polite to people in this repository

Hey @ever-blogger - I've been unable to reproduce this issue. Please add a more detailed reproduction case so we can investigate further.

I also couldn't reproduce the same issue from my end recently, maybe it has fixed after several updates.


Technical feasibility prototype for Service Updates API

Is your feature request related to a problem?
Create a prototype to check Technical feasibility to enable Service Updates API of ElastiCache for replication group
Describe the solution you'd like
Code/Design describing technical feasibility
Describe alternatives you've considered
A description of any alternative solutions or features you've considered.

/remove-lifecycle stale

/remove-lifecycle stale
/cc @kumargauravsharma @nmvk

Please reopen if this is still relevant.
/close


React 17.0.1 peer dependency warning

Describe the bug
React 17.0.1 is listed as a peer dependency and results in warnings during install:

npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

First, recommend specifying only the major version in the peer dependency to allow for different minor versions (e.g. 17.0.2, etc).
Second, is React 17 truly a requirement for this library? We're using it successfully with React 16.x.
To Reproduce

npm i

Expected behavior
No warnings with React 16

In addition to what was said by @peacechen, if you update react to v17 you get a new warning:
warning "@material-table/core > react-beautiful-dnd ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>

Like this
https://github.com/material-table-core/core/blob/07fb84a78347cc1e7d032da55e4239eddd8ffdf8/package.json#L87-L88
and this?
https://github.com/material-table-core/core/blob/07fb84a78347cc1e7d032da55e4239eddd8ffdf8/package.json#L115-L116
If so, just let me know and I will publish a new version.

Hooks were introduced in React 16.8.0, so should use that as the minimum version.
https://reactjs.org/docs/hooks-overview.html

Excellent point! I think this one can wait til tomorrow lol I'm about to crash.
Thanks for all of your help today.

Just tried to install this AM:
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@material-table/core
npm ERR!   @material-table/core@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Maybe go back a version of core or just wait for the dependencies to be resolved.  I think you may only need 16.8+?

This should be fixed now.

Fixed!  Thank You.   Also, have to uninstall non branched version of material-table or you'll get install errors with a date dependency.

I'm still seeing the issue mentioned here https://github.com/material-table-core/core/issues/148#issuecomment-823909965 due to the react-beautiful-dnd peer dependency:
warning "@material-table/core ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "@material-table/core ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>
For that lib, as of 13.1.0 https://github.com/atlassian/react-beautiful-dnd/releases/tag/v13.1.0, React 17 should be supported, so theoretically bumping that peer dep to 13.1.0 should do the trick.


It doesn't skip already downloaded files for some reason

It doesn't skip already downloaded files for some reason.
Invoking with:
wwdcdownloader wwdc/2015/Sample\ Code/

@avioli You are right, that's currently not implemented. I'll take a look!

Fixed in 20.15.1


Not capatable with latest flutter version 3.24.*

While compiling the app, I am getting below errors:
/C:/Users/shubh/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_chips_input-2.0.0/lib/src/chips_input.dart:87:7: Error: The non-abstract class 'ChipsInputState' is missing implementations for these members:
 - TextInputClient.didChangeInputControl
 - TextInputClient.insertContent
 - TextInputClient.performSelector
Try to either
 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.

class ChipsInputState<T> extends State<ChipsInput<T>>
      ^^^^^^^^^^^^^^^
/C:/sdk/flutter/packages/flutter/lib/src/services/text_input.dart:1231:8: Context: 'TextInputClient.didChangeInputControl' is defined here.
  void didChangeInputControl(TextInputControl? oldControl, TextInputControl? newControl) {}
       ^^^^^^^^^^^^^^^^^^^^^
/C:/sdk/flutter/packages/flutter/lib/src/services/text_input.dart:1185:8: Context: 'TextInputClient.insertContent' is defined here.
  void insertContent(KeyboardInsertedContent content) {}
       ^^^^^^^^^^^^^
/C:/sdk/flutter/packages/flutter/lib/src/services/text_input.dart:1252:8: Context: 'TextInputClient.performSelector' is defined here.
  void performSelector(String selectorName) {}
       ^^^^^^^^^^^^^^^
/C:/Users/shubh/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_chips_input-2.0.0/lib/src/chips_input.dart:437:37: Error: The getter 'subtitle1' isn't defined for the class 'TextTheme'.
 - 'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('/C:/sdk/flutter/packages/flutter/lib/src/material/text_theme.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'subtitle1'.
                    theme.textTheme.subtitle1!.copyWith(height: 1.5),
                                    ^^^^^^^^^

Failed to compile application.

same error here, the application can't be compiled because of it.


Remove floating time window

@vishalraina - Hey any opinion regarding this? - I would like to add to this PR some hints that it makes more sense to set a length of 300s but only on boot and let users define the windows.
This would simplify the code and from my opinion it is better as the current approach.
Would be a fix for #455
As you added a lot of time logic I would be interersted in your opinion.
Greetings, Thomas

Hello, @thomaspeitz thank you for let me know.
We should put in additional changes to this PR to fix regression.
Here are code changes we should add back.
CC @singhjagmohan1000 @ssurana

Hey @singhjagmohan1000,
thanks for your informations. That helped a lot.
I think we should do the following:

We should track the time of scraping and expose it as new metric for transparency (maybe even job level based)
Warn users in case that this issue could happen.

Currently magic happens for the user which is hard to understand.
UX was always one of the core principles while writing this.
We need to find a better way to cope with this.
Do you by any chance have a configuration example where I can see this happening? - This would allow me to live code and debug this issue and verify if there is no other solution for this problem.

@thomaspeitz
This was one of the config that we tried.
discovery:
  jobs:
    - type: ec
      regions:
        - us-west-2
      period: 300
      length: 600
      delay: 600
      addCloudwatchTimestamp: true
      metrics:
        - name: BytesUsedForCache
          statistics: ['Average','Minimum','Maximum']
        - name: EngineCPUUtilization
          statistics: ['Average','Minimum','Maximum']
        - name: CacheHitRate
          statistics: ['Average','Sum','Minimum','Maximum']
        - name: CacheHits
          statistics: ['Average','Sum']
        - name: CacheMisses
          statistics: ['Average','Sum','Minimum','Maximum']
        - name: CurrConnections
          statistics: ['Average','Minimum','Maximum']
        - name: Evictions
          statistics: ['Average','Minimum','Maximum','Sum']

Screenshot of gap that was seen in between datapoints
More debug data from debugging we did on our side
Note: Time printed with Timestamps label are in UTC and time printed above are PDT. We can get the same time by subtracting 7H from UTC.

What happened, We can see Values of StartTime in different scrapes:

Scrape 1: 17:27:46
Scrape 2: 17:32:50
Scrape 3: 17:37:54
Scrape 4: 17:42:58
Scrape 5: 17:48:03
We can see that at each scrape StartTime is increased with 5m that we can relate to sleeping time.

But also there is an extra 4s added each time, and then when these 4s add up to next minute we are missing the datapoint by 1m timestamp.

Thank you @singhjagmohan1000 for sharing detailed information on what caused issues.
@thomaspeitz sorry for the late response I had too many things going on for the last 2 months.
Here is a more detailed explanation for new code changes:
In order to remember the last script log what changed from calculation time interval now - 5min(scrape interval) to last scrape time + length in the namespace.
Now that we had time to the last scrape it brings further timestamp issues.
Let us consider the following use case:
YACE scrape interval: 5m(time to sleep between scrapes)
type:ec
Length(in for type ec): 600(10m)
Delay(in for type ec): 600(10m)
Scrape start time: 1500 hrs
YACE start time 1500hrs
As per this configuration
starttime: 1440 hrs
endtime:1450 hrs
YACE second scrape time 1505hrs(after 5 in sleep)
endtime=starttime=1450hrs
newendtime=starttime+length=1505hrs
YACE thrid scrape time 1510hrs(after 5 in sleep)
endtime=starttime=1505hrs
newendtime=starttime+length=1515hrs which is in future.
Due to this both delay and future timestamps become issues. Part of the reason why this bug occurred.
To avoid I did 2 things one make sure sleep is not less than the length of the config file with this code change.
2nd make sure to adjust sleep time so that we do not fall back this code lines were introduced.
Here is my attempt to explain what issue we faced:

In case I still have your attending debugging yace is extremely hard we just expose standard go metrics that all go exporters expose part of yace /metrics URLs these come extremely handy during debugging process.
Happy to get on a call to talk more about this, evening PST hours work best for me on weekdays.

Would be interested in more contributors opinion on changing the whole scraping logic / removing cache (see my last comment)
cc: @jylitalo / @cristiangreco / @rabunkosar-dd / @andyzasl / @arvidsnet / @AndrewChubatiuk
Thanks for your inputs <3

Hi!
From my perspective, Prometheus should do scraping work, while yace - gathering data work.
Moreover, in any kind of a few scrapers design, we'll have to configure each scraper.
So, my opinion is - to let the yace do his work in the most efficient style while keeping in mind, that we might want to scrape it a lot often than the specified time.
Caching is also the major part - cause we have a API calls limit :)
Btw, in https://github.com/nerdswords/yet-another-cloudwatch-exporter/pull/456#issuecomment-945236692
I see something strange, we want to ask for data for 10 min, every 5 min.
It's not clear for me - why?

Closing in favour of https://github.com/nerdswords/yet-another-cloudwatch-exporter/pull/480


Modal | any option to render it deeply inside but have it a global modal?

For the most common use cases, modals should appear in the center of the screen and darken out the entire background. Currently, daisyui has modals open within the scope of the parent container.
Is there some option to make it global so to speak? Or would I have to send state back up the tree and then render it way at the top of the tree?
Thank you?

Could you provide more info, describing your issue. For me it works exactly as you first describe: Appears centered in the window and the entire background is dimmed.

You can put the modal deep inside your HTML tags but there's a high chance it may cause positioning problems. Because the modal is fixed in the center of the page and we want it that way but if any off the parent elements is positioned relatively, or if there are grids, flexboxes, etc... They will affect the positioning of the child element.
So it's suggested for the modal box to be placed outside any container element in the root of the page. This is basically how every JS modal plugin works too but they add or remove the element on demand. daisyUI is a CSS-only solution but you can add or remove the modal box or change its content using JS the way you want.
Let me know if you have any questions


Request: Push branches with av stack sync before creating a PR

I'm using av version v0.0.25 and was wondering if there's any way to push branches to my remote without actually opening a PR?
I have cases where I might want to push branches in the entire stack to GH while I do other git operations, and I want the branches to be on the remote just in case I mess up some operation where reflog would be more work than I want to take on.
At the moment, it seems like I need to manually av stack next && git push for each stack branch, but I'm hoping that I'm missing something obvious.
Once I've done a av stack submit, it does look like av does what I want, but now I might have a bunch of PRs open when really, I wanted to just save a back up of my progress before getting actual eyes on the work.

Thanks for reporting this @abatilo! I ended up implementing av stack for-each which should be useful for this (I'm not sure it makes sense to disable PR creating for av stack submit since that's the main point).
You can do what you want here by running av stack for-each -- git push (or the shorter av st fe -- git push).
Does that work for you?

@travigd That would do it! Looking forward to that release :D


User should receive email when their role has changed

e.g. when they become a teacher/admin

Fixed in be8757ac73dabf5c714c7d2e358f8e77ddad6c45


WIP: Segmentation

Work In Progress, do not merge.
Still missing:

~test for saved indexes~
~faster computing of indexes~
~logging for computation of indexes~
test with real data?
in-code doc
web doc
~make plotting for segmentation~
add citation where it belongs (michielli, cermelli [especially for the code], douillard)
~simplify if in task set~

I've added the plotting for segmentation.
Right now it relies on the colormapping of Pascal-VOC2012. This PR is already quite big, so different colormapping will be provided in another PR.


Slow Drupal installation behind corporate firewall and proxy

Issue Type

Support Request

Your Environment

latest ansible , vagrant and virtualbox

Your OS

macOS (10)

Summary
The provisioning process is extremely slow behind my corporate firewall, I've set the proxy settings through Vagrant but the whole process is really slow, especially with the downloading and installing of Drupal. Is there a setting where I can speed up the downloading and installing of Drupal?

There are a number of things that could contribute to slow speeds. Can you give any benchmarks—e.g. how long is it taking to do a full vagrant up or vagrant provision? And if you use composer on your Mac directly (not via Drupal VM) to run composer create-project drupal-composer/drupal-project:8.x-dev some-dir --stability dev --no-interaction, how long does that take?
Finally, do you have Drupal VM set to use NFS (the default) for the shared folder?

Hi,
The machine is currently building so I'm unable to give exact benchmark at this time, but it took around 2 hours.
No changes were made to the config.yml file is has
vagrant_synced_folders:
  # The first synced folder will be used for the default Drupal installation, if
  # any of the build_* settings are 'true'. By default the folder is set to
  # the drupal-vm folder.
  - local_path: .
    destination: /var/www/drupalvm
    type: nfs
    create: true

When running the composer command on my machine outside of the VM I get the following error
[Composer\Downloader\TransportException]
  The "https://packagist.org/packages.json" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
  error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
  Failed to enable crypto
  failed to open stream: operation failed

I've exported all proxy paths to http and https. But it works within the VM just incredibly slowly.

This sounds like something that's tied up with the corporate network, and is something I've not been able to reproduce either on my home network, my work VPN, VPN'ed through another server I have in AWS, or by a couple colleagues who are also behind a corporate proxy (and use the vagrant-proxyconf plugin).
I'd continue checking if any other networking operations might be slower within the VM (or on the network in general) — downloads from certain sites, composer operations, npm operations, apt-get operations, etc.


Duplicate Phytanoyl-CoA Metabolites

Current behavior:
3(S)-Phytanoyl-CoA (MAM03362c and MAM03362x) and 3(S)-2-Hydroxyphytanoyl-CoA (MAM03363x) seem to be entirely redundant with phytanoyl-CoA (MAM02747c and MAM02747x) and 2-hydroxyphytanoyl-CoA (MAM00655x), respectively:

Reaction
ID with "phytanoyl" metabolites
ID with "3(S)-phytanoyl" metabolites

phytanic acid [c] -> phytanoyl-CoA [c]
MAR03480
MAR03388

phytanic acid [x] -> phytanoyl-CoA [x]
MAR03482
MAR03389

phytanoyl-CoA [x] -> 2-hydroxyphytanoyl-CoA [x]
MAR03484
MAR03384

2-hydroxyphytanoyl-CoA [x] -> pristanal [x]
MAR03486
MAR03385

Expected feature/value/output:
Both sets of reactions and metabolites should not exist. I'm proposing to remove 3(S)-Phytanoyl-CoA (MAM03362c and MAM03362x) and 3(S)-2-Hydroxyphytanoyl-CoA (MAM03363x) and their associated reactions because phytanoyl-CoA (MAM02747c and MAM02747x) and 2-hydroxyphytanoyl-CoA (MAM00655x) participate in more reactions (although several of those have other problems I address in #774 and #775).
Proposed changes:

[ ] Remove MAR03388 for being a duplicate of MAR03480
[ ] Remove MAR03389 for being a duplicate of MAR03482
[ ] Remove MAR03384 for being a duplicate of MAR03484
[ ] Remove MAM03362c and MAM03362x for being duplicates of MAM02747c and MAM02747x, respectively
[ ] Remove MAR03385 for being a duplicate of MAR03486
[ ] Remove MAM03363x for being a duplicate of MAM00655x

3(S)-Phytanoyl-CoA (MAM03362c and MAM03362x) and 3(S)-2-Hydroxyphytanoyl-CoA (MAM03363x) seem to be entirely redundant with phytanoyl-CoA (MAM02747c and MAM02747x) and 2-hydroxyphytanoyl-CoA (MAM00655x)

@Devlin-Moyer if you have more evidence demonstrating that 3(S)-Phytanoyl-CoA (MAM03362c and MAM03362x) and 3(S)-2-Hydroxyphytanoyl-CoA (MAM03363x) are the same?
@Christoff1993 if you can help to double check this?

sorry I may not have written that super clearly; 3(S)-Phytanoyl-CoA (MAM03362) is the same as phytanoyl-CoA (MAM02747), and 3(S)-2-Hydroxyphytanoyl-CoA (MAM03363) is the same as 2-hydroxyphytanoyl-CoA (MAM00655)

I just came across this paper that mentions that people's diets usually consist of a racemic mixture of (3S)- and (3R)-phytanic acid, and while the enzymes responsible for the alpha-oxidation of phytanic acid to pristanal recognize either enantiomer, ACOX2 and ACOX3 (the enzymes responsible for the first step of beta-oxidation of pristanic acid) only act on 2S-pristanoyl-CoA, so people born with defective AMACR (the enzyme responsible for converting 2R-pristanoyl-CoA into 2S-pristanoyl-CoA) accumulate 2R-pristanic acid in their blood.
At the moment, it seems like MAM02746, MAM02747, and MAM00655x represent racemic phtyanic acid, phytanoyl-CoA, and 2-hydroxyphytanoyl-CoA, and no metabolites that are currently present in Human-GEM specifically represent the 3R enantiomers. The stereochemistry gets even more confusing with the metabolites representing pristanal, pristanic acid, and pristanoyl-CoA; 2S-pristanal (MAM00564x) becomes (racemic?) pristanic acid (MAM02766x) in MAR03386, which can become 2S-pristanoyl-CoA (MAM00078x) in MAR03387, 2R-pristanoyl-CoA (MAM00075x) in MAR03493, or (racemic?) pristanoyl-CoA (MAM03887x) in MAR05183. The changes I proposed in the initial comment would basically remove any semblance of stereospecificity in this pathway; if we instead wanted to represent each enantiomer with a separate metabolite, we should instead:

[ ] Rename MAM02746e, MAM02746c and MAM02746x to "(3R)-phytanic acid"
[ ] Rename MAM02747c and MAM02747x to "(3R)-phytanoyl-CoA"
[ ] Rename MAM00655x to "(3R)-2-hydroxyphytanoyl-CoA"
[ ] Create a new metabolite to represent peroxisomal (2R)-pristanal
[ ] Replace (2S)-pristanal (MAM00564x) with the new (2R)-pristanal metabolite in MAR03486
[ ] Bring back (2R,6S,10S)-pristanate (MAM00077x), MAR03488, and MAR03489 (they were removed in #519)
[ ] Replace (2S)-pristanal (MAM00564x) with the new (2R)-pristanal metabolite in MAR03488
[ ] Replace (2S)-pristanoyl-CoA (MAM00078x) with (2R)-pristanoyl-CoA (MAM00075x) in MAR03489
[ ] Create new metabolites for extracellular and cytosolic (3S)-phytanic acid as well as an exchange reaction and [e] <-> [c] transport reaction
[ ] Replace MAM02746c with the new cytosolic (3S)-phytanic acid metabolite in MAR03388
[ ] Create a new [c] <-> [x] transport reaction for the existing (3S)-phytanoyl-CoA metabolites (MAM03362)
[ ] Keep MAM03362c, MAM03362x, MAM03363x, MAR03384, and MAR03385 exactly as they are (i.e. instead of removing them, as initially proposed in this issue)
[ ] Remove MAR03389 (currently converts phytanic acid (MAM02746x) to 3S-phytanoyl-CoA (MAM03362x); MAR03482 converts phytanic acid (MAM02746x) to phytanoyl-CoA (MAM02747x), so if we rename both of those to (3R)-phytanic acid and (3R)-phytanoyl-CoA, we only want to keep MAR03482)
[ ] Remove MAR05186 and MAR05187 (I already proposed this in #775 since they duplicate MAR03486 + MAR03386 in addition to being ambiguous about stereochemistry)
[ ] Remove pristanoyl-CoA (MAM03887x), MAR05183, MAR05184, and MAR01600 (I already proposed this in #776 before being aware of the stereochemistry situation)

This would create two fully distinct series of metabolites and reactions for representing each pair of enantiomers that converge at MAR03491, which already interconverts (2R)-pristanoyl-CoA (MAM00075x) and (2S)-pristanoyl-CoA (MAM00078x):

Reaction
ID using S-enantiomers
ID using R-enantiomers

Exchange of phytanic acid
new
MAR09037

Transport of phytanic acid from [e] to [c]
new
MAR00440

Transport of phytanic acid from [c] to [x]
not sure if necessary
MAR03478

Phytanic acid to phytanoyl-CoA in [c]
MAR03388
MAR06779

Transport of phytanoyl-CoA from [c] to [x]
new
MAR03481

Phytanic acid to phytanoyl-CoA in [x]
not sure if necessary
MAR03482

Phytanoyl-CoA to 2-hydroxyphytanoyl-CoA
MAR03384
MAR03484

2-hydroxyphytanoyl-CoA to pristanal
MAR03385
MAR03486

Pristanal to pristanic acid
MAR03386
MAR03488

Pristanic acid to pristanoyl-CoA
MAR03387
MAR03489

Metabolite
S-enantiomer
R-enantiomer

Phytanic acid
new
MAM02746

Phytanoyl-CoA
MAM03362
MAM02747

2-Hydroxyphytanoyl-CoA
MAM03363
MAM00655

Pristanal
MAM00564
new

Pristanic acid
MAM02766
MAM00077

Pristanoyl-CoA
MAM00078
MAM00075

I edited the proposed changes to try and accurately reflect the stereochemistry that's relevant to these reactions

I have checked the reasoning and citations, and everything seems comprehensive and sound: all the indicated ambiguities do indeed exist and the proposed changes will solve them. I have no disagreements/additional suggestions.


Spilling: dump cold blobs when memory is full in Allocation.

Describe your problem
Support spill and reload functionality for blobs. Intuitively we can store a BlobFault flag for the cold blobs in our memory storage, and trigger the reload callback when we touch them.

I have an preliminary idea for the spill and reload
Firstly, for spilling, based on the previous step we have a LRU to track the unused object[1]. Whenever we have the oom detected[2] we spill the object to disk by dumping the memory (we have the address and the size stored in Payload) into disk[3].  As mentioned in the issue, we may have a Blobfault flag to trigger the callback of reload. To achieve this, one simple way to do this is to keep a spilled map  of <ObjID, callback> and check it whenever we have a GetBuffer request.
Second, for reloading, we should find another memory block to store the object, and to complete this, we could reused the previous logic to find a victim block.
So there are three main question:
[1] : If we have the LRU that just track every different-sized objects, we may need to iterate through list to find the fit-most memory-hole? And there may exist memory fragment.
[2]: How do we detect oom? From what I have read from the source code that the system use memory allocator to manage the memory allocation (eg. dlmalloc), and should we use the Status::NotEnoughMemory to decide the time to spill?
[3]: To spill the Object, we should create a new file named by objectID and dump the memory into it. I'm wondering if there are better way to do it...

Hi @ZjuYTW, thanks for your proposal! The design looks good to me.

[1] : If we have the LRU that just track every different-sized objects, we may need to iterate through list to find the fit-most memory-hole? And there may exist memory fragment.

We do need to iterate through the list to spill enough objects until the memory usage is below a preset threshold.

[2]: How do we detect oom? From what I have read from the source code that the system use memory allocator to manage the memory allocation (eg. dlmalloc), and should we use the Status::NotEnoughMemory to decide the time to spill?

vineyardd sets the memory limitation at here and the the OOM exception is thrown at here

To spill the Object, we should create a new file named by objectID and dump the memory into it. I'm wondering if there are better way to do it...

To support configurable spilling behavior, we could add three FLAGs at spec_resolvers.cc

a spilling_directory to specify a writable path.
a max_spilling_threshold to trigger spilling when memory usage is larger than it.
a min_spilling_threshold to stop spilling when memory usage is below than it.


Ban note expires in time wrong

Ban notes list both the time the ban expires, and the time until they expire. The time until is incorrect. May affect other places where a countdown is used. I'm guessing this is related to timezones, but I'm not sure.
Appears to happen only on postgresql
People talking about in wizden ga-general https://discord.com/channels/310555209753690112/811324338099585036/1149416423031054476

god i love iso whatever timestamp instead of seconds since unix epoch utc :trollface:


use Concurrent collection for executors

Also, there is no need to recalc it from getExecutorsValue, just get the value.

name: Pull Request
about: Create a report to help us improve
title: ''
labels: Status:Discovery
assignees: ''

Environment
Liquibase Version: 3.10.2
Liquibase Integration & Version: maven
Liquibase Extension(s) & Version:
Database Vendor & Version: postgres
Operating System Type & Version: macos 10.15
Pull Request Type

[x] Bug fix (non-breaking change which fixes an issue.) Closes https://github.com/liquibase/liquibase/issues/1455
[ ] Enhancement/New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
Fixing concurrent access to executors by using ConcurrentHashMap for executors
Steps To Reproduce
We have a test that tries to execute migrations in 8+ parallel threads. I cannot share the test, but the gist of it - each thread creates a liquibase migrator (same migration script), and tries to call update over it.
Actual Behavior
Multiple ConcurrentModification exceptions
Exception in thread "Thread-22" java.util.ConcurrentModificationException
	at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1134)
	at liquibase.executor.ExecutorService.getExecutor(ExecutorService.java:93)
	at liquibase.lockservice.StandardLockService.acquireLock(StandardLockService.java:248)
	at liquibase.lockservice.StandardLockService.waitForLock(StandardLockService.java:213)
	at liquibase.Liquibase.update(Liquibase.java:183)
	at liquibase.Liquibase.update(Liquibase.java:178)
	at liquibase.Liquibase.update(Liquibase.java:174)
       ... our code that invokes it ...

Expected/Desired Behavior
No exceptions and only one update successfully executed.
Fast Track PR Acceptance Checklist:

[x] Build is successful and all new and existing tests pass
[ ] Added Unit Test(s)
[ ] Added Integration Test(s)
[ ] Documentation Updated

Need Help?
Come chat with us on our discord channel

Same problem addressed here: https://github.com/liquibase/liquibase/issues/1402

A similar change has already been applied. Thanks

We are experiencing the same problem as we update from Java 8 to Java 11.  I see this PR was originally created against 3.10.x, which would help us tremendously.  Updating to 4.x in the same step makes our migration much much harder.  @nvoxland is can you explain the rationale for changing the branch from 3.10.x to 4.4.x 5 months ago?  I would appreciate any help here.


False positive on webpack loaders

I've got this kind of information:
postcss-loader                      😕  NOTUSED?  Still using postcss-loader?
                                                 Depcheck did not find code similar to require('postcss-loader') or import  from 'postcss-loader'.
                                                 Check your code before removing as depcheck isn't able to foresee all ways dependencies can be used.
                                                 Use --skip-unused to skip this check.
                                                 To remove this package: npm uninstall --save-dev postcss-loader

However, it's used in my code like this:
        {
          test: /\.css$/,
          exclude: /\.module\.css$/,
          use: [
            {
              loader: "postcss-loader", // here
              options: {
                ident: "postcss",
                plugins: loader => [
                  require("autoprefixer"),
                  require("postcss-axis"),
                  require("postcss-custom-media")({
                    extensions: require("./mediaQueries"),
                  }),
                ],
              },
            },
          ],
        },

Oh god. :D


Added Readme Changes

Codecov Report

Merging #56 (edd3f63) into main (3c55b5a) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #56      +/-   ##
==========================================
- Coverage   90.81%   90.76%   -0.05%
==========================================
  Files          66       66
  Lines        2111     2111
==========================================
- Hits         1917     1916       -1
- Misses        194      195       +1

Impacted Files
Coverage Δ

torchflare/callbacks/progress_bar.py
94.17% <0.00%> (-0.98%)
:arrow_down:

Continue to review full report at Codecov.

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


Ukrainian translation

I made a ukrainian translation for your app. However, i don't have console or emulator for test it on, so it might need some editing.
I also added the line "ukrainian": "Українська" in main.json > language.
You also don't have a detailed guied on how to createn a translation, so if there's something I'm missing or haven't done, let me know.
uk-UA.zip

sorry, borealis which switchfin depends does not support ukrainian yet

That's sad, but thanks for the feedback!

add Ukrainian translation to setting tab, but not auto detect by system


Linter crashes on Mac due to absent stdout on result of WorkerJob.

This occurred on a Mac host while trying to reproduce a linter error on the bot.
The stack trace in the linter was:
NoSuchMethodError: The getter 'isEmpty' was called on null.
Receiver: null
Tried calling: isEmpty
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1      main (file:////engine/src/flutter/ci/bin/lint.dart:248:28)
<asynchronous suspension>
#2      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)

The line that caused the exception reads if (job.result?.stdout.isEmpty ?? true) which indicates that the ProcessRunnerResult.stdout was null. Unclear why this can be the case.

cc @zanderso and @gspencergoog as authors of the linter harness.


Always stuck in game and reconnecting the server after that

i use GI-Wine 1.2, every minute is crash, and forced close or stuck, when i try to launch game and back to the game, always reconnecting the server

dis when game was stuck

and dis after dat

macOS: [e.g. 14.4 Sonoma
Device: [e.g. Imac 2019 ]
CPU: [e.g. Intel i7 ]
Dedicated GPU (if any): [e.g.  Radeon Pro 560x 4gb ]
RAM: [e.g. 16G ]

Additional context
Add any other context about the problem here.

Try crossover wine. The option will appear in yaagl settings once you download crossover.

Try crossover wine. The option will appear in yaagl settings once you download crossover.

how to try dis?

https://github.com/yaagl/yet-another-anime-game-launcher/wiki/FAQ#18crossover-does-not-show-on-yaagl-settings

https://github.com/yaagl/yet-another-anime-game-launcher/wiki/FAQ#18crossover-does-not-show-on-yaagl-settings

i already try this, but verification never show up, uncheck AC patch already but still d same

https://github.com/yaagl/yet-another-anime-game-launcher/wiki/FAQ#18crossover-does-not-show-on-yaagl-settings

i think dis software is paid, or not?use free trial?

There's a 15-day trial, and you can just open it once.

https://github.com/yaagl/yet-another-anime-game-launcher/wiki/FAQ#18crossover-does-not-show-on-yaagl-settings

i think dis software is paid, or not?use free trial?

There's a 15-day trial, and you can just open it once.

https://github.com/yaagl/yet-another-anime-game-launcher/issues/286#issuecomment-2004933130

https://github.com/yaagl/yet-another-anime-game-launcher/wiki/FAQ#18crossover-does-not-show-on-yaagl-settings

i think dis software is paid, or not?use free trial?

There's a 15-day trial, and you can just open it once.

verification isnt comin when login

Try doing the verification blindly

Reference

maybe its possible, but really really hard

i use GI-Wine 1.2, every minute is crash, and forced close or stuck, when i try to launch game and back to the game, always reconnecting the server

dis when game was stuck
 and dis after dat

macOS: [e.g. 14.4 Sonoma
Device: [e.g. Imac 2019 ]
CPU: [e.g. Intel i7 ]
Dedicated GPU (if any): [e.g.  Radeon Pro 560x 4gb ]
RAM: [e.g. 16G ]

Additional context Add any other context about the problem here.

i try use another server, i use europe server, its works, but my game profile at beginning again

i use GI-Wine 1.2, every minute is crash, and forced close or stuck, when i try to launch game and back to the game, always reconnecting the server

dis when game was stuck
 and dis after dat

macOS: [e.g. 14.4 Sonoma
Device: [e.g. Imac 2019 ]
CPU: [e.g. Intel i7 ]
Dedicated GPU (if any): [e.g.  Radeon Pro 560x 4gb ]
RAM: [e.g. 16G ]

Additional context Add any other context about the problem here.

i try use another server, i use europe server, its works, but my game profile at beginning again

The profiles are not shared between servers unfortunately. But it's strange having issues between servers since the game is already loaded.

Do you still have this issue?


Use 403 status code on method not allowed fix

Reopened with relevant only commits PR for #464

Thank you! This actually led me find a bug in App that was fixed here


Honeywell Tower Fan Speed

I've searched but haven't found a solution and am hoping you would know the best approach. I recently bought a honeywell fan which has a three button remote.

power
speed (fan has 5 speed settings)
oscillate
I've got power and oscillate set but i'm not quite sure how to setup the speed since its the same hex every time and when you power the fan on it reverts back to the previous fan speed.

Is it infrared controlled? Have a link urL with specs?

Yes it’s IR
https://www.honeywellpluggedin.com/fans/honeywell-quietset-tower-fan
Sent from my iPhone

On Jun 23, 2018, at 12:11 PM, cubilon<EMAIL_ADDRESS>wrote:
Is it infrared controlled? Have a link urL with specs?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

https://i.ebayimg.com/images/g/AsUAAOSwhI1a0SKP/s-l225.jpg

What about the behaviour. If you set the ventilation to 100% and you power off the unit... when you power on again, what happen?

it would be back to 100%...

ok. I would use a on/off fan configuration with oscillation trigger:

{
"name": "Fan",
"type": "fan",
"hideSwingMode": false,
"hideRotationDirection": true,
"data": {
"on": "codeforON",
"off": "codeforOFF",
"swingToggle": "codeForSwing"
}
}

I have the same issue with a similar Honeywell model. (It only has 3 Speedsettings)
Would there be any way to create a fanSpeed trigger, that gets fired every time the Slider is moved regardless of it' position?

any way i could get yall to post the raw ir data for the fan?? i bought it 2nd hand with no remote

What is the ir code for the remote? I lost mine and trying to reprogram it in my universal remote. Thanks for the help!

Remote codes I used with the tower fan for tasmota:
ON event#FAN/POWER DO IrSend {"Protocol":"SYMPHONY","Bits":12,"Data":"0xD84","DataLSB":"0xB021","Repeat":0} ENDON
ON event#FAN/SPEED DO IrSend {"Protocol":"SYMPHONY","Bits":12,"Data":"0xDC6","DataLSB":"0xB063","Repeat":0} ENDON
ON event#FAN/OSCILLATE DO IrSend {"Protocol":"SYMPHONY","Bits":12,"Data":"0xDC3","DataLSB":"0xB0C3","Repeat":0} ENDON


Hover pop-ups don't break out of containers in admonitions or example blocks

Describe the bug
When an example or an admonition shows off a hover pop-up, it doesn't properly break out of its container.
Reproduce the bug
For example, in: https://js.myst.tools/guide/cross-references#directive-targets

List your environment
No response

Love the issues coming in, thank you! :)
I will get this pushed out soon!

There was some reason that I hid content-overflow, but can't remember now, so will fix the regression when it comes up. This will also fix wiki link hovers in the demos!

Also works for hover! Will ideally be live tomorrow, and will close the issue then.

Fixed and deployed!


Make the back link aware of the return to value

The back link on each page is a simple url_for(:back) but this doesn't
recognise a user visiting from a check answers page.
We already store a return to location in the session to allow redirects
back to a check answers page when appropriate.
The simplest change to allow the back link to behave in a similar
fashion is to use this same session value.
Whenever someone clicks a change link from a check answers page, both
the back link and submitting the form successfully should take the user
back to the check answers page.
I considered taking an approach similar to the one in
Apply
but decided that the complexity and changes required outweigh the
benefits for this project.
Instead, I opted for the simpler (and less feature rich) approach of
using the value in session[:return_to] and falling back to a
hard-coded default in the view.
The upside of this is that the URLs are defined explicitly, and at an
individual page level it is easy to understand the navigation.
The downside is that every page needs to define it's referrer.
I think the trade-off is worth it.
https://trello.com/c/t76oJFBj/1024-ensure-back-links-go-to-check-answers-correctly
Checklist

[ ] Attach to Trello card
[x] Rebased main
[x] Cleaned commit history
[x] Tested by running locally

I think you skipped the show upload page in the evidence journey: https://github.com/DFE-Digital/refer-serious-misconduct/blob/back-url/app/views/referrals/evidence/upload/show.html.erb

I think you skipped the show upload page in the evidence journey: https://github.com/DFE-Digital/refer-serious-misconduct/blob/back-url/app/views/referrals/evidence/upload/show.html.erb

I left that on purpose because it always goes back.

I don't think it works if you go back from the categories page. You'll have a loop between those two pages.


Fix potential to miss file download sequences

Hi @butlerx (and @kb1ooo)
I've changed the way the file buffering works and it now builds the file buffer character by character not caring how many data frames the data is split up upon.
This fixes issue #214.

This now also allows you to receive multiple files in the one data frame (which the current method doesn't support).
This method also correctly returns data to the left and right side of a data frame if it's not part of a file or file sequences.

Lastly, I've now made the download feature opt-in by passing --enablefiledownload to the node server which passes it to the client webpage (this also opens up the possibility to pass other config to the client, eg styling from the server-side [loosely referenced by #216]).
I'm open to the idea of splitting these two things into different PRs but I thought they go very nicely together.
Let me know your thoughts on this :)

Looks good upon a cursory review.  I think the only issue, which is probably a non issue, is if lets say 3 of the FILE_BEGIN characters are intercepted (and they are not meant to delineate a file), they won't get written to the terminal until a 4th character is intercepted.  Which may not happen or not happen for some time.

Looks good upon a cursory review. I think the only issue, which is probably a non issue, is if lets say 3 of the FILE_BEGIN characters are intercepted (and they are not meant to delineate a file), they won't get written to the terminal until a 4th character is intercepted. Which may not happen or not happen for some time.

You're spot on here. However, I think this may be unavoidable. We can't send it to the terminal until we know for sure that it isn't a FILE_BEGIN sequence.
I also saw your comment in regard to the other issues you found. I found the same problems while thinking through this which ultimately led to the decision to buffer character by character (simplifies things a lot).

Data in the buffer, but outside the begin/end delimiters, is lost (i.e. not written to the terminal).
A FILE_BEGIN sequence that occurs after a FILE_BEGIN but before a FILE_END is not handled properly.
Or similarly a FILE_END that occurs before a FILE_BEGIN has occurred is not ignored.
There may be multiple segments that occur within a single buffer and that is not handled.

All these cases should are now handled correctly now that I'm buffering character by character.
Once again, thanks for your insights.

You're spot on here. However, I think this may be unavoidable. We can't send it to the terminal until we know for sure that it isn't a FILE_BEGIN sequence.

I think I agree.  I wasn't sure what is the lessor of the 2 evils, writing the extra chars to the terminal or not writing.  Attached is a parser I wrote (abstracted from wetty) that takes the former approach.  It just prepends the current buffer with delim.length - 1 characters from the previous buffer, recurses on looking for beg/end, and then fixes the file buffer if extra characters had been written to it previously.  So file buffers always come out clean but terminal write may not.   I'm not a javascript guy, but it was a decent exercise given that I've started to have to help my high school daughter with javascript :)
//var FILE_BEGIN = '\u001b[5i';
//var FILE_END = '\u001b[4i';
var FILE_BEGIN = '[[[';
var FILE_END = ']]]';
var delimSize = FILE_BEGIN.length;
var dataWrite = "";
var dataFile = "";

function onComplete() {
    console.log("FILE: " + dataFile);
    dataFile = "";
}

function parseEnd(data, aug) {
    dataAug = aug.concat(data);
    indexOfFileEnd = dataAug.indexOf(FILE_END);

    if(indexOfFileEnd != -1) {
        if(indexOfFileEnd > aug.length) // add characters less the augmented piece
            dataFile = dataFile.concat(dataAug.substring(aug.length, indexOfFileEnd));
        else if(dataFile.length > 0)    // remove marker characters that were written already
            dataFile = dataFile.substring(0, dataFile.length - aug.length + indexOfFileEnd);

        // have a full file
        onComplete();

        // recurse if there's any data left in the buffer
        if(indexOfFileEnd + FILE_END.length < dataAug.length)
            parseBeg(dataAug.substring(indexOfFileEnd + FILE_END.length, dataAug.length),"");
    }
    else {
        dataFile = dataFile.concat(data);
    }
}

function parseBeg(data, aug) {

    dataAug = aug.concat(data);
    indexOfFileBegin = dataAug.indexOf(FILE_BEGIN);

    if(dataFile.length == 0 && indexOfFileBegin != -1) {
        if(indexOfFileBegin > aug.length) // write any data up to the begin marker
            dataWrite = dataWrite.concat(dataAug.substring(aug.length, indexOfFileBegin));
        if(indexOfFileBegin + FILE_BEGIN.length < dataAug.length) // look for end marker
            parseEnd(dataAug.substring(indexOfFileBegin + FILE_BEGIN.length, dataAug.length), "");
    }
    else if(dataFile.length > 0) { // look for end marker
        parseEnd(data, aug);
    }
    else {
        dataWrite = dataWrite.concat(data);
    }
}

function returnTail(data) {
    return data.substring(data.length - delimSize + 1, data.length);
}

//
// string is "[[[he[[[llo]]]the]]]re[[[dude]]]monkey"
//
// Correct response should be:
//
// FILE: he[[[llo
// FILE: dude
// WRITE: the]]]remonkey
//
// Note that when the buffer is split, a partial begin seg is written and you get the following instead
//
// FILE: he[[[llo
// FILE: dude
// WRITE: [[the]]]remonkey
//

var one_buf = FILE_BEGIN + "he" + FILE_BEGIN + "llo" + FILE_END + "the" + FILE_END + "re" + FILE_BEGIN + "dude" + FILE_END + "monkey";

console.log("Full buffer is " + one_buf);

console.log("Parsing as one buffer...");
console.log();

parseBeg(one_buf,"");
console.log("WRITE: " + dataWrite);
dataWrite = "";

console.log();
console.log("Parsing with splits across three buffers...");
console.log();
var first_buf = "[["
var second_buf = "[" + "he" + FILE_BEGIN + "llo" + FILE_END + "the" + FILE_END + "re" + FILE_BEGIN + "dude" + "]]"
var third_buf = "]" + "monkey";
parseBeg(first_buf, "");
parseBeg(second_buf, returnTail(first_buf));
parseBeg(third_buf, returnTail(second_buf));

console.log("WRITE: " + dataWrite);

@butlerx, had an opportunity to look at this? I wrote a bunch of unit tests for this as well but deliberately didn't include them as I didn't want to introduce a testing framework.

Please feel free to add test.

Hi @butlerx, I've tidied this up and removed my --enablefiledownload feature, I may add that as a new PR once this is through.
I've also added tests and setup a github action to run on every push / PR.

Hi @butlerx, any chance to review again?


Extend CompileTimeConstant to (static) fields

Description of the feature request
Allow @CompileTimeConstant to annotate fields.
What underlying problem are you trying to solve with this feature?
On static fields, it means that the field's value is computed as a compile-time constant. This is useful as a self-check in some performance-critical code because accidentally making a static final field not a compile-time constant may break some optimizations, such as replacing integral division with a shift.
On instance fields, this annotation may mean that only compile-time constants are written to the field. I don't know why this may be useful, but it would be consistent with the existing meaning of @CompileTimeConstant on method parameters. Alternatively, the annotation may be prohibited on instance fields.
Have you found anything relevant by searching the web?
No.

https://github.com/google/error-prone/commit/121f090aa6388bd6c21d6f6e1c1f09e535512984


Change license to BSD-2-Clause [pear bug 17526]

Update the license to a BSD-2-Clause. Both authors have agreed to this
license change.
Fixes pear bug 17526: https://pear.php.net/bugs/bug.php?id=17526

@stigsb could you confirm an ok with license change?  Already have an ok from @chuck on the PEAR bug itself.

@stigsb trying to reach you again regarding this license change request.  I can take care of the change and release, but I still need your approval for it based on your original contributions.

Please go ahead with the change.


Some classes in incorrect timeslot

Some of the classes are imported on the wrong timeslot. They appear on time 00:00 of the day instead of the correct times. Still, pretty easy to fix manually on our calendars. Thanks!!

Hi! It has been fixed but the extension from the Chrome web store is currently outdated. Let's wait for @drew-747 to push the updates :D

Thanks for flagging @ThaliaRegi! An update has now been pushed to the Chrome web store, pending approval!


Change account page needs to be more vertically responsive

The change account page is not responsive and looks odd at different screen heights. The style and structure needs to be altered to be consistent across more screen heights.

This issue was folded into issue #72 as part of a larger responsiveness overall of multiple pages


Add docs for scrollOnChange

[ ] Requires #536

This will be merged with v3.0.0 release of reativesearch.

Done in #135


Document how to remove a failed node from the cluster

Previously this was difficult to do, but now it's trivial. Check if we really need docs for this, and remove any outdated information that we might have about this.

Fixed in https://github.com/docker/docker.github.io/pull/1792
@joaofnfernandes please close if you agree


Unable to create order

I have a server with two sets of certificates.
One set can be renewed successfully, the other set cannot.
Up until now it has been working without problems.
The set that doesn't work consists of  4 domains
app.littleraven.nl => error: Unable to create order
littleraven.ws ==>error Unable to create order
app.littleraven.ws  ==> OK
www.littleraven.ws ==> OK
The last renewal was in november and that worked without issues.
I updated the win-acme client to the latest version 2.1.14, but it still doesn't work.
Windows Server 2019 standard
IIS 10
win-acme 2.1.14

Could you please post the log output of a failing run? Prefereable one with the --verbose toggle on.

Could you please post the log output of a failing run? Prefereable one with the --verbose toggle on.

Running against the staging servers with verbose option.
1 log file for app.littleraven.ws that is OK
1 log file for app.littleraven.nl that returns with an error.
I also checked the DNS records for these domains and they have the same A and AAA records
log-20210128 - OK.txt
log-20210128 - with error.txt

Running against the staging servers with verbose option.
1 log file for app.littleraven.ws that is OK
1 log file for app.littleraven.nl that returns with an error.
I also checked the DNS records for these domains and they have the same A and AAA records
log-20210128 - OK.txt
log-20210128 - with error.txt

Oops, closed by mistake. Issue still open.

Oops, closed by mistake. Issue still open.

Are you also experiencing this issue on the Let's Encrypt production endpoint? You seem to be using the --test parameter which runs on the staging endpoint.

I just checked and all 8 certificates have been updated.
So I guess the problem just went away...
Thanks for looking into it.


Add filename customisation option to mix clean_mixer.plantuml

Added an option to set the file name for plantuml generator.
⚡ mix clean_mixer.plantuml --output-file=docs/cleanmixer
image file created at docs/cleanmixer.png

⚡ mix clean_mixer.plantuml -o docs/cleanmixer2
image file created at docs/cleanmixer2.png

Default behavior remains unchanged
⚡ mix clean_mixer.plantuml
image file created at clean_mixer.png

Thank you! Just the thing that was missing!


How to change the shape&expression model in 4dface?

I've tried to replace shape model, expression model and contour correspondence with the surrey 29587 version, but it aborted always, I wonder how could I use a higher resolution model to fit photos?

Hi,
Switching to the high-res model should work. If it doesn't, please provide more information, like for example the actual error. If there isn't any error message, run a Debug build and check the line where it fails. Should be an easy fix.

Thanks for your fast reply! It "works", I mean the program could run, but I get almost the same face model using different pictures. I'm not sure what should I do. I chose 10 iterations and 300.0 shape regularization by the way.

It seems to me like it is working and there isn't any issue. Please feel free to re-open the issue with a better description / problem report if there is any issue. Thanks.


plugin doesn't see devices after update to 2.40.2

plugin doesn't see devices after update to 2.40.2. When I am trying to deploy the app as usual there is nothing on OUTPUT and DEBUG CONSOLE as well.  Also "bsc-0.64.3" and "Remote" icons disappeared from the right bottom corner.
All works fine again after revert to previous 2.40.1 version.

Can you look in the "BrightScript Log" "BrightScript Extension" and "BrighterScript Language Server" output channels to see if there is any type of stack trace that might give more information as to what is causing the crash?

When version 2.40.2 installed there are not any "BrightScript Log" "BrightScript Extension" and "BrighterScript Language Server" in the list. But I could provide output from the "Extention host":
2023-05-18 01:01:32.699 [info] ExtensionService#_doActivateExtension RokuCommunity.brightscript, startup: true, activationEvent: 'workspaceContains:/manifest,/bsconfig.json'
2023-05-18 01:01:32.786 [error] Activating extension RokuCommunity.brightscript failed due to an error:
2023-05-18 01:01:32.786 [error] Error: Cannot find module 'request'
Require stack:

/home/oleksandr/.vscode/extensions/rokucommunity.brightscript-2.40.2/dist/BrightScriptCommands.js
/home/oleksandr/.vscode/extensions/rokucommunity.brightscript-2.40.2/dist/extension.js
/snap/code/129/usr/share/code/resources/app/out/vs/loader.js
/snap/code/129/usr/share/code/resources/app/out/bootstrap-amd.js
/snap/code/129/usr/share/code/resources/app/out/bootstrap-fork.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1010:15)
at s._resolveFilename (node:electron/js2c/utility_init:2:2740)
at Module._load (node:internal/modules/cjs/loader:858:27)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at b._load (/snap/code/129/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:126:29948)
at h._load (/snap/code/129/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:126:26698)
at I._load (/snap/code/129/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:90:24489)
at Module.require (node:internal/modules/cjs/loader:1082:19)
at g (/snap/code/129/usr/share/code/resources/app/out/vs/loader.js:4:647)
at Object. (/home/oleksandr/.vscode/extensions/rokucommunity.brightscript-2.40.2/dist/BrightScriptCommands.js:4:17)
at u._compile (/snap/code/129/usr/share/code/resources/app/out/vs/loader.js:4:1271)
at Module._extensions..js (node:internal/modules/cjs/loader:1243:10)
at Module.load (node:internal/modules/cjs/loader:1058:32)
at Module._load (node:internal/modules/cjs/loader:893:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at b._load (/snap/code/129/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:126:29948)
at h._load (/snap/code/129/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:126:26698)
at I._load (/snap/code/129/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:90:24489)
at Module.require (node:internal/modules/cjs/loader:1082:19)
at g (/snap/code/129/usr/share/code/resources/app/out/vs/loader.js:4:647)
at Object. (/home/oleksandr/.vscode/extensions/rokucommunity.brightscript-2.40.2/dist/extension.js:11:32)
at u._compile (/snap/code/129/usr/share/code/resources/app/out/vs/loader.js:4:1271)
at Module._extensions..js (node:internal/modules/cjs/loader:1243:10)
at Module.load (node:internal/modules/cjs/loader:1058:32)
at Module._load (node:internal/modules/cjs/loader:893:12)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at b._load (/snap/code/129/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:126:29948)
at h._load (/snap/code/129/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:126:26698)
at I._load (/snap/code/129/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:90:24489)
at Module.require (node:internal/modules/cjs/loader:1082:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Function.i [as __$__nodeRequire] (/snap/code/129/usr/share/code/resources/app/out/vs/loader.js:5:98)
at v.rb (/snap/code/129/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:126:27962)
at async Promise.all (index 0)
2023-05-18 01:01:32.786 [info] Eager extensions activated
2023-05-18 01:01:32.831 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'

I hope it'll help.

Also the same problem with this version(2.40.2) there is on my home PC on Windows. Also the reverting to 2.40.1 helps.

Ah, perfect. I found the issue, and am building a new release right now. You should see this change in v2.40.3.


Update FAQ

Main things to include:

[ ] How effect size harmonisation is done
[ ] Why some effect sizes are missing
[ ] Why some studies have a mix of betas and OR
[ ] How GWAS Catalog studies have been split into separate study IDs
[ ] Some GWAS Catalog studies are clustered
[ ] V2G includes distance

Regarding V2G , we also need to add that VEP consequences for UTR and intronic variants are no longer weighted zero


Adapt to distroless images and use multi stage build

Details: https://github.com/GoogleContainerTools/distroless

Notes:

Also, the docker image size is reduced from 167 MB to 107 MB.
Benefits: https://www.thoughtworks.com/radar/techniques/distroless-docker-images

Decided to not use.


Provide an secure http wrapper for calls to backend

This way the services only need to know whether they want a secure connection or not, not how to do it

@joshuawilson please ack and myself or @sbose78 are happy to do it :-D

Done by @dgutride


Absolutely no point in showing code unless you show which resources need to be refererenced in the class for it to work

[Enter feedback here]

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

ID: bdcea465-138a-d586-5297-dc93370826b3
Version Independent ID: a41a6f67-0675-036f-0781-13b9165d3848
Content: Xamarin.Forms Local Databases - Xamarin
Content Source: docs/xamarin-forms/data-cloud/data/databases.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @profexorgeek
Microsoft Alias: jusjohns

Microsoft support for Xamarin will end on May 1, 2024 for all Xamarin SDKs including Xamarin.Forms. In preparation for this, all issues and PRs in this repository are being closed.
.NET MAUI is the replacement for Xamarin.Forms, and it's documentation can be found here.


Add tests

I'm thinking manipulating a test board on the website would be a good method here. I don't want to get into mocking out the API until I can prove that it's a more valuable use of time than having some basic functional tests that work the core functions properly.
Anyone that's running this code or hacking on it will also have an API key, so they'd be able to run the same tests. Because of this access to everyone's accounts, these tests should be carefully commented and explained in the contribution section of the README.

Work on this is starting in the functional_tests branch.