Fix/precompiles gas cost

While working on modexp gas cost calcuation and checking how other gas implementations are done, I've noticed 2 small bugs. Please double check with: https://www.evm.codes/precompiled

Time spent on this PR:
Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Resolves #
What is the new behavior?

Other information

@ClementWalter added one more line to fix test on sha2-256 too


embed vmsg.wasm directly

It'd be great if vmsg.wasm was embedded directly via an ArrayBuffer or as a compile-time step.
Having the end user reference the URL of vmsg.wasm is pretty clunky, though I understand why it's setup that way at the moment.

Unfortunately it won't be effecient. The whole point of WebAssembly is that it can be parsed fast. If you put it back into JavaScript file, you lose main benefits - compactness and small parsing time.
If you wish you can include vmsg.wasm with e.g. arraybuffer-loader:
const buffer = require("arraybuffer!./vmsg.wasm");
const blob = new Blob([buffer], {type: "application/wasm"});
const wasmURL = URL.createObjectURL(blob);

that will work.

I ended up doing something similar for react-mp3-recorder. This doesn't seem particularly efficient, however.

I've just tried, seems like you can just pass data URI to fetch directly:
> url = 'data:application/wasm;base64,' + btoa("123")
"data:application/wasm;base64,MTIz"
> fetch(url).then(res => res.arrayBuffer()).then(b => console.log(new Uint8Array(b)))
Uint8Array(3) [49, 50, 51]

Good call -- just updated my impl.

Can we close this now?


Defer BigInt::clone() for new_int

Sorry for merging #1502 too early, I guess you were still working on it.

That is ok. Actually, i thought it was done too. I am now doing a little refactoring and found related issues.


Scrollable tab? the tabs should scroll not the container

thats the ugliest thing i even seen as a designer .. please check scrollable tab from angular material

I'm sorry but I don't even know what you are referring to. If you want to be critical of something please give me more than a sentence. Try linking to examples or making a codepen.

I am talking about design aspect and blending with the material recommendation
forexample :
yours : https://s4.postimg.org/ykq9ufuul/scroll.jpg
What It should Have been like
https://s3.postimg.org/oye72afib/scroll_Nice.jpg


Queue payload serialization and subsequent json encode fails with special characters

Laravel Version: v.7.25.0 (but any)
PHP Version: 7.4.9 (but any)
Database Driver & Version: doesn't matter

Description:
I encountered an issue today, with queueable mailables while using any but the sync queue driver.
My application takes in emails from a physical email account, saves them locally (and to db) and then forwards them by using a mailable class that implements the ShouldQueue interface.
And this is more-or-less where I encountered the issue, since I do not have control over the contents of the emails, it can happen (and has happened) that the email contained special characters and when the mailable is being queued, it fails on this line, because the value in array produced by $this->createPayloadArray($job, $queue, $data) under key ['data']['command'] is a binary string which wrapping json_encode now has a problem with and errors out with the error code corresponding to Malformed UTF-8 characters, possibly incorrectly encoded php docs
Now, I've searched online, and yes, there are ways to deal with this

I could do what this stack overflow answer suggests
Since I'm storing the email contents (headers, body, recipients, attachments, etc.), I could just create a job which would be queueable instead fo the mailable, that would get the ID of the email passed in, query it again in the handle() method and send the email in that job ('tis what I've done in my application)

I'd rather avoid the first solution (converting is not fun and I've has issues with it when migrating between servers/environments). The second solution is fine by me.
But I think there is a possible third way to do this, if you'd be okay with it, that could be handled by laravel itself, and that is make use of base64_* functions.

wrap serialize(clone $job) with base64_encode() here
call base64_decode() here and here before unserializing

With these changes the email is sent okay, without the need to handle anything extra.
Steps To Reproduce:
I've created an example repo, that can trigger what I described above.

change queue driver to database or redis (which ever you preffer)
navigate to /test in your browser

The simplest way to get special characters in was to make use of \Str::orderedUuid(), which unless cast to string, is stored as an object with bytes property, and hence causes the above.

Let me know whether there are any issues that I'm not seeing or do no know about, that would make using base64_* not the way to go. If you'd be okay with it, I can PR it.

I don't think the framework should add the overhead of base64_encode() and base64_decode() on every queued job for every  app that uses laravel just to deal with an edge case.
Your data must be serializable. You can store the data somewhere and retrieve it when the job starts running or you can encode the data in a way Laravel can serialize.
Similar to how uploaded files or closures cannot be serialized, Laravel will not deal with Malformed UTF-8 characters. This is a decision for the user-land.


passwords with spaces seem to fail?

Gitea version (or commit ref): 1.4.2
Git version:
Operating system: Ubuntu 18.04
Database (use [x]):

[x] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
If your postgres password contains a space, gitea will not install.
Screenshots

https://github.com/go-gitea/gitea/blob/85414d8b754639cae1a9c361bbdc0714f06b87c1/models/models.go#L216-L223
QueryEscape should be PathEscape :slightly_smiling_face:

@bkcsoft could you send a PR to fix that?

@lunny / @bkcsoft I've just sent a PR for this at #4275 Please review.


Update with new provisional 2020-2021 mortality data

Notable differences that I've verified are expected:

Outlier differences: tsoutliers() is now run against the full time series of predicted deaths, 2015 through Q2 2021
MSE differences: provisional deaths for Q1 2020 have been updated


Update index.md

Punctuation mark (period) added.

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

@dmc-at-work - thanks for catching this typo!


fix: update to eye v10.7.15

fix: update to eye v10.7.15

:tada: This PR is included in version 16.4.17 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v16.4.17

Your semantic-release bot :package::rocket:


Add Relai

It's non-custodial, but I can't give that option.
It's also not really KYC, you just have to send a SEPA wire, which
actually reveals your identity, but you don't have to provide any
documents.

Missed this one. Thank you.


initial setup

[x] ygg 3.0 and add some ipv4 peers https://publicpeers.neilalexander.dev
[x] open port 8051 for rmb https://github.com/threefoldtech/rmb
[x] use https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fexplorer.devnet.grid.tf%2Fws#/explorer create account -ed25519- , add funds using alice

[x] add types https://github.com/threefoldtech/tfgrid-api-client/blob/master/types.json in developer settings

[x] create twin
[x] visit github.com/threefoldtech/rmb, check  https://github.com/threefoldfoundation/info_digitaltwin/blob/fd8060c68ed92ddd8ee94a3a24e43b5438fb5fac/src/development/architecture/architecture_rmb.md#example-getting-stellar-wallet-balance

DOCUMENT ALL OF THIS IN WIKI
THEN CLOSE THIS

https://github.com/threefoldtech/TFGRID/blob/development/wiki/tfgrid_substrate/substrate/grid_substrate_getting_started.md


Does this work on High Sierra?

I used it for two days and have not found any Bug on High Sierra.

No problem found here too. I guess it can run on any platform with any OS smoothly and perfectly since it is designed for everything.


cannot compact index files index=tsi error=tag value out of order:

Bug report
Have switched to index-version = "tsi1" couple of days ago and it's been running it with no issues.
Today we've upgraded to 1.3.7 version and now log file is flooded with messages like:
cannot compact index files index=tsi token=95cf12 error=tag value out of order: prev=cpu6, new=cpu20
Number of uncompacted index files rapidly grows:
root:~# ll -h /opt/influxdb/data/telegraf/default/842/index/|tail
-rw-r--r-- 1 influxdb influxdb  13M Oct 27 09:12 L2-00002571.tsi
-rw-r--r-- 1 influxdb influxdb  13M Oct 27 09:12 L2-00002572.tsi
-rw-r--r-- 1 influxdb influxdb  13M Oct 27 09:12 L2-00002573.tsi
-rw-r--r-- 1 influxdb influxdb  13M Oct 27 09:12 L2-00002574.tsi
-rw-r--r-- 1 influxdb influxdb  13M Oct 27 09:12 L2-00002575.tsi
-rw-r--r-- 1 influxdb influxdb  13M Oct 27 09:12 L2-00002576.tsi
-rw-r--r-- 1 influxdb influxdb  13M Oct 27 09:12 L2-00002577.tsi
-rw-r--r-- 1 influxdb influxdb  13M Oct 27 09:12 L2-00002578.tsi
-rw-r--r-- 1 influxdb influxdb 704K Oct 27 09:12 L2-00002579.tsi
-rw-r--r-- 1 influxdb influxdb  449 Oct 27 09:00 MANIFEST
root:~# ll -h /opt/influxdb/data/telegraf/default/842/index/|wc -l
2593
Version: 1.3.7-c1.3.7
cache-max-memory-size =<PHONE_NUMBER>
cache-snapshot-memory-size = 26214400
index-version = "tsi1"

telegraf database stats:
Size on disk: 40G
Measurements: 23
Series: 225647447

short log output:
# tail -n10 -f  /opt/log/influxdb/influxd.log|grep compact
[E] 2017-10-27T09:04:30Z cannot compact index files index=tsi token=b62b4f error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:30Z performing full compaction index=tsi token=20b698 src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000949.tsi
[E] 2017-10-27T09:04:31Z cannot compact index files index=tsi token=20b698 error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:31Z performing full compaction index=tsi token=ad2ec9 src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000950.tsi
[E] 2017-10-27T09:04:31Z cannot compact index files index=tsi token=ad2ec9 error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:31Z performing full compaction index=tsi token=e41ffc src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000951.tsi
[E] 2017-10-27T09:04:31Z cannot compact index files index=tsi token=e41ffc error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:31Z performing full compaction index=tsi token=f570b2 src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000952.tsi
[E] 2017-10-27T09:04:32Z cannot compact index files index=tsi token=f570b2 error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:32Z performing full compaction index=tsi token=ef3089 src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000953.tsi
[E] 2017-10-27T09:04:32Z cannot compact index files index=tsi token=ef3089 error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:32Z performing full compaction index=tsi token=09b05f src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000954.tsi
[E] 2017-10-27T09:04:32Z cannot compact index files index=tsi token=09b05f error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:32Z performing full compaction index=tsi token=60ac5e src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000955.tsi
[E] 2017-10-27T09:04:32Z cannot compact index files index=tsi token=60ac5e error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:32Z performing full compaction index=tsi token=ef43bd src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000956.tsi
[E] 2017-10-27T09:04:33Z cannot compact index files index=tsi token=ef43bd error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:33Z performing full compaction index=tsi token=49e50a src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000957.tsi
[E] 2017-10-27T09:04:33Z cannot compact index files index=tsi token=49e50a error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:33Z performing full compaction index=tsi token=8c0e5d src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000958.tsi
[E] 2017-10-27T09:04:33Z cannot compact index files index=tsi token=8c0e5d error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:33Z performing full compaction index=tsi token=af52bf src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000959.tsi
[E] 2017-10-27T09:04:33Z cannot compact index files index=tsi token=af52bf error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:33Z performing full compaction index=tsi token=c76d86 src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000960.tsi
[E] 2017-10-27T09:04:34Z cannot compact index files index=tsi token=c76d86 error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:34Z performing full compaction index=tsi token=2a148d src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000961.tsi
[E] 2017-10-27T09:04:34Z cannot compact index files index=tsi token=2a148d error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:34Z performing full compaction index=tsi token=f06bae src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000962.tsi
[E] 2017-10-27T09:04:34Z cannot compact index files index=tsi token=f06bae error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:34Z performing full compaction index=tsi token=3aaa6f src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000963.tsi
[E] 2017-10-27T09:04:34Z cannot compact index files index=tsi token=3aaa6f error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:34Z performing full compaction index=tsi token=95cf12 src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000964.tsi
[E] 2017-10-27T09:04:35Z cannot compact index files index=tsi token=95cf12 error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:35Z performing full compaction index=tsi token=7ffec5 src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000965.tsi
[E] 2017-10-27T09:04:35Z cannot compact index files index=tsi token=7ffec5 error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:35Z performing full compaction index=tsi token=96af59 src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000966.tsi
[E] 2017-10-27T09:04:35Z cannot compact index files index=tsi token=96af59 error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:35Z performing full compaction index=tsi token=ef5081 src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000967.tsi
[E] 2017-10-27T09:04:36Z cannot compact index files index=tsi token=ef5081 error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:36Z performing full compaction index=tsi token=d17b5e src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000968.tsi
[E] 2017-10-27T09:04:36Z cannot compact index files index=tsi token=d17b5e error=tag value out of order: prev=cpu6, new=cpu20
[I] 2017-10-27T09:04:36Z performing full compaction index=tsi token=9fe905 src=2,1 dst=/opt/influxdb/data/telegraf/default/842/index/L2-00000969.tsi
[E] 2017-10-27T09:04:36Z cannot compact index files index=tsi token=9fe905 error=tag value out of order: prev=cpu6, new=cpu20

There is 2 data nodes in the cluster.    this happens on both data nodes.

@anatolijd The error comes from a consistency check we added. Unfortunately, because of a bug in 1.3.6, some of the index values are stored out of order and you will need to rebuild your index. We have rebuilding tools in master but I'm in the process of backporting them to the 1.3.x branch right now. I will let you know once I get those backported.

@rbetts Backport influx_inspect inmem2tsi (https://github.com/influxdata/influxdb/pull/9036).

Is this failure leaving behind files? After a restart and seeing the same logs, our influx grew with 300gb with any new data coming in?

I upgraded from 1.3.3 to 1.3.7 and am experiencing this issue... never ran 1.3.6.

Only one of our autogen index folders are excessively large, 4.4TB at time of going back to 1.3.6.  The index folder has 1039718 .tsi files in.  So the compaction process is definitely creating tsi files in an endless loop.

@mmuller99 It looks like it's not cleaning up properly on failure. TSI only uses the files listed in the MANIFEST file so you can safely delete any other files in the directory as long as the shard is not actively compacting.

How is influx_inspect supposed to fix this?
I ran:
influx_inspect inmem2tsi -datadir /var/lib/influxdb/data/mydbname/one_day/2414724147 -waldir /var/lib/influxdb/wal/mydbname/one_day/24147
[I] 2017-10-30T21:28:09Z checking index path path=24147/index
inmem2tsi: tsi1 index already exists
my logs still flood with:
[E] 2017-10-30T21:25:23Z cannot compact index files index=tsi token=ab0dfc error=tag value out of order: prev=8, new=40,6,3,19
[I] 2017-10-30T21:25:23Z performing full compaction index=tsi token=e6c130 src=2,1 dst=/var/lib/influxdb/data/mydbname/one_day/24147/index/L2-00088755.tsi

my manifest does not list any L2 files.
I'm waiting on resolution by just running while :; do rm L2*; sleep 1; done
to stop the HD from filling while waiting for a solution.
I have been running index-version = "tsi1" for many months.
Running influx 1.3.7
It was also doing it on an 'hourly' measurement; but stopped once that rotated out. So this may also 'fix itself' once tomorrow comes around, and this is purged.
But why did this happen? And can I make sure the HD doesn't fill again?

@MikeSchroll inmem2tsi rebuilds the index from the tsm files directly. Here are the steps to rebuild it:

Stop influxd.
Remove the old index directory in your shard's data directly (or move it to a different location).
Run the inmem2tsi command that you listed above.
Start influxd.

The issue occurred because the tag values can get written out of order in 1.3.6 and cause duplicates to show in SHOW TAG VALUES. We added an additional safety check in 1.3.7 to notify if there was an issue but the recovery issue was not intentional.
Once the index is rebuilt then the issue won't happen again.

Great -- that worked. Thanks!

Can this be added as a DB startup option or a flag? This has happened twice on two different databases in the last 24 hours. It is annoying as the defect left the system in  unusable due to disk size limits.

I actually manually dropped a measurement and after that started seeing this issue... In the past 2 weeks this has happened thrice (last time this happened when I manually dropped a measurement).

I just faced this issue when moving from 1.3 to 1.4, here is a quick fix

Stop influxd.
Fix indexes

for db in $(ls /var/lib/influxdb/data/); do
for i in $(ls /var/lib/influxdb/data/$db/raw/); do
rm -rf /var/lib/influxdb/data/$db/raw/$i/index
influx_inspect inmem2tsi -datadir /var/lib/influxdb/data/$db/raw/$i -waldir /var/lib/influxdb/wal/$db/raw/$i
done
done

Start influxd.

This can be resolved with the inmem2tsi tooling.


@i18n("hello"+".world") does not work

Hello,
@i18n("hello.world") renders hello.world message
@i18n("hello"+".world") does not
Not sure why.
I love rythm (big fan of .net razor in fact), even if it is a little buggy from place to place, it still is the best templating framework I found yet.
I've updated integration into [ninjaframework] (https://github.com/momiji/ninja-rythm/tree/first-init), and it pleases us with this configuration.
Maybe you should have a look to [rocker] (https://github.com/fizzed/rocker) someday, they also have some interesting things...
Regards

@i18n(...) is a directive, it doesn't support runtime concatenation at the moment. I will fix this issue in the next version. Before the new version come out, instead of using @i18n("hello" + ".world"), use the runtime function call: @__i18n("hello" + ".world").


query: Moved stateless rulers to --rule.

Signed-off-by: Bartlomiej Plotka<EMAIL_ADDRESS>

Depends on https://github.com/thanos-io/kube-thanos/pull/273


This tutorial does not work on Ubuntu 18.04

File: engine/security/rootless.md
I tried running this on a clean Ubuntu 18.04 VM after first trying it on an older VM with the same OS.
I ran into this problem:
https://unix.stackexchange.com/questions/587674/systemd-not-detected-dockerd-daemon-needs-to-be-started-manually
Edit:
Also tried on fresh Ubuntu 20.04 VM after an apt update. Same result.
root@ubuntu-2gb-nbg1-3:~# apt install uidmap
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  uidmap
0 upgraded, 1 newly installed, 0 to remove and 26 not upgraded.
Need to get 26.8 kB of archives.
After this operation, 171 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 uidmap amd64 1:4.8.1-1ubuntu5 [26.8 kB]
Fetched 26.8 kB in 0s (171 kB/s)
Selecting previously unselected package uidmap.
(Reading database ... 28241 files and directories currently installed.)
Preparing to unpack .../uidmap_1%3a4.8.1-1ubuntu5_amd64.deb ...
Unpacking uidmap (1:4.8.1-1ubuntu5) ...
Setting up uidmap (1:4.8.1-1ubuntu5) ...
Processing triggers for man-db (2.9.1-1) ...
root@ubuntu-2gb-nbg1-3:~# newgidmap
usage: newgidmap <pid> <gid> <lowergid> <count> [ <gid> <lowergid> <count> ] ...
root@ubuntu-2gb-nbg1-3:~# id -u
0
root@ubuntu-2gb-nbg1-3:~# adduser du
Adding user `du' ...
Adding new group `du' (1000) ...
Adding new user `du' (1000) with group `du' ...
Creating home directory `/home/du' ...
Copying files from `/etc/skel' ...
New password:
Retype new password:
passwd: password updated successfully
Changing the user information for du
Enter the new value, or press ENTER for the default

        Full Name []:
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
Is the information correct? [Y/n]
root@ubuntu-2gb-nbg1-3:~# sudo -su du
du@ubuntu-2gb-nbg1-3:/root$ exit
exit
root@ubuntu-2gb-nbg1-3:~# sudo -iu du
du@ubuntu-2gb-nbg1-3:~$ id -u
1000
du@ubuntu-2gb-nbg1-3:~$ whoami
du
du@ubuntu-2gb-nbg1-3:~$ grep ^$(whoami): /etc/subuid
du:100000:65536
du@ubuntu-2gb-nbg1-3:~$ grep ^$(whoami): /etc/subgid
du:100000:65536
du@ubuntu-2gb-nbg1-3:~$ curl -fsSL https://get.docker.com/rootless | sh
# Installing stable version 19.03.8
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 60.7M  100 60.7M    0     0   119M      0 --:--:-- --:--:-- --:--:--  119M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 17.8M  100 17.8M    0     0  46.2M      0 --:--:-- --:--:-- --:--:-- 46.2M
# systemd not detected, dockerd daemon needs to be started manually

/home/du/bin/dockerd-rootless.sh --experimental --storage-driver vfs

# Docker binaries are installed in /home/du/bin
# WARN: dockerd is not in your current PATH or pointing to /home/du/bin/dockerd
# Make sure the following environment variables are set (or add them to ~/.bashrc):

export XDG_RUNTIME_DIR=/tmp/docker-1000
export PATH=/home/du/bin:$PATH
export DOCKER_HOST=unix:///tmp/docker-1000/docker.sock

du@ubuntu-2gb-nbg1-3:~$ nano .bashrc
du@ubuntu-2gb-nbg1-3:~$ exit
logout
root@ubuntu-2gb-nbg1-3:~# sudo -iu du
du@ubuntu-2gb-nbg1-3:~$ echo $ XDG_RUNTIME_DIR
$ XDG_RUNTIME_DIR
du@ubuntu-2gb-nbg1-3:~$ echo $XDG_RUNTIME_DIR
/tmp/docker-1000
du@ubuntu-2gb-nbg1-3:~$ echo $PATH
/home/du/bin:/home/du/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
du@ubuntu-2gb-nbg1-3:~$ echo $DOCKER_HOST
unix:///tmp/docker-1000/docker.sock
du@ubuntu-2gb-nbg1-3:~$ systemctl --user start docker
Failed to connect to bus: No such file or directory
du@ubuntu-2gb-nbg1-3:~$ systemctl --user
Failed to connect to bus: No such file or directory
du@ubuntu-2gb-nbg1-3:~$

You need to login as a non-root user, not sudo -iu du.

e.g. ssh du@localhost or machinectl shell<EMAIL_ADDRESS>

https://github.com/docker/docker.github.io/pull/10965 documents this

e.g. ssh du@localhost or machinectl shell<EMAIL_ADDRESS>
This works. Thanks!


can i use typescript for the type checking.

Typescript is not supported as a first class citizen. It is possible however, here's some information on using typescript with Fusion.js.
https://github.com/chrisgervang/fusion-cli
https://docs.google.com/document/d/1yBUyxk_kDcXrhC6S-WvjxcsgGIVpATEXQ60UcFIEQeY/edit

@KevinGrandon thanks.


feat: add constants/float32/fourth-pi

Description

What is the purpose of this pull request?

This pull request:

adds constants/float32/fourth-pi, which is the single precision equivalent for constants/float64/fourth-pi

Related Issues

Does this pull request have any related issues?

This pull request:

resolves a part of #2035.

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

This PR is a pre-requisite for #2035.

Test Coverage report:


Wrong version of types_node

in rules_jest
bazel query --output=build @jest//:jsp__at_types_graceful-fs__4.1.5__pkg
# /home/alexeagle/.cache/bazel/_bazel_alexeagle/10a4f667f42bb2eb78f9c5135e392727/external/jest/BUILD.bazel:5:17
link_js_package_store_internal(
  name = "jsp__at_types_graceful-fs__4.1.5__pkg",
  generator_name = "jsp__at_types_graceful-fs__4.1.5__pkg",
  generator_function = "link_js_packages",
  generator_location = "/home/alexeagle/.cache/bazel/_bazel_alexeagle/10a4f667f42bb2eb78f9c5135e392727/external/jest/BUILD.bazel:5:17",
  src = "@npm__at_types_graceful-fs__4.1.5//:jsp_source_directory",
  deps = ["@jest//:jsp__at_types_node__17.0.35__ref"],
  package = "@types/graceful-fs",
  version = "4.1.5",
)

but in a client project it somehow gets a wrong version of @types/node
bazel query --output=build @jest//:jsp__at_types_graceful-fs__4.1.5__pkg
# /home/alexeagle/.cache/bazel/_bazel_alexeagle/b027b6729610d26a644911de4dac9747/external/jest/BUILD.bazel:5:17
link_js_package_store_internal(
  name = "jsp__at_types_graceful-fs__4.1.5__pkg",
  generator_name = "jsp__at_types_graceful-fs__4.1.5__pkg",
  generator_function = "link_js_packages",
  generator_location = "/home/alexeagle/.cache/bazel/_bazel_alexeagle/b027b6729610d26a644911de4dac9747/external/jest/BUILD.bazel:5:17",
  src = "@npm__at_types_graceful-fs__4.1.5//:jsp_source_directory",
  deps = ["@jest//:jsp__at_types_node__16.4.1__ref"],
  package = "@types/graceful-fs",
  version = "4.1.5",
)

and so it fails
ERROR: /home/alexeagle/.cache/bazel/_bazel_alexeagle/b027b6729610d26a644911de4dac9747/external/jest/BUILD.bazel:5:17: in deps attribute of link_js_package_store_internal rule @jest//:jsp__at_types_graceful-fs__4.1.5__pkg: target '@jest//:jsp__at_types_node__16.4.1__ref' does not exist. Since this rule was created by the macro 'link_js_packages', the error might have been caused by the macro implementation

I don't see how a version can be different since they use the same jest/private/v28.1.0/repositories.bzl

another repo in that client project has a pnpm-lock.bzl and a translate_pnpm_lock call that has '@types/node': 16.4.1 so it seems that something can leak between the installs, maybe a rules_js bug.

Is this still an issue @alexeagle after all the changes in the last 11 days?


how to install

I dont understad how Im supposed to install this. any help would be appriciated.

Check under Master -> Tags -> View all Tags -> 2.7 wich version to download.
For me win7 version works on SteamDeck.
I had to drop the files into the directory and it just works.
awesome work by the way! Thank you xan!!


[AutoPR] recoveryservices/resource-manager

Created to accumulate context: recoveryservices/resource-manager

(message created by the CI based on PR content)


Allow all input fields in magazine-scheduled-content block-loader

Missed in https://github.com/parameter1/base-cms/pull/841 this now updates the block-loader utilized by the sites to accept the same input as documented here: https://github.com/parameter1/base-cms/blob/master/services/graphql-server/src/graphql/definitions/platform/content/index.js#L648

 Digital Edition changes


deployment

Repro steps:

Action: appService.Deploy
Error type: Error
Error Message: Deployment to "TestApp" failed. See output channel for more details.
Version: 0.16.0
OS: win32
Product: Visual Studio Code
Product Version: 1.39.1
Language: en

Call Stack
Object.<anonymous> extension.bundle.js:1:497362
o extension.bundle.js:1:495337
process._tickCallback next_tick.js:68:7

Hi @MUKESHNITP
Thanks for reporting.  Please provide repro steps so I can further assist you.


[Bug] Emoji not loading

Describe the bug
The emojis are not loading.
To Reproduce
Steps to reproduce the behavior:

Open the app, e.g. https://chat-llamaindex.vercel.app/
There are no emojis

Expected behavior
The expectation is that the emojis will be loaded and displayed.
Screenshots

Deployment

[x] Vercel (tested)
[x] local development (tested)

The issue likely exists everywhere, the CDN used to load the emojis  (cdn.staticfile.org) appears to no longer host emoji files.
A fix is provided in PR #57. That PR updates the CDN to Cloudflare and incorporates the latest emoji version.

PR is already merged


Better Documentation

I just started to use this API for my app and I found navigating through all the documentation in one README file a little complicated. I suggest using a static site generator like Docusaurus or Redocly.
I can submit a PR if you're onboard.

I was working a new documentation site powered by Stoplight. But haven't had time to finish it.
Quotable.stoplight.io
The documentation is generated from an openAPI schema and markdown files.  These are are in separate repository since they are not quite finished.
Let me know what you think

Wow! This is exactly what I was looking for. I think I can close this now.


ref(reduce): Allow to reduce to non-cloneable values

The ergonomics are slightly worse, but I am in a position right now
where the value absolutely cannot be cloneable, and working around those
trait constraints would be even less ergonomical.

@Swatinem We'll see, maybe I am going to revert this PR, but I am pretty sure it's for the better. I can also imagine there to be some ergonomic shortcuts for the Clone usecase


Work items towards a v1 release

We have been discussing the next release of F*, in the March 2020 time frame. This time, maybe we'll even call it version 1.0, if we can get to a reasonable level of documentation and API stability.
API Documentation

[ ] Removing support within the F* implementation for fsdoc comments, removing long-standing brittleness there

[ ] Settle on a tool to produce API documentation. We are currently considering using a combination of https://github.com/FStarLang/fstar-mode.el/tree/master/etc/fslit and https://github.com/jaybosamiya/fstardoc. It would be great if they could be integrated into a single tool

[ ] Settle on coding and comment style  (See https://github.com/FStarLang/FStar/wiki/Style-guide)

[ ] Document the libraries. See #1566 and https://github.com/FStarLang/FStar/wiki/Documenting-the-library

Improved tutorials
We plan to revise the existing tutorials and produce new tutorial chapters. We will use reStructuredText (RST) with extensions for including snippets of F* files with syntax highlighting within them. We will also use reStructuredText extracted from literate F* files by fslit (e.g., for the KreMLin tutorial)

[ ] Add support for including F* in RST files with syntax highlighting. See this zulip thread. https://fstar.zulipchat.com/#narrow/stream/205996-new-tutorial/topic/FST.20snippets.20in.20RST

[ ] Revise existing online tutorial

[ ] Meta-F* tutorial chapter

[ ] Layered effects chapter

[ ] Verified crypto implementations chapter

[ ] Crypto security proofs

[ ] EverParse chapter

[ ] Usability: Proof debugging, Z3 profiling, recommended proof style
... ?

New features to complete
We need to evaluate within the next few weeks which features we plan to complete and stabilize in time for this release.
Here's an initial list of candidate features

[ ] Layered effects  (see PR #1874 )
[ ] Dynamic regions (ongoing work in branch nik_dynamic_regions)
[ ] Const buffers (KreMLin)
[ ] Untagged unions (KreMLin)
[ ] NBE (ongoing work in nik_nbe)
[ ] Memoization of typechecking
[ ] Proof stability debugging (--quake)
[ ] Calc-like proofs for arbitrary assertions
[ ] Merging Steel memory models?
[ ] DM4All and IO examples?

Bugs to close

[ ] @mtzguido has started a pass of bug triage. Nik and Aseem will follow.

I did a pass and marked 30 issues with the milestone/everest-v1 tag. I marked all crashes I could find, plus some usability and documentation issues, and a few issues I considered either low-hanging or really nice to have fixed.


normalize fails to run

Copy of a crashfile
"Too many samples map outside moving image buffer. There are only 38344 valid points out of 1801501 total points."
I'm running into this error on about half of subjects in my dataset - any thoughts?

Hi @mgxd this is a problem related to ANTs normalization. We are pretty aware of this problem, and for this reason, we have recently added a new normalization interface that will try new settings if the default ones fail.
Basically, the T1w image of your subject sub-voice968 failed to be registered to the MNI template. This is particular of that case, so if you could share it with me, I could search for more appropriate settings. I will incorporate those settings into mriqc as a fallback.
For now, you can also try the following: use current master (this fallback thing was added last Friday) and give it a try. Maybe the quick and dirty settings I wrote work for you in this subject.

Sorry, I see you are using the docker image.
Please confirm me if you could share that T1 image with me (or provide me with ANTs settings that work for you) and I will build a new mriqc image with those settings.

@oesteban thanks for the reply - I have a T1 image I can share with you, just need your email.

@mgxd I just copied you image, thanks for sharing. Sorry for my silence, I'm on it.

Hi @mgxd, the PR just merged (see above) fixed the problem with this subject. It also requires to update niworkflows to the latest version (0.0.3a14).


TM1Service.cells.write_value() not working

I was trying to set a value in the cube that has two dimensions, say A and B. I have two elements in A, Client and Year, and one in B, which is called Value. In the code, I write this to be able to update the value:
with TM1Service(address="localhost", port=PORT, ssl=True, user="USER", password="PASSWORD") as tm1:
tm1.cells.write_value(value=client, cube_name="CUBE NAME", element_tuple = {"Client", "Value"})
client being a string value, and the order of the element tuple is correct. Both "Client" and "Year" are of type string.
I got the following error:
TM1py.Exceptions.Exceptions.TM1pyRestException: Text: {"error":{"code":"278","message":"'Value' can not be found in collection of type 'Element'."}} Status Code: 404 Reason: Not Found Headers: {'Content-Length': '106', 'Connection': 'keep-alive', 'Content-Encoding': 'gzip', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json; charset=utf-8', 'OData-Version': '4.0'}
The interesting thing is, it works sometimes, and sometimes throws this error even though I don't change anything.

Value is type string. I have the Value element in my Measure dimension. Can you explain what do you mean by not being available?

Are you creating this dimension on the fly using python script?
If yes, are you sure the dimension and the element got created before updating the cube?
If no, how can I replicate this issue of yours (can you share your code and cube's metadata)?

I created the dimensions and the cube manually before I write the code.
It is difficult to replicate the exact same situation since it is a very model-spesific code in which I retrieve and write data in different cubes. But I believe you can replicate the issue by having the following:
I have a cube called Google Sheet, in which I created a view which is also called Google Sheet. I have two dimensions, one of them (Google Sheet) has Year and Client elements, the other (Google Sheet m) has the Value element. All of them are of type string.
Then I used this piece of code to write to Google Sheet cube:
with TM1Service(address="localhost", port=PORT, ssl=True, user="USER", password="PASSWORD") as tm1:
tm1.cells.write_value(value=client, cube_name="CUBE NAME", element_tuple = {"Client", "Value"})
client being a string value.
Then I got the error I mentioned earlier.

ahhh man how did I miss this!
Python set is unordered, use a list instead.
tm1.cells.write_value(value=client, cube_name="CUBE NAME", element_tuple = ["Client", "Value"])

Thank you so much for your help, it works now.


Please update

Hello, and first of all a huge thank you for this software which works wonderfully with my Harman Kardon AVR265 amp.
However I note that there has been no update since 2015 and yet there is something to further improve the software .. I am thinking in particular of having to keep the sound on my pc which poses a problem with streaming ( Desynchronization ..) my solution plugged in an old headset on the sound output of the pc but it would be nice to be able to have only the sound output on Local Audio Broadcast. Another thing would be to be able to choose which application I want to stream or not .. And also to be able to choose the quality of reproduction, given by this fact more compatibility with the various upnp receivers. Another small thing given a high priority system for LocalAudioBroadcast  and Prevent the pc from going to sleep ..
In any case BRAVO for the great work you have done .. Hoping for a future update ..

Thanks. There hasn't been any update from my side because I'm not using this any longer - which is also why there most likely won't be any further updates. But this is open source, and anyone can contribute improvements.
What you are asking here are multiple new major features that each likely take days to implement, and finding a volunteer taking up on that is rather unlikely. I'm sorry to say but please don't get your hopes up that this is ever going to happen.

Thank you, and sorry to hear this but hey maybe a charitable soul will take over the coding of this great program.
Thank you again for all..

Thanks. There hasn't been any update from my side because I'm not using this any longer

Is there something you use instead, or have you given up on sound broadcasting altogether?

I used this to send Spotify music from my computer to my home theatre receiver and switched to a Chromecast when Spotify added Chromecast support.

Closing due to repo archival.


Perceptual loss with wrong input image scale?

Hi, in the code perceptual loss, the output image is scaled in [0, 1], however, the input image for VGG should be normalized by mean = [0.485, 0.456, 0.406] and std = [0.229, 0.224, 0.225] according to torchvision. Seems you didn't normalize the image.

@jshi31 this may have a little impact on the results, you could try to add this normalization and compare the performance, if this can make a big impact, please tell me, and I'll add this operation.


Excluding other layers from collectors or layer priority

I found out I often repeat some regexp in multiple just to exclude classes already in another layer (like everything from namespace X is general dependency except X\Gui which is gui dependency). It would be nice to be able to reference another layer as layer general dependency is everything matching exceptnof it is in X\Gui. But I can see there could be some problems here like circular dependencies between layers. Or maybe just have some way to solve class in multiple layers? Like assign layer a priority.

I encountered a similar problem. I have a depfile that tracks dependencies between modules. Every module is composed of two layers: body and API. A module can be accessed only by its API. There is also RestOfTheApp layer which tracks if there are any unwanted dependencies to the modules' bodies. Every time I add a module I have to remember to exclude it from RestOfTheApp.
I thought of a custom collector that would reference other layers and can be used to exclude a layer. It would be something like this:
layers:
  - name: RestOfTheApp
    collectors:
      - type: bool
        must:
          - type: directory
            regex: app/.*
        must_not:
          - type: layer
            layer: 'BillingModule'

This is useful, just difficult to implement, don't close it yet.


how to add Request body in incoming GET request by transforming into POST

We are trying to transform GET request into POST in Spring Gateway filter and add request body but we did not found any documentation that helps.

I believe you can use the modifyRequestBody filter.

I believe you can use the modifyRequestBody filter.
modifyRequestBody is only getting called when any request body is passed into initial request.
But our original request is GET and it does not have any request body.

have you tried it?

have you tried it?

yes, for GET request with empty body did not call "privateMethod" method injected into modifyRequestBody:
.modifyRequestBody(                                 String.class, MyClass.class,                                 (exchange, publisher) -> privateMethod(exchange)))
private Mono<IdCardRequest> privateMethod(ServerWebExchange exchange) {         List<String> headerValue = exchange.getRequest().getHeaders().get("headerName");         if (username1.isEmpty()){             throw new BadRequestException("headerName header is missing");         }         String username = username1.get(0);         return Mono.just(MyClass.builder().headerValue(headerValue).build());     }

The same issue happens when transforming an incoming POST request that has no body to an outcoming request that should have body.
serverRequest.bodyToMono gives empty here.

Closing due to age of the question. If you would like us to look at this issue, please comment and we will look at re-opening the issue.


Added FenwickTree For Range Query

FenwickTree also named as Binary-Indexed-Tree. It organizes data using binary characteristics.
Point Update and Range Query can all be done with O( log (n) ) , and has less hidden constant than Segement-Tree.
What's more, Range Update and Point Query can be done with FenwickTree , I will pr as soon as i finish it, also ST , matrix quick pow .
I'm glad if you can give me some suggestions with my first pr   :-)

plz check my PR


Would you be willing to share the code used for your training process?

I find it can be trained following the structure of the pipeline design, using the HuggingFace text_to_image.py example Here, only changing the UNet part.
I have implemented an unofficial training version using the HuggingFace's diffusers when using the batch size equal 1 or 2, the training takes about 21G VRAM.  Not sure whether can reproduce the result or not. Basically, the author says it can be trained on a single RTX4090  is True :)

Thank you for sharing this! I will try it at the earliest opportunity and will share any outcomes here.

I find it can be trained following the structure of the pipeline design, using the HuggingFace text_to_image.py example Here, only changing the UNet part.
I have implemented an unofficial training version using the HuggingFace's diffusers when using the batch size equal 1 or 2, the training takes about 21G VRAM. Not sure whether can reproduce the result or not. Basically, the author says it can be trained on a single RTX4090 is True :)

Have you tried the "Annealed multi-resolution noise" mentioned in the paper? I'm not sure if I set it right in my training.

Ohh, about this point, I did not implement the Annealed multi-resolution noise......

I find it can be trained following the structure of the pipeline design, using the HuggingFace text_to_image.py example Here, only changing the UNet part.
I have implemented an unofficial training version using the HuggingFace's diffusers when using the batch size equal 1 or 2, the training takes about 21G VRAM. Not sure whether can reproduce the result or not. Basically, the author says it can be trained on a single RTX4090 is True :)

Hello, I am sorry to bother you. Firstly, thanks a lot for writing the training pipeline code. I wonder whether you have trained your image2depth diffusion model based on the scripts. Did they perform good training results?
Thank you! :)

Thanks for your interest in our work. We do have a plan to release training and evaluation code in the future. However, the schedule is not clear yet. Please stay tuned for future updates.
https://github.com/prs-eth/Marigold/issues/1#issuecomment-1916842374


ci: use spot market price as max bid in tests

The spot market resource tests use a data source to determine the spot market price, and then attempt to create a spot market request with a bid price that is 20% higher than the spot market price.
This introduces brittleness to our tests because the bid price may be higher than the maximum allowed bid price.  This change uses the spot market price as the max bid price, rather than setting a higher bid, in an attempt to reduce the chance of test failure due to a disallowed bid price.

Codecov Report
Patch coverage has no change and project coverage change: -0.14 :warning:

Comparison is base (dd74d6a) 60.40% compared to head (664bc9b) 60.27%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #334      +/-   ##
==========================================
- Coverage   60.40%   60.27%   -0.14%
==========================================
  Files          90       90
  Lines       17969    17969
==========================================
- Hits        10855    10831      -24
- Misses       6817     6843      +26
+ Partials      297      295       -2

see 4 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Now the spot market import test seems to be passing and then timing out trying to delete the request: https://github.com/equinix/terraform-provider-equinix/actions/runs/5072719458/jobs/9110803431#step:5:4307


Node version (10) End of Life

I have started to receive a warnings on the Node version being end-of-life.
The actual warning message i get is shown below….
##[warning]Task 'Terraform Installer' version 1 (TerraformInstaller@1) is dependent on a Node version (10) that is end-of-life. Contact the extension owner for an updated version of the task. Task maintainers should review Node upgrade guidance: https://aka.ms/node-runner-guidance
##[warning]Task 'Terraform CLI' version 1 (TerraformCLI@1) is dependent on a Node version (10) that is end-of-life. Contact the extension owner for an updated version of the task. Task maintainers should review Node upgrade guidance: https://aka.ms/node-runner-guidance
I believe a small code block inside task.json files is the reason of these warnings:
tasks/terraform-installer/task.json
tasks/terraform-cli/task.json
"execution": {
        "Node10": {
            "target": ".bin/index.js",
            "argumentFormat": ""
        }
    }```

Same here.

Warnings are being reported on Azure DevOps pipeline, even though updated to latest available task version @2. Provided screenshot below for your reference. Could you please help us understand its impact on pipeline runs using these tasks? We are worried on its impact considering deployments to multiple environments through pipelines that are based on these tasks.

Are there any actual hard dependencies on node 10 ? Or is it just a matter of dependencies being out of date ?

It would appear to be a hard dependency set here https://github.com/jason-johnson/azure-pipelines-tasks-terraform/blob/2d2bf62185e002951bcc370c03efb107fc4c912a/tasks/terraform-installer/task.json#L39 and https://github.com/jason-johnson/azure-pipelines-tasks-terraform/blob/2d2bf62185e002951bcc370c03efb107fc4c912a/tasks/terraform-cli/task.json#L477

Great news this is reported.  I initially got this error using the older Charles Zapp version.  I reinstalled the new extension from Jason Johnson, and imagine my surprise when the error was still present.  I look forward to the progress on this report.

Same issue affecting most of our pipelines as well with Node version 10 end of life.
@jason-johnson  @charleszipp

For pull request on this issue, it will need to start by checking out the 1. Tag so that the change will back port. 2. Is not considered stable and I think 0. Is actually broken.

For pull request on this issue, it will need to start by checking out the 1. Tag so that the change will back port. 2. Is not considered stable and I think 0. Is actually broken.

I know I'm currently using the @1 tag myself. Are you saying a new version will be pushed with the node version change so long as you are using the @1 tag?

@JAK1047 well @jason-johnson is encouraging us to create a PR to fix this node10 dependency issue and point us to use the @1 tag as the base.

Looking at the documentation for the extension it says "For example, currently TerraformCLI@0 and TerraformInstaller@0 will point to the version with the tag 0.7.11. TerraformCLI@1 and TerraformInstaller@1 will point to the version with the tag 1.1.0 and TerraformCLI@2 and TerraformInstaller@2 will point to the unstable version, basically the latest version which has been published to the main branch of the project." Am I to understand from this and the comments that we are talking about a "hotfix" based on on tag 1.1.0? I don't think 1.1.1 was published (particularly since the next commit says "fix publish") and there have been a fair number of commits to main since then - presumably the unstable bit. I'm not sure how such a hotfix would be committed and published.

@jason-johnson What would be the target for the PR? I don't see any maintenance branches for different tag major versions.

There are no need for maintenance branches.  With git (n case someone reading this doesn't know) you can check out tags so tags double as "maintenance branches" without cluttering up the repo.  When I make fixes like this, I check out the tag, make a branch on that commit, make the fix and then do the PR.
In open source projects, it's great when we can get contributions.  If no one makes a PR I will eventually do it but it will often happen faster with a PR.  I tried to word the above to help anyone who might make a PR for this, including me. :)

@jason-johnson I understand how to check out a tag. What I'm asking is what the target branch for the PR is supposed to be once changes have been added.
Unless you're maintaining the main branch as the v1 branch and the change just goes on top of main, you would need maintenance branches for other tag lineages. Otherwise, how would you work on a v2 and still have the ability to add new code just to the v1 lineage?

@jason-johnson any movement on this PR for node version?

@jason-johnson I understand how to check out a tag. What I'm asking is what the target branch for the PR is supposed to be once changes have been added.
Unless you're maintaining the main branch as the v1 branch and the change just goes on top of main, you would need maintenance branches for other tag lineages. Otherwise, how would you work on a v2 and still have the ability to add new code just to the v1 lineage?

I explicitly said "(for those who don't know)" so as not to assume what anyone specifically knew or didn't know about how git works. :)
In any case, right now there is the old "0" version.  Then there is the "1" version which is tagged off of the main branch.  The "2" version is actually just what ever has been merged into main and not tagged.  This way we can quickly check fixes without affecting older releases.

@jason-johnson So the implication here is that I need to use 2 to get the fix, even though it's potentially unstable because of other stuff that has gone in between 1 and 2?

@jason-johnson thanks for merging in, i just tried version 2 of the cli and i am still getting the node 10 warning.  When do these changes get replicated to the market place? https://marketplace.visualstudio.com/items?itemName=JasonBJohnson.azure-pipelines-tasks-terraform

I believe the warning is happening because I have not yet tagged v1.  The way ADO extensions work (for those who don't know) is that there is actually a whole copy of the extension for each "version" so to fix this we may have to cherry pick the fix to all 3 "versions" instead of just 1 and 2.

@jason-johnson thank you for the update.  How long do you anticipate these changes will make it top the Market Place, is it an automatic process once you tagged to v1?  I noticed in my extensions list that the last update for terraform tasks was 18th March.

It would happen within minutes.  I haven't tagged because I'm unable to test version 2 right now for some reason.  I need to get that solved before I push this to version 1.

@jason-johnson for whatever reason tfx fails to publish from a silicon mac, it crashes with some odd errors, otherwise I'd have tested it in my private publishery...

I figured it out.  The latest PR broke how the versioning works.  I thought the line looked wrong but I wasn't sure.  The testing set up is a bit unfortunate right now.

That script was broken forever, and never worked on anything but a windows machine. I've used to contribute to this extension when it was owned by Charles, but he gave us access to his ADO pipelines back then, so I never bothered to look into it. Thought I'd "fix" it, but apparently made it worse? :) Want me to revert that part in particular?

Ahh, nevermind, I see you already did. Thank you and sorry! :)

No problem.  It's fairly convoluted but the only way to offer different versions of an ADO extension is to package each version in the final package.  And without that we would have to have a much stricter release cycle that the current level of contribution just can't support.  I suppose the best thing would be to document how this all works. :)

@jason-johnson thanks for the update, are you able to post on here once the final package has been pushed to the market place.  Thanks in advance.

Yes, if I can ever manage to get the tests to succeed (required to public production version to marketplace) I will post here

Let me know if I can help. I recall some of what the pipelines looked like still.

I managed to fix everything but two tests (I think they are simple permission issues).  If you'd like, I can give you permissions on the new ADO pipelines.  I just need to know what user to add.  If you don't want to write it here then we can figure out a way to communicate it somewhere else.

I think you can find me on MSFT teams as a guest (Vladimir Lazarenko). I can't search for folks there, but I should be findable for you.

I've almost got the tests working (which would allow the production version to release) but my ADO is causing all sorts of issues.  I'm considering moving most of the build completely away from there because I get so many issues from it.

I've almost got the tests working (which would allow the production version to release) but my ADO is causing all sorts of issues. I'm considering moving most of the build completely away from there because I get so many issues from it.

What issues are you facing?

I think this issue should not be closed until the Marketplace version get updated

That's how GitHub works. Once PR is merged - issue is autoclosed.

Ok, I've added you to ADO.  I had ran out of space on the ADO organization so no further pipelines would run.  I deleted most of the runs but it can take up to 48 hours to actually unlock again.  That is all fixed and all that remains is getting one more failing test to pass.  We have switched completely to Workflow Identity Federation so I've modified the tests and there is one left to fix.

@jason-johnson I see that it fails with self-configured backend, but since you're using a securefile for it - I can't see what's in it.. I guess it's merely a question of wrong creds in the file?

@jason-johnson I've not seen an invite of any kind. Space as is artifacts?
Where are the pipeline definitions?

Oh sorry, it was favoretti who was invited.  He used to be on the project and didn't get added to the new setup.  The pipeline definitions are all in the repository.  The GitHub ones are in the normal place and the ADO stuff is under the pipeline folder.

Fwiw, this is what I use with WIF on my terraform:
  backend "azurerm" {
  resource_group_name  = "name"
  storage_account_name = "name"
  container_name       = "name"
  key                  = "key"
  use_azuread_auth     = true
  use_oidc             = true
}
}

provider "azurerm" {
features {
}
storage_use_azuread             = true
}

/opt/hostedtoolcache/terraform/1.9.8/x64/terraform init -backend-config=/home/vsts/work/_temp/backend_rc.vars
Initializing the backend...
╷
│ Error: Error building ARM Config: obtain subscription(7a2964f4-70b7-4541-aa12-7a134b79e105) from Azure CLI: parsing json result from the Azure CLI: waiting for the Azure CLI: exit status 1: ERROR: Please run 'az login' to setup account.

This is a test designed to test secure files and putting all the configuration you showed in the files instead of in the terraform configuration.  Also note that the service connection we use in ADO is only enabled over Workflow Identity Federation.  There is no secret or anything.

@jason-johnson not missing environmentServiceName?

That was never used for this test.  It has backendType set to self-configured so there is no service connection.

Honestly I'm not sure how this test was working before, maybe it can only be done when using secrets.  I suppose I could just turn it off to get the package published.

@jaredfholgate would you happen to know if the Workflow Identity Federation authentication method can be used without "az login"?  If that's not enough information hopefully there is enough in this chat, the build logs and so on.  Or we can do a call to discuss.

@favoretti @fardarter @oguzkilcan Version 1.1.2 has been released.  This means the @1 and @2 versions should work.  Please let me know if there is still a warning. I may need to patch or drop the @0 version.

@jaredfholgate would you happen to know if the Workflow Identity Federation authentication method can be used without "az login"? If that's not enough information hopefully there is enough in this chat, the build logs and so on. Or we can do a call to discuss.

Yes, it works with env vars. You need to supply the id token though, so it won't work with just a static backend file like the one shown above since the id token is per run. There is some magic in the provider for GitHub that allows you to just specifiy use_oidc, but that is implemented for Azure DevOps (yet). For Azure DevOps, you must supply oidc_token too, most likely via the env var: https://developer.hashicorp.com/terraform/language/backend/azurerm#oidc_token


⚠ Bofrost.es has degraded performance

In b96be13, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1816 ms

Resolved: Bofrost.es performance has improved in ba42a89.


[models] NetworkField: fix conversion of None values

Fixes #94

Pull Request Test Coverage Report for Build 362

1 of 2 (50.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 99.797%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

django_ipam/base/fields.py
1
2
50.0%

Totals

Change from base Build 357:
-0.2%

Covered Lines:
492

Relevant Lines:
493

💛  - Coveralls

Pull Request Test Coverage Report for Build 362

1 of 2 (50.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 99.797%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

django_ipam/base/fields.py
1
2
50.0%

Totals

Change from base Build 357:
-0.2%

Covered Lines:
492

Relevant Lines:
493

💛  - Coveralls

@nemesisdesign Should I add a test for that?

@okraits that would be great! Can you?

I will try to come up with a test later today.

I'm merging since it's just one line but if you do find a way to test please send it

Ok - I just don't have the time to look into this now :cry:


Gitlab feature collector cannot display the results correctly

Hi,
I just met some trouble with this collector. I connect one of my gitlab project to Hygieia, but all the issues which marked as "doing" are not considered as "WIP". So as "Open" and "Done" tags.

@xiegudong45
hello,hygieia-scm-gitlab-collector, I can't collect data,so there's no data in the mongodb
gitalb configuration information is correct or incorrect and does not report errors how to determine whether to connect to the gitlab or not

@xiegudong45
hello,hygieia-scm-gitlab-collector, I can't collect data,so there's no data in the mongodb
gitalb configuration information is correct or incorrect and does not report errors how to determine whether to connect to the gitlab or not


Add tidb serverless dialect

close https://github.com/kysely-org/kysely/issues/679

Hi, I developed a TiDB serverless dialect for kysely here https://github.com/tidbcloud/kysely. Any review is welcomed! Write your comment in the issue
It's better to merge this PR in the next week. Because our TiDB serverless driver will be available in the next week
I have tested it in our dev environment

Thanks!


Chapter 10 - Reference Link Needs an Update

In Chapter 10, within the segment discussing partial prerendering, there are reference links to two React documentation pages. The link for Concurrent APIs directs to the updated React documentation. However, the link for Suspense currently points to the old React page. Kindly update the Suspense link to the new documentation page.

Once again, thank you @mukham12 🚀 🎉


build-system requires doesn't have all build dependencies?

Something in our dependency list needs markupsafe, and it fails to install when cross-compiling for aarch64 -- this wasn't a problem a week ago, so I suspect it's something about your 3.x release? Here's the output from pip when I try to install markupsafe in our cross compilation docker container:
root@5465be8783e8:/# /build/venv/bin/cross-pip install markupsafe
Looking in indexes: https://pypi.org/simple, https://wpilib.jfrog.io/artifactory/api/pypi/wpilib-python-release-2024/simple
Collecting markupsafe
  Using cached markupsafe-3.0.1.tar.gz (20 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [65 lines of output]
      ModuleNotFoundError while trying to load entry-point bdist_wheel: No module named 'setuptools.command.bdist_wheel'
      running dist_info
      creating /tmp/pip-modern-metadata-964py314/MarkupSafe.egg-info
      writing /tmp/pip-modern-metadata-964py314/MarkupSafe.egg-info/PKG-INFO
      writing dependency_links to /tmp/pip-modern-metadata-964py314/MarkupSafe.egg-info/dependency_links.txt
      writing top-level names to /tmp/pip-modern-metadata-964py314/MarkupSafe.egg-info/top_level.txt
      writing manifest file '/tmp/pip-modern-metadata-964py314/MarkupSafe.egg-info/SOURCES.txt'
      reading manifest file '/tmp/pip-modern-metadata-964py314/MarkupSafe.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      no previously-included directories found matching 'docs/_build'
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      adding license file 'LICENSE.txt'
      writing manifest file '/tmp/pip-modern-metadata-964py314/MarkupSafe.egg-info/SOURCES.txt'
      creating '/tmp/pip-modern-metadata-964py314/MarkupSafe-3.0.1.dist-info'
      Traceback (most recent call last):
        File "/build/venv/build/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
          main()
        File "/build/venv/build/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/build/venv/build/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 152, in prepare_metadata_for_build_wheel
          return hook(metadata_directory, config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/build/venv/build/lib/python3.11/site-packages/setuptools/build_meta.py", line 377, in prepare_metadata_for_build_wheel
          self.run_setup()
        File "/build/venv/build/lib/python3.11/site-packages/setuptools/build_meta.py", line 335, in run_setup
          exec(code, locals())
        File "<string>", line 64, in <module>
        File "<string>", line 41, in run_setup
        File "/build/venv/build/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/build/venv/build/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "/build/venv/build/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/build/venv/build/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
          self.run_command(cmd)
        File "/build/venv/build/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
          super().run_command(command)
        File "/build/venv/build/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
          cmd_obj.run()
        File "/build/venv/build/lib/python3.11/site-packages/setuptools/command/dist_info.py", line 101, in run
          bdist_wheel = self.get_finalized_command('bdist_wheel')
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/build/venv/build/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 305, in get_finalized_command
          cmd_obj = self.distribution.get_command_obj(command, create)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/build/venv/build/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 859, in get_command_obj
          klass = self.get_command_class(command)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/build/venv/build/lib/python3.11/site-packages/setuptools/dist.py", line 954, in get_command_class
          self.cmdclass[command] = cmdclass = ep.load()
                                              ^^^^^^^^^
        File "/usr/local/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
          module = import_module(match.group('module'))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
          return _bootstrap._gcd_import(name[level:], package, level)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
        File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
        File "<frozen importlib._bootstrap>", line 1142, in _find_and_load_unlocked
      ModuleNotFoundError: No module named 'setuptools.command.bdist_wheel'

I note that your build-system requires has setuptools as a dependency, but not a particular version? Or maybe it requires wheel to be installed too?
To reproduce, you can run the container, and then run the pip command:
docker run --rm -it wpilib/aarch64-cross-ubuntu:bullseye-22.04-py311

/build/venv/bin/cross-pip install markupsafe

Environment:

Python version: Python 3.11 aarch64 (via crossenv)
MarkupSafe version: 3.0.1

I'm pretty sure you just need wheel in your build-system requires. When I run /build/venv/bin/cross-pip install --no-build-isolation markupsafe, it installs fine:
# /build/venv/bin/cross-pip list
Package    Version
---------- -------
MarkupSafe 3.0.1
pip        22.3.1
setuptools 65.5.0
wheel      0.43.0

This sounds like an issue with cross-pip, which I am not familiar with. Our build works fine when doing pip install --no-binary markupsafe markupsafein a blank venv.

https://setuptools.pypa.io/en/stable/history.html#v70-1-0 Setuptools 70.1.0 no longer requires the wheel package to build wheels. It looks like your artifactory instance is providing an old version of setuptools. Typically, if no bound is given, the latest version should be installed, but it appears your build process is using some cached older version.

The problem is that all this is invisible to me. Our builds worked locally and in CI without declaring wheel or setuptools>=70.1.0. Looking at wheel https://pypi.org/project/wheel/, it now has a note "use setuptools>=70.1, only install wheel if you intend to use the wheel command directly".

Thanks!


Including files other than DEF/STR files

Including a real file - Syntax:
Include "C:\myfile.bas", filePath as string

From this point filePath will represent a real file path for "myfile.bas"
When we transpile to .MB we will transpile it to code like this:
If fileexist("C:\myfile.bas" then
   filePath = "C:\myfile.bas"
else
    filePath = makeFile(<GUID>)
End If

Dim <GUID> as string
<GUID> = hex(<fileContents>)

Sub makeFile(fileContents as string)
...
End Sub

An alternative to creating temporary files within MapBasic itself is to use pictures in virtual memory. See this post.


Missing "./components" export in "astro-imagetools" package

Looks like the exports from this package may have a bug or am I doing something wrong? Thought I would put a issue just incase anyone else may be having the same problem as me.
Additional Info
Node Version
v16.13.0
package.json
{
  "name": "@example/starter",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "dev": "astro dev",
    "start": "astro dev",
    "build": "astro build",
    "preview": "astro preview"
  },
  "devDependencies": {
    "astro": "^1.0.0-beta.5"
  },
  "dependencies": {
    "astro-imagetools": "^0.4.1"
  }
}

My Import looks like this
---
import { Img } from "astro-imagetools/components";
---

Same issue here.

I think it's more like this:
astro.config.mjs
import { defineConfig } from 'astro/config';
import astroImagePlugin from 'astro-imagetools/plugin';

export default defineConfig({
	vite: {
		plugins: [astroImagePlugin],
	},
	renderers: [],
});

Page
---
import Image from "astro-imagetools";
---


Fixed table formatting in the hints documentation

Wrong formatting led to the broken table and incorrectly shown configuration documentation for hints. This commit fixes formatting.

https://cassandra.apache.org/doc/latest/cassandra/operating/hints.html#configuring-hints

Tested the fix using asciidoconline, looks good:


BOT id in the response activity changed

Recently i migrated my V3 bot V4(4.5.2) with channel support Directline, Facebook, teams & Webchat. After migration from.id property of all the response activities sent by the bot to user has changed. In V3 it used to be the Bot Channel registration name/Handler name(I keep Bot channel Registration, Handler, Directline site name same). Now this property has the same name appended with some random text like "from":{"id":"MY_BOT_ID@xYV_J4rtvL8","name":"My bot name","aadObjectId":null,"role":null}".

@Sams4u That's correct. A major version change (v3.. -> v4..) in the Bot Framework indicates that there are breaking changes. This is one of them.


Manage email templates in the application

Please don't forget to target develop.

Closing as duplicate of #2229


fix: rEADME

:tada: This PR is included in version 1.2.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.5 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Writed convertKelvinToRankine function added two files for next task

new file:   lib/convertCartesianToSpherical.js
modified:   lib/convertKelvinToRankine.js
new file:   test/convertCartesianToSpherical.test.js

Skeleton convertCartesianToSpherical convert array from Cartesian system of coordinate to Spherical rounded to 4 number after zero. I do not like to create "above the middle" tasks, it just randomly happens. Please check, I am not expert.

Closes #theRelatedIssueNumber

[x] Running yarn lint does not trigger any linter errors
[x] The test of the method you have fixed is passing
[x] You have written a new skeleton method for someone else to work on!
[x] You have written tests to accompany your skeleton method

Yes I will be glad, thanks for awesome experience))

I will open for issue))


No kernel identified while running tensorflow with GPU

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.13.0
Custom code
Yes
OS platform and distribution
Windows 10
Mobile device
No response
Python version
3.8.8
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
cuda_12.4.r12.4/compiler.34097967_0
GPU model and memory
Nvidia Geforce MX450
Current behavior?
I am using windows 10 and using tensorflow with GPU using tensorflow-directml-plugin API. While running the code I am getting the following error:

InvalidArgumentError: No OpKernel was registered to support Op 'CudnnRNNV2' used by {{node sequential/bidirectional/forward_cu_dnnlstm/CudnnRNNV2}} with these attrs: [seed=0, dropout=0, T=DT_FLOAT, input_mode="linear_input", direction="unidirectional", rnn_mode="lstm", seed2=0, is_training=true]
Registered devices: [CPU, GPU]
Registered kernels:

[[sequential/bidirectional/forward_cu_dnnlstm/CudnnRNNV2]] [Op:__inference_train_function_7434]

It's a simple model with configuration something like:
regressor2.add(Bidirectional(LSTM(units = 128,  return_sequences = True)))
regressor2.add(Flatten())
regressor2.add(Dense(units = 64,activation='relu'))
regressor2.add(Dense(units = 1,activation='linear'))
opt = keras.optimizers.Adam(learning_rate=0.001)
regressor2.compile(optimizer = opt,  loss='mean_squared_error',metrics=["MeanSquaredError"])

Standalone code to reproduce the issue
regressor2.add(Bidirectional(LSTM(units = 128,  return_sequences = True)))
    regressor2.add(Flatten())
    regressor2.add(Dense(units = 64,activation='relu'))
    regressor2.add(Dense(units = 1,activation='linear'))
    opt = keras.optimizers.Adam(learning_rate=0.001)
    regressor2.compile(optimizer = opt,  loss='mean_squared_error',metrics=["MeanSquaredError"])

Relevant log output
No response

@vaibhavAIJKV GPU support on native-Windows is only available for 2.10 or earlier versions, starting in TF 2.11, CUDA build is not supported for Windows. For using TensorFlow GPU on Windows, you will need to build/install TensorFlow in WSL2 or use tensorflow-cpu with TensorFlow-DirectML-Plugin.
Please refer to this doc for further information.
Thank you!

@vaibhavAIJKV GPU support on native-Windows is only available for 2.10 or earlier versions, starting in TF 2.11, CUDA build is not supported for Windows. For using TensorFlow GPU on Windows, you will need to build/install TensorFlow in WSL2 or use tensorflow-cpu with TensorFlow-DirectML-Plugin. Please refer to this doc for further information. Thank you!

Hi
As mentioned I am using TensorFlow-DirectML-Plugin, but let me go through the document to see if installing other dependencies resolve this issue

@vaibhavAIJKV Sure, kindly let us know?
Thank you!


Attempt to maintain cache line alignment in BLAS L1 work splitter.

Ugly one-liner to take out easily because of being incomplete as follows:
It aligns to 16 elements which makes 64bytes for S and multiples thereof for others. Still devlivers promise in subject.
... measuring axpy 3rd thread (unconstrained at interface) makes result always few percent better than 2 first only, no matter arg size or thread oddness, they were before ups and downs.
... Threading threshold can be much lower than 2MB estimated before for axpy etc (more PRs to follow), there is small improvement in all odd-sized cases even with current thresholds.

@martin-frbg I think this approach is a bit too simplistic
c/zaxpy double throughput  from multiple threads with this patch already at 64 elements, but no change for s/d. I think there is a need to pass extra parameter down from interface with alignment preference. If the effect is cache-line based we can calculate kilobytes before parallel call too.
I will make more bigger one with adjusting all callers with extra zero parameter, i.e. no code flow change sort of initially, then polish what can be polished.


optimise content blocker rules compilation

Task/Issue URL: https://app.asana.com/0/414709148257752/1200055714461291
Tech Design URL:
CC:
Description:
Optimisation of content blocker rules compilation logic.  Basically when protection changes, or there's new configuration, recompile the rules, then send the notification.
Steps to test this PR:

Launch the app, open a few tabs, navigate to some pages, change the protection on one of them.
Clean install, launch the app as a background fetch, then launch the app normally.
Ensure blocking occurs as expected (JS Console log output).

Internal references:
Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM

New changes look good :+1:

Thanks @samsymons


App user guide updates

Adds notes about cropping to content in the patches sections
Adds Using the image visualizer and Using the video visualizer sections

Lookin' good! 🥇
Here's a few things I found on my latest test:
Help menu

Replace Escape help > JSON > settings > zoom > fullscreen > clear > close help text with just Escape the current context. I think more is less here, and people will figure it out. It'll also help with line wrapping on 50% width screens :)
Organize zoom in/out and next/previous frame in settings menu so that each pair is vertically adjacent (easier to "group" them visually that way). Currently it takes time to visually locate the sister setting within each pair

Looker HUD

Persist audio/playback settings while arrowing through samples (they currently reset for each sample, unlike other settings)

Settings menus

Horizontally center Refresh colors [icon] text within button, for consistency with other menu buttons

Label tags

Tooltip for label tag eye icon should read: Only show labels with the "<tag>" tag or other selected tags. Both in grid and expanded sample views. It currently says "samples", not "labels"

Grid

Loading an empty view in the App (eg limit(0)) causes an infinite loading state, but should instead show an empty grid so the user knows that nothing is loading

Video

Maximizing a video using the HUD controls while it is playing freezes the App

Extended view

Combining a label tag selection with a label field filter isn't working correctly. For example, in the screenshot below, I have some labels with the duplicate tag. I clicked the eyeball icon to only show those labels. Then I tried to further filter by using the label filter widget for a field (I wanted to only see person labels with the duplicate tag). But this resulted in many samples being shown in the grid even though in the upper right it says 1 of 500 samples

Expanded modal

When performing actions such as tagging labels in the expanded sample modal, applying a change doesn't refresh the modal's data (eg tags don't appear in the tooltip until I close and reopen the modal)

Corollary: add support for reopening expanded modal to same sample when the App is refreshed via ctrl + R?
Corollary: add refresh button to expanded modal so user doesn't have to close/reopen or ctrl + R?

For video datasets, it does take a bit longer to load a page than for image datasets, and you can't scroll past the current page until it fully loads. This can lead to some confusion between whether you've reached the end of the view or whether you need to wait a bit until you can continue scrolling. This is really more of an observation than anything concrete, since the real way to address this is full scrubbing support, which I know is in your icebox. But, I believe a limiting factor is the number of ffmpeg "elements" (currently 5?) that are working on prepping the videos; perhaps you could bump that up a bit to speed things up? I certainly am not noticing any performance complaints from my machine when scrubbing through video datasets

This only has to do with ffprobe in the server pagination requests. It is <video/> elements in the browser which are pooled for creating the first frame thumbnail. That process occurs after the layout is already on screen. It doesn't block list growth.
I'll add a check for existing metadata to skip the media inspection (image and video)

Comments addressed

Comments addressed

Confirmed that everything LGTM

Couple small things I observed after doing some work today:

I'd recommend not ever making the settings menu orange. Currently it turns orange, I believe, when switching into patches mode because of the new setting to toggle b/w full image and cropped mode, but I think its a bit confusing because the settings menu contains multiple things and its not clear what is being indicated. Also in the future, the novelty of this setting would wear off, so best to "future proof" the App by not introducing a transient highlight now I think

In patches views, the similarity action appears (and turns orange) whenever I open the expanded sample modal, which makes sense because it is valid to perform a similarity search based on whatever labels are visible in that sample (if the user has generated an appropriate similarity index). However, the similarity action does not appear when opening the expanded sample modal for a non-patches view (only when the user selects some labels), but it does make sense to do a similarity search based on the current sample, same as if the user selected that sample from grid view

Since there are some subtle cases, I'll list the desired behavior of similarity search:

Non-patches grid view: when sample(s) are selected, show similarity action. Menu should show all similarity indices with patches_field==None, and performing a search should use all selected samples as query IDs
Patches gird view: when sample(s) are selected, show similarity action. Menu should show all similarity indices with a patches_field that matches the label field (either field, in the case of evaluation views), and performing a search should use all labels within the selected patches that match the patches_field of the chosen index as query IDs
Non-patches expanded view: when no labels are selected, show similarity action. Menu shows all similarity indices with patches_field==None, and performing a search should use the current sample as query ID. When labels are selected, still show similarity action. Menu now shows all similarity indices with a patches_field that matches the label field(s) from which any selected labels come from. Performing a search uses all labels from the patches_field of the chosen similarity index as query IDs
Patches expanded view: always show similarity action. Manu shows all similarity indices with patches_field matching a label field in the view (there are two in the case of evaluation patches). Performing a search uses all labels from the patches_field of the chosen similarity index as query IDs if no labels are selected, or only the selected labels if labels are selected

Comments addressed.


Fix path in Multiple response types sample.

Fix path in Multiple response types sample.
Fixes https://github.com/dotnet/AspNetCore.Docs/issues/33838

@martincostello please review

@dalibormesaric Thanks!
Check out is:issue is:open label:"code help wanted" " and is:open is:issue label:"Good first issue" if you're interested it writing some code. We'll take care of the writing.


regex bindings

https://github.com/rust-lang/regex

@Shazbot needs captures() for lua-module-map.

Thought I had that in there, but probably was in my other local branch

I've upgraded torchbear from 0.10.4 to 0.10.8 and now 'captures' in regex is nil. I am not sure which exactly version broke it, but when I downgraded to 0.10.4 everything is fine.

Regex had a change in one of the updates. To use regex you can use regex.new() then use the methods such as regex:capture()
eg (from a test)
local regex = regex.new([['([^']+)'\s+\((\d{4})\)]])
local val = "Not my favorite movie: 'Citizen Kane' (1941)"
local result = regex:capture(val):to_table()
print(result[1])


Delete single log

It would be nice if command !wipelog (link or id) would be added, so you can delete useless log by it's link or ID from database.

Duplicate of #494


Multi-Offset-Eq Constraints

Expands the non-uniform offset eq constraints to support multiple constraints.

Before merging: Make sure the allocated sizes of Az, Bz, Cz in buillder::compute_spartan_Az_Bz_Cz are correct.


Improve error message for private data not available on a peer

Improve message
"private data matching public hash version is not available. Public hash version = %s, Private data version = %s"
to indicate the actual issue, that is, private data wasn’t distributed to that peer collection member for a specific key and therefore the peer can’t endorse future transactions for the key.

I'm getting this error when trying to read another Orgs private collection withmemberOnlyRead:false does this have to do with distribution

Copying the response sent on mailing list here.

Org2 cannot query Org1 private data on their own Org2 peer. The whole point of private data is that it stays private to Org1 and only Org1 can choose to disclose it. There are generally two options for sharing/transferring the private data:
Org2 client application can send a query request to an Org1 peer. Org1’s chaincode would check if the client is authorized to query the data (perhaps using a combination of the client identity information, passed arguments, and the specific state information). If authorized, Org1 chaincode can choose to return data to Org2 client (and potentially endorse a ledger update).  Note, this is where memberOnlyRead comes in... if it is true the request will automatically return an error. If it is false then you can use custom logic in the chaincode to determine if the client is authorized.
Org1 could provide Org2 the private data out of band in another application. Org2 can then query their own Org2 peer and using GetPrivateDataHash() can confirm that a hash of the private data matches the on-chain hash. For example, if transferring an asset from Org1 to Org2 you may do this to confirm an asset on the ledger prior to the actual transfer.

@denyeart
I noticed that this issue has not been addressed yet. Are there any plans to work on this issue in the near future? If it's alright with you, I would be more than happy to assist in resolving this issue. Please let me know if you could use my help.

@satota2 You are more than welcome to improve the message, thank you!

@denyeart Thank you! I'll consider some improvements.


Mixins form-control-focus and button-variant output invalid box-shadow value with shadows enabled

When shadows are enabled and $btn-box-shadow, $btn-active-box-shadow, $input-box-shadow, or $input-focus-box-shadow have the value none these mixins output invalid values for the box-shadow property (e.g., box-shadow: none, 0 0 0 0.2rem rgba(0, 123, 255, 0.25)).

I merged #25070 and updated your branch to resolve a conflict—can you re-review?


Invalid data type in cast

I connected Exasol in DirectQuery mode. I often get this error.
OLE DB or ODBC error: [DataSource.Error] ODBC: ERROR [42000] [EXASOL][EXASolution driver]invalid data type in cast

Hi! I have tested the connector and have had no problem to date. When are you having this problem? (when connecting to the DB or when executing queries?). Maybe if you share some sample data I should try to replicate the error. And also, which version of ODBC drivers and PBI Desktop are you using?
Best regards, Hugo.

@Hugoamorar ,
Thanks for the quick response.
I'm getting an error when I execute queries.
Power BI - Nov 2018(64 bit)
EXASOL_ODBC-6.1.0 - (64 bit)
Here is one case,
I have a slicer to filter Month. I have two fields - Monthname(Text) and Month(Decimal)
It throws an error when I add Month into slicer(with dropdown option).

Hello siva44 :)
Maybe could you make a single test, changing the datatype of "Month" from Decimal to Integer?
Also, is there any information under the "Copy details" link? of so, please share in order to see if something there could help to understand your problem.
And, if you have access to Exasol DB, could you capture the query? Not sure, but maybe you should trap the query that PBI sends to Exasol and evaluate what is wrong.
Hope you solve your problem, and if possible, share here with us :)
Best regards and have success! Hugo.

Hi Hugo,
Changing the datatype is not giving any progress.
I do have access to Exasol DB. Can you help me to trace the query which send by PBI?

I am experiencing this as well. The problem seems to be a wrong order of arguments in the function CONVERT() - the Connector (or maybe the odbc-driver?) creates a query that contains CONVERT($fieldname, $type) while it should be CONVERT($type, $fieldname).
So, the problem comes up any time a cast is needed to match power-bi column data format to exasol db data format.
A quickfix would be to use a pre-processing function on all queries that simply swaps the arguments of all CONVERT() calls it sees.
In order to trace the offending query, look into the result of select * from exa_dba_audit_sql where success=false; (that is a table in EXA_STATISTICS).

@rhein  Do you have a minimal example, e.g. Table DDL + a few lines of data+ what actions you did in Power BI to raise the exception, so we can easily reproduce this case. I will then build a fix directly into the connector. The Problem is that the CONVERT function in Microsoft SQL Server has a different argument order then Exasol.

@ThomasBestfleisch : we actually discussed this with a sales engineer already (the solution is his to be honest), he will be in touch with you for details.

@ThomasBestfleisch ,
Here is the query that generated by Power BI,
select sum("Sale (Dollars)") as "C1"
from
(
select "Sale (Dollars)"
from
(
select "OTBL"."Invoice/Item Number",
"OTBL"."Date",
"OTBL"."Store Number",
"OTBL"."County Number",
"OTBL"."Category",
"OTBL"."Vendor Number",
"OTBL"."Item Number",
"OTBL"."Pack",
"OTBL"."Bottle Volume (ml)",
"OTBL"."State Bottle Cost",
"OTBL"."State Bottle Retail",
"OTBL"."Bottles Sold",
"OTBL"."Sale (Dollars)",
"OTBL"."Volume Sold (Liters)",
"OTBL"."Volume Sold (Gallons)",
"ITBL"."Date" as "C1",
"ITBL"."Month",
"ITBL"."MonthNo"
from "EXA_DB"."TEST_SCHEMA"."LIQUORSALES" as "OTBL"
left outer join "EXA_DB"."TEST_SCHEMA"."DATE" as "ITBL" on ("OTBL"."Date" = "ITBL"."Date")
) as "ITBL"
where { fn convert("C1", SQL_TIMESTAMP) } = {ts '2012-01-04 00:00:00'}
) as "ITBL";
The error part is - { fn convert("C1", SQL_TIMESTAMP) }
But C1 is Date type field in both. Hope it helps you assist us.
Thanks,
Siva

Thanks, until we have fixed this in the database or we have found a workaround in the connector, please install the following preprocessor script in the database and enable it on system level. This script flips the arguments of the convert function.
Please execute the following script with an Exasol DBA User (e.g. SYS) in EXAPlus, DBVisualizer:
You have to reconnect with Power Bi to Exasol afterwards
`CREATE SCHEMA IF NOT EXISTS UTILS ;
--/
CREATE OR REPLACE SCRIPT  UTIL.CONVERT_REVERSE_ORDER AS
function processconv(sqltext)
while (true) do
local tokens = sqlparsing.tokenize(sqltext)
local ifStart = sqlparsing.find(tokens,1,true,false,sqlparsing.iswhitespaceorcomment,'CONVERT','(')
if (ifStart==nil) then
break;
end
local ifEnd = sqlparsing.find(tokens,ifStart[2],true,false,sqlparsing.iswhitespaceorcomment,')')
if (ifEnd==nil) then
error("convert statement not ended properly")
break;
end
local commas1 = sqlparsing.find(tokens,ifStart[2]+1,true,true,sqlparsing.iswhitespaceorcomment,',' )
if (commas1==nil) then
error("invalid convert function")
break;
end
local convParam1=table.concat(tokens, '', ifStart[2]+1, commas1[1]-1)
local convParam2=table.concat(tokens, '', commas1[1]+1, ifEnd[1]-1)
local convStmt=convParam2..','..convParam1
sqltext=table.concat(tokens, '',1,ifStart[2])..convStmt..table.concat(tokens,'', ifEnd[1])
return sqltext
end
return sqltext
end
/
--/
CREATE OR REPLACE LUA SCRIPT "PREPROCESSCONV" () RETURNS ROWCOUNT AS
import('util.convert_reverse_order', 'convert_reverse_order')
sqlparsing.setsqltext(convert_reverse_order.processconv(sqlparsing.getsqltext()))
/
GRANT EXECUTE ON UTIL.PREPROCESSCONV TO PUBLIC;
GRANT EXECUTE ON UTIL.CONVERT_REVERSE_ORDER TO PUBLIC;
ALTER SYSTEM SET SQL_PREPROCESSOR_SCRIPT=UTIL.PREPROCESSCONV;
`

Thanks @ThomasBestfleisch .

@ThomasBestfleisch ,
I'm having an issue with the following query,
select "Month",
"MonthNo",
sum("C2") as "C1",
sum("C3") as "C2"
from
(
select "Category",
"State Bottle Cost",
"Bottles Sold",
"Sale (Dollars)",
"C1",
"Month",
"MonthNo",
"State Bottle Cost" * "Bottles Sold" as "C2",
"Sale (Dollars)" as "C3"
from
(
select "OTBL"."Category",
"OTBL"."State Bottle Cost",
"OTBL"."Bottles Sold",
"OTBL"."Sale (Dollars)",
"ITBL"."Date" as "C1",
"ITBL"."Month",
"ITBL"."MonthNo"
from
(
select "Invoice/Item Number",
"Date",
"Store Number",
"County Number",
"Category",
"Vendor Number",
"Item Number",
"Pack",
"Bottle Volume (ml)",
"State Bottle Cost",
"State Bottle Retail",
"Bottles Sold",
"Sale (Dollars)",
"Volume Sold (Liters)",
"Volume Sold (Gallons)"
from "EXA_DB"."TEST_SCHEMA"."LIQUORSALES"
where "Category" = 1071100.
) as "OTBL"
left outer join "EXA_DB"."TEST_SCHEMA"."DATE" as "ITBL" on ("OTBL"."Date" = "ITBL"."Date")
) as "ITBL"
where { fn convert( SQL_TIMESTAMP,"C1") } < {ts '2019-01-01 00:00:00'} and { fn convert("C1", SQL_TIMESTAMP) } >= {ts '2018-01-01 00:00:00'}
) as "ITBL"
group by "Month",
"MonthNo"
LIMIT 1000001
As you see above,
where { fn convert( SQL_TIMESTAMP,"C1") } < {ts '2019-01-01 00:00:00'} and { fn convert("C1", SQL_TIMESTAMP) } >= {ts '2018-01-01 00:00:00'}
The script use shared isn't converting this query. Please check.

@siva44 try this instead:
CREATE SCHEMA UTIL;
--/
CREATE OR REPLACE LUA SCRIPT UTIL."FN_CONVERT_REVERSE_ORDER_REPEATED" () RETURNS ROWCOUNT AS
function processconv(sqltext)
		local lasthit = 1
		while (true) do
			local tokens = sqlparsing.tokenize(sqltext)
			local convStart = sqlparsing.find(tokens,lasthit,true,false,sqlparsing.iswhitespaceorcomment,'fn','CONVERT','(')
			if (convStart==nil) then
				break;
			end
			lasthit=convStart[3]
			local convEnd = sqlparsing.find(tokens,lasthit,true,false,sqlparsing.iswhitespaceorcomment,')')
			if (convEnd==nil) then
				error("convert statement not ended properly")
				break;
			end
			local comma = sqlparsing.find(tokens,lasthit+1,true,true,sqlparsing.iswhitespaceorcomment,',' )
			if (comma==nil) then
				error("invalid convert function")
				break;
			end
			local convParam1=table.concat(tokens, '', lasthit+1, comma[1]-1)
			local convParam2=table.concat(tokens, '', comma[1]+1, convEnd[1]-1)
			local convStmt=convParam2..','..convParam1
			sqltext=table.concat(tokens, '',1,lasthit)..convStmt..table.concat(tokens,'', convEnd[1])
		end
		return sqltext
end
/
--/
CREATE OR REPLACE LUA SCRIPT UTIL."PREPROCESSFNCONVREPEATED" () RETURNS ROWCOUNT AS
import('util.fn_convert_reverse_order_repeated', 'fn_convert_reverse_order_repeated')
sqlparsing.setsqltext(fn_convert_reverse_order_repeated.processconv(sqlparsing.getsqltext()))
/

GRANT EXECUTE ON UTIL.PREPROCESSFNCONVREPEATED TO PUBLIC;
GRANT EXECUTE ON UTIL.FN_CONVERT_REVERSE_ORDER_REPEATED TO PUBLIC;
ALTER SYSTEM SET SQL_PREPROCESSOR_SCRIPT=UTIL.PREPROCESSFNCONVREPEATED;

Thanks @florian-wenzel .


Add syntax-definitions-to-infinity-and-beyond.md

What happens when a transformer enters an inifnite loop? GC error (heap grows), stack overflow, or infinite loop (no memory consumption)?

:D


Route type ?

in Readme.MD it's explained the type of routes generated from onRoutesGenerated is Route[ ],
https://github.com/hannoeru/vite-plugin-pages/blob/c26a177d163129f6175bc95fe5a2b9073dabac1b/README.md?plain=1#L337
However, when I write the code, it's any[ ].
Is it a glitch or there's something should be done ? if it's should be Route instead of any.. should this package export the type ?

Current we can't support all types from different frameworks,  instead we exports the route type that you can import and use it manually.