Mouse support - How to use

fn + left mouse / right mouse functions don't seem to work for me.
I'll using alt + left mouse to try to swap 2 windows and it causes one of the windwos to minimize.  alt + right click doesn't seem to allow resizing of the bsp region either.
Is there some option that needs to be turned on for this to work?  I have ffm disabled.
Thanks.

I'll using alt + left mouse to try to swap 2 windows and it causes one of the windwos to minimize. alt + right click doesn't seem to allow resizing of the bsp region either.

The modifier is fn. It only works on bsp-desktops.
Hold fn, left click inside a window and drag the mouse on top of some other window.
Hold fn, right click inside the focused window and drag the mouse

@koekeishiya thanks for the info.  I didn't have a fn key but managed to resolve things with #150

Is there anyway to change the resize (right click) event to something else? Could i change it to something like fn + shift + left click?

It is currently not possible to interchange left and right mouse buttons.
The reason for this is that they are two different event type, and both have a "special" case in their callback.
       case kCGEventLeftMouseDown:
        {
            CGEventFlags Flags = CGEventGetFlags(Event);
            if(((Flags & MouseModifier) == MouseModifier) &&
               (ResizeState.Mode == Drag_Mode_None))
            {
                LeftMouseDown();
                return NULL;
            }
        } break;
        case kCGEventLeftMouseDragged: { LeftMouseDragged(); } break;
        case kCGEventLeftMouseUp: { LeftMouseUp(); } break;
        case kCGEventRightMouseDown:
        {
            CGEventFlags Flags = CGEventGetFlags(Event);
            if(((Flags & MouseModifier) == MouseModifier) &&
               (ResizeState.Mode == Drag_Mode_None))
            {
                RightMouseDown();
                return NULL;
            }
        } break;
        case kCGEventRightMouseDragged: { RightMouseDragged(); } break;
        case kCGEventRightMouseUp: { RightMouseUp(); } break;

The only reason I see this happening is that we require the actions to be bound, using two cvars:
chunkc set window_mouse_move fn left_mouse
chunkc set window_mouse_resize fn shift left_mouse
In our callback above, we have to combine left + right events of a category:
case kCGEventLeftMouseDown:
case kCGEventRightMouseDown:
{
    // match flags and button with cvars
} break;

In addition, the handlers must be combined to single functions and switch based on click-type.

I am extremely confused by this also. It seems to be great at hiding windows, but nothing else.
I have no function keys, so I have:


DEC-398: Implement Material UI throughout site

First pass, and proof of concept on implementing Material UI throughout site using Material UI for ReactDropzone widget add the button that triggers it.
DEC-467: Created theme based off of light theme and our customizations for material design to use with Material-UI.

:+1:

@jaronkk anything else?

:+1:


undefined reference to `apn_init' ON Ubuntue

This lib can run on my Mac OS 10.10
But when I test same code on Ubuntu, It goes wrong.
I followed steps http://libcapn.org/doc/0.9.0/html/install.html
I have spend all my night on this.
$ gcc /usr/local/lib/capn/libcapn.so t.c
/tmp/ccO1OvrG.o: In function `main':
t.c:(.text+0x65): undefined reference to `apn_init'
t.c:(.text+0x75): undefined reference to `apn_error_code'
t.c:(.text+0x88): undefined reference to `apn_error_message'
t.c:(.text+0xa8): undefined reference to `apn_error_free'
t.c:(.text+0xc8): undefined reference to `apn_set_mode'
t.c:(.text+0xe0): undefined reference to `apn_add_token'
t.c:(.text+0xf3): undefined reference to `apn_payload_init'
t.c:(.text+0x103): undefined reference to `apn_error_code'
t.c:(.text+0x116): undefined reference to `apn_error_message'
t.c:(.text+0x136): undefined reference to `apn_free'
t.c:(.text+0x142): undefined reference to `apn_error_free'
t.c:(.text+0x16e): undefined reference to `apn_payload_set_badge'
t.c:(.text+0x186): undefined reference to `apn_payload_set_body'
t.c:(.text+0x1a3): undefined reference to `apn_payload_set_expiry'
t.c:(.text+0x1b9): undefined reference to `apn_payload_set_sound'
t.c:(.text+0x1d4): undefined reference to `apn_payload_add_custom_property_integer'
t.c:(.text+0x1e7): undefined reference to `apn_connect'
t.c:(.text+0x1f7): undefined reference to `apn_error_code'
t.c:(.text+0x20a): undefined reference to `apn_error_message'
t.c:(.text+0x22a): undefined reference to `apn_payload_free'
t.c:(.text+0x236): undefined reference to `apn_free'
t.c:(.text+0x242): undefined reference to `apn_error_free'
t.c:(.text+0x263): undefined reference to `apn_send'
t.c:(.text+0x277): undefined reference to `apn_error_code'
t.c:(.text+0x28a): undefined reference to `apn_error_message'
t.c:(.text+0x2aa): undefined reference to `apn_error_code'
t.c:(.text+0x2c0): undefined reference to `apn_error_invalid_token'
t.c:(.text+0x2de): undefined reference to `apn_close'
t.c:(.text+0x2ea): undefined reference to `apn_payload_free'
t.c:(.text+0x2f6): undefined reference to `apn_free'
t.c:(.text+0x302): undefined reference to `apn_error_free'
t.c:(.text+0x315): undefined reference to `apn_close'
t.c:(.text+0x321): undefined reference to `apn_payload_free'
t.c:(.text+0x32d): undefined reference to `apn_free'
collect2: error: ld returned 1 exit status

t.c is http://libcapn.org/doc/html/send_push_8c-example.html

You specified incorrect path to lib. Shall be:
$ gcc -lcapn -L  /usr/local/lib/capn t.c

I tried your command. It show the same error like mine.
I do not think the lib path is incorrect.
I install capn on my mac os X like ---$brew install libcapn
And i can compile on mac like ------$gcc /usr/local/lib/capn/libcapn.dylib t.c
Help me out~~
Thanks

It's my error in command, try:
$ gcc t.c -lcapn -L /usr/local/lib/capn

New command works !!!
Thank you.
But I meet a new Problem
At begin ./a.out
./a.out: error while loading shared libraries: libcapn.so.1: cannot open shared object file: No such file or directory
I run $ldconfig and problem solved. No error printed.
But my iPhone does not receive notification.
With the same code on Mac os X, my iPhone can receive notification.
I can sure the token is correct and PEM is fight. (cause if I change path for .pem. It will show error message like ----Could not connected to Apple Push Notification Servece: unable to use specified SSL certificate (12))
How to solve this problem?
Thanks very much!

Without seeing a code it is very difficult to speak about a possible problem. The current version also doesn't support logging. I would recommend to you to try version 2.0.0, it support logging and working faster.  Look it https://github.com/adobkin/libcapn/tree/experimental. This branch is EXPERIMENTAL and it not compatible to 1.0. Experimental branch will be merged with master soon

I remove /usr/local/lib/capn/*     /usr/local/include/capn/*
installd version 2.0.0
copy your simple code.
something like this happened
ubuntu@ip-172-31-17-20:~/libcapn/test$ gcc t.c -lcapn -L /usr/lib/capn
t.c: In function ‘main’:
t.c:18:9: error: variable ‘payload’ has initializer but incomplete type
apn_payload_t payload = NULL;
^
t.c:18:23: error: storage size of ‘payload’ isn’t known
apn_payload_t payload = NULL;
^
t.c:19:9: error: variable ‘ctx’ has initializer but incomplete type
apn_ctx_t ctx = NULL;
^
t.c:19:19: error: storage size of ‘ctx’ isn’t known
apn_ctx_t ctx = NULL;
^
t.c:52:9: error: variable ‘tokens’ has initializer but incomplete type
apn_array_t tokens = apn_array_init(2, NULL, NULL);
^
t.c:52:21: error: storage size of ‘tokens’ isn’t known
apn_array_t tokens = apn_array_init(2, NULL, NULL);
^

In example I lost asterisks. I fixed it and I added example tohttps://github.com/adobkin/libcapn/tree/experimental/examples. Try it

ubuntu@ip-172-31-17-20:~/libcapn/libcapn/examples$ gcc send_push_message.c -lcapn -L/usr/lib/capn
send_push_message.c: In function ‘main’:
send_push_message.c:74:41: error: ‘APN_ARRAY_ITERATOR_REVERSE’ undeclared (first use in this function)
for(apn_array_set_direction(tokens, APN_ARRAY_ITERATOR_REVERSE); apn_array_has_prev(tokens) == 1; apn_array_prev(tokens)) {
^
send_push_message.c:74:41: note: each undeclared identifier is reported only once for each function it appears in
send_push_message.c:75:23: warning: initialization makes pointer from integer without a cast [enabled by default]
char *token = apn_array_current_item(tokens);
^

send_push_message.c:74:41: error: ‘APN_ARRAY_ITERATOR_REVERSE’ undeclared (first use in this

fixed

Success!
Segmentation fault (core dumped)
did send the notification. Thanks~
Looking forward to your libcapn2


Custom widget for accounts listing

Custom widget to show accounts listing, currently used in dashboard only.
The widget is just return only the graphical elements to build the ui fragment. Dunno if this is how we want to work, but even if want to, we still don't have a definitive logic path for the architecture.
Widget has an optional image path param usable if we plan to use account logos later, that fallbacks in the default "gear" icon if empty.
To test names and amounts i've created a list of items in home_page.dart that are randomly sent to the Widget for rendering. Notice how long names as "Mediolanum" are splitted in 2 lines. That's seems a bit bad.
Also created lib/customWidgets folder to store our widgets. Is this naming convention good? We need subfolders?

Looks good your code.
Some info:

The folder custom_widget is a good choice for me
Could you show us a picture?
I think you should use the folder test/widget to test your code (you have to create this folder, I had eliminated it a few days ago beacuse not used). Maybe we would not touch the home_page.dart.

renamed customWidgets folder to custom_widgets
removed random test accounts from home_page.dart
added unit test for this widget
check pics attached: with and without account logo

Looks good @mikev-cw
For your first commit that's fine, but for the next few times it would be better not to do so many useless commits.

Tests have not been launched
@mikev-cw @matteasu


reproducible corruption:  rows merged from 2 inserts when overwriting

System info:
Reproduced on 3 instances of InfluxDB:
Influxd: 0.13.0
OS: Ubuntu Trusty 14.04
System: 2xSSD hdd, 256GB RAM, 32 cores
Influxd: 0.13.0
OS: Mac OS X 10.11.6 (15G1004)
System: Macbook Pro 15 (Mid 2015), 16GB RAM
Influxd: 1.0.0-rc2
OS: Mac OS X 10.11.6 (15G1004)
System: Macbook Pro 15 (Mid 2015), 16GB RAM
Details:
influx_issue.zip
When inserting data (via HTTP) that collides with existing timestamps, I occasionally get rows that contain a mix of field data from multiple inserts.
The test I've put together (see attached) inserts rows in batches of 8000 with a precision of 1 second to encourage collisions.  The rows contain 3 fields:

"batchcounter": an number incrementing once for each 8000 sample batch I post.
"counter1" & "counter2": a per-sample incrementing number set by the same variable.

fields := map[string]interface{}{
        "batchcounter": batchcounter,
        "counter1":     counter,
        "counter2":     counter,
}

The idea being "counter1" & "counter2" always match on insert and should always match in the database.
When running the attached test concurrently (I ran 10 workers) against the same database, I find a small percentage of my resulting rows show a difference between "counter1" & "counter2".
Query: SELECT * FROM testcounter WHERE counter1 != counter2
{
    "results": [
        {
            "series": [
                {
                    "name": "testcounter",
                    "columns": [
                        "time",
                        "batchcounter",
                        "counter1",
                        "counter2",
                        "version"
                    ],
                    "values": [
                        [
                            "2016-09-05T19:39:34Z",
                            138,
                            1263999,
                            975999,
                            "0.0.1"
                        ],
                        [
                            "2016-09-05T19:40:10Z",
                            320,
                            2567999,
                            2767999,
                            "0.0.1"
                        ],
                        [
                            "2016-09-05T19:40:14Z",
                            338,
                            2711999,
                            2895999,
                            "0.0.1"
                        ],
                        [
                            "2016-09-05T19:40:45Z",
                            512,
                            4103999,
                            4271999,
                            "0.0.1"
                        ],
                        [
                            "2016-09-05T19:41:18Z",
                            699,
                            5599999,
                            5543999,
                            "0.0.1"
                        ],
                        [
                            "2016-09-05T19:41:33Z",
                            757,
                            6063999,
                            6223999,
                            "0.0.1"
                        ],
                        [
                            "2016-09-05T19:41:36Z",
                            805,
                            6255999,
                            6447999,
                            "0.0.1"
                        ],
                        [
                            "2016-09-05T19:42:23Z",
                            1100,
                            8807999,
                            8751999,
                            "0.0.1"
                        ]
                    ]
                }
            ]
        }
    ]

Does this issue continue if you stop the insertion programs? There was an issue with reinserting data in 0.13 that was related to TSM, but this also be an issue with an old key cursor seeing old data. Here's an example I got while running 4 workers:
> select * from testcounter where counter1 != counter2
name: testcounter
-----------------
time                    batchcounter    counter1        counter2        version
1473265400000000000<PHONE_NUMBER>         2879999         0.0.1

> select * from testcounter where counter1 != counter2

It immediately went away on the second command and the values appear to be the same. Is it possible this is due to an iterator reading an old value and then immediately clearing itself up?

Hi, Thanks!
Yeah, I was trying to track down another problem with unexpected negative numbers in my data and came across this.  In another test, I noticed (as you mentioned) that sometimes recently populated fields go blank, and are populated again on a subsequent query.  From this observation I wrote this new test, and yeah,  It's a bit of a blunt stick.
The rows with the issue remain after I stop the insertion program, and even survive an influxd shutdown & restart.

I wonder if it's possible that you wrote two points at the same time and, since they were written at slightly different times, you got one field from one point and one field from another point that were inserted at the same time.
@jwilder is it possible for two points written at the same time to half-write each of the points?

Tested this with the latest v1.0.0 release on Ubuntu Trusty (same system described above) and got a couple of corrupt rows within the first 2 minutes (running 10 parallel inserters).

I've confirmed with @jwilder that this is expected behavior. When you perform an insert with multiple fields, these fields are written to different series and they are not committed in the same transaction. That means, if you write to the same point, it is possible to have a race condition between writing one field and writing the second field.


Optimize the initialization of List[ndarray] in cupy.array

Implement cupy.array(<List[cupy.ndarray]>)
Improve the performance of cupy.array(<List[numpy.ndarray]>)

Fixes #409 and #1084. Ref #1030.

A performance testing at https://github.com/cupy/cupy/pull/2081/commits/49668ab3e68d71ce0545e7339900589689854aaa (The script is here).
--shape="(28, 28)"

batch-size
10
100
1000

numpy -> numpy
0.153
1.246
12.679

numpy -> cupy
1.479
3.212
19.265

cupy -> cupy
2.718
4.770
23.148

--shape="(3, 224, 224)"

batch-size
1
10
100

numpy -> numpy
0.454
3.913
190.949

numpy -> cupy
2.097
9.493
-

cupy -> cupy
1.504
2.775
8.908

I run repeated benchmarks for numpy.array(<List[numpy.ndarray]>) in a variety of data size. It seems that zero filling of allocated page generates huge overhead when copying large arrays.

(Note that you should use numactl --cpunodebind=0 --membind=0 in a NUMA environment to prevent the unpredictable result.)

Upon further investigation, dTLB misses and LLC cache misses cause the above performance degradation.

Specifying MALLOC_MMAP_MAX_=0 MALLOC_TRIM_THRESHOLD_=-1 significantly reduces the dTLB-(load|store)-misses and improve the overhead for larger array. I'll use it for the benchmark of this PR to measure the baseline performance of my algorithm.
(Note that this configuration leads a fragmentation of the heap memory. Don't use it in production.)

A performance testing at https://github.com/cupy/cupy/pull/2081/commits/49668ab3e68d71ce0545e7339900589689854aaa (The script is here).
Parameters

xp: numpy or cupy
shape per item: (3, 224, 224)
batch-size: 1, 10 or 100
number: 10000
environment: MALLOC_MMAP_MAX_=0 MALLOC_TRIM_THRESHOLD_=-1 numactl --cpunodebind=0 --membind=0

cupy-cuda==6.0.0b3

batch-size
1
10
100
Note

numpy.array(<List[numpy.ndarray]>)
0.466
3.642
133.286
maybe CPU bootleneck on memmove

cupy.array(<List[numpy.ndarray]>)
1.201
8.308
199.298
〃

cupy.array(<List[cupy.ndarray]>)
n/a
n/a
n/a
-

b983599

batch-size
1
10
100
Note

cupy.array(<List[numpy.ndarray]>)
-
-
-
maybe CPU bootleneck on memmove

cupy.array(<List[cupy.ndarray]>)
-
-
-
-

b212555

batch-size
1
10
100
Note

cupy.array(<List[numpy.ndarray]>)
0.759
6.249
137.616
25-40% faster

Parameters

xp: numpy or cupy
shape per item: (3, 224, 224)
batch-size: 1, 10 or 100
number: 10000
environment: MALLOC_MMAP_MAX_=0 MALLOC_TRIM_THRESHOLD_=-1 numactl --cpunodebind=0 --membind=0

dd5ccbc

batch-size
1
10
100
Note

cupy.array(<List[numpy.ndarray]>)
0.865
6.175
136.076
25-40% faster than the baseline

cupy.array(<List[cupy.ndarray]>)
0.518
1.177
8.864
-

@niboshi Could you please check it? Thanks.

@niboshi Could you please check it again?

Jenkins, test this please

Thanks. I'm checking regressions claimed by Jenkins.

Jenkins CI test (for commit 956eb2f8a81a31324348ef2f78c85760b64f2dd9, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please

Jenkins CI test (for commit c04ca7a8418276f920e5d123cca62fcfad9b3d3a, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

@niboshi I noticed that the new implementation requires numpy>=1.14.0 (released in Jan 2018) because it depends on third out argument of numpy.concatenate() to prevent memory allocation. Do you think it is OK or not?

Jenkins, test this please

Jenkins CI test (for commit 756c54acd8d6bbff0c46cf57b7c961031cee71cc, target branch master) succeeded!

Parameters

xp: numpy or cupy
shape per item: (3, 224, 224)
batch-size: 1, 10 or 100
number: 10000
environment: MALLOC_MMAP_MAX_=0 MALLOC_TRIM_THRESHOLD_=-1 numactl --cpunodebind=0 --membind=0

756c54a

batch-size
1
10
100
Note

cupy.array(<List[numpy.ndarray]>)
0.949
6.355
136.538
25-32% faster than the baseline

cupy.array(<List[cupy.ndarray]>)
0.550
1.184
8.862
-

Jenkins, test this please

Jenkins CI test (for commit 347e643a9e57b791acbcc359cd75f0a957a4cc9f, target branch master) failed with status FAILURE.

Jenkins, test this please.

Jenkins CI test (for commit 5f8af606aba518895388a17bf3ebec6735307d7d, target branch master) failed with status FAILURE.

@niboshi I added several tests about the handling of scalar value and dtype, and fixed the issues in 956eb2f...5f8af60 (Jenkins failures are the precision problem). Could you please check it and merge if you don't find any other problems?

Jenkins, test this please.

Jenkins CI test (for commit d3b30dd4397c6216c7692bf4b17f110bca3ad365, target branch master) succeeded!

@niboshi Hi, could you please check it again?

Jenkins, test this please

Jenkins CI test (for commit f24918af5f049eb4c9e67e8374009f7533ce882f, target branch master) succeeded!

LGTM
I'm sorry for taking time!


Add an Open Source License

Have you considered adding an open source license to this Git repository?
I created a set of test datasets using code from this git repository, but am not sure if I can upload them to huggingface.

I have supplemented an open-source license to the Git repository.
Of course, you can upload your code to huggingface.

Thank you for adding the open-source license and confirming.


Add e2e CI Test

This PR Contain 2 file:
1、Flow_test.go
include Profile(Create/List/Detail/Delete)、Volume(Create/List/Detail/Update/Extend/Delete)、Attachment(Create/List/Detail/Delete)、Snapshot(Create/List/Detail/Update/Delete)
2、scanvolume.sh
This file is created for check if Attachment operation is Success(Create ttachment && Delete Attachment) By Login to Target node and Scan the  volume list

Coverage remained the same at 45.008% when pulling 454019dfcbda08e05fc75afd60caaa36cbfe0dbd on lijuncloud:flow01 into ab827498622c0c66dc63e9dde0adc202af5a8884 on opensds:master.

Coverage remained the same at 45.008% when pulling 454019dfcbda08e05fc75afd60caaa36cbfe0dbd on lijuncloud:flow01 into ab827498622c0c66dc63e9dde0adc202af5a8884 on opensds:master.


Disabling prerendering breaks runtime on 1.0.0-next.208 using latest adapter-node

Describe the bug
Setting prerender: { enabled: false } in svelte.config.js causes svelte-kit build to no longer generate a build/prerendered directory, which throws this error during runtime:
Error: ENOENT: no such file or directory, scandir 'apps/v2/build/prerendered'
@careswitch/v2-app:preview:     at readdirSync (node:fs:1392:3)
@careswitch/v2-app:preview:     at list (file://apps/v2/build/handler-2aa2c439.js:57:12)

Reproduction
Any Svelte Kit app on 1.0.0-next.208 with @sveltejs/adapter-node: 1.0.0-next.57 and prerender: { enabled: false }, set in svelte.config.js.
Logs
No response
System Info
System:
    OS: macOS 12.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 5.05 GB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 17.3.0 - ~/.nvm/versions/node/v17.3.0/bin/node
    npm: 8.3.0 - ~/.nvm/versions/node/v17.3.0/bin/npm
  Browsers:
    Chrome: 96.0.4664.110
    Safari: 15.2
  npmPackages:
    @sveltejs/adapter-node: 1.0.0-next.57 => 1.0.0-next.57
    @sveltejs/kit: 1.0.0-next.208 => 1.0.0-next.208
    svelte: 3.44.3 => 3.44.3

Severity
serious, but I can work around it
Additional Information
The workaround I'm currently doing is a manual mkdir -p build/prerendered after sveltekit build.

https://github.com/sveltejs/kit/blob/6221e6a5758cd1e6cc0f99ccd2ae0e260b97ce3b/packages/adapter-node/src/middlewares.js#L23
changed to
https://github.com/sveltejs/kit/blob/a1e980fad27d9c8cd5b32aa183eb96e39f438ec2/packages/adapter-node/src/handler.js#L33


custom command

is it possible to add custom commands to get items made by other plugins?

Sorry I stopped maintaining this as I didn’t know people used it, but I am willing to work on your suggestion if it’s a easy addition.
By custom commands what do you mean ?

Good morning, I use the https://github.com/JackMD/MysteryCrate plugin and it uses some command to give some different keys to the players, I would like that when breaking a block or killing an entity, the key was dropped

Ok thanks for the link, I’ll talk to him and take a quick look through how his items are made but it should be possible, I’ll get to this as soon as I have time most likely in 20hours as I am working on a new plugin today if you do have any more questions you can post them and re open the issue but for now:
In the next major update there may be other custom items in the plugin keep a eye out on the releases (DO not download source code as it is most likely broken)


not updating record but adding data.

<?php
require __DIR__.'/vendor/autoload.php';
use Kreait\Firebase\Configuration;
use Kreait\Firebase\Firebase;

$firebase = new Firebase('LINKL');
$users = $firebase->get('/users');

foreach($users as $key => $element) {
	$st = 'users/'.$key.'/presence/status';
	$nodeUpdateContent = $firebase->update(['status' => '0'], $st);
	print_r($nodeUpdateContent);
}
?>

It is not updating record. just adding one more row.

I haven't tried it myself, but I think, the problem lies in
$st = 'users/'.$key.'/presence/status';

With update(), you are updating the fields below this node, so instead, you should write:
$st = 'users/'.$key.'/presence';
$nodeUpdateContent = $firebase->update(['status' => '0'], $st);

I hope this helps - please feel free to reopen the issue if the problem persists.

Yes I had resolved this myself. Thank you :+1:


Add explicit BLE parameters to Device controller connectivity.

Device layer is not used by android and BLE only requires a 'ble layer'
accessible. Add the ability to explicitly specity the BLE layer for the
chip controller.
Also updated the retain/release logic for the unsecured transport.

@woody-apple @jelderton @robszewczyk ?


Correctly recreate PVs after recycling

When a PV had "special" attributes like annotations, labels or a storageclass configured, those attributes were lost during the recreation process.
This patch changes the behaviour of the gluster-recycle-pv script to not recreate each PV object, but instead only remove its claimRef attribute and the bound-by-controller annotation.

@hansmi thanks, good catches! I've updated the PR accordingly

LGTM


Auto-pull

I use this plugin to sync notes between multiple computers. It would be nice with an option to automatically pull changes as well as commit/push.
Now, I haveto do a change to a document, or manually call the "pull from repo" command for it to pull in new changes. It can easily cause conflicts with the workflow, since I am ending up changing a document that I have changed on another pc..

You have already two options to

Pull on Obsidian startup
Pull before pushing, so Commit -> pull -> push

What else do you want?

Thanks for the quick response..
The problem with those options is that none of them will let obsidian just sit there an get it's note updated by itself.
What I propose is to have an option, like the Vault backup interval, but for pulling. Alternative is to let the backup job pull first, even if there are no changes.
Pull updates on startup is nice, but I usually start obsidian very rarely :)

Thanks a lot!! You should get a "buy me a coffee" link in your readme and I'll get you some :)

Thanks a lot for the tip and your support. See README for the link.

Available in new release!


Weapon fire type

Implement different weapon fire types, for e.g. shotgun firing multiple pellets per single shot

#71


json_valid() function

Is there a list of functions somewhere this needs to be added to?
https://dev.mysql.com/doc/refman/8.0/en/json-attribute-functions.html#function_json-valid
2020-09-16 13:52:49 [WARN]  Skipping table `gen_branchdata`: unable to generate DDL due to use of unsupported features. Use --debug for more information.
2020-09-16 13:52:49 [DEBUG] --- Expected CREATE
2020-09-16 13:52:49 [DEBUG] +++ MySQL-actual SHOW CREATE
2020-09-16 13:52:49 [DEBUG] @@ -76 +76 @@
2020-09-16 13:52:49 [DEBUG] -  `ms_token` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
2020-09-16 13:52:49 [DEBUG] +  `ms_token` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`ms_token`)),

The root cause is that Skeema doesn't support CHECK constraints yet. Please see #86. Thanks!
Check constraints are relatively new in the MySQL world, and adoption of them has been slow. As more companies start using them I'll re-prioritize accordingly.

Thanks, I just found this project and am super excited about using it!


installation tracking

Feature Suggestion
I'd like to track installations of projects in verdaccio by user to see which users/projects are installing which versions of libraries.
This may just be a documentation task, and it's probably possible to do with a plugin, but guidance would be helpful.

Interesting, it seems like an Auth plugin. There is not development plugin documentation yet (https://github.com/verdaccio/verdaccio/issues/302) but you can ask whatever you want and perhaps it becomes a future documentation.
Related https://github.com/verdaccio/verdaccio/issues/169


Using a much faster go proxy server

Test results from goproxy.io
➜  kubeye git:(change-goproxy) ✗ ping goproxy.io -c 3
PING goproxy.io (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=44 time=105.338 ms
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=44 time=154.306 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=44 time=279.585 ms

--- goproxy.io ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 105.338/179.743/279.585/73.375 ms

Test results from proxy.golang.org
➜  kubeye git:(change-goproxy) ✗ ping -c 3 proxy.golang.org
PING proxy.golang.org (<IP_ADDRESS>): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1

--- proxy.golang.org ping statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss

As we can see from above, goproxy.io is much faster than another one. Also, you can get more details from the website.
/kind cleanup

/assign @pixiake

The OWNERS file already exists in the root directory.

We can put the file in different places. So we can control it according to different directories or area.

Not kubekey, is kubeeye.

fixed

/lgtm

/approve

The project must be released using the Packr tool.

fixing it in #53

The project must be released using the Packr tool.

I see. The release drafter is not in conflict with the Packr tool.

Other tool distribution packages have problems, possibly with the code structure.

Other tool distribution packages have problems, possibly with the code structure.
The problem is that the embedded rules cannot be found

I don't quite understand the problem that you're describing. Perhaps we can discuss it in the GitHub discussion if you think it's ok.

It doesn't matter, you can provide the way to release an installation package test, to see if there is no problem.


Login in firelfy Version 6.1.9 not possible

getting "unexpected HTTP status code" when trying to login. Status code is 401.
Login via webinterface works.

I'm using the "command line auth key" (freely translated from the german version). I think, this is the correct one?

Wow, that was the problem. Still dont understand why it appeared after upgrading firefly...
So, solved. Sorry!

After updating the connection broke for me too. Then, I deleted and recreated the token and it works again.


Compiling Rust libary against WASM32 library

Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-9453
I am hoping to support arch_target=Wasm32 as a compilation target for the rust arrow & datafusion packages.
My plan is to add compiler conditionals around any I/O features and libc dependent features of these two libraries.
My intent is to be able to use the apache arrow libraries in UDF style WASM functions which pass arrow memory references between the host (spark environment) and the WASM code

Comment from Andy Grove(andygrove) @ 2020-07-14T14:25:52.335+0000:
This sounds really interesting. I have been thinking about supporting WASM UDFs for a while now but more from the point of view of DataFusion being able to invoke UDFs developed in languages other than Rust. Unfortunately, I don't know much about WASM yet.

With your proposal, would the WASM code be running in the same process as Spark, or would Spark be calling another process? Why would you want to invoke Arrow from your WASM code versus having Arrow invoke your WASM code? Most of these questions are just my curiosity about the use case.
Comment from RJ Atwal(Rj-atwal) @ 2020-07-14T14:53:22.829+0000:
[~andygrove]  To answer your questions:
1. Wasm code would be running in the same process as Spark (unfortunately their will be a JNI wall between the two execution areas though).
2. I want to use arrow as the format to pass data (references) between Java land and the WASM (native) execution. So, I need libraries to handle arrow on both environments.


Updates loglevel value passed to vm deployment

Merging as does not affect any current marketplace listings (files are uploaded to the marketplace outside of github).


I can't access my local path

https://github.com/ansible/awx/issues/857
same issue that link
but i don't know how can i fix it
please help me

You can use my fork available here:
https://github.com/vab2048/ansible-role-awx
This should solve the problem for you. It defaults to using "/var/lib/awx/projects/" as the project data dir

@vab2048
First I'm really thank you for your reply
and i have question
now i clone your git repo but i can't install awx
i  can't play playbook
this is my role folder list

and this is my playbook

and this is my error

what shoul i do?

@vab2048
i installed it to change my folder name (ansible-role-awx -> geerlingguy.awx  / sorry about stupid question im beginner)
but its not working to me
i have site.yml in local /var/lib/awx/projects but awx can't load this
is anythind i have to do someting?

When this error occurs it means that ansible can't find the specific role in the path it checks. You need to go to ansible.cfg or make such a file and add to the roles_path variable the path of the folder where the role is downloaded. Please read the docs.


Fix for the stack trace issue #376.

Good, please  [Ignore] the test for now and I will merge and look.

Hi Maksim, looks like you already have a reusable hack to rethrow an exception with the real stack trace.

But now I'm wondering why DryIoc.Interpreter was involved here in the first place?
Is there something weird with the expression so it's not supported by FEC?

Hi, thanks for the fix, will look a bit later.
Here is how current resolution pipeline working regarding the interpretation and compilation https://github.com/dadhi/DryIoc/blob/master/docs/DryIoc.Docs/ResolutionPipeline.md#resolution-pipeline
I've also understood that I need to fix ThreadSafety doc because the `lock' no more.

merging...

Here is how current resolution pipeline working regarding the interpretation and compilation https://github.com/dadhi/DryIoc/blob/master/docs/DryIoc.Docs/ResolutionPipeline.md#resolution-pipeline

Cool! Thanks for the article, that's very interesting.
I was unaware that DryIoc always interprets the expression on the first resolution.


When selecting and moving down, the cursor will be shifted to the left

Title describes it very well.

Same happens under different conditions when moving up


chore(DTFS2): allow release branch to release to staging for release-2.0.1

Introduction :pencil2:
Update release-2.0.1 branch to allow deployment to staging

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 57.36%. Comparing base (1f4b137) to head (c34dcb3).

Additional details and impacted files
@@                Coverage Diff                 @@
##           release-2.0.1    #3547       +/-   ##
==================================================
+ Coverage          33.16%   57.36%   +24.19%
==================================================
  Files               1397      220     -1177
  Lines              31254     4799    -26455
  Branches            5002      931     -4071
==================================================
- Hits               10366     2753     -7613
+ Misses             18266     1800    -16466
+ Partials            2622      246     -2376

Flag
Coverage Δ

api-test
0.39% <ø> (ø)

unit-test
60.59% <ø> (+27.16%)
:arrow_up:

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

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


Make links clickable

Links are not clickable in the details of the containers. Shouln't be too hard. Maybe links should be provided in the json files.

I created a PR solving this: https://github.com/hbarang/React-Cv-Template/pull/4


Move reusable functions from PowerRenameLib to Common

There are some functions in PowerRenameLib/Helpers.h that can be reused for other projects(ImageResizer), such as CreateBitmapFromIcon. These functions should be moved to the common project so that it can be referenced in the other projects. This would make the code cleaner, and avoid the requirement of duplicating the function definition in other projects.

Fix available in 0.15.0 https://github.com/microsoft/PowerToys/releases


Nan occur during training

Hi Weijing, I have some questions during training and evaluation.
As shown below,  the reg loss get nan from the first step. I just change the training dir path and set GPU and batch are 1 respectively.

Besides, i have some puzzle about the result of evaluation:

Dose the "car_dectection_AP" mean the AP (IOU=0.5) in Image plane?
what the "car_orientation_AOS" mean ?
Dose the "car_detection_BEV_AP"is with IOU=0.7?
Dose the "car_detection_3D_AP"is with IOU=0.7?
where is AOS ?
where is the evaluation result to cyclists and pedestrians?

best regards.

Hi, Nan is common when the learning rate is too large. You are using batch_size=1 so the gradient is noisier and you might need a smaller learning rate. You can try to reduce it and see if you still get Nan.  In my experiment, I also found gradient clipping and the cyclical learning rate are helpful.
Does the "car_detection_BEV_AP"is with IOU=0.7? yes.
Does the "car_detection_3D_AP"is with IOU=0.7? yes.
We do not use AOS (part of the AVOD paper) or the 2D AP (IOU=0.7).  Please refer to asharakeh 's implementation for what they mean.
The cyclists and pedestrians are detected by a separated model
Thanks,

Hi, Nan is common when the learning rate is too large. You are using batch_size=1 so the gradient is noisier and you might need a smaller learning rate. You can try to reduce it and see if you still get Nan. In my experiment, I also found gradient clipping and the cyclical learning rate are helpful.
Does the "car_detection_BEV_AP"is with IOU=0.7? yes.
Does the "car_detection_3D_AP"is with IOU=0.7? yes.
We do not use AOS (part of the AVOD paper) or the 2D AP (IOU=0.7). Please refer to asharakeh 's implementation for what they mean.
The cyclists and pedestrians are detected by a separated model
Thanks,

I'm really grateful.


The Function element is not only supported in C# code snippets.

I see the c++ snippet switch.snippet uses the Function element.

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

ID: 91faad91-f76f-1c35-3ff7-b8dea92c00f1
Version Independent ID: d974b7e1-f76a-c575-bff8-cf4d38d19771
Content: Code snippets schema reference - Visual Studio
Content Source: docs/ide/code-snippets-schema-reference.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @jillre
Microsoft Alias: jillfra

Thanks for the feedback. Yeah, this page is quite out of date, since C++ and VB at least both do support functions now. I've updated to a more generic text to encourage folks to check the language specific documentation, especially since we believe some languages still do not support functions.


aur-build: pass on -A to container makepkg (-c)

In 2.3 aur-sync would do this by setting the aur-build options after --, but it would be nice to have this in aur-build directly without using aur build -c -- -- -A.

#701


linux/arm64 Docker image contains the x86_64 EggContractor binary

Hey 👋 new Egg, Inc. fan and am amazed by the community/reverse engineering skills 🤩
I just went to run the EggContractor Docker image on a Pi 4 (arm64) and received the dreaded exec format error.
Looking at the image directly, the x86_64 binary has been included rather than the arm64 binary.
I wonder if buildkit is reusing the same builder image for all architectures?

Giving this a go in caraar12345/EggContractor and ... I can see why this didn't work before lol. CGO does not make this easy 😅


JBDS-4074 [WIP] requirements.json should include infor for all platforms

Fix adds platform dictionary to affected items

test this

test this

test this


[wip] Fix the %$&@£ storage test

Not to be a party-pooper, but this is going into the wrong repo. :'(

Moved to https://github.com/wellcometrust/scala-storage/pull/5

Since migration to scala-storage is taking longer than expected, I'd like to puthis in here, cause this is getting frustrating

I'm also going to merge it as is cause I don't want to have to restart another storage test

👍👍👍


Starts workers but doesn't place anything

Hello, the script starts without errors and starts the workers, but nothing actually gets placed.
I have a correct image, I tried my own app

Hi,
Im trying to figure that out currently as well,
but i don't have access to a reddit dev account, would you be able to maybe share?
i can fully understand if you don't want to, that's alright!
if i find out why there's nothing placing, i'll tell you :D

https://www.reddit.com/wiki/api
register an account as a developer to get your api keys

Just go to reddit.com/prefs/apps and make an app

Hi
I've the same problem. I've created myself some API keys, but it still doesn't work (created two apps). I see that one account (not the developer account) gets added to one of my apps as a second developer on reddit (and it gets also added in the file dev_accounts.json), but after then, nothing happens.

Hey, same problem here. All workers started, but nothing else happened. Kept running, but no progress / error messages / updates in the terminal.

hm, i there any alternative to this url?

hm, i there any alternative to this url?

not that i know of, i tried to find something from the developer's account that made that website, i found nothing
https://github.com/Zequez/reddit-placebot/issues/46#issuecomment-1086736236


gobby failed to build on 10.10.2

https://gist.github.com/f4b31f64823fcb2847a6

Try reinstalling libsigc++ and glibmm.


Add back the ifcmp_sp CLIF opcode.

This opcode was removed as part of the old-backend cleanup in #3446.
While this opcode will definitely go away eventually, it is
unfortunately still used today in Lucet (as we just discovered while
working to upgrade Lucet's pinned Cranelift version). Lucet is
deprecated and slated to eventually be completely sunset in favor of
Wasmtime; but until that happens, we need to keep this opcode.

This opcode can be removed again now - lucet was the sole user and its past EOL


Keep block order

The blocks order is not guaranteed, because they're stored in a dictionary. Refactor them into an array

refactor whole state and reducer to avoid order problem
refactor tests

The bug occurs when a new block is added, the newer sessions will be out of sync


limit number of events displayed at a given time

If too many events are listed at the same time (possibly the default), the process will timeout.

closed by pull request #239


Config just doesn't work?

So I'm using the latest version of the mod from modrinth, which is r18.
I've tried changing the numerical position values, I've changed the position preset, text alignment, everything. I've restarted the game, reloaded the world, even modified the config file directly, none of the offset values I'm using are applying. Only the text alignment and position preset.

Nevermind, I figured it out. You have to set the preset to "NONE" for the position configs to work. Really annoying though. Maybe make the numerical positions act as an offset from the preset? So if it's set to "TOP_MIDDLE" and the Y position is set to "20", those add together to make a final position

That specific approach would change the behavior of existing configs.


Update name of "SimpleTimeout"

Resolves https://github.com/arduino/library-registry/issues/2368

Solved in https://github.com/arduino/library-registry/issues/2368#issuecomment-1403944841


sha/md5: redo deprecation commit.

Pull request #10791 deprecates the low level MD5, SHA1 and SHA2 APIs.  The confounding problem is that ssl/s3_cbc.c currently requires low level access to these APIs to function and removing them causes link errors.  The ssl/s3_cbc.c code is scheduled to be moved to a provider and once it is moved, the link problems will disappear.  In the meantime, the MD5 and SHA header files have the deprecation changes undone.
Once the ssl/s3_cbc.c code is moved to a provider, the undo commit needs to be undone and util/libcrypto.num regenerated (if there are merge problems undoing the commit).

This is outdated, the APIs were deprecated after the TLS side was changed.


fix: InstallationStore was not correctly finding the installation with the user's token.

Description of the changes
fix: InstallationStore was not correctly finding the installation with the user's token.
feat: Enable Anthropic Claude 2
Related issue(s)
#72
Testing
Tested locally.

cogniq are you back now?

ok. i think you should be fixed now, cogniq

we'll see how things are after 12 hours or so cogniq.

cogniq at this point, your tokens have expired. You should be able to refresh them now.

{"TimeStamp":"2023-07-16T16:22:08.7993011+00:00","Log":"16:22:08,797 - asyncio - ERROR - Task exception was never retrieved"}
{"TimeStamp":"2023-07-16T16:22:08.7994699+00:00","Log":"\u003CTask finished name='Task-963' coro=\u003CEvaluator.ask_task() done, defined at /app/cogniq/personalities/evaluator/evaluator.py:56\u003E exception=SlackApiError("The request to the Slack API failed. (url: <https://www.slack.com/api/chat.update>)\\nThe server responded with: {'ok': False, 'error': 'token_expired'}")\u003E"}

{"TimeStamp":"2023-07-16T16:22:08.7994961+00:00","Log":"(most recent call last):"}
{"TimeStamp":"2023-07-16T16:22:08.7995014+00:00","Log":"File "/app/cogniq/slack/cogniq_slack.py", line 175, in chat_update"}
{"TimeStamp":"2023-07-16T16:22:08.7995055+00:00","Log":"await self.app.client.chat_update("}
{"TimeStamp":"2023-07-16T16:22:08.7995097+00:00","Log":"File "/opt/venv/lib/python3.10/site-packages/slack_sdk/web/async_client.py", line 2351, in chat_update"}
{"TimeStamp":"2023-07-16T16:22:08.7995139+00:00","Log":"return await self.api_call("chat.update", json=kwargs)"}
{"TimeStamp":"2023-07-16T16:22:08.7995179+00:00","Log":"File "/opt/venv/lib/python3.10/site-packages/slack_sdk/web/async_base_client.py", line 161, in api_call"}
{"TimeStamp":"2023-07-16T16:22:08.7995219+00:00","Log":"return await self._send("}
{"TimeStamp":"2023-07-16T16:22:08.799526+00:00","Log":"File "/opt/venv/lib/python3.10/site-packages/slack_sdk/web/async_base_client.py", line 201, in _send"}
{"TimeStamp":"2023-07-16T16:22:08.79953+00:00","Log":"return AsyncSlackResponse(***{****data, ***res}).validate()"}
{"TimeStamp":"2023-07-16T16:22:08.7995339+00:00","Log":"File "/opt/venv/lib/python3.10/site-packages/slack_sdk/web/async_slack_response.py", line 203, in validate"}
{"TimeStamp":"2023-07-16T16:22:08.7995379+00:00","Log":"raise e.SlackApiError(message=msg, response=self)"}
{"TimeStamp":"2023-07-16T16:22:08.7995422+00:00","Log":"The request to the Slack API failed. (url: <https://www.slack.com/api/chat.update>)"}

{"TimeStamp":"2023-07-16T16:22:08.7995463+00:00","Log":"server responded with: {'ok': False, 'error': 'token_revoked'}"}
{"TimeStamp":"2023-07-16T16:22:08.7995502+00:00","Log":""}
{"TimeStamp":"2023-07-16T16:22:08.7995544+00:00","Log":"handling of the above exception, another exception occurred:"}
{"TimeStamp":"2023-07-16T16:22:08.7995582+00:00","Log":""}
{"TimeStamp":"2023-07-16T16:22:08.7995623+00:00","Log":"(most recent call last):"}
{"TimeStamp":"2023-07-16T16:22:08.7995664+00:00","Log":"File "/app/cogniq/personalities/evaluator/evaluator.py", line 105, in ask_task"}
{"TimeStamp":"2023-07-16T16:22:08.7995705+00:00","Log":"await buffer_and_post_task  # ensure buffer_and_post task is finished"}
{"TimeStamp":"2023-07-16T16:22:08.7995748+00:00","Log":"File "/app/cogniq/personalities/evaluator/evaluator.py", line 114, in buffer_and_post"}
{"TimeStamp":"2023-07-16T16:22:08.7995786+00:00","Log":"await self.cslack.chat_update("}
{"TimeStamp":"2023-07-16T16:22:08.7995827+00:00","Log":"File "/app/cogniq/slack/cogniq_slack.py", line 207, in chat_update"}
{"TimeStamp":"2023-07-16T16:22:08.7995867+00:00","Log":"await self.chat_update("}
{"TimeStamp":"2023-07-16T16:22:08.799591+00:00","Log":"File "/app/cogniq/slack/cogniq_slack.py", line 218, in chat_update"}
{"TimeStamp":"2023-07-16T16:22:08.7995952+00:00","Log":"raise e"}
{"TimeStamp":"2023-07-16T16:22:08.7995997+00:00","Log":"File "/app/cogniq/slack/cogniq_slack.py", line 175, in chat_update"}
{"TimeStamp":"2023-07-16T16:22:08.7996038+00:00","Log":"await self.app.client.chat_update("}
{"TimeStamp":"2023-07-16T16:22:08.7996081+00:00","Log":"File "/opt/venv/lib/python3.10/site-packages/slack_sdk/web/async_client.py", line 2351, in chat_update"}
{"TimeStamp":"2023-07-16T16:22:08.7996121+00:00","Log":"return await self.api_call("chat.update", json=kwargs)"}
{"TimeStamp":"2023-07-16T16:22:08.799616+00:00","Log":"File "/opt/venv/lib/python3.10/site-packages/slack_sdk/web/async_base_client.py", line 161, in api_call"}
{"TimeStamp":"2023-07-16T16:22:08.7996198+00:00","Log":"return await self._send("}
{"TimeStamp":"2023-07-16T16:22:08.7996238+00:00","Log":"File "/opt/venv/lib/python3.10/site-packages/slack_sdk/web/async_base_client.py", line 201, in _send"}
{"TimeStamp":"2023-07-16T16:22:08.7996277+00:00","Log":"return AsyncSlackResponse(***{****data, ***res}).validate()"}
{"TimeStamp":"2023-07-16T16:22:08.7996492+00:00","Log":"File "/opt/venv/lib/python3.10/site-packages/slack_sdk/web/async_slack_response.py", line 203, in validate"}
{"TimeStamp":"2023-07-16T16:22:08.799654+00:00","Log":"raise e.SlackApiError(message=msg, response=self)"}
{"TimeStamp":"2023-07-16T16:22:08.7996583+00:00","Log":"The request to the Slack API failed. (url: <https://www.slack.com/api/chat.update>)"}

{"TimeStamp":"2023-07-16T16:22:08.7996625+00:00","Log":"server responded with: {'ok': False, 'error': 'token_expired'}"}

cogniq, did you refresh tokens, but fail to use them at the moment?

No.
{"TimeStamp":"2023-07-16T16:32:15.33164","Log":"Successfully Connected to container: 'cogniq' [Revision: 'cogniq--ywfzb1b', Replica: 'cogniq--ywfzb1b-f688c76-nbbwk']"}
{"TimeStamp":"2023-07-16T16:22:54.366147+00:00","Log":"self.app.client.chat_update("}"}
{"TimeStamp":"2023-07-16T16:22:54.3661516+00:00","Log":""/opt/venv/lib/python3.10/site-packages/slack_sdk/web/async_client.py", line 2351, in chat_update"}"}
{"TimeStamp":"2023-07-16T16:22:54.3661561+00:00","Log":"await self.api_call("chat.update", json=kwargs)"}"}
{"TimeStamp":"2023-07-16T16:22:54.3661609+00:00","Log":""/opt/venv/lib/python3.10/site-packages/slack_sdk/web/async_base_client.py", line 161, in api_call"}"}
{"TimeStamp":"2023-07-16T16:22:54.366177+00:00","Log":"await self._send("}"}
{"TimeStamp":"2023-07-16T16:22:54.3661825+00:00","Log":""/opt/venv/lib/python3.10/site-packages/slack_sdk/web/async_base_client.py", line 201, in _send"}"}
{"TimeStamp":"2023-07-16T16:22:54.3661874+00:00","Log":"AsyncSlackResponse(***{****data, ***res}).validate()"}"}
{"TimeStamp":"2023-07-16T16:22:54.366192+00:00","Log":""/opt/venv/lib/python3.10/site-packages/slack_sdk/web/async_slack_response.py", line 203, in validate"}"}
{"TimeStamp":"2023-07-16T16:22:54.3661964+00:00","Log":"e.SlackApiError(message=msg, response=self)"}"}
{"TimeStamp":"2023-07-16T16:22:54.3662007+00:00","Log":"request to the Slack API failed. (url: \u003C<https://www.slack.com/api/chat.update>\u003E)"}"}

{"TimeStamp":"2023-07-16T16:22:54.3662049+00:00","Log":"responded with: {'ok': False, 'error': 'token_expired'}"}\u0060\u0060\u0060"}
{"TimeStamp":"2023-07-16T16:31:56.3434749+00:00","Log":"16:31:56,343 - cogniq.slack.cogniq_slack.slack_bolt - ERROR - Failed to rotate tokens due to The request to the Slack API failed. (url: <https://www.slack.com/api/oauth.v2.access>)"}

{"TimeStamp":"2023-07-16T16:31:56.3435184+00:00","Log":"server responded with: {'ok': False, 'error': 'invalid_refresh_token'}"}
{"TimeStamp":"2023-07-16T16:31:56.3435233+00:00","Log":"16:31:56,343 - slack_bolt.AsyncMultiTeamsAuthorization - ERROR - Although the app should be installed into this workspace, the AuthorizeResult (returned value from authorize) for it was not found."}
{"TimeStamp":"2023-07-16T16:31:56.3437388+00:00","Log":"<IP_ADDRESS>:52548 - "POST /slack/events HTTP/1.1" 200 OK"}
{"TimeStamp":"2023-07-16T16:31:56.4209777+00:00","Log":"16:31:56,420 - cogniq.slack.cogniq_slack.slack_bolt - ERROR - Failed to rotate tokens due to The request to the Slack API failed. (url: <https://www.slack.com/api/oauth.v2.access>)"}

{"TimeStamp":"2023-07-16T16:31:56.4210144+00:00","Log":"server responded with: {'ok': False, 'error': 'invalid_refresh_token'}"}
{"TimeStamp":"2023-07-16T16:31:56.4210351+00:00","Log":"16:31:56,420 - slack_bolt.AsyncMultiTeamsAuthorization - ERROR - Although the app should be installed into this workspace, the AuthorizeResult (returned value from authorize) for it was not found."}


Add a subsection in Program Lifting, to list binary lifters/ILs

Start with the list: https://docs.google.com/spreadsheets/d/1XPTe5sj1Vx9O40HuKLadU-pwit91Hzk_YdrV8wcFllQ/edit#gid=0
Given by @psifertex

I would recommend this slide (page 33) for broadening the list: https://binary.ninja/presentations/Modern Binary Analysis with ILs with notes.pdf
The video is here: https://www.youtube.com/watch?v=Q-FWpakkBFw

That slide and talk are actually older versions of the same spreadsheet linked above. Glad to see people know if it at least though. :-)

Thanks! That slide was included in my master thesis's references and helped me a lot. I may update the references related to lifting.


Create independent output files for each crop

How to define a T-file that includes the observed values of two crops? Independent T files for each species?

Currently, we are creating independent files for each crop. However, the headers are not printed and this needs to get fixed.


UAT admins can specify validation rules for questions

This doesn't mean that each individual validation rule has to be built out. It just means that UAT admins should have the ability to specify validation rules in general.

Remaining (but in-progress) dev tasks for this: #589 and #590.

This story is complete in a general respect.
That is, an admin is able to specify a handful of custom validation configs (min and max length for text questions, min and max value for number questions, and disallowing PO boxes for address questions).

It is now relatively straightforward to add further validation configs (and other type-specific configs) for the types mentioned in the last comment, as well as all the other existing types.

This issue is closed; bugs will be added to future Milestone.


create a loadbalancer, the container's status always be CrashLoopBackOff

Hi, teamer:
I download the latest contrb and follow the example to create a  loadbalancer, using the cmd "kubectl create -f ./rc.yaml". But the status of the service-loadbalancer is always CrashLoopBackOff. The container's log are displayed as below:
12m	12m	1	{kubelet <IP_ADDRESS>}	spec.containers{haproxy}	Normal	Created	Created container with docker id 48b955197dc5
12m	12m	1	{kubelet <IP_ADDRESS>}	spec.containers{haproxy}	Warning	Failed	Failed to start container with docker id 48b955197dc5 with error: API error (500): Cannot start container 48b955197dc5e26813c9f5618352f220a5e553db34f9936bdc8398bc739b8a1d: [9] System error: exec format error
I want to now what's wrong with this?

sorry, the  image is not correct, close!


Critical with natural 19?

Rolling an attack with lvl 0 sheet and getting a natural 19 is doing a critical hit. The correct isn't only a natural 20?

Unfortunately this looks like the default crit range for a warrior leaking into the other characters.
As a workaround you can switch to the warrior sheet, set the crit range to 20-20 then switch back.
I'll add a mechanism to fix up existing characters automatically as part of the weapon related changes I'm currently working on.

Nice! The workaround worked for me.


Actions Weirdness

Will every entry in tests be "Linux"? WJDK. Watch this space for the exciting conclusion.

Perhaps just a one off. Was dreading seeing:


Allows users to set their own tab completions pattern

[x] I have reviewed the contributor guidelines.
[x] I have reviewed the code of conduct.
[x] Per GitHub's Terms of Service, I am aware that I license my
contribution under the same terms as this project's license, and
that I have the right to license my contribution under those terms.

cc: @mbland
I am using docopts to have argument handling based on the help text of my scripts. This allows me to not effectively duplicate myself all over the place. I have also setup tab completion generations for all my scripts. It is redundant for me to write # Tab completions somewhere in each script.
This PR allows the user to define their own tab completions pattern. This way they can place the hint in the script help (eg have a line that reads # This command supports tab completion), set it to '' which means that tab completions are enabled for all scripts, etc.

Coverage increased (+0.006%) to 95.003% when pulling acdb0588b4933b6c0ad33177cb4cc8b0ed17fe7f on nkakouros-forks:completions-pattern into 292e0803074eb538ab8633a657c53d3a975ba922 on mbland:master.


Introduce .spec.pools[].userDataSecretRef to prevent inlining the entire user data

How to categorize this PR?

/area scalability
/kind enhancement
What this PR does / why we need it:
Creating a Shoot with > 80 worker pools leads to exceeds the etcd's max-request-bytes limit of 1.5MiB due to the Worker resource. The culprit here is the .spec.pools[].userData field which inlines the user data for all pools. This can reduce the size by ~85% - 90%.
With this PR, the extensions.gardener.cloud/v1alpha1.Worker resource now has a new .spec.pools[].userDataSecretRef field which references a Secret containing the actual user data. the .spec.pools[].userData field is deprecated and will be removed in a future version. Worker extensions should fetch the user data from the secret and can use the extensions/pkg/controller/worker.FetchUserData helper function for it.
Which issue(s) this PR fixes:
Part of https://github.com/gardener/gardener/issues/9545
Special notes for your reviewer:
/cc @ScheererJ @rickardsjp @hown3d
Release note:

The `extensions.gardener.cloud/v1alpha1.Worker` resource now has a new `.spec.pools[].userDataSecretRef` field which references a `Secret` containing the actual user data. the `.spec.pools[].userData` field is deprecated and will be removed in a future version. `Worker` extensions should fetch the user data from the secret and can use the `extensions/pkg/controller/worker.FetchUserData` helper function for it.

Looks good, thanks for the implementation!

/approve


#524: Added the ability to specify the charset if needed

@essobedo Thanks, I will find someone to review this PR soon

@mkordas please review, thanks

@essobedo I'm on it

@essobedo first of all, please provide PR description

@essobedo please to not close PRs by yourself, code review should be finished first

@mkordas I closed this PR for the same reason I had to close https://github.com/yegor256/takes/pull/564

@essobedo this causes too much noise, please never remove forks unless you are 100% confident that it cannot be solved differently

@mkordas I agree with you, it was a mistake, it won't happen again. Please check my new PR which is https://github.com/yegor256/takes/pull/571

@essobedo please at least mention in description issue for which this PR was raised

@ypshenychka please, review this ticket for compliance with our QA rules

@davvd @ypshenychka Please ignore this PR, it was a mistake on my side, the new PR for this issue is https://github.com/yegor256/takes/pull/571. Sorry for the noise.

@essobedo
According to our QA Rules:

Pull request description explains the solution proposed and contains a link to the original ticket it is related to.

Please provide appropriate PR description.

@ypshenychka Please ignore this PR, it was a mistake on my side, the new PR for this issue is https://github.com/yegor256/takes/pull/571. Sorry for the noise.

@essobedo you need to update description anyway

@essobedo I can't ignore the PR. @mkordas did his job and should be paid for it after I finish review.
So please do appropriate corrections to description.

@ypshenychka As you wish, here is the description

@essobedo Thanks

@davvd Quality is acceptable.

@davvd Quality is acceptable.

@ypshenychka thanks for the review, we'll try better next time

@mkordas added 10 mins to @ypshenychka, for QA review, payment code is 76670654; Thanks a lot, I just topped your account for 26 mins, transaction ID 56b88a8e67df2a63880000fd, total time was 15 hours and 26 mins; you're getting extra minutes here (c=11); +26 added to your rating, at the moment it is: +5567


Register the namespace "bx"

Maybe you want to register the namespace "bx" here with a pull request?
https://github.com/nuxodin/web-namespace-registry

@jeffchew Thoughts? Thanks!

CC @abdonrd @Tansito

Probably scoped registries be a better solution. But yeah, I'm ok with it!

Yeah good point @abdonrd, probably an interim thing.


Spanner allow resetting columns to null

fixes #919
Previously we did not expect users would save an entity and then save it again with some columns set to null. However based on user feedback and that the client lib supports this directly, it has been enabled. Conveniently, the client lib allows binding of any column type to null when creating a mutation.

Hi, when is this going to be released?
Thanks

@benjacarp This change appears now in the 1.1.0.BUILD-SNAPSHOT, and will also be included in our next milestone release (1.1.0.M2) when that comes out.


export / save all plots

from a user:
Hi again,
When I run script that generates multiple images, is there a way to export / save them all, or to browse them as they were generated by my script? Now the only possibility is to navigate them using arrows in R Plot window.

Browsing is now covered by the visual plot history. Do we still need 'Save All' ? This may be pretty long/expensive operation.


User tags are disabled if followed by comma, colon, ...

Gitea version (or commit ref): 1.9.4
Git version: N/A
Operating system: Linux
Database (use [x]):

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

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

[x] Yes (https://try.gitea.io/HenrikBengtsson/test/issues/17)
[ ] No
[ ] Not relevant

Log gist:

Description
Putting a comma, colon, or a semicolon after a user tag causes the tag to _not_ link to that user, e.g.

1. @hb works, and
2. so does @hb.
3. However, using @hb, @hb:, or @hb; do _not_ work.

Similarly, putting a user tag in curly brackets disables the link, e.g.

4. Moreover, (@hb) and [@hb] work, but
4. {@hb} doesn't.

As a reference, all of the above works on GitHub.
(I fenced the description to make it easy to cut'n'paste for testing).
Screenshots

This could be fixed in the regular expression that parses mentions. I'm not sure it's always advisable, though. I didn't analyze this myself, but perhaps there are many cases where text looks like a mention but it's not. As a mention immediately sends an e-mail, false positives could be very annoying.
Probably a good trade-off would be to accept ,, ;, : as long as they are followed by a spacing character (i.e. space, tab, end of line).

A false negative that I keep hitting on a daily basis is when I mention someone as:

Hi @hb, can you please have a look at this?

Much less common, we have at times wanted to do:

@alice: do this...
@bob: something else...

...

Probably a good trade-off would be to accept ,, ;, : as long as they are followed by a spacing character (i.e. space, tab, end of line).

That sounds like a reasonable tradeoff.

This can be closed as per #8889


feat(frontend): Refactor TemporalFilter derivation

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
Refactor temporal filter derivation into logical-phase transformation of filter with now into a left semi-join, later to be derived into dynamicfilter, introduce LogicalNow
We also fix an uncaught bug I think - previously, StreamNow would not derive broadcast in the plan.
Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features).
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Refer to a related PR or issue link (optional)
fix: https://github.com/risingwavelabs/risingwave/issues/7247 (we will align types by virtue of creating a join)

This PR will make the streaming's predicates with now() too flexible. And the temporal filter could accidentally degenerate into a normal dynamic filter, which can not derive the watermark from now(). e.g. SELECT * from s where s.ts > extract(hour from now()). (extract is not a monotone function)
maybe we should check that situation with WatermarkAnalyzer and ban it.

@st1page Yes, agreed its more flexible than necessary. But, I guess the watermark forwarding is derived by project and in that case we will simply not forward watermark.
IMO, we should be able to tell users about which tables in their plan can be cleaned with watermark based on their query and forward this to e.g. cloud portal where it is easy to visualize.
Thus, I don't think it is necessary to be that strict about usage of now(). If the user has a creative usage of the now() operator, perhaps we should allow it.

IMO, we should be able to tell users about which tables in their plan can be cleaned with watermark based on their query and forward this to e.g. cloud portal where it is easy to visualize. Can WatermarkAnalyzer do this easily?

Maybe we can at least do it in the plan explanation now :thinking:

analyze it in the optimization rule and ban pushing it down into a join/have a clearer error message.

After carefully rethinking, I prefer it. Because we only allow user to use now() in the predicate as a temporal filter and the temporal filter is a special feature to help the user declare what data they need so that we can clean those they do not need. If a user wants to use the temporal filter but we can not clean the state at all, that is more dangerous.

Just some updates, I think this PR is quite long. I will split it into smaller parts that are easier to review:
First:

Fix join key alignment on IS NOT DISTINCT FROM
Improve join condition pushdown to not duplicate expressions

Next:

Refactor temporal filter derivation into optimization rule
Ensure ordering of now() conditions for watermark cleaning

After factoring peripheral changes, I realized they are orthogonal. Hence, this PR does not need to depend on them.

Here are new cases with more complex now() exprs that are guaranteed to result in state cleaning based on watermark.
create table t1 (ts timestamp with time zone, time_to_live interval);
select * from t1 where ts + interval '1 hour' > now();
select * from t1 where ts + time_to_live * 1.5 > now();

Btw, we will currently support certain expressions that themselves do not result in state cleaning, it will function more like a delay:
select * from t1 where ts < now() - interval '2 hours';

@st1page , we can ban it if required. I can do it in follow up PR when we sort the now conditions by cmp type.
So we will accept statements like
select * from t1 where ts > now() - interval '1 hour' and ts < now() - interval '2 hours';

but not
select * from t1 where ts < now() - interval '2 hours';

The release candidate branch will be created today night and freeze the code, can we merge this PR tomorrow?

@jon-chuang seems that the recovery test fail in CI it's not a random fail.

I have retried but it still fails.

@soundOfDestiny it was probably a flakey test on main. Seems to be fixed now


Customizable toobar for windows explorer

Description of the new feature / enhancement
It would be super productive and wealthy, if there could be a top toolbar customizable area, where I can place my 10 most favorite locations and have icons for my last recent 10 locations.
Scenario when this would be used?
Me and my collegues deal in projects as all rounder so we have to deal with business issues and technical issues so files are placed in several different areas. Doing business with many customers it is lot of work building the working area´every morning and switching from sales directives to programming directives to source area to built area to customer test area and back and forth. This means endless mouse scrolling and clicking to find the drives, folders, files and applications. Reducing the load of scrolling and clicking is a most appreciated way for maintaining both health for me and my colleagues as well for productivity for the company.
Supporting information
No response

Does pinning folders to File Explorer Quick Access not work? /needinfo

The windows explorer quick access area is on the left of the tree. You have to scroll always to the very top to use it. This is not quick access as it would be with it toolbar I can reach on the very top. It’s meant to be for frequent use, so simple mouse clicks safe so much work. When I look back at 30 years of work with Microsoft Windows explorer, I see what it has done to my arm and hand.Mit besten Grüßen Stephan Knobloch Am 24.03.2024 um 05:44 schrieb Joseph Finney @.***>:
Does pinning folders to File Explorer Quick Access not work? /needinfo
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

@steph-k you can set the default launch of File Explorer to be the Home / Quick Access view. Pressing Win + E will launch a new File Explorer window and give you instant access to favorites and recent. If this does not work for you, do you have examples of a tool which gives you this functionality? Or can you provide more detailed concept of what you are expecting? /needinfo


Fixed detection of LocalGitDir within submodules

Fixes #310
filepath.Abs() created absDir based on the current working directory.

:+1:

Thanks!  We'll get this in for the next release.  I'm hoping I can get my new test suite merged so we can test it too (#306).

Here's the test I wrote for this: https://github.com/github/git-lfs/blob/09f72a4ff746810c741ea2c19ad4518556dff61c/test/test-submodule.sh
Thanks again for the report and fix :metal:


Support for custom callbacks

Hello
I found myself in need of support for custom callbacks so I forked this repo and tried it out. It seems to work great:) Let me know if you want me to create a PR for this. Thanks for the work on this repo btw - great stuff.
https://github.com/mep-agency/next-iubenda/compare/main...troels-a:next-iubenda:main
Best,
Troels

Hi @troels-a,
thank you for your feedback! :)
I would be happy to review this as a PR, I see some small changes that we might need to make before we can merge this, but I think it might be a useful feature. 💪

Nice! I'll get the pr ready asap.

When will the PR be fixed and merged? I need the callbacks too. Thanks

Hi,
I also need to use custom callbacks.
I have the case of Microsoft Clarity that in early 2025 requires the configuration of cookie consent via API by setting an appropriate value.
https://learn.microsoft.com/en-us/clarity/setup-and-installation/clarity-api
I would need a way to simply set window.clarity(“consent”) when the user accepts the Iubenda policy.
Is there another way besides custom callbacks?
Thanks!

Hi @m00tt, thank you very much for sharing this use case.
I see your point, and I understand that this is something that would not work well with React components alone, as you need to trigger a side effect without rendering anything. My main concern with enabling the callbacks directly from Iubenda is adding something that might start to work inconsistently compared to the rest of the library. Maybe it would be better if I could wrap Iubenda's callbacks in a dedicated subset of callbacks that behave exactly the same as the rest of this library, so we can have the best of both approaches but with consistent behavior.
What do you think about this? Do you have any suggestions about what events would really matter?
In the meanwhile, would you mind trying this approach? This should achieve a similar results but using a component with a useEffect instead of callbacks:
'use client';

import { useEffect } from 'react';
import { useIubenda } from '@mep-agency/next-iubenda';

const ConsentAwareRunner = () => {
  // See https://github.com/mep-agency/next-iubenda/blob/8fafe8fde7f5c1f458863643e252f8a9adae5837/src/contexts/IubendaContext.tsx#L20-L49
  const { userPreferences } = useIubenda();

  useEffect(() => {
    // Do things whenever the userPreferences object changes
  }, [userPreferences]);

  // Return an empty component so this can be placed anywhere in the DOM.
  // This is kinda hacky, but serves the purpose of having a component with side effects only.
  return <></>;
};

export default ConsentAwareRunner;

@cristinaITdeveloper maybe this can help you too?


Implement building of OpenJDK static libs

This implements building of OpenJDK static libs via the
'static-libs-image' make target. It supports building them
for glibc Linux distributions as well as musl-based C-library.
Closes #2699

LGTM

Thanks.

I assume this is to support GraalVM deployments?

It's more like for users who want to build GraalVM from source to give them a boot JDK for compiling GraalVM. The JDK bits plus the static-libs brought into it, enables that. Users can pick and choose.

I assume this is to support GraalVM deployments?

It's more like for users who want to build GraalVM from source to give them a boot JDK for compiling GraalVM. The JDK bits plus the static-libs brought into it, enables that. Users can pick and choose.

Also, it would allow us for mandrel releases to switch to Temurin builds for the boot JDK, rather than using old openjdk11-upstream-binaries.


Error running CI pipeline

Would appreciate if the variables could be described a bit more filling and with examples on all inputs.
MANIFESTS_REPO and REPO_URL should be more clearly explained with examples.
Shouldn't the MANIFESTS_FOLDER variable also be defined?
I've tried importing the repos in Azure devops and added the pipelines with the same naming as in the tutorial. For some reason I get an error when re-running the pipeline after the pipeline definitions  "No plan found for identifier ".

Dokumentinformasjon
⚠ Ikke rediger denne delen. Den kreves for koblingen docs.microsoft.com ➟ GitHub-problem.

ID: ad3cfeb0-56e6-e454-6d84-090c783fae9b
Version Independent ID: 906ce61a-8bb0-e5f3-9b92-c9cd54d6d415
Content: Tutorial: Implement CI/CD with GitOps using Azure Arc-enabled Kubernetes clusters - Azure Arc
Content Source: articles/azure-arc/kubernetes/tutorial-gitops-ci-cd.md
Service: azure-arc
Sub-service: azure-arc-kubernetes
GitHub Login: @tcare
Microsoft Alias: tcare

@hansarh we'll review your feedback and get back to you shortly. Thanks.

Sorry for the late update on this. redirecting to @tcare for deeper review since it is a doc-enhancement request.
Cheers.

This should be fixed by the recent updates by @bjcmit. Can you pull the latest version of the repo and check the variables again (the suggested values have been updated)

Thanks for providing feedback that helps improve our documentation. This issue has been resolved, and we are closing the issue. #please-close


Update the README with the cool, new project name

IntelliJ got rid of the spark-func-extras.iml file for me... let me know if you want it added back in.

let's remove it, and I guess we should update the dependency in pom too

In this repo, we usually add functions w/ spark code-gen support if appropriate.  Users might know that would help improve the performance

You can commit this PR of your own, and let's see if have proper authorities

@yaooqinn - Yep, was able to merge this in 😎
I'll work on getting this running on my local machine and then add some examples to the README.
Then we can get this published and start marketing it to get users!

awsome!


lucide-flutter icon not centered

Package

[ ] lucide
[ ] lucide-angular
[X] lucide-flutter
[ ] lucide-preact
[ ] lucide-react
[ ] lucide-react-native
[ ] lucide-solid
[ ] lucide-svelte
[ ] lucide-vue
[ ] lucide-vue-next
[ ] Figma plugin
[ ] source/main
[ ] other/not relevant

Version
0.257.0
Browser

[ ] Chrome/Chromium
[ ] Firefox
[ ] Safari
[ ] Edge
[ ] iOS Safari
[ ] Opera
[X] Other/not relevant

Operating system

[ ] Windows
[ ] Linux
[ ] macOS
[X] Other/not relevant

Description
Icon not centered，it's shifted a little to the left.
Lucide icon play:

Material icon play_arrow:

Steps to reproduce

Add the lucide-flutter dependency.
Add a Container with a different color than the background, so that it is easy to see.
Add an Icon class wrapped in Center to the Container's Child, and use the lucide icon.
You can see that the icon is not centered.

Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)

Seems like a CSS issue on your part: https://jsfiddle.net/ogzy2xju/

Seems like a CSS issue on your part: https://jsfiddle.net/ogzy2xju/
Edit: sorry, I didn't see it was for Flutter. Our Flutter package is no longer maintained, although there is an effort to revive it at: https://github.com/lucide-icons/lucide-flutter

This seems to be caused by an irregular font file format, and I found a fix for a similar problem with the URL.
Are there any plans in the future to fix this directly in the font file, rather than making a patch specifically for flutter like the URL above?


Bug in JSON encoding of PartSetHeader

Context
Found this very interesting situation while working on #633. For background, signature verification fails on Go implementation for Model Based Tests. Digging deeper into this, found that both (Go and Rust) produces different sign_bytes for the same vote (fed through JSON file). Decoding these bytes revealed two things:

Rust implementation had a completely empty PartSetHeader, while
Go implementation was missing PartSetHeader.Total, but had PartSetHeader.Hash (@melekes)

Problem
Empty PartSetHeader.Hash is JSON-encoded as a string of all 0's. This is incorrect because we never expect to receive such data. An empty one in Go is represented as an empty vector.
(Thanks @greg-szabo for finding this!)
Options for Next Steps

Fix this issue, but can take about a week - downside is that MBT will keep failing for Tendermint-go until this is done, might block progress there
Make a temporary fix to unblock MBT while we work on a permanent fix

nice find @Shivani912 & @greg-szabo 👍 let me know if you need my help with anything (both on Go and Rust side)

I wonder, if  #664 have fixed this for you. (Empty hash is encoded/decoded as no block_id.) Can you double-check?

@Shivani912 could you please check this?

Yes, this is fixed :) Thank you @greg-szabo !


[Enhancement] Write dump

Hi,
This idea is probably one of the more complex ones:
It would be great to log possible read/write actions.
So basically:

Add a Card reader slot support (Quick search and it should be technically possible (https://www.youtube.com/watch?v=rr_JQchpa1Q)
On power up, mount the SD
If the device tries to write something through main (Micro/C) port, redirect it to the SD.
If the device on the USB-A port starts sending some data (HID), create a text file with random name and write the inputs.

That would help us to understand not only if the device is sending some data, but later on, we can remove the SD, put it into PC and find out, what has actually happened.
for MVP:

Fixed size card
Predefined format (FAT32).
On boot, check if card is inserted to enable logging
random name (as pPico does not have clock), only when creating files, prepend "host_" or "valve_" so we know through which end it came (and on PC, we then always can filter by file creation date)

Let's see, I have no idea how hard this would be even with borrowing some existing Pico SD project, and also I am not sure if the limited processing power of Pico would allow it, but anyway, it would be cool :)

Thanks @Zorakie , it is a very interesting idea indeed.
And partially, it has been implemented in some way: if you connect the serial port created by USBvalve, you'll see that a partial dump of the disk operation is already printed out. Right now it is partial because the output on the serial is quite expensive and impacting timing of other operations.
But I think that it can be de-synched and probably managed completely: in this case if you log the serial output you may have the complete dump of the operations.
Adding and SD card is another option and it is feasible for sure, but it would require some redesign of the entire project. May be it could be  a mid-long term project.
Anyway, thanks for your suggestions, they are always interesting!!

Any reason this cannot just be logged to the nearly 1MB of free storage the Raspberry Pico already has? The storage that shows up when plugged into the computer and has a txt file already created in there that says nuke the entire site from orbit. Text files are extremely small so the 1MB storage should be plenty to lot a read out of read/write operations

@Tz1rf
afaik, and cecio will correct me if I am wrong, that storage that you see normally is not a real storage, but rather a view of pico RAM. If you check the source code, those files are created in memory on startup, so once you unplug the pico, that memory block size to exist, which would include anything you would "store" there.

what @Zorakie  says is absolutely correct.
@Tz1rf there are at least 2 reason for not using the internal USB storage:

I need to monitor the activity on the drive at very low level, and I don't think it's possible without creating a "fake" layer with a storage on it
in order to avoid to spread malware through USBvalve (which would be a shame ;-) ) everything is in RAM and destroyed at each unplug

@Zorakie
This is why I suggested this storage space. I apologize if I described it incorrectly and caused a misunderstanding
@cecio
I suggested the storage space for the reasons you pointed out. Its okay if the txt file is destroyed at each unplug. I wouldn't change this as its an appropriate air gap to prevent malware from spreading.  Or am I misunderstanding something here?

Well, here is the problem: 1MB is enough for such scripts, sure. But the idea behind the dump is, you want to store the data on the go, then remove the card where you know you have a safe .txt dump, and review later.
Also the malware spreading is a valid thing.
And really, 90% of time, you will be somewhere outside, testing if some shopping mall charger is not trying to spoof your phone or something.
And even for USB-A testing, I would feel more safe running Pi from powerbank rather than testing on my PC (If I stumble upon killer USB, I will rather blow my 20€ pico project and 30€ powerbank rather than my 2300€ rig... 🤷♂

@Tz1rf sorry, I misunderstood your question. You are proposing to use the on board USB Mass storage device, just for logging purposes, correct?
If so: this area is accessible only in BOOTSEL mode from what I see, and it is not accessible in other ways. But I'll try to dig a bit more. The other accessible area is the flash, but it's small and not accessible as filesystem.

If added a SD-Card Logger on my Mods, Works like charm.  ;)

oh wow, great job!!

@TryBreakFixAgain What is it able to log?
I am very interested. If a custom PCB can be developed to use this SD Card add-on, I will make a new video showing how to build this. I wish I could help but I do not know much about creating gerber files for PCB, but based on the current one I would imagine adding the SD Card add-On to the back of the PCB with holes between the USB A Port and Screen might work.

@Tz1rf At the moment I write out the complete serial output to a static text file called datalog.txt, including a display warning if it is larger than 5mb at startup. I still have to improve the complete handling of the log files, but I am encountering some problems, so I have published this status for now.  A custom PCB should not be a problem, you can find all necessary infos in the readme of my fork in the point mappings. I will publish a log of an attack in the project wiki later today.

@Tz1rf At the moment I write out the complete serial output to a static text file called datalog.txt, including a display warning if it is larger than 5mb at startup. I still have to improve the complete handling of the log files, but I am encountering some problems, so I have published this status for now. A custom PCB should not be a problem, you can find all necessary infos in the readme of my fork in the point mappings. I will publish a log of an attack in the project wiki later today.

Thanks for the additional information. Is the problem you are encountering have to do with the limited processing power of the Raspberry Pico?

@Tz1rf  not only, some limitations are based on the SD lib its a hard combination for me, im only a beginner with microcontrollers and coding, and my free time is very limited


WebSocket client with subscription support

One of the most common operations in using the XRP Ledger is waiting for something to happen. The WebSocket interface makes this convenient with subscription streams; it would be great to be able to instantiate a WebSocket client from Python and then subscribe to accounts, ledgers, etc.

This is planned as a part of the next release.

@mvadari Just for your information I already built a websocket library  for XRPL in python couple of years ago, I'm not sure if you are already build it or working on it, if not please let me know so I can include it to this repository as a pull request. Thanks.


text of inactive tabs

Thanks for increasing contrast of sidebar text in 1.0.3. Please make color of text of inactive tabs match to the sidebar text in the next release.

Thanks! I also wanted to ask you to increase visibility of squiggles (of both errors and warnings). Actually they're quite hard to notice. Were they intentionally have less contrast?

@ajitid yes. At the moment we have no plan to increase the squiggles contrast. The Inactive tab text was just an issue of inconsistence.

Okay. I don't have any that much issue with squiggles but I do find error squiggle to be not as visible as warning one.


[icu] force rebuild of database

After upgrading to 58.2 I noticed that wrong version of icu database gets installed. I'm not sure why, but apparently it sometimes happens. Forcing rebuild of makedata.vcxproj seems to fix this issue.

Hi @codicodi, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Thanks!


Scope and time scheduling of the meeting for properties of composite materials and the problem of plate deformation (issue #1011 related)

The goal is to schedule the meeting in Teams calendar on 2024.11.05 at 19:15.

Meeting has been scheduled.


Weird/Broken Command-line Parsing in N4BiasFieldCorrection?

Running into this very very odd bug(?) in N4BiasFieldCorrections' command-line parsing.
Command:
N4BiasFieldCorrection -d 3 -s 4 -w test2/mask_D.nii -x test2/initmask.nii \
-b [200] -c [300x300x300x300,1e-7] --histogram-sharpening [0.05,0.01,200] -i test2/ABIDE_NYU_50999_t1.nii -o [test2/corrected.nii,test2/bias.nii] -r 0 --verbose
Running N4 for 3-dimensional images.

Current level = 1
  Iteration 1 (of 50).   Current convergence value = 0.000377209 (threshold = 0.001)
   N4BiasFieldCorrectionImageFilter (0xe17430)
     RTTI typeinfo:   itk::N4BiasFieldCorrectionImageFilter<itk::Image<float, 3u>, itk::Image<float, 3u>, itk::Image<float, 3u> >
     Reference Count: 1
     Modified Time: 774
     Debug: Off
     Object Name:
     Observers:
       IterationEvent(Command)
     Inputs:
       Primary: (0xe26910) *
       _1: (0xe233d0)
       _2: (0xe20970)
     Indexed Inputs:
       0: Primary (0xe26910)
       1: _1 (0xe233d0)
       2: _2 (0xe20970)
     Required Input Names: Primary
     NumberOfRequiredInputs: 1
     Outputs:
       Primary: (0xe1b860)
     Indexed Outputs:
       0: Primary (0xe1b860)
     NumberOfRequiredOutputs: 1
     Number Of Threads: 8
     ReleaseDataFlag: Off
     ReleaseDataBeforeUpdateFlag: Off
     AbortGenerateData: Off
     Progress: 0
     Multithreader:
       RTTI typeinfo:   itk::MultiThreader
       Reference Count: 1
       Modified Time: 174
       Debug: Off
       Object Name:
       Observers:
         none
       Thread Count: 8
       Global Maximum Number Of Threads: 128
       Global Default Number Of Threads: 8
     CoordinateTolerance: 1e-06
     DirectionTolerance: 1e-06
     Mask label: 1
     Number of histogram bins: 200
     Wiener filter noise: 0.01
     Bias field FWHM: 0.15
     Maximum number of iterations: [50]
     Convergence threshold: 0.001
     Spline order: 3
     Number of fitting levels: [1, 1, 1]
     Number of control points: [4, 4, 4]
     CurrentConvergenceMeasurement: 0.000377209
     CurrentLevel: 1
     ElapsedIterations: 2
     LogBiasFieldControlPointLattice:
       Image (0x40a1560)
         RTTI typeinfo:   itk::Image<itk::Vector<float, 1u>, 3u>
         Reference Count: 1
         Modified Time: 186336
         Debug: Off
         Object Name:
         Observers:
           none
         Source: (none)
         Source output name: (none)
         Release Data: Off
         Data Released: False
         Global Release Data: Off
         PipelineMTime: 0
         UpdateMTime: 0
         RealTimeStamp: 0 seconds
         LargestPossibleRegion:
           Dimension: 3
           Index: [0, 0, 0]
           Size: [4, 4, 4]
         BufferedRegion:
           Dimension: 3
           Index: [0, 0, 0]
           Size: [4, 4, 4]
         RequestedRegion:
           Dimension: 3
           Index: [0, 0, 0]
           Size: [4, 4, 4]
         Spacing: [164.92, 232, 196]
         Origin: [164.92, 232, -196]
         Direction:
-1 0 0
0 -1 0
0 0 1

         IndexToPointMatrix:
-164.92 0 0
0 -232 0
0 0 196

         PointToIndexMatrix:
-0.00606354 0 0
0 -0.00431034 0
0 0 0.00510204

         Inverse Direction:
-1 0 0
0 -1 0
0 0 1

         PixelContainer:
           ImportImageContainer (0x40a0d30)
             RTTI typeinfo:   itk::ImportImageContainer<unsigned long, itk::Vector<float, 1u> >
             Reference Count: 1
             Modified Time: 186333
             Debug: Off
             Object Name:
             Observers:
               none
             Pointer: 0x40a06d0
             Container manages memory: true
             Size: 64
             Capacity: 64
Elapsed time: 0.047291

Somehow, the convergence criterion is improperly parsed.
If I omit the "-c":
N4BiasFieldCorrection -d 3 -s 4 -w test2/mask_D.nii -x test2/initmask.nii \
-b [200] --histogram-sharpening [0.05,0.01,200] -i test2/ABIDE_NYU_50999_t1.nii -o [test2/corrected.nii,test2/bias.nii] -r 0 --verbose
Running N4 for 3-dimensional images.

Current level = 1
  Iteration 1 (of 50).   Current convergence value = 0.000377209 (threshold = 0)
  Iteration 2 (of 50).   Current convergence value = 0.000376337 (threshold = 0)
  Iteration 3 (of 50).   Current convergence value = 0.00037509 (threshold = 0)
  Iteration 4 (of 50).   Current convergence value = 0.0003742 (threshold = 0)
  Iteration 5 (of 50).   Current convergence value = 0.000373213 (threshold = 0)
  Iteration 6 (of 50).   Current convergence value = 0.000372396 (threshold = 0)
  Iteration 7 (of 50).   Current convergence value = 0.000371375 (threshold = 0)
  Iteration 8 (of 50).   Current convergence value = 0.000370649 (threshold = 0)
  Iteration 9 (of 50).   Current convergence value = 0.0003705 (threshold = 0)
  Iteration 10 (of 50).   Current convergence value = 0.000370031 (threshold = 0)
  Iteration 11 (of 50).   Current convergence value = 0.000369787 (threshold = 0)
  Iteration 12 (of 50).   Current convergence value = 0.000369134 (threshold = 0)
  Iteration 13 (of 50).   Current convergence value = 0.00036899 (threshold = 0)
  Iteration 14 (of 50).   Current convergence value = 0.000369012 (threshold = 0)
  Iteration 15 (of 50).   Current convergence value = 0.0003686 (threshold = 0)
  Iteration 16 (of 50).   Current convergence value = 0.000368436 (threshold = 0)
  Iteration 17 (of 50).   Current convergence value = 0.000368235 (threshold = 0)
  Iteration 18 (of 50).   Current convergence value = 0.000367997 (threshold = 0)
<CLIP>
```

I *think* something has gone odd in the parser, as I've never experienced this before.

Hi Gabriel,
A bug like this on a piece of mature software is most likely going to be some obscure use-case scenario so it would be helpful if you could initially do as much of the leg work as possible to isolate the problem before you post an issue.  For example, does this error occur without a weight mask?  If so, then you can delete that from the sample call to make the problematic processing scenario simpler.  Also, does the same error occur if you remove some of the other options and simply rely on the default parameters?  If so, then you can remove some additional command line complexity.  Is this error particular to these data?  I.e., can you reproduce with a simpler 2-D example, perhaps one of the r??slice.nii.gz brain slices that comes with the ANTs repository so that we can more easily reproduce on our end.
Thanks,
Nick

Sure Nick.
I extracted a single slice from the volume, and systematically removed all the extra options to see if the convergence criterion still was mis-parsed.
I ended up with this call:
N4BiasFieldCorrection -d 2 -i test2/2d-slice.nii -o test2/corrected.nii --verbose -c [300x300x300x300,1e-7]
Running N4 for 2-dimensional images.

Mask not read.  Creating Otsu mask.

Current level = 1
  Iteration 1 (of 50).
I have added a new observation.
The immediate directory I'm working in is called: ABIDE_NYU_50999_t1.mnc-iterN4-vbi
If I move the whole test to /tmp or to a deeper subdirectory, i.e. ABIDE_NYU_50999_t1.mnc-iterN4-vbi/test3 the command runs as expected. Perhaps the immediate local directory name is being accidentally parsed somewhere.

I can't reproduce this on Mac OS.
cd ABIDE_NYU_50999_t1.mnc-iterN4-vbi

N4BiasFieldCorrection -d 2 -i test2/2d-slice.nii -o test2/corrected.nii --verbose -c [300x300x300x300,1e-7]

works fine for me

@gdevenyi - did this error occur on Mac OS X Sierra? Over at Sourceforge, another user has a problem running antsApplyTransforms with a command line that looks perfectly valid. I again can't reproduce the problem on El Capitan. Just made me think of this unsolved mystery.

Linux Ubuntu 14.04

Thanks. He fixed his problem by building with system ITK 4.11, which is ahead of the Superbuild commit.
https://sourceforge.net/p/advants/discussion/840261/thread/c0485b2c/

I guess the superbuild should probably get updated then...


Redundant assignement of name inside configure_joypad function

Godot version
4.0 50a0a401a10dda9718169d690b4b941100eb4a2c
Issue description
https://github.com/godotengine/godot/blob/50a0a401a10dda9718169d690b4b941100eb4a2c/platform/osx/joypad_osx.cpp#L287-L290

That seems to date back to 8c886b9d7a2.


api generator: fix generated update code for ManyToOne relations

For update the input can be undefinable (do not change) or null (set to null). Now this case is supported
fixes issue from #1298, but doesn't integrate the test as it assets in a way I don't think it should be done. Too fragile when working with strings imho.

@nsams I just tested this and it works as expected. If nothing is sent, the record stays untouched and if null values are sent, the fields are set to null.


Remove XMON as engine default

Engine now raises ValueError if you don't specify gate_set.
While technically backwards incompatible, I don't think anyone
will have working code that doesn't specify a gate_set here.

Solves #2957

We should somehow add this to a "breaking changes" list that we can point out in the next release. We could add a "staging" area for release notes for the next planned minor release where we can build up these deprecation notices.

I will leave that up to a later PR, since we don't yet have a current place to put that.  If you have a suggestion on where to add it, I can put up a PR to add a first draft of the "upcoming release" notes.

I guess the question is why have a default if you have to specify it now?

I guess the question is why have a default if you have to specify it now?

I am not sure I understand the question.  Do you mean: why have a default of None?  I think we need that in order to make it a named parameter instead a positional parameter.

We should somehow add this to a "breaking changes" list that we can point out in the next release. We could add a "staging" area for release notes for the next planned minor release where we can build up these deprecation notices.

I will leave that up to a later PR, since we don't yet have a current place to put that. If you have a suggestion on where to add it, I can put up a PR to add a first draft of the "upcoming release" notes.

Sounds good - this is my suggestion - https://github.com/quantumlib/Cirq/issues/3143 - as soon as I'll get around it, I'll create it.


Partial parse

A rough cut at #5
I stole the basic idea here from @newellista who suggested that we only really need to keep the unmatched bytes around for the parser state (no need to have a state: :waiting etc). This ends up introducing a few more conditionals which always degrades the readability a bit.
Before I try to refactor I first wanted to get some feedback on whether this looked like a reasonable attempt at parsing.
Benchmarks before and after the change show no significant change in performance (~81k parses/sec).
/cc @newellista @tallguy-hackett

:shipit: