[Task]: [2022/07/05] Daily testing and verification of Choreo staging environment for Choreo samples and connector use cases

Connector Name
connectors/samples (Connector Samples/Templates)
Task Description
We need to involve in the daily testing and verification of Choreo staging environment for Choreo samples and connector use cases during Choreo releases. This is for 2022/07/05.

This is done now and reported the following issues identified
https://github.com/wso2-enterprise/choreo/issues/13993
https://github.com/wso2-enterprise/choreo/issues/13994


Added further documentation for the hashFromLeft/Right functions

Codecov Report

:exclamation: No coverage uploaded for pull request base (hash-join@18038fb). Click here to learn what that means.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             hash-join    #6895   +/-   ##
============================================
  Coverage             ?   83.18%
  Complexity           ?    13314
============================================
  Files                ?     1532
  Lines                ?    49470
  Branches             ?     5950
============================================
  Hits                 ?    41152
  Misses               ?     5525
  Partials             ?     2793

Impacted Files
Coverage Δ
Complexity Δ

...io/crate/data/join/HashInnerJoinBatchIterator.java
95.23% <ø> (ø)
13 <0> (?)

Continue to review full report at Codecov.

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


pull request for e2e test at 12/05/2016 09:26:01

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Use build output filename that is architecture independent

Step towards #134 and #168

Will handle this directly in #168. It's easier to add it there then first here and rebase afterwards.


Make it easier to compose cast functions.

Cast functions can be trivially composed, because each takes exactly one argument and returns exactly one value.  This can currently be done using a lambda function, but the syntax is verbose:
appcli.param(
    ...
    cast=lambda x: f(g(x)),
    ...
)

I think it could be convenient to interpret a list of cast functions as functions to be composed.  In other words, the snippet below would be equivalent to the snippet above:
appcli.param(
    ...
    cast=[g, f],
    ...
)

Another advantage of supporting this implicit function composition syntax is that I can give better error messages: if one of the functions fails, I can say exactly which one.


Pass through mongo credentials

Closes #162
Signed-off-by: Pavol Loffay<EMAIL_ADDRESS>

Any idea why Travis is reporting the tests have failed when they look like they have all passed?

The last job didn't start, I have started it now.


Remove X-Drone-Version header

What is the header being used for? From a security perspective this header should be removed.

This is currently the only indicator to find out the used version of drone.

We now have /version which returns the version number so I would accept a pull request that removes the header if anyone feels strongly about it. I'm going to close the issue, but feel free to send a pull request that removes it. Cheers.


Sample web UI: don't link documentation anchors [phab:D480]

Created by schroederc at 2015-08-31 16:54:40:

zarko accepted this revision at 2015-08-31 16:56:47

schroederc closed via commit 1e802c5d47f82f7054abbef56a03a9e27e07e938 at 2015-08-31 17:01:30


libquotient: 0.7.0 -> 0.7.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/quotient-im/libQuotient/releases.
meta.description for libquotient is: A Qt5 library to write cross-platform clients for Matrix
meta.homepage for libquotient is: https://matrix.org/docs/projects/sdk/quotient
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.7.1 with grep in /nix/store/4bfm7864ngrrs8nbxsr2g495wz011ics-libquotient-0.7.1
found 0.7.1 in filename of file in /nix/store/4bfm7864ngrrs8nbxsr2g495wz011ics-libquotient-0.7.1

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
libquotient
libsForQt5.neochat
plasma5Packages.neochat
quaternion

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4bfm7864ngrrs8nbxsr2g495wz011ics-libquotient-0.7.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A libquotient https://github.com/r-ryantm/nixpkgs/archive/53e90f56b0920560ed1bd4f84ed9b0c3563f0024.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4bfm7864ngrrs8nbxsr2g495wz011ics-libquotient-0.7.1
ls -la /nix/store/4bfm7864ngrrs8nbxsr2g495wz011ics-libquotient-0.7.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

quaternion

2 packages built:

libquotient
libsForQt5.neochat

Maintainer pings
cc @colemickens for testing.

Please rebase.


Decide what to do with start_decade var on making world_map

in stanadlone.py

I'm thinking we should have a second map now which worldmap-recent which is >1900

The current plot starts from 1600 CE which looks good.


Is it possible to seek to the first key less than a given key

Original issue 30 created by john.carrino on 2011-08-13T18:34:17.000Z:
I would like to find the first key that is less than a given key. I can only think of two ways to achieve this goal and they both fail.

seek to key then go back one.  This fails because if the key you want is the last key, then you have an invalid iterator and you get a segfault.
seek to key, then check if iterator is invalid (because we are past the end), then set to seekToLast and do the read.  This fails because if a key comes in before the seekToLast, then you get the wrong value.

I have attached tests to try each one.  Is there an easier way I don't know about?
TEST(DBTest, IterPastEndThenPrev) {
ASSERT_OK(Put("a", "va"));
Iterator* iter = db_->NewIterator(ReadOptions());
iter->Seek("b");
ASSERT_EQ(IterStatus(iter), "(invalid)");
iter->Prev();
ASSERT_EQ(IterStatus(iter), "a->va");
}
TEST(DBTest, IterSnapshotViewSeekToEnd) {
ASSERT_OK(Put("a", "va"));
Iterator* iter = db_->NewIterator(ReadOptions());
iter->Seek("b");
ASSERT_EQ(IterStatus(iter), "(invalid)");
ASSERT_OK(Put("c", "vc"));
iter->SeekToLast();
ASSERT_EQ(IterStatus(iter), "a->va");
}

I've run into the same issue re Prev on an "end" iterator (when Seek runs past the last key).
I tried John's tests on the latest code in master (7035af5fc36657447054617759854a726d31dbe0) and they both fail there.
On ab323f7e1ec53749653967e7d6a2fa1c922334f2, which was supposed to fix this issue, IterSnapshotViewSeekToEnd passes, but not IterPastEndThenPrev.
I currently have to use the dummy key approach suggested by David to get around it.


disable dev jobs for rosbag2_bag_v2

given that dev jobs can't source a ROS1 distro beforehand, it makes sense to disable the dev jobs for the rosbag2_bag_v2 packages as they rely on roscpp to be found.

thank you all for your help.
I don't have permissions to merge.


Support for non-input types?

I tried this out and, if I'm not mistaken, it only generates schemas (in my case, zod schemas) for input types. I would like to use this with non-input types as well (for example, to parse some JSON and ensure it adheres to the correct GraphQL type).

@markandrus @efstajas Wouldn't withObjectType solve this?
https://github.com/Code-Hex/graphql-codegen-typescript-validation-schema/blob/3a49a554b32d4c3121125c88a8e9f96c2e4b646f/README.md#withobjecttype
https://github.com/Code-Hex/graphql-codegen-typescript-validation-schema/blob/3a49a554b32d4c3121125c88a8e9f96c2e4b646f/tests/zod.spec.ts#L765-L808

I close this issue because inactive. Please open again if you need anything else.


Selective functor

See details in this blog post - http://eed3si9n.com/selective-functor-in-sbt
This implements Selective functor for Either[A, B] "task" (Initialize[Task[Either[A, B]]]).
The selective functor allows an encoding of if-expression:
  def ifS[A](
      x: Def.Initialize[Task[Boolean]]
  )(t: Def.Initialize[Task[A]])(e: Def.Initialize[Task[A]]): Def.Initialize[Task[A]]

In addition, this provides Def.taskIf macro that accepts an if-expression or a block ending in an if-expression.
This allows rewrite of publishTask regaining inspect tree publish.
  def publishTask(config: TaskKey[PublishConfiguration]): Initialize[Task[Unit]] =
    Def.taskIf {
      if ((publish / skip).value)
        Def.task {
          val s = streams.value
          val ref = thisProjectRef.value
          s.log.debug(s"Skipping publish* for ${ref.project}")
        }
      else
        Def.task {
          val s = streams.value
          IvyActions.publish(ivyModule.value, config.value, s.log)
        }
    } tag (Tags.Publish, Tags.Network)

Could the same infrastructure be used to implement https://github.com/sbt/sbt/issues/3258 ?

nice! couldn't taskDynMacroImpl automatically recognize that simple pattern in the body so that a new, separate macro is not necessary?

This is great. To add onto @bjaglin's comment, I think it should be possible to update the taskMacroImpl to recognize if the last statement in the block is a conditional or a pattern match and automatically lift it into a selective so that it could be written:
  def publishTask(config: TaskKey[PublishConfiguration]): Initialize[Task[Unit]] =
    Def.task {
      if ((publish / skip).value) {
        val s = streams.value
        val ref = thisProjectRef.value
        s.log.debug(s"Skipping publish* for ${ref.project}")
      } else {
        val s = streams.value
        IvyActions.publish(ivyModule.value, config.value, s.log)
      }
    } tag (Tags.Publish, Tags.Network)

Granted the task macros are not exactly easy to work with and are a bit fragile so I can't say how difficult it may or may not be but I actually think the encoding is the more important part so it might not be too bad. That is assuming that the syntax that I propose is actually desired.

@sjrd I don't understand the motivation for Def.settingDyn(...). Is it trying to avoid the evaluation of settings conditionally? I'm guessing that this Def.taskIf(...) in effect gives you what you wanted, which is inspect tree + conditional task.

@bjaglin wrote:

couldn't taskDynMacroImpl automatically recognize that simple pattern in the body so that a new, separate macro is not necessary (but still available)? That would benefit most of the taskDyn out there.

I think this is tricky because Def.taskDyn(...) / flatMap that cannot inspect tree is not exactly "wrong", so even if I can automatically recognize the pattern the behavior may be a bit too subtle.
Same as flatMap, Def.taskDyn is able to capture a value and forward it to the inner tasks:
Def.taskDyn {
  val s = streams.value
  if ((publish / skip).value) Def.task { s.log.info("foo") }
  else Def.task { s.log.info("bar") }
}

I think this is fairly common pattern. Selective functor specifically loses that power of passing the value in from the outer scope. I'm still allowing block in Def.taskIf(...) but all of the vals must end in the if-condition, and cannot be used in the clauses.
So now the question is what to do with the above dynamic task. It might be recognized that it does NOT fit the Def.taskIf pattern. I'd need to just use flatMap, but likely build user may have intended it to be a conditional task.
@eatkins wrote:

I think it should be possible to update the taskMacroImpl to recognize if the last statement in the block is a conditional or a pattern match and automatically lift it into a selective so that it could be written

Yeah. Between auto-converting Def.taskDyn(...) and Def.task(...), I think Def.task(...) version does look cooler because it's all pure code without Def.task {... } wrapping, and I think it's a direction worth pursuing. Also because the unadorned := { ... } can take advantage of it too. The same conundrum of "what if it's close, but no match" applies.
Maybe we could take a hint from tail call optimization, and create a @tailrec-like assertion mechanism. Since we need to check it from inside a macro I'm guessing it needs to be "check for presence of implicit" like:
  def publishTask(config: TaskKey[PublishConfiguration]): Initialize[Task[Unit]] =
    Def.task {
      import sbt.dsl.tailconditional // this adds assertion that the task is conditional
      if ((publish / skip).value) {
        val s = streams.value
        val ref = thisProjectRef.value
        s.log.debug(s"Skipping publish* for ${ref.project}")
      } else {
        val s = streams.value
        IvyActions.publish(ivyModule.value, config.value, s.log)
      }
    } tag (Tags.Publish, Tags.Network)

For a lower hanging change to this PR, maybe I can change the Def.taskIf(...) macro so that its takes if-expression of A as opposed to Def.Initialize[Task[A]] so we can do similar to what Ethan did. I'd just do Def.task {...} wrapping in the macro.

Maybe we could take a hint from tail call optimization, and create a @tailrec-like assertion mechanism. Since we need to check it from inside a macro I'm guessing it needs to be "check for presence of implicit" like...

The linter already detects the value calls in the if statements, so I don't think we'd even need an import to ensure auto lifting. You already get a warning about having foo.value inside of an if block if you try to write the kind of task that I added above.

@sjrd I don't understand the motivation for Def.settingDyn(...). Is it trying to avoid the evaluation of settings conditionally? I'm guessing that this Def.taskIf(...) in effect gives you what you wanted, which is inspect tree + conditional task.

Def.settingDyn(...) allows you to define setting values based on the runtime value of other settings.  E.g. canLaunchMissles := Def.settingDyn(role.value == President).  Your changes here are in the EvaluateTask interpreter - to do something about settingDyn you'd probably have to change EvaluateSettings.

@sjrd I don't understand the motivation for Def.settingDyn(...). Is it trying to avoid the evaluation of settings conditionally? I'm guessing that this Def.taskIf(...) in effect gives you what you wanted, which is inspect tree + conditional task.

It evaluates tasks conditionally based on the value of a setting. Def.settingDyn can be used for TaskKeys (by instantiating T = Task[U] for some U); it's just that what the dynamism depends on must be only settings. In #3258 I argue that we should be able to get much better inspect tree results with the existing API.
At the very least it could be the same information that you bring here. But for settingDyn it could in theory be even better, because inspect tree would only show the branch that is actually taken (instead of both branches, as you do here).

@eatkins ok. I implemented auto conversion in https://github.com/sbt/sbt/pull/5558/commits/b43f663b0e081647a7e4ca09a1af03b920a1a0a7. As you mentioned there's already the DSL linter, so this change in semantics should be safe. At least it shouldn't be surprising. I do have this nagging feeling that we could be scaling down the uncanny valley.
For users who grok this, the fact that we don't have to do Def.taskIf().value, and use := ... makes it more elegant. But this (Def.task becomes Selective when it's a single if) is one cognitive load build authors would need to learn to master sbt.


Fix for #33134

Updating softmax args description - logits can be of any type that can be passed to convert_to_tensor(), and associated errors. https://github.com/tensorflow/tensorflow/issues/33134

On the other hand, this is only changing the documentation of a deprecated v1 function. As we are living in a 2.0 world, maybe this is not as useful?
Can you please make the changes to the v2 code if needed?


If the multiple_images upload is null and it has a current images kee…

If the multiple_images upload is null and it has a current images keep the current images

When it will be merged?


Alt-up/Alt-down doesn't work

Just installed it. Ctrl-Alt-up and down works perfectly fine, but the Alt-up and down does not work and instead, it seems that Atom selects blocks of random code when I type Alt-Up or Alt-Down. This is the first package I have installed, so I have no other packages installed that I know of that doesn't already come with Atom. I run Windows 10.

Just installed it. Ctrl-Alt-up and down works perfectly fine, but the Alt-up and down does not work and instead, it seems that Atom selects blocks of random code when I type Alt-Up or Alt-Down. This is the first package I have installed, so I have no other packages installed that I know of that doesn't already come with Atom. I run Windows 10.

The fix to this is to go into your  keymap.cson file and add:
'atom-text-editor':
'alt-up': 'keyboard-scroll:scrollUp'
'alt-down': 'keyboard-scroll:scrollDown'
to override any previously existing packages

I've had the same issue, both with all of the keybinds, it seems that by default they weren't working so I added that to by keybind.cson.
I'm running Manjaro with i3 on a already customized Atom installation.


Added Python book check_urls=free-programming-books-de.md

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource
For resources
Description
A comprehensive guide about Python 3
Why is this valuable (or not)?
A very informative book from two university professors that covers nearly all topics about Python 3.
How do we know it's really free?
It is a website provided by the "rheinwerk-verlag", the official publisher of the book.
For book lists, is it a book? For course lists, is it a course? etc.
It is a book.
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

Thanks, and welcome to free-programming-books!


Expose "get OCI manifest digest" callback

WIP
Expose the "get OCI manifest digest" callback

I understand this is superseded by https://github.com/kubewarden/policy-sdk-rust/pull/36.


Optimize images

https://fengyuanchen.github.io/compressorjs/

Or use a CDN to enhance on the fly.

CDN added!


The twist

We used to have a button called The Twist that would make the videos on index.html spin
The code is still there in index.js but it doesn't apply to the current index.html
let t = document.getElementById('twist').addEventListener('click', () => {     let cards = document.querySelectorAll('.card')         cards.forEach(card => {         card.classList.toggle('spinCard');     }) }, false)

This already got fixed! :)


Fix withPropsOnChange shouldMap consistency

In continuation to the discussion in https://github.com/acdlite/recompose/issues/666.
Saving prevProps returns the HOC to it's original behavior before the lifecycle updates.
Added test case that fails with the current implementation and passes with the fix.

Thank you! :-)


Object not found - (findtop - check syntax)

The following code result in the error: "/zfoobar.prog.abap[13, 1]: lo_document not found, findTop(check_syntax)"
`DATA: lv_subject   TYPE so_obj_des,
lr_recipient TYPE REF TO if_recipient_bcs.
DATA(lo_send_request) = cl_bcs=>create_persistent( ).
DATA(lo_document) = cl_document_bcs=>create_document(
i_type    = 'RAW'
i_text    = VALUE #( ( line = 'ERROR' ) )
i_length  = '12'
i_subject = lv_subject ).
lo_send_request->set_document( lo_document ).`

guessing this is caused by https://github.com/abaplint/abaplint/issues/1649, as lo_document is defined in the line with syntax error

guessing this is caused by https://github.com/abaplint/abaplint/issues/1649, as lo_document is defined in the line with syntax error

guessing this is caused by #1649, as lo_document is defined in the line with syntax error

Could be related, lets put it on hold until #1649 is fixed. Then we can see if it solved this way (Y)

guessing this is caused by #1649, as lo_document is defined in the line with syntax error

Could be related, lets put it on hold until #1649 is fixed. Then we can see if it solved this way (Y)

try again,

try again,

@DennisLybecker-INVIXO did this issue solve itself?

@DennisLybecker-INVIXO did this issue solve itself?

@DennisLybecker-INVIXO did this issue solve itself?

Yes, was related to the other issue

@DennisLybecker-INVIXO did this issue solve itself?

Yes, was related to the other issue


Question about the linear layers in FluxSingleTransformerBlock implementation

Hi, Thank you for open-sourcing the SVDQuant project. The work is very impressive, and I truly appreciate the organized and clean codebase you’ve shared.
While exploring the code, I noticed some differences in the implementation of linear layers between the Nunchaku pipeline and the original Flux pipeline. Despite these differences, the image quality generated by the Nunchaku pipeline aligns remarkably well with the original Flux implementation in bf16, which is fantastic. I have a few questions to gain more insight into these design choices.
In FluxModel.cpp line260, the attention projection linear layer is defined with shape [dim, dim], and the MLP layer has a shape of [mlp_hidden_dim, dim]. The output can be represented as:

In contrast, the original Flux implementation, layers.py line238 uses a linear layer with shape [dim + mlp_hidden_dim, dim]. The corresponding output can be represented as:

These two implementations are equivalent only if:

and

My question is: Is this a characteristic of the pretrained Flux model weights, or is there a specific technique used to reduce the number of parameters during the quantization process?
I sincerely appreiacte your time for considering the question. Congratulations again on this remarkable achievement. I really enjoy the model and exploring the clean codebase you’ve shared.

These two implementations are equivalent only if:  and

This does not seem correct to me.
We actually split $W=[W_0, W_1]$ and $b=b_0+b_1$, so
$$
output = \begin{bmatrix}
attn & mlp
\end{bmatrix} * W^T + b
= \begin{bmatrix}
attn & mlp
\end{bmatrix} * \begin{bmatrix}
W_0^T \
W_1^T
\end{bmatrix} + b_0 + b_1
= ( attn \cdot W_0^T + b_0 ) + ( mlp \cdot W_1^T + b_1 )
$$

Thank you, @sxtyzhangzk, for the clarifications. My bad, I didn’t decompose the weights correctly. Sorry for the silly questions, and I truly appreciate your time and explanations. All the best!


How to find out the contents of (long resp line) ?

I tried to connect to a rediis server instance using holys/redis-cli exe on windows 10 Command Prompt. It did gave me the redis-cli prompt but every command results in (long resp line).
I need to find out the contents of "long resp line".
How can I find out the contents?

+1
https://github.com/holys/redis-cli/blob/master/vendor/github.com/holys/goredis/resp.go#L157

https://github.com/holys/redis-cli/blob/master/vendor/github.com/holys/goredis/resp.go#L157

set key val, when the val is too long, then error "long resp line" occured


artemis-database fails on a fresh install in kubernetes

Describe the bug
Using helm to install the artemis chart as documented brings all of the pods up as they should, with the exception of artemis-database that ends up in a crashloop.
This is a fresh install, no previous database exist.
`
root@control0:~/helm/artemis_git/backend-services/database/migrate# kubectl logs -f database-65f8bd7fb8-5dvng -n artemis
make: Nothing to be done for 'all'.
wait-for: waiting for rabbitmq:5672 without a timeout
wait-for: rabbitmq:5672 is available after 0 seconds
wait-for: waiting for redis:6379 without a timeout
wait-for: redis:6379 is available after 0 seconds
wait-for: waiting for postgres:5432 without a timeout
wait-for: postgres:5432 is available after 0 seconds
wait-for: waiting for graphql:8080 without a timeout
wait-for: graphql:8080 is available after 0 seconds
wait-for: waiting for notifier:3000 without a timeout
wait-for: notifier:3000 is available after 0 seconds
wait-for: waiting for prefixtree:3000 without a timeout
wait-for: prefixtree:3000 is available after 0 seconds
ERROR:  relation "db_details" does not exist
LINE 1: select version from db_details;
^
./entrypoint: line 22: [: -eq: unary operator expected
./entrypoint: line 27: [: -gt: unary operator expected
[!] Older () than intended (24) Database version found.. Trying to migrate database automatically
Initializing migration...
Connecting to db...
PostgreSQL DB created/connected..
Getting target version...
-> Target version is: 24
Getting db version...
db version not found
-> Current db version is: 0
The db schema is old.
Migrating from version 0 to 24
Starting migrations...
Loading migrations file...
Executing migration 1...
Add version and alter hijack table with seen (BOOLEAN) field.
Reading migration .sql file: migration_1.sql...

CREATE TABLE IF NOT EXISTS db_details (
version BIGINT NOT NULL,
upgraded_on TIMESTAMPTZ NOT NULL);
CREATE UNIQUE INDEX db_details_one_row
ON db_details((version IS NOT NULL));
CREATE FUNCTION db_version_no_delete ()
RETURNS trigger
LANGUAGE plpgsql AS $f$
BEGIN
RAISE EXCEPTION 'You may not delete the db_details!';
END; $f$;
CREATE TRIGGER db_details_no_delete
BEFORE DELETE ON db_details
FOR EACH ROW EXECUTE PROCEDURE db_version_no_delete();
INSERT INTO db_details (version, upgraded_on) VALUES (0, now());
ALTER TABLE hijacks
ADD COLUMN seen BOOLEAN DEFAULT FALSE;
CREATE OR REPLACE VIEW view_hijacks AS SELECT
key,type, prefix, hijack_as, num_peers_seen,
num_asns_inf, time_started, time_ended, time_last,
mitigation_started, time_detected, timestamp_of_config,
under_mitigation, resolved, active, ignored, configured_prefix,
comment, seen FROM hijacks;

Failed to execute command.
relation "hijacks" does not exist
[+] Automated migration failed. Please provide the logs to the development team.
`
Affected Component(s)

[x] Back-End (Database, Microservices, Containers, etc)
[ ] Front-End (Flask, API, etc)
[ ] Docs
[ ] Build System

To Reproduce
Steps to reproduce the behavior:

helm install -f values.yaml -f example-values.yaml artemis artemis/artemis-chart -n artemis
Wait for pods to be in Running state
kubectl logs -f database-65f8bd7fb8-5dvng -n artemis
See error

Expected behavior
As the scenario is not an upgrade from a previous artemis version, the expected result should be a database pod that gets initialised only with the necessary tables and then set the state of the pod to Running.
System (please complete the following information):

OS: Ubuntu 20.04.5
K8S: k3s version v1.23.6+k3s1 (418c3fa8)
Artemis commit 45d9003

Nevermind,
Incomatible storageclass seems to be the culprit.


Include message_doc

Closes #105. This PR moves all files from message_doc to doc/globiom or their appropriate places (e.g., merging the doc/_static directory).
Steps run so far
This follows the steps outlined in #86. In a fresh clone of message_doc, I ran
git filter-repo --path-rename :doc/global/
git filter-repo --path-rename doc/global/_static/:doc/_static/
git filter-repo --path doc/_static/combined-logo-white.png --invert-paths

In a fresh clone of message-ix-models, this was continued via
git remote add message_doc ../message_doc
git remote update
git checkout -b tmp/message-doc
git merge message_doc/main --allow-unrelated-histories
git checkout main
git checkout -b include/message-doc
git merge tmp/message-doc --allow-unrelated-histories
git push -u origin include/message-doc

Further steps mentioned by @khaeru and me:

[ ] Merge necessary parts of the sphinx config to the existing one, delete the one in globiom/
[ ] Integrate index page in the same way
[ ] Integrate bibliography in the same way
[ ] Ensure the text of the docs is still coherent given its new location
[ ] Leave behind redirects from old location of the docs (RTD-related)

How to review

Read the diff and note that the CI checks all pass.
Build the documentation and skim through the GLOBIOM section to ensure it still makes sense.

PR checklist

[ ] Continuous integration checks all ✅

~[ ] Add or expand tests; coverage checks both ✅~ No functionality added

[x] Add, expand, or update documentation.

[ ] Update doc/whatsnew.
<!--
To do this, add a single line at the TOP of the “Next release” section of
doc/whatsnew.rst, where '999' is the GitHub pull request number:
<ul>
Title or single-sentence description from above (:pull:999:).

Commit with a message like “Add #999 to doc/whatsnew”
-->

Excellent, thanks for getting this going.
Some thoughts:

"MESSAGEix-GLOBIOM" is the name used for the global model family developed by ECE. However, "GLOBIOM", on its own, is a separate model maintained by IIASA BNR. "MESSAGEix-GLOBIOM" only contains an emulator (of sorts) for results from the actual GLOBIOM model.
I am not sure whether using "globiom" as the sub-path invites confusion. At the moment, the message_doc build appears at:
https://docs.messageix.org/global/
https://docs.messageix.org/projects/global/
I would suggest to use the same fragment, so that this appears at:
https://docs.messageix.org/models/global/
https://docs.messageix.org/projects/models/global/
However, perhaps best to raise to the whole team in Slack or at the MESSAGE meeting, and ask what is easiest to communicate and least confusing.

I activated the RTD build for this branch. For the moment the root page of the added files appears at: https://docs.messageix.org/projects/models/en/include-message-doc/globiom/index.html —however this would change per the above comment and the TODOs to integrate the ToCs.

I realized we use a logo variant with a purple centre for the message_doc site (vs. yellow for the current repo). With this integration, the purple one will become unused, and could be reused elsewhere later.

Force push and edit in the description to accommodate the new location of the docs in doc/global/ rather than doc/globiom/.

Something to ponder here: the commit messages in the full history don't conform to style we prefer for message-ix-models, and some are totally uninformative.

Assuming that we'd have to go through the 1538 commits manually, that seems like it requires lots of time, even if dealing with each commit only takes a few minutes (say 4, then that still results in 100 hours to spend on this). That is also assuming that the counted line changes are correct, which seems odd as there are no deletions. Because if each commit contains many more changes compared to the roughly four lines added on average with the current numbers, the 4-minute-assumption becomes much less likely.
So while I agree that it would be nice to have a clean history here, I'm not sure it's worth the effort. The question, to me, seems to be: how often do people actually go looking to the git history in search of some specific change they need to pin down?
And even if that's more than a couple times per year, they should be able to find the commit introducing the changes they are interested in, so another question is: between knowing the author and being able to look at preceding and following commits, how much more value would a clean commit message provide?

So while I agree that it would be nice to have a clean history here, I'm not sure it's worth the effort. The question, to me, seems to be: how often do people actually go looking to the git history in search of some specific change they need to pin down?
And even if that's more than a couple times per year, they should be able to find the commit introducing the changes they are interested in, so another question is: between knowing the author and being able to look at preceding and following commits, how much more value would a clean commit message provide?

Good questions!
I think I'm mainly concerned that the history of the message-ix-models code itself is not obscured or made less useful by the 1538 additional commits.
We should also consider:

What will be the fate of the iiasa/message_doc repo? I think we will likely eventually put it into "archive" state. If so, we could put a note somewhere to consult the history/blame (e.g. https://github.com/iiasa/message_doc/blame/main/index.rst) of the archived repo, which will remain available even if we chose to "squash and merge" here.
The releases or tags in message_doc are used with RTD features to provide access to older versions of the MESSAGEix-GLOBIOM documentation. (I don't know if/how often these are consulted, if ever.) Do we want to do this in the same way? Or could we e.g. keep and link the PDF builds of those older versions, on the off-chance that people want to read those?

Still not sure what the choice will be, we can consider as work proceeds on #110.

I've just force-pushed this branch and rebased the one for #110 on it.
Some details:

I prepared this new branch using the code in #174. I used replacements.txt as one input. This generated rebase-todo.in, from which I prepared rebase-todo.txt (rebase-todo.patch).
We now see at the network graph that the "Initial commit" of message-ix-models per se is the earliest in the history, as expected. Instead of a separate initial commit for the integrated message_doc history, the other repo's initial commit appears as the first commit on this branch, as expected.
Taking advantage of the new features in the migration tool:

Commit messages are automatically filtered to start with an upper-case and to change verb tense to match the style preferred for this repo: for instance, "added new file" becomes "Add new file".
Consecutive commits with (a) the same commit message (things like "Update 8_special_features_of_the_matrix_generator.rst") and (b) the same author name are squashed together. This reduces the history by about a third, from 1537 to 1040 commits.

The 5 failures of "pytest" jobs are all the same consequences of the ixmp4 bug we are tracking in #173, so not a barrier to merging this.


Add FastQE

Adding FastQE for onboarding documentation purposes

Is there a reason for doing a micromamba installation in a naked OS image instead of starting with a python base image and installing with PIP?
Likewise is there a reason for google cloud sdk to be installed?
Both of these are bad CPG docker habits rather than good practice. Ideally you want a single tool installed in the simplest way possible.

Is there a reason for doing a micromamba installation in a naked OS image instead of starting with a python base image and installing with PIP?
Likewise is there a reason for google cloud sdk to be installed?
Both of these are bad CPG docker habits rather than good practice. Ideally you want a single tool installed in the simplest way possible.

FastQE is going to need access to the files on GCS and so will need google cloud sdk (is there another way to approach this???). I tried not using micromamba and just using the google cloud sdk docker image but that was still around 1.3Gb I believe. The above solution manages to install fastqe and google cloud sdk straight-forwardly and is only marginally bigger at 1.4Gb.

Hey Michael, just piping in here that given this image is going to be the first image that new starters interact with I think we want to make sure it follows current best practice even if the practical difference in this case is limited.

FastQE is going to need access to the files on GCS and so will need google cloud SDK

Are you reading directly from buckets, or are you intending to use standard Batch file localisation? If so, you should not need the google libraries (and is probably the better method to use as a demonstration).


Hide before/after label

Hey!
Is it there any option to hide the before and after label when the handle is over the label?
For example, hide the before label when the after image is over the text.
Mário.

You just need to omit the data-content or the elements in


BaseApplication.onCreate  (null:-1)

D: │ Instrumentation.callApplicationOnCreate  (Instrumentation.java:1028)
D: │    BaseApplication.onCreate  (null:-1)

It's not clear what the issue is. Closing this one. Please reopen if you can elaborate it more. Thanks


Delete files

Hi,
I need to delete my unused files. How can Achieve this with the Javascript SDK?
I really need to do this on my app. It's possible with parse-server? Before there was a button "Clean Up Files"...
Thanks!!!!!

You will have to manually do it.

@joeyslack how can I get the list of all files? Including the unused files?
Do yo know where can I find a example?
Thanks a los!

The old parse service had a feature for this, has anyone managed to replicate this ?

You can get inspiration from https://github.com/parse-server-modules/parse-files-utils , which does a different thing but is a good starting point. I think this feature would be a great parse-server module.


routing: Fix lots of 'message to uknown sysid' errors

mavlink2 messages may be trimmed - i.e., any trailing 0 byte is
discarded. However, mavlink-router wasn't taking that into consideration
when getting target_system from a message: it was reading past message
length.
This patch just assumes broadcast if target_system offset is past
message length: it was zero anyway.

LGTM just fix the typo on the commit message.

Updated to broadcast 0 and fix typo commit message.


Building for a sub-directory deploy

Was wondering if you could give some guidance on how to get the default instance to work in a sub-directory instead of the root. This built style guide will have to reside on a server at: domain.com/styleguide
But the static files all seem to be expecting absolute URLs as a root-directory install. Is there an easy way to reconfigure the default install? If there is, I missed it (sorry). Thanks so much.

This is something I have marked as a priority improvement when I have more time to work on the project. Currently, the easiest way would be to define your own version of the {{baseurl}} property in a global data file (src/data/config.json) and give it a value like /styleguide.
You could then use it like: src="{{config.baseurl}}/assets/toolkit/styles/toolkit.css".

I'm suddenly needing this as well so I can have multiple toolkits under one URL. I tried the baseurl redefinition and it borked out:
Error (fabricator-assemble): missed comma between flow collection entries at line 3, column 14:         "baseurl": "learner"
This is all I have in my new config.json file:
{     // built-in props     "baseurl": "/learner" }
I'm guessing I'm missing something really obvious.

Hmm. Not sure. I just tried using that same bit of JSON and it worked. Let me know if you figure it out.

It's the best kind of bug then... I'll let you know if I figure something else out. Was there any other declaration or wrapper in your config.json?

Nope. You can try writing in yml to see if that helps.

Hi,
For multiple languages I want to use "en" and "ar" directories within data and then depending on "lang:en" or "lang:ar" gray matter variable.
Regards,
Bilal


Support executor java options

Closes #235 and requires #444.

Merge https://github.com/apache-spark-on-k8s/spark/pull/444 first

@mccheah haven't figured out why PRs A <- B <- C can all be clean, and then when you merge A <-B and retarget A <- C there are conflicts.  Bottom line is, merge conflicts

I've been using a different workflow to retarget these chained PRs:

Merge downstream PR
Checkout a new branch off of master
git diff upstream-pr-branch master | git apply
git commit
git push --force

Doing it this way doesn't introduce any conflicts.


Automated generation of API docs

If there's a tool to auto-generate / update documentation based on the doc in the code, that'd be helpful.
@mihaimaruseac @spencerschrock

Since I happened to look at sigstore's docs today, would something like their system work?

uses pdoc to generate HTML documentation for the public Python APIs.

Which they run as part of their CI and deploy to github pages at https://sigstore.github.io/sigstore-python/sigstore.html
https://github.com/sigstore/sigstore-python/blob/f9e313eab473503ec688f5a12ed21c81ad9a81f2/.github/workflows/docs.yml

This looks great! Let's do it

There is some work towards this done in #279, but there are a few open questions still:

[ ] Do we only want to generate new documentation for tags, or for any change to main
[ ] I'm ignoring certain test files with pdoc CLI args, but there are other ways of ignoring files.
[ ] Setting up the GitHub Pages and where this model_signing documentation will live, compared to any future slsa_for_models documentation.

You can see an example of the documentation generated in the action run by downloading the artifact.

This looks good to me, thank you!
I think we might need to reorder the files in the repo as they're not in a good shape for packaging to a wheel. I'll read more about this and experiment to see if we can avoid it, otherwise we need to decide if we wait for #240 or we'd have it rebase again

#279 has been rebased to account for the layout change in #283, and now makes use of hatch.
You can see the latest action run and artifact from the PR.

https://sigstore.github.io/model-transparency


Fix aligned alloc feature condition on C++14 compiler

The updated condition will only compile if both C++17 and C11 compliance are met, guaranteeing that the aligned_alloc feature is available.
Relevant closed PR #57707
Fixes #57706

Hi @haozha111 Can you please review this PR ? Thank you!


Using Model for Inference

Hi ! I am also trying to use the model for inference but when I use the above mode with a singular checkpoint. Using this command
python train.py -task ext -mode train -bert_data_path ../bert_data/cnndm -ext_dropout 0.1 -model_path ../models -lr 2e-3 -visible_gpus 0 -report_every 50 -save_checkpoint_steps 1000 -batch_size 3000 -train_steps 50000 -accum_count 2 -log_file ../logs/ext_bert_cnndm -use_interval true -warmup_steps 10000 -max_pos 512
I get this error during train,validate or test：
File "D:\code\PreSumm-master\PreSumm-master\src\models\data_loader.py", line 195, in preprocess
tgt = ex['tgt'][:self.args.max_tgt_len][:-1]+[2]
KeyError: 'tgt'

As far as I know, for interference you need to use -mode test and use -test_from path/to/pt.file

Had the same error when I used the data downloaded from the BertSum README (https://github.com/nlpyang/BertSum). Changed it with the one from PreSumm (https://github.com/nlpyang/PreSumm) and I no longer have the error. Hope it helps!


Remove DWQMercuryInFishTissue from Internal/OpenSGID

Summary

Internal Dataset Name: SGID.ENVIRONMENT.DWQMercuryInFishTissue
External Dataset Name: Utah DWQ Mercury In Fish Tissue
ArcGIS Online Url: https://www.arcgis.com/home/item.html?id=e158a886d03d47169f687d18a2458748

This is part of a group of layers (used in the DEQ Interactive Map) that DWQ has recently moved from File Geodatabases on a network share to AGOL hosted feature layers. This means that we no longer need to pull data from their file share for the interactive map and can instead reference their AGOL items directly. These layer are also currently in SGID. We can now remove them from internal/OpenSGID and our AGOL org and replace them with shared items from DEQ in SGID for ArcGIS.
Migration Guide
This dataset has been replaced by this DEQ AGOL Service.
Action items
These items should be addressed before any further actions are taken.

[x] Should the new DEQ AGOL item be included in SGID on ArcGIS? Yes via shared items from DEQ
[x] Should the new DEQ AGOL item be included in the SGID Index? Yes
[x] Work with Ryan Parker to get his AGOL item standardized and shared to our Hub (@gregbunce, completed: 2024/90/19)

Soft Delete
The purpose of the soft delete is to ensure that all of our users and applications have gracefully migrated off of the dataset. Soft deletes will remain in effect for 14 days. During this time, we will have the ability to restore the dataset to its original SGID offering(s). After these 14 days, the item is then ready for a hard delete.
Note: If this dataset is being replaced, then wait until the new data is publicly available before completing these steps:

[x] Append "(Mature Support)" to the end of the item title in the SGID.META.AGOLItems table (@stdavis, completed: 2024/09/30)
[x] Remove all tags other than "Deprecated" in the SDE metadata (@stdavis, completed: 2024/09/30)
[x] Add note to SDE description noting when layer will be deleted and any replacement layer (@stdavis, completed: 2024/09/30)
[x] Update the SGID Index to point to the DEQ AGOL item (@stdavis, completed: 2024/09/30)
[x] Change Authoritative field to d in SGID.META.AGOLItems to automatically set the Deprecated AGOL flag. Allow the d to persist through one run of Auditor - currently, Auditor runs daily at 5:00am (@stdavis, completed: 2024/09/30)

After at least one successful run of Auditor:

[x] Remove the row from the SGID.META.AGOLItems table. This will trigger the removal of this item in Open SGID (@stdavis, completed: 2024/10/14)
[x] Unshare the item from its SGID group, which will remove it from the SGID on ArcGIS (@stdavis, completed: 2024/10/14)
~- [ ] Check if this layer in the base maps.  It is recommended to complete the soft delete process before moving on to these steps. If you decide to skip the soft delete, note that you will need to incorporate some of those steps here.

[x] Manually remove data from the Internal SGID (@ZachBeck, completed: 2024/12/10)

[x] Deprecated database layers should be backed up on Google Drive > AGRC Projects > SGID > deprecated layers > internal_db_sgid_layers (@ZachBeck, completed: 2024/12/10).

[x] Remove ArcGIS Online item: (@ZachBeck, completed: 2024/12/10)

Manually delete the AGOL item
-OR-
~- Unshare by changing the AGOL_ITEM_ID field in SGID.META.AGOLItems to something other than an Item ID and manually changing the sharing settings (remove the item from all SGID groups, remove Public sharing),~
-OR-
~- Shelve the data by copying the row from SGID.META.AGOLItems to the AGOLItems_shelved table in AGOL and changing the AGOL_ITEM_ID field in SGID.META.AGOLItems to shelved or some other note.~
Deprecated AGOL items can be backed up on Google Drive > AGRC Projects > SGID > deprecated layers > agol_sgid_layers.
~- [ ] Remove Farm from AGOL connection (name, completed: 2024/00/00)~
~- [ ] Update the SGID Index fields: "arcGisOnline", "openSgid", "openSgidTableName" (@stdavis, completed: 2024/00/00)~

[x] Update relevant gis.utah.gov data pages (including downloadMetadata.ts) (@stdavis, completed: 2024/00/00)
~- [ ] Update SGID.META.AGOLItems table (name, completed: 2024/00/00)~

cut and paste row to AGOLItems_shelved table if shelving (see below)
set the AGOL_ITEM_ID field to hosted by <agency> for Farm from AGOL
set the AGOL_ITEM_ID field to exclude from AGOL to not publish to ArcGIS Online

[x] Delete Google Drive data (@ZachBeck, completed: 2024/12/10)
[x] Remove row from SGID.META.ChangeDetection (@stdavis, completed: 2024/10/21)
[x] Remove data from forklift hashing and receiving (@stdavis, completed: 2024/10/21)
[x] Remove row from data/hashed/changedetection.gdb/TableHashes (@stdavis, completed: 2024/10/21)

Shelve/Static
Choose one based on situation.
~- [ ] Upload to UtahAGRC/AGRC_Shelved folder in AGOL (New shelved item not already in AGOL) (name, completed: 2024/00/00)~
~- [ ] Move existing AGOL item to AGRC_Shelved AGOL folder (shelving an item already in AGOL) (name, completed: 2024/00/00)~
~- [ ] Upload to appropriate UtahAGRC/{SGID Category} folder in AGOL (for static datasets) (name, completed: 2024/00/00)~
Add record to table.
~- [ ] Add record to AGOLItems_shelved table in ArcGIS Online with shelved or static in the CATEGORY field (name, completed: 2024/00/00)~
:robot: Automation validation

Assign yourself or someone to check the item by replacing name with their github @name.
Check [x] the box and add the date of verification 2020/01/01 when the task is verified.
~Strike~ out all items that do not apply.

[x] Remove data from Open SGID (@stdavis on 2024/10/21)
~[ ] sgid-index (@steveoh on 2024/00/00)~
[x] Auditor sets appropriate shelved/static/Deprecated information (@jacobdadams on 2024/10/01)

Are there service dependencies

[x] Are clients querying this data with the WebAPI?
No, I checked the dashboard and couldn't find any requests.
[x] Notify Don Jackson (don.jackson1 at motorolasolutions.com) if the data is in the Next-Generation 911 Motorola Aware Map? (@gregbunce on 2024/09/16)
[x] Does any other application depend on this data?
Enviro, but I've already pointed it at the new AGOL items. There may be some cleanup in forklift at some point but I don't think that it should block this porter item.

Notification

[ ] Twitter (@steveoh)

Group Task Assignments

Check [x] the box when you have assigned all the tasks relevant to your group.

[x] Data Team (@ZachBeck)
[x] Dev Team (@steveoh)
[x] Cadastre Team (@rkelson)

conductor results for tasks - 343

check
status

@gregbunce has completed 0 out of 3 tasks
:no_entry:

@stdavis has completed 0 out of 12 tasks
:no_entry:

@steveoh has completed 0 out of 3 tasks
:no_entry:

@jacobdadams has completed 0 out of 1 tasks
:no_entry:

@rkelson has completed 0 out of 1 tasks
:no_entry:

conductor results for tasks - 343

check
status

@gregbunce has completed 0 out of 3 tasks
:no_entry:

@stdavis has completed 0 out of 12 tasks
:no_entry:

@steveoh has completed 0 out of 3 tasks
:no_entry:

@jacobdadams has completed 0 out of 1 tasks
:no_entry:

@rkelson has completed 0 out of 1 tasks
:no_entry:

conductor results for environment.dwqmercuryinfishtissue

check
status

internal sgid
:no_entry:

meta table
:no_entry:

open sgid
:no_entry:

open data
:no_entry:

arcgis online
:no_entry:

stewardship

- porter issue link
:no_entry:

conductor results for environment.dwqmercuryinfishtissue

check
status

internal sgid
:no_entry:

meta table
:no_entry:

open sgid
:no_entry:

open data
:no_entry:

arcgis online
:no_entry:

stewardship

- porter issue link
:no_entry:

conductor results for tasks - 343

check
status

@gregbunce has completed 0 out of 3 tasks
:no_entry:

@stdavis has completed 0 out of 12 tasks
:no_entry:

@steveoh has completed 0 out of 3 tasks
:no_entry:

@jacobdadams has completed 0 out of 1 tasks
:no_entry:

@rkelson has completed 0 out of 1 tasks
:no_entry:

conductor results for environment.dwqmercuryinfishtissue

check
status

internal sgid
:no_entry:

meta table
:no_entry:

open sgid
:no_entry:

open data
:no_entry:

arcgis online
:no_entry:

stewardship

- porter issue link
:no_entry:

conductor results for tasks - 343

check
status

@gregbunce has completed 3 out of 7 tasks
:no_entry:

@stdavis has completed 0 out of 12 tasks
:no_entry:

@steveoh has completed 0 out of 3 tasks
:no_entry:

@jacobdadams has completed 0 out of 1 tasks
:no_entry:

@rkelson has completed 0 out of 1 tasks
:no_entry:

conductor results for environment.dwqmercuryinfishtissue

check
status

internal sgid
:no_entry:

meta table
:no_entry:

open sgid
:no_entry:

open data
:no_entry:

arcgis online
:no_entry:

stewardship

- porter issue link
:no_entry:

conductor results for tasks - 343

check
status

@gregbunce has completed 3 out of 7 tasks
:no_entry:

@stdavis has completed 0 out of 12 tasks
:no_entry:

@steveoh has completed 0 out of 3 tasks
:no_entry:

@jacobdadams has completed 0 out of 1 tasks
:no_entry:

@rkelson has completed 0 out of 1 tasks
:no_entry:

conductor results for environment.dwqmercuryinfishtissue

check
status

internal sgid
:no_entry:

meta table
:no_entry:

open sgid
:no_entry:

open data
:no_entry:

arcgis online
:no_entry:

stewardship

- porter issue link
:no_entry:

conductor results for tasks - 343

check
status

@gregbunce has completed 3 out of 7 tasks
:no_entry:

@stdavis has completed 5 out of 12 tasks
:no_entry:

@steveoh has completed 0 out of 3 tasks
:no_entry:

jacobdadams has completed 1 out of 1 tasks
:+1:

@rkelson has completed 0 out of 1 tasks
:no_entry:

conductor results for environment.dwqmercuryinfishtissue

check
status

internal sgid
:no_entry:

meta table
:no_entry:

open sgid
:no_entry:

open data
:no_entry:

arcgis online
:no_entry:

stewardship

- porter issue link
:+1:

conductor results for tasks - 343

check
status

@gregbunce has completed 3 out of 7 tasks
:no_entry:

@stdavis has completed 5 out of 12 tasks
:no_entry:

@steveoh has completed 0 out of 3 tasks
:no_entry:

jacobdadams has completed 1 out of 1 tasks
:+1:

rkelson has completed 1 out of 1 tasks
:+1:

conductor results for environment.dwqmercuryinfishtissue

check
status

internal sgid
:no_entry:

meta table
:no_entry:

open sgid
:no_entry:

open data
:no_entry:

arcgis online
:no_entry:

stewardship

- porter issue link
:+1:

conductor results for tasks - 343

check
status

@gregbunce has completed 3 out of 7 tasks
:no_entry:

@stdavis has completed 7 out of 12 tasks
:no_entry:

@steveoh has completed 0 out of 3 tasks
:no_entry:

jacobdadams has completed 1 out of 1 tasks
:+1:

rkelson has completed 1 out of 1 tasks
:+1:

conductor results for tasks - 343

check
status

@gregbunce has completed 3 out of 7 tasks
:no_entry:

stdavis has completed 12 out of 12 tasks
:+1:

@steveoh has completed 0 out of 3 tasks
:no_entry:

jacobdadams has completed 1 out of 1 tasks
:+1:

rkelson has completed 1 out of 1 tasks
:+1:

conductor results for tasks - 343

check
status

gregbunce has completed 2 out of 2 tasks
:+1:

stdavis has completed 12 out of 12 tasks
:+1:

jacobdadams has completed 1 out of 1 tasks
:+1:

@steveoh has completed 0 out of 2 tasks
:no_entry:

@ZachBeck has completed 0 out of 1 tasks
:no_entry:

rkelson has completed 1 out of 1 tasks
:+1:

conductor results for tasks - 343

check
status

gregbunce has completed 2 out of 2 tasks
:+1:

stdavis has completed 12 out of 12 tasks
:+1:

jacobdadams has completed 1 out of 1 tasks
:+1:

@steveoh has completed 0 out of 2 tasks
:no_entry:

@ZachBeck has completed 0 out of 1 tasks
:no_entry:

rkelson has completed 1 out of 1 tasks
:+1:

conductor results for environment.dwqmercuryinfishtissue

check
status

internal sgid
:no_entry:

meta table
:+1:

stewardship

- porter issue link
:+1:

conductor results for tasks - 343

check
status

gregbunce has completed 2 out of 2 tasks
:+1:

stdavis has completed 12 out of 12 tasks
:+1:

jacobdadams has completed 1 out of 1 tasks
:+1:

@steveoh has completed 0 out of 2 tasks
:no_entry:

@ZachBeck has completed 0 out of 1 tasks
:no_entry:

rkelson has completed 1 out of 1 tasks
:+1:

conductor results for environment.dwqmercuryinfishtissue

check
status

internal sgid
:no_entry:

meta table
:+1:

stewardship

- porter issue link
:+1:

conductor results for tasks - 343

check
status

gregbunce has completed 2 out of 2 tasks
:+1:

stdavis has completed 12 out of 12 tasks
:+1:

jacobdadams has completed 1 out of 1 tasks
:+1:

@steveoh has completed 0 out of 2 tasks
:no_entry:

@ZachBeck has completed 0 out of 1 tasks
:no_entry:

rkelson has completed 1 out of 1 tasks
:+1:

conductor results for tasks - 343

check
status

gregbunce has completed 2 out of 2 tasks
:+1:

stdavis has completed 12 out of 12 tasks
:+1:

jacobdadams has completed 1 out of 1 tasks
:+1:

@steveoh has completed 0 out of 2 tasks
:no_entry:

ZachBeck has completed 1 out of 1 tasks
:+1:

rkelson has completed 1 out of 1 tasks
:+1:

conductor results for environment.dwqmercuryinfishtissue

check
status

internal sgid
:no_entry:

meta table
:+1:

stewardship

- porter issue link
:+1:

conductor results for environment.dwqmercuryinfishtissue

check
status

internal sgid
:+1:

meta table
:+1:

stewardship

- porter issue link
:+1:

I should for consistency. I'll take care of it.


Programs Request Page-Admin-App  Sprint 5

Description:

Build the Screen using the style guide.
Integrate Screen with the Backend

Acknowledged.


chore: address porting notes in Archive.Wiedijk100Theorems.Partition

convert no longer hits a timeout here.

compare to the mathlib3 versions of these theorems:
https://github.com/leanprover-community/mathlib/blob/65a1391a0106c9204fe45bc73a039f056558cb83/archive/wiedijk_100_theorems/partition.lean#L373-L395
https://github.com/leanprover-community/mathlib/blob/65a1391a0106c9204fe45bc73a039f056558cb83/archive/wiedijk_100_theorems/partition.lean#L421-L441

I tried to locate the first commit where the timeout were fixed, but as far as I can tell, not even the original commit (https://github.com/leanprover-community/mathlib4/commit/f3f3f1cb9e0147dab62fc62c26758c77e5a0c35a) hits timeouts when switched to convert.
So my hypothesis is that @Komyyy initially started the porting on an older version of mathlib4, but that by the time the PR was submitted and merged, the porting notes were already obsolete.


Support MKL for LAPACKE

Has this been investigated/performed?
We have a compilation working using the templates for the other math libraries in using MKL that ships with Intel 18.0, but as we are not a user of 'BART' we'd need some help making sure basic tests work.
-Kevin (from MARCC - Maryland Advanced Research Computing Center - Johns Hopkins)

Hi,
You should be able to link to MKL libraries if you add the following declarations to a Makefile.local that sits in the base directory:
## Makefile.local
# Compilers
CC=gcc
CXX=g++

# Intel
MKL=1
MKL_BASE=/opt/intel/compilers_and_libraries/linux/mkl
USE_INTEL_KERNELS=1
LINKER=icc

You may need to replace your 'MKL_BASE' with the appropriate path, as well as sourcing the MKL tools to your path, through compilervars.sh.
To verify, you can run ldd ./bart and check the links:
linux-vdso.so.1 =>  (0x00007ffc5efbc000)
	libfftw3f.so.3 => /home/jtamir/tools/fftw-3.3.6-pl2/build/lib/libfftw3f.so.3 (0x00007f53439cb000)
	libfftw3f_threads.so.3 => /home/jtamir/tools/fftw-3.3.6-pl2/build/lib/libfftw3f_threads.so.3 (0x00007f53437c4000)
	libmkl_intel_lp64.so => /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_intel_lp64.so (0x00007f5342d8d000)
	libmkl_gnu_thread.so => /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_gnu_thread.so (0x00007f5341b45000)
	libmkl_core.so => /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64_lin/libmkl_core.so (0x00007f5340013000)
	libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f533fdee000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f533fae5000)
	libmvec.so.1 => /lib/x86_64-linux-gnu/libmvec.so.1 (0x00007f533f8bc000)
	libiomp5.so => /opt/intel/compilers_and_libraries_2017.4.196/linux/compiler/lib/intel64/libiomp5.so (0x00007f533f518000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f533f196000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f533ef80000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f533ed63000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f533e999000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f533e795000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f533e57b000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f5343dec000)

Apologies, this appears to not be supported in the public branch currently. I will add the changes and update you.

I assume this is solved.


How to know whether a user had already responded to and SDR or not? And what was his response?

In the history screen, we show the early scanned SDRs. We need to know if the user had already approved, already rejected, or if he did not take an action regarding this SDR. Because in the case of early approval, we need to show him a button to track with the Issuer. And in the case of rejection, we need to show him an option for approval. And in the case of no early action, we need to show him both Approve and Reject options.
Thanks,

@Muhammad-Altabba you could use the threadId to try and tie requests and responses on the front-end. If the user has a vp message with the same threadId as the request you could make the assumption he responded or at least attempted. The response will be in the vp message.
There is no concept of a request 'rejection' - only Accept or No Action. You could however create some custom logic for the accept/rejection states like creating accept/rejection credentials with the threadId and saving it.


CANT LOGIN IN IT

i try login in and keep said  active or memo etc . but i already register and set to sell my cards with user name icesuncc  then next day  now i cant login in to check card or pick up $$$ hivesigner keep reject me so what heck going on
Invalid username or password. You need to use master, active, posting or memo key to login.

@icesuncc did it work now?

yes it work thanks
@feruzm


Consider for setting Floating IP for single VMs, not only for VRs

Enhancement Request
Description
Should be opportunity for add ETH0_VROUTER_IP directly to VMs without creating VRs.
This is most simple solution for have failover IP address.
You don't need to create any new networks or virtual routers, just assign the floating IP directly to VMs
(In addition, it is already supported by addon-context-linux)
Use case

You don't need to have back network for use "floating IP" feature
You don't need to think about nat rules
Easy manage
Easy administrate
It also can be simple integrated into cloud view (for sunstone)

Yes this is very interesting indeed. Note that there are two different issues:

Ability to define shared IPs across VMs.
The actual routing of the traffic.

I assume this issue is related to 1. In this way a user can request a floating IP for a set of VMs implementing a load-balancer for example.
However, we need to assign an entity to actually request the IP and control access to it. We are thinking to let the VMGroups to request floating IPs role-wise, and so shared across all VMs in the role

Would it be possible to create floating IPs in e.g. a Virtual Network have a specific tab Floating IPs in which you select an IP and assign it to specific VMs.

@kustodian +1 for that, no need VM Groups please.
But I think we can do this like improvement for address reservations feature.

The new network will be created, all addresses of which will provided with one floating IP.
CLI changes:
## SYNOPSIS

`onevnet` <command> [<args>] [<options>]

## COMMANDS

     --float                   Makes this IP request a Floating one

## OPTIONS

   * reserve <vnetid> [<vnetid>]
        Reserve addresses from the Virtual Network. A new virtual network will
        be created to hold the reservation. Optionally the reservation can be
        put on an exisiting VNET, as long as it contains a valid reservation
        from the same VNET
        valid options: verbose, help, version, user, password, endpoint, address_range, name, size, mac, ip, ip6, float

XML_RPC API changes:
one.vn.reserve

Description: Reserve network addresses.
Parameters

+------+------------+---------------------------------------------+
| Type | Data Type  |                 Description                 |
+======+============+=============================================+
| IN   | String     | The session string.                         |
+------+------------+---------------------------------------------+
| IN   | Int        | The virtual network to reserve from.        |
+------+------------+---------------------------------------------+
| IN   | String     | Template, see below.                        |
+------+------------+---------------------------------------------+
| OUT  | Boolean    | true or false whenever is successful or not |
+------+------------+---------------------------------------------+
| OUT  | Int/String | The resource ID / The error string.         |
+------+------------+---------------------------------------------+
| OUT  | Int        | Error code.                                 |
+------+------------+---------------------------------------------+

The third parameter must be an OpenNebula ATTRIBUTE=VALUE template, with these values:
+-------------+------------------------------------------------------------------------------------------------------------------------+-----------+
| Attribute   |                                                      Description                                                       | Mandatory |
+=============+========================================================================================================================+===========+
| SIZE        | Size of the reservation                                                                                | YES       |
+-------------+------------------------------------------------------------------------------------------------------------------------+-----------+
| NAME        | If set, the reservation will be created in a new Virtual Network with this name                                        | NO        |
+-------------+------------------------------------------------------------------------------------------------------------------------+-----------+
| AR_ID       | ID of the AR from where to take the addresses                                                                          | NO        |
+-------------+------------------------------------------------------------------------------------------------------------------------+-----------+
| NETWORK_ID  | Instead of creating a new Virtual Network, the reservation will be added to the existing virtual network with this ID. | NO        |
+-------------+------------------------------------------------------------------------------------------------------------------------+-----------+
| MAC         | First MAC address to start the reservation range [MAC, MAC+SIZE)                                                       | NO        |
+-------------+------------------------------------------------------------------------------------------------------------------------+-----------+
| IP          | First IPv4 address to start the reservation range [IP, IP+SIZE)                                                        | NO        |
+-------------+------------------------------------------------------------------------------------------------------------------------+-----------+
| FLOATING_IP | Enable floating IP for this reservation [YES/NO]                                                                       | NO        |
+-------------+------------------------------------------------------------------------------------------------------------------------+-----------+

We can also provide opportunity for enable or disable "Floating IP" feature for existing network reservations. It can be simple achieved by FLOATING_IP ="yes" variable for virtual network template.

If it is enabled, then first free ip from reservation will used as floating one.
If it is disabled, it will give back unused IP address.

Important thing, that user can pass wanted ip with --ip parameter, so we always need to use first one (or first free) as floating.
Another Important thing, that we need to counnt number of ip addresses right, I'm about --size option. So, if user created floating ip reservation with 2 addresses it will actually mean that "reservation of 3 addresses where one is floating"

Another idea that we can create new method similar to one.vn.reserve but it will be used only for creating floating ips, it can be more user-friendly.
If so, then:
Sunstone changes:
Go to the virtual network, and click "Create Floating IP" button.
The new network will be created. This network will contain only one IP-address, but can have so much leases as top network have.
CLI changes:
## SYNOPSIS

`onevnet` <command> [<args>] [<options>]

## COMMANDS

     --float                   Makes this reservation a Floating one

## OPTIONS

   * addfloat <vnetid> [<vnetid>]
        Create floating ip addresses from the Virtual Network. A new virtual network will
        be created with floating ip.
        valid options: verbose, help, version, user, password, endpoint, name, mac, ip, ip6

XML_RPC API changes:
one.vn.addfloat

Description: Create floating ip addresses.
Parameters

+------+------------+-------------------------------------------------+
| Type | Data Type  |                 Description                     |
+======+============+=================================================+
| IN   | String     | The session string.                             |
+------+------------+-------------------------------------------------+
| IN   | Int        | The virtual network to create floating ip from. |
+------+------------+-------------------------------------------------+
| IN   | String     | Template, see below.                            |
+------+------------+-------------------------------------------------+
| OUT  | Boolean    | true or false whenever is successful or not     |
+------+------------+-------------------------------------------------+
| OUT  | Int/String | The resource ID / The error string.             |
+------+------------+-------------------------------------------------+
| OUT  | Int        | Error code.                                     |
+------+------------+-------------------------------------------------+

The third parameter must be an OpenNebula ATTRIBUTE=VALUE template, with these values:
+-------------+------------------------------------------+-----------+
| Attribute   |             Description                  | Mandatory |
+=============+==========================================+===========+
| NAME        | Name for the new Virtual Network         | YES       |
+-------------+------------------------------------------+-----------+
| MAC         | MAC address for choose floating IP [MAC] | NO        |
+-------------+------------------------------------------+-----------+
| IP          | IPv4 address for choose floating IP [IP] | NO        |
+-------------+------------------------------------------+-----------+

This is now implemented with NIC_ALIAS


various fixes

fixes testsuite by reenginiering it:

new docker container which has preinstalled python 3.9 and 3.10 based on debian bullseye with gdal 3.2.2.
elasticsearch container to test against. In my pov this should be deprecated. Better would be to mock elasticsearch and test against the mock instead of this system test behavior.
The test container run matrix tests by using tox against django version 4.0, 4.1 and 4.2 combined with python 3.9 and 3.10.
If all tests successes, the container will exit with code 0.

No solution found for

python 3.8 will raise sqlite3.Connection object has no attribute 'enable_load_extension' for all sqlite depending tests
django 3.2 will raise django.db.utils.OperationalError: no such function: lwgeom_version for all spatial db depending tests

fixes also
#80, #81

@constantinius could you pls review, merge and bump a new realease. thx

@jokiefer This PR is quite massive, I need more time to review to see if all of it is applicable.

@constantinius take your time. It was a lot of testing against the github action/docker container; thats why there are a flood of commits.


DefaultAzureCredential prints get_token failed even when it succeeds

Package Name: azure-identity
Package Version: 1.6.0
Operating System: MacOS
Python Version: 3.7.4

Describe the bug
When authenticating using the DefaultAzureCredential in a Jupyter Notebook, it will try several authentication mechanisms as described here, as expected.
But even if one of the authentication methods happen to succeed, you will see the messages for the authentication methods that didn't succeed before the final (successful) authentication method was attempted (which you don't get a success message).
So you may see a message like this, even if the authentication succeeded (in this case via Interactive Browser):
EnvironmentCredential.get_token failed: EnvironmentCredential authentication unavailable. Environment variables are not fully configured.
ManagedIdentityCredential.get_token failed: ManagedIdentityCredential authentication unavailable, no managed identity endpoint found.
SharedTokenCacheCredential.get_token failed: SharedTokenCacheCredential authentication unavailable. No accounts were found in the cache.
VisualStudioCodeCredential.get_token failed: Failed to get Azure user details from Visual Studio Code.
AzureCliCredential.get_token failed: Please run 'az login' to set up an account

This is confusing because the user may think that the authentication failed.
Ideally we should not show the failed attempts if one of them succeeded.
Or at least it should display which authentication method succeeded at the end...
To Reproduce
Steps to reproduce the behavior:

Authenticate with any Azure SDK client that accepts DefaultAzureCredential in a Jupyter Notebook
Don't pass environment variables for the EnvironmentCredential so that you see at least one get_token failed message even when one of the authentication methods succeeded.

Expected behavior
Don't show failed messages if one of the authentication methods succeeded.
Or show what was attempted but also show what succeeded.
Related issues

azure-quantum: https://github.com/microsoft/qdk-python/issues/67

This happens because DefaultAzureCredential actually requests a token from instances of those other credential types. The inner credentials are the source of the messages. DefaultAzureCredential itself already does what you want: it logs a failure warning iff none of its inner credentials provides a token, and logs an info message when it succeeds (I assume your logging configuration is filtering that message).
I agree it would be nice to suppress the inner credentials' warnings. It's possible to do that internally but my first ideas as to how are hacky. I'll keep thinking. As a workaround, an application can do it with a logging filter, for example:
import logging
import sys

def filter_credential_warnings(record):
    """Suppress warnings from credentials other than DefaultAzureCredential"""
    if record.levelno == logging.WARNING:
        message = record.getMessage()
        return "DefaultAzureCredential" in message
    return True

logger = logging.getLogger("azure.identity")
handler = logging.StreamHandler(stream=sys.stdout)
handler.addFilter(filter_credential_warnings)
logger.addHandler(handler)


Adding proc_macro #[required(TransformComponent, ...)] for Component.

What problem does this solve or what need does it fill?
A required proc_macro will add automatically specified components along with component that has this proc_macro.
What solution would you like?
Don't know.
What alternative(s) have you considered?
None.
Additional context
This is similiar to the Unity's RequieredComponent attribute. If we specify this attribute, then, with adding component to the GameObject, will be also added specified components (by components I mean MonoBehaviours).

This is actually being discussed/designed over in https://github.com/bevyengine/bevy/discussions/14437! 😄

This is actually being discussed/designed over in #14437! 😄

Oh, thanks. Didn't see it.

Closing as a duplicate of https://github.com/bevyengine/bevy/issues/7272. Being added in https://github.com/bevyengine/bevy/pull/14791.


Fix email input size

What's wrong with the size?

Seems like there should be some max size, but if that's what you expected, please close.


fix: 🐛 keep ref to original setImmediate and wrap it in func

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


New /from-stdin

Adds /from-stdin to ignore missing user, domain and password
Implemented GatewayAuthenticate callbacks for windows and X11 clients
Implemented full Authenticate callback for X11

+1

besides my remarks LGTM

Although I'm very happy we have that again this PR unfortunately changes the default behavior. Usually , when no additional parameter were given, only the password was prompted. Now the domain is prompted as well. But for example if the username is given the Domain isn't asked for.
I'm not sure if we wan't need this in that form.  IMHO we should have a consistent way.
xfreerdp /v:<IP_ADDRESS>
[11:32:10:651] [25677:25678] [INFO][com.freerdp.client.x11] - No user name set. - Using login name:  xxxx
Domain:
Password:


Allow value pointing to a class or whose type has a new signature to be used as a type

Suggestion
🔍 Search Terms
refers to value used as type static class generic
✅ Viability Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
When a class is created by a static method, there doesn't seem to be a way to directly use it as a class type.
📃 Motivating Example
class BaseClass {
    constructor() {}

    static cloneClass() {
        return class extends this { };
    }
}

function takeBase(base: BaseClass) {} // Ok
takeBase(new BaseClass()); // Ok

const CreatedClass = BaseClass.cloneClass();

function takeCreated(created: CreatedClass) {}
//                            ~~~~~~~~~~~~
// 'CreatedClass' refers to a value, but is being used as a type here.
// Did you mean 'typeof CreatedClass'?

takeCreated(new CreatedClass()); // Ok

While CreatedClass is indeed a value, it's a value that happens to be equal to a class.
💻 Use Cases
In general, class factories like this are rather unwieldy to set up in the type system.
For a specific use case, see https://github.com/gr2m/javascript-plugin-architecture-with-typescript-definitions/pull/57, as posted in SO at https://stackoverflow.com/questions/68201386/how-to-make-required-constructor-options-optional-when-they-were-set-using-mycla. Those Oktokit classes have a static defaults member that returns a new class. That new class has a constructor parameter whose type information must be informed by the previous static class' generic.
See this playground link for a version that uses an interface to describe the class, and this playground link for a verson that purely uses a static class. The former would be resolved nicely by this issue's requested feature; the latter would be doable in a more complex way if #26242 and/or #5863 are implemented.
cc @gr2m

But you can refer to it using the typeof operator. This works just fine:
function takeCreated(created: InstanceType<typeof CreatedClass>) {}

@MartinJohns true, but that's got pretty bad ergonomics. See the linked issue -- library authors shouldn't have to force the constituents into using type shenanigans like that.

I really don't see how this is "type shenanigans". It's just how the type system is designed and works.
But const variables not introducing new types is the intended behavior.

Name resolution isn't allowed to have fallback behavior. Doing this creates a semantic trap where adding a new top-level type possibly changes the meaning of existing code. And obviously we can't change the behavior to prefer an inner-scoped const over an outer-scoped interface; this would be breaking beyond measure.

I think the root of what this issue is asking for ends up not being fallback behavior, but rather more permissiveness in defining new type system constructs through variable creations.
Today, this does create a new MyClass type [playground]:
function createClass() {
  return class {};
}

const MyClass = createClass();

new MyClass();

However, this does not [playground]:
declare function createClass(): {
  new(): {};
}

const MyClass = createClass();

new MyClass();

The only difference between the implementation return class {}; and the declared : { new(): {}; }; is that a class expression today adds a new type but a { new(): ... } does not.
Regardless of whether I'm introducing new information or just rephrasing points already refuted 😉 , #41581 would give us an alternate syntax (typeof class) in the type system to represent what this issue is asking for anyway. So I'd be happy to just internally consider this issue a duplicate of that one. 🤷


docs(slackChannel):  missing # in slackChannel

slackChannel has to be provided a correct channel name, ie. #some-channel to make it work.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


update arrow element

I was trying to make a tooltip with an arrow, the problem is that arrowRef do not get updated in arrow, is there a way to work around it?
what I did to workaround this was to reassign useFloating with arrowRef in a createEffect but this is not really the optimal solution
  createEffect(() => {
if(!arrowRef()) return;
    position = useFloating(elementRef, toolTipRef, {
      placement: props.placement || "top",
      middleware: [
        offset(10),
        flip(),
        shift(),
        hide(),
        size(),
        arrow({ element: arrowRef() as HTMLDivElement }),
      ],

      whileElementsMounted: (reference, floating, update) =>
        autoUpdate(reference, floating, update, {
          animationFrame: true,
        }),
    });
  });

I had the same issue. I just overwrote the middleware so it takes an accessor instead
const solidArrow = ({
  element,
  padding,
}: {
  element: Accessor<HTMLElement>;
  padding: Padding | undefined;
}): Middleware => ({
  name: "arrow",
  fn(...args) {
    return arrow({
      element: element(),
      padding: padding,
    }).fn(...args);
  },
});

so something like this works nicely:
let referenceRef: HTMLElement;
let tooltipRef: HTMLDivElement;
let tooltipArrow: HTMLDivElement;

const position = useFloating(
    () => referenceRef,
    () => tooltipRef,
    {
      placement: "bottom",
      whileElementsMounted: autoUpdate,
      middleware: [
        flip(),
        offset(floatingOffset()),
        solidArrow({
          element: () => tooltipArrow,
          padding: 8,
        }),
      ],
    }
  );


Route Traffic to Storage Account via Azure Firewall

I'm utilizing azure firewall network rule to allow traffic to storage servcie tag.
My question is when I configure from storage account firewall rule to only allow selected network, will it block the traffic routed via my Azure firewall?
screenshot for my azure firewall rule,

[Enter feedback here]

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

ID: 2632af75-7664-b79b-ac5b-c7c17e6a609a
Version Independent ID: 6ecf71b6-77c4-3ab6-8ec9-353ea407d70f
Content: Configure Azure Storage firewalls and virtual networks
Content Source: articles/storage/common/storage-network-security.md
Service: storage
Sub-service: common
GitHub Login: @tamram
Microsoft Alias: tamram

@RonnieQuan I'd recommend posting your question in https://docs.microsoft.com/en-us/answers/topics/azure-storage-accounts.html  since it's not directly related to the documentation. We'll follow up there. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@SumanthMarigowda-MSFT
Thank you for the follow up, I have posted question
https://docs.microsoft.com/en-us/answers/questions/81989/route-traffic-to-storage-account-via-azure-firewal.html


[WIP] Examples for time frequency analysis on SourceEstimates

Reference issue
Part of GSoC: TFR in Source Space Project (See: Issue #6290 ).
What does this implement/fix?
Add examples on how to compute time frequency analysis in source space,
using functions from mne.time_frequency and SourceEstimates.
Additional information
This branch is forked from DiGyt:plot_source_tfr (PR #6672),
and therefore should be merged after PR #6672 (and PR #6629).

Closed: See Issue #6290


[REEF-280] Update assembly versions to <IP_ADDRESS>

This change replaces all the assembly versions with <IP_ADDRESS> to sync them with the project version.
JIRA: REEF-280

looking at it

Need to update the version for bridge as well. I will update it.


Mention if users can view conference later

Users visiting https://2021.stateofthemap.org/ need to see a statement:

Besides the live stream, archives of it will later be available at ...., or:
No recording of the live stream will be made available later, for ... reasons.

That way they can decide if

They must stay up all night long to watch it, or:
They can watch it later at their lesiure.

Also say if the archive will be:

Just the whole stream.
Separated by sessions / talks.

We observe e.g., ￼ https://2021.stateofthemap.org/sessions/9XQTVC/ many talks say

This event will not be recorded

So mention if the only way to see these is to "stay up all night" to watch them live.
Or if even there will be no live...

added a short notice on the main page with 1df03f230c5f545c402e21cf025e6c09a558b8c3


forgot password

also added unloadModal functionality for signin and signup.
setTimeout is unreliable tho, so sometimes may desync. better solution?

desync issue fixed with css 'forwards' value.


Translation PT-BR

Where can I find the file with the application texts? I would like to translate them for PT-BR.

and I can translate in italian (IT)

The project wasn't built with internationalization in mind, so there will be some effort required to support it.

Tenho interesse em participar da tradução


Allen Connectivity Data / adding external data sources

I would like to create the ability for Siibra to interface with the allen connectivity API.
https://help.brain-map.org/display/mouseconnectivity/API
This API allows for users to query for the top projections to and from a region. And then retrieve a nrrd volume with the projection information. I have succesfully managed to transform and upload this data into siibra however I would like to integrate this functionality into the siibra regional information tab itself. Some things I would need to know are

How can I integrate external datasources?
Can I overlay multiple volumes?

Thank you in advance for help with these issues.

Dear Harry,
thanks for getting in touch.
the integration of new external resources is not yet a standardized procedure, but we are interesting in supporting such contributions. We are working on a major rewrite of the management of EBRAINs and other resources in siibra, and it would not make sense to invest much time in doing that with the current version. What is your time frame for this?
Could you be more specific what you mean by overlaying multiple volumes (in Python), and what a typical nrrd file looks like?
It might be helpful to have a chat together then.
Timo

Dear  Harry,
if you want to see two volumes superimposed in the viewer, it is not necessary to fuse the image volumes - siibra-explorer has the capabilities to do that. We have just not (yet) exposed easy ways to superimpose user data except for local NIfTI files which you can just drag and drop. In a way, this happens for hi-resolution volumes if you upload them to the VoluBA anchoring tool, from where you can then open them in siibra explorer. This is a workflow which still needs a bit of polishing and testing, but probably the way for you to go, and it is not necessary to do any modifications in siibra-python for this (except you want to automatize). I will connect you with Julia per email, who supports VoluBA developments on our side.
Timo

You can download a typical nrrd volume at the following link
http://api.brain-map.org/grid_data/download_file/287495026??image=projection_density&resolution=25
Note the resolution indicates it has a voxel spacing of 25 microns though you can change this to 10 or 50 depending on your needs. See the following python script for transforming the resulting nrrd volume into a format which is readable by the siibra interactive atlas viewer.
import nrrd
import numpy as np
import nibabel as nib
path_to_volume = r"C:\Users\harry\Documents\GitHub//11_wks_coronal_287495026_25um_projection_density.nrrd"
volume, header = nrrd.read(path_to_volume)
volume = volume * 255
volume = volume.astype(np.uint8)
#reverse volume axis
volume = np.moveaxis(volume, [0, 1, 2], [1, 2, 0])
volume = volume[::-1, ::-1, ::-1]
# create nibabel image with volume
img = nib.Nifti1Image(volume, np.eye(4))
#set volume offset to half volume resolution
half_res = np.array(volume.shape) / 2
#hardcoded for 25 um resolution need to make dynamic
img.header['qoffset_x'] = -half_res[0] / 40
img.header['qoffset_y'] = -half_res[1] / 40
img.header['qoffset_z'] = -half_res[2] / 40
#set pixel spacing to 25 microns need to make dynamic
img.header['pixdim'][1:4]  = [0.025,0.025,0.025]
nib.save(img, "11_wks_coronal_287495026_25um_projection_density.nii.gz")

perhaps instead of creating mean volumes it would be better if i were able to create multichannel volumes. I've tried this (dataset one as R and dataset 2 as B) however Siibra web viewer won't open multichannel nii's. I can create a new issue for this but can Siibra handle multi channel volumes?

siibra-explorer can do mutli-channel under the hood, we recently fixed some issues with this and I am not sure if this is easily accessible already. the siibra-explorer GitHub would be the right place to discuss this.


Databricks documentation did not work

[Enter feedback here]
https://docs.microsoft.com/en-us/azure/databricks/clusters/configure#spark-configuration
Trying this example to set spark config with this bash script not working.

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

ID: 06b57bc7-a97e-947c-442f-7ffbf13aa6cb
Version Independent ID: 9dd5e8a5-ce82-6e15-bcfa-939c431cf709
Content: Configure clusters - Azure Databricks
Content Source: databricks/clusters/configure.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@mikeleuer  Thanks for the question! We are investigating and will update you shortly.

@mikeleuer - As per the repro from our end. We are able to succesfully able to run the global init script as the status shown as below:

In case, if you are exepreincing error message, I would recommend you to create a thread on the forums - Microsoft Q&A or Stack Overflow
Once you post your issue on forums, it will have visibility across the community which is a better suited audience for such types of issues.

Did you check if the config was set
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: CHEEKATLAPRADEEP-MSFT @.>
Sent: Wednesday, August 31, 2022 10:01:52 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Mike Leuer @.>; Mention @.>
Subject: [EXTERNAL] Re: [MicrosoftDocs/azure-docs] Databricks documentation did not work (Issue #97581)
CAUTION: This Email is from an EXTERNAL source. Ensure you trust this sender before clicking on any links or attachments.
Closed #97581https://urldefense.com/v3/__https://github.com/MicrosoftDocs/azure-docs/issues/97581__;!!NV2iFwWYC-8Qng!u-umeJF92vm4UoNZ9KvcGYr32zIEc3yCGljwcesDw9Z7CD5rSgkyB4WB5JNtuVLLwEbMcucwggS0qxqYVO4qDmV2kYyzeO8$ as completed.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/MicrosoftDocs/azure-docs/issues/97581*event-7301686513__;Iw!!NV2iFwWYC-8Qng!u-umeJF92vm4UoNZ9KvcGYr32zIEc3yCGljwcesDw9Z7CD5rSgkyB4WB5JNtuVLLwEbMcucwggS0qxqYVO4qDmV20G6Rm3Q$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AXHUXN56JRGC2R6R4VKWBHDV4A2EBANCNFSM57UPCEDQ__;!!NV2iFwWYC-8Qng!u-umeJF92vm4UoNZ9KvcGYr32zIEc3yCGljwcesDw9Z7CD5rSgkyB4WB5JNtuVLLwEbMcucwggS0qxqYVO4qDmV2a-nAZ20$.
You are receiving this because you were mentioned.Message ID: @.***>

@mikeleuer Yes, the configuration was set - please check the details:

What setting do you have for your cluster? Are you using the legacy global int. I am curious maybe it something I have set wrong.


Docker for mainframe

Does docker for mainframe exist and if so, can we use it?

This gives ideas back from 2014!
http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/


Problem with GoogleLighthouse

Result Details
|
São Paulo, BR
Check failed with type error
Error
Expected value which is predicate returns truthy for any value, received values of types null.
Script log (11)
TypeError: Expected value which is predicate returns truthy for any value, received values of types null.
at assertType (/app/synthetics-node-api-runtime/.yarn/cache/@sindresorhus-is-npm-4.6.0-7cad05c55e-83839f13da.zip/node_modules/@sindresorhus/is/dist/index.js:303:15)
at Object.any (/app/synthetics-node-api-runtime/.yarn/cache/@sindresorhus-is-npm-4.6.0-7cad05c55e-83839f13da.zip/node_modules/@sindresorhus/is/dist/index.js:402:16)
at normalizeArguments (/app/synthetics-node-api-runtime/.yarn/cache/got-npm-11.8.3-caf98d599b-3b6db107d9.zip/node_modules/got/dist/source/core/index.js:387:21)
at got (/app/synthetics-node-api-runtime/.yarn/cache/got-npm-11.8.3-caf98d599b-3b6db107d9.zip/node_modules/got/dist/source/create.js:112:39)
at doRequest (/app/synthetics-node-api-runtime/runtime/http/request-like-module.js:51:25)
at DefaultRequest (/app/synthetics-node-api-runtime/runtime/http/request-like-module.js:47:10)
at Object.eval [as run] (eval at buildSandbox (/app/synthetics-node-api-runtime/runtime/sandbox/runtime/environment.js:30:18), :17:1)
at Object.runScript (/app/synthetics-node-api-runtime/runtime/sandbox/runtime/environment.js:36:24)
at Object.run (/app/synthetics-node-api-runtime/runtime/sandbox/driver.js:10:23)
at Object.run (/app/synthetics-node-api-runtime/runtime/driver/driver.js:7:22)

I get this error when validate script on Synthetics in NewRelic.

I selected Node 10 (Legacy) and work's fine. :)


Turn formfield background into a variable

This PR turns the formfield background color into a variable.
Reason for this is that it would be very useful for Refills, and apps in general, to have a "box" or "container" color defined like this.

:+1:

:+1:
I wind up adding $secondary-background-color to a lot of my projects.

:+1:
I usually end up making $secondary-background-color as well

@Magnus-G Can you merge this?


Fix incomplete logs for react native

At the moment, react native does not bubble up the correct errors for this sdk.
Example:[t: bundler eth_estimateUserOperationGas rpc call failed] ["eth_estimateUserOperationGas"]
There is nothing else in the error object.
The sdk should return the full error message, as it does for react web.

Pasting the solution that we found in discord chats so others have visibility:
This is a fast fix for this issue, it should transform AbstractionKitError to a readable format for react native. Note that AbstractionKitError is not exported, an upcoming PR will be made to export it.
try{
        // your code here
    }catch(err){
        if (err instanceof AbstractionKitError) {
            throw new Error(
                JSON.stringify({
                    code: err.code,
                    context: err.context,
                    errno: err.errno,
                    message: err.message,
                    cause: err.cause.message,
                })
            );
        } else {
            throw err;
        }
    }

fixed with:
https://github.com/candidelabs/abstractionkit/commit/ff1854867c72f1e285dd9e7f170dd13f3f447781
https://github.com/candidelabs/abstractionkit/commit/b8c24f69ecbc458bfea5884dfc808ee7b9270912


Require an answer to be chosen before submitting

Changes
Make radio_button_tag required
Context
I pushed meh code over the weekend while in a hurry. Refactoring it back to life.
Testing
Try to submit an answer to a question without selecting an answer.
Pre-merge checklist

[ ] Build succeeds locally and in CI
[ ] Proper documentation
[ ] Tests
[ ] Git history clean

Coverage increased (+1.1%) to 34.962% when pulling 8c87b5217de5bb4ce8ab0c99c70982bb748fd681 on fv_refactor into f126e4593a77033b8d9c663433f4150346a69894 on master.


EMS Computing

Thank you for the work and the great analysis of results. Is there a plan to share the code that allows you to calculate the EMS for any custom diffusion model ?

Thank you for your interest. I have added an example for EMS computing on ScoreSDE.


Apply word-wrap:break-word to Tooltips and Popovers

Fixes #16871 for v4.

@mdo , @cvrebert , you mentioned We deliberately do NOT reset font-size or word-wrap.
why not reset word-wrap? this issue repeats itself in titles, in paragraphs. why not implement a wider solution?

@IdanCo Basically, I wasn't sure that setting word-wrap: break-word; more widely would be safe, particularly with regard to third-party libraries.
Although looking around now, https://github.com/dobtco/dvl-core/issues/186 suggests it might actually be viable...

@IdanCo Filed #20323 to look into it.