Build failure: steam-fhsenv-rootfs

Steps To Reproduce
Steps to reproduce the behavior:
I'm using NixOS. Pasting my whole config misses the point. I am yet to provide a minimal build (I've been looking at testing it in a VM, but since I'm new to nix, I'd appreciate any tips on how to set this up with flakes).
This is the steam-related part of my configuration.nix:
  programs.steam = {
    enable = true;
    remotePlay.openFirewall =
      true; # Open ports in the firewall for Steam Remote Play
    dedicatedServer.openFirewall =
      true; # Open ports in the firewall for Source Dedicated Server
    extraCompatPackages = with pkgs; [
      proton-ge-bin
    ];
    extraPackages = with pkgs; [
      protontricks
    ];
  };

Build log

Build Log
...
these 8 paths will be fetched (0.76 MiB download, 11.14 MiB unpacked):
  /nix/store/6v2sf6k91nk0riigbf3xyjh3cymzc5iv-fhs-rootfs-bulder
  /nix/store/a3fbrhwj49vf02r28zn1gn9nq0g7h1av-fhsenv-ensure-gsettings-schemas-directory
  /nix/store/0givdhvfbfpmrkfscam3hghcr4yf6f1m-protontricks-1.12.0
  /nix/store/w199m58d62425fyn6bh09mbnb7viyd2l-steam-run
  /nix/store/503cnwdda129kihsnh6sc7qqgrvxjff1-steam-run-bash
  /nix/store/i0d290pwsdqfzgnzrjz7kg5by4x5iiw3-steam-run-bwrap
  /nix/store/68n8ya3k14vk3vd2xw8bx219f46hwn2h-steam-run-fhsenv-profile
  /nix/store/7hmk85gn7yjascvgfcd3b35kgh50hqrw-steam-run-fhsenv-rootfs
building '/nix/store/vbywq3rilja128y4hbz96hrmmp4f2d0q-boot.json.drv'...
building '/nix/store/1l4pi23mxis177wkmmq11g31xyv4dzp5-etc-nix-registry.json.drv'...
building '/nix/store/cpqj3mv0mqzhfxsbj8iynqzbaic7sbjy-etc-os-release.drv'...
building '/nix/store/z002c4w2hs95l9827xddxpfsq9n0wpzs-issue.drv'...
building '/nix/store/w73h22197np3h4ji8wi0hj2pzf8r7b45-nixos-version.drv'...
building '/nix/store/zkr5nw5gkblfffjvydlja8acmk8vw6vp-arion-<IP_ADDRESS>.drv'...
copying path '/nix/store/6v2sf6k91nk0riigbf3xyjh3cymzc5iv-fhs-rootfs-bulder' from 'https://cache.nixos.org'...
building '/nix/store/z4h2ky9r4gwrjcjnmprfrclxigldpf4x-fhsenv-ensure-gsettings-schemas-directory.drv'...
building '/nix/store/jhpnik1y9cxa8jrfzjp94z2bk29kxw91-steam-fhsenv-profile.drv'...
building '/nix/store/477xmkxyph84vz6nr5p2rikjs25r6h6y-steam-run-fhsenv-profile.drv'...
copying path '/nix/store/a3fbrhwj49vf02r28zn1gn9nq0g7h1av-fhsenv-ensure-gsettings-schemas-directory' from 'https://cache.nixos.org'...
copying path '/nix/store/68n8ya3k14vk3vd2xw8bx219f46hwn2h-steam-run-fhsenv-profile' from 'https://cache.nixos.org'...
building '/nix/store/4qrfibbh9c0wvvz384k3sj0xyj4s4vlm-steam-fhsenv-profile.drv'...
building '/nix/store/r5dbfknsncmpfk6nhfxkwm0lx74igg0p-shutdown-ramfs-contents.json.drv'...
copying path '/nix/store/7hmk85gn7yjascvgfcd3b35kgh50hqrw-steam-run-fhsenv-rootfs' from 'https://cache.nixos.org'...
building '/nix/store/w4b9vvvbf16s6dvfh52fv1pslfxvyicq-steam-fhsenv-rootfs.drv'...
building '/nix/store/6ginkn4ma0wsl16909dbm17q2vwxxd2b-unit-generate-shutdown-ramfs.service.drv'...
copying path '/nix/store/i0d290pwsdqfzgnzrjz7kg5by4x5iiw3-steam-run-bwrap' from 'https://cache.nixos.org'...
copying path '/nix/store/w199m58d62425fyn6bh09mbnb7viyd2l-steam-run' from 'https://cache.nixos.org'...
copying path '/nix/store/503cnwdda129kihsnh6sc7qqgrvxjff1-steam-run-bash' from 'https://cache.nixos.org'...
copying path '/nix/store/0givdhvfbfpmrkfscam3hghcr4yf6f1m-protontricks-1.12.0' from 'https://cache.nixos.org'...
building '/nix/store/9z1w7262i4m00c4vzbrvkscjsiflyskj-steam-fhsenv-rootfs.drv'...
building '/nix/store/2v4pg2jif2n9ibq291xc95dm47pikhf4-steam-run-fhsenv-rootfs.drv'...
building '/nix/store/knaz7d54v1rw84ixz7shzabrj08kcd7x-steam-bwrap.drv'...
error: builder for '/nix/store/9z1w7262i4m00c4vzbrvkscjsiflyskj-steam-fhsenv-rootfs.drv' failed with exit code 1;
       last 5 log lines:
       > structuredAttrs is enabled
       > Error: When symlinking "/nix/store/7hmk85gn7yjascvgfcd3b35kgh50hqrw-steam-run-fhsenv-rootfs/bin" to "/nix/store/qd5g2p7k5jx3n5fkjzb8w7ya3fy2g4cg-steam-fhsenv-rootfs/usr/bin"
       >
       > Caused by:
       >     File exists (os error 17)
       For full logs, run 'nix log /nix/store/9z1w7262i4m00c4vzbrvkscjsiflyskj-steam-fhsenv-rootfs.drv'.
error: builder for '/nix/store/2v4pg2jif2n9ibq291xc95dm47pikhf4-steam-run-fhsenv-rootfs.drv' failed with exit code 1;
       last 5 log lines:
       > structuredAttrs is enabled
       > Error: When symlinking "/nix/store/7hmk85gn7yjascvgfcd3b35kgh50hqrw-steam-run-fhsenv-rootfs/lib" to "/nix/store/3gbmwlspwhkqjws92qvll5c5caw1ifq9-steam-run-fhsenv-rootfs/usr/lib64/"
       >
       > Caused by:
       >     File exists (os error 17)
       For full logs, run 'nix log /nix/store/2v4pg2jif2n9ibq291xc95dm47pikhf4-steam-run-fhsenv-rootfs.drv'.
error: 1 dependencies of derivation '/nix/store/l2gwyyhyp0fm7nsg5j76fg3yyivanbyd-steam-bwrap.drv' failed to build
error: 1 dependencies of derivation '/nix/store/xlppcdnvc5cxmkzzzqr42b6i7d0xjyd9-steam-run-bwrap.drv' failed to build
error: 1 dependencies of derivation '/nix/store/q36vdapklfpi66w2vlyw411ql0sn2dhw-steam-run.drv' failed to build
error: 1 dependencies of derivation '/nix/store/m4kcnd0s46aikn5gp54xrdypglqgwfim-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/k5mzr78gc5yash6rhq2kkdz59r4jmg1v-nixos-system-nexus-24.11.20241104.6e80056.drv' failed to build

Additional context
I have pinpointed this PR to introduce breaking changes: https://github.com/NixOS/nixpkgs/pull/351928 (pinned flake to the commit right before this one and it built just fine).
Metadata

> nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.51, NixOS, 24.11 (Vicuna), 24.11.20241104.06823bc`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.10`
 - nixpkgs: `/nix/store/9b0la9vdkmjbgalh397p85jq8ddxr6h7-source`

Note I couldn't build with the commit described, so the above was run on the preceding commit.
Notify maintainers

@K900 I guess

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

Can you please run the build with --keep-failed and upload the build directory somewhere?

Sure!
> ls -hla /tmp/nix-build-steam-run-fhsenv-rootfs.drv-0/build

total 416K
drwxr-xr-x 2 nixbld13 nixbld 4,0K 11-20 23:02 ./
drwxr-xr-x 3 root     root   4,0K 11-20 23:02 ../
-rw-r--r-- 1 nixbld13 nixbld 398K 11-20 23:02 .attrs.json
-rw-r--r-- 1 nixbld13 nixbld 2,2K 11-20 23:02 .attrs.sh
-rw------- 1 nixbld13 nixbld 3,1K 11-20 23:02 env-vars

Here are the contents: https://gist.github.com/klausweiss/6218ceffd9a5d1fefc0d9fbd22725100

Can you please upload all of /tmp/nix-build-steam-run-fhsenv-rootfs.drv-0/?

Confirming here I am having the same issue, will upload the relevant files tomorrow (As it's past midnight here downunder).

I'm afraid that's everything:
> find /tmp/nix-build-steam-fhsenv-rootfs.drv-0/
/tmp/nix-build-steam-fhsenv-rootfs.drv-0/
/tmp/nix-build-steam-fhsenv-rootfs.drv-0/build
/tmp/nix-build-steam-fhsenv-rootfs.drv-0/build/env-vars
/tmp/nix-build-steam-fhsenv-rootfs.drv-0/build/.attrs.json
/tmp/nix-build-steam-fhsenv-rootfs.drv-0/build/.attrs.sh

For reference, I rebuilt with
sudo nixos-rebuild -j 14 test --flake /etc/nixos#default --impure --keep-failed

diff --git a/pkgs/build-support/build-fhsenv-bubblewrap/rootfs-builder/src/main.rs b/pkgs/build-support/build-fhsenv-bubblewrap/rootfs-builder/src/main.rs
index f765a96d3e08..1bd1e032e688 100644
--- a/pkgs/build-support/build-fhsenv-bubblewrap/rootfs-builder/src/main.rs
+++ b/pkgs/build-support/build-fhsenv-bubblewrap/rootfs-builder/src/main.rs
@@ -251,6 +251,8 @@ fn build_env(out: &Path, plan: HashMap<PathBuf, PathBuf>) -> anyhow::Result<()>
     fs::create_dir_all(out)?;

     for (dest, src) in plan {
+        eprintln!("Will symlink {src:?} to {dest:?}...");
+
         let full_dest = out.join(&dest);
         let dest_dir = full_dest
             .parent()

Can you apply this patch to your nixpkgs, rebuild with it and then post the build log?

@K900
Build machine (I build remotely and push to a target machine):

system: "x86_64-linux"
host os: Linux 6.12.0, NixOS, 25.05 (Warbler), 25.05.20241119.23e89b7
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.24.10
channels(root): "nixos"
nixpkgs: /nix/store/c9wv7i0af6mysmy65x6nvyfw5izzxv4g-source

repo with build contents for steam files:
https://github.com/AxiteYT/steamNixBuildFailure

@AxiteYT why do you have libreoffice-qt in your fonts.packages? That is what's causing the issue.

diff --git a/pkgs/build-support/build-fhsenv-bubblewrap/rootfs-builder/src/main.rs b/pkgs/build-support/build-fhsenv-bubblewrap/rootfs-builder/src/main.rs
index f765a96d3e08..1bd1e032e688 100644
--- a/pkgs/build-support/build-fhsenv-bubblewrap/rootfs-builder/src/main.rs
+++ b/pkgs/build-support/build-fhsenv-bubblewrap/rootfs-builder/src/main.rs
@@ -251,6 +251,8 @@ fn build_env(out: &Path, plan: HashMap<PathBuf, PathBuf>) -> anyhow::Result<()>
     fs::create_dir_all(out)?;

     for (dest, src) in plan {
+        eprintln!("Will symlink {src:?} to {dest:?}...");
+
         let full_dest = out.join(&dest);
         let dest_dir = full_dest
             .parent()

Can you apply this patch to your nixpkgs, rebuild with it and then post the build log?

Thanks, this is most appreciated.

patched build log
...
note: keeping build directory '/tmp/nix-build-steam-fhsenv-rootfs.drv-1/build'
error: builder for '/nix/store/4krij6yj88bclr0rd8wfcr4q20r5pxqv-steam-fhsenv-rootfs.drv' failed with exit code 1;
       last 25 log lines:
       > Will symlink "/nix/store/0y6aml9dkfigxv443b8kc97dhilfqfdm-glibc-multi-2.40-36/lib/32/gconv/CP1254.so" to "usr/lib32/gconv/CP12
54.so"...
       > Will symlink "/nix/store/c7qx9iq6lqfjd4dxrdd6723l6rvzsj5s-ncurses-6.4.20221231/lib/terminfo/d/dec+sl" to "usr/lib64/terminfo/d
/dec+sl"...
       > Will symlink "/nix/store/c7qx9iq6lqfjd4dxrdd6723l6rvzsj5s-ncurses-6.4.20221231/lib/terminfo/w/wy160-wvb" to "usr/lib64/terminf
o/w/wy160-wvb"...
       > Will symlink "/nix/store/xh58v8cl60x4ybzb5g7kzklin6m7j50i-font-misc-misc-1.1.3/lib/X11/fonts/misc/9x18B-ISO8859-2.pcf.gz" to "
usr/lib64/X11/fonts/misc/9x18B-ISO8859-2.pcf.gz"...
       > Will symlink "/nix/store/5z7yfmp96ijpx0lhy5gpj65i38972330-tzdata-2024b/share/zoneinfo/right/Africa/Lagos" to "usr/share/zonein
fo/right/Africa/Lagos"...
       > Will symlink "/nix/store/gc4s51ksbm026n2wcb68i1myk333zwdr-avahi-0.8/sbin/avahi-resolve" to "usr/sbin/avahi-resolve"...
       > Will symlink "/nix/store/p2i9dd3fslfhsc593h2xfs4s75lzbpki-elfutils-0.191/lib/libdw.so" to "usr/lib64/libdw.so"...
       > Will symlink "/nix/store/l07d0c3yjq18w76cr7df9bdf6qxvna0r-gtk4-4.16.3/share/gtk-4.0/emoji/ja.gresource" to "usr/share/gtk-4.0/
emoji/ja.gresource"...
       > Will symlink "/nix/store/901c80rlps5q05bnjk1sj4zaz5k736nc-python3-3.12.7/lib/python3.12/zoneinfo/_tzpath.py" to "usr/lib64/pyt
hon3.12/zoneinfo/_tzpath.py"...
       > Will symlink "/nix/store/q1ij6yj4m9ix6bi7sbpj2d4pagh8paaf-perl5.40.0-XML-Parser-2.46/lib/perl5/site_perl/5.40.0/x86_64-linux-t
hread-multi/XML/Parser/Encodings/iso-8859-2.enc" to "usr/lib64/perl5/site_perl/5.40.0/x86_64-linux-thread-multi/XML/Parser/Encodings/is
o-8859-2.enc"...
       > Will symlink "/nix/store/289nxg2117brsdk5rcl5vwx4iqw3qdb2-iso-codes-4.17.0/share/locale/da/LC_MESSAGES/iso_3166-3.mo" to "usr/
share/locale/da/LC_MESSAGES/iso_3166-3.mo"...
       > Will symlink "/nix/store/2ml7w22858aix9qgala1qdh3lbm2rd7g-shared-mime-info-2.4/share/mime/application/x-neo-geo-pocket-color-r
om.xml" to "usr/share/mime/application/x-neo-geo-pocket-color-rom.xml"...
       > Will symlink "/nix/store/akapnnrkcm4yscq09fd3m9rgczb70g33-gst-plugins-bad-1.24.7/lib/girepository-1.0/GstPlayer-1.0.typelib" t
o "usr/lib64/girepository-1.0/GstPlayer-1.0.typelib"...
       > Will symlink "/nix/store/5z7yfmp96ijpx0lhy5gpj65i38972330-tzdata-2024b/share/zoneinfo/posix/America/Phoenix" to "usr/share/zon
einfo/posix/America/Phoenix"...
       > Will symlink "/nix/store/k9s9pshpshrx8cs4cyhs8nl5wld0sn7c-modemmanager-1.22.0/include/ModemManager/ModemManager-enums.h" to "u
sr/include/ModemManager/ModemManager-enums.h"...
       > Will symlink "/nix/store/kglz9jdh55p7ygd6c2253qjchrkv3zy3-alsa-lib-1.2.12/share/alsa/ucm2/sof-soundwire/cs42l43-spk.conf" to "
usr/share/alsa/ucm2/sof-soundwire/cs42l43-spk.conf"...
       > Will symlink "/nix/store/d4n6v15i5sl6yxr4qkcw0dq3nmb85kb8-gnutls-3.8.6/share/locale/vi/LC_MESSAGES/gnutls.mo" to "usr/share/lo
cale/vi/LC_MESSAGES/gnutls.mo"...
       > Will symlink "/nix/store/c7qx9iq6lqfjd4dxrdd6723l6rvzsj5s-ncurses-6.4.20221231/lib/terminfo/n/nansi.sysk" to "usr/lib64/termin
fo/n/nansi.sysk"...
       > Will symlink "/nix/store/ryq93s931bx5rj2ra6cxx3mbmk51pr6r-networkmanager-1.48.10/share/dbus-1/interfaces/org.freedesktop.Netwo
rkManager.Device.OvsInterface.xml" to "usr/share/dbus-1/interfaces/org.freedesktop.NetworkManager.Device.OvsInterface.xml"...
       > Will symlink "/nix/store/c7qx9iq6lqfjd4dxrdd6723l6rvzsj5s-ncurses-6.4.20221231/share/terminfo/l/luna" to "usr/share/terminfo/l
/luna"...
       > Will symlink "/nix/store/k0i62lb7w6bh2b86phshc4m796f0wkdr-steam-run-fhsenv-rootfs/lib" to "usr/lib64/"...
       > Error: When symlinking "/nix/store/k0i62lb7w6bh2b86phshc4m796f0wkdr-steam-run-fhsenv-rootfs/lib" to "/nix/store/9xq4llnknds40a
6anwrxznin3v89swi1-steam-fhsenv-rootfs/usr/lib64/"
       >
       > Caused by:
       >     File exists (os error 17)
       For full logs, run 'nix log /nix/store/4krij6yj88bclr0rd8wfcr4q20r5pxqv-steam-fhsenv-rootfs.drv'.
error: 1 dependencies of derivation '/nix/store/26zgw7mnlkdbzcxspvy5mjchdq3366c2-steam-bwrap.drv' failed to build
error: 1 dependencies of derivation '/nix/store/v5szhcw81kndxjdf2b56pfw8mcr3fnnq-steam.drv' failed to build
note: keeping build directory '/tmp/nix-build-steam-run-fhsenv-rootfs.drv-1/build'
error: 1 dependencies of derivation '/nix/store/03a82v333ks5sb25lb2lbw406m8ma600-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ns2gzj8m32ys3bck7l32w5nrniccpjbq-nixos-system-nexus-24.11.20241104.6e80056.drv' failed
to build

Actually, can you try just removing protontricks from extraPackages?

Looks to have compiled :tada: I'll try to confirm today or tomorrow at the latest whether I really needed protontricks. Thank you so much!

You definitely don't need protontricks inside the Steam environment. You can just install it normally.

Had to install normally, but can confirm it's working. Thanks again :pray: , sorry you had to bother with my misconfiguration.


EPSG:3857 projected coordinates

According to the wiki, osmdroid uses the EPSG:3857 projection.
EPSG:3857 consists of the following bounds:
WGS84 bounds:
-180.0 -85.06
180.0 85.06
Projected bounds:
-20037508.34 -20048966.1
20037508.34 20048966.1
However, when converting from lat/lng to projected coordinates the coordinates are not EPSG:3857.
mapView.projection.toProjectedPixels(GeoPoint(-85.05, -180.0) = PointL(0,<PHONE_NUMBER>638811136)
mapView.projection.toProjectedPixels(GeoPoint(85.05, 180.0) = PointL(1152921504606846976,<PHONE_NUMBER>5840)
Does osmdroid not follow the EPSG:3857 specification for projected coordinates?
How can I convert Lat/Lng to projected coordinates according to EPSG:3857?

I found these example test codes at
https://github.com/osmdroid/osmdroid/blob/dbb20901cac30b28a6a9349da097c22d9a962311/osmdroid-android/src/test/java/org/osmdroid/util/TileSystemTest.java#L195
https://github.com/osmdroid/osmdroid/blob/dbb20901cac30b28a6a9349da097c22d9a962311/osmdroid-android/src/test/java/org/osmdroid/util/TileSystemTest.java#L206

private static final TileSystem tileSystem = new TileSystemWebMercator();

public void test_LatLongToPixelXY() {
    final PointL point = tileSystem.getMercatorFromGeo(60, 60, TileSystem.MapSize((double) 10), null, true);
    Assert.assertEquals(174762, point.x);
    Assert.assertEquals(76126, point.y);
}

public void test_PixelXYToLatLong() {
    final int pixelX = 45;
    final int pixelY = 45;
    final int levelOfDetail = 8;
    final double delta = 1E-3;

    final GeoPoint point = tileSystem.getGeoFromMercator(pixelX, pixelY, TileSystem.MapSize((double) levelOfDetail), null, true, true);

    Assert.assertEquals(-179.752807617187, point.getLongitude(), delta);
    Assert.assertEquals(85.0297584051224, point.getLatitude(), delta);
}

Note: if MapView.setHorizontalMapRepetitionEnabled(boolean) or MapView.setVerticalMapRepetitionEnabled(boolean) is false, then this can return values that beyond the max extents of the world. This may or may not be desired. https://github.com/osmdroid/osmdroid/pull/722

The slippy map tile format and web mercator projection does not go all the
way to the poles thus the check. Due to multiple reported issues, the
constraint was lifted by default in the latest version.
On Thu, Oct 13, 2022, 8:18 AM eclectice @.***> wrote:

I found these example test codes at
https://github.com/osmdroid/osmdroid/blob/dbb20901cac30b28a6a9349da097c22d9a962311/osmdroid-android/src/test/java/org/osmdroid/util/TileSystemTest.java#L195
https://github.com/osmdroid/osmdroid/blob/dbb20901cac30b28a6a9349da097c22d9a962311/osmdroid-android/src/test/java/org/osmdroid/util/TileSystemTest.java#L206
private static final TileSystem tileSystem = new TileSystemWebMercator();
public void test_LatLongToPixelXY() {
final PointL point = tileSystem.getMercatorFromGeo(60, 60, TileSystem.MapSize((double) 10), null, true);
Assert.assertEquals(174762, point.x);
Assert.assertEquals(76126, point.y);
}
public void test_PixelXYToLatLong() {
final int pixelX = 45;
final int pixelY = 45;
final int levelOfDetail = 8;
final double delta = 1E-3;
final GeoPoint point = tileSystem.getGeoFromMercator(pixelX, pixelY, TileSystem.MapSize((double) levelOfDetail), null, true, true);

Assert.assertEquals(-179.752807617187, point.getLongitude(), delta);
Assert.assertEquals(85.0297584051224, point.getLatitude(), delta);

}
Note: if MapView.setHorizontalMapRepetitionEnabled(boolean) or
MapView.setVerticalMapRepetitionEnabled(boolean) is false, then this
can return values that beyond the max extents of the world. This may or may
not be desired. #722 https://github.com/osmdroid/osmdroid/pull/722
—
Reply to this email directly, view it on GitHub
https://github.com/osmdroid/osmdroid/issues/1855#issuecomment-1277783630,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPCIGJ2FSV6VPFGWCSZPGTWDAR4JANCNFSM6AAAAAAREKPKT4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

The general idea is that

the world on zoom 0 fits in one tile (typical size 256x256)
the world on zoom 1 fits in 2x2 tiles (would be 512x512)

You'll fin more details in TileSystemWebMercator:
public class TileSystemWebMercator extends TileSystem {

    public static final double MinLatitude = -85.05112877980658;
    public static final double MaxLatitude = 85.05112877980658;
    public static final double MinLongitude = -180;
    public static final double MaxLongitude = 180;

    @Override
    public double getX01FromLongitude(final double pLongitude) {
        return (pLongitude - getMinLongitude()) / (getMaxLongitude() - getMinLongitude());
    }

    @Override
    public double getY01FromLatitude(final double pLatitude) {
        final double sinus = Math.sin(pLatitude * Math.PI / 180);
        return 0.5 - Math.log((1 + sinus) / (1 - sinus)) / (4 * Math.PI);
    }

    @Override
    public double getLongitudeFromX01(final double pX01) {
        return getMinLongitude() + (getMaxLongitude() - getMinLongitude()) * pX01;
    }

    @Override
    public double getLatitudeFromY01(final double pY01) {
        return 90 - 360 * Math.atan(Math.exp((pY01 - 0.5) * 2 * Math.PI)) / Math.PI;
    }

The zoom / tile-size should be irrelevant when when converting from LatLng to projected coordinates.
The EPSG:3857 states that the projected bounds are:
-20037508.34 -20048966.1
20037508.34 20048966.1
According to the EPSG:3857 the projected coordinates of the center are at x=0, y=0.
The projected coordinates from osmdroid seem to be using a different coordinate-system than EPSG:3857. The center is not at x=0, y=0 and the projected coordinates are a multiple bigger than the EPSG:3857 specification.
Why is that a problem for my usecase: I retrieve projected coordinates from an other application which also uses EPSG:3857.


Suggestion

Make an offline player in which we can import mp3 files!
Nd am ur classmate🗿

Hey,
The feature is already present in melomix.
You need to provide storage permissions to access locally saved songs.(Asked by default when installed)

Hey,
The feature is already present in melomix.
You need to provide storage permissions to access locally saved songs.(Asked by default when installed)

Fine bro!
It's me 18!


Feature/add wkt support

Codecov Report
Attention: Patch coverage is 70.87379% with 60 lines in your changes are missing coverage. Please review.

Project coverage is 64.65%. Comparing base (6e18d7a) to head (60ec8fa).

Files
Patch %
Lines

eccovjson/encoder/Wkt.py
50.66%
37 Missing :warning:

eccovjson/decoder/Wkt.py
60.86%
18 Missing :warning:

tests/test_encoder_wkt.py
87.80%
5 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #13      +/-   ##
===========================================
+ Coverage    63.79%   64.65%   +0.86%
===========================================
  Files           29       33       +4
  Lines         1403     1607     +204
===========================================
+ Hits           895     1039     +144
- Misses         508      568      +60

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Preview not working on Linux

Awesome extension, works great on Windows. Getting the following error trying to open one of the demo shaders on Linux.
[Embedded Page] Uncaught TypeError: Cannot read property 'getExtension' of null
Pause button and frame time show up, but no shader view.
This on Linux Deepin 15.8.
VSCode version info:
Version: 1.29.1
Commit: bc24f98b5f70467bc689abf41cc5550ca637088e
Date: 2018-11-15T19:07:43.495Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

Thanks for reporting that issue @jhodgson91, it'd be amazing to get the extension working on all platforms!
This sounds like a problem with three.js or webgl itself, I'll need to look into that. Gonna have to setup a VM and all that, so I don't think it'll happen before the weekend.
One thing you can check for us is weather your GPU supports WebGL (I'd be surprised if not, but you never know). If it's the same machine that you are running Windows on, then that can be excluded as the cause of course.

Hey, yeah can confirm its not a graphics card issue. It does work on my windows boot. It does work in Chrome, shadertoy and a quick test I wrote myself both get a webgl context. So beginning to think it's something to do with electron and the webview stuff. My knowledge ends there unfortunately haha.
Let me know if I can help out at all.

@jhodgson91 Are you, by any chance, inadvertently or not, running code with --disable-gpu flag?

@stevensona - no I wasn't, but this did highlight the --verbose option and I spotted the issue.
Turns out it was failing to find libGLESv2.so. For me this was in /opt/google/chrome/swiftshader, but it was looking for it in /usr/share/code/swiftshader which didn't exist. Adding a symlink fixed it. Not sure why my vscode was missing this, but this doesn't seem like an issue with the extension, rather my setup.
Thanks all!

@jhodgson91 I did just set up a VM earlier, running Deepin 15.7 and had in fact the same issue. I'm not very experienced with Linux, so can you make a guess if this issue is related to VSCode or Deepin or its package installer? Then maybe we can consider directing the issue to the right channel.

@Malacath-92 - my first guess would be the installation. I'd be interested to see if this happens with any other Debian based distros. I'll give it a try with Ubuntu when I get a chance.

@Malacath-92 - tested it on Ubuntu 18.04 and got the same issue, so yeah looks like installing vscode on any debian distros will have this problem.

@Malacath-92 - tested it on Ubuntu 18.04 and got the same issue, so yeah looks like installing vscode on any debian distros will have this problem.

@jhodgson91 That's unfortunate. Thanks for taking the time to investigate it!
I will try to take a closer look at this during the weekend/next week, and see if the guys at vscode/electron know anything about it.


Extra vertical space when title wraps

I'm yet to find even a hacky solution to this problem. I've tried several variations. I want to preserve the user seeing as much of the url as possible, while not taking any more vertical space than necessary. Flexbox handles this extremely well - except when the title wraps.
https://stackoverflow.com/questions/69143963/how-to-make-flex-wrap-items-wrap-inline-rather-than-as-blocks

I ended up hacking a js effect to detect when the title wraps: I make the title inline, then set the width of the link small. It'll do for now.


knex with postgres using wrong SQL

I have setup knex config to work with postgres:
const knexConfig = {
  client: 'pg',
  debug: true,
  connection: DATABASE_URL,
  ssl: true
};

const shopifyConfig = {
  host: SHOPIFY_APP_HOST,
  apiKey: SHOPIFY_APP_KEY,
  secret: SHOPIFY_APP_SECRET,
  shopStore: new SQLStrategy(knexConfig),
  scope: ['write_orders, write_products'],
  //shopStore: new MemoryStrategy(),
  afterAuth(request, response) {
    const { session: { accessToken, shop } } = request;

    registerWebhook(shop, accessToken, {
      topic: 'orders/create',
      address: `${SHOPIFY_APP_HOST}/order-create`,
      format: 'json'
    });

    //return response.redirect('/');
    return response.redirect('/shopifyclient');
  },
};

But the query when a new store is connecting is failing because INSERT OR IGNORE is not compatible with postgres:
{ method: 'raw',
  sql: 'INSERT OR IGNORE INTO shops (shopify_domain, access_token) VALUES (\'jldesigndevstore.myshopify.com\', \'4637d9f05328b543fa5d82c68094a7a2\')',
  bindings: [],
  options: {},
  __knexQueryUid: '099e900d-af29-4920-b416-1adeb26b7cc4' }
Unhandled rejection error: syntax error at or near "OR"
    at Connection.parseE (C:\source\repos\prodo-server\node_modules\pg\lib\connection.js:553:11)
    at Connection.parseMessage (C:\source\repos\prodo-server\node_modules\pg\lib\connection.js:378:19)
    at Socket.<anonymous> (C:\source\repos\prodo-server\node_modules\pg\lib\connection.js:119:22)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at addChunk (_stream_readable.js:263:12)
    at readableAddChunk (_stream_readable.js:250:11)
    at Socket.Readable.push (_stream_readable.js:208:10)
    at TCP.onread (net.js:607:20)

You can create rule for your table,  like this:
CREATE RULE shops_on_duplicate_ignore AS ON INSERT TO shops WHERE EXISTS (             SELECT 1 FROM shops WHERE shopify_domain=NEW.shopify_domain ) DO INSTEAD NOTHING;
and use simple INSERT

I ended up creating a custom strategy which took me down a whole road.  The documentation needs to be updated since the strategy now returns a formula instead of a value.  Also can show this example since you cant find one anywhere.  Its strange because my node module is different than the code here?
My version: "@shopify/shopify-express": "^1.0.0-alpha.7"
This is the strategy that ended up working:
class SequelizeStrategy {
  async getShop({ shop }) {
    console.log('check domain', shop)
    let foundShop = await db.Shop.find({
      where: {
        shopify_domain: shop
      }
    })
    .catch(err => {
      console.log('get shop error', err)
    })

    return done(null, {accessToken: foundShop.access_token});
  }
  async storeShop({ shop, accessToken }, done) {
    let storedShop = await db.Shop.find({
      where: {
        shopify_domain: shop
      }
    })
    .then(foundShop => {
      if (foundShop) {
        foundShop.access_token = accessToken
        foundShop.save()
        return foundShop;
      } else {
        return db.Shop.create({ shopify_domain: shop, access_token: accessToken })
      }
    })
    .catch(err => {
      console.log('store shop error happened', err);
      return done(err);
    })
    console.log('stored shop', {accessToken})
    return done(null, accessToken);
  }
}

@pbrink231 yes, npm package 1.0.0-alpha.7 is currently 15 commits behind the master branch.

ok understand.  Thank you.


Implement new AppendMissingKey method on error struct

A new append method is added to the ProviderError struct for better handling for adding missingkeys to provider errors.
ProviderError methods now all use pointers

Coverage remained the same at 100.0% when pulling 2dbcfeafc1696bcca2aefa025cbccf96ac1e27b3 on #56-new-error-append-keys-method into 7275941f3c39fe1b85399cc8730042b5479654c5 on v2.0.


Parsing issues with Chemical Environments

There are a few problems with chemical environments when it comes to substituted SMIRKS strings, such as "$ewg1". I wrote up long commentary in the smarty issue tracker before remembering we're trying to move everything to this repository, please see smarty issue#248

Here's the brief version of what is wrong:
The other parsing issue has to do with environment assuming all atoms are specified with square brackets. However, SMIRKS/SMARTS build on smiles strings so they can also use elemental symbols. For example, this is a reasonable smirks string for an H1:
[#1:1]-C-$ewg1
Right now (before pull request) the environment would look for atoms inside square brackets [stuff] and would only find the hydrogen and would loose all the other information.
I am adding some sort of weird RegEx patterns that fix this problem so that it can correctly parse the carbon and $ewg1. It still has a few bugs, but I should be able to get them ironed out in the morning.

The other issue is that we have allowed users to specify blank OR or AND decorators as ''. This makes sampling possible decorator options easier, but those blanks need to be removed inside environments. The non-parseable smirks from SMIRKY had the pattern [$ewg1&] the & was added in order to add ORdecorators to the replacement string $ewg1, but the only decorator was a blank ''. I'm adding more thorough checks that remove blanks and repeating decorators from all user input places.

I believe this was all addressed in PR #7


Using post for uploadSslCert api

Fixes https://github.com/apache/cloudstack-primate/issues/837
Ignore the api response error, passing dummy data

@blueorangutan package

@davidjumani a Jenkins job has been kicked to build primate packages. I'll keep you posted as I make progress.

This may require a bit of testing as this changes the core AutogenView

Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian :heavy_check_mark:archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/842 (JID-3628)

Moving this to 1.1, not generally used or that important; get request seems to work OK.

tested fine


callBackResult = ""

https://github.com/alcueca/erc7399-wrappers/blob/acfe8b4216747ed6965190bd96c2992e82395f50/src/erc3156/ERC3156Wrapper.sol#L91-L92

Confirm that this deletes the storage variable

It does.  You could also do delete  _callbackResult which is more readable and should save 150 runtime gas.  Additionally, if you wanted to save more gas you could have a non-zero value represent empty similar to how 1 and 2 are used in the re-entrancy guard instead of 1 and 0.

Yeah. the aave implementation already handles that, currently generalising it into a base contract.
I like the idea of not having a zero value, it could have a hash of some string like they do for most EIPs

Fixed already


Access Denied/File in use on Files

Hello Jonas,
Have you seen issues with Access Denied or file in use errors on files sometimes?
elements.go:61: error opening file: open C:/$MFT: Access is denied.
elements.go:61: error opening file: open C:/Windows/System32/config/SYSTEM.LOG2: The process cannot access the file because it is being used by another process.

It's pretty rare but have seen it a few times.
Thanks.

Hi Jorah,
The artifactcollector should bypass errors like this on NTFS formated drives.
Do you have more information about those systems like the Windows version or filesystem?

Yes, I do. And it did move on to the other files and skipped the files with the errors.
OS: Windows 10 x64
File System: NTFS
These were all the errors on that system:
elements.go:128: could not parse registry data: The system cannot find the file specified.
elements.go:128: could not parse registry data: The system cannot find the file specified.
elements.go:128: could not parse registry data: The system cannot find the file specified.
elements.go:128: could not parse registry data: The system cannot find the file specified.
elements.go:61: error opening file: open C:/Windows/Appcompat/Programs/Amcache.hve: The process cannot access the file because it is being used by another process.
elements.go:61: error opening file: open C:/Windows/Appcompat/Programs/Amcache.hve.LOG1: The process cannot access the file because it is being used by another process.
elements.go:61: error opening file: open C:/Windows/Appcompat/Programs/Amcache.hve.LOG2: The process cannot access the file because it is being used by another process.
elements.go:61: error opening file: open C:/Windows/System32/config/SAM.LOG1: The process cannot access the file because it is being used by another process.
elements.go:61: error opening file: open C:/Windows/System32/config/SAM.LOG2: The process cannot access the file because it is being used by another process.
elements.go:61: error opening file: open C:/Windows/System32/config/SECURITY.LOG1: The process cannot access the file because it is being used by another process.
elements.go:61: error opening file: open C:/Windows/System32/config/SECURITY.LOG2: The process cannot access the file because it is being used by another process.
elements.go:61: error opening file: open C:/Windows/System32/config/SOFTWARE.LOG1: The process cannot access the file because it is being used by another process.
elements.go:61: error opening file: open C:/Windows/System32/config/SOFTWARE.LOG2: The process cannot access the file because it is being used by another process.
elements.go:61: error opening file: open C:/Windows/System32/config/SYSTEM.LOG1: The process cannot access the file because it is being used by another process.
elements.go:61: error opening file: open C:/Windows/System32/config/SYSTEM.LOG2: The process cannot access the file because it is being used by another process.
elements.go:128: could not parse registry data: The system cannot find the file specified.
elements.go:61: error opening file: open C:/Windows/System32/config/SAM: The process cannot access the file because it is being used by another process.
elements.go:61: error opening file: open C:/Windows/System32/config/SECURITY: The process cannot access the file because it is being used by another process.
elements.go:61: error opening file: open C:/Windows/System32/config/SOFTWARE: The process cannot access the file because it is being used by another process.
elements.go:61: error opening file: open C:/Windows/System32/config/SYSTEM: The process cannot access the file because it is being used by another process.
elements.go:61: error opening file: open C:/$MFT: Access is denied.

Ok, I can confirm this and will try to fix it.

Thank you very much, let me know if I can help in any way.

The new release (https://github.com/forensicanalysis/artifactcollector/releases/tag/v0.15.1) seems to work for me. Can you confirm this?

Sure, will test it out and report back. Thanks!
Regards,
Bhush

From: Jonas Plum<EMAIL_ADDRESS>Sent: Sunday, November 1, 2020 9:23 AM
To: forensicanalysis/artifactcollector<EMAIL_ADDRESS>Cc: Shah, Bhush<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [forensicanalysis/artifactcollector] Access Denied/File in use on Files (#94)
The new release (https://github.com/forensicanalysis/artifactcollector/releases/tag/v0.15.1) seems to work for me. Can you confirm this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/forensicanalysis/artifactcollector/issues/94#issuecomment-720105141, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANZA5N6XNCGJ6NYITYGBKTTSNV4OJANCNFSM4STPGK4A.
This electronic message and its attachments contain information from the consulting firm of Charles River Associates that may be confidential or privileged. If you are not the intended recipient we ask that you notify us immediately via reply e-mail and delete or destroy this message and any copies of it. Thank you for your cooperation

I am closing this for now. Please reopen, when needed.

Sure thing, thanks.
Regards,
Bhush
On Nov 8, 2020, at 09:30, Jonas Plum<EMAIL_ADDRESS>wrote:

I am closing this for now. Please reopen, when needed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/forensicanalysis/artifactcollector/issues/94#issuecomment-723593204, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANZA5NYN5BQUG52ASFE2E7TSO22PRANCNFSM4STPGK4A.
This electronic message and its attachments contain information from the consulting firm of Charles River Associates that may be confidential or privileged. If you are not the intended recipient we ask that you notify us immediately via reply e-mail and delete or destroy this message and any copies of it. Thank you for your cooperation


Integrate real-time feedback for user interactions (e.g., node highlighting).

Subtask: Integrate real-time feedback for user interactions (e.g., node highlighting)

Task Overview:
Enable real-time visual feedback for user interactions within the React Flow editor, such as highlighting nodes when selected, hovered over, or connected. This feedback will enhance the user experience by making interactions intuitive and responsive.

SMART Criteria
Specific 🎯:
Implement real-time node highlighting and other feedback mechanisms that respond to user interactions, such as selecting, hovering, or connecting nodes. Ensure visual cues (e.g., color changes, outlines) are applied dynamically during these interactions.
Measurable 📏:
Success will be measured by:

Nodes providing clear visual feedback (e.g., color change, outline) when hovered over, selected, or connected.
Smooth, responsive updates to the node appearance without delays.
Positive feedback from at least 90% of test users regarding the clarity and responsiveness of real-time visual feedback.

Achievable 🚀:
This task is achievable by leveraging React Flow's built-in interaction hooks to detect node events (hover, select, connect) and applying dynamic styles using CSS or JavaScript.
Relevant 🎯:
Real-time feedback is critical to making the editor intuitive and interactive, helping users understand their actions, such as selecting or connecting nodes, with clear visual cues.
Time-bound ⏳:
This task should be completed within 3 days, allowing time for testing and ensuring a smooth, responsive user experience.

Subtasks 📝

[x] Add hover effects to nodes that highlight them when the user hovers over them.
[x] Implement visual feedback (e.g., outline or color change) when a node is selected.
[x] Ensure nodes change appearance when connected to other nodes, providing immediate visual feedback.
[ ] Test the real-time feedback on desktop and tablet devices to ensure responsiveness across platforms.

Acceptance Criteria ✅

[x] Nodes provide clear visual feedback (highlighting, color change) when hovered over, selected, or connected.
[x] Node feedback is smooth and responsive with no delays or glitches.
[ ] Positive feedback from at least 90% of test users regarding the clarity and responsiveness of real-time feedback.

Additional Notes 🗒

Ensure compatibility with tablet gestures, including touch-based interactions that trigger real-time feedback.

On desktop it works perfectly, didn't have a change to test on tablet.

done we will skip tests for now


Add go format checking on travis

This pull request add a source code format checking using gofmt.
It customises the build's script section and does a format check before running the test cases.
If the source code is not formatted according to the standard, it will fail the build suggesting the prospective changes.
Go code is not properly formatted. Use 'gofmt'.
diff main.go gofmt/main.go
--- /var/folders/kr/z6l_jmvs0916l5yhzzkgrysm0000gn/T/gofmt153062035	2017-04-21 12:37:03.000000000 +0530
+++ /var/folders/kr/z6l_jmvs0916l5yhzzkgrysm0000gn/T/gofmt346248406	2017-04-21 12:37:03.000000000 +0530
@@ -1,4 +1,4 @@
-package 	main
+package main

 import (
 	"flag"

This change is

This will be a fix for #40 (Add "go fmt" to travis).

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Awesome, thanks @pravj !

apologies for coming late to the party.
instead of adding this to Travis-CI, I prefer to create a TestGofmt(t *testing.T) test (so people actually running tests will see it before bugging Travis).
see:
https://github.com/go-hep/hep/commit/0b78c2931dc9c273128532e223b23b0cc4f093ad

@sbinet - I like that ides.
One thing that is bugging me is we are mixing integration and unit tests with go test. I know there is a -run condition, but I can't find an easy way to exclude or run only the tests that don't match a regex?

a "simple" workaround is to prefix all unit tests with Unit and all integration tests with Integ.
ie:
TestUnitFoo(t *testing.T)
TestIntegFoo(t *testing.T)

The standard library makes unit tests use short mode, so to run all unit tests use go test -short


Central Data transfer model

Description
using a Data Transfer Object to transfer information from backend to frontend.
Refactoring frontend react code, to be more component based and readable.
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

Codecov Report

Merging #946 (873e73b) into master (ccd8708) will decrease coverage by 0.24%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #946      +/-   ##
============================================
- Coverage     70.33%   70.08%   -0.25%
+ Complexity     5086     5076      -10
============================================
  Files           501      502       +1
  Lines         22431    22477      +46
  Branches       2334     2347      +13
============================================
- Hits          15776    15753      -23
- Misses         5414     5480      +66
- Partials       1241     1244       +3

Impacted Files
Coverage Δ
Complexity Δ

...c/main/java/ai/djl/serving/http/RequestParser.java
86.20% <ø> (ø)
8.00 <0.00> (ø)

...ain/java/ai/djl/modality/cv/util/NDImageUtils.java
48.68% <0.00%> (-14.48%)
18.00% <0.00%> (-2.00%)

...djl/training/listener/LoggingTrainingListener.java
82.30% <0.00%> (-6.20%)
21.00% <0.00%> (-7.00%)

...src/main/java/ai/djl/modality/Classifications.java
84.31% <0.00%> (-5.89%)
10.00% <0.00%> (-1.00%)

...gine/src/main/java/ai/djl/dlr/engine/DlrModel.java
53.12% <0.00%> (-3.13%)
4.00% <0.00%> (ø%)

api/src/main/java/ai/djl/training/Trainer.java
91.83% <0.00%> (-3.07%)
33.00% <0.00%> (-1.00%)

...ain/java/ai/djl/tensorflow/engine/TfNDManager.java
88.49% <0.00%> (-2.66%)
28.00% <0.00%> (-1.00%)

api/src/main/java/ai/djl/util/Platform.java
43.47% <0.00%> (-2.18%)
8.00% <0.00%> (ø%)

...g/src/main/java/ai/djl/serving/util/Connector.java
55.40% <0.00%> (-1.36%)
21.00% <0.00%> (ø%)

...ngine/src/main/java/ai/djl/mxnet/jna/LibUtils.java
42.23% <0.00%> (-1.25%)
15.00% <0.00%> (ø%)

... and 6 more

Continue to review full report at Codecov.

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


Add class "selected" to menu link when using i18n and redirecting

When I using i18n and add page with redirect to non refinery resource i see no class 'selected' in menu link when follow it.
in [path, URI.decode(path)] we have something like ["/contacts", "/contacts"]
in url "/ru/contacts"
think this fix can be useful.

This seems related to #1161

You are right Philip. Issues #1184 and #1161 provide different solutions to the same problem.

#4a7f424 wasn't helpful for me =(

Apparently I was wrong. We are dealing with different issues. Your solution doesn't solve mine neither Alex. :)
Now I'm trying to reproduce your issue Alex. Can you provide more information about it. What do you mean with 'redirect to non refinery resource'? How it is possible to be redirected to non refinery resource and still having the refinery's menu with .selected menu item?

I have "contacts" controller with "index" action. I have refinery page with name like "people" and redirecting option to "/contacts" and application level refinery meny.

Could you provide a spec that fails before your change and passes after your change, @dom1nga ? Is that possible?

i don't know how tell to rspec "controller 'controller1' exist with action 'action1' and route for 'controller1#action1'" and not familiar with rspec controller tests =(
need help with that

sorry @dom1nga I've been away.. I think you can do them something like this: https://github.com/substantial/refinerycms-blog/blob/c4ab34793c51fcde2c489e7543ed216356eeea0d/spec/routing/namespaced_routing_spec.rb by @phiggins


Use History API to close the mmenu using back button

Not sure if this is the best place for it, but maybe it'll inspire someone else. Here's what I've been doing to allow the mmenu to be closed using the back button. Maybe this would be more of an idea for experimental documentation rather than building something into core. Who knows?
You can see it in action for the mobile viewport sizes here.
jQuery("#selector").mmenu().on('opened.mm', function(){
	history.replaceState(null, document.title, location);
	history.pushState(null, document.title, location);
});

if (window.history && window.history.pushState) {
	window.addEventListener("popstate", function(e) {
		if ( jQuery('html.mm-opened').is('*') ) {
			jQuery(".mm-menu").trigger("close.mm");
			e.stopPropagation();
		}
	}, false);
}

The problem with this approach is that the URL does not change.  It would be nice if MM menu fully supported HTML History with routing to update the url based on menu item.  It would also be great if based on the URL it could position the menu to the correct level, and support back button.

Just to let you know, the new version (coming soon) ships with an add-on called "backButton" :-)

So glad to hear that! Thanks for the heads-up!


HBASE-28385 make Scan estimates more realistic

Background
https://issues.apache.org/jira/browse/HBASE-28385
Let's say you're running a table scan with a throttle of 100MB/sec per RegionServer. Ideally your scans are going to pull down large results, often containing hundreds or thousands of blocks.
You will estimate each scan as costing a single block of read capacity, and if your quota is already exhausted then the server will evaluate the backoff required for your estimated consumption (1 block) to be available. This will often be ~1ms, causing your retries to basically be immediate.
Obviously it will routinely take much longer than 1ms for 100MB of IO to become available in the given configuration, so your retries will be destined to fail. At worst this can cause a saturation of your server's RPC layer, and at best this causes erroneous exhaustion of the client's retries.
Proposal
This makes two major changes:

It introduces a more complex estimation of scan workloads. Specifically:

We continue to estimate initial scan calls very optimistically at, or near, 1 block of IO.
We begin tracking the max block bytes scanned (maxBlockBytesScanned) by a single Scanner#next call for each scanner in the RegionScannerHolder.
Keep in mind that there is already a server configured maxResultSize for scanners, and a call sequence number which increments with each Scanner#next call, beginning with 0
With all of these inputs, we estimate scan workload to be Math.min(maxResultSize, nextSeqNum*maxBlockBytesScanned)

It introduces a maximum scan estimate based on the quota's limit. This ensures that we never indefinitely block a scan based on its estimate

Testing
I've deployed this to a test cluster and confirmed that large scan estimates quickly produced useful estimates and, consequently, meaningful waitInterval backoffs. I can also try to write a unit test which confirms this behavior.
cc @hgromer @eab148 @bozzkar

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 36s
Docker mode activated.

I believe this test failure is unrelated

We've removed the minimum wait interval logic. I'm going to open a separate Jira regarding tiny backoffs and how we can improve them.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m  0s
Docker mode activated.

-1 :x:
patch
0m  3s
https://github.com/apache/hbase/pull/5713 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/5713

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5713/3/console

versions
git=2.25.1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m  0s
Docker mode activated.

-1 :x:
patch
0m  3s
https://github.com/apache/hbase/pull/5713 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/5713

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5713/3/console

versions
git=2.25.1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m  0s
Docker mode activated.

-1 :x:
patch
0m  3s
https://github.com/apache/hbase/pull/5713 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/5713

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5713/3/console

versions
git=2.25.1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m  0s
Docker mode activated.

-1 :x:
patch
0m  3s
https://github.com/apache/hbase/pull/5713 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/5713

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5713/3/console

versions
git=2.17.1

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

🤔 that's new. Just pushed a rebase

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 30s
Docker mode activated.

I believe the two test failures on the latest build are unrelated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 37s
Docker mode activated.


Compilation

This type of compilation allows you to choose the types to compile, as well as other features. The planned API (might change):
TDelegate Compile<TDelegate>(
    params (Type type, Variable variable)[] typesAndNames
) where TDelegate : Delegate

TDelegate Compile<TDelegate>(
    CompilationProtocol protocol,
    params (Type type, Variable variable)[] typesAndNames
) where TDelegate : Delegate

Func<TIn1, TOut> Compile<TIn1, TOut>(Variable var1)

Func<TIn1, TIn2, TOut> Compile<TIn1, TIn2, TOut>(Variable var1, Variable var2)

Func<TIn1, TIn2, TIn3, TOut> Compile<TIn1, TIn2, TIn3, TOut>(Variable var1, Variable var2, Variable var3)

Codecov Report

Merging #339 (c8b6657) into master (70e0c23) will decrease coverage by 0.70%.
The diff coverage is 62.03%.

@@            Coverage Diff             @@
##           master     #339      +/-   ##
==========================================
- Coverage   80.87%   80.16%   -0.71%
==========================================
  Files         136      141       +5
  Lines       10257    10596     +339
  Branches     1588     1609      +21
==========================================
+ Hits         8295     8494     +199
- Misses       1488     1619     +131
- Partials      474      483       +9

Impacted Files
Coverage Δ

...es/AngouriMath/Core/Compilation/IntoFE/Compiler.cs
88.98% <ø> (ø)

...ouriMath/Core/Compilation/IntoFE/FastExpression.cs
83.72% <ø> (ø)

...iMath/Core/Exceptions/UserInputInvalidException.cs
69.23% <0.00%> (-5.77%)
:arrow_down:

...riMath/Core/Compilation/IntoLinq/MathAllMethods.cs
24.00% <24.00%> (ø)

...AngouriMath/Core/Compilation/Compile.Definition.cs
37.50% <37.50%> (ø)

...ath/Core/Compilation/IntoLinq/DefaultConverters.cs
60.27% <60.27%> (ø)

...th/Core/Entity/Discrete/Entity.Discrete.Classes.cs
89.01% <67.64%> (-7.97%)
:arrow_down:

.../Continuous/Entity.Continuous.Factorial.Classes.cs
92.85% <75.00%> (-7.15%)
:arrow_down:

...Math/Core/Compilation/IntoLinq/IntoLinqCompiler.cs
87.09% <87.09%> (ø)

...nuous/Entity.Continuous.ArcTrigonometry.Classes.cs
96.96% <88.88%> (-3.04%)
:arrow_down:

... and 11 more

Continue to review full report at Codecov.

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


Unable to Login to Admin console or get login token

~ » flynn -a dashboard env get LOGIN_TOKEN
Get https://controller.XXXX.flynnhub.com/apps/dashboard/release: dial tcp XXX.XXX.XXX.XXX:443: getsockopt: operation timed out

Not sure where to go from here in terms of diagnostics. The cluster is still operating - apps are running OK, can console into MySQL etc.

Check the default cluster in flynn cluster, perhaps it is an old one that has been destroyed?


[WIP][FEATURE] Add Backward-cpp

Description
Added Find and Install files for Backward-cpp
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update
[ ] Documentation update

Checklist:

[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added tests/screenshots (if any) that prove my fix is effective or that my feature works.
[ ] I have tested the tests implicated (if any) by my own code and they pass (make test or ctest -VV -R <test-name>).
[ ] If my change is significant or breaking, I have passed all tests with ./docker-compose.sh build &> output and attached the output.
[ ] I have tested my code with OPTION_BUILD_SANITIZER or ./docker-compose.sh test &> output and OPTION_TEST_MEMORYCHECK.
[ ] I have tested with Helgrind in case my code works with threading.
[ ] I have run make clang-format in order to format my code and my code follows the style guidelines.

If you are unclear about any of the above checks, have a look at our documentation here.

https://github.com/metacall/core/commit/c5d4f3c0ec33a719fea674351290ffc71518b853


Check how the operations on shapes follow the semantics described in DE-9IM model

There is DE-9IM topological model that defines the semantics of operations on shapes for 2D. This model defines the semantics of such operations as overlap, intersect, within and others for 2D shapes. Not sure, is there any such model for spherical coordinates. If not, this model would be applicable to our case.
In general, it would be nice to have the API that is aligned with some standards. For example, should operation overlap check for touches or not? Such things are defined in the model that introduces the clear semantics for each operation.

This is a report on correspondence of the contains and overlaps operators of the DE-9IM model :
PG_SPHERE vs DE-9IM eng.pdf


Add text extraction to tool call processing in BedrockLLM

Description
This pull request enhances the functionality of the BedrockLLM class by modifying how tool calls and text are extracted from the model's response. Previously, when tools were provided, only tool calls were extracted, and any text content was ignored. This change allows for both tool calls and text to be processed and returned.
Here an example answer before the change:
content='' additional_kwargs={'usage': {'prompt_tokens': 411, 'completion_tokens': 89, 'total_tokens': 500}, 'stop_reason': 'tool_use', 'model_id': 'anthropic.claude-3-sonnet-20240229-v1:0'} response_metadata={'usage': {'prompt_tokens': 411, 'completion_tokens': 89, 'total_tokens': 500}, 'stop_reason': 'tool_use', 'model_id': 'anthropic.claude-3-sonnet-20240229-v1:0'} id='run-7e8d1ca5-7556-414c-9c29-9a51e79aced1-0' tool_calls=[{'name': 'multiply', 'args': {'first_int': 23, 'second_int': 7}, 'id': 'toolu_bdrk_01MqueVwRGpJuKh6mC8mU5Zm'}] usage_metadata={'input_tokens': 411, 'output_tokens': 89, 'total_tokens': 500}

Here after the change:
content="Okay, let's multiply 5 and 42 using the tool:", additional_kwargs={'usage': {'prompt_tokens': 246, 'completion_tokens': 90, 'total_tokens': 336}, 'stop_reason': 'tool_use', 'model_id': 'anthropic.claude-3-sonnet-20240229-v1:0'}, response_metadata={'usage': {'prompt_tokens': 246, 'completion_tokens': 90, 'total_tokens': 336}, 'stop_reason': 'tool_use', 'model_id': 'anthropic.claude-3-sonnet-20240229-v1:0'}, id='run-7d3ae303-ce91-4994-881a-31ecc241994d-0', tool_calls=[{'name': 'multiply', 'args': {'first_int': 5, 'second_int': 42}, 'id': 'toolu_bdrk_01S5BvS4Ws2GFhVxKUQ7UDDo'}], usage_metadata={'input_tokens': 246, 'output_tokens': 90, 'total_tokens': 336}

Changes

Created a new function extract_tool_calls_and_text which replaces the existing extract_tool_calls function.
The new function returns both a list of ToolCall objects and a string containing any text content from the response.
Modified the relevant parts of the BedrockLLM class to utilize this new function and handle the returned text.

Motivation
This change allows users to receive both tool calls and text content when using the BedrockLLM with tools, providing a more complete and flexible interaction with the model.
Additional Notes
This change maintains backwards compatibility with existing usage while providing enhanced functionality for users who need access to both tool calls and text content.

@Cerrix
Thanks for submitting the change. Can you provide some sample code to test this.


Create new export process page

[ ] Create page covering process of exporting articles from eJP to Exeter/Kriya
[ ] Add description of what is being covered
[ ] Add description of checks required on this content, compiled from current protocol documents
[ ] Add examples covering correct and incorrect scenarios, as required to support checks
[ ] Populate with schematron messages
[ ] Provide explanations for how to fix schematron errors and warnings
[ ] Review house style document to ensure all requirements are covered by GitBook and schematron
[ ] Review schematron messages related to this topic to ensure they are user friendly
[ ] Fred approved page
[ ] James approved page
[ ] Naushin approved page
[ ] Rebecca approved page
[ ] Share page with Exeter and invite feedback

Definition of done

[ ] Page revised after team comments
[ ] Team reviewed and approved page?
[ ] Assign Fred to update the Schematron

@naushinthomson, @rkcook312, @JGilbert-eLife, the first draft of this page is up: https://elifeproduction.slab.com/posts/vor-export-workflow-yqbyiovo.
Please take a look when you have a chance.
I wasn't sure if it was worth covering some of the eJP processes more in this page (or if that's best captured elsewhere). If so, @JGilbert-eLife it would be good to have your assistance with populating that section.

@gnott, we document all our processes in Production in a tool called Slab. This ticket represents adding a page to our protocols which details the accepted submission workflow. The draft of that page is up here: https://elifeproduction.slab.com/posts/vor-export-workflow-yqbyiovo.
If you have time, it'd be great to get your eyes on it, as there will no doubt be things I've missed and/or processes I haven't documented quite rightly.
I'm not sure if you'll have access to the link above. If not, here's a PDF copy. If you have a chance, feel free to feedback in whatever way is easiest (comments here, in slack, a marked up PDF).

Hi @fred-atherden, had a chance to review, looks good to me, are there instances which have repeated before causing the export process to fail / delay, could these be captured here and guidance how to solve?

Good point - thanks @rkcook312. I've added a new section - 'Failures'. Please take a look and LMK if you have any feedback


Decoder throw StackoverflowException when you define decoder in the companion object

import io.circe.Decoder
import io.circe.generic.extras.Configuration
import io.circe.generic.extras.semiauto.deriveConfiguredDecoder
import io.circe.parser.parse

object DecoderTest extends App {
  case class Changes(nodes: String = "")
  implicit val withDefaultsConfig: Configuration = Configuration.default.withDefaults.withSnakeCaseMemberNames
  implicit val changes: Decoder[Changes] = deriveConfiguredDecoder[Changes]
  //This code will not work if you comment above two lines and uncomment below code. It throw StackOverflowError
  /*object Changes {
    implicit val withDefaultsConfig: Configuration = Configuration.default.withDefaults.withSnakeCaseMemberNames
    implicit val changes: Decoder[Changes] = deriveConfiguredDecoder[Changes]
  }*/

  val json = parse("""{"nodes": "Hello"}""").map { json =>
    json.as[Changes]
  }
  println(json)
}

Out of curiosity, what happens if you move case class Changes outside of DecoderTest?

Then it worked @eirirlar .

@abdheshkumar Can you share more info about your versions or build? I can't reproduce this with 0.12.3 on either 2.12.10 or 2.13.1, either in the console or a file built with sbt.

I have this build.sbt:
scalaVersion := "2.12.8"

libraryDependencies ++= Seq(
  "io.circe" %% "circe-generic-extras" % "0.12.2",
  "io.circe" %% "circe-parser" % "0.12.2"
)

And your file with the comments switched, and sbt run works just fine.

@travisbrown Sorry, Now I am unable to reproduce this issue in the same codebase it was reproduced. you can close this issue. Thank you.


Camera shake on bomb explosions

TODO:

[x] Rotational camera shake
[x] Translational camera shake
[ ] Playtesting for good default values

Feedback is appreciated on the camera shake effect!
Implemented based on this GDC talk.
This will close #5.

Relevant from Discord.


don't expose registers clidr, ctr, ccsidr, csselr to ARMv6-M targets

as these are only available on ARMv7-M devices

@homunkulus r+

:pushpin: Commit c0e7dcb has been approved by japaric

:hourglass: Testing commit c0e7dcb with merge c0e7dcb...

:broken_heart: Test failed - status-travis

@homunkulus r+

:pushpin: Commit 58b5367 has been approved by japaric

:hourglass: Testing commit 58b5367 with merge 04283fa...

:sunny: Test successful - status-travis
Approved by: japaric
Pushing 04283fa386201982cf2132f7be177383a685c9e5 to master...


not supporting cuda

How to build mmdetection without cuda supporting?

Install with CPU only
The code can be built for CPU only environment (where CUDA isn't available).
In CPU mode you can run the demo/webcam_demo.py for example. However some functionality is gone in this mode:
Deformable Convolution
Deformable ROI pooling
CARAFE: Content-Aware ReAssembly of FEatures
nms_cuda
sigmoid_focal_loss_cuda
So if you try to run inference with a model containing deformable convolution you will get an error. Note: We set use_torchvision=True on-the-fly in CPU mode for RoIPool and RoIAlign
CascadeTabNet is really need cuda?

According to the documentation in the MMdetection v1.2 it requires GPU and CUDA and as we have used v1.2. Yes, it needs CUDA.


Readthedocs not automatically updating

@kmsquire @rawls238 As part of #179 , I don't believe the github webhooks were ever set up for readthedocs.
When I merged in changes to the docs, I had to manually rebuild the docs. Someone with access to the "settings" tab in this repository needs to configure it, I believe.

I just gave you admin access.  Cheers!

@rawls238, you now have admin access as well.

(Post back if something additional is needed for RTD configuration.)

Great, thanks.
I added the webhook, and the test seems to work. Closing.


CB-18623. SMON monitoring should consider only telemetry object for m…

…onitoring.
See detailed description in the commit message.

Not required for 2.62 release, but would be nice to have on int and stage for RTM testing.


Test suite results are missing for empty test artifacts

We rely on counting how many suite results we received back on the progress callback to find out whether the test run has finished or not. If we pass a test artifact that doesn’t contain any executable tests to the runSolidityTests function in the testSuiteIds argument, then we, currently, wont’ receive a callback for that artifact.
Definition of Done
Issue suite results on the progress callback for all the test suite IDs that EDR receives. In particular, a suite result for a test artifact that doesn’t contain any executable tests would have 0 test results.

Done in https://github.com/NomicFoundation/edr/pull/705


[WIP] First stab at flatMapLoop for Task and Coeval

#995

Cool. Needs documentation I think.

Apologies for the delay, how about this as documentation?
  /** Enables flatMap loops over Tasks     *      * Sample:     *      * {{{     *   val random = Task(Random.nextInt())     *   val loop = random.flatMapLoop(Vector.empty[Int]) { (a, list, continue) =>     *     val newList = list :+ a     *     if (newList.length < 5)     *       continue(newList)     *     else     *       Task.now(newList)     *   }     * }}}     *      * @param seed initializes the output     * @param f is a function that takes three inputs:     *        1. the next value     *        2. the accumulated result of the loop     *        3. the continuation function of the loop.     * @return a new [[Task]] that contains the result of the loop.     */

@mudsam that looks good, not sure if that list will be formatted properly. You can check by generating the documentation with unidoc.
Also instead of this:

Enables flatMap loops over Tasks

You might say something like this:

Describes flatMap-driven loops, as an alternative to recursive functions.


Error because of youtube-dl.js

There is and error coming, maybe because of the build not passing of youtube-dl
Here is the error:
Uncaught Error: spawn UNKNOWN
at exports._errnoException (util.js:1024:11)
at ChildProcess.spawn (internal/child_process.js:325:11)
at exports.spawn (child_process.js:505:9)
at exports.execFile (child_process.js:220:15)
at module.(anonymous function) (ELECTRON_ASAR.js:199:20)
at call (E:\Mudit and Harshit\Projects\Local\Lightweight-Youtube-Downloader\node_modules\youtube-dl\lib\youtube-dl.js:163:5)
at Function.getInfo (E:\Mudit and Harshit\Projects\Local\Lightweight-Youtube-Downloader\node_modules\youtube-dl\lib\youtube-dl.js:285:5)
at module.exports (E:\Mudit and Harshit\Projects\Local\Lightweight-Youtube-Downloader\node_modules\youtube-dl\lib\youtube-dl.js:107:10)
at Object.exports.download (E:\Mudit and Harshit\Projects\Local\Lightweight-Youtube-Downloader\node_modules\fyda\mp4\downloadMp4.js:13:15)
at Object. (E:\Mudit and Harshit\Projects\Local\Lightweight-Youtube-Downloader\node_modules\fyda\app.js:8:5)

I have the same issue.
The youtube-dl file is missing.


Uncomment PlayerColor and added previous one back because the BrickColor string inputs were broken by the change.

Uncomment PlayerColor and added previous one back because the BrickColor string inputs were broken by the change.

Not sure, this doesn't seem to be bugged in the current version of Adonis. So I closed it.


Bump MSRV to 1.36

Fixes CI breakage, see https://github.com/rust-lang/hashbrown/issues/213

bors r+


Add current segment index to the FollowJointTrajectoryAction feedback.

When using the joint trajectory controller it would be useful to know the current segment being executed in the trajectory in the event of a path tolerance violation to allow recovery. Would the maintainer be open to PR adding this to the feedback message?

Hi Levi,
Yes I think this is an intuitive extension to JTC and the information
should already be available, however, this be quite a breaking change as
any change to ROS messages changes the md5 hash... I'm not saying it's a
no-go but we should consider the consequences. A blunt approach would just
create a new message and while that'd be the typical corporate approach I'd
prefer to not do that in open source :)
On Mon, 7 Feb 2022, 16:37 Levi Armstrong, @.***> wrote:

When using the joint trajectory controller it would be useful to know the
current segment being executed in the trajectory in the event of a path
tolerance violation to allow recovery. Would the maintainer be open to PR
adding this to the feedback message?
—
Reply to this email directly, view it on GitHub
https://github.com/ros-controls/control_msgs/issues/65, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA24PYNMP4M67DIIRGDWVKTUZ7YMDANCNFSM5NX6WXXA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@bmagyar I have some availability to work on this. How would you like me to proceed?


feat: bulk notification api

add bulk notification api
refactor alerts notification
refactor notification routing and dispatch flow

proton changes
https://github.com/goto/proton/pull/97


Refactor TsFile

https://issues.apache.org/jira/browse/IOTDB-243

The travis tests fail

The travis tests fail

Yes, there are still lots of works to complete. So it's only a draft.

The new structure of TsFileMetadata is shown below.

More detailed doc to be added soon.

I think TsOffsetArray is a bad design,  because it is hard to understanding it, and each DeviceIndexArray takes 8 byte to store the index.
If you put the contents of TsOffsetArray directly into the DeviceIndexArray, it would only take 4 byte to record the number, and it would be easier to understand

The updated structure is here.

I changed some UnitTests in IoTDB server, because I added a new kind of MNode DeviceMNode in MTree. As a result, the deviceId cannot be storage group name any more. The storage group must be on the higher level of device.


Use an unversioned keystone endpoint

This enables both v2 and v3 to be advertised and clients can decide what
they want.
http://docs.openstack.org/developer/keystone/http-api.html#i-am-a-deployer

This may require doing python-openstackclient because python-keystoneclient can't seem to handle v3 very well, and may fallback poorly.

Please do not merge this yet, it's a WIP.


Pre-Trained Model URL is Not Working

I am trying to access pretrained model but its URL is not working. it is never loads.
https://nextcloud.inrae.fr/s/DEy4PgR2igSQKKH
Thanks,
Amany

Hi,
The service was on maintenance.
It should work now!


Calendar Feeds always list sub requests...

...even when they haven't been sub requested.
Line 98 has a sub request conditional that should also be applied to line 99.
https://github.com/YaleSTC/shifts/blob/rails-3.2/app/controllers/calendar_feeds_controller.rb#L99

This has been noted again by one of our clients, we should try and patch it so it will be fixed when they update to Shifts 3.

The problem is fixed for Shifts2 by this commit. However, calendar feeds do not work at all on Shifts3, so when we fix that we should cherry-pick the change into Shifts3. See issue #419


Issue/1870 update project (#2072)

Pull request opened by the merge tool on behalf of #2072

Merged in b0f8dd23c9c1518f510a5d72c786342a31672a04


first iteration of migration docs for vue3

Summary
Fixes #10658

Occurred changes and/or fixed issues

Add documentation for Vue3 migration

Technical notes summary

Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video

Checklist

[ ] The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
[ ] The PR has a Milestone
[ ] The PR template has been filled out
[ ] The PR has been self reviewed
[ ] The PR has a reviewer assigned
[ ] The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
[ ] The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

Thanks for the review @jordojordo 🙏

Closed in favor of https://github.com/rancher/dashboard/pull/12491


(Solved)Exception: Input 0 is incompatible with layer dense_2: expected dtype=float32, found dtype=float64

Just want to put this here for others who may be googling
I ran into significant trouble trying to add a Dense layer after an LSTM. Turns out I was selecting my dimensions from a numpy array instead of a list. Once I converted my numNeurons numpy array to a list I was able to add the model correctly.  Had to do the same for my dropouts array as well.

Hi @kevinmartinmauro,
I got this exception after adding a Dropout layer, but I don't think I'm selecting my dimensions from a numpy array. Could you perhaps share more details about the solution?
Thanks

Did you make sure your dropout values are less than one?
Do the dtype values in the issue title (float32, float64) match the ones you're seeing? Otherwise google the exact values + keras + python

My dropout parameters are between zero and one, yes. And I'm getting this
exact message.
On Sun, Jun 5, 2016, 05:17 kevinmartinmauro<EMAIL_ADDRESS>wrote:

Did you make sure your dropout values are less than one?
Do the dtype values in the issue title (float32, float64) match the ones
you're seeing? Otherwise google the exact values + keras + python
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/fchollet/keras/issues/2815#issuecomment-223789058,
or mute the thread
https://github.com/notifications/unsubscribe/AAQEw2zTYMqA38ekXjy7A372Y4IyQ83zks5qIjGlgaJpZM4InBGp
.

So regarding the dropout parameter, I got it from argparser and apparently it was casting it to float64 somehow, but when I tried to cast it to float32 it didn't help. Now I thought I might as well also tried just converting it to a simple float, and this time it seemed to work. Yay!


Rebalancing exchange issuance post audit improvements

Pull Request Test Coverage Report for Build 6179

23 of 26 (88.46%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 99.661%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

contracts/core/modules/lib/TokenFlush.sol
20
23
86.96%

Totals

Change from base Build 6172:
-0.2%

Covered Lines:
854

Relevant Lines:
857

💛  - Coveralls


Compilation process not documented.

The README should include instructions for how to compile this library, as there may be people unfamiliar with how to compile Qt projects, and who can't figure it out because of the lack of a configure script. Simply telling people to run qtmake, make, and optionally sudo make install would help in this regard.

Sorry for the late reply, I will update the README.md file in a moment.

@alex-spataru See #3, I added installation to /usr/local/{lib, include} and added documentation to the README

Merged, thanks!


Change fulfillment quantity calculation

I want to merge this change because... it uses quantityToFulfill field to display an available number of items to fulfill

PR intended to be tested with API branch:
Screenshots

Pull Request Checklist

[ ] This code contains UI changes
[ ] All visible strings are translated with proper context including data-formatting
[ ] Attributes [data-test-id] are added for new elements
[ ] Changes are mentioned in the changelog
[ ] The changes are tested in different browsers and in light/dark mode

Test environment config

API_URI=https://master.staging.saleor.cloud/graphql/

Task linked: SALEOR-4111 Change fulfillment quantity calculation


BUG-Attempt

Hi there, about attempt. Shouldn't  return function have the args as a spread. See below please. If so I can make a pr.
Thanks,
  try {
    return fn(...args);
  } catch (e) {
    return e instanceof Error ? e : new Error(e);
  }
};

const testFn = (a, b) => {
  return a + b
}
const elements = attempt(testFn, 12, 3)
console.log(elements) // return 15

Indeed it should be return fn(...args) instead of return fn(args). Thanks for noticing that! You can submit a PR as soon as you want and we will get right onto it!


Context aware templates

As @dsyer found out through their experiments with Spring integration it is still a fairly big pain when dealing with cross cutting attributes.
Cross cutting attributes would be things like CSRF token.
The documentation (overview.html) discusses some remedies on this and the Spring examples show some solutions.
The two solutions quickly are:

Threadlocals or similar
The model has a mutable attribute that gets set right before rendering

The threadlocal solution is a nonstarter for any reactive based web application (google if you don't know why that is a problem).
Furthermore even for traditional blocking applications it is unclear if it is even a long term solution with the advent of project loom which is now basically in the JDK.
The second solution is undesirable in that the model now has to know about cross cutting crap and thus you get a pattern where every model class needs a mutable global context as some collaborator (or the model is mutable).
This is rather painful if one wants to use immutable records for models.
public record Blog(Context ctx, String title, ...) implements ContextHolder {}
public record Home(Context ctx, String title, ...) implements ContextHolder {}

public Home someController(...) {
    Context ctx = Context.notReady(); // will be filled at end of request
    return new Home(ctx, ....);
}

For an advance DIY Java developer the above is probably not that painful and can be mitigated using all sorts of Java OOP / functional techniques. But for an entry level Spring Boot developer probably not and there is no real best practice other than what is provided in the Spring examples.
Perhaps we can do a JStachio solution that can be re-used across web applications.
Perhaps we can generate templates code that will take a special interface called Context (the name is a placeholder and we bikeshed that later).
So instead of:
    public <A extends Output<E>, E extends Exception> A execute(T model, A output) throws E;

We have an additional Template interface that has an additional method:
    public <A extends Output<E>, E extends Exception> A execute(T model, A output, Context ctx) throws E;

Context is a functional interface that is basically Function<String, @Nullable String>.
An empty Context for when it is not passed would simply be (String s) -> null.
Then templates will have a virtual binding that we will call for now @context (perhaps this could be configurable... again bikeshed) that essentially appears to be like a Map<String,String>.
@JStache(template = """
{{title}} {{! this is on the model }}
<input type="hidden" name="_csrf"<EMAIL_ADDRESS>/> {{! this is not }}
""")
public record Blog(String title){}

Then web frameworks call the execute method with their own custom Context (for servlet based environments this could be as simple as request::getAttribute).

I like the idea of a Context that is Function<String, String>. I think that probably avoids some of the ugliness of (for example) Rocker. It still opens JStachio up to runtime errors when a context entry can't be found? I suppose we are trading convenience for that risk.
If I'm reading the sample right above you are proposing a naming convention with @context as a prefix for the renderer? I can see possibilities there to extend the convention to @other_things via an extension point. Or is that over thinking it, and we don't need the "context" part of the prefix (i.e. {{@csrf}} would be sufficient)?
In any case the proof of the pudding will be in the eating and I'm happy to try it out as soon as you have a proposal, or clarifications on the above.

This would be a very useful feature. handlebars uses @root access the root/global context.
Another feature that is maybe related to this is accessing the parent context (../example in handlebars).

As I'm doing more integrations I'm seeing how supporting this will be challenging given how more and more frameworks don't seem to expose the request or the context in their "view" or "template engine" SPIs.
For example Dropwizard and Micronaut you cannot access the request easily when at the rendering state.
https://micronaut-projects.github.io/micronaut-views/latest/api/io/micronaut/views/ViewsRenderer.html

This change will seal off ContextNode. Before it was open and anyone could implement the interface. It is too dangerous to leave it open so it is now sealed.
The API documentation did warn about the dangers of ContextNode and I seriously doubt anyone implemented it or is using it so I am semi violating semver policy.

@dsyer @SerayaEryn context support is now in main and will be released in 1.3.0.
@dsyer I hid the ContextAwareOutput and instead you can use ContextJStachio.of(jstachio).
Most JStachio will be ContextJStachio so the above is very fast and no allocation.
In 2.0 I will consider moving it into the regular JStachio interface.

Another breaking change is JStachioFilter but to be honest it will probably get removed in 2.0 and the doc warned how it was not really public.


Proposal to have status/action node together

Currently they are nodes that execute a command OR get the state of the device/mode
The concept to send a command and get the state are always been separated.
Problem
We want to execute AND get state of some specific component. For now, we talk about mode and hsm node
ex: I want to change the mode from the mode node but I want also have something to get its state.
Solutions
Here some ideas. The solution can also be a mix of these (or other) ideas

Do nothing and use http request node to send command ...
note: If it's the best solution ... then I guess I can remove the repository :laughing:

Use two different nodes (like the device/command nodes).
ex: current mode node to get the state and  a new node to  set the state

pros:

use same device/command logic
in most use case, one node should do one thing, either giving state either changing state

cons:

add nodes and complexity to understand the difference
choosing a node by the action (get/set) vs by the type (mode, hsm) is less intuitive (IMO)

Using node property to choose what the node do.

Using node-red-contrib-smarthing logic. It uses the topic property to define what the node should do. Example with mode node

if topic = update, then output message will be the mode state
if topic = mode, then you also need to set the payload: {value: Night}
if topic is undefined, then output nothing

What is proposed in the HSM PR. It uses a mix with node property and default node setting to define when to send or set state. Example with mode node

If input msg don't set mode property, then the default command node is executed

if the default mode is null, then the node returns mode state
otherwise, the node set the default mode

If input msg set mode = Night, then the node make the request and output the new state
If input msg set the mode = null property, then the node returns the mode state

Mix between 3.i and 3.ii. Remove the concept of default mode in the node setting.

pros:

keep the default behavior when an input message without specific property will output the state

cons:

We lose available values list (we can mitigate this by adding value/example in the node doc)

I vote for #2. This keeps logic the same as device/command.

#2 - keeps the current convention (and you name the nodes as "mode-state" and "mode-command" to avoid any confusion .....

I am with them.  #2  I don't see the 1st bullet point under cons as a big deal.

I don't see the problem with #1 to be honest, it's a simple GET call that takes 5 seconds to set up
/2-cents

I'm quite surprised by your answers. If it was not clear, there are no solution hard to implement (even doing nothing #1 is not harder than #3 :wink: ). Maybe I'm asking myself too many questions :sweat_smile:
For solution #3 here a sample of mode node with a default action (much easier to understand with image)

But yeah the real question is about merging state and action or not.
So your answers about keeping separate things come with another question: Does the action should be merge with the command node? Like faking first two devices to mode and hsm ?
You can also give me the answer: "I don't care about your sh*tty dilemma, just release the feature". It will also be useful ;)
Thank you for your answers. I can't guarantee that I won't just do it my way, but i will definitely take it into account :grin:

But yeah the real question is about merging state and action or not.

Merging them will keep the number of nodes down. However, people who start out using node-red-contrib-hubitat may find it confusing that for Devices there are different state and action nodes, but that HSM and Mode have a single node that does both ....

#2 more closely matches the standard Node-Red node philosophy. Typically in/out nodes are separate nodes with fixed purpose, as opposed to more complex all-in-one nodes.
That said, I am OK with 2 or 3. Number 1 is not very new user friendly, even though it is technically easy to do.


[BugFix] Fix LDAP Auth miss check password result bug

Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:disappointed: fail : 0 / 7 (00.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/authentication/LDAPAuthProviderForNative.java
0
7
00.00%
[43, 44, 45, 48, 49, 52, 53]

@Mergifyio backport branch-3.0


Fix the mesos webui master log view / download links.

High-level description
This fixes a regression due to the DC/OS mesos ui cherry picks
going stale. A change was since pushed in mesos to make the
UI cherry picks less brittle.
This bumps mesos while fixing the UI cherry pick.
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS-39869. Mesos master log is missing from Mesos UI

Checklist for all PRs

[ ] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change:
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[ ] Read the DC/OS contributing guidelines
[ ] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Change log from the last version integrated (this should be a link to commits for easy verification and review): https://github.com/apache/mesos/compare/9147283171d761a4d38710f24ba654f8a96e325c...84749967a1c1384f75c3c017bda45a85eea67787
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and review process
What is the review process and when will my changes land?
All PRs require 2 approvals using GitHub's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label Ready For Review

@mesosphere-mergebot label ship-it


There is no about_Redirection

Steps to reproduce
Get-Help about_Redirection
Expected behavior
Information about redirection in PowerShell appears.
Actual behavior
PS C:\src\powershell> Get-Help about_Redirection
Get-Help : Get-Help could not find about_Redirection in a help file in this session. To download updated help topics type:
"Update-Help". To get help online, search for the help topic in the TechNet library at
https://go.microsoft.com/fwlink/?LinkID=107116.
At line:1 char:1

Get-Help about_Redirection

- CategoryInfo          : ResourceUnavailable: (:) [Get-Help], HelpNotFoundException
- FullyQualifiedErrorId : HelpNotFound,Microsoft.PowerShell.Commands.GetHelpCommand

Environment data
Name                           Value
----                           -----
PSEdition                      Core
SerializationVersion           <IP_ADDRESS>
GitCommitId                    v6.0.0-alpha.10
PSVersion                      6.0.0-alpha
PSRemotingProtocolVersion      2.3
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
WSManStackVersion              3.0
BuildVersion                   <IP_ADDRESS>
CLRVersion

This issue was moved to PowerShell/PowerShell-Docs#768


Question about the Cvode(cvode_mem, tout, y0, &t, CV_NORMAL) command

Dear All,
I have one question about the CVode solver. In my current code, I have used Cvode(cvode_mem, tout, y0, &t, CV_NORMAL) to solve my ODE function, f, but it seems like the solver has been trapped in a cycle. It always calls the ODE function, f, (I defined one "hello" output in function f if the function is called), but the solver does not get the solution. Does it mean the solver is trapped in the internal step? What is the solver doing in the cycle, does it updates the step size?
To check whether the solver is trapped in the internal step, I tried to artificially terminate the cycle by using CVodeSetMaxNumSteps(cvode_mem, mxsteps=3), but it still doesn't work, the solver still calls the ODE function, f, multiple times. So now I am a little bit confusing, if the solver is trapped in the internal step, why after I define the max step =3, does it still go inside the ODE function multiple times? Thank you for your answers.

This is a Sundials direct interface issue. I would say, the simplest thing to do is just use the common interface, or look at the common interface's implementation. We don't generally give support for the direct interface.

Thank you for your response. Would you like to give me some introductions for the usage of the common interface? Thank you,

https://github.com/SciML/Sundials.jl#common-interface-api
https://diffeq.sciml.ai/stable/tutorials/faster_ode_example/
https://diffeq.sciml.ai/stable/tutorials/advanced_ode_example/
etc.

To check whether the solver is trapped in the internal step, I tried to artificially terminate the cycle by using CVodeSetMaxNumSteps(cvode_mem, mxsteps=3), but it still doesn't work, the solver still calls the ODE function, f, multiple times.

My guess is that it's part of the Jacobian or nonlinear solver iterations, both of it which sounds like you didn't have a maximum on.

Thank you very much for your information. I will try to transfer the interface in the code. Thank you,


Broken In Angular 2?

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Raven.js does not work on Angular 2 with the AOT compiler.

Setup:
import * as Raven from 'raven-js';

Raven
  .config('mykeyhere')
  .install();

What is the expected behavior?
App would compile and run correctly.

@Chuckv01 – you need to make sure your module loader is pointing to dist/raven.js, and not the files located in src.

Hey @Chuckv01 did you managed to get this working as @benvinegar instructed?

@davorpeic not exactly. I ended up including the library the old-fashioned way using script tags in index.html.

Hm yeah, its a workaround, I hope they will fix this bug as it is useless in ionic2 :(


add not-stemmed searchable fields and rank profile; debugging schema helpers

This is an automated pr created following updates to the staging vespa schema instance.
Adds changes in https://github.com/climatepolicyradar/navigator-infra/pull/891 as well as changes that were already merged to staging which help with debugging:

search summaries including tokenised fields
individual parts of ranking expressions to match-features for each rank profile
a hybrid_custom_weight rank profile which lets us tweak the balance between bm25 & embedding search
a hybrid_no_description_embedding rank profile which works towards the future removal of embedding descriptions

closing as changes added to #145


Add X10 sensors support in the mochad component

Description:
X10 mochad component extended to make a use of event receiving part. So far mochad component in homeassistant supported only switched, but no sensors. Added reference to pymochad_mqtt controller. pymochad_mqtt controller runs read data loop in addition to pymochad send data. X10 sensors send messages to mochad service. pymochad_mqtt received them and publishes to mqtt topics. So that home-assistant can have support in mochad component.
Related issue (if applicable): fixes #
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#7691
Example entry for configuration.yaml (if applicable):

Checklist:

[ X] The code change is tested and works locally.
[ X] Local tests pass with tox. Your PR cannot be merged unless tests pass
[ X] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[X ] Documentation added/updated in home-assistant.io - 7691

If the code communicates with devices, web services, or third-party tools:

[X] New dependencies have been added to the REQUIREMENTS variable (example).
[X] New dependencies are only imported inside functions that use them (example).
[X] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

This PR seems to have gone stale. Closing it.


nuxt SPA commons.app.js:13380 [Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside , or missing . Bailing hydration and performing full client-side render

这种问题一般会发生在 a 标签嵌套了另外一个 a 标签的时候。

yes i am having the save problem. i am using vue-quill-editor package in nuxt js but having the save issue

try take <client-only></client-only> to wrapper the element ?


leave each or if and increase ident

Hello, there is a way to leave or close a each and in the next line, ident a level ? example:
if isSelected
div.selected
else
div
h3 div content
in this example the h3 tag will be outside the div
thanks

The canonical way to write that would be:
div(class="{{#if isSelected}}selected{{/if}}")
  h3 div content


added rdd creation

need to still:

allow overlaps
add function to strip overlapping regions

looks very good to me! @YongpingGao, any objection to merge this?

It's good and clear! No objection!