[BUG] missing space for stage 3 /var/lib/leapp/scratch/mounts/root_

Describe the bug
missing space for stage 3 /var/lib/leapp/scratch/mounts/root_, resulting in not able to complete stage 3 on a CloudLinux 7 to CloudLinux 8 elevate
To Reproduce

yum reports space needed:

2024-05-21 12:04:39 (6513) [INFO] Install   444 Packages
2024-05-21 12:04:39 (6513) [INFO] Upgrade  2883 Packages
2024-05-21 12:04:39 (6513) [INFO] Remove   151 Packages
2024-05-21 12:04:39 (6513) [INFO] Downgrade  26 Packages
2024-05-21 12:04:39 (6513) [INFO]
2024-05-21 12:04:39 (6513) [INFO] Total size: 2.9 G
2024-05-21 12:04:39 (6513) [INFO] Total download size: 2.9 G

available space is:
/dev/loop3      2.9G  388M  2.3G  15% /var/lib/leapp/scratch/mounts/root_

yum fails with

2024-05-21 12:15:34 (6513) [INFO] Disk Requirements:
2024-05-21 12:15:34 (6513) [INFO]  At least 1032MB more space needed on the / filesystem.

elevate stops

Expected behavior
enough diskspace on loop interface for install, preferable a configuration or dropfile option.
Additional context
workaround:
execute this on a very timed point in time while the elevate runs, so disk will be big enough
sh executeloopresize.sh
[content of file executeloopresize.sh]
dd if=/dev/zero bs=1MiB of=/var/lib/leapp/scratch/diskimages/root_ conv=notrunc oflag=append count=2000
losetup -c /dev/loop3
resize2fs /dev/loop3
[/ content ]

Mount points?
I have
/dev/sda5       1.8T  108G  1.7T   7% /
/dev/sda3        12G   33M   12G   1% /tmp
/dev/sda1       506M  146M  360M  29% /boot
/dev/sdb1       447G  125M  447G   1% /home2
But its the images that leapp creates that needs to be resized, that it mounts on loop devices, it does not look like it actually use it, but dnf or yum does use it to calculate if the install fits
There is enough space 😊
From: Todd Rinaldo @.>
Date: Tuesday, 21 May 2024 at 17.27
To: cpanel/elevate @.>
Cc: Peter Larsen @.>, Author @.>
Subject: Re: [cpanel/elevate] [BUG] missing space for stage 3 /var/lib/leapp/scratch/mounts/root_ (Issue #442)
Thank you for the report. We are investigating. Can you let us know what your point points look like on this server? Our pre-run checks should assure that before staring leapp, you have the following disk space:

/boot: 120 MB
/usr/local/cpanel: 1.5 GB
/var/lib: 5 GB

—
Reply to this email directly, view it on GitHubhttps://github.com/cpanel/elevate/issues/442#issuecomment-2122889168, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BIUHOD2ATVLSJMENR5LN2DTZDNRUNAVCNFSM6AAAAABIBPM4RKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRSHA4DSMJWHA.
You are receiving this because you authored the thread.Message ID: @.***>
Kind regards,
Peter Larsen
Technical Integration Manager
[group.one]
group.one
Carlsgatan 3 | 211 20 Malmö | Sweden
group.onehttps://www.group.one | LinkedInhttps://www.linkedin.com/company/group-dot-one/


Site is down?

Came across this - https://stackoverflow.com/questions/50522604/fontello-is-down-can-i-use-any-alternative-for-it - but would be good if people can point to additional alternatives.

it will be back or is down for ever?

My suggestion for an alternative is to use the following docker image:
https://hub.docker.com/r/unico/fontello/
docker pull unico/fontello
docker run -it -p  3000:3000 -d unico/fontello

unico/fontello seems outdated, it corrupts most of my icons.

@AvnerCohen Ubuntu 14.04, Node 4, Fontello Branch 5.3.0 which doesn't even exist anymore, this isn't a good suggestion.

@saschalalala  @nreynis My usage is extremely minimal and basic, this docker, while old, has worked for me.

Also, looking at the build scripts, they are very old and only relevant to older version - https://github.com/fontello/fontello/blob/master/support/ttfautohint-ubuntu-12.04.sh
So my guess is that the active site is not very different (out side of the diff in the fontello version, which should be very easy to change on the docker file).

Any response from authors?

Restarted, thanks for info. Main process crashed for unknown reasons.

@puzrin I'm really sorry, I think it was me who crashed your server.
To everyone: I didn't mean it.
I was implementing a simplistic library that would find icons used in the projects and automatically generate config and fonts using fontello API. Was trying to send a multipart request using just node http module, so it took me multiple attempts and at one point it seems one of the requests was made with a malformed body that crashed the server - I tested it on the local fontello version then.
You probably should look into adding a monitoring daemon if it's not already integrated, something like pm2, since your server might potentially crash again at some point.

I guess this case can be closed.
For what it's worth, I've created an updated docker image based on latest version - https://hub.docker.com/r/avnerner/fontello_server/

@djagya do you have an example of such bad request? Fontello should be resistant to requests of any type.

@puzrin sorry, I won't be able to reproduce it, but the issue was in an incorrectly formed multipart/form-data request body.

Ok, i reported issue to multiparty, but probably this could be error in old node streams. Close, since node was updated.


How to specify snapshot release, target and variant in a flake please :) ?

I am trying to build the following using my existing flake config for another device, but I am unclear how to specify these variables in a flake :-/
  release = "snapshot";
  target = "ipq40xx";
  variant = "generic";
  profile = "glinet_gl-a1300";

Any help would be much appreciated, thanks :)
{ pkgs ? import <nixpkgs> {}
, profiles ? import ./profiles.nix { inherit pkgs; }
#, profiles ? import ./profiles.nix { inherit pkgs; release = "snapshot"; target = "ipq40xx"; variant = "generic"; }
, build ? import ./builder.nix
}:
build (
  profiles.identifyProfile "glinet_gl-a1300"
  //
  {
    release = [ "snapshot" ];
    target = [ "ipq40xx" ];
    variant = [ "generic" ];
    packages = [
      #"zram-swap" "-ppp" "-ppp-mod-pppoe" "-ip6tables" "-odhcp6c" "-kmod-ipv6" "-kmod-ip6tables" "-odhcpd-ipv6only"
      "-ip6tables"
      "-kmod-ip6tables"
      "-kmod-nf-conntrack6"
      "-kmod-ppp"
      "-kmod-pppoe"
      "-kmod-pppox"
      "-kmod-usb-core"
      "-kmod-usb-ohci"
      "-kmod-usb2"
      "-libip6tc"
      "-libmbedtls"

Tried adding;
    release = [ "snapshot" ];
    target = [ "ipq40xx" ];
    variant = [ "generic" ];

But still get;
No match for OpenWRT profile glinet_gl-a1300

You had it almost right. Because the profile depends on the release, you must pass release = "snapshot"; when importing profiles.nix.
Note that none of release, target, variant are lists but strings. They are actually returned by profiles.identifyProfile if successful (requiring OpenWRT >=18.06) so you don't need to specify them anywhere.
{ pkgs ? import <nixpkgs> {}
, profiles ? import ./profiles.nix { inherit pkgs; release = "snapshot"; }
, build ? import ./builder.nix
}:
build (
  profiles.identifyProfile "glinet_gl-a1300"
  //
  {
    packages = [
      #"zram-swap" "-ppp" "-ppp-mod-pppoe" "-ip6tables" "-odhcp6c" "-kmod-ipv6" "-kmod-ip6tables" "-odhcpd-ipv6only"
      "-ip6tables"
      "-kmod-ip6tables"
      "-kmod-nf-conntrack6"
      "-kmod-ppp"
      "-kmod-pppoe"
      "-kmod-pppox"
      "-kmod-usb-core"
      "-kmod-usb-ohci"
      "-kmod-usb2"
      "-libip6tc"
      "-libmbedtls"
    ];
  }
)

Of course, I needed to nix run .\#generate-hashes snapshot first. :roll_eyes:

@astro thanks for the prompt and useful reply.
Makes sense 👍🏻 and yes I'd already ran the generate hashes for snapshot :-)
Built successfully, thanks again.


Units can walk through structures

Signals appear to pass through as well.

    pub(crate) fn update_litter_state(&mut self, tile_pos: TilePos, litter_state: InventoryState) {
        match litter_state {
            InventoryState::Empty | InventoryState::Partial => {
                self.impassable_tiles.remove(&tile_pos);
            }
            InventoryState::Full => {
                self.impassable_tiles.insert(tile_pos);
            }
        }
    }

This is the offending code; it's overwriting passability set by structures.


WS fails to connect

I am trying to run amman and get following and it keeps printing last line
$ amman start
Loading config from /home/saber/code/baxus-anchor/.ammanrc.js
Running validator with 1 custom program(s) and 0 remote account(s) preloaded
Launching new solana-test-validator with programs predeployed and ledger at ./test-ledger
Successfully launched Relay at :::50474
ws error: connect ECONNREFUSED <IP_ADDRESS>:8900
Successfully launched MockStorageServer at :::50475
ws error: connect ECONNREFUSED <IP_ADDRESS>:8900
ws error: connect ECONNREFUSED <IP_ADDRESS>:8900

Config:
module.exports = {
  validator: {
    killRunningValidators: true,
    programs: [
      {
        label: 'Token Metadata Program',
        programId: 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s',
        deployPath: '../metaplex-program-library/token-metadata/'
      },
    ],
    jsonRpcUrl: 'localhost',
    websocketUrl: 'localhost',
    commitment: 'confirmed',
    ledgerDir: './test-ledger',
    resetLedger: true,
    verifyFees: false,
    detached: process.env.CI != null,
  },
  relay: {
    enabled: process.env.CI == null,
    killlRunningRelay: true,
  },
  storage: {
    enabled: process.env.CI == null,
    storageId: 'mock-storage',
    clearOnStart: true,
  },
}

Attempting to run amman with imports from @metaplex-foundation/amman gives following error
saber@pop-os:~/code/amman$ amman start
Having trouble loading amman config from undefined
/home/saber/code/amman/.ammanrc.js:1
import { LOCALHOST, tmpLedgerDir } from '@metaplex-foundation/amman'
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at Object.compileFunction (node:vm:360:18)
    at wrapSafe (node:internal/modules/cjs/loader:1049:15)
    at Module._compile (node:internal/modules/cjs/loader:1084:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)
    at Module.load (node:internal/modules/cjs/loader:998:32)
    at Module._load (node:internal/modules/cjs/loader:839:12)
    at Module.require (node:internal/modules/cjs/loader:1022:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at tryLoadLocalConfigRc (/home/linuxbrew/.linuxbrew/lib/node_modules/@metaplex-foundation/amman/dist/cli/commands/start.js:64:24)
    at async resolveConfig (/home/linuxbrew/.linuxbrew/lib/node_modules/@metaplex-foundation/amman/dist/cli/commands/start.js:50:53)
Rerun `amman --help` for more information

@amirsaber Did you ever resolve the ECONNREFUSED websocket error on port 8900? I'm still running into this error today.

I couldn't figure the exact root cause but it was a configuration issue on my side. I used default config file and it went away.

It looks like the WebSocket connection is failing to connect to localhost:8900. This could be due to a few reasons:

The WebSocket server is not running on localhost:8900.
There is a firewall blocking the connection to localhost:8900.
The WebSocket server is not configured to accept connections from localhost.

You can try the following steps to troubleshoot the issue:

Check if the WebSocket server is running on localhost:8900. If it is not, you may need to start it or update the configuration to use the correct WebSocket URL.
Check if there is a firewall blocking the connection to localhost:8900. You may need to add an exception to the firewall to allow the connection.
Check if the WebSocket server is configured to accept connections from localhost. If it is not, you may need to update the configuration to allow connections from localhost.

Once you have identified and resolved the issue, you should be able to connect to the WebSocket server and run amman successfully.


Fix issue #438

Ok, it seems to work now :) Here is my for the issue #438.
I hope the way i fixed it is ok for you. I had to do a string-concat inside the column-event because the hole string was returned as an array of strings, each with a length of 8000. So i thought it makes sense to directly combine them before returning.
Also the checking is now based on the real string length.
I also added tests for Char & NChar, but it i think these two types were aleready working before...
But concerning the specs on the microsoft docs they anyway have a limitation to (8000 for char and 4000 for nchar).
For Text and NText i didn't see any need, because they are not accepted as input params...
Thank you for creating this awesome library :)

Hmm strange there seems to be an error with node.js 4 and sql server 2008, 2012, 2016 but not 2014 :D
i will have a look at it ...

I think i could figure out the problem more ore less... But i had to remove the explicit msnodesql type casting for the moment because there was a strange behavoir on handling decimals input parameters. Sometimes the test passed and next time i run it there was an error.
I guess that this happens because precicision- and scale-paramaters are missing on casting it to the msnodesql datatype.
First, i tried to fix this also, but then i saw that this would mean some major changes in the architecture of this casting-stuff, so i added it only for the string-types to fix this issue.
I hope this is ok :)

@patriksimek this PR has been around a while, the issue in TimelordUK/node-sqlserver-v8 has been closed so there appears to be some clarity there.
Is this suitable to take in, others seem to have found it useful (someone merged it into their fork) so I either would like this merged or closed but I don't really have the knowledge around whether this is good or not!

Right, so this appears to be trying to work around a bug in the upstream driver which is now patched, so I assume this can be closed... Please correct me if wrong and I'll re-open. Sorry this didn't make it in @lukasweber and sorry if it was a pain for you. I really appreciate your effort nonetheless.


path="*": it doesn't react to path changes.

I'm using the following:
<Route fallback path="*" component={Page} />

To send routes to the Page component that will lookup the path and see if there is a corresponding markdown file. If there is, it renders it. But, the Page component isn't getting anything when I go to one page and then another that would match it. If I go the a page that is a different component with it's own path, it changes fine. But, going from two pages that would match the above rule does absolutely nothing.

An interesting twist: if the path is '/blog/item' and the next click is to '/item', then the page does change. Both routes are picked up with the * component. If two routes are on the same "level", then the page doesn't refresh.

Hi, can you help me to setup a gist to understand this better?

A gist will not help. Just create a site with the contents for the wildcard
route depending upon the address of the wildcard route. When you go from
one wildcard route to another, the contents will not change. But, if you go
from a fixed route to a wildcard route, it is always fine. This library is
designed for the wildcard/catch all else route to simply be a 404 type
page. But, I want to use it to send all other routes to a component that
gets a page from the file system depending on the route.
Richard
On Thu, Oct 31, 2019 at 4:16 AM Alvaro Cabrera Durán <
<EMAIL_ADDRESS>wrote:

Hi, can you help me to setup a gist to understand this better?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kazzkiq/svero/issues/49?email_source=notifications&email_token=AAS7JR7QDBCIPJNXTYFI53TQRH2RLA5CNFSM4JEUYDOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECVZKHQ#issuecomment-548115742,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAS7JR63QN74COYHCA5HHODQRH2RLANCNFSM4JEUYDOA
.

I'm trying to understand but I'm not able to reproduce your application, sorry.

Svero is now deprecated. Check #68 for alternatives.


Docker nvidia docs out of date

Nvidia docker2 is not deprecated, it is the current supported nvidia docker runtime.
GPU support for compose has now landed.  I didn't upgrade the actual compose version because if-it-aint-broke, but if we wanted to use more fine-grained GPU device selection, we could now.
Explicitly mention that the docker install is linux-only, and point to alternatives.

I also messed up the watchtower command when I enabled rolling release.  It interpreted the comment string as a container name, couldn't find any containers with that name, and noop'd.


Plugin Celo: fields specific to Celo

Although the Celo chain handles more transaction fields than classic eth one, I don't see any way in the UI to fill these fields.
Is it something missing or what's the plan for that?

The gas price and gas limits are automatically generated by the sendTransaction function. In the case of a token that pays gas fees, as it is a plugin used by developers, they will pay the Celo corresponding to Ethereum's ETH. When the Celo extension wallet is launched, it will be available for deploy using cUsd(/Celo Dollar).

@yann300  is this satisfactory to close the issue?


feat: handle EIP4844 "Shard" transactions

Feature Request
Describe the Feature Request
Dencun is coming fast! We need to support new opcodes, and tx types
https://blog.ethereum.org/2024/01/10/goerli-dencun-announcement

Describe Preferred Solution

For now, recognize when 4844 txs are sent to the network, and gracefully fail
https://eips.ethereum.org/EIPS/eip-4844

I am new to this repository, can you locate me where the blocks are identified and validated ?


Grouping in grid doesn't work with local data

I have data with the same TaskId:

As you see TaskId are the same.
But when I add to my grid:
grouping: { groupBy: 'TaskId' }
I get four lines in grid (I expect to see only one line)

What do I do wrong?

Could you send me a code snippet that I can use to recreate the issue. Everything seems to work fine in the examples at https://gijgo.com/grid/configuration/grouping.groupBy

In renderRow method I use prepend instead of append to show newer rows above older.
//$grid.children('tbody').append($row);
$grid.children('tbody').prepend($row);

If I use "prepend" function grouping doesn't work correctly. So I see four lines in grid for the same TaskId..
So, if I back to "append" grouping works correctly.
How to use "prepend" and get grouping working?


There should be a way to load config from environment variables instead of config.json

I'm submitting a...
Feature Request
Current behavior
Loading config from config.json forces us to send DB credentials around different deployment environments (ie. cloud providers and devs, etc).
We typically want a way to keep the information private per environment, which would require loading from environment variables.
Expected behavior
Have an option to load config from pre-defined environment variables.

Nevermind, I see the DATABASE_URL environment option. Thanks.

database_url is limited sometimes. if that doesn't work, look in the docs for the configuration file and the environment references. here a quick example of a config with more advanced details
{
  "dev": {
    "user": {"ENV": "user"},
    "driver": "cockroachdb",
    "database": {"ENV": "database"},
    "native": true,
    "host": { "ENV": "host" },
    "port": 26257,
    "ssl": {
      "sslrootcert": { "ENV": "ca_crt" },
      "sslcert": { "ENV": "ssl_cert" },
      "sslkey": { "ENV": "ssl_key" },
      "sslmode": { "ENV": "ssl_mode" }
    }
  }
}

Ah, thank you @wzrdtales !

@wzrdtales Is there any way we can load config from a js file which exports config const. My script looks like this
db-migrate --config '%INIT_CWD%\\db\\dbmrc.js' -m '%INIT_CWD%\\db\\migrations'
And my dbmrc.js is :
require("dotenv-defaults").config({
  path: "./.env",
  encoding: "utf8",
  defaults: "./.env.local" // This is new
});

const {
  CONFIG_DB_SERVER,
  CONFIG_DB_PORT,
  CONFIG_DB_USERNAME,
  CONFIG_DB_PASSWORD,
  CONFIG_DB_NAME
} = process.env;

const config = {
  driver: "mysql",
  multipleStatements: true,
  host: CONFIG_DB_SERVER,
  port: CONFIG_DB_PORT,
  database: CONFIG_DB_NAME,
  user: CONFIG_DB_USERNAME,
  password: CONFIG_DB_PASSWORD,
  "sql-file": true
};

module.exports = config;

If I replace config file with standard json file as per docs, it works. I was trying to load my env variables as on production I will have .env file and on local I'll have .env.local


docker build runs into GPG error

While running docker build -t- as instructed here in Powershell I get the following error message:
> docker build -t unity-robotics:nav2-slam-example ./
> [+] Building 4.9s (7/13)
>  => [internal] load build definition from Dockerfile                                                               0.0s
>  => => transferring dockerfile: 3.23kB                                                                             0.0s
>  => [internal] load .dockerignore                                                                                0.0s
>  => => transferring context: 2B                                                                                0.0s
>  => [internal] load metadata for docker.io/dorowu/ubuntu-desktop-lxde-vnc:focal                                    1.2s
>  => [internal] load build context                                                                                0.0s
>  => => transferring context: 91.34kB                                                                               0.0s
>  => [1/9] FROM docker.io/dorowu/ubuntu-desktop-lxde-vnc:focal@sha256:07e51eafb6e0923759105eeb8cfc8f0d19be77a212b1  0.0s
>  => CACHED [2/9] RUN echo "Set disable_coredump false" >> /etc/sudo.conf                                           0.0s
>  => ERROR [3/9] RUN apt-get update -q &&     apt-get upgrade -yq &&     apt-get install -yq         wget           3.6s
> ------
>  > [3/9] RUN apt-get update -q &&     apt-get upgrade -yq &&     apt-get install -yq         wget         curl         git         build-essential         vim         sudo         gnupg2         lsb-release         locales         bash-completion         tzdata         gosu         python3-argcomplete         python3-pip     && rm -rf /var/lib/apt/lists/*:
> #6 0.356 Get:1 http://dl.google.com/linux/chrome/deb stable InRelease [1811 B]
> #6 0.365 Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
> #6 0.370 Get:3 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist [1061 B]
> #6 0.398 Get:5 http://ftp.nluug.nl/os/Linux/distr/ubuntu focal-updates InRelease [114 kB]
> #6 0.405 Get:4 http://nl.archive.ubuntu.com/ubuntu focal InRelease [265 kB]
> #6 0.411 Get:6 http://osmirror.rug.nl/ubuntu focal-backports InRelease [108 kB]
> #6 0.441 Err:1 http://dl.google.com/linux/chrome/deb stable InRelease
> #6 0.441   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
> #6 0.513 Get:7 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2018 kB]
> #6 0.689 Get:9 https://mirrors.xtom.nl/ubuntu focal-backports/main amd64 Packages [54.2 kB]
> #6 0.735 Get:13 http://mirror.amsiohosting.net/archive.ubuntu.com focal/universe amd64 Packages [11.3 MB]
> #6 0.735 Get:8 http://mirror.serverius.net/ubuntu focal-backports/universe amd64 Packages [27.1 kB]
> #6 0.742 Get:14 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [883 kB]
> #6 0.752 Get:12 http://mirror.hostnet.nl/ubuntu/archive focal/main amd64 Packages [1275 kB]
> #6 0.806 Get:11 http://mirror.nforce.com/pub/linux/ubuntu focal/multiverse amd64 Packages [177 kB]
> #6 0.821 Get:10 http://mirror.eu.kamatera.com/ubuntu focal/restricted amd64 Packages [33.4 kB]
> #6 0.857 Get:15 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [27.5 kB]
> #6 0.862 Get:16 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1386 kB]
> #6 0.959 Ign:18 https://nl.mirrors.clouvider.net/ubuntu focal-updates/multiverse amd64 Packages
> #6 1.316 Get:17 http://ftp.nluug.nl/os/Linux/distr/ubuntu focal-updates/universe amd64 Packages [1161 kB]
> #6 1.470 Get:20 http://ftp.tudelft.nl/archive.ubuntu.com focal-updates/main amd64 Packages [2456 kB]
> #6 1.584 Get:18 http://mirror.amsiohosting.net/archive.ubuntu.com focal-updates/multiverse amd64 Packages [30.2 kB]
> #6 1.896 Get:19 http://ftp.nluug.nl/os/Linux/distr/ubuntu focal-updates/restricted amd64 Packages [1487 kB]
> #6 2.882 Reading package lists...
> #6 3.469 W: GPG error: http://dl.google.com/linux/chrome/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
> #6 3.469 E: The repository 'http://dl.google.com/linux/chrome/deb stable InRelease' is not signed.
> ------
> executor failed running [/bin/sh -c apt-get update -q &&     apt-get upgrade -yq &&     apt-get install -yq         wget         curl         git         build-essential         vim         sudo         gnupg2         lsb-release         locales         bash-completion         tzdata         gosu         python3-argcomplete         python3-pip     && rm -rf /var/lib/apt/lists/*]: exit code: 100

You have to add a line in the Dockerfile for getting the updated keys for Google Chrome:
...
ENV GROUP_NAME=ros
ENV WS_NAME=colcon_ws

RUN wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add -

RUN echo "Set disable_coredump false" >> /etc/sudo.conf
RUN apt-get update -q && \
...

Shouldn't this be a Pull Request?

in case docker said that the RUN command is not found for the previous line, try
RUN ["/bin/bash", "-c", "wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add -"]
it worked for me.
the full docker file (couldn't make a pull request for it )

# adapted from: https://github.com/Tiryoh/docker-ros2-desktop-vnc
FROM dorowu/ubuntu-desktop-lxde-vnc:focal
LABEL maintainer="Unity Robotics<EMAIL_ADDRESS>
ENV DEBIAN_FRONTEND noninteractive
ENV DEV_NAME=rosdev
ENV ROS_DISTRO=galactic
ENV GROUP_NAME=ros
ENV WS_NAME=colcon_ws

RUN ["/bin/bash", "-c", "wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add -"]

RUN echo "Set disable_coredump false" >> /etc/sudo.conf
RUN apt-get update -q && \
    apt-get upgrade -yq && \
    apt-get install -yq \
        wget \
        curl \
        git \
        build-essential \
        vim \
        sudo \
        gnupg2 \
        lsb-release \
        locales \
        bash-completion \
        tzdata \
        gosu \
        python3-argcomplete \
        python3-pip \
    && rm -rf /var/lib/apt/lists/*

# Install the immutable components BEFORE we copy in build context stuff to keep the rebuild process manageable
RUN apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 && \
    curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add - && \
    echo "deb [arch=$(dpkg --print-architecture)] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" > \
        /etc/apt/sources.list.d/ros2-latest.list && \
    apt-get update -q && \
    apt-get install -y --no-install-recommends \
      ros-${ROS_DISTRO}-ros-base \
      python3-rosdep \
      python3-colcon-common-extensions \
      python3-vcstool \
    && rm -rf /var/lib/apt/lists/* && rm /etc/apt/sources.list.d/ros2-latest.list

RUN useradd --create-home --home-dir /home/${DEV_NAME} --shell /bin/bash --user-group --groups adm,sudo ${DEV_NAME} && \
    echo "$DEV_NAME:$DEV_NAME" | chpasswd && \
    echo "$DEV_NAME ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
COPY --chown=${DEV_NAME} colcon_ws /home/${DEV_NAME}/colcon_ws
COPY ros2-setup.bash /bin/ros2-setup.bash
# Doing a second fetch of sources & apt-get update here, because these ones depend on the state of the build context
# in our repo
RUN apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 && \
    curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add - && \
    echo "deb [arch=$(dpkg --print-architecture)] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" > \
        /etc/apt/sources.list.d/ros2-latest.list && \
    apt-get update -q && \
    rosdep init && \
    chmod +x /bin/ros2-setup.bash && \
    gosu ${DEV_NAME} /bin/ros2-setup.bash && \
    runuser -u ${DEV_NAME} ros2-setup.bash && \
    rm /bin/ros2-setup.bash && \
    rm -rf /var/lib/apt/lists/* && rm /etc/apt/sources.list.d/ros2-latest.list

RUN echo ". /opt/ros/${ROS_DISTRO}/setup.bash" >> /home/${DEV_NAME}/.bashrc && \
    echo ". /home/${DEV_NAME}/${WS_NAME}/install/local_setup.bash" >> /home/${DEV_NAME}/.bashrc

ENV TURTLEBOT3_MODEL=waffle_pi

# To bring up tb3 simulation example (from https://navigation.ros.org/tutorials/docs/navigation2_with_slam.html)
# cd catkin_ws && source install/setup.bash && ros2 launch nav2_bringup tb3_simulation_launch.py slam:=True

# Informs the environment that the default user is not root, but instead DEV_NAME
ENV USER ${DEV_NAME}

Hi,I have followed your advice and add the line to the Dockerfile：

But I still get this error：

so how can I solve it？looking forward to your reply

Hi,I have followed your advice and add the line to the Dockerfile：  But I still get this error：  so how can I solve it？looking forward to your reply

Update:Everything works fine after I change the source to tuna mirror:

Hi,I have followed your advice and add the line to the Dockerfile：  But I still get this error：  so how can I solve it？looking forward to your reply

Update:Everything works fine after I change the source to tuna mirror:

Unfortunatly it still gives an error at the end, and I searched all over google and can't find a workable solution, can anyone help me to get rid of this annoying error：

Hi,I have followed your advice and add the line to the Dockerfile：  But I still get this error：  so how can I solve it？looking forward to your reply

Update:Everything works fine after I change the source to tuna mirror:

Unfortunatly it still gives an error at the end, and I searched all over google and can't find a workable solution, can anyone help me to get rid of this annoying error：

Update:After many attempts, I finally successfully built the image, I guess this should be due to wsl2 and docker complex network problems, but anyway,I eventually solved this annoying error:

Hi,I have followed your advice and add the line to the Dockerfile：  But I still get this error：  so how can I solve it？looking forward to your reply

Update:Everything works fine after I change the source to tuna mirror:

Unfortunatly it still gives an error at the end, and I searched all over google and can't find a workable solution, can anyone help me to get rid of this annoying error：

Update:After many attempts, I finally successfully built the image, I guess this should be due to wsl2 and docker complex network problems, but anyway,I eventually solved this annoying error:

能加个QQ号吗，有些问题想问下

Hi,I have followed your advice and add the line to the Dockerfile：  But I still get this error：  so how can I solve it？looking forward to your reply

Update:Everything works fine after I change the source to tuna mirror:

Unfortunatly it still gives an error at the end, and I searched all over google and can't find a workable solution, can anyone help me to get rid of this annoying error：

Update:After many attempts, I finally successfully built the image, I guess this should be due to wsl2 and docker complex network problems, but anyway,I eventually solved this annoying error:

I have encountered the same problem as you. Can I attach your final dockerfile


Add isnan and iszero

Which issue does this PR close?
Closes #7273
Rationale for this change
In Datafusion, +NaN and -NaN are distinguished as well as +0.0 and -0.0.
For example, asin(10) returns NaN but 'inf'::DOUBLE / 'inf'::DOUBLE returns -NaN.
3.0 * 0 returns 0.0 but -3.0 * 0 returns -0.0.
So, users need to determine NaN and 0.0 like as follows.
SELECT ... WHERE x = 'NaN'::DOUBLE OR x = -'NaN'::DOUBLE;

I think it's nice to avoid such boilerplate code.
What changes are included in this PR?
This PR aims to add isnan and iszero which determine NaN and 0.0 ignoring their sign.
Are these changes tested?
Added new tests.
Are there any user-facing changes?
Yes but it doesn't break compatibility.

This CI failure seems caused by #7270. I opened #7286 to fix it.


I.seeTraffic on post data traffic unexpectedly passes

What are you trying to achieve?
Test a POST request with I.seeTraffic (Playwright Helper) with an intentional fail.
For example at https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST
the existing POST request to https://developer.mozilla.org/pong/get with payload
{
   keywords: [],
   pongs: ["top", "side"
}

I use this test code:
Scenario('DEMO', async ({I}) => {
    I.amOnPage('https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST');
    await I.seeTraffic({
        url: 'https://developer.mozilla.org/pong/get',
        name: 'POST Test',
        timeout: 3,
        requestPostData: {
            keywords: [],
            pongs: ["side", "top"],
            doesNotExist: true
        }
    })
})

What do you get instead?
Test passes unexpectedly.
Details

CodeceptJS version: 3.5.6
NodeJS Version: 20.6.1
Operating System: MacOS latest version
Playwright: 1.38.1

I think the reason is that I.seeTraffic returns true too early.
A fix would be to turn this code in seeTraffic step of Playwright helper:
  for (let i = 0; i <= timeout * 2; i++) {
      const found = this._isInTraffic(url, parameters);
      if (found) {
        return true;
      }
      await new Promise((done) => {
        setTimeout(done, 1000);
      });
    }

into this code:
    for (let i = 0; i <= timeout * 2; i++) {
      const found = this._isInTraffic(url, parameters);
      if (found) {
        if (!requestPostData) {
          // We are done! Traffic matches URL and parameters.
          return true
        } else {
          // We are not done yet! We have to check post data as well.
          break;
        }
      }
      await new Promise((done) => {
        setTimeout(done, 1000);
      });
    }

I have the impression that after the fix the test of the post data is also broken.
I think it is because of this not logical code in Playwright helper:
      if (typeof information.requestPostData === 'object') {
        information.requestPostData = JSON.parse(information.requestPostData);
      }

Shouldn't it be !== 'object?

I got failed test not passed one 🤔

You have to execute I.startRecordingTraffic of course first. I forgot to add this in the code snippet because I implicitly expected it.


Application Homepage applies Book view differently

Describe the bug
The Book and Shelves views are applied differently on the homepage compared to the Books/Shelves pages. This leads to a lot of scrolling in the mobile view with the actual content of the books buried by the additional infos.
Steps To Reproduce
Steps to reproduce the behavior:

Go to Settings and change Application Homepage to Books
Switch to a mobile device/viewport and click on homepage
Click on menu > Books
Compare views

Expected behavior
The same design from the default Books site if choosen as the Homepage.
Screenshots
Homepage
https://i.imgur.com/47L63GR.jpg
Books
https://i.imgur.com/bQGrXqe.jpg
Your Configuration (please complete the following information):

Exact BookStack Version (Found in settings):  BookStack v0.26.0
PHP Version: 7.2.10
Hosting Method (Nginx/Apache/Docker): Apache 2

Additional context
The view in normal desktop version is slightly different, too.
On Books: Action menu on the right and the additional Info on the left way outside grayed out a bit until hovered over.
https://i.imgur.com/ulhjYS3.jpg
On Homepage: Action menu and additional info both on the left.
https://i.imgur.com/HLGsY0Q.jpg
I prefer in both mobile and desktop the default composition from the Books page.

Thanks @Bolthier for reporting.
Have now updated the custom home views to use the same layout system as the pages they imitate. Will be in the next release.
Some of the views can be a little awkward with the sidebars imbalanced but we can improve on that in future releases, Think it was important to primarily fix the bad mobile experience.


Exception in AIDatePickerController (german region) [Bug]

[ x] iOS
[ ] Android
[ ] UWP
[ ] .NET Standard

Version of Library
<IP_ADDRESS>5
Version of OS(s) listed above with issue
14.4
Steps to Reproduce
Set device region to german/deutschland (regional format has to be 4.567,89)
5 + safeAreaInsets.Bottom has to be fractional.
Expected Behavior
No exception is thrown. NSLayoutConstraint is successfully created.
Actual Behavior
{5 + safeAreaInsets.Bottom} creates a string with "," instead of "." and throws an exception.

Please include the exception!!

Please include the exception!!

exception.pdf

You are welcome to send a PR for this.  This isn't something I will fix since it doesn't personally effect my dev efforts.  Easiest workaround is not to use a fraction on the insets in this case anyhow


mutate only certain rows based on a filter?

Is it possible to efficiently mutate a DataFrame based on the results of a filter? In Pandas, it'd look something like
df.loc[df["type"] == 1, "result"] = "Type 1"

I can think of several ways to work around this (inefficiently casting to a List and back is one) but wanted to check if there was a better way.

Today you can use Explorer.Series.select/3 for that:
require Explorer.DataFrame, as: DF

df = DF.new(%{names: ["Alice", "Bob", "John"], grade: [10, 4, 6]})
DF.mutate(df, %{"result" => select(grade > 5, from_list(["passed"]), from_list(["failed"]))})

Resulting in:
#Explorer.DataFrame<
  Polars[3 x 3]
  grade integer [10, 4, 6]
  names string ["Alice", "Bob", "John"]
  result string ["passed", "failed", "passed"]
>

@kylewhite21 does this works for you?
PS: in theory we could avoid the usage of from_list/1 and use the string directly, but there is a tiny bug today. I'm going to fix it soon.

@philss thanks for the quick reply!
That works for some use cases, but say you wanted another mutate that will assign a result of exceptional to every row where grade >= 10? That'd overwrite results for grade < 10. (Or maybe there is another Series option that could handle a case?)

You can nest the selects. There is an open issue to make this easier to write. :)

@kylewhite21 you would have to nest some select/3:
require Explorer.DataFrame, as: DF

df = DF.new(%{names: ["Alice", "Bob", "John", "Maria"], grade: [10, 4, 6, 15]})

DF.mutate(df,
  result:
    select(
      grade > 5,
      select(grade > 10, from_list(["exceptional"]), from_list(["passed"])),
      from_list(["failed"])
    )
)

Like @josevalim mentioned, there is this issue open to improve this: https://github.com/elixir-explorer/explorer/issues/515

Actually never mind, I realized you can just pass the existing results straight through in the failure case:
df = DF.mutate(df, %{"result" => select(grade > 9, from_list(["exceptional"]), result)})

I'm good, thanks!


DOI for citing the guideline using Zenodo

Could the creation of a DOI make it simpler to reference this guideline in scientific articles?
Zenodo also provides a DOI for all versions (see 'Cite all versions' at this example and the docs).

Good idea!

Created DOI using Zenodo and added citation recommendation to document and github page.


Grizzly-jersey, Undertow-jersey Java 11 update - problems

The log from the run is here:
https://tfb-status.techempower.com/unzip/results.2019-05-12-08-02-48-672.zip/results/20190508175310/grizzly-jersey/run
The problems are:

Transaction deadlock exceptions - the update test is causing this;
Many logs about the Criteria API deprecation;

The review of the results:

plaintext for grizzly is suffering a bit: 2,322,302 vs 1,996,339 RPS
json is good:
grizzly: 936,646 vs 994,851
grizzly-jersey: 268,122 vs 276,348
single query is good: 101,040 vs 125,206
multiple queries is good: 10,528 vs 16,861
fortune is problematic - 63,877 vs 11,191 and the results doesn't change with the increasing load
database updates is good: 5,205 vs 5,824

The links to the visualisations are:

old
new

The initial variant is ready. Here are the notes:

New META-INF/persistance.xml - the properties from hibernate.cfg.xml are used as properties;
Add sorting for the World array before executing the updates;
Replace injection of Hibernate session factory with EntityManagerFactory. The code is using unwrap to get access to the HibernateSession and still works with it;
Add getters and needed setters for the domain objects. The fields are private now.

undewtow-jersey is ready also. There is a problem with the fortunes template: the parser is not happy and states that there is a difference.

Ready.

Pull request submitted.


include statement is missing in A  Open QASM Grammar of language spec.

include statement is missing in spec/qasm2.rst line 675-683 and spec-human/qasm2.pdf page 21.

I've noticed this as well, it seems the include statement is not documented in the BNF at all.
I've just put it in with the main program so:
main: "openqasm" real ";" program | "openqasm" real ";" include program.
And I've given include its own definition as well:
include: "INCLUDE" id ";"
Seems to be working, but my parser isn't finished yet so I can't run the full test suite

closing as this should be fixed with openqasm 3.0 which we are moving towards


Add search / url bar to share activity.

Apple's share extension guidelines state "Enable a single, focused task. An extension isn't a mini-app. It performs a narrowly scoped task related to the current context". I feel that we're already pushing the limits of what a share extension is allowed to do and a search bar would push us over the edge.


Bug: Auto Mooch + Fisher's Intuition

This feature doesn't work. When I have auto mooch enabled and only use when fisher's intuition is active it doesn't mooch at all.

The fish I was trying to use the feature with was Charibenet which mooches from an Ice Faerie. When the fisher's intuition option is enabled it won't mooch the Ice Faerie at all regardless of it being large or using makeshift bait.
Additionally in the mooch window it doesn't respect the fisher's intuition hook settings and keeps hooking all fish. Even though under intuition I only want it to hook !!!


Zero RPO for HANA and 99.99% SLA. Is it really achievable ?

As per SAP 0 RPO is achievable when you set full_sync option to 1 in synchronous replication mode.
As per the Microsoft document, with HA architecture of Azure, 0 RPO and 99.99% SLA can be achieved.
But what happens when your secondary goes down and your primary comes to standstill? Even If you cluster solution manages the full sync option and keeps the primary running how can you ensure 0 RPO and 99.99 availability at same time?
Primary and secondary blades are clustered at OS level for 99.99 percent availability, and data replication is handled through HANA System Replication in synchronous mode (HSR) from primary to secondary enabling zero RPO.

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

ID: c2b1f61b-81c1-31bc-842b-be2f6c6e55eb
Version Independent ID: bc12a3cb-3f27-adfa-caad-a6a301e2a6cd
Content: SAP S/4 HANA for Large Instances - Azure Solution Ideas
Content Source: docs/solution-ideas/articles/sap-s4-hana-on-hli-with-ha-and-dr.yml
Service: architecture-center
Sub-service: solution-idea
GitHub Login: @doodlemania2
Microsoft Alias: pnp

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 505405

#please-close


Clean up imports

Re-organizing the go imports

/assign @adambkaplan

/retest

/retest

/retest
failed to aquire lease


refactor: simplify tx finalization

Note

Create new lib: MoreVpFinalization that only checks the finalization of MoreVP protocol.
Migrate existing codes to MoreVpFinalization.
It is pretty much not possible to test isProtocolFinalized in each controllers. This is because in MoreVP, it is basically by default true (as long as tx exists). When given empty value in test, it would always fail at decoding first. As a result, instead of require(isProtocolFinalized), I changed it to assert(isProtocolFinalized) to emphasize that we are pretty sure that it should be protocol finalized.
Remove the optional args in spending condition interface.
Remove confirm sig, optional args from each exit game function args.

Coverage drop are from the introduction of assert on isProtocolFinalized


Cannot exclude logs from fluentd

I have installed fluentd with HELM thus I am trying to configure it threw values.yaml.
This is the set up-
configMaps:
  output.conf: |
    <filter **>
     <exclude>
        key MESSAGE
        pattern /from/
     </exclude>
    </filter>

also tryed :
configMaps:
  output.conf: |
    <filter **>
     type grep
       exclude1 MESSAGE cloud
    </filter>

Yet, nothing is excluded from my kibana report.
What am I doing wrong?

Any response ??

Still no responce?
feeling: https://funnyjunk.com/funny_gifs/2178649/Luuuuchaaaaaa/

Please post it on maling list with actual event and fluentd log, not here. This issue doesn't follow contribution guide.

as @repeatedly said, please follow the contribution guide.  https://github.com/fluent/fluentd/blob/master/CONTRIBUTING.md


docker: make sure debugfs is mounted

bpftrace_test has tests that expect debugfs (more specifically tracefs) to be mounted.
Without debugfs, some tests will fail as below:
unknown file: Failure
C++ exception with description "Could not read symbols from "/sys/kernel/debug/tracing/available_events", err=2" thrown in the test body.

This error was observed when running docker-in-docker, on both x86_64 and aarch64 systems.

More specifically these tests:
[  PASSED  ] 246 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] codegen.builtin_func_wild
[  FAILED  ] codegen.builtin_probe
[  FAILED  ] codegen.builtin_probe_wild

Thanks!
(FWIW, we are using -v /sys/kernel/debug/:/sys/kernel/debug/:rw to make our tests work on Travis)


SA1115 should allow comments between parameters.

The following code should not produce SA1115, but it currently does:
    public void MyTest(int v1, int v2, int v3)
    {
    }

    public void TestMethod()
    {
        this.MyTest(
            1,
            /* comment */
            2,
            /* comment */
            3);
    }

The same construction should probably also be allowed for //// comments. // comments will not work because they require an empty line before them and that will (and shall) trigger SA1115.

What does StyleCop Classic do in this case?

The code above is accepted by StyleCop Classic without warnings.

Thanks, changing this to a :bug:.

Grabbing this


Test new Max path with recordings

Working, but waiting for fixes from Alain on Thursday/Friday.

avoid amplitude messages being sent on all three channels when only one sample is playing
adjust maximum values of amplitude/frequency
which framerate are messages being sent
attack sensitivity

seems cool now


Feature proposition - selecting text

Do you consider adding the ability to search from a selected text like in this plugin:
https://github.com/voldikss/vim-browser-search

@amiroslaw, sure. But I don't have time to work on this. PR is always welcome.

@amiroslaw @lalitmee I create a pr(https://github.com/lalitmee/browse.nvim/pull/16) to directly put visual text into search box.
Hope it can be of help.

@phanen, thanks for your PR. It really helps.

Fixed in #16


Multimeshinstance3D use_custom_data can't be set by gdscript

Tmp2.zip
Godot version
4.0 alpha 2
System information
Linux
Issue description
use_custom_data and cuse_colors can't be set via gdscript when setting up a multimesh in a multimeshinstance3d. Or I failed to read something correctly in the documentation.
init
ERROR: Condition "instance_count > 0" is true.
   at: set_use_custom_data (scene/resources/multimesh.cpp:289)
ERROR: Condition "instance_count > 0" is true.
   at: set_use_colors (scene/resources/multimesh.cpp:280)
init: 1 false

Steps to reproduce
In an otherwise empty project:
extends MultiMeshInstance3D

func _ready():
	print("init")
	multimesh.instance_count = 1
	multimesh.use_custom_data = true
	multimesh.use_colors = true
	print("init: ", multimesh.instance_count, " ", multimesh.use_custom_data)

Minimal reproduction project
No response

This is a documentation issue. Both Optimization Using MultiMeshes and Animating thousands of fish with MultiMeshInstance note that the transform format, and color/custom options must be set before setting instance_count. To quote the latter:

instance_count specifies how many instances of the mesh you want to draw. For now, leave instance_count at 0 because you cannot change any of the other parameters while instance_count is larger than 0. We will set instance_count in GDScript later.

But this restriction is not mentioned at all in the MultiMesh api reference entry.


Tutorial updates sto 7072

Preview: Tutorial: Create a build-scan-push pipeline (STO and CI)

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65eb3b95f899fbb78e268b64--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65eb3bac8b95dcb774dec32a--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://65f0df748a8dc754276ea5fb--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://660091b2159c7f2bd6cec0f7--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66009207071f0623d161ad96--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6600c6b8fb849b4db6c125a5--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66018af4c8fedc28f95a735c--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://661839d3fdc83c201c541be1--harness-developer.netlify.app


Rustfmt writes backups even if there is nothing to format.

It should only write a backup if the backed-up file has been changed.

Thanks.


Module Slots not updating correctly with Levelups

Seems like only base module slots are used. Bonus modules slots are not added, when machines reach the threshold levels.
No other mods modifying the machines used. Tested with furnaces, assembler 1-3, oil refinery and chemical plant.
None of them added a bonus module slot on reaching threshold Levels for bonus modules. Rebuilding the machines to force a recalculation of bonus values did nothing. All other properties (such speed, polution, qualitiy...) are updated correctly.
Screenshots of some examples attached.

pleasee test with the latest version 0.7.6

Fixed. Thank you for your fast response!


tensorboard-plugin-wit now in defaults

Checklist before submitting

[x] Did you read the contributor guide?
[ ] Did you update any affected documentation?
[ ] Did you write any tests to validate this change?

Description
The tensorboard-plugin-wit package is now available in defaults, so we can just pull it from there.
Review process to land

All tests and other checks must succeed.
At least one maintainer must review and approve.
If any  maintainer requests changes, they must be addressed.

https://github.com/open-ce/open-ce/issues/392


⚠ Avatar API Endpoint has degraded performance

In 207363c, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 503
Response time: 3715 ms

Resolved: Avatar API Endpoint performance has improved in 3986c71 after 17 minutes.


Upgrade to Rust 1.51

This should remove the need for nightly compiler for rustfmt!

Meh still need nightly fmt


tube representation and radiusData

#453 mentions radiusData as one of renamed parameters. Is it possible to change the radius of tube representation based on the value provided separately?  Like specifying a custom color scheme? I understand you can set to "bfactor", but is it possible to define custom values per residue?

I made a quick example here:
https://codepen.io/fludlow/pen/BaoKjqx
radiusData is a mapping from atomIndex -> radius. It also requires the radiusType to be set to data
For completeness, here's the example code
// Generate some fake radii {resno : r} - 1crn has 46 resiudes
// These would be the values you've calculated separately
const residueRadii = {}
for (let i=1; i<=46; i++){
    residueRadii[i] = 0.5 + Math.random()
}

// Load PDB entry 1CRN
stage.loadFile( "rcsb://1crn").then(c => {
    const radiusData = {}
    c.structure.eachAtom(ap=> {
        radiusData[ap.index] = residueRadii[ap.resno]
    })
    c.addRepresentation('tube', {radiusType: 'data', radiusData: radiusData})
});


PDF generation issue in bdr:I1CZ2668

the generated PDF is very bizarre:
I1CZ2668 1-552.pdf

related: https://github.com/buda-base/archive-ops/issues/473 (the PDF shouldn't be that broken though)


Finishing the A.I.

The A.I. trainer class needs to be ran in order to produce the neural net for the move making. This then should be implemented into a player class so it can be used in the game (which was the overall goal wasn't it?). However, I don't want the values for the neural network hardcoded, instead there should be some way to load and export neural nets.

Now that the updated code has been pushed, I can use my more powerful machine to generate the A.I. I'll post an estimate on how long it should take before I start.
Just a note: It is probably going to take a long time to get something good, since using neural nets for this kinda problem is a bad idea, therefore I'm going to open a new issue about adding a gradient descent A.I. and an algorithm 'A.I.'

As previously mentioned, here is the new issue: #8

Got around to generating a new A.I., (went for around 220 generations with two pops of 500 neural nets). What was odd was the fitness remained at zero for 200 generations straight and the A.I. will always pick the lower right corner. Ill do some research and mess around with some ideas to see if I can fix it.
It may just be time to ditch the G.A. technique and replace it with gradient descent.

The problem with the current setup is that the networks are saturated. For now, I'm going to write an algorithm that the A.I. will use, instead of neural networks, so I can 'move on' (even though I haven't added anything to this in a while). I should be able to do this sometime in the next few weeks, as summer begins this week.


EHealth-757: case for NA Gandalf decision for creating and approving a declaration request

Changes Unknown when pulling e590c228f8f9ecbcb812e99eb39c1e61053531a5 on EHealth-757 into ** on master**.

Changes Unknown when pulling a4ca759f8f0dc0decbdd256550f2ea97b98cba85 on EHealth-757 into ** on master**.


Fixes #6013 -- Show Edit Page button on non-cms pages with placeholders

Fixes #6013

Coverage remained the same at 82.688% when pulling 281ab95a101f411b3e14c9f5755fd66afcb81aa7 on czpython:fixes/3.4.x/6013 into 4a9f3ed8d788ef7c049d8e93d79178b26143da47 on divio:release/3.4.x.


FormatDuration Now Includes Days

Altered the formatDuration code so that it includes days. Jobs that take over 24 hours will now properly display the total time. There is no cap on the total length of the duration.

While creating the above pull request I noticed that the OutputStreamRecordWriterTest.outputStreamRecordWriterIntegrationTest  failed on my system.
This test failed before I made changes. I would be happy to look into why this test failed,

Fantastic! Thank you very much.
I like this assertion: https://github.com/j-easy/easy-batch/pull/294/files#diff-69a66629aa91dd31d3cab73bf1bfd735R67 😄
I think we should also update this test: HtmlJobReportFormatterTest.testReportFormatting (which is failing on travis-ci). Don't hesitate to add yourself to the contributors list in the readme and your PR is ready to be merged.

OutputStreamRecordWriterTest.outputStreamRecordWriterIntegrationTest failed on my system.

On which system are you working?

Coverage remained the same at 80.245% when pulling 4b7c401ed7e75175ffd05f2c62ca678210fca571 on ipropper:days-in-duration into 666b6cbd20e3258980c564d2fb97bd44c2838e15 on j-easy:master.

Sorry about that, I still can't quite use mvn package, a couple tests fail.
I am running on windows 10,
Java version 1.8.0_144
maven version 3.5.0
Right now easybatch-univocity fails when i run mvn package.

Hi @ipropper
Your changes are not the cause of build failure on windows. I've fixed the build and added a CI service using appveyor for windows (in addition to travis ci for unix/linux).
I've merged your PR and I will include in next release. Thank you for your time and effort!
Kr
Mahmoud


Let us right-click hop to cc mates in chat

Let us right-click hop to cc mates, this is faster than going to the cc tab, searching for the person, then right-clicking hop.

Fixed in 6eb34a752f023c15083edc59922c31a047745562


Fix #6 - RangerEdit inside split in neovim.

This MR modifies the plugin so RangerEdit opens ranger within the current split
instead of forcing a new tab.

Sorry this causes errors in Vim, so I had to revert the merge. Please test on both Vim and Neovim and resubmit.

You need to remember that vim and neovim have quite different internal logic for terminals and tabbed opening as the terminal is in the tab already, and it's hard to get both right when you make changes. It might even be worth completely separating the functions that deal with vim and Neovim to make maintenance easier.
I'm only using vim at the moment, mostly because ranger looks better and has more functionality in the vim terminal than the Neovim terminal (like framebuffers), so Neovim will most likely be neglected.

@rafaqz would you mind telling me exactly what issues are you having? I tried the plugin with master and with my branch in vim and they seem to behave the same.
I used Ubuntu 16.04 default install with only the ranger.vim plugin added:
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:44:48)
Included patches: 1-1689
Extra patches: 8.0.0056

Using both master and my modified ranger.vim plugin shows no errors and the behavior is the same. The only issue I found is that in vim, ranger is always open in a tab no matter what command I use (e.g. RangerSplit, RangerEdit, RangerVSplit). But this happens with and without my modifications.

Open ranger in vim to edit something, but don't select anything and quit ranger:
Error detected while processing function 72_RangerMagic[17]..72_RangerVim[11]..72_HandleRangerOutput[6]..72_OpenFile:
line    2:
E714: List required
You'll need to test for errors with both vim and neovim with all actions when you select something or quit without a selection.
Some kind of test suite would of course be great but I don't have much experience with testing in vim, automating ranger would be annoying, and this plugin has really only been a few hours work so it hasn't been worth the effort.


updating all of the lists to use a 0 based index

the last two lists weren't zero based

Thanks for that @camronlevanger..
I ended up changing a lot in the other PR so I made these changes as well and will close this PR.


First experience: it should be easier and more intuitive to build the solution

Hello everyone!
I am currently working on a talk about Aspire. I do want to mention all the new features in .NET 8 (https://github.com/dotnet/runtime/issues/78518), ASP.NET and dotnet/extensions.
I found this repo in one of the internal issues and decided to see if I could reuse some of the demos.
The first thing I did was cloning the repo, opening the solution in VS and hitting Build via Ctrl+Shift+B.
This has failed:

Then I found the build.cmd script and run it. Everything built just fine. I got back to VS to realize that I still can not build and run from VS.
 Specify which framework to run using '--framework'

So I went to the .csproj file hoping that tfm will be listed there:

It's not. I know that there must be some .props file that defines it somewhere. I also know what start-vs.cmd is. The whole process is even documented (which is great 👍). The problem is that all these things are typical to the way we work at Microsoft. If this repo is targeting real-world end users it should avoid any custom solutions. Clone->Open in VS->Build should just work assuming that I have .NET 8 SDK installed and working internet connection.
Thanks!

Like many .NET repos you can't just open the solution by double clicking on sln file. You need to use https://github.com/dotnet/extensions-samples/blob/main/start-vs.cmd.
You can find more build instructions here: https://github.com/dotnet/extensions-samples/blob/main/docs/building.md.

What makes this repo different than https://github.com/dotnet/eShop which makes it possible?

Closing as resolves. Please let me know if you have any further questions or suggestions.


🐛 files.ignore working via CLI but not via VSCode Formatter

Environment information
CLI:
  Version:                      1.5.3
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           windows

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         unset
  JS_RUNTIME_VERSION:           "v18.18.2"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "yarn/4.0.2"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Workspace:
  Open Documents:

What happened?
The reproduction of the problem is included in this repository. The details are included in the README of this repository!
Expected result
VSCode with Format On Save & all .tsx files ignored: not format (more details in this repository)
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

I am seeing the same behavior with formatter.ignore as well

I was able to reproduce this issue on 1.5.2 and 1.5.3, but I wasn't able to reproduce on 1.5.1. A regression may have been introduced in 1.5.2.

cc @Conaclos

I think the issue is coming from this change. I will send a fix.


Mouse overlap when changing values of a component

Request for a feature that allows mouse cursor to overlap screen boundaries like it has been done in other popular game engines.
When you move your cursor to the left of your screen while changing a value, the cursor teleports on the right side of the screen allowing you to continue changing the value without need of releasing the mouse button.

That's a great suggestion. Blender, for example, also resets the cursor to the position the drag was started, which is neat.


new USB backend - Chrome Flag is missing

From ledgerhq.github.io/passwords-backup, i am advised to "you need to first go to chrome://flags then search for Enable new USB backend, disable it and relaunch Chrome."
Unfortunately, this flag "USB backend" is missing in google Chrome.
I can not use https://ledgerhq.github.io/passwords-backup/,
How can i find - USB backend

I confirm that I cannot use the backup web app on Chrome 108.
Using an old version of Chrome seems very unsecure.
@lpascal-ledger any plan to update the  backup web app?
that would be great, thanks!

for the record, https://github.com/LedgerHQ/passwords-backup/pull/4 is a tentative pull-request to fix this problem.


Many vending machines don't have inventories

The following vending machines don't have inventories at this moment, they can be found here:

[x] Booze-O-Mat
[ ] PTech
[x] Piety Vend
[ ] Cigarette Machine
[x] Hot Drinks Machine
[x] Robust Softdrinks
[x] Dinnerware
[x] Discount Dan's
[ ] MagiVend
[x] Dwarven Mining Equipment
[ ] NutriMax
[ ] Robotech Deluxe
[ ] Sales
[ ] SecTech
[ ] MegaSeed Servitor
[ ] Getmore Chocolate Corp
[ ] KomradeVendtink
[ ] BODA
[ ] AutoDrobe
[ ] Vendomat
[ ] Trader Supply
[ ] NanoMed

Some of these, like "Hot Drinks Machine" and "Robust Softdrinks" can have items added to them right now, while others need their items to be added to the game first.

The list above should now be up to date.

The list needs to be updated after #648 got merged

Thanks, updated.


fix some urls

Applied your changes manually. Thank you.

Thanks for your attention. I've noticed that there are still some inaccessible URLs that need fixing. Could you please take another look?
Also, to help identify the inaccessible URLs more easily, you can use this Python script:
from github import Auth, Github
from bs4 import BeautifulSoup

token = "access_token"
auth = Auth.Token(token)
g = Github(auth=auth)

repo = g.get_repo("sajjadium/ctf-archives")
README = repo.get_contents("README.md")
soup = BeautifulSoup(README.decoded_content, 'lxml')

for td in soup.find_all('td'):
    href = td.a.attrs['href']
    if href.startswith('https'):
        continue
    try:
        repo.get_contents(href)
    except:
        print(td)


Clean up unused dependencies

There's quite some dependencies in root and sub module pom.xml which are not in used.

Fixed in https://github.com/skymindglobal/TrainingLabs/pull/63.
Closed .


Feature Request: expose a way to access ActiveDraggableContext's data

I'd like access to the ActiveDraggableContext's data, similar to issue: https://github.com/clauderic/dnd-kit/issues/1205
My use case is different so use drag overlay's API doesn't make sense for me.
I'm trying to draw an <svg> line between different draggable elements in my UI (imagine a flow-chart editor or something). This is pretty straightforward to get working, except getting the line to follow an active element being dragged.
Right now I'm having to use a workaround where I listen to all events and copy the event.delta from move events. This works, but I'd like to not take the performance hit of updating this state on every move since the exact data I want is tracked in ActiveDraggableContext. Current workaround looks like this:
const onDragMove = useCallback(
  (event: DragMoveEvent) => {
    setTransform({ x: event.delta.x, y: event.delta.y });
  },
  [setTransform],
);

// ... also include the other event handlers to set transform to origin on end/cancel ...

<DndContext onDragMove={onDragMove}>{...}</DndContext>

Let me know if exposing this data seems reasonable, even just putting it into the PublicContext would be fine with me: https://github.com/clauderic/dnd-kit/blob/5c58f0fe5d19b5aaa5cf93572f3435f4a0a6e54f/packages/core/src/components/DndContext/DndContext.tsx#L697-L698

I am having the same problem.


add more details on RDS exam power up

AWS

AWS

!?

AWS

!?

sorry by mistake..

Merged into master by making Lambda@edge it's own (1/2) section. Will account for numbering in the future.


Added aliases

Thank you for a great library!
I implemented the aliases your way: https://github.com/thephpleague/iso3166/issues/61.

Hello all, what's the status of this pull request? It's been hanging for 6 months.

Can you fix the phpstan issues? Primarily the parameter types in the new aliases class.

Thank you!


Deprecate manual config for .NET install location

With the next release of Bicep, we will support M1 Macbooks. We really don't want many users following the documented steps for troubleshooting .NET Runtime Errors going forwards, as it'll likely result in users being broken in the future.

This feature makes it such that we cannot upgrade .NET or we will cause an error


Offset implementation for text and block.

Pull Request Description
Computes actual offsets for text literals, blocks and modules.
Checklist
Please include the following checklist in your PR:

[x] The documentation has been updated if necessary.
[x] All code conforms to the Scala, Java or Haskell style guides as appropriate.
[x] All code has been tested where possible.

Please label your PR. I'll review it soon.

Merging master in to rerun CI with the new config.


Clarify in README that you need to generate the API reference

Also reorder sections so generating the API reference is seen first,
matching the logical order of operations for getting a working local
preview.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm


Feature Request Maybe?

Thank you for this, I think it would be great if it can accept text input from stdin directly as opposed to having to read data from a file as it could be handy for one off things to use this with. For Example echo x.x.x.x | ipcdn -v
Not a huge deal, thanks again for the tool.

Thanks for the suggestion! I will do it soon :)

Thank you very much, hopefully I get to learn a thing or two from the implementation. 🙂


Add Korean localization

I added Korean localizations to the Messenger.cs.

I have another PR, so I'll re-create this PR from separated branch. Sorry for the mess!


Missing "Result" Attribute makes Live Opta parsing impossible

Hi!
A really simple fix here. When loading opta event data (as shown below) for an incomplete f7 (read: during live matches) we get an AttributeError.
dataset = opta.load(
    f7_data="f7.xml",
    f24_data="f24.xml"
)

Error looks as follows:
Traceback (most recent call last):
  File "/workspaces/kloppy/_dev.py", line 3, in <module>
    dataset = opta.load(
  File "/workspaces/kloppy/kloppy/_providers/opta.py", line 35, in load
    return deserializer.deserialize(
  File "/workspaces/kloppy/kloppy/infra/serializers/event/opta/deserializer.py", line 729, in deserialize
    match_result_type = list(match_result_path.find(f7_root))[
  File "src/lxml/objectpath.pxi", line 55, in lxml.objectify.ObjectPath.__call__
  File "src/lxml/objectpath.pxi", line 219, in lxml.objectify._find_object_path
AttributeError: no such child: Result

Normally, in a completed game we'd have a Result tag that looks something like this:
<Result Type="Aggregate" Winner="t12345" />

But, because the game is not finished yet there simply is no "Result" tag.
Doing a simple try / except block like below resolves this issue and creates a correct Kloppy EventDataset.
try:
              match_result_type = list(match_result_path.find(f7_root))[
                  0
              ].attrib["Type"]
          except AttributeError:
              match_result_type = None

Not 100% sure if using a try-except block here is the best solution, but it works.


Test about the x86_64 payload injection fails

It looks like the tests doesn't run through. "x86_64 target should be injected with x86_64 payload" fails.
I have Sierra 10.12.1 (16B2555) installled.

$ rake test
Password:
Begin spec <task_vaccine>
Target: 33098
Hello from [33098]
✓ i386 target should be injected with i386 payload
Target: 33099
Hello from [33099]
✓ i386 target should be injected with FAT payload
Target: 33100
✓ i386 target should NOT be injected with x86_64 payload
Target: 33101
* [./tests/tests.c, L82]
|	expected err toBe(KERN_SUCCESS) -> 0
|	     got err is(16)
𝙓 x86_64 target should be injected with x86_64 payload
Target: 33102
* [./tests/tests.c, L88]
|	expected err toBe(KERN_SUCCESS) -> 0
|	     got err is(16)
𝙓 x86_64 target should be injected with FAT payload
Target: 33103
✓ x86_64 target should NOT be injected with i386 payload
Done spec: 10 of 12 tests passed

Yay, thanks for reporting this, @smic! I'm not sure I'll be able to take a look into this in the near future (don't use this library myself anymore) but I'd be happy to merge a PR.

@smic Hey, did you get this working with 64bit targets / make any progress? I'm seeing it weirdly fail (#16) when the target isn't launched through xcode, else it works fine. Thanks!

@tiagosiebler @smic did you guys were able to inject into 64 bit apps?, i'm getting weird results here.


remove some things in the nuget.config that were messing things up (#…

…2368)

I swore I already cherry picked this


Support polymorphic types by default

I have run into the https://github.com/biocad/servant-openapi3/issues/4 issue multiple times and every time it was a surprise.
I am aware of the https://github.com/biocad/openapi3/pull/9 patch, but it seems somewhat hacky to me and it seems to only support types with one parameter.

I made changes present in this PR to fix the issue for myself and it is probably far from perfect and doesn't cover some edge cases.

I think including the type parameters in the resulting type names is a much better default than omitting them (current behavior).
The way the type itself is generated can probably be improved. The current implementation generates names with round brackets.

A design consideration: the Typeable constraint can be made a superclass of ToSchema to avoid extra explicit constraints. I don't think there are likely to be situations where the superclass would be problematic.

Hm, nice! Do I understand correctly that your code generates names like Either_Int_Bool? That's actually cool, I didn't think to use Typeable this way.
I'd have to think about possible corner cases though.

Yeah, it would generate Either_Int_Bool.
ToSchema1 actually uses Typeable to generate names:
https://github.com/biocad/openapi3/blob/f90cd54bf357ea070d1bbe8b27a1778a9a86a65d/src/Data/OpenApi/Internal/Schema.hs#L901-L905
It seemed a little weird to me because there is nothing special about the implementation which necessitates having exactly one type parameter.

Sure, that was an overcomplicated solution, now that I think about it.

Huh, I was just about to open a PR to do exactly the same thing! One thing I did was to also remove ToSchema1, as I think it's now redundant?

@kcsongor Yes, since the change is API-breaking anyways, removing ToSchema1 would be the next logical step as it will become redundant.

Hi @kcsongor!
I would gladly accept such a PR. Drop ToSchema1, of course, that was my short-sightedness.
Are you sure, just in case, that switching to Typeable won't break existing names?
Re Typeable a => ToSchema a: I like this idea, but it may break users' custom wrappers. However, I can make a major release out of this. This is a fairly new package and I guess it's OK to break things once in a while :)

I believe that for non-parameterised types, showing the typeRep will always yield the same as querying the name from D1 of GHC.Generics. (For parameterised ones of course it's even better, because it includes the parameter's name)
I would also add that I agree with @ilyakooo0 in that the current behaviour is surprising, because it conflates and silently drops schemas when the names clash! I would even argue that this is is more of a bug fix than a new feature.

Are there any new decisions regarding this PR?

On hackage: https://hackage.haskell.org/package/openapi3-3.1.0


Add the chinese readme translation

http://www.awesomes.cn is an open source for  github web repos, we offer translation for repo's readme and improve this to let our chinese users use the repo easily.In addition, we want more more developer join us to enrich the chinese readmes.

Simplified chinese docs already exist at https://github.com/gulpjs/gulp/tree/master/docs#gulp-documentation


workaround for SDKMAN getting stuck

Ref https://github.com/scala/scala/pull/8528
Currently SDKMAN blocks for prompt when there's a new version of SDKMAN. This is an attempted workaround.

To validate this pull request against other sbt modules, please visit this link.

https://travis-ci.org/sbt/io/jobs/608236196?utm_medium=notification&utm_source=github_status
$ sdk install java $(sdk list java | grep -o "$ADOPTOPENJDK\.[0-9\.]*hs-adpt" | head -1)
bash: line 3: syntax error near unexpected token `newline'
bash: line 3: `<!DOCTYPE html>'
Downloading: java 8.0.232.hs-adpt
In progress...
Repackaging Java 8.0.232.hs-adpt...
Done repackaging...
Installing: java 8.0.232.hs-adpt
Done installing!
Do you want java 8.0.232.hs-adpt to be set as default? (Y/n):


Normalize file paths for Windows systems

The issue I was having with the blog subdirectories not working was because I'm on Windows, which uses backslashes for file paths https://github.com/themsaid/katana/issues/12
2 things fixed:

The regex to check if the blog was in a subdirectory didn't work as it would check using forward slashes
The URL of the blog would be /blog/\subdir/slug

This PR normalizes Windows filenames to UNIX style

Thank you :) I learnt something new today, didn't know it's the case with Windows.


Use pkgdir instead of pathof

I just came across pkgdir and thought it would be nice to simplify this pattern we used quite a lot:
help?> pkgdir
search: pkgdir

  pkgdir(m::Module[, paths::String...])

  Return the root directory of the package that imported module m, or nothing if m was not imported from a
  package. Optionally further path component strings can be provided to construct a path within the package
  root.

  To get the root directory of the package that imported the current module the form pkgdir(@__MODULE__) can be
  used.

  julia> pkgdir(Foo)
  "/path/to/Foo.jl"

  julia> pkgdir(Foo, "src", "file.jl")
  "/path/to/Foo.jl/src/file.jl"

  │ Julia 1.7
  │
  │  The optional argument paths requires at least Julia 1.7.

GitHub is partially down, so CI might take some time...


while compile cartographer_ros for my own catkin_ws, it could not build "ros_log_sink.cc.o" , how to solve it? please

==> ninja -j16 -l16 in '/home/luming/project/catkin_google_ws/build_isolated/cartographer_ros'
[3/41] Building CXX object CMakeFil.../cartographer_ros/ros_log_sink.cc.o
FAILED: CMakeFiles/cartographer_ros.dir/cartographer_ros/ros_log_sink.cc.o
/usr/bin/c++ -DGFLAGS_IS_A_DLL=0 -DGLOG_CUSTOM_PREFIX_SUPPORT -DROSCONSOLE_BACKEND_LOG4CXX -DROS_PACKAGE_NAME="cartographer_ros" -DURDFDOM_HEADERS_HAS_SHARED_PTR_DEFS -I/home/luming/project/catkin_google_ws/build_isolated/cartographer_ros -I/home/luming/project/catkin_google_ws/src/cartographer_ros/cartographer_ros -I/usr/src/googletest/googlemock/gtest/include -isystem /usr/include/lua5.2 -isystem /usr/local/include/pcl-1.9 -isystem /usr/local/include/eigen3 -isystem /home/luming/project/catkin_google_ws/install_isolated/include -isystem /opt/ros/melodic/include -isystem /opt/ros/melodic/share/orocos_kdl/cmake/../../../include -isystem /opt/ros/melodic/share/xmlrpcpp/cmake/../../../include/xmlrpcpp -isystem /usr/include/eigen3 -isystem /usr/include/pcl-1.8 -isystem /usr/include/ni -isystem /usr/include/openni2 -isystem /usr/include/vtk-6.3 -isystem /usr/include/freetype2 -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent -isystem /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/mca/event/libevent2022/libevent/include -isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/include/python2.7 -isystem /usr/include/hdf5/openmpi -isystem /usr/include/libxml2 -isystem /usr/include/jsoncpp -isystem /usr/include/tcl -isystem /usr/include/cairo -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/pixman-1 -isystem /usr/include/libpng16 -O3 -DNDEBUG  -pthread -std=c++11 -fPIC  -Wall -Wpedantic -Werror=format-security -Werror=missing-braces -Werror=reorder -Werror=return-type -Werror=switch -Werror=uninitialized -O3 -DNDEBUG -march=native -msse4.2 -mfpmath=sse -MD -MT CMakeFiles/cartographer_ros.dir/cartographer_ros/ros_log_sink.cc.o -MF CMakeFiles/cartographer_ros.dir/cartographer_ros/ros_log_sink.cc.o.d -o CMakeFiles/cartographer_ros.dir/cartographer_ros/ros_log_sink.cc.o -c /home/luming/project/catkin_google_ws/src/cartographer_ros/cartographer_ros/cartographer_ros/ros_log_sink.cc
/home/luming/project/catkin_google_ws/src/cartographer_ros/cartographer_ros/cartographer_ros/ros_log_sink.cc: In member function ‘virtual void cartographer_ros::ScopedRosLogSink::send(google::LogSeverity, const char*, const char*, int, const tm*, const char*, size_t)’:
/home/luming/project/catkin_google_ws/src/cartographer_ros/cartographer_ros/cartographer_ros/ros_log_sink.cc:48:75: error: no matching function for call to ‘cartographer_ros::ScopedRosLogSink::ToString(const LogSeverity&, const char*, const int&, const tm* const&, const char* const&, const size_t&)’
severity, GetBasename(filename), line, tm_time, message, message_len);
^
In file included from /home/luming/project/catkin_google_ws/src/cartographer_ros/cartographer_ros/cartographer_ros/ros_log_sink.h:22:0,
from /home/luming/project/catkin_google_ws/src/cartographer_ros/cartographer_ros/cartographer_ros/ros_log_sink.cc:17:
/usr/local/include/glog/logging.h:1788:22: note: candidate: static std::_cxx11::string google::LogSink::ToString(google::LogSeverity, const char*, int, const google::LogMessageTime&, const char*, size_t)
static std::string ToString(LogSeverity severity, const char* file, int line,
^~~~~~~~
/usr/local/include/glog/logging.h:1788:22: note:   no known conversion for argument 4 from ‘const tm* const’ to ‘const google::LogMessageTime&’
[14/41] Building CXX object CMakeFi...artographer_ros/msg_conversion.cc.o
/home/luming/project/catkin_google_ws/src/cartographer_ros/cartographer_ros/cartographer_ros/msg_conversion.cc: In function ‘std::unique_ptr<nav_msgs::OccupancyGrid<std::allocator > > cartographer_ros::CreateOccupancyGridMsg(const cartographer::io::PaintSubmapSlicesResult&, double, const string&, const ros::Time&)’:
/home/luming/project/catkin_google_ws/src/cartographer_ros/cartographer_ros/cartographer_ros/msg_conversion.cc:313:19: warning: variable ‘now’ set but not used [-Wunused-but-set-variable]
const ros::Time now = ros::Time::now();
^~~
[18/41] Building CXX object CMakeFi..._ros.dir/cartographer_ros/node.cc.o
ninja: build stopped: subcommand failed.
<== Failed to process package 'cartographer_ros':
Command '['/home/luming/project/catkin_google_ws/install_isolated/env.sh', 'ninja', '-j16', '-l16']' returned non-zero exit status 1
Reproduce this error by running:
==> cd /home/luming/project/catkin_google_ws/build_isolated/cartographer_ros && /home/luming/project/catkin_google_ws/install_isolated/env.sh ninja -j16 -l16

I'm same error,and i succeed to install.
Error reason: glog version incompatible.(my glog version is 0.7, cartographer_ros need version is 0.5.0).
Solution:

sudo apt-get remove libgoogle-glog-dev #uninstall current glog
git clone https://github.com/google/glog.git
sudo apt-get install autoconf automake libtool
cd glog
mkdir build && cd build
cmake ..
make
sudo make install
compile cartographer_ros in your own workspace

Attention:

cartographer version: 1.0.0
cartographer_ros version: 1.0.0
ceres-solver version: 1.13.0

已收到你的来信，辛苦了！ have received your letter.Thank you.

sorry but, your steps by cloning on github will automatically install a version 0.7.0 glog?
how can i change the version?

已收到你的来信，辛苦了！ have received your letter.Thank you.

sorry but, your steps by cloning on github will automatically install a version 0.7.0 glog? how can i change the version?

After cloning, you can check to new branch first, v0.5.0 or else.

A fix is proposed in https://github.com/ros2/cartographer_ros/pull/76 .


Update setup.py

Description
Add package information in setup.py file.

It (setup.cfg) is actually auto-generated via setup-py-upgrade. Would you explain more about what other information you think is needed? :)

yes, you are right, I didn't check setup.cfg file. so I'll close this issue.


Minor cleanup and testing in Travis CI with Docker

Description
This syncs this cookbook with our other cookbooks and improves the testing by using kitchen-docker in Travis
Issues Resolved
None
Check List

[x] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[x] The CLA has been signed. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

👍


Cannot delete items because of JS error

Laravel Version: 5.6
PHP Version: 7.1
Laravel-admin: 1.5

Description:
Error is thrown when delete modal is opened, and delete is not happening because of that:
Uncaught TypeError: Cannot read property 'then' of undefined
Happens because of this code in Tree.php line 262 and Actions.php line 210
$('.tree_branch_delete').click(function() {
    var id = $(this).data('id');
    swal({
        title: "$deleteConfirm",
        type: "warning",
        showCancelButton: true,
        confirmButtonColor: "#DD6B55",
        confirmButtonText: "$confirm",
        showLoaderOnConfirm: true,
        cancelButtonText: "$cancel",
        preConfirm: function() {
            return new Promise(function(resolve) {
                $.ajax({
                    method: 'post',
                    url: '{$this->path}/' + id,
                    data: {
                        _method:'delete',
                        _token:LA.token,
                    },
                    success: function (data) {
                        $.pjax.reload('#pjax-container');

                        resolve(data);
                    }
                });
            });
        }
    }).then(function(result) { <-------------
        var data = result.value;
        if (typeof data === 'object') {
            if (data.status) {
                swal(data.message, '', 'success');
            } else {
                swal(data.message, '', 'error');
            }
        }
    });
});

Can't tell why it fails, probably related to Sweetalert.
could be because versions of the lib changed?
Steps To Reproduce:

Try to delete either through Tree or Grid
modal shows up
error is thrown (see console)
hit OK
modal closed, item not deleted, request not sent to server

Sweatalert updated to Sweatalert2 since v1.6.0
You may need to run php artisan vendor:publish --tag=laravel-admin-assets to repulish the assets.

Thanks, helped


emitter for ADD_MENU_ENTRY event not being cleaned up

I am having an issue that I believe is being caused by the emitter for the ADD_MENU_ENTRY event (which is created in the constructor) not being unregistered.
My application shows/destroys/re-shows the map many times.  Everything works fine the first time but when the map is destroyed and later re-created, that event is still registered from the first instance.  And I assume, the garbage collector is not freeing it because of references it is holding.  That causes the menu items I set in the 2nd instance to be registered twice and then clicking on them invokes the click event on the menu item twice.  And this process increases each time the map is destroyed and re-created.
I believe the way to fix this would be to register that emitter in setMap when the map is set.  And then add an unregister when setMap is called with null.

I'm having the same issue..any solution ?

Can you provide an example which reproduces the problem?

@jcachat @reza-aslani
Are you able to confirm if #238 (published as v5.1.1) fixed this issue?

I am also experiencing this issue using v5.1.1.  My callbacks for dynamically created items are being called twice.

Sorry, I admit, my feedback has been horrible.
Closing as I have no clue if this is still an issue, please reopen a new one with a repro.


Optimize EdDSAPoseidon.signMessage method in the eddsa-poseidon package

Description:
The @zk-kit/eddsa-poseidon package exports a list of functions and a class. Some of those functions would benefit from reusing variables calculated within the constructor (in particular, the secretScalar).
The signMessage inside the EdDSAPoseidon class may benefit from re-using the BLAKE hash calculated in the constructor. The hash is now not saved as an attribute and the signMessage function only takes a privateKey, so it may be necessary to adjust them a bit.

Yea, I was actually thinking of exporting those methods that don't require any state as static methods. But it could make sense to export them separately too.

That seems fine.  The hash is the most expensive thing to be sure gets reused, but I think reusing the secret scalar skips some more computations, and is already a publicly understood concept easier to expose.
Check my understanding here, but I think that the second argument to mulPointEscalar here is identical to the secret scalar (the calculations leading up to it seem identical).  So an alternative version of signMessage which took secretScalar instead of privateKey as an argument could start at that line.

The only problem I see with passing the secret scalar is that the signMessage function needs the second part of the BLAKE hash too.

Ah, so it does.  Sorry, I missed that in my scan of the code.  I don't really understand the details of how the secret scalar is used in circuits (as the documentation of deriveSecretScalar describes), and the signMessage algorithm doesn't look like it lines up precisely with the linked RFC (https://datatracker.ietf.org/doc/html/rfc8032#section-5.1.5).  But certainly from the point of view of refactoring while preserving behavior, you're right that the full hash is needed.  Reusing the secret scalar too would save a little bit of work, but not much additional.
This complexity is starting to argue me back in the direction of putting this into a class which can manage the various values between steps, but I can see it working fine either way.

I don't really understand the details of how the secret scalar is used in circuits

It might not be super clear. It just means that it is recommended to use the secret scalar instead of the private key in Circom, because it does not make sense to recalculate blake1 in circuits (I think it would be difficult to implement).

the signMessage algorithm doesn't look like it lines up precisely with the linked RFC

There's another paragraph for signing messages: https://datatracker.ietf.org/doc/html/rfc8032#section-5.1.6. I didn't check it though.

This complexity is starting to argue me back in the direction of putting this into a class which can manage the various values between steps.

Same feeling!

That's what I skimmed, and I see 3 different SHA-512 hashes. Even if blake is replacing that, it doesn't seem like our eddsa code is doing all the same steps.

You're right. No idea why it's different 🤔

@artwyman Reviewing this issue, I'm no longer sure it's worth disassembling signMessage to re-use the Blake hash. It doesn't seem as trivial as refactoring, and I don't know if the benefits of this performance improvement outweigh the possible complexity of the code.

I think you're welcome to prioritize this however you wish.  It would be a performance improvement specifically to the use case of signing many messages with the same key.  I don't have data to know how big the performance impact would be, though.
FWIW that's a scenario which will definitely come up in Zupass (e.g. when signing a bunch of tickets synced from an external source), but at that level there's also a complexity vs. performance trade-off.  As a result, if this proposal were implemented, I don't have immediate plans to integrate it, though it could come up later when performance becomes a concern.
Based on our discussion above, I think the best way to do this would be inside a class, with an interface specifically tuned to the signing workflow.  That would be an addition to the library, rather than a change to the existing functions, which I think should continue to exist as-is.  So I think this would be a non-breaking change if done later.
All that leads me to think it's okay to not prioritize this right now, but to revisit it later when someone has a desire for the performance improvement.

That would be an addition to the library, rather than a change to the existing functions, which I think should continue to exist as-is. So I think this would be a non-breaking change if done later.

Sounds like the best solution.

All that leads me to think it's okay to not prioritize this right now, but to revisit it later when someone has a desire for the performance improvement.

I agree! Let's move this task to the backlog. We can think about it as soon as it's actually required by Zupass or other projects.


What's the best way to get a specific post with its permlink?

I'm trying to find the best way to retrieve a specific post with its permlink.
Expected behavior
Based on the documentation, it seems like the following should work:
import steem from 'steem';
steem.api.setOptions({ url: 'https://api.steemit.com' });

steem.api.getDiscussionsByAuthorBeforeDate({author: authorName, startPermlink: permlink}, function(err, result) {
	console.log(err, result)
});

Actual behavior
I get the following error when I try this:
Uncaught (in promise) TypeError: callback is not a function at http.js:101

Environment information
I'm running this in a React project on my Mac. What would be the correct approach for this?
Thanks!

Another way to retrieve the information without creating a date variable would be to use the getContent function.  Below is a sample of how to use this with Bluebird promises and ES6 syntax.
steem.api.getContentAsync(author, permlink)
.then(postObject => console.log(postObject))
.catch(error => console.log(error));

That's awesome, thanks! Will definitely try this out.


Update groups-troubleshooting.md

Added PowerShell code identifier.
Replaced HTML code for line breaks with markdown (two spaces at the end of the line).
Added escape character in front of star inside table.
Corrected a spelling error.

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

#sign-off


[SMALLFIX] Add javadoc for UnderStorageSystemInterfaceIntegrationTest#LargeDirectoryConfig

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13478/
Test PASSed.

Merged build finished. Test PASSed.

Many thanks for your comments, and I will fix it soon. @aaudiber

I have fixed the problems , please check it again , thank you very much. @aaudiber

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13511/
Test PASSed.


Error in README (run instead of serve)

In b1117dd30b29193036757f320c09cd1c09e3d21b serve was changed to run all over the place. This includes in the README but since there isn't a new crate that method doesn't exist.
However, serve still exists and, in that same commit, explicitly becomes the api for async serving, which is the exact example in the README, if I'm not mistaken.
Anyway, didn't want to jump on you folks for iterating early work before releasing crates, but it does seem like in this case despite the introduction of a new function, serve should still be the example in the README.

With the latest release the README now uses listen... So I think this issue got solved?