BUG: cannot load DBLP_v1

🐛 Bug
I cannot load  DBLP_v1, I get a (memory?) error during preprocessing. I have 32Gb of RAM, so I'm not sure the problem is my computer (although it could).
To Reproduce
from torch_geometric.datasets import TUDataset
dblp = TUDataset(root='data/DBLP_v1', name='DBLP_v1')

Error:
/usr/local/lib/python3.6/dist-packages/torch_geometric/read/tu.py in <listcomp>(.0)
     33         node_labels = node_labels - node_labels.min(dim=0)[0]
     34         node_labels = node_labels.unbind(dim=-1)
---> 35         node_labels = [F.one_hot(x, num_classes=-1) for x in node_labels]
     36         node_labels = torch.cat(node_labels, dim=-1).to(torch.float)
     37     x = cat([node_attributes, node_labels])

RuntimeError: [enforce fail at CPUAllocator.cpp:56] posix_memalign(&data, gAlignment, nbytes) == 0. 12 vs 0

Environment

OS: Ubuntu
Python version: 3.7
PyTorch version: 1.1.0
Any other relevant information: 32Gb RAM

I see, the node_labels gets converted to a one-hot encoding, but the DBLP_v1 dataset contains 41325 different node labels. This can run out of memory quite quickly. The only way to prevent this is to use sparse one-hot encoded node features, but we need to modify our DataLoader to work with those properly.


[autosubmit] get write permission to autosubmit app

Currently, when a pull request with 'autosubmit' label doesn't meet the requirements to be merged, we will remove its label and meanwhile create a comment to this pull request. However, I cannot create the comment. I now only have read permission and get a 403 error saying 'GitHub Error: Resource not accessible by integration' whenever I wants to create the comment.

Hi @godofredoc, can you help approve the write permission to this APP?

Can you please open a bug in the internal security component?

Can you please open a bug in the internal security component?

Sorry I forgot to reply here. I opened a bug in the internal security component, here is the link: https://b.corp.google.com/issues/227665382.
Thank you very much Godofredo!

Seems like you are trying to update an issue instead of the PR

Seems like you are trying to update an issue instead of the PR

Thank you for the suggestion to the issue Godofredo! I submitted a PR to fix this in https://github.com/flutter/cocoon/pull/1700.

Should we close this bug?

Fixed the issue, be granted the write permission, successfully created the comment.


Please assign this issue to me!


add external module and kernel module auto-update feature (including module update all feature)

add external module and kernel module auto-update feature (including module update all feature)

done. kernel auto-update will be performed in an other way (not by modules, but by full distrib)


Intel Haxm download error by virtualization and hyper-v

I did pretty much everything mentioned about this problem from many sources. But I still get the same error. I am trying to download haxm for androidstudio. I cannot continue without intelhaxm. Things I've done are mentioned below.

This is processor specs.

Hyper-v is already disabled from features and in command.

I've used the Device Guard and Credential Guard hardware readiness tool as well.

Virtualization is enabled when I check through task manager. But I cannot access enabling virtualization through BIOS setting because it does not show up.

Working for a solution for 5 days but still no progress. I disabled the antivirus program as well. I guess I do something wrong or missing sth important. Is there any other issues that can prevent downloading haxm ?
Helps are appreciated. Thanks.

Thanks for the detailed report. You've downloaded HAXM but have not been able to install it. And that is because you have an AMD CPU, as shown in your second screenshot. HAXM only supports Intel CPUs at this time.
You may want to turn Hyper-V back on and try to use Windows Hypervisor Platform as an alternative accelerator for Android Emulator:
https://developer.android.com/studio/run/emulator-acceleration#vm-windows
We can't help you further. You can reach out to Android Studio support: https://developer.android.com/studio/report-bugs#emulator-bugs


import ctx.jsonb.* does not work

I use Scala 3.2, ZIO 2.0.1 with Quill 4.6.0, however when I try to import json or jsonb I get error that such
value jsonb is not a member of io.getquill.PostgresZioJdbcContext[com.rocker.quill.CustomQuillNamingStrategy.type], but could be made available as an extension method

However I can still wrap my db fields with JsonbValue and manually encode/decode to it.

Why do you need to import jsonb from your context?
Closing as it doesn't seem to be something that Quill offers

The simple answer is because the example in the docs do that:
https://github.com/zio/zio-quill/pull/2615/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R3451

It's apparently not anymore in the doc: https://zio.dev/zio-quill/contexts/#json


When will it be available on stable Rust

It can only be compiled on nighltly rustc for now,when will it be available on stable Rust?

stdsimd: http://rust-lang.github.io/rfcs/2977-stdsimd.html
llvm_asm: https://github.com/rust-lang/rust/issues/70173

It could be rewritten with the latest asm! feature, but it still requires nightly.

Oh, I see.Since I am a user of ShadowSocks-Rust and I found that it use this lib which make it can only build with nightly rustc,so I am wondering if this affects the stability of ShadowSocks-Rust.

Well, using nightly doesn't means unstable. Actually all releases builds are built with nightly in Docker.
But it would be better to make it build with stable Rust, or it will require code changes if these experimental features are changed.

llvm_asm: Tracking Issue for LLVM-style inline assembly (llvm_asm) rust-lang/rust#70173
It could be rewritten with the latest asm! feature, but it still requires nightly.

Seems like asm! was stabilized and llvm_asm! will be soon removed.

It should be able to build with stable rust except aarch64 platform.

Working on stable is really great! That's a welcome change :tada:. However, we kind of need aarch64 also, and nightly is not an option.

It doesn't related to asm! macro but the SIMD intrinsic functions for aarch64 is not stablized yet. https://doc.rust-lang.org/core/arch/aarch64/index.html

Would there be a lot of work to implement a non-simd version of the code that is active as long as a nightly feature flag is not enabled or something?

It shouldn't be a lot of work.

1.59 already stable

But core::arch for aarch64 is far from stable yet.

Is there any way to extract aes and use it separately? I need aes in my project, but I can't use crypto2 in stable channel

Nightly is only required for aarch64 target.

can you tell me how to do it,I'm new to rust

crypto2 = { git = "https://github.com/shadowsocks/crypto2.git" }

Use the master branch.

It is easier to use,May I ask which mode is the default, cfb, cbc or ctr


Don't use lib dom during compilation

Currently tsconfig.json doesn't include a lib config. This results in automatically including dom - browser types (see https://www.typescriptlang.org/tsconfig#lib)
The only place where this is needed is for global this here
Should we aim to remove this to avoid that we use/rely on these types on other places?

Is there a way to only include the lib in a single file or folder? We could always manually extend global type ourselves if needed.

I tried via /// <reference lib="dom" /> but it looks like it's available everywhere then. It even ends up in globalThis.js and globalThis.d.ts so it is even visible in consumers.
Maybe some background why I reported this. I found that removing lib dom results in following compile error in consoleLogger.ts:
This expression is not callable.
  Each member of the union type '{ <T, R>(this: (this: T) => R, thisArg: T): R; <T, A extends any[], R>(this: (this: T, ...args: A) => R, thisArg: T, args: A): R; } | { <T>(this: new () => T, thisArg: T): void; <T, A extends any[]>(this: new (...args: A) => T, thisArg: T, args: A): void; }' has signatures, but none of those signatures are compatible with each other.


Port over Collaborating project page

From https://www.repronim.org/community.html#collaborating-projects to /about/collaborators port over collaborating projects and service projects.

Ok we can include that -- feel free to make the edit to the current site if you like, but its not strictly necessary, we can make that edit when we port.
I assume we also want to keep all the logos at the top?

OK, I'll try a test edit of just the header, and see how it looks, if it doesn't look right, I can just delete my little test branch, but it seems like it makes sense to align the page title with the menu bar and the content for now...and if someone wants something different later, that's ok too. I'll let you know though, if/once  I make the change.
yes please, keep the logos!

OK- I changed the header on the page TO 'Collaborators'
all set now


Improve performance dramatically

Hi, thanks for releasing this great library! I prefer this rather than nikic/iter because this takes the OOP-like approach.
However there's some points losing to iter in performance, so I want to improve that.
Please see the following simple snippet comparing two libs performance:
$filterFn = function () { return true; };
$mapFn    = function ($v) { return $v; };

$sampleCollection = array_fill(0, 1000000, 'x');

$st = microtime(true);
iterator_to_array(
    \iter\map(
        $mapFn,
        \iter\filter(
            $filterFn,
            $sampleCollection
        )
    )
);
echo sprintf('iter: %.6f sec', microtime(true) - $st), "\n";

$st = microtime(true);
iterator_to_array(
    \DusanKasan\Knapsack\Collection::from($sampleCollection)
        ->filter($filterFn)
        ->map($mapFn)
);
echo sprintf('Knapsack: %.6f sec', microtime(true) - $st), "\n";

note: Both of them take the same approach, which is generating the lazy-collection that computes on operations of traversing.
In my results:
iter: 5.947058 sec
Knapsack: 36.837850 sec

As you can see, the difference is so huge, Knapsack is explicitly slow compared with iter.
What's problem
Knapsack\Collection implements Iterator but iter doesn't.
So, it seems to be caused to lead bad performance impact, and my patch on this PR exactly focuses on that - Iterator is only used when the logic really needs (e.g. interleave).
In fact, the result ends up like following after my patch is applied:
iter: 5.480360 sec
Knapsack: 5.591903 sec

Besides, the performance check you provide achieves the good result than before:
before:
$ php tests/performance/map_vs_array_map.php
+------------------------------------------------------------------------------------+-----------------------+---------------------------+----------------------+
| operation details                                                                  | native execution time | collection execution time | difference (percent) |
+------------------------------------------------------------------------------------+-----------------------+---------------------------+----------------------+
| array_map vs Collection::map on 10000 integers (addition)                          | 0.014703154563904s    | 0.18897454738617s         | 1285%                |
| array_map vs Collection::map on 10000 strings (concatenation)                      | 0.021801376342773s    | 0.25404767990112s         | 1165%                |
| array_map vs Collection::map on 10000 objects (object to field value)              | 0.017388963699341s    | 0.20323369503021s         | 1168%                |
| array_map vs Collection::map on 10000 md5 invocations                              | 0.029221034049988s    | 0.20992181301117s         | 718%                 |
| array_map vs Collection::map on 10000 integers n, counting sum(0, n) the naive way | 9.6942321062088s      | 9.6334856987s             | 99%                  |
+------------------------------------------------------------------------------------+-----------------------+---------------------------+----------------------+

$ php tests/performance/reduce_vs_array_reduce.php
+-------------------------------------------------------------------------------------------+-----------------------+---------------------------+----------------------+
| operation details                                                                         | native execution time | collection execution time | difference (percent) |
+-------------------------------------------------------------------------------------------+-----------------------+---------------------------+----------------------+
| array_reduce vs Collection::reduce on 10000 integers (addition)                           | 0.025390815734863s    | 0.16423649787903s         | 646%                 |
| array_reduce vs Collection::reduce on 10000 strings (concatenation)                       | 0.034023523330688s    | 0.13736398220062s         | 403%                 |
| array_reduce vs Collection::reduce on 10000 object (object to field value)                | 0.018415665626526s    | 0.12140438556671s         | 659%                 |
| array_reduce vs Collection::reduce on 10000 md5 invocations                               | 0.030937099456787s    | 0.12602620124817s         | 407%                 |
| array_reduce vs Collection::reduce for 10000 integers n, counting sum(0, n) the naive way | 9.942040514946s       | 9.839556646347s           | 98%                  |
+-------------------------------------------------------------------------------------------+-----------------------+---------------------------+----------------------+

after:
$ php tests/performance/map_vs_array_map.php
+------------------------------------------------------------------------------------+-----------------------+---------------------------+----------------------+
| operation details                                                                  | native execution time | collection execution time | difference (percent) |
+------------------------------------------------------------------------------------+-----------------------+---------------------------+----------------------+
| array_map vs Collection::map on 10000 integers (addition)                          | 0.014729452133179s    | 0.027163410186768s        | 184%                 |
| array_map vs Collection::map on 10000 strings (concatenation)                      | 0.015099954605103s    | 0.028594446182251s        | 189%                 |
| array_map vs Collection::map on 10000 objects (object to field value)              | 0.017368984222412s    | 0.029714369773865s        | 171%                 |
| array_map vs Collection::map on 10000 md5 invocations                              | 0.027954363822937s    | 0.040060210227966s        | 143%                 |
| array_map vs Collection::map on 10000 integers n, counting sum(0, n) the naive way | 9.7906902074814s      | 10.129155540466s          | 103%                 |
+------------------------------------------------------------------------------------+-----------------------+---------------------------+----------------------+

$ php tests/performance/reduce_vs_array_reduce.php
+-------------------------------------------------------------------------------------------+-----------------------+---------------------------+----------------------+
| operation details                                                                         | native execution time | collection execution time | difference (percent) |
+-------------------------------------------------------------------------------------------+-----------------------+---------------------------+----------------------+
| array_reduce vs Collection::reduce on 10000 integers (addition)                           | 0.014452695846558s    | 0.02052640914917s         | 142%                 |
| array_reduce vs Collection::reduce on 10000 strings (concatenation)                       | 0.032758975028992s    | 0.039231991767883s        | 119%                 |
| array_reduce vs Collection::reduce on 10000 object (object to field value)                | 0.016609573364258s    | 0.022549653053284s        | 135%                 |
| array_reduce vs Collection::reduce on 10000 md5 invocations                               | 0.028601837158203s    | 0.034251570701599s        | 119%                 |
| array_reduce vs Collection::reduce for 10000 integers n, counting sum(0, n) the naive way | 9.5106759309769s      | 9.3758726358414s          | 98%                  |
+-------------------------------------------------------------------------------------------+-----------------------+---------------------------+----------------------+

BC Break
This change slightly makes a BC break - Collection can't call methods defined at Iterator anymore, but it's a little thing. Not much impact I think.
The replacing like following may help to work as in the previous:
before:
$collection = Collection::from([1, 2, 3]);
$collection->rewind();
$collection->key();
$collection->current();
// ...

after:
$it = new \IteratorIterator(Collecton::from([1, 2, 3]));
$it->rewind();
$it->key();
$it->current();
// ...

Thanks!

Hi, I'm glad you like Knapsack. First of all thank you for putting the time and effort into this PR. It seems like a great idea and the only BC i see is indeed dropping the Iterator implementation.
The code you submitted looks good except that the callable typehint is still valid here.
I will have a closer look and merge as soon as possible. Great work!

@DusanKasan Thank you for quick response.

except that the callable typehint is still valid here.

I don't understand what it means. Collection::from() just looks a static constructor copy, can be declared the same one.

Sorry, nevermind, i misread the PR (thought you removed the callable typehint but you actually added it). :)

Looks good to me, the performance impact is really significant. Thanks for the contribution.


GH-20472:[Docs] Renamed read_ipc_file to read_arrow_file & highlighted arrow over feather

Closes: #20472

We would want to do an actual deprecation cycle on this if we're going to remove them. Or we could alias them for now and deprecate later

We would want to do an actual deprecation cycle on this if we're going to remove them. Or we could alias them for now and deprecate later

Can you please  tell me how do i do this ?


Allow users to provide their own custom rendering function for the scene

PG to use to test: #5SPY1V#5
Relevant code:
scene.customRenderFunction = () => {
            // Clear back buffer
            engine.clear(new BABYLON.Color4(0, 0.3, 0.5, 1), true, true);

            // Update view and projection matrices based on active camera
            scene.updateTransformMatrix();

            // Set viewport size
            engine.setViewport(camera.viewport);

            // Compute world matrix and render
            for (let index = 0; index < scene.meshes.length; index++) {
                const mesh = scene.meshes[index];

                if (!mesh.material) {
                    continue;
                }

                mesh.computeWorldMatrix();

                if (mesh.material.needAlphaBlending()) {
                    engine.setAlphaMode(BABYLON.Constants.ALPHA_COMBINE);
                } else {
                    engine.setAlphaMode(BABYLON.Constants.ALPHA_DISABLE);
                }
                mesh.directRender();
            }
        }

Snapshot stored with reference name:
refs/pull/15655/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15655/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15655/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15655/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15655/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15655/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15655/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15655/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15655/merge/testResults/webgpuplaywright/index.html


Add the capability to annotate overlapping spans

Is your feature request related to a problem? Please describe.
This is key advantage in prodigy since it allows for variable length spans being annotated. This allows for the use of annotated data in question answering, or other prompt based span prediction exercises.
Describe the solution you'd like
https://prodi.gy/docs/span-categorization
Describe alternatives you've considered
https://prodi.gy/docs/span-categorization
Additional context
https://explosion.ai/blog/spancat

Dear Dhruv, I fully agree this is an important feature. Thanks for pointing it out!
cc @frascuchon @davidberenstein1957

Thanks, @dhruvsakalley
Totally agree with that. We need to adapt the UI to this kind of behaviour. Then, think about the integrations regarding the prepare_for_training methods for token classification.
Again, thanks for your feedback!
cc @keithCuniah @leiyre

I believe this is already accepted as an enhancement, so the stale status is not applicable.

Hi all, very happy to hear that this feature has already been requested and that is now in your roadmap. I will definitely be able to test this, even in its early stages.

I might even be able to contribute (free time pending 😅) somehow. Could anyone point me to the relevant bits of code that will need to be enhanced/modified? I imagine this will require creating a new SpanClassification class.
Thank you 🙏🏻

Hi, @filippo82, first of all, thank you for the offer to contribute! However, given the complexity of the task, and other priorities, we decided to change the roadmap definition to somewhere in the future.

Hi @davidberenstein1957 👋🏻 thanks for the update.
Out of curiosity, why do you say "given the complexity of the task"? I only had a very brief look at the portion of Argilla code of course (so my hunch can obviously be waaaaaay off 😅) but I had the feeling that to implement this new feature, while of course not trivial, should not be too complex given that one could start from an existing XXXClassification class.

... but of course I was not thinking about the UI-related development 🙀

Hi @davidberenstein1957 @dvsrepo - do you have an idea of rough timescales for getting overlapping spans into Argilla? We want to use Argilla as our main labelling tool for the startup I work for, but as a lot of our tasks involve overlapping spans this might be a dealbreaker.

Hello @kdutia we do consider this as a key feature for Argilla but it sadly has lower priority than other things on our roadmap. Your contributions do help us to prioritize this better so they are more than welcome, and we will consider them during the planning for Q4 2023 and Q1 2024.

hi, thanks so much for taking the feedback on board and reprioritising @davidberenstein1957! looking forward to it and other future updates :)

@filippo82 , @dhruvsakalley @kdutia @cceyda we are hard at work at tackling this issue at the moment. Would any of you be interested in providing some feedback and pointers w.r.t. what you would expect from the implementation? If so, could you ping me on Slack or send me an email at<EMAIL_ADDRESS>

Thank you David for all the hard work. Please shoot me a meeting invite for Saturday or Sunday, we can go over the design and would be happy to provide feedback

Hi @davidberenstein1957 👋🏻 I'll send you a message on Slack 📫

@dhruvsakalley @filippo82 @kdutia and everyone else who upvoted this issue. We're finally shipping this issue later this month! If you'd like to try it out before it comes out and leave some feedback you can do so here: https://nataliaelv-beta-testing.hf.space/
You only need to log in with a hugging face account and play around 😃


go/doc: heading with "go.mod" not detected as a heading

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version devel +5c11480631 Fri Aug 10 20:02:31 2018 +0000 linux/amd64

Does this issue reproduce with the latest release?
N/a - testing with tip.
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/myitcv/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/myitcv/gostuff"
GOPROXY=""
GORACE=""
GOROOT="/home/myitcv/gos"
GOTMPDIR=""
GOTOOLDIR="/home/myitcv/gos/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build705478527=/tmp/go-build -gno-record-gcc-switches"

What did you do?
go install golang.org/x/tools/cmd/godoc && godoc -http :8080

then visit:
http://localhost:8080/cmd/go/#hdr-Module_downloading_and_verification
Scroll down slightly to see that "Edit go.mod from tools or scripts" has not been formatted as a heading as it needs to be.
What did you expect to see?
"Edit go.mod from tools or scripts" formatted as a heading, so that I can see the section but also link to it (which is how I came across this).
What did you see instead?

This is ultimately because headings are currently not allowed to contain a period (.):
https://github.com/golang/go/blob/5c11480631f5654e9e6937ff08c453660138c64d/src/go/doc/comment.go#L235
Feels like simply allowing a . is probably too much of a change that could easily trigger changes in the way existing docs are currently rendered. But maybe it's ok to special case a filename, e.g. go.mod, where there is an alpha-numeric either side. Else reject.
Given how significant go.mod and go.sum are in the context of modules, would be a shame to have to come up with alternative headings if we don't want to allow .?
/cc @rsc @griesemer

I note the semi-related https://github.com/golang/go/issues/17564

I think that for 1.11 we should just fix the doc string, rather than trying to mess with godoc.  Sending a CL.


No Clocks Data Available; Radeon RX 7900 GRE [XFX]

Checklist

[X] The problem is not listed in the hardware support matrix as a known limitation
[X] I've included a debug snapshot if the issue is related to hardware configuration

Bug description
I’m interested in trying out this software, but I’m encountering a “No Clocks Data Available” issue. I’m hoping to lower the clock speed, as some users have suggested, to address the crashes I’ve been experiencing while playing Counter-Strike 2.
I’ve attached a debug snapshot for your reference. Thank you for your assistance!
LACT-sysfs-snapshot-20240911-174041.tar.gz
System info
- LACT version: 0.5.6-0
- GPU model:  AMD Radeon rx 7900 gre  (XFX brand)
- Kernel version:  Linux version 6.5.0-45-generic (buildd@lcy02-amd64-109) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Jul 15 16:40:02 UTC 2
- Distribution:  Ubuntu 22.04.4 LTS

Did you enable OC support? It is required to edit clocks settings.

Did you enable OC support? It is required to edit clocks settings.

I tried toggling OC support on and off and rebooting, but I didn't see any difference in the clock data becoming available.
The issue was resolved by first updating the amdgpu firmware located in /lib/firmware/amdgpu/ from this repository, and then by upgrading to kernel 6.8 from 6.5. The kernel upgrade alone didn’t work until the new firmware was applied.
It looks like the default maximum clock is set to 2415 MHz, whereas my card's specifications state the max is 2395 MHz. Hopefully, this resolves the CS2 issues. Thanks a lot! :)


Add Resources to Authorization struct for KeycloakClients

Is your feature request related to a problem? Please describe.
Adding the Resources to the Authorization filed for KeycloakClient will make it so you can add scopes to certain Resources, e.g: Allowing clients via the realm-management client to do token-exchange.
Describe the solution you'd like
Add the Resources list to the Authorization struct for KeycloakClient
Describe alternatives you've considered
No alternative
Additional context

Hi @dougkirkley
Thank you for your suggestion. We will consider this change and begin working on it.

We implemented this functionality.
Example:
apiVersion: v1.edp.epam.com/v1
kind: KeycloakClient
metadata:
  name: keycloakclient-authorization-sample
spec:
  realmRef:
    name: keycloakrealm-sample
    kind: KeycloakRealm
  clientId: authorization-sample
  webUrl: https:///example.com
  directAccess: true
  authorizationServicesEnabled: true
  serviceAccount:
    enabled: true
  authorization:
    scopes:
      - scope-example
    resources:
      - name: resource-example
        displayName: Resource example
        type: test
        iconUri: https://example.com/icon.png
        scopes:
          - scope-example


add kraanzu to maintainers-list

added maintainer to pkg dooit
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

It's preferred to have this split into 2 commits, one adding yourself to the list, one adding yourself to the package.

done!

Oops, did you remove the branch on purpose?

Yep. Made a mistake. Heres a new PR: https://github.com/NixOS/nixpkgs/pull/345234


localtileserver fails with flask==3

Flask 3.0 was released last week, and now localtileserver will use this version during the requirements installation
I think flask<3 has to be pinned until the code is refactored.
Full traceback:
---> 28 from localtileserver import TileClient, get_leaflet_tile_layer
     29 from matplotlib import colorbar
     30 from matplotlib import colors as mpc

File ~/module-venv/se.plan/lib/python3.10/site-packages/localtileserver/__init__.py:3
      1 # flake8: noqa: F401
      2 from localtileserver._version import __version__
----> 3 from localtileserver.client import RemoteTileClient, TileClient, get_or_create_tile_client
      4 from localtileserver.report import Report
      5 from localtileserver.tiler import get_cache_dir, make_vsi, purge_cache

File ~/module-venv/se.plan/lib/python3.10/site-packages/localtileserver/client.py:28
     26 from localtileserver.configure import get_default_client_params
     27 from localtileserver.helpers import parse_shapely
---> 28 from localtileserver.manager import AppManager
     29 from localtileserver.tiler import (
     30     format_to_encoding,
     31     get_building_docs,
   (...)
     39     palette_valid_or_raise,
     40 )
     41 from localtileserver.utilities import ImageBytes, add_query_parameters, save_file_from_request

File ~/module-venv/se.plan/lib/python3.10/site-packages/localtileserver/manager.py:1
----> 1 from localtileserver.web import create_app
      4 class AppManager:
      5     _APP = None

File ~/module-venv/se.plan/lib/python3.10/site-packages/localtileserver/web/__init__.py:2
      1 # flake8: noqa: F401
----> 2 from localtileserver.web import rest, urls, views
      3 from localtileserver.web.application import create_app, run_app
      4 from localtileserver.web.blueprint import cache, tileserver

File ~/module-venv/se.plan/lib/python3.10/site-packages/localtileserver/web/rest.py:10
      8 from PIL import Image, ImageDraw, ImageOps
      9 from flask import request, send_file
---> 10 from flask_restx import Api, Resource as View
     11 import large_image
     12 from large_image.exceptions import (
     13     TileSourceError,
     14     TileSourceInefficientError,
     15     TileSourceXYZRangeError,
     16 )

File ~/module-venv/se.plan/lib/python3.10/site-packages/flask_restx/__init__.py:2
      1 from . import fields, reqparse, apidoc, inputs, cors
----> 2 from .api import Api  # noqa
      3 from .marshalling import marshal, marshal_with, marshal_with_field  # noqa
      4 from .mask import Mask

File ~/module-venv/se.plan/lib/python3.10/site-packages/flask_restx/api.py:20
     18     from flask.helpers import _endpoint_from_view_func
     19 except ImportError:
---> 20     from flask.scaffold import _endpoint_from_view_func
     21 from flask.signals import got_request_exception
     23 from jsonschema import RefResolver

ModuleNotFoundError: No module named 'flask.scaffold'

Thanks for pointing this out! Looks like an issue with flask_restx. I'll pin the dependencies for now and issue a patch release

Looks like this was fixed upstream via https://github.com/python-restx/flask-restx/issues/567, so I'm going to merge #191 to free this


option_cron still references /usr/bin instead of /usr/local/bin

Which makes automatic cronjobs fail.

Fixed in https://github.com/nozel-org/freebsd-backupbot/commit/2c63f3b158b136aaeff02d3a09044095fe9b0463.


Provide configuration to create Galera cluster using Vagrant

It seems useful to have an multi-node Galera cluster running locally in a multi-node Vagrant environment. To do this I would like to devise and commit back:

A pull request to allow Chef Solo to be used (currently by defining the cluster IPs manually as opposed to using the search functionality of Chef Server/Zero e.g. https://github.com/armakuni/mariadb/commit/0f13f6eb1ae37203047b03c4e0aa3c181e3c7299 )
Vagrant configuration for a multi-node Vagrant e.g. https://gist.github.com/bendodd/f599fa25da9d5cd80162

Advice need:

Which recipe(s) needs to be run to create a cluster?
Confirm the recipes are idempotent
Confirm additional nodes can be added
Approach to node failure
Approach to node load balancing - e.g. HAProxy implementation

^^^ This would be good documentation, for at least me

Here you will find more documentation on Galera Specific case:
https://github.com/sinfomicien/mariadb/blob/master/galera.md
Will merge the info from the README about Galera into it soon. Does it sound good to help you ?

The PR #64 close this ticket.


Custom Vignette Effect for RSR

Is your feature request related to a problem? Please describe.
Enhancement
Describe the solution you'd like
It would be great to have a transitional Vignette effect for RSR when the Elytra are starting to break like how close you are to the world border in Sky Battle.
Describe alternatives you've considered
DamageVignette mod but that isn't related to Elytra durability, so it doesn't work.
Additional context
Illustration (when players hit me it turns the screen to a red color):

afaik RSR already has a vinette effect when you're close to the death border on the bottom, and also this is kind of a change to gameplay, and i don't really want to change gameplay.
thanks for the suggestion tho! :D


Maintain accurate references to packages when image is moved

If the paths to the packages were valid before an image was moved, modify the paths so that they are still valid. (Offered for consideration of the workflow options.)

Does this cater for the situation I describe in my comment to #28? That is, does it allow for Worflows A & B where the core sources are not assumed to be shared.? Only Workflow C assumes  shared core sources. From what I can see, this change will fix up any image that is copied to a new directory to point back to the original sources is that not correct?

Yes, you are right. In Workflow A I read that moving the image 'effectively (as it stands now) makes Dolphin think that all the core packages actually' are still under the image when they are not. I was thinking of breaking the link to the packages as a bug not a feature(!). In Workflow B I read that there was some new mechanism that prevented writing to the Core directory. Whatever that new mechanism was, I assume it could be applied in this case as well. (I did try to avoid a walkback if the Dolphin sources did not exist so if the connection was already broken the move would still work.)
Perhaps it's back to the drawing board...

Based on concerns raised I'll withdraw this as we investigate alternate developer workflows.


PHP extension does not install well with gcc < 4.8

Making this a unified issue for various previous issues.

Turns out gRPC now requires gcc 4.8+ after version 1.1. See issue #8602


[#508] Ask for confirmation if user declines creating a github repo

Codecov Report

Merging #538 (ea6bf16) into development (7e4c263) will decrease coverage by 0.11%.
The diff coverage is 0.00%.

@@               Coverage Diff               @@
##           development     #538      +/-   ##
===============================================
- Coverage        42.29%   42.17%   -0.12%
===============================================
  Files               33       33
  Lines             2473     2480       +7
===============================================
  Hits              1046     1046
- Misses            1427     1434       +7

Flag
Coverage Δ

unittests
42.17% <0.00%> (-0.12%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

cookietemple/create/github_support.py
19.60% <0.00%> (-0.70%)
:arrow_down:

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 7e4c263...ea6bf16. Read the comment docs.


rho in thr format is limited to 0.5 with rectangle table

When exporting in .thr format with a square/rectangle table, the rho is limited to 0.5. why?
it could be better if 1 = corner of the rectangle....

Fixed in #303


build.sh/ubuntu-trust/llvm-5 failing but no obvious error

My build script + current logs are at https://gist.github.com/drnic/3cf890eaa08cc1ee7032173f275f1166 (they are a bit long and ugly to paste in here)
I've been staring at the cmake.log output but cannot spot the error/explosion. If you've got any suggestions on what I'm missing/dependencies to be installed etc, that'd be fantastic.

@bpm-ms can you help @drnic here


Explicitly link the docker port to the host port

I had always run it with a custom port link (-p 8082:8081) so I never tested it without one. Turns out it can't connect without it. Also docker connections don't like localhost sometimes, to I changed the docker default to <IP_ADDRESS>.
P.S. I like the new full width page layouts :smile:

Nice catch! Cheers man!


The "one VM extension of each type" limitation isn't made clear here

I'm not sure why this platform limitation exists (what is the point in specifying a name if only one extension of each type can be specified?), but it certainly exists:
Error: compute.VirtualMachineExtensionsClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="BadRequest" Message="Multiple VMExtensions per handler not supported for OS type 'Linux'. VMExtension 'SaltMaster' with handler 'Microsoft.Azure.Extensions.CustomScript' already added or specified in input.

Can we at least get a warning here before additional people waste their time assuming Azure can do something as simple as run two scripts on their VM?

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

ID: df5a8957-9b4c-2a2e-81c2-79125373f8f1
Version Independent ID: d1c2d4cf-88cd-7581-10b5-88a5d11986e6
Content: Run custom scripts on Linux VMs in Azure
Content Source: articles/virtual-machines/extensions/custom-script-linux.md
Service: virtual-machines-linux
GitHub Login: @mimckitt
Microsoft Alias: mimckitt

@LukeCarrier
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@mimckitt
Can you please check and add your comments on making this limitation as a note in the document.

@LukeCarrier just to confirm, you are looking to push two separate scripts to a single VM using the Custom Script Extension correct? Essentially applying two instances of CSE.
We call this out in the Windows section but it looks like it is not called out in the Linux one so I will get that addressed. Apart from that, if you can tell me more about what your end goal is I might be able to suggest some options.

@mimckitt that's pretty much it -- it at least needs to be called out before others assume this (basic, IMO) feature is implemented.
I'd love to see the limitation removed, but I realise it's beyond the scope odf a docs issue ;-)

Added this information to the "Tips and Tricks" section. Once the PR merges the changes will go live after a few hours.
#please-close


Fix for incorrect configPath resolution

Fix for #64

Ahhh... I'm not sure what format is expected of lintArgument.configFile––but from what I can tell, it just wants a string path to the file. Maybe my assumption was wrong though (maybe loader-utils is doing something for your project that I'm overlooking? ). Otherwise, this should be as simple as trying to resolve the project root+configPath (or the node_modules+configPath in the case that a config package is being used). It's strange: I ran your tests and they all passed. Not sure why some CI tests failed. If you're able to look into it, I can answer any questions you might have about how Webpack loader practices differ today :) I'd love to get this PR ready so that I can use it in a project of mine. Really really cool tool you made 👍

The real tests all pass, the failing is just because forks aren't given the environment variables needed to upload to Coveralls. So don't worry about that.
As for the reasoning for the stringifyRequest this is the explanation in the README of loader utils:

Why is this necessary? Since webpack calculates the hash before module paths are translated into module ids, we must avoid absolute paths to ensure consistent hashes across different compilations.

And require.resolve gives absolute paths right?
To be quite honest I don't have full understanding of all the reasons, and maybe it also isn't as important here as we're not using it in a require but just passing it to Stylelint?
I also don't quite remember what the purpose of this line was: https://github.com/emilgoldsmith/stylelint-custom-processor-loader/pull/65/files#diff-168726dbe96b3ce427e7fedce31bb0bcR60
Guess I should've commented better!
Speaking of commenting could you throw in some descriptive comments that describe why we need the try and catch and what the purpose of each of these logic branches is?

Yep: require.resolve gives the absolute path––which I'm certain is preferable for Stylelint configuration. The try and catch was to prevent errors in the case that require.resolve gets used with a non-existent path... but I just moved it outside of that block and created a dedicated safeResolve function... I also added comments to the code itself 👍 manually resolving the path for Stylelint should work just fine (and also, the currently-live version is broken unless you pass null as the path option... aka. users can only define their config as .stylelintrc). So hopefully this does the trick. Can you please try it out?

@emilgoldsmith I just tested it out. Fixed a typo & added it to this PR. It's ready to be merged & pushed 👍 please let me know if you have any issues with it. Also, I'm more than happy to help maintain this package :)
Kind regards,
Harry

And yes! If it's null, then it defaults to .stylelintrc

Awesome @harrysolovay ! I'll merge it now and publish it next time I'm home with my MFA device. And help with maintaining is always welcome!

Published as 0.6.0! And also invited you as a collaborator :)

@emilgoldsmith cheers!


JSON Hover: invalid regular expression

Seeing this running "out of sources" hovering over setting keys:

I asume you create that regex.

I get the same issue when I trying to add a new setting key asking IntelliSense (Ctrl+Space).

Reopening for candidate discussion

The golden rule of query languages:
"Never build regular expressions (or any other query language) from user input without sanitizing the input first"


[PDI-20161] Add kettle property to overcome Memory Leak issues encoun…

…tered on Pentaho <IP_ADDRESS> SP -- 10.2 cherry-pick

 Note:

Frogbot also supports Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning. This features are included as part of the JFrog Advanced Security package, which isn't enabled on your system.

🐸 JFrog Frogbot


the query plan pane is resizable even though there is only one plan.

Ideally when there is only one chart it should take 100% of vertical height.

Related PR merged to release branch.


Fix incorrect display issues.

This pull request fixes #52 balancing the list unlike when it does in v0.3.0.
The way this fixes it is by finding bad code, making improvements to how it prints out separators (--------) and calculating/setting the amount appropriately in respect to the first index and finally; printing a specific time format I found optimal for all situations; 01-Jan-20 12:00 PM.
Unrelated fix: Fixed spelling mistake of separator, from seperator.

Codecov Report

Merging #83 (9539507) into master (ced94f2) will decrease coverage by 1.59%.
The diff coverage is 77.77%.

@@            Coverage Diff             @@
##           master      #83      +/-   ##
==========================================
- Coverage   80.42%   78.82%   -1.60%
==========================================
  Files           5        5
  Lines         475      477       +2
  Branches       52       53       +1
==========================================
- Hits          382      376       -6
- Misses         67       73       +6
- Partials       26       28       +2

Impacted Files
Coverage Δ

WinPath/src/Backup.cs
88.58% <77.77%> (-2.08%)
:arrow_down:

WinPath/src/Program.cs
90.83% <0.00%> (-3.34%)
:arrow_down:

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 ced94f2...9539507. Read the comment docs.


Remove unnecessary dependencies from build.sbt

These dependencies are not used and they cause misunderstanding of the dependencies version.

Thanks for bringing this up @xcv58 . Your changes were included with https://github.com/jakehschwartz/finatra-swagger/pull/55 and are being built now for version 20.6.1

Cool thanks @jakehschwartz


OSError: [Errno 24] Too many open files

OSError: [Errno 24] Too many open files: '/templates/admin/filer/folder/directory_listing.html'
(12 additional frame(s) were not displayed)
...
  File "django/template/engine.py", line 125, in find_template
    template = loader.get_template(name, skip=skip)
  File "django/template/loaders/cached.py", line 54, in get_template
  File "django/template/loaders/base.py", line 24, in get_template
  File "django/template/loaders/cached.py", line 23, in get_contents
  File "django/template/loaders/filesystem.py", line 23, in get_contents

This is on a folder with many migrated files.
These files dont have a sha1 yet, and filer opens all files to compute the sha1 hash, causing the too many open files error.
this could be fixed by changing
    def generate_sha1(self):
        sha = hashlib.sha1()
        self.file.seek(0)
        while True:
            buf = self.file.read(104857600)
            if not buf:
                break
            sha.update(buf)
        self.sha1 = sha.hexdigest()
        # to make sure later operations can read the whole file
        self.file.seek(0)

to
    def generate_sha1(self):
        sha = hashlib.sha1()
        with self.file as file:
            file.seek(0)
            while True:
                buf = file.read(104857600)
                if not buf:
                    break
                sha.update(buf)
            self.sha1 = sha.hexdigest()
            # to make sure later operations can read the whole file
            file.seek(0)

I can make a PR if you want

just tested your proposed patch, it causes ValueError: I/O operation on closed file.


Fixed bug that caused an error when creating or updating a gcm device

When either postgres or mysql is selected as the database engine
attempts to create or update a gcm device using a form and http post
will fail.  The validators were being run against a string value
thus min and max validation were failing.

This should fix issues https://github.com/jleclanche/django-push-notifications/issues/187 and https://github.com/jleclanche/django-push-notifications/issues/171

This should fix issues https://github.com/jleclanche/django-push-notifications/issues/171 and https://github.com/jleclanche/django-push-notifications/issues/187


Card word-wrap

Plz fix this.
Im using for this.
.card, .card-panel {
word-wrap: break-word;
}

Please read issue guidelines


Implement DocumentModel initialization

Could you please write a short changelog in the PR description. It helps with review


Changing default RHODS groups for RHODS 2442

[x] The commits are squashed in a cohesive manner and have meaningful messages.
[x] For commits that came from upstream, [UPSTREAM] has been prepended to the commit message
[x] JIRA link(s): https://issues.redhat.com/browse/RHODS-2442
[x] The Jira story is acked
[x] An entry has been added to the latest build document in Build Announcements Folder.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious)
[ ] The developer has manually tested the changes and verified that the changes work.

WIP for now until we determine the behavior for existing clusters/upgrades.

Any reason you haven't added to the build doc yet?

Any reason you haven't added to the build doc yet?

You're fast...just added like 30 sec ago.


Feature/user update

Summary

Proposal functionality for creating user
A new user can be created through the register page.

New commit with the suggested changes

another commit with new changes


🐛[BUG]: Intermittent failures in test_healpix.py pytest.

Version
source - main
On which installation method(s) does this occur?
Docker
Describe the issue
The test_healpix.py can sometimes report a failure if run with the full pytest suite. This however passes if the test is executed individually. The error is similar to the issue here: https://github.com/Unidata/netcdf4-python/issues/1343. The discussion suggests issue with the particular netcdf version and potentially a newer version will help.
Downgrading the netcdf version to 1.6.5 also helps.


create_table clause deleted

create_table clause :
functionality : create table & convert
problem : now we have to get two different options for creating and converting. previously we did not need any options for converting; but as number of models increase, things have been changed.
solution : since now we have clauses: COPY and CONVERT, we can execute the funtionality of create_table clause using two separate clauses/processes.

model 내부에 있는 CREAETE TABLE도 다 지워야 하니깐 제가 지우겠습니다...


TensorFlow Lite Metadata samples

Are there any sample files or documentation how metadata and metadata_buffer in TensorFlow Lite models is used? @wangtz 494ed4d2100d94b3cca782d7134eac306d79d59b

@lutzroeder
Nope, not really.  We are using it for user-defined info at the moment.  For example, how to normalize (it's often hard to tell if you have a model with float input... should it be 0-255.f or -1f~1f or 0-1f etc.)  or how to interpret output (which of these 400 points corresponds to eyes, nose, lips etc. in a face mesh model).  All of these depends on the model and its author.  We don't have standardized methods to read from or write to it.


Sometimes the generated $$fontBootstrap is on the wrong order

example (from running qx serve):
qx.$$fontBootstrap['FASolid']={"size":40,"lineHeight":1,"family":["FASolid"],"sources":[{"family":"FASolid","source":["app/icons/fontawesome/fa-solid-900.ttf"]}]};
qx.$$fontBootstrap={};
qx.$$fontBootstrap['FARegular']={"size":40,"lineHeight":1,"family":["FARegular"],"sources":[{"family":"FARegular","source":["app/icons/fontawesome/fa-regular-400.ttf"]}]};
qx.$$fontBootstrap['FABrands']={"size":40,"lineHeight":1,"family":["FABrands"],"sources":[{"family":"FABrands","source":["app/icons/fontawesome/fa-brands-400.ttf","app/icons/fontawesome/fa-brands-400.woff"]}]};

and that obviously failes because the $$fontBootstrap object is used before its initialized.
Unfortunately this only happens from time to time, it seems to occur randomly

Are you sure that you're not using an outdated version of the compiler? There has been a problem in the past - where it only worked initially. That has been resolved by @johnspackman and I never saw that problem again.

The last time it happened is used the current git version from master branch. But maybe it was just a leftover from a former compilation. Will do a qx clean and see it it happens again. Closing this for now.

Sorry, but the error still occurs und current master, not as often as before but it is still happening from time to time

@peuter Is this still relevant?

No feedback for more than a month, closing.


override get_columns_in_relation with driver api call

resolves #555

redshift__get_columns_relation currently is a hardcoded sql query that references the pg catalog. Changes in this PR leverage get_columns, a redshift_connector API method, to retrieve the same data.

Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[ ] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

This PR will be superceded by #899. @jiezhen-chen will be given contributor credit in that PR as the implementation is effectively the same as here.


Toggle is not working

i can't found how can i do toggle. I tried that way but not working.
export default function Home() {
  const ref = createRef();
  const [isSelected, setIsSelected] = useState(false);

  const handleClick = () => {
    if (isSelected) {
      ref.current.play(0, 30);
    } else {
      ref.current.play(30, 0);
    }
    setIsSelected(!isSelected);
  };

  return (
    <div>
      <button onClick={handleClick}>
        <Player
          ref={ref}
          src="/lottie/star.json"
          style={{ height: "40px", width: "40px" }}
        />
      </button>
    </div>
  );
}

hi @eleviven
Do you want to play from frame 0 to 30 if isSelected. if not reverse from 30 to 0?

hi @eleviven
Do you want to play from frame 0 to 30 if isSelected. if not reverse from 30 to 0?

I want to play from 0 to 30 and stop it.

Hello @eleviven,
You can use playSegments([0, 30], true) and then playSegments([30, 0], true).
If you want to stop at last frame, add keepLastFrame={true} on your Player component. It has been added a few days ago so you may need to update the library version.

@GabrielDeM Thank you for reply


Set how far back uptime history is shown on status page

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
UI Feature
🔖 Feature description
On the status page, the length of uptime history appears to be determined by how frequently the uptime checks are made. For instance, monitors with 60 second intervals will show up to 45 minutes in history

This isn't great as that period can be really short, and is (as far as im aware) entirely non-configurable.
It would be nice to have a setting that would say "Show uptime history for: 30m/1h/2h/3h/6h/12h/24h/48h/7d/1mo" and so on, rather than calculating it as it is currently.
✔ Solution
Currently, the only way to extend history is to decrease how often your monitor probes. This comes at a cost of realtime/frequent monitoring, in that you would now have to wait even longer for a probe to go out before being notified of downtime.
As mentioned, a great solution would simply to be able to choose how much uptime history is shown in the status page.
❓ Alternatives
No response
📝 Additional Context

This monitor is only checked every 5 minutes, and as such shows up to 4 hours of history (I assume due to less probes and data). Since this is a low priority service, I'm not too concerned about being notified of downtime within a matter of minutes of it going down.

These monitors are checked every 60 seconds as they're critical infrastructure and I need to be notified of unexpected downtime asap. However, on the status page, only <45 minutes are shown in the history. I'd like to be able to make this show the past hour.
This seems like a request that would make sense as the uptime badges () can display an arbitrary number of hours in the past, so I don't see why the status page itself is limited to 45 minutes for 60 second intervals.

I think this is a duplicate of https://github.com/louislam/uptime-kuma/issues/1888
If you agree, could you please close this Issue, as duplicates only create immortal zombies and are really hard to issue-manage?
If not, what makes this issue unique enough to require an additional issue? (Could this be integrated into the issue linked above?) ^^
Note that our contribution guide can be found here

Ah, I didn't see that, my bad. This is a duplicate though, thank you :)


Solar Neutron Activator can destroy bedrock

When a Solar Neutron Activator is placed in the world, the block directly above it (where the solar panel is) disappears. This can be used to destroy the Nether's top bedrock layer and probably break some other mods like destroying the ceiling of Thaumcraft's Eldritch maze, AE2's spatial storage dimension, or pvp-protected blocks (well, all blocks that are not supposed to be broken).

Fixed in development


fix: create_or_get_id

create_or_get_id  function was returning none as no return statement has been provided.
Now It is returning self so that user can access the object

Hey did a quick fix that will be useful to others. Please check it out :)


Is there an official release for PRISMA_SCHEMA_ENGINE_BINARY and PRISMA_QUERY_ENGINE_LIBRARY?

Hi all!
Our company is building all the projects with CI in a offline environment. When we build the prisma project, it cannot download PRISMA_SCHEMA_ENGINE_BINARY and PRISMA_QUERY_ENGINE_LIBRARY from internet.
According to the instructions, I can manually upload the two files and set the env params to use it locally. However, the two binary files are downloaded from the urls provided in the error message. Due to the company security policy, all the opensource binary files should be imported from an specific repo in github with proper license.

Is there a repo which releasing all the RISMA_SCHEMA_ENGINE_BINARY and PRISMA_QUERY_ENGINE_LIBRARY binary files for being downloaded from?
Thanks!

what's the cdn url to download engine file? I meet the same problem


chore: update .gitignore

These are already in the .gitignore as of #30: https://github.com/leanprover/mathport/blob/master/.gitignore#L7-L8


fix pallet-collective events docs

This PR updates the collective events docs to be consistent with changes made recently for weights.

bot merge

bot merge

bot merge

bot merge


chore: provide chinese for Search Input

Hi! I'm the autofix.ci troubleshooter bot.
It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃


✨Directly connect parameter inPort to its literal node

Description
This will automatically connect to its literal node when link is dropped from a parameter InPort. There are 2 type of implementation:

Non-any type - Drag a link should automatically render the correct literal node.

any type - The literal node's type is render based on the first character of the given input.

Types taken into consideration for any type are :

1 - Int
. - Float
" - String
[ - List
( - Tuple
{ - dict
!true / !True/ !1/ !t - True
!false / !False / !0 / !nil - False

Pull Request Type

[ ] Xircuits Core (Jupyterlab Related changes)
[x] Xircuits Canvas (Custom RD Related changes)
[ ] Xircuits Component Library
[ ] Xircuits Project Template
[ ] Testing Automation
[ ] Documentation
[ ] Others (Please Specify)

Type of Change

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

Tests

Drag link from non-any type InPorts

Drag a node which have inPorts with non-any type
Dropped a link from the port
A input dialog should popup based on its type
Insert any input and submit it
That port should be connected to its literal node

Drag link from any type InPorts

Drag a node which have inPorts with any type
Dropped a link from the port
A input dialog should popup
Insert the first character mentioned above based on the type you want. Follow by, the input and submit it.
That port should be connected to its literal node.

Tested on?

[ ] Windows
[ ] Linux Ubuntu
[ ] Centos
[ ] Mac
[ ] Others  (State here -> xxx )

Thanks for the reviewed. I wasn't aware the sidebar's literal was broken. Fix that.
For the float, I made the changes as requested. Even add a check if there is non-numeric value, it'll show an error dialog.


Expander cell has 1px width if non-breaking space is added

I've noticed that some Email Marketing software will add a   string within any empty cell. This will make the expander cell appear with a 1px width. I tried adding font-size: 0px !important; and line-height: 0 !important; but that didn't help. The only thing that worked for me was to hide the expander cell above 600px and add display:block within the media query.
Is there a reason NOT to hide the expander cell above 600px width and only show it for mobile? Based on the Docs, it seems as if the expander cell is only for mobile devices.

The expander is especially helpful for the nasty outlooks to ensure that cells expand to their correct size if their content is smaller. We've reworked the expander class in v2, however we're not supporting v1 anymore. We're more than happy to merge a PR on our v1.0.0 branch. Let us know if this is still a problem for v2. Thanks!


Provide allocate-less overloads of methods in SKTextBlobBuilder

In Uno Platform, we are using AllocatePositionedRun, which in some scenarios can be problematic as it's allocating and it's in a hot path. See for example this is a case where this was responsible for 11.3% of all allocations.

The idea here is to introduce a new API that won't allocate SKPositionedRunBuffer and instead give us the Spans that we need right away. I have made the same change to APIs other than AllocatePositionedRun for parity.

Why aren't you changing SKRunBuffer to a readonly struct?

@Gillibald Avoiding breaking changes

This can be a breaking change for V3

This sort of came to me https://github.com/mono/SkiaSharp/pull/2775
Let me know if this is useful and leave comments/suggestions.

Closing this in favour of https://github.com/mono/SkiaSharp/pull/2775
Since this API will be 3.0+ and the whole way the build works is different, the current API was mostly wrong. Hopefully the 3.x APIs are better to use.


[General] MQTT BLE OTA : No update notification

Briefly summarize the issue being raised
I configured the "CONFIG_OTA_MQTT_BLE_TRANSPORT_DEMO_ENABLED" demo on my ESP32 with this tutorial. I manage to connect the ESP32 to the MQTT proxy fine and everything seems to work. Unfortunately, it seems that the ESP32 does not receive a notification that there is a new firmware.
Describe the desired outcome
Normally, the ESP32 should receive notification that an update is available and start downloading it, then check the code signing before rebooting with this new version.
System information

Hardware board: ESP32-DevKitC
IDE used: VSCode
Operating System: Windows
Code version: 202107.00-62-g3513d937c
Demo: CONFIG_OTA_MQTT_BLE_TRANSPORT_DEMO_ENABLED

References
ESP32 Logs :
5 18042 [iot_thread] [INFO ][DEMO][180420] ---------STARTING DEMO---------

I (180987) BTDM_INIT: BT controller compile version [bfbbe1e]
6 18042 [iot_thread] [INFO ][INIT][180420] SDK successfully initialized.

I (180997) system_api: Base MAC address is not set
I (181007) system_api: read default base MAC address from EFUSE
I (181017) phy_init: phy_version 4660,0162888,Dec 23 2020
W (181017) phy_init: failed to load RF calibration data (0x1102), falling back to full calibration
GAP procedure initiated: advertise; disc_mode=2 adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=187 adv_itvl_max=375
7 18091 [iot_thread] [INFO ][DEMO][180910] No networks connected for the demo. Waiting for a network connection.

8 56053 [ble] [INFO ][DEMO][560530] BLE Connected to remote device, connId = 0

9 56053 [NetworkManager] [INFO ][DEMO][560530] Invoked callback for network state change event.

10 56054 [iot_thread] [INFO ][DEMO][560540] Successfully initialized the demo. Network type for the demo: 2

11 56054 [iot_thread] [ota_demo_mqtt_ble_transport.c:1922] [INFO] [OTA] OTA over MQTT demo, Application version 0.1.0
12 56207 [NumericComparis] Numeric comparison:844778

13 56208 [NumericComparis] Press 'y' to confirm, 'n' to reject

14 57066 [NumericComparis] Key accepted

15 57233 [ble] [ota_demo_mqtt_ble_transport.c:1222] [INFO] [OTA] BLE Channel is Open.

16 57233 [iot_thread] [ota_demo_mqtt_ble_transport.c:1266] [INFO] [OTA] The channel was initialized successfully

17 57233 [iot_thread] [ota_demo_mqtt_ble_transport.c:1332] [INFO] [OTA] Creating an MQTT connection to a2sx0p4jwqlvgu-ats.iot.eu-west-3.amazonaws.com.

GATT procedure initiated: notify; att_handle=47
18 57341 [iot_thread] [core_mqtt.c:886] [INFO] [MQTT] Packet received. ReceivedBytes=2.

19 57341 [iot_thread] [core_mqtt_serializer.c:970] [INFO] [MQTT] CONNACK session present bit not set.

20 57341 [iot_thread] [core_mqtt_serializer.c:912] [INFO] [MQTT] Connection accepted.

21 57341 [iot_thread] [core_mqtt.c:1563] [INFO] [MQTT] Received MQTT CONNACK successfully from broker.

22 57342 [iot_thread] [core_mqtt.c:1829] [INFO] [MQTT] MQTT connection established with the broker.

23 57342 [iot_thread] [ota_demo_mqtt_ble_transport.c:1890] [INFO] [OTA]  Received: 0   Queued: 0   Processed: 0   Dropped: 0

24 57346 [OTA Agent Task] [ota_pal.c:611] [INFO] [OTA] otaPal_GetPlatformImageState

I (574047) esp_ota_ops: aws_esp_ota_get_boot_flags: 1
I (574047) esp_ota_ops: [0] aflags/seq:0x2/0x1, pflags/seq:0xffffffff/0x0
25 57348 [OTA Agent Task] [ota.c:2840] [INFO] [OTA] Current State=[RequestingJob], Event=[Start], New state=[RequestingJob]

GATT procedure initiated: notify; att_handle=47
26 57442 [iot_thread] [ota_demo_mqtt_ble_transport.c:1890] [INFO] [OTA]  Received: 0   Queued: 0   Processed: 0   Dropped: 0

27 57453 [MQTT Agent Task] [core_mqtt.c:886] [INFO] [MQTT] Packet received. ReceivedBytes=3.

28 57453 [OTA Agent Task] [ota_demo_mqtt_ble_transport.c:1439] [INFO] [OTA] SUBSCRIBED to topic $aws/things/OTA_Device/jobs/notify-next to broker.

GATT procedure initiated: notify; att_handle=47
29 57542 [iot_thread] [ota_demo_mqtt_ble_transport.c:1890] [INFO] [OTA]  Received: 0   Queued: 0   Processed: 0   Dropped: 0

30 57558 [MQTT Agent Task] [core_mqtt.c:886] [INFO] [MQTT] Packet received. ReceivedBytes=3.

31 57560 [OTA Agent Task] [ota_demo_mqtt_ble_transport.c:1439] [INFO] [OTA] SUBSCRIBED to topic $aws/things/OTA_Device/jobs/$next/get/accepted to broker.

32 57561 [OTA Agent Task] [ota_mqtt.c:386] [INFO] [OTA] Subscribed to MQTT topic: $aws/things/OTA_Device/jobs/notify-next

33 57561 [MQTT Agent Task] [core_mqtt_agent_command_functions.c:76] [INFO] [MQTT] Publishing message to $aws/things/OTA_Device/jobs/$next/get.

GATT procedure initiated: notify; att_handle=47
34 57642 [iot_thread] [ota_demo_mqtt_ble_transport.c:1890] [INFO] [OTA]  Received: 0   Queued: 0   Processed: 0   Dropped: 0

35 57666 [MQTT Agent Task] [core_mqtt.c:886] [INFO] [MQTT] Packet received. ReceivedBytes=2.

36 57667 [MQTT Agent Task] [core_mqtt.c:1162] [INFO] [MQTT] Ack packet deserialized with result: MQTTSuccess.

37 57668 [MQTT Agent Task] [core_mqtt.c:1175] [INFO] [MQTT] State record updated. New state=MQTTPublishDone.

38 57669 [OTA Agent Task] [ota_demo_mqtt_ble_transport.c:1539] [INFO] [OTA] Sent PUBLISH packet to broker $aws/things/OTA_Device/jobs/$next/get to broker.

39 57669 [OTA Agent Task] [ota_os_freertos.c:310] [WARN] [OTA] OTA Timer handle NULL for Timerid=0, can't stop.

40 57672 [OTA Agent Task] [ota.c:2840] [INFO] [OTA] Current State=[WaitingForJob], Event=[RequestJobDocument], New state=[WaitingForJob]

41 57742 [iot_thread] [ota_demo_mqtt_ble_transport.c:1890] [INFO] [OTA]  Received: 0   Queued: 0   Processed: 0   Dropped: 0

42 57842 [iot_thread] [ota_demo_mqtt_ble_transport.c:1890] [INFO] [OTA]  Received: 0   Queued: 0   Processed: 0   Dropped: 0

43 57942 [iot_thread] [ota_demo_mqtt_ble_transport.c:1890] [INFO] [OTA]  Received: 0   Queued: 0   Processed: 0   Dropped: 0

44 58042 [iot_thread] [ota_demo_mqtt_ble_transport.c:1890] [INFO] [OTA]  Received: 0   Queued: 0   Processed: 0   Dropped: 0

45 58142 [iot_thread] [ota_demo_mqtt_ble_transport.c:1890] [INFO] [OTA]  Received: 0   Queued: 0   Processed: 0   Dropped: 0

46 58242 [iot_thread] [ota_demo_mqtt_ble_transport.c:1890] [INFO] [OTA]  Received: 0   Queued: 0   Processed: 0   Dropped: 0

47 58342 [iot_thread] [ota_demo_mqtt_ble_transport.c:1890] [INFO] [OTA]  Received: 0   Queued: 0   Processed: 0   Dropped: 0

Android FreeRTOS Demo Logs :
2022-05-05 09:17:45.797 25400-25400/software.amazon.freertos.demo I/DeviceScanFragment: Scan button clicked.
2022-05-05 09:17:45.802 25400-25400/software.amazon.freertos.demo I/AmazonFreeRTOSManager: Starting ble device scan
2022-05-05 09:17:45.803 25400-25400/software.amazon.freertos.demo D/BluetoothAdapter: isLeEnabled(): ON
2022-05-05 09:17:45.827 25400-25436/software.amazon.freertos.demo D/BluetoothLeScanner: onScannerRegistered() - status=0 scannerId=11 mScannerId=0
2022-05-05 09:17:45.946 25400-25400/software.amazon.freertos.demo D/AmazonFreeRTOSManager: Found ble device: C8:C9:A3:CF:DD:E6 RSSI: -62
2022-05-05 09:17:45.949 25400-25400/software.amazon.freertos.demo D/DeviceScanFragment: new ble device found.  Bonding state: 12
2022-05-05 09:17:59.906 25400-25436/software.amazon.freertos.demo D/FRD: GattService: 00001800-0000-1000-8000-00805f9b34fb
2022-05-05 09:17:59.908 25400-25436/software.amazon.freertos.demo D/FRD:  |-characteristics: 00002a00-0000-1000-8000-00805f9b34fb
2022-05-05 09:17:59.908 25400-25436/software.amazon.freertos.demo D/FRD:  |-characteristics: 00002a01-0000-1000-8000-00805f9b34fb
2022-05-05 09:17:59.908 25400-25436/software.amazon.freertos.demo D/FRD: GattService: 00001801-0000-1000-8000-00805f9b34fb
2022-05-05 09:17:59.908 25400-25436/software.amazon.freertos.demo D/FRD:  |-characteristics: 00002a05-0000-1000-8000-00805f9b34fb
2022-05-05 09:17:59.908 25400-25436/software.amazon.freertos.demo D/FRD: GattService: 8a7f1168-48af-4efb-83b5-e679f932ff00
2022-05-05 09:17:59.908 25400-25436/software.amazon.freertos.demo D/FRD:  |-characteristics: DEVICE_VERSION
2022-05-05 09:17:59.908 25400-25436/software.amazon.freertos.demo D/FRD:  |-characteristics: IOT_ENDPOINT
2022-05-05 09:17:59.909 25400-25436/software.amazon.freertos.demo D/FRD:  |-characteristics: DEVICE_MTU
2022-05-05 09:17:59.909 25400-25436/software.amazon.freertos.demo D/FRD:  |-characteristics: DEVICE_PLATFORM
2022-05-05 09:17:59.909 25400-25436/software.amazon.freertos.demo D/FRD:  |-characteristics: DEVICE_ID
2022-05-05 09:17:59.909 25400-25436/software.amazon.freertos.demo D/FRD: GattService: a9d7166a-d72e-40a9-a002-48044cc30000
2022-05-05 09:17:59.909 25400-25436/software.amazon.freertos.demo D/FRD:  |-characteristics: MQTT_CONTROL
2022-05-05 09:17:59.909 25400-25436/software.amazon.freertos.demo D/FRD:  |-characteristics: MQTT_TX
2022-05-05 09:17:59.909 25400-25436/software.amazon.freertos.demo D/FRD:  |-characteristics: MQTT_RX
2022-05-05 09:17:59.909 25400-25436/software.amazon.freertos.demo D/FRD:  |-characteristics: MQTT_TXLARGE
2022-05-05 09:17:59.909 25400-25436/software.amazon.freertos.demo D/FRD:  |-characteristics: MQTT_RXLARGE
2022-05-05 09:17:59.911 25400-25436/software.amazon.freertos.demo D/FRD: Getting ble software version on device.
2022-05-05 09:17:59.911 25400-25436/software.amazon.freertos.demo D/FRD: Ble operation is in progress. mqtt queue: 0 network queue: 1
2022-05-05 09:17:59.911 25400-25436/software.amazon.freertos.demo D/FRD: Processing BLE command: READ_CHARACTERISTIC remaining mqtt queue 0, network queue 0
2022-05-05 09:17:59.911 25400-25436/software.amazon.freertos.demo D/FRD: <-<-<- Reading from characteristic: DEVICE_VERSION
2022-05-05 09:18:02.917 25400-25909/software.amazon.freertos.demo E/FRD: Ble command failed to be sent OR timeout after 3000ms
2022-05-05 09:18:10.314 25400-25436/software.amazon.freertos.demo D/FRD: ->->-> onCharacteristicRead status: Success.
2022-05-05 09:18:10.315 25400-25436/software.amazon.freertos.demo D/FRD: GATT services initializing...
2022-05-05 09:18:10.315 25400-25436/software.amazon.freertos.demo I/DeviceScanFragment: BLE connection status changed to: BLE_INITIALIZING
2022-05-05 09:18:10.315 25400-25436/software.amazon.freertos.demo D/FRD: Getting device type...
2022-05-05 09:18:10.315 25400-25436/software.amazon.freertos.demo D/FRD: Ble operation is in progress. mqtt queue: 0 network queue: 1
2022-05-05 09:18:10.315 25400-25436/software.amazon.freertos.demo D/FRD: Getting device cert id...
2022-05-05 09:18:10.315 25400-25436/software.amazon.freertos.demo D/FRD: Ble operation is in progress. mqtt queue: 0 network queue: 2
2022-05-05 09:18:10.315 25400-25436/software.amazon.freertos.demo D/FRD: Getting current MTU.
2022-05-05 09:18:10.315 25400-25436/software.amazon.freertos.demo D/FRD: Ble operation is in progress. mqtt queue: 0 network queue: 3
2022-05-05 09:18:10.315 25400-25436/software.amazon.freertos.demo D/FRD: Ble operation is in progress. mqtt queue: 1 network queue: 3
2022-05-05 09:18:10.316 25400-25436/software.amazon.freertos.demo D/FRD: Ble operation is in progress. mqtt queue: 2 network queue: 3
2022-05-05 09:18:10.316 25400-25436/software.amazon.freertos.demo D/FRD: Ble operation is in progress. mqtt queue: 2 network queue: 4
2022-05-05 09:18:10.316 25400-25436/software.amazon.freertos.demo D/FRD: Ble operation is in progress. mqtt queue: 2 network queue: 5
2022-05-05 09:18:10.318 25400-25436/software.amazon.freertos.demo D/FRD: ->->-> onCharacteristicRead: 342e302e30
2022-05-05 09:18:10.318 25400-25436/software.amazon.freertos.demo I/FRD: Ble software version on device is: 4.0.0
2022-05-05 09:18:10.319 25400-25436/software.amazon.freertos.demo D/FRD: Processing BLE command: READ_CHARACTERISTIC remaining mqtt queue 2, network queue 4
2022-05-05 09:18:10.319 25400-25436/software.amazon.freertos.demo D/FRD: <-<-<- Reading from characteristic: DEVICE_PLATFORM
2022-05-05 09:18:10.495 25400-25436/software.amazon.freertos.demo D/FRD: ->->-> onCharacteristicRead status: Success.
2022-05-05 09:18:10.496 25400-25436/software.amazon.freertos.demo D/FRD: ->->-> onCharacteristicRead:<PHONE_NUMBER>73736966455350
2022-05-05 09:18:10.496 25400-25436/software.amazon.freertos.demo I/FRD: Device type is: EspressifESP32
2022-05-05 09:18:10.496 25400-25436/software.amazon.freertos.demo D/FRD: Processing BLE command: WRITE_DESCRIPTOR remaining mqtt queue 1, network queue 4
2022-05-05 09:18:10.497 25400-25436/software.amazon.freertos.demo D/BluetoothGatt: setCharacteristicNotification() - uuid: a9d7166a-d72e-40a9-a002-48044cc30002 enable: true
2022-05-05 09:18:10.681 25400-25436/software.amazon.freertos.demo D/FRD: onDescriptorWrite for characteristic: MQTT_TX; Status: Success
2022-05-05 09:18:10.682 25400-25436/software.amazon.freertos.demo D/FRD: Processing BLE command: READ_CHARACTERISTIC remaining mqtt queue 1, network queue 3
2022-05-05 09:18:10.683 25400-25436/software.amazon.freertos.demo D/FRD: <-<-<- Reading from characteristic: DEVICE_ID
2022-05-05 09:18:10.857 25400-25436/software.amazon.freertos.demo D/FRD: ->->-> onCharacteristicRead status: Success.
2022-05-05 09:18:10.862 25400-25436/software.amazon.freertos.demo D/FRD: ->->-> onCharacteristicRead: 556e6b6e6f776e
2022-05-05 09:18:10.862 25400-25436/software.amazon.freertos.demo I/FRD: Device id is: Unknown
2022-05-05 09:18:10.863 25400-25436/software.amazon.freertos.demo D/FRD: Processing BLE command: WRITE_DESCRIPTOR remaining mqtt queue 0, network queue 3
2022-05-05 09:18:10.864 25400-25436/software.amazon.freertos.demo D/BluetoothGatt: setCharacteristicNotification() - uuid: a9d7166a-d72e-40a9-a002-48044cc30004 enable: true
2022-05-05 09:18:11.038 25400-25436/software.amazon.freertos.demo D/FRD: onDescriptorWrite for characteristic: MQTT_TXLARGE; Status: Success
2022-05-05 09:18:11.039 25400-25436/software.amazon.freertos.demo D/FRD: Processing BLE command: READ_CHARACTERISTIC remaining mqtt queue 0, network queue 2
2022-05-05 09:18:11.040 25400-25436/software.amazon.freertos.demo D/FRD: <-<-<- Reading from characteristic: DEVICE_MTU
2022-05-05 09:18:11.217 25400-25436/software.amazon.freertos.demo D/FRD: ->->-> onCharacteristicRead status: Success.
2022-05-05 09:18:11.220 25400-25436/software.amazon.freertos.demo D/FRD: ->->-> onCharacteristicRead: 353132
2022-05-05 09:18:11.221 25400-25436/software.amazon.freertos.demo I/FRD: Default MTU is set to: 512
2022-05-05 09:18:11.221 25400-25436/software.amazon.freertos.demo I/FRD: Setting mtu to: 512
2022-05-05 09:18:11.221 25400-25436/software.amazon.freertos.demo D/FRD: Ble operation is in progress. mqtt queue: 0 network queue: 3
2022-05-05 09:18:11.222 25400-25436/software.amazon.freertos.demo D/FRD: Processing BLE command: WRITE_DESCRIPTOR remaining mqtt queue 0, network queue 2
2022-05-05 09:18:11.223 25400-25436/software.amazon.freertos.demo W/FRD: There's no such service found with uuid: a9d7166a-d72e-40a9-a002-48044cc30100
2022-05-05 09:18:11.223 25400-25909/software.amazon.freertos.demo E/FRD: Ble command failed to be sent OR timeout after 3000ms
2022-05-05 09:18:11.226 25400-25909/software.amazon.freertos.demo D/FRD: Processing BLE command: WRITE_DESCRIPTOR remaining mqtt queue 0, network queue 1
2022-05-05 09:18:11.227 25400-25909/software.amazon.freertos.demo W/FRD: There's no such service found with uuid: a9d7166a-d72e-40a9-a002-48044cc30100
2022-05-05 09:18:11.227 25400-25909/software.amazon.freertos.demo E/FRD: Ble command failed to be sent OR timeout after 3000ms
2022-05-05 09:18:11.229 25400-25909/software.amazon.freertos.demo D/FRD: Processing BLE command: REQUEST_MTU remaining mqtt queue 0, network queue 0
2022-05-05 09:18:11.230 25400-25909/software.amazon.freertos.demo D/BluetoothGatt: configureMTU() - device: C8:C9:A3:CF:DD:E6 mtu: 512
2022-05-05 09:18:11.307 25400-25436/software.amazon.freertos.demo D/BluetoothGatt: onConfigureMTU() - Device=C8:C9:A3:CF:DD:E6 mtu=512 status=0
2022-05-05 09:18:11.309 25400-25436/software.amazon.freertos.demo I/FRD: onMTUChanged : 512 status: Success
2022-05-05 09:18:11.309 25400-25436/software.amazon.freertos.demo I/DeviceScanFragment: BLE connection status changed to: BLE_INITIALIZED
2022-05-05 09:18:11.310 25400-25436/software.amazon.freertos.demo I/FRD: Enabling Wifi provisioning
2022-05-05 09:18:11.311 25400-25436/software.amazon.freertos.demo D/FRD: Ble operation is in progress. mqtt queue: 0 network queue: 1
2022-05-05 09:18:11.312 25400-25436/software.amazon.freertos.demo I/FRD: Enabling MQTT Proxy
2022-05-05 09:18:11.312 25400-25436/software.amazon.freertos.demo D/FRD: Ble operation is in progress. mqtt queue: 1 network queue: 1
2022-05-05 09:18:11.316 25400-25436/software.amazon.freertos.demo D/FRD: Processing BLE command: WRITE_CHARACTERISTIC remaining mqtt queue 1, network queue 0
2022-05-05 09:18:11.316 25400-25436/software.amazon.freertos.demo W/FRD: There's no such service found with uuid: a9d7166a-d72e-40a9-a002-48044cc30100
2022-05-05 09:18:11.319 25400-25909/software.amazon.freertos.demo E/FRD: Ble command failed to be sent OR timeout after 3000ms
2022-05-05 09:18:11.321 25400-25909/software.amazon.freertos.demo D/FRD: Processing BLE command: WRITE_CHARACTERISTIC remaining mqtt queue 0, network queue 0
2022-05-05 09:18:11.322 25400-25909/software.amazon.freertos.demo D/FRD: <-<-<- Writing to characteristic: MQTT_CONTROL  with data: 01
2022-05-05 09:18:11.395 25400-25436/software.amazon.freertos.demo D/FRD: onCharacteristicWrite for: MQTT_CONTROL; status: Success; value: 01
2022-05-05 09:18:11.396 25400-25436/software.amazon.freertos.demo D/FRD: There's no ble command in the queue.
2022-05-05 09:18:11.402 25400-25436/software.amazon.freertos.demo D/FRD: ->->-> Characteristic changed for: MQTT_TX with data: a461770161646a4f54415f44
2022-05-05 09:18:11.402 25400-25436/software.amazon.freertos.demo D/FRD: Processing incoming queue. size: 0
2022-05-05 09:18:11.414 25400-25436/software.amazon.freertos.demo I/FRD: Handling Mqtt Message type : 1
2022-05-05 09:18:11.425 25400-25436/software.amazon.freertos.demo I/FRD: Connecting to IoT using AWS credential: a2sx0p4jwqlvgu-ats.iot.eu-west-3.amazonaws.com
2022-05-05 09:18:11.582 25400-26088/software.amazon.freertos.demo D/AWSMobileClient: Inspecting user state details
2022-05-05 09:18:11.890 25400-26088/software.amazon.freertos.demo D/AWSMobileClient: hasFederatedToken: true provider: cognito-idp.eu-west-3.amazonaws.com/eu-west-3_5mj2IHNSA
2022-05-05 09:18:11.891 25400-26088/software.amazon.freertos.demo D/AWSMobileClient: waitForSignIn: userState:SIGNED_IN
2022-05-05 09:18:11.892 25400-26088/software.amazon.freertos.demo D/AWSMobileClient: getCredentials: Validated user is signed-in
2022-05-05 09:18:12.133 25400-26088/software.amazon.freertos.demo I/AWSIotMqttManager: metrics collection is enabled, username: ?SDK=Android&Version=2.13.5&Platform=EspressifESP32&AFRSDK=Android&AFRDevID=Unknown&AFRLibVersion=4.0.0
2022-05-05 09:18:12.134 25400-26088/software.amazon.freertos.demo I/AWSIotMqttManager: resetting reconnect attempt and retry time
2022-05-05 09:18:12.134 25400-26088/software.amazon.freertos.demo I/FRD: mqtt connection status changed to: Connecting
2022-05-05 09:18:12.150 25400-25422/software.amazon.freertos.demo W/System: A resource failed to call release.
2022-05-05 09:18:12.386 25400-26098/software.amazon.freertos.demo I/AWSIotMqttManager: onSuccess: mqtt connection is successful.
2022-05-05 09:18:12.386 25400-26098/software.amazon.freertos.demo I/FRD: mqtt connection status changed to: Connected
2022-05-05 09:18:12.393 25400-26098/software.amazon.freertos.demo D/FRD: Processing BLE command: WRITE_CHARACTERISTIC remaining mqtt queue 0, network queue 0
2022-05-05 09:18:12.396 25400-26098/software.amazon.freertos.demo D/FRD: <-<-<- Writing to characteristic: MQTT_RX  with data: a2617302617702
2022-05-05 09:18:12.478 25400-25696/software.amazon.freertos.demo D/FRD: onCharacteristicWrite for: MQTT_RX; status: Success; value: a2617302617702
2022-05-05 09:18:12.478 25400-25696/software.amazon.freertos.demo D/FRD: There's no ble command in the queue.
2022-05-05 09:18:12.578 25400-25696/software.amazon.freertos.demo D/FRD: ->->-> Characteristic changed for: MQTT_TX with data: a46177086176817827246177
2022-05-05 09:18:12.579 25400-25696/software.amazon.freertos.demo D/FRD: Processing incoming queue. size: 0
2022-05-05 09:18:12.582 25400-25696/software.amazon.freertos.demo I/FRD: Handling Mqtt Message type : 8
2022-05-05 09:18:12.586 25400-25696/software.amazon.freertos.demo D/FRD: Subscribe message:
        type: 8
        msgId: 1
        topic: $aws/things/OTA_Device/jobs/notify-next, qos: 1
2022-05-05 09:18:12.587 25400-25696/software.amazon.freertos.demo I/FRD: Subscribing to IoT on topic : $aws/things/OTA_Device/jobs/notify-next
2022-05-05 09:18:13.094 25400-25909/software.amazon.freertos.demo I/FRD: Sending SUB ACK back to device.
2022-05-05 09:18:13.098 25400-25909/software.amazon.freertos.demo D/FRD: Processing BLE command: WRITE_CHARACTERISTIC remaining mqtt queue 0, network queue 0
2022-05-05 09:18:13.106 25400-25909/software.amazon.freertos.demo D/FRD: <-<-<- Writing to characteristic: MQTT_RX  with data: a3616901617301617709
2022-05-05 09:18:13.271 25400-25696/software.amazon.freertos.demo D/FRD: onCharacteristicWrite for: MQTT_RX; status: Success; value: a3616901617301617709
2022-05-05 09:18:13.272 25400-25696/software.amazon.freertos.demo D/FRD: There's no ble command in the queue.
2022-05-05 09:18:13.614 25400-25696/software.amazon.freertos.demo D/FRD: ->->-> Characteristic changed for: MQTT_TX with data: a4617708617681782e246177
2022-05-05 09:18:13.615 25400-25696/software.amazon.freertos.demo D/FRD: Processing incoming queue. size: 0
2022-05-05 09:18:13.617 25400-25696/software.amazon.freertos.demo I/FRD: Handling Mqtt Message type : 8
2022-05-05 09:18:13.619 25400-25696/software.amazon.freertos.demo D/FRD: Subscribe message:
        type: 8
        msgId: 2
        topic: $aws/things/OTA_Device/jobs/$next/get/accepted, qos: 1
2022-05-05 09:18:13.619 25400-25696/software.amazon.freertos.demo I/FRD: Subscribing to IoT on topic : $aws/things/OTA_Device/jobs/$next/get/accepted
2022-05-05 09:18:14.123 25400-25909/software.amazon.freertos.demo I/FRD: Sending SUB ACK back to device.
2022-05-05 09:18:14.127 25400-25909/software.amazon.freertos.demo D/FRD: Processing BLE command: WRITE_CHARACTERISTIC remaining mqtt queue 0, network queue 0
2022-05-05 09:18:14.132 25400-25909/software.amazon.freertos.demo D/FRD: <-<-<- Writing to characteristic: MQTT_RX  with data: a3616902617301617709
2022-05-05 09:18:14.238 25400-25696/software.amazon.freertos.demo D/FRD: onCharacteristicWrite for: MQTT_RX; status: Success; value: a3616902617301617709
2022-05-05 09:18:14.239 25400-25696/software.amazon.freertos.demo D/FRD: There's no ble command in the queue.
2022-05-05 09:18:14.693 25400-25696/software.amazon.freertos.demo D/FRD: ->->-> Characteristic changed for: MQTT_TX with data: a56177036175782524617773
2022-05-05 09:18:14.694 25400-25696/software.amazon.freertos.demo D/FRD: Processing incoming queue. size: 0
2022-05-05 09:18:14.697 25400-25696/software.amazon.freertos.demo I/FRD: Handling Mqtt Message type : 3
2022-05-05 09:18:14.701 25400-25696/software.amazon.freertos.demo I/FRD: Sending mqtt message to IoT on topic: $aws/things/OTA_Device/jobs/$next/get message: {"clientToken":":OTA_Device"} MsgID: 3
2022-05-05 09:18:14.756 25400-26098/software.amazon.freertos.demo I/AWSIotMqttManager: delivery is complete
2022-05-05 09:18:14.757 25400-26098/software.amazon.freertos.demo D/FRD: Publish msg delivery status: Success
2022-05-05 09:18:14.757 25400-26098/software.amazon.freertos.demo I/FRD: Sending PUB ACK back to device. MsgID: 3
2022-05-05 09:18:14.758 25400-26098/software.amazon.freertos.demo D/FRD: Processing BLE command: WRITE_CHARACTERISTIC remaining mqtt queue 0, network queue 0
2022-05-05 09:18:14.760 25400-26098/software.amazon.freertos.demo D/FRD: <-<-<- Writing to characteristic: MQTT_RX  with data: a2616903617704
2022-05-05 09:18:14.861 25400-25696/software.amazon.freertos.demo D/FRD: onCharacteristicWrite for: MQTT_RX; status: Success; value: a2616903617704
2022-05-05 09:18:14.861 25400-25696/software.amazon.freertos.demo D/FRD: There's no ble command in the queue.
2022-05-05 09:19:15.371 25400-25436/software.amazon.freertos.demo D/FRD: ->->-> Characteristic changed for: MQTT_TX with data: a161770c
2022-05-05 09:19:15.372 25400-25436/software.amazon.freertos.demo D/FRD: Processing incoming queue. size: 0
2022-05-05 09:19:15.373 25400-25436/software.amazon.freertos.demo I/FRD: Handling Mqtt Message type : 12
2022-05-05 09:19:15.377 25400-25436/software.amazon.freertos.demo D/FRD: Processing BLE command: WRITE_CHARACTERISTIC remaining mqtt queue 0, network queue 0
2022-05-05 09:19:15.381 25400-25436/software.amazon.freertos.demo D/FRD: <-<-<- Writing to characteristic: MQTT_RX  with data: a161770d
2022-05-05 09:19:15.481 25400-25436/software.amazon.freertos.demo D/FRD: onCharacteristicWrite for: MQTT_RX; status: Success; value: a161770d
2022-05-05 09:19:15.481 25400-25436/software.amazon.freertos.demo D/FRD: There's no ble command in the queue.

Additional context
This must not come from my job configuration or my AWS configuration because I manage to do an OTA update with the "CONFIG_OTA_MQTT_UPDATE_DEMO_ENABLED" demo.
It doesn't seem to come from my Cognito configuration because I also manage to send MQTT BLE packets with the "CONFIG_MQTT_BLE_TRANSPORT_DEMO_ENABLED" demo. However, it is true that with this demo, I have problems with the reception (subscription) of MQTT messages where the demo crashes (reboot card).

Hi @Steven35700,
I was able to reproduce the issue. It seems the policy ( mentioned as mqttProxyCognitoPolicy in the tutorial) assigned to Cognito identity role (mentioned as Cognito_mqtt_proxy_identity_poolAuth_Role in the tutorial) does not have permissions to receive packets (iot:Receive)  from broker.
Could you go to: IAM Console > Choose Roles > Search for the Cognito identity role you created > Edit Inline policy for IoT.
The updated policy should have following permissions to the resource:
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "iot:Receive",
                "iot:Subscribe",
                "iot:AttachPolicy",
                "iot:AttachPrincipalPolicy",
                "iot:Connect",
                "iot:GetThingShadow",
                "iot:ListAttachedPolicies",
                "iot:DeleteThingShadow",
                "iot:UpdateThingShadow",
                "iot:CreateCertificateFromCsr",
                "iot:Publish"
            ],
            "Resource": "*"
        }
    ]
}

After updating policy please reconnect the mobile app to the BLE device.

Hi,
I made the change, everything works perfectly now!
So there is an error in the tutorial. Thank you very much for your time and help!
Steven

Glad to know it works!
I will close the issue.


sync mobile's rules_jvm_external with core envoy (4.5 -> 6.4)

This will unblock updating the version of rules_java we are using.
Risk Level: low
Testing: ci

cc: phlax


Dedicated transfer page

Story
As a user
I want a simplified dedicated transfer page
So that I can easily be linked to transfers from other apps
Acceptance Criteria

[x] I can transfer on /transfer
[x] I can transfer with a preselected asset at /transfer?assetId=xyz

Tasks

[x] UX (if needed)
[x] Design (if needed)
[ ] Team and stakeholder review
[x] Specs reviewed and created or adjusted
[x] Implementation
[x] Testing (unit and/or e2e)
[x] Code review
[x] QA review

Sketch
Additional details / background info

@macqbat Can we make the asset box to match vega key and amount when no asset has been selected?

@macqbat, @mattrussell36 Can we make the asset box to match vega key and amount when no asset has been selected?

this has been done in the last commit

@macqbat All looks good to me.
Is this going through a team review or can we move to closed?


Adding python script to easily obtain key customer info

Runs commands in command line, conducts string manipulation to obtain key pieces of infromation, and saves to results file

@sarahraza007 please update your branch to fix the CI errors. From your working branch, run git fetch and then git merge origin/main. You should push the update and that's all. We will then continue working on this branch, I have converted this PR to draft for now.

@sarahraza007 Thank you!
Now please, lets move the code to a subdirectory that does not exists yet so you need to create it (two directories actually). Lets put the script you made into scripts/customer-info/ directory. It may be the case we create more scripts to help us with other tasks.

Please, move the files you are working on to scripts/customer-info/, you need to create the customer-info folder inside the folder scripts and put your files there :)

@sarahraza007 just one final note before we consider merging this PR. Please add a readme.md file in the scripts/customer-info/ directory. In that file you write documentation about the script. I would expect something like

Goal: what do we want to do with the script? General view. Expected result.
How do we want to do it? By using aquery, cquery and so on.
Current implementation. Just saying what is the script currently doing.
How to execute? Show as well an output example.
....

Add more content as needed.

Good job @sarahraza007 !
Let's continue with some modifications.

Adapt the generated file yaml with readable fields like  total_actions: 47.
Lets show help for the user when he does not provide enough arguments.
For instance we can       if len(sys.argv) < 3:
           print("NICE PARAGRAPH EXPLAINING THE ARGUMENTS WE NEED BLABLABLA")

Lets add some nice prints to show progress and more. A few ideas (add whatever you see necessary)       print("Analysing target ", target, file=sys.stderr)
       ...
       print("Extracting targets information", , file=sys.stderr)
       ...
       print("saving analysis file in path....", file=sys.stderr)

Lets provide a way to explore the repository instead of giving a target. So we could do something like

List the directories in the provided repository path
Apply analysis for //directory and save the result in an independent file
Save global results (summation of individual results) in another file

Please, also update your branch with:
git fetch
git merge origin/main

Can we check this in?

Moving this to Ready for review.

I've asked @vaibhav-shah to take over this and find a good place for this to live as a sales tool

Do we reached a decision on where to put this?


Unhandled Exception: FileSystemException: Cannot open file

Describe the bug
I have following documentation, and I have granted permission to access and write storage in my android device.
But, I am want to write some data and I had Unhandled Exception: FileSystemException: Cannot open file error, here is my code
class LocalDB {
  static final path = Directory.current.path + 'intiflex.db';

  ObjectDB get db => ObjectDB(FileSystemStorage(path));
}

final localDB = getIt<LocalDB>();
await localDB.db.insert(inspectionData);

import 'package:path/path.dart' as p;

...

  static final path = p.join(Directory.current.path, 'intiflex.db');

...

Hmmm, i have following your code, but I facing same error, there is my code :
import 'package:objectdb/objectdb.dart';
import 'package:objectdb/src/objectdb_storage_filesystem.dart';
import 'package:path/path.dart' as p;
import 'dart:io';

class LocalDB {
  static final path = p.join(Directory.current.path, 'intiflex.db');

  ObjectDB get db => ObjectDB(FileSystemStorage(path));
}

i have this problem in IOS 15

@m2faridi Directory.current.path does not work on iOS. You need to use the path_provider plugin.

Please give a simple example

You can find an example in the plugin docs


Release 0.26.0

Release 0.26.0
Change Log
These are all the changes since 0.25.0:

Update README to include FreeBSD build steps #527
Add argument unpacking at callsites (spread operator) #528
Resolve an issue where expressions in the REPL were being printed when it wasn't intended #530
Add string.repeat(num) #534
Add uname to System module #535
Add mkdirTemp to System module #536
Add set.containsAll() #538
Add a new builtin Module Object #539

Object.createFrom
Object.getClassRef

Fixed a bug where break used within a function defined within a loop would cause a segfault #542
Add _name attribute to classes which returns the class name as a string #543
Add Env.clearAll() #544
Add Dictu proxy server example #545
Fixed an issue where you could not unpack lists unless declaring the variable #421
Fixed an issue with imports saving the pathname incorrectly #547
Add new client to HTTP module #548
Fix an issue where self referencing datatypes would cause a segfault when attempting to print #549
Add new Term module #550

Not sure your thoughts but I only have this last thing in the term module. https://github.com/dictu-lang/Dictu/pull/550#discussion_r1014673637
I can knock that out and we can include that module in the new release.  No big deal either way. Just figured I'd mention it.

Looks like we're good to go on this, massively appreciate the work @briandowns and @MannarAmuthan!


tests: fix rowcache_invalidator flakyness

memcache seems to start up slow sometimes. Give the sanity check
a higher timeout to account for it.

LGTM thanks for the fix!