node-sass 4.7.2 installation error - npm - Mac OS X High Sierra

It seems that I cannot install node-sass in my environment. I'm on Mac OS X 10.13.3.
To replicate, I simply execute:
mypath root# npm install node-sass

as root.
Detailed log follows:
><EMAIL_ADDRESS>install /mypath/node_modules/node-sass
> node scripts/install.js

Unable to save binary /mypath/node_modules/node-sass/vendor/darwin-x64-57 : { Error: EACCES: permission denied, mkdir '/mypath/node_modules/node-sass/vendor'
    at Object.fs.mkdirSync (fs.js:885:18)
    at sync (/mypath/node_modules/mkdirp/index.js:71:13)
    at Function.sync (/mypath/node_modules/mkdirp/index.js:77:24)
    at checkAndDownloadBinary (/mypath/node_modules/node-sass/scripts/install.js:111:11)
    at Object.<anonymous> (/mypath/node_modules/node-sass/scripts/install.js:154:1)
    at Module._compile (module.js:643:30)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)
    at Function.Module._load (module.js:491:3)
  errno: -13,
  code: 'EACCES',
  syscall: 'mkdir',
  path: '/mypath/node_modules/node-sass/vendor' }

><EMAIL_ADDRESS>postinstall /mypath/node_modules/node-sass
> node scripts/build.js

Building: /usr/local/bin/node /mypath/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 [ '/usr/local/bin/node',
gyp verb cli   '/mypath/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>| darwin | 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` succeeded python2 /usr/local/bin/python2
gyp verb check python version `/usr/local/bin/python2 -c "import platform; print(platform.python_version());"` returned: "2.7.10\n"
gyp verb get node dir no --target version specified, falling back to host node version: 8.9.4
gyp verb command install [ '8.9.4' ]
gyp verb install input version string "8.9.4"
gyp verb install installing version: 8.9.4
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 8.9.4
gyp verb build dir attempting to create "build" dir: /mypath/node_modules/node-sass/build
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/mypath/node_modules/node-sass/build'
gyp ERR! System Darwin 17.4.0
gyp ERR! command "/usr/local/bin/node" "/mypath/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /mypath/node_modules/node-sass
gyp ERR! node -v v8.9.4
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed with error code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

NPM version: 5.6.0
Node version: v8.9.4
Node Process: { http_parser: '2.7.0',  node: '8.9.4',  v8: '6.1.534.50',  uv: '1.15.0',  zlib: '1.2.11',  ares: '1.10.1-DEV',  modules: '57',  nghttp2: '1.25.0',  openssl: '1.0.2n',  icu: '59.1',  unicode: '9.0',  cldr: '31.0.1',  tz: '2017b' }
Node Platform: darwin
Node architecture: x64
node-sass version: n.a.
npm node-sass versions: n.a.

The error message clearly indicates this is a permission issue trying to
create '/mypath/node_modules/node-sass/vendor'.
Npm runs scripts as a restricted user, no root.
You can try using the --unsafe-perms flag to npm install. Otherwise you
need to fix your permissions.
On 2 Mar. 2018 12:38 am, "rik72"<EMAIL_ADDRESS>wrote:
It seems that I cannot install node-sass in my environment. I'm on Mac OS X
10.13.3.
To replicate, I simply execute:
mypath root# npm install node-sass
as root.
Detailed log follows:

<EMAIL_ADDRESS>install /mypath/node_modules/node-sass
node scripts/install.js

Unable to save binary
/mypath/node_modules/node-sass/vendor/darwin-x64-57 : { Error: EACCES:
permission denied, mkdir '/mypath/node_modules/node-sass/vendor'
at Object.fs.mkdirSync (fs.js:885:18)
at sync (/mypath/node_modules/mkdirp/index.js:71:13)
at Function.sync (/mypath/node_modules/mkdirp/index.js:77:24)
at checkAndDownloadBinary
(/mypath/node_modules/node-sass/scripts/install.js:111:11)
at Object.
(/mypath/node_modules/node-sass/scripts/install.js:154:1)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
errno: -13,
code: 'EACCES',
syscall: 'mkdir',
path: '/mypath/node_modules/node-sass/vendor' }

<EMAIL_ADDRESS>postinstall /mypath/node_modules/node-sass
node scripts/build.js

Building: /usr/local/bin/node
/mypath/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 [ '/usr/local/bin/node',
gyp verb cli   '/mypath/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>| darwin | 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 succeeded python2 /usr/local/bin/python2
gyp verb check python version /usr/local/bin/python2 -c "import platform; print(platform.python_version());" returned: "2.7.10\n"
gyp verb get node dir no --target version specified, falling back to
host node version: 8.9.4
gyp verb command install [ '8.9.4' ]
gyp verb install input version string "8.9.4"
gyp verb install installing version: 8.9.4
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 8.9.4
gyp verb build dir attempting to create "build" dir:
/mypath/node_modules/node-sass/build
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir
'/mypath/node_modules/node-sass/build'
gyp ERR! System Darwin 17.4.0
gyp ERR! command "/usr/local/bin/node"
"/mypath/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose"
"--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags="
"--libsass_library="
gyp ERR! cwd /mypath/node_modules/node-sass
gyp ERR! node -v v8.9.4
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed with error code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.

NPM version: 5.6.0
Node version: v8.9.4
Node Process: { http_parser: '2.7.0', node: '8.9.4', v8: '6.1.534.50',
uv: '1.15.0', zlib: '1.2.11', ares: '1.10.1-DEV', modules: '57', nghttp2:
'1.25.0', openssl: '1.0.2n', icu: '59.1', unicode: '9.0', cldr: '31.0.1',
tz: '2017b' }
Node Platform: darwin
Node architecture: x64
node-sass version: n.a.
npm node-sass versions: n.a.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sass/node-sass/issues/2263, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjZWKmjcEjiIhVuvDcO-Cu5F8x-vjvqks5tZ_nygaJpZM4SYUZx
.

https://github.com/sass/node-sass/blob/master/TROUBLESHOOTING.md#cannot-find-module-rootinstalljs

Thank you.

Hello,
I'm having the same issue and I tried the previous link but still nothing changed.
Any other recommandations ?
Thank you.

Please open a new issue
On 3 Mar. 2018 3:36 am, "Charly Bernard"<EMAIL_ADDRESS>wrote:

Hello,
I'm having the same issue and I tried the previous link but still nothing
changed.
Any other recommandations ?
Thank you.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/sass/node-sass/issues/2263#issuecomment-369975727,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjZWGIM8hsNKAmLMjsT2F1o9gZFnaVgks5taXUogaJpZM4SYUZx
.

Same issue three weeks later, no solution

The issue resolution was very clear. The OP didn't have the right permissions to install a global package.
Use the suggested resolution or open a new issue.

try:
sudo rm -rf node_modules && npm rebuild node-sass && npm i
ref: http://froshgeek.com/fix-npm-error-permission-denied-mkdir-related-to-node-sass-macos/


imu/bosch/bmi055: remove interrupt latch and relax backup schedule

the latch would actually cause more problems if the backup schedule hit
this reduces the number of cycles where the FIFO is actually empty at max rate (when there's only 1 sample in the FIFO expected)

Master (after only a minute, but the FIFO empty count continues to increase gradually)
nsh> bmi055 status
INFO  [SPI_I2C] Running on SPI Bus 1
INFO  [bmi055] FIFO empty interval: 500 us (2000.000 Hz)
bmi055_accel: transfer: 127017 events, 1760627us elapsed, 13.86us avg, min 13us max 32us 1.587us rms
bmi055_accel: bad register: 0 events
bmi055_accel: bad transfer: 0 events
bmi055_accel: FIFO empty: 10 events
bmi055_accel: FIFO overflow: 0 events
bmi055_accel: FIFO reset: 1 events
bmi055_accel: DRDY interval: 127047 events, 495.98us avg, min 171us max 1505us 27.462us rms
INFO  [SPI_I2C] Running on SPI Bus 1
INFO  [bmi055] FIFO empty interval: 500 us (2000.000 Hz)
bmi055_gyro: transfer: 125880 events, 1746083us elapsed, 13.87us avg, min 13us max 33us 1.579us rms
bmi055_gyro: bad register: 0 events
bmi055_gyro: bad transfer: 0 events
bmi055_gyro: FIFO empty: 0 events
bmi055_gyro: FIFO overflow: 0 events
bmi055_gyro: FIFO reset: 1 events
bmi055_gyro: DRDY interval: 125920 events, 500.84us avg, min 145us max 1051us 52.025us rms

PR

nsh> bmi055 status
INFO  [SPI_I2C] Running on SPI Bus 1
INFO  [bmi055] FIFO empty interval: 500 us (2000.000 Hz)
bmi055_accel: transfer: 7864 events, 108004us elapsed, 13.73us avg, min 13us max 30us 1.475us rms
bmi055_accel: bad register: 0 events
bmi055_accel: bad transfer: 0 events
bmi055_accel: FIFO empty: 0 events
bmi055_accel: FIFO overflow: 0 events
bmi055_accel: FIFO reset: 1 events
bmi055_accel: DRDY interval: 7891 events, 495.97us avg, min 174us max 1508us 32.082us rms
INFO  [SPI_I2C] Running on SPI Bus 1
INFO  [bmi055] FIFO empty interval: 500 us (2000.000 Hz)
bmi055_gyro: transfer: 7869 events, 108879us elapsed, 13.84us avg, min 13us max 31us 1.545us rms
bmi055_gyro: bad register: 0 events
bmi055_gyro: bad transfer: 0 events
bmi055_gyro: FIFO empty: 0 events
bmi055_gyro: FIFO overflow: 0 events
bmi055_gyro: FIFO reset: 1 events
bmi055_gyro: DRDY interval: 7894 events, 500.89us avg, min 152us max 961us 51.294us rms

As previously noted, the BMI055 timing isn't as stable as other sensors.

Looks good on the test rack.


Change installation instructions to suggest installing from pypi instead of git clone

At some point, we will likely want to change the installation instructions to suggest that users install the latest stable version via pip install from pypi rather than the latest development version (main branch) via git clone.
A few open questions, though:

When is the timing best for making this change?
How do we anticipate the user will obtain the correct tutorial notebooks? (They won't be provided by any pip install command.)
Do we want to update the Dockerfile, too, so that it installs the latest released version?
Should we, concurrently with this change, make it so the latest stable version's documentation is hosted on the web?

(1) is addressed by #213, and we are punting on (2).  We should revisit (3) and (4) soon.

I think everything actionable here is done.  For (2), if somebody wants the Dockerfile to use a released version, they should check out that version's tag first.


Update PopupMenuButton example

PopupMenuButton's example seems pretty limited and non-interactive.
https://master-api.flutter.dev/flutter/material/PopupMenuButton-class.html
Here I updated the example & added couple of comments
Instead of "WhyFarther" enum (which seems to make the example a little confusing), I went for simple menu item enum similar to https://material.io/components/menus
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@gspencergoog
For some reason, PopupMenuItem throws an error as Menu enum is undefined. Weirdly it is not defined in current version either.
Nevertheless, I think PopupMenuItem could also dedicated example to show it can be used outside PopupMenuButton or in any custom widget  PopupMenuItem entries can be presented

For some reason, PopupMenuItem throws an error as Menu enum is undefined. Weirdly it is not defined in the current version either.

What's the error?  The example here seems to work for me with no errors.

@gspencergoog
I just the reverted PopupMenuItem example and it shows this error where Menu  or WhyFarther  `is not defined error is thrown.
This is happening only after updating PopupMenuButton from example class-based example into api/example example
while this doesn't error on the current master
https://github.com/flutter/flutter/blob/120d25f7868907d01066db1c62976fe357d4ca3e/packages/flutter/lib/src/material/popup_menu.dart#L189-L197 h
Starting analysis of code samples.
packages/flutter/lib/src/material/popup_menu.dart:193:29: const PopupMenuItem<Menu>(
>>> error: The name 'Menu' isn't a type so it can't be used as a type argument (non_type_as_type_argument)
packages/flutter/lib/src/material/popup_menu.dart:194:18:   value: Menu.itemOne,
>>> error: Invalid constant value (invalid_constant)
packages/flutter/lib/src/material/popup_menu.dart:194:18:   value: Menu.itemOne,
>>> error: Undefined name 'Menu' (undefined_identifier)

Huh. Yeah, it's a mystery why it isn't currently failing with the WhyFarther enum, but the way to fix it is to add the Menu enum to the // Examples can assume: comment block at the top of the file.

Can we expand the PopupMenuItem to fill the entire space ?
Here's the case that I want to use that property,
Need help Masters! @TahaTesser  @gspencergoog
https://github.com/flutter/flutter/issues/97699


Added support for normal ender pearl usage

This changes Ender pearl behavior so Sentinels actually throw them and are teleported. The previous behavior will remain enabled by default if magic pearls is not set, or is set to true, but moving forward the default behavior should be pretty close to normal vanilla Minecraft behavior (fair warning, I think this means ender pearls will occasionally spawn endermites that attack NPCs)

This is... a weird thing to add (do vanilla ender pearls even qualify as a weapon? they're more a movement tool...), with an even weirder way of adding it (why is it not just a separate item? why are the defaults inconsistent?)
Please instead post an issue or ask on Discord about whatever the underlying idea here is


dpdk nff-go skip EOL ubuntu and debian

NFF-GO test shouldn't run on EOL distros, add skip for EOL Debian and Ubuntu

Reopening, NFF-GO builds dpdk from a copy of the source it provides for itself so the check is still needed.


Unable to generate ERA5 cutout

Version Checks (indicate both or one)

[X] I have confirmed this bug exists on the lastest release of Atlite.

[x] I have confirmed this bug exists on the current master branch of Atlite.

Issue Description
While trying to create a simple ERA5 cutout, I get a mysterious error message from deep within xarray. Here is the full log, reproducer below:
INFO:atlite.data:Storing temporary files in /tmp/tmpxp27b64b
INFO:atlite.data:Calculating and writing with module era5:
INFO:atlite.datasets.era5:Requesting data for feature height...
INFO:atlite.datasets.era5:Requesting data for feature wind...
INFO:atlite.datasets.era5:Requesting data for feature temperature...
INFO:atlite.datasets.era5:Requesting data for feature runoff...
INFO:atlite.datasets.era5:Requesting data for feature influx...
2024-09-20 11:50:28,916 WARNING MOVE TO CDS-Beta
WARNING:cdsapi:MOVE TO CDS-Beta
2024-09-20 11:50:28,953 WARNING MOVE TO CDS-Beta
WARNING:cdsapi:MOVE TO CDS-Beta
2024-09-20 11:50:28,957 WARNING MOVE TO CDS-Beta
WARNING:cdsapi:MOVE TO CDS-Beta
2024-09-20 11:50:28,962 WARNING MOVE TO CDS-Beta
WARNING:cdsapi:MOVE TO CDS-Beta
2024-09-20 11:50:28,967 WARNING MOVE TO CDS-Beta
WARNING:cdsapi:MOVE TO CDS-Beta
INFO:atlite.datasets.era5:CDS: Downloading variables
        geopotential (2020-1)

INFO:atlite.datasets.era5:CDS: Downloading variables
        runoff (2020-[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])

INFO:atlite.datasets.era5:CDS: Downloading variables
        2m_temperature (2020-[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])
        soil_temperature_level_4 (2020-[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])
        2m_dewpoint_temperature (2020-[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])

INFO:atlite.datasets.era5:CDS: Downloading variables
        surface_net_solar_radiation (2020-[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])
        surface_solar_radiation_downwards (2020-[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])
        toa_incident_solar_radiation (2020-[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])
        total_sky_direct_solar_radiation_at_surface (2020-[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])

INFO:atlite.datasets.era5:CDS: Downloading variables
        100m_u_component_of_wind (2020-[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])
        100m_v_component_of_wind (2020-[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])
        forecast_surface_roughness (2020-[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12])

  0%|                                                                                | 0.00/16.1M [00:00<?, ?B/s]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/mgrabovsky/wind/env/lib/python3.12/site-packages/atlite
/data.py", line 116, in wrapper
    res = func(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^
  File "/home/mgrabovsky/wind/env/lib/python3.12/site-packages/atlite/data.py", line 208, in cutout_prepare
    ds = get_features(
         ^^^^^^^^^^^^^
  File "/home/mgrabovsky/wind/env/lib/python3.12/site-packages/atlite/data.py", line 59, in get_features
    datasets = compute(*datasets)
               ^^^^^^^^^^^^^^^^^^
  File "/home/mgrabovsky/wind/env/lib/python3.12/site-packages/dask/base.py", line 660, in compute
    results = schedule(dsk, keys, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mgrabovsky/wind/env/lib/python3.12/site-packages/atlite/datasets/era5.py", line 468, in get_data
    return xr.concat(datasets, dim="time").sel(time=coords["time"])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mgrabovsky/wind/env/lib/python3.12/site-packages/xarray/core/concat.py", line 254, in concat
    first_obj, objs = utils.peek_at(objs)
                      ^^^^^^^^^^^^^^^^^^^
  File "/home/mgrabovsky/wind/env/lib/python3.12/site-packages/xarray/core/utils.py", line 200, in peek_at
    peek = next(gen)
           ^^^^^^^^^
  File "/home/mgrabovsky/wind/env/lib/python3.12/site-packages/atlite/datasets/era5.py", line 453, in retrieve_once
    ds = func({**retrieval_params, **time})
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mgrabovsky/wind/env/lib/python3.12/site-packages/atlite/datasets/era5.py", line 197, in get_data_influx
    sp = SolarPosition(ds, time_shift=time_shift)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mgrabovsky/wind/env/lib/python3.12/site-packages/atlite/pv/solar_position.py", line 84, in SolarPosition
    n = n.chunk(chunks)
        ^^^^^^^^^^^^^^^
  File "/home/mgrabovsky/wind/env/lib/python3.12/site-packages/xarray/util/deprecation_helpers.py", line 118, in inner
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/mgrabovsky/wind/env/lib/python3.12/site-packages/xarray/core/dataarray.py", line 1442, in chunk
    chunk_mapping = dict(zip(self.dims, chunks, strict=True))
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: zip() argument 2 is longer than argument 1

Reproducible Example
import logging

import atlite

logging.basicConfig(level=logging.INFO)

cutout = atlite.Cutout(
    "czechia-2020",
    module="era5",
    x=slice(12, 19),
    y=slice(48.5, 51.2),
    chunks={"time": 100},
    time="2020",
)
cutout.prepare()

Expected Behavior
I expect the ERA5 data to be downloaded correctly and the cutout to be generated along with with its prepared features.
Installed Versions

affine==2.4.0
atlite==0.2.14
attrs==24.2.0
beautifulsoup4==4.12.3
Bottleneck==1.4.0
cads-api-client==1.3.3
Cartopy==0.23.0
cdsapi==0.7.3
certifi==2024.8.30
cftime==1.6.4
charset-normalizer==3.3.2
click==8.1.7
click-plugins==1.1.1
cligj==0.7.2
cloudpickle==3.0.0
contourpy==1.3.0
country-converter==1.2
cycler==0.12.1
dask==2024.9.0
deprecation==2.1.0
entsoe-py==0.6.8
et-xmlfile==1.1.0
fonttools==4.53.1
fsspec==2024.9.0
geographiclib==2.0
geopandas==1.0.1
geopy==2.4.1
idna==3.10
kiwisolver==1.4.7
locket==1.0.0
matplotlib==3.9.2
multiurl==0.3.1
netCDF4==1.7.1.post2
networkx==3.3
numexpr==2.10.1
numpy==1.26.4
openpyxl==3.1.5
packaging==24.1
pandas==2.2.2
partd==1.4.2
pgeocode==0.5.0
pillow==10.4.0
powerplantmatching==0.6.0
progressbar2==4.5.0
pycountry==24.6.1
pyogrio==0.9.0
pyparsing==3.1.4
pyproj==3.6.1
pyshp==2.3.1
python-dateutil==2.9.0.post0
python-utils==3.8.2
pytz==2024.2
PyYAML==6.0.2
rasterio==1.3.11
requests==2.32.3
scipy==1.14.1
seaborn==0.13.2
setuptools==75.1.0
shapely==2.0.6
six==1.16.0
snuggs==1.4.7
soupsieve==2.6
toolz==0.12.1
tqdm==4.66.5
typing_extensions==4.12.2
tzdata==2024.1
Unidecode==1.3.8
urllib3==2.2.3
xarray==2024.9.0
xlrd==2.0.1

I'm experiencing the same issue when attempting to create the example tutorial (https://atlite.readthedocs.io/en/master/examples/create_cutout.html)
  7 cutout = atlite.Cutout(
  8     path="western-europe-2011-01.nc",
  9     module="era5",

(...)
13     chunks={'time': 'auto', 'x': 'auto', 'y': 'auto'}
14 )
---> 17 cutout.prepare(features=['influx'])
File /X/miniconda3/envs/pypsa-ties/lib/python3.12/site-packages/atlite/data.py:116, in maybe_remove_tmpdir..wrapper(*args, **kwargs)
114 kwargs["tmpdir"] = mkdtemp()
115 try:
--> 116     res = func(*args, **kwargs)
117 finally:
118     rmtree(kwargs["tmpdir"])
File /X/envs/pypsa-ties/lib/python3.12/site-packages/atlite/data.py:208, in cutout_prepare(cutout, features, tmpdir, overwrite, compression, show_progress, dask_kwargs, monthly_requests, concurrent_requests)
206 logger.info(f"Calculating and writing with module {module}:")
207 missing_features = missing_vars.index.unique("feature")
--> 208 ds = get_features(
209     cutout,
210     module,
...
-> 1442     chunk_mapping = dict(zip(self.dims, chunks, strict=True))
1443 else:
1444     chunk_mapping = either_dict_or_kwargs(chunks, chunks_kwargs, "chunk")
ValueError: zip() argument 2 is longer than argument 1
I also tried specifically assigning chunks. Maybe it has something to do with the new API system implemented from CDS ?

I also have this issue. lat/lon below are a ~100km box around
limon_co_lat = 39.26719230055635 limon_co_lon = -103.69300728924804
cutout = atlite.Cutout(     path="limon_co_2024_local.nc",     module="era5",     x=slice(min_lon, max_lon),     y=slice(min_lat, max_lat),     time="2023",     dt='h' ) cutout.prepare()

I encountered the same problem. A workaround for me was downgrading xarray to v2024.07.

I encountered the same problem. I tried bypassing the issue on my end with no success, although I made the following observations:

The error seems weirdly inconsistent. I had no issues downloading irradiation data for the Netherlands for 2008, but irradiation data for France would fail due to this bug if I attempted to download 3 or more months.
Passing monthly_requests=True to cutout.prepare() allowed me to get a full weather year for France. However, this didn't seem like a reliable bypass, as it still wouldn't allow me to download even a month of irradiation data for the whole of continental Europe.

I'm trying to see if the bypass by @oruhnau would work for me as well, but testing is painfully slow since the only way I've found to reliably reproduce this bug is to request sufficiently large data from CDS, and the queue takes time 😅I tried saving the ERA5 temp files to test this locally, but I didn't manage to get the error to occur this way when calculating the SolarPosition based on them.

Hey all!
I couldn't reproduce this. Just to be sure, since the xarray switch shouldn't help in that case: Have you switched to the new CDS Api? The old one is decommissioned since 26.9.
See

Please read: CDS and ADS migrating to new infrastructure: Common Data Store (CDS) Engine - Copernicus Knowledge Base - ECMWF Confluence Wiki
Goodbye legacy Climate Data Store, Hello New Climate Data Store (CDS)! - Announcements / C3S - Announcements - Forum

@lkstrp I'm on the new CDS API at least (cdsapi 0.7.2), I thought the old one couldn't even be used anymore 🤔

Interestingly, the code in OP works for me now. I had changed the API URL to https://cds-beta.climate.copernicus.eu/api before, but could still reproduce the issue – it seems to be working now.

There is now also cdsapi 0.7.4, which fixes the bug that caused 0.7.3 not to work. But just FYI, I don't think this is related to the problem here.
And if anyone has any other code snippets that I can try to reproduce the issue, feel free to share it

Example script
@lkstrp Here's a script I threw together based on the create_cutout.ipynb example that runs into this issue:
import atlite
import logging
logging.basicConfig(level=logging.INFO)

cutout = atlite.Cutout(
    path="western-europe-2011-0103.nc",
    module="era5",
    x=slice(-13.6913, 1.7712),
    y=slice(49.9096, 60.8479),
    time=slice("2011-01", "2011-03"),
)
cutout.prepare(features=["influx"])

Note that the error only occurs when downloading 3 or more months of data, e.g. time=slice("2011-01", "2011-02") completes successfully.
Traceback
Here's the traceback I get:
Traceback (most recent call last):
  File "C:\atlite\atlite\data.py", line 116, in wrapper
    res = func(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^
  File "C:\atlite\atlite\data.py", line 208, in cutout_prepare
    ds = get_features(
         ^^^^^^^^^^^^^
  File "C:\atlite\atlite\data.py", line 59, in get_features
    datasets = compute(*datasets)
               ^^^^^^^^^^^^^^^^^^
  File "C:\Users\trtopi\AppData\Local\miniconda3\envs\atlite\Lib\site-packages\dask\base.py", line 660, in compute
    results = schedule(dsk, keys, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\atlite\atlite\datasets\era5.py", line 469, in get_data
    return xr.concat(datasets, dim="time").sel(time=coords["time"])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\trtopi\AppData\Local\miniconda3\envs\atlite\Lib\site-packages\xarray\core\concat.py", line 254, in concat
    first_obj, objs = utils.peek_at(objs)
                      ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\trtopi\AppData\Local\miniconda3\envs\atlite\Lib\site-packages\xarray\core\utils.py", line 201, in peek_at
    peek = next(gen)
           ^^^^^^^^^
  File "C:\atlite\atlite\datasets\era5.py", line 454, in retrieve_once
    ds = func({**retrieval_params, **time})
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\atlite\atlite\datasets\era5.py", line 198, in get_data_influx
    sp = SolarPosition(ds, time_shift=time_shift)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\atlite\atlite\pv\solar_position.py", line 81, in SolarPosition
    n = n.chunk(chunks)
        ^^^^^^^^^^^^^^^
  File "C:\Users\trtopi\AppData\Local\miniconda3\envs\atlite\Lib\site-packages\xarray\util\deprecation_helpers.py", line 118, in inner
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\trtopi\AppData\Local\miniconda3\envs\atlite\Lib\site-packages\xarray\core\dataarray.py", line 1447, in chunk
    chunk_mapping = dict(zip(self.dims, chunks, strict=True))
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: zip() argument 2 is longer than argument 1

There's also a follow-up exception that occurs when atlite tries to get rid of the downloaded temp files after the above error occurs:
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\atlite\cutout_test.py", line 12, in <module>
    cutout.prepare(features=["influx"])
  File "C:\atlite\atlite\data.py", line 118, in wrapper
    rmtree(kwargs["tmpdir"])
  File "C:\Users\trtopi\AppData\Local\miniconda3\envs\atlite\Lib\shutil.py", line 781, in rmtree
    return _rmtree_unsafe(path, onexc)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\trtopi\AppData\Local\miniconda3\envs\atlite\Lib\shutil.py", line 635, in _rmtree_unsafe
    onexc(os.unlink, fullname, err)
  File "C:\Users\trtopi\AppData\Local\miniconda3\envs\atlite\Lib\shutil.py", line 633, in _rmtree_unsafe
    os.unlink(fullname)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\trtopi\\AppData\\Local\\Temp\\3\\tmpdksooror\\tmpqkgowfv1.nc'

My setup
I'm running a Windows 11 machine with miniconda, and set up a new conda environment solely for this test with Python 3.12 and pip install atlite:
Package            Version
------------------ -----------
affine             2.4.0
atlite             0.2.14
attrs              24.2.0
Bottleneck         1.4.2
cads-api-client    1.4.7
cdsapi             0.7.4
certifi            2024.8.30
cftime             1.6.4.post1
charset-normalizer 3.4.0
click              8.1.7
click-plugins      1.1.1
cligj              0.7.2
cloudpickle        3.1.0
colorama           0.4.6
dask               2024.10.0
fsspec             2024.10.0
geopandas          1.0.1
idna               3.10
locket             1.0.0
multiurl           0.3.2
netCDF4            1.7.2
numexpr            2.10.1
numpy              1.26.4
packaging          24.1
pandas             2.2.3
partd              1.4.2
pip                24.2
progressbar2       4.5.0
pyogrio            0.10.0
pyparsing          3.2.0
pyproj             3.7.0
python-dateutil    2.9.0.post0
python-utils       3.9.0
pytz               2024.2
PyYAML             6.0.2
rasterio           1.4.1
requests           2.32.3
scipy              1.14.1
setuptools         75.1.0
shapely            2.0.6
six                1.16.0
toolz              1.0.0
tqdm               4.66.5
typing_extensions  4.12.2
tzdata             2024.2
urllib3            2.2.3
wheel              0.44.0
xarray             2024.10.0

So far, following the workaround of @oruhnau has worked for me, no idea why:

I encountered the same problem. A workaround for me was downgrading xarray to v2024.07.

Thanks for the detailed report @Tasqu! It made it easy to track down.
The problem occurs during some rechunking where the dimension lengths did not match. And version 2024.09 of xarray introduced stricter handling for those cases where things broke.
A simple fix is done in #395.


Remove support for console log filtering

Problem description
Filtering console logs by type is rather uncommon, especially on a mobile device. On iOS the console type selector is always visible and takes unnecessary space.
Expected behavior
Support for this feature could be removed from iOS and Android.

Hm. I would go in a different direction. Instead of removing log levels i would like to include more logging by the framework on the "debug" level, which you then can filter out if you only want to see your own logs.

I like @tbuschto suggestions. We should also update the implementation on iOS to use less space for the filter.


Add set_status method

Codecov Report

Merging #12 into master will increase coverage by 1%.
The diff coverage is 94.44%.

@@          Coverage Diff           @@
##           master     #12   +/-   ##
======================================
+ Coverage    87.8%   88.8%   +1%
======================================
  Files           1       1
  Lines         123     134   +11
======================================
+ Hits          108     119   +11
  Misses         15      15

Impacted Files
Coverage Δ

lintipy.py
88.8% <94.44%> (+1%)
:arrow_up:

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 1278ab8...eaacade. Read the comment docs.


Basic Auth

Implemented session auth using
express-sessions for session management and bcrypt for password hashing.
Created class for easier checking


feat: add a nix flake

Description
Commit created with nix flake init --template github:nixos/templates#rust.
GitHub Action comes for free.

I have limited experience with Nix and I'm not familiar with Nix Flakes at all. What exactly is this for?

@MitchTurner I'm not an expert but I'll tell you what I know.
Your limited experience with nix assumedly exposed you to the nix build philosophy (software builds as a pure function). This facilitates auditing and reproducibility, generally. The nix "flake" is a recent technological development to the nix  ecosystem. The flake has a number of benefits beyond the following (mostly associated with the tooling around templates and listing flake outputs) but the main benefit is improving the reproducibility of builds. There are two files associated with a nix flake The flake.nix file describes both the roots of the build input tree and also the packages/applications/shells/templates/os configurations that the flake exposes to the user. The flake.lock file documents exactly those sources (SHA hashes and git revs) on which the build inputs depend. You can read more about the benefit of nix flakes at https://www.tweag.io/blog/2020-05-25-flakes. I think of flakes as Dockerfiles on steroids.
This particular PR also throws in a GitHub Action that you can use to make sure that your software will build on someone else's machine (only set up for the native architecture (x86_64 for the Action) I think, but that's easy to tweak).

@johnrichardrinehart
Sweet. Thanks for the explanation.
Is the intention for developers to also run the flake on their machines when they develop?

The intention was mostly to put a flake into a repo where I didn't see one and where I thought it would be easy to spin one up. But, adding the flake will support your users in

documenting the build process
facilitating a reproducible build that you can use in CI to ensure your users are using software that will build successfully
providing a sandboxed development environment (nix develop) so that contributors or forkers have access to the tools needed to build/debug the software without needing them installed in their path.


BaasicClient doubles api key when returning secureApiUrl

Issue tracker is used for reporting bugs and requesting new features. Please use StackOverflow or Google Groups for supporting issues.
General Information
BaasicClient doubles api key when returning secureApiUrl.
Example of use:
public Repository(IBaasicClient baasicClient)
{
BaasicClient = baasicClient;
}
BaasicClient.GetSecureApiUrl("resources/");
-- Returns https://api.baasic.com/version/api-key/api-key
Expected Behavior
E.g. secure api url should be like: https://api.baasic.com/version/api-key/api-key
Current Behavior
Secure api url looks like: https://api.baasic.com/version/api-key/
Possible Solution
Steps to Reproduce

Detailed Description
Possible Implementation
Specifications

ApiKey:
Version:
Url:
SDK:

This issue has been fixed in 0.8.156 version.


Draw multiple Rectangle

Hi, Thanks for your library,
Nice work.
I have problem, to draw multiple rectangle, I following your demo with event draw mouseup, draw mousedown and rect drawstop but I can't create multiple rectangle cause your demo removeListener for all next event.
Please give me some guide to implement this.

Those questions are better asked on stackoverflow and not in the issue tracker. We have a dedicated tag at stackoverflow where far more people are willing to help which will resolve your issue even faster.

This answer is a shame as nothing at all is being addressed on stackoverflow in regards to this extension of svg.js and it would seem addressing the ISSUE here would be most helpful.
While svg.js seems to be responded to - this is not.

@audas I follow the tag svg.js on stackoverflow. I get mails when questions are asked with this tag. I dont get a mail immediately so it can take its time until I answer. If your question does not land in my inbox, I am sorry but I cant do much about it.

https://stackoverflow.com/questions/55530152/draw-multiple-rectangles-with-svg-draw-js#55530434


Assignment 1

Dear all,
The groups have been generated and you can see in the readme file of this repository.
This assignment is compound of two tasks.
The first task is to create an markdown file where each member must place a list of databases that they would like to work with and the description of that dataset. These are the steps you must follow to complete the task:
You must to select a member of your group to be the one who will review the codes of all the members (repo maintainer).
The repo maintainer must create the branch named group_#_ass_1_2024_task1 (group_1_ass_1_2024_task1) and save their markdown in the Assignment_1 folder. Name your Markdown file like your branch (group_#_ass_1_2024_task1).
Each member has to write his text. For example:
Alexander
a. Database: Nexus Ministry of Education
b. Information: Data about teachers at the kinder, primary, and secondary levels for the years 2015-2023
c. Interest: I would like to study information on teacher migration within Peru - or any other general idea about a possible research question.
Then, the member should request a review of its commits. The repo maintainer should request to add the email of the member next to its name. This process should be repeated for all the members but the repo maintainer. For example:
Alexander -<EMAIL_ADDRESS>a. Database: Nexus Ministry of Education
b. Information: Data about teachers at the kinder, primary, and secondary levels for the years 2015-2023
c. Interest: I would like to study information on teacher migration within Peru - or any other general idea about a possible research question.
Finally, the repo maintainer and only the repo maintainer should merge the branch to the main branch when all the members finished their task.
It will be graded how you procedure in each step.
Additionally, you must answer the questions in the following Jupyter Notebook (JN) named as Assignment_1.
Follow the same procedure as in the previous task to upload your branch.
Each group must create their branch named group_#_ass_1_2024_task2 (group_1_ass_1_2024_task2) and save their results in the Assignment_1 folder. Name your JN like your branch.
And don't forget that your Pull request should be linked to this issue.
Deadline: 01/07/24 23:59pm.

Assigment 1, activity 1 https://github.com/alexanderquispe/MediaLab_Summer_Python/pull/11
Assigment 1, activity 2 https://github.com/alexanderquispe/MediaLab_Summer_Python/pull/19

Assigment 1, task 1 #21
Assigment 1, task 2  #22

Assigment 1, task 1 #37
Assigment 1, task 2 #36


data file names on windows might be broken

datasets from benchmark-nature get written to a file inside the .asreview directory. The file name includes a colon, which seems to trigger an error on windows

for the time being consider adding a pytest.mark.xfail or something

Not sure how to fix that in this repo. Closing this issue.


Upgrade integration tests to use rust 1.5 stable to test with the latest bits and command line parameters.

Adjusted test lib project, because dead code is not allowed anymore.
Without objections will merge in a couple of days.

I'm just wondering why we need to have a big rust installer blob in the git repo in the first place.

@retep998 it's just the simplest way to have one I suppose.


Header in mobile view is not shown

I am using this super responsive table with react. I have created a custom table that would be used for the project.
I am using this in a super responsive table and creating a table. Creating Dynamic Header and Dynamic Body.
On the Laptop View, the table is working fine but on mobile view, the header is not coming on the display as shown below in the screenshot as it should be.
I have been using this as a column config :
export const column config = [
{
coloumnName: "Name",
coloumnType: "regular",
className : "col-md-2 col-12 text-break ",
dataColoumn: "name",
color: "#555",
backgroundColor: "white",
fontSize: "10px",
linkTo: "null",
sortExpression: "name"
}
}
And data from API is in this Form
export const persons = [
{
_id:1,
name: "Cardio-repository Events and Inflammatory Response After Primary Immunization in Peterm Infants",
type: "Research",
status: "DRAFT",
enrolmentType: "Automatic",
lastUpdated: "23-Jul-2021",
lastUpdatedBy: "Neil",
owners: "John",
tags: ["Immunization", "Cardio-respiratory"]
}
]
My Basic Structure Flow is in this way for a particular Td.

Name

Cardio-repository Events and Inflammatory Response After Primary Immunization in Peterm Infants

Expected behavior
In Full View it is Fine

A clear and concise description of what you expected to happen.
Screenshots
In Mobile View Header is Missing

Desktop (please complete the following information):

OS: [e.g. iOS] - Windows 10
Browser [e.g. chrome, safari] - Chrome
Version [e.g. 22] - Version 96.0.4664.93

Smartphone (please complete the following information):

Device: [e.g. iPhone6] - iphone 7
OS: [e.g. iOS8.1] - iOS 14
Browser [e.g. stock browser, safari] - safari
Version [e.g. 22] - 22

Hi @vivek07542, thank you for creating this issue. Are you using the styles provided in src/SuperResponsiveTableStyle.css?
If you're missing tdBefore styles, then the left side of mobile view would not show.

  .responsiveTable td .tdBefore {
    /* Now like a table header */
    position: absolute;
    display: block;

    /* Top/left values mimic padding */
    left: 1rem;
    width: calc(50% - 20px);
    white-space: pre-wrap;
    overflow-wrap: break-word;
    text-align: left !important;
    font-weight: 600;
  }

I have used this both thing
import { Table, Thead, Tbody, Th , Td , Tr } from 'react-super-responsive-table';
import 'react-super-responsive-table/dist/SuperResponsiveTableStyle.css';

I am trying my best to solve this issue. I am working on multiple approaches that come to me.
The only thing that I was able to notice .I created a hard-coded table. The output of the table in the browser has the shown below code.

        Name

        Name

       Cardio Arrest is a painful disease

While  Dynamic Header Table has the following  Output in the browser for the same data:

                Name

                        Cardio Arrest is a painful disease

The Only Difference between these two are in :

In Hard-Coded, Table is working fine in mobile view as well but I am not able to see the Text of the header in Mobile View in Dynamic Header Table

In Dynamic :

  we can notice no Name has been Printed.
In Hard-Coded :
Name
 Name is Printed.
Why is it happening? Please guide

Here is the repository, please install the npm to start the project.
You can see the table on Home Page only where you can see the issue for better understanding and flow.
Also, please guide, what would be the possible issue which needs to be addressed

Please help us out on this issue.

Here is what I recommend you do catch the issue:
Recompose your table to a simple non-dynamic table. Next, add in the dynamic features.  Do you spot the issue?

This is also happening for me. The first Th is showing on mobile but the rest of them have an empty th in the dom.

It's an odd one.
very annoying

But the issue has still not been resolved.
I have tried every aspect as you said Recompose your table to a simple non-dynamic table. Next, add in the dynamic features.  Do you spot the issue? but it's showing the same error.

I also still have the issue.


Added NonVirtualizingStackLayout.

What does the pull request do?
Adds our first non-virtualizing attached layout: NonVirtualizingStackLayout. This isn't present in WinUI so was implemented from scratch.
This will be needed as part of #3388
Checklist

[x] Added unit tests (if possible)?

How does this relate to normal StackPanel and VirtualizingStackPanel? Will we keep both solutions or this is supposed to replace current containers as well?

How does this relate to normal StackPanel and VirtualizingStackPanel? Will we keep both solutions or this is supposed to replace current containers as well?

At the moment this is just for ItemsRepeater in cases where you don't want virtualization. WinUI also adds a LayoutPanel which is a Panel that can use attached layouts, but that's not been ported yet.


Idiomatic way to use this inside a promise function

Hi, Great library!
What are the options of using this inside a promise function?
return new Promise(function(resolve, reject){
  // I want to access this here, but it's a global object, not current object
});

I can use good old that:
var that = this;
return new Promise(function(resolve, reject){
  that.callMethod();
});

I also could use bind.
return new Promise(function(resolve, reject){
  this.callMethod();
}.bind(this));

Which is my preferred way, but I'm afraid it could break lie in unexpected ways.
Please let me know of a preferred way of using this.
Thanks

Either of those would work perfectly though bind is sometimes slower so I
tend towards the other
On Thu, Mar 26, 2015, 1:52 AM Valentin Vasilyev<EMAIL_ADDRESS>wrote:

Hi, Great library!
What are the options of using this inside a promise function?
return new Promise(function(resolve, reject){
// I want to access this here, but it's a global object, not current object
});
I can use good old `that':
var that = this;return new Promise(function(resolve, reject){
that.callMethod();
});
I also could use (bind)[
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind
]
return new Promise(function(resolve, reject){
this.callMethod();
}.bind(this));
Which is my preferred way, but I'm afraid it could break lie in
unexpected ways.
Please let me know of a preferred way of using this.
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/calvinmetcalf/lie/issues/17.

Thanks!


lookup testWithHelper

Description
Please explain the changes you made here.
Which issue(s) does this PR fix

Fixes #?

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

/test all

/test all

/test all

/test all

/test all

/test all

/retest

/test all

/test all

/ok-to-test

/test all

/test all

/test all


Consider switching React-Redux template folder structure to fractal

Grouping files by type instead of modules/features usually results in code being harder to find and whole project becomes unorganized.
Instead, grouping it by "modules" (or features) makes it easier to follow, even in a really big project.
Here are a few examples of this structure implemented in a React/Redux app.
https://github.com/davezuko/react-redux-starter-kit/wiki/Fractal-Project-Structure
https://github.com/jaysoo/todomvc-redux-react-typescript/tree/master/client

Definitely happy to consider this. Do you want to provide details on how you'd reorganise ReactReduxSpa?
BTW, I thought the ReactReduxSpa already was organised by feature area, and not by file type. I went to some length to set it up this way, because I also strongly prefer organising by feature area. That's why, for example, everything related to "counter" is in the Counter.tsx file for the UI component, and store/Counter.ts for the store aspects of it. It's not structured like many Redux samples where you'd have "actions" in one folder, "action creators" in another folder, "reducers" in another folder, and so on.
I did retain the separation of "UI" versus "store" because that's pretty much the central concept of Flow/Redux, and if your goal is to test these independently, you'd really want to avoid unintended coupling of UI and store code. Not having a clear division between "store" and "UI" would seem to undermine the whole architecture.

Yes, I think the store should be kept separated from the UI as it is now. Nothing to change there IMHO.
I guess the part that could be improved is how all the different components are organized. And by different components I mean layouts, "page views", containers, reusable component and all the feature-specific components.
Instead of having a unique components folder where everything is thrown there, we could have some root folders for common components like layouts, top-level components and reusable components.
Then, under a routes or features or whatever folder we could have feature-specific components and styles whose parent folder match a specific route for example.
I personally like how this starter kit has organized the project. Except that they also have some redux specific files along with the component which I don't like.
The problem is that in order to include "local" styles for a component, the template should include some kind of inline or local styling solution like Radium, PostCSS, CSS Modules, etc. And this is where the React community haven't really come into consensus.
I like the idea of CSS Modules, giving you the ability to include styles that are only local to a specific component and so you store the style next to the component.
A potential structure for the ClientApp folder could be:
ClientApp
├── components              # Presentational Components
|   └── NavMenu.tsx         # Reusable presentational component
├── containers              # Top Level Container Components
|   └── AppContainer.tsx    # We could extract the JSX that generates the top level <Provider> container here from the boot files. Although not sure if it's easy to make it work with both client and server side bootstrap.
├── layouts                 # Components that dictate major page structure
|   └── Layout.tsx          # Main layout
├── stores                  # Redux related code (same as now)
├── styles                  # Global styles
└── routes                  # This is where the fractal structure starts
    ├── Home
    |   ├── assets          # Local assets used in the Home component
    |   └── Home.css        # Local styles for the Home component
    |   └── Home.tsx        # Home component
    ├── Counter             # Idem Home
    └── FetchData           # Idem Home

I'm just suggesting a simple re-structure of the templates so they can be used for projects that are know they're going to be big without the need of doing refactoring in the middle of the dev process.

This is cool, and I appreciate that large projects are likely to proceed along these lines.
My reservation is that Redux is already exceptionally intimidating and unfamiliar for most web devs, and the only way that people will even look at it is if all additional complexity is minimised or removed. I would favour slimming down the existing React+Redux template rather than expanding it with more subtleties that will raise more questions (e.g., "what's a route versus a container or a component or a layout?").
Having specific distinctions between item types (components, containers, layouts) doesn't help with your wish to group by feature area. In fact it's the opposite, as a feature area is likely to include items from each of these categories.
So, while I appreciate that developers who go deep into React+Redux will want to come up with some more detailed arrangement for their projects, I don't think it's the ReactReduxSpa template's role to define one true arrangement, and I'm really keen to avoid expanding the concept count as it's too much for many devs already.
Would you be OK if we kept it as-is? Please reopen if you think it's important we should change something here.


imdb_lookup always fails

Last time this happened it was an imdb scraping issue but I've had this issue for the last couple days so I have a feeling that's not it if nobody else is having this issue.
Expected behaviour:
Movie is renamed properly and reloaded into deluge
Actual behaviour:
Rejects automatically
Config:
  movies_rename:
    from_deluge:
      host: '{? deluge.host ?}'
      port: 2134
      username: '{? deluge.user ?}'
      password: '{? deluge.password ?}'
      filter:
        label: movies
        state: seeding
    accept_all: yes
    no_entries_ok: yes
    disable:
      - seen
      - seen_info_hash
    imdb_lookup: yes
    require_field: [imdb_name, imdb_year]
    if:
      - imdb_url == None: reject
    deluge:
      host: '{? deluge.host ?}'
      port: 2134
      username: '{? deluge.user ?}'
      password: '{? deluge.password ?}'
      main_file_only: yes
      move_completed_path: ~/torrents/completed/_Movies/_renamed
      content_filename: "{% if imdb_name is defined %}{{imdb_name|replace(''',\"'\")|replace(':','')}} ({{imdb_year}}) {% else %}{{title}} {% endif %}{% if quality|default(False) %}{{quality.resolution}}{% endif %}"
      label: movies_renamed

Log:

(click to expand)
There is a FlexGet process already running for this config, sending execution there.
2022-10-14 03:11:18 INFO     performance                   Enabling plugin and SQLAlchemy performance debugging
2022-10-14 03:11:18 VERBOSE  manager                       There is a task already running, execution queued.
2022-10-14 03:11:27 INFO     deluge_client.client movies_rename   Connecting to XXXXX:2134
2022-10-14 03:11:27 INFO     deluge_client.client movies_rename   Connecting to XXXXX:2134
2022-10-14 03:11:27 VERBOSE  details       movies_rename   Produced 2 entries.
2022-10-14 03:11:27 VERBOSE  task          movies_rename   ACCEPTED: `The.Pink.Panther.Strikes.Again.1976.1080p.BluRay.x264.AC3-PxHD.mp4` by accept_all plugin
2022-10-14 03:11:27 VERBOSE  task          movies_rename   ACCEPTED: `The.Imaginarium.of.Doctor.Parnassus.2009.1080p.BluRay.x264.AC3-PxHD.mp4` by accept_all plugin
2022-10-14 03:11:27 VERBOSE  imdb_lookup   movies_rename   Imdb lookup failed for the.pink.panther.strikes.again.1976.1080p.bluray.x264.ac3-pxhd.mp4
2022-10-14 03:11:27 VERBOSE  task          movies_rename   REJECTED: `The.Pink.Panther.Strikes.Again.1976.1080p.BluRay.x264.AC3-PxHD.mp4` by if plugin because matched requirement: imdb_url == None
2022-10-14 03:11:27 VERBOSE  imdb_lookup   movies_rename   Imdb lookup failed for the.imaginarium.of.doctor.parnassus.2009.1080p.bluray.x264.ac3-pxhd.mp4
2022-10-14 03:11:27 VERBOSE  task          movies_rename   REJECTED: `The.Imaginarium.of.Doctor.Parnassus.2009.1080p.BluRay.x264.AC3-PxHD.mp4` by if plugin because matched requirement: imdb_url == None
2022-10-14 03:11:27 VERBOSE  details       movies_rename   Summary - Accepted: 0 (Rejected: 2 Undecided: 0 Failed: 0)
2022-10-14 03:11:27 INFO     performance                   Performance results for task tvshows:
2022-10-14 03:11:27 INFO     performance                   retry_failed    took 0.15 sec (0 queries)
2022-10-14 03:11:27 INFO     performance                   series          took 0.81 sec (0 queries)
2022-10-14 03:11:27 INFO     performance                   seen            took 0.24 sec (0 queries)
2022-10-14 03:11:27 INFO     performance                   Performance results for task movies_rename:
2022-10-14 03:11:27 INFO     performance                   from_deluge     took 0.25 sec (0 queries)
2022-10-14 03:11:27 INFO     performance                   Performance results for task specials_rename:
2022-10-14 03:11:27 INFO     performance                   require_field   took 5.09 sec (0 queries)
2022-10-14 03:11:27 INFO     performance                   Performance results for task jacob_done:
2022-10-14 03:11:27 INFO     performance                   Performance results for task david_done:
2022-10-14 03:11:27 INFO     performance                   from_deluge     took 0.16 sec (0 queries)

Additional information:

FlexGet version: 3.3.34
Python version: Python 3.6.9
Using daemon (yes/no): yes
OS and version: Ubuntu 18.04.5 LTS

I saw crash report where was this row
2022-09-15 06:33:07 CRITICAL task          IMDB            BUG: Unhandled error in plugin imdb_watchlist: HTTPSConnectionPool(host='www.imdb.com', port=443): Read timed out.
Probably all after that will fail.

Same here. Probably some modification within the imdb api

yeah. i just switch to TMDb and i'm much happier. it will properly look up and rename comedy specials unlike imdb and has a proper API so i'm probably not going back to imdb tbh.
hopefully this does get fixed though.

There probably is, but Amazon must charge a lot for access 🤑 but to be fair it does have the next best thing that the plugin uses, embedded JSON xD

My whole config is based on imdb ratings and imdb ids 😂

Hmm. I forgot we switched to the JSON. Maybe a fix isn't so hard. I haven't investigated at all yet.

I wouldn't know, the lookup still works mostly fine here, other than the plot_outline that had its path and default value changed (#3552), all fields I use in my notifications are present :P

I also have exactly the same issue as the OP.

I ran the imdb test in online mode. Most of them are missing expect for the plot outline. IMDB has somehow changed where the plot/storline exists.
The test checks against https://www.imdb.com/title/tt2503944/.. It fails as the plot is None.. I cannot find in the HTML where it is getting the storyline outline from
Chef Adam Jones ([Bradley Cooper](https://www.imdb.com/name/nm0177896/)) had it all - and lost i
Any ideas? If someone can figure it out, ill fix the code.

I was just testing this. The main issue I was finding is that they changed the format of the search results. Working on a PR to at least partially fix.

Ah ok, ill leave it with you if you are already mid PR

It fails as the plot is None.. I cannot find in the HTML where it is getting the storyline outline from

It's now in the plot node under above_the_fold_data, but the value isn't the same as the one in the test, they're only making a shorter plot_outline available.
https://github.com/Flexget/Flexget/pull/3552/files#diff-64630b61fec80c544e6632471112dd7408bdfb98613df9c0958f38c6628c6e7dR410

If you scroll down the imdb page the full plot is there, under storyline.. Just can't work out where that data is coming from. I searched keywords in the HTML, nothing.

If you guys aren't failing on the actual search, it must be a staged rollout of a new design or something, because mine didn't even get past that. I have to go to sleep soon, I'll push my work for anyone else to continue.

It is, but to get it we'd have to parse the page with BeautifulSoup, and that's even more prone to breaks when they change the design. I assume that's why the plugin uses the JSON data embedded at the end of the page code instead of scraping.

@BrutuZ IIRC we already parse using BeautifulSoup.. What i am saying is i cannot find where the storyline text is in the HTML.. Even if we looked via BeautifulSoup.. it does not exist as far as i can tell. It might be making another API Call to get the data tho

From what I could notice on the quick glance for that ugly "fix" on #3552 currently BSoup is only used to find the element with the JSON data, but there could be more to it that I just didn't see since I was only looking for the plot_outline (the only field I'm missing).
It does seem the plot is loaded afterwards by a script, I refreshed the page and could see it populating

My fix is still broken on several tests. I'm too tired to look. Anyone can feel free to add to that branch or comment.

one thing to notice on this failure is that if the task has two plugins: imdb_lookup and metainfo_movie, so when imdb fails, it takes down the other parser too.
The example was with the filename as:
    copy:
      to: ".../MoviesFromIMDBList/{{ movie_name|replace(' ','.')|replace(':','.')|replace('?','.') }}.{{ movie_year }}.{{ quality.resolution }}/"
      rename: "{{ imdb_name|replace(' ','.')|replace(':','.')|replace('?','.') }}.{{ imdb_year }}.{{ quality.resolution }}{{ location|pathext }}"

The end result is the directory named None.None with a filename None.None.mkv

Unfortunately still having the same problem with Flexget version 3.4.2. Exactly as what the OP stated.

@Larrikinau Can you make a new ticket and post debug logs of the lookups failing?

Ideally, on a small test config something like this:
tasks:
  aoeu:
    mock:
      - title: the.pink.panther.strikes.again.1976.1080p.bluray.x264.ac3-pxhd.mp4
    imdb_lookup: yes
    accept_all: yes

flexget --test --debug execute --task aoue --dump eval

Sure thing - done. https://github.com/Flexget/Flexget/issues/3586
Please let me know if anything else is required.


[Bug] Cannot set pgNum or pgSize for FileEventQuery()

Similar to #179, I cannot find a way to set a non-default pgNum or pgSize when calling sdk.securitydata.search_file_events()
Steps to Reproduce
Example Script:
#!/usr/bin/python3
import py42.sdk
import py42.settings as settings
from py42.sdk.queries.fileevents.file_event_query import FileEventQuery
from py42.sdk.queries.fileevents.filters import *

settings.security_events_per_page = 25

sdk = py42.sdk.from_local_account(
    "console_url",
    "username",
    "password"
)

time_filter = EventTimestamp.within_the_last(EventTimestamp.FIFTEEN_MINUTES)
query = FileEventQuery.all(time_filter)

print(query)

Expected Results
{
  "groupClause":"AND",
  "groups":[{"filterClause":"AND", "filters":[{"operator":"WITHIN_THE_LAST", "term":"eventTimestamp", "value":"PT15M"}]}],
  "pgNum":1,
  "pgSize":25,
  "srtDir":"asc",
  "srtKey":"eventId"
}

Actual Results
{
  "groupClause":"AND",
   "groups":[{"filterClause":"AND", "filters":[{"operator":"WITHIN_THE_LAST", "term":"eventTimestamp", "value":"PT15M"}]}],
  "pgNum":1,
  "pgSize":10000,
  "srtDir":"asc",
  "srtKey":"eventId"
}

I've also tried passing page_number=2 as a kwarg when instantiating a new FileEventQuery, but that doesn't seem to have any effect either.

@themullinator - Thanks for reporting this.
It was fixed in #179, however hasn't gone into a release yet. If you're using a version installed with pip, you may not yet have this fix.
I've tested this using the script you've provided, based on the current master branch, and I'm getting the expected output.

@themullinator per @DiscoRiver's statement, security_events_per_page has not been released yet (but should be soon)!
In the mean time, you can still change the default page size by setting the page_size property of the FileEventQuery object:
import py42.settings as settings
from py42.sdk.queries.fileevents.file_event_query import FileEventQuery
from py42.sdk.queries.fileevents.filters import *
time_filter = EventTimestamp.within_the_last(EventTimestamp.FIFTEEN_MINUTES)
query = FileEventQuery.all(time_filter)
query.page_size = 42 # set the page size desired here
print(query)

yields
{
  "groupClause": "AND",
  "groups": [
    {
      "filterClause": "AND",
      "filters": [
        {
          "operator": "WITHIN_THE_LAST",
          "term": "eventTimestamp",
          "value": "PT15M"
        }
      ]
    }
  ],
  "pgNum": 1,
  "pgSize": 42,
  "srtDir": "asc",
  "srtKey": "eventId"
}

I'm noticing that our documentation and examples do not make the existence of that property very apparent -- I'll make a note to add something there to make this more obvious.

@themullinator it looks like @DiscoRiver was actually correct in his statement that this hasn't been released yet -- there must have been a merge conflict in our CHANGELOG that was incorrectly resolved, giving the appearance that this feature was released when it hasn't been :-/. I was able to reproduce your porblem on the latest release.
That being said, I can also confirm that your reproduction steps work as expected in the master branch, so this should be resolved in our next release. Until then, you can use the workaround above.
current release: https://github.com/code42/py42/blob/5b693c5cc206c42db5786a5e26696fb372b3f0c0/src/py42/sdk/queries/init.py#L8
master:
https://github.com/code42/py42/blob/38de5e8e1628fffa4189036ffe73405d41c62c33/src/py42/sdk/queries/__init__.py#L10

Confirmed, the workaround solves the problem for me in version 1.8.1 :) Thanks for the super fast response!


[timeseries] Fix torch.Tensor.mean use with incorrect kwargs

Issue #, if available: N/A
Description of changes: This PR fixes incorrect use of axis and keepdims in torch.Tensor.mean.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Because torch allows numpy-style kwargs apparently, although it is not documented.


core-js deprecation warning.

Is your feature request related to a problem? Please describe.
Following readme to install client. Dependent libraries are throwing deprecation warnings.
Describe the solution you'd like
Bump dependencies versions
Describe alternatives you've considered
N/A
Additional context

Good find! I think it is because of @babel/plugin-transform-runtime. It is already the latest version though. I wonder if we can disable the import of corejs3 entirely.

We solved this in the new version. Thanks a lot for noticing!


Create iOS app to send push notifications

In WWDC 2019 Apple introduced the ability to use Swift Packages into iOS apps with Xcode 11.
I've tried to create a sample project with this repository and I got some issues:

If I try to run on iOS Simulator, it compiles but the app crashes with the error:

dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib   Referenced from: /Users/.../CoreSimulator/...   Reason: no suitable image found.  Did find:  /usr/local/opt/openssl/lib/libssl.1.0.0.dylib: mach-o, but not built for iOS simulator

If I try to run on iPhone it doesn't compile with several errors about SSL.

If I try to run it on Mac using Catalyst (run iPad app on macOS Catalina) I got the message: `

building for UIKitForMac, but linking in dylib built for macOS, file '/usr/local/Cellar/openssl/1.0.2r/lib/libssl.dylib' for architecture x86_64

Anyone knows a workaround to solve this issues?

@Rubenfer I have not tried it yet, but I imagine there's a lot to get right here.
Its possible Xcode doesn't play nicely with iOS Devices libssl and we would need to add another dependency.
Not sure yet.

libssl is not in the iOS/macOS SDKs, you'd need to use the platforms crypto APIs there and not Libre/OpenSSL.

Yeah, this is something wed like to fix, but at the current moment, it may be a bit.

I think that Apple CryptoKit would be an alternative to OpenSSL.
Example: https://developer.apple.com/documentation/cryptokit/performing_common_cryptographic_operations

@Rubenfer Yeah that would work. Ill probably get to this when my free time frees up :P
Feel free to submit a PR though. It's probably just a lot things like this,
// Sadly, stat has different signatures with glibc and macOS libc.
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) || os(Android)
private let sysStat: @convention(c) (UnsafePointer<CChar>?, UnsafeMutablePointer<stat>?) -> CInt = stat(_:_:)
#elseif os(Linux) || os(FreeBSD)
private let sysStat: @convention(c) (UnsafePointer<CChar>, UnsafeMutablePointer<stat>) -> CInt = stat(_:_:)
#endif

Im going to close this for now as this hasn't been something Ive been able to focus on.


Fixes gamecontrollerdb.txt failing to load with packr

Fixed issue #13 by adding the slash at the beginning of the mapping file, which is needed for proper loading of the classpath resource.

For convenience, we could improve jamepad and make it so manager.addMappingsFromFile("myfile.txt") automatically prepends a slash if missing one. It currently isn't clear to the user that this slash is needed for it to work and we could just make it not required for convenience. This would be a relatively easy change but would have to be made in https://github.com/libgdx/Jamepad (or simply be added in the wrapper function JamepadControllerManager#addMappingsFromFile instead). Please let me know what are your thoughts on this suggestion.

I would not like to change jamepad to add the slash, this might be wrong if someone really wants to load a file from the filesystem.
About the change, why not use Jamepad's default constructor and omit defining an own mappingsPath?

I would not like to change jamepad to add the slash, this might be wrong if someone really wants to load a file from the filesystem.
About the change, why not use Jamepad's default constructor and omit defining an own mappingsPath?

Note that Jamepad's code does the loading from getResourceAsStream (classpath) so it will always need a slash at the beginning of paths. It could offer functionalities to load files from the filesystem but it does not right now. There is no situation where this function in Jamepad wouldn't need a slash at the beginning of paths.
Sure we could just call the default constructor instead, I have no idea why this path was redefined anyway.


ScrollArea blocks key input on contenteditable div (Slate.js, Draft.js)

ScrollArea blocks arrow keys movement of cursor inside contenteditable div and instead scrolls the scroll area. Slate.js and Draft.js editors inside react-scrollbar get blocked by this.

+1

+1

+1 for textarea element here

+1 on textArea and Draft.js

In my app, I'm not using using any key events for react-scrollbar. But this is an issue for my Draft.js components. So I monkey-patched it out for my app.
This is what I did:
import ScrollArea from 'react-scrollbar'
ScrollArea.prototype.handleKeyDown = Function

Fixed in version 0.5.2 Thanks to @mikhailmoshnogorsky :)


TapretKeyError::TapTreeNonEmpty Error

Description
I discovered a strange behavior when we tried to use TapretKey::derive after making a successful tapret1st. If I retry using the same terminal change of the previous transaction, the pay operation returns TapretKeyError::TapTreeNonEmpty:
use of taproot script descriptors is not yet supported.
You may also check the latest version of the software which may already support this feature.

This occurs because when creating the PSBT, we use the TapretKey::derive inside of the Psbt::construct_change method (see here), and derivation uses the tap tweak to build a taptree.
In version 0.10, we could derive without tap-tweak; I believe we need to implement something similar.

@crisdut could you please tell me on which branch you've found this issue?

@crisdut could you please tell me on which branch you've found this issue?

Hi @zoedberg ,
I first found it in beta5, but it remains in beta6 (master). It's easier to find it using rgb-rt as a lib and not in the cli.

Yes, basically if you derive for a key which already has an associated at-tweak it will always derive it in a tweaked way. It is also the fact that currently we can only handle only single at-tweak per key... Both things should be changed, but it would require some deep refactoring of the whole descriptor and derivation APIs starting from bp-std, and I was planning it for v0.12...


Installation, I encountered some bumps

I mucked about with troubleshooting the installation a bit, before it worked.
I built v1.7.1 from source, but at first I had an error:
package github.com/jteeuwen/go-bindata/go-bindata: cannot find package "github.com/jteeuwen/go-bindata/go-bindata"
I got this when I was doing 'make generate build'. The fix was simple though I tried git, and multiple tags, after failing with 'go get -d -u code.gitea.io/gitea' with the same issue.  I had to do this:
go get -u github.com/jteeuwen/go-bindata/...
By the way, the docs offer this:
'Building
From the root of the source tree, run:
TAGS="bindata" make generate all'
I infer that the idea here is to run 'make generate build', after setting the TAGS environment variable to 'bindata'. If I am correct, 'build' and 'all' do the same thing, but still, the part about setting the TAGS environment variable does make me pause -- how to do that, depends on what Linux shell you might be using. Or indeed, you might be building on Windows. For the record, on Windows, one would use setx.exe. Which, does not set the environment variable in the current command prompt, but it will be available in subsequent command prompts. I might not approve of using Windows but there is no operating system that you actually give instructions for. At least, not instructions for the literal-minded, who even might balk at 'From the root of the source tree', asking 'where is that?' And sure, 'tree' here means the directory tree. Humor me, as I relate how many times I've been there before, obviously, or I wouldn't have succeeded in wrestling this thing into submission, more or less. I know, docs say this sort of thing all the time, which is useless enough:
"Execute the cmake command on the shell replacing path/to/source with the path to the top of your ROOT source tree."
Okay, what shell? Any shell? Let's look at this again:
'Building
From the root of the source tree, run:
TAGS="bindata" make generate all'
That will not run on any shell. Even if I do find 'the root of the source tree'. What, indeed, is 'run'? Sure, I can guess. The point here, is that I did have to guess. We are running, make, which is an external task automation tool, of course. Many people on Linux/Unix like to use it because that's were it comes from. Of course. But what if I have no idea what the path is to 'the root of the source tree', nor do I even know what that is to be honest.
Here is my 'tree':
--go
----src
------github.com
------code.gitea.io
--------gitea
----------src
------------github.com
Note that there are not one, but two 'src' directories, here. Which of them is
my source tree? Trick question, neither of them. But 'the root of the source tree' is actually visible here. It's 'gitea', and I guess that is supposed to be obvious. Or at least, I did find it possible to guess. Maybe it wasn't my first guess, but my bad. And by the way, I remember that issue with 'cannot find package "github.com/jteeuwen/go-bindata/go-bindata"'. Is there, more than one 'root of the source tree'? I am unclear where the 'github.com' directory is supposed to be. I have two of those, which can't be right.
An addendum is I found this:
--
Installation from binary
All downloads come with SQLite, MySQL and PostgreSQL support, and are built with embedded assets. This can be different for older releases. Choose the file matching the destination platform from the downloads page, copy the URL and replace the URL within the commands below:
wget -O gitea https://dl.gitea.io/gitea/1.7.0/gitea-1.7.0-linux-amd64
chmod +x gitea
Well, note that 'wget' is Linux wget command.  But these instructions are for Windows too. And anyways, why would I use 'wget' instead of a browser? I will offer as I don't know any better, that typically you would never use it "instead of a browser". Just to be clear, I ponder that there's literally no upside to using wget as a human. In short, browsers are applications for humans looking at the internet, and  browsers and wget actually have very different normal uses. I can only imagine that whoever wrote this documentation here is of the opinion that there is very little point in installing the OS GUI. So, I kind of wonder, but won't insist on the last word..
So where I am at, is I have tested the webserver. This means, I am now ready for installation. I'll past all this stuff about recommended server installation, to belabor the point that this is linux-centric:
Create user to run gitea (ex. git)
adduser
--system
--shell /bin/bash
--gecos 'Git Version Control'
--group
--disabled-password
--home /home/git
git
Create required directory structure
mkdir -p /var/lib/gitea/{custom,data,indexers,public,log}
chown git:git /var/lib/gitea/{data,indexers,log}
chmod 750 /var/lib/gitea/{data,indexers,log}
mkdir /etc/gitea
chown root:git /etc/gitea
chmod 770 /etc/gitea
NOTE: /etc/gitea is temporary set with write rights for user git so that Web installer could write configuration file. After installation is done it is recommended to set rights to read-only using:
chmod 750 /etc/gitea
chmod 644 /etc/gitea/app.ini
Copy gitea binary to global location
cp gitea /usr/local/bin/gitea
Okay, so I already have the webserver running, I found the 'initial configuration' page, with the 'Install Gitea' button. It gives back an error, though:
'The database settings are invalid: dial tcp <IP_ADDRESS>:3306: connectex: No connection could be made because the target machine actively refused it.'
Now, that's fine, I haven't configured, or even personally installed, MySql or anything. There would need to be a database server, a username, password, database name. But if I skipped a step, I didn't find it in the documentation. Which mentions only this, in what I did find: 'All downloads come with SQLite, MySQL and PostgreSQL support'. Which is interesting because the webpage for 'initial configuration' gives me a dropdown box for 'Database type', which offers these options: MySQL, PostgreSQL, MSSQL. Missing, then, is SQLite3.
What, then, about documentation for all this configuration that needs doing? What I find is this webpage:
https://wiki.archlinux.org/index.php/Gitea
I have gone rather far afield, as this is not simply Gitea docs. I'm going to install and configure PostgreSQL, or somesuch. Fine, though I have a grave concern that I need to revisit the issue of the tags, I discussed that 'bindata' tag. Now we are perhaps contemplating a 'sqlite' tag, or such. I spot this:
--
In the default release build of our continuous integration system the build tags are: TAGS="bindata sqlite sqlite_unlock_notify". The simplest recommended way to build from source is therefore:
TAGS="bindata sqlite sqlite_unlock_notify" make generate build
Okay I'm just journaling everything here, I missed this. I have to rebuild? If I need a 'sqlite' tag or such, then we are going to probably encounter a need to download that driver, and of course that may not work automagically, as also go-bindata was supposed to be there and wasn't in the right place or something.. anyways, I see the makefile and 'test-mysql' and so forth. Just checking, the documentation of this step is actually best as I can ascertain, what there is, is found at this website?:
https://wiki.archlinux.org/index.php/Gitea
It talks about how to install and configure PostgreSQL and such, though briefly. So okay, just documenting the documentation.. and ain't got it working yet..
P.S. I peruse the issues, and find the one about dogfooding, that's right, isn't it?
https://github.com/go-gitea/gitea/issues/1029

I hope to itemize some points for improved documentation, so this isn't simply one person asking for help. I might be able to come up with a tutorial..
I notice there is a 'scripts' folder, under go-gitea/gitea. And two files there:
generate-gitignores.go
generate-licenses.go
Some other ideas come to mind,  such as a *.sql file containing 'CREATE DATABASE' and such. I mean, to create a database called gitea (default). Well, I've mentioned finding this page of Gitea documentation:
https://wiki.archlinux.org/index.php/Gitea
It includes this:
Configure Gitea:
/etc/gitea/app.ini
DB_TYPE             = postgres
HOST                = hostadress:port
NAME                = gitea
USER                = gitea
; Use PASSWD = your password for quoting if you use special characters in the password.
PASSWD              = password
And also this:
Create the new user while connecting to the server as postgres user (you will be prompted for a password for the new user):
[postgres]$ createuser -P gitea
Create the Gitea database, owned by gitea user:
[postgres]$ createdb -O gitea gitea
Well, I guess it woudn't be much of a script if you used a script, but it might also be necessary to have a 'installation' page, which lists 'prerequisites', and 'Install database'. Even the idea that you would download and install Git might be, well, rather pedantic to include as a step, but sure, if you're going to support Windows at least. I also might add a 'Troubleshooting' page. With a section on 'Installation'. And another, on 'Database'. Perhaps on 'Windows'.

A note, I find this documentation:
https://computingforgeeks.com/how-to-install-gitea-self-hosted-git-service-on-centos-7-with-nginx-reverse-proxy/
Here's an excerpt:
Step 3: Install MariaDB database server
We will use MariaDB to store Gitea data, install MariaDB on your server by following our previous guide
Install MariaDB 10.x on Ubuntu 18.04 and CentOS 7
Create a database for Attendize
mysql -u root -p
Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 608168
Server version: 10.3.9-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> CREATE DATABASE gitea;
Query OK, 1 row affected (0.001 sec)
MariaDB [(none)]> GRANT ALL PRIVILEGES ON gitea.* TO 'gitea'@'localhost' IDENTIFIED BY "StrongPassword";
Query OK, 0 rows affected (0.001 sec)
MariaDB [(none)]> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.002 sec)
MariaDB [(none)]> exit


[SPARK-12821][BUILD]Style checker should run when some configuration files for style are modified but any source files are not.

When running the run-tests script, style checkers run only when any source files are modified but they should run when configuration files related to style are modified.

Test build #49382 has started for PR 10754 at commit 8328b8e.

@JoshRosen @rxin

Test build #49382 has finished for PR 10754 at commit 8328b8e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49382/
Test PASSed.

Merged build finished. Test PASSed.

I will let @JoshRosen do this one.

LGTM, so I'm going to merge this into master. Thanks @sarutak!


Configurator rest

Pull request for Integration

This pull request is to prepare integration branch. So, merging it.


helm - support for additional volumes

credits to @fbuchmaier for his work
posted as PR because of CLA issues for @fbuchmaier
closes #506

@simar7 , I've copied the code provided in #506 that have never been passed the CLA step, credits to @fbuchmaier

this way we could solve the issue with easily mounting action scripts and rego templates into the postee POD.

thanks for the PR @smangels - @afdesk or @nikpivkin can you review this?

tested, looks good
/cc @afdesk

Hi everyone, thanks for merging this PR. I'll wait until a new official helm package has been released.


Step 12c Inaccurate

Select Enable Workday Initiated Logout. Should be select IDP initiated log out. This would match the picture. Workday Initiated Log Out doesn't work.

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

ID: 18eabd03-e535-e846-e4ad-c4394f581013
Version Independent ID: 1d98ce13-5bb7-9cb8-c2b7-3c711a7e03e1
Content: Tutorial: Azure Active Directory integration with Workday
Content Source: articles/active-directory/active-directory-saas-workday-tutorial.md
Service: active-directory
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@montereyharris Thanks for your feedback! We will investigate and update as appropriate.

@montereyharris We are now suggesting to use the WS-Fed based sign out URL, so that user can be completely logged out of Azure. We have updated the instructions and you should see the change in few hours.
Please confirm.

Changes have been published for this issue.
#please-close


Updating stale link to Windows Cluster topic

Updated a link to a Windows Clustering troubleshooting topic.

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

Replacing with https://github.com/MicrosoftDocs/sql-docs-pr/pull/19810


Add nodeParent property to HTML, Document and DocumentFragment

Add parentNode property to Element, Document and DocumentFragment.
spec: ParentNode
original issue:  ParentNode interface isn't implemented in lib.d.ts #4400

I add childElementCoount : number, latter.

In the Living standard, parentNode property of the Node interface return a Node. However, it not implemented because of abstract interface. In order to eliminate the error, should I change the parentNode of the return type?
4.4. Interface Node

parentNode: Node seems fine to me,

@zhengbli any ideas?

The support for adding extends is being added at #79 , once that merge in you can update the PR. Thanks!

@zhengbli @mhegazy I update addType.json L404 to L438

I missed operation. I close this PR and redo.


Remove links to moribund feedback website

http://feedback.flask.pocoo.org/ appears to me to be offline. I get a weird redirect to Adobe, or a Verizon MITM search page (so it's possible that the feedback site is still live, and I'm not seeing it due to some intervening network misconfiguration):

@mitsuhiko methinks this should be merged?

Yesssssss.  :-)